@camunda8/sdk 8.8.9 → 8.8.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/admin/lib/AdminApiClient.d.ts +146 -0
- package/dist/admin/lib/AdminApiClient.js +281 -0
- package/dist/admin/lib/AdminApiClient.js.map +1 -1
- package/dist/admin/lib/AdminDto.d.ts +133 -0
- package/dist/c8/lib/C8Dto.js.map +1 -1
- package/dist/lib/PollingOperation.js.map +1 -1
- package/dist/lib/QuerySubscription.js.map +1 -1
- package/dist/oauth/lib/OAuthProvider.d.ts +1 -0
- package/dist/oauth/lib/OAuthProvider.js +76 -33
- package/dist/oauth/lib/OAuthProvider.js.map +1 -1
- package/dist/tasklist/lib/TasklistDto.js.map +1 -1
- package/dist/zeebe/lib/ZBStreamWorker.js +5 -3
- package/dist/zeebe/lib/ZBStreamWorker.js.map +1 -1
- package/dist/zeebe/lib/ZBWorkerBase.js +5 -3
- package/dist/zeebe/lib/ZBWorkerBase.js.map +1 -1
- package/dist/zeebe/lib/cancelProcesses.js +5 -5
- package/dist/zeebe/lib/cancelProcesses.js.map +1 -1
- package/dist/zeebe/lib/interfaces-1.0.js.map +1 -1
- package/dist/zeebe/lib/interfaces-grpc-1.0.js.map +1 -1
- package/dist/zeebe/zb/ZeebeGrpcClient.js +1 -1
- package/dist/zeebe/zb/ZeebeGrpcClient.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [8.8.10](https://github.com/camunda/camunda-8-js-sdk/compare/v8.8.9...v8.8.10) (2026-04-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **oauth:** improve OAuthProvider reliability ([3375188](https://github.com/camunda/camunda-8-js-sdk/commit/3375188d0a9a855969b4eccfda56a4bb4b412454)), closes [#722](https://github.com/camunda/camunda-8-js-sdk/issues/722)
|
|
7
|
+
* **test:** use response.statusCode for 403 detection ([ad2bda9](https://github.com/camunda/camunda-8-js-sdk/commit/ad2bda96c29466ca209d41dbffa85d6c6d8a7544))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **admin:** implement all missing Admin API operations ([f66eeb0](https://github.com/camunda/camunda-8-js-sdk/commit/f66eeb06cb605e5278068946ec127d209e45014c)), closes [#713](https://github.com/camunda/camunda-8-js-sdk/issues/713)
|
|
13
|
+
|
|
1
14
|
## [8.8.9](https://github.com/camunda/camunda-8-js-sdk/compare/v8.8.8...v8.8.9) (2026-03-19)
|
|
2
15
|
|
|
3
16
|
|
|
@@ -137,4 +137,150 @@ export declare class AdminApiClient {
|
|
|
137
137
|
*
|
|
138
138
|
*/
|
|
139
139
|
deleteMember(email: string): Promise<null>;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* Get the egress IP ranges for Camunda SaaS. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetMeta) for more details.
|
|
143
|
+
* @throws {RESTError}
|
|
144
|
+
*/
|
|
145
|
+
getIpRanges(): Promise<Dto.MetaDto>;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* Update a cluster's name, description, or stage label. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateCluster) for more details.
|
|
149
|
+
* @param clusterUuid - The cluster UUID
|
|
150
|
+
* @param updateRequest - The fields to update
|
|
151
|
+
* @throws {RESTError}
|
|
152
|
+
*/
|
|
153
|
+
updateCluster(clusterUuid: string, updateRequest: Dto.UpdateClusterBody): Promise<void>;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* Upgrade a cluster to the latest available generation. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpgradeCluster) for more details.
|
|
157
|
+
* @param clusterUuid - The cluster UUID
|
|
158
|
+
* @throws {RESTError}
|
|
159
|
+
*/
|
|
160
|
+
upgradeCluster(clusterUuid: string): Promise<Dto.GenerationUpgradeForClusterDto>;
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* Resume a suspended cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/Wake) for more details.
|
|
164
|
+
* @param clusterUuid - The cluster UUID
|
|
165
|
+
* @throws {RESTError}
|
|
166
|
+
*/
|
|
167
|
+
wakeCluster(clusterUuid: string): Promise<void>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* Update the IP allowlist for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateIpAllowlist) for more details.
|
|
171
|
+
* @param clusterUuid - The cluster UUID
|
|
172
|
+
* @param ipallowlist - Array of IP allowlist entries
|
|
173
|
+
* @throws {RESTError}
|
|
174
|
+
*/
|
|
175
|
+
updateIpAllowlist(clusterUuid: string, ipallowlist: Dto.IpAllowListEntry[]): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* Update a connector secret value. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateSecret) for more details.
|
|
179
|
+
* @param clusterUuid - The cluster UUID
|
|
180
|
+
* @param secretName - The name of the secret to update
|
|
181
|
+
* @param secretValue - The new secret value
|
|
182
|
+
* @throws {RESTError}
|
|
183
|
+
*/
|
|
184
|
+
updateSecret(clusterUuid: string, secretName: string, secretValue: string): Promise<void>;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* Activate Secure Connectivity for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/ActivateSecureConnectivity) for more details.
|
|
188
|
+
* @param clusterUuid - The cluster UUID
|
|
189
|
+
* @param request - The allowed principals and regions
|
|
190
|
+
* @throws {RESTError}
|
|
191
|
+
*/
|
|
192
|
+
activateSecureConnectivity(clusterUuid: string, request: Dto.ActivateSecureConnectivityBody): Promise<void>;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* Deactivate Secure Connectivity for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeactivateSecureConnectivity) for more details.
|
|
196
|
+
* @param clusterUuid - The cluster UUID
|
|
197
|
+
* @throws {RESTError}
|
|
198
|
+
*/
|
|
199
|
+
deactivateSecureConnectivity(clusterUuid: string): Promise<void>;
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* Get the Secure Connectivity status for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetSecureConnectivityStatus) for more details.
|
|
203
|
+
* @param clusterUuid - The cluster UUID
|
|
204
|
+
* @throws {RESTError}
|
|
205
|
+
*/
|
|
206
|
+
getSecureConnectivityStatus(clusterUuid: string): Promise<Dto.SecureConnectivityStatusResponse>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* Activate External Monitoring (BYOM) for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/ActivateMonitoring) for more details.
|
|
210
|
+
* @param clusterUuid - The cluster UUID
|
|
211
|
+
* @throws {RESTError}
|
|
212
|
+
*/
|
|
213
|
+
activateMonitoring(clusterUuid: string): Promise<void>;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* Deactivate External Monitoring (BYOM) for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeactivateMonitoring) for more details.
|
|
217
|
+
* @param clusterUuid - The cluster UUID
|
|
218
|
+
* @throws {RESTError}
|
|
219
|
+
*/
|
|
220
|
+
deactivateMonitoring(clusterUuid: string): Promise<void>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* Get all External Monitoring clients for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetMonitoringClients) for more details.
|
|
224
|
+
* @param clusterUuid - The cluster UUID
|
|
225
|
+
* @throws {RESTError}
|
|
226
|
+
*/
|
|
227
|
+
getMonitoringClients(clusterUuid: string): Promise<Dto.MonitoringClientsResponse>;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* Create a new External Monitoring client for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/CreateMonitoringClient) for more details.
|
|
231
|
+
* @param clusterUuid - The cluster UUID
|
|
232
|
+
* @param username - The username for the monitoring client
|
|
233
|
+
* @throws {RESTError}
|
|
234
|
+
*/
|
|
235
|
+
createMonitoringClient(clusterUuid: string, username: string): Promise<Dto.CreatedMonitoringClient>;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* Rotate the password for an External Monitoring client. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/RotateMonitoringClientPassword) for more details.
|
|
239
|
+
* @param clusterUuid - The cluster UUID
|
|
240
|
+
* @param clientUuid - The monitoring client UUID
|
|
241
|
+
* @throws {RESTError}
|
|
242
|
+
*/
|
|
243
|
+
rotateMonitoringClientPassword(clusterUuid: string, clientUuid: string): Promise<Dto.CreatedMonitoringClient>;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* Delete an External Monitoring client. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeleteMonitoringClient) for more details.
|
|
247
|
+
* @param clusterUuid - The cluster UUID
|
|
248
|
+
* @param clientUuid - The monitoring client UUID
|
|
249
|
+
* @throws {RESTError}
|
|
250
|
+
*/
|
|
251
|
+
deleteMonitoringClient(clusterUuid: string, clientUuid: string): Promise<void>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* Get all backups for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetBackups) for more details.
|
|
255
|
+
* @param clusterUuid - The cluster UUID
|
|
256
|
+
* @throws {RESTError}
|
|
257
|
+
*/
|
|
258
|
+
getBackups(clusterUuid: string): Promise<Dto.Backup[]>;
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* Create a new backup for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/CreateBackup) for more details.
|
|
262
|
+
* @param clusterUuid - The cluster UUID
|
|
263
|
+
* @throws {RESTError}
|
|
264
|
+
*/
|
|
265
|
+
createBackup(clusterUuid: string): Promise<Dto.Backup>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* Delete a backup. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeleteBackup) for more details.
|
|
269
|
+
* @param clusterUuid - The cluster UUID
|
|
270
|
+
* @param backupId - The backup ID
|
|
271
|
+
* @throws {RESTError}
|
|
272
|
+
*/
|
|
273
|
+
deleteBackup(clusterUuid: string, backupId: string): Promise<Dto.Backup>;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* Fetch all activity/audit events as JSON. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetJson) for more details.
|
|
277
|
+
* @throws {RESTError}
|
|
278
|
+
*/
|
|
279
|
+
getActivityEvents(): Promise<Dto.AuditEvent[]>;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* Fetch all activity/audit events as CSV. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetCsv) for more details.
|
|
283
|
+
* @throws {RESTError}
|
|
284
|
+
*/
|
|
285
|
+
getActivityEventsCsv(): Promise<string>;
|
|
140
286
|
}
|
|
@@ -276,6 +276,287 @@ class AdminApiClient {
|
|
|
276
276
|
})
|
|
277
277
|
.json();
|
|
278
278
|
}
|
|
279
|
+
/**
|
|
280
|
+
*
|
|
281
|
+
* Get the egress IP ranges for Camunda SaaS. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetMeta) for more details.
|
|
282
|
+
* @throws {RESTError}
|
|
283
|
+
*/
|
|
284
|
+
async getIpRanges() {
|
|
285
|
+
const headers = await this.getHeaders();
|
|
286
|
+
const rest = await this.rest;
|
|
287
|
+
return rest('meta/ip-ranges', {
|
|
288
|
+
headers,
|
|
289
|
+
}).json();
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* Update a cluster's name, description, or stage label. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateCluster) for more details.
|
|
294
|
+
* @param clusterUuid - The cluster UUID
|
|
295
|
+
* @param updateRequest - The fields to update
|
|
296
|
+
* @throws {RESTError}
|
|
297
|
+
*/
|
|
298
|
+
async updateCluster(clusterUuid, updateRequest) {
|
|
299
|
+
const headers = await this.getHeaders();
|
|
300
|
+
const rest = await this.rest;
|
|
301
|
+
await rest.patch(`clusters/${clusterUuid}`, {
|
|
302
|
+
body: JSON.stringify(updateRequest),
|
|
303
|
+
headers,
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* Upgrade a cluster to the latest available generation. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpgradeCluster) for more details.
|
|
309
|
+
* @param clusterUuid - The cluster UUID
|
|
310
|
+
* @throws {RESTError}
|
|
311
|
+
*/
|
|
312
|
+
async upgradeCluster(clusterUuid) {
|
|
313
|
+
const headers = await this.getHeaders();
|
|
314
|
+
const rest = await this.rest;
|
|
315
|
+
return rest
|
|
316
|
+
.put(`clusters/${clusterUuid}/upgrade`, {
|
|
317
|
+
headers,
|
|
318
|
+
})
|
|
319
|
+
.json();
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
*
|
|
323
|
+
* Resume a suspended cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/Wake) for more details.
|
|
324
|
+
* @param clusterUuid - The cluster UUID
|
|
325
|
+
* @throws {RESTError}
|
|
326
|
+
*/
|
|
327
|
+
async wakeCluster(clusterUuid) {
|
|
328
|
+
const headers = await this.getHeaders();
|
|
329
|
+
const rest = await this.rest;
|
|
330
|
+
await rest.put(`clusters/${clusterUuid}/wake`, {
|
|
331
|
+
headers,
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* Update the IP allowlist for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateIpAllowlist) for more details.
|
|
337
|
+
* @param clusterUuid - The cluster UUID
|
|
338
|
+
* @param ipallowlist - Array of IP allowlist entries
|
|
339
|
+
* @throws {RESTError}
|
|
340
|
+
*/
|
|
341
|
+
async updateIpAllowlist(clusterUuid, ipallowlist) {
|
|
342
|
+
const headers = await this.getHeaders();
|
|
343
|
+
const rest = await this.rest;
|
|
344
|
+
await rest.put(`clusters/${clusterUuid}/ipallowlist`, {
|
|
345
|
+
body: JSON.stringify({ ipallowlist }),
|
|
346
|
+
headers,
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* Update a connector secret value. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/UpdateSecret) for more details.
|
|
352
|
+
* @param clusterUuid - The cluster UUID
|
|
353
|
+
* @param secretName - The name of the secret to update
|
|
354
|
+
* @param secretValue - The new secret value
|
|
355
|
+
* @throws {RESTError}
|
|
356
|
+
*/
|
|
357
|
+
async updateSecret(clusterUuid, secretName, secretValue) {
|
|
358
|
+
const headers = await this.getHeaders();
|
|
359
|
+
const rest = await this.rest;
|
|
360
|
+
await rest.put(`clusters/${clusterUuid}/secrets/${secretName}`, {
|
|
361
|
+
body: JSON.stringify({ secretValue }),
|
|
362
|
+
headers,
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* Activate Secure Connectivity for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/ActivateSecureConnectivity) for more details.
|
|
368
|
+
* @param clusterUuid - The cluster UUID
|
|
369
|
+
* @param request - The allowed principals and regions
|
|
370
|
+
* @throws {RESTError}
|
|
371
|
+
*/
|
|
372
|
+
async activateSecureConnectivity(clusterUuid, request) {
|
|
373
|
+
const headers = await this.getHeaders();
|
|
374
|
+
const rest = await this.rest;
|
|
375
|
+
await rest.post(`clusters/${clusterUuid}/secure-connectivity`, {
|
|
376
|
+
body: JSON.stringify(request),
|
|
377
|
+
headers,
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* Deactivate Secure Connectivity for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeactivateSecureConnectivity) for more details.
|
|
383
|
+
* @param clusterUuid - The cluster UUID
|
|
384
|
+
* @throws {RESTError}
|
|
385
|
+
*/
|
|
386
|
+
async deactivateSecureConnectivity(clusterUuid) {
|
|
387
|
+
const headers = await this.getHeaders();
|
|
388
|
+
const rest = await this.rest;
|
|
389
|
+
await rest.delete(`clusters/${clusterUuid}/secure-connectivity`, {
|
|
390
|
+
headers,
|
|
391
|
+
});
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* Get the Secure Connectivity status for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetSecureConnectivityStatus) for more details.
|
|
396
|
+
* @param clusterUuid - The cluster UUID
|
|
397
|
+
* @throws {RESTError}
|
|
398
|
+
*/
|
|
399
|
+
async getSecureConnectivityStatus(clusterUuid) {
|
|
400
|
+
const headers = await this.getHeaders();
|
|
401
|
+
const rest = await this.rest;
|
|
402
|
+
return rest(`clusters/${clusterUuid}/secure-connectivity`, {
|
|
403
|
+
headers,
|
|
404
|
+
}).json();
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* Activate External Monitoring (BYOM) for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/ActivateMonitoring) for more details.
|
|
409
|
+
* @param clusterUuid - The cluster UUID
|
|
410
|
+
* @throws {RESTError}
|
|
411
|
+
*/
|
|
412
|
+
async activateMonitoring(clusterUuid) {
|
|
413
|
+
const headers = await this.getHeaders();
|
|
414
|
+
const rest = await this.rest;
|
|
415
|
+
await rest.post(`clusters/${clusterUuid}/monitoring`, {
|
|
416
|
+
headers,
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
*
|
|
421
|
+
* Deactivate External Monitoring (BYOM) for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeactivateMonitoring) for more details.
|
|
422
|
+
* @param clusterUuid - The cluster UUID
|
|
423
|
+
* @throws {RESTError}
|
|
424
|
+
*/
|
|
425
|
+
async deactivateMonitoring(clusterUuid) {
|
|
426
|
+
const headers = await this.getHeaders();
|
|
427
|
+
const rest = await this.rest;
|
|
428
|
+
await rest.delete(`clusters/${clusterUuid}/monitoring`, {
|
|
429
|
+
headers,
|
|
430
|
+
});
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* Get all External Monitoring clients for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetMonitoringClients) for more details.
|
|
435
|
+
* @param clusterUuid - The cluster UUID
|
|
436
|
+
* @throws {RESTError}
|
|
437
|
+
*/
|
|
438
|
+
async getMonitoringClients(clusterUuid) {
|
|
439
|
+
const headers = await this.getHeaders();
|
|
440
|
+
const rest = await this.rest;
|
|
441
|
+
return rest(`clusters/${clusterUuid}/monitoring/clients`, {
|
|
442
|
+
headers,
|
|
443
|
+
}).json();
|
|
444
|
+
}
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* Create a new External Monitoring client for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/CreateMonitoringClient) for more details.
|
|
448
|
+
* @param clusterUuid - The cluster UUID
|
|
449
|
+
* @param username - The username for the monitoring client
|
|
450
|
+
* @throws {RESTError}
|
|
451
|
+
*/
|
|
452
|
+
async createMonitoringClient(clusterUuid, username) {
|
|
453
|
+
const headers = await this.getHeaders();
|
|
454
|
+
const rest = await this.rest;
|
|
455
|
+
return rest
|
|
456
|
+
.post(`clusters/${clusterUuid}/monitoring/clients`, {
|
|
457
|
+
body: JSON.stringify({ username }),
|
|
458
|
+
headers,
|
|
459
|
+
})
|
|
460
|
+
.json();
|
|
461
|
+
}
|
|
462
|
+
/**
|
|
463
|
+
*
|
|
464
|
+
* Rotate the password for an External Monitoring client. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/RotateMonitoringClientPassword) for more details.
|
|
465
|
+
* @param clusterUuid - The cluster UUID
|
|
466
|
+
* @param clientUuid - The monitoring client UUID
|
|
467
|
+
* @throws {RESTError}
|
|
468
|
+
*/
|
|
469
|
+
async rotateMonitoringClientPassword(clusterUuid, clientUuid) {
|
|
470
|
+
const headers = await this.getHeaders();
|
|
471
|
+
const rest = await this.rest;
|
|
472
|
+
return rest
|
|
473
|
+
.post(`clusters/${clusterUuid}/monitoring/clients/${clientUuid}/rotate`, {
|
|
474
|
+
headers,
|
|
475
|
+
})
|
|
476
|
+
.json();
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* Delete an External Monitoring client. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeleteMonitoringClient) for more details.
|
|
481
|
+
* @param clusterUuid - The cluster UUID
|
|
482
|
+
* @param clientUuid - The monitoring client UUID
|
|
483
|
+
* @throws {RESTError}
|
|
484
|
+
*/
|
|
485
|
+
async deleteMonitoringClient(clusterUuid, clientUuid) {
|
|
486
|
+
const headers = await this.getHeaders();
|
|
487
|
+
const rest = await this.rest;
|
|
488
|
+
await rest.delete(`clusters/${clusterUuid}/monitoring/clients/${clientUuid}`, {
|
|
489
|
+
headers,
|
|
490
|
+
});
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* Get all backups for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetBackups) for more details.
|
|
495
|
+
* @param clusterUuid - The cluster UUID
|
|
496
|
+
* @throws {RESTError}
|
|
497
|
+
*/
|
|
498
|
+
async getBackups(clusterUuid) {
|
|
499
|
+
const headers = await this.getHeaders();
|
|
500
|
+
const rest = await this.rest;
|
|
501
|
+
return rest(`clusters/${clusterUuid}/backups`, {
|
|
502
|
+
headers,
|
|
503
|
+
}).json();
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* Create a new backup for a cluster. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/CreateBackup) for more details.
|
|
508
|
+
* @param clusterUuid - The cluster UUID
|
|
509
|
+
* @throws {RESTError}
|
|
510
|
+
*/
|
|
511
|
+
async createBackup(clusterUuid) {
|
|
512
|
+
const headers = await this.getHeaders();
|
|
513
|
+
const rest = await this.rest;
|
|
514
|
+
return rest
|
|
515
|
+
.post(`clusters/${clusterUuid}/backups`, {
|
|
516
|
+
headers,
|
|
517
|
+
})
|
|
518
|
+
.json();
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* Delete a backup. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/DeleteBackup) for more details.
|
|
523
|
+
* @param clusterUuid - The cluster UUID
|
|
524
|
+
* @param backupId - The backup ID
|
|
525
|
+
* @throws {RESTError}
|
|
526
|
+
*/
|
|
527
|
+
async deleteBackup(clusterUuid, backupId) {
|
|
528
|
+
const headers = await this.getHeaders();
|
|
529
|
+
const rest = await this.rest;
|
|
530
|
+
return rest
|
|
531
|
+
.delete(`clusters/${clusterUuid}/backups/${backupId}`, {
|
|
532
|
+
headers,
|
|
533
|
+
})
|
|
534
|
+
.json();
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* Fetch all activity/audit events as JSON. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetJson) for more details.
|
|
539
|
+
* @throws {RESTError}
|
|
540
|
+
*/
|
|
541
|
+
async getActivityEvents() {
|
|
542
|
+
const headers = await this.getHeaders();
|
|
543
|
+
const rest = await this.rest;
|
|
544
|
+
return rest('activity/json', {
|
|
545
|
+
headers,
|
|
546
|
+
}).json();
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* Fetch all activity/audit events as CSV. See [the API Documentation](https://console.cloud.camunda.io/customer-api/openapi/docs/#/default/GetCsv) for more details.
|
|
551
|
+
* @throws {RESTError}
|
|
552
|
+
*/
|
|
553
|
+
async getActivityEventsCsv() {
|
|
554
|
+
const headers = await this.getHeaders();
|
|
555
|
+
const rest = await this.rest;
|
|
556
|
+
return rest('activity/csv', {
|
|
557
|
+
headers,
|
|
558
|
+
}).text();
|
|
559
|
+
}
|
|
279
560
|
}
|
|
280
561
|
exports.AdminApiClient = AdminApiClient;
|
|
281
562
|
//# sourceMappingURL=AdminApiClient.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdminApiClient.js","sourceRoot":"","sources":["../../../src/admin/lib/AdminApiClient.ts"],"names":[],"mappings":";;;;;;AAAA,kDAAqB;AACrB,8CAAqB;AAErB,mCAWkB;AAKlB,MAAM,KAAK,GAAG,IAAA,eAAC,EAAC,sBAAsB,CAAC,CAAA;AAEvC;;;GAGG;AACH,MAAa,cAAc;IAK1B,YAAY,OAGX;QACA,MAAM,MAAM,GAAG,oCAA8B,CAAC,0BAA0B,CACvE,OAAO,EAAE,MAAM,IAAI,EAAE,CACrB,CAAA;QACD,MAAM,SAAS,GAAG,IAAA,0BAAoB,EACrC,MAAM,CAAC,wBAAwB,EAC/B,0BAA0B,CAC1B,CAAA;QAED,IAAI,CAAC,aAAa;YACjB,OAAO,EAAE,aAAa;gBACtB,IAAA,4BAAsB,EAAC,MAAM,EAAE;oBAC9B,uBAAuB,EAAE,MAAM,CAAC,SAAS,CAA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itePending: boolean;
|
|
98
98
|
}
|
|
99
|
+
export interface MetaDto {
|
|
100
|
+
'web-modeler': string[];
|
|
101
|
+
}
|
|
102
|
+
export type CamundaClusterStage = 'dev' | 'test' | 'stage' | 'prod';
|
|
103
|
+
export interface UpdateClusterBody {
|
|
104
|
+
name?: string;
|
|
105
|
+
description?: string;
|
|
106
|
+
stageLabel?: CamundaClusterStage;
|
|
107
|
+
numberOfAllocatedHwPackages?: number;
|
|
108
|
+
}
|
|
109
|
+
export interface GenerationUpgradeForClusterDto {
|
|
110
|
+
cluster: {
|
|
111
|
+
id: string;
|
|
112
|
+
name: string;
|
|
113
|
+
};
|
|
114
|
+
oldGeneration: {
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
};
|
|
118
|
+
newGeneration: {
|
|
119
|
+
id: string;
|
|
120
|
+
name: string;
|
|
121
|
+
};
|
|
122
|
+
orgId: string;
|
|
123
|
+
}
|
|
124
|
+
export interface IpAllowListEntry {
|
|
125
|
+
description: string;
|
|
126
|
+
ip: string;
|
|
127
|
+
}
|
|
128
|
+
export interface ActivateSecureConnectivityBody {
|
|
129
|
+
allowedPrincipals: string[];
|
|
130
|
+
allowedRegions: string[];
|
|
131
|
+
}
|
|
132
|
+
export interface SecureConnectivityEndpointConnection {
|
|
133
|
+
state: string;
|
|
134
|
+
serviceId: string;
|
|
135
|
+
owner: string;
|
|
136
|
+
endpointId: string;
|
|
137
|
+
creationTimestamp: string;
|
|
138
|
+
}
|
|
139
|
+
export interface SecureConnectivityCondition {
|
|
140
|
+
lastTransitionTime: string;
|
|
141
|
+
observedGeneration: number;
|
|
142
|
+
message: string;
|
|
143
|
+
reason: string;
|
|
144
|
+
status: string;
|
|
145
|
+
type: string;
|
|
146
|
+
}
|
|
147
|
+
export interface SecureConnectivityDto {
|
|
148
|
+
status: {
|
|
149
|
+
urls: Record<string, unknown>;
|
|
150
|
+
observedGeneration: number;
|
|
151
|
+
endpointConnections: SecureConnectivityEndpointConnection[];
|
|
152
|
+
endpointConnectionCount: number;
|
|
153
|
+
endpoint: {
|
|
154
|
+
privateDnsName: string;
|
|
155
|
+
type: string;
|
|
156
|
+
serviceName: string;
|
|
157
|
+
region: string;
|
|
158
|
+
};
|
|
159
|
+
conditions: SecureConnectivityCondition[];
|
|
160
|
+
};
|
|
161
|
+
metadata: {
|
|
162
|
+
name: string;
|
|
163
|
+
labels: {
|
|
164
|
+
orgId: string;
|
|
165
|
+
};
|
|
166
|
+
namespace: string;
|
|
167
|
+
};
|
|
168
|
+
spec: {
|
|
169
|
+
allowedPrincipals: string[];
|
|
170
|
+
allowedRegions: string[];
|
|
171
|
+
cluster: {
|
|
172
|
+
id: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
export interface SecureConnectivityStatusResponse {
|
|
177
|
+
status: SecureConnectivityDto | Record<string, never>;
|
|
178
|
+
}
|
|
179
|
+
export interface MonitoringClient {
|
|
180
|
+
uuid: string;
|
|
181
|
+
name: string;
|
|
182
|
+
username: string;
|
|
183
|
+
created: string;
|
|
184
|
+
lastUsed: string;
|
|
185
|
+
createdBy: string;
|
|
186
|
+
createdByName: string;
|
|
187
|
+
}
|
|
188
|
+
export interface CreatedMonitoringClient extends MonitoringClient {
|
|
189
|
+
password: string;
|
|
190
|
+
}
|
|
191
|
+
export interface MonitoringMetricsEndpoint {
|
|
192
|
+
target: string;
|
|
193
|
+
scheme: string;
|
|
194
|
+
path: string;
|
|
195
|
+
}
|
|
196
|
+
export interface MonitoringStatus {
|
|
197
|
+
metricsEndpoint: MonitoringMetricsEndpoint;
|
|
198
|
+
conditions: unknown[];
|
|
199
|
+
}
|
|
200
|
+
export interface MonitoringClientsResponse {
|
|
201
|
+
clients: MonitoringClient[];
|
|
202
|
+
status: MonitoringStatus | Record<string, never>;
|
|
203
|
+
}
|
|
204
|
+
export type BackupStatus = 'In progress' | 'Failed' | 'Complete' | '-';
|
|
205
|
+
export interface Backup {
|
|
206
|
+
uuid: string;
|
|
207
|
+
name: string;
|
|
208
|
+
created: string;
|
|
209
|
+
completed: string;
|
|
210
|
+
status: BackupStatus;
|
|
211
|
+
zeebeStatus: BackupStatus;
|
|
212
|
+
tasklistStatus: BackupStatus;
|
|
213
|
+
operateStatus: BackupStatus;
|
|
214
|
+
optimizeStatus: BackupStatus;
|
|
215
|
+
}
|
|
216
|
+
export type AuditType = 'c' | 'r' | 'u' | 'd';
|
|
217
|
+
export interface AuditEvent {
|
|
218
|
+
service: string;
|
|
219
|
+
orgId: string;
|
|
220
|
+
timestamp: number;
|
|
221
|
+
audit: string;
|
|
222
|
+
auditType: AuditType;
|
|
223
|
+
entity: string;
|
|
224
|
+
entityId: string;
|
|
225
|
+
userId: string;
|
|
226
|
+
parentEntity?: string;
|
|
227
|
+
parentEntityId?: string;
|
|
228
|
+
entityAttribute?: string;
|
|
229
|
+
entityAttributeValueFrom?: string;
|
|
230
|
+
entityAttributeValueTo?: string;
|
|
231
|
+
}
|
package/dist/c8/lib/C8Dto.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"C8Dto.js","sourceRoot":"","sources":["../../../src/c8/lib/C8Dto.ts"],"names":[],"mappings":";;;;;;;;;AAIA,mCAA8D;AAS9D,mDAA8E;AAE9E,MAAa,UAGX,SAAQ,iBAAW;CAoBpB;AAvBD,gCAuBC;AAlBA;IADC,iBAAW;0CACG;AAGf;IADC,iBAAW;sDACe;AAI3B;IADC,iBAAW;wDACiB;AAG7B;IADC,iBAAW;sDACe;AAK3B;IADC,iBAAW;4CACK;AAoClB,MAAa,iBAAkB,SAAQ,iBAAW;CASjD;AATD,8CASC;AAHA;IADC,iBAAW;+DACiB;AAK9B,MAAa,kBAAmB,SAAQ,iBAAW;CASlD;AATD,gDASC;AAFA;IADC,iBAAW;mEACoB;AAIjC,MAAa,8BAA+B,SAAQ,iBAAW;CAQ9D;AARD,wEAQC;AAFA;IADC,iBAAW;+EACoB;AAGjC,MAAa,cAAc;CAO1B;AAP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,IAAA,cAAQ,EAAC,QAAQ,CAAC;kDACD;AAGnB,MAAa,mBAAmB;CAO/B;AAPD,kDAOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PollingOperation.js","sourceRoot":"","sources":["../../src/lib/PollingOperation.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"PollingOperation.js","sourceRoot":"","sources":["../../src/lib/PollingOperation.ts"],"names":[],"mappings":";;AAgFA,4CAmCC;AAnHD,SAAS,gBAAgB,CACxB,MAAS;IAET,OAAO,CACN,MAAM,KAAK,IAAI;QACf,MAAM,KAAK,SAAS;QACpB,MAAM,CAAC,KAAK;QACZ,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CACvB,CAAA;AACF,CAAC;AAuBD,MAAM,cAAkB,SAAQ,KAAK;IAEpC,YAAY,OAAe;QAC1B,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAA;QAC5B,iDAAiD;QACjD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,cAAc,CAAC,SAAS,CAAC,CAAA;QACrD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAA;IACnB,CAAC;CACD;AAuCD,SAAgB,gBAAgB,CAC/B,OAEyE;IAEzE,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,IAAI,CAAA;IACzC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,IAAI,KAAK,CAAA;IACxC,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAA;IACnC,mFAAmF;IACnF,MAAM,SAAS,GACd,OAAO,CAAC,SAAS,IAAK,gBAA2C,CAAA;IAClE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QACtC,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;QAE5B,MAAM,IAAI,GAAG,KAAK,IAAI,EAAE;YACvB,IAAI,CAAC;gBAC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