@camunda8/orchestration-cluster-api 10.0.0-alpha.23 → 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.
@@ -1313,6 +1313,7 @@ var createClient = (config = {}) => {
1313
1313
  const responseStyle = options.responseStyle ?? _config.responseStyle;
1314
1314
  let request2;
1315
1315
  let response;
1316
+ let __isHttpErrorResponse = false;
1316
1317
  try {
1317
1318
  const { opts, url } = await beforeRequest(options);
1318
1319
  const requestInit = {
@@ -1401,6 +1402,7 @@ var createClient = (config = {}) => {
1401
1402
  jsonError = JSON.parse(textError);
1402
1403
  } catch {
1403
1404
  }
1405
+ __isHttpErrorResponse = true;
1404
1406
  throw jsonError ?? textError;
1405
1407
  } catch (error) {
1406
1408
  let finalError = error;
@@ -1410,7 +1412,7 @@ var createClient = (config = {}) => {
1410
1412
  }
1411
1413
  }
1412
1414
  finalError = finalError || {};
1413
- if (throwOnError) {
1415
+ if (throwOnError || !__isHttpErrorResponse) {
1414
1416
  throw finalError;
1415
1417
  }
1416
1418
  return responseStyle === "data" ? void 0 : {
@@ -4847,7 +4849,7 @@ function installAuthInterceptor(client2, getStrategy, getAuthHeaders) {
4847
4849
  }
4848
4850
 
4849
4851
  // src/runtime/version.ts
4850
- var packageVersion = "10.0.0-alpha.23";
4852
+ var packageVersion = "10.0.0-alpha.24";
4851
4853
 
4852
4854
  // src/runtime/supportLogger.ts
4853
4855
  var NoopSupportLogger = class {
@@ -6854,7 +6856,7 @@ var CamundaClient = class {
6854
6856
  _schemasPromise = null;
6855
6857
  _loadSchemas() {
6856
6858
  if (!this._schemasPromise) {
6857
- this._schemasPromise = import("./zod.gen-BT6O3SVH.js");
6859
+ this._schemasPromise = import("./zod.gen-OIU26R2L.js");
6858
6860
  }
6859
6861
  return this._schemasPromise;
6860
6862
  }
@@ -6944,6 +6946,10 @@ var CamundaClient = class {
6944
6946
  const maybeBody = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesBody, envelope.body);
6945
6947
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
6946
6948
  }
6949
+ if (envelope.path !== void 0) {
6950
+ const maybePath = await this._validation.gateRequest("activateAdHocSubProcessActivities", _schemas.zActivateAdHocSubProcessActivitiesPath, envelope.path);
6951
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
6952
+ }
6947
6953
  }
6948
6954
  const opts = { client: this._client, signal, throwOnError: false };
6949
6955
  if (envelope.path) opts.path = envelope.path;
@@ -7056,7 +7062,10 @@ var CamundaClient = class {
7056
7062
  envelope.path = { groupId, clientId };
7057
7063
  if (this._validation.settings.req !== "none") {
7058
7064
  const _schemas = await this._loadSchemas();
7059
- await this._validation.gateRequest("assignClientToGroup", void 0, envelope);
7065
+ if (envelope.path !== void 0) {
7066
+ const maybePath = await this._validation.gateRequest("assignClientToGroup", _schemas.zAssignClientToGroupPath, envelope.path);
7067
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7068
+ }
7060
7069
  }
7061
7070
  const opts = { client: this._client, signal, throwOnError: false };
7062
7071
  if (envelope.path) opts.path = envelope.path;
@@ -7107,7 +7116,10 @@ var CamundaClient = class {
7107
7116
  envelope.path = { tenantId, clientId };
7108
7117
  if (this._validation.settings.req !== "none") {
7109
7118
  const _schemas = await this._loadSchemas();
7110
- await this._validation.gateRequest("assignClientToTenant", void 0, envelope);
7119
+ if (envelope.path !== void 0) {
7120
+ const maybePath = await this._validation.gateRequest("assignClientToTenant", _schemas.zAssignClientToTenantPath, envelope.path);
7121
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7122
+ }
7111
7123
  }
7112
7124
  const opts = { client: this._client, signal, throwOnError: false };
7113
7125
  if (envelope.path) opts.path = envelope.path;
@@ -7158,7 +7170,10 @@ var CamundaClient = class {
7158
7170
  envelope.path = { tenantId, groupId };
7159
7171
  if (this._validation.settings.req !== "none") {
7160
7172
  const _schemas = await this._loadSchemas();
7161
- await this._validation.gateRequest("assignGroupToTenant", void 0, envelope);
7173
+ if (envelope.path !== void 0) {
7174
+ const maybePath = await this._validation.gateRequest("assignGroupToTenant", _schemas.zAssignGroupToTenantPath, envelope.path);
7175
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7176
+ }
7162
7177
  }
7163
7178
  const opts = { client: this._client, signal, throwOnError: false };
7164
7179
  if (envelope.path) opts.path = envelope.path;
@@ -7209,7 +7224,10 @@ var CamundaClient = class {
7209
7224
  envelope.path = { groupId, mappingRuleId };
7210
7225
  if (this._validation.settings.req !== "none") {
7211
7226
  const _schemas = await this._loadSchemas();
7212
- await this._validation.gateRequest("assignMappingRuleToGroup", void 0, envelope);
7227
+ if (envelope.path !== void 0) {
7228
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToGroup", _schemas.zAssignMappingRuleToGroupPath, envelope.path);
7229
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7230
+ }
7213
7231
  }
7214
7232
  const opts = { client: this._client, signal, throwOnError: false };
7215
7233
  if (envelope.path) opts.path = envelope.path;
@@ -7260,7 +7278,10 @@ var CamundaClient = class {
7260
7278
  envelope.path = { tenantId, mappingRuleId };
7261
7279
  if (this._validation.settings.req !== "none") {
7262
7280
  const _schemas = await this._loadSchemas();
7263
- await this._validation.gateRequest("assignMappingRuleToTenant", void 0, envelope);
7281
+ if (envelope.path !== void 0) {
7282
+ const maybePath = await this._validation.gateRequest("assignMappingRuleToTenant", _schemas.zAssignMappingRuleToTenantPath, envelope.path);
7283
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7284
+ }
7264
7285
  }
7265
7286
  const opts = { client: this._client, signal, throwOnError: false };
7266
7287
  if (envelope.path) opts.path = envelope.path;
@@ -7316,6 +7337,10 @@ var CamundaClient = class {
7316
7337
  const maybeBody = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdBody, envelope.body);
7317
7338
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
7318
7339
  }
7340
+ if (envelope.path !== void 0) {
7341
+ const maybePath = await this._validation.gateRequest("assignProcessInstanceBusinessId", _schemas.zAssignProcessInstanceBusinessIdPath, envelope.path);
7342
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7343
+ }
7319
7344
  }
7320
7345
  const opts = { client: this._client, signal, throwOnError: false };
7321
7346
  if (envelope.path) opts.path = envelope.path;
@@ -7367,7 +7392,10 @@ var CamundaClient = class {
7367
7392
  envelope.path = { roleId, clientId };
7368
7393
  if (this._validation.settings.req !== "none") {
7369
7394
  const _schemas = await this._loadSchemas();
7370
- await this._validation.gateRequest("assignRoleToClient", void 0, envelope);
7395
+ if (envelope.path !== void 0) {
7396
+ const maybePath = await this._validation.gateRequest("assignRoleToClient", _schemas.zAssignRoleToClientPath, envelope.path);
7397
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7398
+ }
7371
7399
  }
7372
7400
  const opts = { client: this._client, signal, throwOnError: false };
7373
7401
  if (envelope.path) opts.path = envelope.path;
@@ -7418,7 +7446,10 @@ var CamundaClient = class {
7418
7446
  envelope.path = { roleId, groupId };
7419
7447
  if (this._validation.settings.req !== "none") {
7420
7448
  const _schemas = await this._loadSchemas();
7421
- await this._validation.gateRequest("assignRoleToGroup", void 0, envelope);
7449
+ if (envelope.path !== void 0) {
7450
+ const maybePath = await this._validation.gateRequest("assignRoleToGroup", _schemas.zAssignRoleToGroupPath, envelope.path);
7451
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7452
+ }
7422
7453
  }
7423
7454
  const opts = { client: this._client, signal, throwOnError: false };
7424
7455
  if (envelope.path) opts.path = envelope.path;
@@ -7469,7 +7500,10 @@ var CamundaClient = class {
7469
7500
  envelope.path = { roleId, mappingRuleId };
7470
7501
  if (this._validation.settings.req !== "none") {
7471
7502
  const _schemas = await this._loadSchemas();
7472
- await this._validation.gateRequest("assignRoleToMappingRule", void 0, envelope);
7503
+ if (envelope.path !== void 0) {
7504
+ const maybePath = await this._validation.gateRequest("assignRoleToMappingRule", _schemas.zAssignRoleToMappingRulePath, envelope.path);
7505
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7506
+ }
7473
7507
  }
7474
7508
  const opts = { client: this._client, signal, throwOnError: false };
7475
7509
  if (envelope.path) opts.path = envelope.path;
@@ -7520,7 +7554,10 @@ var CamundaClient = class {
7520
7554
  envelope.path = { tenantId, roleId };
7521
7555
  if (this._validation.settings.req !== "none") {
7522
7556
  const _schemas = await this._loadSchemas();
7523
- await this._validation.gateRequest("assignRoleToTenant", void 0, envelope);
7557
+ if (envelope.path !== void 0) {
7558
+ const maybePath = await this._validation.gateRequest("assignRoleToTenant", _schemas.zAssignRoleToTenantPath, envelope.path);
7559
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7560
+ }
7524
7561
  }
7525
7562
  const opts = { client: this._client, signal, throwOnError: false };
7526
7563
  if (envelope.path) opts.path = envelope.path;
@@ -7571,7 +7608,10 @@ var CamundaClient = class {
7571
7608
  envelope.path = { roleId, username };
7572
7609
  if (this._validation.settings.req !== "none") {
7573
7610
  const _schemas = await this._loadSchemas();
7574
- await this._validation.gateRequest("assignRoleToUser", void 0, envelope);
7611
+ if (envelope.path !== void 0) {
7612
+ const maybePath = await this._validation.gateRequest("assignRoleToUser", _schemas.zAssignRoleToUserPath, envelope.path);
7613
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7614
+ }
7575
7615
  }
7576
7616
  const opts = { client: this._client, signal, throwOnError: false };
7577
7617
  if (envelope.path) opts.path = envelope.path;
@@ -7627,6 +7667,10 @@ var CamundaClient = class {
7627
7667
  const maybeBody = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskBody, envelope.body);
7628
7668
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
7629
7669
  }
7670
+ if (envelope.path !== void 0) {
7671
+ const maybePath = await this._validation.gateRequest("assignUserTask", _schemas.zAssignUserTaskPath, envelope.path);
7672
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7673
+ }
7630
7674
  }
7631
7675
  const opts = { client: this._client, signal, throwOnError: false };
7632
7676
  if (envelope.path) opts.path = envelope.path;
@@ -7678,7 +7722,10 @@ var CamundaClient = class {
7678
7722
  envelope.path = { groupId, username };
7679
7723
  if (this._validation.settings.req !== "none") {
7680
7724
  const _schemas = await this._loadSchemas();
7681
- await this._validation.gateRequest("assignUserToGroup", void 0, envelope);
7725
+ if (envelope.path !== void 0) {
7726
+ const maybePath = await this._validation.gateRequest("assignUserToGroup", _schemas.zAssignUserToGroupPath, envelope.path);
7727
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7728
+ }
7682
7729
  }
7683
7730
  const opts = { client: this._client, signal, throwOnError: false };
7684
7731
  if (envelope.path) opts.path = envelope.path;
@@ -7729,7 +7776,10 @@ var CamundaClient = class {
7729
7776
  envelope.path = { tenantId, username };
7730
7777
  if (this._validation.settings.req !== "none") {
7731
7778
  const _schemas = await this._loadSchemas();
7732
- await this._validation.gateRequest("assignUserToTenant", void 0, envelope);
7779
+ if (envelope.path !== void 0) {
7780
+ const maybePath = await this._validation.gateRequest("assignUserToTenant", _schemas.zAssignUserToTenantPath, envelope.path);
7781
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7782
+ }
7733
7783
  }
7734
7784
  const opts = { client: this._client, signal, throwOnError: false };
7735
7785
  if (envelope.path) opts.path = envelope.path;
@@ -7843,6 +7893,10 @@ var CamundaClient = class {
7843
7893
  const maybeBody = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationBody, envelope.body);
7844
7894
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
7845
7895
  }
7896
+ if (envelope.path !== void 0) {
7897
+ const maybePath = await this._validation.gateRequest("cancelBatchOperation", _schemas.zCancelBatchOperationPath, envelope.path);
7898
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7899
+ }
7846
7900
  }
7847
7901
  const opts = { client: this._client, signal, throwOnError: false };
7848
7902
  if (envelope.path) opts.path = envelope.path;
@@ -7899,6 +7953,10 @@ var CamundaClient = class {
7899
7953
  const maybeBody = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstanceBody, envelope.body);
7900
7954
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
7901
7955
  }
7956
+ if (envelope.path !== void 0) {
7957
+ const maybePath = await this._validation.gateRequest("cancelProcessInstance", _schemas.zCancelProcessInstancePath, envelope.path);
7958
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
7959
+ }
7902
7960
  }
7903
7961
  const opts = { client: this._client, signal, throwOnError: false };
7904
7962
  if (envelope.path) opts.path = envelope.path;
@@ -8004,7 +8062,10 @@ var CamundaClient = class {
8004
8062
  envelope.query = { mode, dryRun };
8005
8063
  if (this._validation.settings.req !== "none") {
8006
8064
  const _schemas = await this._loadSchemas();
8007
- await this._validation.gateRequest("changeClusterMode", void 0, envelope);
8065
+ if (envelope.query !== void 0) {
8066
+ const maybeQuery = await this._validation.gateRequest("changeClusterMode", _schemas.zChangeClusterModeQuery, envelope.query);
8067
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
8068
+ }
8008
8069
  }
8009
8070
  const opts = { client: this._client, signal, throwOnError: false };
8010
8071
  if (envelope.query) opts.query = envelope.query;
@@ -8060,6 +8121,10 @@ var CamundaClient = class {
8060
8121
  const maybeBody = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobBody, envelope.body);
8061
8122
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8062
8123
  }
8124
+ if (envelope.path !== void 0) {
8125
+ const maybePath = await this._validation.gateRequest("completeJob", _schemas.zCompleteJobPath, envelope.path);
8126
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
8127
+ }
8063
8128
  }
8064
8129
  const opts = { client: this._client, signal, throwOnError: false };
8065
8130
  if (envelope.path) opts.path = envelope.path;
@@ -8116,6 +8181,10 @@ var CamundaClient = class {
8116
8181
  const maybeBody = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskBody, envelope.body);
8117
8182
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8118
8183
  }
8184
+ if (envelope.path !== void 0) {
8185
+ const maybePath = await this._validation.gateRequest("completeUserTask", _schemas.zCompleteUserTaskPath, envelope.path);
8186
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
8187
+ }
8119
8188
  }
8120
8189
  const opts = { client: this._client, signal, throwOnError: false };
8121
8190
  if (envelope.path) opts.path = envelope.path;
@@ -8338,6 +8407,10 @@ var CamundaClient = class {
8338
8407
  const maybeBody = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemBody, envelope.body);
8339
8408
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8340
8409
  }
8410
+ if (envelope.path !== void 0) {
8411
+ const maybePath = await this._validation.gateRequest("createAgentInstanceHistoryItem", _schemas.zCreateAgentInstanceHistoryItemPath, envelope.path);
8412
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
8413
+ }
8341
8414
  }
8342
8415
  const opts = { client: this._client, signal, throwOnError: false };
8343
8416
  if (envelope.path) opts.path = envelope.path;
@@ -8520,6 +8593,10 @@ var CamundaClient = class {
8520
8593
  const maybeBody = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentBody, envelope.body);
8521
8594
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8522
8595
  }
8596
+ if (envelope.query !== void 0) {
8597
+ const maybeQuery = await this._validation.gateRequest("createDocument", _schemas.zCreateDocumentQuery, envelope.query);
8598
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
8599
+ }
8523
8600
  }
8524
8601
  const opts = { client: this._client, signal, throwOnError: false };
8525
8602
  if (envelope.query) opts.query = envelope.query;
@@ -8577,6 +8654,14 @@ var CamundaClient = class {
8577
8654
  const maybeBody = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkBody, envelope.body);
8578
8655
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8579
8656
  }
8657
+ if (envelope.path !== void 0) {
8658
+ const maybePath = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkPath, envelope.path);
8659
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
8660
+ }
8661
+ if (envelope.query !== void 0) {
8662
+ const maybeQuery = await this._validation.gateRequest("createDocumentLink", _schemas.zCreateDocumentLinkQuery, envelope.query);
8663
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
8664
+ }
8580
8665
  }
8581
8666
  const opts = { client: this._client, signal, throwOnError: false };
8582
8667
  if (envelope.path) opts.path = envelope.path;
@@ -8634,6 +8719,10 @@ var CamundaClient = class {
8634
8719
  const maybeBody = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsBody, envelope.body);
8635
8720
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8636
8721
  }
8722
+ if (envelope.query !== void 0) {
8723
+ const maybeQuery = await this._validation.gateRequest("createDocuments", _schemas.zCreateDocumentsQuery, envelope.query);
8724
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
8725
+ }
8637
8726
  }
8638
8727
  const opts = { client: this._client, signal, throwOnError: false };
8639
8728
  if (envelope.query) opts.query = envelope.query;
@@ -8690,6 +8779,10 @@ var CamundaClient = class {
8690
8779
  const maybeBody = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesBody, envelope.body);
8691
8780
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
8692
8781
  }
8782
+ if (envelope.path !== void 0) {
8783
+ const maybePath = await this._validation.gateRequest("createElementInstanceVariables", _schemas.zCreateElementInstanceVariablesPath, envelope.path);
8784
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
8785
+ }
8693
8786
  }
8694
8787
  const opts = { client: this._client, signal, throwOnError: false };
8695
8788
  if (envelope.path) opts.path = envelope.path;
@@ -9128,6 +9221,10 @@ var CamundaClient = class {
9128
9221
  const maybeBody = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariableBody, envelope.body);
9129
9222
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
9130
9223
  }
9224
+ if (envelope.path !== void 0) {
9225
+ const maybePath = await this._validation.gateRequest("createTenantClusterVariable", _schemas.zCreateTenantClusterVariablePath, envelope.path);
9226
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9227
+ }
9131
9228
  }
9132
9229
  const opts = { client: this._client, signal, throwOnError: false };
9133
9230
  if (envelope.path) opts.path = envelope.path;
@@ -9233,7 +9330,10 @@ var CamundaClient = class {
9233
9330
  envelope.path = { authorizationKey };
9234
9331
  if (this._validation.settings.req !== "none") {
9235
9332
  const _schemas = await this._loadSchemas();
9236
- await this._validation.gateRequest("deleteAuthorization", void 0, envelope);
9333
+ if (envelope.path !== void 0) {
9334
+ const maybePath = await this._validation.gateRequest("deleteAuthorization", _schemas.zDeleteAuthorizationPath, envelope.path);
9335
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9336
+ }
9237
9337
  }
9238
9338
  const opts = { client: this._client, signal, throwOnError: false };
9239
9339
  if (envelope.path) opts.path = envelope.path;
@@ -9289,6 +9389,10 @@ var CamundaClient = class {
9289
9389
  const maybeBody = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstanceBody, envelope.body);
9290
9390
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
9291
9391
  }
9392
+ if (envelope.path !== void 0) {
9393
+ const maybePath = await this._validation.gateRequest("deleteDecisionInstance", _schemas.zDeleteDecisionInstancePath, envelope.path);
9394
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9395
+ }
9292
9396
  }
9293
9397
  const opts = { client: this._client, signal, throwOnError: false };
9294
9398
  if (envelope.path) opts.path = envelope.path;
@@ -9395,7 +9499,14 @@ var CamundaClient = class {
9395
9499
  envelope.query = { storeId };
9396
9500
  if (this._validation.settings.req !== "none") {
9397
9501
  const _schemas = await this._loadSchemas();
9398
- await this._validation.gateRequest("deleteDocument", void 0, envelope);
9502
+ if (envelope.path !== void 0) {
9503
+ const maybePath = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentPath, envelope.path);
9504
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9505
+ }
9506
+ if (envelope.query !== void 0) {
9507
+ const maybeQuery = await this._validation.gateRequest("deleteDocument", _schemas.zDeleteDocumentQuery, envelope.query);
9508
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
9509
+ }
9399
9510
  }
9400
9511
  const opts = { client: this._client, signal, throwOnError: false };
9401
9512
  if (envelope.path) opts.path = envelope.path;
@@ -9447,7 +9558,10 @@ var CamundaClient = class {
9447
9558
  envelope.path = { name };
9448
9559
  if (this._validation.settings.req !== "none") {
9449
9560
  const _schemas = await this._loadSchemas();
9450
- await this._validation.gateRequest("deleteGlobalClusterVariable", void 0, envelope);
9561
+ if (envelope.path !== void 0) {
9562
+ const maybePath = await this._validation.gateRequest("deleteGlobalClusterVariable", _schemas.zDeleteGlobalClusterVariablePath, envelope.path);
9563
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9564
+ }
9451
9565
  }
9452
9566
  const opts = { client: this._client, signal, throwOnError: false };
9453
9567
  if (envelope.path) opts.path = envelope.path;
@@ -9498,7 +9612,10 @@ var CamundaClient = class {
9498
9612
  envelope.path = { id };
9499
9613
  if (this._validation.settings.req !== "none") {
9500
9614
  const _schemas = await this._loadSchemas();
9501
- await this._validation.gateRequest("deleteGlobalTaskListener", void 0, envelope);
9615
+ if (envelope.path !== void 0) {
9616
+ const maybePath = await this._validation.gateRequest("deleteGlobalTaskListener", _schemas.zDeleteGlobalTaskListenerPath, envelope.path);
9617
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9618
+ }
9502
9619
  }
9503
9620
  const opts = { client: this._client, signal, throwOnError: false };
9504
9621
  if (envelope.path) opts.path = envelope.path;
@@ -9549,7 +9666,10 @@ var CamundaClient = class {
9549
9666
  envelope.path = { groupId };
9550
9667
  if (this._validation.settings.req !== "none") {
9551
9668
  const _schemas = await this._loadSchemas();
9552
- await this._validation.gateRequest("deleteGroup", void 0, envelope);
9669
+ if (envelope.path !== void 0) {
9670
+ const maybePath = await this._validation.gateRequest("deleteGroup", _schemas.zDeleteGroupPath, envelope.path);
9671
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9672
+ }
9553
9673
  }
9554
9674
  const opts = { client: this._client, signal, throwOnError: false };
9555
9675
  if (envelope.path) opts.path = envelope.path;
@@ -9600,7 +9720,10 @@ var CamundaClient = class {
9600
9720
  envelope.path = { mappingRuleId };
9601
9721
  if (this._validation.settings.req !== "none") {
9602
9722
  const _schemas = await this._loadSchemas();
9603
- await this._validation.gateRequest("deleteMappingRule", void 0, envelope);
9723
+ if (envelope.path !== void 0) {
9724
+ const maybePath = await this._validation.gateRequest("deleteMappingRule", _schemas.zDeleteMappingRulePath, envelope.path);
9725
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9726
+ }
9604
9727
  }
9605
9728
  const opts = { client: this._client, signal, throwOnError: false };
9606
9729
  if (envelope.path) opts.path = envelope.path;
@@ -9656,6 +9779,10 @@ var CamundaClient = class {
9656
9779
  const maybeBody = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstanceBody, envelope.body);
9657
9780
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
9658
9781
  }
9782
+ if (envelope.path !== void 0) {
9783
+ const maybePath = await this._validation.gateRequest("deleteProcessInstance", _schemas.zDeleteProcessInstancePath, envelope.path);
9784
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9785
+ }
9659
9786
  }
9660
9787
  const opts = { client: this._client, signal, throwOnError: false };
9661
9788
  if (envelope.path) opts.path = envelope.path;
@@ -9766,6 +9893,10 @@ var CamundaClient = class {
9766
9893
  const maybeBody = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourceBody, envelope.body);
9767
9894
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
9768
9895
  }
9896
+ if (envelope.path !== void 0) {
9897
+ const maybePath = await this._validation.gateRequest("deleteResource", _schemas.zDeleteResourcePath, envelope.path);
9898
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9899
+ }
9769
9900
  }
9770
9901
  const opts = { client: this._client, signal, throwOnError: false };
9771
9902
  if (envelope.path) opts.path = envelope.path;
@@ -9817,7 +9948,10 @@ var CamundaClient = class {
9817
9948
  envelope.path = { roleId };
9818
9949
  if (this._validation.settings.req !== "none") {
9819
9950
  const _schemas = await this._loadSchemas();
9820
- await this._validation.gateRequest("deleteRole", void 0, envelope);
9951
+ if (envelope.path !== void 0) {
9952
+ const maybePath = await this._validation.gateRequest("deleteRole", _schemas.zDeleteRolePath, envelope.path);
9953
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
9954
+ }
9821
9955
  }
9822
9956
  const opts = { client: this._client, signal, throwOnError: false };
9823
9957
  if (envelope.path) opts.path = envelope.path;
@@ -9868,7 +10002,10 @@ var CamundaClient = class {
9868
10002
  envelope.path = { backupId };
9869
10003
  if (this._validation.settings.req !== "none") {
9870
10004
  const _schemas = await this._loadSchemas();
9871
- await this._validation.gateRequest("deleteRuntimeBackup", void 0, envelope);
10005
+ if (envelope.path !== void 0) {
10006
+ const maybePath = await this._validation.gateRequest("deleteRuntimeBackup", _schemas.zDeleteRuntimeBackupPath, envelope.path);
10007
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10008
+ }
9872
10009
  }
9873
10010
  const opts = { client: this._client, signal, throwOnError: false };
9874
10011
  if (envelope.path) opts.path = envelope.path;
@@ -9962,7 +10099,10 @@ var CamundaClient = class {
9962
10099
  envelope.path = { tenantId };
9963
10100
  if (this._validation.settings.req !== "none") {
9964
10101
  const _schemas = await this._loadSchemas();
9965
- await this._validation.gateRequest("deleteTenant", void 0, envelope);
10102
+ if (envelope.path !== void 0) {
10103
+ const maybePath = await this._validation.gateRequest("deleteTenant", _schemas.zDeleteTenantPath, envelope.path);
10104
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10105
+ }
9966
10106
  }
9967
10107
  const opts = { client: this._client, signal, throwOnError: false };
9968
10108
  if (envelope.path) opts.path = envelope.path;
@@ -10013,7 +10153,10 @@ var CamundaClient = class {
10013
10153
  envelope.path = { tenantId, name };
10014
10154
  if (this._validation.settings.req !== "none") {
10015
10155
  const _schemas = await this._loadSchemas();
10016
- await this._validation.gateRequest("deleteTenantClusterVariable", void 0, envelope);
10156
+ if (envelope.path !== void 0) {
10157
+ const maybePath = await this._validation.gateRequest("deleteTenantClusterVariable", _schemas.zDeleteTenantClusterVariablePath, envelope.path);
10158
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10159
+ }
10017
10160
  }
10018
10161
  const opts = { client: this._client, signal, throwOnError: false };
10019
10162
  if (envelope.path) opts.path = envelope.path;
@@ -10064,7 +10207,10 @@ var CamundaClient = class {
10064
10207
  envelope.path = { username };
10065
10208
  if (this._validation.settings.req !== "none") {
10066
10209
  const _schemas = await this._loadSchemas();
10067
- await this._validation.gateRequest("deleteUser", void 0, envelope);
10210
+ if (envelope.path !== void 0) {
10211
+ const maybePath = await this._validation.gateRequest("deleteUser", _schemas.zDeleteUserPath, envelope.path);
10212
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10213
+ }
10068
10214
  }
10069
10215
  const opts = { client: this._client, signal, throwOnError: false };
10070
10216
  if (envelope.path) opts.path = envelope.path;
@@ -10294,6 +10440,10 @@ var CamundaClient = class {
10294
10440
  const maybeBody = await this._validation.gateRequest("failJob", _schemas.zFailJobBody, envelope.body);
10295
10441
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
10296
10442
  }
10443
+ if (envelope.path !== void 0) {
10444
+ const maybePath = await this._validation.gateRequest("failJob", _schemas.zFailJobPath, envelope.path);
10445
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10446
+ }
10297
10447
  }
10298
10448
  const opts = { client: this._client, signal, throwOnError: false };
10299
10449
  if (envelope.path) opts.path = envelope.path;
@@ -10347,7 +10497,10 @@ var CamundaClient = class {
10347
10497
  envelope.path = { agentInstanceKey };
10348
10498
  if (this._validation.settings.req !== "none") {
10349
10499
  const _schemas = await this._loadSchemas();
10350
- await this._validation.gateRequest("getAgentInstance", void 0, envelope);
10500
+ if (envelope.path !== void 0) {
10501
+ const maybePath = await this._validation.gateRequest("getAgentInstance", _schemas.zGetAgentInstancePath, envelope.path);
10502
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10503
+ }
10351
10504
  }
10352
10505
  const opts = { client: this._client, signal, throwOnError: false };
10353
10506
  if (envelope.path) opts.path = envelope.path;
@@ -10402,7 +10555,10 @@ var CamundaClient = class {
10402
10555
  envelope.path = { auditLogKey };
10403
10556
  if (this._validation.settings.req !== "none") {
10404
10557
  const _schemas = await this._loadSchemas();
10405
- await this._validation.gateRequest("getAuditLog", void 0, envelope);
10558
+ if (envelope.path !== void 0) {
10559
+ const maybePath = await this._validation.gateRequest("getAuditLog", _schemas.zGetAuditLogPath, envelope.path);
10560
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10561
+ }
10406
10562
  }
10407
10563
  const opts = { client: this._client, signal, throwOnError: false };
10408
10564
  if (envelope.path) opts.path = envelope.path;
@@ -10500,7 +10656,10 @@ var CamundaClient = class {
10500
10656
  envelope.path = { authorizationKey };
10501
10657
  if (this._validation.settings.req !== "none") {
10502
10658
  const _schemas = await this._loadSchemas();
10503
- await this._validation.gateRequest("getAuthorization", void 0, envelope);
10659
+ if (envelope.path !== void 0) {
10660
+ const maybePath = await this._validation.gateRequest("getAuthorization", _schemas.zGetAuthorizationPath, envelope.path);
10661
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10662
+ }
10504
10663
  }
10505
10664
  const opts = { client: this._client, signal, throwOnError: false };
10506
10665
  if (envelope.path) opts.path = envelope.path;
@@ -10555,7 +10714,10 @@ var CamundaClient = class {
10555
10714
  envelope.path = { batchOperationKey };
10556
10715
  if (this._validation.settings.req !== "none") {
10557
10716
  const _schemas = await this._loadSchemas();
10558
- await this._validation.gateRequest("getBatchOperation", void 0, envelope);
10717
+ if (envelope.path !== void 0) {
10718
+ const maybePath = await this._validation.gateRequest("getBatchOperation", _schemas.zGetBatchOperationPath, envelope.path);
10719
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10720
+ }
10559
10721
  }
10560
10722
  const opts = { client: this._client, signal, throwOnError: false };
10561
10723
  if (envelope.path) opts.path = envelope.path;
@@ -10653,7 +10815,10 @@ var CamundaClient = class {
10653
10815
  envelope.path = { decisionDefinitionKey };
10654
10816
  if (this._validation.settings.req !== "none") {
10655
10817
  const _schemas = await this._loadSchemas();
10656
- await this._validation.gateRequest("getDecisionDefinition", void 0, envelope);
10818
+ if (envelope.path !== void 0) {
10819
+ const maybePath = await this._validation.gateRequest("getDecisionDefinition", _schemas.zGetDecisionDefinitionPath, envelope.path);
10820
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10821
+ }
10657
10822
  }
10658
10823
  const opts = { client: this._client, signal, throwOnError: false };
10659
10824
  if (envelope.path) opts.path = envelope.path;
@@ -10708,7 +10873,10 @@ var CamundaClient = class {
10708
10873
  envelope.path = { decisionDefinitionKey };
10709
10874
  if (this._validation.settings.req !== "none") {
10710
10875
  const _schemas = await this._loadSchemas();
10711
- await this._validation.gateRequest("getDecisionDefinitionXML", void 0, envelope);
10876
+ if (envelope.path !== void 0) {
10877
+ const maybePath = await this._validation.gateRequest("getDecisionDefinitionXML", _schemas.zGetDecisionDefinitionXmlPath, envelope.path);
10878
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10879
+ }
10712
10880
  }
10713
10881
  const opts = { client: this._client, signal, throwOnError: false };
10714
10882
  if (envelope.path) opts.path = envelope.path;
@@ -10763,7 +10931,10 @@ var CamundaClient = class {
10763
10931
  envelope.path = { decisionEvaluationInstanceKey };
10764
10932
  if (this._validation.settings.req !== "none") {
10765
10933
  const _schemas = await this._loadSchemas();
10766
- await this._validation.gateRequest("getDecisionInstance", void 0, envelope);
10934
+ if (envelope.path !== void 0) {
10935
+ const maybePath = await this._validation.gateRequest("getDecisionInstance", _schemas.zGetDecisionInstancePath, envelope.path);
10936
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10937
+ }
10767
10938
  }
10768
10939
  const opts = { client: this._client, signal, throwOnError: false };
10769
10940
  if (envelope.path) opts.path = envelope.path;
@@ -10818,7 +10989,10 @@ var CamundaClient = class {
10818
10989
  envelope.path = { decisionRequirementsKey };
10819
10990
  if (this._validation.settings.req !== "none") {
10820
10991
  const _schemas = await this._loadSchemas();
10821
- await this._validation.gateRequest("getDecisionRequirements", void 0, envelope);
10992
+ if (envelope.path !== void 0) {
10993
+ const maybePath = await this._validation.gateRequest("getDecisionRequirements", _schemas.zGetDecisionRequirementsPath, envelope.path);
10994
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
10995
+ }
10822
10996
  }
10823
10997
  const opts = { client: this._client, signal, throwOnError: false };
10824
10998
  if (envelope.path) opts.path = envelope.path;
@@ -10873,7 +11047,10 @@ var CamundaClient = class {
10873
11047
  envelope.path = { decisionRequirementsKey };
10874
11048
  if (this._validation.settings.req !== "none") {
10875
11049
  const _schemas = await this._loadSchemas();
10876
- await this._validation.gateRequest("getDecisionRequirementsXML", void 0, envelope);
11050
+ if (envelope.path !== void 0) {
11051
+ const maybePath = await this._validation.gateRequest("getDecisionRequirementsXML", _schemas.zGetDecisionRequirementsXmlPath, envelope.path);
11052
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11053
+ }
10877
11054
  }
10878
11055
  const opts = { client: this._client, signal, throwOnError: false };
10879
11056
  if (envelope.path) opts.path = envelope.path;
@@ -10927,7 +11104,14 @@ var CamundaClient = class {
10927
11104
  envelope.query = { storeId, contentHash };
10928
11105
  if (this._validation.settings.req !== "none") {
10929
11106
  const _schemas = await this._loadSchemas();
10930
- await this._validation.gateRequest("getDocument", void 0, envelope);
11107
+ if (envelope.path !== void 0) {
11108
+ const maybePath = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentPath, envelope.path);
11109
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11110
+ }
11111
+ if (envelope.query !== void 0) {
11112
+ const maybeQuery = await this._validation.gateRequest("getDocument", _schemas.zGetDocumentQuery, envelope.query);
11113
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
11114
+ }
10931
11115
  }
10932
11116
  const opts = { client: this._client, signal, throwOnError: false };
10933
11117
  if (envelope.path) opts.path = envelope.path;
@@ -10981,7 +11165,10 @@ var CamundaClient = class {
10981
11165
  envelope.path = { elementInstanceKey };
10982
11166
  if (this._validation.settings.req !== "none") {
10983
11167
  const _schemas = await this._loadSchemas();
10984
- await this._validation.gateRequest("getElementInstance", void 0, envelope);
11168
+ if (envelope.path !== void 0) {
11169
+ const maybePath = await this._validation.gateRequest("getElementInstance", _schemas.zGetElementInstancePath, envelope.path);
11170
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11171
+ }
10985
11172
  }
10986
11173
  const opts = { client: this._client, signal, throwOnError: false };
10987
11174
  if (envelope.path) opts.path = envelope.path;
@@ -11079,7 +11266,10 @@ var CamundaClient = class {
11079
11266
  envelope.path = { formKey };
11080
11267
  if (this._validation.settings.req !== "none") {
11081
11268
  const _schemas = await this._loadSchemas();
11082
- await this._validation.gateRequest("getFormByKey", void 0, envelope);
11269
+ if (envelope.path !== void 0) {
11270
+ const maybePath = await this._validation.gateRequest("getFormByKey", _schemas.zGetFormByKeyPath, envelope.path);
11271
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11272
+ }
11083
11273
  }
11084
11274
  const opts = { client: this._client, signal, throwOnError: false };
11085
11275
  if (envelope.path) opts.path = envelope.path;
@@ -11134,7 +11324,10 @@ var CamundaClient = class {
11134
11324
  envelope.path = { name };
11135
11325
  if (this._validation.settings.req !== "none") {
11136
11326
  const _schemas = await this._loadSchemas();
11137
- await this._validation.gateRequest("getGlobalClusterVariable", void 0, envelope);
11327
+ if (envelope.path !== void 0) {
11328
+ const maybePath = await this._validation.gateRequest("getGlobalClusterVariable", _schemas.zGetGlobalClusterVariablePath, envelope.path);
11329
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11330
+ }
11138
11331
  }
11139
11332
  const opts = { client: this._client, signal, throwOnError: false };
11140
11333
  if (envelope.path) opts.path = envelope.path;
@@ -11189,7 +11382,10 @@ var CamundaClient = class {
11189
11382
  envelope.query = { from, to, jobType };
11190
11383
  if (this._validation.settings.req !== "none") {
11191
11384
  const _schemas = await this._loadSchemas();
11192
- await this._validation.gateRequest("getGlobalJobStatistics", void 0, envelope);
11385
+ if (envelope.query !== void 0) {
11386
+ const maybeQuery = await this._validation.gateRequest("getGlobalJobStatistics", _schemas.zGetGlobalJobStatisticsQuery, envelope.query);
11387
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
11388
+ }
11193
11389
  }
11194
11390
  const opts = { client: this._client, signal, throwOnError: false };
11195
11391
  if (envelope.query) opts.query = envelope.query;
@@ -11244,7 +11440,10 @@ var CamundaClient = class {
11244
11440
  envelope.path = { id };
11245
11441
  if (this._validation.settings.req !== "none") {
11246
11442
  const _schemas = await this._loadSchemas();
11247
- await this._validation.gateRequest("getGlobalTaskListener", void 0, envelope);
11443
+ if (envelope.path !== void 0) {
11444
+ const maybePath = await this._validation.gateRequest("getGlobalTaskListener", _schemas.zGetGlobalTaskListenerPath, envelope.path);
11445
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11446
+ }
11248
11447
  }
11249
11448
  const opts = { client: this._client, signal, throwOnError: false };
11250
11449
  if (envelope.path) opts.path = envelope.path;
@@ -11299,7 +11498,10 @@ var CamundaClient = class {
11299
11498
  envelope.path = { groupId };
11300
11499
  if (this._validation.settings.req !== "none") {
11301
11500
  const _schemas = await this._loadSchemas();
11302
- await this._validation.gateRequest("getGroup", void 0, envelope);
11501
+ if (envelope.path !== void 0) {
11502
+ const maybePath = await this._validation.gateRequest("getGroup", _schemas.zGetGroupPath, envelope.path);
11503
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11504
+ }
11303
11505
  }
11304
11506
  const opts = { client: this._client, signal, throwOnError: false };
11305
11507
  if (envelope.path) opts.path = envelope.path;
@@ -11354,7 +11556,10 @@ var CamundaClient = class {
11354
11556
  envelope.path = { incidentKey };
11355
11557
  if (this._validation.settings.req !== "none") {
11356
11558
  const _schemas = await this._loadSchemas();
11357
- await this._validation.gateRequest("getIncident", void 0, envelope);
11559
+ if (envelope.path !== void 0) {
11560
+ const maybePath = await this._validation.gateRequest("getIncident", _schemas.zGetIncidentPath, envelope.path);
11561
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11562
+ }
11358
11563
  }
11359
11564
  const opts = { client: this._client, signal, throwOnError: false };
11360
11565
  if (envelope.path) opts.path = envelope.path;
@@ -11684,7 +11889,10 @@ var CamundaClient = class {
11684
11889
  envelope.path = { mappingRuleId };
11685
11890
  if (this._validation.settings.req !== "none") {
11686
11891
  const _schemas = await this._loadSchemas();
11687
- await this._validation.gateRequest("getMappingRule", void 0, envelope);
11892
+ if (envelope.path !== void 0) {
11893
+ const maybePath = await this._validation.gateRequest("getMappingRule", _schemas.zGetMappingRulePath, envelope.path);
11894
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11895
+ }
11688
11896
  }
11689
11897
  const opts = { client: this._client, signal, throwOnError: false };
11690
11898
  if (envelope.path) opts.path = envelope.path;
@@ -11739,7 +11947,10 @@ var CamundaClient = class {
11739
11947
  envelope.path = { processDefinitionKey };
11740
11948
  if (this._validation.settings.req !== "none") {
11741
11949
  const _schemas = await this._loadSchemas();
11742
- await this._validation.gateRequest("getProcessDefinition", void 0, envelope);
11950
+ if (envelope.path !== void 0) {
11951
+ const maybePath = await this._validation.gateRequest("getProcessDefinition", _schemas.zGetProcessDefinitionPath, envelope.path);
11952
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
11953
+ }
11743
11954
  }
11744
11955
  const opts = { client: this._client, signal, throwOnError: false };
11745
11956
  if (envelope.path) opts.path = envelope.path;
@@ -11973,6 +12184,10 @@ var CamundaClient = class {
11973
12184
  const maybeBody = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsBody, envelope.body);
11974
12185
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
11975
12186
  }
12187
+ if (envelope.path !== void 0) {
12188
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionStatistics", _schemas.zGetProcessDefinitionStatisticsPath, envelope.path);
12189
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12190
+ }
11976
12191
  }
11977
12192
  const opts = { client: this._client, signal, throwOnError: false };
11978
12193
  if (envelope.path) opts.path = envelope.path;
@@ -12028,7 +12243,10 @@ var CamundaClient = class {
12028
12243
  envelope.path = { processDefinitionKey };
12029
12244
  if (this._validation.settings.req !== "none") {
12030
12245
  const _schemas = await this._loadSchemas();
12031
- await this._validation.gateRequest("getProcessDefinitionXML", void 0, envelope);
12246
+ if (envelope.path !== void 0) {
12247
+ const maybePath = await this._validation.gateRequest("getProcessDefinitionXML", _schemas.zGetProcessDefinitionXmlPath, envelope.path);
12248
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12249
+ }
12032
12250
  }
12033
12251
  const opts = { client: this._client, signal, throwOnError: false };
12034
12252
  if (envelope.path) opts.path = envelope.path;
@@ -12083,7 +12301,10 @@ var CamundaClient = class {
12083
12301
  envelope.path = { processInstanceKey };
12084
12302
  if (this._validation.settings.req !== "none") {
12085
12303
  const _schemas = await this._loadSchemas();
12086
- await this._validation.gateRequest("getProcessInstance", void 0, envelope);
12304
+ if (envelope.path !== void 0) {
12305
+ const maybePath = await this._validation.gateRequest("getProcessInstance", _schemas.zGetProcessInstancePath, envelope.path);
12306
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12307
+ }
12087
12308
  }
12088
12309
  const opts = { client: this._client, signal, throwOnError: false };
12089
12310
  if (envelope.path) opts.path = envelope.path;
@@ -12138,7 +12359,10 @@ var CamundaClient = class {
12138
12359
  envelope.path = { processInstanceKey };
12139
12360
  if (this._validation.settings.req !== "none") {
12140
12361
  const _schemas = await this._loadSchemas();
12141
- await this._validation.gateRequest("getProcessInstanceCallHierarchy", void 0, envelope);
12362
+ if (envelope.path !== void 0) {
12363
+ const maybePath = await this._validation.gateRequest("getProcessInstanceCallHierarchy", _schemas.zGetProcessInstanceCallHierarchyPath, envelope.path);
12364
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12365
+ }
12142
12366
  }
12143
12367
  const opts = { client: this._client, signal, throwOnError: false };
12144
12368
  if (envelope.path) opts.path = envelope.path;
@@ -12193,7 +12417,10 @@ var CamundaClient = class {
12193
12417
  envelope.path = { processInstanceKey };
12194
12418
  if (this._validation.settings.req !== "none") {
12195
12419
  const _schemas = await this._loadSchemas();
12196
- await this._validation.gateRequest("getProcessInstanceSequenceFlows", void 0, envelope);
12420
+ if (envelope.path !== void 0) {
12421
+ const maybePath = await this._validation.gateRequest("getProcessInstanceSequenceFlows", _schemas.zGetProcessInstanceSequenceFlowsPath, envelope.path);
12422
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12423
+ }
12197
12424
  }
12198
12425
  const opts = { client: this._client, signal, throwOnError: false };
12199
12426
  if (envelope.path) opts.path = envelope.path;
@@ -12248,7 +12475,10 @@ var CamundaClient = class {
12248
12475
  envelope.path = { processInstanceKey };
12249
12476
  if (this._validation.settings.req !== "none") {
12250
12477
  const _schemas = await this._loadSchemas();
12251
- await this._validation.gateRequest("getProcessInstanceStatistics", void 0, envelope);
12478
+ if (envelope.path !== void 0) {
12479
+ const maybePath = await this._validation.gateRequest("getProcessInstanceStatistics", _schemas.zGetProcessInstanceStatisticsPath, envelope.path);
12480
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12481
+ }
12252
12482
  }
12253
12483
  const opts = { client: this._client, signal, throwOnError: false };
12254
12484
  if (envelope.path) opts.path = envelope.path;
@@ -12419,7 +12649,10 @@ var CamundaClient = class {
12419
12649
  envelope.path = { processInstanceKey };
12420
12650
  if (this._validation.settings.req !== "none") {
12421
12651
  const _schemas = await this._loadSchemas();
12422
- await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", void 0, envelope);
12652
+ if (envelope.path !== void 0) {
12653
+ const maybePath = await this._validation.gateRequest("getProcessInstanceWaitStateStatistics", _schemas.zGetProcessInstanceWaitStateStatisticsPath, envelope.path);
12654
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12655
+ }
12423
12656
  }
12424
12657
  const opts = { client: this._client, signal, throwOnError: false };
12425
12658
  if (envelope.path) opts.path = envelope.path;
@@ -12474,7 +12707,10 @@ var CamundaClient = class {
12474
12707
  envelope.path = { resourceKey };
12475
12708
  if (this._validation.settings.req !== "none") {
12476
12709
  const _schemas = await this._loadSchemas();
12477
- await this._validation.gateRequest("getResource", void 0, envelope);
12710
+ if (envelope.path !== void 0) {
12711
+ const maybePath = await this._validation.gateRequest("getResource", _schemas.zGetResourcePath, envelope.path);
12712
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12713
+ }
12478
12714
  }
12479
12715
  const opts = { client: this._client, signal, throwOnError: false };
12480
12716
  if (envelope.path) opts.path = envelope.path;
@@ -12529,7 +12765,10 @@ var CamundaClient = class {
12529
12765
  envelope.path = { resourceKey };
12530
12766
  if (this._validation.settings.req !== "none") {
12531
12767
  const _schemas = await this._loadSchemas();
12532
- await this._validation.gateRequest("getResourceContent", void 0, envelope);
12768
+ if (envelope.path !== void 0) {
12769
+ const maybePath = await this._validation.gateRequest("getResourceContent", _schemas.zGetResourceContentPath, envelope.path);
12770
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12771
+ }
12533
12772
  }
12534
12773
  const opts = { client: this._client, signal, throwOnError: false };
12535
12774
  if (envelope.path) opts.path = envelope.path;
@@ -12584,7 +12823,10 @@ var CamundaClient = class {
12584
12823
  envelope.path = { resourceKey };
12585
12824
  if (this._validation.settings.req !== "none") {
12586
12825
  const _schemas = await this._loadSchemas();
12587
- await this._validation.gateRequest("getResourceContentBinary", void 0, envelope);
12826
+ if (envelope.path !== void 0) {
12827
+ const maybePath = await this._validation.gateRequest("getResourceContentBinary", _schemas.zGetResourceContentBinaryPath, envelope.path);
12828
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12829
+ }
12588
12830
  }
12589
12831
  const opts = { client: this._client, signal, throwOnError: false };
12590
12832
  if (envelope.path) opts.path = envelope.path;
@@ -12682,7 +12924,10 @@ var CamundaClient = class {
12682
12924
  envelope.path = { roleId };
12683
12925
  if (this._validation.settings.req !== "none") {
12684
12926
  const _schemas = await this._loadSchemas();
12685
- await this._validation.gateRequest("getRole", void 0, envelope);
12927
+ if (envelope.path !== void 0) {
12928
+ const maybePath = await this._validation.gateRequest("getRole", _schemas.zGetRolePath, envelope.path);
12929
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12930
+ }
12686
12931
  }
12687
12932
  const opts = { client: this._client, signal, throwOnError: false };
12688
12933
  if (envelope.path) opts.path = envelope.path;
@@ -12735,7 +12980,10 @@ var CamundaClient = class {
12735
12980
  envelope.path = { backupId };
12736
12981
  if (this._validation.settings.req !== "none") {
12737
12982
  const _schemas = await this._loadSchemas();
12738
- await this._validation.gateRequest("getRuntimeBackup", void 0, envelope);
12983
+ if (envelope.path !== void 0) {
12984
+ const maybePath = await this._validation.gateRequest("getRuntimeBackup", _schemas.zGetRuntimeBackupPath, envelope.path);
12985
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
12986
+ }
12739
12987
  }
12740
12988
  const opts = { client: this._client, signal, throwOnError: false };
12741
12989
  if (envelope.path) opts.path = envelope.path;
@@ -12831,7 +13079,10 @@ var CamundaClient = class {
12831
13079
  envelope.path = { processDefinitionKey };
12832
13080
  if (this._validation.settings.req !== "none") {
12833
13081
  const _schemas = await this._loadSchemas();
12834
- await this._validation.gateRequest("getStartProcessForm", void 0, envelope);
13082
+ if (envelope.path !== void 0) {
13083
+ const maybePath = await this._validation.gateRequest("getStartProcessForm", _schemas.zGetStartProcessFormPath, envelope.path);
13084
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13085
+ }
12835
13086
  }
12836
13087
  const opts = { client: this._client, signal, throwOnError: false };
12837
13088
  if (envelope.path) opts.path = envelope.path;
@@ -12972,7 +13223,10 @@ var CamundaClient = class {
12972
13223
  envelope.path = { tenantId };
12973
13224
  if (this._validation.settings.req !== "none") {
12974
13225
  const _schemas = await this._loadSchemas();
12975
- await this._validation.gateRequest("getTenant", void 0, envelope);
13226
+ if (envelope.path !== void 0) {
13227
+ const maybePath = await this._validation.gateRequest("getTenant", _schemas.zGetTenantPath, envelope.path);
13228
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13229
+ }
12976
13230
  }
12977
13231
  const opts = { client: this._client, signal, throwOnError: false };
12978
13232
  if (envelope.path) opts.path = envelope.path;
@@ -13027,7 +13281,10 @@ var CamundaClient = class {
13027
13281
  envelope.path = { tenantId, name };
13028
13282
  if (this._validation.settings.req !== "none") {
13029
13283
  const _schemas = await this._loadSchemas();
13030
- await this._validation.gateRequest("getTenantClusterVariable", void 0, envelope);
13284
+ if (envelope.path !== void 0) {
13285
+ const maybePath = await this._validation.gateRequest("getTenantClusterVariable", _schemas.zGetTenantClusterVariablePath, envelope.path);
13286
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13287
+ }
13031
13288
  }
13032
13289
  const opts = { client: this._client, signal, throwOnError: false };
13033
13290
  if (envelope.path) opts.path = envelope.path;
@@ -13125,7 +13382,10 @@ var CamundaClient = class {
13125
13382
  envelope.query = { startTime, endTime, tenantId, withTenants };
13126
13383
  if (this._validation.settings.req !== "none") {
13127
13384
  const _schemas = await this._loadSchemas();
13128
- await this._validation.gateRequest("getUsageMetrics", void 0, envelope);
13385
+ if (envelope.query !== void 0) {
13386
+ const maybeQuery = await this._validation.gateRequest("getUsageMetrics", _schemas.zGetUsageMetricsQuery, envelope.query);
13387
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
13388
+ }
13129
13389
  }
13130
13390
  const opts = { client: this._client, signal, throwOnError: false };
13131
13391
  if (envelope.query) opts.query = envelope.query;
@@ -13180,7 +13440,10 @@ var CamundaClient = class {
13180
13440
  envelope.path = { username };
13181
13441
  if (this._validation.settings.req !== "none") {
13182
13442
  const _schemas = await this._loadSchemas();
13183
- await this._validation.gateRequest("getUser", void 0, envelope);
13443
+ if (envelope.path !== void 0) {
13444
+ const maybePath = await this._validation.gateRequest("getUser", _schemas.zGetUserPath, envelope.path);
13445
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13446
+ }
13184
13447
  }
13185
13448
  const opts = { client: this._client, signal, throwOnError: false };
13186
13449
  if (envelope.path) opts.path = envelope.path;
@@ -13235,7 +13498,10 @@ var CamundaClient = class {
13235
13498
  envelope.path = { userTaskKey };
13236
13499
  if (this._validation.settings.req !== "none") {
13237
13500
  const _schemas = await this._loadSchemas();
13238
- await this._validation.gateRequest("getUserTask", void 0, envelope);
13501
+ if (envelope.path !== void 0) {
13502
+ const maybePath = await this._validation.gateRequest("getUserTask", _schemas.zGetUserTaskPath, envelope.path);
13503
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13504
+ }
13239
13505
  }
13240
13506
  const opts = { client: this._client, signal, throwOnError: false };
13241
13507
  if (envelope.path) opts.path = envelope.path;
@@ -13290,7 +13556,10 @@ var CamundaClient = class {
13290
13556
  envelope.path = { userTaskKey };
13291
13557
  if (this._validation.settings.req !== "none") {
13292
13558
  const _schemas = await this._loadSchemas();
13293
- await this._validation.gateRequest("getUserTaskForm", void 0, envelope);
13559
+ if (envelope.path !== void 0) {
13560
+ const maybePath = await this._validation.gateRequest("getUserTaskForm", _schemas.zGetUserTaskFormPath, envelope.path);
13561
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13562
+ }
13294
13563
  }
13295
13564
  const opts = { client: this._client, signal, throwOnError: false };
13296
13565
  if (envelope.path) opts.path = envelope.path;
@@ -13345,7 +13614,10 @@ var CamundaClient = class {
13345
13614
  envelope.path = { variableKey };
13346
13615
  if (this._validation.settings.req !== "none") {
13347
13616
  const _schemas = await this._loadSchemas();
13348
- await this._validation.gateRequest("getVariable", void 0, envelope);
13617
+ if (envelope.path !== void 0) {
13618
+ const maybePath = await this._validation.gateRequest("getVariable", _schemas.zGetVariablePath, envelope.path);
13619
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13620
+ }
13349
13621
  }
13350
13622
  const opts = { client: this._client, signal, throwOnError: false };
13351
13623
  if (envelope.path) opts.path = envelope.path;
@@ -13398,7 +13670,10 @@ var CamundaClient = class {
13398
13670
  envelope.query = { prefix };
13399
13671
  if (this._validation.settings.req !== "none") {
13400
13672
  const _schemas = await this._loadSchemas();
13401
- await this._validation.gateRequest("listRuntimeBackups", void 0, envelope);
13673
+ if (envelope.query !== void 0) {
13674
+ const maybeQuery = await this._validation.gateRequest("listRuntimeBackups", _schemas.zListRuntimeBackupsQuery, envelope.query);
13675
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
13676
+ }
13402
13677
  }
13403
13678
  const opts = { client: this._client, signal, throwOnError: false };
13404
13679
  if (envelope.query) opts.query = envelope.query;
@@ -13508,6 +13783,10 @@ var CamundaClient = class {
13508
13783
  const maybeBody = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstanceBody, envelope.body);
13509
13784
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
13510
13785
  }
13786
+ if (envelope.path !== void 0) {
13787
+ const maybePath = await this._validation.gateRequest("migrateProcessInstance", _schemas.zMigrateProcessInstancePath, envelope.path);
13788
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13789
+ }
13511
13790
  }
13512
13791
  const opts = { client: this._client, signal, throwOnError: false };
13513
13792
  if (envelope.path) opts.path = envelope.path;
@@ -13618,6 +13897,10 @@ var CamundaClient = class {
13618
13897
  const maybeBody = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstanceBody, envelope.body);
13619
13898
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
13620
13899
  }
13900
+ if (envelope.path !== void 0) {
13901
+ const maybePath = await this._validation.gateRequest("modifyProcessInstance", _schemas.zModifyProcessInstancePath, envelope.path);
13902
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
13903
+ }
13621
13904
  }
13622
13905
  const opts = { client: this._client, signal, throwOnError: false };
13623
13906
  if (envelope.path) opts.path = envelope.path;
@@ -13723,7 +14006,10 @@ var CamundaClient = class {
13723
14006
  envelope.query = { soft };
13724
14007
  if (this._validation.settings.req !== "none") {
13725
14008
  const _schemas = await this._loadSchemas();
13726
- await this._validation.gateRequest("pauseExporting", void 0, envelope);
14009
+ if (envelope.query !== void 0) {
14010
+ const maybeQuery = await this._validation.gateRequest("pauseExporting", _schemas.zPauseExportingQuery, envelope.query);
14011
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
14012
+ }
13727
14013
  }
13728
14014
  const opts = { client: this._client, signal, throwOnError: false };
13729
14015
  if (envelope.query) opts.query = envelope.query;
@@ -13934,6 +14220,10 @@ var CamundaClient = class {
13934
14220
  const maybeBody = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentBody, envelope.body);
13935
14221
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
13936
14222
  }
14223
+ if (envelope.path !== void 0) {
14224
+ const maybePath = await this._validation.gateRequest("resolveIncident", _schemas.zResolveIncidentPath, envelope.path);
14225
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
14226
+ }
13937
14227
  }
13938
14228
  const opts = { client: this._client, signal, throwOnError: false };
13939
14229
  if (envelope.path) opts.path = envelope.path;
@@ -14039,7 +14329,10 @@ var CamundaClient = class {
14039
14329
  envelope.path = { processInstanceKey };
14040
14330
  if (this._validation.settings.req !== "none") {
14041
14331
  const _schemas = await this._loadSchemas();
14042
- await this._validation.gateRequest("resolveProcessInstanceIncidents", void 0, envelope);
14332
+ if (envelope.path !== void 0) {
14333
+ const maybePath = await this._validation.gateRequest("resolveProcessInstanceIncidents", _schemas.zResolveProcessInstanceIncidentsPath, envelope.path);
14334
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
14335
+ }
14043
14336
  }
14044
14337
  const opts = { client: this._client, signal, throwOnError: false };
14045
14338
  if (envelope.path) opts.path = envelope.path;
@@ -14203,6 +14496,10 @@ var CamundaClient = class {
14203
14496
  const maybeBody = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationBody, envelope.body);
14204
14497
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14205
14498
  }
14499
+ if (envelope.path !== void 0) {
14500
+ const maybePath = await this._validation.gateRequest("resumeBatchOperation", _schemas.zResumeBatchOperationPath, envelope.path);
14501
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
14502
+ }
14206
14503
  }
14207
14504
  const opts = { client: this._client, signal, throwOnError: false };
14208
14505
  if (envelope.path) opts.path = envelope.path;
@@ -14302,6 +14599,10 @@ var CamundaClient = class {
14302
14599
  const maybeBody = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstanceBody, envelope.body);
14303
14600
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14304
14601
  }
14602
+ if (envelope.path !== void 0) {
14603
+ const maybePath = await this._validation.gateRequest("resumeProcessInstance", _schemas.zResumeProcessInstancePath, envelope.path);
14604
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
14605
+ }
14305
14606
  }
14306
14607
  const opts = { client: this._client, signal, throwOnError: false };
14307
14608
  if (envelope.path) opts.path = envelope.path;
@@ -14414,6 +14715,10 @@ var CamundaClient = class {
14414
14715
  const maybeBody = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryBody, envelope.body);
14415
14716
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14416
14717
  }
14718
+ if (envelope.path !== void 0) {
14719
+ const maybePath = await this._validation.gateRequest("searchAgentInstanceHistory", _schemas.zSearchAgentInstanceHistoryPath, envelope.path);
14720
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
14721
+ }
14417
14722
  }
14418
14723
  const opts = { client: this._client, signal, throwOnError: false };
14419
14724
  if (envelope.path) opts.path = envelope.path;
@@ -14764,6 +15069,10 @@ var CamundaClient = class {
14764
15069
  const maybeBody = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupBody, envelope.body);
14765
15070
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14766
15071
  }
15072
+ if (envelope.path !== void 0) {
15073
+ const maybePath = await this._validation.gateRequest("searchClientsForGroup", _schemas.zSearchClientsForGroupPath, envelope.path);
15074
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15075
+ }
14767
15076
  }
14768
15077
  const opts = { client: this._client, signal, throwOnError: false };
14769
15078
  if (envelope.path) opts.path = envelope.path;
@@ -14824,6 +15133,10 @@ var CamundaClient = class {
14824
15133
  const maybeBody = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRoleBody, envelope.body);
14825
15134
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14826
15135
  }
15136
+ if (envelope.path !== void 0) {
15137
+ const maybePath = await this._validation.gateRequest("searchClientsForRole", _schemas.zSearchClientsForRolePath, envelope.path);
15138
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15139
+ }
14827
15140
  }
14828
15141
  const opts = { client: this._client, signal, throwOnError: false };
14829
15142
  if (envelope.path) opts.path = envelope.path;
@@ -14884,6 +15197,10 @@ var CamundaClient = class {
14884
15197
  const maybeBody = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantBody, envelope.body);
14885
15198
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14886
15199
  }
15200
+ if (envelope.path !== void 0) {
15201
+ const maybePath = await this._validation.gateRequest("searchClientsForTenant", _schemas.zSearchClientsForTenantPath, envelope.path);
15202
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15203
+ }
14887
15204
  }
14888
15205
  const opts = { client: this._client, signal, throwOnError: false };
14889
15206
  if (envelope.path) opts.path = envelope.path;
@@ -14944,6 +15261,10 @@ var CamundaClient = class {
14944
15261
  const maybeBody = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesBody, envelope.body);
14945
15262
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
14946
15263
  }
15264
+ if (envelope.query !== void 0) {
15265
+ const maybeQuery = await this._validation.gateRequest("searchClusterVariables", _schemas.zSearchClusterVariablesQuery, envelope.query);
15266
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
15267
+ }
14947
15268
  }
14948
15269
  const opts = { client: this._client, signal, throwOnError: false };
14949
15270
  if (envelope.query) opts.query = envelope.query;
@@ -15236,6 +15557,10 @@ var CamundaClient = class {
15236
15557
  const maybeBody = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsBody, envelope.body);
15237
15558
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15238
15559
  }
15560
+ if (envelope.path !== void 0) {
15561
+ const maybePath = await this._validation.gateRequest("searchElementInstanceIncidents", _schemas.zSearchElementInstanceIncidentsPath, envelope.path);
15562
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15563
+ }
15239
15564
  }
15240
15565
  const opts = { client: this._client, signal, throwOnError: false };
15241
15566
  if (envelope.path) opts.path = envelope.path;
@@ -15470,6 +15795,10 @@ var CamundaClient = class {
15470
15795
  const maybeBody = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantBody, envelope.body);
15471
15796
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15472
15797
  }
15798
+ if (envelope.path !== void 0) {
15799
+ const maybePath = await this._validation.gateRequest("searchGroupIdsForTenant", _schemas.zSearchGroupIdsForTenantPath, envelope.path);
15800
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15801
+ }
15473
15802
  }
15474
15803
  const opts = { client: this._client, signal, throwOnError: false };
15475
15804
  if (envelope.path) opts.path = envelope.path;
@@ -15588,6 +15917,10 @@ var CamundaClient = class {
15588
15917
  const maybeBody = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRoleBody, envelope.body);
15589
15918
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15590
15919
  }
15920
+ if (envelope.path !== void 0) {
15921
+ const maybePath = await this._validation.gateRequest("searchGroupsForRole", _schemas.zSearchGroupsForRolePath, envelope.path);
15922
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
15923
+ }
15591
15924
  }
15592
15925
  const opts = { client: this._client, signal, throwOnError: false };
15593
15926
  if (envelope.path) opts.path = envelope.path;
@@ -15822,6 +16155,10 @@ var CamundaClient = class {
15822
16155
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupBody, envelope.body);
15823
16156
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15824
16157
  }
16158
+ if (envelope.path !== void 0) {
16159
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForGroup", _schemas.zSearchMappingRulesForGroupPath, envelope.path);
16160
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16161
+ }
15825
16162
  }
15826
16163
  const opts = { client: this._client, signal, throwOnError: false };
15827
16164
  if (envelope.path) opts.path = envelope.path;
@@ -15882,6 +16219,10 @@ var CamundaClient = class {
15882
16219
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRoleBody, envelope.body);
15883
16220
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15884
16221
  }
16222
+ if (envelope.path !== void 0) {
16223
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForRole", _schemas.zSearchMappingRulesForRolePath, envelope.path);
16224
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16225
+ }
15885
16226
  }
15886
16227
  const opts = { client: this._client, signal, throwOnError: false };
15887
16228
  if (envelope.path) opts.path = envelope.path;
@@ -15942,6 +16283,10 @@ var CamundaClient = class {
15942
16283
  const maybeBody = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantBody, envelope.body);
15943
16284
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
15944
16285
  }
16286
+ if (envelope.path !== void 0) {
16287
+ const maybePath = await this._validation.gateRequest("searchMappingRulesForTenant", _schemas.zSearchMappingRulesForTenantPath, envelope.path);
16288
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16289
+ }
15945
16290
  }
15946
16291
  const opts = { client: this._client, signal, throwOnError: false };
15947
16292
  if (envelope.path) opts.path = envelope.path;
@@ -16118,6 +16463,10 @@ var CamundaClient = class {
16118
16463
  const maybeBody = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesBody, envelope.body);
16119
16464
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16120
16465
  }
16466
+ if (envelope.path !== void 0) {
16467
+ const maybePath = await this._validation.gateRequest("searchProcessDefinitionVariableNames", _schemas.zSearchProcessDefinitionVariableNamesPath, envelope.path);
16468
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16469
+ }
16121
16470
  }
16122
16471
  const opts = { client: this._client, signal, throwOnError: false };
16123
16472
  if (envelope.path) opts.path = envelope.path;
@@ -16178,6 +16527,10 @@ var CamundaClient = class {
16178
16527
  const maybeBody = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsBody, envelope.body);
16179
16528
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16180
16529
  }
16530
+ if (envelope.path !== void 0) {
16531
+ const maybePath = await this._validation.gateRequest("searchProcessInstanceIncidents", _schemas.zSearchProcessInstanceIncidentsPath, envelope.path);
16532
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16533
+ }
16181
16534
  }
16182
16535
  const opts = { client: this._client, signal, throwOnError: false };
16183
16536
  if (envelope.path) opts.path = envelope.path;
@@ -16412,6 +16765,10 @@ var CamundaClient = class {
16412
16765
  const maybeBody = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupBody, envelope.body);
16413
16766
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16414
16767
  }
16768
+ if (envelope.path !== void 0) {
16769
+ const maybePath = await this._validation.gateRequest("searchRolesForGroup", _schemas.zSearchRolesForGroupPath, envelope.path);
16770
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16771
+ }
16415
16772
  }
16416
16773
  const opts = { client: this._client, signal, throwOnError: false };
16417
16774
  if (envelope.path) opts.path = envelope.path;
@@ -16472,6 +16829,10 @@ var CamundaClient = class {
16472
16829
  const maybeBody = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantBody, envelope.body);
16473
16830
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16474
16831
  }
16832
+ if (envelope.path !== void 0) {
16833
+ const maybePath = await this._validation.gateRequest("searchRolesForTenant", _schemas.zSearchRolesForTenantPath, envelope.path);
16834
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
16835
+ }
16475
16836
  }
16476
16837
  const opts = { client: this._client, signal, throwOnError: false };
16477
16838
  if (envelope.path) opts.path = envelope.path;
@@ -16648,6 +17009,10 @@ var CamundaClient = class {
16648
17009
  const maybeBody = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupBody, envelope.body);
16649
17010
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16650
17011
  }
17012
+ if (envelope.path !== void 0) {
17013
+ const maybePath = await this._validation.gateRequest("searchUsersForGroup", _schemas.zSearchUsersForGroupPath, envelope.path);
17014
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17015
+ }
16651
17016
  }
16652
17017
  const opts = { client: this._client, signal, throwOnError: false };
16653
17018
  if (envelope.path) opts.path = envelope.path;
@@ -16708,6 +17073,10 @@ var CamundaClient = class {
16708
17073
  const maybeBody = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRoleBody, envelope.body);
16709
17074
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16710
17075
  }
17076
+ if (envelope.path !== void 0) {
17077
+ const maybePath = await this._validation.gateRequest("searchUsersForRole", _schemas.zSearchUsersForRolePath, envelope.path);
17078
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17079
+ }
16711
17080
  }
16712
17081
  const opts = { client: this._client, signal, throwOnError: false };
16713
17082
  if (envelope.path) opts.path = envelope.path;
@@ -16768,6 +17137,10 @@ var CamundaClient = class {
16768
17137
  const maybeBody = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantBody, envelope.body);
16769
17138
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16770
17139
  }
17140
+ if (envelope.path !== void 0) {
17141
+ const maybePath = await this._validation.gateRequest("searchUsersForTenant", _schemas.zSearchUsersForTenantPath, envelope.path);
17142
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17143
+ }
16771
17144
  }
16772
17145
  const opts = { client: this._client, signal, throwOnError: false };
16773
17146
  if (envelope.path) opts.path = envelope.path;
@@ -16828,6 +17201,10 @@ var CamundaClient = class {
16828
17201
  const maybeBody = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsBody, envelope.body);
16829
17202
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16830
17203
  }
17204
+ if (envelope.path !== void 0) {
17205
+ const maybePath = await this._validation.gateRequest("searchUserTaskAuditLogs", _schemas.zSearchUserTaskAuditLogsPath, envelope.path);
17206
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17207
+ }
16831
17208
  }
16832
17209
  const opts = { client: this._client, signal, throwOnError: false };
16833
17210
  if (envelope.path) opts.path = envelope.path;
@@ -16889,6 +17266,14 @@ var CamundaClient = class {
16889
17266
  const maybeBody = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesBody, envelope.body);
16890
17267
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
16891
17268
  }
17269
+ if (envelope.path !== void 0) {
17270
+ const maybePath = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesPath, envelope.path);
17271
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17272
+ }
17273
+ if (envelope.query !== void 0) {
17274
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskEffectiveVariables", _schemas.zSearchUserTaskEffectiveVariablesQuery, envelope.query);
17275
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17276
+ }
16892
17277
  }
16893
17278
  const opts = { client: this._client, signal, throwOnError: false };
16894
17279
  if (envelope.path) opts.path = envelope.path;
@@ -17009,6 +17394,14 @@ var CamundaClient = class {
17009
17394
  const maybeBody = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesBody, envelope.body);
17010
17395
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17011
17396
  }
17397
+ if (envelope.path !== void 0) {
17398
+ const maybePath = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesPath, envelope.path);
17399
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17400
+ }
17401
+ if (envelope.query !== void 0) {
17402
+ const maybeQuery = await this._validation.gateRequest("searchUserTaskVariables", _schemas.zSearchUserTaskVariablesQuery, envelope.query);
17403
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17404
+ }
17012
17405
  }
17013
17406
  const opts = { client: this._client, signal, throwOnError: false };
17014
17407
  if (envelope.path) opts.path = envelope.path;
@@ -17070,6 +17463,10 @@ var CamundaClient = class {
17070
17463
  const maybeBody = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesBody, envelope.body);
17071
17464
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17072
17465
  }
17466
+ if (envelope.query !== void 0) {
17467
+ const maybeQuery = await this._validation.gateRequest("searchVariables", _schemas.zSearchVariablesQuery, envelope.query);
17468
+ if (this._validation.settings.req === "strict") envelope.query = maybeQuery;
17469
+ }
17073
17470
  }
17074
17471
  const opts = { client: this._client, signal, throwOnError: false };
17075
17472
  if (envelope.query) opts.query = envelope.query;
@@ -17128,6 +17525,10 @@ var CamundaClient = class {
17128
17525
  const maybeBody = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationBody, envelope.body);
17129
17526
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17130
17527
  }
17528
+ if (envelope.path !== void 0) {
17529
+ const maybePath = await this._validation.gateRequest("suspendBatchOperation", _schemas.zSuspendBatchOperationPath, envelope.path);
17530
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17531
+ }
17131
17532
  }
17132
17533
  const opts = { client: this._client, signal, throwOnError: false };
17133
17534
  if (envelope.path) opts.path = envelope.path;
@@ -17184,6 +17585,10 @@ var CamundaClient = class {
17184
17585
  const maybeBody = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstanceBody, envelope.body);
17185
17586
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17186
17587
  }
17588
+ if (envelope.path !== void 0) {
17589
+ const maybePath = await this._validation.gateRequest("suspendProcessInstance", _schemas.zSuspendProcessInstancePath, envelope.path);
17590
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17591
+ }
17187
17592
  }
17188
17593
  const opts = { client: this._client, signal, throwOnError: false };
17189
17594
  if (envelope.path) opts.path = envelope.path;
@@ -17391,6 +17796,10 @@ var CamundaClient = class {
17391
17796
  const maybeBody = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorBody, envelope.body);
17392
17797
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
17393
17798
  }
17799
+ if (envelope.path !== void 0) {
17800
+ const maybePath = await this._validation.gateRequest("throwJobError", _schemas.zThrowJobErrorPath, envelope.path);
17801
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17802
+ }
17394
17803
  }
17395
17804
  const opts = { client: this._client, signal, throwOnError: false };
17396
17805
  if (envelope.path) opts.path = envelope.path;
@@ -17442,7 +17851,10 @@ var CamundaClient = class {
17442
17851
  envelope.path = { groupId, clientId };
17443
17852
  if (this._validation.settings.req !== "none") {
17444
17853
  const _schemas = await this._loadSchemas();
17445
- await this._validation.gateRequest("unassignClientFromGroup", void 0, envelope);
17854
+ if (envelope.path !== void 0) {
17855
+ const maybePath = await this._validation.gateRequest("unassignClientFromGroup", _schemas.zUnassignClientFromGroupPath, envelope.path);
17856
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17857
+ }
17446
17858
  }
17447
17859
  const opts = { client: this._client, signal, throwOnError: false };
17448
17860
  if (envelope.path) opts.path = envelope.path;
@@ -17493,7 +17905,10 @@ var CamundaClient = class {
17493
17905
  envelope.path = { tenantId, clientId };
17494
17906
  if (this._validation.settings.req !== "none") {
17495
17907
  const _schemas = await this._loadSchemas();
17496
- await this._validation.gateRequest("unassignClientFromTenant", void 0, envelope);
17908
+ if (envelope.path !== void 0) {
17909
+ const maybePath = await this._validation.gateRequest("unassignClientFromTenant", _schemas.zUnassignClientFromTenantPath, envelope.path);
17910
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17911
+ }
17497
17912
  }
17498
17913
  const opts = { client: this._client, signal, throwOnError: false };
17499
17914
  if (envelope.path) opts.path = envelope.path;
@@ -17544,7 +17959,10 @@ var CamundaClient = class {
17544
17959
  envelope.path = { tenantId, groupId };
17545
17960
  if (this._validation.settings.req !== "none") {
17546
17961
  const _schemas = await this._loadSchemas();
17547
- await this._validation.gateRequest("unassignGroupFromTenant", void 0, envelope);
17962
+ if (envelope.path !== void 0) {
17963
+ const maybePath = await this._validation.gateRequest("unassignGroupFromTenant", _schemas.zUnassignGroupFromTenantPath, envelope.path);
17964
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
17965
+ }
17548
17966
  }
17549
17967
  const opts = { client: this._client, signal, throwOnError: false };
17550
17968
  if (envelope.path) opts.path = envelope.path;
@@ -17595,7 +18013,10 @@ var CamundaClient = class {
17595
18013
  envelope.path = { groupId, mappingRuleId };
17596
18014
  if (this._validation.settings.req !== "none") {
17597
18015
  const _schemas = await this._loadSchemas();
17598
- await this._validation.gateRequest("unassignMappingRuleFromGroup", void 0, envelope);
18016
+ if (envelope.path !== void 0) {
18017
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromGroup", _schemas.zUnassignMappingRuleFromGroupPath, envelope.path);
18018
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18019
+ }
17599
18020
  }
17600
18021
  const opts = { client: this._client, signal, throwOnError: false };
17601
18022
  if (envelope.path) opts.path = envelope.path;
@@ -17646,7 +18067,10 @@ var CamundaClient = class {
17646
18067
  envelope.path = { tenantId, mappingRuleId };
17647
18068
  if (this._validation.settings.req !== "none") {
17648
18069
  const _schemas = await this._loadSchemas();
17649
- await this._validation.gateRequest("unassignMappingRuleFromTenant", void 0, envelope);
18070
+ if (envelope.path !== void 0) {
18071
+ const maybePath = await this._validation.gateRequest("unassignMappingRuleFromTenant", _schemas.zUnassignMappingRuleFromTenantPath, envelope.path);
18072
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18073
+ }
17650
18074
  }
17651
18075
  const opts = { client: this._client, signal, throwOnError: false };
17652
18076
  if (envelope.path) opts.path = envelope.path;
@@ -17697,7 +18121,10 @@ var CamundaClient = class {
17697
18121
  envelope.path = { roleId, clientId };
17698
18122
  if (this._validation.settings.req !== "none") {
17699
18123
  const _schemas = await this._loadSchemas();
17700
- await this._validation.gateRequest("unassignRoleFromClient", void 0, envelope);
18124
+ if (envelope.path !== void 0) {
18125
+ const maybePath = await this._validation.gateRequest("unassignRoleFromClient", _schemas.zUnassignRoleFromClientPath, envelope.path);
18126
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18127
+ }
17701
18128
  }
17702
18129
  const opts = { client: this._client, signal, throwOnError: false };
17703
18130
  if (envelope.path) opts.path = envelope.path;
@@ -17748,7 +18175,10 @@ var CamundaClient = class {
17748
18175
  envelope.path = { roleId, groupId };
17749
18176
  if (this._validation.settings.req !== "none") {
17750
18177
  const _schemas = await this._loadSchemas();
17751
- await this._validation.gateRequest("unassignRoleFromGroup", void 0, envelope);
18178
+ if (envelope.path !== void 0) {
18179
+ const maybePath = await this._validation.gateRequest("unassignRoleFromGroup", _schemas.zUnassignRoleFromGroupPath, envelope.path);
18180
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18181
+ }
17752
18182
  }
17753
18183
  const opts = { client: this._client, signal, throwOnError: false };
17754
18184
  if (envelope.path) opts.path = envelope.path;
@@ -17799,7 +18229,10 @@ var CamundaClient = class {
17799
18229
  envelope.path = { roleId, mappingRuleId };
17800
18230
  if (this._validation.settings.req !== "none") {
17801
18231
  const _schemas = await this._loadSchemas();
17802
- await this._validation.gateRequest("unassignRoleFromMappingRule", void 0, envelope);
18232
+ if (envelope.path !== void 0) {
18233
+ const maybePath = await this._validation.gateRequest("unassignRoleFromMappingRule", _schemas.zUnassignRoleFromMappingRulePath, envelope.path);
18234
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18235
+ }
17803
18236
  }
17804
18237
  const opts = { client: this._client, signal, throwOnError: false };
17805
18238
  if (envelope.path) opts.path = envelope.path;
@@ -17850,7 +18283,10 @@ var CamundaClient = class {
17850
18283
  envelope.path = { tenantId, roleId };
17851
18284
  if (this._validation.settings.req !== "none") {
17852
18285
  const _schemas = await this._loadSchemas();
17853
- await this._validation.gateRequest("unassignRoleFromTenant", void 0, envelope);
18286
+ if (envelope.path !== void 0) {
18287
+ const maybePath = await this._validation.gateRequest("unassignRoleFromTenant", _schemas.zUnassignRoleFromTenantPath, envelope.path);
18288
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18289
+ }
17854
18290
  }
17855
18291
  const opts = { client: this._client, signal, throwOnError: false };
17856
18292
  if (envelope.path) opts.path = envelope.path;
@@ -17901,7 +18337,10 @@ var CamundaClient = class {
17901
18337
  envelope.path = { roleId, username };
17902
18338
  if (this._validation.settings.req !== "none") {
17903
18339
  const _schemas = await this._loadSchemas();
17904
- await this._validation.gateRequest("unassignRoleFromUser", void 0, envelope);
18340
+ if (envelope.path !== void 0) {
18341
+ const maybePath = await this._validation.gateRequest("unassignRoleFromUser", _schemas.zUnassignRoleFromUserPath, envelope.path);
18342
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18343
+ }
17905
18344
  }
17906
18345
  const opts = { client: this._client, signal, throwOnError: false };
17907
18346
  if (envelope.path) opts.path = envelope.path;
@@ -17952,7 +18391,10 @@ var CamundaClient = class {
17952
18391
  envelope.path = { groupId, username };
17953
18392
  if (this._validation.settings.req !== "none") {
17954
18393
  const _schemas = await this._loadSchemas();
17955
- await this._validation.gateRequest("unassignUserFromGroup", void 0, envelope);
18394
+ if (envelope.path !== void 0) {
18395
+ const maybePath = await this._validation.gateRequest("unassignUserFromGroup", _schemas.zUnassignUserFromGroupPath, envelope.path);
18396
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18397
+ }
17956
18398
  }
17957
18399
  const opts = { client: this._client, signal, throwOnError: false };
17958
18400
  if (envelope.path) opts.path = envelope.path;
@@ -18003,7 +18445,10 @@ var CamundaClient = class {
18003
18445
  envelope.path = { tenantId, username };
18004
18446
  if (this._validation.settings.req !== "none") {
18005
18447
  const _schemas = await this._loadSchemas();
18006
- await this._validation.gateRequest("unassignUserFromTenant", void 0, envelope);
18448
+ if (envelope.path !== void 0) {
18449
+ const maybePath = await this._validation.gateRequest("unassignUserFromTenant", _schemas.zUnassignUserFromTenantPath, envelope.path);
18450
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18451
+ }
18007
18452
  }
18008
18453
  const opts = { client: this._client, signal, throwOnError: false };
18009
18454
  if (envelope.path) opts.path = envelope.path;
@@ -18054,7 +18499,10 @@ var CamundaClient = class {
18054
18499
  envelope.path = { userTaskKey };
18055
18500
  if (this._validation.settings.req !== "none") {
18056
18501
  const _schemas = await this._loadSchemas();
18057
- await this._validation.gateRequest("unassignUserTask", void 0, envelope);
18502
+ if (envelope.path !== void 0) {
18503
+ const maybePath = await this._validation.gateRequest("unassignUserTask", _schemas.zUnassignUserTaskPath, envelope.path);
18504
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18505
+ }
18058
18506
  }
18059
18507
  const opts = { client: this._client, signal, throwOnError: false };
18060
18508
  if (envelope.path) opts.path = envelope.path;
@@ -18110,6 +18558,10 @@ var CamundaClient = class {
18110
18558
  const maybeBody = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstanceBody, envelope.body);
18111
18559
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18112
18560
  }
18561
+ if (envelope.path !== void 0) {
18562
+ const maybePath = await this._validation.gateRequest("updateAgentInstance", _schemas.zUpdateAgentInstancePath, envelope.path);
18563
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18564
+ }
18113
18565
  }
18114
18566
  const opts = { client: this._client, signal, throwOnError: false };
18115
18567
  if (envelope.path) opts.path = envelope.path;
@@ -18166,6 +18618,10 @@ var CamundaClient = class {
18166
18618
  const maybeBody = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationBody, envelope.body);
18167
18619
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18168
18620
  }
18621
+ if (envelope.path !== void 0) {
18622
+ const maybePath = await this._validation.gateRequest("updateAuthorization", _schemas.zUpdateAuthorizationPath, envelope.path);
18623
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18624
+ }
18169
18625
  }
18170
18626
  const opts = { client: this._client, signal, throwOnError: false };
18171
18627
  if (envelope.path) opts.path = envelope.path;
@@ -18222,6 +18678,10 @@ var CamundaClient = class {
18222
18678
  const maybeBody = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariableBody, envelope.body);
18223
18679
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18224
18680
  }
18681
+ if (envelope.path !== void 0) {
18682
+ const maybePath = await this._validation.gateRequest("updateGlobalClusterVariable", _schemas.zUpdateGlobalClusterVariablePath, envelope.path);
18683
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18684
+ }
18225
18685
  }
18226
18686
  const opts = { client: this._client, signal, throwOnError: false };
18227
18687
  if (envelope.path) opts.path = envelope.path;
@@ -18278,6 +18738,10 @@ var CamundaClient = class {
18278
18738
  const maybeBody = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerBody, envelope.body);
18279
18739
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18280
18740
  }
18741
+ if (envelope.path !== void 0) {
18742
+ const maybePath = await this._validation.gateRequest("updateGlobalTaskListener", _schemas.zUpdateGlobalTaskListenerPath, envelope.path);
18743
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18744
+ }
18281
18745
  }
18282
18746
  const opts = { client: this._client, signal, throwOnError: false };
18283
18747
  if (envelope.path) opts.path = envelope.path;
@@ -18334,6 +18798,10 @@ var CamundaClient = class {
18334
18798
  const maybeBody = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupBody, envelope.body);
18335
18799
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18336
18800
  }
18801
+ if (envelope.path !== void 0) {
18802
+ const maybePath = await this._validation.gateRequest("updateGroup", _schemas.zUpdateGroupPath, envelope.path);
18803
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18804
+ }
18337
18805
  }
18338
18806
  const opts = { client: this._client, signal, throwOnError: false };
18339
18807
  if (envelope.path) opts.path = envelope.path;
@@ -18390,6 +18858,10 @@ var CamundaClient = class {
18390
18858
  const maybeBody = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobBody, envelope.body);
18391
18859
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18392
18860
  }
18861
+ if (envelope.path !== void 0) {
18862
+ const maybePath = await this._validation.gateRequest("updateJob", _schemas.zUpdateJobPath, envelope.path);
18863
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18864
+ }
18393
18865
  }
18394
18866
  const opts = { client: this._client, signal, throwOnError: false };
18395
18867
  if (envelope.path) opts.path = envelope.path;
@@ -18500,6 +18972,10 @@ var CamundaClient = class {
18500
18972
  const maybeBody = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRuleBody, envelope.body);
18501
18973
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18502
18974
  }
18975
+ if (envelope.path !== void 0) {
18976
+ const maybePath = await this._validation.gateRequest("updateMappingRule", _schemas.zUpdateMappingRulePath, envelope.path);
18977
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
18978
+ }
18503
18979
  }
18504
18980
  const opts = { client: this._client, signal, throwOnError: false };
18505
18981
  if (envelope.path) opts.path = envelope.path;
@@ -18556,6 +19032,10 @@ var CamundaClient = class {
18556
19032
  const maybeBody = await this._validation.gateRequest("updateRole", _schemas.zUpdateRoleBody, envelope.body);
18557
19033
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18558
19034
  }
19035
+ if (envelope.path !== void 0) {
19036
+ const maybePath = await this._validation.gateRequest("updateRole", _schemas.zUpdateRolePath, envelope.path);
19037
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19038
+ }
18559
19039
  }
18560
19040
  const opts = { client: this._client, signal, throwOnError: false };
18561
19041
  if (envelope.path) opts.path = envelope.path;
@@ -18612,6 +19092,10 @@ var CamundaClient = class {
18612
19092
  const maybeBody = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantBody, envelope.body);
18613
19093
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18614
19094
  }
19095
+ if (envelope.path !== void 0) {
19096
+ const maybePath = await this._validation.gateRequest("updateTenant", _schemas.zUpdateTenantPath, envelope.path);
19097
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19098
+ }
18615
19099
  }
18616
19100
  const opts = { client: this._client, signal, throwOnError: false };
18617
19101
  if (envelope.path) opts.path = envelope.path;
@@ -18668,6 +19152,10 @@ var CamundaClient = class {
18668
19152
  const maybeBody = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariableBody, envelope.body);
18669
19153
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18670
19154
  }
19155
+ if (envelope.path !== void 0) {
19156
+ const maybePath = await this._validation.gateRequest("updateTenantClusterVariable", _schemas.zUpdateTenantClusterVariablePath, envelope.path);
19157
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19158
+ }
18671
19159
  }
18672
19160
  const opts = { client: this._client, signal, throwOnError: false };
18673
19161
  if (envelope.path) opts.path = envelope.path;
@@ -18724,6 +19212,10 @@ var CamundaClient = class {
18724
19212
  const maybeBody = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserBody, envelope.body);
18725
19213
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18726
19214
  }
19215
+ if (envelope.path !== void 0) {
19216
+ const maybePath = await this._validation.gateRequest("updateUser", _schemas.zUpdateUserPath, envelope.path);
19217
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19218
+ }
18727
19219
  }
18728
19220
  const opts = { client: this._client, signal, throwOnError: false };
18729
19221
  if (envelope.path) opts.path = envelope.path;
@@ -18780,6 +19272,10 @@ var CamundaClient = class {
18780
19272
  const maybeBody = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskBody, envelope.body);
18781
19273
  if (this._validation.settings.req === "strict") envelope.body = maybeBody;
18782
19274
  }
19275
+ if (envelope.path !== void 0) {
19276
+ const maybePath = await this._validation.gateRequest("updateUserTask", _schemas.zUpdateUserTaskPath, envelope.path);
19277
+ if (this._validation.settings.req === "strict") envelope.path = maybePath;
19278
+ }
18783
19279
  }
18784
19280
  const opts = { client: this._client, signal, throwOnError: false };
18785
19281
  if (envelope.path) opts.path = envelope.path;
@@ -19196,4 +19692,4 @@ export {
19196
19692
  withTimeoutTE,
19197
19693
  eventuallyTE
19198
19694
  };
19199
- //# sourceMappingURL=chunk-JF3QWFWZ.js.map
19695
+ //# sourceMappingURL=chunk-GUNQU6UN.js.map