@camunda8/orchestration-cluster-api 10.0.0-alpha.22 → 10.0.0-alpha.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/fp/index.cjs CHANGED
@@ -3097,8 +3097,12 @@ var init_zod_gen = __esm({
3097
3097
  }).optional()
3098
3098
  }).nullable();
3099
3099
  zJobResult = z.union([
3100
- zJobResultUserTask,
3101
- zJobResultAdHocSubProcess
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 = zProcessInstanceCreationTerminateInstruction;
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, {
@@ -9254,6 +9260,7 @@ var createClient = (config = {}) => {
9254
9260
  const responseStyle = options.responseStyle ?? _config.responseStyle;
9255
9261
  let request2;
9256
9262
  let response;
9263
+ let __isHttpErrorResponse = false;
9257
9264
  try {
9258
9265
  const { opts, url: url2 } = await beforeRequest(options);
9259
9266
  const requestInit = {
@@ -9342,6 +9349,7 @@ var createClient = (config = {}) => {
9342
9349
  jsonError = JSON.parse(textError);
9343
9350
  } catch {
9344
9351
  }
9352
+ __isHttpErrorResponse = true;
9345
9353
  throw jsonError ?? textError;
9346
9354
  } catch (error) {
9347
9355
  let finalError = error;
@@ -9351,7 +9359,7 @@ var createClient = (config = {}) => {
9351
9359
  }
9352
9360
  }
9353
9361
  finalError = finalError || {};
9354
- if (throwOnError) {
9362
+ if (throwOnError || !__isHttpErrorResponse) {
9355
9363
  throw finalError;
9356
9364
  }
9357
9365
  return responseStyle === "data" ? void 0 : {
@@ -12967,7 +12975,7 @@ function createLogger(opts = {}) {
12967
12975
  }
12968
12976
 
12969
12977
  // src/runtime/version.ts
12970
- var packageVersion = "10.0.0-alpha.22";
12978
+ var packageVersion = "10.0.0-alpha.24";
12971
12979
 
12972
12980
  // src/runtime/supportLogger.ts
12973
12981
  var NoopSupportLogger = class {
@@ -15563,6 +15571,10 @@ var CamundaClient = class {
15563
15571
  const maybeBody = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesBody, envelope.body);
15564
15572
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15565
15573
  }
15574
+ if (envelope.path !== void 0) {
15575
+ const maybePath = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesPath, envelope.path);
15576
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15577
+ }
15566
15578
  }
15567
15579
  const opts = { client: this._client, signal, throwOnError: false };
15568
15580
  if (envelope.path) opts.path = envelope.path;
@@ -15675,7 +15687,10 @@ var CamundaClient = class {
15675
15687
  envelope.path = { groupId, clientId };
15676
15688
  if (this._validation.settings.req !== "none") {
15677
15689
  const _schemas = await this._loadSchemas();
15678
- await this._validation.gateRequest("assignClientToGroup", void 0, envelope);
15690
+ if (envelope.path !== void 0) {
15691
+ const maybePath = await this._validation.gateRequest("assignClientToGroup", _schemas.zAssignClientToGroupPath, envelope.path);
15692
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15693
+ }
15679
15694
  }
15680
15695
  const opts = { client: this._client, signal, throwOnError: false };
15681
15696
  if (envelope.path) opts.path = envelope.path;
@@ -15726,7 +15741,10 @@ var CamundaClient = class {
15726
15741
  envelope.path = { tenantId, clientId };
15727
15742
  if (this._validation.settings.req !== "none") {
15728
15743
  const _schemas = await this._loadSchemas();
15729
- await this._validation.gateRequest("assignClientToTenant", void 0, envelope);
15744
+ if (envelope.path !== void 0) {
15745
+ const maybePath = await this._validation.gateRequest("assignClientToTenant", _schemas.zAssignClientToTenantPath, envelope.path);
15746
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15747
+ }
15730
15748
  }
15731
15749
  const opts = { client: this._client, signal, throwOnError: false };
15732
15750
  if (envelope.path) opts.path = envelope.path;
@@ -15777,7 +15795,10 @@ var CamundaClient = class {
15777
15795
  envelope.path = { tenantId, groupId };
15778
15796
  if (this._validation.settings.req !== "none") {
15779
15797
  const _schemas = await this._loadSchemas();
15780
- await this._validation.gateRequest("assignGroupToTenant", void 0, envelope);
15798
+ if (envelope.path !== void 0) {
15799
+ const maybePath = await this._validation.gateRequest("assignGroupToTenant", _schemas.zAssignGroupToTenantPath, envelope.path);
15800
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15801
+ }
15781
15802
  }
15782
15803
  const opts = { client: this._client, signal, throwOnError: false };
15783
15804
  if (envelope.path) opts.path = envelope.path;
@@ -15828,7 +15849,10 @@ var CamundaClient = class {
15828
15849
  envelope.path = { groupId, mappingRuleId };
15829
15850
  if (this._validation.settings.req !== "none") {
15830
15851
  const _schemas = await this._loadSchemas();
15831
- await this._validation.gateRequest("assignMappingRuleToGroup", void 0, envelope);
15852
+ if (envelope.path !== void 0) {
15853
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToGroup", _schemas.zAssignMappingRuleToGroupPath, envelope.path);
15854
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15855
+ }
15832
15856
  }
15833
15857
  const opts = { client: this._client, signal, throwOnError: false };
15834
15858
  if (envelope.path) opts.path = envelope.path;
@@ -15879,7 +15903,10 @@ var CamundaClient = class {
15879
15903
  envelope.path = { tenantId, mappingRuleId };
15880
15904
  if (this._validation.settings.req !== "none") {
15881
15905
  const _schemas = await this._loadSchemas();
15882
- await this._validation.gateRequest("assignMappingRuleToTenant", void 0, envelope);
15906
+ if (envelope.path !== void 0) {
15907
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToTenant", _schemas.zAssignMappingRuleToTenantPath, envelope.path);
15908
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15909
+ }
15883
15910
  }
15884
15911
  const opts = { client: this._client, signal, throwOnError: false };
15885
15912
  if (envelope.path) opts.path = envelope.path;
@@ -15935,6 +15962,10 @@ var CamundaClient = class {
15935
15962
  const maybeBody = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdBody, envelope.body);
15936
15963
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15937
15964
  }
15965
+ if (envelope.path !== void 0) {
15966
+ const maybePath = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdPath, envelope.path);
15967
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15968
+ }
15938
15969
  }
15939
15970
  const opts = { client: this._client, signal, throwOnError: false };
15940
15971
  if (envelope.path) opts.path = envelope.path;
@@ -15986,7 +16017,10 @@ var CamundaClient = class {
15986
16017
  envelope.path = { roleId, clientId };
15987
16018
  if (this._validation.settings.req !== "none") {
15988
16019
  const _schemas = await this._loadSchemas();
15989
- await this._validation.gateRequest("assignRoleToClient", void 0, envelope);
16020
+ if (envelope.path !== void 0) {
16021
+ const maybePath = await this._validation.gateRequest("assignRoleToClient", _schemas.zAssignRoleToClientPath, envelope.path);
16022
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16023
+ }
15990
16024
  }
15991
16025
  const opts = { client: this._client, signal, throwOnError: false };
15992
16026
  if (envelope.path) opts.path = envelope.path;
@@ -16037,7 +16071,10 @@ var CamundaClient = class {
16037
16071
  envelope.path = { roleId, groupId };
16038
16072
  if (this._validation.settings.req !== "none") {
16039
16073
  const _schemas = await this._loadSchemas();
16040
- await this._validation.gateRequest("assignRoleToGroup", void 0, envelope);
16074
+ if (envelope.path !== void 0) {
16075
+ const maybePath = await this._validation.gateRequest("assignRoleToGroup", _schemas.zAssignRoleToGroupPath, envelope.path);
16076
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16077
+ }
16041
16078
  }
16042
16079
  const opts = { client: this._client, signal, throwOnError: false };
16043
16080
  if (envelope.path) opts.path = envelope.path;
@@ -16088,7 +16125,10 @@ var CamundaClient = class {
16088
16125
  envelope.path = { roleId, mappingRuleId };
16089
16126
  if (this._validation.settings.req !== "none") {
16090
16127
  const _schemas = await this._loadSchemas();
16091
- await this._validation.gateRequest("assignRoleToMappingRule", void 0, envelope);
16128
+ if (envelope.path !== void 0) {
16129
+ const maybePath = await this._validation.gateRequest("assignRoleToMappingRule", _schemas.zAssignRoleToMappingRulePath, envelope.path);
16130
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16131
+ }
16092
16132
  }
16093
16133
  const opts = { client: this._client, signal, throwOnError: false };
16094
16134
  if (envelope.path) opts.path = envelope.path;
@@ -16139,7 +16179,10 @@ var CamundaClient = class {
16139
16179
  envelope.path = { tenantId, roleId };
16140
16180
  if (this._validation.settings.req !== "none") {
16141
16181
  const _schemas = await this._loadSchemas();
16142
- await this._validation.gateRequest("assignRoleToTenant", void 0, envelope);
16182
+ if (envelope.path !== void 0) {
16183
+ const maybePath = await this._validation.gateRequest("assignRoleToTenant", _schemas.zAssignRoleToTenantPath, envelope.path);
16184
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16185
+ }
16143
16186
  }
16144
16187
  const opts = { client: this._client, signal, throwOnError: false };
16145
16188
  if (envelope.path) opts.path = envelope.path;
@@ -16190,7 +16233,10 @@ var CamundaClient = class {
16190
16233
  envelope.path = { roleId, username };
16191
16234
  if (this._validation.settings.req !== "none") {
16192
16235
  const _schemas = await this._loadSchemas();
16193
- await this._validation.gateRequest("assignRoleToUser", void 0, envelope);
16236
+ if (envelope.path !== void 0) {
16237
+ const maybePath = await this._validation.gateRequest("assignRoleToUser", _schemas.zAssignRoleToUserPath, envelope.path);
16238
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16239
+ }
16194
16240
  }
16195
16241
  const opts = { client: this._client, signal, throwOnError: false };
16196
16242
  if (envelope.path) opts.path = envelope.path;
@@ -16246,6 +16292,10 @@ var CamundaClient = class {
16246
16292
  const maybeBody = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskBody, envelope.body);
16247
16293
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16248
16294
  }
16295
+ if (envelope.path !== void 0) {
16296
+ const maybePath = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskPath, envelope.path);
16297
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16298
+ }
16249
16299
  }
16250
16300
  const opts = { client: this._client, signal, throwOnError: false };
16251
16301
  if (envelope.path) opts.path = envelope.path;
@@ -16297,7 +16347,10 @@ var CamundaClient = class {
16297
16347
  envelope.path = { groupId, username };
16298
16348
  if (this._validation.settings.req !== "none") {
16299
16349
  const _schemas = await this._loadSchemas();
16300
- await this._validation.gateRequest("assignUserToGroup", void 0, envelope);
16350
+ if (envelope.path !== void 0) {
16351
+ const maybePath = await this._validation.gateRequest("assignUserToGroup", _schemas.zAssignUserToGroupPath, envelope.path);
16352
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16353
+ }
16301
16354
  }
16302
16355
  const opts = { client: this._client, signal, throwOnError: false };
16303
16356
  if (envelope.path) opts.path = envelope.path;
@@ -16348,7 +16401,10 @@ var CamundaClient = class {
16348
16401
  envelope.path = { tenantId, username };
16349
16402
  if (this._validation.settings.req !== "none") {
16350
16403
  const _schemas = await this._loadSchemas();
16351
- await this._validation.gateRequest("assignUserToTenant", void 0, envelope);
16404
+ if (envelope.path !== void 0) {
16405
+ const maybePath = await this._validation.gateRequest("assignUserToTenant", _schemas.zAssignUserToTenantPath, envelope.path);
16406
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16407
+ }
16352
16408
  }
16353
16409
  const opts = { client: this._client, signal, throwOnError: false };
16354
16410
  if (envelope.path) opts.path = envelope.path;
@@ -16462,6 +16518,10 @@ var CamundaClient = class {
16462
16518
  const maybeBody = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationBody, envelope.body);
16463
16519
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16464
16520
  }
16521
+ if (envelope.path !== void 0) {
16522
+ const maybePath = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationPath, envelope.path);
16523
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16524
+ }
16465
16525
  }
16466
16526
  const opts = { client: this._client, signal, throwOnError: false };
16467
16527
  if (envelope.path) opts.path = envelope.path;
@@ -16518,6 +16578,10 @@ var CamundaClient = class {
16518
16578
  const maybeBody = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstanceBody, envelope.body);
16519
16579
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16520
16580
  }
16581
+ if (envelope.path !== void 0) {
16582
+ const maybePath = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstancePath, envelope.path);
16583
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16584
+ }
16521
16585
  }
16522
16586
  const opts = { client: this._client, signal, throwOnError: false };
16523
16587
  if (envelope.path) opts.path = envelope.path;
@@ -16623,7 +16687,10 @@ var CamundaClient = class {
16623
16687
  envelope.query = { mode, dryRun };
16624
16688
  if (this._validation.settings.req !== "none") {
16625
16689
  const _schemas = await this._loadSchemas();
16626
- await this._validation.gateRequest("changeClusterMode", void 0, envelope);
16690
+ if (envelope.query !== void 0) {
16691
+ const maybeQuery = await this._validation.gateRequest("changeClusterMode", _schemas.zChangeClusterModeQuery, envelope.query);
16692
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
16693
+ }
16627
16694
  }
16628
16695
  const opts = { client: this._client, signal, throwOnError: false };
16629
16696
  if (envelope.query) opts.query = envelope.query;
@@ -16679,6 +16746,10 @@ var CamundaClient = class {
16679
16746
  const maybeBody = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobBody, envelope.body);
16680
16747
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16681
16748
  }
16749
+ if (envelope.path !== void 0) {
16750
+ const maybePath = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobPath, envelope.path);
16751
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16752
+ }
16682
16753
  }
16683
16754
  const opts = { client: this._client, signal, throwOnError: false };
16684
16755
  if (envelope.path) opts.path = envelope.path;
@@ -16735,6 +16806,10 @@ var CamundaClient = class {
16735
16806
  const maybeBody = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskBody, envelope.body);
16736
16807
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16737
16808
  }
16809
+ if (envelope.path !== void 0) {
16810
+ const maybePath = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskPath, envelope.path);
16811
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16812
+ }
16738
16813
  }
16739
16814
  const opts = { client: this._client, signal, throwOnError: false };
16740
16815
  if (envelope.path) opts.path = envelope.path;
@@ -16957,6 +17032,10 @@ var CamundaClient = class {
16957
17032
  const maybeBody = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemBody, envelope.body);
16958
17033
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16959
17034
  }
17035
+ if (envelope.path !== void 0) {
17036
+ const maybePath = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemPath, envelope.path);
17037
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17038
+ }
16960
17039
  }
16961
17040
  const opts = { client: this._client, signal, throwOnError: false };
16962
17041
  if (envelope.path) opts.path = envelope.path;
@@ -17139,6 +17218,10 @@ var CamundaClient = class {
17139
17218
  const maybeBody = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentBody, envelope.body);
17140
17219
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17141
17220
  }
17221
+ if (envelope.query !== void 0) {
17222
+ const maybeQuery = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentQuery, envelope.query);
17223
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17224
+ }
17142
17225
  }
17143
17226
  const opts = { client: this._client, signal, throwOnError: false };
17144
17227
  if (envelope.query) opts.query = envelope.query;
@@ -17196,6 +17279,14 @@ var CamundaClient = class {
17196
17279
  const maybeBody = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkBody, envelope.body);
17197
17280
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17198
17281
  }
17282
+ if (envelope.path !== void 0) {
17283
+ const maybePath = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkPath, envelope.path);
17284
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17285
+ }
17286
+ if (envelope.query !== void 0) {
17287
+ const maybeQuery = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkQuery, envelope.query);
17288
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17289
+ }
17199
17290
  }
17200
17291
  const opts = { client: this._client, signal, throwOnError: false };
17201
17292
  if (envelope.path) opts.path = envelope.path;
@@ -17253,6 +17344,10 @@ var CamundaClient = class {
17253
17344
  const maybeBody = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsBody, envelope.body);
17254
17345
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17255
17346
  }
17347
+ if (envelope.query !== void 0) {
17348
+ const maybeQuery = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsQuery, envelope.query);
17349
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17350
+ }
17256
17351
  }
17257
17352
  const opts = { client: this._client, signal, throwOnError: false };
17258
17353
  if (envelope.query) opts.query = envelope.query;
@@ -17309,6 +17404,10 @@ var CamundaClient = class {
17309
17404
  const maybeBody = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesBody, envelope.body);
17310
17405
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17311
17406
  }
17407
+ if (envelope.path !== void 0) {
17408
+ const maybePath = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesPath, envelope.path);
17409
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17410
+ }
17312
17411
  }
17313
17412
  const opts = { client: this._client, signal, throwOnError: false };
17314
17413
  if (envelope.path) opts.path = envelope.path;
@@ -17747,6 +17846,10 @@ var CamundaClient = class {
17747
17846
  const maybeBody = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariableBody, envelope.body);
17748
17847
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17749
17848
  }
17849
+ if (envelope.path !== void 0) {
17850
+ const maybePath = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariablePath, envelope.path);
17851
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17852
+ }
17750
17853
  }
17751
17854
  const opts = { client: this._client, signal, throwOnError: false };
17752
17855
  if (envelope.path) opts.path = envelope.path;
@@ -17852,7 +17955,10 @@ var CamundaClient = class {
17852
17955
  envelope.path = { authorizationKey };
17853
17956
  if (this._validation.settings.req !== "none") {
17854
17957
  const _schemas = await this._loadSchemas();
17855
- await this._validation.gateRequest("deleteAuthorization", void 0, envelope);
17958
+ if (envelope.path !== void 0) {
17959
+ const maybePath = await this._validation.gateRequest("deleteAuthorization", _schemas.zDeleteAuthorizationPath, envelope.path);
17960
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17961
+ }
17856
17962
  }
17857
17963
  const opts = { client: this._client, signal, throwOnError: false };
17858
17964
  if (envelope.path) opts.path = envelope.path;
@@ -17908,6 +18014,10 @@ var CamundaClient = class {
17908
18014
  const maybeBody = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstanceBody, envelope.body);
17909
18015
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17910
18016
  }
18017
+ if (envelope.path !== void 0) {
18018
+ const maybePath = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstancePath, envelope.path);
18019
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18020
+ }
17911
18021
  }
17912
18022
  const opts = { client: this._client, signal, throwOnError: false };
17913
18023
  if (envelope.path) opts.path = envelope.path;
@@ -18014,7 +18124,14 @@ var CamundaClient = class {
18014
18124
  envelope.query = { storeId };
18015
18125
  if (this._validation.settings.req !== "none") {
18016
18126
  const _schemas = await this._loadSchemas();
18017
- await this._validation.gateRequest("deleteDocument", void 0, envelope);
18127
+ if (envelope.path !== void 0) {
18128
+ const maybePath = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentPath, envelope.path);
18129
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18130
+ }
18131
+ if (envelope.query !== void 0) {
18132
+ const maybeQuery = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentQuery, envelope.query);
18133
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
18134
+ }
18018
18135
  }
18019
18136
  const opts = { client: this._client, signal, throwOnError: false };
18020
18137
  if (envelope.path) opts.path = envelope.path;
@@ -18066,7 +18183,10 @@ var CamundaClient = class {
18066
18183
  envelope.path = { name };
18067
18184
  if (this._validation.settings.req !== "none") {
18068
18185
  const _schemas = await this._loadSchemas();
18069
- await this._validation.gateRequest("deleteGlobalClusterVariable", void 0, envelope);
18186
+ if (envelope.path !== void 0) {
18187
+ const maybePath = await this._validation.gateRequest("deleteGlobalClusterVariable", _schemas.zDeleteGlobalClusterVariablePath, envelope.path);
18188
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18189
+ }
18070
18190
  }
18071
18191
  const opts = { client: this._client, signal, throwOnError: false };
18072
18192
  if (envelope.path) opts.path = envelope.path;
@@ -18117,7 +18237,10 @@ var CamundaClient = class {
18117
18237
  envelope.path = { id };
18118
18238
  if (this._validation.settings.req !== "none") {
18119
18239
  const _schemas = await this._loadSchemas();
18120
- await this._validation.gateRequest("deleteGlobalTaskListener", void 0, envelope);
18240
+ if (envelope.path !== void 0) {
18241
+ const maybePath = await this._validation.gateRequest("deleteGlobalTaskListener", _schemas.zDeleteGlobalTaskListenerPath, envelope.path);
18242
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18243
+ }
18121
18244
  }
18122
18245
  const opts = { client: this._client, signal, throwOnError: false };
18123
18246
  if (envelope.path) opts.path = envelope.path;
@@ -18168,7 +18291,10 @@ var CamundaClient = class {
18168
18291
  envelope.path = { groupId };
18169
18292
  if (this._validation.settings.req !== "none") {
18170
18293
  const _schemas = await this._loadSchemas();
18171
- await this._validation.gateRequest("deleteGroup", void 0, envelope);
18294
+ if (envelope.path !== void 0) {
18295
+ const maybePath = await this._validation.gateRequest("deleteGroup", _schemas.zDeleteGroupPath, envelope.path);
18296
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18297
+ }
18172
18298
  }
18173
18299
  const opts = { client: this._client, signal, throwOnError: false };
18174
18300
  if (envelope.path) opts.path = envelope.path;
@@ -18219,7 +18345,10 @@ var CamundaClient = class {
18219
18345
  envelope.path = { mappingRuleId };
18220
18346
  if (this._validation.settings.req !== "none") {
18221
18347
  const _schemas = await this._loadSchemas();
18222
- await this._validation.gateRequest("deleteMappingRule", void 0, envelope);
18348
+ if (envelope.path !== void 0) {
18349
+ const maybePath = await this._validation.gateRequest("deleteMappingRule", _schemas.zDeleteMappingRulePath, envelope.path);
18350
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18351
+ }
18223
18352
  }
18224
18353
  const opts = { client: this._client, signal, throwOnError: false };
18225
18354
  if (envelope.path) opts.path = envelope.path;
@@ -18275,6 +18404,10 @@ var CamundaClient = class {
18275
18404
  const maybeBody = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstanceBody, envelope.body);
18276
18405
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18277
18406
  }
18407
+ if (envelope.path !== void 0) {
18408
+ const maybePath = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstancePath, envelope.path);
18409
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18410
+ }
18278
18411
  }
18279
18412
  const opts = { client: this._client, signal, throwOnError: false };
18280
18413
  if (envelope.path) opts.path = envelope.path;
@@ -18385,6 +18518,10 @@ var CamundaClient = class {
18385
18518
  const maybeBody = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourceBody, envelope.body);
18386
18519
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18387
18520
  }
18521
+ if (envelope.path !== void 0) {
18522
+ const maybePath = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourcePath, envelope.path);
18523
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18524
+ }
18388
18525
  }
18389
18526
  const opts = { client: this._client, signal, throwOnError: false };
18390
18527
  if (envelope.path) opts.path = envelope.path;
@@ -18436,7 +18573,10 @@ var CamundaClient = class {
18436
18573
  envelope.path = { roleId };
18437
18574
  if (this._validation.settings.req !== "none") {
18438
18575
  const _schemas = await this._loadSchemas();
18439
- await this._validation.gateRequest("deleteRole", void 0, envelope);
18576
+ if (envelope.path !== void 0) {
18577
+ const maybePath = await this._validation.gateRequest("deleteRole", _schemas.zDeleteRolePath, envelope.path);
18578
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18579
+ }
18440
18580
  }
18441
18581
  const opts = { client: this._client, signal, throwOnError: false };
18442
18582
  if (envelope.path) opts.path = envelope.path;
@@ -18487,7 +18627,10 @@ var CamundaClient = class {
18487
18627
  envelope.path = { backupId };
18488
18628
  if (this._validation.settings.req !== "none") {
18489
18629
  const _schemas = await this._loadSchemas();
18490
- await this._validation.gateRequest("deleteRuntimeBackup", void 0, envelope);
18630
+ if (envelope.path !== void 0) {
18631
+ const maybePath = await this._validation.gateRequest("deleteRuntimeBackup", _schemas.zDeleteRuntimeBackupPath, envelope.path);
18632
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18633
+ }
18491
18634
  }
18492
18635
  const opts = { client: this._client, signal, throwOnError: false };
18493
18636
  if (envelope.path) opts.path = envelope.path;
@@ -18581,7 +18724,10 @@ var CamundaClient = class {
18581
18724
  envelope.path = { tenantId };
18582
18725
  if (this._validation.settings.req !== "none") {
18583
18726
  const _schemas = await this._loadSchemas();
18584
- await this._validation.gateRequest("deleteTenant", void 0, envelope);
18727
+ if (envelope.path !== void 0) {
18728
+ const maybePath = await this._validation.gateRequest("deleteTenant", _schemas.zDeleteTenantPath, envelope.path);
18729
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18730
+ }
18585
18731
  }
18586
18732
  const opts = { client: this._client, signal, throwOnError: false };
18587
18733
  if (envelope.path) opts.path = envelope.path;
@@ -18632,7 +18778,10 @@ var CamundaClient = class {
18632
18778
  envelope.path = { tenantId, name };
18633
18779
  if (this._validation.settings.req !== "none") {
18634
18780
  const _schemas = await this._loadSchemas();
18635
- await this._validation.gateRequest("deleteTenantClusterVariable", void 0, envelope);
18781
+ if (envelope.path !== void 0) {
18782
+ const maybePath = await this._validation.gateRequest("deleteTenantClusterVariable", _schemas.zDeleteTenantClusterVariablePath, envelope.path);
18783
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18784
+ }
18636
18785
  }
18637
18786
  const opts = { client: this._client, signal, throwOnError: false };
18638
18787
  if (envelope.path) opts.path = envelope.path;
@@ -18683,7 +18832,10 @@ var CamundaClient = class {
18683
18832
  envelope.path = { username };
18684
18833
  if (this._validation.settings.req !== "none") {
18685
18834
  const _schemas = await this._loadSchemas();
18686
- await this._validation.gateRequest("deleteUser", void 0, envelope);
18835
+ if (envelope.path !== void 0) {
18836
+ const maybePath = await this._validation.gateRequest("deleteUser", _schemas.zDeleteUserPath, envelope.path);
18837
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18838
+ }
18687
18839
  }
18688
18840
  const opts = { client: this._client, signal, throwOnError: false };
18689
18841
  if (envelope.path) opts.path = envelope.path;
@@ -18913,6 +19065,10 @@ var CamundaClient = class {
18913
19065
  const maybeBody = await this._validation.gateRequest("failJob", _schemas.zFailJobBody, envelope.body);
18914
19066
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18915
19067
  }
19068
+ if (envelope.path !== void 0) {
19069
+ const maybePath = await this._validation.gateRequest("failJob", _schemas.zFailJobPath, envelope.path);
19070
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19071
+ }
18916
19072
  }
18917
19073
  const opts = { client: this._client, signal, throwOnError: false };
18918
19074
  if (envelope.path) opts.path = envelope.path;
@@ -18966,7 +19122,10 @@ var CamundaClient = class {
18966
19122
  envelope.path = { agentInstanceKey };
18967
19123
  if (this._validation.settings.req !== "none") {
18968
19124
  const _schemas = await this._loadSchemas();
18969
- await this._validation.gateRequest("getAgentInstance", void 0, envelope);
19125
+ if (envelope.path !== void 0) {
19126
+ const maybePath = await this._validation.gateRequest("getAgentInstance", _schemas.zGetAgentInstancePath, envelope.path);
19127
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19128
+ }
18970
19129
  }
18971
19130
  const opts = { client: this._client, signal, throwOnError: false };
18972
19131
  if (envelope.path) opts.path = envelope.path;
@@ -19021,7 +19180,10 @@ var CamundaClient = class {
19021
19180
  envelope.path = { auditLogKey };
19022
19181
  if (this._validation.settings.req !== "none") {
19023
19182
  const _schemas = await this._loadSchemas();
19024
- await this._validation.gateRequest("getAuditLog", void 0, envelope);
19183
+ if (envelope.path !== void 0) {
19184
+ const maybePath = await this._validation.gateRequest("getAuditLog", _schemas.zGetAuditLogPath, envelope.path);
19185
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19186
+ }
19025
19187
  }
19026
19188
  const opts = { client: this._client, signal, throwOnError: false };
19027
19189
  if (envelope.path) opts.path = envelope.path;
@@ -19119,7 +19281,10 @@ var CamundaClient = class {
19119
19281
  envelope.path = { authorizationKey };
19120
19282
  if (this._validation.settings.req !== "none") {
19121
19283
  const _schemas = await this._loadSchemas();
19122
- await this._validation.gateRequest("getAuthorization", void 0, envelope);
19284
+ if (envelope.path !== void 0) {
19285
+ const maybePath = await this._validation.gateRequest("getAuthorization", _schemas.zGetAuthorizationPath, envelope.path);
19286
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19287
+ }
19123
19288
  }
19124
19289
  const opts = { client: this._client, signal, throwOnError: false };
19125
19290
  if (envelope.path) opts.path = envelope.path;
@@ -19174,7 +19339,10 @@ var CamundaClient = class {
19174
19339
  envelope.path = { batchOperationKey };
19175
19340
  if (this._validation.settings.req !== "none") {
19176
19341
  const _schemas = await this._loadSchemas();
19177
- await this._validation.gateRequest("getBatchOperation", void 0, envelope);
19342
+ if (envelope.path !== void 0) {
19343
+ const maybePath = await this._validation.gateRequest("getBatchOperation", _schemas.zGetBatchOperationPath, envelope.path);
19344
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19345
+ }
19178
19346
  }
19179
19347
  const opts = { client: this._client, signal, throwOnError: false };
19180
19348
  if (envelope.path) opts.path = envelope.path;
@@ -19272,7 +19440,10 @@ var CamundaClient = class {
19272
19440
  envelope.path = { decisionDefinitionKey };
19273
19441
  if (this._validation.settings.req !== "none") {
19274
19442
  const _schemas = await this._loadSchemas();
19275
- await this._validation.gateRequest("getDecisionDefinition", void 0, envelope);
19443
+ if (envelope.path !== void 0) {
19444
+ const maybePath = await this._validation.gateRequest("getDecisionDefinition", _schemas.zGetDecisionDefinitionPath, envelope.path);
19445
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19446
+ }
19276
19447
  }
19277
19448
  const opts = { client: this._client, signal, throwOnError: false };
19278
19449
  if (envelope.path) opts.path = envelope.path;
@@ -19327,7 +19498,10 @@ var CamundaClient = class {
19327
19498
  envelope.path = { decisionDefinitionKey };
19328
19499
  if (this._validation.settings.req !== "none") {
19329
19500
  const _schemas = await this._loadSchemas();
19330
- await this._validation.gateRequest("getDecisionDefinitionXML", void 0, envelope);
19501
+ if (envelope.path !== void 0) {
19502
+ const maybePath = await this._validation.gateRequest("getDecisionDefinitionXML", _schemas.zGetDecisionDefinitionXmlPath, envelope.path);
19503
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19504
+ }
19331
19505
  }
19332
19506
  const opts = { client: this._client, signal, throwOnError: false };
19333
19507
  if (envelope.path) opts.path = envelope.path;
@@ -19382,7 +19556,10 @@ var CamundaClient = class {
19382
19556
  envelope.path = { decisionEvaluationInstanceKey };
19383
19557
  if (this._validation.settings.req !== "none") {
19384
19558
  const _schemas = await this._loadSchemas();
19385
- await this._validation.gateRequest("getDecisionInstance", void 0, envelope);
19559
+ if (envelope.path !== void 0) {
19560
+ const maybePath = await this._validation.gateRequest("getDecisionInstance", _schemas.zGetDecisionInstancePath, envelope.path);
19561
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19562
+ }
19386
19563
  }
19387
19564
  const opts = { client: this._client, signal, throwOnError: false };
19388
19565
  if (envelope.path) opts.path = envelope.path;
@@ -19437,7 +19614,10 @@ var CamundaClient = class {
19437
19614
  envelope.path = { decisionRequirementsKey };
19438
19615
  if (this._validation.settings.req !== "none") {
19439
19616
  const _schemas = await this._loadSchemas();
19440
- await this._validation.gateRequest("getDecisionRequirements", void 0, envelope);
19617
+ if (envelope.path !== void 0) {
19618
+ const maybePath = await this._validation.gateRequest("getDecisionRequirements", _schemas.zGetDecisionRequirementsPath, envelope.path);
19619
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19620
+ }
19441
19621
  }
19442
19622
  const opts = { client: this._client, signal, throwOnError: false };
19443
19623
  if (envelope.path) opts.path = envelope.path;
@@ -19492,7 +19672,10 @@ var CamundaClient = class {
19492
19672
  envelope.path = { decisionRequirementsKey };
19493
19673
  if (this._validation.settings.req !== "none") {
19494
19674
  const _schemas = await this._loadSchemas();
19495
- await this._validation.gateRequest("getDecisionRequirementsXML", void 0, envelope);
19675
+ if (envelope.path !== void 0) {
19676
+ const maybePath = await this._validation.gateRequest("getDecisionRequirementsXML", _schemas.zGetDecisionRequirementsXmlPath, envelope.path);
19677
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19678
+ }
19496
19679
  }
19497
19680
  const opts = { client: this._client, signal, throwOnError: false };
19498
19681
  if (envelope.path) opts.path = envelope.path;
@@ -19546,7 +19729,14 @@ var CamundaClient = class {
19546
19729
  envelope.query = { storeId, contentHash };
19547
19730
  if (this._validation.settings.req !== "none") {
19548
19731
  const _schemas = await this._loadSchemas();
19549
- await this._validation.gateRequest("getDocument", void 0, envelope);
19732
+ if (envelope.path !== void 0) {
19733
+ const maybePath = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentPath, envelope.path);
19734
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19735
+ }
19736
+ if (envelope.query !== void 0) {
19737
+ const maybeQuery = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentQuery, envelope.query);
19738
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
19739
+ }
19550
19740
  }
19551
19741
  const opts = { client: this._client, signal, throwOnError: false };
19552
19742
  if (envelope.path) opts.path = envelope.path;
@@ -19600,7 +19790,10 @@ var CamundaClient = class {
19600
19790
  envelope.path = { elementInstanceKey };
19601
19791
  if (this._validation.settings.req !== "none") {
19602
19792
  const _schemas = await this._loadSchemas();
19603
- await this._validation.gateRequest("getElementInstance", void 0, envelope);
19793
+ if (envelope.path !== void 0) {
19794
+ const maybePath = await this._validation.gateRequest("getElementInstance", _schemas.zGetElementInstancePath, envelope.path);
19795
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19796
+ }
19604
19797
  }
19605
19798
  const opts = { client: this._client, signal, throwOnError: false };
19606
19799
  if (envelope.path) opts.path = envelope.path;
@@ -19698,7 +19891,10 @@ var CamundaClient = class {
19698
19891
  envelope.path = { formKey };
19699
19892
  if (this._validation.settings.req !== "none") {
19700
19893
  const _schemas = await this._loadSchemas();
19701
- await this._validation.gateRequest("getFormByKey", void 0, envelope);
19894
+ if (envelope.path !== void 0) {
19895
+ const maybePath = await this._validation.gateRequest("getFormByKey", _schemas.zGetFormByKeyPath, envelope.path);
19896
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19897
+ }
19702
19898
  }
19703
19899
  const opts = { client: this._client, signal, throwOnError: false };
19704
19900
  if (envelope.path) opts.path = envelope.path;
@@ -19753,7 +19949,10 @@ var CamundaClient = class {
19753
19949
  envelope.path = { name };
19754
19950
  if (this._validation.settings.req !== "none") {
19755
19951
  const _schemas = await this._loadSchemas();
19756
- await this._validation.gateRequest("getGlobalClusterVariable", void 0, envelope);
19952
+ if (envelope.path !== void 0) {
19953
+ const maybePath = await this._validation.gateRequest("getGlobalClusterVariable", _schemas.zGetGlobalClusterVariablePath, envelope.path);
19954
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19955
+ }
19757
19956
  }
19758
19957
  const opts = { client: this._client, signal, throwOnError: false };
19759
19958
  if (envelope.path) opts.path = envelope.path;
@@ -19808,7 +20007,10 @@ var CamundaClient = class {
19808
20007
  envelope.query = { from, to, jobType };
19809
20008
  if (this._validation.settings.req !== "none") {
19810
20009
  const _schemas = await this._loadSchemas();
19811
- await this._validation.gateRequest("getGlobalJobStatistics", void 0, envelope);
20010
+ if (envelope.query !== void 0) {
20011
+ const maybeQuery = await this._validation.gateRequest("getGlobalJobStatistics", _schemas.zGetGlobalJobStatisticsQuery, envelope.query);
20012
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
20013
+ }
19812
20014
  }
19813
20015
  const opts = { client: this._client, signal, throwOnError: false };
19814
20016
  if (envelope.query) opts.query = envelope.query;
@@ -19863,7 +20065,10 @@ var CamundaClient = class {
19863
20065
  envelope.path = { id };
19864
20066
  if (this._validation.settings.req !== "none") {
19865
20067
  const _schemas = await this._loadSchemas();
19866
- await this._validation.gateRequest("getGlobalTaskListener", void 0, envelope);
20068
+ if (envelope.path !== void 0) {
20069
+ const maybePath = await this._validation.gateRequest("getGlobalTaskListener", _schemas.zGetGlobalTaskListenerPath, envelope.path);
20070
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20071
+ }
19867
20072
  }
19868
20073
  const opts = { client: this._client, signal, throwOnError: false };
19869
20074
  if (envelope.path) opts.path = envelope.path;
@@ -19918,7 +20123,10 @@ var CamundaClient = class {
19918
20123
  envelope.path = { groupId };
19919
20124
  if (this._validation.settings.req !== "none") {
19920
20125
  const _schemas = await this._loadSchemas();
19921
- await this._validation.gateRequest("getGroup", void 0, envelope);
20126
+ if (envelope.path !== void 0) {
20127
+ const maybePath = await this._validation.gateRequest("getGroup", _schemas.zGetGroupPath, envelope.path);
20128
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20129
+ }
19922
20130
  }
19923
20131
  const opts = { client: this._client, signal, throwOnError: false };
19924
20132
  if (envelope.path) opts.path = envelope.path;
@@ -19973,7 +20181,10 @@ var CamundaClient = class {
19973
20181
  envelope.path = { incidentKey };
19974
20182
  if (this._validation.settings.req !== "none") {
19975
20183
  const _schemas = await this._loadSchemas();
19976
- await this._validation.gateRequest("getIncident", void 0, envelope);
20184
+ if (envelope.path !== void 0) {
20185
+ const maybePath = await this._validation.gateRequest("getIncident", _schemas.zGetIncidentPath, envelope.path);
20186
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20187
+ }
19977
20188
  }
19978
20189
  const opts = { client: this._client, signal, throwOnError: false };
19979
20190
  if (envelope.path) opts.path = envelope.path;
@@ -20303,7 +20514,10 @@ var CamundaClient = class {
20303
20514
  envelope.path = { mappingRuleId };
20304
20515
  if (this._validation.settings.req !== "none") {
20305
20516
  const _schemas = await this._loadSchemas();
20306
- await this._validation.gateRequest("getMappingRule", void 0, envelope);
20517
+ if (envelope.path !== void 0) {
20518
+ const maybePath = await this._validation.gateRequest("getMappingRule", _schemas.zGetMappingRulePath, envelope.path);
20519
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20520
+ }
20307
20521
  }
20308
20522
  const opts = { client: this._client, signal, throwOnError: false };
20309
20523
  if (envelope.path) opts.path = envelope.path;
@@ -20358,7 +20572,10 @@ var CamundaClient = class {
20358
20572
  envelope.path = { processDefinitionKey };
20359
20573
  if (this._validation.settings.req !== "none") {
20360
20574
  const _schemas = await this._loadSchemas();
20361
- await this._validation.gateRequest("getProcessDefinition", void 0, envelope);
20575
+ if (envelope.path !== void 0) {
20576
+ const maybePath = await this._validation.gateRequest("getProcessDefinition", _schemas.zGetProcessDefinitionPath, envelope.path);
20577
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20578
+ }
20362
20579
  }
20363
20580
  const opts = { client: this._client, signal, throwOnError: false };
20364
20581
  if (envelope.path) opts.path = envelope.path;
@@ -20592,6 +20809,10 @@ var CamundaClient = class {
20592
20809
  const maybeBody = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsBody, envelope.body);
20593
20810
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
20594
20811
  }
20812
+ if (envelope.path !== void 0) {
20813
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsPath, envelope.path);
20814
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20815
+ }
20595
20816
  }
20596
20817
  const opts = { client: this._client, signal, throwOnError: false };
20597
20818
  if (envelope.path) opts.path = envelope.path;
@@ -20647,7 +20868,10 @@ var CamundaClient = class {
20647
20868
  envelope.path = { processDefinitionKey };
20648
20869
  if (this._validation.settings.req !== "none") {
20649
20870
  const _schemas = await this._loadSchemas();
20650
- await this._validation.gateRequest("getProcessDefinitionXML", void 0, envelope);
20871
+ if (envelope.path !== void 0) {
20872
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionXML", _schemas.zGetProcessDefinitionXmlPath, envelope.path);
20873
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20874
+ }
20651
20875
  }
20652
20876
  const opts = { client: this._client, signal, throwOnError: false };
20653
20877
  if (envelope.path) opts.path = envelope.path;
@@ -20702,7 +20926,10 @@ var CamundaClient = class {
20702
20926
  envelope.path = { processInstanceKey };
20703
20927
  if (this._validation.settings.req !== "none") {
20704
20928
  const _schemas = await this._loadSchemas();
20705
- await this._validation.gateRequest("getProcessInstance", void 0, envelope);
20929
+ if (envelope.path !== void 0) {
20930
+ const maybePath = await this._validation.gateRequest("getProcessInstance", _schemas.zGetProcessInstancePath, envelope.path);
20931
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20932
+ }
20706
20933
  }
20707
20934
  const opts = { client: this._client, signal, throwOnError: false };
20708
20935
  if (envelope.path) opts.path = envelope.path;
@@ -20757,7 +20984,10 @@ var CamundaClient = class {
20757
20984
  envelope.path = { processInstanceKey };
20758
20985
  if (this._validation.settings.req !== "none") {
20759
20986
  const _schemas = await this._loadSchemas();
20760
- await this._validation.gateRequest("getProcessInstanceCallHierarchy", void 0, envelope);
20987
+ if (envelope.path !== void 0) {
20988
+ const maybePath = await this._validation.gateRequest("getProcessInstanceCallHierarchy", _schemas.zGetProcessInstanceCallHierarchyPath, envelope.path);
20989
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20990
+ }
20761
20991
  }
20762
20992
  const opts = { client: this._client, signal, throwOnError: false };
20763
20993
  if (envelope.path) opts.path = envelope.path;
@@ -20812,7 +21042,10 @@ var CamundaClient = class {
20812
21042
  envelope.path = { processInstanceKey };
20813
21043
  if (this._validation.settings.req !== "none") {
20814
21044
  const _schemas = await this._loadSchemas();
20815
- await this._validation.gateRequest("getProcessInstanceSequenceFlows", void 0, envelope);
21045
+ if (envelope.path !== void 0) {
21046
+ const maybePath = await this._validation.gateRequest("getProcessInstanceSequenceFlows", _schemas.zGetProcessInstanceSequenceFlowsPath, envelope.path);
21047
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21048
+ }
20816
21049
  }
20817
21050
  const opts = { client: this._client, signal, throwOnError: false };
20818
21051
  if (envelope.path) opts.path = envelope.path;
@@ -20867,7 +21100,10 @@ var CamundaClient = class {
20867
21100
  envelope.path = { processInstanceKey };
20868
21101
  if (this._validation.settings.req !== "none") {
20869
21102
  const _schemas = await this._loadSchemas();
20870
- await this._validation.gateRequest("getProcessInstanceStatistics", void 0, envelope);
21103
+ if (envelope.path !== void 0) {
21104
+ const maybePath = await this._validation.gateRequest("getProcessInstanceStatistics", _schemas.zGetProcessInstanceStatisticsPath, envelope.path);
21105
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21106
+ }
20871
21107
  }
20872
21108
  const opts = { client: this._client, signal, throwOnError: false };
20873
21109
  if (envelope.path) opts.path = envelope.path;
@@ -21038,7 +21274,10 @@ var CamundaClient = class {
21038
21274
  envelope.path = { processInstanceKey };
21039
21275
  if (this._validation.settings.req !== "none") {
21040
21276
  const _schemas = await this._loadSchemas();
21041
- await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", void 0, envelope);
21277
+ if (envelope.path !== void 0) {
21278
+ const maybePath = await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", _schemas.zGetProcessInstanceWaitStateStatisticsPath, envelope.path);
21279
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21280
+ }
21042
21281
  }
21043
21282
  const opts = { client: this._client, signal, throwOnError: false };
21044
21283
  if (envelope.path) opts.path = envelope.path;
@@ -21093,7 +21332,10 @@ var CamundaClient = class {
21093
21332
  envelope.path = { resourceKey };
21094
21333
  if (this._validation.settings.req !== "none") {
21095
21334
  const _schemas = await this._loadSchemas();
21096
- await this._validation.gateRequest("getResource", void 0, envelope);
21335
+ if (envelope.path !== void 0) {
21336
+ const maybePath = await this._validation.gateRequest("getResource", _schemas.zGetResourcePath, envelope.path);
21337
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21338
+ }
21097
21339
  }
21098
21340
  const opts = { client: this._client, signal, throwOnError: false };
21099
21341
  if (envelope.path) opts.path = envelope.path;
@@ -21148,7 +21390,10 @@ var CamundaClient = class {
21148
21390
  envelope.path = { resourceKey };
21149
21391
  if (this._validation.settings.req !== "none") {
21150
21392
  const _schemas = await this._loadSchemas();
21151
- await this._validation.gateRequest("getResourceContent", void 0, envelope);
21393
+ if (envelope.path !== void 0) {
21394
+ const maybePath = await this._validation.gateRequest("getResourceContent", _schemas.zGetResourceContentPath, envelope.path);
21395
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21396
+ }
21152
21397
  }
21153
21398
  const opts = { client: this._client, signal, throwOnError: false };
21154
21399
  if (envelope.path) opts.path = envelope.path;
@@ -21203,7 +21448,10 @@ var CamundaClient = class {
21203
21448
  envelope.path = { resourceKey };
21204
21449
  if (this._validation.settings.req !== "none") {
21205
21450
  const _schemas = await this._loadSchemas();
21206
- await this._validation.gateRequest("getResourceContentBinary", void 0, envelope);
21451
+ if (envelope.path !== void 0) {
21452
+ const maybePath = await this._validation.gateRequest("getResourceContentBinary", _schemas.zGetResourceContentBinaryPath, envelope.path);
21453
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21454
+ }
21207
21455
  }
21208
21456
  const opts = { client: this._client, signal, throwOnError: false };
21209
21457
  if (envelope.path) opts.path = envelope.path;
@@ -21301,7 +21549,10 @@ var CamundaClient = class {
21301
21549
  envelope.path = { roleId };
21302
21550
  if (this._validation.settings.req !== "none") {
21303
21551
  const _schemas = await this._loadSchemas();
21304
- await this._validation.gateRequest("getRole", void 0, envelope);
21552
+ if (envelope.path !== void 0) {
21553
+ const maybePath = await this._validation.gateRequest("getRole", _schemas.zGetRolePath, envelope.path);
21554
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21555
+ }
21305
21556
  }
21306
21557
  const opts = { client: this._client, signal, throwOnError: false };
21307
21558
  if (envelope.path) opts.path = envelope.path;
@@ -21354,7 +21605,10 @@ var CamundaClient = class {
21354
21605
  envelope.path = { backupId };
21355
21606
  if (this._validation.settings.req !== "none") {
21356
21607
  const _schemas = await this._loadSchemas();
21357
- await this._validation.gateRequest("getRuntimeBackup", void 0, envelope);
21608
+ if (envelope.path !== void 0) {
21609
+ const maybePath = await this._validation.gateRequest("getRuntimeBackup", _schemas.zGetRuntimeBackupPath, envelope.path);
21610
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21611
+ }
21358
21612
  }
21359
21613
  const opts = { client: this._client, signal, throwOnError: false };
21360
21614
  if (envelope.path) opts.path = envelope.path;
@@ -21450,7 +21704,10 @@ var CamundaClient = class {
21450
21704
  envelope.path = { processDefinitionKey };
21451
21705
  if (this._validation.settings.req !== "none") {
21452
21706
  const _schemas = await this._loadSchemas();
21453
- await this._validation.gateRequest("getStartProcessForm", void 0, envelope);
21707
+ if (envelope.path !== void 0) {
21708
+ const maybePath = await this._validation.gateRequest("getStartProcessForm", _schemas.zGetStartProcessFormPath, envelope.path);
21709
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21710
+ }
21454
21711
  }
21455
21712
  const opts = { client: this._client, signal, throwOnError: false };
21456
21713
  if (envelope.path) opts.path = envelope.path;
@@ -21591,7 +21848,10 @@ var CamundaClient = class {
21591
21848
  envelope.path = { tenantId };
21592
21849
  if (this._validation.settings.req !== "none") {
21593
21850
  const _schemas = await this._loadSchemas();
21594
- await this._validation.gateRequest("getTenant", void 0, envelope);
21851
+ if (envelope.path !== void 0) {
21852
+ const maybePath = await this._validation.gateRequest("getTenant", _schemas.zGetTenantPath, envelope.path);
21853
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21854
+ }
21595
21855
  }
21596
21856
  const opts = { client: this._client, signal, throwOnError: false };
21597
21857
  if (envelope.path) opts.path = envelope.path;
@@ -21646,7 +21906,10 @@ var CamundaClient = class {
21646
21906
  envelope.path = { tenantId, name };
21647
21907
  if (this._validation.settings.req !== "none") {
21648
21908
  const _schemas = await this._loadSchemas();
21649
- await this._validation.gateRequest("getTenantClusterVariable", void 0, envelope);
21909
+ if (envelope.path !== void 0) {
21910
+ const maybePath = await this._validation.gateRequest("getTenantClusterVariable", _schemas.zGetTenantClusterVariablePath, envelope.path);
21911
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21912
+ }
21650
21913
  }
21651
21914
  const opts = { client: this._client, signal, throwOnError: false };
21652
21915
  if (envelope.path) opts.path = envelope.path;
@@ -21744,7 +22007,10 @@ var CamundaClient = class {
21744
22007
  envelope.query = { startTime, endTime, tenantId, withTenants };
21745
22008
  if (this._validation.settings.req !== "none") {
21746
22009
  const _schemas = await this._loadSchemas();
21747
- await this._validation.gateRequest("getUsageMetrics", void 0, envelope);
22010
+ if (envelope.query !== void 0) {
22011
+ const maybeQuery = await this._validation.gateRequest("getUsageMetrics", _schemas.zGetUsageMetricsQuery, envelope.query);
22012
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22013
+ }
21748
22014
  }
21749
22015
  const opts = { client: this._client, signal, throwOnError: false };
21750
22016
  if (envelope.query) opts.query = envelope.query;
@@ -21799,7 +22065,10 @@ var CamundaClient = class {
21799
22065
  envelope.path = { username };
21800
22066
  if (this._validation.settings.req !== "none") {
21801
22067
  const _schemas = await this._loadSchemas();
21802
- await this._validation.gateRequest("getUser", void 0, envelope);
22068
+ if (envelope.path !== void 0) {
22069
+ const maybePath = await this._validation.gateRequest("getUser", _schemas.zGetUserPath, envelope.path);
22070
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22071
+ }
21803
22072
  }
21804
22073
  const opts = { client: this._client, signal, throwOnError: false };
21805
22074
  if (envelope.path) opts.path = envelope.path;
@@ -21854,7 +22123,10 @@ var CamundaClient = class {
21854
22123
  envelope.path = { userTaskKey };
21855
22124
  if (this._validation.settings.req !== "none") {
21856
22125
  const _schemas = await this._loadSchemas();
21857
- await this._validation.gateRequest("getUserTask", void 0, envelope);
22126
+ if (envelope.path !== void 0) {
22127
+ const maybePath = await this._validation.gateRequest("getUserTask", _schemas.zGetUserTaskPath, envelope.path);
22128
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22129
+ }
21858
22130
  }
21859
22131
  const opts = { client: this._client, signal, throwOnError: false };
21860
22132
  if (envelope.path) opts.path = envelope.path;
@@ -21909,7 +22181,10 @@ var CamundaClient = class {
21909
22181
  envelope.path = { userTaskKey };
21910
22182
  if (this._validation.settings.req !== "none") {
21911
22183
  const _schemas = await this._loadSchemas();
21912
- await this._validation.gateRequest("getUserTaskForm", void 0, envelope);
22184
+ if (envelope.path !== void 0) {
22185
+ const maybePath = await this._validation.gateRequest("getUserTaskForm", _schemas.zGetUserTaskFormPath, envelope.path);
22186
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22187
+ }
21913
22188
  }
21914
22189
  const opts = { client: this._client, signal, throwOnError: false };
21915
22190
  if (envelope.path) opts.path = envelope.path;
@@ -21964,7 +22239,10 @@ var CamundaClient = class {
21964
22239
  envelope.path = { variableKey };
21965
22240
  if (this._validation.settings.req !== "none") {
21966
22241
  const _schemas = await this._loadSchemas();
21967
- await this._validation.gateRequest("getVariable", void 0, envelope);
22242
+ if (envelope.path !== void 0) {
22243
+ const maybePath = await this._validation.gateRequest("getVariable", _schemas.zGetVariablePath, envelope.path);
22244
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22245
+ }
21968
22246
  }
21969
22247
  const opts = { client: this._client, signal, throwOnError: false };
21970
22248
  if (envelope.path) opts.path = envelope.path;
@@ -22017,7 +22295,10 @@ var CamundaClient = class {
22017
22295
  envelope.query = { prefix };
22018
22296
  if (this._validation.settings.req !== "none") {
22019
22297
  const _schemas = await this._loadSchemas();
22020
- await this._validation.gateRequest("listRuntimeBackups", void 0, envelope);
22298
+ if (envelope.query !== void 0) {
22299
+ const maybeQuery = await this._validation.gateRequest("listRuntimeBackups", _schemas.zListRuntimeBackupsQuery, envelope.query);
22300
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22301
+ }
22021
22302
  }
22022
22303
  const opts = { client: this._client, signal, throwOnError: false };
22023
22304
  if (envelope.query) opts.query = envelope.query;
@@ -22127,6 +22408,10 @@ var CamundaClient = class {
22127
22408
  const maybeBody = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstanceBody, envelope.body);
22128
22409
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22129
22410
  }
22411
+ if (envelope.path !== void 0) {
22412
+ const maybePath = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstancePath, envelope.path);
22413
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22414
+ }
22130
22415
  }
22131
22416
  const opts = { client: this._client, signal, throwOnError: false };
22132
22417
  if (envelope.path) opts.path = envelope.path;
@@ -22237,6 +22522,10 @@ var CamundaClient = class {
22237
22522
  const maybeBody = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstanceBody, envelope.body);
22238
22523
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22239
22524
  }
22525
+ if (envelope.path !== void 0) {
22526
+ const maybePath = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstancePath, envelope.path);
22527
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22528
+ }
22240
22529
  }
22241
22530
  const opts = { client: this._client, signal, throwOnError: false };
22242
22531
  if (envelope.path) opts.path = envelope.path;
@@ -22342,7 +22631,10 @@ var CamundaClient = class {
22342
22631
  envelope.query = { soft };
22343
22632
  if (this._validation.settings.req !== "none") {
22344
22633
  const _schemas = await this._loadSchemas();
22345
- await this._validation.gateRequest("pauseExporting", void 0, envelope);
22634
+ if (envelope.query !== void 0) {
22635
+ const maybeQuery = await this._validation.gateRequest("pauseExporting", _schemas.zPauseExportingQuery, envelope.query);
22636
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22637
+ }
22346
22638
  }
22347
22639
  const opts = { client: this._client, signal, throwOnError: false };
22348
22640
  if (envelope.query) opts.query = envelope.query;
@@ -22553,6 +22845,10 @@ var CamundaClient = class {
22553
22845
  const maybeBody = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentBody, envelope.body);
22554
22846
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22555
22847
  }
22848
+ if (envelope.path !== void 0) {
22849
+ const maybePath = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentPath, envelope.path);
22850
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22851
+ }
22556
22852
  }
22557
22853
  const opts = { client: this._client, signal, throwOnError: false };
22558
22854
  if (envelope.path) opts.path = envelope.path;
@@ -22658,7 +22954,10 @@ var CamundaClient = class {
22658
22954
  envelope.path = { processInstanceKey };
22659
22955
  if (this._validation.settings.req !== "none") {
22660
22956
  const _schemas = await this._loadSchemas();
22661
- await this._validation.gateRequest("resolveProcessInstanceIncidents", void 0, envelope);
22957
+ if (envelope.path !== void 0) {
22958
+ const maybePath = await this._validation.gateRequest("resolveProcessInstanceIncidents", _schemas.zResolveProcessInstanceIncidentsPath, envelope.path);
22959
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22960
+ }
22662
22961
  }
22663
22962
  const opts = { client: this._client, signal, throwOnError: false };
22664
22963
  if (envelope.path) opts.path = envelope.path;
@@ -22822,6 +23121,10 @@ var CamundaClient = class {
22822
23121
  const maybeBody = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationBody, envelope.body);
22823
23122
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22824
23123
  }
23124
+ if (envelope.path !== void 0) {
23125
+ const maybePath = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationPath, envelope.path);
23126
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23127
+ }
22825
23128
  }
22826
23129
  const opts = { client: this._client, signal, throwOnError: false };
22827
23130
  if (envelope.path) opts.path = envelope.path;
@@ -22921,6 +23224,10 @@ var CamundaClient = class {
22921
23224
  const maybeBody = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstanceBody, envelope.body);
22922
23225
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22923
23226
  }
23227
+ if (envelope.path !== void 0) {
23228
+ const maybePath = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstancePath, envelope.path);
23229
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23230
+ }
22924
23231
  }
22925
23232
  const opts = { client: this._client, signal, throwOnError: false };
22926
23233
  if (envelope.path) opts.path = envelope.path;
@@ -23033,6 +23340,10 @@ var CamundaClient = class {
23033
23340
  const maybeBody = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryBody, envelope.body);
23034
23341
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23035
23342
  }
23343
+ if (envelope.path !== void 0) {
23344
+ const maybePath = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryPath, envelope.path);
23345
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23346
+ }
23036
23347
  }
23037
23348
  const opts = { client: this._client, signal, throwOnError: false };
23038
23349
  if (envelope.path) opts.path = envelope.path;
@@ -23383,6 +23694,10 @@ var CamundaClient = class {
23383
23694
  const maybeBody = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupBody, envelope.body);
23384
23695
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23385
23696
  }
23697
+ if (envelope.path !== void 0) {
23698
+ const maybePath = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupPath, envelope.path);
23699
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23700
+ }
23386
23701
  }
23387
23702
  const opts = { client: this._client, signal, throwOnError: false };
23388
23703
  if (envelope.path) opts.path = envelope.path;
@@ -23443,6 +23758,10 @@ var CamundaClient = class {
23443
23758
  const maybeBody = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRoleBody, envelope.body);
23444
23759
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23445
23760
  }
23761
+ if (envelope.path !== void 0) {
23762
+ const maybePath = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRolePath, envelope.path);
23763
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23764
+ }
23446
23765
  }
23447
23766
  const opts = { client: this._client, signal, throwOnError: false };
23448
23767
  if (envelope.path) opts.path = envelope.path;
@@ -23503,6 +23822,10 @@ var CamundaClient = class {
23503
23822
  const maybeBody = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantBody, envelope.body);
23504
23823
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23505
23824
  }
23825
+ if (envelope.path !== void 0) {
23826
+ const maybePath = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantPath, envelope.path);
23827
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23828
+ }
23506
23829
  }
23507
23830
  const opts = { client: this._client, signal, throwOnError: false };
23508
23831
  if (envelope.path) opts.path = envelope.path;
@@ -23563,6 +23886,10 @@ var CamundaClient = class {
23563
23886
  const maybeBody = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesBody, envelope.body);
23564
23887
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23565
23888
  }
23889
+ if (envelope.query !== void 0) {
23890
+ const maybeQuery = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesQuery, envelope.query);
23891
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
23892
+ }
23566
23893
  }
23567
23894
  const opts = { client: this._client, signal, throwOnError: false };
23568
23895
  if (envelope.query) opts.query = envelope.query;
@@ -23855,6 +24182,10 @@ var CamundaClient = class {
23855
24182
  const maybeBody = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsBody, envelope.body);
23856
24183
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23857
24184
  }
24185
+ if (envelope.path !== void 0) {
24186
+ const maybePath = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsPath, envelope.path);
24187
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24188
+ }
23858
24189
  }
23859
24190
  const opts = { client: this._client, signal, throwOnError: false };
23860
24191
  if (envelope.path) opts.path = envelope.path;
@@ -24089,6 +24420,10 @@ var CamundaClient = class {
24089
24420
  const maybeBody = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantBody, envelope.body);
24090
24421
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24091
24422
  }
24423
+ if (envelope.path !== void 0) {
24424
+ const maybePath = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantPath, envelope.path);
24425
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24426
+ }
24092
24427
  }
24093
24428
  const opts = { client: this._client, signal, throwOnError: false };
24094
24429
  if (envelope.path) opts.path = envelope.path;
@@ -24207,6 +24542,10 @@ var CamundaClient = class {
24207
24542
  const maybeBody = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRoleBody, envelope.body);
24208
24543
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24209
24544
  }
24545
+ if (envelope.path !== void 0) {
24546
+ const maybePath = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRolePath, envelope.path);
24547
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24548
+ }
24210
24549
  }
24211
24550
  const opts = { client: this._client, signal, throwOnError: false };
24212
24551
  if (envelope.path) opts.path = envelope.path;
@@ -24441,6 +24780,10 @@ var CamundaClient = class {
24441
24780
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupBody, envelope.body);
24442
24781
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24443
24782
  }
24783
+ if (envelope.path !== void 0) {
24784
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupPath, envelope.path);
24785
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24786
+ }
24444
24787
  }
24445
24788
  const opts = { client: this._client, signal, throwOnError: false };
24446
24789
  if (envelope.path) opts.path = envelope.path;
@@ -24501,6 +24844,10 @@ var CamundaClient = class {
24501
24844
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRoleBody, envelope.body);
24502
24845
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24503
24846
  }
24847
+ if (envelope.path !== void 0) {
24848
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRolePath, envelope.path);
24849
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24850
+ }
24504
24851
  }
24505
24852
  const opts = { client: this._client, signal, throwOnError: false };
24506
24853
  if (envelope.path) opts.path = envelope.path;
@@ -24561,6 +24908,10 @@ var CamundaClient = class {
24561
24908
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantBody, envelope.body);
24562
24909
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24563
24910
  }
24911
+ if (envelope.path !== void 0) {
24912
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantPath, envelope.path);
24913
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24914
+ }
24564
24915
  }
24565
24916
  const opts = { client: this._client, signal, throwOnError: false };
24566
24917
  if (envelope.path) opts.path = envelope.path;
@@ -24737,6 +25088,10 @@ var CamundaClient = class {
24737
25088
  const maybeBody = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesBody, envelope.body);
24738
25089
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24739
25090
  }
25091
+ if (envelope.path !== void 0) {
25092
+ const maybePath = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesPath, envelope.path);
25093
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25094
+ }
24740
25095
  }
24741
25096
  const opts = { client: this._client, signal, throwOnError: false };
24742
25097
  if (envelope.path) opts.path = envelope.path;
@@ -24797,6 +25152,10 @@ var CamundaClient = class {
24797
25152
  const maybeBody = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsBody, envelope.body);
24798
25153
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24799
25154
  }
25155
+ if (envelope.path !== void 0) {
25156
+ const maybePath = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsPath, envelope.path);
25157
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25158
+ }
24800
25159
  }
24801
25160
  const opts = { client: this._client, signal, throwOnError: false };
24802
25161
  if (envelope.path) opts.path = envelope.path;
@@ -25031,6 +25390,10 @@ var CamundaClient = class {
25031
25390
  const maybeBody = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupBody, envelope.body);
25032
25391
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25033
25392
  }
25393
+ if (envelope.path !== void 0) {
25394
+ const maybePath = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupPath, envelope.path);
25395
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25396
+ }
25034
25397
  }
25035
25398
  const opts = { client: this._client, signal, throwOnError: false };
25036
25399
  if (envelope.path) opts.path = envelope.path;
@@ -25091,6 +25454,10 @@ var CamundaClient = class {
25091
25454
  const maybeBody = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantBody, envelope.body);
25092
25455
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25093
25456
  }
25457
+ if (envelope.path !== void 0) {
25458
+ const maybePath = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantPath, envelope.path);
25459
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25460
+ }
25094
25461
  }
25095
25462
  const opts = { client: this._client, signal, throwOnError: false };
25096
25463
  if (envelope.path) opts.path = envelope.path;
@@ -25267,6 +25634,10 @@ var CamundaClient = class {
25267
25634
  const maybeBody = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupBody, envelope.body);
25268
25635
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25269
25636
  }
25637
+ if (envelope.path !== void 0) {
25638
+ const maybePath = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupPath, envelope.path);
25639
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25640
+ }
25270
25641
  }
25271
25642
  const opts = { client: this._client, signal, throwOnError: false };
25272
25643
  if (envelope.path) opts.path = envelope.path;
@@ -25327,6 +25698,10 @@ var CamundaClient = class {
25327
25698
  const maybeBody = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRoleBody, envelope.body);
25328
25699
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25329
25700
  }
25701
+ if (envelope.path !== void 0) {
25702
+ const maybePath = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRolePath, envelope.path);
25703
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25704
+ }
25330
25705
  }
25331
25706
  const opts = { client: this._client, signal, throwOnError: false };
25332
25707
  if (envelope.path) opts.path = envelope.path;
@@ -25387,6 +25762,10 @@ var CamundaClient = class {
25387
25762
  const maybeBody = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantBody, envelope.body);
25388
25763
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25389
25764
  }
25765
+ if (envelope.path !== void 0) {
25766
+ const maybePath = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantPath, envelope.path);
25767
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25768
+ }
25390
25769
  }
25391
25770
  const opts = { client: this._client, signal, throwOnError: false };
25392
25771
  if (envelope.path) opts.path = envelope.path;
@@ -25447,6 +25826,10 @@ var CamundaClient = class {
25447
25826
  const maybeBody = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsBody, envelope.body);
25448
25827
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25449
25828
  }
25829
+ if (envelope.path !== void 0) {
25830
+ const maybePath = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsPath, envelope.path);
25831
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25832
+ }
25450
25833
  }
25451
25834
  const opts = { client: this._client, signal, throwOnError: false };
25452
25835
  if (envelope.path) opts.path = envelope.path;
@@ -25508,6 +25891,14 @@ var CamundaClient = class {
25508
25891
  const maybeBody = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesBody, envelope.body);
25509
25892
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25510
25893
  }
25894
+ if (envelope.path !== void 0) {
25895
+ const maybePath = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesPath, envelope.path);
25896
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25897
+ }
25898
+ if (envelope.query !== void 0) {
25899
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesQuery, envelope.query);
25900
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
25901
+ }
25511
25902
  }
25512
25903
  const opts = { client: this._client, signal, throwOnError: false };
25513
25904
  if (envelope.path) opts.path = envelope.path;
@@ -25628,6 +26019,14 @@ var CamundaClient = class {
25628
26019
  const maybeBody = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesBody, envelope.body);
25629
26020
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25630
26021
  }
26022
+ if (envelope.path !== void 0) {
26023
+ const maybePath = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesPath, envelope.path);
26024
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26025
+ }
26026
+ if (envelope.query !== void 0) {
26027
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesQuery, envelope.query);
26028
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
26029
+ }
25631
26030
  }
25632
26031
  const opts = { client: this._client, signal, throwOnError: false };
25633
26032
  if (envelope.path) opts.path = envelope.path;
@@ -25689,6 +26088,10 @@ var CamundaClient = class {
25689
26088
  const maybeBody = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesBody, envelope.body);
25690
26089
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25691
26090
  }
26091
+ if (envelope.query !== void 0) {
26092
+ const maybeQuery = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesQuery, envelope.query);
26093
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
26094
+ }
25692
26095
  }
25693
26096
  const opts = { client: this._client, signal, throwOnError: false };
25694
26097
  if (envelope.query) opts.query = envelope.query;
@@ -25747,6 +26150,10 @@ var CamundaClient = class {
25747
26150
  const maybeBody = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationBody, envelope.body);
25748
26151
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25749
26152
  }
26153
+ if (envelope.path !== void 0) {
26154
+ const maybePath = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationPath, envelope.path);
26155
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26156
+ }
25750
26157
  }
25751
26158
  const opts = { client: this._client, signal, throwOnError: false };
25752
26159
  if (envelope.path) opts.path = envelope.path;
@@ -25803,6 +26210,10 @@ var CamundaClient = class {
25803
26210
  const maybeBody = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstanceBody, envelope.body);
25804
26211
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25805
26212
  }
26213
+ if (envelope.path !== void 0) {
26214
+ const maybePath = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstancePath, envelope.path);
26215
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26216
+ }
25806
26217
  }
25807
26218
  const opts = { client: this._client, signal, throwOnError: false };
25808
26219
  if (envelope.path) opts.path = envelope.path;
@@ -26010,6 +26421,10 @@ var CamundaClient = class {
26010
26421
  const maybeBody = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorBody, envelope.body);
26011
26422
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26012
26423
  }
26424
+ if (envelope.path !== void 0) {
26425
+ const maybePath = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorPath, envelope.path);
26426
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26427
+ }
26013
26428
  }
26014
26429
  const opts = { client: this._client, signal, throwOnError: false };
26015
26430
  if (envelope.path) opts.path = envelope.path;
@@ -26061,7 +26476,10 @@ var CamundaClient = class {
26061
26476
  envelope.path = { groupId, clientId };
26062
26477
  if (this._validation.settings.req !== "none") {
26063
26478
  const _schemas = await this._loadSchemas();
26064
- await this._validation.gateRequest("unassignClientFromGroup", void 0, envelope);
26479
+ if (envelope.path !== void 0) {
26480
+ const maybePath = await this._validation.gateRequest("unassignClientFromGroup", _schemas.zUnassignClientFromGroupPath, envelope.path);
26481
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26482
+ }
26065
26483
  }
26066
26484
  const opts = { client: this._client, signal, throwOnError: false };
26067
26485
  if (envelope.path) opts.path = envelope.path;
@@ -26112,7 +26530,10 @@ var CamundaClient = class {
26112
26530
  envelope.path = { tenantId, clientId };
26113
26531
  if (this._validation.settings.req !== "none") {
26114
26532
  const _schemas = await this._loadSchemas();
26115
- await this._validation.gateRequest("unassignClientFromTenant", void 0, envelope);
26533
+ if (envelope.path !== void 0) {
26534
+ const maybePath = await this._validation.gateRequest("unassignClientFromTenant", _schemas.zUnassignClientFromTenantPath, envelope.path);
26535
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26536
+ }
26116
26537
  }
26117
26538
  const opts = { client: this._client, signal, throwOnError: false };
26118
26539
  if (envelope.path) opts.path = envelope.path;
@@ -26163,7 +26584,10 @@ var CamundaClient = class {
26163
26584
  envelope.path = { tenantId, groupId };
26164
26585
  if (this._validation.settings.req !== "none") {
26165
26586
  const _schemas = await this._loadSchemas();
26166
- await this._validation.gateRequest("unassignGroupFromTenant", void 0, envelope);
26587
+ if (envelope.path !== void 0) {
26588
+ const maybePath = await this._validation.gateRequest("unassignGroupFromTenant", _schemas.zUnassignGroupFromTenantPath, envelope.path);
26589
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26590
+ }
26167
26591
  }
26168
26592
  const opts = { client: this._client, signal, throwOnError: false };
26169
26593
  if (envelope.path) opts.path = envelope.path;
@@ -26214,7 +26638,10 @@ var CamundaClient = class {
26214
26638
  envelope.path = { groupId, mappingRuleId };
26215
26639
  if (this._validation.settings.req !== "none") {
26216
26640
  const _schemas = await this._loadSchemas();
26217
- await this._validation.gateRequest("unassignMappingRuleFromGroup", void 0, envelope);
26641
+ if (envelope.path !== void 0) {
26642
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromGroup", _schemas.zUnassignMappingRuleFromGroupPath, envelope.path);
26643
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26644
+ }
26218
26645
  }
26219
26646
  const opts = { client: this._client, signal, throwOnError: false };
26220
26647
  if (envelope.path) opts.path = envelope.path;
@@ -26265,7 +26692,10 @@ var CamundaClient = class {
26265
26692
  envelope.path = { tenantId, mappingRuleId };
26266
26693
  if (this._validation.settings.req !== "none") {
26267
26694
  const _schemas = await this._loadSchemas();
26268
- await this._validation.gateRequest("unassignMappingRuleFromTenant", void 0, envelope);
26695
+ if (envelope.path !== void 0) {
26696
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromTenant", _schemas.zUnassignMappingRuleFromTenantPath, envelope.path);
26697
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26698
+ }
26269
26699
  }
26270
26700
  const opts = { client: this._client, signal, throwOnError: false };
26271
26701
  if (envelope.path) opts.path = envelope.path;
@@ -26316,7 +26746,10 @@ var CamundaClient = class {
26316
26746
  envelope.path = { roleId, clientId };
26317
26747
  if (this._validation.settings.req !== "none") {
26318
26748
  const _schemas = await this._loadSchemas();
26319
- await this._validation.gateRequest("unassignRoleFromClient", void 0, envelope);
26749
+ if (envelope.path !== void 0) {
26750
+ const maybePath = await this._validation.gateRequest("unassignRoleFromClient", _schemas.zUnassignRoleFromClientPath, envelope.path);
26751
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26752
+ }
26320
26753
  }
26321
26754
  const opts = { client: this._client, signal, throwOnError: false };
26322
26755
  if (envelope.path) opts.path = envelope.path;
@@ -26367,7 +26800,10 @@ var CamundaClient = class {
26367
26800
  envelope.path = { roleId, groupId };
26368
26801
  if (this._validation.settings.req !== "none") {
26369
26802
  const _schemas = await this._loadSchemas();
26370
- await this._validation.gateRequest("unassignRoleFromGroup", void 0, envelope);
26803
+ if (envelope.path !== void 0) {
26804
+ const maybePath = await this._validation.gateRequest("unassignRoleFromGroup", _schemas.zUnassignRoleFromGroupPath, envelope.path);
26805
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26806
+ }
26371
26807
  }
26372
26808
  const opts = { client: this._client, signal, throwOnError: false };
26373
26809
  if (envelope.path) opts.path = envelope.path;
@@ -26418,7 +26854,10 @@ var CamundaClient = class {
26418
26854
  envelope.path = { roleId, mappingRuleId };
26419
26855
  if (this._validation.settings.req !== "none") {
26420
26856
  const _schemas = await this._loadSchemas();
26421
- await this._validation.gateRequest("unassignRoleFromMappingRule", void 0, envelope);
26857
+ if (envelope.path !== void 0) {
26858
+ const maybePath = await this._validation.gateRequest("unassignRoleFromMappingRule", _schemas.zUnassignRoleFromMappingRulePath, envelope.path);
26859
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26860
+ }
26422
26861
  }
26423
26862
  const opts = { client: this._client, signal, throwOnError: false };
26424
26863
  if (envelope.path) opts.path = envelope.path;
@@ -26469,7 +26908,10 @@ var CamundaClient = class {
26469
26908
  envelope.path = { tenantId, roleId };
26470
26909
  if (this._validation.settings.req !== "none") {
26471
26910
  const _schemas = await this._loadSchemas();
26472
- await this._validation.gateRequest("unassignRoleFromTenant", void 0, envelope);
26911
+ if (envelope.path !== void 0) {
26912
+ const maybePath = await this._validation.gateRequest("unassignRoleFromTenant", _schemas.zUnassignRoleFromTenantPath, envelope.path);
26913
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26914
+ }
26473
26915
  }
26474
26916
  const opts = { client: this._client, signal, throwOnError: false };
26475
26917
  if (envelope.path) opts.path = envelope.path;
@@ -26520,7 +26962,10 @@ var CamundaClient = class {
26520
26962
  envelope.path = { roleId, username };
26521
26963
  if (this._validation.settings.req !== "none") {
26522
26964
  const _schemas = await this._loadSchemas();
26523
- await this._validation.gateRequest("unassignRoleFromUser", void 0, envelope);
26965
+ if (envelope.path !== void 0) {
26966
+ const maybePath = await this._validation.gateRequest("unassignRoleFromUser", _schemas.zUnassignRoleFromUserPath, envelope.path);
26967
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26968
+ }
26524
26969
  }
26525
26970
  const opts = { client: this._client, signal, throwOnError: false };
26526
26971
  if (envelope.path) opts.path = envelope.path;
@@ -26571,7 +27016,10 @@ var CamundaClient = class {
26571
27016
  envelope.path = { groupId, username };
26572
27017
  if (this._validation.settings.req !== "none") {
26573
27018
  const _schemas = await this._loadSchemas();
26574
- await this._validation.gateRequest("unassignUserFromGroup", void 0, envelope);
27019
+ if (envelope.path !== void 0) {
27020
+ const maybePath = await this._validation.gateRequest("unassignUserFromGroup", _schemas.zUnassignUserFromGroupPath, envelope.path);
27021
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27022
+ }
26575
27023
  }
26576
27024
  const opts = { client: this._client, signal, throwOnError: false };
26577
27025
  if (envelope.path) opts.path = envelope.path;
@@ -26622,7 +27070,10 @@ var CamundaClient = class {
26622
27070
  envelope.path = { tenantId, username };
26623
27071
  if (this._validation.settings.req !== "none") {
26624
27072
  const _schemas = await this._loadSchemas();
26625
- await this._validation.gateRequest("unassignUserFromTenant", void 0, envelope);
27073
+ if (envelope.path !== void 0) {
27074
+ const maybePath = await this._validation.gateRequest("unassignUserFromTenant", _schemas.zUnassignUserFromTenantPath, envelope.path);
27075
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27076
+ }
26626
27077
  }
26627
27078
  const opts = { client: this._client, signal, throwOnError: false };
26628
27079
  if (envelope.path) opts.path = envelope.path;
@@ -26673,7 +27124,10 @@ var CamundaClient = class {
26673
27124
  envelope.path = { userTaskKey };
26674
27125
  if (this._validation.settings.req !== "none") {
26675
27126
  const _schemas = await this._loadSchemas();
26676
- await this._validation.gateRequest("unassignUserTask", void 0, envelope);
27127
+ if (envelope.path !== void 0) {
27128
+ const maybePath = await this._validation.gateRequest("unassignUserTask", _schemas.zUnassignUserTaskPath, envelope.path);
27129
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27130
+ }
26677
27131
  }
26678
27132
  const opts = { client: this._client, signal, throwOnError: false };
26679
27133
  if (envelope.path) opts.path = envelope.path;
@@ -26729,6 +27183,10 @@ var CamundaClient = class {
26729
27183
  const maybeBody = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstanceBody, envelope.body);
26730
27184
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26731
27185
  }
27186
+ if (envelope.path !== void 0) {
27187
+ const maybePath = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstancePath, envelope.path);
27188
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27189
+ }
26732
27190
  }
26733
27191
  const opts = { client: this._client, signal, throwOnError: false };
26734
27192
  if (envelope.path) opts.path = envelope.path;
@@ -26785,6 +27243,10 @@ var CamundaClient = class {
26785
27243
  const maybeBody = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationBody, envelope.body);
26786
27244
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26787
27245
  }
27246
+ if (envelope.path !== void 0) {
27247
+ const maybePath = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationPath, envelope.path);
27248
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27249
+ }
26788
27250
  }
26789
27251
  const opts = { client: this._client, signal, throwOnError: false };
26790
27252
  if (envelope.path) opts.path = envelope.path;
@@ -26841,6 +27303,10 @@ var CamundaClient = class {
26841
27303
  const maybeBody = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariableBody, envelope.body);
26842
27304
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26843
27305
  }
27306
+ if (envelope.path !== void 0) {
27307
+ const maybePath = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariablePath, envelope.path);
27308
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27309
+ }
26844
27310
  }
26845
27311
  const opts = { client: this._client, signal, throwOnError: false };
26846
27312
  if (envelope.path) opts.path = envelope.path;
@@ -26897,6 +27363,10 @@ var CamundaClient = class {
26897
27363
  const maybeBody = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerBody, envelope.body);
26898
27364
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26899
27365
  }
27366
+ if (envelope.path !== void 0) {
27367
+ const maybePath = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerPath, envelope.path);
27368
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27369
+ }
26900
27370
  }
26901
27371
  const opts = { client: this._client, signal, throwOnError: false };
26902
27372
  if (envelope.path) opts.path = envelope.path;
@@ -26953,6 +27423,10 @@ var CamundaClient = class {
26953
27423
  const maybeBody = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupBody, envelope.body);
26954
27424
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26955
27425
  }
27426
+ if (envelope.path !== void 0) {
27427
+ const maybePath = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupPath, envelope.path);
27428
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27429
+ }
26956
27430
  }
26957
27431
  const opts = { client: this._client, signal, throwOnError: false };
26958
27432
  if (envelope.path) opts.path = envelope.path;
@@ -27009,6 +27483,10 @@ var CamundaClient = class {
27009
27483
  const maybeBody = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobBody, envelope.body);
27010
27484
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27011
27485
  }
27486
+ if (envelope.path !== void 0) {
27487
+ const maybePath = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobPath, envelope.path);
27488
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27489
+ }
27012
27490
  }
27013
27491
  const opts = { client: this._client, signal, throwOnError: false };
27014
27492
  if (envelope.path) opts.path = envelope.path;
@@ -27119,6 +27597,10 @@ var CamundaClient = class {
27119
27597
  const maybeBody = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRuleBody, envelope.body);
27120
27598
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27121
27599
  }
27600
+ if (envelope.path !== void 0) {
27601
+ const maybePath = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRulePath, envelope.path);
27602
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27603
+ }
27122
27604
  }
27123
27605
  const opts = { client: this._client, signal, throwOnError: false };
27124
27606
  if (envelope.path) opts.path = envelope.path;
@@ -27175,6 +27657,10 @@ var CamundaClient = class {
27175
27657
  const maybeBody = await this._validation.gateRequest("updateRole", _schemas.zUpdateRoleBody, envelope.body);
27176
27658
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27177
27659
  }
27660
+ if (envelope.path !== void 0) {
27661
+ const maybePath = await this._validation.gateRequest("updateRole", _schemas.zUpdateRolePath, envelope.path);
27662
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27663
+ }
27178
27664
  }
27179
27665
  const opts = { client: this._client, signal, throwOnError: false };
27180
27666
  if (envelope.path) opts.path = envelope.path;
@@ -27231,6 +27717,10 @@ var CamundaClient = class {
27231
27717
  const maybeBody = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantBody, envelope.body);
27232
27718
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27233
27719
  }
27720
+ if (envelope.path !== void 0) {
27721
+ const maybePath = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantPath, envelope.path);
27722
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27723
+ }
27234
27724
  }
27235
27725
  const opts = { client: this._client, signal, throwOnError: false };
27236
27726
  if (envelope.path) opts.path = envelope.path;
@@ -27287,6 +27777,10 @@ var CamundaClient = class {
27287
27777
  const maybeBody = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariableBody, envelope.body);
27288
27778
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27289
27779
  }
27780
+ if (envelope.path !== void 0) {
27781
+ const maybePath = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariablePath, envelope.path);
27782
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27783
+ }
27290
27784
  }
27291
27785
  const opts = { client: this._client, signal, throwOnError: false };
27292
27786
  if (envelope.path) opts.path = envelope.path;
@@ -27343,6 +27837,10 @@ var CamundaClient = class {
27343
27837
  const maybeBody = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserBody, envelope.body);
27344
27838
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27345
27839
  }
27840
+ if (envelope.path !== void 0) {
27841
+ const maybePath = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserPath, envelope.path);
27842
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27843
+ }
27346
27844
  }
27347
27845
  const opts = { client: this._client, signal, throwOnError: false };
27348
27846
  if (envelope.path) opts.path = envelope.path;
@@ -27399,6 +27897,10 @@ var CamundaClient = class {
27399
27897
  const maybeBody = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskBody, envelope.body);
27400
27898
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27401
27899
  }
27900
+ if (envelope.path !== void 0) {
27901
+ const maybePath = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskPath, envelope.path);
27902
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27903
+ }
27402
27904
  }
27403
27905
  const opts = { client: this._client, signal, throwOnError: false };
27404
27906
  if (envelope.path) opts.path = envelope.path;