npm package diff

Package: @forge/util

Versions: 1.4.10-next.0 - 1.4.10-next.0-experimental-effab31

File: package/packages/ari/chunk-IAOU5UNH.mjs

Index: package/packages/ari/chunk-IAOU5UNH.mjs
===================================================================
--- package/packages/ari/chunk-IAOU5UNH.mjs
+++ package/packages/ari/chunk-IAOU5UNH.mjs
@@ -1,69 +0,0 @@
-import {
-  OpsgenieCallRoutingAriResourceOwner,
-  OpsgenieCallRoutingAriResourceType
-} from "./chunk-P2OBBGSQ.mjs";
-import {
-  RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
-  AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/opsgenie/call-routing/manifest.ts
-var opsgenieCallRoutingAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  resourceOwner: OpsgenieCallRoutingAriResourceOwner,
-  resourceType: OpsgenieCallRoutingAriResourceType,
-  resourceIdSlug: "{workspaceId}/{callRoutingId}",
-  resourceIdSegmentFormats: {
-    workspaceId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    callRoutingId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
-    // eslint-disable-line no-useless-escape
-  }
-};
-
-// src/opsgenie/call-routing/index.ts
-var OpsgenieCallRoutingAri = class _OpsgenieCallRoutingAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._workspaceId = opts.resourceIdSegmentValues.workspaceId, this._callRoutingId = opts.resourceIdSegmentValues.callRoutingId;
-  }
-  get workspaceId() {
-    return this._workspaceId;
-  }
-  get callRoutingId() {
-    return this._callRoutingId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: opsgenieCallRoutingAriStaticOpts.qualifier,
-      platformQualifier: opsgenieCallRoutingAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: opsgenieCallRoutingAriStaticOpts.resourceOwner,
-      resourceType: opsgenieCallRoutingAriStaticOpts.resourceType,
-      resourceId: `${opts.workspaceId}/${opts.callRoutingId}`,
-      resourceIdSegmentValues: {
-        workspaceId: opts.workspaceId,
-        callRoutingId: opts.callRoutingId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, opsgenieCallRoutingAriStaticOpts);
-    return new _OpsgenieCallRoutingAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, opsgenieCallRoutingAriStaticOpts);
-    return new _OpsgenieCallRoutingAri(opts);
-  }
-  getVariables() {
-    return {
-      workspaceId: this.workspaceId,
-      callRoutingId: this.callRoutingId
-    };
-  }
-};
-
-export {
-  OpsgenieCallRoutingAri
-};