@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/help/index.js~
packages/ari/help/index.jsModified+9−36
Index: package/packages/ari/help/index.js
===================================================================
--- package/packages/ari/help/index.js
+++ package/packages/ari/help/index.js
@@ -290,25 +290,22 @@
var helpArticleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpArticleAriResourceOwner,
resourceType: HelpArticleAriResourceType,
resourceIdSlug: "{activationId}/{helpObjectId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpObjectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/article/index.ts
var HelpArticleAri = class _HelpArticleAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
}
get activationId() {
return this._activationId;
}
@@ -349,25 +346,22 @@
var helpChannelAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpChannelAriResourceOwner,
resourceType: HelpChannelAriResourceType,
resourceIdSlug: "{activationId}/{helpObjectId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpObjectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/channel/index.ts
var HelpChannelAri = class _HelpChannelAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
}
get activationId() {
return this._activationId;
}
@@ -408,25 +402,22 @@
var helpHelpCenterAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpHelpCenterAriResourceOwner,
resourceType: HelpHelpCenterAriResourceType,
resourceIdSlug: "{activationId}/{helpCenterId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpCenterId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/help-center/index.ts
var HelpHelpCenterAri = class _HelpHelpCenterAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpCenterId = opts.resourceIdSegmentValues.helpCenterId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpCenterId = opts.resourceIdSegmentValues.helpCenterId;
}
get activationId() {
return this._activationId;
}
@@ -467,25 +458,22 @@
var helpHelpDeskAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpHelpDeskAriResourceOwner,
resourceType: HelpHelpDeskAriResourceType,
resourceIdSlug: "{activationId}/{helpDeskId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpDeskId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/help-desk/index.ts
var HelpHelpDeskAri = class _HelpHelpDeskAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpDeskId = opts.resourceIdSegmentValues.helpDeskId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpDeskId = opts.resourceIdSegmentValues.helpDeskId;
}
get activationId() {
return this._activationId;
}
@@ -526,25 +514,22 @@
var helpLayoutAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpLayoutAriResourceOwner,
resourceType: HelpLayoutAriResourceType,
resourceIdSlug: "{activationId}/{layoutId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
layoutId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/help/layout/index.ts
var HelpLayoutAri = class _HelpLayoutAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._layoutId = opts.resourceIdSegmentValues.layoutId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._layoutId = opts.resourceIdSegmentValues.layoutId;
}
get activationId() {
return this._activationId;
}
@@ -585,25 +570,22 @@
var helpPageAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpPageAriResourceOwner,
resourceType: HelpPageAriResourceType,
resourceIdSlug: "{activationId}/{pageId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
pageId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/help/page/index.ts
var HelpPageAri = class _HelpPageAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._pageId = opts.resourceIdSegmentValues.pageId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._pageId = opts.resourceIdSegmentValues.pageId;
}
get activationId() {
return this._activationId;
}
@@ -644,25 +626,22 @@
var helpPortalAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpPortalAriResourceOwner,
resourceType: HelpPortalAriResourceType,
resourceIdSlug: "{activationId}/{helpObjectId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpObjectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/portal/index.ts
var HelpPortalAri = class _HelpPortalAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
}
get activationId() {
return this._activationId;
}
@@ -703,25 +682,22 @@
var helpRequestFormAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpRequestFormAriResourceOwner,
resourceType: HelpRequestFormAriResourceType,
resourceIdSlug: "{activationId}/{helpObjectId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
helpObjectId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
- // eslint-disable-line no-useless-escape
}
};
// src/help/request-form/index.ts
var HelpRequestFormAri = class _HelpRequestFormAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
+ super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._helpObjectId = opts.resourceIdSegmentValues.helpObjectId;
}
get activationId() {
return this._activationId;
}
@@ -762,23 +738,20 @@
var helpRoleAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: HelpRoleAriResourceOwner,
resourceType: HelpRoleAriResourceType,
resourceIdSlug: "{roleId}",
resourceIdSegmentFormats: {
roleId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/help/role/index.ts
var HelpRoleAri = class _HelpRoleAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._roleId = opts.resourceIdSegmentValues.roleId;
+ super(opts), this._roleId = opts.resourceIdSegmentValues.roleId;
}
get roleId() {
return this._roleId;
}