@forge/util

2.0.12.0.1-experimental-7890858
packages/ari/chunk-4MRXW7L4.mjs
packages/ari/chunk-4MRXW7L4.mjsDeleted
−63
Index: package/packages/ari/chunk-4MRXW7L4.mjs
===================================================================
--- package/packages/ari/chunk-4MRXW7L4.mjs
+++ package/packages/ari/chunk-4MRXW7L4.mjs
@@ -1,63 +0,0 @@
-import {
-  CommercePricingPlanAriResourceOwner,
-  CommercePricingPlanAriResourceType
-} from "./chunk-66TMLCVM.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/commerce/pricing-plan/manifest.ts
-var commercePricingPlanAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "cloud",
-  cloudId: new RegExp("^$"),
-  // eslint-disable-line no-useless-escape
-  resourceOwner: CommercePricingPlanAriResourceOwner,
-  resourceType: CommercePricingPlanAriResourceType,
-  resourceIdSlug: "{pricingPlanId}",
-  resourceIdSegmentFormats: {
-    pricingPlanId: /[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/commerce/pricing-plan/index.ts
-var CommercePricingPlanAri = class _CommercePricingPlanAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts);
-    this._pricingPlanId = opts.resourceIdSegmentValues.pricingPlanId;
-  }
-  get pricingPlanId() {
-    return this._pricingPlanId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: commercePricingPlanAriStaticOpts.qualifier,
-      platformQualifier: commercePricingPlanAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: commercePricingPlanAriStaticOpts.resourceOwner,
-      resourceType: commercePricingPlanAriStaticOpts.resourceType,
-      resourceId: `${opts.pricingPlanId}`,
-      resourceIdSegmentValues: {
-        pricingPlanId: opts.pricingPlanId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, commercePricingPlanAriStaticOpts);
-    return new _CommercePricingPlanAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, commercePricingPlanAriStaticOpts);
-    return new _CommercePricingPlanAri(opts);
-  }
-  getVariables() {
-    return {
-      pricingPlanId: this.pricingPlanId
-    };
-  }
-};
-
-export {
-  CommercePricingPlanAri
-};