npm package diff
Package: @forge/util
Versions: 1.4.10-next.0 - 1.4.10-next.0-experimental-effab31
File: package/packages/ari/graph/index.js
Index: package/packages/ari/graph/index.js
===================================================================
--- package/packages/ari/graph/index.js
+++ package/packages/ari/graph/index.js
@@ -20,10 +20,21 @@
GraphBranchAri: () => GraphBranchAri,
GraphBranchHistoryAri: () => GraphBranchHistoryAri,
GraphBuildAri: () => GraphBuildAri,
GraphBuildHistoryAri: () => GraphBuildHistoryAri,
+ GraphCalendarEventAri: () => GraphCalendarEventAri,
+ GraphCalendarEventHistoryAri: () => GraphCalendarEventHistoryAri,
+ GraphCommentAri: () => GraphCommentAri,
+ GraphCommentHistoryAri: () => GraphCommentHistoryAri,
GraphCommitAri: () => GraphCommitAri,
GraphContentAri: () => GraphContentAri,
+ GraphConversationAri: () => GraphConversationAri,
+ GraphConversationChunkAri: () => GraphConversationChunkAri,
+ GraphConversationHistoryAri: () => GraphConversationHistoryAri,
+ GraphCustomerOrgAri: () => GraphCustomerOrgAri,
+ GraphCustomerOrgHistoryAri: () => GraphCustomerOrgHistoryAri,
+ GraphDealAri: () => GraphDealAri,
+ GraphDealHistoryAri: () => GraphDealHistoryAri,
GraphDeploymentAri: () => GraphDeploymentAri,
GraphDeploymentHistoryAri: () => GraphDeploymentHistoryAri,
GraphDesignAri: () => GraphDesignAri,
GraphDesignHistoryAri: () => GraphDesignHistoryAri,
@@ -35,33 +46,49 @@
GraphFeatureFlagAri: () => GraphFeatureFlagAri,
GraphFeatureFlagHistoryAri: () => GraphFeatureFlagHistoryAri,
GraphIncidentAri: () => GraphIncidentAri,
GraphIncidentHistoryAri: () => GraphIncidentHistoryAri,
+ GraphIntegrationContextAri: () => GraphIntegrationContextAri,
GraphJiraProjectAndDevopsToolRelationshipAri: () => GraphJiraProjectAndDevopsToolRelationshipAri,
GraphJiraProjectAndDocumentationSpaceRelationshipAri: () => GraphJiraProjectAndDocumentationSpaceRelationshipAri,
GraphJiraProjectAndOperationsTeamRelationshipAri: () => GraphJiraProjectAndOperationsTeamRelationshipAri,
GraphJiraProjectAndVcsRepositoryRelationshipAri: () => GraphJiraProjectAndVcsRepositoryRelationshipAri,
GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAri: () => GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAri,
+ GraphMessageAri: () => GraphMessageAri,
GraphOperationsWorkspaceAri: () => GraphOperationsWorkspaceAri,
+ GraphOrganisationAri: () => GraphOrganisationAri,
+ GraphOrganisationHistoryAri: () => GraphOrganisationHistoryAri,
+ GraphPositionAri: () => GraphPositionAri,
+ GraphPositionHistoryAri: () => GraphPositionHistoryAri,
GraphPostIncidentReviewAri: () => GraphPostIncidentReviewAri,
GraphPostIncidentReviewHistoryAri: () => GraphPostIncidentReviewHistoryAri,
GraphProjectAri: () => GraphProjectAri,
+ GraphProjectHistoryAri: () => GraphProjectHistoryAri,
GraphPullRequestAri: () => GraphPullRequestAri,
GraphPullRequestHistoryAri: () => GraphPullRequestHistoryAri,
+ GraphRelationshipTypeAri: () => GraphRelationshipTypeAri,
GraphRemoteLinkAri: () => GraphRemoteLinkAri,
GraphRemoteLinkHistoryAri: () => GraphRemoteLinkHistoryAri,
GraphRepositoryAri: () => GraphRepositoryAri,
+ GraphRoleAri: () => GraphRoleAri,
GraphSecurityContainerAri: () => GraphSecurityContainerAri,
GraphSecurityWorkspaceAri: () => GraphSecurityWorkspaceAri,
GraphServiceAndJiraProjectRelationshipAri: () => GraphServiceAndJiraProjectRelationshipAri,
GraphServiceAndOperationsTeamRelationshipAri: () => GraphServiceAndOperationsTeamRelationshipAri,
GraphServiceAndVcsRepositoryRelationshipAri: () => GraphServiceAndVcsRepositoryRelationshipAri,
GraphServiceAri: () => GraphServiceAri,
GraphServiceRelationshipAri: () => GraphServiceRelationshipAri,
+ GraphSpaceAri: () => GraphSpaceAri,
+ GraphSpaceHistoryAri: () => GraphSpaceHistoryAri,
+ GraphThreadChunkAri: () => GraphThreadChunkAri,
GraphVideoAri: () => GraphVideoAri,
GraphVideoHistoryAri: () => GraphVideoHistoryAri,
GraphVulnerabilityAri: () => GraphVulnerabilityAri,
GraphVulnerabilityHistoryAri: () => GraphVulnerabilityHistoryAri,
+ GraphWorkItemAri: () => GraphWorkItemAri,
+ GraphWorkItemHistoryAri: () => GraphWorkItemHistoryAri,
+ GraphWorkerAri: () => GraphWorkerAri,
+ GraphWorkerHistoryAri: () => GraphWorkerHistoryAri,
GraphWorkspaceAri: () => GraphWorkspaceAri
});
module.exports = __toCommonJS(graph_exports);
@@ -69,9 +96,9 @@
var ValidationError = class extends Error {
};
// src/core/rules/cloud-id.ts
-function validateCloudId(cloudId, format = new RegExp("^[a-zA-Z0-9\\-]*$")) {
+function validateCloudId(cloudId, format = new RegExp("^[a-zA-Z0-9_\\-.]{0,255}$")) {
if (!cloudId.match(format))
throw new ValidationError(`Invalid cloud ID, expected ID of format ${format}.`);
}
@@ -91,9 +118,9 @@
throw new ValidationError(`ARI must have a qualifier of 'ari'. Received: ${qualifier}`);
}
// src/core/rules/resource-id.ts
-function validateResourceId(id, format = new RegExp("[!a-zA-Z0-9\\-_.~@:{}=]+(/[!a-zA-Z0-9\\-_.~@:{}=]+)*" /* ANY_RESOURCE_ID */), key = "resourceId") {
+function validateResourceId(id, format = new RegExp("[!a-zA-Z0-9\\-_.~@:;{}=]+(/[!a-zA-Z0-9\\-_.~@:;{}=]+)*" /* ANY_RESOURCE_ID */), key = "resourceId") {
let formatWithCarets = new RegExp(`^${format.source}$`);
if (!id.match(formatWithCarets))
throw new ValidationError(`Invalid ${key} - ${id}, expected ID of format ${formatWithCarets}.`);
}
@@ -326,8 +353,9 @@
var graphBranchAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphBranchAriResourceOwner,
resourceType: GraphBranchAriResourceType,
resourceIdSlug: "activation/{activationId}/{branchId}",
resourceIdSegmentFormats: {
@@ -384,8 +412,9 @@
var graphBranchHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphBranchHistoryAriResourceOwner,
resourceType: GraphBranchHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{branchId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -449,8 +478,9 @@
var graphBuildAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphBuildAriResourceOwner,
resourceType: GraphBuildAriResourceType,
resourceIdSlug: "activation/{activationId}/{buildId}",
resourceIdSegmentFormats: {
@@ -507,8 +537,9 @@
var graphBuildHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphBuildHistoryAriResourceOwner,
resourceType: GraphBuildHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{buildId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -564,16 +595,267 @@
};
}
};
+// src/graph/calendar-event/types.ts
+var GraphCalendarEventAriResourceOwner = "graph", GraphCalendarEventAriResourceType = "calendar-event";
+
+// src/graph/calendar-event/manifest.ts
+var graphCalendarEventAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCalendarEventAriResourceOwner,
+ resourceType: GraphCalendarEventAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{calendarEventId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ calendarEventId: /[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/graph/calendar-event/index.ts
+var GraphCalendarEventAri = class _GraphCalendarEventAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._calendarEventId = opts.resourceIdSegmentValues.calendarEventId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get calendarEventId() {
+ return this._calendarEventId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCalendarEventAriStaticOpts.qualifier,
+ platformQualifier: graphCalendarEventAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCalendarEventAriStaticOpts.resourceOwner,
+ resourceType: graphCalendarEventAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.calendarEventId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ calendarEventId: opts.calendarEventId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCalendarEventAriStaticOpts);
+ return new _GraphCalendarEventAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCalendarEventAriStaticOpts);
+ return new _GraphCalendarEventAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ calendarEventId: this.calendarEventId
+ };
+ }
+};
+
+// src/graph/calendar-event-history/types.ts
+var GraphCalendarEventHistoryAriResourceOwner = "graph", GraphCalendarEventHistoryAriResourceType = "calendar-event-history";
+
+// src/graph/calendar-event-history/manifest.ts
+var graphCalendarEventHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCalendarEventHistoryAriResourceOwner,
+ resourceType: GraphCalendarEventHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{calendarEventId}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ calendarEventId: /[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/calendar-event-history/index.ts
+var GraphCalendarEventHistoryAri = class _GraphCalendarEventHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._calendarEventId = opts.resourceIdSegmentValues.calendarEventId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get calendarEventId() {
+ return this._calendarEventId;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCalendarEventHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphCalendarEventHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCalendarEventHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphCalendarEventHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.calendarEventId}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ calendarEventId: opts.calendarEventId,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCalendarEventHistoryAriStaticOpts);
+ return new _GraphCalendarEventHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCalendarEventHistoryAriStaticOpts);
+ return new _GraphCalendarEventHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ calendarEventId: this.calendarEventId,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/comment/types.ts
+var GraphCommentAriResourceOwner = "graph", GraphCommentAriResourceType = "comment";
+
+// src/graph/comment/manifest.ts
+var graphCommentAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCommentAriResourceOwner,
+ resourceType: GraphCommentAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/graph/comment/index.ts
+var GraphCommentAri = class _GraphCommentAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCommentAriStaticOpts.qualifier,
+ platformQualifier: graphCommentAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCommentAriStaticOpts.resourceOwner,
+ resourceType: graphCommentAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCommentAriStaticOpts);
+ return new _GraphCommentAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCommentAriStaticOpts);
+ return new _GraphCommentAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID
+ };
+ }
+};
+
+// src/graph/comment-history/types.ts
+var GraphCommentHistoryAriResourceOwner = "graph", GraphCommentHistoryAriResourceType = "comment-history";
+
+// src/graph/comment-history/manifest.ts
+var graphCommentHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCommentHistoryAriResourceOwner,
+ resourceType: GraphCommentHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/comment-history/index.ts
+var GraphCommentHistoryAri = class _GraphCommentHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCommentHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphCommentHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCommentHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphCommentHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCommentHistoryAriStaticOpts);
+ return new _GraphCommentHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCommentHistoryAriStaticOpts);
+ return new _GraphCommentHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
// src/graph/commit/types.ts
var GraphCommitAriResourceOwner = "graph", GraphCommitAriResourceType = "commit";
// src/graph/commit/manifest.ts
var graphCommitAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphCommitAriResourceOwner,
resourceType: GraphCommitAriResourceType,
resourceIdSlug: "activation/{activationId}/{commitId}",
resourceIdSegmentFormats: {
@@ -630,15 +912,16 @@
var graphContentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphContentAriResourceOwner,
resourceType: GraphContentAriResourceType,
resourceIdSlug: "activation/{activationId}/{contentId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
- contentId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
+ contentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
// eslint-disable-line no-useless-escape
}
};
@@ -680,16 +963,451 @@
};
}
};
+// src/graph/conversation/types.ts
+var GraphConversationAriResourceOwner = "graph", GraphConversationAriResourceType = "conversation";
+
+// src/graph/conversation/manifest.ts
+var graphConversationAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphConversationAriResourceOwner,
+ resourceType: GraphConversationAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/graph/conversation/index.ts
+var GraphConversationAri = class _GraphConversationAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphConversationAriStaticOpts.qualifier,
+ platformQualifier: graphConversationAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphConversationAriStaticOpts.resourceOwner,
+ resourceType: graphConversationAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphConversationAriStaticOpts);
+ return new _GraphConversationAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphConversationAriStaticOpts);
+ return new _GraphConversationAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID
+ };
+ }
+};
+
+// src/graph/conversation-chunk/types.ts
+var GraphConversationChunkAriResourceOwner = "graph", GraphConversationChunkAriResourceType = "conversation-chunk";
+
+// src/graph/conversation-chunk/manifest.ts
+var graphConversationChunkAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphConversationChunkAriResourceOwner,
+ resourceType: GraphConversationChunkAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{chunkId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ chunkId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
+ }
+};
+
+// src/graph/conversation-chunk/index.ts
+var GraphConversationChunkAri = class _GraphConversationChunkAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._chunkId = opts.resourceIdSegmentValues.chunkId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get chunkId() {
+ return this._chunkId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphConversationChunkAriStaticOpts.qualifier,
+ platformQualifier: graphConversationChunkAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphConversationChunkAriStaticOpts.resourceOwner,
+ resourceType: graphConversationChunkAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.chunkId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ chunkId: opts.chunkId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphConversationChunkAriStaticOpts);
+ return new _GraphConversationChunkAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphConversationChunkAriStaticOpts);
+ return new _GraphConversationChunkAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ chunkId: this.chunkId
+ };
+ }
+};
+
+// src/graph/conversation-history/types.ts
+var GraphConversationHistoryAriResourceOwner = "graph", GraphConversationHistoryAriResourceType = "conversation-history";
+
+// src/graph/conversation-history/manifest.ts
+var graphConversationHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphConversationHistoryAriResourceOwner,
+ resourceType: GraphConversationHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/conversation-history/index.ts
+var GraphConversationHistoryAri = class _GraphConversationHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphConversationHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphConversationHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphConversationHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphConversationHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphConversationHistoryAriStaticOpts);
+ return new _GraphConversationHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphConversationHistoryAriStaticOpts);
+ return new _GraphConversationHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/customer-org/types.ts
+var GraphCustomerOrgAriResourceOwner = "graph", GraphCustomerOrgAriResourceType = "customer-org";
+
+// src/graph/customer-org/manifest.ts
+var graphCustomerOrgAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCustomerOrgAriResourceOwner,
+ resourceType: GraphCustomerOrgAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{customerOrgId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ customerOrgId: /[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/graph/customer-org/index.ts
+var GraphCustomerOrgAri = class _GraphCustomerOrgAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._customerOrgId = opts.resourceIdSegmentValues.customerOrgId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get customerOrgId() {
+ return this._customerOrgId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCustomerOrgAriStaticOpts.qualifier,
+ platformQualifier: graphCustomerOrgAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCustomerOrgAriStaticOpts.resourceOwner,
+ resourceType: graphCustomerOrgAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.customerOrgId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ customerOrgId: opts.customerOrgId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCustomerOrgAriStaticOpts);
+ return new _GraphCustomerOrgAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCustomerOrgAriStaticOpts);
+ return new _GraphCustomerOrgAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ customerOrgId: this.customerOrgId
+ };
+ }
+};
+
+// src/graph/customer-org-history/types.ts
+var GraphCustomerOrgHistoryAriResourceOwner = "graph", GraphCustomerOrgHistoryAriResourceType = "customer-org-history";
+
+// src/graph/customer-org-history/manifest.ts
+var graphCustomerOrgHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphCustomerOrgHistoryAriResourceOwner,
+ resourceType: GraphCustomerOrgHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{customerOrgId}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ customerOrgId: /[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/customer-org-history/index.ts
+var GraphCustomerOrgHistoryAri = class _GraphCustomerOrgHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._customerOrgId = opts.resourceIdSegmentValues.customerOrgId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get customerOrgId() {
+ return this._customerOrgId;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphCustomerOrgHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphCustomerOrgHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphCustomerOrgHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphCustomerOrgHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.customerOrgId}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ customerOrgId: opts.customerOrgId,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphCustomerOrgHistoryAriStaticOpts);
+ return new _GraphCustomerOrgHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphCustomerOrgHistoryAriStaticOpts);
+ return new _GraphCustomerOrgHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ customerOrgId: this.customerOrgId,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/deal/types.ts
+var GraphDealAriResourceOwner = "graph", GraphDealAriResourceType = "deal";
+
+// src/graph/deal/manifest.ts
+var graphDealAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphDealAriResourceOwner,
+ resourceType: GraphDealAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{dealId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ dealId: /[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/graph/deal/index.ts
+var GraphDealAri = class _GraphDealAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._dealId = opts.resourceIdSegmentValues.dealId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get dealId() {
+ return this._dealId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphDealAriStaticOpts.qualifier,
+ platformQualifier: graphDealAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphDealAriStaticOpts.resourceOwner,
+ resourceType: graphDealAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.dealId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ dealId: opts.dealId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphDealAriStaticOpts);
+ return new _GraphDealAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphDealAriStaticOpts);
+ return new _GraphDealAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ dealId: this.dealId
+ };
+ }
+};
+
+// src/graph/deal-history/types.ts
+var GraphDealHistoryAriResourceOwner = "graph", GraphDealHistoryAriResourceType = "deal-history";
+
+// src/graph/deal-history/manifest.ts
+var graphDealHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphDealHistoryAriResourceOwner,
+ resourceType: GraphDealHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{dealId}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ dealId: /[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/deal-history/index.ts
+var GraphDealHistoryAri = class _GraphDealHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._dealId = opts.resourceIdSegmentValues.dealId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get dealId() {
+ return this._dealId;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphDealHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphDealHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphDealHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphDealHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.dealId}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ dealId: opts.dealId,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphDealHistoryAriStaticOpts);
+ return new _GraphDealHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphDealHistoryAriStaticOpts);
+ return new _GraphDealHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ dealId: this.dealId,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
// src/graph/deployment/types.ts
var GraphDeploymentAriResourceOwner = "graph", GraphDeploymentAriResourceType = "deployment";
// src/graph/deployment/manifest.ts
var graphDeploymentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDeploymentAriResourceOwner,
resourceType: GraphDeploymentAriResourceType,
resourceIdSlug: "activation/{activationId}/{deploymentId}",
resourceIdSegmentFormats: {
@@ -746,8 +1464,9 @@
var graphDeploymentHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDeploymentHistoryAriResourceOwner,
resourceType: GraphDeploymentHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{deploymentId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -811,8 +1530,9 @@
var graphDesignAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDesignAriResourceOwner,
resourceType: GraphDesignAriResourceType,
resourceIdSlug: "activation/{activationId}/{designId}",
resourceIdSegmentFormats: {
@@ -869,8 +1589,9 @@
var graphDesignHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDesignHistoryAriResourceOwner,
resourceType: GraphDesignHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{designId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -934,15 +1655,16 @@
var graphDevopsComponentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDevopsComponentAriResourceOwner,
resourceType: GraphDevopsComponentAriResourceType,
resourceIdSlug: "activation/{activationId}/{devopsComponentId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
- devopsComponentId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
+ devopsComponentId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
// eslint-disable-line no-useless-escape
}
};
@@ -992,8 +1714,9 @@
var graphDocumentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDocumentAriResourceOwner,
resourceType: GraphDocumentAriResourceType,
resourceIdSlug: "activation/{activationId}/{documentId}",
resourceIdSegmentFormats: {
@@ -1050,8 +1773,9 @@
var graphDocumentHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphDocumentHistoryAriResourceOwner,
resourceType: GraphDocumentHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{documentId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -1115,8 +1839,9 @@
var graphEmployeeAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphEmployeeAriResourceOwner,
resourceType: GraphEmployeeAriResourceType,
resourceIdSlug: "activation/{activationId}/{employeeId}",
resourceIdSegmentFormats: {
@@ -1173,8 +1898,9 @@
var graphEmployeeHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphEmployeeHistoryAriResourceOwner,
resourceType: GraphEmployeeHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{employeeId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -1238,8 +1964,9 @@
var graphFeatureFlagAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphFeatureFlagAriResourceOwner,
resourceType: GraphFeatureFlagAriResourceType,
resourceIdSlug: "activation/{activationId}/{featureFlagId}",
resourceIdSegmentFormats: {
@@ -1296,8 +2023,9 @@
var graphFeatureFlagHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphFeatureFlagHistoryAriResourceOwner,
resourceType: GraphFeatureFlagHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{featureFlagId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -1361,8 +2089,9 @@
var graphIncidentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphIncidentAriResourceOwner,
resourceType: GraphIncidentAriResourceType,
resourceIdSlug: "activation/{activationId}/{incidentId}",
resourceIdSegmentFormats: {
@@ -1419,8 +2148,9 @@
var graphIncidentHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphIncidentHistoryAriResourceOwner,
resourceType: GraphIncidentHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{incidentId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -1476,16 +2206,69 @@
};
}
};
+// src/graph/integration-context/types.ts
+var GraphIntegrationContextAriResourceOwner = "graph", GraphIntegrationContextAriResourceType = "integration-context";
+
+// src/graph/integration-context/manifest.ts
+var graphIntegrationContextAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphIntegrationContextAriResourceOwner,
+ resourceType: GraphIntegrationContextAriResourceType,
+ resourceIdSlug: "{integrationContextId}",
+ resourceIdSegmentFormats: {
+ integrationContextId: /(ecda99d9-9b42-4bf7-8b4f-ecb5fcf5868c|3d1b1176-a2e3-4233-82bd-29a9cfc80cab|161675af-ebe2-4e6b-b5fd-e3fdf9f5ad84)/
+ // eslint-disable-line no-useless-escape
+ }
+};
+
+// src/graph/integration-context/index.ts
+var GraphIntegrationContextAri = class _GraphIntegrationContextAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._integrationContextId = opts.resourceIdSegmentValues.integrationContextId;
+ }
+ get integrationContextId() {
+ return this._integrationContextId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphIntegrationContextAriStaticOpts.qualifier,
+ platformQualifier: graphIntegrationContextAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphIntegrationContextAriStaticOpts.resourceOwner,
+ resourceType: graphIntegrationContextAriStaticOpts.resourceType,
+ resourceId: `${opts.integrationContextId}`,
+ resourceIdSegmentValues: {
+ integrationContextId: opts.integrationContextId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphIntegrationContextAriStaticOpts);
+ return new _GraphIntegrationContextAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphIntegrationContextAriStaticOpts);
+ return new _GraphIntegrationContextAri(opts);
+ }
+ getVariables() {
+ return {
+ integrationContextId: this.integrationContextId
+ };
+ }
+};
+
// src/graph/jira-project-and-devops-tool-relationship/types.ts
var GraphJiraProjectAndDevopsToolRelationshipAriResourceOwner = "graph", GraphJiraProjectAndDevopsToolRelationshipAriResourceType = "jira-project-and-devops-tool-relationship";
// src/graph/jira-project-and-devops-tool-relationship/manifest.ts
var graphJiraProjectAndDevopsToolRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphJiraProjectAndDevopsToolRelationshipAriResourceOwner,
resourceType: GraphJiraProjectAndDevopsToolRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -1542,8 +2325,9 @@
var graphJiraProjectAndDocumentationSpaceRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphJiraProjectAndDocumentationSpaceRelationshipAriResourceOwner,
resourceType: GraphJiraProjectAndDocumentationSpaceRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -1600,8 +2384,9 @@
var graphJiraProjectAndOperationsTeamRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphJiraProjectAndOperationsTeamRelationshipAriResourceOwner,
resourceType: GraphJiraProjectAndOperationsTeamRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -1658,8 +2443,9 @@
var graphJiraProjectAndVcsRepositoryRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphJiraProjectAndVcsRepositoryRelationshipAriResourceOwner,
resourceType: GraphJiraProjectAndVcsRepositoryRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -1716,13 +2502,14 @@
var graphJiraProjectAndVcsRepositoryRelationshipTempMigrationAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAriResourceOwner,
resourceType: GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAriResourceType,
resourceIdSlug: "{siteId}/{projectId}/{activationId}/{repositoryId}",
resourceIdSegmentFormats: {
- siteId: /[a-zA-Z0-9\-]+/,
+ siteId: /[a-zA-Z0-9_\-.]{1,255}/,
// eslint-disable-line no-useless-escape
projectId: /[0-9]+/,
// eslint-disable-line no-useless-escape
activationId: /[a-zA-Z0-9\-]+/,
@@ -1783,25 +2570,85 @@
};
}
};
+// src/graph/message/types.ts
+var GraphMessageAriResourceOwner = "graph", GraphMessageAriResourceType = "message";
+
+// src/graph/message/manifest.ts
+var graphMessageAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphMessageAriResourceOwner,
+ resourceType: GraphMessageAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/graph/message/index.ts
+var GraphMessageAri = class _GraphMessageAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphMessageAriStaticOpts.qualifier,
+ platformQualifier: graphMessageAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphMessageAriStaticOpts.resourceOwner,
+ resourceType: graphMessageAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphMessageAriStaticOpts);
+ return new _GraphMessageAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphMessageAriStaticOpts);
+ return new _GraphMessageAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID
+ };
+ }
+};
+
// src/graph/operations-workspace/types.ts
var GraphOperationsWorkspaceAriResourceOwner = "graph", GraphOperationsWorkspaceAriResourceType = "operations-workspace";
// src/graph/operations-workspace/manifest.ts
var graphOperationsWorkspaceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphOperationsWorkspaceAriResourceOwner,
resourceType: GraphOperationsWorkspaceAriResourceType,
resourceIdSlug: "activation/{activationId}/{providerAppId}/{operationsWorkspaceId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
providerAppId: /[a-zA-Z0-9-._]+/,
// eslint-disable-line no-useless-escape
- operationsWorkspaceId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
+ operationsWorkspaceId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
// eslint-disable-line no-useless-escape
}
};
@@ -1848,16 +2695,267 @@
};
}
};
+// src/graph/organisation/types.ts
+var GraphOrganisationAriResourceOwner = "graph", GraphOrganisationAriResourceType = "organisation";
+
+// src/graph/organisation/manifest.ts
+var graphOrganisationAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphOrganisationAriResourceOwner,
+ resourceType: GraphOrganisationAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{organisationUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ organisationUUID: /[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/graph/organisation/index.ts
+var GraphOrganisationAri = class _GraphOrganisationAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._organisationUUID = opts.resourceIdSegmentValues.organisationUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get organisationUUID() {
+ return this._organisationUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphOrganisationAriStaticOpts.qualifier,
+ platformQualifier: graphOrganisationAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphOrganisationAriStaticOpts.resourceOwner,
+ resourceType: graphOrganisationAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.organisationUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ organisationUUID: opts.organisationUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphOrganisationAriStaticOpts);
+ return new _GraphOrganisationAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphOrganisationAriStaticOpts);
+ return new _GraphOrganisationAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ organisationUUID: this.organisationUUID
+ };
+ }
+};
+
+// src/graph/organisation-history/types.ts
+var GraphOrganisationHistoryAriResourceOwner = "graph", GraphOrganisationHistoryAriResourceType = "organisation-history";
+
+// src/graph/organisation-history/manifest.ts
+var graphOrganisationHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphOrganisationHistoryAriResourceOwner,
+ resourceType: GraphOrganisationHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{organisationUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ organisationUUID: /[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/organisation-history/index.ts
+var GraphOrganisationHistoryAri = class _GraphOrganisationHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._organisationUUID = opts.resourceIdSegmentValues.organisationUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get organisationUUID() {
+ return this._organisationUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphOrganisationHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphOrganisationHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphOrganisationHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphOrganisationHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.organisationUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ organisationUUID: opts.organisationUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphOrganisationHistoryAriStaticOpts);
+ return new _GraphOrganisationHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphOrganisationHistoryAriStaticOpts);
+ return new _GraphOrganisationHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ organisationUUID: this.organisationUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/position/types.ts
+var GraphPositionAriResourceOwner = "graph", GraphPositionAriResourceType = "position";
+
+// src/graph/position/manifest.ts
+var graphPositionAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphPositionAriResourceOwner,
+ resourceType: GraphPositionAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{positionUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ positionUUID: /[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/graph/position/index.ts
+var GraphPositionAri = class _GraphPositionAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._positionUUID = opts.resourceIdSegmentValues.positionUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get positionUUID() {
+ return this._positionUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphPositionAriStaticOpts.qualifier,
+ platformQualifier: graphPositionAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphPositionAriStaticOpts.resourceOwner,
+ resourceType: graphPositionAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.positionUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ positionUUID: opts.positionUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphPositionAriStaticOpts);
+ return new _GraphPositionAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphPositionAriStaticOpts);
+ return new _GraphPositionAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ positionUUID: this.positionUUID
+ };
+ }
+};
+
+// src/graph/position-history/types.ts
+var GraphPositionHistoryAriResourceOwner = "graph", GraphPositionHistoryAriResourceType = "position-history";
+
+// src/graph/position-history/manifest.ts
+var graphPositionHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphPositionHistoryAriResourceOwner,
+ resourceType: GraphPositionHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{positionUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ positionUUID: /[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/position-history/index.ts
+var GraphPositionHistoryAri = class _GraphPositionHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._positionUUID = opts.resourceIdSegmentValues.positionUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get positionUUID() {
+ return this._positionUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphPositionHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphPositionHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphPositionHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphPositionHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.positionUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ positionUUID: opts.positionUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphPositionHistoryAriStaticOpts);
+ return new _GraphPositionHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphPositionHistoryAriStaticOpts);
+ return new _GraphPositionHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ positionUUID: this.positionUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
// src/graph/post-incident-review/types.ts
var GraphPostIncidentReviewAriResourceOwner = "graph", GraphPostIncidentReviewAriResourceType = "post-incident-review";
// src/graph/post-incident-review/manifest.ts
var graphPostIncidentReviewAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphPostIncidentReviewAriResourceOwner,
resourceType: GraphPostIncidentReviewAriResourceType,
resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}",
resourceIdSegmentFormats: {
@@ -1914,8 +3012,9 @@
var graphPostIncidentReviewHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphPostIncidentReviewHistoryAriResourceOwner,
resourceType: GraphPostIncidentReviewHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -1979,8 +3078,9 @@
var graphProjectAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphProjectAriResourceOwner,
resourceType: GraphProjectAriResourceType,
resourceIdSlug: "activation/{activationId}/{projectId}",
resourceIdSegmentFormats: {
@@ -2029,16 +3129,83 @@
};
}
};
+// src/graph/project-history/types.ts
+var GraphProjectHistoryAriResourceOwner = "graph", GraphProjectHistoryAriResourceType = "project-history";
+
+// src/graph/project-history/manifest.ts
+var graphProjectHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphProjectHistoryAriResourceOwner,
+ resourceType: GraphProjectHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{projectId}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ projectId: /[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/project-history/index.ts
+var GraphProjectHistoryAri = class _GraphProjectHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._projectId = opts.resourceIdSegmentValues.projectId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get projectId() {
+ return this._projectId;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphProjectHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphProjectHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphProjectHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphProjectHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.projectId}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ projectId: opts.projectId,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphProjectHistoryAriStaticOpts);
+ return new _GraphProjectHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphProjectHistoryAriStaticOpts);
+ return new _GraphProjectHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ projectId: this.projectId,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
// src/graph/pull-request/types.ts
var GraphPullRequestAriResourceOwner = "graph", GraphPullRequestAriResourceType = "pull-request";
// src/graph/pull-request/manifest.ts
var graphPullRequestAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphPullRequestAriResourceOwner,
resourceType: GraphPullRequestAriResourceType,
resourceIdSlug: "activation/{activationId}/{pullRequestId}",
resourceIdSegmentFormats: {
@@ -2095,8 +3262,9 @@
var graphPullRequestHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphPullRequestHistoryAriResourceOwner,
resourceType: GraphPullRequestHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{pullRequestId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -2152,16 +3320,69 @@
};
}
};
+// src/graph/relationship-type/types.ts
+var GraphRelationshipTypeAriResourceOwner = "graph", GraphRelationshipTypeAriResourceType = "relationship-type";
+
+// src/graph/relationship-type/manifest.ts
+var graphRelationshipTypeAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphRelationshipTypeAriResourceOwner,
+ resourceType: GraphRelationshipTypeAriResourceType,
+ resourceIdSlug: "{relationshipTypeId}",
+ resourceIdSegmentFormats: {
+ relationshipTypeId: /[a-zA-Z0-9]+/
+ // eslint-disable-line no-useless-escape
+ }
+};
+
+// src/graph/relationship-type/index.ts
+var GraphRelationshipTypeAri = class _GraphRelationshipTypeAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._relationshipTypeId = opts.resourceIdSegmentValues.relationshipTypeId;
+ }
+ get relationshipTypeId() {
+ return this._relationshipTypeId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphRelationshipTypeAriStaticOpts.qualifier,
+ platformQualifier: graphRelationshipTypeAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphRelationshipTypeAriStaticOpts.resourceOwner,
+ resourceType: graphRelationshipTypeAriStaticOpts.resourceType,
+ resourceId: `${opts.relationshipTypeId}`,
+ resourceIdSegmentValues: {
+ relationshipTypeId: opts.relationshipTypeId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphRelationshipTypeAriStaticOpts);
+ return new _GraphRelationshipTypeAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphRelationshipTypeAriStaticOpts);
+ return new _GraphRelationshipTypeAri(opts);
+ }
+ getVariables() {
+ return {
+ relationshipTypeId: this.relationshipTypeId
+ };
+ }
+};
+
// src/graph/remote-link/types.ts
var GraphRemoteLinkAriResourceOwner = "graph", GraphRemoteLinkAriResourceType = "remote-link";
// src/graph/remote-link/manifest.ts
var graphRemoteLinkAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphRemoteLinkAriResourceOwner,
resourceType: GraphRemoteLinkAriResourceType,
resourceIdSlug: "activation/{activationId}/{remoteLinkId}",
resourceIdSegmentFormats: {
@@ -2218,8 +3439,9 @@
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: {
@@ -2283,8 +3505,9 @@
var graphRepositoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphRepositoryAriResourceOwner,
resourceType: GraphRepositoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{repositoryId}",
resourceIdSegmentFormats: {
@@ -2333,25 +3556,78 @@
};
}
};
+// src/graph/role/types.ts
+var GraphRoleAriResourceOwner = "graph", GraphRoleAriResourceType = "role";
+
+// src/graph/role/manifest.ts
+var graphRoleAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphRoleAriResourceOwner,
+ resourceType: GraphRoleAriResourceType,
+ resourceIdSlug: "product/{roleType}",
+ resourceIdSegmentFormats: {
+ roleType: /(?:member|admin)/
+ // eslint-disable-line no-useless-escape
+ }
+};
+
+// src/graph/role/index.ts
+var GraphRoleAri = class _GraphRoleAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._roleType = opts.resourceIdSegmentValues.roleType;
+ }
+ get roleType() {
+ return this._roleType;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphRoleAriStaticOpts.qualifier,
+ platformQualifier: graphRoleAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphRoleAriStaticOpts.resourceOwner,
+ resourceType: graphRoleAriStaticOpts.resourceType,
+ resourceId: `product/${opts.roleType}`,
+ resourceIdSegmentValues: {
+ roleType: opts.roleType
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphRoleAriStaticOpts);
+ return new _GraphRoleAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphRoleAriStaticOpts);
+ return new _GraphRoleAri(opts);
+ }
+ getVariables() {
+ return {
+ roleType: this.roleType
+ };
+ }
+};
+
// src/graph/security-container/types.ts
var GraphSecurityContainerAriResourceOwner = "graph", GraphSecurityContainerAriResourceType = "security-container";
// src/graph/security-container/manifest.ts
var graphSecurityContainerAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphSecurityContainerAriResourceOwner,
resourceType: GraphSecurityContainerAriResourceType,
resourceIdSlug: "activation/{activationId}/{providerAppId}/{securityContainerId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
providerAppId: /[a-zA-Z0-9-._]+/,
// eslint-disable-line no-useless-escape
- securityContainerId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
+ securityContainerId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
// eslint-disable-line no-useless-escape
}
};
@@ -2406,17 +3682,18 @@
var graphSecurityWorkspaceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphSecurityWorkspaceAriResourceOwner,
resourceType: GraphSecurityWorkspaceAriResourceType,
resourceIdSlug: "activation/{activationId}/{providerAppId}/{securityWorkspaceId}",
resourceIdSegmentFormats: {
activationId: /[a-zA-Z0-9\-]+/,
// eslint-disable-line no-useless-escape
providerAppId: /[a-zA-Z0-9-._]+/,
// eslint-disable-line no-useless-escape
- securityWorkspaceId: /[!a-zA-Z0-9\-_.~@:{}=]+(\/[!a-zA-Z0-9\-_.~@:{}=]+)*/
+ securityWorkspaceId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
// eslint-disable-line no-useless-escape
}
};
@@ -2471,8 +3748,9 @@
var graphServiceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphServiceAriResourceOwner,
resourceType: GraphServiceAriResourceType,
resourceIdSlug: "{workspaceId}/{serviceId}",
resourceIdSegmentFormats: {
@@ -2529,8 +3807,9 @@
var graphServiceAndJiraProjectRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphServiceAndJiraProjectRelationshipAriResourceOwner,
resourceType: GraphServiceAndJiraProjectRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -2587,8 +3866,9 @@
var graphServiceAndOperationsTeamRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphServiceAndOperationsTeamRelationshipAriResourceOwner,
resourceType: GraphServiceAndOperationsTeamRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -2645,8 +3925,9 @@
var graphServiceAndVcsRepositoryRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphServiceAndVcsRepositoryRelationshipAriResourceOwner,
resourceType: GraphServiceAndVcsRepositoryRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -2703,8 +3984,9 @@
var graphServiceRelationshipAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphServiceRelationshipAriResourceOwner,
resourceType: GraphServiceRelationshipAriResourceType,
resourceIdSlug: "{workspaceId}/{relationshipId}",
resourceIdSegmentFormats: {
@@ -2753,16 +4035,201 @@
};
}
};
+// src/graph/space/types.ts
+var GraphSpaceAriResourceOwner = "graph", GraphSpaceAriResourceType = "space";
+
+// src/graph/space/manifest.ts
+var graphSpaceAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphSpaceAriResourceOwner,
+ resourceType: GraphSpaceAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/graph/space/index.ts
+var GraphSpaceAri = class _GraphSpaceAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphSpaceAriStaticOpts.qualifier,
+ platformQualifier: graphSpaceAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphSpaceAriStaticOpts.resourceOwner,
+ resourceType: graphSpaceAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphSpaceAriStaticOpts);
+ return new _GraphSpaceAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphSpaceAriStaticOpts);
+ return new _GraphSpaceAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID
+ };
+ }
+};
+
+// src/graph/space-history/types.ts
+var GraphSpaceHistoryAriResourceOwner = "graph", GraphSpaceHistoryAriResourceType = "space-history";
+
+// src/graph/space-history/manifest.ts
+var graphSpaceHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphSpaceHistoryAriResourceOwner,
+ resourceType: GraphSpaceHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{entityUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ entityUUID: /[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/space-history/index.ts
+var GraphSpaceHistoryAri = class _GraphSpaceHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._entityUUID = opts.resourceIdSegmentValues.entityUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get entityUUID() {
+ return this._entityUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphSpaceHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphSpaceHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphSpaceHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphSpaceHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.entityUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ entityUUID: opts.entityUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphSpaceHistoryAriStaticOpts);
+ return new _GraphSpaceHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphSpaceHistoryAriStaticOpts);
+ return new _GraphSpaceHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ entityUUID: this.entityUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/thread-chunk/types.ts
+var GraphThreadChunkAriResourceOwner = "graph", GraphThreadChunkAriResourceType = "thread-chunk";
+
+// src/graph/thread-chunk/manifest.ts
+var graphThreadChunkAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphThreadChunkAriResourceOwner,
+ resourceType: GraphThreadChunkAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{chunkId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ chunkId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
+ // eslint-disable-line no-useless-escape
+ }
+};
+
+// src/graph/thread-chunk/index.ts
+var GraphThreadChunkAri = class _GraphThreadChunkAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._chunkId = opts.resourceIdSegmentValues.chunkId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get chunkId() {
+ return this._chunkId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphThreadChunkAriStaticOpts.qualifier,
+ platformQualifier: graphThreadChunkAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphThreadChunkAriStaticOpts.resourceOwner,
+ resourceType: graphThreadChunkAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.chunkId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ chunkId: opts.chunkId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphThreadChunkAriStaticOpts);
+ return new _GraphThreadChunkAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphThreadChunkAriStaticOpts);
+ return new _GraphThreadChunkAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ chunkId: this.chunkId
+ };
+ }
+};
+
// src/graph/video/types.ts
var GraphVideoAriResourceOwner = "graph", GraphVideoAriResourceType = "video";
// src/graph/video/manifest.ts
var graphVideoAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphVideoAriResourceOwner,
resourceType: GraphVideoAriResourceType,
resourceIdSlug: "activation/{activationId}/{entityUUID}",
resourceIdSegmentFormats: {
@@ -2819,8 +4286,9 @@
var graphVideoHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphVideoHistoryAriResourceOwner,
resourceType: GraphVideoHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{entityUUID}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -2884,8 +4352,9 @@
var graphVulnerabilityAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphVulnerabilityAriResourceOwner,
resourceType: GraphVulnerabilityAriResourceType,
resourceIdSlug: "activation/{activationId}/{vulnerabilityId}",
resourceIdSegmentFormats: {
@@ -2942,8 +4411,9 @@
var graphVulnerabilityHistoryAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphVulnerabilityHistoryAriResourceOwner,
resourceType: GraphVulnerabilityHistoryAriResourceType,
resourceIdSlug: "activation/{activationId}/{vulnerabilityId}/{updateSequenceNumber}",
resourceIdSegmentFormats: {
@@ -2999,16 +4469,267 @@
};
}
};
+// src/graph/work-item/types.ts
+var GraphWorkItemAriResourceOwner = "graph", GraphWorkItemAriResourceType = "work-item";
+
+// src/graph/work-item/manifest.ts
+var graphWorkItemAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphWorkItemAriResourceOwner,
+ resourceType: GraphWorkItemAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{workItemId}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ workItemId: /[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/graph/work-item/index.ts
+var GraphWorkItemAri = class _GraphWorkItemAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._workItemId = opts.resourceIdSegmentValues.workItemId;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get workItemId() {
+ return this._workItemId;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphWorkItemAriStaticOpts.qualifier,
+ platformQualifier: graphWorkItemAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphWorkItemAriStaticOpts.resourceOwner,
+ resourceType: graphWorkItemAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.workItemId}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ workItemId: opts.workItemId
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphWorkItemAriStaticOpts);
+ return new _GraphWorkItemAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphWorkItemAriStaticOpts);
+ return new _GraphWorkItemAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ workItemId: this.workItemId
+ };
+ }
+};
+
+// src/graph/work-item-history/types.ts
+var GraphWorkItemHistoryAriResourceOwner = "graph", GraphWorkItemHistoryAriResourceType = "work-item-history";
+
+// src/graph/work-item-history/manifest.ts
+var graphWorkItemHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphWorkItemHistoryAriResourceOwner,
+ resourceType: GraphWorkItemHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{workItemId}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ workItemId: /[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/work-item-history/index.ts
+var GraphWorkItemHistoryAri = class _GraphWorkItemHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._workItemId = opts.resourceIdSegmentValues.workItemId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get workItemId() {
+ return this._workItemId;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphWorkItemHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphWorkItemHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphWorkItemHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphWorkItemHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.workItemId}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ workItemId: opts.workItemId,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphWorkItemHistoryAriStaticOpts);
+ return new _GraphWorkItemHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphWorkItemHistoryAriStaticOpts);
+ return new _GraphWorkItemHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ workItemId: this.workItemId,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
+// src/graph/worker/types.ts
+var GraphWorkerAriResourceOwner = "graph", GraphWorkerAriResourceType = "worker";
+
+// src/graph/worker/manifest.ts
+var graphWorkerAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphWorkerAriResourceOwner,
+ resourceType: GraphWorkerAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{workerUUID}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ workerUUID: /[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/graph/worker/index.ts
+var GraphWorkerAri = class _GraphWorkerAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._workerUUID = opts.resourceIdSegmentValues.workerUUID;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get workerUUID() {
+ return this._workerUUID;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphWorkerAriStaticOpts.qualifier,
+ platformQualifier: graphWorkerAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphWorkerAriStaticOpts.resourceOwner,
+ resourceType: graphWorkerAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.workerUUID}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ workerUUID: opts.workerUUID
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphWorkerAriStaticOpts);
+ return new _GraphWorkerAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphWorkerAriStaticOpts);
+ return new _GraphWorkerAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ workerUUID: this.workerUUID
+ };
+ }
+};
+
+// src/graph/worker-history/types.ts
+var GraphWorkerHistoryAriResourceOwner = "graph", GraphWorkerHistoryAriResourceType = "worker-history";
+
+// src/graph/worker-history/manifest.ts
+var graphWorkerHistoryAriStaticOpts = {
+ qualifier: "ari",
+ platformQualifier: "cloud",
+ cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
+ resourceOwner: GraphWorkerHistoryAriResourceOwner,
+ resourceType: GraphWorkerHistoryAriResourceType,
+ resourceIdSlug: "activation/{activationId}/{workerUUID}/{updateSequenceNumber}",
+ resourceIdSegmentFormats: {
+ activationId: /[a-zA-Z0-9\-]+/,
+ // eslint-disable-line no-useless-escape
+ workerUUID: /[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/worker-history/index.ts
+var GraphWorkerHistoryAri = class _GraphWorkerHistoryAri extends RegisteredAri {
+ constructor(opts) {
+ super(opts);
+ this._activationId = opts.resourceIdSegmentValues.activationId, this._workerUUID = opts.resourceIdSegmentValues.workerUUID, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
+ }
+ get activationId() {
+ return this._activationId;
+ }
+ get workerUUID() {
+ return this._workerUUID;
+ }
+ get updateSequenceNumber() {
+ return this._updateSequenceNumber;
+ }
+ static create(opts) {
+ let derivedOpts = {
+ qualifier: graphWorkerHistoryAriStaticOpts.qualifier,
+ platformQualifier: graphWorkerHistoryAriStaticOpts.platformQualifier,
+ cloudId: void 0,
+ resourceOwner: graphWorkerHistoryAriStaticOpts.resourceOwner,
+ resourceType: graphWorkerHistoryAriStaticOpts.resourceType,
+ resourceId: `activation/${opts.activationId}/${opts.workerUUID}/${opts.updateSequenceNumber}`,
+ resourceIdSegmentValues: {
+ activationId: opts.activationId,
+ workerUUID: opts.workerUUID,
+ updateSequenceNumber: opts.updateSequenceNumber
+ }
+ }, ariOpts = AriParser.fromOpts(derivedOpts, graphWorkerHistoryAriStaticOpts);
+ return new _GraphWorkerHistoryAri(ariOpts);
+ }
+ static parse(maybeAri) {
+ let opts = AriParser.fromString(maybeAri, graphWorkerHistoryAriStaticOpts);
+ return new _GraphWorkerHistoryAri(opts);
+ }
+ getVariables() {
+ return {
+ activationId: this.activationId,
+ workerUUID: this.workerUUID,
+ updateSequenceNumber: this.updateSequenceNumber
+ };
+ }
+};
+
// src/graph/workspace/types.ts
var GraphWorkspaceAriResourceOwner = "graph", GraphWorkspaceAriResourceType = "workspace";
// src/graph/workspace/manifest.ts
var graphWorkspaceAriStaticOpts = {
qualifier: "ari",
platformQualifier: "cloud",
cloudId: new RegExp("^$"),
+ // eslint-disable-line no-useless-escape
resourceOwner: GraphWorkspaceAriResourceOwner,
resourceType: GraphWorkspaceAriResourceType,
resourceIdSlug: "{workspaceId}",
resourceIdSegmentFormats: {
@@ -3055,10 +4776,21 @@
GraphBranchAri,
GraphBranchHistoryAri,
GraphBuildAri,
GraphBuildHistoryAri,
+ GraphCalendarEventAri,
+ GraphCalendarEventHistoryAri,
+ GraphCommentAri,
+ GraphCommentHistoryAri,
GraphCommitAri,
GraphContentAri,
+ GraphConversationAri,
+ GraphConversationChunkAri,
+ GraphConversationHistoryAri,
+ GraphCustomerOrgAri,
+ GraphCustomerOrgHistoryAri,
+ GraphDealAri,
+ GraphDealHistoryAri,
GraphDeploymentAri,
GraphDeploymentHistoryAri,
GraphDesignAri,
GraphDesignHistoryAri,
@@ -3070,31 +4802,47 @@
GraphFeatureFlagAri,
GraphFeatureFlagHistoryAri,
GraphIncidentAri,
GraphIncidentHistoryAri,
+ GraphIntegrationContextAri,
GraphJiraProjectAndDevopsToolRelationshipAri,
GraphJiraProjectAndDocumentationSpaceRelationshipAri,
GraphJiraProjectAndOperationsTeamRelationshipAri,
GraphJiraProjectAndVcsRepositoryRelationshipAri,
GraphJiraProjectAndVcsRepositoryRelationshipTempMigrationAri,
+ GraphMessageAri,
GraphOperationsWorkspaceAri,
+ GraphOrganisationAri,
+ GraphOrganisationHistoryAri,
+ GraphPositionAri,
+ GraphPositionHistoryAri,
GraphPostIncidentReviewAri,
GraphPostIncidentReviewHistoryAri,
GraphProjectAri,
+ GraphProjectHistoryAri,
GraphPullRequestAri,
GraphPullRequestHistoryAri,
+ GraphRelationshipTypeAri,
GraphRemoteLinkAri,
GraphRemoteLinkHistoryAri,
GraphRepositoryAri,
+ GraphRoleAri,
GraphSecurityContainerAri,
GraphSecurityWorkspaceAri,
GraphServiceAndJiraProjectRelationshipAri,
GraphServiceAndOperationsTeamRelationshipAri,
GraphServiceAndVcsRepositoryRelationshipAri,
GraphServiceAri,
GraphServiceRelationshipAri,
+ GraphSpaceAri,
+ GraphSpaceHistoryAri,
+ GraphThreadChunkAri,
GraphVideoAri,
GraphVideoHistoryAri,
GraphVulnerabilityAri,
GraphVulnerabilityHistoryAri,
+ GraphWorkItemAri,
+ GraphWorkItemHistoryAri,
+ GraphWorkerAri,
+ GraphWorkerHistoryAri,
GraphWorkspaceAri
});