@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/rovo/index.js~
packages/ari/rovo/index.jsModified+24−7
Index: package/packages/ari/rovo/index.js
===================================================================
--- package/packages/ari/rovo/index.js
+++ package/packages/ari/rovo/index.js
@@ -288,8 +288,9 @@
var rovoAgentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoAgentAriResourceOwner,
resourceType: RovoAgentAriResourceType,
resourceIdSlug: "activation/{activationId}/{agentId}",
resourceIdSegmentFormats: {
@@ -302,9 +303,10 @@
// src/rovo/agent/index.ts
var RovoAgentAri = class _RovoAgentAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._agentId = opts.resourceIdSegmentValues.agentId;
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._agentId = opts.resourceIdSegmentValues.agentId;
}
get activationId() {
return this._activationId;
}
@@ -345,8 +347,9 @@
var rovoCustomActionAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoCustomActionAriResourceOwner,
resourceType: RovoCustomActionAriResourceType,
resourceIdSlug: "activation/{activationId}/{customActionId}",
resourceIdSegmentFormats: {
@@ -359,9 +362,10 @@
// src/rovo/custom-action/index.ts
var RovoCustomActionAri = class _RovoCustomActionAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._customActionId = opts.resourceIdSegmentValues.customActionId;
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._customActionId = opts.resourceIdSegmentValues.customActionId;
}
get activationId() {
return this._activationId;
}
@@ -402,22 +406,25 @@
var rovoFileAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoFileAriResourceOwner,
resourceType: RovoFileAriResourceType,
resourceIdSlug: "activation/{activationId}/{fileUploadId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
fileUploadId: /[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/rovo/file/index.ts
var RovoFileAri = class _RovoFileAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._fileUploadId = opts.resourceIdSegmentValues.fileUploadId;
+ super(opts);
+ this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._fileUploadId = opts.resourceIdSegmentValues.fileUploadId;
}
get siteId() {
return this._siteId;
}
@@ -462,22 +469,25 @@
var rovoMessageAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^[a-zA-Z0-9_\\-.]{1,255}$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoMessageAriResourceOwner,
resourceType: RovoMessageAriResourceType,
resourceIdSlug: "activation/{activationId}/{uuid}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
uuid: /[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/rovo/message/index.ts
var RovoMessageAri = class _RovoMessageAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._uuid = opts.resourceIdSegmentValues.uuid;
+ super(opts);
+ this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._uuid = opts.resourceIdSegmentValues.uuid;
}
get siteId() {
return this._siteId;
}
@@ -522,8 +532,9 @@
var rovoScenarioAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoScenarioAriResourceOwner,
resourceType: RovoScenarioAriResourceType,
resourceIdSlug: "activation/{activationId}/{scenarioId}",
resourceIdSegmentFormats: {
@@ -536,9 +547,10 @@
// src/rovo/scenario/index.ts
var RovoScenarioAri = class _RovoScenarioAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._activationId = opts.resourceIdSegmentValues.activationId, this._scenarioId = opts.resourceIdSegmentValues.scenarioId;
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._scenarioId = opts.resourceIdSegmentValues.scenarioId;
}
get activationId() {
return this._activationId;
}
@@ -579,20 +591,23 @@
var rovoSiteAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoSiteAriResourceOwner,
resourceType: RovoSiteAriResourceType,
resourceIdSlug: "{siteId}",
resourceIdSegmentFormats: {
siteId: /[a-zA-Z0-9_\-.]{1,255}/
+ // eslint-disable-line no-useless-escape
}
};
// src/rovo/site/index.ts
var RovoSiteAri = class _RovoSiteAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._siteId = opts.resourceIdSegmentValues.siteId;
+ super(opts);
+ this._siteId = opts.resourceIdSegmentValues.siteId;
}
get siteId() {
return this._siteId;
}
@@ -628,8 +643,9 @@
var rovoWorkspaceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: RovoWorkspaceAriResourceOwner,
resourceType: RovoWorkspaceAriResourceType,
resourceIdSlug: "{activationId}",
resourceIdSegmentFormats: {
@@ -640,9 +656,10 @@
// src/rovo/workspace/index.ts
var RovoWorkspaceAri = class _RovoWorkspaceAri extends RegisteredAri {
constructor(opts) {
- super(opts), this._activationId = opts.resourceIdSegmentValues.activationId;
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId;
}
get activationId() {
return this._activationId;
}