@forge/util

2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/chunk-3IDJEQVM.mjs
packages/ari/chunk-3IDJEQVM.mjsDeleted
−66
Index: package/packages/ari/chunk-3IDJEQVM.mjs
===================================================================
--- package/packages/ari/chunk-3IDJEQVM.mjs
+++ package/packages/ari/chunk-3IDJEQVM.mjs
@@ -1,66 +0,0 @@
-import {
-  WorkdayStaffAriResourceOwner,
-  WorkdayStaffAriResourceType
-} from "./chunk-BXN33GTZ.mjs";
-import {
-  RegisteredAri
-} from "./chunk-AB4PPISI.mjs";
-import {
-  AriParser
-} from "./chunk-S7RIZVFI.mjs";
-
-// src/workday/staff/manifest.ts
-var workdayStaffAriStaticOpts = {
-  qualifier: "ari",
-  platformQualifier: "third-party",
-  cloudId: new RegExp("^$"),
-  resourceOwner: WorkdayStaffAriResourceOwner,
-  resourceType: WorkdayStaffAriResourceType,
-  resourceIdSlug: "{workdayTenantKey}/{staffId}",
-  resourceIdSegmentFormats: {
-    workdayTenantKey: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
-    staffId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
-  }
-};
-
-// src/workday/staff/index.ts
-var WorkdayStaffAri = class _WorkdayStaffAri extends RegisteredAri {
-  constructor(opts) {
-    super(opts), this._workdayTenantKey = opts.resourceIdSegmentValues.workdayTenantKey, this._staffId = opts.resourceIdSegmentValues.staffId;
-  }
-  get workdayTenantKey() {
-    return this._workdayTenantKey;
-  }
-  get staffId() {
-    return this._staffId;
-  }
-  static create(opts) {
-    let derivedOpts = {
-      qualifier: workdayStaffAriStaticOpts.qualifier,
-      platformQualifier: workdayStaffAriStaticOpts.platformQualifier,
-      cloudId: void 0,
-      resourceOwner: workdayStaffAriStaticOpts.resourceOwner,
-      resourceType: workdayStaffAriStaticOpts.resourceType,
-      resourceId: `${opts.workdayTenantKey}/${opts.staffId}`,
-      resourceIdSegmentValues: {
-        workdayTenantKey: opts.workdayTenantKey,
-        staffId: opts.staffId
-      }
-    }, ariOpts = AriParser.fromOpts(derivedOpts, workdayStaffAriStaticOpts);
-    return new _WorkdayStaffAri(ariOpts);
-  }
-  static parse(maybeAri) {
-    let opts = AriParser.fromString(maybeAri, workdayStaffAriStaticOpts);
-    return new _WorkdayStaffAri(opts);
-  }
-  getVariables() {
-    return {
-      workdayTenantKey: this.workdayTenantKey,
-      staffId: this.staffId
-    };
-  }
-};
-
-export {
-  WorkdayStaffAri
-};