@transcend-io/cli 7.1.0 → 7.2.0
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/dist/bin/bash-complete.cjs +1 -1
- package/dist/bin/cli.cjs +1 -1
- package/dist/bin/deprecated-command.cjs +2 -2
- package/dist/{chunk-XGO26OIM.cjs → chunk-327HQXYV.cjs} +2 -2
- package/dist/{chunk-XGO26OIM.cjs.map → chunk-327HQXYV.cjs.map} +1 -1
- package/dist/{chunk-MS4WBSCZ.cjs → chunk-3G77IGKQ.cjs} +2 -2
- package/dist/{chunk-MS4WBSCZ.cjs.map → chunk-3G77IGKQ.cjs.map} +1 -1
- package/dist/{chunk-2YSOUNTB.cjs → chunk-5JXP3N7U.cjs} +4 -4
- package/dist/{chunk-2YSOUNTB.cjs.map → chunk-5JXP3N7U.cjs.map} +1 -1
- package/dist/{chunk-7EL5CRKO.cjs → chunk-74OAET6D.cjs} +2 -2
- package/dist/{chunk-7EL5CRKO.cjs.map → chunk-74OAET6D.cjs.map} +1 -1
- package/dist/{chunk-FHTJX3WX.cjs → chunk-AFYBKLWT.cjs} +2 -2
- package/dist/{chunk-FHTJX3WX.cjs.map → chunk-AFYBKLWT.cjs.map} +1 -1
- package/dist/{chunk-T7B5NTGF.cjs → chunk-EAJZX4TX.cjs} +2 -2
- package/dist/{chunk-T7B5NTGF.cjs.map → chunk-EAJZX4TX.cjs.map} +1 -1
- package/dist/{chunk-E2JQNQ2B.cjs → chunk-I4XVTF53.cjs} +2 -2
- package/dist/{chunk-E2JQNQ2B.cjs.map → chunk-I4XVTF53.cjs.map} +1 -1
- package/dist/{chunk-STKQW3E3.cjs → chunk-NNMCZMFJ.cjs} +2 -2
- package/dist/{chunk-STKQW3E3.cjs.map → chunk-NNMCZMFJ.cjs.map} +1 -1
- package/dist/{chunk-V73KHIHK.cjs → chunk-NW3O6OPS.cjs} +2 -2
- package/dist/{chunk-V73KHIHK.cjs.map → chunk-NW3O6OPS.cjs.map} +1 -1
- package/dist/{chunk-3G7BOKG7.cjs → chunk-PIJPXUK5.cjs} +3 -3
- package/dist/{chunk-3G7BOKG7.cjs.map → chunk-PIJPXUK5.cjs.map} +1 -1
- package/dist/chunk-R77JR6OQ.cjs +2919 -0
- package/dist/chunk-R77JR6OQ.cjs.map +1 -0
- package/dist/chunk-VIPFYWRR.cjs +2 -0
- package/dist/chunk-VIPFYWRR.cjs.map +1 -0
- package/dist/{chunk-BJ4WK322.cjs → chunk-VMGXBH6E.cjs} +19 -19
- package/dist/{chunk-BJ4WK322.cjs.map → chunk-VMGXBH6E.cjs.map} +1 -1
- package/dist/{chunk-22FUPUQJ.cjs → chunk-YK5YCHD6.cjs} +2 -2
- package/dist/{chunk-22FUPUQJ.cjs.map → chunk-YK5YCHD6.cjs.map} +1 -1
- package/dist/{chunk-DTYXOQNB.cjs → chunk-Z2PA2QDO.cjs} +2 -2
- package/dist/{chunk-DTYXOQNB.cjs.map → chunk-Z2PA2QDO.cjs.map} +1 -1
- package/dist/{impl-XR27ZBRD.cjs → impl-275S73PA.cjs} +2 -2
- package/dist/{impl-XR27ZBRD.cjs.map → impl-275S73PA.cjs.map} +1 -1
- package/dist/{impl-6OYCZRQ7.cjs → impl-2ZHRCHKL.cjs} +2 -2
- package/dist/{impl-6OYCZRQ7.cjs.map → impl-2ZHRCHKL.cjs.map} +1 -1
- package/dist/{impl-NWAHIHPW.cjs → impl-3HQ63RRZ.cjs} +2 -2
- package/dist/{impl-NWAHIHPW.cjs.map → impl-3HQ63RRZ.cjs.map} +1 -1
- package/dist/impl-3ON47TMW.cjs +2 -0
- package/dist/{impl-26KL2AQB.cjs.map → impl-3ON47TMW.cjs.map} +1 -1
- package/dist/{impl-UIIEKRVI.cjs → impl-42EGVNC4.cjs} +3 -3
- package/dist/{impl-UIIEKRVI.cjs.map → impl-42EGVNC4.cjs.map} +1 -1
- package/dist/{impl-DGWQ6Y7G.cjs → impl-57FO3PX7.cjs} +5 -5
- package/dist/{impl-DGWQ6Y7G.cjs.map → impl-57FO3PX7.cjs.map} +1 -1
- package/dist/{impl-7F2KZRW5.cjs → impl-5RAQCIIT.cjs} +2 -2
- package/dist/{impl-7F2KZRW5.cjs.map → impl-5RAQCIIT.cjs.map} +1 -1
- package/dist/{impl-ZZQT62Y5.cjs → impl-6ALA6KXM.cjs} +2 -2
- package/dist/{impl-ZZQT62Y5.cjs.map → impl-6ALA6KXM.cjs.map} +1 -1
- package/dist/{impl-GY5C6LR2.cjs → impl-6FMDP53G.cjs} +2 -2
- package/dist/{impl-GY5C6LR2.cjs.map → impl-6FMDP53G.cjs.map} +1 -1
- package/dist/{impl-NS5G5S3D.cjs → impl-7L5YW5CG.cjs} +2 -2
- package/dist/{impl-NS5G5S3D.cjs.map → impl-7L5YW5CG.cjs.map} +1 -1
- package/dist/{impl-P7MPXBR4.cjs → impl-B5GIP2VU.cjs} +2 -2
- package/dist/{impl-P7MPXBR4.cjs.map → impl-B5GIP2VU.cjs.map} +1 -1
- package/dist/{impl-LZCXSUYN.cjs → impl-BSJJNNCI.cjs} +2 -2
- package/dist/{impl-LZCXSUYN.cjs.map → impl-BSJJNNCI.cjs.map} +1 -1
- package/dist/{impl-GEU5O3ZJ.cjs → impl-C7VBO6EQ.cjs} +2 -2
- package/dist/{impl-GEU5O3ZJ.cjs.map → impl-C7VBO6EQ.cjs.map} +1 -1
- package/dist/impl-CNNTC625.cjs +2 -0
- package/dist/{impl-O3424TEB.cjs.map → impl-CNNTC625.cjs.map} +1 -1
- package/dist/{impl-RWUZ7AHK.cjs → impl-CSVPLCDE.cjs} +2 -2
- package/dist/{impl-RWUZ7AHK.cjs.map → impl-CSVPLCDE.cjs.map} +1 -1
- package/dist/{impl-PLMOOI5A.cjs → impl-EKGVCWVS.cjs} +4 -4
- package/dist/{impl-PLMOOI5A.cjs.map → impl-EKGVCWVS.cjs.map} +1 -1
- package/dist/{impl-ZBWYJB63.cjs → impl-EZEGBKX7.cjs} +2 -2
- package/dist/{impl-ZBWYJB63.cjs.map → impl-EZEGBKX7.cjs.map} +1 -1
- package/dist/{impl-C7MMMEGG.cjs → impl-FPDL23FO.cjs} +2 -2
- package/dist/{impl-C7MMMEGG.cjs.map → impl-FPDL23FO.cjs.map} +1 -1
- package/dist/{impl-RXMW5OPR.cjs → impl-HI3ZAAZJ.cjs} +6 -6
- package/dist/{impl-RXMW5OPR.cjs.map → impl-HI3ZAAZJ.cjs.map} +1 -1
- package/dist/{impl-HPYFSR3X.cjs → impl-HKEYENUI.cjs} +2 -2
- package/dist/{impl-HPYFSR3X.cjs.map → impl-HKEYENUI.cjs.map} +1 -1
- package/dist/{impl-N2M4B3CD.cjs → impl-IZ6KZF27.cjs} +2 -2
- package/dist/{impl-N2M4B3CD.cjs.map → impl-IZ6KZF27.cjs.map} +1 -1
- package/dist/{impl-6DGHS6VJ.cjs → impl-JDJ4CQXV.cjs} +2 -2
- package/dist/{impl-6DGHS6VJ.cjs.map → impl-JDJ4CQXV.cjs.map} +1 -1
- package/dist/{impl-IEKOU55S.cjs → impl-JKSZNCWA.cjs} +2 -2
- package/dist/{impl-IEKOU55S.cjs.map → impl-JKSZNCWA.cjs.map} +1 -1
- package/dist/{impl-RIPB6B26.cjs → impl-MEK2DTKK.cjs} +2 -2
- package/dist/{impl-RIPB6B26.cjs.map → impl-MEK2DTKK.cjs.map} +1 -1
- package/dist/{impl-RLFZCZTL.cjs → impl-NL7N7YF4.cjs} +2 -2
- package/dist/{impl-RLFZCZTL.cjs.map → impl-NL7N7YF4.cjs.map} +1 -1
- package/dist/{impl-NCEXVWU3.cjs → impl-OBAYFQ23.cjs} +2 -2
- package/dist/{impl-NCEXVWU3.cjs.map → impl-OBAYFQ23.cjs.map} +1 -1
- package/dist/{impl-4DVNH34T.cjs → impl-OJ5LZMML.cjs} +2 -2
- package/dist/{impl-4DVNH34T.cjs.map → impl-OJ5LZMML.cjs.map} +1 -1
- package/dist/{impl-Q5SIRPYG.cjs → impl-OKB3HF7H.cjs} +2 -2
- package/dist/{impl-Q5SIRPYG.cjs.map → impl-OKB3HF7H.cjs.map} +1 -1
- package/dist/{impl-6N7KEKKE.cjs → impl-OOKYV6NI.cjs} +3 -3
- package/dist/{impl-6N7KEKKE.cjs.map → impl-OOKYV6NI.cjs.map} +1 -1
- package/dist/{impl-2CQCTBD2.cjs → impl-P77UGVDU.cjs} +2 -2
- package/dist/{impl-2CQCTBD2.cjs.map → impl-P77UGVDU.cjs.map} +1 -1
- package/dist/{impl-Y57JWHDO.cjs → impl-PJF6PVKZ.cjs} +2 -2
- package/dist/{impl-Y57JWHDO.cjs.map → impl-PJF6PVKZ.cjs.map} +1 -1
- package/dist/{impl-A624VO2M.cjs → impl-RTDKCEU3.cjs} +2 -2
- package/dist/{impl-A624VO2M.cjs.map → impl-RTDKCEU3.cjs.map} +1 -1
- package/dist/impl-S7SJFITO.cjs +2 -0
- package/dist/{impl-WD6I2IMR.cjs.map → impl-S7SJFITO.cjs.map} +1 -1
- package/dist/{impl-GRHNMCGI.cjs → impl-V3TJ5WS2.cjs} +2 -2
- package/dist/{impl-GRHNMCGI.cjs.map → impl-V3TJ5WS2.cjs.map} +1 -1
- package/dist/{impl-YU5XVOPI.cjs → impl-VOTMQS3M.cjs} +2 -2
- package/dist/{impl-YU5XVOPI.cjs.map → impl-VOTMQS3M.cjs.map} +1 -1
- package/dist/{impl-7NGG2UXP.cjs → impl-WMJ7ZSI2.cjs} +2 -2
- package/dist/{impl-7NGG2UXP.cjs.map → impl-WMJ7ZSI2.cjs.map} +1 -1
- package/dist/{impl-NDDSMUX6.cjs → impl-Y2UFIDZG.cjs} +2 -2
- package/dist/{impl-NDDSMUX6.cjs.map → impl-Y2UFIDZG.cjs.map} +1 -1
- package/dist/impl-ZP5ZWANC.cjs +2 -0
- package/dist/{impl-Y6OUBKKA.cjs.map → impl-ZP5ZWANC.cjs.map} +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3072 -3061
- package/package.json +1 -1
- package/dist/chunk-4VUILSBX.cjs +0 -2900
- package/dist/chunk-4VUILSBX.cjs.map +0 -1
- package/dist/chunk-HVTVWP7K.cjs +0 -2
- package/dist/chunk-HVTVWP7K.cjs.map +0 -1
- package/dist/impl-26KL2AQB.cjs +0 -2
- package/dist/impl-O3424TEB.cjs +0 -2
- package/dist/impl-WD6I2IMR.cjs +0 -2
- package/dist/impl-Y6OUBKKA.cjs +0 -2
package/dist/chunk-4VUILSBX.cjs
DELETED
|
@@ -1,2900 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var _chunkZUNVPK23cjs = require('./chunk-ZUNVPK23.cjs');var _chunkT7B5NTGFcjs = require('./chunk-T7B5NTGF.cjs');async function T(t,e){let n=[];for(let r=0;r<t.length;r+=1)n.push(await e(t[r],r,t.length));return n}async function Q(t,e,n={}){let{concurrency:r=1/0}=n,i=new Array(t.length),s=[],o=0,l=async()=>{if(o>=t.length)return;let d=o;o+=1;let m=e(t[d],d,t.length).then(h=>{i[d]=h});s.push(m),await m;let g=s.indexOf(m);g>-1&&s.splice(g,1)},u=Math.min(r,t.length),c=[];for(let d=0;d<u;d+=1)c.push(l());for(await Promise.all(c);o<t.length;)s.length<r?await l():await Promise.race(s);return await Promise.all(s),i}var _graphqlrequest = require('graphql-request');var Si=_graphqlrequest.gql`
|
|
2
|
-
query TranscendCliDataPoints(
|
|
3
|
-
$filterBy: DataPointFiltersInput
|
|
4
|
-
$first: Int!
|
|
5
|
-
$offset: Int!
|
|
6
|
-
) {
|
|
7
|
-
dataPoints(
|
|
8
|
-
filterBy: $filterBy
|
|
9
|
-
first: $first
|
|
10
|
-
offset: $offset
|
|
11
|
-
useMaster: false
|
|
12
|
-
orderBy: [
|
|
13
|
-
{ field: createdAt, direction: ASC }
|
|
14
|
-
{ field: name, direction: ASC }
|
|
15
|
-
]
|
|
16
|
-
) {
|
|
17
|
-
nodes {
|
|
18
|
-
id
|
|
19
|
-
title {
|
|
20
|
-
defaultMessage
|
|
21
|
-
}
|
|
22
|
-
description {
|
|
23
|
-
defaultMessage
|
|
24
|
-
}
|
|
25
|
-
owners {
|
|
26
|
-
email
|
|
27
|
-
}
|
|
28
|
-
teams {
|
|
29
|
-
name
|
|
30
|
-
}
|
|
31
|
-
name
|
|
32
|
-
path
|
|
33
|
-
actionSettings {
|
|
34
|
-
type
|
|
35
|
-
active
|
|
36
|
-
}
|
|
37
|
-
dataCollection {
|
|
38
|
-
title {
|
|
39
|
-
defaultMessage
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
dbIntegrationQueries {
|
|
43
|
-
query
|
|
44
|
-
suggestedQuery
|
|
45
|
-
requestType
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
`,Ql= exports.d =_graphqlrequest.gql`
|
|
51
|
-
query TranscendCliDataPointCount($filterBy: DataPointFiltersInput) {
|
|
52
|
-
dataPoints(filterBy: $filterBy, useMaster: false) {
|
|
53
|
-
totalCount
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
`,Ei= exports.e =_graphqlrequest.gql`
|
|
57
|
-
query TranscendCliSubDataPoints(
|
|
58
|
-
$filterBy: SubDataPointFiltersInput
|
|
59
|
-
$first: Int!
|
|
60
|
-
$offset: Int!
|
|
61
|
-
) {
|
|
62
|
-
subDataPoints(
|
|
63
|
-
filterBy: $filterBy
|
|
64
|
-
first: $first
|
|
65
|
-
offset: $offset
|
|
66
|
-
useMaster: false
|
|
67
|
-
) {
|
|
68
|
-
nodes {
|
|
69
|
-
id
|
|
70
|
-
name
|
|
71
|
-
description
|
|
72
|
-
purposes {
|
|
73
|
-
name
|
|
74
|
-
purpose
|
|
75
|
-
}
|
|
76
|
-
categories {
|
|
77
|
-
name
|
|
78
|
-
category
|
|
79
|
-
}
|
|
80
|
-
accessRequestVisibilityEnabled
|
|
81
|
-
erasureRequestRedactionEnabled
|
|
82
|
-
attributeValues {
|
|
83
|
-
attributeKey {
|
|
84
|
-
name
|
|
85
|
-
}
|
|
86
|
-
name
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
`,Bl= exports.f =_graphqlrequest.gql`
|
|
92
|
-
query TranscendCliSubDataPointsCount($filterBy: SubDataPointFiltersInput) {
|
|
93
|
-
subDataPoints(filterBy: $filterBy, useMaster: false) {
|
|
94
|
-
totalCount
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
`,Ri= exports.g =_graphqlrequest.gql`
|
|
98
|
-
query TranscendCliSubDataPointGuesses(
|
|
99
|
-
$filterBy: SubDataPointFiltersInput
|
|
100
|
-
$first: Int!
|
|
101
|
-
$offset: Int!
|
|
102
|
-
) {
|
|
103
|
-
subDataPoints(
|
|
104
|
-
filterBy: $filterBy
|
|
105
|
-
first: $first
|
|
106
|
-
offset: $offset
|
|
107
|
-
useMaster: false
|
|
108
|
-
) {
|
|
109
|
-
nodes {
|
|
110
|
-
id
|
|
111
|
-
name
|
|
112
|
-
description
|
|
113
|
-
purposes {
|
|
114
|
-
name
|
|
115
|
-
purpose
|
|
116
|
-
}
|
|
117
|
-
categories {
|
|
118
|
-
name
|
|
119
|
-
category
|
|
120
|
-
}
|
|
121
|
-
pendingCategoryGuesses {
|
|
122
|
-
category {
|
|
123
|
-
name
|
|
124
|
-
category
|
|
125
|
-
}
|
|
126
|
-
status
|
|
127
|
-
confidence
|
|
128
|
-
classifierVersion
|
|
129
|
-
}
|
|
130
|
-
accessRequestVisibilityEnabled
|
|
131
|
-
erasureRequestRedactionEnabled
|
|
132
|
-
attributeValues {
|
|
133
|
-
attributeKey {
|
|
134
|
-
name
|
|
135
|
-
}
|
|
136
|
-
name
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
`,wi= exports.h =_graphqlrequest.gql`
|
|
142
|
-
mutation TranscendCliUpdateOrCreateDataPoint(
|
|
143
|
-
$dataSiloId: ID!
|
|
144
|
-
$name: String!
|
|
145
|
-
$path: [String!]
|
|
146
|
-
$title: String
|
|
147
|
-
$description: String
|
|
148
|
-
$ownerIds: [ID!]
|
|
149
|
-
$ownerEmails: [String!]
|
|
150
|
-
$teamNames: [String!]
|
|
151
|
-
$teamIds: [ID!]
|
|
152
|
-
$dataCollectionTag: String
|
|
153
|
-
$querySuggestions: [DbIntegrationQuerySuggestionInput!]
|
|
154
|
-
$enabledActions: [RequestActionObjectResolver!]
|
|
155
|
-
$subDataPoints: [DataPointSubDataPointInput!]
|
|
156
|
-
) {
|
|
157
|
-
updateOrCreateDataPoint(
|
|
158
|
-
input: {
|
|
159
|
-
dataSiloId: $dataSiloId
|
|
160
|
-
name: $name
|
|
161
|
-
path: $path
|
|
162
|
-
title: $title
|
|
163
|
-
teamNames: $teamNames
|
|
164
|
-
ownerEmails: $ownerEmails
|
|
165
|
-
dataCollectionTag: $dataCollectionTag
|
|
166
|
-
description: $description
|
|
167
|
-
ownerIds: $ownerIds
|
|
168
|
-
teamIds: $teamIds
|
|
169
|
-
querySuggestions: $querySuggestions
|
|
170
|
-
enabledActions: $enabledActions
|
|
171
|
-
subDataPoints: $subDataPoints
|
|
172
|
-
}
|
|
173
|
-
) {
|
|
174
|
-
dataPoint {
|
|
175
|
-
id
|
|
176
|
-
name
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
`,Kl= exports.i =_graphqlrequest.gql`
|
|
181
|
-
query TranscendCliDataPointCsvExport(
|
|
182
|
-
$filterBy: DataPointFiltersInput
|
|
183
|
-
$first: Int!
|
|
184
|
-
) {
|
|
185
|
-
dataPoints(filterBy: $filterBy, first: $first, useMaster: false) {
|
|
186
|
-
nodes {
|
|
187
|
-
id
|
|
188
|
-
title {
|
|
189
|
-
defaultMessage
|
|
190
|
-
}
|
|
191
|
-
description {
|
|
192
|
-
defaultMessage
|
|
193
|
-
}
|
|
194
|
-
owners {
|
|
195
|
-
email
|
|
196
|
-
}
|
|
197
|
-
teams {
|
|
198
|
-
name
|
|
199
|
-
}
|
|
200
|
-
name
|
|
201
|
-
path
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
`;var Yl=_graphqlrequest.gql`
|
|
206
|
-
query TranscendCliEntryCount(
|
|
207
|
-
$filterBy: UnstructuredSubDataPointRecommendationsFilterInput
|
|
208
|
-
) {
|
|
209
|
-
unstructuredSubDataPointRecommendations(
|
|
210
|
-
filterBy: $filterBy
|
|
211
|
-
useMaster: false
|
|
212
|
-
) {
|
|
213
|
-
totalCount
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
`;var $i=_graphqlrequest.gql`
|
|
217
|
-
query TranscendCliDataSilos(
|
|
218
|
-
$filterBy: DataSiloFiltersInput!
|
|
219
|
-
$first: Int!
|
|
220
|
-
$offset: Int!
|
|
221
|
-
) {
|
|
222
|
-
dataSilos(
|
|
223
|
-
filterBy: $filterBy
|
|
224
|
-
first: $first
|
|
225
|
-
offset: $offset
|
|
226
|
-
orderBy: [
|
|
227
|
-
{ field: createdAt, direction: ASC }
|
|
228
|
-
{ field: title, direction: ASC }
|
|
229
|
-
]
|
|
230
|
-
useMaster: false
|
|
231
|
-
) {
|
|
232
|
-
nodes {
|
|
233
|
-
id
|
|
234
|
-
title
|
|
235
|
-
link
|
|
236
|
-
type
|
|
237
|
-
catalog {
|
|
238
|
-
hasAvcFunctionality
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
}
|
|
243
|
-
`,Wl= exports.l =_graphqlrequest.gql`
|
|
244
|
-
query TranscendCliDataSiloExport(
|
|
245
|
-
$filterBy: DataSiloFiltersInput!
|
|
246
|
-
$first: Int!
|
|
247
|
-
) {
|
|
248
|
-
dataSilos(filterBy: $filterBy, first: $first, useMaster: false) {
|
|
249
|
-
nodes {
|
|
250
|
-
id
|
|
251
|
-
title
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
`,bi= exports.m =_graphqlrequest.gql`
|
|
256
|
-
query TranscendCliDataSilosEnriched(
|
|
257
|
-
$filterBy: DataSiloFiltersInput!
|
|
258
|
-
$first: Int!
|
|
259
|
-
$offset: Int!
|
|
260
|
-
) {
|
|
261
|
-
dataSilos(
|
|
262
|
-
filterBy: $filterBy
|
|
263
|
-
first: $first
|
|
264
|
-
offset: $offset
|
|
265
|
-
orderBy: [
|
|
266
|
-
{ field: createdAt, direction: ASC }
|
|
267
|
-
{ field: title, direction: ASC }
|
|
268
|
-
]
|
|
269
|
-
useMaster: false
|
|
270
|
-
) {
|
|
271
|
-
nodes {
|
|
272
|
-
id
|
|
273
|
-
title
|
|
274
|
-
description
|
|
275
|
-
type
|
|
276
|
-
outerType
|
|
277
|
-
link
|
|
278
|
-
country
|
|
279
|
-
countrySubDivision
|
|
280
|
-
url
|
|
281
|
-
notifyEmailAddress
|
|
282
|
-
attributeValues {
|
|
283
|
-
attributeKey {
|
|
284
|
-
name
|
|
285
|
-
}
|
|
286
|
-
name
|
|
287
|
-
}
|
|
288
|
-
apiKeys {
|
|
289
|
-
title
|
|
290
|
-
}
|
|
291
|
-
subjectBlocklist {
|
|
292
|
-
type
|
|
293
|
-
}
|
|
294
|
-
identifiers {
|
|
295
|
-
name
|
|
296
|
-
isConnected
|
|
297
|
-
}
|
|
298
|
-
dependentDataSilos {
|
|
299
|
-
title
|
|
300
|
-
}
|
|
301
|
-
owners {
|
|
302
|
-
email
|
|
303
|
-
}
|
|
304
|
-
teams {
|
|
305
|
-
id
|
|
306
|
-
name
|
|
307
|
-
}
|
|
308
|
-
catalog {
|
|
309
|
-
hasAvcFunctionality
|
|
310
|
-
}
|
|
311
|
-
isLive
|
|
312
|
-
promptAVendorEmailSendFrequency
|
|
313
|
-
promptAVendorEmailSendType
|
|
314
|
-
promptAVendorEmailIncludeIdentifiersAttachment
|
|
315
|
-
promptAVendorEmailCompletionLinkType
|
|
316
|
-
manualWorkRetryFrequency
|
|
317
|
-
discoveredBy {
|
|
318
|
-
title
|
|
319
|
-
}
|
|
320
|
-
businessEntities {
|
|
321
|
-
title
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
`,en= exports.n =_graphqlrequest.gql`
|
|
327
|
-
mutation TranscendCliUpdateDataSilo($input: UpdateDataSilosInput!) {
|
|
328
|
-
updateDataSilos(input: $input) {
|
|
329
|
-
clientMutationId
|
|
330
|
-
dataSilos {
|
|
331
|
-
id
|
|
332
|
-
title
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
`,xi= exports.o =_graphqlrequest.gql`
|
|
337
|
-
mutation TranscendCliCreateDataSilo($input: [CreateDataSilosInput!]!) {
|
|
338
|
-
createDataSilos(input: $input) {
|
|
339
|
-
dataSilos {
|
|
340
|
-
id
|
|
341
|
-
title
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
`;var Di=_graphqlrequest.gql`
|
|
346
|
-
query TranscendCliEnrichers($title: String, $first: Int!, $offset: Int!) {
|
|
347
|
-
enrichers(
|
|
348
|
-
filterBy: { text: $title }
|
|
349
|
-
first: $first
|
|
350
|
-
offset: $offset
|
|
351
|
-
useMaster: false
|
|
352
|
-
orderBy: [
|
|
353
|
-
{ field: createdAt, direction: ASC }
|
|
354
|
-
{ field: title, direction: ASC }
|
|
355
|
-
]
|
|
356
|
-
) {
|
|
357
|
-
nodes {
|
|
358
|
-
id
|
|
359
|
-
title
|
|
360
|
-
url
|
|
361
|
-
type
|
|
362
|
-
expirationDuration
|
|
363
|
-
lookerQueryTitle
|
|
364
|
-
testRegex
|
|
365
|
-
transitionRequestStatus
|
|
366
|
-
phoneNumbers
|
|
367
|
-
regionList
|
|
368
|
-
inputIdentifier {
|
|
369
|
-
name
|
|
370
|
-
}
|
|
371
|
-
identifiers {
|
|
372
|
-
name
|
|
373
|
-
}
|
|
374
|
-
dataSubjects {
|
|
375
|
-
type
|
|
376
|
-
}
|
|
377
|
-
actions
|
|
378
|
-
}
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
`,Xl= exports.q =_graphqlrequest.gql`
|
|
382
|
-
query TranscendCliInitializer {
|
|
383
|
-
initializer {
|
|
384
|
-
id
|
|
385
|
-
identifiers {
|
|
386
|
-
name
|
|
387
|
-
}
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
`,Li= exports.r =_graphqlrequest.gql`
|
|
391
|
-
mutation TranscendCliCreateEnricher($input: EnricherInput!) {
|
|
392
|
-
createEnricher(input: $input) {
|
|
393
|
-
clientMutationId
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
`,ki= exports.s =_graphqlrequest.gql`
|
|
397
|
-
mutation TranscendCliUpdateEnricher($input: UpdateEnricherInput!) {
|
|
398
|
-
updateEnricher(input: $input) {
|
|
399
|
-
clientMutationId
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
`;var _i=_graphqlrequest.gql`
|
|
403
|
-
query TranscendCliCatalogs($first: Int!, $offset: Int!) {
|
|
404
|
-
catalogs(first: $first, offset: $offset, filterBy: {}, useMaster: false) {
|
|
405
|
-
nodes {
|
|
406
|
-
integrationName
|
|
407
|
-
title
|
|
408
|
-
hasApiFunctionality
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
`;var Gi=_graphqlrequest.gql`
|
|
413
|
-
query TranscendCliIdentifiers($first: Int!, $offset: Int!) {
|
|
414
|
-
identifiers(
|
|
415
|
-
first: $first
|
|
416
|
-
offset: $offset
|
|
417
|
-
useMaster: false
|
|
418
|
-
orderBy: [
|
|
419
|
-
{ field: createdAt, direction: ASC }
|
|
420
|
-
{ field: name, direction: ASC }
|
|
421
|
-
]
|
|
422
|
-
) {
|
|
423
|
-
nodes {
|
|
424
|
-
id
|
|
425
|
-
name
|
|
426
|
-
type
|
|
427
|
-
regex
|
|
428
|
-
selectOptions
|
|
429
|
-
privacyCenterVisibility
|
|
430
|
-
dataSubjects {
|
|
431
|
-
type
|
|
432
|
-
}
|
|
433
|
-
isRequiredInForm
|
|
434
|
-
placeholder
|
|
435
|
-
displayTitle {
|
|
436
|
-
defaultMessage
|
|
437
|
-
}
|
|
438
|
-
displayDescription {
|
|
439
|
-
defaultMessage
|
|
440
|
-
}
|
|
441
|
-
displayOrder
|
|
442
|
-
}
|
|
443
|
-
}
|
|
444
|
-
}
|
|
445
|
-
`,vi= exports.v =_graphqlrequest.gql`
|
|
446
|
-
query TranscendCliNewIdentifierTypes {
|
|
447
|
-
newIdentifierTypes {
|
|
448
|
-
name
|
|
449
|
-
}
|
|
450
|
-
}
|
|
451
|
-
`,qi= exports.w =_graphqlrequest.gql`
|
|
452
|
-
mutation TranscendCliCreateIdentifier($input: IdentifierInput!) {
|
|
453
|
-
createIdentifier(input: $input) {
|
|
454
|
-
identifier {
|
|
455
|
-
id
|
|
456
|
-
name
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
}
|
|
460
|
-
`,Oi= exports.x =_graphqlrequest.gql`
|
|
461
|
-
mutation TranscendCliUpdateIdentifier($input: UpdateIdentifierInput!) {
|
|
462
|
-
updateIdentifier(input: $input) {
|
|
463
|
-
clientMutationId
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
`;var Ni=_graphqlrequest.gql`
|
|
467
|
-
query TranscendCliDataSubjects {
|
|
468
|
-
internalSubjects {
|
|
469
|
-
id
|
|
470
|
-
title {
|
|
471
|
-
defaultMessage
|
|
472
|
-
}
|
|
473
|
-
active
|
|
474
|
-
type
|
|
475
|
-
adminDashboardDefaultSilentMode
|
|
476
|
-
actions {
|
|
477
|
-
type
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
`,Mi= exports.z =_graphqlrequest.gql`
|
|
482
|
-
mutation TranscendCliCreateDataSubject($type: String!) {
|
|
483
|
-
createSubject(input: { type: $type, title: $type, subjectClass: OTHER }) {
|
|
484
|
-
subject {
|
|
485
|
-
id
|
|
486
|
-
type
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
`,Ui= exports.A =_graphqlrequest.gql`
|
|
491
|
-
mutation TranscendCliUpdateDataSubject($input: UpdateSubjectInput!) {
|
|
492
|
-
updateSubject(input: $input) {
|
|
493
|
-
clientMutationId
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
`,Fi= exports.B =_graphqlrequest.gql`
|
|
497
|
-
mutation TranscendCliToggleDataSubject($input: ToggleSubjectInput!) {
|
|
498
|
-
toggleSubject(input: $input) {
|
|
499
|
-
clientMutationId
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
`;var Qi=_graphqlrequest.gql`
|
|
503
|
-
query TranscendCliRepositories(
|
|
504
|
-
$first: Int!
|
|
505
|
-
$offset: Int!
|
|
506
|
-
$input: RepositoryFiltersInput
|
|
507
|
-
) {
|
|
508
|
-
repositories(
|
|
509
|
-
first: $first
|
|
510
|
-
offset: $offset
|
|
511
|
-
filterBy: $input
|
|
512
|
-
orderBy: [
|
|
513
|
-
{ field: createdAt, direction: ASC }
|
|
514
|
-
{ field: name, direction: ASC }
|
|
515
|
-
]
|
|
516
|
-
) {
|
|
517
|
-
nodes {
|
|
518
|
-
id
|
|
519
|
-
name
|
|
520
|
-
description
|
|
521
|
-
url
|
|
522
|
-
teams {
|
|
523
|
-
id
|
|
524
|
-
name
|
|
525
|
-
}
|
|
526
|
-
owners {
|
|
527
|
-
id
|
|
528
|
-
email
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
`,Bi= exports.D =_graphqlrequest.gql`
|
|
534
|
-
mutation TranscendCliUpdateRepositories($input: UpdateRepositoriesInput!) {
|
|
535
|
-
updateRepositories(input: $input) {
|
|
536
|
-
clientMutationId
|
|
537
|
-
repositories {
|
|
538
|
-
id
|
|
539
|
-
name
|
|
540
|
-
url
|
|
541
|
-
teams {
|
|
542
|
-
id
|
|
543
|
-
name
|
|
544
|
-
}
|
|
545
|
-
owners {
|
|
546
|
-
id
|
|
547
|
-
email
|
|
548
|
-
}
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
}
|
|
552
|
-
`,Ki= exports.E =_graphqlrequest.gql`
|
|
553
|
-
mutation TranscendCliCreateRepository($input: CreateRepositoryInput!) {
|
|
554
|
-
createRepository(input: $input) {
|
|
555
|
-
clientMutationId
|
|
556
|
-
repository {
|
|
557
|
-
id
|
|
558
|
-
name
|
|
559
|
-
url
|
|
560
|
-
teams {
|
|
561
|
-
id
|
|
562
|
-
name
|
|
563
|
-
}
|
|
564
|
-
owners {
|
|
565
|
-
id
|
|
566
|
-
email
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
`;var Vi=_graphqlrequest.gql`
|
|
572
|
-
query TranscendCliApiKeys($first: Int!, $offset: Int!, $titles: [String!]) {
|
|
573
|
-
apiKeys(
|
|
574
|
-
first: $first
|
|
575
|
-
offset: $offset
|
|
576
|
-
filterBy: { titles: $titles }
|
|
577
|
-
useMaster: false
|
|
578
|
-
orderBy: [
|
|
579
|
-
{ field: createdAt, direction: ASC }
|
|
580
|
-
{ field: title, direction: ASC }
|
|
581
|
-
]
|
|
582
|
-
) {
|
|
583
|
-
nodes {
|
|
584
|
-
id
|
|
585
|
-
title
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
`,ji= exports.G =_graphqlrequest.gql`
|
|
590
|
-
mutation TranscendCliCreateApiKey($input: ApiKeyInput!) {
|
|
591
|
-
createApiKey(input: $input) {
|
|
592
|
-
apiKey {
|
|
593
|
-
id
|
|
594
|
-
apiKey
|
|
595
|
-
title
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
`,Yi= exports.H =_graphqlrequest.gql`
|
|
600
|
-
mutation TranscendCliDeleteApiKey($id: ID!) {
|
|
601
|
-
deleteApiKey(id: $id) {
|
|
602
|
-
clientMutationId
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
`;var Hi=_graphqlrequest.gql`
|
|
606
|
-
mutation AddSiloDiscoveryResults(
|
|
607
|
-
$pluginId: ID!
|
|
608
|
-
$rawResults: [SiloDiscoveryRawResultInput!]!
|
|
609
|
-
) {
|
|
610
|
-
addSiloDiscoveryResults(
|
|
611
|
-
input: { pluginId: $pluginId, rawResults: $rawResults }
|
|
612
|
-
) {
|
|
613
|
-
success
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
`,Wi= exports.J =_graphqlrequest.gql`
|
|
617
|
-
query Plugins($dataSiloId: String!, $type: PluginType!) {
|
|
618
|
-
plugins(filterBy: { dataSiloId: $dataSiloId, type: $type, enabled: true }) {
|
|
619
|
-
plugins {
|
|
620
|
-
id
|
|
621
|
-
dataSilo {
|
|
622
|
-
type
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
totalCount
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
`;var Ji=_graphqlrequest.gql`
|
|
629
|
-
query TranscendCliTemplates($title: String, $first: Int!, $offset: Int!) {
|
|
630
|
-
templates(
|
|
631
|
-
filterBy: { text: $title }
|
|
632
|
-
first: $first
|
|
633
|
-
offset: $offset
|
|
634
|
-
useMaster: false
|
|
635
|
-
) {
|
|
636
|
-
nodes {
|
|
637
|
-
id
|
|
638
|
-
title
|
|
639
|
-
subject {
|
|
640
|
-
defaultMessage
|
|
641
|
-
}
|
|
642
|
-
template {
|
|
643
|
-
defaultMessage
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
`,Xi= exports.L =_graphqlrequest.gql`
|
|
649
|
-
mutation TranscendCliCreateTemplate($title: String!) {
|
|
650
|
-
createTemplate(input: { title: $title, template: "", subject: $title }) {
|
|
651
|
-
clientMutationId
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
`;var er=_graphqlrequest.gql`
|
|
655
|
-
query TranscendCliOrganization {
|
|
656
|
-
organization {
|
|
657
|
-
sombra {
|
|
658
|
-
customerUrl
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
`;var tr=_graphqlrequest.gql`
|
|
663
|
-
query TranscendCliAttributeKeys($first: Int!, $offset: Int!) {
|
|
664
|
-
attributeKeys(
|
|
665
|
-
filterBy: { enabledOn: [request] }
|
|
666
|
-
first: $first
|
|
667
|
-
useMaster: false
|
|
668
|
-
offset: $offset
|
|
669
|
-
) {
|
|
670
|
-
nodes {
|
|
671
|
-
id
|
|
672
|
-
name
|
|
673
|
-
type
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
`;var nr=_graphqlrequest.gql`
|
|
678
|
-
query TranscendCliSoftwareDevelopmentKits(
|
|
679
|
-
$first: Int!
|
|
680
|
-
$offset: Int!
|
|
681
|
-
$input: SoftwareDevelopmentKitFiltersInput
|
|
682
|
-
) {
|
|
683
|
-
softwareDevelopmentKits(
|
|
684
|
-
first: $first
|
|
685
|
-
offset: $offset
|
|
686
|
-
filterBy: $input
|
|
687
|
-
orderBy: [
|
|
688
|
-
{ field: createdAt, direction: ASC }
|
|
689
|
-
{ field: name, direction: ASC }
|
|
690
|
-
]
|
|
691
|
-
) {
|
|
692
|
-
nodes {
|
|
693
|
-
id
|
|
694
|
-
name
|
|
695
|
-
description
|
|
696
|
-
codePackageType
|
|
697
|
-
documentationLinks
|
|
698
|
-
repositoryUrl
|
|
699
|
-
teams {
|
|
700
|
-
id
|
|
701
|
-
name
|
|
702
|
-
}
|
|
703
|
-
owners {
|
|
704
|
-
id
|
|
705
|
-
email
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
`,ir= exports.P =_graphqlrequest.gql`
|
|
711
|
-
mutation TranscendCliUpdateSoftwareDevelopmentKits(
|
|
712
|
-
$input: UpdateSoftwareDevelopmentKitsInput!
|
|
713
|
-
) {
|
|
714
|
-
updateSoftwareDevelopmentKits(input: $input) {
|
|
715
|
-
clientMutationId
|
|
716
|
-
softwareDevelopmentKits {
|
|
717
|
-
id
|
|
718
|
-
name
|
|
719
|
-
description
|
|
720
|
-
codePackageType
|
|
721
|
-
documentationLinks
|
|
722
|
-
repositoryUrl
|
|
723
|
-
teams {
|
|
724
|
-
id
|
|
725
|
-
name
|
|
726
|
-
}
|
|
727
|
-
owners {
|
|
728
|
-
id
|
|
729
|
-
email
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
`,rr= exports.Q =_graphqlrequest.gql`
|
|
735
|
-
mutation TranscendCliCreateSoftwareDevelopmentKit(
|
|
736
|
-
$input: CreateSoftwareDevelopmentKitInput!
|
|
737
|
-
) {
|
|
738
|
-
createSoftwareDevelopmentKit(input: $input) {
|
|
739
|
-
clientMutationId
|
|
740
|
-
softwareDevelopmentKit {
|
|
741
|
-
id
|
|
742
|
-
name
|
|
743
|
-
description
|
|
744
|
-
codePackageType
|
|
745
|
-
documentationLinks
|
|
746
|
-
repositoryUrl
|
|
747
|
-
teams {
|
|
748
|
-
id
|
|
749
|
-
name
|
|
750
|
-
}
|
|
751
|
-
owners {
|
|
752
|
-
id
|
|
753
|
-
email
|
|
754
|
-
}
|
|
755
|
-
}
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
`;var or=_graphqlrequest.gql`
|
|
759
|
-
query TranscendCliCodePackages(
|
|
760
|
-
$first: Int!
|
|
761
|
-
$offset: Int!
|
|
762
|
-
$input: CodePackageFiltersInput
|
|
763
|
-
) {
|
|
764
|
-
codePackages(
|
|
765
|
-
first: $first
|
|
766
|
-
offset: $offset
|
|
767
|
-
filterBy: $input
|
|
768
|
-
orderBy: [
|
|
769
|
-
{ field: createdAt, direction: ASC }
|
|
770
|
-
{ field: name, direction: ASC }
|
|
771
|
-
]
|
|
772
|
-
) {
|
|
773
|
-
nodes {
|
|
774
|
-
id
|
|
775
|
-
name
|
|
776
|
-
description
|
|
777
|
-
type
|
|
778
|
-
relativePath
|
|
779
|
-
teams {
|
|
780
|
-
id
|
|
781
|
-
name
|
|
782
|
-
}
|
|
783
|
-
owners {
|
|
784
|
-
id
|
|
785
|
-
email
|
|
786
|
-
}
|
|
787
|
-
repository {
|
|
788
|
-
id
|
|
789
|
-
name
|
|
790
|
-
}
|
|
791
|
-
dataSilo {
|
|
792
|
-
id
|
|
793
|
-
title
|
|
794
|
-
type
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
}
|
|
799
|
-
`,sr= exports.S =_graphqlrequest.gql`
|
|
800
|
-
mutation TranscendCliUpdateCodePackages($input: UpdateCodePackagesInput!) {
|
|
801
|
-
updateCodePackages(input: $input) {
|
|
802
|
-
clientMutationId
|
|
803
|
-
codePackages {
|
|
804
|
-
id
|
|
805
|
-
name
|
|
806
|
-
description
|
|
807
|
-
type
|
|
808
|
-
relativePath
|
|
809
|
-
teams {
|
|
810
|
-
id
|
|
811
|
-
name
|
|
812
|
-
}
|
|
813
|
-
owners {
|
|
814
|
-
id
|
|
815
|
-
email
|
|
816
|
-
}
|
|
817
|
-
repository {
|
|
818
|
-
id
|
|
819
|
-
name
|
|
820
|
-
}
|
|
821
|
-
dataSilo {
|
|
822
|
-
id
|
|
823
|
-
title
|
|
824
|
-
type
|
|
825
|
-
}
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
`,ar= exports.T =_graphqlrequest.gql`
|
|
830
|
-
mutation TranscendCliCreateCodePackage($input: CreateCodePackageInput!) {
|
|
831
|
-
createCodePackage(input: $input) {
|
|
832
|
-
clientMutationId
|
|
833
|
-
codePackage {
|
|
834
|
-
id
|
|
835
|
-
name
|
|
836
|
-
description
|
|
837
|
-
type
|
|
838
|
-
relativePath
|
|
839
|
-
teams {
|
|
840
|
-
id
|
|
841
|
-
name
|
|
842
|
-
}
|
|
843
|
-
owners {
|
|
844
|
-
id
|
|
845
|
-
email
|
|
846
|
-
}
|
|
847
|
-
repository {
|
|
848
|
-
id
|
|
849
|
-
name
|
|
850
|
-
}
|
|
851
|
-
dataSilo {
|
|
852
|
-
id
|
|
853
|
-
title
|
|
854
|
-
type
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
}
|
|
859
|
-
`;var pr=_graphqlrequest.gql`
|
|
860
|
-
query TranscendCliPromptThreads(
|
|
861
|
-
$first: Int!
|
|
862
|
-
$offset: Int!
|
|
863
|
-
$filterBy: PromptThreadFiltersInput!
|
|
864
|
-
) {
|
|
865
|
-
promptThreads(first: $first, offset: $offset, filterBy: $filterBy) {
|
|
866
|
-
nodes {
|
|
867
|
-
id
|
|
868
|
-
threadId
|
|
869
|
-
slackMessageTs
|
|
870
|
-
slackTeamId
|
|
871
|
-
slackChannelId
|
|
872
|
-
slackChannelName
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
`;var cr=_graphqlrequest.gql`
|
|
877
|
-
query TranscendCliFetchPolicies($url: String!) {
|
|
878
|
-
privacyCenterPolicies(lookup: { url: $url }) {
|
|
879
|
-
id
|
|
880
|
-
title {
|
|
881
|
-
defaultMessage
|
|
882
|
-
}
|
|
883
|
-
disableEffectiveOn
|
|
884
|
-
disabledLocales
|
|
885
|
-
versions {
|
|
886
|
-
effectiveOn
|
|
887
|
-
content {
|
|
888
|
-
defaultMessage
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
`,mr= exports.W =_graphqlrequest.gql`
|
|
894
|
-
mutation TranscendCliUpdatePolicies(
|
|
895
|
-
$policies: [PolicyInput!]!
|
|
896
|
-
$privacyCenterId: ID!
|
|
897
|
-
) {
|
|
898
|
-
updatePolicies(
|
|
899
|
-
input: {
|
|
900
|
-
privacyCenterId: $privacyCenterId
|
|
901
|
-
policies: $policies
|
|
902
|
-
skipPublish: true
|
|
903
|
-
}
|
|
904
|
-
) {
|
|
905
|
-
clientMutationId
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
`;var ur=_graphqlrequest.gql`
|
|
909
|
-
query TranscendCliRequests(
|
|
910
|
-
$first: Int!
|
|
911
|
-
$offset: Int!
|
|
912
|
-
$filterBy: RequestFiltersInput!
|
|
913
|
-
) {
|
|
914
|
-
requests(
|
|
915
|
-
filterBy: $filterBy
|
|
916
|
-
first: $first
|
|
917
|
-
offset: $offset
|
|
918
|
-
orderBy: [
|
|
919
|
-
{ field: createdAt, direction: ASC }
|
|
920
|
-
{ field: id, direction: ASC }
|
|
921
|
-
]
|
|
922
|
-
useMaster: false
|
|
923
|
-
) {
|
|
924
|
-
nodes {
|
|
925
|
-
id
|
|
926
|
-
createdAt
|
|
927
|
-
email
|
|
928
|
-
link
|
|
929
|
-
status
|
|
930
|
-
details
|
|
931
|
-
isTest
|
|
932
|
-
locale
|
|
933
|
-
origin
|
|
934
|
-
isSilent
|
|
935
|
-
coreIdentifier
|
|
936
|
-
daysRemaining
|
|
937
|
-
type
|
|
938
|
-
subjectType
|
|
939
|
-
country
|
|
940
|
-
countrySubDivision
|
|
941
|
-
attributeValues {
|
|
942
|
-
id
|
|
943
|
-
name
|
|
944
|
-
attributeKey {
|
|
945
|
-
id
|
|
946
|
-
name
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
totalCount
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
`,bc= exports.Y =_graphqlrequest.gql`
|
|
954
|
-
mutation TranscendCliApprovePrivacyRequest($input: CommunicationInput!) {
|
|
955
|
-
approveRequest(input: $input) {
|
|
956
|
-
request {
|
|
957
|
-
id
|
|
958
|
-
}
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
`,xc= exports.Z =_graphqlrequest.gql`
|
|
962
|
-
mutation TranscendCliCancelPrivacyRequest($input: CommunicationInput!) {
|
|
963
|
-
cancelRequest(input: $input) {
|
|
964
|
-
request {
|
|
965
|
-
id
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
}
|
|
969
|
-
`,Dc= exports._ =_graphqlrequest.gql`
|
|
970
|
-
mutation TranscendCliUpdatePrivacyRequest($input: UpdateRequestInput!) {
|
|
971
|
-
updateRequest(input: $input) {
|
|
972
|
-
request {
|
|
973
|
-
id
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
`,Lc= exports.$ =_graphqlrequest.gql`
|
|
978
|
-
mutation TranscendCliNotifyAdditionalTime($input: AdditionalTimeInput!) {
|
|
979
|
-
notifyAdditionalTime(input: $input) {
|
|
980
|
-
clientMutationId
|
|
981
|
-
}
|
|
982
|
-
}
|
|
983
|
-
`;var fr=_graphqlrequest.gql`
|
|
984
|
-
query TranscendCliFetchMessage {
|
|
985
|
-
translatedMessages {
|
|
986
|
-
id
|
|
987
|
-
defaultMessage
|
|
988
|
-
targetReactIntlId
|
|
989
|
-
translations {
|
|
990
|
-
locale
|
|
991
|
-
value
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
`,gr= exports.ba =_graphqlrequest.gql`
|
|
996
|
-
mutation TranscendCliUpdateIntlMessages($messages: [MessageInput!]!) {
|
|
997
|
-
updateIntlMessages(input: { messages: $messages, skipPublish: true }) {
|
|
998
|
-
clientMutationId
|
|
999
|
-
}
|
|
1000
|
-
}
|
|
1001
|
-
`;var yr=_graphqlrequest.gql`
|
|
1002
|
-
query TranscendCliRequestEnrichers(
|
|
1003
|
-
$first: Int!
|
|
1004
|
-
$offset: Int!
|
|
1005
|
-
$requestId: ID!
|
|
1006
|
-
) {
|
|
1007
|
-
requestEnrichers(
|
|
1008
|
-
input: { requestId: $requestId }
|
|
1009
|
-
first: $first
|
|
1010
|
-
offset: $offset
|
|
1011
|
-
useMaster: false
|
|
1012
|
-
orderBy: [
|
|
1013
|
-
{ field: createdAt, direction: ASC }
|
|
1014
|
-
{ field: title, direction: ASC, model: enricher }
|
|
1015
|
-
]
|
|
1016
|
-
) {
|
|
1017
|
-
nodes {
|
|
1018
|
-
id
|
|
1019
|
-
status
|
|
1020
|
-
enricher {
|
|
1021
|
-
id
|
|
1022
|
-
type
|
|
1023
|
-
title
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
totalCount
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
`,Cr= exports.da =_graphqlrequest.gql`
|
|
1030
|
-
mutation TranscendCliRetryRequestEnricher($requestEnricherId: ID!) {
|
|
1031
|
-
retryRequestEnricher(id: $requestEnricherId) {
|
|
1032
|
-
requestEnricher {
|
|
1033
|
-
id
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
`,qc= exports.ea =_graphqlrequest.gql`
|
|
1038
|
-
mutation TranscendCliSkipRequestEnricher($requestEnricherId: ID!) {
|
|
1039
|
-
skipRequestEnricher(id: $requestEnricherId) {
|
|
1040
|
-
requestEnricher {
|
|
1041
|
-
id
|
|
1042
|
-
}
|
|
1043
|
-
}
|
|
1044
|
-
}
|
|
1045
|
-
`;var an=`
|
|
1046
|
-
id
|
|
1047
|
-
title
|
|
1048
|
-
status
|
|
1049
|
-
index
|
|
1050
|
-
questions {
|
|
1051
|
-
id
|
|
1052
|
-
title
|
|
1053
|
-
index
|
|
1054
|
-
type
|
|
1055
|
-
subType
|
|
1056
|
-
placeholder
|
|
1057
|
-
description
|
|
1058
|
-
isRequired
|
|
1059
|
-
displayLogic
|
|
1060
|
-
riskLogic
|
|
1061
|
-
requireRiskEvaluation
|
|
1062
|
-
requireRiskMatrixEvaluation
|
|
1063
|
-
riskCategories {
|
|
1064
|
-
id
|
|
1065
|
-
title
|
|
1066
|
-
}
|
|
1067
|
-
riskFramework {
|
|
1068
|
-
id
|
|
1069
|
-
title
|
|
1070
|
-
description
|
|
1071
|
-
riskLevels {
|
|
1072
|
-
id
|
|
1073
|
-
title
|
|
1074
|
-
}
|
|
1075
|
-
riskCategories {
|
|
1076
|
-
id
|
|
1077
|
-
title
|
|
1078
|
-
}
|
|
1079
|
-
riskMatrixColumns {
|
|
1080
|
-
id
|
|
1081
|
-
title
|
|
1082
|
-
}
|
|
1083
|
-
riskMatrixRows {
|
|
1084
|
-
id
|
|
1085
|
-
title
|
|
1086
|
-
}
|
|
1087
|
-
riskMatrix {
|
|
1088
|
-
id
|
|
1089
|
-
title
|
|
1090
|
-
}
|
|
1091
|
-
creator {
|
|
1092
|
-
id
|
|
1093
|
-
email
|
|
1094
|
-
name
|
|
1095
|
-
}
|
|
1096
|
-
riskMatrixRowTitle
|
|
1097
|
-
riskMatrixColumnTitle
|
|
1098
|
-
}
|
|
1099
|
-
riskLevel {
|
|
1100
|
-
id
|
|
1101
|
-
title
|
|
1102
|
-
}
|
|
1103
|
-
reviewerRiskLevel {
|
|
1104
|
-
id
|
|
1105
|
-
title
|
|
1106
|
-
}
|
|
1107
|
-
riskLevelFromRiskMatrix {
|
|
1108
|
-
id
|
|
1109
|
-
title
|
|
1110
|
-
}
|
|
1111
|
-
answerOptions {
|
|
1112
|
-
id
|
|
1113
|
-
index
|
|
1114
|
-
value
|
|
1115
|
-
}
|
|
1116
|
-
selectedAnswers {
|
|
1117
|
-
... on AssessmentAnswerInterface {
|
|
1118
|
-
id
|
|
1119
|
-
index
|
|
1120
|
-
value
|
|
1121
|
-
}
|
|
1122
|
-
}
|
|
1123
|
-
respondent {
|
|
1124
|
-
id
|
|
1125
|
-
email
|
|
1126
|
-
name
|
|
1127
|
-
}
|
|
1128
|
-
attributeKey {
|
|
1129
|
-
name
|
|
1130
|
-
}
|
|
1131
|
-
externalRespondentEmail
|
|
1132
|
-
comments {
|
|
1133
|
-
id
|
|
1134
|
-
content
|
|
1135
|
-
createdAt
|
|
1136
|
-
updatedAt
|
|
1137
|
-
author {
|
|
1138
|
-
id
|
|
1139
|
-
email
|
|
1140
|
-
name
|
|
1141
|
-
}
|
|
1142
|
-
}
|
|
1143
|
-
allowedMimeTypes
|
|
1144
|
-
updatedAt
|
|
1145
|
-
referenceId
|
|
1146
|
-
previousSubmissions {
|
|
1147
|
-
id
|
|
1148
|
-
updatedAt
|
|
1149
|
-
assessmentQuestionId
|
|
1150
|
-
answers {
|
|
1151
|
-
... on AssessmentAnswerInterface {
|
|
1152
|
-
id
|
|
1153
|
-
index
|
|
1154
|
-
value
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
allowSelectOther
|
|
1159
|
-
syncModel
|
|
1160
|
-
syncColumn
|
|
1161
|
-
syncRowIds
|
|
1162
|
-
syncOverride
|
|
1163
|
-
}
|
|
1164
|
-
assignees {
|
|
1165
|
-
id
|
|
1166
|
-
email
|
|
1167
|
-
name
|
|
1168
|
-
}
|
|
1169
|
-
externalAssignees {
|
|
1170
|
-
id
|
|
1171
|
-
email
|
|
1172
|
-
}
|
|
1173
|
-
isReviewed
|
|
1174
|
-
`,Ir= exports.ga =_graphqlrequest.gql`
|
|
1175
|
-
query TranscendCliAssessments(
|
|
1176
|
-
$first: Int!
|
|
1177
|
-
$offset: Int!
|
|
1178
|
-
$filterBy: AssessmentFormFiltersInput
|
|
1179
|
-
) {
|
|
1180
|
-
assessmentForms(first: $first, offset: $offset, filterBy: $filterBy) {
|
|
1181
|
-
nodes {
|
|
1182
|
-
id
|
|
1183
|
-
creator {
|
|
1184
|
-
id
|
|
1185
|
-
email
|
|
1186
|
-
name
|
|
1187
|
-
}
|
|
1188
|
-
lastEditor {
|
|
1189
|
-
id
|
|
1190
|
-
email
|
|
1191
|
-
name
|
|
1192
|
-
}
|
|
1193
|
-
title
|
|
1194
|
-
description
|
|
1195
|
-
status
|
|
1196
|
-
assignees {
|
|
1197
|
-
id
|
|
1198
|
-
email
|
|
1199
|
-
name
|
|
1200
|
-
}
|
|
1201
|
-
externalAssignees {
|
|
1202
|
-
id
|
|
1203
|
-
email
|
|
1204
|
-
}
|
|
1205
|
-
reviewers {
|
|
1206
|
-
id
|
|
1207
|
-
email
|
|
1208
|
-
name
|
|
1209
|
-
}
|
|
1210
|
-
isLocked
|
|
1211
|
-
isArchived
|
|
1212
|
-
isExternallyCreated
|
|
1213
|
-
dueDate
|
|
1214
|
-
createdAt
|
|
1215
|
-
updatedAt
|
|
1216
|
-
assignedAt
|
|
1217
|
-
submittedAt
|
|
1218
|
-
approvedAt
|
|
1219
|
-
rejectedAt
|
|
1220
|
-
titleIsInternal
|
|
1221
|
-
retentionSchedule {
|
|
1222
|
-
id
|
|
1223
|
-
type
|
|
1224
|
-
durationDays
|
|
1225
|
-
operation
|
|
1226
|
-
}
|
|
1227
|
-
attributeValues {
|
|
1228
|
-
name
|
|
1229
|
-
attributeKey {
|
|
1230
|
-
name
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
sections {
|
|
1234
|
-
${an}
|
|
1235
|
-
}
|
|
1236
|
-
assessmentGroup {
|
|
1237
|
-
id
|
|
1238
|
-
title
|
|
1239
|
-
description
|
|
1240
|
-
}
|
|
1241
|
-
resources {
|
|
1242
|
-
resourceType
|
|
1243
|
-
... on AttributeBusinessEntityResource {
|
|
1244
|
-
id
|
|
1245
|
-
title
|
|
1246
|
-
}
|
|
1247
|
-
... on AttributeDataSiloResource {
|
|
1248
|
-
id
|
|
1249
|
-
title
|
|
1250
|
-
}
|
|
1251
|
-
... on AttributeDataSubCategoryResource {
|
|
1252
|
-
id
|
|
1253
|
-
name
|
|
1254
|
-
category
|
|
1255
|
-
}
|
|
1256
|
-
... on AttributeSubDataPointResource {
|
|
1257
|
-
id
|
|
1258
|
-
name
|
|
1259
|
-
}
|
|
1260
|
-
... on AttributeProcessingPurposeSubCategoryResource {
|
|
1261
|
-
id
|
|
1262
|
-
name
|
|
1263
|
-
purpose
|
|
1264
|
-
}
|
|
1265
|
-
... on AttributeRequestResource {
|
|
1266
|
-
id
|
|
1267
|
-
type
|
|
1268
|
-
}
|
|
1269
|
-
... on AttributeVendorResource {
|
|
1270
|
-
id
|
|
1271
|
-
title
|
|
1272
|
-
}
|
|
1273
|
-
... on AttributePromptResource {
|
|
1274
|
-
id
|
|
1275
|
-
title
|
|
1276
|
-
}
|
|
1277
|
-
... on AttributePromptRunResource {
|
|
1278
|
-
id
|
|
1279
|
-
title
|
|
1280
|
-
}
|
|
1281
|
-
... on AttributePromptGroupResource {
|
|
1282
|
-
id
|
|
1283
|
-
title
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
syncedRows {
|
|
1287
|
-
resourceType
|
|
1288
|
-
... on AttributeBusinessEntityResource {
|
|
1289
|
-
id
|
|
1290
|
-
title
|
|
1291
|
-
}
|
|
1292
|
-
... on AttributeDataSiloResource {
|
|
1293
|
-
id
|
|
1294
|
-
title
|
|
1295
|
-
}
|
|
1296
|
-
... on AttributeDataSubCategoryResource {
|
|
1297
|
-
id
|
|
1298
|
-
name
|
|
1299
|
-
category
|
|
1300
|
-
}
|
|
1301
|
-
... on AttributeSubDataPointResource {
|
|
1302
|
-
id
|
|
1303
|
-
name
|
|
1304
|
-
}
|
|
1305
|
-
... on AttributeProcessingPurposeSubCategoryResource {
|
|
1306
|
-
id
|
|
1307
|
-
name
|
|
1308
|
-
purpose
|
|
1309
|
-
}
|
|
1310
|
-
... on AttributeVendorResource {
|
|
1311
|
-
id
|
|
1312
|
-
title
|
|
1313
|
-
}
|
|
1314
|
-
}
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
`,Mc= exports.ha =_graphqlrequest.gql`
|
|
1319
|
-
mutation TranscendCliImportOneTrustAssessmentForms(
|
|
1320
|
-
$input: ImportOnetrustAssessmentsInput!
|
|
1321
|
-
) {
|
|
1322
|
-
importOneTrustAssessmentForms(input: $input) {
|
|
1323
|
-
assessmentForms {
|
|
1324
|
-
id
|
|
1325
|
-
title
|
|
1326
|
-
}
|
|
1327
|
-
}
|
|
1328
|
-
}
|
|
1329
|
-
`;var Ar=_graphqlrequest.gql`
|
|
1330
|
-
query TranscendCliPurposes(
|
|
1331
|
-
$first: Int!
|
|
1332
|
-
$offset: Int!
|
|
1333
|
-
$filterBy: TrackingPurposeFiltersInput
|
|
1334
|
-
$input: TrackingPurposeInput!
|
|
1335
|
-
) {
|
|
1336
|
-
purposes(
|
|
1337
|
-
first: $first
|
|
1338
|
-
offset: $offset
|
|
1339
|
-
filterBy: $filterBy
|
|
1340
|
-
input: $input
|
|
1341
|
-
) {
|
|
1342
|
-
nodes {
|
|
1343
|
-
id
|
|
1344
|
-
name
|
|
1345
|
-
description
|
|
1346
|
-
defaultConsent
|
|
1347
|
-
trackingType
|
|
1348
|
-
configurable
|
|
1349
|
-
essential
|
|
1350
|
-
showInConsentManager
|
|
1351
|
-
isActive
|
|
1352
|
-
displayOrder
|
|
1353
|
-
optOutSignals
|
|
1354
|
-
deletedAt
|
|
1355
|
-
authLevel
|
|
1356
|
-
showInPrivacyCenter
|
|
1357
|
-
title
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
`;var Pr=_graphqlrequest.gql`
|
|
1362
|
-
query TranscendCliPreferenceTopics(
|
|
1363
|
-
$first: Int!
|
|
1364
|
-
$offset: Int!
|
|
1365
|
-
$filterBy: PreferenceTopicFilterInput
|
|
1366
|
-
) {
|
|
1367
|
-
preferenceTopics(first: $first, offset: $offset, filterBy: $filterBy) {
|
|
1368
|
-
nodes {
|
|
1369
|
-
id
|
|
1370
|
-
slug
|
|
1371
|
-
type
|
|
1372
|
-
title {
|
|
1373
|
-
id
|
|
1374
|
-
defaultMessage
|
|
1375
|
-
}
|
|
1376
|
-
showInPrivacyCenter
|
|
1377
|
-
displayDescription {
|
|
1378
|
-
id
|
|
1379
|
-
defaultMessage
|
|
1380
|
-
}
|
|
1381
|
-
defaultConfiguration
|
|
1382
|
-
preferenceOptionValues {
|
|
1383
|
-
slug
|
|
1384
|
-
title {
|
|
1385
|
-
id
|
|
1386
|
-
defaultMessage
|
|
1387
|
-
}
|
|
1388
|
-
}
|
|
1389
|
-
purpose {
|
|
1390
|
-
trackingType
|
|
1391
|
-
}
|
|
1392
|
-
}
|
|
1393
|
-
}
|
|
1394
|
-
}
|
|
1395
|
-
`;var Tr=_graphqlrequest.gql`
|
|
1396
|
-
query TranscendCliAssessmentTemplates(
|
|
1397
|
-
$first: Int!
|
|
1398
|
-
$offset: Int!
|
|
1399
|
-
$filterBy: AssessmentFormTemplateFiltersInput
|
|
1400
|
-
) {
|
|
1401
|
-
assessmentFormTemplates(
|
|
1402
|
-
first: $first
|
|
1403
|
-
offset: $offset
|
|
1404
|
-
filterBy: $filterBy
|
|
1405
|
-
) {
|
|
1406
|
-
nodes {
|
|
1407
|
-
id
|
|
1408
|
-
creator {
|
|
1409
|
-
id
|
|
1410
|
-
email
|
|
1411
|
-
name
|
|
1412
|
-
}
|
|
1413
|
-
lastEditor {
|
|
1414
|
-
id
|
|
1415
|
-
email
|
|
1416
|
-
name
|
|
1417
|
-
}
|
|
1418
|
-
title
|
|
1419
|
-
description
|
|
1420
|
-
status
|
|
1421
|
-
source
|
|
1422
|
-
parentId
|
|
1423
|
-
isLocked
|
|
1424
|
-
isArchived
|
|
1425
|
-
createdAt
|
|
1426
|
-
updatedAt
|
|
1427
|
-
retentionSchedule {
|
|
1428
|
-
id
|
|
1429
|
-
type
|
|
1430
|
-
durationDays
|
|
1431
|
-
operation
|
|
1432
|
-
createdAt
|
|
1433
|
-
updatedAt
|
|
1434
|
-
}
|
|
1435
|
-
assessmentEmailSet {
|
|
1436
|
-
id
|
|
1437
|
-
title
|
|
1438
|
-
description
|
|
1439
|
-
isDefault
|
|
1440
|
-
templates {
|
|
1441
|
-
id
|
|
1442
|
-
title
|
|
1443
|
-
}
|
|
1444
|
-
}
|
|
1445
|
-
sections {
|
|
1446
|
-
${an}
|
|
1447
|
-
}
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
}
|
|
1451
|
-
`;var Sr=_graphqlrequest.gql`
|
|
1452
|
-
query TranscendCliPrompts(
|
|
1453
|
-
$first: Int!
|
|
1454
|
-
$offset: Int!
|
|
1455
|
-
$filterBy: PromptFiltersInput
|
|
1456
|
-
) {
|
|
1457
|
-
prompts(
|
|
1458
|
-
first: $first
|
|
1459
|
-
orderBy: [{ field: title, direction: ASC }]
|
|
1460
|
-
offset: $offset
|
|
1461
|
-
filterBy: $filterBy
|
|
1462
|
-
) {
|
|
1463
|
-
nodes {
|
|
1464
|
-
id
|
|
1465
|
-
title
|
|
1466
|
-
status
|
|
1467
|
-
content
|
|
1468
|
-
temperature
|
|
1469
|
-
topP
|
|
1470
|
-
maxTokensToSample
|
|
1471
|
-
}
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
`,Er= exports.ma =_graphqlrequest.gql`
|
|
1475
|
-
query TranscendCliPromptPartials($first: Int!, $offset: Int!) {
|
|
1476
|
-
promptPartials(first: $first, offset: $offset) {
|
|
1477
|
-
nodes {
|
|
1478
|
-
id
|
|
1479
|
-
title
|
|
1480
|
-
content
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
`,Rr= exports.na =_graphqlrequest.gql`
|
|
1485
|
-
query TranscendCliPromptGroups($first: Int!, $offset: Int!) {
|
|
1486
|
-
promptGroups(
|
|
1487
|
-
first: $first
|
|
1488
|
-
|
|
1489
|
-
offset: $offset
|
|
1490
|
-
) {
|
|
1491
|
-
nodes {
|
|
1492
|
-
id
|
|
1493
|
-
title
|
|
1494
|
-
description
|
|
1495
|
-
prompts {
|
|
1496
|
-
title
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
`,wr= exports.oa =_graphqlrequest.gql`
|
|
1502
|
-
query TranscendCliPromptsWithVariables($input: PromptsWithVariablesInput!) {
|
|
1503
|
-
promptsWithVariables(input: $input) {
|
|
1504
|
-
prompts {
|
|
1505
|
-
id
|
|
1506
|
-
title
|
|
1507
|
-
content
|
|
1508
|
-
status
|
|
1509
|
-
temperature
|
|
1510
|
-
topP
|
|
1511
|
-
maxTokensToSample
|
|
1512
|
-
responseFormat
|
|
1513
|
-
}
|
|
1514
|
-
promptPartials {
|
|
1515
|
-
id
|
|
1516
|
-
title
|
|
1517
|
-
content
|
|
1518
|
-
slug
|
|
1519
|
-
}
|
|
1520
|
-
calculatedVariables {
|
|
1521
|
-
data
|
|
1522
|
-
name
|
|
1523
|
-
}
|
|
1524
|
-
runtimeVariables {
|
|
1525
|
-
name
|
|
1526
|
-
}
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
`,$r= exports.pa =_graphqlrequest.gql`
|
|
1530
|
-
mutation TranscendCliUpdatePrompts($input: UpdatePromptsInput!) {
|
|
1531
|
-
updatePrompts(input: $input) {
|
|
1532
|
-
clientMutationId
|
|
1533
|
-
}
|
|
1534
|
-
}
|
|
1535
|
-
`,br= exports.qa =_graphqlrequest.gql`
|
|
1536
|
-
mutation TranscendCliCreatePrompt($input: CreatePromptInput!) {
|
|
1537
|
-
createPrompt(input: $input) {
|
|
1538
|
-
clientMutationId
|
|
1539
|
-
prompt {
|
|
1540
|
-
id
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
`,xr= exports.ra =_graphqlrequest.gql`
|
|
1545
|
-
mutation TranscendCliUpdatePromptPartials(
|
|
1546
|
-
$input: UpdatePromptPartialsInput!
|
|
1547
|
-
) {
|
|
1548
|
-
updatePromptPartials(input: $input) {
|
|
1549
|
-
clientMutationId
|
|
1550
|
-
}
|
|
1551
|
-
}
|
|
1552
|
-
`,Dr= exports.sa =_graphqlrequest.gql`
|
|
1553
|
-
mutation TranscendCliCreatePromptPartial($input: CreatePromptPartialInput!) {
|
|
1554
|
-
createPromptPartial(input: $input) {
|
|
1555
|
-
clientMutationId
|
|
1556
|
-
promptPartial {
|
|
1557
|
-
id
|
|
1558
|
-
}
|
|
1559
|
-
}
|
|
1560
|
-
}
|
|
1561
|
-
`,Lr= exports.ta =_graphqlrequest.gql`
|
|
1562
|
-
mutation TranscendCliUpdatePromptGroups($input: UpdatePromptGroupsInput!) {
|
|
1563
|
-
updatePromptGroups(input: $input) {
|
|
1564
|
-
clientMutationId
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
`,kr= exports.ua =_graphqlrequest.gql`
|
|
1568
|
-
mutation TranscendCliCreatePromptPartial($input: CreatePromptGroupInput!) {
|
|
1569
|
-
createPromptGroup(input: $input) {
|
|
1570
|
-
clientMutationId
|
|
1571
|
-
promptGroup {
|
|
1572
|
-
id
|
|
1573
|
-
}
|
|
1574
|
-
}
|
|
1575
|
-
}
|
|
1576
|
-
`;var _r=_graphqlrequest.gql`
|
|
1577
|
-
query TranscendCliRequestDataSilos(
|
|
1578
|
-
$first: Int!
|
|
1579
|
-
$offset: Int!
|
|
1580
|
-
$filterBy: RequestDataSiloFiltersInput!
|
|
1581
|
-
) {
|
|
1582
|
-
requestDataSilos(
|
|
1583
|
-
filterBy: $filterBy
|
|
1584
|
-
first: $first
|
|
1585
|
-
offset: $offset
|
|
1586
|
-
useMaster: false
|
|
1587
|
-
orderBy: [
|
|
1588
|
-
{ field: createdAt, direction: DESC }
|
|
1589
|
-
{ field: title, direction: ASC, model: dataSilo }
|
|
1590
|
-
]
|
|
1591
|
-
) {
|
|
1592
|
-
nodes {
|
|
1593
|
-
id
|
|
1594
|
-
}
|
|
1595
|
-
totalCount
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
`,zc= exports.wa =_graphqlrequest.gql`
|
|
1599
|
-
mutation TranscendCliMarkRequestDataSiloCompleted(
|
|
1600
|
-
$requestDataSiloId: ID!
|
|
1601
|
-
$status: UpdateRequestDataSiloStatus!
|
|
1602
|
-
) {
|
|
1603
|
-
changeRequestDataSiloStatus(
|
|
1604
|
-
input: { id: $requestDataSiloId, status: $status }
|
|
1605
|
-
) {
|
|
1606
|
-
requestDataSilo {
|
|
1607
|
-
id
|
|
1608
|
-
}
|
|
1609
|
-
}
|
|
1610
|
-
}
|
|
1611
|
-
`,Jc= exports.xa =_graphqlrequest.gql`
|
|
1612
|
-
mutation TranscendCliRetryRequestDataSilo($requestDataSiloId: ID!) {
|
|
1613
|
-
retryRequestDataSilo(id: $requestDataSiloId) {
|
|
1614
|
-
requestDataSilo {
|
|
1615
|
-
id
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
}
|
|
1619
|
-
`,Gr= exports.ya =_graphqlrequest.gql`
|
|
1620
|
-
query TranscendCliListReducedRequestsForDataSiloCount(
|
|
1621
|
-
$input: BulkCompletionReducedRequestInput!
|
|
1622
|
-
) {
|
|
1623
|
-
listReducedRequestsForDataSilo(input: $input) {
|
|
1624
|
-
totalCount
|
|
1625
|
-
}
|
|
1626
|
-
}
|
|
1627
|
-
`;var vr=_graphqlrequest.gql`
|
|
1628
|
-
query TranscendCliTeams(
|
|
1629
|
-
$first: Int!
|
|
1630
|
-
$offset: Int!
|
|
1631
|
-
$input: TeamFiltersInput
|
|
1632
|
-
) {
|
|
1633
|
-
teams(
|
|
1634
|
-
first: $first
|
|
1635
|
-
offset: $offset
|
|
1636
|
-
filterBy: $input
|
|
1637
|
-
orderBy: [
|
|
1638
|
-
{ field: createdAt, direction: ASC }
|
|
1639
|
-
{ field: name, direction: ASC }
|
|
1640
|
-
]
|
|
1641
|
-
) {
|
|
1642
|
-
nodes {
|
|
1643
|
-
id
|
|
1644
|
-
name
|
|
1645
|
-
description
|
|
1646
|
-
ssoDepartment
|
|
1647
|
-
ssoGroup
|
|
1648
|
-
ssoTitle
|
|
1649
|
-
users {
|
|
1650
|
-
id
|
|
1651
|
-
email
|
|
1652
|
-
name
|
|
1653
|
-
}
|
|
1654
|
-
scopes {
|
|
1655
|
-
id
|
|
1656
|
-
name
|
|
1657
|
-
title
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
}
|
|
1662
|
-
`,qr= exports.Aa =_graphqlrequest.gql`
|
|
1663
|
-
mutation TranscendCliCreateTeam($input: TeamInput!) {
|
|
1664
|
-
createTeam(input: $input) {
|
|
1665
|
-
team {
|
|
1666
|
-
id
|
|
1667
|
-
name
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
}
|
|
1671
|
-
`,Or= exports.Ba =_graphqlrequest.gql`
|
|
1672
|
-
mutation TranscendCliUpdateTeam($input: UpdateTeamInput!) {
|
|
1673
|
-
updateTeam(input: $input) {
|
|
1674
|
-
team {
|
|
1675
|
-
id
|
|
1676
|
-
name
|
|
1677
|
-
}
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
`;var im=_graphqlrequest.gql`
|
|
1681
|
-
mutation TranscendCliRemoveRequestIdentifiers(
|
|
1682
|
-
$input: RemoveRequestIdentifiersInput!
|
|
1683
|
-
) {
|
|
1684
|
-
removeRequestIdentifiers(input: $input) {
|
|
1685
|
-
count
|
|
1686
|
-
}
|
|
1687
|
-
}
|
|
1688
|
-
`,Mr= exports.Da =_graphqlrequest.gql`
|
|
1689
|
-
query TranscendCliRequestIdentifiers(
|
|
1690
|
-
$first: Int!
|
|
1691
|
-
$offset: Int!
|
|
1692
|
-
$requestIds: [ID!]!
|
|
1693
|
-
) {
|
|
1694
|
-
requestIdentifiers(
|
|
1695
|
-
input: { requestIds: $requestIds }
|
|
1696
|
-
first: $first
|
|
1697
|
-
offset: $offset
|
|
1698
|
-
useMaster: false
|
|
1699
|
-
orderBy: [
|
|
1700
|
-
{ field: createdAt, direction: ASC }
|
|
1701
|
-
{ field: name, direction: ASC }
|
|
1702
|
-
]
|
|
1703
|
-
) {
|
|
1704
|
-
nodes {
|
|
1705
|
-
id
|
|
1706
|
-
name
|
|
1707
|
-
isVerifiedAtLeastOnce
|
|
1708
|
-
}
|
|
1709
|
-
totalCount
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
`;var Ur=_graphqlrequest.gql`
|
|
1713
|
-
query TranscendCliUsers(
|
|
1714
|
-
$first: Int!
|
|
1715
|
-
$offset: Int!
|
|
1716
|
-
$input: UserFiltersInput
|
|
1717
|
-
) {
|
|
1718
|
-
users(
|
|
1719
|
-
first: $first
|
|
1720
|
-
offset: $offset
|
|
1721
|
-
filterBy: $input
|
|
1722
|
-
orderBy: [
|
|
1723
|
-
{ field: createdAt, direction: ASC }
|
|
1724
|
-
{ field: name, direction: ASC }
|
|
1725
|
-
]
|
|
1726
|
-
) {
|
|
1727
|
-
nodes {
|
|
1728
|
-
id
|
|
1729
|
-
name
|
|
1730
|
-
email
|
|
1731
|
-
}
|
|
1732
|
-
}
|
|
1733
|
-
}
|
|
1734
|
-
`;var pm=_graphqlrequest.gql`
|
|
1735
|
-
query TranscendCliRequestFiles(
|
|
1736
|
-
$first: Int!
|
|
1737
|
-
$offset: Int!
|
|
1738
|
-
$filterBy: RequestFileFiltersInput!
|
|
1739
|
-
) {
|
|
1740
|
-
requestFiles(
|
|
1741
|
-
filterBy: $filterBy
|
|
1742
|
-
first: $first
|
|
1743
|
-
offset: $offset
|
|
1744
|
-
orderBy: [
|
|
1745
|
-
{ field: createdAt, direction: ASC }
|
|
1746
|
-
{ field: id, direction: ASC }
|
|
1747
|
-
]
|
|
1748
|
-
) {
|
|
1749
|
-
nodes {
|
|
1750
|
-
remoteId
|
|
1751
|
-
fileName
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1754
|
-
}
|
|
1755
|
-
`,Qr= exports.Ga =_graphqlrequest.gql`
|
|
1756
|
-
query TranscendCliBulkRequestFiles(
|
|
1757
|
-
$filterBy: BulkRequestFilesFiltersInput!
|
|
1758
|
-
$first: Int!
|
|
1759
|
-
$after: String
|
|
1760
|
-
) {
|
|
1761
|
-
bulkRequestFiles(filterBy: $filterBy, first: $first, after: $after) {
|
|
1762
|
-
nodes {
|
|
1763
|
-
remoteId
|
|
1764
|
-
fileName
|
|
1765
|
-
}
|
|
1766
|
-
pageInfo {
|
|
1767
|
-
hasNextPage
|
|
1768
|
-
endCursor
|
|
1769
|
-
}
|
|
1770
|
-
}
|
|
1771
|
-
}
|
|
1772
|
-
`;var Kr=_graphqlrequest.gql`
|
|
1773
|
-
mutation TranscendCliReportPromptRun($input: ReportPromptRunInput!) {
|
|
1774
|
-
reportPromptRun(input: $input) {
|
|
1775
|
-
clientMutationId
|
|
1776
|
-
promptRun {
|
|
1777
|
-
id
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
}
|
|
1781
|
-
`,Vr= exports.Ia =_graphqlrequest.gql`
|
|
1782
|
-
mutation TranscendCliAddMessagesToPromptRun(
|
|
1783
|
-
$input: AddMessagesToPromptRunInput!
|
|
1784
|
-
) {
|
|
1785
|
-
addMessagesToPromptRun(input: $input) {
|
|
1786
|
-
clientMutationId
|
|
1787
|
-
promptRun {
|
|
1788
|
-
id
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
|
-
}
|
|
1792
|
-
`;var jr=_graphqlrequest.gql`
|
|
1793
|
-
query TranscendCliGlobalActionItemCollectionss(
|
|
1794
|
-
$filterBy: GlobalActionItemCollectionFiltersInput!
|
|
1795
|
-
) {
|
|
1796
|
-
globalActionItemCollections(filterBy: $filterBy) {
|
|
1797
|
-
nodes {
|
|
1798
|
-
id
|
|
1799
|
-
title
|
|
1800
|
-
description
|
|
1801
|
-
hidden
|
|
1802
|
-
productLine
|
|
1803
|
-
}
|
|
1804
|
-
}
|
|
1805
|
-
}
|
|
1806
|
-
`,Yr= exports.Ka =_graphqlrequest.gql`
|
|
1807
|
-
mutation TranscendCliCreateActionItemCollection(
|
|
1808
|
-
$input: CreateActionItemCollectionInput!
|
|
1809
|
-
) {
|
|
1810
|
-
createActionItemCollection(input: $input) {
|
|
1811
|
-
created {
|
|
1812
|
-
id
|
|
1813
|
-
title
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
}
|
|
1817
|
-
`,Zr= exports.La =_graphqlrequest.gql`
|
|
1818
|
-
mutation TranscendCliUpdateActionItemCollection(
|
|
1819
|
-
$input: UpdateActionItemCollectionInput!
|
|
1820
|
-
) {
|
|
1821
|
-
updateActionItemCollection(input: $input) {
|
|
1822
|
-
clientMutationId
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
`;var Hr=_graphqlrequest.gql`
|
|
1826
|
-
query TranscendCliAttributes($first: Int!, $offset: Int!) {
|
|
1827
|
-
attributeKeys(first: $first, offset: $offset, useMaster: false) {
|
|
1828
|
-
nodes {
|
|
1829
|
-
id
|
|
1830
|
-
isCustom
|
|
1831
|
-
description
|
|
1832
|
-
enabledOn
|
|
1833
|
-
name
|
|
1834
|
-
type
|
|
1835
|
-
}
|
|
1836
|
-
}
|
|
1837
|
-
}
|
|
1838
|
-
`,Wr= exports.Na =_graphqlrequest.gql`
|
|
1839
|
-
mutation TranscendCliCreateAttributeValues(
|
|
1840
|
-
$input: [CreateAttributeValuesInput!]!
|
|
1841
|
-
) {
|
|
1842
|
-
createAttributeValues(input: $input) {
|
|
1843
|
-
clientMutationId
|
|
1844
|
-
}
|
|
1845
|
-
}
|
|
1846
|
-
`,zr= exports.Oa =_graphqlrequest.gql`
|
|
1847
|
-
mutation TranscendCliUpdateAttributeValues(
|
|
1848
|
-
$input: [UpdateAttributeValueInput!]!
|
|
1849
|
-
) {
|
|
1850
|
-
updateAttributeValues(input: $input) {
|
|
1851
|
-
clientMutationId
|
|
1852
|
-
}
|
|
1853
|
-
}
|
|
1854
|
-
`,Jr= exports.Pa =_graphqlrequest.gql`
|
|
1855
|
-
mutation TranscendCliDeleteAttributeValue($id: ID!) {
|
|
1856
|
-
deleteAttributeValue(id: $id) {
|
|
1857
|
-
clientMutationId
|
|
1858
|
-
}
|
|
1859
|
-
}
|
|
1860
|
-
`,Xr= exports.Qa =_graphqlrequest.gql`
|
|
1861
|
-
query TranscendCliAttributeValues(
|
|
1862
|
-
$first: Int!
|
|
1863
|
-
$offset: Int!
|
|
1864
|
-
$attributeKeyId: ID!
|
|
1865
|
-
) {
|
|
1866
|
-
attributeValues(
|
|
1867
|
-
first: $first
|
|
1868
|
-
offset: $offset
|
|
1869
|
-
useMaster: false
|
|
1870
|
-
filterBy: { attributeKeys: [$attributeKeyId] }
|
|
1871
|
-
) {
|
|
1872
|
-
nodes {
|
|
1873
|
-
id
|
|
1874
|
-
name
|
|
1875
|
-
description
|
|
1876
|
-
color
|
|
1877
|
-
}
|
|
1878
|
-
}
|
|
1879
|
-
}
|
|
1880
|
-
`,eo= exports.Ra =_graphqlrequest.gql`
|
|
1881
|
-
mutation TranscendCliCreateAttribute(
|
|
1882
|
-
$name: String!
|
|
1883
|
-
$type: AttributeKeyType!
|
|
1884
|
-
$description: String
|
|
1885
|
-
$enabledOn: [AttributeSupportedResourceType!]
|
|
1886
|
-
) {
|
|
1887
|
-
createAttributeKey(
|
|
1888
|
-
input: {
|
|
1889
|
-
name: $name
|
|
1890
|
-
type: $type
|
|
1891
|
-
description: $description
|
|
1892
|
-
enabledOn: $enabledOn
|
|
1893
|
-
}
|
|
1894
|
-
) {
|
|
1895
|
-
clientMutationId
|
|
1896
|
-
attributeKey {
|
|
1897
|
-
id
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
}
|
|
1901
|
-
`,to= exports.Sa =_graphqlrequest.gql`
|
|
1902
|
-
mutation TranscendCliCreateAttribute(
|
|
1903
|
-
$attributeKeyId: ID!
|
|
1904
|
-
$description: String
|
|
1905
|
-
$enabledOn: [AttributeSupportedResourceType!]
|
|
1906
|
-
) {
|
|
1907
|
-
updateAttributeKey(
|
|
1908
|
-
input: {
|
|
1909
|
-
id: $attributeKeyId
|
|
1910
|
-
description: $description
|
|
1911
|
-
enabledOn: $enabledOn
|
|
1912
|
-
}
|
|
1913
|
-
) {
|
|
1914
|
-
clientMutationId
|
|
1915
|
-
attributeKey {
|
|
1916
|
-
id
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
}
|
|
1920
|
-
`,no= exports.Ta =_graphqlrequest.gql`
|
|
1921
|
-
mutation TranscendCliSetResourceAttributes(
|
|
1922
|
-
$input: SetResourceAttributesInput!
|
|
1923
|
-
) {
|
|
1924
|
-
setResourceAttributes(input: $input) {
|
|
1925
|
-
clientMutationId
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
`;var io=_graphqlrequest.gql`
|
|
1929
|
-
query TranscendCliExperiences($first: Int!, $offset: Int!) {
|
|
1930
|
-
experiences(first: $first, offset: $offset, useMaster: false) {
|
|
1931
|
-
nodes {
|
|
1932
|
-
id
|
|
1933
|
-
name
|
|
1934
|
-
displayName
|
|
1935
|
-
regions {
|
|
1936
|
-
countrySubDivision
|
|
1937
|
-
country
|
|
1938
|
-
}
|
|
1939
|
-
operator
|
|
1940
|
-
displayPriority
|
|
1941
|
-
onConsentExpiry
|
|
1942
|
-
consentExpiry
|
|
1943
|
-
viewState
|
|
1944
|
-
purposes {
|
|
1945
|
-
name
|
|
1946
|
-
trackingType
|
|
1947
|
-
}
|
|
1948
|
-
optedOutPurposes {
|
|
1949
|
-
name
|
|
1950
|
-
trackingType
|
|
1951
|
-
}
|
|
1952
|
-
browserLanguages
|
|
1953
|
-
browserTimeZones
|
|
1954
|
-
}
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
`,ro= exports.Va =_graphqlrequest.gql`
|
|
1958
|
-
query TranscendCliConsentPartitions($first: Int!, $offset: Int!) {
|
|
1959
|
-
consentPartitions(first: $first, offset: $offset) {
|
|
1960
|
-
nodes {
|
|
1961
|
-
id
|
|
1962
|
-
name
|
|
1963
|
-
partition
|
|
1964
|
-
}
|
|
1965
|
-
}
|
|
1966
|
-
}
|
|
1967
|
-
`,oo= exports.Wa =_graphqlrequest.gql`
|
|
1968
|
-
mutation TranscendCliCreateDataFlows(
|
|
1969
|
-
$dataFlows: [DataFlowInput!]!
|
|
1970
|
-
$airgapBundleId: ID!
|
|
1971
|
-
$classifyService: Boolean
|
|
1972
|
-
) {
|
|
1973
|
-
createDataFlows(
|
|
1974
|
-
input: {
|
|
1975
|
-
airgapBundleId: $airgapBundleId
|
|
1976
|
-
dataFlows: $dataFlows
|
|
1977
|
-
classifyService: $classifyService
|
|
1978
|
-
}
|
|
1979
|
-
) {
|
|
1980
|
-
dataFlows {
|
|
1981
|
-
id
|
|
1982
|
-
}
|
|
1983
|
-
}
|
|
1984
|
-
}
|
|
1985
|
-
`,so= exports.Xa =_graphqlrequest.gql`
|
|
1986
|
-
mutation TranscendCliUpdateDataFlows(
|
|
1987
|
-
$airgapBundleId: ID!
|
|
1988
|
-
$dataFlows: [UpdateDataFlowInput!]!
|
|
1989
|
-
$classifyService: Boolean
|
|
1990
|
-
) {
|
|
1991
|
-
updateDataFlows(
|
|
1992
|
-
input: {
|
|
1993
|
-
airgapBundleId: $airgapBundleId
|
|
1994
|
-
dataFlows: $dataFlows
|
|
1995
|
-
classifyService: $classifyService
|
|
1996
|
-
}
|
|
1997
|
-
) {
|
|
1998
|
-
dataFlows {
|
|
1999
|
-
id
|
|
2000
|
-
}
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
`,ao= exports.Ya =_graphqlrequest.gql`
|
|
2004
|
-
mutation TranscendCliUpdateOrCreateCookies(
|
|
2005
|
-
$cookies: [UpdateOrCreateCookieInput!]!
|
|
2006
|
-
$airgapBundleId: ID!
|
|
2007
|
-
) {
|
|
2008
|
-
updateOrCreateCookies(
|
|
2009
|
-
input: { airgapBundleId: $airgapBundleId, cookies: $cookies }
|
|
2010
|
-
) {
|
|
2011
|
-
clientMutationId
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
`,po= exports.Za =_graphqlrequest.gql`
|
|
2015
|
-
query TranscendCliDataFlows(
|
|
2016
|
-
$first: Int!
|
|
2017
|
-
$airgapBundleId: ID!
|
|
2018
|
-
$offset: Int!
|
|
2019
|
-
$status: ConsentTrackerStatus
|
|
2020
|
-
$showZeroActivity: Boolean
|
|
2021
|
-
) {
|
|
2022
|
-
dataFlows(
|
|
2023
|
-
first: $first
|
|
2024
|
-
offset: $offset
|
|
2025
|
-
filterBy: { status: $status, showZeroActivity: $showZeroActivity }
|
|
2026
|
-
input: { airgapBundleId: $airgapBundleId }
|
|
2027
|
-
orderBy: [
|
|
2028
|
-
{ field: createdAt, direction: ASC }
|
|
2029
|
-
{ field: value, direction: ASC }
|
|
2030
|
-
]
|
|
2031
|
-
useMaster: false
|
|
2032
|
-
) {
|
|
2033
|
-
nodes {
|
|
2034
|
-
id
|
|
2035
|
-
value
|
|
2036
|
-
type
|
|
2037
|
-
description
|
|
2038
|
-
trackingType
|
|
2039
|
-
service {
|
|
2040
|
-
integrationName
|
|
2041
|
-
}
|
|
2042
|
-
source
|
|
2043
|
-
status
|
|
2044
|
-
owners {
|
|
2045
|
-
email
|
|
2046
|
-
}
|
|
2047
|
-
teams {
|
|
2048
|
-
name
|
|
2049
|
-
}
|
|
2050
|
-
attributeValues {
|
|
2051
|
-
name
|
|
2052
|
-
attributeKey {
|
|
2053
|
-
name
|
|
2054
|
-
}
|
|
2055
|
-
}
|
|
2056
|
-
}
|
|
2057
|
-
}
|
|
2058
|
-
}
|
|
2059
|
-
`,lo= exports._a =_graphqlrequest.gql`
|
|
2060
|
-
query TranscendCliCookies(
|
|
2061
|
-
$first: Int!
|
|
2062
|
-
$offset: Int!
|
|
2063
|
-
$airgapBundleId: ID!
|
|
2064
|
-
$status: ConsentTrackerStatus
|
|
2065
|
-
) {
|
|
2066
|
-
cookies(
|
|
2067
|
-
first: $first
|
|
2068
|
-
offset: $offset
|
|
2069
|
-
filterBy: { status: $status }
|
|
2070
|
-
input: { airgapBundleId: $airgapBundleId }
|
|
2071
|
-
orderBy: [
|
|
2072
|
-
{ field: createdAt, direction: ASC }
|
|
2073
|
-
{ field: name, direction: ASC }
|
|
2074
|
-
]
|
|
2075
|
-
useMaster: false
|
|
2076
|
-
) {
|
|
2077
|
-
nodes {
|
|
2078
|
-
id
|
|
2079
|
-
name
|
|
2080
|
-
isRegex
|
|
2081
|
-
description
|
|
2082
|
-
trackingPurposes
|
|
2083
|
-
service {
|
|
2084
|
-
integrationName
|
|
2085
|
-
}
|
|
2086
|
-
source
|
|
2087
|
-
status
|
|
2088
|
-
owners {
|
|
2089
|
-
email
|
|
2090
|
-
}
|
|
2091
|
-
teams {
|
|
2092
|
-
name
|
|
2093
|
-
}
|
|
2094
|
-
attributeValues {
|
|
2095
|
-
name
|
|
2096
|
-
attributeKey {
|
|
2097
|
-
name
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
}
|
|
2102
|
-
}
|
|
2103
|
-
`,co= exports.$a =_graphqlrequest.gql`
|
|
2104
|
-
query TranscendCliFetchConsentManagerId {
|
|
2105
|
-
consentManager {
|
|
2106
|
-
consentManager {
|
|
2107
|
-
id
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
}
|
|
2111
|
-
`,mo= exports.ab =_graphqlrequest.gql`
|
|
2112
|
-
query TranscendCliFetchConsentManager {
|
|
2113
|
-
consentManager {
|
|
2114
|
-
consentManager {
|
|
2115
|
-
id
|
|
2116
|
-
bundleURL
|
|
2117
|
-
testBundleURL
|
|
2118
|
-
configuration {
|
|
2119
|
-
domains
|
|
2120
|
-
consentPrecedence
|
|
2121
|
-
unknownRequestPolicy
|
|
2122
|
-
unknownCookiePolicy
|
|
2123
|
-
syncEndpoint
|
|
2124
|
-
telemetryPartitioning
|
|
2125
|
-
signedIabAgreement
|
|
2126
|
-
syncGroups
|
|
2127
|
-
partition
|
|
2128
|
-
}
|
|
2129
|
-
partition {
|
|
2130
|
-
partition
|
|
2131
|
-
}
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
}
|
|
2135
|
-
`,uo= exports.bb =_graphqlrequest.gql`
|
|
2136
|
-
query TranscendCliFetchConsentManagerTheme($airgapBundleId: ID!) {
|
|
2137
|
-
consentManagerTheme(input: { airgapBundleId: $airgapBundleId }) {
|
|
2138
|
-
theme {
|
|
2139
|
-
primaryColor
|
|
2140
|
-
fontColor
|
|
2141
|
-
privacyPolicy
|
|
2142
|
-
prompt
|
|
2143
|
-
}
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
`,fo= exports.cb =_graphqlrequest.gql`
|
|
2147
|
-
mutation TranscendCliCreateConsentManager($privacyCenterId: ID!) {
|
|
2148
|
-
createConsentManager(input: { privacyCenterId: $privacyCenterId }) {
|
|
2149
|
-
consentManager {
|
|
2150
|
-
id
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
}
|
|
2154
|
-
`,go= exports.db =_graphqlrequest.gql`
|
|
2155
|
-
mutation TranscendCliUpdateConsentManager(
|
|
2156
|
-
$airgapBundleId: ID!
|
|
2157
|
-
$version: String!
|
|
2158
|
-
) {
|
|
2159
|
-
updateConsentManager(id: $airgapBundleId, input: { version: $version }) {
|
|
2160
|
-
clientMutationId
|
|
2161
|
-
}
|
|
2162
|
-
}
|
|
2163
|
-
`,yo= exports.eb =_graphqlrequest.gql`
|
|
2164
|
-
mutation TranscendCliUpdateConsentManagerToLatest(
|
|
2165
|
-
$airgapBundleId: ID!
|
|
2166
|
-
$bundleType: ConsentBundleType!
|
|
2167
|
-
) {
|
|
2168
|
-
updateConsentManagerToLatestVersion(
|
|
2169
|
-
id: $airgapBundleId
|
|
2170
|
-
input: { bundleType: $bundleType }
|
|
2171
|
-
) {
|
|
2172
|
-
clientMutationId
|
|
2173
|
-
}
|
|
2174
|
-
}
|
|
2175
|
-
`,Co= exports.fb =_graphqlrequest.gql`
|
|
2176
|
-
mutation TranscendCliDeployConsentManager(
|
|
2177
|
-
$airgapBundleId: ID!
|
|
2178
|
-
$bundleType: ConsentBundleType!
|
|
2179
|
-
) {
|
|
2180
|
-
deployConsentManagerBundle(
|
|
2181
|
-
id: $airgapBundleId
|
|
2182
|
-
input: { bundleType: $bundleType }
|
|
2183
|
-
) {
|
|
2184
|
-
clientMutationId
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
`,ho= exports.gb =_graphqlrequest.gql`
|
|
2188
|
-
mutation TranscendCliUpdateConsentManagerDomains(
|
|
2189
|
-
$airgapBundleId: ID!
|
|
2190
|
-
$domains: [String!]!
|
|
2191
|
-
) {
|
|
2192
|
-
updateConsentManagerDomains(
|
|
2193
|
-
input: { id: $airgapBundleId, domains: $domains }
|
|
2194
|
-
) {
|
|
2195
|
-
clientMutationId
|
|
2196
|
-
}
|
|
2197
|
-
}
|
|
2198
|
-
`,Io= exports.hb =_graphqlrequest.gql`
|
|
2199
|
-
mutation TranscendCliUpdateConsentManagerPartition(
|
|
2200
|
-
$airgapBundleId: ID!
|
|
2201
|
-
$partitionId: ID!
|
|
2202
|
-
) {
|
|
2203
|
-
updateConsentManagerPartition(
|
|
2204
|
-
input: { id: $airgapBundleId, partitionId: $partitionId }
|
|
2205
|
-
) {
|
|
2206
|
-
clientMutationId
|
|
2207
|
-
}
|
|
2208
|
-
}
|
|
2209
|
-
`,Ao= exports.ib =_graphqlrequest.gql`
|
|
2210
|
-
mutation TranscendCliUpdateLoadOptions($input: UpdateLoadOptionsInput!) {
|
|
2211
|
-
updateLoadOptions(input: $input) {
|
|
2212
|
-
clientMutationId
|
|
2213
|
-
}
|
|
2214
|
-
}
|
|
2215
|
-
`,Po= exports.jb =_graphqlrequest.gql`
|
|
2216
|
-
mutation TranscendCliToggleUnknownRequestPolicy(
|
|
2217
|
-
$input: ToggleUnknownRequestPolicyInput!
|
|
2218
|
-
) {
|
|
2219
|
-
toggleUnknownRequestPolicy(input: $input) {
|
|
2220
|
-
clientMutationId
|
|
2221
|
-
}
|
|
2222
|
-
}
|
|
2223
|
-
`,To= exports.kb =_graphqlrequest.gql`
|
|
2224
|
-
mutation TranscendCliToggleUnknownCookiePolicy(
|
|
2225
|
-
$input: ToggleUnknownCookiePolicyInput!
|
|
2226
|
-
) {
|
|
2227
|
-
toggleUnknownCookiePolicy(input: $input) {
|
|
2228
|
-
clientMutationId
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
`,So= exports.lb =_graphqlrequest.gql`
|
|
2232
|
-
mutation TranscendCliToggleTelemetryPartitionStrategy(
|
|
2233
|
-
$input: ToggleTelemetryPartitionStrategyInput!
|
|
2234
|
-
) {
|
|
2235
|
-
toggleTelemetryPartitioning(input: $input) {
|
|
2236
|
-
clientMutationId
|
|
2237
|
-
}
|
|
2238
|
-
}
|
|
2239
|
-
`,Eo= exports.mb =_graphqlrequest.gql`
|
|
2240
|
-
mutation TranscendCliToggleConsentPrecedence(
|
|
2241
|
-
$input: ToggleConsentPrecedenceInput!
|
|
2242
|
-
) {
|
|
2243
|
-
toggleConsentPrecedence(input: $input) {
|
|
2244
|
-
clientMutationId
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
`,Ro= exports.nb =_graphqlrequest.gql`
|
|
2248
|
-
mutation TranscendCliUpdateConsentManagerTheme(
|
|
2249
|
-
$input: UpdateConsentManagerThemeInput!
|
|
2250
|
-
) {
|
|
2251
|
-
updateConsentManagerTheme(input: $input) {
|
|
2252
|
-
clientMutationId
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
`,wo= exports.ob =_graphqlrequest.gql`
|
|
2256
|
-
mutation TranscendCliUpdateConsentExperience($input: UpdateExperienceInput!) {
|
|
2257
|
-
updateExperience(input: $input) {
|
|
2258
|
-
clientMutationId
|
|
2259
|
-
}
|
|
2260
|
-
}
|
|
2261
|
-
`,$o= exports.pb =_graphqlrequest.gql`
|
|
2262
|
-
mutation TranscendCliCreateConsentExperience($input: CreateExperienceInput!) {
|
|
2263
|
-
createExperience(input: $input) {
|
|
2264
|
-
clientMutationId
|
|
2265
|
-
}
|
|
2266
|
-
}
|
|
2267
|
-
`,bo= exports.qb =_graphqlrequest.gql`
|
|
2268
|
-
mutation TranscendCliCreateConsentPartition(
|
|
2269
|
-
$input: CreateConsentPartitionInput!
|
|
2270
|
-
) {
|
|
2271
|
-
createConsentPartition(input: $input) {
|
|
2272
|
-
clientMutationId
|
|
2273
|
-
}
|
|
2274
|
-
}
|
|
2275
|
-
`;var xo=_graphqlrequest.gql`
|
|
2276
|
-
query TranscendCliConsentManagerAnalyticsData($input: AnalyticsInput!) {
|
|
2277
|
-
analyticsData(input: $input) {
|
|
2278
|
-
series {
|
|
2279
|
-
name
|
|
2280
|
-
points {
|
|
2281
|
-
key
|
|
2282
|
-
value
|
|
2283
|
-
}
|
|
2284
|
-
}
|
|
2285
|
-
}
|
|
2286
|
-
}
|
|
2287
|
-
`;var Do=_graphqlrequest.gql`
|
|
2288
|
-
query TranscendCliBusinessEntities($first: Int!, $offset: Int!) {
|
|
2289
|
-
businessEntities(
|
|
2290
|
-
first: $first
|
|
2291
|
-
offset: $offset
|
|
2292
|
-
orderBy: [
|
|
2293
|
-
{ field: createdAt, direction: ASC }
|
|
2294
|
-
{ field: title, direction: ASC }
|
|
2295
|
-
]
|
|
2296
|
-
useMaster: false
|
|
2297
|
-
) {
|
|
2298
|
-
nodes {
|
|
2299
|
-
id
|
|
2300
|
-
title
|
|
2301
|
-
description
|
|
2302
|
-
dataProtectionOfficerName
|
|
2303
|
-
dataProtectionOfficerEmail
|
|
2304
|
-
address
|
|
2305
|
-
headquarterCountry
|
|
2306
|
-
headquarterSubDivision
|
|
2307
|
-
attributeValues {
|
|
2308
|
-
name
|
|
2309
|
-
attributeKey {
|
|
2310
|
-
name
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
`,Lo= exports.tb =_graphqlrequest.gql`
|
|
2317
|
-
mutation TranscendCliCreateBusinessEntity(
|
|
2318
|
-
$input: CreateBusinessEntityInput!
|
|
2319
|
-
) {
|
|
2320
|
-
createBusinessEntity(input: $input) {
|
|
2321
|
-
businessEntity {
|
|
2322
|
-
id
|
|
2323
|
-
title
|
|
2324
|
-
description
|
|
2325
|
-
dataProtectionOfficerName
|
|
2326
|
-
dataProtectionOfficerEmail
|
|
2327
|
-
address
|
|
2328
|
-
headquarterCountry
|
|
2329
|
-
headquarterSubDivision
|
|
2330
|
-
attributeValues {
|
|
2331
|
-
name
|
|
2332
|
-
attributeKey {
|
|
2333
|
-
name
|
|
2334
|
-
}
|
|
2335
|
-
}
|
|
2336
|
-
}
|
|
2337
|
-
}
|
|
2338
|
-
}
|
|
2339
|
-
`,ko= exports.ub =_graphqlrequest.gql`
|
|
2340
|
-
mutation TranscendCliUpdateBusinessEntities(
|
|
2341
|
-
$input: [UpdateBusinessEntityInput!]!
|
|
2342
|
-
) {
|
|
2343
|
-
updateBusinessEntities(input: { businessEntities: $input }) {
|
|
2344
|
-
clientMutationId
|
|
2345
|
-
}
|
|
2346
|
-
}
|
|
2347
|
-
`;var Go=_graphqlrequest.gql`
|
|
2348
|
-
query TranscendCliActions($first: Int!, $offset: Int!) {
|
|
2349
|
-
actions(
|
|
2350
|
-
first: $first
|
|
2351
|
-
offset: $offset
|
|
2352
|
-
useMaster: false
|
|
2353
|
-
orderBy: [{ field: type, direction: ASC }]
|
|
2354
|
-
) {
|
|
2355
|
-
nodes {
|
|
2356
|
-
id
|
|
2357
|
-
type
|
|
2358
|
-
skipSecondaryIfNoFiles
|
|
2359
|
-
skipDownloadableStep
|
|
2360
|
-
requiresReview
|
|
2361
|
-
regionList
|
|
2362
|
-
regionDetectionMethod
|
|
2363
|
-
waitingPeriod
|
|
2364
|
-
}
|
|
2365
|
-
}
|
|
2366
|
-
}
|
|
2367
|
-
`,vo= exports.wb =_graphqlrequest.gql`
|
|
2368
|
-
mutation TranscendCliUpdateAction($input: UpdateActionInput!) {
|
|
2369
|
-
updateAction(input: $input) {
|
|
2370
|
-
clientMutationId
|
|
2371
|
-
}
|
|
2372
|
-
}
|
|
2373
|
-
`;var qo=_graphqlrequest.gql`
|
|
2374
|
-
query TranscendCliGlobalActionItems(
|
|
2375
|
-
$first: Int!
|
|
2376
|
-
$offset: Int!
|
|
2377
|
-
$filterBy: GlobalActionItemFiltersInput!
|
|
2378
|
-
) {
|
|
2379
|
-
globalActionItems(first: $first, offset: $offset, filterBy: $filterBy) {
|
|
2380
|
-
nodes {
|
|
2381
|
-
ids
|
|
2382
|
-
count
|
|
2383
|
-
teams {
|
|
2384
|
-
id
|
|
2385
|
-
name
|
|
2386
|
-
}
|
|
2387
|
-
customerExperienceActionItemIds
|
|
2388
|
-
users {
|
|
2389
|
-
id
|
|
2390
|
-
email
|
|
2391
|
-
}
|
|
2392
|
-
collections {
|
|
2393
|
-
title
|
|
2394
|
-
id
|
|
2395
|
-
}
|
|
2396
|
-
dueDate
|
|
2397
|
-
priority
|
|
2398
|
-
titles
|
|
2399
|
-
resolved
|
|
2400
|
-
notes
|
|
2401
|
-
links
|
|
2402
|
-
type
|
|
2403
|
-
additionalContexts {
|
|
2404
|
-
iconOverride
|
|
2405
|
-
requestId
|
|
2406
|
-
dataSiloId
|
|
2407
|
-
requestType
|
|
2408
|
-
latestAirgapVersion
|
|
2409
|
-
parentTitle
|
|
2410
|
-
}
|
|
2411
|
-
attributeValues {
|
|
2412
|
-
name
|
|
2413
|
-
attributeKey {
|
|
2414
|
-
name
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
}
|
|
2418
|
-
}
|
|
2419
|
-
}
|
|
2420
|
-
`,Oo= exports.yb =_graphqlrequest.gql`
|
|
2421
|
-
mutation TranscendCliUpdateActionItems($input: UpdateActionItemsInput!) {
|
|
2422
|
-
updateActionItems(input: $input) {
|
|
2423
|
-
clientMutationId
|
|
2424
|
-
}
|
|
2425
|
-
}
|
|
2426
|
-
`,No= exports.zb =_graphqlrequest.gql`
|
|
2427
|
-
mutation TranscendCliCreateActionItems($input: [CreateActionItemsInput!]!) {
|
|
2428
|
-
createActionItems(input: $input) {
|
|
2429
|
-
clientMutationId
|
|
2430
|
-
}
|
|
2431
|
-
}
|
|
2432
|
-
`;var Mo=_graphqlrequest.gql`
|
|
2433
|
-
query TranscendCliFetchPrivacyCenterId($url: String!) {
|
|
2434
|
-
privacyCenter(lookup: { url: $url }) {
|
|
2435
|
-
id
|
|
2436
|
-
}
|
|
2437
|
-
}
|
|
2438
|
-
`,Uo= exports.Bb =_graphqlrequest.gql`
|
|
2439
|
-
query TranscendCliDeployedPrivacyCenterUrl {
|
|
2440
|
-
organization {
|
|
2441
|
-
deployedPrivacyCenterUrl
|
|
2442
|
-
}
|
|
2443
|
-
}
|
|
2444
|
-
`,Fo= exports.Cb =_graphqlrequest.gql`
|
|
2445
|
-
query TranscendCliFetchPrivacyCenters($url: String!) {
|
|
2446
|
-
privacyCenter(lookup: { url: $url }) {
|
|
2447
|
-
id
|
|
2448
|
-
url
|
|
2449
|
-
isDisabled
|
|
2450
|
-
showPrivacyRequestButton
|
|
2451
|
-
showPolicies
|
|
2452
|
-
showTrackingTechnologies
|
|
2453
|
-
showCookies
|
|
2454
|
-
showDataFlows
|
|
2455
|
-
showConsentManager
|
|
2456
|
-
showManageYourPrivacy
|
|
2457
|
-
showMarketingPreferences
|
|
2458
|
-
locales
|
|
2459
|
-
defaultLocale
|
|
2460
|
-
preferBrowserDefaultLocale
|
|
2461
|
-
supportEmail
|
|
2462
|
-
replyToEmail
|
|
2463
|
-
useNoReplyEmailAddress
|
|
2464
|
-
useCustomEmailDomain
|
|
2465
|
-
transformAccessReportJsonToCsv
|
|
2466
|
-
themeStr
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
`,Qo= exports.Db =_graphqlrequest.gql`
|
|
2470
|
-
mutation TranscendCliUpdatePrivacyCenter($input: UpdatePrivacyCenterInput!) {
|
|
2471
|
-
updatePrivacyCenter(input: $input) {
|
|
2472
|
-
clientMutationId
|
|
2473
|
-
}
|
|
2474
|
-
}
|
|
2475
|
-
`;var dn=_graphqlrequest.gql`
|
|
2476
|
-
mutation TranscendCliDetermineLoginMethod($email: String!) {
|
|
2477
|
-
determineLoginMethod(input: { email: $email }) {
|
|
2478
|
-
loginMethod {
|
|
2479
|
-
email
|
|
2480
|
-
sombraPublicKey
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
`,Bo= exports.Fb =_graphqlrequest.gql`
|
|
2485
|
-
mutation TranscendCliLogin(
|
|
2486
|
-
$email: String!
|
|
2487
|
-
$password: String!
|
|
2488
|
-
$publicKey: String!
|
|
2489
|
-
) {
|
|
2490
|
-
login(
|
|
2491
|
-
input: { email: $email, password: $password }
|
|
2492
|
-
publicKey: $publicKey
|
|
2493
|
-
) {
|
|
2494
|
-
user {
|
|
2495
|
-
roles {
|
|
2496
|
-
id
|
|
2497
|
-
organization {
|
|
2498
|
-
name
|
|
2499
|
-
id
|
|
2500
|
-
uri
|
|
2501
|
-
parentOrganizationId
|
|
2502
|
-
}
|
|
2503
|
-
}
|
|
2504
|
-
}
|
|
2505
|
-
}
|
|
2506
|
-
}
|
|
2507
|
-
`,Ko= exports.Gb =_graphqlrequest.gql`
|
|
2508
|
-
mutation TranscendCliAssumeRole($id: ID!, $publicKey: String!) {
|
|
2509
|
-
assumeRole(id: $id, publicKey: $publicKey) {
|
|
2510
|
-
clientMutationId
|
|
2511
|
-
}
|
|
2512
|
-
}
|
|
2513
|
-
`;var Lm=_graphqlrequest.gql`
|
|
2514
|
-
query TranscendCliLargeLanguageModels(
|
|
2515
|
-
$first: Int!
|
|
2516
|
-
$offset: Int!
|
|
2517
|
-
$filterBy: LargeLanguageModelFiltersInput
|
|
2518
|
-
) {
|
|
2519
|
-
largeLanguageModels(
|
|
2520
|
-
first: $first
|
|
2521
|
-
orderBy: [
|
|
2522
|
-
{ field: name, direction: ASC }
|
|
2523
|
-
{ field: client, direction: ASC }
|
|
2524
|
-
{ field: isTranscendHosted, direction: ASC }
|
|
2525
|
-
]
|
|
2526
|
-
offset: $offset
|
|
2527
|
-
filterBy: $filterBy
|
|
2528
|
-
) {
|
|
2529
|
-
nodes {
|
|
2530
|
-
id
|
|
2531
|
-
name
|
|
2532
|
-
client
|
|
2533
|
-
isTranscendHosted
|
|
2534
|
-
}
|
|
2535
|
-
}
|
|
2536
|
-
}
|
|
2537
|
-
`;var Vo=_graphqlrequest.gql`
|
|
2538
|
-
query TranscendCliAgents(
|
|
2539
|
-
$first: Int!
|
|
2540
|
-
$offset: Int!
|
|
2541
|
-
$filterBy: AgentFiltersInput
|
|
2542
|
-
) {
|
|
2543
|
-
agents(
|
|
2544
|
-
first: $first
|
|
2545
|
-
offset: $offset
|
|
2546
|
-
filterBy: $filterBy
|
|
2547
|
-
orderBy: [
|
|
2548
|
-
{ field: createdAt, direction: ASC }
|
|
2549
|
-
{ field: name, direction: ASC }
|
|
2550
|
-
]
|
|
2551
|
-
) {
|
|
2552
|
-
nodes {
|
|
2553
|
-
id
|
|
2554
|
-
name
|
|
2555
|
-
agentId
|
|
2556
|
-
instructions
|
|
2557
|
-
description
|
|
2558
|
-
codeInterpreterEnabled
|
|
2559
|
-
retrievalEnabled
|
|
2560
|
-
prompt {
|
|
2561
|
-
title
|
|
2562
|
-
}
|
|
2563
|
-
largeLanguageModel {
|
|
2564
|
-
name
|
|
2565
|
-
client
|
|
2566
|
-
}
|
|
2567
|
-
teams {
|
|
2568
|
-
name
|
|
2569
|
-
}
|
|
2570
|
-
owners {
|
|
2571
|
-
email
|
|
2572
|
-
}
|
|
2573
|
-
agentFunctions {
|
|
2574
|
-
name
|
|
2575
|
-
}
|
|
2576
|
-
agentFiles {
|
|
2577
|
-
name
|
|
2578
|
-
}
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
}
|
|
2582
|
-
`,jo= exports.Jb =_graphqlrequest.gql`
|
|
2583
|
-
mutation TranscendCliCreateAgent($input: CreateAgentInput!) {
|
|
2584
|
-
createAgent(input: $input) {
|
|
2585
|
-
agent {
|
|
2586
|
-
id
|
|
2587
|
-
name
|
|
2588
|
-
agentId
|
|
2589
|
-
}
|
|
2590
|
-
}
|
|
2591
|
-
}
|
|
2592
|
-
`,Yo= exports.Kb =_graphqlrequest.gql`
|
|
2593
|
-
mutation TranscendCliUpdateAgents($input: UpdateAgentsInput!) {
|
|
2594
|
-
updateAgents(input: $input) {
|
|
2595
|
-
clientMutationId
|
|
2596
|
-
}
|
|
2597
|
-
}
|
|
2598
|
-
`;var Zo=_graphqlrequest.gql`
|
|
2599
|
-
query TranscendCliAgentFiles(
|
|
2600
|
-
$first: Int!
|
|
2601
|
-
$offset: Int!
|
|
2602
|
-
$filterBy: AgentFileFiltersInput
|
|
2603
|
-
) {
|
|
2604
|
-
agentFiles(
|
|
2605
|
-
first: $first
|
|
2606
|
-
offset: $offset
|
|
2607
|
-
filterBy: $filterBy
|
|
2608
|
-
orderBy: [
|
|
2609
|
-
{ field: createdAt, direction: ASC }
|
|
2610
|
-
{ field: name, direction: ASC }
|
|
2611
|
-
]
|
|
2612
|
-
) {
|
|
2613
|
-
nodes {
|
|
2614
|
-
id
|
|
2615
|
-
name
|
|
2616
|
-
description
|
|
2617
|
-
fileId
|
|
2618
|
-
size
|
|
2619
|
-
purpose
|
|
2620
|
-
initialFileName
|
|
2621
|
-
}
|
|
2622
|
-
}
|
|
2623
|
-
}
|
|
2624
|
-
`,Ho= exports.Mb =_graphqlrequest.gql`
|
|
2625
|
-
mutation TranscendCliCreateAgentFile($input: CreateAgentFileInput!) {
|
|
2626
|
-
createAgentFile(input: $input) {
|
|
2627
|
-
agentFile {
|
|
2628
|
-
id
|
|
2629
|
-
name
|
|
2630
|
-
fileId
|
|
2631
|
-
initialFileName
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
`,Wo= exports.Nb =_graphqlrequest.gql`
|
|
2636
|
-
mutation TranscendCliUpdateAgentFiles($input: UpdateAgentFilesInput!) {
|
|
2637
|
-
updateAgentFiles(input: $input) {
|
|
2638
|
-
clientMutationId
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
`;var zo=_graphqlrequest.gql`
|
|
2642
|
-
query TranscendCliAgentFunctions($first: Int!, $offset: Int!) {
|
|
2643
|
-
agentFunctions(
|
|
2644
|
-
first: $first
|
|
2645
|
-
offset: $offset
|
|
2646
|
-
orderBy: [
|
|
2647
|
-
{ field: createdAt, direction: ASC }
|
|
2648
|
-
{ field: name, direction: ASC }
|
|
2649
|
-
]
|
|
2650
|
-
) {
|
|
2651
|
-
nodes {
|
|
2652
|
-
id
|
|
2653
|
-
name
|
|
2654
|
-
description
|
|
2655
|
-
parameters
|
|
2656
|
-
}
|
|
2657
|
-
}
|
|
2658
|
-
}
|
|
2659
|
-
`,Jo= exports.Pb =_graphqlrequest.gql`
|
|
2660
|
-
mutation TranscendCliCreateAgentFunction($input: CreateAgentFunctionInput!) {
|
|
2661
|
-
createAgentFunction(input: $input) {
|
|
2662
|
-
agentFunction {
|
|
2663
|
-
id
|
|
2664
|
-
name
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
|
-
`,Xo= exports.Qb =_graphqlrequest.gql`
|
|
2669
|
-
mutation TranscendCliUpdateAgentFunctions(
|
|
2670
|
-
$input: UpdateAgentFunctionsInput!
|
|
2671
|
-
) {
|
|
2672
|
-
updateAgentFunctions(input: $input) {
|
|
2673
|
-
clientMutationId
|
|
2674
|
-
}
|
|
2675
|
-
}
|
|
2676
|
-
`;var es=_graphqlrequest.gql`
|
|
2677
|
-
query TranscendCliVendors($first: Int!, $offset: Int!) {
|
|
2678
|
-
vendors(
|
|
2679
|
-
first: $first
|
|
2680
|
-
offset: $offset
|
|
2681
|
-
useMaster: false
|
|
2682
|
-
isExportCsv: true
|
|
2683
|
-
orderBy: [
|
|
2684
|
-
{ field: createdAt, direction: ASC }
|
|
2685
|
-
{ field: title, direction: ASC }
|
|
2686
|
-
]
|
|
2687
|
-
) {
|
|
2688
|
-
nodes {
|
|
2689
|
-
id
|
|
2690
|
-
title
|
|
2691
|
-
description
|
|
2692
|
-
dataProcessingAgreementLink
|
|
2693
|
-
contactName
|
|
2694
|
-
contactEmail
|
|
2695
|
-
contactPhone
|
|
2696
|
-
address
|
|
2697
|
-
headquarterCountry
|
|
2698
|
-
headquarterSubDivision
|
|
2699
|
-
websiteUrl
|
|
2700
|
-
businessEntity {
|
|
2701
|
-
title
|
|
2702
|
-
}
|
|
2703
|
-
teams {
|
|
2704
|
-
name
|
|
2705
|
-
}
|
|
2706
|
-
owners {
|
|
2707
|
-
email
|
|
2708
|
-
}
|
|
2709
|
-
attributeValues {
|
|
2710
|
-
attributeKey {
|
|
2711
|
-
name
|
|
2712
|
-
}
|
|
2713
|
-
name
|
|
2714
|
-
}
|
|
2715
|
-
}
|
|
2716
|
-
}
|
|
2717
|
-
}
|
|
2718
|
-
`,ts= exports.Sb =_graphqlrequest.gql`
|
|
2719
|
-
mutation TranscendCliCreateVendor($input: CreateVendorInput!) {
|
|
2720
|
-
createVendor(input: $input) {
|
|
2721
|
-
vendor {
|
|
2722
|
-
id
|
|
2723
|
-
title
|
|
2724
|
-
}
|
|
2725
|
-
}
|
|
2726
|
-
}
|
|
2727
|
-
`,ns= exports.Tb =_graphqlrequest.gql`
|
|
2728
|
-
mutation TranscendCliUpdateVendor($input: UpdateVendorsInput!) {
|
|
2729
|
-
updateVendors(input: $input) {
|
|
2730
|
-
clientMutationId
|
|
2731
|
-
}
|
|
2732
|
-
}
|
|
2733
|
-
`;var is=_graphqlrequest.gql`
|
|
2734
|
-
query TranscendCliDataSubCategories($first: Int!, $offset: Int!) {
|
|
2735
|
-
dataSubCategories(
|
|
2736
|
-
first: $first
|
|
2737
|
-
offset: $offset
|
|
2738
|
-
isExportCsv: true
|
|
2739
|
-
useMaster: false
|
|
2740
|
-
) {
|
|
2741
|
-
nodes {
|
|
2742
|
-
id
|
|
2743
|
-
name
|
|
2744
|
-
category
|
|
2745
|
-
description
|
|
2746
|
-
regex
|
|
2747
|
-
teams {
|
|
2748
|
-
name
|
|
2749
|
-
}
|
|
2750
|
-
owners {
|
|
2751
|
-
email
|
|
2752
|
-
}
|
|
2753
|
-
attributeValues {
|
|
2754
|
-
attributeKey {
|
|
2755
|
-
name
|
|
2756
|
-
}
|
|
2757
|
-
name
|
|
2758
|
-
}
|
|
2759
|
-
}
|
|
2760
|
-
}
|
|
2761
|
-
}
|
|
2762
|
-
`,rs= exports.Vb =_graphqlrequest.gql`
|
|
2763
|
-
mutation TranscendCliCreateDataSubCategory(
|
|
2764
|
-
$input: CreateDataInventorySubCategoryInput!
|
|
2765
|
-
) {
|
|
2766
|
-
createDataSubCategory(input: $input) {
|
|
2767
|
-
dataSubCategory {
|
|
2768
|
-
id
|
|
2769
|
-
name
|
|
2770
|
-
category
|
|
2771
|
-
}
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
`,os= exports.Wb =_graphqlrequest.gql`
|
|
2775
|
-
mutation TranscendCliUpdateDataSubCategories(
|
|
2776
|
-
$input: UpdateDataSubCategoriesInput!
|
|
2777
|
-
) {
|
|
2778
|
-
updateDataSubCategories(input: $input) {
|
|
2779
|
-
clientMutationId
|
|
2780
|
-
}
|
|
2781
|
-
}
|
|
2782
|
-
`;var ss=_graphqlrequest.gql`
|
|
2783
|
-
query TranscendCliProcessingPurposeSubCategories(
|
|
2784
|
-
$first: Int!
|
|
2785
|
-
$offset: Int!
|
|
2786
|
-
) {
|
|
2787
|
-
processingPurposeSubCategories(
|
|
2788
|
-
first: $first
|
|
2789
|
-
offset: $offset
|
|
2790
|
-
isExportCsv: true
|
|
2791
|
-
useMaster: false
|
|
2792
|
-
) {
|
|
2793
|
-
nodes {
|
|
2794
|
-
id
|
|
2795
|
-
name
|
|
2796
|
-
purpose
|
|
2797
|
-
description
|
|
2798
|
-
teams {
|
|
2799
|
-
name
|
|
2800
|
-
}
|
|
2801
|
-
owners {
|
|
2802
|
-
email
|
|
2803
|
-
}
|
|
2804
|
-
attributeValues {
|
|
2805
|
-
attributeKey {
|
|
2806
|
-
name
|
|
2807
|
-
}
|
|
2808
|
-
name
|
|
2809
|
-
}
|
|
2810
|
-
}
|
|
2811
|
-
}
|
|
2812
|
-
}
|
|
2813
|
-
`,as= exports.Yb =_graphqlrequest.gql`
|
|
2814
|
-
mutation TranscendCliCreateProcessingPurposeSubCategory(
|
|
2815
|
-
$input: CreateProcessingPurposeCategoryInput!
|
|
2816
|
-
) {
|
|
2817
|
-
createProcessingPurposeSubCategory(input: $input) {
|
|
2818
|
-
processingPurposeSubCategory {
|
|
2819
|
-
id
|
|
2820
|
-
name
|
|
2821
|
-
purpose
|
|
2822
|
-
}
|
|
2823
|
-
}
|
|
2824
|
-
}
|
|
2825
|
-
`,ps= exports.Zb =_graphqlrequest.gql`
|
|
2826
|
-
mutation TranscendCliUpdateProcessingPurposeSubCategories(
|
|
2827
|
-
$input: UpdateProcessingPurposeSubCategoriesInput!
|
|
2828
|
-
) {
|
|
2829
|
-
updateProcessingPurposeSubCategories(input: $input) {
|
|
2830
|
-
clientMutationId
|
|
2831
|
-
}
|
|
2832
|
-
}
|
|
2833
|
-
`;var ls=_graphqlrequest.gql`
|
|
2834
|
-
query TranscendCliProcessingActivities($first: Int!, $offset: Int!) {
|
|
2835
|
-
processingActivities(first: $first, offset: $offset, useMaster: false) {
|
|
2836
|
-
nodes {
|
|
2837
|
-
id
|
|
2838
|
-
title
|
|
2839
|
-
description
|
|
2840
|
-
securityMeasureDetails
|
|
2841
|
-
controllerships
|
|
2842
|
-
storageRegions {
|
|
2843
|
-
countrySubDivision
|
|
2844
|
-
country
|
|
2845
|
-
}
|
|
2846
|
-
transferRegions {
|
|
2847
|
-
countrySubDivision
|
|
2848
|
-
country
|
|
2849
|
-
}
|
|
2850
|
-
retentionType
|
|
2851
|
-
retentionPeriod
|
|
2852
|
-
dataProtectionImpactAssessmentLink
|
|
2853
|
-
dataProtectionImpactAssessmentStatus
|
|
2854
|
-
attributeValues {
|
|
2855
|
-
name
|
|
2856
|
-
attributeKey {
|
|
2857
|
-
name
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2860
|
-
dataSilos {
|
|
2861
|
-
title
|
|
2862
|
-
}
|
|
2863
|
-
dataSubjects {
|
|
2864
|
-
type
|
|
2865
|
-
}
|
|
2866
|
-
teams {
|
|
2867
|
-
name
|
|
2868
|
-
}
|
|
2869
|
-
owners {
|
|
2870
|
-
email
|
|
2871
|
-
}
|
|
2872
|
-
processingPurposeSubCategories {
|
|
2873
|
-
name
|
|
2874
|
-
purpose
|
|
2875
|
-
}
|
|
2876
|
-
dataSubCategories {
|
|
2877
|
-
name
|
|
2878
|
-
category
|
|
2879
|
-
}
|
|
2880
|
-
saaSCategories {
|
|
2881
|
-
title
|
|
2882
|
-
}
|
|
2883
|
-
}
|
|
2884
|
-
}
|
|
2885
|
-
}
|
|
2886
|
-
`;var cs=_graphqlrequest.gql`
|
|
2887
|
-
query TranscendSombraVersion {
|
|
2888
|
-
organization {
|
|
2889
|
-
sombra {
|
|
2890
|
-
version
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
`;var _colors = require('colors'); var _colors2 = _interopRequireDefault(_colors);var Ja=4;function Xa(t){return new Promise(e=>{setTimeout(()=>e(t),t)})}var ep=["syntax error","got invalid value","Client error","cannot affect row a second time","GRAPHQL_VALIDATION_FAILED"];async function p(t,e,n,r,i=Ja){let s=0;for(;;)try{return await t.request(e,n,r)}catch(o){if(o.message.includes("API key is invalid")&&(_chunkZUNVPK23cjs.a.error(_colors2.default.red("API key is invalid. Please ensure that the key provided to `transcendAuth` has the proper scope and is not expired, and that `transcendUrl` corresponds to the correct backend for your organization.")),process.exit(1)),ep.some(l=>o.message.includes(l)))throw o;if(o.message.startsWith("Client error: Too many requests")){let l=_optionalChain([o, 'access', _2 => _2.response, 'access', _3 => _3.headers, 'optionalAccess', _4 => _4.get, 'call', _5 => _5("x-ratelimit-reset")]),u=l?new Date(l).getTime()-new Date().getTime()+100:1e3*10;_chunkZUNVPK23cjs.a.log(_colors2.default.yellow(`DETECTED RATE LIMIT: ${o.message}. Sleeping for ${u}ms`)),await Xa(u)}if(s>=i)throw o;s+=1,_chunkZUNVPK23cjs.a.log(_colors2.default.yellow(`REQUEST FAILED: ${o.message}. Retrying ${s}/${i}...`))}}var Tn=20;async function Sn(t){let e=[],n=0,r=!1;do{let{identifiers:{nodes:i}}=await p(t,Gi,{first:Tn,offset:n});e.push(...i),n+=Tn,r=i.length===Tn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function ms({enrichers:t=[],"data-silos":e=[],identifiers:n=[]},r,i=!1){let s=await Sn(r),o=_chunkT7B5NTGFcjs.e.call(void 0, s,"name"),l=_chunkT7B5NTGFcjs.j.call(void 0, [..._chunkT7B5NTGFcjs.a.call(void 0, t.map(c=>[c["input-identifier"],...c["output-identifiers"]])),..._chunkT7B5NTGFcjs.a.call(void 0, e.map(c=>c["identity-keys"])),...n.map(({name:c})=>c)]).filter(c=>!!c),u=_chunkT7B5NTGFcjs.c.call(void 0, l,s.map(({name:c})=>c));if(u.length>0){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating ${u.length} new identifiers...`));let{newIdentifierTypes:c}=await p(r,vi),d=c.map(({name:m})=>m);await T(u,async m=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating identifier ${m}...`));let{createIdentifier:g}=await p(r,qi,{input:{name:m,type:d.includes(m)?m:"custom",skipPublish:i}});_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Created identifier ${m}!`)),o[m]=g.identifier})}return o}async function us(t,{identifier:e,dataSubjectsByName:n,identifierId:r,skipPublish:i=!1}){await p(t,Oi,{input:{id:r,selectOptions:e.selectOptions,isRequiredInForm:e.isRequiredInForm,regex:e.regex,placeholder:e.placeholder,displayTitle:e.displayTitle,displayDescription:e.displayDescription,displayOrder:e.displayOrder,privacyCenterVisibility:e.privacyCenterVisibility,dataSubjectIds:e.dataSubjects?e.dataSubjects.map(s=>n[s].id):void 0,skipPublish:i}})}var _privacytypes = require('@transcend-io/privacy-types');var En=20;async function Rn(t,e){let n=[],r=0,i=!1;do{let{enrichers:{nodes:s}}=await p(t,Di,{first:En,offset:r,title:e});n.push(...s),r+=En,i=s.length===En}while(i);return n.sort((s,o)=>s.title.localeCompare(o.title))}async function fs(t,{enricher:e,identifierByName:n,dataSubjectsByName:r}){let s=(await Rn(t,e.title)).find(({title:c})=>c===e.title),o=_optionalChain([e, 'access', _6 => _6["data-subjects"], 'optionalAccess', _7 => _7.map, 'call', _8 => _8(c=>{let d=r[c];if(!d)throw new Error(`Failed to find a data subject with name: ${c}`);return d.id})]),l=e["input-identifier"],u=e["privacy-actions"]||Object.values(_privacytypes.RequestAction);s?await p(t,ki,{input:{id:s.id,title:e.title,url:e.url,headers:e.headers,testRegex:e.testRegex,lookerQueryTitle:e.lookerQueryTitle,expirationDuration:typeof e.expirationDuration=="number"?e.expirationDuration.toString():void 0,transitionRequestStatus:e.transitionRequestStatus,phoneNumbers:e.phoneNumbers,regionList:e.regionList,dataSubjectIds:o,description:e.description||"",inputIdentifier:l?n[l].id:void 0,identifiers:e["output-identifiers"].map(c=>n[c].id),...s.type===_privacytypes.EnricherType.Sombra?{}:{actions:u}}}):l&&await p(t,Li,{input:{title:e.title,url:e.url,type:e.type||_privacytypes.EnricherType.Server,headers:e.headers,testRegex:e.testRegex,lookerQueryTitle:e.lookerQueryTitle,expirationDuration:typeof e.expirationDuration=="number"?e.expirationDuration.toString():void 0,transitionRequestStatus:e.transitionRequestStatus,phoneNumbers:e.phoneNumbers,dataSubjectIds:o,regionList:e.regionList,description:e.description||"",inputIdentifier:n[l].id,identifiers:e["output-identifiers"].map(c=>n[c].id),actions:u}})}async function gs(t,e,{existingAttribute:n,deleteExtraAttributeValues:r}){let i={name:e.name,enabledOn:e.resources},s;if(n)await p(t,to,{attributeKeyId:n.id,description:n.isCustom?e.description:void 0,...i}),s=n.id;else{let{createAttributeKey:{attributeKey:d}}=await p(t,eo,{type:e.type,description:e.description,...i});s=d.id}let o=_chunkT7B5NTGFcjs.e.call(void 0, _optionalChain([n, 'optionalAccess', _9 => _9.values])||[],"name"),{existingValues:l=[],newValues:u=[]}=_chunkT7B5NTGFcjs.d.call(void 0, e.values||[],d=>o[d.name]?"existingValues":"newValues"),c=_chunkT7B5NTGFcjs.c.call(void 0, (_optionalChain([n, 'optionalAccess', _10 => _10.values])||[]).map(({name:d})=>d),(e.values||[]).map(({name:d})=>d));u.length>0&&(await p(t,Wr,{input:u.map(({name:d,...m})=>({name:d,attributeKeyId:s,...m}))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Created ${u.length} attribute values`))),l.length>0&&(await p(t,zr,{input:l.map(({name:d,...m})=>({id:o[d].id,name:d,description:o[d].description,color:o[d].color,...m,attributeKeyId:s}))}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Updated ${l.length} attribute values`))),c.length>0&&r&&(await Q(c,async d=>{await p(t,Jr,{id:o[d].id})},{concurrency:10}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Deleted ${c.length} attribute values`)))}async function ht(t){let{internalSubjects:e}=await p(t,Ni);return e}async function ys({"data-silos":t=[],"data-subjects":e=[],enrichers:n=[]},r,i=!1){let s=_chunkT7B5NTGFcjs.j.call(void 0, [..._chunkT7B5NTGFcjs.a.call(void 0, t.map(c=>c["data-subjects"]||[])||[]),..._chunkT7B5NTGFcjs.a.call(void 0, n.map(c=>c["data-subjects"]||[])||[]),...e.map(c=>c.type)]);if(s.length===0&&!i)return{};let o=await ht(r),l=_chunkT7B5NTGFcjs.e.call(void 0, o,"type"),u=_chunkT7B5NTGFcjs.c.call(void 0, s,o.map(({type:c})=>c));return u.length>0&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating ${u.length} new data subjects...`)),await T(u,async c=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating data subject ${c}...`));let{createSubject:d}=await p(r,Mi,{type:c,skipPublish:!0});_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Created data subject ${c}!`)),l[c]=d.subject})),l}function Cs(t,e){return t.forEach(n=>{if(!e[n])throw new Error(`Expected to find data subject definition: ${n}`)}),Object.values(e).filter(n=>!t.includes(n.type)).map(({id:n})=>n)}function hs(t,e){return t.forEach(n=>{if(!e[n])throw new Error(`Expected to find data subject definition: ${n}`)}),Object.values(e).filter(n=>!t.includes(n.type)).map(({type:n})=>n)}var _cliprogress = require('cli-progress'); var _cliprogress2 = _interopRequireDefault(_cliprogress);var _typeutils = require('@transcend-io/type-utils');var bn=20;async function As(t,{titles:e,pageSize:n,ids:r=[],gql:i=$i,integrationNames:s=[]}){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching ${r.length===0?"all":r.length} Data Silos...`));let o=[],l=0,u=!1;do{let{dataSilos:{nodes:c}}=await p(t,i,{filterBy:{ids:r.length>0?r:void 0,type:s.length>0?s:void 0,titles:e},first:n,offset:l});o.push(...c),l+=n,u=c.length===n}while(u);return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Found a total of ${o.length} data silo${r.length>0?` matching IDs ${r.join(",")}`:""}s${s.length>0?` matching integrationNames ${s.join(",")}`:""}`)),o.sort((c,d)=>c.title.localeCompare(d.title))}async function ip(t,e,{debug:n,includeGuessedCategories:r,pageSize:i}){let s=[],o=0,l=!1;do try{n&&_chunkZUNVPK23cjs.a.log(_colors2.default.magenta(`Pulling in subdatapoints for offset ${o}`));let{subDataPoints:{nodes:u}}=await p(t,r?Ri:Ei,{first:i,filterBy:{dataPoints:[e]},offset:o});s.push(...u),o+=i,l=u.length===i,n&&_chunkZUNVPK23cjs.a.log(_colors2.default.green(`Pulled in subdatapoints for offset ${o} for dataPointId=${e}`))}catch(u){throw _chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error fetching subdatapoints for offset ${o} for dataPointId=${e}`)),u}while(l);return _chunkT7B5NTGFcjs.g.call(void 0, s,"name")}async function rp(t,e,{debug:n,pageSize:r,skipSubDatapoints:i,includeGuessedCategories:s}){let o=[],l=0,u=!1;do{n&&_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching datapoints with offset: ${l}`));let{dataPoints:{nodes:c}}=await p(t,Si,{first:r,filterBy:{dataSilos:[e]},offset:l});n&&_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetched ${c.length} datapoints at offset: ${l}`)),i||(await Q(c,async d=>{try{n&&_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching subdatapoints for ${d.name} for datapoint offset ${l}`));let m=await ip(t,d.id,{pageSize:1e3,debug:n,includeGuessedCategories:s});o.push({...d,subDataPoints:m.sort((g,h)=>g.name.localeCompare(h.name))}),n&&_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully fetched subdatapoints for ${d.name}`))}catch(m){throw _chunkZUNVPK23cjs.a.error(_colors2.default.red(`An error fetching subdatapoints for ${d.name} datapoint offset ${l}`)),m}},{concurrency:5}),n&&_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Fetched all subdatapoints for page of datapoints at offset: ${l}`))),l+=r,u=c.length===r}while(u);return o.sort((c,d)=>c.name.localeCompare(d.name))}async function Ps(t,{ids:e,pageSize:n,titles:r,debug:i,skipDatapoints:s,skipSubDatapoints:o,includeGuessedCategories:l,integrationNames:u}){let c=[],d=await As(t,{titles:r,ids:e,integrationNames:u,pageSize:n,gql:bi});return s||await T(d,async(m,g)=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`[${g+1}/${d.length}] Fetching data silo - ${m.title}`));let h=await rp(t,m.id,{debug:i,pageSize:n,skipSubDatapoints:o,includeGuessedCategories:l});i&&_chunkZUNVPK23cjs.a.info(_colors2.default.green(`[${g+1}/${d.length}] Successfully fetched datapoint for - ${m.title}`)),c.push([m,h])}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully fetched all ${d.length} data silo configurations`)),c}async function Ts(t,e,{pageSize:n,dataSubjectsByName:r,apiKeysByTitle:i}){let s=!1,o=new Date().getTime();_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${t.length}" data silos...`));let l=await As(e,{titles:t.map(({title:O})=>O),pageSize:n}),u=_chunkT7B5NTGFcjs.e.call(void 0, l,"title"),c=t.filter(({title:O})=>!u[O]);if(c.length>0){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${c.length}" data silos that did not exist...`));let O=_chunkT7B5NTGFcjs.b.call(void 0, c,bn);await T(O,async j=>{let{createDataSilos:{dataSilos:P}}=await p(e,xi,{input:j.map(Z=>({name:Z["outer-type"]||Z.integrationName,title:Z.title,country:Z.country,countrySubDivision:Z.countrySubDivision}))});P.forEach(Z=>{u[Z.title]=Z})}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created "${c.length}" data silos!`))}let d=_chunkT7B5NTGFcjs.b.call(void 0, t,bn);await T(d,async(O,j)=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`[Batch ${j+1}/${d.length}] Syncing "${O.length}" data silos`)),await p(e,en,{input:{dataSilos:O.map(P=>({id:u[P.title].id,country:P.country,countrySubDivision:P.countrySubDivision,url:P.url,headers:P.headers,description:P.description,identifiers:P["identity-keys"],isLive:!P.disabled,ownerEmails:P.owners,teamNames:P.teams,dependedOnDataSiloTitles:P["deletion-dependencies"]?void 0:[],apiKeyId:P["api-key-title"]?i[P["api-key-title"]].id:void 0,dataSubjectBlockListIds:P["data-subjects"]?Cs(P["data-subjects"],r):void 0,attributes:P.attributes,businessEntityTitles:P.businessEntityTitles,notifyEmailAddress:_optionalChain([P, 'access', _11 => _11["email-settings"], 'optionalAccess', _12 => _12["notify-email-address"]]),promptAVendorEmailSendFrequency:_optionalChain([P, 'access', _13 => _13["email-settings"], 'optionalAccess', _14 => _14["send-frequency"]]),promptAVendorEmailSendType:_optionalChain([P, 'access', _15 => _15["email-settings"], 'optionalAccess', _16 => _16["send-type"]]),promptAVendorEmailIncludeIdentifiersAttachment:_optionalChain([P, 'access', _17 => _17["email-settings"], 'optionalAccess', _18 => _18["include-identifiers-attachment"]]),promptAVendorEmailCompletionLinkType:_optionalChain([P, 'access', _19 => _19["email-settings"], 'optionalAccess', _20 => _20["completion-link-type"]]),manualWorkRetryFrequency:_optionalChain([P, 'access', _21 => _21["email-settings"], 'optionalAccess', _22 => _22["manual-work-retry-frequency"]])}))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`[Batch ${j+1}/${d.length}] Synced "${O.length}" data silos!`))});let m=new _cliprogress2.default.SingleBar({},_cliprogress2.default.Presets.shades_classic),g=t.filter(({datapoints:O=[]})=>O.length>0),h=t.map(({datapoints:O=[]})=>O.length).reduce((O,j)=>O+j,0);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${h}" datapoints from "${g.length}" data silos...`)),m.start(h,0);let I=0;await Q(g,async({datapoints:O,title:j})=>{O&&await T(O,async P=>{let Z=P.fields?P.fields.map(({key:ne,description:me,categories:Ge,purposes:ve,attributes:Ue,...qe})=>({name:ne,description:me,categories:Ge?Ge.map(ue=>({...ue,name:ue.name||"Other"})):void 0,purposes:ve?ve.map(ue=>({...ue,name:ue.name||"Other"})):void 0,attributes:Ue,accessRequestVisibilityEnabled:qe["access-request-visibility-enabled"],erasureRequestRedactionEnabled:qe["erasure-request-redaction-enabled"]})):void 0,_e={dataSiloId:u[j].id,path:P.path,name:P.key,title:P.title,description:P.description,...P.owners?{ownerEmails:P.owners}:{},...P.teams?{teamNames:P.teams}:{},...P["data-collection-tag"]?{dataCollectionTag:P["data-collection-tag"]}:{},querySuggestions:P["privacy-action-queries"]?Object.entries(P["privacy-action-queries"]).map(([ne,me])=>({requestType:ne,suggestedQuery:me})):void 0,enabledActions:P["privacy-actions"]||[],subDataPoints:Z},H=(_e.subDataPoints||[]).map(({name:ne})=>ne),Me=H.filter((ne,me)=>H.indexOf(ne)!==me);if(Me.length>0)_chunkZUNVPK23cjs.a.info(_colors2.default.red(`
|
|
2895
|
-
Cannot update datapoint "${P.key}" as it has duplicate sub-datapoints with the same name:
|
|
2896
|
-
${Me.join(`
|
|
2897
|
-
`)}`)),s=!0;else try{await p(e,wi,_e)}catch(ne){_chunkZUNVPK23cjs.a.info(_colors2.default.red(`
|
|
2898
|
-
Failed to update datapoint "${P.key}" for data silo "${j}"! -
|
|
2899
|
-
${ne.message}`)),s=!0}I+=1,m.update(I)})},{concurrency:10}),m.stop();let X=new Date().getTime()-o;return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${t.length}" data silos and "${h}" datapoints in "${X/1e3}" seconds!`)),{success:!s,dataSiloTitleToId:_typeutils.apply.call(void 0, u,({id:O})=>O)}}async function Ss(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" data silo dependencies...`));let r=_chunkT7B5NTGFcjs.b.call(void 0, e,bn);return await T(r,async(i,s)=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`[Batch ${s}/${i.length}] Updating "${i.length}" data silos...`));try{await p(t,en,{input:{dataSilos:i.map(([o,l])=>({id:o,dependedOnDataSiloTitles:l}))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`[Batch ${s+1}/${i.length}] Synced "${i.length}" data silos!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`[Batch ${s+1}/${i.length}] Failed to update "${i.length}" silos! - ${o.message}`))}}),!n}async function Es(t){let{consentManager:{consentManager:e}}=await p(t,mo);return e}async function ae(t,e){let{consentManager:{consentManager:n}}=await p(t,co,{},{},e);return n.id}var xn=50;async function xt(t){let e=[],n=0,r=!1;do{let{experiences:{nodes:i}}=await p(t,io,{first:xn,offset:n});e.push(...i),n+=xn,r=i.length===xn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var op=(n=>(n.Hourly="1h",n.Daily="1d",n))(op||{});async function Md(t,e){let{analyticsData:{series:n}}=await p(t,xo,{input:e});return n}async function Rs(t,e){let{consentManagerTheme:{theme:n}}=await p(t,uo,{airgapBundleId:e});return n}var sp=100;async function ap(t,e){let n=await ae(t);await T(_chunkT7B5NTGFcjs.b.call(void 0, e,sp),async r=>{await p(t,ao,{airgapBundleId:n,cookies:r.map(i=>({name:i.name,trackingPurposes:i.trackingPurposes&&i.trackingPurposes.length>0?i.trackingPurposes:void 0,description:i.description,service:i.service,status:i.status,attributes:i.attributes,isRegex:i.isRegex}))})})}async function ws(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" cookies...`));let r=e.filter(i=>e.filter(s=>i.name===s.name&&i.isRegex===s.isRegex).length>1);if(r.length>0)throw new Error(`Failed to upload cookies as there were non-unique entries found: ${r.map(({name:i})=>i).join(",")}`);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Upserting "${e.length}" new cookies...`)),await ap(t,e),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${e.length} cookies!`))}catch(i){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create cookies! - ${i.message}`))}return!n}var Dn=20;async function Lt(t){let e=[],n=0,r=!1;do{let{teams:{nodes:i}}=await p(t,vr,{first:Dn,offset:n});e.push(...i),n+=Dn,r=i.length===Dn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function $s(t,{dataSubject:e,dataSubjectId:n,skipPublish:r=!1}){await p(t,Ui,{input:{id:n,title:e.title,adminDashboardDefaultSilentMode:e.adminDashboardDefaultSilentMode,actions:e.actions,skipPublish:r&&typeof e.active>"u"}}),typeof e.active=="boolean"&&await p(t,Fi,{input:{id:n,active:e.active,skipPublish:r}})}var Ln=20,pp="https://app.transcend.io/infrastructure/api-keys";async function lp(t,e){let n=[],r=0,i=!1;do{let{apiKeys:{nodes:s}}=await p(t,Vi,{first:Ln,offset:r,titles:e});n.push(...s),r+=Ln,i=s.length===Ln}while(i);return n.sort((s,o)=>s.title.localeCompare(o.title))}async function kt({"api-keys":t=[],"data-silos":e=[]},n,r=!1){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching ${r?"all":t.length} API keys...`));let i=t.map(({title:d})=>d),s=_chunkT7B5NTGFcjs.j.call(void 0, e.map(d=>d["api-key-title"]).filter(d=>!!d)),o=[...s,...i],l=await lp(n,r?void 0:[...s,...i]),u=_chunkT7B5NTGFcjs.e.call(void 0, l,"title"),c=_chunkT7B5NTGFcjs.c.call(void 0, o,l.map(({title:d})=>d));return c.length>0&&(_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to find API keys "${c.join('", "')}"! Make sure these API keys are created at: ${pp}`)),process.exit(1)),u}var kn=20;async function Ze(t,{text:e,titles:n=[],ids:r=[]}={}){let i=[],s=0,o=!1;do{let{prompts:{nodes:l}}=await p(t,Sr,{first:kn,offset:s,filterBy:{...e?{text:e}:{},...n.length>0?{title:n}:{},...r.length>0?{id:r}:{}}});i.push(...l),s+=kn,o=l.length===kn}while(o);return i.sort((l,u)=>l.title.localeCompare(u.title))}async function cf(t,{promptTitles:e=[],promptIds:n=[]}={}){let{promptsWithVariables:r}=await p(t,wr,{input:{...e.length>0?{promptTitles:e}:{},...n.length>0?{promptIds:n}:{}}});return r}async function cp(t,e){let{createPrompt:{prompt:n}}=await p(t,br,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created prompt "${e.title}"!`)),n.id}async function mp(t,e){await p(t,$r,{input:{prompts:e.map(([n,r])=>({...n,id:r}))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} prompts!`))}async function xs(t,e,n=20){let r=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" prompts...`));let i=await Ze(t),s=_chunkT7B5NTGFcjs.e.call(void 0, i,"title"),o=e.map(c=>[c,_optionalChain([s, 'access', _23 => _23[c.title], 'optionalAccess', _24 => _24.id])]),l=o.filter(([,c])=>!c).map(([c])=>c);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${l.length}" new prompts...`)),await Q(l,async c=>{await cp(t,c)},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${l.length} prompts!`))}catch(c){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompts! - ${c.message}`))}let u=o.filter(c=>!!c[1]);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${u.length}" prompts...`)),await mp(t,u),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${u.length}" prompts!`))}catch(c){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompts! - ${c.message}`))}return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" prompts!`)),!r}async function It(t){let{organization:e}=await p(t,Uo);return e.deployedPrivacyCenterUrl}async function He(t,e){let n=e;n||(n=await It(t));let{privacyCenter:r}=await p(t,Mo,{url:n});return r.id}async function _t(t){let e=await It(t),{privacyCenterPolicies:n}=await p(t,cr,{url:e});return n.sort((r,i)=>r.title.defaultMessage.localeCompare(i.title.defaultMessage))}var up=100;async function dp(t,e){let n=await He(t);await T(_chunkT7B5NTGFcjs.b.call(void 0, e,up),async r=>{await p(t,mr,{privacyCenterId:n,policies:r.map(([i,s])=>({id:s,title:i.title,disableEffectiveOn:i.disableEffectiveOn,disabledLocales:i.disabledLocales,...i.effectiveOn||i.content?{version:{...i.effectiveOn?{effectiveOn:i.effectiveOn}:{},...i.content?{content:{defaultMessage:i.content}}:{}}}:{}}))})})}async function Ds(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" policies...`));let r=e.filter(o=>e.filter(l=>o.title===l.title).length>1);if(r.length>0)throw new Error(`Failed to upload policies as there were non-unique entries found: ${r.map(({title:o})=>o).join(",")}`);let i=await _t(t),s=_chunkT7B5NTGFcjs.e.call(void 0, i,({title:o})=>o.defaultMessage);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Upserting "${e.length}" new policies...`)),await dp(t,e.map(o=>[o,_optionalChain([s, 'access', _25 => _25[o.title], 'optionalAccess', _26 => _26.id])])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${e.length} policies!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create policies! - ${o.message}`))}return!n}var fp=100;async function gp(t,e){await T(_chunkT7B5NTGFcjs.b.call(void 0, e,fp),async n=>{await p(t,gr,{messages:n.map(r=>({...r.id.includes(".")?{}:{id:r.id},defaultMessage:r.defaultMessage,targetReactIntlId:r.targetReactIntlId,translations:r.translations?Object.entries(r.translations).map(([i,s])=>({locale:i,value:s})):void 0}))})})}async function Ls(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" messages...`));let r=e.filter(i=>e.filter(s=>i.id===s.id).length>1);if(r.length>0)throw new Error(`Failed to upload messages as there were non-unique entries found: ${r.map(({id:i})=>i).join(",")}`);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Upserting "${e.length}" new messages...`)),await gp(t,e),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${e.length} messages!`))}catch(i){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create messages! - ${i.message}`))}return!n}async function ks(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Syncing privacy center..."));let r=await He(t);try{await p(t,Qo,{input:{privacyCenterId:r,transformAccessReportJsonToCsv:e.transformAccessReportJsonToCsv,useCustomEmailDomain:e.useCustomEmailDomain,useNoReplyEmailAddress:e.useNoReplyEmailAddress,replyToEmail:e.replyToEmail,supportEmail:e.supportEmail,preferBrowserDefaultLocale:e.preferBrowserDefaultLocale,defaultLocale:e.defaultLocale,locales:e.locales,showMarketingPreferences:e.showMarketingPreferences,showManageYourPrivacy:e.showManageYourPrivacy,showPolicies:e.showPolicies,showConsentManager:e.showConsentManager,showDataFlows:e.showDataFlows,showCookies:e.showCookies,showTrackingTechnologies:e.showTrackingTechnologies,showPrivacyRequestButton:e.showPrivacyRequestButton,isDisabled:e.isDisabled,...e.theme?{colorPalette:e.theme.colors,componentStyles:e.theme.componentStyles,textStyles:e.theme.textStyles}:{}}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully synced privacy center!"))}catch(i){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create privacy center! - ${i.message}`))}return!n}var Gn=50;async function At(t){let e=[],n=0,r=!1;do{let{consentPartitions:{nodes:i}}=await p(t,ro,{first:Gn,offset:n});e.push(...i),n+=Gn,r=i.length===Gn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function Gs(t,e){let n=await ae(t),r=!1,i=await At(t),s=_chunkT7B5NTGFcjs.c.call(void 0, e.map(({name:o})=>o),i.map(({name:o})=>o));return await T(s,async o=>{try{await p(t,bo,{input:{id:n,name:o}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created consent partition: ${o}!`))}catch(l){_chunkZUNVPK23cjs.a.error(_colors2.default.red(`Failed to create consent partition: ${o}! - ${l.message}`)),r=!0}}),!r}var vn=20;async function qt(t,{includeDeleted:e=!1}={}){let n=[],r=0,i=!1;do{let{purposes:{nodes:s}}=await p(t,Ar,{first:vn,offset:r,input:{includeDeleted:e}});n.push(...s),r+=vn,i=s.length===vn}while(i);return n.sort((s,o)=>s.trackingType.localeCompare(o.trackingType))}var _airgapjstypes = require('@transcend-io/airgap.js-types');var qs="https://app.transcend.io/consent-manager/regional-experiences/purposes";async function hp(t,e){let n=await xt(t),r=_chunkT7B5NTGFcjs.e.call(void 0, n,"name"),i=await qt(t),s=_chunkT7B5NTGFcjs.e.call(void 0, i,"trackingType");await Q(e,async(o,l)=>{let u=_optionalChain([o, 'access', _27 => _27.purposes, 'optionalAccess', _28 => _28.map, 'call', _29 => _29((m,g)=>{let h=s[m.trackingType];if(!h)throw new Error(`Invalid purpose trackingType provided at consentManager.experiences[${l}].purposes[${g}]: ${m.trackingType}. See list of valid purposes ${qs}`);return h.id})]),c=_optionalChain([o, 'access', _30 => _30.optedOutPurposes, 'optionalAccess', _31 => _31.map, 'call', _32 => _32((m,g)=>{let h=s[m.trackingType];if(!h)throw new Error(`Invalid purpose trackingType provided at consentManager.experiences[${l}].optedOutPurposes[${g}]: ${m.trackingType}. See list of valid purposes ${qs}`);return h.id})]),d=r[o.name];d?(await p(t,wo,{input:{id:d.id,name:o.displayName,regions:o.regions,operator:o.operator,onConsentExpiry:o.onConsentExpiry,consentExpiry:o.consentExpiry,displayPriority:o.displayPriority!==d.displayPriority?o.displayPriority:void 0,viewState:o.viewState,purposes:u,optedOutPurposes:c,browserLanguages:o.browserLanguages,browserTimeZones:o.browserTimeZones}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced consent experience "${o.name}"!`))):(await p(t,$o,{input:{name:o.name,displayName:o.displayName,regions:o.regions,operator:o.operator,onConsentExpiry:o.onConsentExpiry||_airgapjstypes.OnConsentExpiry.Prompt,consentExpiry:o.consentExpiry,displayPriority:o.displayPriority,viewState:o.viewState||_airgapjstypes.InitialViewState.Hidden,purposes:u||[],optedOutPurposes:c||[],browserLanguages:o.browserLanguages,browserTimeZones:o.browserTimeZones}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created consent experience "${o.name}"!`)))},{concurrency:10})}async function Os(t,e){let n;try{n=await ae(t,1)}catch(r){if(r.message.includes("AirgapBundle not found")){let i=await He(t),{createConsentManager:s}=await p(t,fo,{domains:e.domains,privacyCenterId:i});n=s.consentManager.id}else throw r}if(e.domains&&await p(t,ho,{domains:e.domains,airgapBundleId:n}),e.partition){let i=(await At(t)).find(s=>s.name===e.partition);if(!i)throw new Error(`Partition "${e.partition}" not found. Please create the partition first.`);await p(t,Io,{partitionId:i.id,airgapBundleId:n})}e.version&&await p(t,go,{airgapBundleId:n,version:e.version}),e.signedIabAgreement&&await p(t,Ao,{input:{id:n,...e.signedIabAgreement?{signedIabAgreement:e.signedIabAgreement}:{}}}),e.unknownRequestPolicy&&await p(t,Po,{input:{id:n,unknownRequestPolicy:e.unknownRequestPolicy}}),e.unknownRequestPolicy&&await p(t,To,{input:{id:n,unknownCookiePolicy:e.unknownCookiePolicy}}),e.telemetryPartitioning&&await p(t,So,{input:{id:n,strategy:e.telemetryPartitioning}}),e.consentPrecedence&&await p(t,Eo,{input:{id:n,consentPrecedence:e.consentPrecedence}}),e.experiences&&await hp(t,e.experiences),e.theme&&await p(t,Ro,{input:{airgapBundleId:n,...e.theme}})}var We=100;async function Ip(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching all attribute values for ${e}...`));let n=[],r=0,i=!1;do{let{attributeValues:{nodes:s}}=await p(t,Xr,{first:We,offset:r,attributeKeyId:e});n.push(...s),r+=We,i=s.length===We}while(i);return n.sort((s,o)=>s.name.localeCompare(o.name))}var Ap=[_privacytypes.AttributeKeyType.MultiSelect,_privacytypes.AttributeKeyType.SingleSelect];async function ze(t){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Fetching all attributes..."));let e=[],n=0,r=!1;do{let{attributeKeys:{nodes:i}}=await p(t,Hr,{first:We,offset:n});e.push(...await Promise.all(i.map(async s=>({...s,values:Ap.includes(s.type)?await Ip(t,s.id):[]})))),n+=We,r=i.length===We}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var qn=20;async function Ot(t){let e=[],n=0,r=!1;do{let{businessEntities:{nodes:i}}=await p(t,Do,{first:qn,offset:n});e.push(...i),n+=qn,r=i.length===qn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}async function Pp(t,e){let n={title:e.title,description:e.description,address:e.address,headquarterCountry:e.headquarterCountry,headquarterSubDivision:e.headquarterSubDivision,dataProtectionOfficerName:e.dataProtectionOfficerName,dataProtectionOfficerEmail:e.dataProtectionOfficerEmail,attributes:e.attributes,teamNames:e.teams,ownerEmails:e.owners},{createBusinessEntity:r}=await p(t,Lo,{input:n});return r.businessEntity}async function Tp(t,e){let n=_chunkT7B5NTGFcjs.b.call(void 0, e,100);await T(n,async r=>{await p(t,ko,{input:r.map(([i,s])=>({id:s,title:i.title,description:i.description,address:i.address,headquarterCountry:i.headquarterCountry,headquarterSubDivision:i.headquarterSubDivision,dataProtectionOfficerName:i.dataProtectionOfficerName,dataProtectionOfficerEmail:i.dataProtectionOfficerEmail,attributes:i.attributes,teamNames:i.teams,ownerEmails:i.owners}))})})}async function Us(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" business entities...`));let n=!1,r=await Ot(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"title"),s=e.filter(o=>!i[o.title]);await T(s,async o=>{try{let l=await Pp(t,o);i[l.title]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced business entity "${o.title}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync business entity "${o.title}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" business entities!`)),await Tp(t,e.map(o=>[o,i[o.title].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" business entities!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" business entities ! - ${o.message}`))}return!n}var On=20;async function Xe(t,e=_privacytypes.ConsentTrackerStatus.Live){let n=[],r=0,i=await ae(t),s=!1;do{let{dataFlows:{nodes:o}}=await p(t,po,{first:On,offset:r,airgapBundleId:i,status:e,...e===_privacytypes.ConsentTrackerStatus.NeedsReview?{showZeroActivity:!0}:{}});n.push(...o),r+=On,s=o.length===On}while(s);return n.sort((o,l)=>o.value.localeCompare(l.value))}var Bs=100;async function Sp(t,e,n=!1){let r=await ae(t);await T(_chunkT7B5NTGFcjs.b.call(void 0, e,Bs),async i=>{await p(t,so,{airgapBundleId:r,dataFlows:i.map(([s,o])=>({id:o,value:s.value,type:s.type,trackingType:s.trackingPurposes&&s.trackingPurposes.length>0?s.trackingPurposes:void 0,description:s.description,service:s.service,status:s.status,attributes:s.attributes})),classifyService:n})})}async function Ep(t,e,n=!1){let r=await ae(t);await T(_chunkT7B5NTGFcjs.b.call(void 0, e,Bs),async i=>{await p(t,oo,{airgapBundleId:r,dataFlows:i.map(s=>({value:s.value,type:s.type,trackingType:s.trackingPurposes&&s.trackingPurposes.length>0?s.trackingPurposes:void 0,description:s.description,service:s.service,status:s.status,attributes:s.attributes})),dropMatchingDataFlowsInTriage:!0,classifyService:n})})}async function Ks(t,e,n){let r=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" data flows...`));let i=e.filter(m=>e.filter(g=>m.value===g.value&&m.type===g.type).length>1);if(i.length>0)throw new Error(`Failed to upload data flows as there were non-unique entries found: ${i.map(({value:m})=>m).join(",")}`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Fetching data flows..."));let[s,o]=await Promise.all([Xe(t,_privacytypes.ConsentTrackerStatus.Live),Xe(t,_privacytypes.ConsentTrackerStatus.NeedsReview)]),l=[...s,...o],u=e.map(m=>[m,_optionalChain([l, 'access', _33 => _33.find, 'call', _34 => _34(g=>m.value===g.value&&m.type===g.type), 'optionalAccess', _35 => _35.id])]),c=u.filter(([,m])=>!m).map(([m])=>m);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${c.length}" new data flows...`)),await Ep(t,c,n),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${c.length} data flows!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create data flows! - ${m.message}`))}let d=u.filter(m=>!!m[1]);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${d.length}" data flows...`)),await Sp(t,d,n),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${d.length}" data flows!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create data flows! - ${m.message}`))}return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" data flows!`)),!r}var $p=[...Object.values(_privacytypes.IsoCountryCode),...Object.values(_privacytypes.IsoCountrySubdivisionCode)];async function Vs(t,{action:e,actionId:n,skipPublish:r=!1}){await p(t,vo,{input:{id:n,skipSecondaryIfNoFiles:e.skipSecondaryIfNoFiles,skipDownloadableStep:e.skipDownloadableStep,requiresReview:e.requiresReview,waitingPeriod:e.waitingPeriod,skipPublish:r,regionList:e.regionBlockList?_chunkT7B5NTGFcjs.c.call(void 0, $p,e.regionBlockList):e.regionList,regionDetectionMethod:e.regionDetectionMethod}})}var Nn=20;async function Mn(t,e){let n=[],r=0,i=!1;do{let{templates:{nodes:s}}=await p(t,Ji,{first:Nn,offset:r,title:e});n.push(...s),r+=Nn,i=s.length===Nn}while(i);return n.sort((s,o)=>s.title.localeCompare(o.title))}async function js(t,e){(await Mn(e,t.title)).find(({title:i})=>i===t.title)||await p(e,Xi,{title:t.title})}var Un=20;async function Nt(t){let e=[],n=0,r=!1;do{let{actions:{nodes:i}}=await p(t,Go,{first:Un,offset:n});e.push(...i),n+=Un,r=i.length===Un}while(r);return e.sort((i,s)=>i.type.localeCompare(s.type))}var Fn=20;async function Mt(t){let e=[],n=0,r=!1;do{let{promptPartials:{nodes:i}}=await p(t,Er,{first:Fn,offset:n});e.push(...i),n+=Fn,r=i.length===Fn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}var Qn=20;async function Ut(t){let e=[],n=0,r=!1;do{let{promptGroups:{nodes:i}}=await p(t,Rr,{first:Qn,offset:n});e.push(...i),n+=Qn,r=i.length===Qn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}var Bn=20;async function Ft(t,e={}){let n=[],r=0,i=!1;do{let{agents:{nodes:s}}=await p(t,Vo,{first:Bn,offset:r,filterBy:e});n.push(...s),r+=Bn,i=s.length===Bn}while(i);return n.sort((s,o)=>s.name.localeCompare(o.name))}async function bp(t,e){let n={name:e.name,description:e.description,codeInterpreterEnabled:e.codeInterpreterEnabled,retrievalEnabled:e.retrievalEnabled,promptTitle:e.prompt,largeLanguageModelName:e["large-language-model"].name,largeLanguageModelClient:e["large-language-model"].client},{createAgent:r}=await p(t,jo,{input:n});return r.agent}async function xp(t,e){await p(t,Yo,{input:{agents:e.map(([n,r])=>({id:r,name:n.name,description:n.description,codeInterpreterEnabled:n.codeInterpreterEnabled,retrievalEnabled:n.retrievalEnabled}))}})}async function Ys(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" agents...`));let n=!1,r=await Ft(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"name"),s=e.filter(o=>!i[o.name]);await T(s,async o=>{try{let l=await bp(t,o);i[l.name]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced agent "${o.name}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync agent "${o.name}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" agents!`)),await xp(t,e.map(o=>[o,i[o.name].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" agents!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" agents ! - ${o.message}`))}return!n}async function tt(t,e={}){let{globalActionItemCollections:{nodes:n}}=await p(t,jr,{filterBy:{...e}});return n}async function Dp(t,e){let n={title:e.title,description:e.description||"",hidden:e.hidden||!1,productLine:e.productLine},{createActionItemCollection:r}=await p(t,Yr,{input:n});return r.created}async function Lp(t,e,n){await p(t,Zr,{input:{id:n,title:e.title,description:e.description,hidden:e.hidden,productLine:e.productLine}})}async function Zs(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" action item collections...`));let r=await tt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"title"),s=e.filter(l=>!i[l.title]);await T(s,async l=>{try{await Dp(t,l),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created action item collection "${l.title}"!`))}catch(u){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create action item collection "${l.title}"! - ${u.message}`))}});let o=e.map(l=>[l,_optionalChain([i, 'access', _36 => _36[l.title], 'optionalAccess', _37 => _37.id])]).filter(l=>!!l[1]);return await T(o,async([l,u])=>{try{await Lp(t,l,u),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced action item collection "${l.title}"!`))}catch(c){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync action item collection "${l.title}"! - ${c.message}`))}}),!n}var Kn=20;async function Qt(t,e={}){let n=[],r=0,i=!1;do{let{globalActionItems:{nodes:s}}=await p(t,qo,{first:Kn,offset:r,filterBy:{...e,...e.startDueDate?{startDueDate:e.startDueDate.toISOString()}:{},...e.endDueDate?{endDueDate:e.endDueDate.toISOString()}:{}}});n.push(...s.map(o=>({...o,id:o.ids[0],title:o.titles[0],notes:o.notes[0],link:o.links[0]}))),r+=Kn,i=s.length===Kn}while(i);return n}async function kp(t,e,n,r={}){let i=_chunkT7B5NTGFcjs.b.call(void 0, e,100);await T(i,async s=>{await p(t,No,{input:s.map(o=>({title:o.title,type:o.type,priorityOverride:o.priority,dueDate:o.dueDate,customerExperienceActionItemId:o.customerExperienceActionItemId,resolved:o.resolved,notes:o.notes,link:o.link,assigneesUserEmails:o.users,assigneesTeamNames:o.teams,...o.attributes?{}:{},collectionIds:o.collections.map(l=>n[l].id)}))})})}async function _p(t,e,n,r={}){let i=s=>{let o=r[s];if(!o)throw new Error(`Attribute key "${s}" does not exist!`);return o.id};await p(t,Oo,{input:{ids:[n],title:e.title,priorityOverride:e.priority,dueDate:e.dueDate,resolved:e.resolved,customerExperienceActionItemId:e.customerExperienceActionItemId,notes:e.notes,link:e.link,assigneesUserEmails:e.users,assigneesTeamNames:e.teams,...e.attributes?{attributes:e.attributes.map(({key:s,values:o})=>({attributeKeyId:i(s),attributeValueNames:o}))}:{}}})}function Gp({title:t,collections:e}){return`${t}-${e.map(n=>n.title).sort().join("-")}`}function Hs({title:t,collections:e}){return`${t}-${e.sort().join("-")}`}async function Ws(t,e){let n=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" actionItems...`));let r=e.some(I=>I.attributes&&I.attributes.length>0),[i,s,o]=await Promise.all([Qt(t),tt(t),r?ze(t):[]]),l=_chunkT7B5NTGFcjs.e.call(void 0, s,"title"),u=_chunkT7B5NTGFcjs.e.call(void 0, i,Gp),c=_chunkT7B5NTGFcjs.e.call(void 0, o,"name"),d=_chunkT7B5NTGFcjs.e.call(void 0, i.filter(I=>!!I.customerExperienceActionItemIds),({customerExperienceActionItemIds:I})=>I[0]),m=_chunkT7B5NTGFcjs.j.call(void 0, e.map(I=>I.collections).flat()).filter(I=>!l[I]);if(m.length>0)return _chunkZUNVPK23cjs.a.info(_colors2.default.red(`Missing action item collections: "${m.join('", "')}" - please create them first!`)),!1;let g=e.filter(I=>!u[Hs(I)]&&!d[I.customerExperienceActionItemId]);if(g.length>0)try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${g.length}" actionItems...`)),await kp(t,g,l,c),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created "${g.length}" actionItems!`))}catch(I){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create action items! - ${I.message}`))}let h=e.map(I=>[I,_optionalChain([u, 'access', _38 => _38[Hs(I)], 'optionalAccess', _39 => _39.id])||_optionalChain([d, 'access', _40 => _40[I.customerExperienceActionItemId], 'optionalAccess', _41 => _41.id])]).filter(I=>!!I[1]);return await T(h,async([I,Y])=>{try{await _p(t,I,Y,c),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced action item "${I.title}"!`))}catch(X){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync action item "${I.title}"! - ${X.message}`))}}),!n}var Vn=20;async function Bt(t){let e=[],n=0,r=!1;do{let{agentFunctions:{nodes:i}}=await p(t,zo,{first:Vn,offset:n});e.push(...i.map(s=>({...s,parameters:JSON.parse(s.parameters)}))),n+=Vn,r=i.length===Vn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function vp(t,e){let n={name:e.name,description:e.description,parameters:e.parameters,agentIds:[]},{createAgentFunction:r}=await p(t,Jo,{input:n});return r.agentFunction}async function qp(t,e){await p(t,Xo,{input:{agentFunctions:e.map(([n,r])=>({id:r,name:n.name,description:n.description,parameters:n.parameters}))}})}async function zs(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" agent functions...`));let n=!1,r=await Bt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"name"),s=e.filter(o=>!i[o.name]);await T(s,async o=>{try{let l=await vp(t,o);i[l.name]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced agent function "${o.name}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync agent function "${o.name}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" agent functions!`)),await qp(t,e.map(o=>[o,i[o.name].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" agent functions!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" agent functions! - ${o.message}`))}return!n}var jn=20;async function Kt(t,e={}){let n=[],r=0,i=!1;do{let{agentFiles:{nodes:s}}=await p(t,Zo,{first:jn,offset:r,filterBy:e});n.push(...s),r+=jn,i=s.length===jn}while(i);return n.sort((s,o)=>s.name.localeCompare(o.name))}async function Op(t,e){let n={name:e.name,description:e.description,fileId:e.fileId,size:e.size,purpose:e.purpose,fileUploadedAt:new Date,agentIds:[]},{createAgentFile:r}=await p(t,Ho,{input:n});return r.agentFile}async function Np(t,e){await p(t,Wo,{input:{agentFiles:e.map(([n,r])=>({id:r,name:n.name,description:n.description,fileId:n.fileId,size:n.size,purpose:n.purpose}))}})}async function Js(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" agent files...`));let n=!1,r=await Kt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"name"),s=e.filter(o=>!i[o.name]);await T(s,async o=>{try{let l=await Op(t,o);i[l.name]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced agent file "${o.name}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync agent file "${o.name}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" agent files!`)),await Np(t,e.map(o=>[o,i[o.name].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" agent files!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" agent files! - ${o.message}`))}return!n}var Yn=20;async function Vt(t){let e=[],n=0,r=!1;do{let{vendors:{nodes:i}}=await p(t,es,{first:Yn,offset:n});e.push(...i),n+=Yn,r=i.length===Yn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}async function Mp(t,e){let n={title:e.title,description:e.description,address:e.address,headquarterCountry:e.headquarterCountry,headquarterSubDivision:e.headquarterSubDivision,dataProcessingAgreementLink:e.dataProcessingAgreementLink,contactName:e.contactName,contactPhone:e.contactPhone,websiteUrl:e.websiteUrl},{createVendor:r}=await p(t,ts,{input:n});return r.vendor}async function Up(t,e){await p(t,ns,{input:{vendors:e.map(([n,r])=>({id:r,title:n.title,description:n.description,address:n.address,headquarterCountry:n.headquarterCountry,headquarterSubDivision:n.headquarterSubDivision,dataProcessingAgreementLink:n.dataProcessingAgreementLink,contactName:n.contactName,contactPhone:n.contactPhone,websiteUrl:n.websiteUrl,attributes:n.attributes}))}})}async function Xs(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" vendors...`));let n=!1,r=await Vt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"title"),s=e.filter(o=>!i[o.title]);await T(s,async o=>{try{let l=await Mp(t,o);i[l.title]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced vendor "${o.title}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync vendor "${o.title}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" vendors!`)),await Up(t,e.map(o=>[o,i[o.title].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" vendors!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" vendors ! - ${o.message}`))}return!n}var Zn=20;async function jt(t){let e=[],n=0,r=!1;do{let{dataSubCategories:{nodes:i}}=await p(t,is,{first:Zn,offset:n});e.push(...i),n+=Zn,r=i.length===Zn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function Fp(t,e){let n={name:e.name,category:e.category,description:e.description},{createDataCategory:r}=await p(t,rs,{input:n});return r.dataCategory}async function Qp(t,e){await p(t,os,{input:{dataSubCategories:e.map(([n,r])=>({id:r,description:n.description,attributes:n.attributes}))}})}async function ea(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" data categories...`));let n=!1,r=await jt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,({name:o,category:l})=>`${o}:${l}`),s=e.filter(o=>!i[`${o.name}:${o.category}`]);await T(s,async o=>{try{let l=await Fp(t,o);i[`${l.name}:${l.category}`]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced data category "${o.name}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync data category "${o.name}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" data categories!`)),await Qp(t,e.map(o=>[o,i[`${o.name}:${o.category}`].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" data categories!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" data categories ! - ${o.message}`))}return!n}var Hn=20;async function Yt(t){let e=[],n=0,r=!1;do{let{processingPurposeSubCategories:{nodes:i}}=await p(t,ss,{first:Hn,offset:n});e.push(...i),n+=Hn,r=i.length===Hn}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}async function Bp(t,e){let n={name:e.name,purpose:e.purpose,description:e.description},{createProcessingPurposeSubCategory:r}=await p(t,as,{input:n});return r.processingPurposeSubCategory}async function Kp(t,e){await p(t,ps,{input:{processingPurposeSubCategories:e.map(([n,r])=>({id:r,description:n.description,attributes:n.attributes}))}})}async function ta(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" processing purposes...`));let n=!1,r=await Yt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,({name:o,purpose:l})=>`${o}:${l}`),s=e.filter(o=>!i[`${o.name}:${o.purpose}`]);await T(s,async o=>{try{let l=await Bp(t,o);i[`${l.name}:${l.purpose}`]=l,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced processing purpose "${o.name}"!`))}catch(l){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync processing purpose "${o.name}"! - ${l.message}`))}});try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${e.length}" processing purposes!`)),await Kp(t,e.map(o=>[o,i[`${o.name}:${o.purpose}`].id])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced "${e.length}" processing purposes!`))}catch(o){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync "${e.length}" processing purposes ! - ${o.message}`))}return!n}async function Vp(t,e){let n={name:e.name,description:e.description,ssoTitle:e["sso-title"],ssoDepartment:e["sso-department"],ssoGroup:e["sso-group"],scopes:e.scopes,userEmails:e.users},{createTeam:r}=await p(t,qr,{input:n});return r.team}async function jp(t,e,n){let{updateTeam:r}=await p(t,Or,{input:{id:n,name:e.name,description:e.description,ssoTitle:e["sso-title"],ssoDepartment:e["sso-department"],ssoGroup:e["sso-group"],scopes:e.scopes,userEmails:e.users}});return r.team}async function na(t,e){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" teams...`));let n=!1,r=await Lt(t),i=_chunkT7B5NTGFcjs.e.call(void 0, r,"name"),s=e.filter(l=>!i[l.name]),o=e.filter(l=>!!i[l.name]);return await T(s,async l=>{try{let u=await Vp(t,l);i[u.name]=u,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created team "${l.name}"!`))}catch(u){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync team "${l.name}"! - ${u.message}`))}}),await T(o,async l=>{try{let u=await jp(t,l,i[l.name].id);i[u.name]=u,_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated team "${l.name}"!`))}catch(u){n=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync team "${l.name}"! - ${u.message}`))}}),!n}async function Yp(t,e){let{createPromptPartial:{promptPartial:n}}=await p(t,Dr,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created prompt partial "${e.title}"!`)),n.id}async function Zp(t,e){await p(t,xr,{input:{promptPartials:e.map(([n,r])=>({...n,id:r}))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} prompt partials!`))}async function ia(t,e,n=20){let r=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" prompt partials...`));let i=await Mt(t),s=_chunkT7B5NTGFcjs.e.call(void 0, i,"title"),o=e.map(c=>[c,_optionalChain([s, 'access', _42 => _42[c.title], 'optionalAccess', _43 => _43.id])]),l=o.filter(([,c])=>!c).map(([c])=>c);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${l.length}" new prompt partials...`)),await Q(l,async c=>{await Yp(t,c)},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${l.length} prompt partials!`))}catch(c){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompt partials! - ${c.message}`))}let u=o.filter(c=>!!c[1]);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${u.length}" prompt partials...`)),await Zp(t,u),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${u.length}" prompt partials!`))}catch(c){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompt partials! - ${c.message}`))}return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" prompt partials!`)),!r}async function Hp(t,e){let{createPromptGroup:{promptGroup:n}}=await p(t,kr,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created prompt group "${e.title}"!`)),n.id}async function Wp(t,e){await p(t,Lr,{input:{promptGroups:e.map(([n,r])=>({...n,id:r}))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} prompt groups!`))}async function ra(t,e,n=20){let r=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${e.length}" prompt groups...`));let i=await Ut(t),s=await Ze(t),o=_chunkT7B5NTGFcjs.e.call(void 0, s,"title"),l=_chunkT7B5NTGFcjs.e.call(void 0, i,"title"),u=e.map(m=>[m,_optionalChain([l, 'access', _44 => _44[m.title], 'optionalAccess', _45 => _45.id])]),c=u.filter(([,m])=>!m).map(([m])=>m);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${c.length}" new prompt groups...`)),await Q(c,async m=>{await Hp(t,{...m,promptIds:m.prompts.map(g=>{let h=o[g];if(!h)throw new Error(`Failed to find prompt with title: "${g}"`);return h.id})})},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${c.length} prompt groups!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompt groups! - ${m.message}`))}let d=u.filter(m=>!!m[1]);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${d.length}" prompt groups...`)),await Wp(t,d.map(([{prompts:m,...g},h])=>[{...g,promptIds:m.map(I=>{let Y=o[I];if(!Y)throw new Error(`Failed to find prompt with title: "${I}"`);return Y.id})},h])),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${d.length}" prompt groups!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create prompt groups! - ${m.message}`))}return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" prompt groups!`)),!r}var at=10;async function CI(t,e,{pageSize:n=50,publishToPrivacyCenter:r=!0,classifyService:i=!1,deleteExtraAttributeValues:s=!1}){let o=!1;_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching data with page size ${n}...`));let{templates:l,attributes:u,actions:c,identifiers:d,"data-subjects":m,"business-entities":g,enrichers:h,cookies:I,"consent-manager":Y,"data-silos":X,"data-flows":O,prompts:j,"prompt-groups":P,"prompt-partials":Z,agents:_e,"agent-functions":H,"agent-files":Me,vendors:ne,"data-categories":me,"processing-purposes":Ge,"action-items":ve,"action-item-collections":Ue,teams:qe,"privacy-center":ue,messages:ct,policies:mt,partitions:ut}=t,[dt,je,St]=await Promise.all([h||d?ms(t,e,!r):{},X||m||h?ys(t,e):{},X&&X.map(y=>y["api-key-title"]||[]).reduce((y,_)=>y+_.length,0)>0?kt(t,e):{}]);if(Y){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Syncing consent manager..."));try{await Os(e,Y),_chunkZUNVPK23cjs.a.info(_colors2.default.green("Successfully synced consent manager!"))}catch(y){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync consent manager! - ${y.message}`))}}if(j){let y=await xs(e,j);o=o||!y}if(Z){let y=await ia(e,Z);o=o||!y}if(P){let y=await ra(e,P);o=o||!y}if(qe){let y=await na(e,qe);o=o||!y}if(l&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${l.length}" email templates...`)),await Q(l,async y=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing template "${y.title}"...`));try{await js(y,e),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced template "${y.title}"!`))}catch(_){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync template "${y.title}"! - ${_.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${l.length}" email templates!`))),g){let y=await Us(e,g);o=o||!y}if(ne){let y=await Xs(e,ne);o=o||!y}if(me){let y=await ea(e,me);o=o||!y}if(Ge){let y=await ta(e,Ge);o=o||!y}if(ut){let y=await Gs(e,ut);o=o||!y}if(_e){let y=await Ys(e,_e);o=o||!y}if(H){let y=await zs(e,H);o=o||!y}if(Me){let y=await Js(e,Me);o=o||!y}if(I){let y=await ws(e,I);o=o||!y}if(Ue){let y=await Zs(e,Ue);o=o||!y}if(u){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${u.length}" attributes...`));let y=await ze(e);await Q(u,async _=>{let ee=y.find(re=>re.name===_.name);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing attribute "${_.name}"...`));try{await gs(e,_,{existingAttribute:ee,deleteExtraAttributeValues:s}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced attribute "${_.name}"!`))}catch(re){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync attribute "${_.name}"! - ${re.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${u.length}" attributes!`))}if(ve){let y=await Ws(e,ve);o=o||!y}if(h&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${h.length}" enrichers...`)),await Q(h,async y=>{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing enricher "${y.title}"...`));try{await fs(e,{enricher:y,identifierByName:dt,dataSubjectsByName:je}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced enricher "${y.title}"!`))}catch(_){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync enricher "${y.title}"! - ${_.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${h.length}" enrichers!`))),d&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${d.length}" identifiers...`)),await Q(d,async y=>{let _=dt[y.name];if(!_)throw new Error(`Failed to find identifier with name: ${y.type}. Should have been auto-created by cli.`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing identifier "${y.type}"...`));try{await us(e,{identifier:y,dataSubjectsByName:je,identifierId:_.id,skipPublish:!r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced identifier "${y.type}"!`))}catch(ee){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync identifier "${y.type}"! - ${ee.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${d.length}" identifiers!`))),c){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${c.length}" actions...`));let y=await Nt(e);await Q(c,async _=>{let ee=y.find(re=>re.type===_.type);if(!ee)throw new Error(`Failed to find action with type: ${_.type}. Should have already existing in the organization.`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing action "${_.type}"...`));try{await Vs(e,{action:_,actionId:ee.id,skipPublish:!r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced action "${_.type}"!`))}catch(re){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync action "${_.type}"! - ${re.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${c.length}" actions!`))}if(m){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing "${m.length}" data subjects...`));let y=await ht(e);await Q(m,async _=>{let ee=y.find(re=>re.type===_.type);if(!ee)throw new Error(`Failed to find data subject with type: ${_.type}. Should have already existing in the organization.`);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Syncing data subject "${_.type}"...`));try{await $s(e,{dataSubject:_,dataSubjectId:ee.id,skipPublish:!r}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced data subject "${_.type}"!`))}catch(re){o=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to sync data subject "${_.type}"! - ${re.message}`))}},{concurrency:at}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${m.length}" data subjects!`))}if(O){let y=await Ks(e,O,i);o=o||!y}if(ue){let y=await ks(e,ue);o=o||!y}if(ct){let y=await Ls(e,ct);o=o||!y}if(mt){let y=await Ds(e,mt);o=o||!y}let Ye=[];if(X){let{success:y,dataSiloTitleToId:_}=await Ts(X,e,{dataSubjectsByName:je,apiKeysByTitle:St,pageSize:n});_optionalChain([X, 'optionalAccess', _46 => _46.forEach, 'call', _47 => _47(ee=>{ee["deletion-dependencies"]&&Ye.push([_[ee.title],ee["deletion-dependencies"]])})]),o=o||!y}return Ye.length>0&&await Ss(e,Ye),o}async function TI(t,e){let n=await p(t,Wi,{dataSiloId:e,type:"DATA_SILO_DISCOVERY"}),{plugins:r,totalCount:i}=n.plugins;return i===0&&(_chunkZUNVPK23cjs.a.error("No active data silo plugins found for this data silo."),process.exit(1)),r[0]}var Wn=20;async function oa(t){let e=[],n=0,r=!1;do{let{processingActivities:{nodes:i}}=await p(t,ls,{first:Wn,offset:n});e.push(...i),n+=Wn,r=i.length===Wn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}async function sa(t){let e=await It(t),{privacyCenter:{themeStr:n,...r}}=await p(t,Fo,{url:e});return[{...r,theme:JSON.parse(n)}]}async function aa(t){let{translatedMessages:e}=await p(t,fr,{});return e}var zn=20;async function Jn(t,e=_privacytypes.ConsentTrackerStatus.Live){let n=[],r=0,i=await ae(t),s=!1;do{let{cookies:{nodes:o}}=await p(t,lo,{first:zn,offset:r,airgapBundleId:i,status:e});n.push(...o),r+=zn,s=o.length===zn}while(s);return n.sort((o,l)=>o.name.localeCompare(l.name))}var Xn=20;async function pa(t){let e=[],n=0,r=!1;do{let{assessmentForms:{nodes:i}}=await p(t,Ir,{first:Xn,offset:n});e.push(...i),n+=Xn,r=i.length===Xn}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}var ei=20;async function la(t){let e=[],n=0,r=!1;do{let{assessmentFormTemplates:{nodes:i}}=await p(t,Tr,{first:ei,offset:n});e.push(...i),n+=ei,r=i.length===ei}while(r);return e.sort((i,s)=>i.title.localeCompare(s.title))}var _iots = require('io-ts'); var J = _interopRequireWildcard(_iots); var oe = _interopRequireWildcard(_iots); var L = _interopRequireWildcard(_iots); var ke = _interopRequireWildcard(_iots);var ca=J.type({dependsOnQuestionReferenceId:J.string,comparisonOperator:_typeutils.valuesOf.call(void 0, _privacytypes.ComparisonOperator),comparisonOperands:J.array(J.string)}),nl= exports.Yd =J.recursion("AssessmentNestedRule",t=>J.intersection([J.type({logicOperator:_typeutils.valuesOf.call(void 0, _privacytypes.LogicOperator)}),J.partial({rules:J.array(ca),nestedRules:J.array(t)})])),il= exports.Zd =J.partial({action:_typeutils.valuesOf.call(void 0, _privacytypes.AssessmentsDisplayLogicAction),rule:ca,nestedRule:nl});function ni(t){return _typeutils.decodeCodec.call(void 0, il,t)}var al=oe.intersection([oe.partial({riskAssignment:oe.partial({riskLevelId:oe.string,riskMatrixRowId:oe.string,riskMatrixColumnId:oe.string})}),oe.type({comparisonOperands:oe.array(oe.string),comparisonOperator:_typeutils.valuesOf.call(void 0, _privacytypes.ComparisonOperator)})]);function ii(t){return _typeutils.decodeCodec.call(void 0, al,t)}var ri=20;async function ma(t){let e=[],n=0,r=!1;do{let{preferenceTopics:{nodes:i}}=await p(t,Pr,{first:ri,offset:n});e.push(...i),n+=ri,r=i.length===ri}while(r);return e.sort((i,s)=>`${i.slug}:${i.purpose.trackingType}`.localeCompare(`${s.slug}:${s.purpose.trackingType}`))}async function ua(t){let[e,n]=await Promise.all([qt(t),ma(t)]);return e.map(r=>{let i=n.filter(s=>s.purpose.trackingType===r.trackingType);return{...r,topics:i}})}function ce(t){let e=[];return t.map(n=>{let r=e.find(i=>i.key===n.attributeKey.name);return r===void 0?(r={key:n.attributeKey.name,values:[n.name]},e.push(r)):r.values.push(n.name),e}),e}function oi(t){return t.map(({country:e,countrySubDivision:n})=>({country:e,...n?{countrySubDivision:n}:{}}))}var ml=["dataSilos","enrichers","templates","apiKeys"];async function zA(t,{dataSiloIds:e,integrationNames:n,debug:r,resources:i=ml,pageSize:s,skipDatapoints:o,includeGuessedCategories:l,skipSubDatapoints:u,trackerStatuses:c=Object.values(_privacytypes.ConsentTrackerStatus)}){if(e.length>0&&n.length>0)throw new Error("Only 1 of integrationNames OR dataSiloIds can be provided");_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching data with page size ${s}...`));let[d,m,g,h,I,Y,X,O,j,P,Z,_e,H,Me,ne,me,Ge,ve,Ue,qe,ue,ct,mt,ut,dt,je,St,Ye,y,_,ee,re,yi]=await Promise.all([i.includes("dataSilos")||i.includes("dataSubjects")?ht(t):[],i.includes("apiKeys")?kt({},t,!0):[],i.includes("dataSilos")?Ps(t,{ids:e,integrationNames:n,pageSize:s,debug:r,includeGuessedCategories:l,skipDatapoints:o,skipSubDatapoints:u}):[],i.includes("enrichers")?Rn(t):[],i.includes("dataFlows")?[...c.includes(_privacytypes.ConsentTrackerStatus.Live)?await Xe(t,_privacytypes.ConsentTrackerStatus.Live):[],...c.includes(_privacytypes.ConsentTrackerStatus.NeedsReview)?await Xe(t,_privacytypes.ConsentTrackerStatus.NeedsReview):[]]:[],i.includes("cookies")?[...c.includes(_privacytypes.ConsentTrackerStatus.Live)?await Jn(t,_privacytypes.ConsentTrackerStatus.Live):[],...c.includes(_privacytypes.ConsentTrackerStatus.NeedsReview)?await Jn(t,_privacytypes.ConsentTrackerStatus.NeedsReview):[]]:[],i.includes("customFields")?ze(t):[],i.includes("templates")?Mn(t):[],i.includes("identifiers")?Sn(t):[],i.includes("actions")?Nt(t):[],i.includes("businessEntities")?Ot(t):[],i.includes("processingActivities")?oa(t):[],i.includes("consentManager")?Es(t):void 0,i.includes("consentManager")?xt(t):[],i.includes("prompts")?Ze(t):[],i.includes("promptPartials")?Mt(t):[],i.includes("promptGroups")?Ut(t):[],i.includes("agents")?Ft(t):[],i.includes("agentFunctions")?Bt(t):[],i.includes("agentFiles")?Kt(t):[],i.includes("vendors")?Vt(t):[],i.includes("dataCategories")?jt(t):[],i.includes("processingPurposes")?Yt(t):[],i.includes("actionItems")?Qt(t,{type:[_privacytypes.ActionItemCode.Onboarding]}):[],i.includes("actionItemCollections")?tt(t):[],i.includes("teams")?Lt(t):[],i.includes("policies")?_t(t):[],i.includes("privacyCenters")?sa(t):[],i.includes("messages")?aa(t):[],i.includes("partitions")?At(t):[],i.includes("assessments")?pa(t):[],i.includes("assessmentTemplates")?la(t):[],i.includes("purposes")?ua(t):[]]),ft=i.includes("consentManager")&&H?await Rs(t,H.id):void 0,G={},Ea=_chunkT7B5NTGFcjs.a.call(void 0, g.map(([{apiKeys:f}])=>f.map(({title:C})=>C))),Ci=Object.values(m).filter(({title:f})=>i.includes("apiKeys")?!0:Ea.includes(f));if(Ci.length>0&&i.includes("apiKeys")&&(G["api-keys"]=Ci.map(({title:f})=>({title:f}))),_.length>0&&i.includes("partitions")&&(G.partitions=_.map(({name:f,partition:C})=>({name:f,partition:C}))),H&&i.includes("consentManager")&&(G["consent-manager"]={bundleUrls:{TEST:H.testBundleURL,PRODUCTION:H.bundleURL},domains:H.configuration.domains||void 0,partition:H.configuration.partition||void 0,consentPrecedence:H.configuration.consentPrecedence||void 0,unknownRequestPolicy:H.configuration.unknownRequestPolicy||void 0,unknownCookiePolicy:H.configuration.unknownCookiePolicy||void 0,syncEndpoint:H.configuration.syncEndpoint||void 0,telemetryPartitioning:H.configuration.telemetryPartitioning||void 0,signedIabAgreement:H.configuration.signedIabAgreement||void 0,syncGroups:H.configuration.syncGroups||void 0,theme:ft?{primaryColor:ft.primaryColor||void 0,fontColor:ft.fontColor||void 0,privacyPolicy:ft.privacyPolicy||void 0,prompt:ft.prompt}:void 0,experiences:Me.map(f=>({name:f.name,displayName:f.displayName||void 0,regions:f.regions.map(C=>({countrySubDivision:C.countrySubDivision||void 0,country:C.country||void 0})),onConsentExpiry:f.onConsentExpiry,consentExpiry:f.consentExpiry,operator:f.operator,displayPriority:f.displayPriority,viewState:f.viewState,purposes:f.purposes.map(C=>({trackingType:C.trackingType})),optedOutPurposes:f.optedOutPurposes.map(C=>({trackingType:C.trackingType})),browserLanguages:f.browserLanguages,browserTimeZones:f.browserTimeZones}))}),ee.length>0&&i.includes("assessments")&&(G.assessments=ee.map(({title:f,assessmentGroup:C,sections:S,creator:E,description:R,status:w,assignees:b,externalAssignees:x,reviewers:N,isLocked:v,isArchived:F,isExternallyCreated:M,dueDate:q,createdAt:W,assignedAt:de,submittedAt:Ce,approvedAt:he,rejectedAt:Ie,titleIsInternal:V,retentionSchedule:ie,attributeValues:$e,resources:gt,syncedRows:Fe})=>({title:f,group:C.title,sections:S.map(({title:te,status:Ae,questions:se,assignees:$,isReviewed:D,externalAssignees:z})=>({title:te,status:Ae,questions:se.map(({title:Qe,type:zt,subType:pe,placeholder:fe,description:Be,isRequired:Ra,referenceId:wa,displayLogic:hi,riskLogic:$a,riskCategories:ba,riskFramework:xa,answerOptions:Da,selectedAnswers:La,allowedMimeTypes:ka,allowSelectOther:_a,syncModel:Ga,syncColumn:va,attributeKey:qa,requireRiskEvaluation:Oa,requireRiskMatrixEvaluation:Na})=>{let Pe=hi?ni(hi):void 0;return{title:Qe,type:zt,"sub-type":pe,placeholder:fe,description:Be,"is-required":Ra,"reference-id":wa,"display-logic":Pe&&Object.keys(Pe).length>0?{action:Pe.action,rule:Pe.rule?{"depends-on-question-reference-id":Pe.rule.dependsOnQuestionReferenceId,"comparison-operator":Pe.rule.comparisonOperator,"comparison-operands":Pe.rule.comparisonOperands}:void 0,"nested-rule":Pe.nestedRule?{"logic-operator":Pe.nestedRule.logicOperator,rules:(Pe.nestedRule.rules||[]).map(ge=>({"depends-on-question-reference-id":ge.dependsOnQuestionReferenceId,"comparison-operator":ge.comparisonOperator,"comparison-operands":ge.comparisonOperands}))}:void 0}:void 0,"risk-logic":$a.map(ge=>{let Jt=ii(ge);return{"risk-level":_optionalChain([Jt, 'access', _48 => _48.riskAssignment, 'optionalAccess', _49 => _49.riskLevelId]),"comparison-operands":Jt.comparisonOperands,"comparison-operator":Jt.comparisonOperator}}),"risk-categories":ba.map(({title:ge})=>ge),"risk-framework":_optionalChain([xa, 'optionalAccess', _50 => _50.title]),"answer-options":Da.map(({value:ge})=>({value:ge})),"selected-answers":La.map(({value:ge})=>ge),"allowed-mime-types":ka,"allow-select-other":_a,"sync-model":Ga||void 0,"sync-column":va||void 0,"attribute-key":_optionalChain([qa, 'optionalAccess', _51 => _51.name]),"require-risk-evaluation":Oa,"require-risk-matrix-evaluation":Na}}),assignees:$.map(({email:Qe})=>Qe),"external-assignees":z.map(({email:Qe})=>Qe),"is-reviewed":D})),creator:_optionalChain([E, 'optionalAccess', _52 => _52.email]),description:R,status:w,assignees:b.map(({email:te})=>te),"external-assignees":x.map(({email:te})=>te),reviewers:N.map(({email:te})=>te),locked:v,archived:F,external:M,"title-is-internal":V,"due-date":q||void 0,"created-at":W||void 0,"assigned-at":de||void 0,"submitted-at":Ce||void 0,"approved-at":he||void 0,"rejected-at":Ie||void 0,"retention-schedule":ie?{type:ie.type,"duration-days":ie.durationDays,operand:ie.operation}:void 0,attributes:$e!==void 0&&$e.length>0?ce($e):void 0,resources:gt.map(({resourceType:te,title:Ae,name:se,category:$,type:D,purpose:z})=>({type:te,title:$?`${$} - ${se}`:z?`${z} - ${se}`:Ae||se||D||""})),rows:Fe.map(({resourceType:te,title:Ae,name:se,category:$,type:D,purpose:z})=>({type:te,title:$?`${$} - ${se}`:z?`${z} - ${se}`:Ae||se||D||""}))}))),re.length>0&&i.includes("assessmentTemplates")&&(G["assessment-templates"]=re.map(({title:f,description:C,sections:S,status:E,source:R,creator:w,isLocked:b,isArchived:x,createdAt:N,retentionSchedule:v})=>({title:f,description:C,sections:S.map(({title:F,questions:M})=>({title:F,questions:M.map(({title:q,type:W,subType:de,placeholder:Ce,description:he,isRequired:Ie,referenceId:V,displayLogic:ie,riskLogic:$e,riskCategories:gt,riskFramework:Fe,answerOptions:te,allowedMimeTypes:Ae,allowSelectOther:se,syncModel:$,syncColumn:D,attributeKey:z,requireRiskEvaluation:Qe,requireRiskMatrixEvaluation:zt})=>{let pe=ie?ni(ie):void 0;return{title:q,type:W,"sub-type":de,placeholder:Ce,description:he,"is-required":Ie,"reference-id":V,"display-logic":pe&&Object.keys(pe).length>0?{action:pe.action,rule:pe.rule?{"depends-on-question-reference-id":pe.rule.dependsOnQuestionReferenceId,"comparison-operator":pe.rule.comparisonOperator,"comparison-operands":pe.rule.comparisonOperands}:void 0,"nested-rule":pe.nestedRule?{"logic-operator":pe.nestedRule.logicOperator,rules:(pe.nestedRule.rules||[]).map(fe=>({"depends-on-question-reference-id":fe.dependsOnQuestionReferenceId,"comparison-operator":fe.comparisonOperator,"comparison-operands":fe.comparisonOperands}))}:void 0}:void 0,"risk-logic":$e.map(fe=>{let Be=ii(fe);return{"risk-level":_optionalChain([Be, 'access', _53 => _53.riskAssignment, 'optionalAccess', _54 => _54.riskLevelId]),"risk-matrix-row":_optionalChain([Be, 'access', _55 => _55.riskAssignment, 'optionalAccess', _56 => _56.riskMatrixRowId]),"risk-matrix-column":_optionalChain([Be, 'access', _57 => _57.riskAssignment, 'optionalAccess', _58 => _58.riskMatrixColumnId]),"comparison-operands":Be.comparisonOperands,"comparison-operator":Be.comparisonOperator}}),"risk-categories":gt.map(({title:fe})=>fe),"risk-framework":_optionalChain([Fe, 'optionalAccess', _59 => _59.title]),"answer-options":te.map(({value:fe})=>({value:fe})),"allowed-mime-types":Ae,"allow-select-other":se,"sync-model":$||void 0,"sync-column":D||void 0,"attribute-key":_optionalChain([z, 'optionalAccess', _60 => _60.name]),"require-risk-evaluation":Qe,"require-risk-matrix-evaluation":zt}})})),status:E,source:R,creator:_optionalChain([w, 'optionalAccess', _61 => _61.email]),locked:b,archived:x,"created-at":N||void 0,"retention-schedule":v?{type:v.type,"duration-days":v.durationDays,operand:v.operation}:void 0}))),ne.length>0&&i.includes("prompts")&&(G.prompts=ne.map(({title:f,content:C})=>({title:f,content:C}))),me.length>0&&i.includes("promptPartials")&&(G["prompt-partials"]=me.map(({title:f,content:C})=>({title:f,content:C}))),Ge.length>0&&i.includes("promptGroups")&&(G["prompt-groups"]=Ge.map(({title:f,description:C,prompts:S})=>({title:f,description:C,prompts:S.map(({title:E})=>E)}))),je.length>0&&i.includes("teams")&&(G.teams=je.map(({name:f,description:C,ssoDepartment:S,ssoGroup:E,ssoTitle:R,users:w,scopes:b})=>({name:f,description:C,"sso-department":S||void 0,"sso-group":E||void 0,"sso-title":R||void 0,users:w.map(({email:x})=>x),scopes:b.map(({name:x})=>x)}))),d.length>0&&i.includes("dataSubjects")&&(G["data-subjects"]=d.map(({type:f,title:C,active:S,adminDashboardDefaultSilentMode:E,actions:R})=>({type:f,title:_optionalChain([C, 'optionalAccess', _62 => _62.defaultMessage]),active:S,adminDashboardDefaultSilentMode:E,actions:R.map(({type:w})=>w)}))),St.length>0&&(G.policies=St.map(({title:f,versions:C,disabledLocales:S})=>({title:_optionalChain([f, 'optionalAccess', _63 => _63.defaultMessage]),content:_optionalChain([C, 'optionalAccess', _64 => _64[0], 'optionalAccess', _65 => _65.content, 'optionalAccess', _66 => _66.defaultMessage]),disabledLocales:S}))),y.length>0&&(G.messages=y.map(({id:f,defaultMessage:C,targetReactIntlId:S,translations:E})=>({id:f,defaultMessage:C,targetReactIntlId:S||void 0,translations:E.reduce((R,{locale:w,value:b})=>Object.assign(R,{[w]:b}),{})}))),Ye.length>0){let f=Ye[0];G["privacy-center"]={isDisabled:f.isDisabled,showPrivacyRequestButton:f.showPrivacyRequestButton,showPolicies:f.showPolicies,showTrackingTechnologies:f.showTrackingTechnologies,showCookies:f.showCookies,showDataFlows:f.showDataFlows,showConsentManager:f.showConsentManager,showManageYourPrivacy:f.showManageYourPrivacy,showMarketingPreferences:f.showMarketingPreferences,locales:f.locales,defaultLocale:f.defaultLocale,preferBrowserDefaultLocale:f.preferBrowserDefaultLocale,supportEmail:f.supportEmail||void 0,replyToEmail:f.replyToEmail||void 0,useNoReplyEmailAddress:f.useNoReplyEmailAddress,useCustomEmailDomain:f.useCustomEmailDomain,transformAccessReportJsonToCsv:f.transformAccessReportJsonToCsv,theme:f.theme}}if(Z.length>0&&i.includes("businessEntities")&&(G["business-entities"]=Z.map(({title:f,description:C,address:S,headquarterCountry:E,headquarterSubDivision:R,dataProtectionOfficerName:w,dataProtectionOfficerEmail:b,attributeValues:x})=>({title:f,description:C||void 0,address:S||void 0,headquarterCountry:E||void 0,headquarterSubDivision:R||void 0,dataProtectionOfficerName:w||void 0,dataProtectionOfficerEmail:b||void 0,attributes:x!==void 0&&x.length>0?ce(x):void 0}))),_e.length>0&&i.includes("processingActivities")&&(G["processing-activities"]=_e.map(({title:f,description:C,securityMeasureDetails:S,controllerships:E,storageRegions:R,transferRegions:w,retentionType:b,retentionPeriod:x,dataProtectionImpactAssessmentLink:N,dataProtectionImpactAssessmentStatus:v,attributeValues:F,dataSilos:M,dataSubjects:q,teams:W,owners:de,processingPurposeSubCategories:Ce,dataSubCategories:he,saaSCategories:Ie})=>({title:f,description:C,securityMeasureDetails:_nullishCoalesce(S, () => (void 0)),controllerships:E.length>0?E:void 0,storageRegions:R.length>0?oi(R):void 0,transferRegions:w.length>0?oi(w):void 0,retentionType:b,retentionPeriod:b===_privacytypes.RetentionType.StatedPeriod?x:void 0,dataProtectionImpactAssessmentLink:_nullishCoalesce(N, () => (void 0)),dataProtectionImpactAssessmentStatus:v,attributes:F!==void 0&&F.length>0?ce(F):void 0,dataSiloTitles:M.length>0?M.map(({title:V})=>V):void 0,dataSubjectTypes:q.length>0?q.map(({type:V})=>V):void 0,teamNames:W.length>0?W.map(({name:V})=>V):void 0,ownerEmails:de.length>0?de.map(({email:V})=>V):void 0,processingSubPurposes:Ce.length>0?Ce.map(({name:V,purpose:ie})=>({purpose:ie,...V?{name:V}:{}})):void 0,dataSubCategories:he.length>0?he.map(({name:V,category:ie})=>({category:ie,...V?{name:V}:{}})):void 0,saaSCategories:Ie.length>0?Ie.map(({title:V})=>V):void 0}))),P.length>0&&i.includes("actions")&&(G.actions=P.map(({type:f,skipSecondaryIfNoFiles:C,skipDownloadableStep:S,requiresReview:E,regionList:R,regionDetectionMethod:w,waitingPeriod:b})=>({type:f,...f===_privacytypes.RequestAction.Erasure?{skipSecondaryIfNoFiles:C,skipDownloadableStep:S}:{},requiresReview:E,waitingPeriod:b,regionDetectionMethod:w,regionList:R.length>0?R:void 0}))),j.length>0&&i.includes("identifiers")&&(G.identifiers=j.map(({name:f,type:C,regex:S,selectOptions:E,privacyCenterVisibility:R,isRequiredInForm:w,placeholder:b,displayTitle:x,dataSubjects:N,displayDescription:v,displayOrder:F})=>({name:f,type:C,regex:S,selectOptions:E.length>0?E:void 0,privacyCenterVisibility:R.length>0?R:void 0,isRequiredInForm:w,placeholder:b||void 0,dataSubjects:N.length>0?N.map(({type:M})=>M):void 0,displayTitle:_optionalChain([x, 'optionalAccess', _67 => _67.defaultMessage]),displayDescription:_optionalChain([v, 'optionalAccess', _68 => _68.defaultMessage]),displayOrder:F}))),ve.length>0&&i.includes("agents")&&(G.agents=ve.map(({name:f,agentId:C,description:S,instructions:E,codeInterpreterEnabled:R,retrievalEnabled:w,prompt:b,largeLanguageModel:x,teams:N,owners:v,agentFunctions:F,agentFiles:M})=>({name:f,agentId:C,description:S||void 0,instructions:E,codeInterpreterEnabled:R,retrievalEnabled:w,prompt:_optionalChain([b, 'optionalAccess', _69 => _69.title]),"large-language-model":{name:x.name,client:x.client},teams:N&&N.length>0?N.map(({name:q})=>q):void 0,owners:v&&v.length>0?v.map(({email:q})=>q):void 0,"agent-functions":F&&F.length>0?F.map(({name:q})=>q):void 0,"agent-files":M&&M.length>0?M.map(({name:q})=>q):void 0}))),ut.length>0&&i.includes("actionItems")&&(G["action-items"]=ut.map(({teams:f,users:C,customerExperienceActionItemIds:[S],dueDate:E,priority:R,resolved:w,collections:b,notes:x,link:N,title:v,type:F,attributeValues:M})=>({teams:f.map(({name:q})=>q),users:C.map(({email:q})=>q),dueDate:E||void 0,title:v,notes:x,customerExperienceActionItemId:S,collections:b.map(({title:q})=>q),link:N,priority:R||void 0,resolved:w,type:F,attributes:M!==void 0&&M.length>0?ce(M):void 0}))),dt.length>0&&i.includes("actionItemCollections")&&(G["action-item-collections"]=dt.map(({title:f,description:C,hidden:S,productLine:E})=>({title:f,description:C||void 0,hidden:S,productLine:E}))),Ue.length>0&&i.includes("agentFunctions")&&(G["agent-functions"]=Ue.map(({name:f,description:C,parameters:S})=>({name:f,description:C,parameters:JSON.stringify(S)}))),qe.length>0&&i.includes("agentFiles")&&(G["agent-files"]=qe.map(({name:f,description:C,fileId:S,size:E,purpose:R})=>({name:f,description:C,fileId:S,size:E,purpose:R}))),ue.length>0&&i.includes("vendors")&&(G.vendors=ue.map(({title:f,description:C,dataProcessingAgreementLink:S,contactName:E,contactPhone:R,address:w,headquarterCountry:b,headquarterSubDivision:x,websiteUrl:N,businessEntity:v,teams:F,owners:M,attributeValues:q})=>({title:f,description:C||void 0,dataProcessingAgreementLink:S||void 0,contactName:E||void 0,contactPhone:R||void 0,address:w||void 0,headquarterCountry:b||void 0,headquarterSubDivision:x||void 0,websiteUrl:N||void 0,businessEntity:_optionalChain([v, 'optionalAccess', _70 => _70.title]),teams:F&&F.length>0?F.map(({name:W})=>W):void 0,owners:M&&M.length>0?M.map(({email:W})=>W):void 0,attributes:q!==void 0&&q.length>0?ce(q):void 0}))),ct.length>0&&i.includes("dataCategories")&&(G["data-categories"]=ct.map(({name:f,category:C,description:S,regex:E,owners:R,teams:w,attributeValues:b})=>({name:f,category:C,description:S||void 0,regex:E||void 0,owners:R&&R.length>0?R.map(({email:x})=>x):void 0,teams:w&&w.length>0?w.map(({name:x})=>x):void 0,attributes:b!==void 0&&b.length>0?ce(b):void 0}))),mt.length>0&&i.includes("processingPurposes")&&(G["processing-purposes"]=mt.map(({name:f,purpose:C,description:S,owners:E,teams:R,attributeValues:w})=>({name:f,purpose:C,description:S||void 0,owners:E&&E.length>0?E.map(({email:b})=>b):void 0,teams:R&&R.length>0?R.map(({name:b})=>b):void 0,attributes:w!==void 0&&w.length>0?ce(w):void 0}))),I.length>0&&i.includes("dataFlows")&&(G["data-flows"]=I.map(({value:f,type:C,description:S,trackingType:E,service:R,status:w,owners:b,teams:x,attributeValues:N})=>({value:f,type:C,description:S||void 0,trackingPurposes:E,status:w,service:_optionalChain([R, 'optionalAccess', _71 => _71.integrationName]),owners:b.map(({email:v})=>v),teams:x.map(({name:v})=>v),attributes:N!==void 0&&N.length>0?ce(N):void 0}))),Y.length>0&&i.includes("cookies")&&(G.cookies=Y.map(({name:f,isRegex:C,description:S,trackingPurposes:E,service:R,status:w,owners:b,teams:x,attributeValues:N})=>({name:f,isRegex:C,description:S||void 0,trackingPurposes:E,status:w,service:_optionalChain([R, 'optionalAccess', _72 => _72.integrationName]),owners:b.map(({email:v})=>v),teams:x.map(({name:v})=>v),attributes:N!==void 0&&N.length>0?ce(N):void 0}))),X.length>0&&i.includes("customFields")&&(G.attributes=X.map(({description:f,name:C,type:S,values:E,enabledOn:R=[]})=>({description:f||void 0,resources:R,name:C,type:S,values:E.map(({name:w,color:b,description:x})=>({name:w,color:b||void 0,description:x}))}))),yi.length>0&&(G.purposes=yi.map(({name:f,description:C,trackingType:S,defaultConsent:E,configurable:R,showInConsentManager:w,isActive:b,displayOrder:x,optOutSignals:N,authLevel:v,topics:F,showInPrivacyCenter:M,title:q})=>({name:f,title:q,description:C||void 0,trackingType:S,"default-consent":E,configurable:R,"show-in-consent-manager":w,"show-in-privacy-center":M,"is-active":b,"display-order":x,"opt-out-signals":N.length>0?N:void 0,"auth-level":v||void 0,"preference-topics":F.map(({title:W,type:de,displayDescription:Ce,defaultConfiguration:he,showInPrivacyCenter:Ie,preferenceOptionValues:V})=>({title:W.defaultMessage,type:de,description:Ce.defaultMessage,"default-configuration":he,"show-in-privacy-center":Ie,...V.length>0?{options:V.map(({title:ie,slug:$e})=>({title:ie.defaultMessage,slug:$e}))}:{}}))}))),e.length===0&&O.length>0&&i.includes("templates")&&(G.templates=O.map(({title:f})=>({title:f}))),h.length>0&&i.includes("enrichers")&&(G.enrichers=h.map(({title:f,url:C,type:S,inputIdentifier:E,identifiers:R,actions:w,testRegex:b,dataSubjects:x,expirationDuration:N,lookerQueryTitle:v,transitionRequestStatus:F,phoneNumbers:M,regionList:q})=>({title:f,url:C||void 0,type:S,"input-identifier":_optionalChain([E, 'optionalAccess', _73 => _73.name]),"output-identifiers":R.map(({name:W})=>W),"privacy-actions":Object.values(_privacytypes.RequestAction).length===w.length?void 0:w,testRegex:b||void 0,lookerQueryTitle:v||void 0,expirationDuration:parseInt(N,10),transitionRequestStatus:F||void 0,phoneNumbers:M&&M.length>0?M:void 0,regionList:q&&q.length>0?q:void 0,"data-subjects":x.map(({type:W})=>W)}))),g.length>0&&i.includes("dataSilos")){let f=_chunkT7B5NTGFcjs.e.call(void 0, d,"type");G["data-silos"]=g.map(([{title:C,description:S,url:E,type:R,outerType:w,apiKeys:b,notifyEmailAddress:x,identifiers:N,dependentDataSilos:v,owners:F,country:M,countrySubDivision:q,teams:W,subjectBlocklist:de,isLive:Ce,promptAVendorEmailSendFrequency:he,promptAVendorEmailSendType:Ie,promptAVendorEmailIncludeIdentifiersAttachment:V,promptAVendorEmailCompletionLinkType:ie,manualWorkRetryFrequency:$e,catalog:gt,attributeValues:Fe,discoveredBy:te,businessEntities:Ae},se])=>({title:C,description:S,integrationName:R,"outer-type":w||void 0,url:E||void 0,"api-key-title":_optionalChain([b, 'access', _74 => _74[0], 'optionalAccess', _75 => _75.title]),"identity-keys":N.filter(({isConnected:$})=>$).map(({name:$})=>$),...v.length>0?{"deletion-dependencies":v.map(({title:$})=>$)}:{},...F.length>0?{owners:F.map(({email:$})=>$)}:{},...W.length>0?{teams:W.map(({name:$})=>$)}:{},...te.length>0?{discoveredBy:te.map(({title:$})=>$)}:{},...Ae.length>0?{businessEntities:Ae.map(({title:$})=>$)}:{},country:M||void 0,countrySubDivision:q||void 0,disabled:!Ce,"data-subjects":de.length>0?hs(de.map(({type:$})=>$),f):void 0,...gt.hasAvcFunctionality?{"email-settings":{"notify-email-address":x||void 0,"send-frequency":he,"send-type":Ie,"include-identifiers-attachment":V,"completion-link-type":ie,"manual-work-retry-frequency":$e}}:{},attributes:Fe!==void 0&&Fe.length>0?ce(Fe):void 0,datapoints:se.map($=>({key:$.name,title:_optionalChain([$, 'access', _76 => _76.title, 'optionalAccess', _77 => _77.defaultMessage]),description:_optionalChain([$, 'access', _78 => _78.description, 'optionalAccess', _79 => _79.defaultMessage]),owners:$.owners.map(({email:D})=>D),teams:$.teams.map(({name:D})=>D),...$.path.length>0?{path:$.path}:{},..._optionalChain([$, 'access', _80 => _80.dataCollection, 'optionalAccess', _81 => _81.title])?{"data-collection-tag":$.dataCollection.title.defaultMessage}:{},...$.dbIntegrationQueries.length>0?{"privacy-action-queries":_chunkT7B5NTGFcjs.f.call(void 0, _chunkT7B5NTGFcjs.e.call(void 0, $.dbIntegrationQueries,"requestType"),D=>D.suggestedQuery||D.query||void 0)}:{},...$.subDataPoints.length>0?{fields:$.subDataPoints.map(D=>({key:D.name,description:D.description,purposes:D.purposes,categories:D.categories,...l&&D.pendingCategoryGuesses?{"guessed-categories":D.pendingCategoryGuesses.filter(z=>z.status==="PENDING").map(z=>({category:{name:z.category.name,category:z.category.category},status:z.status,confidence:z.confidence,classifierVersion:z.classifierVersion||void 0}))}:{},"access-request-visibility-enabled":D.accessRequestVisibilityEnabled,"erasure-request-redaction-enabled":D.erasureRequestRedactionEnabled,attributes:D.attributeValues!==void 0&&D.attributeValues.length>0?ce(D.attributeValues):void 0})).sort((D,z)=>D.key.localeCompare(z.key))}:{},"privacy-actions":$.actionSettings.filter(({active:D})=>D).map(({type:D})=>D)})).sort(($,D)=>[..._nullishCoalesce($.path, () => ([])),$.key].join(".").localeCompare([..._nullishCoalesce(D.path, () => ([])),D.key].join(".")))}))}return G}var si=20;async function fa(t){let e=[],n=0,r=!1;do{let{softwareDevelopmentKits:{nodes:i}}=await p(t,nr,{first:si,offset:n});e.push(...i),n+=si,r=i.length===si}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var ul=100;async function dl(t,e){let{createSoftwareDevelopmentKit:{softwareDevelopmentKit:n}}=await p(t,rr,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created software development kit "${e.name}"!`)),n}async function fl(t,e){let{updateSoftwareDevelopmentKits:{softwareDevelopmentKits:n}}=await p(t,ir,{input:{softwareDevelopmentKits:e}});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} software development kits!`)),n}async function ga(t,e,n=20){let r=!1,i=[];_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Syncing software development kits..."));let s=await fa(t),o=_chunkT7B5NTGFcjs.e.call(void 0, s,({name:m,codePackageType:g})=>JSON.stringify({name:m,codePackageType:g})),l=e.map(m=>[m,_optionalChain([o, 'access', _82 => _82[JSON.stringify({name:m.name,codePackageType:m.codePackageType})], 'optionalAccess', _83 => _83.id])]),u=l.filter(([,m])=>!m).map(([m])=>m);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${u.length}" new software development kits...`)),await Q(u,async m=>{let g=await dl(t,m);i.push(g)},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${u.length} software development kits!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create software development kits! - ${m.message}`))}let c=l.filter(m=>!!m[1]),d=_chunkT7B5NTGFcjs.b.call(void 0, c,ul);return _chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${c.length}" software development kits...`)),await T(d,async m=>{try{let g=await fl(t,m.map(([{codePackageType:h,...I},Y])=>({...I,id:Y})));i.push(...g),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${c.length}" software development kits!`))}catch(g){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to update software development kits! - ${g.message}`))}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" software development kits!`))}),{softwareDevelopmentKits:i,success:!r}}var ai=20;async function ya(t){let e=[],n=0,r=!1;do{let{repositories:{nodes:i}}=await p(t,Qi,{first:ai,offset:n});e.push(...i),n+=ai,r=i.length===ai}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var gl=100;async function yl(t,e){let{createRepository:{repository:n}}=await p(t,Ki,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created repository "${e.name}"!`)),n}async function Cl(t,e){let{updateRepositories:{repositories:n}}=await p(t,Bi,{input:{repositories:e}});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} repositories!`)),n}async function Ca(t,e,n=20){let r=!1,i=[],s=await ya(t),o=_chunkT7B5NTGFcjs.e.call(void 0, s,"name"),l=e.map(m=>[m,_optionalChain([o, 'access', _84 => _84[m.name], 'optionalAccess', _85 => _85.id])]),u=l.filter(([,m])=>!m).map(([m])=>m);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${u.length}" new repositories...`)),await Q(u,async m=>{let g=await yl(t,m);i.push(g)},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${u.length} repositories!`))}catch(m){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create repositories! - ${m.message}`))}let c=l.filter(m=>!!m[1]),d=_chunkT7B5NTGFcjs.b.call(void 0, c,gl);return _chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${c.length}" repositories...`)),await T(d,async m=>{try{let g=await Cl(t,m.map(([h,I])=>({...h,id:I})));i.push(...g),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${c.length}" repositories!`))}catch(g){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to update repositories! - ${g.message}`))}_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" repositories!`))}),{repositories:i,success:!r}}var pi=20;async function ha(t){let e=[],n=0,r=!1;do{let{codePackages:{nodes:i}}=await p(t,or,{first:pi,offset:n});e.push(...i),n+=pi,r=i.length===pi}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var hl=100,pt="%%%%";async function Il(t,e){let{createCodePackage:{codePackage:n}}=await p(t,ar,{input:e});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully created code package "${e.name}"!`)),n}async function Al(t,e){let{updateCodePackages:{codePackages:n}}=await p(t,sr,{input:{codePackages:e}});return _chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated ${e.length} code packages!`)),n}async function qP(t,e,n=20){let r=!1,[i,{softwareDevelopmentKits:s}]=await Promise.all([ha(t),ga(t,_chunkT7B5NTGFcjs.k.call(void 0, e.map(({type:g,softwareDevelopmentKits:h=[]})=>h.map(({name:I})=>({name:I,codePackageType:g}))).flat(),({name:g,codePackageType:h})=>`${g}${pt}${h}`),n),Ca(t,_chunkT7B5NTGFcjs.k.call(void 0, e,"repositoryName").map(({repositoryName:g})=>({name:g,url:`https://github.com/${g}`})))]),o=_chunkT7B5NTGFcjs.e.call(void 0, s,({name:g,codePackageType:h})=>`${g}${pt}${h}`),l=_chunkT7B5NTGFcjs.e.call(void 0, i,({name:g,type:h})=>`${g}${pt}${h}`),u=e.map(g=>[g,_optionalChain([l, 'access', _86 => _86[`${g.name}${pt}${g.type}`], 'optionalAccess', _87 => _87.id])]),c=u.filter(([,g])=>!g).map(([g])=>g);try{_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Creating "${c.length}" new code packages...`)),await Q(c,async({softwareDevelopmentKits:g,...h})=>{await Il(t,{...h,...g?{softwareDevelopmentKitIds:_chunkT7B5NTGFcjs.j.call(void 0, g.map(({name:I})=>{let Y=o[`${I}${pt}${h.type}`];if(!Y)throw new Error(`Failed to find SDK with name: "${I}"`);return Y.id}))}:{}})},{concurrency:n}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully synced ${c.length} code packages!`))}catch(g){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to create code packages! - ${g.message}`))}let d=u.filter(g=>!!g[1]);_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Updating "${d.length}" code packages...`));let m=_chunkT7B5NTGFcjs.b.call(void 0, d,hl);return await T(m,async g=>{try{await Al(t,g.map(([{softwareDevelopmentKits:h,repositoryName:I,...Y},X])=>({...Y,...h?{softwareDevelopmentKitIds:_chunkT7B5NTGFcjs.j.call(void 0, h.map(({name:O})=>{let j=o[`${O}${pt}${Y.type}`];if(!j)throw new Error(`Failed to find SDK with name: "${O}"`);return j.id}))}:{},id:X}))),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Successfully updated "${g.length}" code packages!`))}catch(h){r=!0,_chunkZUNVPK23cjs.a.info(_colors2.default.red(`Failed to update code packages! - ${h.message}`))}}),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Synced "${e.length}" code packages!`)),!r}var Pl=1e3;async function QP(t,e,n){let r=_chunkT7B5NTGFcjs.b.call(void 0, n,Pl);await T(r,async i=>{await p(t,Hi,{pluginId:e,rawResults:i})})}var li=100;async function Tl(t){let e=[],n=0,r=!1;do{let{catalogs:{nodes:i}}=await p(t,_i,{first:li,offset:n});e.push(...i),n+=li,r=i.length===li}while(r);return e.sort((i,s)=>i.integrationName.localeCompare(s.integrationName))}async function jP(t){let e=await Tl(t),n=e.reduce((i,s)=>Object.assign(i,{[s.integrationName]:s.title}),{}),r=e.reduce((i,s)=>Object.assign(i,{[s.integrationName]:s.hasApiFunctionality}),{});return{catalogs:e,serviceToTitle:n,serviceToSupportedIntegration:r}}function El(t,e){return new (0, _graphqlrequest.GraphQLClient)(`${t}/graphql`,{headers:{...e,version:_chunkT7B5NTGFcjs.m}})}function Ia(t,e){return El(t,{Authorization:`Bearer ${e}`})}var _got = require('got'); var _got2 = _interopRequireDefault(_got);async function nT(t,e,n){let r=Ia(t,e),{organization:i}=await p(r,er),{customerUrl:s}=i.sombra;if(["https://sombra-reverse-tunnel.transcend.io","https://sombra-reverse-tunnel.us.transcend.io"].includes(s))throw new Error("It looks like your Sombra customer ingress URL has not been set up. Please follow the instructions here to configure networking for Sombra: https://docs.transcend.io/docs/articles/sombra/deploying/customizing-sombra/networking");return _got2.default.extend({prefixUrl:s,headers:{Authorization:`Bearer ${e}`,...n?{"X-Sombra-Authorization":`Bearer ${n}`}:{}}})}async function sT(t,e){await p(t,no,{input:e})}async function cT(t,e){await p(t,Cr,{requestEnricherId:e})}var ci=20;async function fT(t,e){let n=[],r=0,i=!1;do{let{promptThreads:{nodes:s}}=await p(t,pr,{first:ci,offset:r,filterBy:e});n.push(...s),r+=ci,i=s.length===ci}while(i);return n.sort((s,o)=>s.threadId.localeCompare(o.threadId))}var mi=50;async function hT(t,{requestId:e}){let n=[],r=0,i=!1;do{let{requestIdentifiers:{nodes:s}}=await p(t,Mr,{first:mi,offset:r,requestIds:[e]});n.push(...s),r+=mi,i=s.length===mi}while(i);return n}async function TT(t,{dataSiloId:e}){let{listReducedRequestsForDataSilo:{totalCount:n}}=await p(t,Gr,{input:{dataSiloId:e,isResolved:!1}});return n}var ui=20;async function wT(t){let e=[],n=0,r=!1;do{let{attributeKeys:{nodes:i}}=await p(t,tr,{first:ui,offset:n});e.push(...i),n+=ui,r=i.length===ui}while(r);return e.sort((i,s)=>i.name.localeCompare(s.name))}var _internationalization = require('@transcend-io/internationalization');var qT=L.intersection([L.type({id:L.string,createdAt:L.string,email:L.string,type:_typeutils.valuesOf.call(void 0, _privacytypes.RequestAction),link:L.string,isSilent:L.boolean,origin:_typeutils.valuesOf.call(void 0, _privacytypes.RequestOrigin),isTest:L.boolean,coreIdentifier:L.string,details:L.string,locale:_typeutils.valuesOf.call(void 0, _internationalization.LanguageKey),status:_typeutils.valuesOf.call(void 0, _privacytypes.RequestStatus),subjectType:L.string,country:L.union([L.null,_typeutils.valuesOf.call(void 0, _privacytypes.IsoCountryCode)]),countrySubDivision:L.union([L.null,_typeutils.valuesOf.call(void 0, _privacytypes.IsoCountrySubdivisionCode)]),attributeValues:L.array(L.type({id:L.string,attributeKey:L.type({name:L.string,id:L.string}),name:L.string}))}),L.partial({daysRemaining:L.union([L.null,L.number])})]),Ht=50;async function OT(t,{actions:e=[],statuses:n=[],origins:r=[],text:i,createdAtBefore:s,createdAtAfter:o,isTest:l,isSilent:u,isClosed:c,requestIds:d=[]}={}){_chunkZUNVPK23cjs.a.info(_colors2.default.magenta("Fetching requests..."));let m=new Date().getTime(),g=new _cliprogress2.default.SingleBar({},_cliprogress2.default.Presets.shades_classic),h=[],I=0,Y=!1;do{let{requests:{nodes:P,totalCount:Z}}=await p(t,ur,{first:Ht,offset:I,filterBy:{text:i,type:e.length>0?e:void 0,status:n.length>0?n:void 0,origin:r.length>0?r:void 0,isTest:l,isSilent:u,isClosed:c,createdAtBefore:s?s.toISOString():void 0,createdAtAfter:o?o.toISOString():void 0}});I===0&&Z>Ht&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching ${Z} requests`)),g.start(Z,0)),h.push(...P),I+=Ht,g.update(I),Y=P.length===Ht}while(Y);g.stop();let O=new Date().getTime()-m;_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Completed fetching of ${h.length} request in "${O/1e3}" seconds.`));let j=h;return d&&d.length>0&&(j=j.filter(P=>d.includes(P.id)),_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Filtered down to ${j.length} requests based on ${d.length} provided IDs.`))),j}var _semver = require('semver'); var _semver2 = _interopRequireDefault(_semver);var Pa="7.180",ql=ke.type({id:ke.string,name:ke.string,value:ke.string,type:_typeutils.valuesOf.call(void 0, _privacytypes.IdentifierType)}),di=50,Ol= exports.Ce =ke.type({identifiers:ke.array(ql)});async function KT(t,e,{requestId:n}){let r=[],i=0,s=!1,{organization:{sombra:{version:o}}}=await p(t,cs);if(o&&_semver2.default.lt(o,Pa))throw new Error(`Please upgrade Sombra to ${Pa} or greater to use this command.`);do{let l;try{l=await e.post("v1/request-identifiers",{json:{first:di,offset:i,requestId:n}}).json()}catch(c){throw new Error(`Failed to fetch request identifiers: ${_optionalChain([c, 'optionalAccess', _88 => _88.response, 'optionalAccess', _89 => _89.body])||_optionalChain([c, 'optionalAccess', _90 => _90.message])}`)}let{identifiers:u}=_typeutils.decodeCodec.call(void 0, Ol,l);r.push(...u),i+=di,s=u.length===di}while(s);return r}var fi=50;async function ZT(t,{requestId:e}){let n=[],r=0,i=!1;do{let{requestEnrichers:{nodes:s}}=await p(t,yr,{first:fi,offset:r,requestId:e});n.push(...s),r+=fi,i=s.length===fi}while(i);return n}var Wt=100;async function Nl(t,{requestId:e,dataSiloId:n,requestStatuses:r,statuses:i,skipLog:s=!1}){let o=new Date().getTime(),l=new _cliprogress2.default.SingleBar({},_cliprogress2.default.Presets.shades_classic),u=[],c=0,d=!1;do{let{requestDataSilos:{nodes:h,totalCount:I}}=await p(t,_r,{first:Wt,offset:c,filterBy:{dataSiloId:n,requestId:e,status:i,requestStatus:r}});u.push(...h),c===0&&I>Wt&&(_chunkZUNVPK23cjs.a.info(_colors2.default.magenta(`Fetching ${I} requests`)),l.start(I,0)),c+=Wt,d=h.length===Wt,l.update(c)}while(d);l.stop();let g=new Date().getTime()-o;return s||_chunkZUNVPK23cjs.a.info(_colors2.default.green(`Completed fetching of ${u.length} request data silos in "${g/1e3}" seconds.`)),u}async function tS(t,{requestId:e,dataSiloId:n}){let r=await Nl(t,{requestId:e,dataSiloId:n,skipLog:!0});if(r.length!==1)throw new Error(`Failed to find RequestDataSilo with requestId:${e},dataSiloId:${n}`);return r[0]}function oS(t){return _got2.default.extend({prefixUrl:t})}async function lS(t,{email:e,password:n}){let{determineLoginMethod:{loginMethod:r}}=await p(t,dn,{email:e}),i=await t.rawRequest(Bo,{email:e,password:n,publicKey:r.sombraPublicKey}),{login:{user:s}}=i.data,o=i.headers.get("set-cookie");if(!o||!o.includes("laravel"))throw new Error("Failed to get login cookie in response");return{roles:s.roles,loginCookie:o}}async function cS(t,{email:e,roleId:n}){let{determineLoginMethod:{loginMethod:r}}=await p(t,dn,{email:e,userId:n});await t.rawRequest(Ko,{id:n,publicKey:r.sombraPublicKey})}var gi=20;async function fS(t){let e=[],n=0,r=!1;do{let{users:{nodes:i}}=await p(t,Ur,{first:gi,offset:n});e.push(...i),n+=gi,r=i.length===gi}while(r);return e.sort((i,s)=>i.email.localeCompare(s.email))}async function hS(t,e){let{createApiKey:{apiKey:n}}=await p(t,ji,{input:e});return n}async function IS(t,e){await p(t,Yi,{id:e})}async function SS(t,e,n){let r=[],i=null,s=!1;do{let o=await p(t,Qr,{filterBy:{...n},first:e,after:_nullishCoalesce(i, () => (void 0))}),{bulkRequestFiles:{nodes:l,pageInfo:u}}=o;r.push(...l),s=u.hasNextPage,i=u.endCursor}while(s);return r.sort((o,l)=>o.remoteId.localeCompare(l.remoteId))}async function $S(t,{id:e,bundleType:n}){await p(t,Co,{airgapBundleId:e,bundleType:n})}async function bS(t,{id:e,bundleType:n}){await p(t,yo,{airgapBundleId:e,bundleType:n})}async function kS(t,e){let{reportPromptRun:{promptRun:n}}=await p(t,Kr,{input:{...e,promptRunMessages:e.promptRunMessages.map(({content:r,...i})=>({...i,message:r}))}});return n.id}async function qS(t,{promptRunId:e,promptRunMessages:n=[],...r}){let{addMessagesToPromptRun:{promptRun:i}}=await p(t,Vr,{input:{...r,...e,promptRunMessages:n.map(({content:s,...o})=>({...o,message:s}))}});return i.id}exports.a = T; exports.b = Q; exports.c = Si; exports.d = Ql; exports.e = Ei; exports.f = Bl; exports.g = Ri; exports.h = wi; exports.i = Kl; exports.j = Yl; exports.k = $i; exports.l = Wl; exports.m = bi; exports.n = en; exports.o = xi; exports.p = Di; exports.q = Xl; exports.r = Li; exports.s = ki; exports.t = _i; exports.u = Gi; exports.v = vi; exports.w = qi; exports.x = Oi; exports.y = Ni; exports.z = Mi; exports.A = Ui; exports.B = Fi; exports.C = Qi; exports.D = Bi; exports.E = Ki; exports.F = Vi; exports.G = ji; exports.H = Yi; exports.I = Hi; exports.J = Wi; exports.K = Ji; exports.L = Xi; exports.M = er; exports.N = tr; exports.O = nr; exports.P = ir; exports.Q = rr; exports.R = or; exports.S = sr; exports.T = ar; exports.U = pr; exports.V = cr; exports.W = mr; exports.X = ur; exports.Y = bc; exports.Z = xc; exports._ = Dc; exports.$ = Lc; exports.aa = fr; exports.ba = gr; exports.ca = yr; exports.da = Cr; exports.ea = qc; exports.fa = an; exports.ga = Ir; exports.ha = Mc; exports.ia = Ar; exports.ja = Pr; exports.ka = Tr; exports.la = Sr; exports.ma = Er; exports.na = Rr; exports.oa = wr; exports.pa = $r; exports.qa = br; exports.ra = xr; exports.sa = Dr; exports.ta = Lr; exports.ua = kr; exports.va = _r; exports.wa = zc; exports.xa = Jc; exports.ya = Gr; exports.za = vr; exports.Aa = qr; exports.Ba = Or; exports.Ca = im; exports.Da = Mr; exports.Ea = Ur; exports.Fa = pm; exports.Ga = Qr; exports.Ha = Kr; exports.Ia = Vr; exports.Ja = jr; exports.Ka = Yr; exports.La = Zr; exports.Ma = Hr; exports.Na = Wr; exports.Oa = zr; exports.Pa = Jr; exports.Qa = Xr; exports.Ra = eo; exports.Sa = to; exports.Ta = no; exports.Ua = io; exports.Va = ro; exports.Wa = oo; exports.Xa = so; exports.Ya = ao; exports.Za = po; exports._a = lo; exports.$a = co; exports.ab = mo; exports.bb = uo; exports.cb = fo; exports.db = go; exports.eb = yo; exports.fb = Co; exports.gb = ho; exports.hb = Io; exports.ib = Ao; exports.jb = Po; exports.kb = To; exports.lb = So; exports.mb = Eo; exports.nb = Ro; exports.ob = wo; exports.pb = $o; exports.qb = bo; exports.rb = xo; exports.sb = Do; exports.tb = Lo; exports.ub = ko; exports.vb = Go; exports.wb = vo; exports.xb = qo; exports.yb = Oo; exports.zb = No; exports.Ab = Mo; exports.Bb = Uo; exports.Cb = Fo; exports.Db = Qo; exports.Eb = dn; exports.Fb = Bo; exports.Gb = Ko; exports.Hb = Lm; exports.Ib = Vo; exports.Jb = jo; exports.Kb = Yo; exports.Lb = Zo; exports.Mb = Ho; exports.Nb = Wo; exports.Ob = zo; exports.Pb = Jo; exports.Qb = Xo; exports.Rb = es; exports.Sb = ts; exports.Tb = ns; exports.Ub = is; exports.Vb = rs; exports.Wb = os; exports.Xb = ss; exports.Yb = as; exports.Zb = ps; exports._b = ls; exports.$b = cs; exports.ac = p; exports.bc = Sn; exports.cc = ms; exports.dc = us; exports.ec = Rn; exports.fc = fs; exports.gc = gs; exports.hc = ht; exports.ic = ys; exports.jc = Cs; exports.kc = hs; exports.lc = As; exports.mc = ip; exports.nc = rp; exports.oc = Ps; exports.pc = Ts; exports.qc = Ss; exports.rc = Es; exports.sc = ae; exports.tc = xt; exports.uc = op; exports.vc = Md; exports.wc = Rs; exports.xc = ap; exports.yc = ws; exports.zc = Lt; exports.Ac = $s; exports.Bc = lp; exports.Cc = kt; exports.Dc = Ze; exports.Ec = cf; exports.Fc = cp; exports.Gc = mp; exports.Hc = xs; exports.Ic = It; exports.Jc = He; exports.Kc = _t; exports.Lc = dp; exports.Mc = Ds; exports.Nc = gp; exports.Oc = Ls; exports.Pc = ks; exports.Qc = At; exports.Rc = Gs; exports.Sc = qt; exports.Tc = hp; exports.Uc = Os; exports.Vc = Ip; exports.Wc = Ap; exports.Xc = ze; exports.Yc = Ot; exports.Zc = Pp; exports._c = Tp; exports.$c = Us; exports.ad = Xe; exports.bd = Sp; exports.cd = Ep; exports.dd = Ks; exports.ed = Vs; exports.fd = Mn; exports.gd = js; exports.hd = Nt; exports.id = Mt; exports.jd = Ut; exports.kd = Ft; exports.ld = bp; exports.md = xp; exports.nd = Ys; exports.od = Dp; exports.pd = Lp; exports.qd = Zs; exports.rd = Qt; exports.sd = kp; exports.td = _p; exports.ud = Ws; exports.vd = Bt; exports.wd = vp; exports.xd = qp; exports.yd = zs; exports.zd = Kt; exports.Ad = Op; exports.Bd = Np; exports.Cd = Js; exports.Dd = Vt; exports.Ed = Mp; exports.Fd = Up; exports.Gd = Xs; exports.Hd = jt; exports.Id = Fp; exports.Jd = Qp; exports.Kd = ea; exports.Ld = Yt; exports.Md = Bp; exports.Nd = Kp; exports.Od = ta; exports.Pd = CI; exports.Qd = TI; exports.Rd = oa; exports.Sd = sa; exports.Td = aa; exports.Ud = Jn; exports.Vd = pa; exports.Wd = la; exports.Xd = ca; exports.Yd = nl; exports.Zd = il; exports._d = ni; exports.$d = al; exports.ae = ii; exports.be = ma; exports.ce = ua; exports.de = ml; exports.ee = zA; exports.fe = dl; exports.ge = fl; exports.he = ga; exports.ie = yl; exports.je = Cl; exports.ke = Ca; exports.le = Il; exports.me = Al; exports.ne = qP; exports.oe = QP; exports.pe = Tl; exports.qe = jP; exports.re = El; exports.se = Ia; exports.te = nT; exports.ue = sT; exports.ve = cT; exports.we = fT; exports.xe = hT; exports.ye = TT; exports.ze = wT; exports.Ae = qT; exports.Be = OT; exports.Ce = Ol; exports.De = KT; exports.Ee = ZT; exports.Fe = Nl; exports.Ge = tS; exports.He = oS; exports.Ie = lS; exports.Je = cS; exports.Ke = fS; exports.Le = hS; exports.Me = IS; exports.Ne = SS; exports.Oe = $S; exports.Pe = bS; exports.Qe = kS; exports.Re = qS;
|
|
2900
|
-
//# sourceMappingURL=chunk-4VUILSBX.cjs.map
|