@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/chunk-I6R4KGXY.mjs
packages/ari/chunk-I6R4KGXY.mjsDeleted
−77
Index: package/packages/ari/chunk-I6R4KGXY.mjs
===================================================================
--- package/packages/ari/chunk-I6R4KGXY.mjs
+++ package/packages/ari/chunk-I6R4KGXY.mjs
@@ -1,77 +0,0 @@
-import {
-  GraphRemoteLinkHistoryAriResourceOwner,
-  GraphRemoteLinkHistoryAriResourceType
-} from "./chunk-2YKXM3UN.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/graph/remote-link-history/manifest.ts
-var graphRemoteLinkHistoryAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
-  resourceOwner: GraphRemoteLinkHistoryAriResourceOwner,
-  resourceType: GraphRemoteLinkHistoryAriResourceType,
-  resourceIdSlug: "activation/{activationId}/{remoteLinkId}/{updateSequenceNumber}",
-  resourceIdSegmentFormats: {
-    activationId: /[a-zA-Z0-9\-]+/,
-    // eslint-disable-line no-useless-escape
-    remoteLinkId: /[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
-    updateSequenceNumber: /\d+/
-    // eslint-disable-line no-useless-escape
-  }
-};
-
-// src/graph/remote-link-history/index.ts
-var GraphRemoteLinkHistoryAri = class _GraphRemoteLinkHistoryAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._activationId = opts.resourceIdSegmentValues.activationId, this._remoteLinkId = opts.resourceIdSegmentValues.remoteLinkId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
-  }
-  get activationId() {
-    return this._activationId;
-  }
-  get remoteLinkId() {
-    return this._remoteLinkId;
-  }
-  get updateSequenceNumber() {
-    return this._updateSequenceNumber;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: graphRemoteLinkHistoryAriStaticOpts.qualifier,
-      platformQualifier: graphRemoteLinkHistoryAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: graphRemoteLinkHistoryAriStaticOpts.resourceOwner,
-      resourceType: graphRemoteLinkHistoryAriStaticOpts.resourceType,
-      resourceId: `activation/${opts.activationId}/${opts.remoteLinkId}/${opts.updateSequenceNumber}`,
-      resourceIdSegmentValues: {
-        activationId: opts.activationId,
-        remoteLinkId: opts.remoteLinkId,
-        updateSequenceNumber: opts.updateSequenceNumber
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, graphRemoteLinkHistoryAriStaticOpts);
-    return new _GraphRemoteLinkHistoryAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, graphRemoteLinkHistoryAriStaticOpts);
-    return new _GraphRemoteLinkHistoryAri(opts);
-  }
-  getVariables() {
-    return {
-      activationId: this.activationId,
-      remoteLinkId: this.remoteLinkId,
-      updateSequenceNumber: this.updateSequenceNumber
-    };
-  }
-};
-
-export {
-  GraphRemoteLinkHistoryAri
-};