npm package diff
Package: @forge/util
Versions: 1.4.10-next.0 - 1.4.10-next.0-experimental-effab31
File: package/packages/ari/chunk-D5LHAWAA.mjs
Index: package/packages/ari/chunk-D5LHAWAA.mjs
===================================================================
--- package/packages/ari/chunk-D5LHAWAA.mjs
+++ package/packages/ari/chunk-D5LHAWAA.mjs
@@ -1,76 +0,0 @@
-import {
- GraphPostIncidentReviewHistoryAriResourceOwner,
- GraphPostIncidentReviewHistoryAriResourceType
-} from "./chunk-PVBPUKXI.mjs";
-import {
- RegisteredAri
-} from "./chunk-CLQNXEWF.mjs";
-import {
- AriParser
-} from "./chunk-HNZGDVUS.mjs";
-
-// src/graph/post-incident-review-history/manifest.ts
-var graphPostIncidentReviewHistoryAriStaticOpts = {
- qualifier: "ari",
- platformQualifier: "cloud",
- cloudId: new RegExp("^$"),
- resourceOwner: GraphPostIncidentReviewHistoryAriResourceOwner,
- resourceType: GraphPostIncidentReviewHistoryAriResourceType,
- resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",
- resourceIdSegmentFormats: {
- activationId: /[a-zA-Z0-9\-]+/,
- // eslint-disable-line no-useless-escape
- postIncidentReviewId: /[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/post-incident-review-history/index.ts
-var GraphPostIncidentReviewHistoryAri = class _GraphPostIncidentReviewHistoryAri extends RegisteredAri {
- constructor(opts) {
- super(opts);
- this._activationId = opts.resourceIdSegmentValues.activationId, this._postIncidentReviewId = opts.resourceIdSegmentValues.postIncidentReviewId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
- }
- get activationId() {
- return this._activationId;
- }
- get postIncidentReviewId() {
- return this._postIncidentReviewId;
- }
- get updateSequenceNumber() {
- return this._updateSequenceNumber;
- }
- static create(opts) {
- let derivedOpts = {
- qualifier: graphPostIncidentReviewHistoryAriStaticOpts.qualifier,
- platformQualifier: graphPostIncidentReviewHistoryAriStaticOpts.platformQualifier,
- cloudId: void 0,
- resourceOwner: graphPostIncidentReviewHistoryAriStaticOpts.resourceOwner,
- resourceType: graphPostIncidentReviewHistoryAriStaticOpts.resourceType,
- resourceId: `activation/${opts.activationId}/${opts.postIncidentReviewId}/${opts.updateSequenceNumber}`,
- resourceIdSegmentValues: {
- activationId: opts.activationId,
- postIncidentReviewId: opts.postIncidentReviewId,
- updateSequenceNumber: opts.updateSequenceNumber
- }
- }, ariOpts = AriParser.fromOpts(derivedOpts, graphPostIncidentReviewHistoryAriStaticOpts);
- return new _GraphPostIncidentReviewHistoryAri(ariOpts);
- }
- static parse(maybeAri) {
- let opts = AriParser.fromString(maybeAri, graphPostIncidentReviewHistoryAriStaticOpts);
- return new _GraphPostIncidentReviewHistoryAri(opts);
- }
- getVariables() {
- return {
- activationId: this.activationId,
- postIncidentReviewId: this.postIncidentReviewId,
- updateSequenceNumber: this.updateSequenceNumber
- };
- }
-};
-
-export {
- GraphPostIncidentReviewHistoryAri
-};