@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/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, {
@@ -9347,6 +9353,7 @@ var createClient = (config = {}) => {
9347
9353
  const responseStyle = options.responseStyle ?? _config.responseStyle;
9348
9354
  let request2;
9349
9355
  let response;
9356
+ let __isHttpErrorResponse = false;
9350
9357
  try {
9351
9358
  const { opts, url: url2 } = await beforeRequest(options);
9352
9359
  const requestInit = {
@@ -9435,6 +9442,7 @@ var createClient = (config = {}) => {
9435
9442
  jsonError = JSON.parse(textError);
9436
9443
  } catch {
9437
9444
  }
9445
+ __isHttpErrorResponse = true;
9438
9446
  throw jsonError ?? textError;
9439
9447
  } catch (error) {
9440
9448
  let finalError = error;
@@ -9444,7 +9452,7 @@ var createClient = (config = {}) => {
9444
9452
  }
9445
9453
  }
9446
9454
  finalError = finalError || {};
9447
- if (throwOnError) {
9455
+ if (throwOnError || !__isHttpErrorResponse) {
9448
9456
  throw finalError;
9449
9457
  }
9450
9458
  return responseStyle === "data" ? void 0 : {
@@ -13060,7 +13068,7 @@ function createLogger(opts = {}) {
13060
13068
  }
13061
13069
 
13062
13070
  // src/runtime/version.ts
13063
- var packageVersion = "10.0.0-alpha.22";
13071
+ var packageVersion = "10.0.0-alpha.24";
13064
13072
 
13065
13073
  // src/runtime/supportLogger.ts
13066
13074
  var NoopSupportLogger = class {
@@ -15662,6 +15670,10 @@ var CamundaClient = class {
15662
15670
  const maybeBody = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesBody, envelope.body);
15663
15671
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15664
15672
  }
15673
+ if (envelope.path !== void 0) {
15674
+ const maybePath = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesPath, envelope.path);
15675
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15676
+ }
15665
15677
  }
15666
15678
  const opts = { client: this._client, signal, throwOnError: false };
15667
15679
  if (envelope.path) opts.path = envelope.path;
@@ -15774,7 +15786,10 @@ var CamundaClient = class {
15774
15786
  envelope.path = { groupId, clientId };
15775
15787
  if (this._validation.settings.req !== "none") {
15776
15788
  const _schemas = await this._loadSchemas();
15777
- await this._validation.gateRequest("assignClientToGroup", void 0, envelope);
15789
+ if (envelope.path !== void 0) {
15790
+ const maybePath = await this._validation.gateRequest("assignClientToGroup", _schemas.zAssignClientToGroupPath, envelope.path);
15791
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15792
+ }
15778
15793
  }
15779
15794
  const opts = { client: this._client, signal, throwOnError: false };
15780
15795
  if (envelope.path) opts.path = envelope.path;
@@ -15825,7 +15840,10 @@ var CamundaClient = class {
15825
15840
  envelope.path = { tenantId, clientId };
15826
15841
  if (this._validation.settings.req !== "none") {
15827
15842
  const _schemas = await this._loadSchemas();
15828
- await this._validation.gateRequest("assignClientToTenant", void 0, envelope);
15843
+ if (envelope.path !== void 0) {
15844
+ const maybePath = await this._validation.gateRequest("assignClientToTenant", _schemas.zAssignClientToTenantPath, envelope.path);
15845
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15846
+ }
15829
15847
  }
15830
15848
  const opts = { client: this._client, signal, throwOnError: false };
15831
15849
  if (envelope.path) opts.path = envelope.path;
@@ -15876,7 +15894,10 @@ var CamundaClient = class {
15876
15894
  envelope.path = { tenantId, groupId };
15877
15895
  if (this._validation.settings.req !== "none") {
15878
15896
  const _schemas = await this._loadSchemas();
15879
- await this._validation.gateRequest("assignGroupToTenant", void 0, envelope);
15897
+ if (envelope.path !== void 0) {
15898
+ const maybePath = await this._validation.gateRequest("assignGroupToTenant", _schemas.zAssignGroupToTenantPath, envelope.path);
15899
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15900
+ }
15880
15901
  }
15881
15902
  const opts = { client: this._client, signal, throwOnError: false };
15882
15903
  if (envelope.path) opts.path = envelope.path;
@@ -15927,7 +15948,10 @@ var CamundaClient = class {
15927
15948
  envelope.path = { groupId, mappingRuleId };
15928
15949
  if (this._validation.settings.req !== "none") {
15929
15950
  const _schemas = await this._loadSchemas();
15930
- await this._validation.gateRequest("assignMappingRuleToGroup", void 0, envelope);
15951
+ if (envelope.path !== void 0) {
15952
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToGroup", _schemas.zAssignMappingRuleToGroupPath, envelope.path);
15953
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15954
+ }
15931
15955
  }
15932
15956
  const opts = { client: this._client, signal, throwOnError: false };
15933
15957
  if (envelope.path) opts.path = envelope.path;
@@ -15978,7 +16002,10 @@ var CamundaClient = class {
15978
16002
  envelope.path = { tenantId, mappingRuleId };
15979
16003
  if (this._validation.settings.req !== "none") {
15980
16004
  const _schemas = await this._loadSchemas();
15981
- await this._validation.gateRequest("assignMappingRuleToTenant", void 0, envelope);
16005
+ if (envelope.path !== void 0) {
16006
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToTenant", _schemas.zAssignMappingRuleToTenantPath, envelope.path);
16007
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16008
+ }
15982
16009
  }
15983
16010
  const opts = { client: this._client, signal, throwOnError: false };
15984
16011
  if (envelope.path) opts.path = envelope.path;
@@ -16034,6 +16061,10 @@ var CamundaClient = class {
16034
16061
  const maybeBody = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdBody, envelope.body);
16035
16062
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16036
16063
  }
16064
+ if (envelope.path !== void 0) {
16065
+ const maybePath = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdPath, envelope.path);
16066
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16067
+ }
16037
16068
  }
16038
16069
  const opts = { client: this._client, signal, throwOnError: false };
16039
16070
  if (envelope.path) opts.path = envelope.path;
@@ -16085,7 +16116,10 @@ var CamundaClient = class {
16085
16116
  envelope.path = { roleId, clientId };
16086
16117
  if (this._validation.settings.req !== "none") {
16087
16118
  const _schemas = await this._loadSchemas();
16088
- await this._validation.gateRequest("assignRoleToClient", void 0, envelope);
16119
+ if (envelope.path !== void 0) {
16120
+ const maybePath = await this._validation.gateRequest("assignRoleToClient", _schemas.zAssignRoleToClientPath, envelope.path);
16121
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16122
+ }
16089
16123
  }
16090
16124
  const opts = { client: this._client, signal, throwOnError: false };
16091
16125
  if (envelope.path) opts.path = envelope.path;
@@ -16136,7 +16170,10 @@ var CamundaClient = class {
16136
16170
  envelope.path = { roleId, groupId };
16137
16171
  if (this._validation.settings.req !== "none") {
16138
16172
  const _schemas = await this._loadSchemas();
16139
- await this._validation.gateRequest("assignRoleToGroup", void 0, envelope);
16173
+ if (envelope.path !== void 0) {
16174
+ const maybePath = await this._validation.gateRequest("assignRoleToGroup", _schemas.zAssignRoleToGroupPath, envelope.path);
16175
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16176
+ }
16140
16177
  }
16141
16178
  const opts = { client: this._client, signal, throwOnError: false };
16142
16179
  if (envelope.path) opts.path = envelope.path;
@@ -16187,7 +16224,10 @@ var CamundaClient = class {
16187
16224
  envelope.path = { roleId, mappingRuleId };
16188
16225
  if (this._validation.settings.req !== "none") {
16189
16226
  const _schemas = await this._loadSchemas();
16190
- await this._validation.gateRequest("assignRoleToMappingRule", void 0, envelope);
16227
+ if (envelope.path !== void 0) {
16228
+ const maybePath = await this._validation.gateRequest("assignRoleToMappingRule", _schemas.zAssignRoleToMappingRulePath, envelope.path);
16229
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16230
+ }
16191
16231
  }
16192
16232
  const opts = { client: this._client, signal, throwOnError: false };
16193
16233
  if (envelope.path) opts.path = envelope.path;
@@ -16238,7 +16278,10 @@ var CamundaClient = class {
16238
16278
  envelope.path = { tenantId, roleId };
16239
16279
  if (this._validation.settings.req !== "none") {
16240
16280
  const _schemas = await this._loadSchemas();
16241
- await this._validation.gateRequest("assignRoleToTenant", void 0, envelope);
16281
+ if (envelope.path !== void 0) {
16282
+ const maybePath = await this._validation.gateRequest("assignRoleToTenant", _schemas.zAssignRoleToTenantPath, envelope.path);
16283
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16284
+ }
16242
16285
  }
16243
16286
  const opts = { client: this._client, signal, throwOnError: false };
16244
16287
  if (envelope.path) opts.path = envelope.path;
@@ -16289,7 +16332,10 @@ var CamundaClient = class {
16289
16332
  envelope.path = { roleId, username };
16290
16333
  if (this._validation.settings.req !== "none") {
16291
16334
  const _schemas = await this._loadSchemas();
16292
- await this._validation.gateRequest("assignRoleToUser", void 0, envelope);
16335
+ if (envelope.path !== void 0) {
16336
+ const maybePath = await this._validation.gateRequest("assignRoleToUser", _schemas.zAssignRoleToUserPath, envelope.path);
16337
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16338
+ }
16293
16339
  }
16294
16340
  const opts = { client: this._client, signal, throwOnError: false };
16295
16341
  if (envelope.path) opts.path = envelope.path;
@@ -16345,6 +16391,10 @@ var CamundaClient = class {
16345
16391
  const maybeBody = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskBody, envelope.body);
16346
16392
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16347
16393
  }
16394
+ if (envelope.path !== void 0) {
16395
+ const maybePath = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskPath, envelope.path);
16396
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16397
+ }
16348
16398
  }
16349
16399
  const opts = { client: this._client, signal, throwOnError: false };
16350
16400
  if (envelope.path) opts.path = envelope.path;
@@ -16396,7 +16446,10 @@ var CamundaClient = class {
16396
16446
  envelope.path = { groupId, username };
16397
16447
  if (this._validation.settings.req !== "none") {
16398
16448
  const _schemas = await this._loadSchemas();
16399
- await this._validation.gateRequest("assignUserToGroup", void 0, envelope);
16449
+ if (envelope.path !== void 0) {
16450
+ const maybePath = await this._validation.gateRequest("assignUserToGroup", _schemas.zAssignUserToGroupPath, envelope.path);
16451
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16452
+ }
16400
16453
  }
16401
16454
  const opts = { client: this._client, signal, throwOnError: false };
16402
16455
  if (envelope.path) opts.path = envelope.path;
@@ -16447,7 +16500,10 @@ var CamundaClient = class {
16447
16500
  envelope.path = { tenantId, username };
16448
16501
  if (this._validation.settings.req !== "none") {
16449
16502
  const _schemas = await this._loadSchemas();
16450
- await this._validation.gateRequest("assignUserToTenant", void 0, envelope);
16503
+ if (envelope.path !== void 0) {
16504
+ const maybePath = await this._validation.gateRequest("assignUserToTenant", _schemas.zAssignUserToTenantPath, envelope.path);
16505
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16506
+ }
16451
16507
  }
16452
16508
  const opts = { client: this._client, signal, throwOnError: false };
16453
16509
  if (envelope.path) opts.path = envelope.path;
@@ -16561,6 +16617,10 @@ var CamundaClient = class {
16561
16617
  const maybeBody = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationBody, envelope.body);
16562
16618
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16563
16619
  }
16620
+ if (envelope.path !== void 0) {
16621
+ const maybePath = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationPath, envelope.path);
16622
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16623
+ }
16564
16624
  }
16565
16625
  const opts = { client: this._client, signal, throwOnError: false };
16566
16626
  if (envelope.path) opts.path = envelope.path;
@@ -16617,6 +16677,10 @@ var CamundaClient = class {
16617
16677
  const maybeBody = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstanceBody, envelope.body);
16618
16678
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16619
16679
  }
16680
+ if (envelope.path !== void 0) {
16681
+ const maybePath = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstancePath, envelope.path);
16682
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16683
+ }
16620
16684
  }
16621
16685
  const opts = { client: this._client, signal, throwOnError: false };
16622
16686
  if (envelope.path) opts.path = envelope.path;
@@ -16722,7 +16786,10 @@ var CamundaClient = class {
16722
16786
  envelope.query = { mode, dryRun };
16723
16787
  if (this._validation.settings.req !== "none") {
16724
16788
  const _schemas = await this._loadSchemas();
16725
- await this._validation.gateRequest("changeClusterMode", void 0, envelope);
16789
+ if (envelope.query !== void 0) {
16790
+ const maybeQuery = await this._validation.gateRequest("changeClusterMode", _schemas.zChangeClusterModeQuery, envelope.query);
16791
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
16792
+ }
16726
16793
  }
16727
16794
  const opts = { client: this._client, signal, throwOnError: false };
16728
16795
  if (envelope.query) opts.query = envelope.query;
@@ -16778,6 +16845,10 @@ var CamundaClient = class {
16778
16845
  const maybeBody = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobBody, envelope.body);
16779
16846
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16780
16847
  }
16848
+ if (envelope.path !== void 0) {
16849
+ const maybePath = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobPath, envelope.path);
16850
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16851
+ }
16781
16852
  }
16782
16853
  const opts = { client: this._client, signal, throwOnError: false };
16783
16854
  if (envelope.path) opts.path = envelope.path;
@@ -16834,6 +16905,10 @@ var CamundaClient = class {
16834
16905
  const maybeBody = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskBody, envelope.body);
16835
16906
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16836
16907
  }
16908
+ if (envelope.path !== void 0) {
16909
+ const maybePath = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskPath, envelope.path);
16910
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16911
+ }
16837
16912
  }
16838
16913
  const opts = { client: this._client, signal, throwOnError: false };
16839
16914
  if (envelope.path) opts.path = envelope.path;
@@ -17056,6 +17131,10 @@ var CamundaClient = class {
17056
17131
  const maybeBody = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemBody, envelope.body);
17057
17132
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17058
17133
  }
17134
+ if (envelope.path !== void 0) {
17135
+ const maybePath = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemPath, envelope.path);
17136
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17137
+ }
17059
17138
  }
17060
17139
  const opts = { client: this._client, signal, throwOnError: false };
17061
17140
  if (envelope.path) opts.path = envelope.path;
@@ -17238,6 +17317,10 @@ var CamundaClient = class {
17238
17317
  const maybeBody = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentBody, envelope.body);
17239
17318
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17240
17319
  }
17320
+ if (envelope.query !== void 0) {
17321
+ const maybeQuery = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentQuery, envelope.query);
17322
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17323
+ }
17241
17324
  }
17242
17325
  const opts = { client: this._client, signal, throwOnError: false };
17243
17326
  if (envelope.query) opts.query = envelope.query;
@@ -17295,6 +17378,14 @@ var CamundaClient = class {
17295
17378
  const maybeBody = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkBody, envelope.body);
17296
17379
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17297
17380
  }
17381
+ if (envelope.path !== void 0) {
17382
+ const maybePath = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkPath, envelope.path);
17383
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17384
+ }
17385
+ if (envelope.query !== void 0) {
17386
+ const maybeQuery = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkQuery, envelope.query);
17387
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17388
+ }
17298
17389
  }
17299
17390
  const opts = { client: this._client, signal, throwOnError: false };
17300
17391
  if (envelope.path) opts.path = envelope.path;
@@ -17352,6 +17443,10 @@ var CamundaClient = class {
17352
17443
  const maybeBody = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsBody, envelope.body);
17353
17444
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17354
17445
  }
17446
+ if (envelope.query !== void 0) {
17447
+ const maybeQuery = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsQuery, envelope.query);
17448
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17449
+ }
17355
17450
  }
17356
17451
  const opts = { client: this._client, signal, throwOnError: false };
17357
17452
  if (envelope.query) opts.query = envelope.query;
@@ -17408,6 +17503,10 @@ var CamundaClient = class {
17408
17503
  const maybeBody = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesBody, envelope.body);
17409
17504
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17410
17505
  }
17506
+ if (envelope.path !== void 0) {
17507
+ const maybePath = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesPath, envelope.path);
17508
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17509
+ }
17411
17510
  }
17412
17511
  const opts = { client: this._client, signal, throwOnError: false };
17413
17512
  if (envelope.path) opts.path = envelope.path;
@@ -17846,6 +17945,10 @@ var CamundaClient = class {
17846
17945
  const maybeBody = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariableBody, envelope.body);
17847
17946
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17848
17947
  }
17948
+ if (envelope.path !== void 0) {
17949
+ const maybePath = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariablePath, envelope.path);
17950
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17951
+ }
17849
17952
  }
17850
17953
  const opts = { client: this._client, signal, throwOnError: false };
17851
17954
  if (envelope.path) opts.path = envelope.path;
@@ -17951,7 +18054,10 @@ var CamundaClient = class {
17951
18054
  envelope.path = { authorizationKey };
17952
18055
  if (this._validation.settings.req !== "none") {
17953
18056
  const _schemas = await this._loadSchemas();
17954
- await this._validation.gateRequest("deleteAuthorization", void 0, envelope);
18057
+ if (envelope.path !== void 0) {
18058
+ const maybePath = await this._validation.gateRequest("deleteAuthorization", _schemas.zDeleteAuthorizationPath, envelope.path);
18059
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18060
+ }
17955
18061
  }
17956
18062
  const opts = { client: this._client, signal, throwOnError: false };
17957
18063
  if (envelope.path) opts.path = envelope.path;
@@ -18007,6 +18113,10 @@ var CamundaClient = class {
18007
18113
  const maybeBody = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstanceBody, envelope.body);
18008
18114
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18009
18115
  }
18116
+ if (envelope.path !== void 0) {
18117
+ const maybePath = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstancePath, envelope.path);
18118
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18119
+ }
18010
18120
  }
18011
18121
  const opts = { client: this._client, signal, throwOnError: false };
18012
18122
  if (envelope.path) opts.path = envelope.path;
@@ -18113,7 +18223,14 @@ var CamundaClient = class {
18113
18223
  envelope.query = { storeId };
18114
18224
  if (this._validation.settings.req !== "none") {
18115
18225
  const _schemas = await this._loadSchemas();
18116
- await this._validation.gateRequest("deleteDocument", void 0, envelope);
18226
+ if (envelope.path !== void 0) {
18227
+ const maybePath = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentPath, envelope.path);
18228
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18229
+ }
18230
+ if (envelope.query !== void 0) {
18231
+ const maybeQuery = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentQuery, envelope.query);
18232
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
18233
+ }
18117
18234
  }
18118
18235
  const opts = { client: this._client, signal, throwOnError: false };
18119
18236
  if (envelope.path) opts.path = envelope.path;
@@ -18165,7 +18282,10 @@ var CamundaClient = class {
18165
18282
  envelope.path = { name };
18166
18283
  if (this._validation.settings.req !== "none") {
18167
18284
  const _schemas = await this._loadSchemas();
18168
- await this._validation.gateRequest("deleteGlobalClusterVariable", void 0, envelope);
18285
+ if (envelope.path !== void 0) {
18286
+ const maybePath = await this._validation.gateRequest("deleteGlobalClusterVariable", _schemas.zDeleteGlobalClusterVariablePath, envelope.path);
18287
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18288
+ }
18169
18289
  }
18170
18290
  const opts = { client: this._client, signal, throwOnError: false };
18171
18291
  if (envelope.path) opts.path = envelope.path;
@@ -18216,7 +18336,10 @@ var CamundaClient = class {
18216
18336
  envelope.path = { id };
18217
18337
  if (this._validation.settings.req !== "none") {
18218
18338
  const _schemas = await this._loadSchemas();
18219
- await this._validation.gateRequest("deleteGlobalTaskListener", void 0, envelope);
18339
+ if (envelope.path !== void 0) {
18340
+ const maybePath = await this._validation.gateRequest("deleteGlobalTaskListener", _schemas.zDeleteGlobalTaskListenerPath, envelope.path);
18341
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18342
+ }
18220
18343
  }
18221
18344
  const opts = { client: this._client, signal, throwOnError: false };
18222
18345
  if (envelope.path) opts.path = envelope.path;
@@ -18267,7 +18390,10 @@ var CamundaClient = class {
18267
18390
  envelope.path = { groupId };
18268
18391
  if (this._validation.settings.req !== "none") {
18269
18392
  const _schemas = await this._loadSchemas();
18270
- await this._validation.gateRequest("deleteGroup", void 0, envelope);
18393
+ if (envelope.path !== void 0) {
18394
+ const maybePath = await this._validation.gateRequest("deleteGroup", _schemas.zDeleteGroupPath, envelope.path);
18395
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18396
+ }
18271
18397
  }
18272
18398
  const opts = { client: this._client, signal, throwOnError: false };
18273
18399
  if (envelope.path) opts.path = envelope.path;
@@ -18318,7 +18444,10 @@ var CamundaClient = class {
18318
18444
  envelope.path = { mappingRuleId };
18319
18445
  if (this._validation.settings.req !== "none") {
18320
18446
  const _schemas = await this._loadSchemas();
18321
- await this._validation.gateRequest("deleteMappingRule", void 0, envelope);
18447
+ if (envelope.path !== void 0) {
18448
+ const maybePath = await this._validation.gateRequest("deleteMappingRule", _schemas.zDeleteMappingRulePath, envelope.path);
18449
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18450
+ }
18322
18451
  }
18323
18452
  const opts = { client: this._client, signal, throwOnError: false };
18324
18453
  if (envelope.path) opts.path = envelope.path;
@@ -18374,6 +18503,10 @@ var CamundaClient = class {
18374
18503
  const maybeBody = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstanceBody, envelope.body);
18375
18504
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18376
18505
  }
18506
+ if (envelope.path !== void 0) {
18507
+ const maybePath = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstancePath, envelope.path);
18508
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18509
+ }
18377
18510
  }
18378
18511
  const opts = { client: this._client, signal, throwOnError: false };
18379
18512
  if (envelope.path) opts.path = envelope.path;
@@ -18484,6 +18617,10 @@ var CamundaClient = class {
18484
18617
  const maybeBody = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourceBody, envelope.body);
18485
18618
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18486
18619
  }
18620
+ if (envelope.path !== void 0) {
18621
+ const maybePath = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourcePath, envelope.path);
18622
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18623
+ }
18487
18624
  }
18488
18625
  const opts = { client: this._client, signal, throwOnError: false };
18489
18626
  if (envelope.path) opts.path = envelope.path;
@@ -18535,7 +18672,10 @@ var CamundaClient = class {
18535
18672
  envelope.path = { roleId };
18536
18673
  if (this._validation.settings.req !== "none") {
18537
18674
  const _schemas = await this._loadSchemas();
18538
- await this._validation.gateRequest("deleteRole", void 0, envelope);
18675
+ if (envelope.path !== void 0) {
18676
+ const maybePath = await this._validation.gateRequest("deleteRole", _schemas.zDeleteRolePath, envelope.path);
18677
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18678
+ }
18539
18679
  }
18540
18680
  const opts = { client: this._client, signal, throwOnError: false };
18541
18681
  if (envelope.path) opts.path = envelope.path;
@@ -18586,7 +18726,10 @@ var CamundaClient = class {
18586
18726
  envelope.path = { backupId };
18587
18727
  if (this._validation.settings.req !== "none") {
18588
18728
  const _schemas = await this._loadSchemas();
18589
- await this._validation.gateRequest("deleteRuntimeBackup", void 0, envelope);
18729
+ if (envelope.path !== void 0) {
18730
+ const maybePath = await this._validation.gateRequest("deleteRuntimeBackup", _schemas.zDeleteRuntimeBackupPath, envelope.path);
18731
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18732
+ }
18590
18733
  }
18591
18734
  const opts = { client: this._client, signal, throwOnError: false };
18592
18735
  if (envelope.path) opts.path = envelope.path;
@@ -18680,7 +18823,10 @@ var CamundaClient = class {
18680
18823
  envelope.path = { tenantId };
18681
18824
  if (this._validation.settings.req !== "none") {
18682
18825
  const _schemas = await this._loadSchemas();
18683
- await this._validation.gateRequest("deleteTenant", void 0, envelope);
18826
+ if (envelope.path !== void 0) {
18827
+ const maybePath = await this._validation.gateRequest("deleteTenant", _schemas.zDeleteTenantPath, envelope.path);
18828
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18829
+ }
18684
18830
  }
18685
18831
  const opts = { client: this._client, signal, throwOnError: false };
18686
18832
  if (envelope.path) opts.path = envelope.path;
@@ -18731,7 +18877,10 @@ var CamundaClient = class {
18731
18877
  envelope.path = { tenantId, name };
18732
18878
  if (this._validation.settings.req !== "none") {
18733
18879
  const _schemas = await this._loadSchemas();
18734
- await this._validation.gateRequest("deleteTenantClusterVariable", void 0, envelope);
18880
+ if (envelope.path !== void 0) {
18881
+ const maybePath = await this._validation.gateRequest("deleteTenantClusterVariable", _schemas.zDeleteTenantClusterVariablePath, envelope.path);
18882
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18883
+ }
18735
18884
  }
18736
18885
  const opts = { client: this._client, signal, throwOnError: false };
18737
18886
  if (envelope.path) opts.path = envelope.path;
@@ -18782,7 +18931,10 @@ var CamundaClient = class {
18782
18931
  envelope.path = { username };
18783
18932
  if (this._validation.settings.req !== "none") {
18784
18933
  const _schemas = await this._loadSchemas();
18785
- await this._validation.gateRequest("deleteUser", void 0, envelope);
18934
+ if (envelope.path !== void 0) {
18935
+ const maybePath = await this._validation.gateRequest("deleteUser", _schemas.zDeleteUserPath, envelope.path);
18936
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18937
+ }
18786
18938
  }
18787
18939
  const opts = { client: this._client, signal, throwOnError: false };
18788
18940
  if (envelope.path) opts.path = envelope.path;
@@ -19012,6 +19164,10 @@ var CamundaClient = class {
19012
19164
  const maybeBody = await this._validation.gateRequest("failJob", _schemas.zFailJobBody, envelope.body);
19013
19165
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
19014
19166
  }
19167
+ if (envelope.path !== void 0) {
19168
+ const maybePath = await this._validation.gateRequest("failJob", _schemas.zFailJobPath, envelope.path);
19169
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19170
+ }
19015
19171
  }
19016
19172
  const opts = { client: this._client, signal, throwOnError: false };
19017
19173
  if (envelope.path) opts.path = envelope.path;
@@ -19065,7 +19221,10 @@ var CamundaClient = class {
19065
19221
  envelope.path = { agentInstanceKey };
19066
19222
  if (this._validation.settings.req !== "none") {
19067
19223
  const _schemas = await this._loadSchemas();
19068
- await this._validation.gateRequest("getAgentInstance", void 0, envelope);
19224
+ if (envelope.path !== void 0) {
19225
+ const maybePath = await this._validation.gateRequest("getAgentInstance", _schemas.zGetAgentInstancePath, envelope.path);
19226
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19227
+ }
19069
19228
  }
19070
19229
  const opts = { client: this._client, signal, throwOnError: false };
19071
19230
  if (envelope.path) opts.path = envelope.path;
@@ -19120,7 +19279,10 @@ var CamundaClient = class {
19120
19279
  envelope.path = { auditLogKey };
19121
19280
  if (this._validation.settings.req !== "none") {
19122
19281
  const _schemas = await this._loadSchemas();
19123
- await this._validation.gateRequest("getAuditLog", void 0, envelope);
19282
+ if (envelope.path !== void 0) {
19283
+ const maybePath = await this._validation.gateRequest("getAuditLog", _schemas.zGetAuditLogPath, envelope.path);
19284
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19285
+ }
19124
19286
  }
19125
19287
  const opts = { client: this._client, signal, throwOnError: false };
19126
19288
  if (envelope.path) opts.path = envelope.path;
@@ -19218,7 +19380,10 @@ var CamundaClient = class {
19218
19380
  envelope.path = { authorizationKey };
19219
19381
  if (this._validation.settings.req !== "none") {
19220
19382
  const _schemas = await this._loadSchemas();
19221
- await this._validation.gateRequest("getAuthorization", void 0, envelope);
19383
+ if (envelope.path !== void 0) {
19384
+ const maybePath = await this._validation.gateRequest("getAuthorization", _schemas.zGetAuthorizationPath, envelope.path);
19385
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19386
+ }
19222
19387
  }
19223
19388
  const opts = { client: this._client, signal, throwOnError: false };
19224
19389
  if (envelope.path) opts.path = envelope.path;
@@ -19273,7 +19438,10 @@ var CamundaClient = class {
19273
19438
  envelope.path = { batchOperationKey };
19274
19439
  if (this._validation.settings.req !== "none") {
19275
19440
  const _schemas = await this._loadSchemas();
19276
- await this._validation.gateRequest("getBatchOperation", void 0, envelope);
19441
+ if (envelope.path !== void 0) {
19442
+ const maybePath = await this._validation.gateRequest("getBatchOperation", _schemas.zGetBatchOperationPath, envelope.path);
19443
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19444
+ }
19277
19445
  }
19278
19446
  const opts = { client: this._client, signal, throwOnError: false };
19279
19447
  if (envelope.path) opts.path = envelope.path;
@@ -19371,7 +19539,10 @@ var CamundaClient = class {
19371
19539
  envelope.path = { decisionDefinitionKey };
19372
19540
  if (this._validation.settings.req !== "none") {
19373
19541
  const _schemas = await this._loadSchemas();
19374
- await this._validation.gateRequest("getDecisionDefinition", void 0, envelope);
19542
+ if (envelope.path !== void 0) {
19543
+ const maybePath = await this._validation.gateRequest("getDecisionDefinition", _schemas.zGetDecisionDefinitionPath, envelope.path);
19544
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19545
+ }
19375
19546
  }
19376
19547
  const opts = { client: this._client, signal, throwOnError: false };
19377
19548
  if (envelope.path) opts.path = envelope.path;
@@ -19426,7 +19597,10 @@ var CamundaClient = class {
19426
19597
  envelope.path = { decisionDefinitionKey };
19427
19598
  if (this._validation.settings.req !== "none") {
19428
19599
  const _schemas = await this._loadSchemas();
19429
- await this._validation.gateRequest("getDecisionDefinitionXML", void 0, envelope);
19600
+ if (envelope.path !== void 0) {
19601
+ const maybePath = await this._validation.gateRequest("getDecisionDefinitionXML", _schemas.zGetDecisionDefinitionXmlPath, envelope.path);
19602
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19603
+ }
19430
19604
  }
19431
19605
  const opts = { client: this._client, signal, throwOnError: false };
19432
19606
  if (envelope.path) opts.path = envelope.path;
@@ -19481,7 +19655,10 @@ var CamundaClient = class {
19481
19655
  envelope.path = { decisionEvaluationInstanceKey };
19482
19656
  if (this._validation.settings.req !== "none") {
19483
19657
  const _schemas = await this._loadSchemas();
19484
- await this._validation.gateRequest("getDecisionInstance", void 0, envelope);
19658
+ if (envelope.path !== void 0) {
19659
+ const maybePath = await this._validation.gateRequest("getDecisionInstance", _schemas.zGetDecisionInstancePath, envelope.path);
19660
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19661
+ }
19485
19662
  }
19486
19663
  const opts = { client: this._client, signal, throwOnError: false };
19487
19664
  if (envelope.path) opts.path = envelope.path;
@@ -19536,7 +19713,10 @@ var CamundaClient = class {
19536
19713
  envelope.path = { decisionRequirementsKey };
19537
19714
  if (this._validation.settings.req !== "none") {
19538
19715
  const _schemas = await this._loadSchemas();
19539
- await this._validation.gateRequest("getDecisionRequirements", void 0, envelope);
19716
+ if (envelope.path !== void 0) {
19717
+ const maybePath = await this._validation.gateRequest("getDecisionRequirements", _schemas.zGetDecisionRequirementsPath, envelope.path);
19718
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19719
+ }
19540
19720
  }
19541
19721
  const opts = { client: this._client, signal, throwOnError: false };
19542
19722
  if (envelope.path) opts.path = envelope.path;
@@ -19591,7 +19771,10 @@ var CamundaClient = class {
19591
19771
  envelope.path = { decisionRequirementsKey };
19592
19772
  if (this._validation.settings.req !== "none") {
19593
19773
  const _schemas = await this._loadSchemas();
19594
- await this._validation.gateRequest("getDecisionRequirementsXML", void 0, envelope);
19774
+ if (envelope.path !== void 0) {
19775
+ const maybePath = await this._validation.gateRequest("getDecisionRequirementsXML", _schemas.zGetDecisionRequirementsXmlPath, envelope.path);
19776
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19777
+ }
19595
19778
  }
19596
19779
  const opts = { client: this._client, signal, throwOnError: false };
19597
19780
  if (envelope.path) opts.path = envelope.path;
@@ -19645,7 +19828,14 @@ var CamundaClient = class {
19645
19828
  envelope.query = { storeId, contentHash };
19646
19829
  if (this._validation.settings.req !== "none") {
19647
19830
  const _schemas = await this._loadSchemas();
19648
- await this._validation.gateRequest("getDocument", void 0, envelope);
19831
+ if (envelope.path !== void 0) {
19832
+ const maybePath = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentPath, envelope.path);
19833
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19834
+ }
19835
+ if (envelope.query !== void 0) {
19836
+ const maybeQuery = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentQuery, envelope.query);
19837
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
19838
+ }
19649
19839
  }
19650
19840
  const opts = { client: this._client, signal, throwOnError: false };
19651
19841
  if (envelope.path) opts.path = envelope.path;
@@ -19699,7 +19889,10 @@ var CamundaClient = class {
19699
19889
  envelope.path = { elementInstanceKey };
19700
19890
  if (this._validation.settings.req !== "none") {
19701
19891
  const _schemas = await this._loadSchemas();
19702
- await this._validation.gateRequest("getElementInstance", void 0, envelope);
19892
+ if (envelope.path !== void 0) {
19893
+ const maybePath = await this._validation.gateRequest("getElementInstance", _schemas.zGetElementInstancePath, envelope.path);
19894
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19895
+ }
19703
19896
  }
19704
19897
  const opts = { client: this._client, signal, throwOnError: false };
19705
19898
  if (envelope.path) opts.path = envelope.path;
@@ -19797,7 +19990,10 @@ var CamundaClient = class {
19797
19990
  envelope.path = { formKey };
19798
19991
  if (this._validation.settings.req !== "none") {
19799
19992
  const _schemas = await this._loadSchemas();
19800
- await this._validation.gateRequest("getFormByKey", void 0, envelope);
19993
+ if (envelope.path !== void 0) {
19994
+ const maybePath = await this._validation.gateRequest("getFormByKey", _schemas.zGetFormByKeyPath, envelope.path);
19995
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19996
+ }
19801
19997
  }
19802
19998
  const opts = { client: this._client, signal, throwOnError: false };
19803
19999
  if (envelope.path) opts.path = envelope.path;
@@ -19852,7 +20048,10 @@ var CamundaClient = class {
19852
20048
  envelope.path = { name };
19853
20049
  if (this._validation.settings.req !== "none") {
19854
20050
  const _schemas = await this._loadSchemas();
19855
- await this._validation.gateRequest("getGlobalClusterVariable", void 0, envelope);
20051
+ if (envelope.path !== void 0) {
20052
+ const maybePath = await this._validation.gateRequest("getGlobalClusterVariable", _schemas.zGetGlobalClusterVariablePath, envelope.path);
20053
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20054
+ }
19856
20055
  }
19857
20056
  const opts = { client: this._client, signal, throwOnError: false };
19858
20057
  if (envelope.path) opts.path = envelope.path;
@@ -19907,7 +20106,10 @@ var CamundaClient = class {
19907
20106
  envelope.query = { from, to, jobType };
19908
20107
  if (this._validation.settings.req !== "none") {
19909
20108
  const _schemas = await this._loadSchemas();
19910
- await this._validation.gateRequest("getGlobalJobStatistics", void 0, envelope);
20109
+ if (envelope.query !== void 0) {
20110
+ const maybeQuery = await this._validation.gateRequest("getGlobalJobStatistics", _schemas.zGetGlobalJobStatisticsQuery, envelope.query);
20111
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
20112
+ }
19911
20113
  }
19912
20114
  const opts = { client: this._client, signal, throwOnError: false };
19913
20115
  if (envelope.query) opts.query = envelope.query;
@@ -19962,7 +20164,10 @@ var CamundaClient = class {
19962
20164
  envelope.path = { id };
19963
20165
  if (this._validation.settings.req !== "none") {
19964
20166
  const _schemas = await this._loadSchemas();
19965
- await this._validation.gateRequest("getGlobalTaskListener", void 0, envelope);
20167
+ if (envelope.path !== void 0) {
20168
+ const maybePath = await this._validation.gateRequest("getGlobalTaskListener", _schemas.zGetGlobalTaskListenerPath, envelope.path);
20169
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20170
+ }
19966
20171
  }
19967
20172
  const opts = { client: this._client, signal, throwOnError: false };
19968
20173
  if (envelope.path) opts.path = envelope.path;
@@ -20017,7 +20222,10 @@ var CamundaClient = class {
20017
20222
  envelope.path = { groupId };
20018
20223
  if (this._validation.settings.req !== "none") {
20019
20224
  const _schemas = await this._loadSchemas();
20020
- await this._validation.gateRequest("getGroup", void 0, envelope);
20225
+ if (envelope.path !== void 0) {
20226
+ const maybePath = await this._validation.gateRequest("getGroup", _schemas.zGetGroupPath, envelope.path);
20227
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20228
+ }
20021
20229
  }
20022
20230
  const opts = { client: this._client, signal, throwOnError: false };
20023
20231
  if (envelope.path) opts.path = envelope.path;
@@ -20072,7 +20280,10 @@ var CamundaClient = class {
20072
20280
  envelope.path = { incidentKey };
20073
20281
  if (this._validation.settings.req !== "none") {
20074
20282
  const _schemas = await this._loadSchemas();
20075
- await this._validation.gateRequest("getIncident", void 0, envelope);
20283
+ if (envelope.path !== void 0) {
20284
+ const maybePath = await this._validation.gateRequest("getIncident", _schemas.zGetIncidentPath, envelope.path);
20285
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20286
+ }
20076
20287
  }
20077
20288
  const opts = { client: this._client, signal, throwOnError: false };
20078
20289
  if (envelope.path) opts.path = envelope.path;
@@ -20402,7 +20613,10 @@ var CamundaClient = class {
20402
20613
  envelope.path = { mappingRuleId };
20403
20614
  if (this._validation.settings.req !== "none") {
20404
20615
  const _schemas = await this._loadSchemas();
20405
- await this._validation.gateRequest("getMappingRule", void 0, envelope);
20616
+ if (envelope.path !== void 0) {
20617
+ const maybePath = await this._validation.gateRequest("getMappingRule", _schemas.zGetMappingRulePath, envelope.path);
20618
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20619
+ }
20406
20620
  }
20407
20621
  const opts = { client: this._client, signal, throwOnError: false };
20408
20622
  if (envelope.path) opts.path = envelope.path;
@@ -20457,7 +20671,10 @@ var CamundaClient = class {
20457
20671
  envelope.path = { processDefinitionKey };
20458
20672
  if (this._validation.settings.req !== "none") {
20459
20673
  const _schemas = await this._loadSchemas();
20460
- await this._validation.gateRequest("getProcessDefinition", void 0, envelope);
20674
+ if (envelope.path !== void 0) {
20675
+ const maybePath = await this._validation.gateRequest("getProcessDefinition", _schemas.zGetProcessDefinitionPath, envelope.path);
20676
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20677
+ }
20461
20678
  }
20462
20679
  const opts = { client: this._client, signal, throwOnError: false };
20463
20680
  if (envelope.path) opts.path = envelope.path;
@@ -20691,6 +20908,10 @@ var CamundaClient = class {
20691
20908
  const maybeBody = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsBody, envelope.body);
20692
20909
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
20693
20910
  }
20911
+ if (envelope.path !== void 0) {
20912
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsPath, envelope.path);
20913
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20914
+ }
20694
20915
  }
20695
20916
  const opts = { client: this._client, signal, throwOnError: false };
20696
20917
  if (envelope.path) opts.path = envelope.path;
@@ -20746,7 +20967,10 @@ var CamundaClient = class {
20746
20967
  envelope.path = { processDefinitionKey };
20747
20968
  if (this._validation.settings.req !== "none") {
20748
20969
  const _schemas = await this._loadSchemas();
20749
- await this._validation.gateRequest("getProcessDefinitionXML", void 0, envelope);
20970
+ if (envelope.path !== void 0) {
20971
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionXML", _schemas.zGetProcessDefinitionXmlPath, envelope.path);
20972
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
20973
+ }
20750
20974
  }
20751
20975
  const opts = { client: this._client, signal, throwOnError: false };
20752
20976
  if (envelope.path) opts.path = envelope.path;
@@ -20801,7 +21025,10 @@ var CamundaClient = class {
20801
21025
  envelope.path = { processInstanceKey };
20802
21026
  if (this._validation.settings.req !== "none") {
20803
21027
  const _schemas = await this._loadSchemas();
20804
- await this._validation.gateRequest("getProcessInstance", void 0, envelope);
21028
+ if (envelope.path !== void 0) {
21029
+ const maybePath = await this._validation.gateRequest("getProcessInstance", _schemas.zGetProcessInstancePath, envelope.path);
21030
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21031
+ }
20805
21032
  }
20806
21033
  const opts = { client: this._client, signal, throwOnError: false };
20807
21034
  if (envelope.path) opts.path = envelope.path;
@@ -20856,7 +21083,10 @@ var CamundaClient = class {
20856
21083
  envelope.path = { processInstanceKey };
20857
21084
  if (this._validation.settings.req !== "none") {
20858
21085
  const _schemas = await this._loadSchemas();
20859
- await this._validation.gateRequest("getProcessInstanceCallHierarchy", void 0, envelope);
21086
+ if (envelope.path !== void 0) {
21087
+ const maybePath = await this._validation.gateRequest("getProcessInstanceCallHierarchy", _schemas.zGetProcessInstanceCallHierarchyPath, envelope.path);
21088
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21089
+ }
20860
21090
  }
20861
21091
  const opts = { client: this._client, signal, throwOnError: false };
20862
21092
  if (envelope.path) opts.path = envelope.path;
@@ -20911,7 +21141,10 @@ var CamundaClient = class {
20911
21141
  envelope.path = { processInstanceKey };
20912
21142
  if (this._validation.settings.req !== "none") {
20913
21143
  const _schemas = await this._loadSchemas();
20914
- await this._validation.gateRequest("getProcessInstanceSequenceFlows", void 0, envelope);
21144
+ if (envelope.path !== void 0) {
21145
+ const maybePath = await this._validation.gateRequest("getProcessInstanceSequenceFlows", _schemas.zGetProcessInstanceSequenceFlowsPath, envelope.path);
21146
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21147
+ }
20915
21148
  }
20916
21149
  const opts = { client: this._client, signal, throwOnError: false };
20917
21150
  if (envelope.path) opts.path = envelope.path;
@@ -20966,7 +21199,10 @@ var CamundaClient = class {
20966
21199
  envelope.path = { processInstanceKey };
20967
21200
  if (this._validation.settings.req !== "none") {
20968
21201
  const _schemas = await this._loadSchemas();
20969
- await this._validation.gateRequest("getProcessInstanceStatistics", void 0, envelope);
21202
+ if (envelope.path !== void 0) {
21203
+ const maybePath = await this._validation.gateRequest("getProcessInstanceStatistics", _schemas.zGetProcessInstanceStatisticsPath, envelope.path);
21204
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21205
+ }
20970
21206
  }
20971
21207
  const opts = { client: this._client, signal, throwOnError: false };
20972
21208
  if (envelope.path) opts.path = envelope.path;
@@ -21137,7 +21373,10 @@ var CamundaClient = class {
21137
21373
  envelope.path = { processInstanceKey };
21138
21374
  if (this._validation.settings.req !== "none") {
21139
21375
  const _schemas = await this._loadSchemas();
21140
- await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", void 0, envelope);
21376
+ if (envelope.path !== void 0) {
21377
+ const maybePath = await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", _schemas.zGetProcessInstanceWaitStateStatisticsPath, envelope.path);
21378
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21379
+ }
21141
21380
  }
21142
21381
  const opts = { client: this._client, signal, throwOnError: false };
21143
21382
  if (envelope.path) opts.path = envelope.path;
@@ -21192,7 +21431,10 @@ var CamundaClient = class {
21192
21431
  envelope.path = { resourceKey };
21193
21432
  if (this._validation.settings.req !== "none") {
21194
21433
  const _schemas = await this._loadSchemas();
21195
- await this._validation.gateRequest("getResource", void 0, envelope);
21434
+ if (envelope.path !== void 0) {
21435
+ const maybePath = await this._validation.gateRequest("getResource", _schemas.zGetResourcePath, envelope.path);
21436
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21437
+ }
21196
21438
  }
21197
21439
  const opts = { client: this._client, signal, throwOnError: false };
21198
21440
  if (envelope.path) opts.path = envelope.path;
@@ -21247,7 +21489,10 @@ var CamundaClient = class {
21247
21489
  envelope.path = { resourceKey };
21248
21490
  if (this._validation.settings.req !== "none") {
21249
21491
  const _schemas = await this._loadSchemas();
21250
- await this._validation.gateRequest("getResourceContent", void 0, envelope);
21492
+ if (envelope.path !== void 0) {
21493
+ const maybePath = await this._validation.gateRequest("getResourceContent", _schemas.zGetResourceContentPath, envelope.path);
21494
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21495
+ }
21251
21496
  }
21252
21497
  const opts = { client: this._client, signal, throwOnError: false };
21253
21498
  if (envelope.path) opts.path = envelope.path;
@@ -21302,7 +21547,10 @@ var CamundaClient = class {
21302
21547
  envelope.path = { resourceKey };
21303
21548
  if (this._validation.settings.req !== "none") {
21304
21549
  const _schemas = await this._loadSchemas();
21305
- await this._validation.gateRequest("getResourceContentBinary", void 0, envelope);
21550
+ if (envelope.path !== void 0) {
21551
+ const maybePath = await this._validation.gateRequest("getResourceContentBinary", _schemas.zGetResourceContentBinaryPath, envelope.path);
21552
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21553
+ }
21306
21554
  }
21307
21555
  const opts = { client: this._client, signal, throwOnError: false };
21308
21556
  if (envelope.path) opts.path = envelope.path;
@@ -21400,7 +21648,10 @@ var CamundaClient = class {
21400
21648
  envelope.path = { roleId };
21401
21649
  if (this._validation.settings.req !== "none") {
21402
21650
  const _schemas = await this._loadSchemas();
21403
- await this._validation.gateRequest("getRole", void 0, envelope);
21651
+ if (envelope.path !== void 0) {
21652
+ const maybePath = await this._validation.gateRequest("getRole", _schemas.zGetRolePath, envelope.path);
21653
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21654
+ }
21404
21655
  }
21405
21656
  const opts = { client: this._client, signal, throwOnError: false };
21406
21657
  if (envelope.path) opts.path = envelope.path;
@@ -21453,7 +21704,10 @@ var CamundaClient = class {
21453
21704
  envelope.path = { backupId };
21454
21705
  if (this._validation.settings.req !== "none") {
21455
21706
  const _schemas = await this._loadSchemas();
21456
- await this._validation.gateRequest("getRuntimeBackup", void 0, envelope);
21707
+ if (envelope.path !== void 0) {
21708
+ const maybePath = await this._validation.gateRequest("getRuntimeBackup", _schemas.zGetRuntimeBackupPath, envelope.path);
21709
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21710
+ }
21457
21711
  }
21458
21712
  const opts = { client: this._client, signal, throwOnError: false };
21459
21713
  if (envelope.path) opts.path = envelope.path;
@@ -21549,7 +21803,10 @@ var CamundaClient = class {
21549
21803
  envelope.path = { processDefinitionKey };
21550
21804
  if (this._validation.settings.req !== "none") {
21551
21805
  const _schemas = await this._loadSchemas();
21552
- await this._validation.gateRequest("getStartProcessForm", void 0, envelope);
21806
+ if (envelope.path !== void 0) {
21807
+ const maybePath = await this._validation.gateRequest("getStartProcessForm", _schemas.zGetStartProcessFormPath, envelope.path);
21808
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21809
+ }
21553
21810
  }
21554
21811
  const opts = { client: this._client, signal, throwOnError: false };
21555
21812
  if (envelope.path) opts.path = envelope.path;
@@ -21690,7 +21947,10 @@ var CamundaClient = class {
21690
21947
  envelope.path = { tenantId };
21691
21948
  if (this._validation.settings.req !== "none") {
21692
21949
  const _schemas = await this._loadSchemas();
21693
- await this._validation.gateRequest("getTenant", void 0, envelope);
21950
+ if (envelope.path !== void 0) {
21951
+ const maybePath = await this._validation.gateRequest("getTenant", _schemas.zGetTenantPath, envelope.path);
21952
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
21953
+ }
21694
21954
  }
21695
21955
  const opts = { client: this._client, signal, throwOnError: false };
21696
21956
  if (envelope.path) opts.path = envelope.path;
@@ -21745,7 +22005,10 @@ var CamundaClient = class {
21745
22005
  envelope.path = { tenantId, name };
21746
22006
  if (this._validation.settings.req !== "none") {
21747
22007
  const _schemas = await this._loadSchemas();
21748
- await this._validation.gateRequest("getTenantClusterVariable", void 0, envelope);
22008
+ if (envelope.path !== void 0) {
22009
+ const maybePath = await this._validation.gateRequest("getTenantClusterVariable", _schemas.zGetTenantClusterVariablePath, envelope.path);
22010
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22011
+ }
21749
22012
  }
21750
22013
  const opts = { client: this._client, signal, throwOnError: false };
21751
22014
  if (envelope.path) opts.path = envelope.path;
@@ -21843,7 +22106,10 @@ var CamundaClient = class {
21843
22106
  envelope.query = { startTime, endTime, tenantId, withTenants };
21844
22107
  if (this._validation.settings.req !== "none") {
21845
22108
  const _schemas = await this._loadSchemas();
21846
- await this._validation.gateRequest("getUsageMetrics", void 0, envelope);
22109
+ if (envelope.query !== void 0) {
22110
+ const maybeQuery = await this._validation.gateRequest("getUsageMetrics", _schemas.zGetUsageMetricsQuery, envelope.query);
22111
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22112
+ }
21847
22113
  }
21848
22114
  const opts = { client: this._client, signal, throwOnError: false };
21849
22115
  if (envelope.query) opts.query = envelope.query;
@@ -21898,7 +22164,10 @@ var CamundaClient = class {
21898
22164
  envelope.path = { username };
21899
22165
  if (this._validation.settings.req !== "none") {
21900
22166
  const _schemas = await this._loadSchemas();
21901
- await this._validation.gateRequest("getUser", void 0, envelope);
22167
+ if (envelope.path !== void 0) {
22168
+ const maybePath = await this._validation.gateRequest("getUser", _schemas.zGetUserPath, envelope.path);
22169
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22170
+ }
21902
22171
  }
21903
22172
  const opts = { client: this._client, signal, throwOnError: false };
21904
22173
  if (envelope.path) opts.path = envelope.path;
@@ -21953,7 +22222,10 @@ var CamundaClient = class {
21953
22222
  envelope.path = { userTaskKey };
21954
22223
  if (this._validation.settings.req !== "none") {
21955
22224
  const _schemas = await this._loadSchemas();
21956
- await this._validation.gateRequest("getUserTask", void 0, envelope);
22225
+ if (envelope.path !== void 0) {
22226
+ const maybePath = await this._validation.gateRequest("getUserTask", _schemas.zGetUserTaskPath, envelope.path);
22227
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22228
+ }
21957
22229
  }
21958
22230
  const opts = { client: this._client, signal, throwOnError: false };
21959
22231
  if (envelope.path) opts.path = envelope.path;
@@ -22008,7 +22280,10 @@ var CamundaClient = class {
22008
22280
  envelope.path = { userTaskKey };
22009
22281
  if (this._validation.settings.req !== "none") {
22010
22282
  const _schemas = await this._loadSchemas();
22011
- await this._validation.gateRequest("getUserTaskForm", void 0, envelope);
22283
+ if (envelope.path !== void 0) {
22284
+ const maybePath = await this._validation.gateRequest("getUserTaskForm", _schemas.zGetUserTaskFormPath, envelope.path);
22285
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22286
+ }
22012
22287
  }
22013
22288
  const opts = { client: this._client, signal, throwOnError: false };
22014
22289
  if (envelope.path) opts.path = envelope.path;
@@ -22063,7 +22338,10 @@ var CamundaClient = class {
22063
22338
  envelope.path = { variableKey };
22064
22339
  if (this._validation.settings.req !== "none") {
22065
22340
  const _schemas = await this._loadSchemas();
22066
- await this._validation.gateRequest("getVariable", void 0, envelope);
22341
+ if (envelope.path !== void 0) {
22342
+ const maybePath = await this._validation.gateRequest("getVariable", _schemas.zGetVariablePath, envelope.path);
22343
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22344
+ }
22067
22345
  }
22068
22346
  const opts = { client: this._client, signal, throwOnError: false };
22069
22347
  if (envelope.path) opts.path = envelope.path;
@@ -22116,7 +22394,10 @@ var CamundaClient = class {
22116
22394
  envelope.query = { prefix };
22117
22395
  if (this._validation.settings.req !== "none") {
22118
22396
  const _schemas = await this._loadSchemas();
22119
- await this._validation.gateRequest("listRuntimeBackups", void 0, envelope);
22397
+ if (envelope.query !== void 0) {
22398
+ const maybeQuery = await this._validation.gateRequest("listRuntimeBackups", _schemas.zListRuntimeBackupsQuery, envelope.query);
22399
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22400
+ }
22120
22401
  }
22121
22402
  const opts = { client: this._client, signal, throwOnError: false };
22122
22403
  if (envelope.query) opts.query = envelope.query;
@@ -22226,6 +22507,10 @@ var CamundaClient = class {
22226
22507
  const maybeBody = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstanceBody, envelope.body);
22227
22508
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22228
22509
  }
22510
+ if (envelope.path !== void 0) {
22511
+ const maybePath = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstancePath, envelope.path);
22512
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22513
+ }
22229
22514
  }
22230
22515
  const opts = { client: this._client, signal, throwOnError: false };
22231
22516
  if (envelope.path) opts.path = envelope.path;
@@ -22336,6 +22621,10 @@ var CamundaClient = class {
22336
22621
  const maybeBody = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstanceBody, envelope.body);
22337
22622
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22338
22623
  }
22624
+ if (envelope.path !== void 0) {
22625
+ const maybePath = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstancePath, envelope.path);
22626
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22627
+ }
22339
22628
  }
22340
22629
  const opts = { client: this._client, signal, throwOnError: false };
22341
22630
  if (envelope.path) opts.path = envelope.path;
@@ -22441,7 +22730,10 @@ var CamundaClient = class {
22441
22730
  envelope.query = { soft };
22442
22731
  if (this._validation.settings.req !== "none") {
22443
22732
  const _schemas = await this._loadSchemas();
22444
- await this._validation.gateRequest("pauseExporting", void 0, envelope);
22733
+ if (envelope.query !== void 0) {
22734
+ const maybeQuery = await this._validation.gateRequest("pauseExporting", _schemas.zPauseExportingQuery, envelope.query);
22735
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
22736
+ }
22445
22737
  }
22446
22738
  const opts = { client: this._client, signal, throwOnError: false };
22447
22739
  if (envelope.query) opts.query = envelope.query;
@@ -22652,6 +22944,10 @@ var CamundaClient = class {
22652
22944
  const maybeBody = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentBody, envelope.body);
22653
22945
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22654
22946
  }
22947
+ if (envelope.path !== void 0) {
22948
+ const maybePath = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentPath, envelope.path);
22949
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
22950
+ }
22655
22951
  }
22656
22952
  const opts = { client: this._client, signal, throwOnError: false };
22657
22953
  if (envelope.path) opts.path = envelope.path;
@@ -22757,7 +23053,10 @@ var CamundaClient = class {
22757
23053
  envelope.path = { processInstanceKey };
22758
23054
  if (this._validation.settings.req !== "none") {
22759
23055
  const _schemas = await this._loadSchemas();
22760
- await this._validation.gateRequest("resolveProcessInstanceIncidents", void 0, envelope);
23056
+ if (envelope.path !== void 0) {
23057
+ const maybePath = await this._validation.gateRequest("resolveProcessInstanceIncidents", _schemas.zResolveProcessInstanceIncidentsPath, envelope.path);
23058
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23059
+ }
22761
23060
  }
22762
23061
  const opts = { client: this._client, signal, throwOnError: false };
22763
23062
  if (envelope.path) opts.path = envelope.path;
@@ -22921,6 +23220,10 @@ var CamundaClient = class {
22921
23220
  const maybeBody = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationBody, envelope.body);
22922
23221
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
22923
23222
  }
23223
+ if (envelope.path !== void 0) {
23224
+ const maybePath = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationPath, envelope.path);
23225
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23226
+ }
22924
23227
  }
22925
23228
  const opts = { client: this._client, signal, throwOnError: false };
22926
23229
  if (envelope.path) opts.path = envelope.path;
@@ -23020,6 +23323,10 @@ var CamundaClient = class {
23020
23323
  const maybeBody = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstanceBody, envelope.body);
23021
23324
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23022
23325
  }
23326
+ if (envelope.path !== void 0) {
23327
+ const maybePath = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstancePath, envelope.path);
23328
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23329
+ }
23023
23330
  }
23024
23331
  const opts = { client: this._client, signal, throwOnError: false };
23025
23332
  if (envelope.path) opts.path = envelope.path;
@@ -23132,6 +23439,10 @@ var CamundaClient = class {
23132
23439
  const maybeBody = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryBody, envelope.body);
23133
23440
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23134
23441
  }
23442
+ if (envelope.path !== void 0) {
23443
+ const maybePath = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryPath, envelope.path);
23444
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23445
+ }
23135
23446
  }
23136
23447
  const opts = { client: this._client, signal, throwOnError: false };
23137
23448
  if (envelope.path) opts.path = envelope.path;
@@ -23482,6 +23793,10 @@ var CamundaClient = class {
23482
23793
  const maybeBody = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupBody, envelope.body);
23483
23794
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23484
23795
  }
23796
+ if (envelope.path !== void 0) {
23797
+ const maybePath = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupPath, envelope.path);
23798
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23799
+ }
23485
23800
  }
23486
23801
  const opts = { client: this._client, signal, throwOnError: false };
23487
23802
  if (envelope.path) opts.path = envelope.path;
@@ -23542,6 +23857,10 @@ var CamundaClient = class {
23542
23857
  const maybeBody = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRoleBody, envelope.body);
23543
23858
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23544
23859
  }
23860
+ if (envelope.path !== void 0) {
23861
+ const maybePath = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRolePath, envelope.path);
23862
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23863
+ }
23545
23864
  }
23546
23865
  const opts = { client: this._client, signal, throwOnError: false };
23547
23866
  if (envelope.path) opts.path = envelope.path;
@@ -23602,6 +23921,10 @@ var CamundaClient = class {
23602
23921
  const maybeBody = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantBody, envelope.body);
23603
23922
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23604
23923
  }
23924
+ if (envelope.path !== void 0) {
23925
+ const maybePath = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantPath, envelope.path);
23926
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
23927
+ }
23605
23928
  }
23606
23929
  const opts = { client: this._client, signal, throwOnError: false };
23607
23930
  if (envelope.path) opts.path = envelope.path;
@@ -23662,6 +23985,10 @@ var CamundaClient = class {
23662
23985
  const maybeBody = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesBody, envelope.body);
23663
23986
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23664
23987
  }
23988
+ if (envelope.query !== void 0) {
23989
+ const maybeQuery = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesQuery, envelope.query);
23990
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
23991
+ }
23665
23992
  }
23666
23993
  const opts = { client: this._client, signal, throwOnError: false };
23667
23994
  if (envelope.query) opts.query = envelope.query;
@@ -23954,6 +24281,10 @@ var CamundaClient = class {
23954
24281
  const maybeBody = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsBody, envelope.body);
23955
24282
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
23956
24283
  }
24284
+ if (envelope.path !== void 0) {
24285
+ const maybePath = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsPath, envelope.path);
24286
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24287
+ }
23957
24288
  }
23958
24289
  const opts = { client: this._client, signal, throwOnError: false };
23959
24290
  if (envelope.path) opts.path = envelope.path;
@@ -24188,6 +24519,10 @@ var CamundaClient = class {
24188
24519
  const maybeBody = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantBody, envelope.body);
24189
24520
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24190
24521
  }
24522
+ if (envelope.path !== void 0) {
24523
+ const maybePath = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantPath, envelope.path);
24524
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24525
+ }
24191
24526
  }
24192
24527
  const opts = { client: this._client, signal, throwOnError: false };
24193
24528
  if (envelope.path) opts.path = envelope.path;
@@ -24306,6 +24641,10 @@ var CamundaClient = class {
24306
24641
  const maybeBody = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRoleBody, envelope.body);
24307
24642
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24308
24643
  }
24644
+ if (envelope.path !== void 0) {
24645
+ const maybePath = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRolePath, envelope.path);
24646
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24647
+ }
24309
24648
  }
24310
24649
  const opts = { client: this._client, signal, throwOnError: false };
24311
24650
  if (envelope.path) opts.path = envelope.path;
@@ -24540,6 +24879,10 @@ var CamundaClient = class {
24540
24879
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupBody, envelope.body);
24541
24880
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24542
24881
  }
24882
+ if (envelope.path !== void 0) {
24883
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupPath, envelope.path);
24884
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24885
+ }
24543
24886
  }
24544
24887
  const opts = { client: this._client, signal, throwOnError: false };
24545
24888
  if (envelope.path) opts.path = envelope.path;
@@ -24600,6 +24943,10 @@ var CamundaClient = class {
24600
24943
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRoleBody, envelope.body);
24601
24944
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24602
24945
  }
24946
+ if (envelope.path !== void 0) {
24947
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRolePath, envelope.path);
24948
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
24949
+ }
24603
24950
  }
24604
24951
  const opts = { client: this._client, signal, throwOnError: false };
24605
24952
  if (envelope.path) opts.path = envelope.path;
@@ -24660,6 +25007,10 @@ var CamundaClient = class {
24660
25007
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantBody, envelope.body);
24661
25008
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24662
25009
  }
25010
+ if (envelope.path !== void 0) {
25011
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantPath, envelope.path);
25012
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25013
+ }
24663
25014
  }
24664
25015
  const opts = { client: this._client, signal, throwOnError: false };
24665
25016
  if (envelope.path) opts.path = envelope.path;
@@ -24836,6 +25187,10 @@ var CamundaClient = class {
24836
25187
  const maybeBody = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesBody, envelope.body);
24837
25188
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24838
25189
  }
25190
+ if (envelope.path !== void 0) {
25191
+ const maybePath = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesPath, envelope.path);
25192
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25193
+ }
24839
25194
  }
24840
25195
  const opts = { client: this._client, signal, throwOnError: false };
24841
25196
  if (envelope.path) opts.path = envelope.path;
@@ -24896,6 +25251,10 @@ var CamundaClient = class {
24896
25251
  const maybeBody = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsBody, envelope.body);
24897
25252
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
24898
25253
  }
25254
+ if (envelope.path !== void 0) {
25255
+ const maybePath = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsPath, envelope.path);
25256
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25257
+ }
24899
25258
  }
24900
25259
  const opts = { client: this._client, signal, throwOnError: false };
24901
25260
  if (envelope.path) opts.path = envelope.path;
@@ -25130,6 +25489,10 @@ var CamundaClient = class {
25130
25489
  const maybeBody = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupBody, envelope.body);
25131
25490
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25132
25491
  }
25492
+ if (envelope.path !== void 0) {
25493
+ const maybePath = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupPath, envelope.path);
25494
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25495
+ }
25133
25496
  }
25134
25497
  const opts = { client: this._client, signal, throwOnError: false };
25135
25498
  if (envelope.path) opts.path = envelope.path;
@@ -25190,6 +25553,10 @@ var CamundaClient = class {
25190
25553
  const maybeBody = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantBody, envelope.body);
25191
25554
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25192
25555
  }
25556
+ if (envelope.path !== void 0) {
25557
+ const maybePath = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantPath, envelope.path);
25558
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25559
+ }
25193
25560
  }
25194
25561
  const opts = { client: this._client, signal, throwOnError: false };
25195
25562
  if (envelope.path) opts.path = envelope.path;
@@ -25366,6 +25733,10 @@ var CamundaClient = class {
25366
25733
  const maybeBody = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupBody, envelope.body);
25367
25734
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25368
25735
  }
25736
+ if (envelope.path !== void 0) {
25737
+ const maybePath = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupPath, envelope.path);
25738
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25739
+ }
25369
25740
  }
25370
25741
  const opts = { client: this._client, signal, throwOnError: false };
25371
25742
  if (envelope.path) opts.path = envelope.path;
@@ -25426,6 +25797,10 @@ var CamundaClient = class {
25426
25797
  const maybeBody = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRoleBody, envelope.body);
25427
25798
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25428
25799
  }
25800
+ if (envelope.path !== void 0) {
25801
+ const maybePath = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRolePath, envelope.path);
25802
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25803
+ }
25429
25804
  }
25430
25805
  const opts = { client: this._client, signal, throwOnError: false };
25431
25806
  if (envelope.path) opts.path = envelope.path;
@@ -25486,6 +25861,10 @@ var CamundaClient = class {
25486
25861
  const maybeBody = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantBody, envelope.body);
25487
25862
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25488
25863
  }
25864
+ if (envelope.path !== void 0) {
25865
+ const maybePath = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantPath, envelope.path);
25866
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25867
+ }
25489
25868
  }
25490
25869
  const opts = { client: this._client, signal, throwOnError: false };
25491
25870
  if (envelope.path) opts.path = envelope.path;
@@ -25546,6 +25925,10 @@ var CamundaClient = class {
25546
25925
  const maybeBody = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsBody, envelope.body);
25547
25926
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25548
25927
  }
25928
+ if (envelope.path !== void 0) {
25929
+ const maybePath = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsPath, envelope.path);
25930
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25931
+ }
25549
25932
  }
25550
25933
  const opts = { client: this._client, signal, throwOnError: false };
25551
25934
  if (envelope.path) opts.path = envelope.path;
@@ -25607,6 +25990,14 @@ var CamundaClient = class {
25607
25990
  const maybeBody = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesBody, envelope.body);
25608
25991
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25609
25992
  }
25993
+ if (envelope.path !== void 0) {
25994
+ const maybePath = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesPath, envelope.path);
25995
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
25996
+ }
25997
+ if (envelope.query !== void 0) {
25998
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesQuery, envelope.query);
25999
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
26000
+ }
25610
26001
  }
25611
26002
  const opts = { client: this._client, signal, throwOnError: false };
25612
26003
  if (envelope.path) opts.path = envelope.path;
@@ -25727,6 +26118,14 @@ var CamundaClient = class {
25727
26118
  const maybeBody = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesBody, envelope.body);
25728
26119
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25729
26120
  }
26121
+ if (envelope.path !== void 0) {
26122
+ const maybePath = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesPath, envelope.path);
26123
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26124
+ }
26125
+ if (envelope.query !== void 0) {
26126
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesQuery, envelope.query);
26127
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
26128
+ }
25730
26129
  }
25731
26130
  const opts = { client: this._client, signal, throwOnError: false };
25732
26131
  if (envelope.path) opts.path = envelope.path;
@@ -25788,6 +26187,10 @@ var CamundaClient = class {
25788
26187
  const maybeBody = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesBody, envelope.body);
25789
26188
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25790
26189
  }
26190
+ if (envelope.query !== void 0) {
26191
+ const maybeQuery = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesQuery, envelope.query);
26192
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
26193
+ }
25791
26194
  }
25792
26195
  const opts = { client: this._client, signal, throwOnError: false };
25793
26196
  if (envelope.query) opts.query = envelope.query;
@@ -25846,6 +26249,10 @@ var CamundaClient = class {
25846
26249
  const maybeBody = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationBody, envelope.body);
25847
26250
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25848
26251
  }
26252
+ if (envelope.path !== void 0) {
26253
+ const maybePath = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationPath, envelope.path);
26254
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26255
+ }
25849
26256
  }
25850
26257
  const opts = { client: this._client, signal, throwOnError: false };
25851
26258
  if (envelope.path) opts.path = envelope.path;
@@ -25902,6 +26309,10 @@ var CamundaClient = class {
25902
26309
  const maybeBody = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstanceBody, envelope.body);
25903
26310
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
25904
26311
  }
26312
+ if (envelope.path !== void 0) {
26313
+ const maybePath = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstancePath, envelope.path);
26314
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26315
+ }
25905
26316
  }
25906
26317
  const opts = { client: this._client, signal, throwOnError: false };
25907
26318
  if (envelope.path) opts.path = envelope.path;
@@ -26109,6 +26520,10 @@ var CamundaClient = class {
26109
26520
  const maybeBody = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorBody, envelope.body);
26110
26521
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26111
26522
  }
26523
+ if (envelope.path !== void 0) {
26524
+ const maybePath = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorPath, envelope.path);
26525
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26526
+ }
26112
26527
  }
26113
26528
  const opts = { client: this._client, signal, throwOnError: false };
26114
26529
  if (envelope.path) opts.path = envelope.path;
@@ -26160,7 +26575,10 @@ var CamundaClient = class {
26160
26575
  envelope.path = { groupId, clientId };
26161
26576
  if (this._validation.settings.req !== "none") {
26162
26577
  const _schemas = await this._loadSchemas();
26163
- await this._validation.gateRequest("unassignClientFromGroup", void 0, envelope);
26578
+ if (envelope.path !== void 0) {
26579
+ const maybePath = await this._validation.gateRequest("unassignClientFromGroup", _schemas.zUnassignClientFromGroupPath, envelope.path);
26580
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26581
+ }
26164
26582
  }
26165
26583
  const opts = { client: this._client, signal, throwOnError: false };
26166
26584
  if (envelope.path) opts.path = envelope.path;
@@ -26211,7 +26629,10 @@ var CamundaClient = class {
26211
26629
  envelope.path = { tenantId, clientId };
26212
26630
  if (this._validation.settings.req !== "none") {
26213
26631
  const _schemas = await this._loadSchemas();
26214
- await this._validation.gateRequest("unassignClientFromTenant", void 0, envelope);
26632
+ if (envelope.path !== void 0) {
26633
+ const maybePath = await this._validation.gateRequest("unassignClientFromTenant", _schemas.zUnassignClientFromTenantPath, envelope.path);
26634
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26635
+ }
26215
26636
  }
26216
26637
  const opts = { client: this._client, signal, throwOnError: false };
26217
26638
  if (envelope.path) opts.path = envelope.path;
@@ -26262,7 +26683,10 @@ var CamundaClient = class {
26262
26683
  envelope.path = { tenantId, groupId };
26263
26684
  if (this._validation.settings.req !== "none") {
26264
26685
  const _schemas = await this._loadSchemas();
26265
- await this._validation.gateRequest("unassignGroupFromTenant", void 0, envelope);
26686
+ if (envelope.path !== void 0) {
26687
+ const maybePath = await this._validation.gateRequest("unassignGroupFromTenant", _schemas.zUnassignGroupFromTenantPath, envelope.path);
26688
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26689
+ }
26266
26690
  }
26267
26691
  const opts = { client: this._client, signal, throwOnError: false };
26268
26692
  if (envelope.path) opts.path = envelope.path;
@@ -26313,7 +26737,10 @@ var CamundaClient = class {
26313
26737
  envelope.path = { groupId, mappingRuleId };
26314
26738
  if (this._validation.settings.req !== "none") {
26315
26739
  const _schemas = await this._loadSchemas();
26316
- await this._validation.gateRequest("unassignMappingRuleFromGroup", void 0, envelope);
26740
+ if (envelope.path !== void 0) {
26741
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromGroup", _schemas.zUnassignMappingRuleFromGroupPath, envelope.path);
26742
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26743
+ }
26317
26744
  }
26318
26745
  const opts = { client: this._client, signal, throwOnError: false };
26319
26746
  if (envelope.path) opts.path = envelope.path;
@@ -26364,7 +26791,10 @@ var CamundaClient = class {
26364
26791
  envelope.path = { tenantId, mappingRuleId };
26365
26792
  if (this._validation.settings.req !== "none") {
26366
26793
  const _schemas = await this._loadSchemas();
26367
- await this._validation.gateRequest("unassignMappingRuleFromTenant", void 0, envelope);
26794
+ if (envelope.path !== void 0) {
26795
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromTenant", _schemas.zUnassignMappingRuleFromTenantPath, envelope.path);
26796
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26797
+ }
26368
26798
  }
26369
26799
  const opts = { client: this._client, signal, throwOnError: false };
26370
26800
  if (envelope.path) opts.path = envelope.path;
@@ -26415,7 +26845,10 @@ var CamundaClient = class {
26415
26845
  envelope.path = { roleId, clientId };
26416
26846
  if (this._validation.settings.req !== "none") {
26417
26847
  const _schemas = await this._loadSchemas();
26418
- await this._validation.gateRequest("unassignRoleFromClient", void 0, envelope);
26848
+ if (envelope.path !== void 0) {
26849
+ const maybePath = await this._validation.gateRequest("unassignRoleFromClient", _schemas.zUnassignRoleFromClientPath, envelope.path);
26850
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26851
+ }
26419
26852
  }
26420
26853
  const opts = { client: this._client, signal, throwOnError: false };
26421
26854
  if (envelope.path) opts.path = envelope.path;
@@ -26466,7 +26899,10 @@ var CamundaClient = class {
26466
26899
  envelope.path = { roleId, groupId };
26467
26900
  if (this._validation.settings.req !== "none") {
26468
26901
  const _schemas = await this._loadSchemas();
26469
- await this._validation.gateRequest("unassignRoleFromGroup", void 0, envelope);
26902
+ if (envelope.path !== void 0) {
26903
+ const maybePath = await this._validation.gateRequest("unassignRoleFromGroup", _schemas.zUnassignRoleFromGroupPath, envelope.path);
26904
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26905
+ }
26470
26906
  }
26471
26907
  const opts = { client: this._client, signal, throwOnError: false };
26472
26908
  if (envelope.path) opts.path = envelope.path;
@@ -26517,7 +26953,10 @@ var CamundaClient = class {
26517
26953
  envelope.path = { roleId, mappingRuleId };
26518
26954
  if (this._validation.settings.req !== "none") {
26519
26955
  const _schemas = await this._loadSchemas();
26520
- await this._validation.gateRequest("unassignRoleFromMappingRule", void 0, envelope);
26956
+ if (envelope.path !== void 0) {
26957
+ const maybePath = await this._validation.gateRequest("unassignRoleFromMappingRule", _schemas.zUnassignRoleFromMappingRulePath, envelope.path);
26958
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
26959
+ }
26521
26960
  }
26522
26961
  const opts = { client: this._client, signal, throwOnError: false };
26523
26962
  if (envelope.path) opts.path = envelope.path;
@@ -26568,7 +27007,10 @@ var CamundaClient = class {
26568
27007
  envelope.path = { tenantId, roleId };
26569
27008
  if (this._validation.settings.req !== "none") {
26570
27009
  const _schemas = await this._loadSchemas();
26571
- await this._validation.gateRequest("unassignRoleFromTenant", void 0, envelope);
27010
+ if (envelope.path !== void 0) {
27011
+ const maybePath = await this._validation.gateRequest("unassignRoleFromTenant", _schemas.zUnassignRoleFromTenantPath, envelope.path);
27012
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27013
+ }
26572
27014
  }
26573
27015
  const opts = { client: this._client, signal, throwOnError: false };
26574
27016
  if (envelope.path) opts.path = envelope.path;
@@ -26619,7 +27061,10 @@ var CamundaClient = class {
26619
27061
  envelope.path = { roleId, username };
26620
27062
  if (this._validation.settings.req !== "none") {
26621
27063
  const _schemas = await this._loadSchemas();
26622
- await this._validation.gateRequest("unassignRoleFromUser", void 0, envelope);
27064
+ if (envelope.path !== void 0) {
27065
+ const maybePath = await this._validation.gateRequest("unassignRoleFromUser", _schemas.zUnassignRoleFromUserPath, envelope.path);
27066
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27067
+ }
26623
27068
  }
26624
27069
  const opts = { client: this._client, signal, throwOnError: false };
26625
27070
  if (envelope.path) opts.path = envelope.path;
@@ -26670,7 +27115,10 @@ var CamundaClient = class {
26670
27115
  envelope.path = { groupId, username };
26671
27116
  if (this._validation.settings.req !== "none") {
26672
27117
  const _schemas = await this._loadSchemas();
26673
- await this._validation.gateRequest("unassignUserFromGroup", void 0, envelope);
27118
+ if (envelope.path !== void 0) {
27119
+ const maybePath = await this._validation.gateRequest("unassignUserFromGroup", _schemas.zUnassignUserFromGroupPath, envelope.path);
27120
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27121
+ }
26674
27122
  }
26675
27123
  const opts = { client: this._client, signal, throwOnError: false };
26676
27124
  if (envelope.path) opts.path = envelope.path;
@@ -26721,7 +27169,10 @@ var CamundaClient = class {
26721
27169
  envelope.path = { tenantId, username };
26722
27170
  if (this._validation.settings.req !== "none") {
26723
27171
  const _schemas = await this._loadSchemas();
26724
- await this._validation.gateRequest("unassignUserFromTenant", void 0, envelope);
27172
+ if (envelope.path !== void 0) {
27173
+ const maybePath = await this._validation.gateRequest("unassignUserFromTenant", _schemas.zUnassignUserFromTenantPath, envelope.path);
27174
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27175
+ }
26725
27176
  }
26726
27177
  const opts = { client: this._client, signal, throwOnError: false };
26727
27178
  if (envelope.path) opts.path = envelope.path;
@@ -26772,7 +27223,10 @@ var CamundaClient = class {
26772
27223
  envelope.path = { userTaskKey };
26773
27224
  if (this._validation.settings.req !== "none") {
26774
27225
  const _schemas = await this._loadSchemas();
26775
- await this._validation.gateRequest("unassignUserTask", void 0, envelope);
27226
+ if (envelope.path !== void 0) {
27227
+ const maybePath = await this._validation.gateRequest("unassignUserTask", _schemas.zUnassignUserTaskPath, envelope.path);
27228
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27229
+ }
26776
27230
  }
26777
27231
  const opts = { client: this._client, signal, throwOnError: false };
26778
27232
  if (envelope.path) opts.path = envelope.path;
@@ -26828,6 +27282,10 @@ var CamundaClient = class {
26828
27282
  const maybeBody = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstanceBody, envelope.body);
26829
27283
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26830
27284
  }
27285
+ if (envelope.path !== void 0) {
27286
+ const maybePath = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstancePath, envelope.path);
27287
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27288
+ }
26831
27289
  }
26832
27290
  const opts = { client: this._client, signal, throwOnError: false };
26833
27291
  if (envelope.path) opts.path = envelope.path;
@@ -26884,6 +27342,10 @@ var CamundaClient = class {
26884
27342
  const maybeBody = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationBody, envelope.body);
26885
27343
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26886
27344
  }
27345
+ if (envelope.path !== void 0) {
27346
+ const maybePath = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationPath, envelope.path);
27347
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27348
+ }
26887
27349
  }
26888
27350
  const opts = { client: this._client, signal, throwOnError: false };
26889
27351
  if (envelope.path) opts.path = envelope.path;
@@ -26940,6 +27402,10 @@ var CamundaClient = class {
26940
27402
  const maybeBody = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariableBody, envelope.body);
26941
27403
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26942
27404
  }
27405
+ if (envelope.path !== void 0) {
27406
+ const maybePath = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariablePath, envelope.path);
27407
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27408
+ }
26943
27409
  }
26944
27410
  const opts = { client: this._client, signal, throwOnError: false };
26945
27411
  if (envelope.path) opts.path = envelope.path;
@@ -26996,6 +27462,10 @@ var CamundaClient = class {
26996
27462
  const maybeBody = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerBody, envelope.body);
26997
27463
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
26998
27464
  }
27465
+ if (envelope.path !== void 0) {
27466
+ const maybePath = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerPath, envelope.path);
27467
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27468
+ }
26999
27469
  }
27000
27470
  const opts = { client: this._client, signal, throwOnError: false };
27001
27471
  if (envelope.path) opts.path = envelope.path;
@@ -27052,6 +27522,10 @@ var CamundaClient = class {
27052
27522
  const maybeBody = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupBody, envelope.body);
27053
27523
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27054
27524
  }
27525
+ if (envelope.path !== void 0) {
27526
+ const maybePath = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupPath, envelope.path);
27527
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27528
+ }
27055
27529
  }
27056
27530
  const opts = { client: this._client, signal, throwOnError: false };
27057
27531
  if (envelope.path) opts.path = envelope.path;
@@ -27108,6 +27582,10 @@ var CamundaClient = class {
27108
27582
  const maybeBody = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobBody, envelope.body);
27109
27583
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27110
27584
  }
27585
+ if (envelope.path !== void 0) {
27586
+ const maybePath = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobPath, envelope.path);
27587
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27588
+ }
27111
27589
  }
27112
27590
  const opts = { client: this._client, signal, throwOnError: false };
27113
27591
  if (envelope.path) opts.path = envelope.path;
@@ -27218,6 +27696,10 @@ var CamundaClient = class {
27218
27696
  const maybeBody = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRuleBody, envelope.body);
27219
27697
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27220
27698
  }
27699
+ if (envelope.path !== void 0) {
27700
+ const maybePath = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRulePath, envelope.path);
27701
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27702
+ }
27221
27703
  }
27222
27704
  const opts = { client: this._client, signal, throwOnError: false };
27223
27705
  if (envelope.path) opts.path = envelope.path;
@@ -27274,6 +27756,10 @@ var CamundaClient = class {
27274
27756
  const maybeBody = await this._validation.gateRequest("updateRole", _schemas.zUpdateRoleBody, envelope.body);
27275
27757
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27276
27758
  }
27759
+ if (envelope.path !== void 0) {
27760
+ const maybePath = await this._validation.gateRequest("updateRole", _schemas.zUpdateRolePath, envelope.path);
27761
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27762
+ }
27277
27763
  }
27278
27764
  const opts = { client: this._client, signal, throwOnError: false };
27279
27765
  if (envelope.path) opts.path = envelope.path;
@@ -27330,6 +27816,10 @@ var CamundaClient = class {
27330
27816
  const maybeBody = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantBody, envelope.body);
27331
27817
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27332
27818
  }
27819
+ if (envelope.path !== void 0) {
27820
+ const maybePath = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantPath, envelope.path);
27821
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27822
+ }
27333
27823
  }
27334
27824
  const opts = { client: this._client, signal, throwOnError: false };
27335
27825
  if (envelope.path) opts.path = envelope.path;
@@ -27386,6 +27876,10 @@ var CamundaClient = class {
27386
27876
  const maybeBody = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariableBody, envelope.body);
27387
27877
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27388
27878
  }
27879
+ if (envelope.path !== void 0) {
27880
+ const maybePath = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariablePath, envelope.path);
27881
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27882
+ }
27389
27883
  }
27390
27884
  const opts = { client: this._client, signal, throwOnError: false };
27391
27885
  if (envelope.path) opts.path = envelope.path;
@@ -27442,6 +27936,10 @@ var CamundaClient = class {
27442
27936
  const maybeBody = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserBody, envelope.body);
27443
27937
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27444
27938
  }
27939
+ if (envelope.path !== void 0) {
27940
+ const maybePath = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserPath, envelope.path);
27941
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
27942
+ }
27445
27943
  }
27446
27944
  const opts = { client: this._client, signal, throwOnError: false };
27447
27945
  if (envelope.path) opts.path = envelope.path;
@@ -27498,6 +27996,10 @@ var CamundaClient = class {
27498
27996
  const maybeBody = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskBody, envelope.body);
27499
27997
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
27500
27998
  }
27999
+ if (envelope.path !== void 0) {
28000
+ const maybePath = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskPath, envelope.path);
28001
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
28002
+ }
27501
28003
  }
27502
28004
  const opts = { client: this._client, signal, throwOnError: false };
27503
28005
  if (envelope.path) opts.path = envelope.path;