@forge/util 1.4.0 → 1.4.1-next.0-experimental-cf84ac7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/packages/analytics-node-client/README.md +65 -1
- package/packages/analytics-node-client/package.json +10 -5
- package/packages/analytics-node-client/src/index.js +1 -1
- package/packages/ari/_tsup-dts-rollup.d.ts +442 -0
- package/packages/ari/beacon/custom-detection/index.d.ts +3 -0
- package/packages/ari/beacon/custom-detection/index.js +346 -0
- package/packages/ari/beacon/custom-detection/index.mjs +17 -0
- package/packages/ari/beacon/custom-detection/types.d.ts +3 -0
- package/packages/ari/beacon/custom-detection/types.js +29 -0
- package/packages/ari/beacon/custom-detection/types.mjs +8 -0
- package/packages/ari/beacon/index.d.ts +1 -0
- package/packages/ari/beacon/index.js +64 -0
- package/packages/ari/beacon/index.mjs +13 -8
- package/packages/ari/bitbucket/index.mjs +8 -8
- package/packages/ari/brie/index.mjs +4 -4
- package/packages/ari/canvas/index.mjs +4 -4
- package/packages/ari/chunk-5DRIX3CB.mjs +7 -0
- package/packages/ari/chunk-6YGOGAWM.mjs +7 -0
- package/packages/ari/chunk-A5KZESJG.mjs +76 -0
- package/packages/ari/chunk-AWSUWYDF.mjs +80 -0
- package/packages/ari/chunk-BGUJ6GY2.mjs +62 -0
- package/packages/ari/chunk-D5S55TXO.mjs +7 -0
- package/packages/ari/chunk-DFCDGB7O.mjs +80 -0
- package/packages/ari/chunk-GHVFX7QU.mjs +80 -0
- package/packages/ari/chunk-IQPZXRAE.mjs +69 -0
- package/packages/ari/chunk-IUUUDGF6.mjs +7 -0
- package/packages/ari/chunk-OWEX3L44.mjs +7 -0
- package/packages/ari/chunk-PF3FHNQU.mjs +7 -0
- package/packages/ari/chunk-PVBPUKXI.mjs +7 -0
- package/packages/ari/chunk-PXLAHM4C.mjs +73 -0
- package/packages/ari/chunk-QO2BQQRK.mjs +7 -0
- package/packages/ari/chunk-QSH6F5SY.mjs +7 -0
- package/packages/ari/chunk-RYGO66NC.mjs +7 -0
- package/packages/ari/chunk-SCWWMMV2.mjs +80 -0
- package/packages/ari/chunk-SNAPC4SA.mjs +7 -0
- package/packages/ari/chunk-T3KJWGQY.mjs +73 -0
- package/packages/ari/chunk-TULGFGJW.mjs +69 -0
- package/packages/ari/chunk-WLBIOO7O.mjs +76 -0
- package/packages/ari/chunk-XB3V3IB3.mjs +66 -0
- package/packages/ari/chunk-XL2VWTF2.mjs +7 -0
- package/packages/ari/chunk-YNVYZG5X.mjs +0 -0
- package/packages/ari/cmdb/index.mjs +4 -4
- package/packages/ari/commerce/index.mjs +14 -14
- package/packages/ari/compass/index.mjs +14 -14
- package/packages/ari/confluence/index.mjs +17 -17
- package/packages/ari/conversational-help/index.mjs +4 -4
- package/packages/ari/devops/index.mjs +4 -4
- package/packages/ari/ecosystem/index.mjs +4 -4
- package/packages/ari/google/index.mjs +4 -4
- package/packages/ari/graph/index.d.ts +2 -0
- package/packages/ari/graph/index.js +127 -0
- package/packages/ari/graph/index.mjs +48 -38
- package/packages/ari/graph/post-incident-review/index.d.ts +3 -0
- package/packages/ari/graph/post-incident-review/index.js +342 -0
- package/packages/ari/graph/post-incident-review/index.mjs +17 -0
- package/packages/ari/graph/post-incident-review/types.d.ts +3 -0
- package/packages/ari/graph/post-incident-review/types.js +29 -0
- package/packages/ari/graph/post-incident-review/types.mjs +8 -0
- package/packages/ari/graph/post-incident-review-history/index.d.ts +3 -0
- package/packages/ari/graph/post-incident-review-history/index.js +349 -0
- package/packages/ari/graph/post-incident-review-history/index.mjs +17 -0
- package/packages/ari/graph/post-incident-review-history/types.d.ts +3 -0
- package/packages/ari/graph/post-incident-review-history/types.js +29 -0
- package/packages/ari/graph/post-incident-review-history/types.mjs +8 -0
- package/packages/ari/help/index.mjs +8 -8
- package/packages/ari/identity/index.mjs +11 -11
- package/packages/ari/index.d.ts +1 -0
- package/packages/ari/index.js +55 -2
- package/packages/ari/index.mjs +369 -341
- package/packages/ari/jira/index.d.ts +4 -0
- package/packages/ari/jira/index.js +266 -0
- package/packages/ari/jira/index.mjs +128 -108
- package/packages/ari/jira/issue-remote-link/index.d.ts +3 -0
- package/packages/ari/jira/issue-remote-link/index.js +353 -0
- package/packages/ari/jira/issue-remote-link/index.mjs +17 -0
- package/packages/ari/jira/issue-remote-link/types.d.ts +3 -0
- package/packages/ari/jira/issue-remote-link/types.js +29 -0
- package/packages/ari/jira/issue-remote-link/types.mjs +8 -0
- package/packages/ari/jira/notification-user-preference/index.d.ts +3 -0
- package/packages/ari/jira/notification-user-preference/index.js +342 -0
- package/packages/ari/jira/notification-user-preference/index.mjs +17 -0
- package/packages/ari/jira/notification-user-preference/types.d.ts +3 -0
- package/packages/ari/jira/notification-user-preference/types.js +29 -0
- package/packages/ari/jira/notification-user-preference/types.mjs +8 -0
- package/packages/ari/jira/post-incident-review/index.d.ts +3 -0
- package/packages/ari/jira/post-incident-review/index.js +346 -0
- package/packages/ari/jira/post-incident-review/index.mjs +17 -0
- package/packages/ari/jira/post-incident-review/types.d.ts +3 -0
- package/packages/ari/jira/post-incident-review/types.js +29 -0
- package/packages/ari/jira/post-incident-review/types.mjs +8 -0
- package/packages/ari/jira/post-incident-review-history/index.d.ts +3 -0
- package/packages/ari/jira/post-incident-review-history/index.js +353 -0
- package/packages/ari/jira/post-incident-review-history/index.mjs +17 -0
- package/packages/ari/jira/post-incident-review-history/types.d.ts +3 -0
- package/packages/ari/jira/post-incident-review-history/types.js +29 -0
- package/packages/ari/jira/post-incident-review-history/types.mjs +8 -0
- package/packages/ari/jira-align/epic/index.d.ts +3 -0
- package/packages/ari/jira-align/epic/index.js +339 -0
- package/packages/ari/jira-align/epic/index.mjs +17 -0
- package/packages/ari/jira-align/epic/types.d.ts +3 -0
- package/packages/ari/jira-align/epic/types.js +29 -0
- package/packages/ari/jira-align/epic/types.mjs +8 -0
- package/packages/ari/jira-align/index.d.ts +1 -0
- package/packages/ari/jira-align/index.js +57 -0
- package/packages/ari/jira-align/index.mjs +6 -1
- package/packages/ari/jira-software/card-color/index.d.ts +3 -0
- package/packages/ari/jira-software/card-color/index.js +353 -0
- package/packages/ari/jira-software/card-color/index.mjs +17 -0
- package/packages/ari/jira-software/card-color/types.d.ts +3 -0
- package/packages/ari/jira-software/card-color/types.js +29 -0
- package/packages/ari/jira-software/card-color/types.mjs +8 -0
- package/packages/ari/jira-software/card-layout/index.d.ts +3 -0
- package/packages/ari/jira-software/card-layout/index.js +353 -0
- package/packages/ari/jira-software/card-layout/index.mjs +17 -0
- package/packages/ari/jira-software/card-layout/types.d.ts +3 -0
- package/packages/ari/jira-software/card-layout/types.js +29 -0
- package/packages/ari/jira-software/card-layout/types.mjs +8 -0
- package/packages/ari/jira-software/index.d.ts +2 -0
- package/packages/ari/jira-software/index.js +142 -0
- package/packages/ari/jira-software/index.mjs +27 -17
- package/packages/ari/marketplace/index.d.ts +1 -0
- package/packages/ari/marketplace/index.js +331 -0
- package/packages/ari/marketplace/index.mjs +13 -0
- package/packages/ari/marketplace/team/index.d.ts +3 -0
- package/packages/ari/marketplace/team/index.js +335 -0
- package/packages/ari/marketplace/team/index.mjs +17 -0
- package/packages/ari/marketplace/team/types.d.ts +3 -0
- package/packages/ari/marketplace/team/types.js +29 -0
- package/packages/ari/marketplace/team/types.mjs +8 -0
- package/packages/ari/opsgenie/index.mjs +11 -11
- package/packages/ari/package.json +1 -1
- package/packages/ari/people-perftool/index.mjs +4 -4
- package/packages/ari/platform/index.mjs +8 -8
- package/packages/ari/resource-types/card-color.d.ts +1 -0
- package/packages/ari/resource-types/card-color.js +27 -0
- package/packages/ari/resource-types/card-color.mjs +5 -0
- package/packages/ari/resource-types/card-layout.d.ts +1 -0
- package/packages/ari/resource-types/card-layout.js +27 -0
- package/packages/ari/resource-types/card-layout.mjs +5 -0
- package/packages/ari/resource-types/custom-detection.d.ts +1 -0
- package/packages/ari/resource-types/custom-detection.js +27 -0
- package/packages/ari/resource-types/custom-detection.mjs +5 -0
- package/packages/ari/resource-types/embed.d.ts +1 -0
- package/packages/ari/resource-types/embed.js +27 -0
- package/packages/ari/resource-types/embed.mjs +5 -0
- package/packages/ari/resource-types/epic.d.ts +1 -0
- package/packages/ari/resource-types/epic.js +27 -0
- package/packages/ari/resource-types/epic.mjs +5 -0
- package/packages/ari/resource-types/issue-remote-link.d.ts +1 -0
- package/packages/ari/resource-types/issue-remote-link.js +27 -0
- package/packages/ari/resource-types/issue-remote-link.mjs +5 -0
- package/packages/ari/resource-types/post-incident-review-history.d.ts +1 -0
- package/packages/ari/resource-types/post-incident-review-history.js +27 -0
- package/packages/ari/resource-types/post-incident-review-history.mjs +5 -0
- package/packages/ari/resource-types/post-incident-review.d.ts +1 -0
- package/packages/ari/resource-types/post-incident-review.js +27 -0
- package/packages/ari/resource-types/post-incident-review.mjs +5 -0
- package/packages/ari/townsquare/index.mjs +8 -8
- package/packages/ari/unified-help/index.mjs +4 -4
- package/packages/ari/virtual-agent/conversation/index.d.ts +3 -0
- package/packages/ari/virtual-agent/conversation/index.js +349 -0
- package/packages/ari/virtual-agent/conversation/index.mjs +17 -0
- package/packages/ari/virtual-agent/conversation/types.d.ts +3 -0
- package/packages/ari/virtual-agent/conversation/types.js +29 -0
- package/packages/ari/virtual-agent/conversation/types.mjs +8 -0
- package/packages/ari/virtual-agent/index.d.ts +1 -0
- package/packages/ari/virtual-agent/index.js +67 -0
- package/packages/ari/virtual-agent/index.mjs +10 -5
- package/packages/logger-interface/CHANGELOG.md +6 -0
- package/packages/logger-interface/README.md +3 -1
- package/packages/logger-interface/package.json +3 -2
- package/packages/metrics-interface/CHANGELOG.md +57 -0
- package/packages/metrics-interface/README.md +13 -15
- package/packages/metrics-interface/dist/metrics.d.ts +7 -0
- package/packages/metrics-interface/dist/metrics.d.ts.map +1 -1
- package/packages/metrics-interface/dist/metrics.js +16 -1
- package/packages/metrics-interface/dist/metrics.js.map +1 -1
- package/packages/metrics-interface/dist/mocks/index.d.ts +11 -2
- package/packages/metrics-interface/dist/mocks/index.d.ts.map +1 -1
- package/packages/metrics-interface/dist/mocks/index.js +13 -2
- package/packages/metrics-interface/dist/mocks/index.js.map +1 -1
- package/packages/metrics-interface/package.json +3 -2
- /package/packages/ari/{chunk-ENGY2TDF.mjs → chunk-D7D3B454.mjs} +0 -0
- /package/packages/ari/{chunk-KNBR3WSA.mjs → chunk-GH4RGVNE.mjs} +0 -0
- /package/packages/ari/{chunk-PU63LMKI.mjs → chunk-JEDPRILO.mjs} +0 -0
- /package/packages/ari/{chunk-RLLBEQ3Y.mjs → chunk-NZ5QEVUV.mjs} +0 -0
- /package/packages/ari/{chunk-V7XF5L23.mjs → chunk-P2RGZTM3.mjs} +0 -0
- /package/packages/ari/{chunk-WRVV7GZO.mjs → chunk-VPUECY5E.mjs} +0 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VirtualAgentConversationAriResourceOwner,
|
|
3
|
+
VirtualAgentConversationAriResourceType
|
|
4
|
+
} from "./chunk-PF3FHNQU.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/virtual-agent/conversation/manifest.ts
|
|
13
|
+
var virtualAgentConversationAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^$"),
|
|
17
|
+
resourceOwner: VirtualAgentConversationAriResourceOwner,
|
|
18
|
+
resourceType: VirtualAgentConversationAriResourceType,
|
|
19
|
+
resourceIdSlug: "{activationId}/{configurationId}/{conversationId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
configurationId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
conversationId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
|
|
26
|
+
// eslint-disable-line no-useless-escape
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// src/virtual-agent/conversation/index.ts
|
|
31
|
+
var VirtualAgentConversationAri = class _VirtualAgentConversationAri extends RegisteredAri {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super(opts);
|
|
34
|
+
this._activationId = opts.resourceIdSegmentValues.activationId, this._configurationId = opts.resourceIdSegmentValues.configurationId, this._conversationId = opts.resourceIdSegmentValues.conversationId;
|
|
35
|
+
}
|
|
36
|
+
get activationId() {
|
|
37
|
+
return this._activationId;
|
|
38
|
+
}
|
|
39
|
+
get configurationId() {
|
|
40
|
+
return this._configurationId;
|
|
41
|
+
}
|
|
42
|
+
get conversationId() {
|
|
43
|
+
return this._conversationId;
|
|
44
|
+
}
|
|
45
|
+
static create(opts) {
|
|
46
|
+
let derivedOpts = {
|
|
47
|
+
qualifier: virtualAgentConversationAriStaticOpts.qualifier,
|
|
48
|
+
platformQualifier: virtualAgentConversationAriStaticOpts.platformQualifier,
|
|
49
|
+
cloudId: void 0,
|
|
50
|
+
resourceOwner: virtualAgentConversationAriStaticOpts.resourceOwner,
|
|
51
|
+
resourceType: virtualAgentConversationAriStaticOpts.resourceType,
|
|
52
|
+
resourceId: `${opts.activationId}/${opts.configurationId}/${opts.conversationId}`,
|
|
53
|
+
resourceIdSegmentValues: {
|
|
54
|
+
activationId: opts.activationId,
|
|
55
|
+
configurationId: opts.configurationId,
|
|
56
|
+
conversationId: opts.conversationId
|
|
57
|
+
}
|
|
58
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, virtualAgentConversationAriStaticOpts);
|
|
59
|
+
return new _VirtualAgentConversationAri(ariOpts);
|
|
60
|
+
}
|
|
61
|
+
static parse(maybeAri) {
|
|
62
|
+
let opts = AriParser.fromString(maybeAri, virtualAgentConversationAriStaticOpts);
|
|
63
|
+
return new _VirtualAgentConversationAri(opts);
|
|
64
|
+
}
|
|
65
|
+
getVariables() {
|
|
66
|
+
return {
|
|
67
|
+
activationId: this.activationId,
|
|
68
|
+
configurationId: this.configurationId,
|
|
69
|
+
conversationId: this.conversationId
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export {
|
|
75
|
+
VirtualAgentConversationAri
|
|
76
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraSoftwareCardLayoutAriResourceOwner,
|
|
3
|
+
JiraSoftwareCardLayoutAriResourceType
|
|
4
|
+
} from "./chunk-QSH6F5SY.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira-software/card-layout/manifest.ts
|
|
13
|
+
var jiraSoftwareCardLayoutAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
|
|
17
|
+
resourceOwner: JiraSoftwareCardLayoutAriResourceOwner,
|
|
18
|
+
resourceType: JiraSoftwareCardLayoutAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{boardId}/{cardLayoutId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
boardId: /[a-zA-Z0-9\-_.~@:{}=]+(\/[a-zA-Z0-9\-_.~@:{}=]+)*/,
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
cardLayoutId: /[a-zA-Z0-9_]+/
|
|
26
|
+
// eslint-disable-line no-useless-escape
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// src/jira-software/card-layout/index.ts
|
|
31
|
+
var JiraSoftwareCardLayoutAri = class _JiraSoftwareCardLayoutAri extends RegisteredAri {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super(opts);
|
|
34
|
+
this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._boardId = opts.resourceIdSegmentValues.boardId, this._cardLayoutId = opts.resourceIdSegmentValues.cardLayoutId;
|
|
35
|
+
}
|
|
36
|
+
get siteId() {
|
|
37
|
+
return this._siteId;
|
|
38
|
+
}
|
|
39
|
+
get activationId() {
|
|
40
|
+
return this._activationId;
|
|
41
|
+
}
|
|
42
|
+
get boardId() {
|
|
43
|
+
return this._boardId;
|
|
44
|
+
}
|
|
45
|
+
get cardLayoutId() {
|
|
46
|
+
return this._cardLayoutId;
|
|
47
|
+
}
|
|
48
|
+
static create(opts) {
|
|
49
|
+
let derivedOpts = {
|
|
50
|
+
qualifier: jiraSoftwareCardLayoutAriStaticOpts.qualifier,
|
|
51
|
+
platformQualifier: jiraSoftwareCardLayoutAriStaticOpts.platformQualifier,
|
|
52
|
+
cloudId: opts.siteId,
|
|
53
|
+
resourceOwner: jiraSoftwareCardLayoutAriStaticOpts.resourceOwner,
|
|
54
|
+
resourceType: jiraSoftwareCardLayoutAriStaticOpts.resourceType,
|
|
55
|
+
resourceId: `activation/${opts.activationId}/${opts.boardId}/${opts.cardLayoutId}`,
|
|
56
|
+
resourceIdSegmentValues: {
|
|
57
|
+
activationId: opts.activationId,
|
|
58
|
+
boardId: opts.boardId,
|
|
59
|
+
cardLayoutId: opts.cardLayoutId
|
|
60
|
+
}
|
|
61
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraSoftwareCardLayoutAriStaticOpts);
|
|
62
|
+
return new _JiraSoftwareCardLayoutAri(ariOpts);
|
|
63
|
+
}
|
|
64
|
+
static parse(maybeAri) {
|
|
65
|
+
let opts = AriParser.fromString(maybeAri, jiraSoftwareCardLayoutAriStaticOpts);
|
|
66
|
+
return new _JiraSoftwareCardLayoutAri(opts);
|
|
67
|
+
}
|
|
68
|
+
getVariables() {
|
|
69
|
+
return {
|
|
70
|
+
siteId: this.siteId,
|
|
71
|
+
activationId: this.activationId,
|
|
72
|
+
boardId: this.boardId,
|
|
73
|
+
cardLayoutId: this.cardLayoutId
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
JiraSoftwareCardLayoutAri
|
|
80
|
+
};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MarketplaceTeamAriResourceOwner,
|
|
3
|
+
MarketplaceTeamAriResourceType
|
|
4
|
+
} from "./chunk-IUUUDGF6.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/marketplace/team/manifest.ts
|
|
13
|
+
var marketplaceTeamAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^$"),
|
|
17
|
+
resourceOwner: MarketplaceTeamAriResourceOwner,
|
|
18
|
+
resourceType: MarketplaceTeamAriResourceType,
|
|
19
|
+
resourceIdSlug: "{teamId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
teamId: /[a-zA-Z0-9.\-_~]+/
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// src/marketplace/team/index.ts
|
|
27
|
+
var MarketplaceTeamAri = class _MarketplaceTeamAri extends RegisteredAri {
|
|
28
|
+
constructor(opts) {
|
|
29
|
+
super(opts);
|
|
30
|
+
this._teamId = opts.resourceIdSegmentValues.teamId;
|
|
31
|
+
}
|
|
32
|
+
get teamId() {
|
|
33
|
+
return this._teamId;
|
|
34
|
+
}
|
|
35
|
+
static create(opts) {
|
|
36
|
+
let derivedOpts = {
|
|
37
|
+
qualifier: marketplaceTeamAriStaticOpts.qualifier,
|
|
38
|
+
platformQualifier: marketplaceTeamAriStaticOpts.platformQualifier,
|
|
39
|
+
cloudId: void 0,
|
|
40
|
+
resourceOwner: marketplaceTeamAriStaticOpts.resourceOwner,
|
|
41
|
+
resourceType: marketplaceTeamAriStaticOpts.resourceType,
|
|
42
|
+
resourceId: `${opts.teamId}`,
|
|
43
|
+
resourceIdSegmentValues: {
|
|
44
|
+
teamId: opts.teamId
|
|
45
|
+
}
|
|
46
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, marketplaceTeamAriStaticOpts);
|
|
47
|
+
return new _MarketplaceTeamAri(ariOpts);
|
|
48
|
+
}
|
|
49
|
+
static parse(maybeAri) {
|
|
50
|
+
let opts = AriParser.fromString(maybeAri, marketplaceTeamAriStaticOpts);
|
|
51
|
+
return new _MarketplaceTeamAri(opts);
|
|
52
|
+
}
|
|
53
|
+
getVariables() {
|
|
54
|
+
return {
|
|
55
|
+
teamId: this.teamId
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
MarketplaceTeamAri
|
|
62
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraSoftwareCardColorAriResourceOwner,
|
|
3
|
+
JiraSoftwareCardColorAriResourceType
|
|
4
|
+
} from "./chunk-OWEX3L44.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira-software/card-color/manifest.ts
|
|
13
|
+
var jiraSoftwareCardColorAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
|
|
17
|
+
resourceOwner: JiraSoftwareCardColorAriResourceOwner,
|
|
18
|
+
resourceType: JiraSoftwareCardColorAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{boardId}/{cardColorId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
boardId: /[a-zA-Z0-9\-_.~@:{}=]+(\/[a-zA-Z0-9\-_.~@:{}=]+)*/,
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
cardColorId: /[0-9]+/
|
|
26
|
+
// eslint-disable-line no-useless-escape
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// src/jira-software/card-color/index.ts
|
|
31
|
+
var JiraSoftwareCardColorAri = class _JiraSoftwareCardColorAri extends RegisteredAri {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super(opts);
|
|
34
|
+
this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._boardId = opts.resourceIdSegmentValues.boardId, this._cardColorId = opts.resourceIdSegmentValues.cardColorId;
|
|
35
|
+
}
|
|
36
|
+
get siteId() {
|
|
37
|
+
return this._siteId;
|
|
38
|
+
}
|
|
39
|
+
get activationId() {
|
|
40
|
+
return this._activationId;
|
|
41
|
+
}
|
|
42
|
+
get boardId() {
|
|
43
|
+
return this._boardId;
|
|
44
|
+
}
|
|
45
|
+
get cardColorId() {
|
|
46
|
+
return this._cardColorId;
|
|
47
|
+
}
|
|
48
|
+
static create(opts) {
|
|
49
|
+
let derivedOpts = {
|
|
50
|
+
qualifier: jiraSoftwareCardColorAriStaticOpts.qualifier,
|
|
51
|
+
platformQualifier: jiraSoftwareCardColorAriStaticOpts.platformQualifier,
|
|
52
|
+
cloudId: opts.siteId,
|
|
53
|
+
resourceOwner: jiraSoftwareCardColorAriStaticOpts.resourceOwner,
|
|
54
|
+
resourceType: jiraSoftwareCardColorAriStaticOpts.resourceType,
|
|
55
|
+
resourceId: `activation/${opts.activationId}/${opts.boardId}/${opts.cardColorId}`,
|
|
56
|
+
resourceIdSegmentValues: {
|
|
57
|
+
activationId: opts.activationId,
|
|
58
|
+
boardId: opts.boardId,
|
|
59
|
+
cardColorId: opts.cardColorId
|
|
60
|
+
}
|
|
61
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraSoftwareCardColorAriStaticOpts);
|
|
62
|
+
return new _JiraSoftwareCardColorAri(ariOpts);
|
|
63
|
+
}
|
|
64
|
+
static parse(maybeAri) {
|
|
65
|
+
let opts = AriParser.fromString(maybeAri, jiraSoftwareCardColorAriStaticOpts);
|
|
66
|
+
return new _JiraSoftwareCardColorAri(opts);
|
|
67
|
+
}
|
|
68
|
+
getVariables() {
|
|
69
|
+
return {
|
|
70
|
+
siteId: this.siteId,
|
|
71
|
+
activationId: this.activationId,
|
|
72
|
+
boardId: this.boardId,
|
|
73
|
+
cardColorId: this.cardColorId
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
JiraSoftwareCardColorAri
|
|
80
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraIssueRemoteLinkAriResourceOwner,
|
|
3
|
+
JiraIssueRemoteLinkAriResourceType
|
|
4
|
+
} from "./chunk-QO2BQQRK.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira/issue-remote-link/manifest.ts
|
|
13
|
+
var jiraIssueRemoteLinkAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
|
|
17
|
+
resourceOwner: JiraIssueRemoteLinkAriResourceOwner,
|
|
18
|
+
resourceType: JiraIssueRemoteLinkAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{issueId}/{linkId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
issueId: /[0-9]+/,
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
linkId: /[0-9]+/
|
|
26
|
+
// eslint-disable-line no-useless-escape
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// src/jira/issue-remote-link/index.ts
|
|
31
|
+
var JiraIssueRemoteLinkAri = class _JiraIssueRemoteLinkAri extends RegisteredAri {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super(opts);
|
|
34
|
+
this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._issueId = opts.resourceIdSegmentValues.issueId, this._linkId = opts.resourceIdSegmentValues.linkId;
|
|
35
|
+
}
|
|
36
|
+
get siteId() {
|
|
37
|
+
return this._siteId;
|
|
38
|
+
}
|
|
39
|
+
get activationId() {
|
|
40
|
+
return this._activationId;
|
|
41
|
+
}
|
|
42
|
+
get issueId() {
|
|
43
|
+
return this._issueId;
|
|
44
|
+
}
|
|
45
|
+
get linkId() {
|
|
46
|
+
return this._linkId;
|
|
47
|
+
}
|
|
48
|
+
static create(opts) {
|
|
49
|
+
let derivedOpts = {
|
|
50
|
+
qualifier: jiraIssueRemoteLinkAriStaticOpts.qualifier,
|
|
51
|
+
platformQualifier: jiraIssueRemoteLinkAriStaticOpts.platformQualifier,
|
|
52
|
+
cloudId: opts.siteId,
|
|
53
|
+
resourceOwner: jiraIssueRemoteLinkAriStaticOpts.resourceOwner,
|
|
54
|
+
resourceType: jiraIssueRemoteLinkAriStaticOpts.resourceType,
|
|
55
|
+
resourceId: `activation/${opts.activationId}/${opts.issueId}/${opts.linkId}`,
|
|
56
|
+
resourceIdSegmentValues: {
|
|
57
|
+
activationId: opts.activationId,
|
|
58
|
+
issueId: opts.issueId,
|
|
59
|
+
linkId: opts.linkId
|
|
60
|
+
}
|
|
61
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraIssueRemoteLinkAriStaticOpts);
|
|
62
|
+
return new _JiraIssueRemoteLinkAri(ariOpts);
|
|
63
|
+
}
|
|
64
|
+
static parse(maybeAri) {
|
|
65
|
+
let opts = AriParser.fromString(maybeAri, jiraIssueRemoteLinkAriStaticOpts);
|
|
66
|
+
return new _JiraIssueRemoteLinkAri(opts);
|
|
67
|
+
}
|
|
68
|
+
getVariables() {
|
|
69
|
+
return {
|
|
70
|
+
siteId: this.siteId,
|
|
71
|
+
activationId: this.activationId,
|
|
72
|
+
issueId: this.issueId,
|
|
73
|
+
linkId: this.linkId
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
JiraIssueRemoteLinkAri
|
|
80
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraNotificationUserPreferenceAriResourceOwner,
|
|
3
|
+
JiraNotificationUserPreferenceAriResourceType
|
|
4
|
+
} from "./chunk-RYGO66NC.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira/notification-user-preference/manifest.ts
|
|
13
|
+
var jiraNotificationUserPreferenceAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^$"),
|
|
17
|
+
resourceOwner: JiraNotificationUserPreferenceAriResourceOwner,
|
|
18
|
+
resourceType: JiraNotificationUserPreferenceAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{notificationUserPreferenceId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
notificationUserPreferenceId: /[0-9]+/
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/jira/notification-user-preference/index.ts
|
|
29
|
+
var JiraNotificationUserPreferenceAri = class _JiraNotificationUserPreferenceAri extends RegisteredAri {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super(opts);
|
|
32
|
+
this._activationId = opts.resourceIdSegmentValues.activationId, this._notificationUserPreferenceId = opts.resourceIdSegmentValues.notificationUserPreferenceId;
|
|
33
|
+
}
|
|
34
|
+
get activationId() {
|
|
35
|
+
return this._activationId;
|
|
36
|
+
}
|
|
37
|
+
get notificationUserPreferenceId() {
|
|
38
|
+
return this._notificationUserPreferenceId;
|
|
39
|
+
}
|
|
40
|
+
static create(opts) {
|
|
41
|
+
let derivedOpts = {
|
|
42
|
+
qualifier: jiraNotificationUserPreferenceAriStaticOpts.qualifier,
|
|
43
|
+
platformQualifier: jiraNotificationUserPreferenceAriStaticOpts.platformQualifier,
|
|
44
|
+
cloudId: void 0,
|
|
45
|
+
resourceOwner: jiraNotificationUserPreferenceAriStaticOpts.resourceOwner,
|
|
46
|
+
resourceType: jiraNotificationUserPreferenceAriStaticOpts.resourceType,
|
|
47
|
+
resourceId: `activation/${opts.activationId}/${opts.notificationUserPreferenceId}`,
|
|
48
|
+
resourceIdSegmentValues: {
|
|
49
|
+
activationId: opts.activationId,
|
|
50
|
+
notificationUserPreferenceId: opts.notificationUserPreferenceId
|
|
51
|
+
}
|
|
52
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraNotificationUserPreferenceAriStaticOpts);
|
|
53
|
+
return new _JiraNotificationUserPreferenceAri(ariOpts);
|
|
54
|
+
}
|
|
55
|
+
static parse(maybeAri) {
|
|
56
|
+
let opts = AriParser.fromString(maybeAri, jiraNotificationUserPreferenceAriStaticOpts);
|
|
57
|
+
return new _JiraNotificationUserPreferenceAri(opts);
|
|
58
|
+
}
|
|
59
|
+
getVariables() {
|
|
60
|
+
return {
|
|
61
|
+
activationId: this.activationId,
|
|
62
|
+
notificationUserPreferenceId: this.notificationUserPreferenceId
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export {
|
|
68
|
+
JiraNotificationUserPreferenceAri
|
|
69
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/virtual-agent/conversation/types.ts
|
|
2
|
+
var VirtualAgentConversationAriResourceOwner = "virtual-agent", VirtualAgentConversationAriResourceType = "conversation";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
VirtualAgentConversationAriResourceOwner,
|
|
6
|
+
VirtualAgentConversationAriResourceType
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/graph/post-incident-review-history/types.ts
|
|
2
|
+
var GraphPostIncidentReviewHistoryAriResourceOwner = "graph", GraphPostIncidentReviewHistoryAriResourceType = "post-incident-review-history";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
GraphPostIncidentReviewHistoryAriResourceOwner,
|
|
6
|
+
GraphPostIncidentReviewHistoryAriResourceType
|
|
7
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraPostIncidentReviewAriResourceOwner,
|
|
3
|
+
JiraPostIncidentReviewAriResourceType
|
|
4
|
+
} from "./chunk-D5S55TXO.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira/post-incident-review/manifest.ts
|
|
13
|
+
var jiraPostIncidentReviewAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
|
|
17
|
+
resourceOwner: JiraPostIncidentReviewAriResourceOwner,
|
|
18
|
+
resourceType: JiraPostIncidentReviewAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
postIncidentReviewId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/jira/post-incident-review/index.ts
|
|
29
|
+
var JiraPostIncidentReviewAri = class _JiraPostIncidentReviewAri extends RegisteredAri {
|
|
30
|
+
constructor(opts) {
|
|
31
|
+
super(opts);
|
|
32
|
+
this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._postIncidentReviewId = opts.resourceIdSegmentValues.postIncidentReviewId;
|
|
33
|
+
}
|
|
34
|
+
get siteId() {
|
|
35
|
+
return this._siteId;
|
|
36
|
+
}
|
|
37
|
+
get activationId() {
|
|
38
|
+
return this._activationId;
|
|
39
|
+
}
|
|
40
|
+
get postIncidentReviewId() {
|
|
41
|
+
return this._postIncidentReviewId;
|
|
42
|
+
}
|
|
43
|
+
static create(opts) {
|
|
44
|
+
let derivedOpts = {
|
|
45
|
+
qualifier: jiraPostIncidentReviewAriStaticOpts.qualifier,
|
|
46
|
+
platformQualifier: jiraPostIncidentReviewAriStaticOpts.platformQualifier,
|
|
47
|
+
cloudId: opts.siteId,
|
|
48
|
+
resourceOwner: jiraPostIncidentReviewAriStaticOpts.resourceOwner,
|
|
49
|
+
resourceType: jiraPostIncidentReviewAriStaticOpts.resourceType,
|
|
50
|
+
resourceId: `activation/${opts.activationId}/${opts.postIncidentReviewId}`,
|
|
51
|
+
resourceIdSegmentValues: {
|
|
52
|
+
activationId: opts.activationId,
|
|
53
|
+
postIncidentReviewId: opts.postIncidentReviewId
|
|
54
|
+
}
|
|
55
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraPostIncidentReviewAriStaticOpts);
|
|
56
|
+
return new _JiraPostIncidentReviewAri(ariOpts);
|
|
57
|
+
}
|
|
58
|
+
static parse(maybeAri) {
|
|
59
|
+
let opts = AriParser.fromString(maybeAri, jiraPostIncidentReviewAriStaticOpts);
|
|
60
|
+
return new _JiraPostIncidentReviewAri(opts);
|
|
61
|
+
}
|
|
62
|
+
getVariables() {
|
|
63
|
+
return {
|
|
64
|
+
siteId: this.siteId,
|
|
65
|
+
activationId: this.activationId,
|
|
66
|
+
postIncidentReviewId: this.postIncidentReviewId
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export {
|
|
72
|
+
JiraPostIncidentReviewAri
|
|
73
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// src/jira/notification-user-preference/types.ts
|
|
2
|
+
var JiraNotificationUserPreferenceAriResourceOwner = "jira", JiraNotificationUserPreferenceAriResourceType = "notification-user-preference";
|
|
3
|
+
|
|
4
|
+
export {
|
|
5
|
+
JiraNotificationUserPreferenceAriResourceOwner,
|
|
6
|
+
JiraNotificationUserPreferenceAriResourceType
|
|
7
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import {
|
|
2
|
+
JiraPostIncidentReviewHistoryAriResourceOwner,
|
|
3
|
+
JiraPostIncidentReviewHistoryAriResourceType
|
|
4
|
+
} from "./chunk-XL2VWTF2.mjs";
|
|
5
|
+
import {
|
|
6
|
+
RegisteredAri
|
|
7
|
+
} from "./chunk-PA4Y7TWI.mjs";
|
|
8
|
+
import {
|
|
9
|
+
AriParser
|
|
10
|
+
} from "./chunk-2UUYVBKT.mjs";
|
|
11
|
+
|
|
12
|
+
// src/jira/post-incident-review-history/manifest.ts
|
|
13
|
+
var jiraPostIncidentReviewHistoryAriStaticOpts = {
|
|
14
|
+
qualifier: "ari",
|
|
15
|
+
platformQualifier: "cloud",
|
|
16
|
+
cloudId: new RegExp("^[a-zA-Z0-9-]+$"),
|
|
17
|
+
resourceOwner: JiraPostIncidentReviewHistoryAriResourceOwner,
|
|
18
|
+
resourceType: JiraPostIncidentReviewHistoryAriResourceType,
|
|
19
|
+
resourceIdSlug: "activation/{activationId}/{postIncidentReviewId}/{updateSequenceNumber}",
|
|
20
|
+
resourceIdSegmentFormats: {
|
|
21
|
+
activationId: /[a-zA-Z0-9\-]+/,
|
|
22
|
+
// eslint-disable-line no-useless-escape
|
|
23
|
+
postIncidentReviewId: /[0-9a-f]{8}-[0-9a-f]{4}-[0-5][0-9a-f]{3}-[089ab][0-9a-f]{3}-[0-9a-f]{12}/,
|
|
24
|
+
// eslint-disable-line no-useless-escape
|
|
25
|
+
updateSequenceNumber: /\d+/
|
|
26
|
+
// eslint-disable-line no-useless-escape
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// src/jira/post-incident-review-history/index.ts
|
|
31
|
+
var JiraPostIncidentReviewHistoryAri = class _JiraPostIncidentReviewHistoryAri extends RegisteredAri {
|
|
32
|
+
constructor(opts) {
|
|
33
|
+
super(opts);
|
|
34
|
+
this._siteId = opts.cloudId || "", this._activationId = opts.resourceIdSegmentValues.activationId, this._postIncidentReviewId = opts.resourceIdSegmentValues.postIncidentReviewId, this._updateSequenceNumber = opts.resourceIdSegmentValues.updateSequenceNumber;
|
|
35
|
+
}
|
|
36
|
+
get siteId() {
|
|
37
|
+
return this._siteId;
|
|
38
|
+
}
|
|
39
|
+
get activationId() {
|
|
40
|
+
return this._activationId;
|
|
41
|
+
}
|
|
42
|
+
get postIncidentReviewId() {
|
|
43
|
+
return this._postIncidentReviewId;
|
|
44
|
+
}
|
|
45
|
+
get updateSequenceNumber() {
|
|
46
|
+
return this._updateSequenceNumber;
|
|
47
|
+
}
|
|
48
|
+
static create(opts) {
|
|
49
|
+
let derivedOpts = {
|
|
50
|
+
qualifier: jiraPostIncidentReviewHistoryAriStaticOpts.qualifier,
|
|
51
|
+
platformQualifier: jiraPostIncidentReviewHistoryAriStaticOpts.platformQualifier,
|
|
52
|
+
cloudId: opts.siteId,
|
|
53
|
+
resourceOwner: jiraPostIncidentReviewHistoryAriStaticOpts.resourceOwner,
|
|
54
|
+
resourceType: jiraPostIncidentReviewHistoryAriStaticOpts.resourceType,
|
|
55
|
+
resourceId: `activation/${opts.activationId}/${opts.postIncidentReviewId}/${opts.updateSequenceNumber}`,
|
|
56
|
+
resourceIdSegmentValues: {
|
|
57
|
+
activationId: opts.activationId,
|
|
58
|
+
postIncidentReviewId: opts.postIncidentReviewId,
|
|
59
|
+
updateSequenceNumber: opts.updateSequenceNumber
|
|
60
|
+
}
|
|
61
|
+
}, ariOpts = AriParser.fromOpts(derivedOpts, jiraPostIncidentReviewHistoryAriStaticOpts);
|
|
62
|
+
return new _JiraPostIncidentReviewHistoryAri(ariOpts);
|
|
63
|
+
}
|
|
64
|
+
static parse(maybeAri) {
|
|
65
|
+
let opts = AriParser.fromString(maybeAri, jiraPostIncidentReviewHistoryAriStaticOpts);
|
|
66
|
+
return new _JiraPostIncidentReviewHistoryAri(opts);
|
|
67
|
+
}
|
|
68
|
+
getVariables() {
|
|
69
|
+
return {
|
|
70
|
+
siteId: this.siteId,
|
|
71
|
+
activationId: this.activationId,
|
|
72
|
+
postIncidentReviewId: this.postIncidentReviewId,
|
|
73
|
+
updateSequenceNumber: this.updateSequenceNumber
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export {
|
|
79
|
+
JiraPostIncidentReviewHistoryAri
|
|
80
|
+
};
|