@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/help/index.js~
packages/ari/help/index.jsModified+36−9
Index: package/packages/ari/help/index.js
===================================================================
--- package/packages/ari/help/index.js
+++ package/packages/ari/help/index.js
@@ -290,22 +290,25 @@
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;
}
@@ -346,22 +349,25 @@
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;
}
@@ -402,22 +408,25 @@
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;
}
@@ -458,22 +467,25 @@
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;
}
@@ -514,22 +526,25 @@
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;
}
@@ -570,22 +585,25 @@
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;
}
@@ -626,22 +644,25 @@
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;
}
@@ -682,22 +703,25 @@
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;
}
@@ -738,20 +762,23 @@
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;
}