@burdenoff/sdk-libs 2026.813.2 → 2026.825.1
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.
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var u=`
|
|
2
2
|
fragment AdapterScalars on AdaAdapter {
|
|
3
3
|
id name slug description kind status vendor version
|
|
4
4
|
capabilities configSchema tags
|
|
5
5
|
workspaceId createdAt updatedAt
|
|
6
6
|
}
|
|
7
|
-
`,
|
|
7
|
+
`,s=`
|
|
8
8
|
fragment ConnectionScalars on AdaConnection {
|
|
9
9
|
id adapterId name authMethod status config
|
|
10
10
|
environment region secretRef targetRef lastError lastSyncedAt resourceCount tags
|
|
11
11
|
workspaceId createdAt updatedAt
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,A=`
|
|
14
14
|
fragment ResourceScalars on AdaResource {
|
|
15
15
|
id connectionId externalId name resourceType state region monthlyCost
|
|
16
16
|
attributes providerTags tags lastSeenAt
|
|
@@ -23,77 +23,77 @@
|
|
|
23
23
|
summary error startedAt finishedAt
|
|
24
24
|
workspaceId createdAt updatedAt
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
26
|
+
`,p=`
|
|
27
27
|
fragment DriftFields on AdaDriftRecord {
|
|
28
28
|
id resourceId attributePath expectedValue observedValue
|
|
29
29
|
severity status detectedAt remediatedAt
|
|
30
30
|
workspaceId createdAt updatedAt
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,l=`
|
|
33
33
|
fragment PolicyScalars on AdaPolicy {
|
|
34
34
|
id name description kind enforcement severity expression
|
|
35
35
|
appliesTo isActive tags
|
|
36
36
|
workspaceId createdAt updatedAt
|
|
37
37
|
}
|
|
38
|
-
`,
|
|
38
|
+
`,y=`
|
|
39
39
|
fragment ViolationScalars on AdaPolicyViolation {
|
|
40
40
|
id policyId resourceId message severity status evidence waiverReason
|
|
41
41
|
detectedAt resolvedAt resolvedById
|
|
42
42
|
workspaceId createdAt updatedAt
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,g=`
|
|
45
45
|
fragment CostRecordFields on AdaCostRecord {
|
|
46
46
|
id service amount currency periodStart periodEnd breakdown
|
|
47
47
|
connectionId resourceId workspaceId createdAt updatedAt
|
|
48
48
|
}
|
|
49
|
-
`,
|
|
49
|
+
`,P=`
|
|
50
50
|
fragment TopologyEdgeFields on AdaTopologyEdge {
|
|
51
51
|
id fromResourceId toResourceId kind weight bidirectional attributes
|
|
52
52
|
workspaceId createdAt updatedAt
|
|
53
53
|
}
|
|
54
|
-
`,
|
|
55
|
-
${
|
|
56
|
-
${
|
|
54
|
+
`,R=`
|
|
55
|
+
${u}
|
|
56
|
+
${s}
|
|
57
57
|
fragment AdapterFull on AdaAdapter {
|
|
58
58
|
...AdapterScalars
|
|
59
59
|
connections { ...ConnectionScalars }
|
|
60
60
|
}
|
|
61
61
|
`,i=`
|
|
62
|
-
${
|
|
63
|
-
${c}
|
|
62
|
+
${s}
|
|
64
63
|
${u}
|
|
64
|
+
${A}
|
|
65
65
|
fragment ConnectionFull on AdaConnection {
|
|
66
66
|
...ConnectionScalars
|
|
67
67
|
adapter { ...AdapterScalars }
|
|
68
68
|
resources { ...ResourceScalars }
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
${
|
|
72
|
-
${
|
|
70
|
+
`,$=`
|
|
71
|
+
${A}
|
|
72
|
+
${s}
|
|
73
73
|
fragment ResourceFull on AdaResource {
|
|
74
74
|
...ResourceScalars
|
|
75
75
|
connection { ...ConnectionScalars }
|
|
76
76
|
dependsOn { ...ResourceScalars }
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
79
|
-
${p}
|
|
78
|
+
`,C=`
|
|
80
79
|
${l}
|
|
80
|
+
${y}
|
|
81
81
|
fragment PolicyFull on AdaPolicy {
|
|
82
82
|
...PolicyScalars
|
|
83
83
|
violations { ...ViolationScalars }
|
|
84
84
|
}
|
|
85
|
-
`,
|
|
85
|
+
`,E=`
|
|
86
|
+
${y}
|
|
86
87
|
${l}
|
|
87
|
-
${p}
|
|
88
88
|
fragment ViolationFull on AdaPolicyViolation {
|
|
89
89
|
...ViolationScalars
|
|
90
90
|
policy { ...PolicyScalars }
|
|
91
91
|
}
|
|
92
|
-
|
|
93
|
-
${
|
|
92
|
+
`,m=`
|
|
93
|
+
${R}
|
|
94
94
|
query AdaAdapter($id: ID!) { adaAdapter(id: $id) { ...AdapterFull } }
|
|
95
|
-
`,
|
|
96
|
-
${
|
|
95
|
+
`,T=`
|
|
96
|
+
${u}
|
|
97
97
|
query AdaListAdapters(
|
|
98
98
|
$kind: AdaAdapterKind
|
|
99
99
|
$status: AdaAdapterStatus
|
|
@@ -104,23 +104,23 @@
|
|
|
104
104
|
pageInfo { cursor hasMore }
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
108
|
-
${
|
|
107
|
+
`,D=`
|
|
108
|
+
${R}
|
|
109
109
|
mutation AdaCreateAdapter($input: AdaCreateAdapterInput!) {
|
|
110
110
|
adaCreateAdapter(input: $input) { ...AdapterFull }
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
113
|
-
${
|
|
112
|
+
`,_=`
|
|
113
|
+
${R}
|
|
114
114
|
mutation AdaUpdateAdapter($id: ID!, $input: AdaUpdateAdapterInput!) {
|
|
115
115
|
adaUpdateAdapter(id: $id, input: $input) { ...AdapterFull }
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,L=`
|
|
118
118
|
mutation AdaArchiveAdapter($id: ID!) { adaArchiveAdapter(id: $id) }
|
|
119
|
-
`,
|
|
119
|
+
`,O=`
|
|
120
120
|
${i}
|
|
121
121
|
query AdaConnection($id: ID!) { adaConnection(id: $id) { ...ConnectionFull } }
|
|
122
|
-
`,
|
|
123
|
-
${
|
|
122
|
+
`,f=`
|
|
123
|
+
${s}
|
|
124
124
|
query AdaListConnections(
|
|
125
125
|
$adapterId: ID
|
|
126
126
|
$status: AdaConnectionStatus
|
|
@@ -131,31 +131,31 @@
|
|
|
131
131
|
pageInfo { cursor hasMore }
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
`,
|
|
134
|
+
`,N=`
|
|
135
135
|
${i}
|
|
136
136
|
mutation AdaCreateConnection($input: AdaCreateConnectionInput!) {
|
|
137
137
|
adaCreateConnection(input: $input) { ...ConnectionFull }
|
|
138
138
|
}
|
|
139
|
-
`,
|
|
139
|
+
`,V=`
|
|
140
140
|
${i}
|
|
141
141
|
mutation AdaUpdateConnection($id: ID!, $input: AdaUpdateConnectionInput!) {
|
|
142
142
|
adaUpdateConnection(id: $id, input: $input) { ...ConnectionFull }
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,U=`
|
|
145
145
|
${i}
|
|
146
146
|
mutation AdaDisableConnection($id: ID!) {
|
|
147
147
|
adaDisableConnection(id: $id) { ...ConnectionFull }
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,F=`
|
|
150
150
|
${i}
|
|
151
151
|
mutation AdaSetConnectionStatus($id: ID!, $status: AdaConnectionStatus!) {
|
|
152
152
|
adaSetConnectionStatus(id: $id, status: $status) { ...ConnectionFull }
|
|
153
153
|
}
|
|
154
|
-
`,
|
|
155
|
-
${
|
|
154
|
+
`,x=`
|
|
155
|
+
${$}
|
|
156
156
|
query AdaResource($id: ID!) { adaResource(id: $id) { ...ResourceFull } }
|
|
157
|
-
`,
|
|
158
|
-
${
|
|
157
|
+
`,q=`
|
|
158
|
+
${A}
|
|
159
159
|
query AdaListResources(
|
|
160
160
|
$connectionId: ID
|
|
161
161
|
$resourceType: String
|
|
@@ -172,15 +172,15 @@
|
|
|
172
172
|
pageInfo { cursor hasMore }
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
176
|
-
${
|
|
175
|
+
`,w=`
|
|
176
|
+
${$}
|
|
177
177
|
mutation AdaRegisterResource($input: AdaRegisterResourceInput!) {
|
|
178
178
|
adaRegisterResource(input: $input) { ...ResourceFull }
|
|
179
179
|
}
|
|
180
|
-
`,
|
|
180
|
+
`,v=`
|
|
181
181
|
${d}
|
|
182
182
|
query AdaSyncRun($id: ID!) { adaSyncRun(id: $id) { ...SyncRunFields } }
|
|
183
|
-
`,
|
|
183
|
+
`,h=`
|
|
184
184
|
${d}
|
|
185
185
|
query AdaListSyncRuns(
|
|
186
186
|
$connectionId: ID
|
|
@@ -192,46 +192,46 @@
|
|
|
192
192
|
pageInfo { cursor hasMore }
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,k=`
|
|
196
196
|
${d}
|
|
197
197
|
mutation AdaStartSyncRun($input: AdaStartSyncRunInput!) {
|
|
198
198
|
adaStartSyncRun(input: $input) { ...SyncRunFields }
|
|
199
199
|
}
|
|
200
|
-
`,
|
|
200
|
+
`,Y=`
|
|
201
201
|
${d}
|
|
202
202
|
mutation AdaCompleteSyncRun($id: ID!, $input: AdaCompleteSyncRunInput) {
|
|
203
203
|
adaCompleteSyncRun(id: $id, input: $input) { ...SyncRunFields }
|
|
204
204
|
}
|
|
205
|
-
`,
|
|
205
|
+
`,G=`
|
|
206
206
|
${d}
|
|
207
207
|
mutation AdaCancelSyncRun($id: ID!) {
|
|
208
208
|
adaCancelSyncRun(id: $id) { ...SyncRunFields }
|
|
209
209
|
}
|
|
210
|
-
`,
|
|
210
|
+
`,M=`
|
|
211
211
|
${d}
|
|
212
212
|
mutation AdaFailSyncRun($id: ID!, $error: String!) {
|
|
213
213
|
adaFailSyncRun(id: $id, error: $error) { ...SyncRunFields }
|
|
214
214
|
}
|
|
215
|
-
`,
|
|
216
|
-
${
|
|
215
|
+
`,b=`
|
|
216
|
+
${p}
|
|
217
217
|
query AdaListDriftRecords($resourceId: ID, $status: AdaDriftStatus) {
|
|
218
218
|
adaListDriftRecords(resourceId: $resourceId, status: $status) { ...DriftFields }
|
|
219
219
|
}
|
|
220
|
-
`,
|
|
221
|
-
${
|
|
220
|
+
`,K=`
|
|
221
|
+
${p}
|
|
222
222
|
mutation AdaRecordDrift($input: AdaRecordDriftInput!) {
|
|
223
223
|
adaRecordDrift(input: $input) { ...DriftFields }
|
|
224
224
|
}
|
|
225
|
-
`,
|
|
226
|
-
${
|
|
225
|
+
`,H=`
|
|
226
|
+
${p}
|
|
227
227
|
mutation AdaRemediateDrift($id: ID!) {
|
|
228
228
|
adaRemediateDrift(id: $id) { ...DriftFields }
|
|
229
229
|
}
|
|
230
|
-
`,
|
|
231
|
-
${
|
|
230
|
+
`,j=`
|
|
231
|
+
${C}
|
|
232
232
|
query AdaPolicy($id: ID!) { adaPolicy(id: $id) { ...PolicyFull } }
|
|
233
|
-
`,
|
|
234
|
-
${
|
|
233
|
+
`,B=`
|
|
234
|
+
${l}
|
|
235
235
|
query AdaListPolicies(
|
|
236
236
|
$isActive: Boolean
|
|
237
237
|
$kind: AdaPolicyKind
|
|
@@ -242,20 +242,20 @@
|
|
|
242
242
|
pageInfo { cursor hasMore }
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
`,
|
|
246
|
-
${
|
|
245
|
+
`,z=`
|
|
246
|
+
${C}
|
|
247
247
|
mutation AdaCreatePolicy($input: AdaCreatePolicyInput!) {
|
|
248
248
|
adaCreatePolicy(input: $input) { ...PolicyFull }
|
|
249
249
|
}
|
|
250
|
-
`,
|
|
251
|
-
${
|
|
250
|
+
`,J=`
|
|
251
|
+
${C}
|
|
252
252
|
mutation AdaUpdatePolicy($id: ID!, $input: AdaUpdatePolicyInput!) {
|
|
253
253
|
adaUpdatePolicy(id: $id, input: $input) { ...PolicyFull }
|
|
254
254
|
}
|
|
255
|
-
`,
|
|
255
|
+
`,Q=`
|
|
256
256
|
mutation AdaArchivePolicy($id: ID!) { adaArchivePolicy(id: $id) }
|
|
257
|
-
`,
|
|
258
|
-
${
|
|
257
|
+
`,W=`
|
|
258
|
+
${y}
|
|
259
259
|
query AdaListViolations(
|
|
260
260
|
$policyId: ID
|
|
261
261
|
$resourceId: ID
|
|
@@ -272,45 +272,48 @@
|
|
|
272
272
|
pageInfo { cursor hasMore }
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,
|
|
276
|
-
${
|
|
275
|
+
`,X=`
|
|
276
|
+
${E}
|
|
277
277
|
mutation AdaRecordViolation($input: AdaRecordViolationInput!) {
|
|
278
278
|
adaRecordViolation(input: $input) { ...ViolationFull }
|
|
279
279
|
}
|
|
280
|
-
`,
|
|
281
|
-
${
|
|
280
|
+
`,Z=`
|
|
281
|
+
${E}
|
|
282
282
|
mutation AdaResolveViolation($id: ID!, $status: AdaViolationStatus!, $waiverReason: String) {
|
|
283
283
|
adaResolveViolation(id: $id, status: $status, waiverReason: $waiverReason) {
|
|
284
284
|
...ViolationFull
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
288
|
-
${
|
|
289
|
-
query AdaListTopologyEdges($resourceId: ID, $kind: AdaEdgeKind) {
|
|
290
|
-
adaListTopologyEdges(resourceId: $resourceId, kind: $kind) {
|
|
287
|
+
`,tt=`
|
|
288
|
+
${P}
|
|
289
|
+
query AdaListTopologyEdges($resourceId: ID, $kind: AdaEdgeKind, $pagination: PaginationInput) {
|
|
290
|
+
adaListTopologyEdges(resourceId: $resourceId, kind: $kind, pagination: $pagination) {
|
|
291
|
+
items { ...TopologyEdgeFields }
|
|
292
|
+
pageInfo { hasMore }
|
|
293
|
+
}
|
|
291
294
|
}
|
|
292
|
-
`,
|
|
293
|
-
${
|
|
295
|
+
`,at=`
|
|
296
|
+
${P}
|
|
294
297
|
mutation AdaCreateTopologyEdge($input: AdaCreateTopologyEdgeInput!) {
|
|
295
298
|
adaCreateTopologyEdge(input: $input) { ...TopologyEdgeFields }
|
|
296
299
|
}
|
|
297
|
-
`,
|
|
298
|
-
${
|
|
300
|
+
`,et=`
|
|
301
|
+
${g}
|
|
299
302
|
query AdaListCostRecords($connectionId: ID, $resourceId: ID, $service: String) {
|
|
300
303
|
adaListCostRecords(connectionId: $connectionId, resourceId: $resourceId, service: $service) {
|
|
301
304
|
...CostRecordFields
|
|
302
305
|
}
|
|
303
306
|
}
|
|
304
|
-
`,
|
|
307
|
+
`,ot=`
|
|
305
308
|
query AdaCostSummary($connectionId: ID) {
|
|
306
309
|
adaCostSummary(connectionId: $connectionId) {
|
|
307
310
|
currency total
|
|
308
311
|
lines { service total }
|
|
309
312
|
}
|
|
310
313
|
}
|
|
311
|
-
`,
|
|
312
|
-
${
|
|
314
|
+
`,nt=`
|
|
315
|
+
${g}
|
|
313
316
|
mutation AdaIngestCost($input: AdaIngestCostInput!) {
|
|
314
317
|
adaIngestCost(input: $input) { ...CostRecordFields }
|
|
315
318
|
}
|
|
316
|
-
`,
|
|
319
|
+
`,dt="query AdaHealth { adaHealth }";function it(c){let{workspace:e}=c.gql;return {adapters:{async get(t){return (await e.request(m,{id:t})).adaAdapter},async list(t,a,o){return (await e.request(T,{kind:t,status:a,pagination:o})).adaListAdapters},async create(t){return (await e.request(D,{input:t})).adaCreateAdapter},async update(t,a){return (await e.request(_,{id:t,input:a})).adaUpdateAdapter},async archive(t){return (await e.request(L,{id:t})).adaArchiveAdapter}},connections:{async get(t){return (await e.request(O,{id:t})).adaConnection},async list(t,a,o){return (await e.request(f,{adapterId:t,status:a,pagination:o})).adaListConnections},async create(t){return (await e.request(N,{input:t})).adaCreateConnection},async update(t,a){return (await e.request(V,{id:t,input:a})).adaUpdateConnection},async disable(t){return (await e.request(U,{id:t})).adaDisableConnection},async setStatus(t,a){return (await e.request(F,{id:t,status:a})).adaSetConnectionStatus}},resources:{async get(t){return (await e.request(x,{id:t})).adaResource},async list(t,a,o,n){return (await e.request(q,{connectionId:t,resourceType:a,state:o,pagination:n})).adaListResources},async register(t){return (await e.request(w,{input:t})).adaRegisterResource}},syncRuns:{async get(t){return (await e.request(v,{id:t})).adaSyncRun},async list(t,a,o){return (await e.request(h,{connectionId:t,status:a,pagination:o})).adaListSyncRuns},async start(t){return (await e.request(k,{input:t})).adaStartSyncRun},async complete(t,a){return (await e.request(Y,{id:t,input:a})).adaCompleteSyncRun},async cancel(t){return (await e.request(G,{id:t})).adaCancelSyncRun},async fail(t,a){return (await e.request(M,{id:t,error:a})).adaFailSyncRun}},drift:{async list(t,a){return (await e.request(b,{resourceId:t,status:a})).adaListDriftRecords},async record(t){return (await e.request(K,{input:t})).adaRecordDrift},async remediate(t){return (await e.request(H,{id:t})).adaRemediateDrift}},policies:{async get(t){return (await e.request(j,{id:t})).adaPolicy},async list(t,a,o){return (await e.request(B,{isActive:t,kind:a,pagination:o})).adaListPolicies},async create(t){return (await e.request(z,{input:t})).adaCreatePolicy},async update(t,a){return (await e.request(J,{id:t,input:a})).adaUpdatePolicy},async archive(t){return (await e.request(Q,{id:t})).adaArchivePolicy}},violations:{async list(t,a,o,n){return (await e.request(W,{policyId:t,resourceId:a,status:o,pagination:n})).adaListViolations},async record(t){return (await e.request(X,{input:t})).adaRecordViolation},async resolve(t,a,o){return (await e.request(Z,{id:t,status:a,waiverReason:o})).adaResolveViolation}},topology:{async list(t,a){let o=[],n=0;for(;;){let r=(await e.request(tt,{resourceId:t,kind:a,pagination:{limit:100,offset:n}})).adaListTopologyEdges;if(o.push(...r.items),!r.pageInfo.hasMore||r.items.length===0)return o;n+=r.items.length;}},async createEdge(t){return (await e.request(at,{input:t})).adaCreateTopologyEdge}},cost:{async listRecords(t,a,o){return (await e.request(et,{connectionId:t,resourceId:a,service:o})).adaListCostRecords},async summary(t){return (await e.request(ot,{connectionId:t})).adaCostSummary},async ingest(t){return (await e.request(nt,{input:t})).adaIngestCost}},analytics:{async health(){return (await e.request(dt)).adaHealth}}}}var rt={id:"adaptercloud",version:"1.0.0",displayName:"AdapterCloud",dependsOn:["auth"],attach(c){return it(c)}},Tt=rt;module.exports=Tt;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u=`
|
|
2
2
|
fragment AdapterScalars on AdaAdapter {
|
|
3
3
|
id name slug description kind status vendor version
|
|
4
4
|
capabilities configSchema tags
|
|
5
5
|
workspaceId createdAt updatedAt
|
|
6
6
|
}
|
|
7
|
-
`,
|
|
7
|
+
`,s=`
|
|
8
8
|
fragment ConnectionScalars on AdaConnection {
|
|
9
9
|
id adapterId name authMethod status config
|
|
10
10
|
environment region secretRef targetRef lastError lastSyncedAt resourceCount tags
|
|
11
11
|
workspaceId createdAt updatedAt
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,A=`
|
|
14
14
|
fragment ResourceScalars on AdaResource {
|
|
15
15
|
id connectionId externalId name resourceType state region monthlyCost
|
|
16
16
|
attributes providerTags tags lastSeenAt
|
|
@@ -23,77 +23,77 @@ var c=`
|
|
|
23
23
|
summary error startedAt finishedAt
|
|
24
24
|
workspaceId createdAt updatedAt
|
|
25
25
|
}
|
|
26
|
-
`,
|
|
26
|
+
`,p=`
|
|
27
27
|
fragment DriftFields on AdaDriftRecord {
|
|
28
28
|
id resourceId attributePath expectedValue observedValue
|
|
29
29
|
severity status detectedAt remediatedAt
|
|
30
30
|
workspaceId createdAt updatedAt
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,l=`
|
|
33
33
|
fragment PolicyScalars on AdaPolicy {
|
|
34
34
|
id name description kind enforcement severity expression
|
|
35
35
|
appliesTo isActive tags
|
|
36
36
|
workspaceId createdAt updatedAt
|
|
37
37
|
}
|
|
38
|
-
`,
|
|
38
|
+
`,y=`
|
|
39
39
|
fragment ViolationScalars on AdaPolicyViolation {
|
|
40
40
|
id policyId resourceId message severity status evidence waiverReason
|
|
41
41
|
detectedAt resolvedAt resolvedById
|
|
42
42
|
workspaceId createdAt updatedAt
|
|
43
43
|
}
|
|
44
|
-
`,
|
|
44
|
+
`,P=`
|
|
45
45
|
fragment CostRecordFields on AdaCostRecord {
|
|
46
46
|
id service amount currency periodStart periodEnd breakdown
|
|
47
47
|
connectionId resourceId workspaceId createdAt updatedAt
|
|
48
48
|
}
|
|
49
|
-
|
|
49
|
+
`,$=`
|
|
50
50
|
fragment TopologyEdgeFields on AdaTopologyEdge {
|
|
51
51
|
id fromResourceId toResourceId kind weight bidirectional attributes
|
|
52
52
|
workspaceId createdAt updatedAt
|
|
53
53
|
}
|
|
54
|
-
`,
|
|
55
|
-
${
|
|
56
|
-
${
|
|
54
|
+
`,R=`
|
|
55
|
+
${u}
|
|
56
|
+
${s}
|
|
57
57
|
fragment AdapterFull on AdaAdapter {
|
|
58
58
|
...AdapterScalars
|
|
59
59
|
connections { ...ConnectionScalars }
|
|
60
60
|
}
|
|
61
61
|
`,i=`
|
|
62
|
-
${
|
|
63
|
-
${c}
|
|
62
|
+
${s}
|
|
64
63
|
${u}
|
|
64
|
+
${A}
|
|
65
65
|
fragment ConnectionFull on AdaConnection {
|
|
66
66
|
...ConnectionScalars
|
|
67
67
|
adapter { ...AdapterScalars }
|
|
68
68
|
resources { ...ResourceScalars }
|
|
69
69
|
}
|
|
70
|
-
`,
|
|
71
|
-
${
|
|
72
|
-
${
|
|
70
|
+
`,E=`
|
|
71
|
+
${A}
|
|
72
|
+
${s}
|
|
73
73
|
fragment ResourceFull on AdaResource {
|
|
74
74
|
...ResourceScalars
|
|
75
75
|
connection { ...ConnectionScalars }
|
|
76
76
|
dependsOn { ...ResourceScalars }
|
|
77
77
|
}
|
|
78
|
-
`,
|
|
79
|
-
${p}
|
|
78
|
+
`,C=`
|
|
80
79
|
${l}
|
|
80
|
+
${y}
|
|
81
81
|
fragment PolicyFull on AdaPolicy {
|
|
82
82
|
...PolicyScalars
|
|
83
83
|
violations { ...ViolationScalars }
|
|
84
84
|
}
|
|
85
|
-
|
|
85
|
+
`,m=`
|
|
86
|
+
${y}
|
|
86
87
|
${l}
|
|
87
|
-
${p}
|
|
88
88
|
fragment ViolationFull on AdaPolicyViolation {
|
|
89
89
|
...ViolationScalars
|
|
90
90
|
policy { ...PolicyScalars }
|
|
91
91
|
}
|
|
92
|
-
`,E=`
|
|
93
|
-
${y}
|
|
94
|
-
query AdaAdapter($id: ID!) { adaAdapter(id: $id) { ...AdapterFull } }
|
|
95
92
|
`,T=`
|
|
96
|
-
${
|
|
93
|
+
${R}
|
|
94
|
+
query AdaAdapter($id: ID!) { adaAdapter(id: $id) { ...AdapterFull } }
|
|
95
|
+
`,D=`
|
|
96
|
+
${u}
|
|
97
97
|
query AdaListAdapters(
|
|
98
98
|
$kind: AdaAdapterKind
|
|
99
99
|
$status: AdaAdapterStatus
|
|
@@ -104,23 +104,23 @@ var c=`
|
|
|
104
104
|
pageInfo { cursor hasMore }
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
|
-
`,
|
|
108
|
-
${
|
|
107
|
+
`,_=`
|
|
108
|
+
${R}
|
|
109
109
|
mutation AdaCreateAdapter($input: AdaCreateAdapterInput!) {
|
|
110
110
|
adaCreateAdapter(input: $input) { ...AdapterFull }
|
|
111
111
|
}
|
|
112
|
-
`,
|
|
113
|
-
${
|
|
112
|
+
`,L=`
|
|
113
|
+
${R}
|
|
114
114
|
mutation AdaUpdateAdapter($id: ID!, $input: AdaUpdateAdapterInput!) {
|
|
115
115
|
adaUpdateAdapter(id: $id, input: $input) { ...AdapterFull }
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,O=`
|
|
118
118
|
mutation AdaArchiveAdapter($id: ID!) { adaArchiveAdapter(id: $id) }
|
|
119
|
-
`,
|
|
119
|
+
`,f=`
|
|
120
120
|
${i}
|
|
121
121
|
query AdaConnection($id: ID!) { adaConnection(id: $id) { ...ConnectionFull } }
|
|
122
|
-
`,
|
|
123
|
-
${
|
|
122
|
+
`,N=`
|
|
123
|
+
${s}
|
|
124
124
|
query AdaListConnections(
|
|
125
125
|
$adapterId: ID
|
|
126
126
|
$status: AdaConnectionStatus
|
|
@@ -131,31 +131,31 @@ var c=`
|
|
|
131
131
|
pageInfo { cursor hasMore }
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
`,
|
|
134
|
+
`,V=`
|
|
135
135
|
${i}
|
|
136
136
|
mutation AdaCreateConnection($input: AdaCreateConnectionInput!) {
|
|
137
137
|
adaCreateConnection(input: $input) { ...ConnectionFull }
|
|
138
138
|
}
|
|
139
|
-
`,
|
|
139
|
+
`,U=`
|
|
140
140
|
${i}
|
|
141
141
|
mutation AdaUpdateConnection($id: ID!, $input: AdaUpdateConnectionInput!) {
|
|
142
142
|
adaUpdateConnection(id: $id, input: $input) { ...ConnectionFull }
|
|
143
143
|
}
|
|
144
|
-
`,
|
|
144
|
+
`,F=`
|
|
145
145
|
${i}
|
|
146
146
|
mutation AdaDisableConnection($id: ID!) {
|
|
147
147
|
adaDisableConnection(id: $id) { ...ConnectionFull }
|
|
148
148
|
}
|
|
149
|
-
`,
|
|
149
|
+
`,x=`
|
|
150
150
|
${i}
|
|
151
151
|
mutation AdaSetConnectionStatus($id: ID!, $status: AdaConnectionStatus!) {
|
|
152
152
|
adaSetConnectionStatus(id: $id, status: $status) { ...ConnectionFull }
|
|
153
153
|
}
|
|
154
|
-
`,
|
|
155
|
-
${
|
|
154
|
+
`,q=`
|
|
155
|
+
${E}
|
|
156
156
|
query AdaResource($id: ID!) { adaResource(id: $id) { ...ResourceFull } }
|
|
157
|
-
`,
|
|
158
|
-
${
|
|
157
|
+
`,w=`
|
|
158
|
+
${A}
|
|
159
159
|
query AdaListResources(
|
|
160
160
|
$connectionId: ID
|
|
161
161
|
$resourceType: String
|
|
@@ -172,15 +172,15 @@ var c=`
|
|
|
172
172
|
pageInfo { cursor hasMore }
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
`,
|
|
176
|
-
${
|
|
175
|
+
`,v=`
|
|
176
|
+
${E}
|
|
177
177
|
mutation AdaRegisterResource($input: AdaRegisterResourceInput!) {
|
|
178
178
|
adaRegisterResource(input: $input) { ...ResourceFull }
|
|
179
179
|
}
|
|
180
|
-
`,
|
|
180
|
+
`,h=`
|
|
181
181
|
${d}
|
|
182
182
|
query AdaSyncRun($id: ID!) { adaSyncRun(id: $id) { ...SyncRunFields } }
|
|
183
|
-
`,
|
|
183
|
+
`,k=`
|
|
184
184
|
${d}
|
|
185
185
|
query AdaListSyncRuns(
|
|
186
186
|
$connectionId: ID
|
|
@@ -192,46 +192,46 @@ var c=`
|
|
|
192
192
|
pageInfo { cursor hasMore }
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
`,
|
|
195
|
+
`,Y=`
|
|
196
196
|
${d}
|
|
197
197
|
mutation AdaStartSyncRun($input: AdaStartSyncRunInput!) {
|
|
198
198
|
adaStartSyncRun(input: $input) { ...SyncRunFields }
|
|
199
199
|
}
|
|
200
|
-
`,
|
|
200
|
+
`,G=`
|
|
201
201
|
${d}
|
|
202
202
|
mutation AdaCompleteSyncRun($id: ID!, $input: AdaCompleteSyncRunInput) {
|
|
203
203
|
adaCompleteSyncRun(id: $id, input: $input) { ...SyncRunFields }
|
|
204
204
|
}
|
|
205
|
-
`,
|
|
205
|
+
`,M=`
|
|
206
206
|
${d}
|
|
207
207
|
mutation AdaCancelSyncRun($id: ID!) {
|
|
208
208
|
adaCancelSyncRun(id: $id) { ...SyncRunFields }
|
|
209
209
|
}
|
|
210
|
-
`,
|
|
210
|
+
`,b=`
|
|
211
211
|
${d}
|
|
212
212
|
mutation AdaFailSyncRun($id: ID!, $error: String!) {
|
|
213
213
|
adaFailSyncRun(id: $id, error: $error) { ...SyncRunFields }
|
|
214
214
|
}
|
|
215
|
-
`,
|
|
216
|
-
${
|
|
215
|
+
`,K=`
|
|
216
|
+
${p}
|
|
217
217
|
query AdaListDriftRecords($resourceId: ID, $status: AdaDriftStatus) {
|
|
218
218
|
adaListDriftRecords(resourceId: $resourceId, status: $status) { ...DriftFields }
|
|
219
219
|
}
|
|
220
|
-
`,
|
|
221
|
-
${
|
|
220
|
+
`,H=`
|
|
221
|
+
${p}
|
|
222
222
|
mutation AdaRecordDrift($input: AdaRecordDriftInput!) {
|
|
223
223
|
adaRecordDrift(input: $input) { ...DriftFields }
|
|
224
224
|
}
|
|
225
|
-
`,
|
|
226
|
-
${
|
|
225
|
+
`,j=`
|
|
226
|
+
${p}
|
|
227
227
|
mutation AdaRemediateDrift($id: ID!) {
|
|
228
228
|
adaRemediateDrift(id: $id) { ...DriftFields }
|
|
229
229
|
}
|
|
230
|
-
`,
|
|
231
|
-
${
|
|
230
|
+
`,B=`
|
|
231
|
+
${C}
|
|
232
232
|
query AdaPolicy($id: ID!) { adaPolicy(id: $id) { ...PolicyFull } }
|
|
233
|
-
`,
|
|
234
|
-
${
|
|
233
|
+
`,z=`
|
|
234
|
+
${l}
|
|
235
235
|
query AdaListPolicies(
|
|
236
236
|
$isActive: Boolean
|
|
237
237
|
$kind: AdaPolicyKind
|
|
@@ -242,20 +242,20 @@ var c=`
|
|
|
242
242
|
pageInfo { cursor hasMore }
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
`,
|
|
246
|
-
${
|
|
245
|
+
`,J=`
|
|
246
|
+
${C}
|
|
247
247
|
mutation AdaCreatePolicy($input: AdaCreatePolicyInput!) {
|
|
248
248
|
adaCreatePolicy(input: $input) { ...PolicyFull }
|
|
249
249
|
}
|
|
250
|
-
`,
|
|
251
|
-
${
|
|
250
|
+
`,Q=`
|
|
251
|
+
${C}
|
|
252
252
|
mutation AdaUpdatePolicy($id: ID!, $input: AdaUpdatePolicyInput!) {
|
|
253
253
|
adaUpdatePolicy(id: $id, input: $input) { ...PolicyFull }
|
|
254
254
|
}
|
|
255
|
-
`,
|
|
255
|
+
`,W=`
|
|
256
256
|
mutation AdaArchivePolicy($id: ID!) { adaArchivePolicy(id: $id) }
|
|
257
|
-
`,
|
|
258
|
-
${
|
|
257
|
+
`,X=`
|
|
258
|
+
${y}
|
|
259
259
|
query AdaListViolations(
|
|
260
260
|
$policyId: ID
|
|
261
261
|
$resourceId: ID
|
|
@@ -272,45 +272,48 @@ var c=`
|
|
|
272
272
|
pageInfo { cursor hasMore }
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
`,
|
|
276
|
-
${
|
|
275
|
+
`,Z=`
|
|
276
|
+
${m}
|
|
277
277
|
mutation AdaRecordViolation($input: AdaRecordViolationInput!) {
|
|
278
278
|
adaRecordViolation(input: $input) { ...ViolationFull }
|
|
279
279
|
}
|
|
280
|
-
`,
|
|
281
|
-
${
|
|
280
|
+
`,tt=`
|
|
281
|
+
${m}
|
|
282
282
|
mutation AdaResolveViolation($id: ID!, $status: AdaViolationStatus!, $waiverReason: String) {
|
|
283
283
|
adaResolveViolation(id: $id, status: $status, waiverReason: $waiverReason) {
|
|
284
284
|
...ViolationFull
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
-
`,
|
|
288
|
-
${
|
|
289
|
-
query AdaListTopologyEdges($resourceId: ID, $kind: AdaEdgeKind) {
|
|
290
|
-
adaListTopologyEdges(resourceId: $resourceId, kind: $kind) {
|
|
287
|
+
`,at=`
|
|
288
|
+
${$}
|
|
289
|
+
query AdaListTopologyEdges($resourceId: ID, $kind: AdaEdgeKind, $pagination: PaginationInput) {
|
|
290
|
+
adaListTopologyEdges(resourceId: $resourceId, kind: $kind, pagination: $pagination) {
|
|
291
|
+
items { ...TopologyEdgeFields }
|
|
292
|
+
pageInfo { hasMore }
|
|
293
|
+
}
|
|
291
294
|
}
|
|
292
|
-
`,
|
|
293
|
-
${
|
|
295
|
+
`,et=`
|
|
296
|
+
${$}
|
|
294
297
|
mutation AdaCreateTopologyEdge($input: AdaCreateTopologyEdgeInput!) {
|
|
295
298
|
adaCreateTopologyEdge(input: $input) { ...TopologyEdgeFields }
|
|
296
299
|
}
|
|
297
|
-
`,
|
|
298
|
-
${
|
|
300
|
+
`,ot=`
|
|
301
|
+
${P}
|
|
299
302
|
query AdaListCostRecords($connectionId: ID, $resourceId: ID, $service: String) {
|
|
300
303
|
adaListCostRecords(connectionId: $connectionId, resourceId: $resourceId, service: $service) {
|
|
301
304
|
...CostRecordFields
|
|
302
305
|
}
|
|
303
306
|
}
|
|
304
|
-
`,
|
|
307
|
+
`,nt=`
|
|
305
308
|
query AdaCostSummary($connectionId: ID) {
|
|
306
309
|
adaCostSummary(connectionId: $connectionId) {
|
|
307
310
|
currency total
|
|
308
311
|
lines { service total }
|
|
309
312
|
}
|
|
310
313
|
}
|
|
311
|
-
`,
|
|
312
|
-
${
|
|
314
|
+
`,dt=`
|
|
315
|
+
${P}
|
|
313
316
|
mutation AdaIngestCost($input: AdaIngestCostInput!) {
|
|
314
317
|
adaIngestCost(input: $input) { ...CostRecordFields }
|
|
315
318
|
}
|
|
316
|
-
`,
|
|
319
|
+
`,it="query AdaHealth { adaHealth }";function rt(c){let{workspace:e}=c.gql;return {adapters:{async get(t){return (await e.request(T,{id:t})).adaAdapter},async list(t,a,o){return (await e.request(D,{kind:t,status:a,pagination:o})).adaListAdapters},async create(t){return (await e.request(_,{input:t})).adaCreateAdapter},async update(t,a){return (await e.request(L,{id:t,input:a})).adaUpdateAdapter},async archive(t){return (await e.request(O,{id:t})).adaArchiveAdapter}},connections:{async get(t){return (await e.request(f,{id:t})).adaConnection},async list(t,a,o){return (await e.request(N,{adapterId:t,status:a,pagination:o})).adaListConnections},async create(t){return (await e.request(V,{input:t})).adaCreateConnection},async update(t,a){return (await e.request(U,{id:t,input:a})).adaUpdateConnection},async disable(t){return (await e.request(F,{id:t})).adaDisableConnection},async setStatus(t,a){return (await e.request(x,{id:t,status:a})).adaSetConnectionStatus}},resources:{async get(t){return (await e.request(q,{id:t})).adaResource},async list(t,a,o,n){return (await e.request(w,{connectionId:t,resourceType:a,state:o,pagination:n})).adaListResources},async register(t){return (await e.request(v,{input:t})).adaRegisterResource}},syncRuns:{async get(t){return (await e.request(h,{id:t})).adaSyncRun},async list(t,a,o){return (await e.request(k,{connectionId:t,status:a,pagination:o})).adaListSyncRuns},async start(t){return (await e.request(Y,{input:t})).adaStartSyncRun},async complete(t,a){return (await e.request(G,{id:t,input:a})).adaCompleteSyncRun},async cancel(t){return (await e.request(M,{id:t})).adaCancelSyncRun},async fail(t,a){return (await e.request(b,{id:t,error:a})).adaFailSyncRun}},drift:{async list(t,a){return (await e.request(K,{resourceId:t,status:a})).adaListDriftRecords},async record(t){return (await e.request(H,{input:t})).adaRecordDrift},async remediate(t){return (await e.request(j,{id:t})).adaRemediateDrift}},policies:{async get(t){return (await e.request(B,{id:t})).adaPolicy},async list(t,a,o){return (await e.request(z,{isActive:t,kind:a,pagination:o})).adaListPolicies},async create(t){return (await e.request(J,{input:t})).adaCreatePolicy},async update(t,a){return (await e.request(Q,{id:t,input:a})).adaUpdatePolicy},async archive(t){return (await e.request(W,{id:t})).adaArchivePolicy}},violations:{async list(t,a,o,n){return (await e.request(X,{policyId:t,resourceId:a,status:o,pagination:n})).adaListViolations},async record(t){return (await e.request(Z,{input:t})).adaRecordViolation},async resolve(t,a,o){return (await e.request(tt,{id:t,status:a,waiverReason:o})).adaResolveViolation}},topology:{async list(t,a){let o=[],n=0;for(;;){let r=(await e.request(at,{resourceId:t,kind:a,pagination:{limit:100,offset:n}})).adaListTopologyEdges;if(o.push(...r.items),!r.pageInfo.hasMore||r.items.length===0)return o;n+=r.items.length;}},async createEdge(t){return (await e.request(et,{input:t})).adaCreateTopologyEdge}},cost:{async listRecords(t,a,o){return (await e.request(ot,{connectionId:t,resourceId:a,service:o})).adaListCostRecords},async summary(t){return (await e.request(nt,{connectionId:t})).adaCostSummary},async ingest(t){return (await e.request(dt,{input:t})).adaIngestCost}},analytics:{async health(){return (await e.request(it)).adaHealth}}}}var st={id:"adaptercloud",version:"1.0.0",displayName:"AdapterCloud",dependsOn:["auth"],attach(c){return rt(c)}},Dt=st;export{Dt as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/sdk-libs",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.825.1",
|
|
4
4
|
"description": "Modular SDK library shared across all Burdenoff product SDKs (vibecontrols, botlit, fluidgrids, bigconsole, healthybowl, devportal, workspaces). Each module exports an SdkModule contract with attach(ctx) returning a typed API; product SDKs become thin shells that pick which modules to mount. Sister to @burdenoff/cli-sdk.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|