@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
package/dist/index.cjs
CHANGED
|
@@ -3097,8 +3097,12 @@ var init_zod_gen = __esm({
|
|
|
3097
3097
|
}).optional()
|
|
3098
3098
|
}).nullable();
|
|
3099
3099
|
zJobResult = z.union([
|
|
3100
|
-
|
|
3101
|
-
|
|
3100
|
+
z.object({
|
|
3101
|
+
type: z.literal("userTask")
|
|
3102
|
+
}).and(zJobResultUserTask),
|
|
3103
|
+
z.object({
|
|
3104
|
+
type: z.literal("adHocSubProcess")
|
|
3105
|
+
}).and(zJobResultAdHocSubProcess)
|
|
3102
3106
|
]);
|
|
3103
3107
|
zJobCompletionRequest = z.object({
|
|
3104
3108
|
variables: z.record(z.string(), z.unknown()).nullish(),
|
|
@@ -4740,7 +4744,9 @@ var init_zod_gen = __esm({
|
|
|
4740
4744
|
}).register(z.globalRegistry, {
|
|
4741
4745
|
description: "Terminates the process instance after a specific BPMN element is completed or terminated.\n"
|
|
4742
4746
|
});
|
|
4743
|
-
zProcessInstanceCreationRuntimeInstruction =
|
|
4747
|
+
zProcessInstanceCreationRuntimeInstruction = z.object({
|
|
4748
|
+
type: z.literal("TERMINATE_PROCESS_INSTANCE")
|
|
4749
|
+
}).and(zProcessInstanceCreationTerminateInstruction);
|
|
4744
4750
|
zProcessInstanceCreationInstructionById = z.object({
|
|
4745
4751
|
processDefinitionId: zProcessDefinitionId,
|
|
4746
4752
|
processDefinitionVersion: z.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }).register(z.globalRegistry, {
|
|
@@ -9347,6 +9353,7 @@ var createClient = (config = {}) => {
|
|
|
9347
9353
|
const responseStyle = options.responseStyle ?? _config.responseStyle;
|
|
9348
9354
|
let request2;
|
|
9349
9355
|
let response;
|
|
9356
|
+
let __isHttpErrorResponse = false;
|
|
9350
9357
|
try {
|
|
9351
9358
|
const { opts, url: url2 } = await beforeRequest(options);
|
|
9352
9359
|
const requestInit = {
|
|
@@ -9435,6 +9442,7 @@ var createClient = (config = {}) => {
|
|
|
9435
9442
|
jsonError = JSON.parse(textError);
|
|
9436
9443
|
} catch {
|
|
9437
9444
|
}
|
|
9445
|
+
__isHttpErrorResponse = true;
|
|
9438
9446
|
throw jsonError ?? textError;
|
|
9439
9447
|
} catch (error) {
|
|
9440
9448
|
let finalError = error;
|
|
@@ -9444,7 +9452,7 @@ var createClient = (config = {}) => {
|
|
|
9444
9452
|
}
|
|
9445
9453
|
}
|
|
9446
9454
|
finalError = finalError || {};
|
|
9447
|
-
if (throwOnError) {
|
|
9455
|
+
if (throwOnError || !__isHttpErrorResponse) {
|
|
9448
9456
|
throw finalError;
|
|
9449
9457
|
}
|
|
9450
9458
|
return responseStyle === "data" ? void 0 : {
|
|
@@ -13060,7 +13068,7 @@ function createLogger(opts = {}) {
|
|
|
13060
13068
|
}
|
|
13061
13069
|
|
|
13062
13070
|
// src/runtime/version.ts
|
|
13063
|
-
var packageVersion = "10.0.0-alpha.
|
|
13071
|
+
var packageVersion = "10.0.0-alpha.25";
|
|
13064
13072
|
|
|
13065
13073
|
// src/runtime/supportLogger.ts
|
|
13066
13074
|
var NoopSupportLogger = class {
|
|
@@ -14298,6 +14306,33 @@ function createVariableSearchFetchPage(params) {
|
|
|
14298
14306
|
};
|
|
14299
14307
|
}
|
|
14300
14308
|
|
|
14309
|
+
// src/runtime/pollBackoff.ts
|
|
14310
|
+
var DEFAULT_POLL_BACKOFF_MIN_MS = 1e3;
|
|
14311
|
+
var DEFAULT_POLL_BACKOFF_MAX_MS = 3e4;
|
|
14312
|
+
var MAX_SAFE_TIMEOUT_MS = 2147483647;
|
|
14313
|
+
function computePollBackoffMs(attempt, opts) {
|
|
14314
|
+
const rng = opts.rng ?? Math.random;
|
|
14315
|
+
const min = Number.isFinite(opts.minMs) ? Math.min(MAX_SAFE_TIMEOUT_MS, Math.max(0, Math.floor(opts.minMs))) : 0;
|
|
14316
|
+
const max = Number.isFinite(opts.maxMs) ? Math.min(MAX_SAFE_TIMEOUT_MS, Math.max(min, Math.floor(opts.maxMs))) : min;
|
|
14317
|
+
const safeAttempt = Number.isFinite(attempt) ? Math.max(1, Math.floor(attempt)) : 1;
|
|
14318
|
+
const exponent = Math.min(safeAttempt - 1, 53);
|
|
14319
|
+
const cap = Math.min(max, min * 2 ** exponent);
|
|
14320
|
+
const half = cap / 2;
|
|
14321
|
+
const r = rng();
|
|
14322
|
+
const jitter = Number.isFinite(r) ? Math.min(1, Math.max(0, r)) : 0;
|
|
14323
|
+
return Math.round(half + jitter * half);
|
|
14324
|
+
}
|
|
14325
|
+
function nextActivationRetryDelayMs(attempt, cfg, rng) {
|
|
14326
|
+
if (cfg.pollBackoffMinMs > 0) {
|
|
14327
|
+
return computePollBackoffMs(attempt, {
|
|
14328
|
+
minMs: cfg.pollBackoffMinMs,
|
|
14329
|
+
maxMs: cfg.pollBackoffMaxMs,
|
|
14330
|
+
rng
|
|
14331
|
+
});
|
|
14332
|
+
}
|
|
14333
|
+
return Number.isFinite(cfg.pollIntervalMs) ? Math.max(0, Math.round(cfg.pollIntervalMs)) : 0;
|
|
14334
|
+
}
|
|
14335
|
+
|
|
14301
14336
|
// src/runtime/workerStartGate.ts
|
|
14302
14337
|
var WorkerStartGate = class {
|
|
14303
14338
|
/**
|
|
@@ -14357,6 +14392,8 @@ var JobWorker = class {
|
|
|
14357
14392
|
_pollTimer = null;
|
|
14358
14393
|
_inFlightActivation = null;
|
|
14359
14394
|
// CancelablePromise-like
|
|
14395
|
+
/** Consecutive failed activation requests; drives the retry backoff, reset on success. */
|
|
14396
|
+
_consecutiveActivationErrors = 0;
|
|
14360
14397
|
_log;
|
|
14361
14398
|
_startGate;
|
|
14362
14399
|
constructor(client2, cfg) {
|
|
@@ -14364,6 +14401,8 @@ var JobWorker = class {
|
|
|
14364
14401
|
this._cfg = {
|
|
14365
14402
|
...cfg,
|
|
14366
14403
|
pollIntervalMs: cfg.pollIntervalMs ?? 1,
|
|
14404
|
+
pollBackoffMinMs: cfg.pollBackoffMinMs ?? DEFAULT_POLL_BACKOFF_MIN_MS,
|
|
14405
|
+
pollBackoffMaxMs: cfg.pollBackoffMaxMs ?? DEFAULT_POLL_BACKOFF_MAX_MS,
|
|
14367
14406
|
autoStart: cfg.autoStart ?? true,
|
|
14368
14407
|
validateSchemas: cfg.validateSchemas ?? false,
|
|
14369
14408
|
maxParallelJobs: cfg.maxParallelJobs ?? 10,
|
|
@@ -14508,6 +14547,7 @@ var JobWorker = class {
|
|
|
14508
14547
|
this._inFlightActivation = this._client.activateJobs(body);
|
|
14509
14548
|
const activation = await this._inFlightActivation;
|
|
14510
14549
|
this._inFlightActivation = null;
|
|
14550
|
+
this._consecutiveActivationErrors = 0;
|
|
14511
14551
|
result = activation?.jobs || [];
|
|
14512
14552
|
this._log.debug(() => ["activation.response", { jobs: result.length }]);
|
|
14513
14553
|
} catch (e) {
|
|
@@ -14515,10 +14555,17 @@ var JobWorker = class {
|
|
|
14515
14555
|
if (this._stopped) return;
|
|
14516
14556
|
if (e?.name === "CancelSdkError") {
|
|
14517
14557
|
this._log.debug("activation.cancelled");
|
|
14518
|
-
|
|
14519
|
-
|
|
14558
|
+
this._scheduleNext(this._cfg.pollIntervalMs);
|
|
14559
|
+
return;
|
|
14520
14560
|
}
|
|
14521
|
-
this.
|
|
14561
|
+
this._consecutiveActivationErrors += 1;
|
|
14562
|
+
const delayMs = nextActivationRetryDelayMs(this._consecutiveActivationErrors, this._cfg);
|
|
14563
|
+
this._log.error("activation.error", e);
|
|
14564
|
+
this._log.debug(() => [
|
|
14565
|
+
"activation.retry",
|
|
14566
|
+
{ attempt: this._consecutiveActivationErrors, retryInMs: delayMs }
|
|
14567
|
+
]);
|
|
14568
|
+
this._scheduleNext(delayMs);
|
|
14522
14569
|
return;
|
|
14523
14570
|
}
|
|
14524
14571
|
if (!result || result.length === 0) {
|
|
@@ -14669,6 +14716,8 @@ var ThreadedJobWorker = class {
|
|
|
14669
14716
|
_stopped = false;
|
|
14670
14717
|
_pollTimer = null;
|
|
14671
14718
|
_inFlightActivation = null;
|
|
14719
|
+
/** Consecutive failed activation requests; drives the retry backoff, reset on success. */
|
|
14720
|
+
_consecutiveActivationErrors = 0;
|
|
14672
14721
|
_log;
|
|
14673
14722
|
_jobQueue = [];
|
|
14674
14723
|
_startGate;
|
|
@@ -14678,6 +14727,8 @@ var ThreadedJobWorker = class {
|
|
|
14678
14727
|
this._cfg = {
|
|
14679
14728
|
...cfg,
|
|
14680
14729
|
pollIntervalMs: cfg.pollIntervalMs ?? 1,
|
|
14730
|
+
pollBackoffMinMs: cfg.pollBackoffMinMs ?? DEFAULT_POLL_BACKOFF_MIN_MS,
|
|
14731
|
+
pollBackoffMaxMs: cfg.pollBackoffMaxMs ?? DEFAULT_POLL_BACKOFF_MAX_MS,
|
|
14681
14732
|
autoStart: cfg.autoStart ?? true,
|
|
14682
14733
|
validateSchemas: cfg.validateSchemas ?? false,
|
|
14683
14734
|
maxParallelJobs: cfg.maxParallelJobs ?? 10,
|
|
@@ -14909,6 +14960,7 @@ var ThreadedJobWorker = class {
|
|
|
14909
14960
|
this._inFlightActivation = this._client.activateJobs(body);
|
|
14910
14961
|
const activation = await this._inFlightActivation;
|
|
14911
14962
|
this._inFlightActivation = null;
|
|
14963
|
+
this._consecutiveActivationErrors = 0;
|
|
14912
14964
|
result = activation?.jobs || [];
|
|
14913
14965
|
this._log.debug(() => ["activation.response", { jobs: result.length }]);
|
|
14914
14966
|
} catch (e) {
|
|
@@ -14916,10 +14968,17 @@ var ThreadedJobWorker = class {
|
|
|
14916
14968
|
if (this._stopped) return;
|
|
14917
14969
|
if (e?.name === "CancelSdkError") {
|
|
14918
14970
|
this._log.debug("activation.cancelled");
|
|
14919
|
-
|
|
14920
|
-
|
|
14971
|
+
this._scheduleNext(this._cfg.pollIntervalMs);
|
|
14972
|
+
return;
|
|
14921
14973
|
}
|
|
14922
|
-
this.
|
|
14974
|
+
this._consecutiveActivationErrors += 1;
|
|
14975
|
+
const delayMs = nextActivationRetryDelayMs(this._consecutiveActivationErrors, this._cfg);
|
|
14976
|
+
this._log.error("activation.error", e);
|
|
14977
|
+
this._log.debug(() => [
|
|
14978
|
+
"activation.retry",
|
|
14979
|
+
{ attempt: this._consecutiveActivationErrors, retryInMs: delayMs }
|
|
14980
|
+
]);
|
|
14981
|
+
this._scheduleNext(delayMs);
|
|
14923
14982
|
return;
|
|
14924
14983
|
}
|
|
14925
14984
|
if (!result || result.length === 0) {
|
|
@@ -15662,6 +15721,10 @@ var CamundaClient = class {
|
|
|
15662
15721
|
const maybeBody = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesBody, envelope.body);
|
|
15663
15722
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
15664
15723
|
}
|
|
15724
|
+
if (envelope.path !== void 0) {
|
|
15725
|
+
const maybePath = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesPath, envelope.path);
|
|
15726
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15727
|
+
}
|
|
15665
15728
|
}
|
|
15666
15729
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15667
15730
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15774,7 +15837,10 @@ var CamundaClient = class {
|
|
|
15774
15837
|
envelope.path = { groupId, clientId };
|
|
15775
15838
|
if (this._validation.settings.req !== "none") {
|
|
15776
15839
|
const _schemas = await this._loadSchemas();
|
|
15777
|
-
|
|
15840
|
+
if (envelope.path !== void 0) {
|
|
15841
|
+
const maybePath = await this._validation.gateRequest("assignClientToGroup", _schemas.zAssignClientToGroupPath, envelope.path);
|
|
15842
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15843
|
+
}
|
|
15778
15844
|
}
|
|
15779
15845
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15780
15846
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15825,7 +15891,10 @@ var CamundaClient = class {
|
|
|
15825
15891
|
envelope.path = { tenantId, clientId };
|
|
15826
15892
|
if (this._validation.settings.req !== "none") {
|
|
15827
15893
|
const _schemas = await this._loadSchemas();
|
|
15828
|
-
|
|
15894
|
+
if (envelope.path !== void 0) {
|
|
15895
|
+
const maybePath = await this._validation.gateRequest("assignClientToTenant", _schemas.zAssignClientToTenantPath, envelope.path);
|
|
15896
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15897
|
+
}
|
|
15829
15898
|
}
|
|
15830
15899
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15831
15900
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15876,7 +15945,10 @@ var CamundaClient = class {
|
|
|
15876
15945
|
envelope.path = { tenantId, groupId };
|
|
15877
15946
|
if (this._validation.settings.req !== "none") {
|
|
15878
15947
|
const _schemas = await this._loadSchemas();
|
|
15879
|
-
|
|
15948
|
+
if (envelope.path !== void 0) {
|
|
15949
|
+
const maybePath = await this._validation.gateRequest("assignGroupToTenant", _schemas.zAssignGroupToTenantPath, envelope.path);
|
|
15950
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
15951
|
+
}
|
|
15880
15952
|
}
|
|
15881
15953
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15882
15954
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15927,7 +15999,10 @@ var CamundaClient = class {
|
|
|
15927
15999
|
envelope.path = { groupId, mappingRuleId };
|
|
15928
16000
|
if (this._validation.settings.req !== "none") {
|
|
15929
16001
|
const _schemas = await this._loadSchemas();
|
|
15930
|
-
|
|
16002
|
+
if (envelope.path !== void 0) {
|
|
16003
|
+
const maybePath = await this._validation.gateRequest("assignMappingRuleToGroup", _schemas.zAssignMappingRuleToGroupPath, envelope.path);
|
|
16004
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16005
|
+
}
|
|
15931
16006
|
}
|
|
15932
16007
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15933
16008
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -15978,7 +16053,10 @@ var CamundaClient = class {
|
|
|
15978
16053
|
envelope.path = { tenantId, mappingRuleId };
|
|
15979
16054
|
if (this._validation.settings.req !== "none") {
|
|
15980
16055
|
const _schemas = await this._loadSchemas();
|
|
15981
|
-
|
|
16056
|
+
if (envelope.path !== void 0) {
|
|
16057
|
+
const maybePath = await this._validation.gateRequest("assignMappingRuleToTenant", _schemas.zAssignMappingRuleToTenantPath, envelope.path);
|
|
16058
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16059
|
+
}
|
|
15982
16060
|
}
|
|
15983
16061
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
15984
16062
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16034,6 +16112,10 @@ var CamundaClient = class {
|
|
|
16034
16112
|
const maybeBody = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdBody, envelope.body);
|
|
16035
16113
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16036
16114
|
}
|
|
16115
|
+
if (envelope.path !== void 0) {
|
|
16116
|
+
const maybePath = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdPath, envelope.path);
|
|
16117
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16118
|
+
}
|
|
16037
16119
|
}
|
|
16038
16120
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16039
16121
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16085,7 +16167,10 @@ var CamundaClient = class {
|
|
|
16085
16167
|
envelope.path = { roleId, clientId };
|
|
16086
16168
|
if (this._validation.settings.req !== "none") {
|
|
16087
16169
|
const _schemas = await this._loadSchemas();
|
|
16088
|
-
|
|
16170
|
+
if (envelope.path !== void 0) {
|
|
16171
|
+
const maybePath = await this._validation.gateRequest("assignRoleToClient", _schemas.zAssignRoleToClientPath, envelope.path);
|
|
16172
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16173
|
+
}
|
|
16089
16174
|
}
|
|
16090
16175
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16091
16176
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16136,7 +16221,10 @@ var CamundaClient = class {
|
|
|
16136
16221
|
envelope.path = { roleId, groupId };
|
|
16137
16222
|
if (this._validation.settings.req !== "none") {
|
|
16138
16223
|
const _schemas = await this._loadSchemas();
|
|
16139
|
-
|
|
16224
|
+
if (envelope.path !== void 0) {
|
|
16225
|
+
const maybePath = await this._validation.gateRequest("assignRoleToGroup", _schemas.zAssignRoleToGroupPath, envelope.path);
|
|
16226
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16227
|
+
}
|
|
16140
16228
|
}
|
|
16141
16229
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16142
16230
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16187,7 +16275,10 @@ var CamundaClient = class {
|
|
|
16187
16275
|
envelope.path = { roleId, mappingRuleId };
|
|
16188
16276
|
if (this._validation.settings.req !== "none") {
|
|
16189
16277
|
const _schemas = await this._loadSchemas();
|
|
16190
|
-
|
|
16278
|
+
if (envelope.path !== void 0) {
|
|
16279
|
+
const maybePath = await this._validation.gateRequest("assignRoleToMappingRule", _schemas.zAssignRoleToMappingRulePath, envelope.path);
|
|
16280
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16281
|
+
}
|
|
16191
16282
|
}
|
|
16192
16283
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16193
16284
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16238,7 +16329,10 @@ var CamundaClient = class {
|
|
|
16238
16329
|
envelope.path = { tenantId, roleId };
|
|
16239
16330
|
if (this._validation.settings.req !== "none") {
|
|
16240
16331
|
const _schemas = await this._loadSchemas();
|
|
16241
|
-
|
|
16332
|
+
if (envelope.path !== void 0) {
|
|
16333
|
+
const maybePath = await this._validation.gateRequest("assignRoleToTenant", _schemas.zAssignRoleToTenantPath, envelope.path);
|
|
16334
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16335
|
+
}
|
|
16242
16336
|
}
|
|
16243
16337
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16244
16338
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16289,7 +16383,10 @@ var CamundaClient = class {
|
|
|
16289
16383
|
envelope.path = { roleId, username };
|
|
16290
16384
|
if (this._validation.settings.req !== "none") {
|
|
16291
16385
|
const _schemas = await this._loadSchemas();
|
|
16292
|
-
|
|
16386
|
+
if (envelope.path !== void 0) {
|
|
16387
|
+
const maybePath = await this._validation.gateRequest("assignRoleToUser", _schemas.zAssignRoleToUserPath, envelope.path);
|
|
16388
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16389
|
+
}
|
|
16293
16390
|
}
|
|
16294
16391
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16295
16392
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16345,6 +16442,10 @@ var CamundaClient = class {
|
|
|
16345
16442
|
const maybeBody = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskBody, envelope.body);
|
|
16346
16443
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16347
16444
|
}
|
|
16445
|
+
if (envelope.path !== void 0) {
|
|
16446
|
+
const maybePath = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskPath, envelope.path);
|
|
16447
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16448
|
+
}
|
|
16348
16449
|
}
|
|
16349
16450
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16350
16451
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16396,7 +16497,10 @@ var CamundaClient = class {
|
|
|
16396
16497
|
envelope.path = { groupId, username };
|
|
16397
16498
|
if (this._validation.settings.req !== "none") {
|
|
16398
16499
|
const _schemas = await this._loadSchemas();
|
|
16399
|
-
|
|
16500
|
+
if (envelope.path !== void 0) {
|
|
16501
|
+
const maybePath = await this._validation.gateRequest("assignUserToGroup", _schemas.zAssignUserToGroupPath, envelope.path);
|
|
16502
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16503
|
+
}
|
|
16400
16504
|
}
|
|
16401
16505
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16402
16506
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16447,7 +16551,10 @@ var CamundaClient = class {
|
|
|
16447
16551
|
envelope.path = { tenantId, username };
|
|
16448
16552
|
if (this._validation.settings.req !== "none") {
|
|
16449
16553
|
const _schemas = await this._loadSchemas();
|
|
16450
|
-
|
|
16554
|
+
if (envelope.path !== void 0) {
|
|
16555
|
+
const maybePath = await this._validation.gateRequest("assignUserToTenant", _schemas.zAssignUserToTenantPath, envelope.path);
|
|
16556
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16557
|
+
}
|
|
16451
16558
|
}
|
|
16452
16559
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16453
16560
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16561,6 +16668,10 @@ var CamundaClient = class {
|
|
|
16561
16668
|
const maybeBody = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationBody, envelope.body);
|
|
16562
16669
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16563
16670
|
}
|
|
16671
|
+
if (envelope.path !== void 0) {
|
|
16672
|
+
const maybePath = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationPath, envelope.path);
|
|
16673
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16674
|
+
}
|
|
16564
16675
|
}
|
|
16565
16676
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16566
16677
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16617,6 +16728,10 @@ var CamundaClient = class {
|
|
|
16617
16728
|
const maybeBody = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstanceBody, envelope.body);
|
|
16618
16729
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16619
16730
|
}
|
|
16731
|
+
if (envelope.path !== void 0) {
|
|
16732
|
+
const maybePath = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstancePath, envelope.path);
|
|
16733
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16734
|
+
}
|
|
16620
16735
|
}
|
|
16621
16736
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16622
16737
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16722,7 +16837,10 @@ var CamundaClient = class {
|
|
|
16722
16837
|
envelope.query = { mode, dryRun };
|
|
16723
16838
|
if (this._validation.settings.req !== "none") {
|
|
16724
16839
|
const _schemas = await this._loadSchemas();
|
|
16725
|
-
|
|
16840
|
+
if (envelope.query !== void 0) {
|
|
16841
|
+
const maybeQuery = await this._validation.gateRequest("changeClusterMode", _schemas.zChangeClusterModeQuery, envelope.query);
|
|
16842
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
16843
|
+
}
|
|
16726
16844
|
}
|
|
16727
16845
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16728
16846
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -16778,6 +16896,10 @@ var CamundaClient = class {
|
|
|
16778
16896
|
const maybeBody = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobBody, envelope.body);
|
|
16779
16897
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16780
16898
|
}
|
|
16899
|
+
if (envelope.path !== void 0) {
|
|
16900
|
+
const maybePath = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobPath, envelope.path);
|
|
16901
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16902
|
+
}
|
|
16781
16903
|
}
|
|
16782
16904
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16783
16905
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -16834,6 +16956,10 @@ var CamundaClient = class {
|
|
|
16834
16956
|
const maybeBody = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskBody, envelope.body);
|
|
16835
16957
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
16836
16958
|
}
|
|
16959
|
+
if (envelope.path !== void 0) {
|
|
16960
|
+
const maybePath = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskPath, envelope.path);
|
|
16961
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
16962
|
+
}
|
|
16837
16963
|
}
|
|
16838
16964
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
16839
16965
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17056,6 +17182,10 @@ var CamundaClient = class {
|
|
|
17056
17182
|
const maybeBody = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemBody, envelope.body);
|
|
17057
17183
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17058
17184
|
}
|
|
17185
|
+
if (envelope.path !== void 0) {
|
|
17186
|
+
const maybePath = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemPath, envelope.path);
|
|
17187
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17188
|
+
}
|
|
17059
17189
|
}
|
|
17060
17190
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17061
17191
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17238,6 +17368,10 @@ var CamundaClient = class {
|
|
|
17238
17368
|
const maybeBody = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentBody, envelope.body);
|
|
17239
17369
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17240
17370
|
}
|
|
17371
|
+
if (envelope.query !== void 0) {
|
|
17372
|
+
const maybeQuery = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentQuery, envelope.query);
|
|
17373
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17374
|
+
}
|
|
17241
17375
|
}
|
|
17242
17376
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17243
17377
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -17295,6 +17429,14 @@ var CamundaClient = class {
|
|
|
17295
17429
|
const maybeBody = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkBody, envelope.body);
|
|
17296
17430
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17297
17431
|
}
|
|
17432
|
+
if (envelope.path !== void 0) {
|
|
17433
|
+
const maybePath = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkPath, envelope.path);
|
|
17434
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17435
|
+
}
|
|
17436
|
+
if (envelope.query !== void 0) {
|
|
17437
|
+
const maybeQuery = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkQuery, envelope.query);
|
|
17438
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17439
|
+
}
|
|
17298
17440
|
}
|
|
17299
17441
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17300
17442
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17352,6 +17494,10 @@ var CamundaClient = class {
|
|
|
17352
17494
|
const maybeBody = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsBody, envelope.body);
|
|
17353
17495
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17354
17496
|
}
|
|
17497
|
+
if (envelope.query !== void 0) {
|
|
17498
|
+
const maybeQuery = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsQuery, envelope.query);
|
|
17499
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
17500
|
+
}
|
|
17355
17501
|
}
|
|
17356
17502
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17357
17503
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -17408,6 +17554,10 @@ var CamundaClient = class {
|
|
|
17408
17554
|
const maybeBody = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesBody, envelope.body);
|
|
17409
17555
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17410
17556
|
}
|
|
17557
|
+
if (envelope.path !== void 0) {
|
|
17558
|
+
const maybePath = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesPath, envelope.path);
|
|
17559
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
17560
|
+
}
|
|
17411
17561
|
}
|
|
17412
17562
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17413
17563
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17846,6 +17996,10 @@ var CamundaClient = class {
|
|
|
17846
17996
|
const maybeBody = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariableBody, envelope.body);
|
|
17847
17997
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
17848
17998
|
}
|
|
17999
|
+
if (envelope.path !== void 0) {
|
|
18000
|
+
const maybePath = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariablePath, envelope.path);
|
|
18001
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18002
|
+
}
|
|
17849
18003
|
}
|
|
17850
18004
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17851
18005
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -17951,7 +18105,10 @@ var CamundaClient = class {
|
|
|
17951
18105
|
envelope.path = { authorizationKey };
|
|
17952
18106
|
if (this._validation.settings.req !== "none") {
|
|
17953
18107
|
const _schemas = await this._loadSchemas();
|
|
17954
|
-
|
|
18108
|
+
if (envelope.path !== void 0) {
|
|
18109
|
+
const maybePath = await this._validation.gateRequest("deleteAuthorization", _schemas.zDeleteAuthorizationPath, envelope.path);
|
|
18110
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18111
|
+
}
|
|
17955
18112
|
}
|
|
17956
18113
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
17957
18114
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18007,6 +18164,10 @@ var CamundaClient = class {
|
|
|
18007
18164
|
const maybeBody = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstanceBody, envelope.body);
|
|
18008
18165
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18009
18166
|
}
|
|
18167
|
+
if (envelope.path !== void 0) {
|
|
18168
|
+
const maybePath = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstancePath, envelope.path);
|
|
18169
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18170
|
+
}
|
|
18010
18171
|
}
|
|
18011
18172
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18012
18173
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18113,7 +18274,14 @@ var CamundaClient = class {
|
|
|
18113
18274
|
envelope.query = { storeId };
|
|
18114
18275
|
if (this._validation.settings.req !== "none") {
|
|
18115
18276
|
const _schemas = await this._loadSchemas();
|
|
18116
|
-
|
|
18277
|
+
if (envelope.path !== void 0) {
|
|
18278
|
+
const maybePath = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentPath, envelope.path);
|
|
18279
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18280
|
+
}
|
|
18281
|
+
if (envelope.query !== void 0) {
|
|
18282
|
+
const maybeQuery = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentQuery, envelope.query);
|
|
18283
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
18284
|
+
}
|
|
18117
18285
|
}
|
|
18118
18286
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18119
18287
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18165,7 +18333,10 @@ var CamundaClient = class {
|
|
|
18165
18333
|
envelope.path = { name };
|
|
18166
18334
|
if (this._validation.settings.req !== "none") {
|
|
18167
18335
|
const _schemas = await this._loadSchemas();
|
|
18168
|
-
|
|
18336
|
+
if (envelope.path !== void 0) {
|
|
18337
|
+
const maybePath = await this._validation.gateRequest("deleteGlobalClusterVariable", _schemas.zDeleteGlobalClusterVariablePath, envelope.path);
|
|
18338
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18339
|
+
}
|
|
18169
18340
|
}
|
|
18170
18341
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18171
18342
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18216,7 +18387,10 @@ var CamundaClient = class {
|
|
|
18216
18387
|
envelope.path = { id };
|
|
18217
18388
|
if (this._validation.settings.req !== "none") {
|
|
18218
18389
|
const _schemas = await this._loadSchemas();
|
|
18219
|
-
|
|
18390
|
+
if (envelope.path !== void 0) {
|
|
18391
|
+
const maybePath = await this._validation.gateRequest("deleteGlobalTaskListener", _schemas.zDeleteGlobalTaskListenerPath, envelope.path);
|
|
18392
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18393
|
+
}
|
|
18220
18394
|
}
|
|
18221
18395
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18222
18396
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18267,7 +18441,10 @@ var CamundaClient = class {
|
|
|
18267
18441
|
envelope.path = { groupId };
|
|
18268
18442
|
if (this._validation.settings.req !== "none") {
|
|
18269
18443
|
const _schemas = await this._loadSchemas();
|
|
18270
|
-
|
|
18444
|
+
if (envelope.path !== void 0) {
|
|
18445
|
+
const maybePath = await this._validation.gateRequest("deleteGroup", _schemas.zDeleteGroupPath, envelope.path);
|
|
18446
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18447
|
+
}
|
|
18271
18448
|
}
|
|
18272
18449
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18273
18450
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18318,7 +18495,10 @@ var CamundaClient = class {
|
|
|
18318
18495
|
envelope.path = { mappingRuleId };
|
|
18319
18496
|
if (this._validation.settings.req !== "none") {
|
|
18320
18497
|
const _schemas = await this._loadSchemas();
|
|
18321
|
-
|
|
18498
|
+
if (envelope.path !== void 0) {
|
|
18499
|
+
const maybePath = await this._validation.gateRequest("deleteMappingRule", _schemas.zDeleteMappingRulePath, envelope.path);
|
|
18500
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18501
|
+
}
|
|
18322
18502
|
}
|
|
18323
18503
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18324
18504
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18374,6 +18554,10 @@ var CamundaClient = class {
|
|
|
18374
18554
|
const maybeBody = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstanceBody, envelope.body);
|
|
18375
18555
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18376
18556
|
}
|
|
18557
|
+
if (envelope.path !== void 0) {
|
|
18558
|
+
const maybePath = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstancePath, envelope.path);
|
|
18559
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18560
|
+
}
|
|
18377
18561
|
}
|
|
18378
18562
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18379
18563
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18484,6 +18668,10 @@ var CamundaClient = class {
|
|
|
18484
18668
|
const maybeBody = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourceBody, envelope.body);
|
|
18485
18669
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
18486
18670
|
}
|
|
18671
|
+
if (envelope.path !== void 0) {
|
|
18672
|
+
const maybePath = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourcePath, envelope.path);
|
|
18673
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18674
|
+
}
|
|
18487
18675
|
}
|
|
18488
18676
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18489
18677
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18535,7 +18723,10 @@ var CamundaClient = class {
|
|
|
18535
18723
|
envelope.path = { roleId };
|
|
18536
18724
|
if (this._validation.settings.req !== "none") {
|
|
18537
18725
|
const _schemas = await this._loadSchemas();
|
|
18538
|
-
|
|
18726
|
+
if (envelope.path !== void 0) {
|
|
18727
|
+
const maybePath = await this._validation.gateRequest("deleteRole", _schemas.zDeleteRolePath, envelope.path);
|
|
18728
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18729
|
+
}
|
|
18539
18730
|
}
|
|
18540
18731
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18541
18732
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18586,7 +18777,10 @@ var CamundaClient = class {
|
|
|
18586
18777
|
envelope.path = { backupId };
|
|
18587
18778
|
if (this._validation.settings.req !== "none") {
|
|
18588
18779
|
const _schemas = await this._loadSchemas();
|
|
18589
|
-
|
|
18780
|
+
if (envelope.path !== void 0) {
|
|
18781
|
+
const maybePath = await this._validation.gateRequest("deleteRuntimeBackup", _schemas.zDeleteRuntimeBackupPath, envelope.path);
|
|
18782
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18783
|
+
}
|
|
18590
18784
|
}
|
|
18591
18785
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18592
18786
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18680,7 +18874,10 @@ var CamundaClient = class {
|
|
|
18680
18874
|
envelope.path = { tenantId };
|
|
18681
18875
|
if (this._validation.settings.req !== "none") {
|
|
18682
18876
|
const _schemas = await this._loadSchemas();
|
|
18683
|
-
|
|
18877
|
+
if (envelope.path !== void 0) {
|
|
18878
|
+
const maybePath = await this._validation.gateRequest("deleteTenant", _schemas.zDeleteTenantPath, envelope.path);
|
|
18879
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18880
|
+
}
|
|
18684
18881
|
}
|
|
18685
18882
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18686
18883
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18731,7 +18928,10 @@ var CamundaClient = class {
|
|
|
18731
18928
|
envelope.path = { tenantId, name };
|
|
18732
18929
|
if (this._validation.settings.req !== "none") {
|
|
18733
18930
|
const _schemas = await this._loadSchemas();
|
|
18734
|
-
|
|
18931
|
+
if (envelope.path !== void 0) {
|
|
18932
|
+
const maybePath = await this._validation.gateRequest("deleteTenantClusterVariable", _schemas.zDeleteTenantClusterVariablePath, envelope.path);
|
|
18933
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18934
|
+
}
|
|
18735
18935
|
}
|
|
18736
18936
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18737
18937
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -18782,7 +18982,10 @@ var CamundaClient = class {
|
|
|
18782
18982
|
envelope.path = { username };
|
|
18783
18983
|
if (this._validation.settings.req !== "none") {
|
|
18784
18984
|
const _schemas = await this._loadSchemas();
|
|
18785
|
-
|
|
18985
|
+
if (envelope.path !== void 0) {
|
|
18986
|
+
const maybePath = await this._validation.gateRequest("deleteUser", _schemas.zDeleteUserPath, envelope.path);
|
|
18987
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
18988
|
+
}
|
|
18786
18989
|
}
|
|
18787
18990
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
18788
18991
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19012,6 +19215,10 @@ var CamundaClient = class {
|
|
|
19012
19215
|
const maybeBody = await this._validation.gateRequest("failJob", _schemas.zFailJobBody, envelope.body);
|
|
19013
19216
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
19014
19217
|
}
|
|
19218
|
+
if (envelope.path !== void 0) {
|
|
19219
|
+
const maybePath = await this._validation.gateRequest("failJob", _schemas.zFailJobPath, envelope.path);
|
|
19220
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19221
|
+
}
|
|
19015
19222
|
}
|
|
19016
19223
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19017
19224
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19065,7 +19272,10 @@ var CamundaClient = class {
|
|
|
19065
19272
|
envelope.path = { agentInstanceKey };
|
|
19066
19273
|
if (this._validation.settings.req !== "none") {
|
|
19067
19274
|
const _schemas = await this._loadSchemas();
|
|
19068
|
-
|
|
19275
|
+
if (envelope.path !== void 0) {
|
|
19276
|
+
const maybePath = await this._validation.gateRequest("getAgentInstance", _schemas.zGetAgentInstancePath, envelope.path);
|
|
19277
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19278
|
+
}
|
|
19069
19279
|
}
|
|
19070
19280
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19071
19281
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19120,7 +19330,10 @@ var CamundaClient = class {
|
|
|
19120
19330
|
envelope.path = { auditLogKey };
|
|
19121
19331
|
if (this._validation.settings.req !== "none") {
|
|
19122
19332
|
const _schemas = await this._loadSchemas();
|
|
19123
|
-
|
|
19333
|
+
if (envelope.path !== void 0) {
|
|
19334
|
+
const maybePath = await this._validation.gateRequest("getAuditLog", _schemas.zGetAuditLogPath, envelope.path);
|
|
19335
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19336
|
+
}
|
|
19124
19337
|
}
|
|
19125
19338
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19126
19339
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19218,7 +19431,10 @@ var CamundaClient = class {
|
|
|
19218
19431
|
envelope.path = { authorizationKey };
|
|
19219
19432
|
if (this._validation.settings.req !== "none") {
|
|
19220
19433
|
const _schemas = await this._loadSchemas();
|
|
19221
|
-
|
|
19434
|
+
if (envelope.path !== void 0) {
|
|
19435
|
+
const maybePath = await this._validation.gateRequest("getAuthorization", _schemas.zGetAuthorizationPath, envelope.path);
|
|
19436
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19437
|
+
}
|
|
19222
19438
|
}
|
|
19223
19439
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19224
19440
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19273,7 +19489,10 @@ var CamundaClient = class {
|
|
|
19273
19489
|
envelope.path = { batchOperationKey };
|
|
19274
19490
|
if (this._validation.settings.req !== "none") {
|
|
19275
19491
|
const _schemas = await this._loadSchemas();
|
|
19276
|
-
|
|
19492
|
+
if (envelope.path !== void 0) {
|
|
19493
|
+
const maybePath = await this._validation.gateRequest("getBatchOperation", _schemas.zGetBatchOperationPath, envelope.path);
|
|
19494
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19495
|
+
}
|
|
19277
19496
|
}
|
|
19278
19497
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19279
19498
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19371,7 +19590,10 @@ var CamundaClient = class {
|
|
|
19371
19590
|
envelope.path = { decisionDefinitionKey };
|
|
19372
19591
|
if (this._validation.settings.req !== "none") {
|
|
19373
19592
|
const _schemas = await this._loadSchemas();
|
|
19374
|
-
|
|
19593
|
+
if (envelope.path !== void 0) {
|
|
19594
|
+
const maybePath = await this._validation.gateRequest("getDecisionDefinition", _schemas.zGetDecisionDefinitionPath, envelope.path);
|
|
19595
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19596
|
+
}
|
|
19375
19597
|
}
|
|
19376
19598
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19377
19599
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19426,7 +19648,10 @@ var CamundaClient = class {
|
|
|
19426
19648
|
envelope.path = { decisionDefinitionKey };
|
|
19427
19649
|
if (this._validation.settings.req !== "none") {
|
|
19428
19650
|
const _schemas = await this._loadSchemas();
|
|
19429
|
-
|
|
19651
|
+
if (envelope.path !== void 0) {
|
|
19652
|
+
const maybePath = await this._validation.gateRequest("getDecisionDefinitionXML", _schemas.zGetDecisionDefinitionXmlPath, envelope.path);
|
|
19653
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19654
|
+
}
|
|
19430
19655
|
}
|
|
19431
19656
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19432
19657
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19481,7 +19706,10 @@ var CamundaClient = class {
|
|
|
19481
19706
|
envelope.path = { decisionEvaluationInstanceKey };
|
|
19482
19707
|
if (this._validation.settings.req !== "none") {
|
|
19483
19708
|
const _schemas = await this._loadSchemas();
|
|
19484
|
-
|
|
19709
|
+
if (envelope.path !== void 0) {
|
|
19710
|
+
const maybePath = await this._validation.gateRequest("getDecisionInstance", _schemas.zGetDecisionInstancePath, envelope.path);
|
|
19711
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19712
|
+
}
|
|
19485
19713
|
}
|
|
19486
19714
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19487
19715
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19536,7 +19764,10 @@ var CamundaClient = class {
|
|
|
19536
19764
|
envelope.path = { decisionRequirementsKey };
|
|
19537
19765
|
if (this._validation.settings.req !== "none") {
|
|
19538
19766
|
const _schemas = await this._loadSchemas();
|
|
19539
|
-
|
|
19767
|
+
if (envelope.path !== void 0) {
|
|
19768
|
+
const maybePath = await this._validation.gateRequest("getDecisionRequirements", _schemas.zGetDecisionRequirementsPath, envelope.path);
|
|
19769
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19770
|
+
}
|
|
19540
19771
|
}
|
|
19541
19772
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19542
19773
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19591,7 +19822,10 @@ var CamundaClient = class {
|
|
|
19591
19822
|
envelope.path = { decisionRequirementsKey };
|
|
19592
19823
|
if (this._validation.settings.req !== "none") {
|
|
19593
19824
|
const _schemas = await this._loadSchemas();
|
|
19594
|
-
|
|
19825
|
+
if (envelope.path !== void 0) {
|
|
19826
|
+
const maybePath = await this._validation.gateRequest("getDecisionRequirementsXML", _schemas.zGetDecisionRequirementsXmlPath, envelope.path);
|
|
19827
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19828
|
+
}
|
|
19595
19829
|
}
|
|
19596
19830
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19597
19831
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19645,7 +19879,14 @@ var CamundaClient = class {
|
|
|
19645
19879
|
envelope.query = { storeId, contentHash };
|
|
19646
19880
|
if (this._validation.settings.req !== "none") {
|
|
19647
19881
|
const _schemas = await this._loadSchemas();
|
|
19648
|
-
|
|
19882
|
+
if (envelope.path !== void 0) {
|
|
19883
|
+
const maybePath = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentPath, envelope.path);
|
|
19884
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19885
|
+
}
|
|
19886
|
+
if (envelope.query !== void 0) {
|
|
19887
|
+
const maybeQuery = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentQuery, envelope.query);
|
|
19888
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
19889
|
+
}
|
|
19649
19890
|
}
|
|
19650
19891
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19651
19892
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19699,7 +19940,10 @@ var CamundaClient = class {
|
|
|
19699
19940
|
envelope.path = { elementInstanceKey };
|
|
19700
19941
|
if (this._validation.settings.req !== "none") {
|
|
19701
19942
|
const _schemas = await this._loadSchemas();
|
|
19702
|
-
|
|
19943
|
+
if (envelope.path !== void 0) {
|
|
19944
|
+
const maybePath = await this._validation.gateRequest("getElementInstance", _schemas.zGetElementInstancePath, envelope.path);
|
|
19945
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
19946
|
+
}
|
|
19703
19947
|
}
|
|
19704
19948
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19705
19949
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19797,7 +20041,10 @@ var CamundaClient = class {
|
|
|
19797
20041
|
envelope.path = { formKey };
|
|
19798
20042
|
if (this._validation.settings.req !== "none") {
|
|
19799
20043
|
const _schemas = await this._loadSchemas();
|
|
19800
|
-
|
|
20044
|
+
if (envelope.path !== void 0) {
|
|
20045
|
+
const maybePath = await this._validation.gateRequest("getFormByKey", _schemas.zGetFormByKeyPath, envelope.path);
|
|
20046
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20047
|
+
}
|
|
19801
20048
|
}
|
|
19802
20049
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19803
20050
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19852,7 +20099,10 @@ var CamundaClient = class {
|
|
|
19852
20099
|
envelope.path = { name };
|
|
19853
20100
|
if (this._validation.settings.req !== "none") {
|
|
19854
20101
|
const _schemas = await this._loadSchemas();
|
|
19855
|
-
|
|
20102
|
+
if (envelope.path !== void 0) {
|
|
20103
|
+
const maybePath = await this._validation.gateRequest("getGlobalClusterVariable", _schemas.zGetGlobalClusterVariablePath, envelope.path);
|
|
20104
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20105
|
+
}
|
|
19856
20106
|
}
|
|
19857
20107
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19858
20108
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -19907,7 +20157,10 @@ var CamundaClient = class {
|
|
|
19907
20157
|
envelope.query = { from, to, jobType };
|
|
19908
20158
|
if (this._validation.settings.req !== "none") {
|
|
19909
20159
|
const _schemas = await this._loadSchemas();
|
|
19910
|
-
|
|
20160
|
+
if (envelope.query !== void 0) {
|
|
20161
|
+
const maybeQuery = await this._validation.gateRequest("getGlobalJobStatistics", _schemas.zGetGlobalJobStatisticsQuery, envelope.query);
|
|
20162
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
20163
|
+
}
|
|
19911
20164
|
}
|
|
19912
20165
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19913
20166
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -19962,7 +20215,10 @@ var CamundaClient = class {
|
|
|
19962
20215
|
envelope.path = { id };
|
|
19963
20216
|
if (this._validation.settings.req !== "none") {
|
|
19964
20217
|
const _schemas = await this._loadSchemas();
|
|
19965
|
-
|
|
20218
|
+
if (envelope.path !== void 0) {
|
|
20219
|
+
const maybePath = await this._validation.gateRequest("getGlobalTaskListener", _schemas.zGetGlobalTaskListenerPath, envelope.path);
|
|
20220
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20221
|
+
}
|
|
19966
20222
|
}
|
|
19967
20223
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
19968
20224
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20017,7 +20273,10 @@ var CamundaClient = class {
|
|
|
20017
20273
|
envelope.path = { groupId };
|
|
20018
20274
|
if (this._validation.settings.req !== "none") {
|
|
20019
20275
|
const _schemas = await this._loadSchemas();
|
|
20020
|
-
|
|
20276
|
+
if (envelope.path !== void 0) {
|
|
20277
|
+
const maybePath = await this._validation.gateRequest("getGroup", _schemas.zGetGroupPath, envelope.path);
|
|
20278
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20279
|
+
}
|
|
20021
20280
|
}
|
|
20022
20281
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20023
20282
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20072,7 +20331,10 @@ var CamundaClient = class {
|
|
|
20072
20331
|
envelope.path = { incidentKey };
|
|
20073
20332
|
if (this._validation.settings.req !== "none") {
|
|
20074
20333
|
const _schemas = await this._loadSchemas();
|
|
20075
|
-
|
|
20334
|
+
if (envelope.path !== void 0) {
|
|
20335
|
+
const maybePath = await this._validation.gateRequest("getIncident", _schemas.zGetIncidentPath, envelope.path);
|
|
20336
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20337
|
+
}
|
|
20076
20338
|
}
|
|
20077
20339
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20078
20340
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20402,7 +20664,10 @@ var CamundaClient = class {
|
|
|
20402
20664
|
envelope.path = { mappingRuleId };
|
|
20403
20665
|
if (this._validation.settings.req !== "none") {
|
|
20404
20666
|
const _schemas = await this._loadSchemas();
|
|
20405
|
-
|
|
20667
|
+
if (envelope.path !== void 0) {
|
|
20668
|
+
const maybePath = await this._validation.gateRequest("getMappingRule", _schemas.zGetMappingRulePath, envelope.path);
|
|
20669
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20670
|
+
}
|
|
20406
20671
|
}
|
|
20407
20672
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20408
20673
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20457,7 +20722,10 @@ var CamundaClient = class {
|
|
|
20457
20722
|
envelope.path = { processDefinitionKey };
|
|
20458
20723
|
if (this._validation.settings.req !== "none") {
|
|
20459
20724
|
const _schemas = await this._loadSchemas();
|
|
20460
|
-
|
|
20725
|
+
if (envelope.path !== void 0) {
|
|
20726
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinition", _schemas.zGetProcessDefinitionPath, envelope.path);
|
|
20727
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20728
|
+
}
|
|
20461
20729
|
}
|
|
20462
20730
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20463
20731
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20691,6 +20959,10 @@ var CamundaClient = class {
|
|
|
20691
20959
|
const maybeBody = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsBody, envelope.body);
|
|
20692
20960
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
20693
20961
|
}
|
|
20962
|
+
if (envelope.path !== void 0) {
|
|
20963
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsPath, envelope.path);
|
|
20964
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
20965
|
+
}
|
|
20694
20966
|
}
|
|
20695
20967
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20696
20968
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20746,7 +21018,10 @@ var CamundaClient = class {
|
|
|
20746
21018
|
envelope.path = { processDefinitionKey };
|
|
20747
21019
|
if (this._validation.settings.req !== "none") {
|
|
20748
21020
|
const _schemas = await this._loadSchemas();
|
|
20749
|
-
|
|
21021
|
+
if (envelope.path !== void 0) {
|
|
21022
|
+
const maybePath = await this._validation.gateRequest("getProcessDefinitionXML", _schemas.zGetProcessDefinitionXmlPath, envelope.path);
|
|
21023
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21024
|
+
}
|
|
20750
21025
|
}
|
|
20751
21026
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20752
21027
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20801,7 +21076,10 @@ var CamundaClient = class {
|
|
|
20801
21076
|
envelope.path = { processInstanceKey };
|
|
20802
21077
|
if (this._validation.settings.req !== "none") {
|
|
20803
21078
|
const _schemas = await this._loadSchemas();
|
|
20804
|
-
|
|
21079
|
+
if (envelope.path !== void 0) {
|
|
21080
|
+
const maybePath = await this._validation.gateRequest("getProcessInstance", _schemas.zGetProcessInstancePath, envelope.path);
|
|
21081
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21082
|
+
}
|
|
20805
21083
|
}
|
|
20806
21084
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20807
21085
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20856,7 +21134,10 @@ var CamundaClient = class {
|
|
|
20856
21134
|
envelope.path = { processInstanceKey };
|
|
20857
21135
|
if (this._validation.settings.req !== "none") {
|
|
20858
21136
|
const _schemas = await this._loadSchemas();
|
|
20859
|
-
|
|
21137
|
+
if (envelope.path !== void 0) {
|
|
21138
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceCallHierarchy", _schemas.zGetProcessInstanceCallHierarchyPath, envelope.path);
|
|
21139
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21140
|
+
}
|
|
20860
21141
|
}
|
|
20861
21142
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20862
21143
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20911,7 +21192,10 @@ var CamundaClient = class {
|
|
|
20911
21192
|
envelope.path = { processInstanceKey };
|
|
20912
21193
|
if (this._validation.settings.req !== "none") {
|
|
20913
21194
|
const _schemas = await this._loadSchemas();
|
|
20914
|
-
|
|
21195
|
+
if (envelope.path !== void 0) {
|
|
21196
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceSequenceFlows", _schemas.zGetProcessInstanceSequenceFlowsPath, envelope.path);
|
|
21197
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21198
|
+
}
|
|
20915
21199
|
}
|
|
20916
21200
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20917
21201
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -20966,7 +21250,10 @@ var CamundaClient = class {
|
|
|
20966
21250
|
envelope.path = { processInstanceKey };
|
|
20967
21251
|
if (this._validation.settings.req !== "none") {
|
|
20968
21252
|
const _schemas = await this._loadSchemas();
|
|
20969
|
-
|
|
21253
|
+
if (envelope.path !== void 0) {
|
|
21254
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceStatistics", _schemas.zGetProcessInstanceStatisticsPath, envelope.path);
|
|
21255
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21256
|
+
}
|
|
20970
21257
|
}
|
|
20971
21258
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
20972
21259
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21137,7 +21424,10 @@ var CamundaClient = class {
|
|
|
21137
21424
|
envelope.path = { processInstanceKey };
|
|
21138
21425
|
if (this._validation.settings.req !== "none") {
|
|
21139
21426
|
const _schemas = await this._loadSchemas();
|
|
21140
|
-
|
|
21427
|
+
if (envelope.path !== void 0) {
|
|
21428
|
+
const maybePath = await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", _schemas.zGetProcessInstanceWaitStateStatisticsPath, envelope.path);
|
|
21429
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21430
|
+
}
|
|
21141
21431
|
}
|
|
21142
21432
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21143
21433
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21192,7 +21482,10 @@ var CamundaClient = class {
|
|
|
21192
21482
|
envelope.path = { resourceKey };
|
|
21193
21483
|
if (this._validation.settings.req !== "none") {
|
|
21194
21484
|
const _schemas = await this._loadSchemas();
|
|
21195
|
-
|
|
21485
|
+
if (envelope.path !== void 0) {
|
|
21486
|
+
const maybePath = await this._validation.gateRequest("getResource", _schemas.zGetResourcePath, envelope.path);
|
|
21487
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21488
|
+
}
|
|
21196
21489
|
}
|
|
21197
21490
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21198
21491
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21247,7 +21540,10 @@ var CamundaClient = class {
|
|
|
21247
21540
|
envelope.path = { resourceKey };
|
|
21248
21541
|
if (this._validation.settings.req !== "none") {
|
|
21249
21542
|
const _schemas = await this._loadSchemas();
|
|
21250
|
-
|
|
21543
|
+
if (envelope.path !== void 0) {
|
|
21544
|
+
const maybePath = await this._validation.gateRequest("getResourceContent", _schemas.zGetResourceContentPath, envelope.path);
|
|
21545
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21546
|
+
}
|
|
21251
21547
|
}
|
|
21252
21548
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21253
21549
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21302,7 +21598,10 @@ var CamundaClient = class {
|
|
|
21302
21598
|
envelope.path = { resourceKey };
|
|
21303
21599
|
if (this._validation.settings.req !== "none") {
|
|
21304
21600
|
const _schemas = await this._loadSchemas();
|
|
21305
|
-
|
|
21601
|
+
if (envelope.path !== void 0) {
|
|
21602
|
+
const maybePath = await this._validation.gateRequest("getResourceContentBinary", _schemas.zGetResourceContentBinaryPath, envelope.path);
|
|
21603
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21604
|
+
}
|
|
21306
21605
|
}
|
|
21307
21606
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21308
21607
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21400,7 +21699,10 @@ var CamundaClient = class {
|
|
|
21400
21699
|
envelope.path = { roleId };
|
|
21401
21700
|
if (this._validation.settings.req !== "none") {
|
|
21402
21701
|
const _schemas = await this._loadSchemas();
|
|
21403
|
-
|
|
21702
|
+
if (envelope.path !== void 0) {
|
|
21703
|
+
const maybePath = await this._validation.gateRequest("getRole", _schemas.zGetRolePath, envelope.path);
|
|
21704
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21705
|
+
}
|
|
21404
21706
|
}
|
|
21405
21707
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21406
21708
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21453,7 +21755,10 @@ var CamundaClient = class {
|
|
|
21453
21755
|
envelope.path = { backupId };
|
|
21454
21756
|
if (this._validation.settings.req !== "none") {
|
|
21455
21757
|
const _schemas = await this._loadSchemas();
|
|
21456
|
-
|
|
21758
|
+
if (envelope.path !== void 0) {
|
|
21759
|
+
const maybePath = await this._validation.gateRequest("getRuntimeBackup", _schemas.zGetRuntimeBackupPath, envelope.path);
|
|
21760
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21761
|
+
}
|
|
21457
21762
|
}
|
|
21458
21763
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21459
21764
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21549,7 +21854,10 @@ var CamundaClient = class {
|
|
|
21549
21854
|
envelope.path = { processDefinitionKey };
|
|
21550
21855
|
if (this._validation.settings.req !== "none") {
|
|
21551
21856
|
const _schemas = await this._loadSchemas();
|
|
21552
|
-
|
|
21857
|
+
if (envelope.path !== void 0) {
|
|
21858
|
+
const maybePath = await this._validation.gateRequest("getStartProcessForm", _schemas.zGetStartProcessFormPath, envelope.path);
|
|
21859
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
21860
|
+
}
|
|
21553
21861
|
}
|
|
21554
21862
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21555
21863
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21690,7 +21998,10 @@ var CamundaClient = class {
|
|
|
21690
21998
|
envelope.path = { tenantId };
|
|
21691
21999
|
if (this._validation.settings.req !== "none") {
|
|
21692
22000
|
const _schemas = await this._loadSchemas();
|
|
21693
|
-
|
|
22001
|
+
if (envelope.path !== void 0) {
|
|
22002
|
+
const maybePath = await this._validation.gateRequest("getTenant", _schemas.zGetTenantPath, envelope.path);
|
|
22003
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22004
|
+
}
|
|
21694
22005
|
}
|
|
21695
22006
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21696
22007
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21745,7 +22056,10 @@ var CamundaClient = class {
|
|
|
21745
22056
|
envelope.path = { tenantId, name };
|
|
21746
22057
|
if (this._validation.settings.req !== "none") {
|
|
21747
22058
|
const _schemas = await this._loadSchemas();
|
|
21748
|
-
|
|
22059
|
+
if (envelope.path !== void 0) {
|
|
22060
|
+
const maybePath = await this._validation.gateRequest("getTenantClusterVariable", _schemas.zGetTenantClusterVariablePath, envelope.path);
|
|
22061
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22062
|
+
}
|
|
21749
22063
|
}
|
|
21750
22064
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21751
22065
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21843,7 +22157,10 @@ var CamundaClient = class {
|
|
|
21843
22157
|
envelope.query = { startTime, endTime, tenantId, withTenants };
|
|
21844
22158
|
if (this._validation.settings.req !== "none") {
|
|
21845
22159
|
const _schemas = await this._loadSchemas();
|
|
21846
|
-
|
|
22160
|
+
if (envelope.query !== void 0) {
|
|
22161
|
+
const maybeQuery = await this._validation.gateRequest("getUsageMetrics", _schemas.zGetUsageMetricsQuery, envelope.query);
|
|
22162
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
22163
|
+
}
|
|
21847
22164
|
}
|
|
21848
22165
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21849
22166
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -21898,7 +22215,10 @@ var CamundaClient = class {
|
|
|
21898
22215
|
envelope.path = { username };
|
|
21899
22216
|
if (this._validation.settings.req !== "none") {
|
|
21900
22217
|
const _schemas = await this._loadSchemas();
|
|
21901
|
-
|
|
22218
|
+
if (envelope.path !== void 0) {
|
|
22219
|
+
const maybePath = await this._validation.gateRequest("getUser", _schemas.zGetUserPath, envelope.path);
|
|
22220
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22221
|
+
}
|
|
21902
22222
|
}
|
|
21903
22223
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21904
22224
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -21953,7 +22273,10 @@ var CamundaClient = class {
|
|
|
21953
22273
|
envelope.path = { userTaskKey };
|
|
21954
22274
|
if (this._validation.settings.req !== "none") {
|
|
21955
22275
|
const _schemas = await this._loadSchemas();
|
|
21956
|
-
|
|
22276
|
+
if (envelope.path !== void 0) {
|
|
22277
|
+
const maybePath = await this._validation.gateRequest("getUserTask", _schemas.zGetUserTaskPath, envelope.path);
|
|
22278
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22279
|
+
}
|
|
21957
22280
|
}
|
|
21958
22281
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
21959
22282
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22008,7 +22331,10 @@ var CamundaClient = class {
|
|
|
22008
22331
|
envelope.path = { userTaskKey };
|
|
22009
22332
|
if (this._validation.settings.req !== "none") {
|
|
22010
22333
|
const _schemas = await this._loadSchemas();
|
|
22011
|
-
|
|
22334
|
+
if (envelope.path !== void 0) {
|
|
22335
|
+
const maybePath = await this._validation.gateRequest("getUserTaskForm", _schemas.zGetUserTaskFormPath, envelope.path);
|
|
22336
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22337
|
+
}
|
|
22012
22338
|
}
|
|
22013
22339
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22014
22340
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22063,7 +22389,10 @@ var CamundaClient = class {
|
|
|
22063
22389
|
envelope.path = { variableKey };
|
|
22064
22390
|
if (this._validation.settings.req !== "none") {
|
|
22065
22391
|
const _schemas = await this._loadSchemas();
|
|
22066
|
-
|
|
22392
|
+
if (envelope.path !== void 0) {
|
|
22393
|
+
const maybePath = await this._validation.gateRequest("getVariable", _schemas.zGetVariablePath, envelope.path);
|
|
22394
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22395
|
+
}
|
|
22067
22396
|
}
|
|
22068
22397
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22069
22398
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22116,7 +22445,10 @@ var CamundaClient = class {
|
|
|
22116
22445
|
envelope.query = { prefix };
|
|
22117
22446
|
if (this._validation.settings.req !== "none") {
|
|
22118
22447
|
const _schemas = await this._loadSchemas();
|
|
22119
|
-
|
|
22448
|
+
if (envelope.query !== void 0) {
|
|
22449
|
+
const maybeQuery = await this._validation.gateRequest("listRuntimeBackups", _schemas.zListRuntimeBackupsQuery, envelope.query);
|
|
22450
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
22451
|
+
}
|
|
22120
22452
|
}
|
|
22121
22453
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22122
22454
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -22226,6 +22558,10 @@ var CamundaClient = class {
|
|
|
22226
22558
|
const maybeBody = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstanceBody, envelope.body);
|
|
22227
22559
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
22228
22560
|
}
|
|
22561
|
+
if (envelope.path !== void 0) {
|
|
22562
|
+
const maybePath = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstancePath, envelope.path);
|
|
22563
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22564
|
+
}
|
|
22229
22565
|
}
|
|
22230
22566
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22231
22567
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22336,6 +22672,10 @@ var CamundaClient = class {
|
|
|
22336
22672
|
const maybeBody = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstanceBody, envelope.body);
|
|
22337
22673
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
22338
22674
|
}
|
|
22675
|
+
if (envelope.path !== void 0) {
|
|
22676
|
+
const maybePath = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstancePath, envelope.path);
|
|
22677
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
22678
|
+
}
|
|
22339
22679
|
}
|
|
22340
22680
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22341
22681
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22441,7 +22781,10 @@ var CamundaClient = class {
|
|
|
22441
22781
|
envelope.query = { soft };
|
|
22442
22782
|
if (this._validation.settings.req !== "none") {
|
|
22443
22783
|
const _schemas = await this._loadSchemas();
|
|
22444
|
-
|
|
22784
|
+
if (envelope.query !== void 0) {
|
|
22785
|
+
const maybeQuery = await this._validation.gateRequest("pauseExporting", _schemas.zPauseExportingQuery, envelope.query);
|
|
22786
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
22787
|
+
}
|
|
22445
22788
|
}
|
|
22446
22789
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22447
22790
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -22652,6 +22995,10 @@ var CamundaClient = class {
|
|
|
22652
22995
|
const maybeBody = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentBody, envelope.body);
|
|
22653
22996
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
22654
22997
|
}
|
|
22998
|
+
if (envelope.path !== void 0) {
|
|
22999
|
+
const maybePath = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentPath, envelope.path);
|
|
23000
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23001
|
+
}
|
|
22655
23002
|
}
|
|
22656
23003
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22657
23004
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22757,7 +23104,10 @@ var CamundaClient = class {
|
|
|
22757
23104
|
envelope.path = { processInstanceKey };
|
|
22758
23105
|
if (this._validation.settings.req !== "none") {
|
|
22759
23106
|
const _schemas = await this._loadSchemas();
|
|
22760
|
-
|
|
23107
|
+
if (envelope.path !== void 0) {
|
|
23108
|
+
const maybePath = await this._validation.gateRequest("resolveProcessInstanceIncidents", _schemas.zResolveProcessInstanceIncidentsPath, envelope.path);
|
|
23109
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23110
|
+
}
|
|
22761
23111
|
}
|
|
22762
23112
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22763
23113
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -22921,6 +23271,10 @@ var CamundaClient = class {
|
|
|
22921
23271
|
const maybeBody = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationBody, envelope.body);
|
|
22922
23272
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
22923
23273
|
}
|
|
23274
|
+
if (envelope.path !== void 0) {
|
|
23275
|
+
const maybePath = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationPath, envelope.path);
|
|
23276
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23277
|
+
}
|
|
22924
23278
|
}
|
|
22925
23279
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
22926
23280
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23020,6 +23374,10 @@ var CamundaClient = class {
|
|
|
23020
23374
|
const maybeBody = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstanceBody, envelope.body);
|
|
23021
23375
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23022
23376
|
}
|
|
23377
|
+
if (envelope.path !== void 0) {
|
|
23378
|
+
const maybePath = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstancePath, envelope.path);
|
|
23379
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23380
|
+
}
|
|
23023
23381
|
}
|
|
23024
23382
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23025
23383
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23132,6 +23490,10 @@ var CamundaClient = class {
|
|
|
23132
23490
|
const maybeBody = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryBody, envelope.body);
|
|
23133
23491
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23134
23492
|
}
|
|
23493
|
+
if (envelope.path !== void 0) {
|
|
23494
|
+
const maybePath = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryPath, envelope.path);
|
|
23495
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23496
|
+
}
|
|
23135
23497
|
}
|
|
23136
23498
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23137
23499
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23482,6 +23844,10 @@ var CamundaClient = class {
|
|
|
23482
23844
|
const maybeBody = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupBody, envelope.body);
|
|
23483
23845
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23484
23846
|
}
|
|
23847
|
+
if (envelope.path !== void 0) {
|
|
23848
|
+
const maybePath = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupPath, envelope.path);
|
|
23849
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23850
|
+
}
|
|
23485
23851
|
}
|
|
23486
23852
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23487
23853
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23542,6 +23908,10 @@ var CamundaClient = class {
|
|
|
23542
23908
|
const maybeBody = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRoleBody, envelope.body);
|
|
23543
23909
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23544
23910
|
}
|
|
23911
|
+
if (envelope.path !== void 0) {
|
|
23912
|
+
const maybePath = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRolePath, envelope.path);
|
|
23913
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23914
|
+
}
|
|
23545
23915
|
}
|
|
23546
23916
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23547
23917
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23602,6 +23972,10 @@ var CamundaClient = class {
|
|
|
23602
23972
|
const maybeBody = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantBody, envelope.body);
|
|
23603
23973
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23604
23974
|
}
|
|
23975
|
+
if (envelope.path !== void 0) {
|
|
23976
|
+
const maybePath = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantPath, envelope.path);
|
|
23977
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
23978
|
+
}
|
|
23605
23979
|
}
|
|
23606
23980
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23607
23981
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -23662,6 +24036,10 @@ var CamundaClient = class {
|
|
|
23662
24036
|
const maybeBody = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesBody, envelope.body);
|
|
23663
24037
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23664
24038
|
}
|
|
24039
|
+
if (envelope.query !== void 0) {
|
|
24040
|
+
const maybeQuery = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesQuery, envelope.query);
|
|
24041
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
24042
|
+
}
|
|
23665
24043
|
}
|
|
23666
24044
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23667
24045
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -23954,6 +24332,10 @@ var CamundaClient = class {
|
|
|
23954
24332
|
const maybeBody = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsBody, envelope.body);
|
|
23955
24333
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
23956
24334
|
}
|
|
24335
|
+
if (envelope.path !== void 0) {
|
|
24336
|
+
const maybePath = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsPath, envelope.path);
|
|
24337
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
24338
|
+
}
|
|
23957
24339
|
}
|
|
23958
24340
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
23959
24341
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24188,6 +24570,10 @@ var CamundaClient = class {
|
|
|
24188
24570
|
const maybeBody = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantBody, envelope.body);
|
|
24189
24571
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24190
24572
|
}
|
|
24573
|
+
if (envelope.path !== void 0) {
|
|
24574
|
+
const maybePath = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantPath, envelope.path);
|
|
24575
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
24576
|
+
}
|
|
24191
24577
|
}
|
|
24192
24578
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24193
24579
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24306,6 +24692,10 @@ var CamundaClient = class {
|
|
|
24306
24692
|
const maybeBody = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRoleBody, envelope.body);
|
|
24307
24693
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24308
24694
|
}
|
|
24695
|
+
if (envelope.path !== void 0) {
|
|
24696
|
+
const maybePath = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRolePath, envelope.path);
|
|
24697
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
24698
|
+
}
|
|
24309
24699
|
}
|
|
24310
24700
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24311
24701
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24540,6 +24930,10 @@ var CamundaClient = class {
|
|
|
24540
24930
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupBody, envelope.body);
|
|
24541
24931
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24542
24932
|
}
|
|
24933
|
+
if (envelope.path !== void 0) {
|
|
24934
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupPath, envelope.path);
|
|
24935
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
24936
|
+
}
|
|
24543
24937
|
}
|
|
24544
24938
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24545
24939
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24600,6 +24994,10 @@ var CamundaClient = class {
|
|
|
24600
24994
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRoleBody, envelope.body);
|
|
24601
24995
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24602
24996
|
}
|
|
24997
|
+
if (envelope.path !== void 0) {
|
|
24998
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRolePath, envelope.path);
|
|
24999
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25000
|
+
}
|
|
24603
25001
|
}
|
|
24604
25002
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24605
25003
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24660,6 +25058,10 @@ var CamundaClient = class {
|
|
|
24660
25058
|
const maybeBody = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantBody, envelope.body);
|
|
24661
25059
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24662
25060
|
}
|
|
25061
|
+
if (envelope.path !== void 0) {
|
|
25062
|
+
const maybePath = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantPath, envelope.path);
|
|
25063
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25064
|
+
}
|
|
24663
25065
|
}
|
|
24664
25066
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24665
25067
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24836,6 +25238,10 @@ var CamundaClient = class {
|
|
|
24836
25238
|
const maybeBody = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesBody, envelope.body);
|
|
24837
25239
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24838
25240
|
}
|
|
25241
|
+
if (envelope.path !== void 0) {
|
|
25242
|
+
const maybePath = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesPath, envelope.path);
|
|
25243
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25244
|
+
}
|
|
24839
25245
|
}
|
|
24840
25246
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24841
25247
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -24896,6 +25302,10 @@ var CamundaClient = class {
|
|
|
24896
25302
|
const maybeBody = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsBody, envelope.body);
|
|
24897
25303
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
24898
25304
|
}
|
|
25305
|
+
if (envelope.path !== void 0) {
|
|
25306
|
+
const maybePath = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsPath, envelope.path);
|
|
25307
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25308
|
+
}
|
|
24899
25309
|
}
|
|
24900
25310
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
24901
25311
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25130,6 +25540,10 @@ var CamundaClient = class {
|
|
|
25130
25540
|
const maybeBody = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupBody, envelope.body);
|
|
25131
25541
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25132
25542
|
}
|
|
25543
|
+
if (envelope.path !== void 0) {
|
|
25544
|
+
const maybePath = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupPath, envelope.path);
|
|
25545
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25546
|
+
}
|
|
25133
25547
|
}
|
|
25134
25548
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25135
25549
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25190,6 +25604,10 @@ var CamundaClient = class {
|
|
|
25190
25604
|
const maybeBody = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantBody, envelope.body);
|
|
25191
25605
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25192
25606
|
}
|
|
25607
|
+
if (envelope.path !== void 0) {
|
|
25608
|
+
const maybePath = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantPath, envelope.path);
|
|
25609
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25610
|
+
}
|
|
25193
25611
|
}
|
|
25194
25612
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25195
25613
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25366,6 +25784,10 @@ var CamundaClient = class {
|
|
|
25366
25784
|
const maybeBody = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupBody, envelope.body);
|
|
25367
25785
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25368
25786
|
}
|
|
25787
|
+
if (envelope.path !== void 0) {
|
|
25788
|
+
const maybePath = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupPath, envelope.path);
|
|
25789
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25790
|
+
}
|
|
25369
25791
|
}
|
|
25370
25792
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25371
25793
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25426,6 +25848,10 @@ var CamundaClient = class {
|
|
|
25426
25848
|
const maybeBody = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRoleBody, envelope.body);
|
|
25427
25849
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25428
25850
|
}
|
|
25851
|
+
if (envelope.path !== void 0) {
|
|
25852
|
+
const maybePath = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRolePath, envelope.path);
|
|
25853
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25854
|
+
}
|
|
25429
25855
|
}
|
|
25430
25856
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25431
25857
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25486,6 +25912,10 @@ var CamundaClient = class {
|
|
|
25486
25912
|
const maybeBody = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantBody, envelope.body);
|
|
25487
25913
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25488
25914
|
}
|
|
25915
|
+
if (envelope.path !== void 0) {
|
|
25916
|
+
const maybePath = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantPath, envelope.path);
|
|
25917
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25918
|
+
}
|
|
25489
25919
|
}
|
|
25490
25920
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25491
25921
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25546,6 +25976,10 @@ var CamundaClient = class {
|
|
|
25546
25976
|
const maybeBody = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsBody, envelope.body);
|
|
25547
25977
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25548
25978
|
}
|
|
25979
|
+
if (envelope.path !== void 0) {
|
|
25980
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsPath, envelope.path);
|
|
25981
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
25982
|
+
}
|
|
25549
25983
|
}
|
|
25550
25984
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25551
25985
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25607,6 +26041,14 @@ var CamundaClient = class {
|
|
|
25607
26041
|
const maybeBody = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesBody, envelope.body);
|
|
25608
26042
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25609
26043
|
}
|
|
26044
|
+
if (envelope.path !== void 0) {
|
|
26045
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesPath, envelope.path);
|
|
26046
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26047
|
+
}
|
|
26048
|
+
if (envelope.query !== void 0) {
|
|
26049
|
+
const maybeQuery = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesQuery, envelope.query);
|
|
26050
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
26051
|
+
}
|
|
25610
26052
|
}
|
|
25611
26053
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25612
26054
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25727,6 +26169,14 @@ var CamundaClient = class {
|
|
|
25727
26169
|
const maybeBody = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesBody, envelope.body);
|
|
25728
26170
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25729
26171
|
}
|
|
26172
|
+
if (envelope.path !== void 0) {
|
|
26173
|
+
const maybePath = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesPath, envelope.path);
|
|
26174
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26175
|
+
}
|
|
26176
|
+
if (envelope.query !== void 0) {
|
|
26177
|
+
const maybeQuery = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesQuery, envelope.query);
|
|
26178
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
26179
|
+
}
|
|
25730
26180
|
}
|
|
25731
26181
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25732
26182
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25788,6 +26238,10 @@ var CamundaClient = class {
|
|
|
25788
26238
|
const maybeBody = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesBody, envelope.body);
|
|
25789
26239
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25790
26240
|
}
|
|
26241
|
+
if (envelope.query !== void 0) {
|
|
26242
|
+
const maybeQuery = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesQuery, envelope.query);
|
|
26243
|
+
if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
|
|
26244
|
+
}
|
|
25791
26245
|
}
|
|
25792
26246
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25793
26247
|
if (envelope.query) opts.query = envelope.query;
|
|
@@ -25846,6 +26300,10 @@ var CamundaClient = class {
|
|
|
25846
26300
|
const maybeBody = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationBody, envelope.body);
|
|
25847
26301
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25848
26302
|
}
|
|
26303
|
+
if (envelope.path !== void 0) {
|
|
26304
|
+
const maybePath = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationPath, envelope.path);
|
|
26305
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26306
|
+
}
|
|
25849
26307
|
}
|
|
25850
26308
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25851
26309
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -25902,6 +26360,10 @@ var CamundaClient = class {
|
|
|
25902
26360
|
const maybeBody = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstanceBody, envelope.body);
|
|
25903
26361
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
25904
26362
|
}
|
|
26363
|
+
if (envelope.path !== void 0) {
|
|
26364
|
+
const maybePath = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstancePath, envelope.path);
|
|
26365
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26366
|
+
}
|
|
25905
26367
|
}
|
|
25906
26368
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
25907
26369
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26109,6 +26571,10 @@ var CamundaClient = class {
|
|
|
26109
26571
|
const maybeBody = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorBody, envelope.body);
|
|
26110
26572
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
26111
26573
|
}
|
|
26574
|
+
if (envelope.path !== void 0) {
|
|
26575
|
+
const maybePath = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorPath, envelope.path);
|
|
26576
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26577
|
+
}
|
|
26112
26578
|
}
|
|
26113
26579
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26114
26580
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26160,7 +26626,10 @@ var CamundaClient = class {
|
|
|
26160
26626
|
envelope.path = { groupId, clientId };
|
|
26161
26627
|
if (this._validation.settings.req !== "none") {
|
|
26162
26628
|
const _schemas = await this._loadSchemas();
|
|
26163
|
-
|
|
26629
|
+
if (envelope.path !== void 0) {
|
|
26630
|
+
const maybePath = await this._validation.gateRequest("unassignClientFromGroup", _schemas.zUnassignClientFromGroupPath, envelope.path);
|
|
26631
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26632
|
+
}
|
|
26164
26633
|
}
|
|
26165
26634
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26166
26635
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26211,7 +26680,10 @@ var CamundaClient = class {
|
|
|
26211
26680
|
envelope.path = { tenantId, clientId };
|
|
26212
26681
|
if (this._validation.settings.req !== "none") {
|
|
26213
26682
|
const _schemas = await this._loadSchemas();
|
|
26214
|
-
|
|
26683
|
+
if (envelope.path !== void 0) {
|
|
26684
|
+
const maybePath = await this._validation.gateRequest("unassignClientFromTenant", _schemas.zUnassignClientFromTenantPath, envelope.path);
|
|
26685
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26686
|
+
}
|
|
26215
26687
|
}
|
|
26216
26688
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26217
26689
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26262,7 +26734,10 @@ var CamundaClient = class {
|
|
|
26262
26734
|
envelope.path = { tenantId, groupId };
|
|
26263
26735
|
if (this._validation.settings.req !== "none") {
|
|
26264
26736
|
const _schemas = await this._loadSchemas();
|
|
26265
|
-
|
|
26737
|
+
if (envelope.path !== void 0) {
|
|
26738
|
+
const maybePath = await this._validation.gateRequest("unassignGroupFromTenant", _schemas.zUnassignGroupFromTenantPath, envelope.path);
|
|
26739
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26740
|
+
}
|
|
26266
26741
|
}
|
|
26267
26742
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26268
26743
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26313,7 +26788,10 @@ var CamundaClient = class {
|
|
|
26313
26788
|
envelope.path = { groupId, mappingRuleId };
|
|
26314
26789
|
if (this._validation.settings.req !== "none") {
|
|
26315
26790
|
const _schemas = await this._loadSchemas();
|
|
26316
|
-
|
|
26791
|
+
if (envelope.path !== void 0) {
|
|
26792
|
+
const maybePath = await this._validation.gateRequest("unassignMappingRuleFromGroup", _schemas.zUnassignMappingRuleFromGroupPath, envelope.path);
|
|
26793
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26794
|
+
}
|
|
26317
26795
|
}
|
|
26318
26796
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26319
26797
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26364,7 +26842,10 @@ var CamundaClient = class {
|
|
|
26364
26842
|
envelope.path = { tenantId, mappingRuleId };
|
|
26365
26843
|
if (this._validation.settings.req !== "none") {
|
|
26366
26844
|
const _schemas = await this._loadSchemas();
|
|
26367
|
-
|
|
26845
|
+
if (envelope.path !== void 0) {
|
|
26846
|
+
const maybePath = await this._validation.gateRequest("unassignMappingRuleFromTenant", _schemas.zUnassignMappingRuleFromTenantPath, envelope.path);
|
|
26847
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26848
|
+
}
|
|
26368
26849
|
}
|
|
26369
26850
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26370
26851
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26415,7 +26896,10 @@ var CamundaClient = class {
|
|
|
26415
26896
|
envelope.path = { roleId, clientId };
|
|
26416
26897
|
if (this._validation.settings.req !== "none") {
|
|
26417
26898
|
const _schemas = await this._loadSchemas();
|
|
26418
|
-
|
|
26899
|
+
if (envelope.path !== void 0) {
|
|
26900
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromClient", _schemas.zUnassignRoleFromClientPath, envelope.path);
|
|
26901
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26902
|
+
}
|
|
26419
26903
|
}
|
|
26420
26904
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26421
26905
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26466,7 +26950,10 @@ var CamundaClient = class {
|
|
|
26466
26950
|
envelope.path = { roleId, groupId };
|
|
26467
26951
|
if (this._validation.settings.req !== "none") {
|
|
26468
26952
|
const _schemas = await this._loadSchemas();
|
|
26469
|
-
|
|
26953
|
+
if (envelope.path !== void 0) {
|
|
26954
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromGroup", _schemas.zUnassignRoleFromGroupPath, envelope.path);
|
|
26955
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
26956
|
+
}
|
|
26470
26957
|
}
|
|
26471
26958
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26472
26959
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26517,7 +27004,10 @@ var CamundaClient = class {
|
|
|
26517
27004
|
envelope.path = { roleId, mappingRuleId };
|
|
26518
27005
|
if (this._validation.settings.req !== "none") {
|
|
26519
27006
|
const _schemas = await this._loadSchemas();
|
|
26520
|
-
|
|
27007
|
+
if (envelope.path !== void 0) {
|
|
27008
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromMappingRule", _schemas.zUnassignRoleFromMappingRulePath, envelope.path);
|
|
27009
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27010
|
+
}
|
|
26521
27011
|
}
|
|
26522
27012
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26523
27013
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26568,7 +27058,10 @@ var CamundaClient = class {
|
|
|
26568
27058
|
envelope.path = { tenantId, roleId };
|
|
26569
27059
|
if (this._validation.settings.req !== "none") {
|
|
26570
27060
|
const _schemas = await this._loadSchemas();
|
|
26571
|
-
|
|
27061
|
+
if (envelope.path !== void 0) {
|
|
27062
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromTenant", _schemas.zUnassignRoleFromTenantPath, envelope.path);
|
|
27063
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27064
|
+
}
|
|
26572
27065
|
}
|
|
26573
27066
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26574
27067
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26619,7 +27112,10 @@ var CamundaClient = class {
|
|
|
26619
27112
|
envelope.path = { roleId, username };
|
|
26620
27113
|
if (this._validation.settings.req !== "none") {
|
|
26621
27114
|
const _schemas = await this._loadSchemas();
|
|
26622
|
-
|
|
27115
|
+
if (envelope.path !== void 0) {
|
|
27116
|
+
const maybePath = await this._validation.gateRequest("unassignRoleFromUser", _schemas.zUnassignRoleFromUserPath, envelope.path);
|
|
27117
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27118
|
+
}
|
|
26623
27119
|
}
|
|
26624
27120
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26625
27121
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26670,7 +27166,10 @@ var CamundaClient = class {
|
|
|
26670
27166
|
envelope.path = { groupId, username };
|
|
26671
27167
|
if (this._validation.settings.req !== "none") {
|
|
26672
27168
|
const _schemas = await this._loadSchemas();
|
|
26673
|
-
|
|
27169
|
+
if (envelope.path !== void 0) {
|
|
27170
|
+
const maybePath = await this._validation.gateRequest("unassignUserFromGroup", _schemas.zUnassignUserFromGroupPath, envelope.path);
|
|
27171
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27172
|
+
}
|
|
26674
27173
|
}
|
|
26675
27174
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26676
27175
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26721,7 +27220,10 @@ var CamundaClient = class {
|
|
|
26721
27220
|
envelope.path = { tenantId, username };
|
|
26722
27221
|
if (this._validation.settings.req !== "none") {
|
|
26723
27222
|
const _schemas = await this._loadSchemas();
|
|
26724
|
-
|
|
27223
|
+
if (envelope.path !== void 0) {
|
|
27224
|
+
const maybePath = await this._validation.gateRequest("unassignUserFromTenant", _schemas.zUnassignUserFromTenantPath, envelope.path);
|
|
27225
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27226
|
+
}
|
|
26725
27227
|
}
|
|
26726
27228
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26727
27229
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26772,7 +27274,10 @@ var CamundaClient = class {
|
|
|
26772
27274
|
envelope.path = { userTaskKey };
|
|
26773
27275
|
if (this._validation.settings.req !== "none") {
|
|
26774
27276
|
const _schemas = await this._loadSchemas();
|
|
26775
|
-
|
|
27277
|
+
if (envelope.path !== void 0) {
|
|
27278
|
+
const maybePath = await this._validation.gateRequest("unassignUserTask", _schemas.zUnassignUserTaskPath, envelope.path);
|
|
27279
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27280
|
+
}
|
|
26776
27281
|
}
|
|
26777
27282
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26778
27283
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26828,6 +27333,10 @@ var CamundaClient = class {
|
|
|
26828
27333
|
const maybeBody = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstanceBody, envelope.body);
|
|
26829
27334
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
26830
27335
|
}
|
|
27336
|
+
if (envelope.path !== void 0) {
|
|
27337
|
+
const maybePath = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstancePath, envelope.path);
|
|
27338
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27339
|
+
}
|
|
26831
27340
|
}
|
|
26832
27341
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26833
27342
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26884,6 +27393,10 @@ var CamundaClient = class {
|
|
|
26884
27393
|
const maybeBody = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationBody, envelope.body);
|
|
26885
27394
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
26886
27395
|
}
|
|
27396
|
+
if (envelope.path !== void 0) {
|
|
27397
|
+
const maybePath = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationPath, envelope.path);
|
|
27398
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27399
|
+
}
|
|
26887
27400
|
}
|
|
26888
27401
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26889
27402
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26940,6 +27453,10 @@ var CamundaClient = class {
|
|
|
26940
27453
|
const maybeBody = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariableBody, envelope.body);
|
|
26941
27454
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
26942
27455
|
}
|
|
27456
|
+
if (envelope.path !== void 0) {
|
|
27457
|
+
const maybePath = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariablePath, envelope.path);
|
|
27458
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27459
|
+
}
|
|
26943
27460
|
}
|
|
26944
27461
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
26945
27462
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -26996,6 +27513,10 @@ var CamundaClient = class {
|
|
|
26996
27513
|
const maybeBody = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerBody, envelope.body);
|
|
26997
27514
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
26998
27515
|
}
|
|
27516
|
+
if (envelope.path !== void 0) {
|
|
27517
|
+
const maybePath = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerPath, envelope.path);
|
|
27518
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27519
|
+
}
|
|
26999
27520
|
}
|
|
27000
27521
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27001
27522
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27052,6 +27573,10 @@ var CamundaClient = class {
|
|
|
27052
27573
|
const maybeBody = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupBody, envelope.body);
|
|
27053
27574
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27054
27575
|
}
|
|
27576
|
+
if (envelope.path !== void 0) {
|
|
27577
|
+
const maybePath = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupPath, envelope.path);
|
|
27578
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27579
|
+
}
|
|
27055
27580
|
}
|
|
27056
27581
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27057
27582
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27108,6 +27633,10 @@ var CamundaClient = class {
|
|
|
27108
27633
|
const maybeBody = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobBody, envelope.body);
|
|
27109
27634
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27110
27635
|
}
|
|
27636
|
+
if (envelope.path !== void 0) {
|
|
27637
|
+
const maybePath = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobPath, envelope.path);
|
|
27638
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27639
|
+
}
|
|
27111
27640
|
}
|
|
27112
27641
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27113
27642
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27218,6 +27747,10 @@ var CamundaClient = class {
|
|
|
27218
27747
|
const maybeBody = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRuleBody, envelope.body);
|
|
27219
27748
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27220
27749
|
}
|
|
27750
|
+
if (envelope.path !== void 0) {
|
|
27751
|
+
const maybePath = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRulePath, envelope.path);
|
|
27752
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27753
|
+
}
|
|
27221
27754
|
}
|
|
27222
27755
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27223
27756
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27274,6 +27807,10 @@ var CamundaClient = class {
|
|
|
27274
27807
|
const maybeBody = await this._validation.gateRequest("updateRole", _schemas.zUpdateRoleBody, envelope.body);
|
|
27275
27808
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27276
27809
|
}
|
|
27810
|
+
if (envelope.path !== void 0) {
|
|
27811
|
+
const maybePath = await this._validation.gateRequest("updateRole", _schemas.zUpdateRolePath, envelope.path);
|
|
27812
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27813
|
+
}
|
|
27277
27814
|
}
|
|
27278
27815
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27279
27816
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27330,6 +27867,10 @@ var CamundaClient = class {
|
|
|
27330
27867
|
const maybeBody = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantBody, envelope.body);
|
|
27331
27868
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27332
27869
|
}
|
|
27870
|
+
if (envelope.path !== void 0) {
|
|
27871
|
+
const maybePath = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantPath, envelope.path);
|
|
27872
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27873
|
+
}
|
|
27333
27874
|
}
|
|
27334
27875
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27335
27876
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27386,6 +27927,10 @@ var CamundaClient = class {
|
|
|
27386
27927
|
const maybeBody = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariableBody, envelope.body);
|
|
27387
27928
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27388
27929
|
}
|
|
27930
|
+
if (envelope.path !== void 0) {
|
|
27931
|
+
const maybePath = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariablePath, envelope.path);
|
|
27932
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27933
|
+
}
|
|
27389
27934
|
}
|
|
27390
27935
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27391
27936
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27442,6 +27987,10 @@ var CamundaClient = class {
|
|
|
27442
27987
|
const maybeBody = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserBody, envelope.body);
|
|
27443
27988
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27444
27989
|
}
|
|
27990
|
+
if (envelope.path !== void 0) {
|
|
27991
|
+
const maybePath = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserPath, envelope.path);
|
|
27992
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
27993
|
+
}
|
|
27445
27994
|
}
|
|
27446
27995
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27447
27996
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27498,6 +28047,10 @@ var CamundaClient = class {
|
|
|
27498
28047
|
const maybeBody = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskBody, envelope.body);
|
|
27499
28048
|
if (this._validation.settings.req === "strict") envelope.body = maybeBody;
|
|
27500
28049
|
}
|
|
28050
|
+
if (envelope.path !== void 0) {
|
|
28051
|
+
const maybePath = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskPath, envelope.path);
|
|
28052
|
+
if (this._validation.settings.req === "strict") envelope.path = maybePath;
|
|
28053
|
+
}
|
|
27501
28054
|
}
|
|
27502
28055
|
const opts = { client: this._client, signal, throwOnError: false };
|
|
27503
28056
|
if (envelope.path) opts.path = envelope.path;
|
|
@@ -27821,7 +28374,7 @@ function createCamundaFpClient(options) {
|
|
|
27821
28374
|
}
|
|
27822
28375
|
|
|
27823
28376
|
// src/gen/specHash.ts
|
|
27824
|
-
var SPEC_HASH = "sha256:
|
|
28377
|
+
var SPEC_HASH = "sha256:c8ee62d8a55a30aacaf1db6423b9d5972ff50c85fb1aba89fd518abbd36014a1";
|
|
27825
28378
|
|
|
27826
28379
|
// src/gen/types.gen.ts
|
|
27827
28380
|
var AgentInstanceStatusEnum = {
|