@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/chunk-POTRQEZU.mjs
packages/ari/chunk-POTRQEZU.mjsDeleted
−63
Index: package/packages/ari/chunk-POTRQEZU.mjs
===================================================================
--- package/packages/ari/chunk-POTRQEZU.mjs
+++ package/packages/ari/chunk-POTRQEZU.mjs
@@ -1,63 +0,0 @@
-import {
-  UnifiedPortableProfileLinkedAccountAriResourceOwner,
-  UnifiedPortableProfileLinkedAccountAriResourceType
-} from "./chunk-GX4LHOQR.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/unified-portable-profile/linked-account/manifest.ts
-var unifiedPortableProfileLinkedAccountAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
-  resourceOwner: UnifiedPortableProfileLinkedAccountAriResourceOwner,
-  resourceType: UnifiedPortableProfileLinkedAccountAriResourceType,
-  resourceIdSlug: "{linkedAccountInternalId}",
-  resourceIdSegmentFormats: {
-    linkedAccountInternalId: /[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/unified-portable-profile/linked-account/index.ts
-var UnifiedPortableProfileLinkedAccountAri = class _UnifiedPortableProfileLinkedAccountAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._linkedAccountInternalId = opts.resourceIdSegmentValues.linkedAccountInternalId;
-  }
-  get linkedAccountInternalId() {
-    return this._linkedAccountInternalId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: unifiedPortableProfileLinkedAccountAriStaticOpts.qualifier,
-      platformQualifier: unifiedPortableProfileLinkedAccountAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: unifiedPortableProfileLinkedAccountAriStaticOpts.resourceOwner,
-      resourceType: unifiedPortableProfileLinkedAccountAriStaticOpts.resourceType,
-      resourceId: `${opts.linkedAccountInternalId}`,
-      resourceIdSegmentValues: {
-        linkedAccountInternalId: opts.linkedAccountInternalId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, unifiedPortableProfileLinkedAccountAriStaticOpts);
-    return new _UnifiedPortableProfileLinkedAccountAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, unifiedPortableProfileLinkedAccountAriStaticOpts);
-    return new _UnifiedPortableProfileLinkedAccountAri(opts);
-  }
-  getVariables() {
-    return {
-      linkedAccountInternalId: this.linkedAccountInternalId
-    };
-  }
-};
-
-export {
-  UnifiedPortableProfileLinkedAccountAri
-};