@camunda8/orchestration-cluster-api 10.0.0-alpha.23 → 10.0.0-alpha.25
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 +17 -0
- package/dist/{chunk-JF3QWFWZ.js → chunk-5T5DTO7V.js} +635 -88
- package/dist/chunk-5T5DTO7V.js.map +1 -0
- package/dist/fp/index.cjs +642 -89
- package/dist/fp/index.cjs.map +1 -1
- package/dist/fp/index.d.cts +1 -1
- package/dist/fp/index.d.ts +1 -1
- package/dist/fp/index.js +1 -1
- package/dist/{index-DPNy4KLk.d.cts → index-1CFuY8zI.d.cts} +40 -2
- package/dist/{index-CE5WmteM.d.ts → index-PMp1qCax.d.ts} +40 -2
- package/dist/index.cjs +643 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/{zod.gen-BT6O3SVH.js → zod.gen-OIU26R2L.js} +10 -4
- package/dist/zod.gen-OIU26R2L.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-JF3QWFWZ.js.map +0 -1
- package/dist/zod.gen-BT6O3SVH.js.map +0 -1
|
@@ -317,6 +317,33 @@ function createVariableSearchFetchPage(params) {
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
+
// src/runtime/pollBackoff.ts
|
|
321
|
+
var DEFAULT_POLL_BACKOFF_MIN_MS = 1e3;
|
|
322
|
+
var DEFAULT_POLL_BACKOFF_MAX_MS = 3e4;
|
|
323
|
+
var MAX_SAFE_TIMEOUT_MS = 2147483647;
|
|
324
|
+
function computePollBackoffMs(attempt, opts) {
|
|
325
|
+
const rng = opts.rng ?? Math.random;
|
|
326
|
+
const min = Number.isFinite(opts.minMs) ? Math.min(MAX_SAFE_TIMEOUT_MS, Math.max(0, Math.floor(opts.minMs))) : 0;
|
|
327
|
+
const max = Number.isFinite(opts.maxMs) ? Math.min(MAX_SAFE_TIMEOUT_MS, Math.max(min, Math.floor(opts.maxMs))) : min;
|
|
328
|
+
const safeAttempt = Number.isFinite(attempt) ? Math.max(1, Math.floor(attempt)) : 1;
|
|
329
|
+
const exponent = Math.min(safeAttempt - 1, 53);
|
|
330
|
+
const cap = Math.min(max, min * 2 ** exponent);
|
|
331
|
+
const half = cap / 2;
|
|
332
|
+
const r = rng();
|
|
333
|
+
const jitter = Number.isFinite(r) ? Math.min(1, Math.max(0, r)) : 0;
|
|
334
|
+
return Math.round(half + jitter * half);
|
|
335
|
+
}
|
|
336
|
+
function nextActivationRetryDelayMs(attempt, cfg, rng) {
|
|
337
|
+
if (cfg.pollBackoffMinMs > 0) {
|
|
338
|
+
return computePollBackoffMs(attempt, {
|
|
339
|
+
minMs: cfg.pollBackoffMinMs,
|
|
340
|
+
maxMs: cfg.pollBackoffMaxMs,
|
|
341
|
+
rng
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
return Number.isFinite(cfg.pollIntervalMs) ? Math.max(0, Math.round(cfg.pollIntervalMs)) : 0;
|
|
345
|
+
}
|
|
346
|
+
|
|
320
347
|
// src/runtime/workerStartGate.ts
|
|
321
348
|
var WorkerStartGate = class {
|
|
322
349
|
/**
|
|
@@ -376,6 +403,8 @@ var JobWorker = class {
|
|
|
376
403
|
_pollTimer = null;
|
|
377
404
|
_inFlightActivation = null;
|
|
378
405
|
// CancelablePromise-like
|
|
406
|
+
/** Consecutive failed activation requests; drives the retry backoff, reset on success. */
|
|
407
|
+
_consecutiveActivationErrors = 0;
|
|
379
408
|
_log;
|
|
380
409
|
_startGate;
|
|
381
410
|
constructor(client2, cfg) {
|
|
@@ -383,6 +412,8 @@ var JobWorker = class {
|
|
|
383
412
|
this._cfg = {
|
|
384
413
|
...cfg,
|
|
385
414
|
pollIntervalMs: cfg.pollIntervalMs ?? 1,
|
|
415
|
+
pollBackoffMinMs: cfg.pollBackoffMinMs ?? DEFAULT_POLL_BACKOFF_MIN_MS,
|
|
416
|
+
pollBackoffMaxMs: cfg.pollBackoffMaxMs ?? DEFAULT_POLL_BACKOFF_MAX_MS,
|
|
386
417
|
autoStart: cfg.autoStart ?? true,
|
|
387
418
|
validateSchemas: cfg.validateSchemas ?? false,
|
|
388
419
|
maxParallelJobs: cfg.maxParallelJobs ?? 10,
|
|
@@ -527,6 +558,7 @@ var JobWorker = class {
|
|
|
527
558
|
this._inFlightActivation = this._client.activateJobs(body);
|
|
528
559
|
const activation = await this._inFlightActivation;
|
|
529
560
|
this._inFlightActivation = null;
|
|
561
|
+
this._consecutiveActivationErrors = 0;
|
|
530
562
|
result = activation?.jobs || [];
|
|
531
563
|
this._log.debug(() => ["activation.response", { jobs: result.length }]);
|
|
532
564
|
} catch (e) {
|
|
@@ -534,10 +566,17 @@ var JobWorker = class {
|
|
|
534
566
|
if (this._stopped) return;
|
|
535
567
|
if (e?.name === "CancelSdkError") {
|
|
536
568
|
this._log.debug("activation.cancelled");
|
|
537
|
-
|
|
538
|
-
|
|
569
|
+
this._scheduleNext(this._cfg.pollIntervalMs);
|
|
570
|
+
return;
|
|
539
571
|
}
|
|
540
|
-
this.
|
|
572
|
+
this._consecutiveActivationErrors += 1;
|
|
573
|
+
const delayMs = nextActivationRetryDelayMs(this._consecutiveActivationErrors, this._cfg);
|
|
574
|
+
this._log.error("activation.error", e);
|
|
575
|
+
this._log.debug(() => [
|
|
576
|
+
"activation.retry",
|
|
577
|
+
{ attempt: this._consecutiveActivationErrors, retryInMs: delayMs }
|
|
578
|
+
]);
|
|
579
|
+
this._scheduleNext(delayMs);
|
|
541
580
|
return;
|
|
542
581
|
}
|
|
543
582
|
if (!result || result.length === 0) {
|
|
@@ -1313,6 +1352,7 @@ var createClient = (config = {}) => {
|
|
|
1313
1352
|
const responseStyle = options.responseStyle ?? _config.responseStyle;
|
|
1314
1353
|
let request2;
|
|
1315
1354
|
let response;
|
|
1355
|
+
let __isHttpErrorResponse = false;
|
|
1316
1356
|
try {
|
|
1317
1357
|
const { opts, url } = await beforeRequest(options);
|
|
1318
1358
|
const requestInit = {
|
|
@@ -1401,6 +1441,7 @@ var createClient = (config = {}) => {
|
|
|
1401
1441
|
jsonError = JSON.parse(textError);
|
|
1402
1442
|
} catch {
|
|
1403
1443
|
}
|
|
1444
|
+
__isHttpErrorResponse = true;
|
|
1404
1445
|
throw jsonError ?? textError;
|
|
1405
1446
|
} catch (error) {
|
|
1406
1447
|
let finalError = error;
|
|
@@ -1410,7 +1451,7 @@ var createClient = (config = {}) => {
|
|
|
1410
1451
|
}
|
|
1411
1452
|
}
|
|
1412
1453
|
finalError = finalError || {};
|
|
1413
|
-
if (throwOnError) {
|
|
1454
|
+
if (throwOnError || !__isHttpErrorResponse) {
|
|
1414
1455
|
throw finalError;
|
|
1415
1456
|
}
|
|
1416
1457
|
return responseStyle === "data" ? void 0 : {
|
|
@@ -4847,7 +4888,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
|
|
|
4847
4888
|
}
|
|
4848
4889
|
|
|
4849
4890
|
// src/runtime/version.ts
|
|
4850
|
-
var packageVersion = "10.0.0-alpha.
|
|
4891
|
+
var packageVersion = "10.0.0-alpha.25";
|
|
4851
4892
|
|
|
4852
4893
|
// src/runtime/supportLogger.ts
|
|
4853
4894
|
var NoopSupportLogger = class {
|
|
@@ -5952,6 +5993,8 @@ var ThreadedJobWorker = class {
|
|
|
5952
5993
|
_stopped = false;
|
|
5953
5994
|
_pollTimer = null;
|
|
5954
5995
|
_inFlightActivation = null;
|
|
5996
|
+
/** Consecutive failed activation requests; drives the retry backoff, reset on success. */
|
|
5997
|
+
_consecutiveActivationErrors = 0;
|
|
5955
5998
|
_log;
|
|
5956
5999
|
_jobQueue = [];
|
|
5957
6000
|
_startGate;
|
|
@@ -5961,6 +6004,8 @@ var ThreadedJobWorker = class {
|
|
|
5961
6004
|
this._cfg = {
|
|
5962
6005
|
...cfg,
|
|
5963
6006
|
pollIntervalMs: cfg.pollIntervalMs ?? 1,
|
|
6007
|
+
pollBackoffMinMs: cfg.pollBackoffMinMs ?? DEFAULT_POLL_BACKOFF_MIN_MS,
|
|
6008
|
+
pollBackoffMaxMs: cfg.pollBackoffMaxMs ?? DEFAULT_POLL_BACKOFF_MAX_MS,
|
|
5964
6009
|
autoStart: cfg.autoStart ?? true,
|
|
5965
6010
|
validateSchemas: cfg.validateSchemas ?? false,
|
|
5966
6011
|
maxParallelJobs: cfg.maxParallelJobs ?? 10,
|
|
@@ -6192,6 +6237,7 @@ var ThreadedJobWorker = class {
|
|
|
6192
6237
|
this._inFlightActivation = this._client.activateJobs(body);
|
|
6193
6238
|
const activation = await this._inFlightActivation;
|
|
6194
6239
|
this._inFlightActivation = null;
|
|
6240
|
+
this._consecutiveActivationErrors = 0;
|
|
6195
6241
|
result = activation?.jobs || [];
|
|
6196
6242
|
this._log.debug(() => ["activation.response", { jobs: result.length }]);
|
|
6197
6243
|
} catch (e) {
|
|
@@ -6199,10 +6245,17 @@ var ThreadedJobWorker = class {
|
|
|
6199
6245
|
if (this._stopped) return;
|
|
6200
6246
|
if (e?.name === "CancelSdkError") {
|
|
6201
6247
|
this._log.debug("activation.cancelled");
|
|
6202
|
-
|
|
6203
|
-
|
|
6248
|
+
this._scheduleNext(this._cfg.pollIntervalMs);
|
|
6249
|
+
return;
|
|
6204
6250
|
}
|
|
6205
|
-
this.
|
|
6251
|
+
this._consecutiveActivationErrors += 1;
|
|
6252
|
+
const delayMs = nextActivationRetryDelayMs(this._consecutiveActivationErrors, this._cfg);
|
|
6253
|
+
this._log.error("activation.error", e);
|
|
6254
|
+
this._log.debug(() => [
|
|
6255
|
+
"activation.retry",
|
|
6256
|
+
{ attempt: this._consecutiveActivationErrors, retryInMs: delayMs }
|
|
6257
|
+
]);
|
|
6258
|
+
this._scheduleNext(delayMs);
|
|
6206
6259
|
return;
|
|
6207
6260
|
}
|
|
6208
6261
|
if (!result || result.length === 0) {
|
|
@@ -6854,7 +6907,7 @@ var CamundaClient = class {
|
|
|
6854
6907
|
_schemasPromise = null;
|
|
6855
6908
|
_loadSchemas() {
|
|
6856
6909
|
if (!this._schemasPromise) {
|
|
6857
|
-
this._schemasPromise = import("./zod.gen-
|
|
6910
|
+
this._schemasPromise = import("./zod.gen-OIU26R2L.js");
|
|
6858
6911
|
}
|
|
6859
6912
|
return this._schemasPromise;
|
|
6860
6913
|
}
|
|
@@ -6944,6 +6997,10 @@ var CamundaClient = class {
|
|
|
6944
6997
|
const maybeBody = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesBody, envelope.body);
|
|
6945
6998
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
6946
6999
|
}
|
|
7000
|
+
if (envelope.path !== void 0) {
|
|
7001
|
+
const maybePath = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesPath, envelope.path);
|
|
7002
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7003
|
+
}
|
|
6947
7004
|
}
|
|
6948
7005
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
6949
7006
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7056,7 +7113,10 @@ var CamundaClient = class {
|
|
|
7056
7113
|
envelope.path = { groupId, clientId };
|
|
7057
7114
|
if (this._validation.settings.req !== "none") {
|
|
7058
7115
|
const _schemas = await this._loadSchemas();
|
|
7059
|
-
|
|
7116
|
+
if (envelope.path !== void 0) {
|
|
7117
|
+
const maybePath = await this._validation.gateRequest("assignClientToGroup", _schemas.zAssignClientToGroupPath, envelope.path);
|
|
7118
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7119
|
+
}
|
|
7060
7120
|
}
|
|
7061
7121
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7062
7122
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7107,7 +7167,10 @@ var CamundaClient = class {
|
|
|
7107
7167
|
envelope.path = { tenantId, clientId };
|
|
7108
7168
|
if (this._validation.settings.req !== "none") {
|
|
7109
7169
|
const _schemas = await this._loadSchemas();
|
|
7110
|
-
|
|
7170
|
+
if (envelope.path !== void 0) {
|
|
7171
|
+
const maybePath = await this._validation.gateRequest("assignClientToTenant", _schemas.zAssignClientToTenantPath, envelope.path);
|
|
7172
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7173
|
+
}
|
|
7111
7174
|
}
|
|
7112
7175
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7113
7176
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7158,7 +7221,10 @@ var CamundaClient = class {
|
|
|
7158
7221
|
envelope.path = { tenantId, groupId };
|
|
7159
7222
|
if (this._validation.settings.req !== "none") {
|
|
7160
7223
|
const _schemas = await this._loadSchemas();
|
|
7161
|
-
|
|
7224
|
+
if (envelope.path !== void 0) {
|
|
7225
|
+
const maybePath = await this._validation.gateRequest("assignGroupToTenant", _schemas.zAssignGroupToTenantPath, envelope.path);
|
|
7226
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7227
|
+
}
|
|
7162
7228
|
}
|
|
7163
7229
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7164
7230
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7209,7 +7275,10 @@ var CamundaClient = class {
|
|
|
7209
7275
|
envelope.path = { groupId, mappingRuleId };
|
|
7210
7276
|
if (this._validation.settings.req !== "none") {
|
|
7211
7277
|
const _schemas = await this._loadSchemas();
|
|
7212
|
-
|
|
7278
|
+
if (envelope.path !== void 0) {
|
|
7279
|
+
const maybePath = await this._validation.gateRequest("assignMappingRuleToGroup", _schemas.zAssignMappingRuleToGroupPath, envelope.path);
|
|
7280
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7281
|
+
}
|
|
7213
7282
|
}
|
|
7214
7283
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7215
7284
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7260,7 +7329,10 @@ var CamundaClient = class {
|
|
|
7260
7329
|
envelope.path = { tenantId, mappingRuleId };
|
|
7261
7330
|
if (this._validation.settings.req !== "none") {
|
|
7262
7331
|
const _schemas = await this._loadSchemas();
|
|
7263
|
-
|
|
7332
|
+
if (envelope.path !== void 0) {
|
|
7333
|
+
const maybePath = await this._validation.gateRequest("assignMappingRuleToTenant", _schemas.zAssignMappingRuleToTenantPath, envelope.path);
|
|
7334
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7335
|
+
}
|
|
7264
7336
|
}
|
|
7265
7337
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7266
7338
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7316,6 +7388,10 @@ var CamundaClient = class {
|
|
|
7316
7388
|
const maybeBody = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdBody, envelope.body);
|
|
7317
7389
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
7318
7390
|
}
|
|
7391
|
+
if (envelope.path !== void 0) {
|
|
7392
|
+
const maybePath = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdPath, envelope.path);
|
|
7393
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7394
|
+
}
|
|
7319
7395
|
}
|
|
7320
7396
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7321
7397
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7367,7 +7443,10 @@ var CamundaClient = class {
|
|
|
7367
7443
|
envelope.path = { roleId, clientId };
|
|
7368
7444
|
if (this._validation.settings.req !== "none") {
|
|
7369
7445
|
const _schemas = await this._loadSchemas();
|
|
7370
|
-
|
|
7446
|
+
if (envelope.path !== void 0) {
|
|
7447
|
+
const maybePath = await this._validation.gateRequest("assignRoleToClient", _schemas.zAssignRoleToClientPath, envelope.path);
|
|
7448
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7449
|
+
}
|
|
7371
7450
|
}
|
|
7372
7451
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7373
7452
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7418,7 +7497,10 @@ var CamundaClient = class {
|
|
|
7418
7497
|
envelope.path = { roleId, groupId };
|
|
7419
7498
|
if (this._validation.settings.req !== "none") {
|
|
7420
7499
|
const _schemas = await this._loadSchemas();
|
|
7421
|
-
|
|
7500
|
+
if (envelope.path !== void 0) {
|
|
7501
|
+
const maybePath = await this._validation.gateRequest("assignRoleToGroup", _schemas.zAssignRoleToGroupPath, envelope.path);
|
|
7502
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7503
|
+
}
|
|
7422
7504
|
}
|
|
7423
7505
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7424
7506
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7469,7 +7551,10 @@ var CamundaClient = class {
|
|
|
7469
7551
|
envelope.path = { roleId, mappingRuleId };
|
|
7470
7552
|
if (this._validation.settings.req !== "none") {
|
|
7471
7553
|
const _schemas = await this._loadSchemas();
|
|
7472
|
-
|
|
7554
|
+
if (envelope.path !== void 0) {
|
|
7555
|
+
const maybePath = await this._validation.gateRequest("assignRoleToMappingRule", _schemas.zAssignRoleToMappingRulePath, envelope.path);
|
|
7556
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7557
|
+
}
|
|
7473
7558
|
}
|
|
7474
7559
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7475
7560
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7520,7 +7605,10 @@ var CamundaClient = class {
|
|
|
7520
7605
|
envelope.path = { tenantId, roleId };
|
|
7521
7606
|
if (this._validation.settings.req !== "none") {
|
|
7522
7607
|
const _schemas = await this._loadSchemas();
|
|
7523
|
-
|
|
7608
|
+
if (envelope.path !== void 0) {
|
|
7609
|
+
const maybePath = await this._validation.gateRequest("assignRoleToTenant", _schemas.zAssignRoleToTenantPath, envelope.path);
|
|
7610
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7611
|
+
}
|
|
7524
7612
|
}
|
|
7525
7613
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7526
7614
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7571,7 +7659,10 @@ var CamundaClient = class {
|
|
|
7571
7659
|
envelope.path = { roleId, username };
|
|
7572
7660
|
if (this._validation.settings.req !== "none") {
|
|
7573
7661
|
const _schemas = await this._loadSchemas();
|
|
7574
|
-
|
|
7662
|
+
if (envelope.path !== void 0) {
|
|
7663
|
+
const maybePath = await this._validation.gateRequest("assignRoleToUser", _schemas.zAssignRoleToUserPath, envelope.path);
|
|
7664
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7665
|
+
}
|
|
7575
7666
|
}
|
|
7576
7667
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7577
7668
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7627,6 +7718,10 @@ var CamundaClient = class {
|
|
|
7627
7718
|
const maybeBody = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskBody, envelope.body);
|
|
7628
7719
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
7629
7720
|
}
|
|
7721
|
+
if (envelope.path !== void 0) {
|
|
7722
|
+
const maybePath = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskPath, envelope.path);
|
|
7723
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7724
|
+
}
|
|
7630
7725
|
}
|
|
7631
7726
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7632
7727
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7678,7 +7773,10 @@ var CamundaClient = class {
|
|
|
7678
7773
|
envelope.path = { groupId, username };
|
|
7679
7774
|
if (this._validation.settings.req !== "none") {
|
|
7680
7775
|
const _schemas = await this._loadSchemas();
|
|
7681
|
-
|
|
7776
|
+
if (envelope.path !== void 0) {
|
|
7777
|
+
const maybePath = await this._validation.gateRequest("assignUserToGroup", _schemas.zAssignUserToGroupPath, envelope.path);
|
|
7778
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7779
|
+
}
|
|
7682
7780
|
}
|
|
7683
7781
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7684
7782
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7729,7 +7827,10 @@ var CamundaClient = class {
|
|
|
7729
7827
|
envelope.path = { tenantId, username };
|
|
7730
7828
|
if (this._validation.settings.req !== "none") {
|
|
7731
7829
|
const _schemas = await this._loadSchemas();
|
|
7732
|
-
|
|
7830
|
+
if (envelope.path !== void 0) {
|
|
7831
|
+
const maybePath = await this._validation.gateRequest("assignUserToTenant", _schemas.zAssignUserToTenantPath, envelope.path);
|
|
7832
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7833
|
+
}
|
|
7733
7834
|
}
|
|
7734
7835
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7735
7836
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7843,6 +7944,10 @@ var CamundaClient = class {
|
|
|
7843
7944
|
const maybeBody = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationBody, envelope.body);
|
|
7844
7945
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
7845
7946
|
}
|
|
7947
|
+
if (envelope.path !== void 0) {
|
|
7948
|
+
const maybePath = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationPath, envelope.path);
|
|
7949
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
7950
|
+
}
|
|
7846
7951
|
}
|
|
7847
7952
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7848
7953
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -7899,6 +8004,10 @@ var CamundaClient = class {
|
|
|
7899
8004
|
const maybeBody = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstanceBody, envelope.body);
|
|
7900
8005
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
7901
8006
|
}
|
|
8007
|
+
if (envelope.path !== void 0) {
|
|
8008
|
+
const maybePath = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstancePath, envelope.path);
|
|
8009
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8010
|
+
}
|
|
7902
8011
|
}
|
|
7903
8012
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
7904
8013
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -8004,7 +8113,10 @@ var CamundaClient = class {
|
|
|
8004
8113
|
envelope.query = { mode, dryRun };
|
|
8005
8114
|
if (this._validation.settings.req !== "none") {
|
|
8006
8115
|
const _schemas = await this._loadSchemas();
|
|
8007
|
-
|
|
8116
|
+
if (envelope.query !== void 0) {
|
|
8117
|
+
const maybeQuery = await this._validation.gateRequest("changeClusterMode", _schemas.zChangeClusterModeQuery, envelope.query);
|
|
8118
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
8119
|
+
}
|
|
8008
8120
|
}
|
|
8009
8121
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8010
8122
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -8060,6 +8172,10 @@ var CamundaClient = class {
|
|
|
8060
8172
|
const maybeBody = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobBody, envelope.body);
|
|
8061
8173
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8062
8174
|
}
|
|
8175
|
+
if (envelope.path !== void 0) {
|
|
8176
|
+
const maybePath = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobPath, envelope.path);
|
|
8177
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8178
|
+
}
|
|
8063
8179
|
}
|
|
8064
8180
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8065
8181
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -8116,6 +8232,10 @@ var CamundaClient = class {
|
|
|
8116
8232
|
const maybeBody = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskBody, envelope.body);
|
|
8117
8233
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8118
8234
|
}
|
|
8235
|
+
if (envelope.path !== void 0) {
|
|
8236
|
+
const maybePath = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskPath, envelope.path);
|
|
8237
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8238
|
+
}
|
|
8119
8239
|
}
|
|
8120
8240
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8121
8241
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -8338,6 +8458,10 @@ var CamundaClient = class {
|
|
|
8338
8458
|
const maybeBody = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemBody, envelope.body);
|
|
8339
8459
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8340
8460
|
}
|
|
8461
|
+
if (envelope.path !== void 0) {
|
|
8462
|
+
const maybePath = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemPath, envelope.path);
|
|
8463
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8464
|
+
}
|
|
8341
8465
|
}
|
|
8342
8466
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8343
8467
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -8520,6 +8644,10 @@ var CamundaClient = class {
|
|
|
8520
8644
|
const maybeBody = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentBody, envelope.body);
|
|
8521
8645
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8522
8646
|
}
|
|
8647
|
+
if (envelope.query !== void 0) {
|
|
8648
|
+
const maybeQuery = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentQuery, envelope.query);
|
|
8649
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
8650
|
+
}
|
|
8523
8651
|
}
|
|
8524
8652
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8525
8653
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -8577,6 +8705,14 @@ var CamundaClient = class {
|
|
|
8577
8705
|
const maybeBody = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkBody, envelope.body);
|
|
8578
8706
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8579
8707
|
}
|
|
8708
|
+
if (envelope.path !== void 0) {
|
|
8709
|
+
const maybePath = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkPath, envelope.path);
|
|
8710
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8711
|
+
}
|
|
8712
|
+
if (envelope.query !== void 0) {
|
|
8713
|
+
const maybeQuery = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkQuery, envelope.query);
|
|
8714
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
8715
|
+
}
|
|
8580
8716
|
}
|
|
8581
8717
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8582
8718
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -8634,6 +8770,10 @@ var CamundaClient = class {
|
|
|
8634
8770
|
const maybeBody = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsBody, envelope.body);
|
|
8635
8771
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8636
8772
|
}
|
|
8773
|
+
if (envelope.query !== void 0) {
|
|
8774
|
+
const maybeQuery = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsQuery, envelope.query);
|
|
8775
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
8776
|
+
}
|
|
8637
8777
|
}
|
|
8638
8778
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8639
8779
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -8690,6 +8830,10 @@ var CamundaClient = class {
|
|
|
8690
8830
|
const maybeBody = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesBody, envelope.body);
|
|
8691
8831
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
8692
8832
|
}
|
|
8833
|
+
if (envelope.path !== void 0) {
|
|
8834
|
+
const maybePath = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesPath, envelope.path);
|
|
8835
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
8836
|
+
}
|
|
8693
8837
|
}
|
|
8694
8838
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
8695
8839
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9128,6 +9272,10 @@ var CamundaClient = class {
|
|
|
9128
9272
|
const maybeBody = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariableBody, envelope.body);
|
|
9129
9273
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
9130
9274
|
}
|
|
9275
|
+
if (envelope.path !== void 0) {
|
|
9276
|
+
const maybePath = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariablePath, envelope.path);
|
|
9277
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9278
|
+
}
|
|
9131
9279
|
}
|
|
9132
9280
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9133
9281
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9233,7 +9381,10 @@ var CamundaClient = class {
|
|
|
9233
9381
|
envelope.path = { authorizationKey };
|
|
9234
9382
|
if (this._validation.settings.req !== "none") {
|
|
9235
9383
|
const _schemas = await this._loadSchemas();
|
|
9236
|
-
|
|
9384
|
+
if (envelope.path !== void 0) {
|
|
9385
|
+
const maybePath = await this._validation.gateRequest("deleteAuthorization", _schemas.zDeleteAuthorizationPath, envelope.path);
|
|
9386
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9387
|
+
}
|
|
9237
9388
|
}
|
|
9238
9389
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9239
9390
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9289,6 +9440,10 @@ var CamundaClient = class {
|
|
|
9289
9440
|
const maybeBody = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstanceBody, envelope.body);
|
|
9290
9441
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
9291
9442
|
}
|
|
9443
|
+
if (envelope.path !== void 0) {
|
|
9444
|
+
const maybePath = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstancePath, envelope.path);
|
|
9445
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9446
|
+
}
|
|
9292
9447
|
}
|
|
9293
9448
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9294
9449
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9395,7 +9550,14 @@ var CamundaClient = class {
|
|
|
9395
9550
|
envelope.query = { storeId };
|
|
9396
9551
|
if (this._validation.settings.req !== "none") {
|
|
9397
9552
|
const _schemas = await this._loadSchemas();
|
|
9398
|
-
|
|
9553
|
+
if (envelope.path !== void 0) {
|
|
9554
|
+
const maybePath = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentPath, envelope.path);
|
|
9555
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9556
|
+
}
|
|
9557
|
+
if (envelope.query !== void 0) {
|
|
9558
|
+
const maybeQuery = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentQuery, envelope.query);
|
|
9559
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
9560
|
+
}
|
|
9399
9561
|
}
|
|
9400
9562
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9401
9563
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9447,7 +9609,10 @@ var CamundaClient = class {
|
|
|
9447
9609
|
envelope.path = { name };
|
|
9448
9610
|
if (this._validation.settings.req !== "none") {
|
|
9449
9611
|
const _schemas = await this._loadSchemas();
|
|
9450
|
-
|
|
9612
|
+
if (envelope.path !== void 0) {
|
|
9613
|
+
const maybePath = await this._validation.gateRequest("deleteGlobalClusterVariable", _schemas.zDeleteGlobalClusterVariablePath, envelope.path);
|
|
9614
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9615
|
+
}
|
|
9451
9616
|
}
|
|
9452
9617
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9453
9618
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9498,7 +9663,10 @@ var CamundaClient = class {
|
|
|
9498
9663
|
envelope.path = { id };
|
|
9499
9664
|
if (this._validation.settings.req !== "none") {
|
|
9500
9665
|
const _schemas = await this._loadSchemas();
|
|
9501
|
-
|
|
9666
|
+
if (envelope.path !== void 0) {
|
|
9667
|
+
const maybePath = await this._validation.gateRequest("deleteGlobalTaskListener", _schemas.zDeleteGlobalTaskListenerPath, envelope.path);
|
|
9668
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9669
|
+
}
|
|
9502
9670
|
}
|
|
9503
9671
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9504
9672
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9549,7 +9717,10 @@ var CamundaClient = class {
|
|
|
9549
9717
|
envelope.path = { groupId };
|
|
9550
9718
|
if (this._validation.settings.req !== "none") {
|
|
9551
9719
|
const _schemas = await this._loadSchemas();
|
|
9552
|
-
|
|
9720
|
+
if (envelope.path !== void 0) {
|
|
9721
|
+
const maybePath = await this._validation.gateRequest("deleteGroup", _schemas.zDeleteGroupPath, envelope.path);
|
|
9722
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9723
|
+
}
|
|
9553
9724
|
}
|
|
9554
9725
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9555
9726
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9600,7 +9771,10 @@ var CamundaClient = class {
|
|
|
9600
9771
|
envelope.path = { mappingRuleId };
|
|
9601
9772
|
if (this._validation.settings.req !== "none") {
|
|
9602
9773
|
const _schemas = await this._loadSchemas();
|
|
9603
|
-
|
|
9774
|
+
if (envelope.path !== void 0) {
|
|
9775
|
+
const maybePath = await this._validation.gateRequest("deleteMappingRule", _schemas.zDeleteMappingRulePath, envelope.path);
|
|
9776
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9777
|
+
}
|
|
9604
9778
|
}
|
|
9605
9779
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9606
9780
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9656,6 +9830,10 @@ var CamundaClient = class {
|
|
|
9656
9830
|
const maybeBody = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstanceBody, envelope.body);
|
|
9657
9831
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
9658
9832
|
}
|
|
9833
|
+
if (envelope.path !== void 0) {
|
|
9834
|
+
const maybePath = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstancePath, envelope.path);
|
|
9835
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9836
|
+
}
|
|
9659
9837
|
}
|
|
9660
9838
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9661
9839
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9766,6 +9944,10 @@ var CamundaClient = class {
|
|
|
9766
9944
|
const maybeBody = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourceBody, envelope.body);
|
|
9767
9945
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
9768
9946
|
}
|
|
9947
|
+
if (envelope.path !== void 0) {
|
|
9948
|
+
const maybePath = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourcePath, envelope.path);
|
|
9949
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
9950
|
+
}
|
|
9769
9951
|
}
|
|
9770
9952
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9771
9953
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9817,7 +9999,10 @@ var CamundaClient = class {
|
|
|
9817
9999
|
envelope.path = { roleId };
|
|
9818
10000
|
if (this._validation.settings.req !== "none") {
|
|
9819
10001
|
const _schemas = await this._loadSchemas();
|
|
9820
|
-
|
|
10002
|
+
if (envelope.path !== void 0) {
|
|
10003
|
+
const maybePath = await this._validation.gateRequest("deleteRole", _schemas.zDeleteRolePath, envelope.path);
|
|
10004
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10005
|
+
}
|
|
9821
10006
|
}
|
|
9822
10007
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9823
10008
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9868,7 +10053,10 @@ var CamundaClient = class {
|
|
|
9868
10053
|
envelope.path = { backupId };
|
|
9869
10054
|
if (this._validation.settings.req !== "none") {
|
|
9870
10055
|
const _schemas = await this._loadSchemas();
|
|
9871
|
-
|
|
10056
|
+
if (envelope.path !== void 0) {
|
|
10057
|
+
const maybePath = await this._validation.gateRequest("deleteRuntimeBackup", _schemas.zDeleteRuntimeBackupPath, envelope.path);
|
|
10058
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10059
|
+
}
|
|
9872
10060
|
}
|
|
9873
10061
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9874
10062
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -9962,7 +10150,10 @@ var CamundaClient = class {
|
|
|
9962
10150
|
envelope.path = { tenantId };
|
|
9963
10151
|
if (this._validation.settings.req !== "none") {
|
|
9964
10152
|
const _schemas = await this._loadSchemas();
|
|
9965
|
-
|
|
10153
|
+
if (envelope.path !== void 0) {
|
|
10154
|
+
const maybePath = await this._validation.gateRequest("deleteTenant", _schemas.zDeleteTenantPath, envelope.path);
|
|
10155
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10156
|
+
}
|
|
9966
10157
|
}
|
|
9967
10158
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
9968
10159
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10013,7 +10204,10 @@ var CamundaClient = class {
|
|
|
10013
10204
|
envelope.path = { tenantId, name };
|
|
10014
10205
|
if (this._validation.settings.req !== "none") {
|
|
10015
10206
|
const _schemas = await this._loadSchemas();
|
|
10016
|
-
|
|
10207
|
+
if (envelope.path !== void 0) {
|
|
10208
|
+
const maybePath = await this._validation.gateRequest("deleteTenantClusterVariable", _schemas.zDeleteTenantClusterVariablePath, envelope.path);
|
|
10209
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10210
|
+
}
|
|
10017
10211
|
}
|
|
10018
10212
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10019
10213
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10064,7 +10258,10 @@ var CamundaClient = class {
|
|
|
10064
10258
|
envelope.path = { username };
|
|
10065
10259
|
if (this._validation.settings.req !== "none") {
|
|
10066
10260
|
const _schemas = await this._loadSchemas();
|
|
10067
|
-
|
|
10261
|
+
if (envelope.path !== void 0) {
|
|
10262
|
+
const maybePath = await this._validation.gateRequest("deleteUser", _schemas.zDeleteUserPath, envelope.path);
|
|
10263
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10264
|
+
}
|
|
10068
10265
|
}
|
|
10069
10266
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10070
10267
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10294,6 +10491,10 @@ var CamundaClient = class {
|
|
|
10294
10491
|
const maybeBody = await this._validation.gateRequest("failJob", _schemas.zFailJobBody, envelope.body);
|
|
10295
10492
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
10296
10493
|
}
|
|
10494
|
+
if (envelope.path !== void 0) {
|
|
10495
|
+
const maybePath = await this._validation.gateRequest("failJob", _schemas.zFailJobPath, envelope.path);
|
|
10496
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10497
|
+
}
|
|
10297
10498
|
}
|
|
10298
10499
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10299
10500
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10347,7 +10548,10 @@ var CamundaClient = class {
|
|
|
10347
10548
|
envelope.path = { agentInstanceKey };
|
|
10348
10549
|
if (this._validation.settings.req !== "none") {
|
|
10349
10550
|
const _schemas = await this._loadSchemas();
|
|
10350
|
-
|
|
10551
|
+
if (envelope.path !== void 0) {
|
|
10552
|
+
const maybePath = await this._validation.gateRequest("getAgentInstance", _schemas.zGetAgentInstancePath, envelope.path);
|
|
10553
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10554
|
+
}
|
|
10351
10555
|
}
|
|
10352
10556
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10353
10557
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10402,7 +10606,10 @@ var CamundaClient = class {
|
|
|
10402
10606
|
envelope.path = { auditLogKey };
|
|
10403
10607
|
if (this._validation.settings.req !== "none") {
|
|
10404
10608
|
const _schemas = await this._loadSchemas();
|
|
10405
|
-
|
|
10609
|
+
if (envelope.path !== void 0) {
|
|
10610
|
+
const maybePath = await this._validation.gateRequest("getAuditLog", _schemas.zGetAuditLogPath, envelope.path);
|
|
10611
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10612
|
+
}
|
|
10406
10613
|
}
|
|
10407
10614
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10408
10615
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10500,7 +10707,10 @@ var CamundaClient = class {
|
|
|
10500
10707
|
envelope.path = { authorizationKey };
|
|
10501
10708
|
if (this._validation.settings.req !== "none") {
|
|
10502
10709
|
const _schemas = await this._loadSchemas();
|
|
10503
|
-
|
|
10710
|
+
if (envelope.path !== void 0) {
|
|
10711
|
+
const maybePath = await this._validation.gateRequest("getAuthorization", _schemas.zGetAuthorizationPath, envelope.path);
|
|
10712
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10713
|
+
}
|
|
10504
10714
|
}
|
|
10505
10715
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10506
10716
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10555,7 +10765,10 @@ var CamundaClient = class {
|
|
|
10555
10765
|
envelope.path = { batchOperationKey };
|
|
10556
10766
|
if (this._validation.settings.req !== "none") {
|
|
10557
10767
|
const _schemas = await this._loadSchemas();
|
|
10558
|
-
|
|
10768
|
+
if (envelope.path !== void 0) {
|
|
10769
|
+
const maybePath = await this._validation.gateRequest("getBatchOperation", _schemas.zGetBatchOperationPath, envelope.path);
|
|
10770
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10771
|
+
}
|
|
10559
10772
|
}
|
|
10560
10773
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10561
10774
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10653,7 +10866,10 @@ var CamundaClient = class {
|
|
|
10653
10866
|
envelope.path = { decisionDefinitionKey };
|
|
10654
10867
|
if (this._validation.settings.req !== "none") {
|
|
10655
10868
|
const _schemas = await this._loadSchemas();
|
|
10656
|
-
|
|
10869
|
+
if (envelope.path !== void 0) {
|
|
10870
|
+
const maybePath = await this._validation.gateRequest("getDecisionDefinition", _schemas.zGetDecisionDefinitionPath, envelope.path);
|
|
10871
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10872
|
+
}
|
|
10657
10873
|
}
|
|
10658
10874
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10659
10875
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10708,7 +10924,10 @@ var CamundaClient = class {
|
|
|
10708
10924
|
envelope.path = { decisionDefinitionKey };
|
|
10709
10925
|
if (this._validation.settings.req !== "none") {
|
|
10710
10926
|
const _schemas = await this._loadSchemas();
|
|
10711
|
-
|
|
10927
|
+
if (envelope.path !== void 0) {
|
|
10928
|
+
const maybePath = await this._validation.gateRequest("getDecisionDefinitionXML", _schemas.zGetDecisionDefinitionXmlPath, envelope.path);
|
|
10929
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10930
|
+
}
|
|
10712
10931
|
}
|
|
10713
10932
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10714
10933
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10763,7 +10982,10 @@ var CamundaClient = class {
|
|
|
10763
10982
|
envelope.path = { decisionEvaluationInstanceKey };
|
|
10764
10983
|
if (this._validation.settings.req !== "none") {
|
|
10765
10984
|
const _schemas = await this._loadSchemas();
|
|
10766
|
-
|
|
10985
|
+
if (envelope.path !== void 0) {
|
|
10986
|
+
const maybePath = await this._validation.gateRequest("getDecisionInstance", _schemas.zGetDecisionInstancePath, envelope.path);
|
|
10987
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
10988
|
+
}
|
|
10767
10989
|
}
|
|
10768
10990
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10769
10991
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10818,7 +11040,10 @@ var CamundaClient = class {
|
|
|
10818
11040
|
envelope.path = { decisionRequirementsKey };
|
|
10819
11041
|
if (this._validation.settings.req !== "none") {
|
|
10820
11042
|
const _schemas = await this._loadSchemas();
|
|
10821
|
-
|
|
11043
|
+
if (envelope.path !== void 0) {
|
|
11044
|
+
const maybePath = await this._validation.gateRequest("getDecisionRequirements", _schemas.zGetDecisionRequirementsPath, envelope.path);
|
|
11045
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11046
|
+
}
|
|
10822
11047
|
}
|
|
10823
11048
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10824
11049
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10873,7 +11098,10 @@ var CamundaClient = class {
|
|
|
10873
11098
|
envelope.path = { decisionRequirementsKey };
|
|
10874
11099
|
if (this._validation.settings.req !== "none") {
|
|
10875
11100
|
const _schemas = await this._loadSchemas();
|
|
10876
|
-
|
|
11101
|
+
if (envelope.path !== void 0) {
|
|
11102
|
+
const maybePath = await this._validation.gateRequest("getDecisionRequirementsXML", _schemas.zGetDecisionRequirementsXmlPath, envelope.path);
|
|
11103
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11104
|
+
}
|
|
10877
11105
|
}
|
|
10878
11106
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10879
11107
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10927,7 +11155,14 @@ var CamundaClient = class {
|
|
|
10927
11155
|
envelope.query = { storeId, contentHash };
|
|
10928
11156
|
if (this._validation.settings.req !== "none") {
|
|
10929
11157
|
const _schemas = await this._loadSchemas();
|
|
10930
|
-
|
|
11158
|
+
if (envelope.path !== void 0) {
|
|
11159
|
+
const maybePath = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentPath, envelope.path);
|
|
11160
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11161
|
+
}
|
|
11162
|
+
if (envelope.query !== void 0) {
|
|
11163
|
+
const maybeQuery = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentQuery, envelope.query);
|
|
11164
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
11165
|
+
}
|
|
10931
11166
|
}
|
|
10932
11167
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10933
11168
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -10981,7 +11216,10 @@ var CamundaClient = class {
|
|
|
10981
11216
|
envelope.path = { elementInstanceKey };
|
|
10982
11217
|
if (this._validation.settings.req !== "none") {
|
|
10983
11218
|
const _schemas = await this._loadSchemas();
|
|
10984
|
-
|
|
11219
|
+
if (envelope.path !== void 0) {
|
|
11220
|
+
const maybePath = await this._validation.gateRequest("getElementInstance", _schemas.zGetElementInstancePath, envelope.path);
|
|
11221
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11222
|
+
}
|
|
10985
11223
|
}
|
|
10986
11224
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
10987
11225
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11079,7 +11317,10 @@ var CamundaClient = class {
|
|
|
11079
11317
|
envelope.path = { formKey };
|
|
11080
11318
|
if (this._validation.settings.req !== "none") {
|
|
11081
11319
|
const _schemas = await this._loadSchemas();
|
|
11082
|
-
|
|
11320
|
+
if (envelope.path !== void 0) {
|
|
11321
|
+
const maybePath = await this._validation.gateRequest("getFormByKey", _schemas.zGetFormByKeyPath, envelope.path);
|
|
11322
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11323
|
+
}
|
|
11083
11324
|
}
|
|
11084
11325
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11085
11326
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11134,7 +11375,10 @@ var CamundaClient = class {
|
|
|
11134
11375
|
envelope.path = { name };
|
|
11135
11376
|
if (this._validation.settings.req !== "none") {
|
|
11136
11377
|
const _schemas = await this._loadSchemas();
|
|
11137
|
-
|
|
11378
|
+
if (envelope.path !== void 0) {
|
|
11379
|
+
const maybePath = await this._validation.gateRequest("getGlobalClusterVariable", _schemas.zGetGlobalClusterVariablePath, envelope.path);
|
|
11380
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11381
|
+
}
|
|
11138
11382
|
}
|
|
11139
11383
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11140
11384
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11189,7 +11433,10 @@ var CamundaClient = class {
|
|
|
11189
11433
|
envelope.query = { from, to, jobType };
|
|
11190
11434
|
if (this._validation.settings.req !== "none") {
|
|
11191
11435
|
const _schemas = await this._loadSchemas();
|
|
11192
|
-
|
|
11436
|
+
if (envelope.query !== void 0) {
|
|
11437
|
+
const maybeQuery = await this._validation.gateRequest("getGlobalJobStatistics", _schemas.zGetGlobalJobStatisticsQuery, envelope.query);
|
|
11438
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
11439
|
+
}
|
|
11193
11440
|
}
|
|
11194
11441
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11195
11442
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -11244,7 +11491,10 @@ var CamundaClient = class {
|
|
|
11244
11491
|
envelope.path = { id };
|
|
11245
11492
|
if (this._validation.settings.req !== "none") {
|
|
11246
11493
|
const _schemas = await this._loadSchemas();
|
|
11247
|
-
|
|
11494
|
+
if (envelope.path !== void 0) {
|
|
11495
|
+
const maybePath = await this._validation.gateRequest("getGlobalTaskListener", _schemas.zGetGlobalTaskListenerPath, envelope.path);
|
|
11496
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11497
|
+
}
|
|
11248
11498
|
}
|
|
11249
11499
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11250
11500
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11299,7 +11549,10 @@ var CamundaClient = class {
|
|
|
11299
11549
|
envelope.path = { groupId };
|
|
11300
11550
|
if (this._validation.settings.req !== "none") {
|
|
11301
11551
|
const _schemas = await this._loadSchemas();
|
|
11302
|
-
|
|
11552
|
+
if (envelope.path !== void 0) {
|
|
11553
|
+
const maybePath = await this._validation.gateRequest("getGroup", _schemas.zGetGroupPath, envelope.path);
|
|
11554
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11555
|
+
}
|
|
11303
11556
|
}
|
|
11304
11557
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11305
11558
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11354,7 +11607,10 @@ var CamundaClient = class {
|
|
|
11354
11607
|
envelope.path = { incidentKey };
|
|
11355
11608
|
if (this._validation.settings.req !== "none") {
|
|
11356
11609
|
const _schemas = await this._loadSchemas();
|
|
11357
|
-
|
|
11610
|
+
if (envelope.path !== void 0) {
|
|
11611
|
+
const maybePath = await this._validation.gateRequest("getIncident", _schemas.zGetIncidentPath, envelope.path);
|
|
11612
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11613
|
+
}
|
|
11358
11614
|
}
|
|
11359
11615
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11360
11616
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11684,7 +11940,10 @@ var CamundaClient = class {
|
|
|
11684
11940
|
envelope.path = { mappingRuleId };
|
|
11685
11941
|
if (this._validation.settings.req !== "none") {
|
|
11686
11942
|
const _schemas = await this._loadSchemas();
|
|
11687
|
-
|
|
11943
|
+
if (envelope.path !== void 0) {
|
|
11944
|
+
const maybePath = await this._validation.gateRequest("getMappingRule", _schemas.zGetMappingRulePath, envelope.path);
|
|
11945
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
11946
|
+
}
|
|
11688
11947
|
}
|
|
11689
11948
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11690
11949
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11739,7 +11998,10 @@ var CamundaClient = class {
|
|
|
11739
11998
|
envelope.path = { processDefinitionKey };
|
|
11740
11999
|
if (this._validation.settings.req !== "none") {
|
|
11741
12000
|
const _schemas = await this._loadSchemas();
|
|
11742
|
-
|
|
12001
|
+
if (envelope.path !== void 0) {
|
|
12002
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinition", _schemas.zGetProcessDefinitionPath, envelope.path);
|
|
12003
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12004
|
+
}
|
|
11743
12005
|
}
|
|
11744
12006
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11745
12007
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -11973,6 +12235,10 @@ var CamundaClient = class {
|
|
|
11973
12235
|
const maybeBody = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsBody, envelope.body);
|
|
11974
12236
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
11975
12237
|
}
|
|
12238
|
+
if (envelope.path !== void 0) {
|
|
12239
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsPath, envelope.path);
|
|
12240
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12241
|
+
}
|
|
11976
12242
|
}
|
|
11977
12243
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
11978
12244
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12028,7 +12294,10 @@ var CamundaClient = class {
|
|
|
12028
12294
|
envelope.path = { processDefinitionKey };
|
|
12029
12295
|
if (this._validation.settings.req !== "none") {
|
|
12030
12296
|
const _schemas = await this._loadSchemas();
|
|
12031
|
-
|
|
12297
|
+
if (envelope.path !== void 0) {
|
|
12298
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinitionXML", _schemas.zGetProcessDefinitionXmlPath, envelope.path);
|
|
12299
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12300
|
+
}
|
|
12032
12301
|
}
|
|
12033
12302
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12034
12303
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12083,7 +12352,10 @@ var CamundaClient = class {
|
|
|
12083
12352
|
envelope.path = { processInstanceKey };
|
|
12084
12353
|
if (this._validation.settings.req !== "none") {
|
|
12085
12354
|
const _schemas = await this._loadSchemas();
|
|
12086
|
-
|
|
12355
|
+
if (envelope.path !== void 0) {
|
|
12356
|
+
const maybePath = await this._validation.gateRequest("getProcessInstance", _schemas.zGetProcessInstancePath, envelope.path);
|
|
12357
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12358
|
+
}
|
|
12087
12359
|
}
|
|
12088
12360
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12089
12361
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12138,7 +12410,10 @@ var CamundaClient = class {
|
|
|
12138
12410
|
envelope.path = { processInstanceKey };
|
|
12139
12411
|
if (this._validation.settings.req !== "none") {
|
|
12140
12412
|
const _schemas = await this._loadSchemas();
|
|
12141
|
-
|
|
12413
|
+
if (envelope.path !== void 0) {
|
|
12414
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceCallHierarchy", _schemas.zGetProcessInstanceCallHierarchyPath, envelope.path);
|
|
12415
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12416
|
+
}
|
|
12142
12417
|
}
|
|
12143
12418
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12144
12419
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12193,7 +12468,10 @@ var CamundaClient = class {
|
|
|
12193
12468
|
envelope.path = { processInstanceKey };
|
|
12194
12469
|
if (this._validation.settings.req !== "none") {
|
|
12195
12470
|
const _schemas = await this._loadSchemas();
|
|
12196
|
-
|
|
12471
|
+
if (envelope.path !== void 0) {
|
|
12472
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceSequenceFlows", _schemas.zGetProcessInstanceSequenceFlowsPath, envelope.path);
|
|
12473
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12474
|
+
}
|
|
12197
12475
|
}
|
|
12198
12476
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12199
12477
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12248,7 +12526,10 @@ var CamundaClient = class {
|
|
|
12248
12526
|
envelope.path = { processInstanceKey };
|
|
12249
12527
|
if (this._validation.settings.req !== "none") {
|
|
12250
12528
|
const _schemas = await this._loadSchemas();
|
|
12251
|
-
|
|
12529
|
+
if (envelope.path !== void 0) {
|
|
12530
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceStatistics", _schemas.zGetProcessInstanceStatisticsPath, envelope.path);
|
|
12531
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12532
|
+
}
|
|
12252
12533
|
}
|
|
12253
12534
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12254
12535
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12419,7 +12700,10 @@ var CamundaClient = class {
|
|
|
12419
12700
|
envelope.path = { processInstanceKey };
|
|
12420
12701
|
if (this._validation.settings.req !== "none") {
|
|
12421
12702
|
const _schemas = await this._loadSchemas();
|
|
12422
|
-
|
|
12703
|
+
if (envelope.path !== void 0) {
|
|
12704
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", _schemas.zGetProcessInstanceWaitStateStatisticsPath, envelope.path);
|
|
12705
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12706
|
+
}
|
|
12423
12707
|
}
|
|
12424
12708
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12425
12709
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12474,7 +12758,10 @@ var CamundaClient = class {
|
|
|
12474
12758
|
envelope.path = { resourceKey };
|
|
12475
12759
|
if (this._validation.settings.req !== "none") {
|
|
12476
12760
|
const _schemas = await this._loadSchemas();
|
|
12477
|
-
|
|
12761
|
+
if (envelope.path !== void 0) {
|
|
12762
|
+
const maybePath = await this._validation.gateRequest("getResource", _schemas.zGetResourcePath, envelope.path);
|
|
12763
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12764
|
+
}
|
|
12478
12765
|
}
|
|
12479
12766
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12480
12767
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12529,7 +12816,10 @@ var CamundaClient = class {
|
|
|
12529
12816
|
envelope.path = { resourceKey };
|
|
12530
12817
|
if (this._validation.settings.req !== "none") {
|
|
12531
12818
|
const _schemas = await this._loadSchemas();
|
|
12532
|
-
|
|
12819
|
+
if (envelope.path !== void 0) {
|
|
12820
|
+
const maybePath = await this._validation.gateRequest("getResourceContent", _schemas.zGetResourceContentPath, envelope.path);
|
|
12821
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12822
|
+
}
|
|
12533
12823
|
}
|
|
12534
12824
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12535
12825
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12584,7 +12874,10 @@ var CamundaClient = class {
|
|
|
12584
12874
|
envelope.path = { resourceKey };
|
|
12585
12875
|
if (this._validation.settings.req !== "none") {
|
|
12586
12876
|
const _schemas = await this._loadSchemas();
|
|
12587
|
-
|
|
12877
|
+
if (envelope.path !== void 0) {
|
|
12878
|
+
const maybePath = await this._validation.gateRequest("getResourceContentBinary", _schemas.zGetResourceContentBinaryPath, envelope.path);
|
|
12879
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12880
|
+
}
|
|
12588
12881
|
}
|
|
12589
12882
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12590
12883
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12682,7 +12975,10 @@ var CamundaClient = class {
|
|
|
12682
12975
|
envelope.path = { roleId };
|
|
12683
12976
|
if (this._validation.settings.req !== "none") {
|
|
12684
12977
|
const _schemas = await this._loadSchemas();
|
|
12685
|
-
|
|
12978
|
+
if (envelope.path !== void 0) {
|
|
12979
|
+
const maybePath = await this._validation.gateRequest("getRole", _schemas.zGetRolePath, envelope.path);
|
|
12980
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
12981
|
+
}
|
|
12686
12982
|
}
|
|
12687
12983
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12688
12984
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12735,7 +13031,10 @@ var CamundaClient = class {
|
|
|
12735
13031
|
envelope.path = { backupId };
|
|
12736
13032
|
if (this._validation.settings.req !== "none") {
|
|
12737
13033
|
const _schemas = await this._loadSchemas();
|
|
12738
|
-
|
|
13034
|
+
if (envelope.path !== void 0) {
|
|
13035
|
+
const maybePath = await this._validation.gateRequest("getRuntimeBackup", _schemas.zGetRuntimeBackupPath, envelope.path);
|
|
13036
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13037
|
+
}
|
|
12739
13038
|
}
|
|
12740
13039
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12741
13040
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12831,7 +13130,10 @@ var CamundaClient = class {
|
|
|
12831
13130
|
envelope.path = { processDefinitionKey };
|
|
12832
13131
|
if (this._validation.settings.req !== "none") {
|
|
12833
13132
|
const _schemas = await this._loadSchemas();
|
|
12834
|
-
|
|
13133
|
+
if (envelope.path !== void 0) {
|
|
13134
|
+
const maybePath = await this._validation.gateRequest("getStartProcessForm", _schemas.zGetStartProcessFormPath, envelope.path);
|
|
13135
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13136
|
+
}
|
|
12835
13137
|
}
|
|
12836
13138
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12837
13139
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -12972,7 +13274,10 @@ var CamundaClient = class {
|
|
|
12972
13274
|
envelope.path = { tenantId };
|
|
12973
13275
|
if (this._validation.settings.req !== "none") {
|
|
12974
13276
|
const _schemas = await this._loadSchemas();
|
|
12975
|
-
|
|
13277
|
+
if (envelope.path !== void 0) {
|
|
13278
|
+
const maybePath = await this._validation.gateRequest("getTenant", _schemas.zGetTenantPath, envelope.path);
|
|
13279
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13280
|
+
}
|
|
12976
13281
|
}
|
|
12977
13282
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
12978
13283
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13027,7 +13332,10 @@ var CamundaClient = class {
|
|
|
13027
13332
|
envelope.path = { tenantId, name };
|
|
13028
13333
|
if (this._validation.settings.req !== "none") {
|
|
13029
13334
|
const _schemas = await this._loadSchemas();
|
|
13030
|
-
|
|
13335
|
+
if (envelope.path !== void 0) {
|
|
13336
|
+
const maybePath = await this._validation.gateRequest("getTenantClusterVariable", _schemas.zGetTenantClusterVariablePath, envelope.path);
|
|
13337
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13338
|
+
}
|
|
13031
13339
|
}
|
|
13032
13340
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13033
13341
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13125,7 +13433,10 @@ var CamundaClient = class {
|
|
|
13125
13433
|
envelope.query = { startTime, endTime, tenantId, withTenants };
|
|
13126
13434
|
if (this._validation.settings.req !== "none") {
|
|
13127
13435
|
const _schemas = await this._loadSchemas();
|
|
13128
|
-
|
|
13436
|
+
if (envelope.query !== void 0) {
|
|
13437
|
+
const maybeQuery = await this._validation.gateRequest("getUsageMetrics", _schemas.zGetUsageMetricsQuery, envelope.query);
|
|
13438
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
13439
|
+
}
|
|
13129
13440
|
}
|
|
13130
13441
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13131
13442
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -13180,7 +13491,10 @@ var CamundaClient = class {
|
|
|
13180
13491
|
envelope.path = { username };
|
|
13181
13492
|
if (this._validation.settings.req !== "none") {
|
|
13182
13493
|
const _schemas = await this._loadSchemas();
|
|
13183
|
-
|
|
13494
|
+
if (envelope.path !== void 0) {
|
|
13495
|
+
const maybePath = await this._validation.gateRequest("getUser", _schemas.zGetUserPath, envelope.path);
|
|
13496
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13497
|
+
}
|
|
13184
13498
|
}
|
|
13185
13499
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13186
13500
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13235,7 +13549,10 @@ var CamundaClient = class {
|
|
|
13235
13549
|
envelope.path = { userTaskKey };
|
|
13236
13550
|
if (this._validation.settings.req !== "none") {
|
|
13237
13551
|
const _schemas = await this._loadSchemas();
|
|
13238
|
-
|
|
13552
|
+
if (envelope.path !== void 0) {
|
|
13553
|
+
const maybePath = await this._validation.gateRequest("getUserTask", _schemas.zGetUserTaskPath, envelope.path);
|
|
13554
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13555
|
+
}
|
|
13239
13556
|
}
|
|
13240
13557
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13241
13558
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13290,7 +13607,10 @@ var CamundaClient = class {
|
|
|
13290
13607
|
envelope.path = { userTaskKey };
|
|
13291
13608
|
if (this._validation.settings.req !== "none") {
|
|
13292
13609
|
const _schemas = await this._loadSchemas();
|
|
13293
|
-
|
|
13610
|
+
if (envelope.path !== void 0) {
|
|
13611
|
+
const maybePath = await this._validation.gateRequest("getUserTaskForm", _schemas.zGetUserTaskFormPath, envelope.path);
|
|
13612
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13613
|
+
}
|
|
13294
13614
|
}
|
|
13295
13615
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13296
13616
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13345,7 +13665,10 @@ var CamundaClient = class {
|
|
|
13345
13665
|
envelope.path = { variableKey };
|
|
13346
13666
|
if (this._validation.settings.req !== "none") {
|
|
13347
13667
|
const _schemas = await this._loadSchemas();
|
|
13348
|
-
|
|
13668
|
+
if (envelope.path !== void 0) {
|
|
13669
|
+
const maybePath = await this._validation.gateRequest("getVariable", _schemas.zGetVariablePath, envelope.path);
|
|
13670
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13671
|
+
}
|
|
13349
13672
|
}
|
|
13350
13673
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13351
13674
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13398,7 +13721,10 @@ var CamundaClient = class {
|
|
|
13398
13721
|
envelope.query = { prefix };
|
|
13399
13722
|
if (this._validation.settings.req !== "none") {
|
|
13400
13723
|
const _schemas = await this._loadSchemas();
|
|
13401
|
-
|
|
13724
|
+
if (envelope.query !== void 0) {
|
|
13725
|
+
const maybeQuery = await this._validation.gateRequest("listRuntimeBackups", _schemas.zListRuntimeBackupsQuery, envelope.query);
|
|
13726
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
13727
|
+
}
|
|
13402
13728
|
}
|
|
13403
13729
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13404
13730
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -13508,6 +13834,10 @@ var CamundaClient = class {
|
|
|
13508
13834
|
const maybeBody = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstanceBody, envelope.body);
|
|
13509
13835
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
13510
13836
|
}
|
|
13837
|
+
if (envelope.path !== void 0) {
|
|
13838
|
+
const maybePath = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstancePath, envelope.path);
|
|
13839
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13840
|
+
}
|
|
13511
13841
|
}
|
|
13512
13842
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13513
13843
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13618,6 +13948,10 @@ var CamundaClient = class {
|
|
|
13618
13948
|
const maybeBody = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstanceBody, envelope.body);
|
|
13619
13949
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
13620
13950
|
}
|
|
13951
|
+
if (envelope.path !== void 0) {
|
|
13952
|
+
const maybePath = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstancePath, envelope.path);
|
|
13953
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
13954
|
+
}
|
|
13621
13955
|
}
|
|
13622
13956
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13623
13957
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -13723,7 +14057,10 @@ var CamundaClient = class {
|
|
|
13723
14057
|
envelope.query = { soft };
|
|
13724
14058
|
if (this._validation.settings.req !== "none") {
|
|
13725
14059
|
const _schemas = await this._loadSchemas();
|
|
13726
|
-
|
|
14060
|
+
if (envelope.query !== void 0) {
|
|
14061
|
+
const maybeQuery = await this._validation.gateRequest("pauseExporting", _schemas.zPauseExportingQuery, envelope.query);
|
|
14062
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
14063
|
+
}
|
|
13727
14064
|
}
|
|
13728
14065
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13729
14066
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -13934,6 +14271,10 @@ var CamundaClient = class {
|
|
|
13934
14271
|
const maybeBody = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentBody, envelope.body);
|
|
13935
14272
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
13936
14273
|
}
|
|
14274
|
+
if (envelope.path !== void 0) {
|
|
14275
|
+
const maybePath = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentPath, envelope.path);
|
|
14276
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
14277
|
+
}
|
|
13937
14278
|
}
|
|
13938
14279
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
13939
14280
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14039,7 +14380,10 @@ var CamundaClient = class {
|
|
|
14039
14380
|
envelope.path = { processInstanceKey };
|
|
14040
14381
|
if (this._validation.settings.req !== "none") {
|
|
14041
14382
|
const _schemas = await this._loadSchemas();
|
|
14042
|
-
|
|
14383
|
+
if (envelope.path !== void 0) {
|
|
14384
|
+
const maybePath = await this._validation.gateRequest("resolveProcessInstanceIncidents", _schemas.zResolveProcessInstanceIncidentsPath, envelope.path);
|
|
14385
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
14386
|
+
}
|
|
14043
14387
|
}
|
|
14044
14388
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14045
14389
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14203,6 +14547,10 @@ var CamundaClient = class {
|
|
|
14203
14547
|
const maybeBody = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationBody, envelope.body);
|
|
14204
14548
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14205
14549
|
}
|
|
14550
|
+
if (envelope.path !== void 0) {
|
|
14551
|
+
const maybePath = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationPath, envelope.path);
|
|
14552
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
14553
|
+
}
|
|
14206
14554
|
}
|
|
14207
14555
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14208
14556
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14302,6 +14650,10 @@ var CamundaClient = class {
|
|
|
14302
14650
|
const maybeBody = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstanceBody, envelope.body);
|
|
14303
14651
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14304
14652
|
}
|
|
14653
|
+
if (envelope.path !== void 0) {
|
|
14654
|
+
const maybePath = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstancePath, envelope.path);
|
|
14655
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
14656
|
+
}
|
|
14305
14657
|
}
|
|
14306
14658
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14307
14659
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14414,6 +14766,10 @@ var CamundaClient = class {
|
|
|
14414
14766
|
const maybeBody = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryBody, envelope.body);
|
|
14415
14767
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14416
14768
|
}
|
|
14769
|
+
if (envelope.path !== void 0) {
|
|
14770
|
+
const maybePath = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryPath, envelope.path);
|
|
14771
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
14772
|
+
}
|
|
14417
14773
|
}
|
|
14418
14774
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14419
14775
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14764,6 +15120,10 @@ var CamundaClient = class {
|
|
|
14764
15120
|
const maybeBody = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupBody, envelope.body);
|
|
14765
15121
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14766
15122
|
}
|
|
15123
|
+
if (envelope.path !== void 0) {
|
|
15124
|
+
const maybePath = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupPath, envelope.path);
|
|
15125
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15126
|
+
}
|
|
14767
15127
|
}
|
|
14768
15128
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14769
15129
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14824,6 +15184,10 @@ var CamundaClient = class {
|
|
|
14824
15184
|
const maybeBody = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRoleBody, envelope.body);
|
|
14825
15185
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14826
15186
|
}
|
|
15187
|
+
if (envelope.path !== void 0) {
|
|
15188
|
+
const maybePath = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRolePath, envelope.path);
|
|
15189
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15190
|
+
}
|
|
14827
15191
|
}
|
|
14828
15192
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14829
15193
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14884,6 +15248,10 @@ var CamundaClient = class {
|
|
|
14884
15248
|
const maybeBody = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantBody, envelope.body);
|
|
14885
15249
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14886
15250
|
}
|
|
15251
|
+
if (envelope.path !== void 0) {
|
|
15252
|
+
const maybePath = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantPath, envelope.path);
|
|
15253
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15254
|
+
}
|
|
14887
15255
|
}
|
|
14888
15256
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14889
15257
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -14944,6 +15312,10 @@ var CamundaClient = class {
|
|
|
14944
15312
|
const maybeBody = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesBody, envelope.body);
|
|
14945
15313
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
14946
15314
|
}
|
|
15315
|
+
if (envelope.query !== void 0) {
|
|
15316
|
+
const maybeQuery = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesQuery, envelope.query);
|
|
15317
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
15318
|
+
}
|
|
14947
15319
|
}
|
|
14948
15320
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
14949
15321
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -15236,6 +15608,10 @@ var CamundaClient = class {
|
|
|
15236
15608
|
const maybeBody = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsBody, envelope.body);
|
|
15237
15609
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15238
15610
|
}
|
|
15611
|
+
if (envelope.path !== void 0) {
|
|
15612
|
+
const maybePath = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsPath, envelope.path);
|
|
15613
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15614
|
+
}
|
|
15239
15615
|
}
|
|
15240
15616
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15241
15617
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15470,6 +15846,10 @@ var CamundaClient = class {
|
|
|
15470
15846
|
const maybeBody = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantBody, envelope.body);
|
|
15471
15847
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15472
15848
|
}
|
|
15849
|
+
if (envelope.path !== void 0) {
|
|
15850
|
+
const maybePath = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantPath, envelope.path);
|
|
15851
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15852
|
+
}
|
|
15473
15853
|
}
|
|
15474
15854
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15475
15855
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15588,6 +15968,10 @@ var CamundaClient = class {
|
|
|
15588
15968
|
const maybeBody = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRoleBody, envelope.body);
|
|
15589
15969
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15590
15970
|
}
|
|
15971
|
+
if (envelope.path !== void 0) {
|
|
15972
|
+
const maybePath = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRolePath, envelope.path);
|
|
15973
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15974
|
+
}
|
|
15591
15975
|
}
|
|
15592
15976
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15593
15977
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15822,6 +16206,10 @@ var CamundaClient = class {
|
|
|
15822
16206
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupBody, envelope.body);
|
|
15823
16207
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15824
16208
|
}
|
|
16209
|
+
if (envelope.path !== void 0) {
|
|
16210
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupPath, envelope.path);
|
|
16211
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16212
|
+
}
|
|
15825
16213
|
}
|
|
15826
16214
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15827
16215
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15882,6 +16270,10 @@ var CamundaClient = class {
|
|
|
15882
16270
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRoleBody, envelope.body);
|
|
15883
16271
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15884
16272
|
}
|
|
16273
|
+
if (envelope.path !== void 0) {
|
|
16274
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRolePath, envelope.path);
|
|
16275
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16276
|
+
}
|
|
15885
16277
|
}
|
|
15886
16278
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15887
16279
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15942,6 +16334,10 @@ var CamundaClient = class {
|
|
|
15942
16334
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantBody, envelope.body);
|
|
15943
16335
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15944
16336
|
}
|
|
16337
|
+
if (envelope.path !== void 0) {
|
|
16338
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantPath, envelope.path);
|
|
16339
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16340
|
+
}
|
|
15945
16341
|
}
|
|
15946
16342
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15947
16343
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16118,6 +16514,10 @@ var CamundaClient = class {
|
|
|
16118
16514
|
const maybeBody = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesBody, envelope.body);
|
|
16119
16515
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16120
16516
|
}
|
|
16517
|
+
if (envelope.path !== void 0) {
|
|
16518
|
+
const maybePath = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesPath, envelope.path);
|
|
16519
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16520
|
+
}
|
|
16121
16521
|
}
|
|
16122
16522
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16123
16523
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16178,6 +16578,10 @@ var CamundaClient = class {
|
|
|
16178
16578
|
const maybeBody = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsBody, envelope.body);
|
|
16179
16579
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16180
16580
|
}
|
|
16581
|
+
if (envelope.path !== void 0) {
|
|
16582
|
+
const maybePath = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsPath, envelope.path);
|
|
16583
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16584
|
+
}
|
|
16181
16585
|
}
|
|
16182
16586
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16183
16587
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16412,6 +16816,10 @@ var CamundaClient = class {
|
|
|
16412
16816
|
const maybeBody = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupBody, envelope.body);
|
|
16413
16817
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16414
16818
|
}
|
|
16819
|
+
if (envelope.path !== void 0) {
|
|
16820
|
+
const maybePath = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupPath, envelope.path);
|
|
16821
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16822
|
+
}
|
|
16415
16823
|
}
|
|
16416
16824
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16417
16825
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16472,6 +16880,10 @@ var CamundaClient = class {
|
|
|
16472
16880
|
const maybeBody = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantBody, envelope.body);
|
|
16473
16881
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16474
16882
|
}
|
|
16883
|
+
if (envelope.path !== void 0) {
|
|
16884
|
+
const maybePath = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantPath, envelope.path);
|
|
16885
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16886
|
+
}
|
|
16475
16887
|
}
|
|
16476
16888
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16477
16889
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16648,6 +17060,10 @@ var CamundaClient = class {
|
|
|
16648
17060
|
const maybeBody = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupBody, envelope.body);
|
|
16649
17061
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16650
17062
|
}
|
|
17063
|
+
if (envelope.path !== void 0) {
|
|
17064
|
+
const maybePath = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupPath, envelope.path);
|
|
17065
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17066
|
+
}
|
|
16651
17067
|
}
|
|
16652
17068
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16653
17069
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16708,6 +17124,10 @@ var CamundaClient = class {
|
|
|
16708
17124
|
const maybeBody = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRoleBody, envelope.body);
|
|
16709
17125
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16710
17126
|
}
|
|
17127
|
+
if (envelope.path !== void 0) {
|
|
17128
|
+
const maybePath = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRolePath, envelope.path);
|
|
17129
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17130
|
+
}
|
|
16711
17131
|
}
|
|
16712
17132
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16713
17133
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16768,6 +17188,10 @@ var CamundaClient = class {
|
|
|
16768
17188
|
const maybeBody = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantBody, envelope.body);
|
|
16769
17189
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16770
17190
|
}
|
|
17191
|
+
if (envelope.path !== void 0) {
|
|
17192
|
+
const maybePath = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantPath, envelope.path);
|
|
17193
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17194
|
+
}
|
|
16771
17195
|
}
|
|
16772
17196
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16773
17197
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16828,6 +17252,10 @@ var CamundaClient = class {
|
|
|
16828
17252
|
const maybeBody = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsBody, envelope.body);
|
|
16829
17253
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16830
17254
|
}
|
|
17255
|
+
if (envelope.path !== void 0) {
|
|
17256
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsPath, envelope.path);
|
|
17257
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17258
|
+
}
|
|
16831
17259
|
}
|
|
16832
17260
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16833
17261
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16889,6 +17317,14 @@ var CamundaClient = class {
|
|
|
16889
17317
|
const maybeBody = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesBody, envelope.body);
|
|
16890
17318
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16891
17319
|
}
|
|
17320
|
+
if (envelope.path !== void 0) {
|
|
17321
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesPath, envelope.path);
|
|
17322
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17323
|
+
}
|
|
17324
|
+
if (envelope.query !== void 0) {
|
|
17325
|
+
const maybeQuery = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesQuery, envelope.query);
|
|
17326
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17327
|
+
}
|
|
16892
17328
|
}
|
|
16893
17329
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16894
17330
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17009,6 +17445,14 @@ var CamundaClient = class {
|
|
|
17009
17445
|
const maybeBody = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesBody, envelope.body);
|
|
17010
17446
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17011
17447
|
}
|
|
17448
|
+
if (envelope.path !== void 0) {
|
|
17449
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesPath, envelope.path);
|
|
17450
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17451
|
+
}
|
|
17452
|
+
if (envelope.query !== void 0) {
|
|
17453
|
+
const maybeQuery = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesQuery, envelope.query);
|
|
17454
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17455
|
+
}
|
|
17012
17456
|
}
|
|
17013
17457
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17014
17458
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17070,6 +17514,10 @@ var CamundaClient = class {
|
|
|
17070
17514
|
const maybeBody = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesBody, envelope.body);
|
|
17071
17515
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17072
17516
|
}
|
|
17517
|
+
if (envelope.query !== void 0) {
|
|
17518
|
+
const maybeQuery = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesQuery, envelope.query);
|
|
17519
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17520
|
+
}
|
|
17073
17521
|
}
|
|
17074
17522
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17075
17523
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -17128,6 +17576,10 @@ var CamundaClient = class {
|
|
|
17128
17576
|
const maybeBody = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationBody, envelope.body);
|
|
17129
17577
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17130
17578
|
}
|
|
17579
|
+
if (envelope.path !== void 0) {
|
|
17580
|
+
const maybePath = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationPath, envelope.path);
|
|
17581
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17582
|
+
}
|
|
17131
17583
|
}
|
|
17132
17584
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17133
17585
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17184,6 +17636,10 @@ var CamundaClient = class {
|
|
|
17184
17636
|
const maybeBody = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstanceBody, envelope.body);
|
|
17185
17637
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17186
17638
|
}
|
|
17639
|
+
if (envelope.path !== void 0) {
|
|
17640
|
+
const maybePath = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstancePath, envelope.path);
|
|
17641
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17642
|
+
}
|
|
17187
17643
|
}
|
|
17188
17644
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17189
17645
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17391,6 +17847,10 @@ var CamundaClient = class {
|
|
|
17391
17847
|
const maybeBody = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorBody, envelope.body);
|
|
17392
17848
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17393
17849
|
}
|
|
17850
|
+
if (envelope.path !== void 0) {
|
|
17851
|
+
const maybePath = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorPath, envelope.path);
|
|
17852
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17853
|
+
}
|
|
17394
17854
|
}
|
|
17395
17855
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17396
17856
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17442,7 +17902,10 @@ var CamundaClient = class {
|
|
|
17442
17902
|
envelope.path = { groupId, clientId };
|
|
17443
17903
|
if (this._validation.settings.req !== "none") {
|
|
17444
17904
|
const _schemas = await this._loadSchemas();
|
|
17445
|
-
|
|
17905
|
+
if (envelope.path !== void 0) {
|
|
17906
|
+
const maybePath = await this._validation.gateRequest("unassignClientFromGroup", _schemas.zUnassignClientFromGroupPath, envelope.path);
|
|
17907
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17908
|
+
}
|
|
17446
17909
|
}
|
|
17447
17910
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17448
17911
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17493,7 +17956,10 @@ var CamundaClient = class {
|
|
|
17493
17956
|
envelope.path = { tenantId, clientId };
|
|
17494
17957
|
if (this._validation.settings.req !== "none") {
|
|
17495
17958
|
const _schemas = await this._loadSchemas();
|
|
17496
|
-
|
|
17959
|
+
if (envelope.path !== void 0) {
|
|
17960
|
+
const maybePath = await this._validation.gateRequest("unassignClientFromTenant", _schemas.zUnassignClientFromTenantPath, envelope.path);
|
|
17961
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17962
|
+
}
|
|
17497
17963
|
}
|
|
17498
17964
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17499
17965
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17544,7 +18010,10 @@ var CamundaClient = class {
|
|
|
17544
18010
|
envelope.path = { tenantId, groupId };
|
|
17545
18011
|
if (this._validation.settings.req !== "none") {
|
|
17546
18012
|
const _schemas = await this._loadSchemas();
|
|
17547
|
-
|
|
18013
|
+
if (envelope.path !== void 0) {
|
|
18014
|
+
const maybePath = await this._validation.gateRequest("unassignGroupFromTenant", _schemas.zUnassignGroupFromTenantPath, envelope.path);
|
|
18015
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18016
|
+
}
|
|
17548
18017
|
}
|
|
17549
18018
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17550
18019
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17595,7 +18064,10 @@ var CamundaClient = class {
|
|
|
17595
18064
|
envelope.path = { groupId, mappingRuleId };
|
|
17596
18065
|
if (this._validation.settings.req !== "none") {
|
|
17597
18066
|
const _schemas = await this._loadSchemas();
|
|
17598
|
-
|
|
18067
|
+
if (envelope.path !== void 0) {
|
|
18068
|
+
const maybePath = await this._validation.gateRequest("unassignMappingRuleFromGroup", _schemas.zUnassignMappingRuleFromGroupPath, envelope.path);
|
|
18069
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18070
|
+
}
|
|
17599
18071
|
}
|
|
17600
18072
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17601
18073
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17646,7 +18118,10 @@ var CamundaClient = class {
|
|
|
17646
18118
|
envelope.path = { tenantId, mappingRuleId };
|
|
17647
18119
|
if (this._validation.settings.req !== "none") {
|
|
17648
18120
|
const _schemas = await this._loadSchemas();
|
|
17649
|
-
|
|
18121
|
+
if (envelope.path !== void 0) {
|
|
18122
|
+
const maybePath = await this._validation.gateRequest("unassignMappingRuleFromTenant", _schemas.zUnassignMappingRuleFromTenantPath, envelope.path);
|
|
18123
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18124
|
+
}
|
|
17650
18125
|
}
|
|
17651
18126
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17652
18127
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17697,7 +18172,10 @@ var CamundaClient = class {
|
|
|
17697
18172
|
envelope.path = { roleId, clientId };
|
|
17698
18173
|
if (this._validation.settings.req !== "none") {
|
|
17699
18174
|
const _schemas = await this._loadSchemas();
|
|
17700
|
-
|
|
18175
|
+
if (envelope.path !== void 0) {
|
|
18176
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromClient", _schemas.zUnassignRoleFromClientPath, envelope.path);
|
|
18177
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18178
|
+
}
|
|
17701
18179
|
}
|
|
17702
18180
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17703
18181
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17748,7 +18226,10 @@ var CamundaClient = class {
|
|
|
17748
18226
|
envelope.path = { roleId, groupId };
|
|
17749
18227
|
if (this._validation.settings.req !== "none") {
|
|
17750
18228
|
const _schemas = await this._loadSchemas();
|
|
17751
|
-
|
|
18229
|
+
if (envelope.path !== void 0) {
|
|
18230
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromGroup", _schemas.zUnassignRoleFromGroupPath, envelope.path);
|
|
18231
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18232
|
+
}
|
|
17752
18233
|
}
|
|
17753
18234
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17754
18235
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17799,7 +18280,10 @@ var CamundaClient = class {
|
|
|
17799
18280
|
envelope.path = { roleId, mappingRuleId };
|
|
17800
18281
|
if (this._validation.settings.req !== "none") {
|
|
17801
18282
|
const _schemas = await this._loadSchemas();
|
|
17802
|
-
|
|
18283
|
+
if (envelope.path !== void 0) {
|
|
18284
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromMappingRule", _schemas.zUnassignRoleFromMappingRulePath, envelope.path);
|
|
18285
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18286
|
+
}
|
|
17803
18287
|
}
|
|
17804
18288
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17805
18289
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17850,7 +18334,10 @@ var CamundaClient = class {
|
|
|
17850
18334
|
envelope.path = { tenantId, roleId };
|
|
17851
18335
|
if (this._validation.settings.req !== "none") {
|
|
17852
18336
|
const _schemas = await this._loadSchemas();
|
|
17853
|
-
|
|
18337
|
+
if (envelope.path !== void 0) {
|
|
18338
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromTenant", _schemas.zUnassignRoleFromTenantPath, envelope.path);
|
|
18339
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18340
|
+
}
|
|
17854
18341
|
}
|
|
17855
18342
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17856
18343
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17901,7 +18388,10 @@ var CamundaClient = class {
|
|
|
17901
18388
|
envelope.path = { roleId, username };
|
|
17902
18389
|
if (this._validation.settings.req !== "none") {
|
|
17903
18390
|
const _schemas = await this._loadSchemas();
|
|
17904
|
-
|
|
18391
|
+
if (envelope.path !== void 0) {
|
|
18392
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromUser", _schemas.zUnassignRoleFromUserPath, envelope.path);
|
|
18393
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18394
|
+
}
|
|
17905
18395
|
}
|
|
17906
18396
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17907
18397
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17952,7 +18442,10 @@ var CamundaClient = class {
|
|
|
17952
18442
|
envelope.path = { groupId, username };
|
|
17953
18443
|
if (this._validation.settings.req !== "none") {
|
|
17954
18444
|
const _schemas = await this._loadSchemas();
|
|
17955
|
-
|
|
18445
|
+
if (envelope.path !== void 0) {
|
|
18446
|
+
const maybePath = await this._validation.gateRequest("unassignUserFromGroup", _schemas.zUnassignUserFromGroupPath, envelope.path);
|
|
18447
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18448
|
+
}
|
|
17956
18449
|
}
|
|
17957
18450
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17958
18451
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18003,7 +18496,10 @@ var CamundaClient = class {
|
|
|
18003
18496
|
envelope.path = { tenantId, username };
|
|
18004
18497
|
if (this._validation.settings.req !== "none") {
|
|
18005
18498
|
const _schemas = await this._loadSchemas();
|
|
18006
|
-
|
|
18499
|
+
if (envelope.path !== void 0) {
|
|
18500
|
+
const maybePath = await this._validation.gateRequest("unassignUserFromTenant", _schemas.zUnassignUserFromTenantPath, envelope.path);
|
|
18501
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18502
|
+
}
|
|
18007
18503
|
}
|
|
18008
18504
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18009
18505
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18054,7 +18550,10 @@ var CamundaClient = class {
|
|
|
18054
18550
|
envelope.path = { userTaskKey };
|
|
18055
18551
|
if (this._validation.settings.req !== "none") {
|
|
18056
18552
|
const _schemas = await this._loadSchemas();
|
|
18057
|
-
|
|
18553
|
+
if (envelope.path !== void 0) {
|
|
18554
|
+
const maybePath = await this._validation.gateRequest("unassignUserTask", _schemas.zUnassignUserTaskPath, envelope.path);
|
|
18555
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18556
|
+
}
|
|
18058
18557
|
}
|
|
18059
18558
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18060
18559
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18110,6 +18609,10 @@ var CamundaClient = class {
|
|
|
18110
18609
|
const maybeBody = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstanceBody, envelope.body);
|
|
18111
18610
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18112
18611
|
}
|
|
18612
|
+
if (envelope.path !== void 0) {
|
|
18613
|
+
const maybePath = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstancePath, envelope.path);
|
|
18614
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18615
|
+
}
|
|
18113
18616
|
}
|
|
18114
18617
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18115
18618
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18166,6 +18669,10 @@ var CamundaClient = class {
|
|
|
18166
18669
|
const maybeBody = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationBody, envelope.body);
|
|
18167
18670
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18168
18671
|
}
|
|
18672
|
+
if (envelope.path !== void 0) {
|
|
18673
|
+
const maybePath = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationPath, envelope.path);
|
|
18674
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18675
|
+
}
|
|
18169
18676
|
}
|
|
18170
18677
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18171
18678
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18222,6 +18729,10 @@ var CamundaClient = class {
|
|
|
18222
18729
|
const maybeBody = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariableBody, envelope.body);
|
|
18223
18730
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18224
18731
|
}
|
|
18732
|
+
if (envelope.path !== void 0) {
|
|
18733
|
+
const maybePath = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariablePath, envelope.path);
|
|
18734
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18735
|
+
}
|
|
18225
18736
|
}
|
|
18226
18737
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18227
18738
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18278,6 +18789,10 @@ var CamundaClient = class {
|
|
|
18278
18789
|
const maybeBody = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerBody, envelope.body);
|
|
18279
18790
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18280
18791
|
}
|
|
18792
|
+
if (envelope.path !== void 0) {
|
|
18793
|
+
const maybePath = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerPath, envelope.path);
|
|
18794
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18795
|
+
}
|
|
18281
18796
|
}
|
|
18282
18797
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18283
18798
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18334,6 +18849,10 @@ var CamundaClient = class {
|
|
|
18334
18849
|
const maybeBody = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupBody, envelope.body);
|
|
18335
18850
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18336
18851
|
}
|
|
18852
|
+
if (envelope.path !== void 0) {
|
|
18853
|
+
const maybePath = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupPath, envelope.path);
|
|
18854
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18855
|
+
}
|
|
18337
18856
|
}
|
|
18338
18857
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18339
18858
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18390,6 +18909,10 @@ var CamundaClient = class {
|
|
|
18390
18909
|
const maybeBody = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobBody, envelope.body);
|
|
18391
18910
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18392
18911
|
}
|
|
18912
|
+
if (envelope.path !== void 0) {
|
|
18913
|
+
const maybePath = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobPath, envelope.path);
|
|
18914
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18915
|
+
}
|
|
18393
18916
|
}
|
|
18394
18917
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18395
18918
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18500,6 +19023,10 @@ var CamundaClient = class {
|
|
|
18500
19023
|
const maybeBody = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRuleBody, envelope.body);
|
|
18501
19024
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18502
19025
|
}
|
|
19026
|
+
if (envelope.path !== void 0) {
|
|
19027
|
+
const maybePath = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRulePath, envelope.path);
|
|
19028
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19029
|
+
}
|
|
18503
19030
|
}
|
|
18504
19031
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18505
19032
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18556,6 +19083,10 @@ var CamundaClient = class {
|
|
|
18556
19083
|
const maybeBody = await this._validation.gateRequest("updateRole", _schemas.zUpdateRoleBody, envelope.body);
|
|
18557
19084
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18558
19085
|
}
|
|
19086
|
+
if (envelope.path !== void 0) {
|
|
19087
|
+
const maybePath = await this._validation.gateRequest("updateRole", _schemas.zUpdateRolePath, envelope.path);
|
|
19088
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19089
|
+
}
|
|
18559
19090
|
}
|
|
18560
19091
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18561
19092
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18612,6 +19143,10 @@ var CamundaClient = class {
|
|
|
18612
19143
|
const maybeBody = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantBody, envelope.body);
|
|
18613
19144
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18614
19145
|
}
|
|
19146
|
+
if (envelope.path !== void 0) {
|
|
19147
|
+
const maybePath = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantPath, envelope.path);
|
|
19148
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19149
|
+
}
|
|
18615
19150
|
}
|
|
18616
19151
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18617
19152
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18668,6 +19203,10 @@ var CamundaClient = class {
|
|
|
18668
19203
|
const maybeBody = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariableBody, envelope.body);
|
|
18669
19204
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18670
19205
|
}
|
|
19206
|
+
if (envelope.path !== void 0) {
|
|
19207
|
+
const maybePath = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariablePath, envelope.path);
|
|
19208
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19209
|
+
}
|
|
18671
19210
|
}
|
|
18672
19211
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18673
19212
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18724,6 +19263,10 @@ var CamundaClient = class {
|
|
|
18724
19263
|
const maybeBody = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserBody, envelope.body);
|
|
18725
19264
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18726
19265
|
}
|
|
19266
|
+
if (envelope.path !== void 0) {
|
|
19267
|
+
const maybePath = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserPath, envelope.path);
|
|
19268
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19269
|
+
}
|
|
18727
19270
|
}
|
|
18728
19271
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18729
19272
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18780,6 +19323,10 @@ var CamundaClient = class {
|
|
|
18780
19323
|
const maybeBody = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskBody, envelope.body);
|
|
18781
19324
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18782
19325
|
}
|
|
19326
|
+
if (envelope.path !== void 0) {
|
|
19327
|
+
const maybePath = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskPath, envelope.path);
|
|
19328
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19329
|
+
}
|
|
18783
19330
|
}
|
|
18784
19331
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18785
19332
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19196,4 +19743,4 @@ export {
|
|
|
19196
19743
|
withTimeoutTE,
|
|
19197
19744
|
eventuallyTE
|
|
19198
19745
|
};
|
|
19199
|
-
//# sourceMappingURL=chunk-
|
|
19746
|
+
//# sourceMappingURL=chunk-5T5DTO7V.js.map
|