@binalyze/air-sdk 4.46.0 → 5.2.0

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.
Files changed (53) hide show
  1. package/dist/air/AIR.js.map +1 -1
  2. package/dist/domains/acquisitions.js +3 -5
  3. package/dist/domains/acquisitions.js.map +1 -1
  4. package/dist/domains/api-tokens.js +5 -10
  5. package/dist/domains/api-tokens.js.map +1 -1
  6. package/dist/domains/assets.js +7 -14
  7. package/dist/domains/assets.js.map +1 -1
  8. package/dist/domains/baseline.js +3 -6
  9. package/dist/domains/baseline.js.map +1 -1
  10. package/dist/domains/cases.js +10 -20
  11. package/dist/domains/cases.js.map +1 -1
  12. package/dist/domains/interact.js +7 -14
  13. package/dist/domains/interact.js.map +1 -1
  14. package/dist/domains/organization.js +11 -22
  15. package/dist/domains/organization.js.map +1 -1
  16. package/dist/domains/repositories.js +2 -4
  17. package/dist/domains/repositories.js.map +1 -1
  18. package/dist/domains/tasks.js +5 -10
  19. package/dist/domains/tasks.js.map +1 -1
  20. package/dist/domains/triage.js +3 -6
  21. package/dist/domains/triage.js.map +1 -1
  22. package/dist/domains/users.js +2 -4
  23. package/dist/domains/users.js.map +1 -1
  24. package/dist/sdk/typescript-axios/client/client.gen.js +4 -4
  25. package/dist/sdk/typescript-axios/client/client.gen.js.map +1 -1
  26. package/dist/sdk/typescript-axios/client/index.js +1 -0
  27. package/dist/sdk/typescript-axios/client/index.js.map +1 -1
  28. package/dist/sdk/typescript-axios/client/types.gen.js +1 -0
  29. package/dist/sdk/typescript-axios/client/types.gen.js.map +1 -1
  30. package/dist/sdk/typescript-axios/client/utils.gen.js +3 -4
  31. package/dist/sdk/typescript-axios/client/utils.gen.js.map +1 -1
  32. package/dist/sdk/typescript-axios/client.gen.js +1 -0
  33. package/dist/sdk/typescript-axios/client.gen.js.map +1 -1
  34. package/dist/sdk/typescript-axios/core/auth.gen.js +1 -0
  35. package/dist/sdk/typescript-axios/core/auth.gen.js.map +1 -1
  36. package/dist/sdk/typescript-axios/core/bodySerializer.gen.js +1 -0
  37. package/dist/sdk/typescript-axios/core/bodySerializer.gen.js.map +1 -1
  38. package/dist/sdk/typescript-axios/core/params.gen.js +3 -3
  39. package/dist/sdk/typescript-axios/core/params.gen.js.map +1 -1
  40. package/dist/sdk/typescript-axios/core/pathSerializer.gen.d.ts +2 -2
  41. package/dist/sdk/typescript-axios/core/pathSerializer.gen.js +1 -0
  42. package/dist/sdk/typescript-axios/core/pathSerializer.gen.js.map +1 -1
  43. package/dist/sdk/typescript-axios/core/types.gen.js +1 -0
  44. package/dist/sdk/typescript-axios/core/types.gen.js.map +1 -1
  45. package/dist/sdk/typescript-axios/index.js +1 -0
  46. package/dist/sdk/typescript-axios/index.js.map +1 -1
  47. package/dist/sdk/typescript-axios/sdk.gen.js +451 -900
  48. package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
  49. package/dist/sdk/typescript-axios/types.gen.js +1 -0
  50. package/dist/sdk/typescript-axios/types.gen.js.map +1 -1
  51. package/dist/utils/utils.js +8 -10
  52. package/dist/utils/utils.js.map +1 -1
  53. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // @ts-nocheck
2
3
  // This file is auto-generated by @hey-api/openapi-ts
3
4
  Object.defineProperty(exports, "__esModule", { value: true });
4
5
  exports.endpointSyncLdap = exports.endpointDownloadLogFile1 = exports.endpointDownloadLogFile = exports.endpointSetExcludeFromUpdatesToEndpointsByFilter1 = exports.endpointSetExcludeFromUpdatesToEndpointsByFilter = exports.endpointExportCasesByEndpointId1 = exports.endpointExportCasesByEndpointId = exports.endpointGetCasesById1 = exports.endpointGetCasesById = exports.endpointSearch1 = exports.endpointSearch = exports.endpointFilterByPolicyFilter1 = exports.endpointFilterByPolicyFilter = exports.endpointFilterDisks1 = exports.endpointFilterDisks = exports.assetsAddTags2 = exports.assetsRemoveTags2 = exports.assetsAddTags = exports.assetsRemoveTags = exports.endpointPurgeAssetDataByFilter1 = exports.endpointPurgeAssetDataByFilter = exports.endpointUninstallEndpointsByFilter1 = exports.endpointUninstallEndpointsByFilter = exports.endpointUninstallAgentsAndPurgeByFilter2 = exports.endpointUninstallAgentsAndPurgeByFilter1 = exports.endpointUninstallAgentsAndPurgeByFilter = exports.endpointImportPpcToExistedEndpoint1 = exports.endpointImportPpcToExistedEndpoint = exports.endpointImportPpcAsEndpoint1 = exports.endpointImportPpcAsEndpoint = exports.assetsGetMany4 = exports.assetsGetMany3 = exports.endpointGetEndpointsStats1 = exports.endpointGetEndpointsStats = exports.endpointGetEndpointsWithTaskCount = exports.assetsGetMany2 = exports.assetsGetMany = exports.assetsUpdateLabel2 = exports.assetsUpdateLabel = exports.assetsUpdateTags2 = exports.assetsUpdateTags = exports.endpointExportEndpoints1 = exports.endpointExportEndpoints = exports.paramsGetMitreAttackTactics = exports.paramsEvidenceList = exports.paramsArtifactList = exports.paramsEventLogRecordTypes = exports.paramsEDiscoveryPatterns = exports.paramsGetDroneAnalyzers = exports.loggerDownloadLogsDir = void 0;
@@ -12,8 +13,7 @@ exports.relayProUpdateRelayUrl = exports.relayProRemove = exports.relayServerUpd
12
13
  exports.fullTextSearchTaskUpdateScheduledFullTextSearchTask = exports.fullTextSearchTaskAssign = exports.fullTextSearchProfileUpdate = exports.fullTextSearchProfileGet = exports.fullTextSearchProfileDelete = exports.fullTextSearchProfileCreate = exports.fullTextSearchProfileFilter = exports.automationHubDisableAutomation = exports.automationHubEnableAutomation = exports.automationHubUpdateAutomation = exports.automationHubGetAutomation = exports.automationHubDeleteAutomation = exports.automationHubGetTags = exports.automationHubGetTriggerTypes = exports.automationHubGetActionTypes = exports.automationHubCreateAutomation = exports.automationHubFilterAutomations = exports.automationHubGetExecutionHistory = exports.presetFilterUpdatePresetFilter = exports.presetFilterDeletePresetFilter = exports.presetFilterCreatePresetFilter = exports.presetFilterGetPresetFilters = exports.investigationDataUsageCreateFilter = exports.investigationDataUsageUpdateFilter = exports.investigationDataUsageGetFilter = exports.investigationDataUsageDeleteFilter = exports.investigationDataUsageGetFilters = exports.investigationDataUsageGetDataUsageFilters = exports.investigationDataUsageGetHistoricalDataUsageStatistics = exports.investigationDataUsageGetActualDataUsageStatistics = exports.investigationDataUsageCreateExportRequestForActualDataUsages = exports.investigationDataUsageExportActualDataUsages = exports.investigationDataUsageGetActualDataUsages = exports.eventSubscriptionTestEventSubscription = exports.eventSubscriptionSubscriptionEventNames = exports.eventSubscriptionUpdateEventSubscription = exports.eventSubscriptionGetEventSubscription = exports.eventSubscriptionDeleteEventSubscription = exports.eventSubscriptionCreateEventSubscription = exports.eventSubscriptionFilterEventSubscriptions = exports.webhookUpdate = exports.webhookGet = exports.webhookDelete = exports.webhookCreate = exports.webhookFilter = exports.webhookFilterParsers = exports.processorGetProcessorTypeByAssetType = exports.processorGetProcessorsByAssetType = exports.recentActivityCreate = exports.recentActivityFilter = void 0;
13
14
  const client_gen_1 = require("./client.gen");
14
15
  const loggerDownloadLogsDir = (options) => {
15
- var _a;
16
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
16
+ return (options.client ?? client_gen_1.client).get({
17
17
  security: [
18
18
  {
19
19
  scheme: 'bearer',
@@ -26,8 +26,7 @@ const loggerDownloadLogsDir = (options) => {
26
26
  };
27
27
  exports.loggerDownloadLogsDir = loggerDownloadLogsDir;
28
28
  const paramsGetDroneAnalyzers = (options) => {
29
- var _a;
30
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
29
+ return (options?.client ?? client_gen_1.client).get({
31
30
  security: [
32
31
  {
33
32
  scheme: 'bearer',
@@ -40,8 +39,7 @@ const paramsGetDroneAnalyzers = (options) => {
40
39
  };
41
40
  exports.paramsGetDroneAnalyzers = paramsGetDroneAnalyzers;
42
41
  const paramsEDiscoveryPatterns = (options) => {
43
- var _a;
44
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
42
+ return (options?.client ?? client_gen_1.client).get({
45
43
  security: [
46
44
  {
47
45
  scheme: 'bearer',
@@ -54,8 +52,7 @@ const paramsEDiscoveryPatterns = (options) => {
54
52
  };
55
53
  exports.paramsEDiscoveryPatterns = paramsEDiscoveryPatterns;
56
54
  const paramsEventLogRecordTypes = (options) => {
57
- var _a;
58
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
55
+ return (options?.client ?? client_gen_1.client).get({
59
56
  security: [
60
57
  {
61
58
  scheme: 'bearer',
@@ -68,8 +65,7 @@ const paramsEventLogRecordTypes = (options) => {
68
65
  };
69
66
  exports.paramsEventLogRecordTypes = paramsEventLogRecordTypes;
70
67
  const paramsArtifactList = (options) => {
71
- var _a;
72
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
68
+ return (options?.client ?? client_gen_1.client).get({
73
69
  security: [
74
70
  {
75
71
  scheme: 'bearer',
@@ -82,8 +78,7 @@ const paramsArtifactList = (options) => {
82
78
  };
83
79
  exports.paramsArtifactList = paramsArtifactList;
84
80
  const paramsEvidenceList = (options) => {
85
- var _a;
86
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
81
+ return (options?.client ?? client_gen_1.client).get({
87
82
  security: [
88
83
  {
89
84
  scheme: 'bearer',
@@ -96,8 +91,7 @@ const paramsEvidenceList = (options) => {
96
91
  };
97
92
  exports.paramsEvidenceList = paramsEvidenceList;
98
93
  const paramsGetMitreAttackTactics = (options) => {
99
- var _a;
100
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
94
+ return (options?.client ?? client_gen_1.client).get({
101
95
  security: [
102
96
  {
103
97
  scheme: 'bearer',
@@ -110,8 +104,7 @@ const paramsGetMitreAttackTactics = (options) => {
110
104
  };
111
105
  exports.paramsGetMitreAttackTactics = paramsGetMitreAttackTactics;
112
106
  const endpointExportEndpoints = (options) => {
113
- var _a;
114
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
107
+ return (options.client ?? client_gen_1.client).get({
115
108
  security: [
116
109
  {
117
110
  scheme: 'bearer',
@@ -124,8 +117,7 @@ const endpointExportEndpoints = (options) => {
124
117
  };
125
118
  exports.endpointExportEndpoints = endpointExportEndpoints;
126
119
  const endpointExportEndpoints1 = (options) => {
127
- var _a;
128
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
120
+ return (options.client ?? client_gen_1.client).get({
129
121
  security: [
130
122
  {
131
123
  scheme: 'bearer',
@@ -142,8 +134,7 @@ exports.endpointExportEndpoints1 = endpointExportEndpoints1;
142
134
  * Update the tags associated with a specific asset
143
135
  */
144
136
  const assetsUpdateTags = (options) => {
145
- var _a;
146
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
137
+ return (options.client ?? client_gen_1.client).patch({
147
138
  security: [
148
139
  {
149
140
  scheme: 'bearer',
@@ -164,8 +155,7 @@ exports.assetsUpdateTags = assetsUpdateTags;
164
155
  * Update the tags associated with a specific asset
165
156
  */
166
157
  const assetsUpdateTags2 = (options) => {
167
- var _a;
168
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
158
+ return (options.client ?? client_gen_1.client).patch({
169
159
  security: [
170
160
  {
171
161
  scheme: 'bearer',
@@ -186,8 +176,7 @@ exports.assetsUpdateTags2 = assetsUpdateTags2;
186
176
  * Update the display label of a specific asset
187
177
  */
188
178
  const assetsUpdateLabel = (options) => {
189
- var _a;
190
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
179
+ return (options.client ?? client_gen_1.client).patch({
191
180
  security: [
192
181
  {
193
182
  scheme: 'bearer',
@@ -208,8 +197,7 @@ exports.assetsUpdateLabel = assetsUpdateLabel;
208
197
  * Update the display label of a specific asset
209
198
  */
210
199
  const assetsUpdateLabel2 = (options) => {
211
- var _a;
212
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
200
+ return (options.client ?? client_gen_1.client).patch({
213
201
  security: [
214
202
  {
215
203
  scheme: 'bearer',
@@ -230,8 +218,7 @@ exports.assetsUpdateLabel2 = assetsUpdateLabel2;
230
218
  * Retrieve a paginated list of assets
231
219
  */
232
220
  const assetsGetMany = (options) => {
233
- var _a;
234
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
221
+ return (options.client ?? client_gen_1.client).get({
235
222
  security: [
236
223
  {
237
224
  scheme: 'bearer',
@@ -248,8 +235,7 @@ exports.assetsGetMany = assetsGetMany;
248
235
  * Retrieve a paginated list of assets
249
236
  */
250
237
  const assetsGetMany2 = (options) => {
251
- var _a;
252
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
238
+ return (options.client ?? client_gen_1.client).get({
253
239
  security: [
254
240
  {
255
241
  scheme: 'bearer',
@@ -262,8 +248,7 @@ const assetsGetMany2 = (options) => {
262
248
  };
263
249
  exports.assetsGetMany2 = assetsGetMany2;
264
250
  const endpointGetEndpointsWithTaskCount = (options) => {
265
- var _a;
266
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
251
+ return (options.client ?? client_gen_1.client).get({
267
252
  security: [
268
253
  {
269
254
  scheme: 'bearer',
@@ -276,8 +261,7 @@ const endpointGetEndpointsWithTaskCount = (options) => {
276
261
  };
277
262
  exports.endpointGetEndpointsWithTaskCount = endpointGetEndpointsWithTaskCount;
278
263
  const endpointGetEndpointsStats = (options) => {
279
- var _a;
280
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
264
+ return (options.client ?? client_gen_1.client).get({
281
265
  security: [
282
266
  {
283
267
  scheme: 'bearer',
@@ -290,8 +274,7 @@ const endpointGetEndpointsStats = (options) => {
290
274
  };
291
275
  exports.endpointGetEndpointsStats = endpointGetEndpointsStats;
292
276
  const endpointGetEndpointsStats1 = (options) => {
293
- var _a;
294
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
277
+ return (options.client ?? client_gen_1.client).get({
295
278
  security: [
296
279
  {
297
280
  scheme: 'bearer',
@@ -308,8 +291,7 @@ exports.endpointGetEndpointsStats1 = endpointGetEndpointsStats1;
308
291
  * Retrieve detailed information about a specific asset
309
292
  */
310
293
  const assetsGetMany3 = (options) => {
311
- var _a;
312
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
294
+ return (options.client ?? client_gen_1.client).get({
313
295
  security: [
314
296
  {
315
297
  scheme: 'bearer',
@@ -326,8 +308,7 @@ exports.assetsGetMany3 = assetsGetMany3;
326
308
  * Retrieve detailed information about a specific asset
327
309
  */
328
310
  const assetsGetMany4 = (options) => {
329
- var _a;
330
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
311
+ return (options.client ?? client_gen_1.client).get({
331
312
  security: [
332
313
  {
333
314
  scheme: 'bearer',
@@ -340,8 +321,7 @@ const assetsGetMany4 = (options) => {
340
321
  };
341
322
  exports.assetsGetMany4 = assetsGetMany4;
342
323
  const endpointImportPpcAsEndpoint = (options) => {
343
- var _a;
344
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
324
+ return (options.client ?? client_gen_1.client).post({
345
325
  security: [
346
326
  {
347
327
  scheme: 'bearer',
@@ -358,8 +338,7 @@ const endpointImportPpcAsEndpoint = (options) => {
358
338
  };
359
339
  exports.endpointImportPpcAsEndpoint = endpointImportPpcAsEndpoint;
360
340
  const endpointImportPpcAsEndpoint1 = (options) => {
361
- var _a;
362
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
341
+ return (options.client ?? client_gen_1.client).post({
363
342
  security: [
364
343
  {
365
344
  scheme: 'bearer',
@@ -376,8 +355,7 @@ const endpointImportPpcAsEndpoint1 = (options) => {
376
355
  };
377
356
  exports.endpointImportPpcAsEndpoint1 = endpointImportPpcAsEndpoint1;
378
357
  const endpointImportPpcToExistedEndpoint = (options) => {
379
- var _a;
380
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
358
+ return (options.client ?? client_gen_1.client).post({
381
359
  security: [
382
360
  {
383
361
  scheme: 'bearer',
@@ -390,8 +368,7 @@ const endpointImportPpcToExistedEndpoint = (options) => {
390
368
  };
391
369
  exports.endpointImportPpcToExistedEndpoint = endpointImportPpcToExistedEndpoint;
392
370
  const endpointImportPpcToExistedEndpoint1 = (options) => {
393
- var _a;
394
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
371
+ return (options.client ?? client_gen_1.client).post({
395
372
  security: [
396
373
  {
397
374
  scheme: 'bearer',
@@ -404,8 +381,7 @@ const endpointImportPpcToExistedEndpoint1 = (options) => {
404
381
  };
405
382
  exports.endpointImportPpcToExistedEndpoint1 = endpointImportPpcToExistedEndpoint1;
406
383
  const endpointUninstallAgentsAndPurgeByFilter = (options) => {
407
- var _a;
408
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
384
+ return (options.client ?? client_gen_1.client).delete({
409
385
  security: [
410
386
  {
411
387
  scheme: 'bearer',
@@ -422,8 +398,7 @@ const endpointUninstallAgentsAndPurgeByFilter = (options) => {
422
398
  };
423
399
  exports.endpointUninstallAgentsAndPurgeByFilter = endpointUninstallAgentsAndPurgeByFilter;
424
400
  const endpointUninstallAgentsAndPurgeByFilter1 = (options) => {
425
- var _a;
426
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
401
+ return (options.client ?? client_gen_1.client).delete({
427
402
  security: [
428
403
  {
429
404
  scheme: 'bearer',
@@ -440,8 +415,7 @@ const endpointUninstallAgentsAndPurgeByFilter1 = (options) => {
440
415
  };
441
416
  exports.endpointUninstallAgentsAndPurgeByFilter1 = endpointUninstallAgentsAndPurgeByFilter1;
442
417
  const endpointUninstallAgentsAndPurgeByFilter2 = (options) => {
443
- var _a;
444
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
418
+ return (options.client ?? client_gen_1.client).delete({
445
419
  security: [
446
420
  {
447
421
  scheme: 'bearer',
@@ -458,8 +432,7 @@ const endpointUninstallAgentsAndPurgeByFilter2 = (options) => {
458
432
  };
459
433
  exports.endpointUninstallAgentsAndPurgeByFilter2 = endpointUninstallAgentsAndPurgeByFilter2;
460
434
  const endpointUninstallEndpointsByFilter = (options) => {
461
- var _a;
462
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
435
+ return (options.client ?? client_gen_1.client).delete({
463
436
  security: [
464
437
  {
465
438
  scheme: 'bearer',
@@ -476,8 +449,7 @@ const endpointUninstallEndpointsByFilter = (options) => {
476
449
  };
477
450
  exports.endpointUninstallEndpointsByFilter = endpointUninstallEndpointsByFilter;
478
451
  const endpointUninstallEndpointsByFilter1 = (options) => {
479
- var _a;
480
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
452
+ return (options.client ?? client_gen_1.client).delete({
481
453
  security: [
482
454
  {
483
455
  scheme: 'bearer',
@@ -494,8 +466,7 @@ const endpointUninstallEndpointsByFilter1 = (options) => {
494
466
  };
495
467
  exports.endpointUninstallEndpointsByFilter1 = endpointUninstallEndpointsByFilter1;
496
468
  const endpointPurgeAssetDataByFilter = (options) => {
497
- var _a;
498
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
469
+ return (options.client ?? client_gen_1.client).delete({
499
470
  security: [
500
471
  {
501
472
  scheme: 'bearer',
@@ -512,8 +483,7 @@ const endpointPurgeAssetDataByFilter = (options) => {
512
483
  };
513
484
  exports.endpointPurgeAssetDataByFilter = endpointPurgeAssetDataByFilter;
514
485
  const endpointPurgeAssetDataByFilter1 = (options) => {
515
- var _a;
516
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
486
+ return (options.client ?? client_gen_1.client).delete({
517
487
  security: [
518
488
  {
519
489
  scheme: 'bearer',
@@ -534,8 +504,7 @@ exports.endpointPurgeAssetDataByFilter1 = endpointPurgeAssetDataByFilter1;
534
504
  * Remove specified tags from multiple assets
535
505
  */
536
506
  const assetsRemoveTags = (options) => {
537
- var _a;
538
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
507
+ return (options.client ?? client_gen_1.client).delete({
539
508
  security: [
540
509
  {
541
510
  scheme: 'bearer',
@@ -556,8 +525,7 @@ exports.assetsRemoveTags = assetsRemoveTags;
556
525
  * Add specified tags to multiple assets that match the provided filter criteria
557
526
  */
558
527
  const assetsAddTags = (options) => {
559
- var _a;
560
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
528
+ return (options.client ?? client_gen_1.client).post({
561
529
  security: [
562
530
  {
563
531
  scheme: 'bearer',
@@ -578,8 +546,7 @@ exports.assetsAddTags = assetsAddTags;
578
546
  * Remove specified tags from multiple assets
579
547
  */
580
548
  const assetsRemoveTags2 = (options) => {
581
- var _a;
582
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
549
+ return (options.client ?? client_gen_1.client).delete({
583
550
  security: [
584
551
  {
585
552
  scheme: 'bearer',
@@ -600,8 +567,7 @@ exports.assetsRemoveTags2 = assetsRemoveTags2;
600
567
  * Add specified tags to multiple assets that match the provided filter criteria
601
568
  */
602
569
  const assetsAddTags2 = (options) => {
603
- var _a;
604
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
570
+ return (options.client ?? client_gen_1.client).post({
605
571
  security: [
606
572
  {
607
573
  scheme: 'bearer',
@@ -618,8 +584,7 @@ const assetsAddTags2 = (options) => {
618
584
  };
619
585
  exports.assetsAddTags2 = assetsAddTags2;
620
586
  const endpointFilterDisks = (options) => {
621
- var _a;
622
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
587
+ return (options.client ?? client_gen_1.client).get({
623
588
  security: [
624
589
  {
625
590
  scheme: 'bearer',
@@ -632,8 +597,7 @@ const endpointFilterDisks = (options) => {
632
597
  };
633
598
  exports.endpointFilterDisks = endpointFilterDisks;
634
599
  const endpointFilterDisks1 = (options) => {
635
- var _a;
636
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
600
+ return (options.client ?? client_gen_1.client).get({
637
601
  security: [
638
602
  {
639
603
  scheme: 'bearer',
@@ -646,8 +610,7 @@ const endpointFilterDisks1 = (options) => {
646
610
  };
647
611
  exports.endpointFilterDisks1 = endpointFilterDisks1;
648
612
  const endpointFilterByPolicyFilter = (options) => {
649
- var _a;
650
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
613
+ return (options.client ?? client_gen_1.client).post({
651
614
  security: [
652
615
  {
653
616
  scheme: 'bearer',
@@ -664,8 +627,7 @@ const endpointFilterByPolicyFilter = (options) => {
664
627
  };
665
628
  exports.endpointFilterByPolicyFilter = endpointFilterByPolicyFilter;
666
629
  const endpointFilterByPolicyFilter1 = (options) => {
667
- var _a;
668
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
630
+ return (options.client ?? client_gen_1.client).post({
669
631
  security: [
670
632
  {
671
633
  scheme: 'bearer',
@@ -682,8 +644,7 @@ const endpointFilterByPolicyFilter1 = (options) => {
682
644
  };
683
645
  exports.endpointFilterByPolicyFilter1 = endpointFilterByPolicyFilter1;
684
646
  const endpointSearch = (options) => {
685
- var _a;
686
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
647
+ return (options?.client ?? client_gen_1.client).get({
687
648
  security: [
688
649
  {
689
650
  scheme: 'bearer',
@@ -696,8 +657,7 @@ const endpointSearch = (options) => {
696
657
  };
697
658
  exports.endpointSearch = endpointSearch;
698
659
  const endpointSearch1 = (options) => {
699
- var _a;
700
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
660
+ return (options?.client ?? client_gen_1.client).get({
701
661
  security: [
702
662
  {
703
663
  scheme: 'bearer',
@@ -710,8 +670,7 @@ const endpointSearch1 = (options) => {
710
670
  };
711
671
  exports.endpointSearch1 = endpointSearch1;
712
672
  const endpointGetCasesById = (options) => {
713
- var _a;
714
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
673
+ return (options.client ?? client_gen_1.client).get({
715
674
  security: [
716
675
  {
717
676
  scheme: 'bearer',
@@ -724,8 +683,7 @@ const endpointGetCasesById = (options) => {
724
683
  };
725
684
  exports.endpointGetCasesById = endpointGetCasesById;
726
685
  const endpointGetCasesById1 = (options) => {
727
- var _a;
728
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
686
+ return (options.client ?? client_gen_1.client).get({
729
687
  security: [
730
688
  {
731
689
  scheme: 'bearer',
@@ -738,8 +696,7 @@ const endpointGetCasesById1 = (options) => {
738
696
  };
739
697
  exports.endpointGetCasesById1 = endpointGetCasesById1;
740
698
  const endpointExportCasesByEndpointId = (options) => {
741
- var _a;
742
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
699
+ return (options.client ?? client_gen_1.client).get({
743
700
  security: [
744
701
  {
745
702
  scheme: 'bearer',
@@ -752,8 +709,7 @@ const endpointExportCasesByEndpointId = (options) => {
752
709
  };
753
710
  exports.endpointExportCasesByEndpointId = endpointExportCasesByEndpointId;
754
711
  const endpointExportCasesByEndpointId1 = (options) => {
755
- var _a;
756
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
712
+ return (options.client ?? client_gen_1.client).get({
757
713
  security: [
758
714
  {
759
715
  scheme: 'bearer',
@@ -766,8 +722,7 @@ const endpointExportCasesByEndpointId1 = (options) => {
766
722
  };
767
723
  exports.endpointExportCasesByEndpointId1 = endpointExportCasesByEndpointId1;
768
724
  const endpointSetExcludeFromUpdatesToEndpointsByFilter = (options) => {
769
- var _a;
770
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
725
+ return (options.client ?? client_gen_1.client).post({
771
726
  security: [
772
727
  {
773
728
  scheme: 'bearer',
@@ -784,8 +739,7 @@ const endpointSetExcludeFromUpdatesToEndpointsByFilter = (options) => {
784
739
  };
785
740
  exports.endpointSetExcludeFromUpdatesToEndpointsByFilter = endpointSetExcludeFromUpdatesToEndpointsByFilter;
786
741
  const endpointSetExcludeFromUpdatesToEndpointsByFilter1 = (options) => {
787
- var _a;
788
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
742
+ return (options.client ?? client_gen_1.client).post({
789
743
  security: [
790
744
  {
791
745
  scheme: 'bearer',
@@ -802,8 +756,7 @@ const endpointSetExcludeFromUpdatesToEndpointsByFilter1 = (options) => {
802
756
  };
803
757
  exports.endpointSetExcludeFromUpdatesToEndpointsByFilter1 = endpointSetExcludeFromUpdatesToEndpointsByFilter1;
804
758
  const endpointDownloadLogFile = (options) => {
805
- var _a;
806
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
759
+ return (options?.client ?? client_gen_1.client).get({
807
760
  security: [
808
761
  {
809
762
  scheme: 'bearer',
@@ -816,8 +769,7 @@ const endpointDownloadLogFile = (options) => {
816
769
  };
817
770
  exports.endpointDownloadLogFile = endpointDownloadLogFile;
818
771
  const endpointDownloadLogFile1 = (options) => {
819
- var _a;
820
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
772
+ return (options?.client ?? client_gen_1.client).get({
821
773
  security: [
822
774
  {
823
775
  scheme: 'bearer',
@@ -830,8 +782,7 @@ const endpointDownloadLogFile1 = (options) => {
830
782
  };
831
783
  exports.endpointDownloadLogFile1 = endpointDownloadLogFile1;
832
784
  const endpointSyncLdap = (options) => {
833
- var _a;
834
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
785
+ return (options?.client ?? client_gen_1.client).post({
835
786
  security: [
836
787
  {
837
788
  scheme: 'bearer',
@@ -844,8 +795,7 @@ const endpointSyncLdap = (options) => {
844
795
  };
845
796
  exports.endpointSyncLdap = endpointSyncLdap;
846
797
  const endpointSyncLdap1 = (options) => {
847
- var _a;
848
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
798
+ return (options?.client ?? client_gen_1.client).post({
849
799
  security: [
850
800
  {
851
801
  scheme: 'bearer',
@@ -858,8 +808,7 @@ const endpointSyncLdap1 = (options) => {
858
808
  };
859
809
  exports.endpointSyncLdap1 = endpointSyncLdap1;
860
810
  const endpointGetCloudAssetDetails = (options) => {
861
- var _a;
862
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
811
+ return (options.client ?? client_gen_1.client).get({
863
812
  security: [
864
813
  {
865
814
  scheme: 'bearer',
@@ -872,8 +821,7 @@ const endpointGetCloudAssetDetails = (options) => {
872
821
  };
873
822
  exports.endpointGetCloudAssetDetails = endpointGetCloudAssetDetails;
874
823
  const endpointGetCloudAssetDetails1 = (options) => {
875
- var _a;
876
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
824
+ return (options.client ?? client_gen_1.client).get({
877
825
  security: [
878
826
  {
879
827
  scheme: 'bearer',
@@ -886,8 +834,7 @@ const endpointGetCloudAssetDetails1 = (options) => {
886
834
  };
887
835
  exports.endpointGetCloudAssetDetails1 = endpointGetCloudAssetDetails1;
888
836
  const endpointDeployCloudAssetsByFilter = (options) => {
889
- var _a;
890
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
837
+ return (options.client ?? client_gen_1.client).post({
891
838
  security: [
892
839
  {
893
840
  scheme: 'bearer',
@@ -904,8 +851,7 @@ const endpointDeployCloudAssetsByFilter = (options) => {
904
851
  };
905
852
  exports.endpointDeployCloudAssetsByFilter = endpointDeployCloudAssetsByFilter;
906
853
  const endpointDeployCloudAssetsByFilter1 = (options) => {
907
- var _a;
908
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
854
+ return (options.client ?? client_gen_1.client).post({
909
855
  security: [
910
856
  {
911
857
  scheme: 'bearer',
@@ -922,8 +868,7 @@ const endpointDeployCloudAssetsByFilter1 = (options) => {
922
868
  };
923
869
  exports.endpointDeployCloudAssetsByFilter1 = endpointDeployCloudAssetsByFilter1;
924
870
  const endpointUpdateEndpointConnectionRoute = (options) => {
925
- var _a;
926
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
871
+ return (options.client ?? client_gen_1.client).patch({
927
872
  security: [
928
873
  {
929
874
  scheme: 'bearer',
@@ -940,8 +885,7 @@ const endpointUpdateEndpointConnectionRoute = (options) => {
940
885
  };
941
886
  exports.endpointUpdateEndpointConnectionRoute = endpointUpdateEndpointConnectionRoute;
942
887
  const endpointUpdateEndpointConnectionRoute1 = (options) => {
943
- var _a;
944
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
888
+ return (options.client ?? client_gen_1.client).patch({
945
889
  security: [
946
890
  {
947
891
  scheme: 'bearer',
@@ -958,8 +902,7 @@ const endpointUpdateEndpointConnectionRoute1 = (options) => {
958
902
  };
959
903
  exports.endpointUpdateEndpointConnectionRoute1 = endpointUpdateEndpointConnectionRoute1;
960
904
  const endpointTagFilterTags = (options) => {
961
- var _a;
962
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
905
+ return (options.client ?? client_gen_1.client).get({
963
906
  security: [
964
907
  {
965
908
  scheme: 'bearer',
@@ -972,8 +915,7 @@ const endpointTagFilterTags = (options) => {
972
915
  };
973
916
  exports.endpointTagFilterTags = endpointTagFilterTags;
974
917
  const endpointTagDeleteAllTags = (options) => {
975
- var _a;
976
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
918
+ return (options?.client ?? client_gen_1.client).delete({
977
919
  security: [
978
920
  {
979
921
  scheme: 'bearer',
@@ -986,8 +928,7 @@ const endpointTagDeleteAllTags = (options) => {
986
928
  };
987
929
  exports.endpointTagDeleteAllTags = endpointTagDeleteAllTags;
988
930
  const endpointTagDeleteTag = (options) => {
989
- var _a;
990
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
931
+ return (options?.client ?? client_gen_1.client).delete({
991
932
  security: [
992
933
  {
993
934
  scheme: 'bearer',
@@ -1000,8 +941,7 @@ const endpointTagDeleteTag = (options) => {
1000
941
  };
1001
942
  exports.endpointTagDeleteTag = endpointTagDeleteTag;
1002
943
  const endpointGroupGetChildGroupsOfGroup = (options) => {
1003
- var _a;
1004
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
944
+ return (options?.client ?? client_gen_1.client).get({
1005
945
  security: [
1006
946
  {
1007
947
  scheme: 'bearer',
@@ -1014,8 +954,7 @@ const endpointGroupGetChildGroupsOfGroup = (options) => {
1014
954
  };
1015
955
  exports.endpointGroupGetChildGroupsOfGroup = endpointGroupGetChildGroupsOfGroup;
1016
956
  const endpointGroupGetRootGroups = (options) => {
1017
- var _a;
1018
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
957
+ return (options?.client ?? client_gen_1.client).get({
1019
958
  security: [
1020
959
  {
1021
960
  scheme: 'bearer',
@@ -1028,8 +967,7 @@ const endpointGroupGetRootGroups = (options) => {
1028
967
  };
1029
968
  exports.endpointGroupGetRootGroups = endpointGroupGetRootGroups;
1030
969
  const taskDelete = (options) => {
1031
- var _a;
1032
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
970
+ return (options.client ?? client_gen_1.client).delete({
1033
971
  security: [
1034
972
  {
1035
973
  scheme: 'bearer',
@@ -1046,8 +984,7 @@ exports.taskDelete = taskDelete;
1046
984
  * Retrieves detailed information about a specific task
1047
985
  */
1048
986
  const tasksGetById = (options) => {
1049
- var _a;
1050
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
987
+ return (options.client ?? client_gen_1.client).get({
1051
988
  security: [
1052
989
  {
1053
990
  scheme: 'bearer',
@@ -1064,8 +1001,7 @@ exports.tasksGetById = tasksGetById;
1064
1001
  * Retrieves a paginated list of tasks
1065
1002
  */
1066
1003
  const tasksGetMany = (options) => {
1067
- var _a;
1068
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1004
+ return (options.client ?? client_gen_1.client).get({
1069
1005
  security: [
1070
1006
  {
1071
1007
  scheme: 'bearer',
@@ -1078,8 +1014,7 @@ const tasksGetMany = (options) => {
1078
1014
  };
1079
1015
  exports.tasksGetMany = tasksGetMany;
1080
1016
  const taskRenameTask = (options) => {
1081
- var _a;
1082
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
1017
+ return (options.client ?? client_gen_1.client).patch({
1083
1018
  security: [
1084
1019
  {
1085
1020
  scheme: 'bearer',
@@ -1100,8 +1035,7 @@ exports.taskRenameTask = taskRenameTask;
1100
1035
  * Downloads the actual data/results collected by a task
1101
1036
  */
1102
1037
  const tasksGetData = (options) => {
1103
- var _a;
1104
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1038
+ return (options.client ?? client_gen_1.client).get({
1105
1039
  security: [
1106
1040
  {
1107
1041
  scheme: 'bearer',
@@ -1114,8 +1048,7 @@ const tasksGetData = (options) => {
1114
1048
  };
1115
1049
  exports.tasksGetData = tasksGetData;
1116
1050
  const taskDeleteByFilter = (options) => {
1117
- var _a;
1118
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1051
+ return (options.client ?? client_gen_1.client).delete({
1119
1052
  security: [
1120
1053
  {
1121
1054
  scheme: 'bearer',
@@ -1132,8 +1065,7 @@ const taskDeleteByFilter = (options) => {
1132
1065
  };
1133
1066
  exports.taskDeleteByFilter = taskDeleteByFilter;
1134
1067
  const taskDeleteAndPurgeByFilter = (options) => {
1135
- var _a;
1136
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1068
+ return (options.client ?? client_gen_1.client).delete({
1137
1069
  security: [
1138
1070
  {
1139
1071
  scheme: 'bearer',
@@ -1150,8 +1082,7 @@ const taskDeleteAndPurgeByFilter = (options) => {
1150
1082
  };
1151
1083
  exports.taskDeleteAndPurgeByFilter = taskDeleteAndPurgeByFilter;
1152
1084
  const taskCancelByFilter = (options) => {
1153
- var _a;
1154
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1085
+ return (options.client ?? client_gen_1.client).post({
1155
1086
  security: [
1156
1087
  {
1157
1088
  scheme: 'bearer',
@@ -1168,8 +1099,7 @@ const taskCancelByFilter = (options) => {
1168
1099
  };
1169
1100
  exports.taskCancelByFilter = taskCancelByFilter;
1170
1101
  const taskCancel = (options) => {
1171
- var _a;
1172
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1102
+ return (options.client ?? client_gen_1.client).post({
1173
1103
  security: [
1174
1104
  {
1175
1105
  scheme: 'bearer',
@@ -1182,8 +1112,7 @@ const taskCancel = (options) => {
1182
1112
  };
1183
1113
  exports.taskCancel = taskCancel;
1184
1114
  const taskCreateOffNetworkTask = (options) => {
1185
- var _a;
1186
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1115
+ return (options.client ?? client_gen_1.client).post({
1187
1116
  security: [
1188
1117
  {
1189
1118
  scheme: 'bearer',
@@ -1200,8 +1129,7 @@ const taskCreateOffNetworkTask = (options) => {
1200
1129
  };
1201
1130
  exports.taskCreateOffNetworkTask = taskCreateOffNetworkTask;
1202
1131
  const taskImportOffNetworkCollectionToTask = (options) => {
1203
- var _a;
1204
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1132
+ return (options.client ?? client_gen_1.client).post({
1205
1133
  security: [
1206
1134
  {
1207
1135
  scheme: 'bearer',
@@ -1218,8 +1146,7 @@ const taskImportOffNetworkCollectionToTask = (options) => {
1218
1146
  };
1219
1147
  exports.taskImportOffNetworkCollectionToTask = taskImportOffNetworkCollectionToTask;
1220
1148
  const taskDownloadOffNetworkTask = (options) => {
1221
- var _a;
1222
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1149
+ return (options?.client ?? client_gen_1.client).get({
1223
1150
  security: [
1224
1151
  {
1225
1152
  scheme: 'bearer',
@@ -1232,8 +1159,7 @@ const taskDownloadOffNetworkTask = (options) => {
1232
1159
  };
1233
1160
  exports.taskDownloadOffNetworkTask = taskDownloadOffNetworkTask;
1234
1161
  const taskGenerateOffNetworkZipPassword = (options) => {
1235
- var _a;
1236
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1162
+ return (options.client ?? client_gen_1.client).post({
1237
1163
  security: [
1238
1164
  {
1239
1165
  scheme: 'bearer',
@@ -1254,8 +1180,7 @@ exports.taskGenerateOffNetworkZipPassword = taskGenerateOffNetworkZipPassword;
1254
1180
  * Creates and assigns a reboot task to one or more assets
1255
1181
  */
1256
1182
  const assetsAssignRebootTask = (options) => {
1257
- var _a;
1258
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1183
+ return (options.client ?? client_gen_1.client).post({
1259
1184
  security: [
1260
1185
  {
1261
1186
  scheme: 'bearer',
@@ -1276,8 +1201,7 @@ exports.assetsAssignRebootTask = assetsAssignRebootTask;
1276
1201
  * Creates and assigns a reboot task to one or more assets
1277
1202
  */
1278
1203
  const assetsAssignRebootTask2 = (options) => {
1279
- var _a;
1280
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1204
+ return (options.client ?? client_gen_1.client).post({
1281
1205
  security: [
1282
1206
  {
1283
1207
  scheme: 'bearer',
@@ -1298,8 +1222,7 @@ exports.assetsAssignRebootTask2 = assetsAssignRebootTask2;
1298
1222
  * Creates and assigns a shutdown task to one or more assets
1299
1223
  */
1300
1224
  const assetsAssignShutdownTask = (options) => {
1301
- var _a;
1302
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1225
+ return (options.client ?? client_gen_1.client).post({
1303
1226
  security: [
1304
1227
  {
1305
1228
  scheme: 'bearer',
@@ -1320,8 +1243,7 @@ exports.assetsAssignShutdownTask = assetsAssignShutdownTask;
1320
1243
  * Creates and assigns a shutdown task to one or more assets
1321
1244
  */
1322
1245
  const assetsAssignShutdownTask2 = (options) => {
1323
- var _a;
1324
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1246
+ return (options.client ?? client_gen_1.client).post({
1325
1247
  security: [
1326
1248
  {
1327
1249
  scheme: 'bearer',
@@ -1338,8 +1260,7 @@ const assetsAssignShutdownTask2 = (options) => {
1338
1260
  };
1339
1261
  exports.assetsAssignShutdownTask2 = assetsAssignShutdownTask2;
1340
1262
  const endpointTaskAssignRetrieveLogTask = (options) => {
1341
- var _a;
1342
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1263
+ return (options.client ?? client_gen_1.client).post({
1343
1264
  security: [
1344
1265
  {
1345
1266
  scheme: 'bearer',
@@ -1356,8 +1277,7 @@ const endpointTaskAssignRetrieveLogTask = (options) => {
1356
1277
  };
1357
1278
  exports.endpointTaskAssignRetrieveLogTask = endpointTaskAssignRetrieveLogTask;
1358
1279
  const endpointTaskAssignRetrieveLogTask1 = (options) => {
1359
- var _a;
1360
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1280
+ return (options.client ?? client_gen_1.client).post({
1361
1281
  security: [
1362
1282
  {
1363
1283
  scheme: 'bearer',
@@ -1374,8 +1294,7 @@ const endpointTaskAssignRetrieveLogTask1 = (options) => {
1374
1294
  };
1375
1295
  exports.endpointTaskAssignRetrieveLogTask1 = endpointTaskAssignRetrieveLogTask1;
1376
1296
  const endpointTaskAssignFixUpdateRequiredIssueTask = (options) => {
1377
- var _a;
1378
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1297
+ return (options.client ?? client_gen_1.client).post({
1379
1298
  security: [
1380
1299
  {
1381
1300
  scheme: 'bearer',
@@ -1392,8 +1311,7 @@ const endpointTaskAssignFixUpdateRequiredIssueTask = (options) => {
1392
1311
  };
1393
1312
  exports.endpointTaskAssignFixUpdateRequiredIssueTask = endpointTaskAssignFixUpdateRequiredIssueTask;
1394
1313
  const endpointTaskAssignFixUpdateRequiredIssueTask1 = (options) => {
1395
- var _a;
1396
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1314
+ return (options.client ?? client_gen_1.client).post({
1397
1315
  security: [
1398
1316
  {
1399
1317
  scheme: 'bearer',
@@ -1414,8 +1332,7 @@ exports.endpointTaskAssignFixUpdateRequiredIssueTask1 = endpointTaskAssignFixUpd
1414
1332
  * Creates and assigns an isolation task to one or more assets by filter
1415
1333
  */
1416
1334
  const assetsAssignIsolationTask = (options) => {
1417
- var _a;
1418
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1335
+ return (options.client ?? client_gen_1.client).post({
1419
1336
  security: [
1420
1337
  {
1421
1338
  scheme: 'bearer',
@@ -1436,8 +1353,7 @@ exports.assetsAssignIsolationTask = assetsAssignIsolationTask;
1436
1353
  * Creates and assigns an isolation task to one or more assets by filter
1437
1354
  */
1438
1355
  const assetsAssignIsolationTask2 = (options) => {
1439
- var _a;
1440
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1356
+ return (options.client ?? client_gen_1.client).post({
1441
1357
  security: [
1442
1358
  {
1443
1359
  scheme: 'bearer',
@@ -1458,8 +1374,7 @@ exports.assetsAssignIsolationTask2 = assetsAssignIsolationTask2;
1458
1374
  * Retrieves a paginated list of tasks associated with a specific asset
1459
1375
  */
1460
1376
  const assetsGetTasks = (options) => {
1461
- var _a;
1462
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1377
+ return (options.client ?? client_gen_1.client).get({
1463
1378
  security: [
1464
1379
  {
1465
1380
  scheme: 'bearer',
@@ -1476,8 +1391,7 @@ exports.assetsGetTasks = assetsGetTasks;
1476
1391
  * Retrieves a paginated list of tasks associated with a specific asset
1477
1392
  */
1478
1393
  const assetsGetTasks2 = (options) => {
1479
- var _a;
1480
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1394
+ return (options.client ?? client_gen_1.client).get({
1481
1395
  security: [
1482
1396
  {
1483
1397
  scheme: 'bearer',
@@ -1490,8 +1404,7 @@ const assetsGetTasks2 = (options) => {
1490
1404
  };
1491
1405
  exports.assetsGetTasks2 = assetsGetTasks2;
1492
1406
  const endpointTaskPurgeLocalData = (options) => {
1493
- var _a;
1494
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1407
+ return (options.client ?? client_gen_1.client).post({
1495
1408
  security: [
1496
1409
  {
1497
1410
  scheme: 'bearer',
@@ -1508,8 +1421,7 @@ const endpointTaskPurgeLocalData = (options) => {
1508
1421
  };
1509
1422
  exports.endpointTaskPurgeLocalData = endpointTaskPurgeLocalData;
1510
1423
  const endpointTaskPurgeLocalData1 = (options) => {
1511
- var _a;
1512
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1424
+ return (options.client ?? client_gen_1.client).post({
1513
1425
  security: [
1514
1426
  {
1515
1427
  scheme: 'bearer',
@@ -1526,8 +1438,7 @@ const endpointTaskPurgeLocalData1 = (options) => {
1526
1438
  };
1527
1439
  exports.endpointTaskPurgeLocalData1 = endpointTaskPurgeLocalData1;
1528
1440
  const endpointTaskRetryUpload = (options) => {
1529
- var _a;
1530
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1441
+ return (options?.client ?? client_gen_1.client).get({
1531
1442
  security: [
1532
1443
  {
1533
1444
  scheme: 'bearer',
@@ -1540,8 +1451,7 @@ const endpointTaskRetryUpload = (options) => {
1540
1451
  };
1541
1452
  exports.endpointTaskRetryUpload = endpointTaskRetryUpload;
1542
1453
  const endpointTaskRetryUpload1 = (options) => {
1543
- var _a;
1544
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1454
+ return (options?.client ?? client_gen_1.client).get({
1545
1455
  security: [
1546
1456
  {
1547
1457
  scheme: 'bearer',
@@ -1554,8 +1464,7 @@ const endpointTaskRetryUpload1 = (options) => {
1554
1464
  };
1555
1465
  exports.endpointTaskRetryUpload1 = endpointTaskRetryUpload1;
1556
1466
  const endpointTaskGetComparableTasksByVendorDeviceId = (options) => {
1557
- var _a;
1558
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1467
+ return (options.client ?? client_gen_1.client).get({
1559
1468
  security: [
1560
1469
  {
1561
1470
  scheme: 'bearer',
@@ -1568,8 +1477,7 @@ const endpointTaskGetComparableTasksByVendorDeviceId = (options) => {
1568
1477
  };
1569
1478
  exports.endpointTaskGetComparableTasksByVendorDeviceId = endpointTaskGetComparableTasksByVendorDeviceId;
1570
1479
  const taskAssignmentFilter = (options) => {
1571
- var _a;
1572
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1480
+ return (options.client ?? client_gen_1.client).get({
1573
1481
  security: [
1574
1482
  {
1575
1483
  scheme: 'bearer',
@@ -1582,8 +1490,7 @@ const taskAssignmentFilter = (options) => {
1582
1490
  };
1583
1491
  exports.taskAssignmentFilter = taskAssignmentFilter;
1584
1492
  const taskAssignmentCancel = (options) => {
1585
- var _a;
1586
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1493
+ return (options?.client ?? client_gen_1.client).post({
1587
1494
  security: [
1588
1495
  {
1589
1496
  scheme: 'bearer',
@@ -1596,8 +1503,7 @@ const taskAssignmentCancel = (options) => {
1596
1503
  };
1597
1504
  exports.taskAssignmentCancel = taskAssignmentCancel;
1598
1505
  const taskAssignmentDelete = (options) => {
1599
- var _a;
1600
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1506
+ return (options?.client ?? client_gen_1.client).delete({
1601
1507
  security: [
1602
1508
  {
1603
1509
  scheme: 'bearer',
@@ -1610,8 +1516,7 @@ const taskAssignmentDelete = (options) => {
1610
1516
  };
1611
1517
  exports.taskAssignmentDelete = taskAssignmentDelete;
1612
1518
  const taskAssignmentGet = (options) => {
1613
- var _a;
1614
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1519
+ return (options?.client ?? client_gen_1.client).get({
1615
1520
  security: [
1616
1521
  {
1617
1522
  scheme: 'bearer',
@@ -1624,8 +1529,7 @@ const taskAssignmentGet = (options) => {
1624
1529
  };
1625
1530
  exports.taskAssignmentGet = taskAssignmentGet;
1626
1531
  const taskAssignmentGenerateTaskAssignmentReport = (options) => {
1627
- var _a;
1628
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1532
+ return (options.client ?? client_gen_1.client).post({
1629
1533
  security: [
1630
1534
  {
1631
1535
  scheme: 'bearer',
@@ -1638,8 +1542,7 @@ const taskAssignmentGenerateTaskAssignmentReport = (options) => {
1638
1542
  };
1639
1543
  exports.taskAssignmentGenerateTaskAssignmentReport = taskAssignmentGenerateTaskAssignmentReport;
1640
1544
  const settingsGetSettings = (options) => {
1641
- var _a;
1642
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1545
+ return (options?.client ?? client_gen_1.client).get({
1643
1546
  security: [
1644
1547
  {
1645
1548
  scheme: 'bearer',
@@ -1652,8 +1555,7 @@ const settingsGetSettings = (options) => {
1652
1555
  };
1653
1556
  exports.settingsGetSettings = settingsGetSettings;
1654
1557
  const settingsSaveGeneralSettings = (options) => {
1655
- var _a;
1656
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1558
+ return (options.client ?? client_gen_1.client).put({
1657
1559
  security: [
1658
1560
  {
1659
1561
  scheme: 'bearer',
@@ -1670,8 +1572,7 @@ const settingsSaveGeneralSettings = (options) => {
1670
1572
  };
1671
1573
  exports.settingsSaveGeneralSettings = settingsSaveGeneralSettings;
1672
1574
  const settingsSaveProxy = (options) => {
1673
- var _a;
1674
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1575
+ return (options.client ?? client_gen_1.client).put({
1675
1576
  security: [
1676
1577
  {
1677
1578
  scheme: 'bearer',
@@ -1688,8 +1589,7 @@ const settingsSaveProxy = (options) => {
1688
1589
  };
1689
1590
  exports.settingsSaveProxy = settingsSaveProxy;
1690
1591
  const settingsValidateProxy = (options) => {
1691
- var _a;
1692
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1592
+ return (options.client ?? client_gen_1.client).post({
1693
1593
  security: [
1694
1594
  {
1695
1595
  scheme: 'bearer',
@@ -1706,8 +1606,7 @@ const settingsValidateProxy = (options) => {
1706
1606
  };
1707
1607
  exports.settingsValidateProxy = settingsValidateProxy;
1708
1608
  const settingsSaveActiveDirectory = (options) => {
1709
- var _a;
1710
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1609
+ return (options.client ?? client_gen_1.client).put({
1711
1610
  security: [
1712
1611
  {
1713
1612
  scheme: 'bearer',
@@ -1724,8 +1623,7 @@ const settingsSaveActiveDirectory = (options) => {
1724
1623
  };
1725
1624
  exports.settingsSaveActiveDirectory = settingsSaveActiveDirectory;
1726
1625
  const settingsValidateActiveDirectory = (options) => {
1727
- var _a;
1728
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1626
+ return (options.client ?? client_gen_1.client).post({
1729
1627
  security: [
1730
1628
  {
1731
1629
  scheme: 'bearer',
@@ -1742,8 +1640,7 @@ const settingsValidateActiveDirectory = (options) => {
1742
1640
  };
1743
1641
  exports.settingsValidateActiveDirectory = settingsValidateActiveDirectory;
1744
1642
  const settingsSaveSyslog = (options) => {
1745
- var _a;
1746
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1643
+ return (options.client ?? client_gen_1.client).put({
1747
1644
  security: [
1748
1645
  {
1749
1646
  scheme: 'bearer',
@@ -1760,8 +1657,7 @@ const settingsSaveSyslog = (options) => {
1760
1657
  };
1761
1658
  exports.settingsSaveSyslog = settingsSaveSyslog;
1762
1659
  const settingsValidateSyslog = (options) => {
1763
- var _a;
1764
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1660
+ return (options.client ?? client_gen_1.client).post({
1765
1661
  security: [
1766
1662
  {
1767
1663
  scheme: 'bearer',
@@ -1778,8 +1674,7 @@ const settingsValidateSyslog = (options) => {
1778
1674
  };
1779
1675
  exports.settingsValidateSyslog = settingsValidateSyslog;
1780
1676
  const settingsSaveSmtp = (options) => {
1781
- var _a;
1782
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1677
+ return (options.client ?? client_gen_1.client).put({
1783
1678
  security: [
1784
1679
  {
1785
1680
  scheme: 'bearer',
@@ -1796,8 +1691,7 @@ const settingsSaveSmtp = (options) => {
1796
1691
  };
1797
1692
  exports.settingsSaveSmtp = settingsSaveSmtp;
1798
1693
  const settingsValidateSmtp = (options) => {
1799
- var _a;
1800
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1694
+ return (options.client ?? client_gen_1.client).post({
1801
1695
  security: [
1802
1696
  {
1803
1697
  scheme: 'bearer',
@@ -1814,8 +1708,7 @@ const settingsValidateSmtp = (options) => {
1814
1708
  };
1815
1709
  exports.settingsValidateSmtp = settingsValidateSmtp;
1816
1710
  const settingsSaveSsl = (options) => {
1817
- var _a;
1818
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1711
+ return (options.client ?? client_gen_1.client).put({
1819
1712
  security: [
1820
1713
  {
1821
1714
  scheme: 'bearer',
@@ -1832,8 +1725,7 @@ const settingsSaveSsl = (options) => {
1832
1725
  };
1833
1726
  exports.settingsSaveSsl = settingsSaveSsl;
1834
1727
  const settingsValidateSsl = (options) => {
1835
- var _a;
1836
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1728
+ return (options.client ?? client_gen_1.client).post({
1837
1729
  security: [
1838
1730
  {
1839
1731
  scheme: 'bearer',
@@ -1850,8 +1742,7 @@ const settingsValidateSsl = (options) => {
1850
1742
  };
1851
1743
  exports.settingsValidateSsl = settingsValidateSsl;
1852
1744
  const settingsSavePolicy = (options) => {
1853
- var _a;
1854
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1745
+ return (options.client ?? client_gen_1.client).put({
1855
1746
  security: [
1856
1747
  {
1857
1748
  scheme: 'bearer',
@@ -1868,8 +1759,7 @@ const settingsSavePolicy = (options) => {
1868
1759
  };
1869
1760
  exports.settingsSavePolicy = settingsSavePolicy;
1870
1761
  const settingsSaveBackupRestore = (options) => {
1871
- var _a;
1872
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1762
+ return (options.client ?? client_gen_1.client).put({
1873
1763
  security: [
1874
1764
  {
1875
1765
  scheme: 'bearer',
@@ -1886,8 +1776,7 @@ const settingsSaveBackupRestore = (options) => {
1886
1776
  };
1887
1777
  exports.settingsSaveBackupRestore = settingsSaveBackupRestore;
1888
1778
  const settingsValidateSftp = (options) => {
1889
- var _a;
1890
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1779
+ return (options.client ?? client_gen_1.client).post({
1891
1780
  security: [
1892
1781
  {
1893
1782
  scheme: 'bearer',
@@ -1904,8 +1793,7 @@ const settingsValidateSftp = (options) => {
1904
1793
  };
1905
1794
  exports.settingsValidateSftp = settingsValidateSftp;
1906
1795
  const settingsValidateS3 = (options) => {
1907
- var _a;
1908
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1796
+ return (options.client ?? client_gen_1.client).post({
1909
1797
  security: [
1910
1798
  {
1911
1799
  scheme: 'bearer',
@@ -1922,8 +1810,7 @@ const settingsValidateS3 = (options) => {
1922
1810
  };
1923
1811
  exports.settingsValidateS3 = settingsValidateS3;
1924
1812
  const settingsSaveAgent = (options) => {
1925
- var _a;
1926
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1813
+ return (options.client ?? client_gen_1.client).put({
1927
1814
  security: [
1928
1815
  {
1929
1816
  scheme: 'bearer',
@@ -1940,8 +1827,7 @@ const settingsSaveAgent = (options) => {
1940
1827
  };
1941
1828
  exports.settingsSaveAgent = settingsSaveAgent;
1942
1829
  const settingsSaveEnforceTfa = (options) => {
1943
- var _a;
1944
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1830
+ return (options.client ?? client_gen_1.client).put({
1945
1831
  security: [
1946
1832
  {
1947
1833
  scheme: 'bearer',
@@ -1958,8 +1844,7 @@ const settingsSaveEnforceTfa = (options) => {
1958
1844
  };
1959
1845
  exports.settingsSaveEnforceTfa = settingsSaveEnforceTfa;
1960
1846
  const settingsSingleSignOnCallback = (options) => {
1961
- var _a;
1962
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1847
+ return (options?.client ?? client_gen_1.client).get({
1963
1848
  security: [
1964
1849
  {
1965
1850
  scheme: 'bearer',
@@ -1972,8 +1857,7 @@ const settingsSingleSignOnCallback = (options) => {
1972
1857
  };
1973
1858
  exports.settingsSingleSignOnCallback = settingsSingleSignOnCallback;
1974
1859
  const settingsSaveSingleSignOn = (options) => {
1975
- var _a;
1976
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1860
+ return (options.client ?? client_gen_1.client).put({
1977
1861
  security: [
1978
1862
  {
1979
1863
  scheme: 'bearer',
@@ -1990,8 +1874,7 @@ const settingsSaveSingleSignOn = (options) => {
1990
1874
  };
1991
1875
  exports.settingsSaveSingleSignOn = settingsSaveSingleSignOn;
1992
1876
  const settingsSaveAutoAssetTagging = (options) => {
1993
- var _a;
1994
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1877
+ return (options.client ?? client_gen_1.client).put({
1995
1878
  security: [
1996
1879
  {
1997
1880
  scheme: 'bearer',
@@ -2008,8 +1891,7 @@ const settingsSaveAutoAssetTagging = (options) => {
2008
1891
  };
2009
1892
  exports.settingsSaveAutoAssetTagging = settingsSaveAutoAssetTagging;
2010
1893
  const settingsSaveInterAct = (options) => {
2011
- var _a;
2012
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1894
+ return (options.client ?? client_gen_1.client).put({
2013
1895
  security: [
2014
1896
  {
2015
1897
  scheme: 'bearer',
@@ -2026,8 +1908,7 @@ const settingsSaveInterAct = (options) => {
2026
1908
  };
2027
1909
  exports.settingsSaveInterAct = settingsSaveInterAct;
2028
1910
  const settingsSaveFleetAi = (options) => {
2029
- var _a;
2030
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1911
+ return (options.client ?? client_gen_1.client).put({
2031
1912
  security: [
2032
1913
  {
2033
1914
  scheme: 'bearer',
@@ -2044,8 +1925,7 @@ const settingsSaveFleetAi = (options) => {
2044
1925
  };
2045
1926
  exports.settingsSaveFleetAi = settingsSaveFleetAi;
2046
1927
  const settingsValidateIpRestriction = (options) => {
2047
- var _a;
2048
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1928
+ return (options.client ?? client_gen_1.client).post({
2049
1929
  security: [
2050
1930
  {
2051
1931
  scheme: 'bearer',
@@ -2062,8 +1942,7 @@ const settingsValidateIpRestriction = (options) => {
2062
1942
  };
2063
1943
  exports.settingsValidateIpRestriction = settingsValidateIpRestriction;
2064
1944
  const settingsSaveIpRestriction = (options) => {
2065
- var _a;
2066
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1945
+ return (options.client ?? client_gen_1.client).put({
2067
1946
  security: [
2068
1947
  {
2069
1948
  scheme: 'bearer',
@@ -2080,8 +1959,7 @@ const settingsSaveIpRestriction = (options) => {
2080
1959
  };
2081
1960
  exports.settingsSaveIpRestriction = settingsSaveIpRestriction;
2082
1961
  const settingsSaveLocard = (options) => {
2083
- var _a;
2084
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1962
+ return (options.client ?? client_gen_1.client).put({
2085
1963
  security: [
2086
1964
  {
2087
1965
  scheme: 'bearer',
@@ -2098,8 +1976,7 @@ const settingsSaveLocard = (options) => {
2098
1976
  };
2099
1977
  exports.settingsSaveLocard = settingsSaveLocard;
2100
1978
  const settingsSaveRfc3161 = (options) => {
2101
- var _a;
2102
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1979
+ return (options.client ?? client_gen_1.client).put({
2103
1980
  security: [
2104
1981
  {
2105
1982
  scheme: 'bearer',
@@ -2116,8 +1993,7 @@ const settingsSaveRfc3161 = (options) => {
2116
1993
  };
2117
1994
  exports.settingsSaveRfc3161 = settingsSaveRfc3161;
2118
1995
  const settingsValidateConsoleAddress = (options) => {
2119
- var _a;
2120
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1996
+ return (options.client ?? client_gen_1.client).post({
2121
1997
  security: [
2122
1998
  {
2123
1999
  scheme: 'bearer',
@@ -2134,8 +2010,7 @@ const settingsValidateConsoleAddress = (options) => {
2134
2010
  };
2135
2011
  exports.settingsValidateConsoleAddress = settingsValidateConsoleAddress;
2136
2012
  const settingsSaveConsoleAddress = (options) => {
2137
- var _a;
2138
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2013
+ return (options.client ?? client_gen_1.client).put({
2139
2014
  security: [
2140
2015
  {
2141
2016
  scheme: 'bearer',
@@ -2152,8 +2027,7 @@ const settingsSaveConsoleAddress = (options) => {
2152
2027
  };
2153
2028
  exports.settingsSaveConsoleAddress = settingsSaveConsoleAddress;
2154
2029
  const settingsSaveBanner = (options) => {
2155
- var _a;
2156
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2030
+ return (options.client ?? client_gen_1.client).put({
2157
2031
  security: [
2158
2032
  {
2159
2033
  scheme: 'bearer',
@@ -2170,8 +2044,7 @@ const settingsSaveBanner = (options) => {
2170
2044
  };
2171
2045
  exports.settingsSaveBanner = settingsSaveBanner;
2172
2046
  const settingsSaveUninstallationPasswordProtection = (options) => {
2173
- var _a;
2174
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2047
+ return (options.client ?? client_gen_1.client).put({
2175
2048
  security: [
2176
2049
  {
2177
2050
  scheme: 'bearer',
@@ -2188,8 +2061,7 @@ const settingsSaveUninstallationPasswordProtection = (options) => {
2188
2061
  };
2189
2062
  exports.settingsSaveUninstallationPasswordProtection = settingsSaveUninstallationPasswordProtection;
2190
2063
  const settingsGetAutoUpdateSettings = (options) => {
2191
- var _a;
2192
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2064
+ return (options?.client ?? client_gen_1.client).get({
2193
2065
  security: [
2194
2066
  {
2195
2067
  scheme: 'bearer',
@@ -2202,8 +2074,7 @@ const settingsGetAutoUpdateSettings = (options) => {
2202
2074
  };
2203
2075
  exports.settingsGetAutoUpdateSettings = settingsGetAutoUpdateSettings;
2204
2076
  const settingsSaveAutoUpdateSettings = (options) => {
2205
- var _a;
2206
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2077
+ return (options.client ?? client_gen_1.client).put({
2207
2078
  security: [
2208
2079
  {
2209
2080
  scheme: 'bearer',
@@ -2220,8 +2091,7 @@ const settingsSaveAutoUpdateSettings = (options) => {
2220
2091
  };
2221
2092
  exports.settingsSaveAutoUpdateSettings = settingsSaveAutoUpdateSettings;
2222
2093
  const settingsSaveMandatoryCaseSelection = (options) => {
2223
- var _a;
2224
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2094
+ return (options.client ?? client_gen_1.client).put({
2225
2095
  security: [
2226
2096
  {
2227
2097
  scheme: 'bearer',
@@ -2238,8 +2108,7 @@ const settingsSaveMandatoryCaseSelection = (options) => {
2238
2108
  };
2239
2109
  exports.settingsSaveMandatoryCaseSelection = settingsSaveMandatoryCaseSelection;
2240
2110
  const authCheckAuth = (options) => {
2241
- var _a;
2242
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2111
+ return (options?.client ?? client_gen_1.client).get({
2243
2112
  security: [
2244
2113
  {
2245
2114
  scheme: 'bearer',
@@ -2252,8 +2121,7 @@ const authCheckAuth = (options) => {
2252
2121
  };
2253
2122
  exports.authCheckAuth = authCheckAuth;
2254
2123
  const authUpdateProfile = (options) => {
2255
- var _a;
2256
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2124
+ return (options.client ?? client_gen_1.client).put({
2257
2125
  security: [
2258
2126
  {
2259
2127
  scheme: 'bearer',
@@ -2270,8 +2138,7 @@ const authUpdateProfile = (options) => {
2270
2138
  };
2271
2139
  exports.authUpdateProfile = authUpdateProfile;
2272
2140
  const authOneClickLogin = (options) => {
2273
- var _a;
2274
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2141
+ return (options?.client ?? client_gen_1.client).get({
2275
2142
  security: [
2276
2143
  {
2277
2144
  scheme: 'bearer',
@@ -2284,8 +2151,7 @@ const authOneClickLogin = (options) => {
2284
2151
  };
2285
2152
  exports.authOneClickLogin = authOneClickLogin;
2286
2153
  const authLogin = (options) => {
2287
- var _a;
2288
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2154
+ return (options?.client ?? client_gen_1.client).post({
2289
2155
  security: [
2290
2156
  {
2291
2157
  scheme: 'bearer',
@@ -2298,8 +2164,7 @@ const authLogin = (options) => {
2298
2164
  };
2299
2165
  exports.authLogin = authLogin;
2300
2166
  const authGenerateOneClickLoginUrl = (options) => {
2301
- var _a;
2302
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2167
+ return (options?.client ?? client_gen_1.client).post({
2303
2168
  security: [
2304
2169
  {
2305
2170
  scheme: 'bearer',
@@ -2312,8 +2177,7 @@ const authGenerateOneClickLoginUrl = (options) => {
2312
2177
  };
2313
2178
  exports.authGenerateOneClickLoginUrl = authGenerateOneClickLoginUrl;
2314
2179
  const authRenewOneClickLoginUrl = (options) => {
2315
- var _a;
2316
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2180
+ return (options?.client ?? client_gen_1.client).post({
2317
2181
  security: [
2318
2182
  {
2319
2183
  scheme: 'bearer',
@@ -2326,8 +2190,7 @@ const authRenewOneClickLoginUrl = (options) => {
2326
2190
  };
2327
2191
  exports.authRenewOneClickLoginUrl = authRenewOneClickLoginUrl;
2328
2192
  const authRegeneratePatToken = (options) => {
2329
- var _a;
2330
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2193
+ return (options?.client ?? client_gen_1.client).post({
2331
2194
  security: [
2332
2195
  {
2333
2196
  scheme: 'bearer',
@@ -2340,8 +2203,7 @@ const authRegeneratePatToken = (options) => {
2340
2203
  };
2341
2204
  exports.authRegeneratePatToken = authRegeneratePatToken;
2342
2205
  const authGetUserSessionHistory = (options) => {
2343
- var _a;
2344
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2206
+ return (options?.client ?? client_gen_1.client).get({
2345
2207
  security: [
2346
2208
  {
2347
2209
  scheme: 'bearer',
@@ -2358,8 +2220,7 @@ exports.authGetUserSessionHistory = authGetUserSessionHistory;
2358
2220
  * Retrieve a paginated list of users
2359
2221
  */
2360
2222
  const userManagementUsersGetMany = (options) => {
2361
- var _a;
2362
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2223
+ return (options.client ?? client_gen_1.client).get({
2363
2224
  security: [
2364
2225
  {
2365
2226
  scheme: 'bearer',
@@ -2372,8 +2233,7 @@ const userManagementUsersGetMany = (options) => {
2372
2233
  };
2373
2234
  exports.userManagementUsersGetMany = userManagementUsersGetMany;
2374
2235
  const userCreate = (options) => {
2375
- var _a;
2376
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2236
+ return (options.client ?? client_gen_1.client).post({
2377
2237
  security: [
2378
2238
  {
2379
2239
  scheme: 'bearer',
@@ -2390,8 +2250,7 @@ const userCreate = (options) => {
2390
2250
  };
2391
2251
  exports.userCreate = userCreate;
2392
2252
  const userDelete = (options) => {
2393
- var _a;
2394
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2253
+ return (options.client ?? client_gen_1.client).delete({
2395
2254
  security: [
2396
2255
  {
2397
2256
  scheme: 'bearer',
@@ -2408,8 +2267,7 @@ exports.userDelete = userDelete;
2408
2267
  * Retrieve detailed information about a specific user
2409
2268
  */
2410
2269
  const userManagementUsersGet = (options) => {
2411
- var _a;
2412
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2270
+ return (options.client ?? client_gen_1.client).get({
2413
2271
  security: [
2414
2272
  {
2415
2273
  scheme: 'bearer',
@@ -2422,8 +2280,7 @@ const userManagementUsersGet = (options) => {
2422
2280
  };
2423
2281
  exports.userManagementUsersGet = userManagementUsersGet;
2424
2282
  const userUpdateUser = (options) => {
2425
- var _a;
2426
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2283
+ return (options.client ?? client_gen_1.client).put({
2427
2284
  security: [
2428
2285
  {
2429
2286
  scheme: 'bearer',
@@ -2440,8 +2297,7 @@ const userUpdateUser = (options) => {
2440
2297
  };
2441
2298
  exports.userUpdateUser = userUpdateUser;
2442
2299
  const userResetTfa = (options) => {
2443
- var _a;
2444
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2300
+ return (options.client ?? client_gen_1.client).post({
2445
2301
  security: [
2446
2302
  {
2447
2303
  scheme: 'bearer',
@@ -2454,8 +2310,7 @@ const userResetTfa = (options) => {
2454
2310
  };
2455
2311
  exports.userResetTfa = userResetTfa;
2456
2312
  const userChangePassword = (options) => {
2457
- var _a;
2458
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2313
+ return (options.client ?? client_gen_1.client).put({
2459
2314
  security: [
2460
2315
  {
2461
2316
  scheme: 'bearer',
@@ -2472,8 +2327,7 @@ const userChangePassword = (options) => {
2472
2327
  };
2473
2328
  exports.userChangePassword = userChangePassword;
2474
2329
  const userResetUserPassword = (options) => {
2475
- var _a;
2476
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2330
+ return (options.client ?? client_gen_1.client).post({
2477
2331
  security: [
2478
2332
  {
2479
2333
  scheme: 'bearer',
@@ -2486,8 +2340,7 @@ const userResetUserPassword = (options) => {
2486
2340
  };
2487
2341
  exports.userResetUserPassword = userResetUserPassword;
2488
2342
  const userCreateApiUser = (options) => {
2489
- var _a;
2490
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2343
+ return (options.client ?? client_gen_1.client).post({
2491
2344
  security: [
2492
2345
  {
2493
2346
  scheme: 'bearer',
@@ -2504,8 +2357,7 @@ const userCreateApiUser = (options) => {
2504
2357
  };
2505
2358
  exports.userCreateApiUser = userCreateApiUser;
2506
2359
  const userRolesGetPrivileges = (options) => {
2507
- var _a;
2508
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2360
+ return (options?.client ?? client_gen_1.client).get({
2509
2361
  security: [
2510
2362
  {
2511
2363
  scheme: 'bearer',
@@ -2518,8 +2370,7 @@ const userRolesGetPrivileges = (options) => {
2518
2370
  };
2519
2371
  exports.userRolesGetPrivileges = userRolesGetPrivileges;
2520
2372
  const userRolesGetRoles = (options) => {
2521
- var _a;
2522
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2373
+ return (options?.client ?? client_gen_1.client).get({
2523
2374
  security: [
2524
2375
  {
2525
2376
  scheme: 'bearer',
@@ -2532,8 +2383,7 @@ const userRolesGetRoles = (options) => {
2532
2383
  };
2533
2384
  exports.userRolesGetRoles = userRolesGetRoles;
2534
2385
  const userRolesCreateRole = (options) => {
2535
- var _a;
2536
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2386
+ return (options.client ?? client_gen_1.client).post({
2537
2387
  security: [
2538
2388
  {
2539
2389
  scheme: 'bearer',
@@ -2550,8 +2400,7 @@ const userRolesCreateRole = (options) => {
2550
2400
  };
2551
2401
  exports.userRolesCreateRole = userRolesCreateRole;
2552
2402
  const userRolesDeleteRole = (options) => {
2553
- var _a;
2554
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2403
+ return (options.client ?? client_gen_1.client).delete({
2555
2404
  security: [
2556
2405
  {
2557
2406
  scheme: 'bearer',
@@ -2564,8 +2413,7 @@ const userRolesDeleteRole = (options) => {
2564
2413
  };
2565
2414
  exports.userRolesDeleteRole = userRolesDeleteRole;
2566
2415
  const userRolesGetRole = (options) => {
2567
- var _a;
2568
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2416
+ return (options.client ?? client_gen_1.client).get({
2569
2417
  security: [
2570
2418
  {
2571
2419
  scheme: 'bearer',
@@ -2578,8 +2426,7 @@ const userRolesGetRole = (options) => {
2578
2426
  };
2579
2427
  exports.userRolesGetRole = userRolesGetRole;
2580
2428
  const userRolesUpdateRole = (options) => {
2581
- var _a;
2582
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2429
+ return (options.client ?? client_gen_1.client).put({
2583
2430
  security: [
2584
2431
  {
2585
2432
  scheme: 'bearer',
@@ -2596,8 +2443,7 @@ const userRolesUpdateRole = (options) => {
2596
2443
  };
2597
2444
  exports.userRolesUpdateRole = userRolesUpdateRole;
2598
2445
  const userGroupFilterGroups = (options) => {
2599
- var _a;
2600
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2446
+ return (options.client ?? client_gen_1.client).get({
2601
2447
  security: [
2602
2448
  {
2603
2449
  scheme: 'bearer',
@@ -2610,8 +2456,7 @@ const userGroupFilterGroups = (options) => {
2610
2456
  };
2611
2457
  exports.userGroupFilterGroups = userGroupFilterGroups;
2612
2458
  const userGroupCreateGroup = (options) => {
2613
- var _a;
2614
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2459
+ return (options.client ?? client_gen_1.client).post({
2615
2460
  security: [
2616
2461
  {
2617
2462
  scheme: 'bearer',
@@ -2628,8 +2473,7 @@ const userGroupCreateGroup = (options) => {
2628
2473
  };
2629
2474
  exports.userGroupCreateGroup = userGroupCreateGroup;
2630
2475
  const userGroupDeleteGroup = (options) => {
2631
- var _a;
2632
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2476
+ return (options.client ?? client_gen_1.client).delete({
2633
2477
  security: [
2634
2478
  {
2635
2479
  scheme: 'bearer',
@@ -2642,8 +2486,7 @@ const userGroupDeleteGroup = (options) => {
2642
2486
  };
2643
2487
  exports.userGroupDeleteGroup = userGroupDeleteGroup;
2644
2488
  const userGroupGetGroup = (options) => {
2645
- var _a;
2646
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2489
+ return (options.client ?? client_gen_1.client).get({
2647
2490
  security: [
2648
2491
  {
2649
2492
  scheme: 'bearer',
@@ -2656,8 +2499,7 @@ const userGroupGetGroup = (options) => {
2656
2499
  };
2657
2500
  exports.userGroupGetGroup = userGroupGetGroup;
2658
2501
  const userGroupUpdateGroup = (options) => {
2659
- var _a;
2660
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2502
+ return (options.client ?? client_gen_1.client).put({
2661
2503
  security: [
2662
2504
  {
2663
2505
  scheme: 'bearer',
@@ -2674,8 +2516,7 @@ const userGroupUpdateGroup = (options) => {
2674
2516
  };
2675
2517
  exports.userGroupUpdateGroup = userGroupUpdateGroup;
2676
2518
  const setupCheckSetupData = (options) => {
2677
- var _a;
2678
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2519
+ return (options?.client ?? client_gen_1.client).post({
2679
2520
  security: [
2680
2521
  {
2681
2522
  scheme: 'bearer',
@@ -2688,8 +2529,7 @@ const setupCheckSetupData = (options) => {
2688
2529
  };
2689
2530
  exports.setupCheckSetupData = setupCheckSetupData;
2690
2531
  const setupInstall = (options) => {
2691
- var _a;
2692
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2532
+ return (options.client ?? client_gen_1.client).post({
2693
2533
  security: [
2694
2534
  {
2695
2535
  scheme: 'bearer',
@@ -2706,8 +2546,7 @@ const setupInstall = (options) => {
2706
2546
  };
2707
2547
  exports.setupInstall = setupInstall;
2708
2548
  const licenseGetLicense = (options) => {
2709
- var _a;
2710
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2549
+ return (options?.client ?? client_gen_1.client).get({
2711
2550
  security: [
2712
2551
  {
2713
2552
  scheme: 'bearer',
@@ -2720,8 +2559,7 @@ const licenseGetLicense = (options) => {
2720
2559
  };
2721
2560
  exports.licenseGetLicense = licenseGetLicense;
2722
2561
  const licenseSetLicense = (options) => {
2723
- var _a;
2724
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2562
+ return (options.client ?? client_gen_1.client).post({
2725
2563
  security: [
2726
2564
  {
2727
2565
  scheme: 'bearer',
@@ -2738,8 +2576,7 @@ const licenseSetLicense = (options) => {
2738
2576
  };
2739
2577
  exports.licenseSetLicense = licenseSetLicense;
2740
2578
  const licenseGetQuota = (options) => {
2741
- var _a;
2742
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2579
+ return (options?.client ?? client_gen_1.client).get({
2743
2580
  security: [
2744
2581
  {
2745
2582
  scheme: 'bearer',
@@ -2756,8 +2593,7 @@ exports.licenseGetQuota = licenseGetQuota;
2756
2593
  * Retrieve a specific acquisition profile
2757
2594
  */
2758
2595
  const acquisitionProfilesGetOne = (options) => {
2759
- var _a;
2760
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2596
+ return (options.client ?? client_gen_1.client).get({
2761
2597
  security: [
2762
2598
  {
2763
2599
  scheme: 'bearer',
@@ -2770,8 +2606,7 @@ const acquisitionProfilesGetOne = (options) => {
2770
2606
  };
2771
2607
  exports.acquisitionProfilesGetOne = acquisitionProfilesGetOne;
2772
2608
  const acquisitionCreate = (options) => {
2773
- var _a;
2774
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2609
+ return (options.client ?? client_gen_1.client).post({
2775
2610
  security: [
2776
2611
  {
2777
2612
  scheme: 'bearer',
@@ -2788,8 +2623,7 @@ const acquisitionCreate = (options) => {
2788
2623
  };
2789
2624
  exports.acquisitionCreate = acquisitionCreate;
2790
2625
  const acquisitionDelete = (options) => {
2791
- var _a;
2792
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2626
+ return (options.client ?? client_gen_1.client).delete({
2793
2627
  security: [
2794
2628
  {
2795
2629
  scheme: 'bearer',
@@ -2802,8 +2636,7 @@ const acquisitionDelete = (options) => {
2802
2636
  };
2803
2637
  exports.acquisitionDelete = acquisitionDelete;
2804
2638
  const acquisitionGet = (options) => {
2805
- var _a;
2806
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2639
+ return (options.client ?? client_gen_1.client).get({
2807
2640
  security: [
2808
2641
  {
2809
2642
  scheme: 'bearer',
@@ -2816,8 +2649,7 @@ const acquisitionGet = (options) => {
2816
2649
  };
2817
2650
  exports.acquisitionGet = acquisitionGet;
2818
2651
  const acquisitionUpdate = (options) => {
2819
- var _a;
2820
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2652
+ return (options.client ?? client_gen_1.client).put({
2821
2653
  security: [
2822
2654
  {
2823
2655
  scheme: 'bearer',
@@ -2838,8 +2670,7 @@ exports.acquisitionUpdate = acquisitionUpdate;
2838
2670
  * Assign an evidence acquisition task by filter
2839
2671
  */
2840
2672
  const acquisitionAssignEvidenceTask = (options) => {
2841
- var _a;
2842
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2673
+ return (options.client ?? client_gen_1.client).post({
2843
2674
  security: [
2844
2675
  {
2845
2676
  scheme: 'bearer',
@@ -2860,8 +2691,7 @@ exports.acquisitionAssignEvidenceTask = acquisitionAssignEvidenceTask;
2860
2691
  * Assign an evidence acquisition task by filter
2861
2692
  */
2862
2693
  const acquisitionAssignEvidenceTask2 = (options) => {
2863
- var _a;
2864
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2694
+ return (options.client ?? client_gen_1.client).post({
2865
2695
  security: [
2866
2696
  {
2867
2697
  scheme: 'bearer',
@@ -2878,8 +2708,7 @@ const acquisitionAssignEvidenceTask2 = (options) => {
2878
2708
  };
2879
2709
  exports.acquisitionAssignEvidenceTask2 = acquisitionAssignEvidenceTask2;
2880
2710
  const acquisitionCreateOffNetworkAcquisitionTaskFile = (options) => {
2881
- var _a;
2882
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2711
+ return (options.client ?? client_gen_1.client).post({
2883
2712
  security: [
2884
2713
  {
2885
2714
  scheme: 'bearer',
@@ -2896,8 +2725,7 @@ const acquisitionCreateOffNetworkAcquisitionTaskFile = (options) => {
2896
2725
  };
2897
2726
  exports.acquisitionCreateOffNetworkAcquisitionTaskFile = acquisitionCreateOffNetworkAcquisitionTaskFile;
2898
2727
  const acquisitionAcquireImage = (options) => {
2899
- var _a;
2900
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2728
+ return (options.client ?? client_gen_1.client).post({
2901
2729
  security: [
2902
2730
  {
2903
2731
  scheme: 'bearer',
@@ -2914,8 +2742,7 @@ const acquisitionAcquireImage = (options) => {
2914
2742
  };
2915
2743
  exports.acquisitionAcquireImage = acquisitionAcquireImage;
2916
2744
  const acquisitionUpdateScheduledEvidenceAcquisition = (options) => {
2917
- var _a;
2918
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2745
+ return (options.client ?? client_gen_1.client).put({
2919
2746
  security: [
2920
2747
  {
2921
2748
  scheme: 'bearer',
@@ -2932,8 +2759,7 @@ const acquisitionUpdateScheduledEvidenceAcquisition = (options) => {
2932
2759
  };
2933
2760
  exports.acquisitionUpdateScheduledEvidenceAcquisition = acquisitionUpdateScheduledEvidenceAcquisition;
2934
2761
  const acquisitionUpdateScheduledImageAcquisition = (options) => {
2935
- var _a;
2936
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2762
+ return (options.client ?? client_gen_1.client).put({
2937
2763
  security: [
2938
2764
  {
2939
2765
  scheme: 'bearer',
@@ -2950,8 +2776,7 @@ const acquisitionUpdateScheduledImageAcquisition = (options) => {
2950
2776
  };
2951
2777
  exports.acquisitionUpdateScheduledImageAcquisition = acquisitionUpdateScheduledImageAcquisition;
2952
2778
  const acquisitionValidateOsQueries = (options) => {
2953
- var _a;
2954
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2779
+ return (options.client ?? client_gen_1.client).post({
2955
2780
  security: [
2956
2781
  {
2957
2782
  scheme: 'bearer',
@@ -2972,8 +2797,7 @@ exports.acquisitionValidateOsQueries = acquisitionValidateOsQueries;
2972
2797
  * Retrieve a paginated list of triage rules
2973
2798
  */
2974
2799
  const getManyTriageRules = (options) => {
2975
- var _a;
2976
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2800
+ return (options.client ?? client_gen_1.client).get({
2977
2801
  security: [
2978
2802
  {
2979
2803
  scheme: 'bearer',
@@ -2990,8 +2814,7 @@ exports.getManyTriageRules = getManyTriageRules;
2990
2814
  * Create a new triage rule that defines conditions and criteria
2991
2815
  */
2992
2816
  const createTriageRule = (options) => {
2993
- var _a;
2994
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2817
+ return (options.client ?? client_gen_1.client).post({
2995
2818
  security: [
2996
2819
  {
2997
2820
  scheme: 'bearer',
@@ -3012,8 +2835,7 @@ exports.createTriageRule = createTriageRule;
3012
2835
  * Permanently delete a triage rule from the system
3013
2836
  */
3014
2837
  const deleteTriageRule = (options) => {
3015
- var _a;
3016
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2838
+ return (options.client ?? client_gen_1.client).delete({
3017
2839
  security: [
3018
2840
  {
3019
2841
  scheme: 'bearer',
@@ -3030,8 +2852,7 @@ exports.deleteTriageRule = deleteTriageRule;
3030
2852
  * Retrieve detailed information about a specific triage rule by its ID
3031
2853
  */
3032
2854
  const getTriageRule = (options) => {
3033
- var _a;
3034
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2855
+ return (options?.client ?? client_gen_1.client).get({
3035
2856
  security: [
3036
2857
  {
3037
2858
  scheme: 'bearer',
@@ -3048,8 +2869,7 @@ exports.getTriageRule = getTriageRule;
3048
2869
  * Update an existing triage rule by modifying its conditions
3049
2870
  */
3050
2871
  const updateTriageRule = (options) => {
3051
- var _a;
3052
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2872
+ return (options.client ?? client_gen_1.client).put({
3053
2873
  security: [
3054
2874
  {
3055
2875
  scheme: 'bearer',
@@ -3070,8 +2890,7 @@ exports.updateTriageRule = updateTriageRule;
3070
2890
  * Validate the syntax and structure of a triage rule
3071
2891
  */
3072
2892
  const validateTriageRule = (options) => {
3073
- var _a;
3074
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2893
+ return (options.client ?? client_gen_1.client).post({
3075
2894
  security: [
3076
2895
  {
3077
2896
  scheme: 'bearer',
@@ -3092,8 +2911,7 @@ exports.validateTriageRule = validateTriageRule;
3092
2911
  * Assign and execute triage tasks on filtered endpoints
3093
2912
  */
3094
2913
  const assignTriageTask = (options) => {
3095
- var _a;
3096
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2914
+ return (options.client ?? client_gen_1.client).post({
3097
2915
  security: [
3098
2916
  {
3099
2917
  scheme: 'bearer',
@@ -3110,8 +2928,7 @@ const assignTriageTask = (options) => {
3110
2928
  };
3111
2929
  exports.assignTriageTask = assignTriageTask;
3112
2930
  const triageUpdateScheduledTriageTask = (options) => {
3113
- var _a;
3114
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2931
+ return (options.client ?? client_gen_1.client).put({
3115
2932
  security: [
3116
2933
  {
3117
2934
  scheme: 'bearer',
@@ -3128,8 +2945,7 @@ const triageUpdateScheduledTriageTask = (options) => {
3128
2945
  };
3129
2946
  exports.triageUpdateScheduledTriageTask = triageUpdateScheduledTriageTask;
3130
2947
  const triageCreateOffNetworkTriageTaskFile = (options) => {
3131
- var _a;
3132
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2948
+ return (options.client ?? client_gen_1.client).post({
3133
2949
  security: [
3134
2950
  {
3135
2951
  scheme: 'bearer',
@@ -3146,8 +2962,7 @@ const triageCreateOffNetworkTriageTaskFile = (options) => {
3146
2962
  };
3147
2963
  exports.triageCreateOffNetworkTriageTaskFile = triageCreateOffNetworkTriageTaskFile;
3148
2964
  const triageFilterRuleTags = (options) => {
3149
- var _a;
3150
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2965
+ return (options.client ?? client_gen_1.client).get({
3151
2966
  security: [
3152
2967
  {
3153
2968
  scheme: 'bearer',
@@ -3160,8 +2975,7 @@ const triageFilterRuleTags = (options) => {
3160
2975
  };
3161
2976
  exports.triageFilterRuleTags = triageFilterRuleTags;
3162
2977
  const triageCreateRuleTag = (options) => {
3163
- var _a;
3164
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2978
+ return (options.client ?? client_gen_1.client).post({
3165
2979
  security: [
3166
2980
  {
3167
2981
  scheme: 'bearer',
@@ -3178,8 +2992,7 @@ const triageCreateRuleTag = (options) => {
3178
2992
  };
3179
2993
  exports.triageCreateRuleTag = triageCreateRuleTag;
3180
2994
  const triageDeleteRuleTag = (options) => {
3181
- var _a;
3182
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2995
+ return (options.client ?? client_gen_1.client).delete({
3183
2996
  security: [
3184
2997
  {
3185
2998
  scheme: 'bearer',
@@ -3192,8 +3005,7 @@ const triageDeleteRuleTag = (options) => {
3192
3005
  };
3193
3006
  exports.triageDeleteRuleTag = triageDeleteRuleTag;
3194
3007
  const evidenceGetCaseReport = (options) => {
3195
- var _a;
3196
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3008
+ return (options?.client ?? client_gen_1.client).get({
3197
3009
  security: [
3198
3010
  {
3199
3011
  scheme: 'bearer',
@@ -3206,8 +3018,7 @@ const evidenceGetCaseReport = (options) => {
3206
3018
  };
3207
3019
  exports.evidenceGetCaseReport = evidenceGetCaseReport;
3208
3020
  const evidenceGetCaseReport1 = (options) => {
3209
- var _a;
3210
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3021
+ return (options?.client ?? client_gen_1.client).get({
3211
3022
  security: [
3212
3023
  {
3213
3024
  scheme: 'bearer',
@@ -3220,8 +3031,7 @@ const evidenceGetCaseReport1 = (options) => {
3220
3031
  };
3221
3032
  exports.evidenceGetCaseReport1 = evidenceGetCaseReport1;
3222
3033
  const evidenceDownloadExternalEvidence = (options) => {
3223
- var _a;
3224
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3034
+ return (options?.client ?? client_gen_1.client).get({
3225
3035
  security: [
3226
3036
  {
3227
3037
  scheme: 'bearer',
@@ -3234,8 +3044,7 @@ const evidenceDownloadExternalEvidence = (options) => {
3234
3044
  };
3235
3045
  exports.evidenceDownloadExternalEvidence = evidenceDownloadExternalEvidence;
3236
3046
  const evidenceGetCaseReportFileInfo = (options) => {
3237
- var _a;
3238
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3047
+ return (options?.client ?? client_gen_1.client).get({
3239
3048
  security: [
3240
3049
  {
3241
3050
  scheme: 'bearer',
@@ -3248,8 +3057,7 @@ const evidenceGetCaseReportFileInfo = (options) => {
3248
3057
  };
3249
3058
  exports.evidenceGetCaseReportFileInfo = evidenceGetCaseReportFileInfo;
3250
3059
  const evidenceGetCasePpcFile = (options) => {
3251
- var _a;
3252
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3060
+ return (options?.client ?? client_gen_1.client).get({
3253
3061
  security: [
3254
3062
  {
3255
3063
  scheme: 'bearer',
@@ -3262,8 +3070,7 @@ const evidenceGetCasePpcFile = (options) => {
3262
3070
  };
3263
3071
  exports.evidenceGetCasePpcFile = evidenceGetCasePpcFile;
3264
3072
  const evidenceRepositoryCreateSmb = (options) => {
3265
- var _a;
3266
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3073
+ return (options.client ?? client_gen_1.client).post({
3267
3074
  security: [
3268
3075
  {
3269
3076
  scheme: 'bearer',
@@ -3280,8 +3087,7 @@ const evidenceRepositoryCreateSmb = (options) => {
3280
3087
  };
3281
3088
  exports.evidenceRepositoryCreateSmb = evidenceRepositoryCreateSmb;
3282
3089
  const evidenceRepositoryUpdateSmb = (options) => {
3283
- var _a;
3284
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3090
+ return (options.client ?? client_gen_1.client).put({
3285
3091
  security: [
3286
3092
  {
3287
3093
  scheme: 'bearer',
@@ -3298,8 +3104,7 @@ const evidenceRepositoryUpdateSmb = (options) => {
3298
3104
  };
3299
3105
  exports.evidenceRepositoryUpdateSmb = evidenceRepositoryUpdateSmb;
3300
3106
  const evidenceRepositoryCreateSftp = (options) => {
3301
- var _a;
3302
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3107
+ return (options.client ?? client_gen_1.client).post({
3303
3108
  security: [
3304
3109
  {
3305
3110
  scheme: 'bearer',
@@ -3316,8 +3121,7 @@ const evidenceRepositoryCreateSftp = (options) => {
3316
3121
  };
3317
3122
  exports.evidenceRepositoryCreateSftp = evidenceRepositoryCreateSftp;
3318
3123
  const evidenceRepositoryUpdateSftp = (options) => {
3319
- var _a;
3320
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3124
+ return (options.client ?? client_gen_1.client).put({
3321
3125
  security: [
3322
3126
  {
3323
3127
  scheme: 'bearer',
@@ -3334,8 +3138,7 @@ const evidenceRepositoryUpdateSftp = (options) => {
3334
3138
  };
3335
3139
  exports.evidenceRepositoryUpdateSftp = evidenceRepositoryUpdateSftp;
3336
3140
  const evidenceRepositoryCreateFtps = (options) => {
3337
- var _a;
3338
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3141
+ return (options.client ?? client_gen_1.client).post({
3339
3142
  security: [
3340
3143
  {
3341
3144
  scheme: 'bearer',
@@ -3352,8 +3155,7 @@ const evidenceRepositoryCreateFtps = (options) => {
3352
3155
  };
3353
3156
  exports.evidenceRepositoryCreateFtps = evidenceRepositoryCreateFtps;
3354
3157
  const evidenceRepositoryUpdateFtps = (options) => {
3355
- var _a;
3356
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3158
+ return (options.client ?? client_gen_1.client).put({
3357
3159
  security: [
3358
3160
  {
3359
3161
  scheme: 'bearer',
@@ -3370,8 +3172,7 @@ const evidenceRepositoryUpdateFtps = (options) => {
3370
3172
  };
3371
3173
  exports.evidenceRepositoryUpdateFtps = evidenceRepositoryUpdateFtps;
3372
3174
  const evidenceRepositoryCreateAzureStorage = (options) => {
3373
- var _a;
3374
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3175
+ return (options.client ?? client_gen_1.client).post({
3375
3176
  security: [
3376
3177
  {
3377
3178
  scheme: 'bearer',
@@ -3388,8 +3189,7 @@ const evidenceRepositoryCreateAzureStorage = (options) => {
3388
3189
  };
3389
3190
  exports.evidenceRepositoryCreateAzureStorage = evidenceRepositoryCreateAzureStorage;
3390
3191
  const evidenceRepositoryUpdateAzureStorage = (options) => {
3391
- var _a;
3392
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3192
+ return (options.client ?? client_gen_1.client).put({
3393
3193
  security: [
3394
3194
  {
3395
3195
  scheme: 'bearer',
@@ -3406,8 +3206,7 @@ const evidenceRepositoryUpdateAzureStorage = (options) => {
3406
3206
  };
3407
3207
  exports.evidenceRepositoryUpdateAzureStorage = evidenceRepositoryUpdateAzureStorage;
3408
3208
  const evidenceRepositoryCreateAmazonS3 = (options) => {
3409
- var _a;
3410
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3209
+ return (options.client ?? client_gen_1.client).post({
3411
3210
  security: [
3412
3211
  {
3413
3212
  scheme: 'bearer',
@@ -3424,8 +3223,7 @@ const evidenceRepositoryCreateAmazonS3 = (options) => {
3424
3223
  };
3425
3224
  exports.evidenceRepositoryCreateAmazonS3 = evidenceRepositoryCreateAmazonS3;
3426
3225
  const evidenceRepositoryUpdateAmazonS3 = (options) => {
3427
- var _a;
3428
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3226
+ return (options.client ?? client_gen_1.client).put({
3429
3227
  security: [
3430
3228
  {
3431
3229
  scheme: 'bearer',
@@ -3442,8 +3240,7 @@ const evidenceRepositoryUpdateAmazonS3 = (options) => {
3442
3240
  };
3443
3241
  exports.evidenceRepositoryUpdateAmazonS3 = evidenceRepositoryUpdateAmazonS3;
3444
3242
  const evidenceRepositoryDelete = (options) => {
3445
- var _a;
3446
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3243
+ return (options.client ?? client_gen_1.client).delete({
3447
3244
  security: [
3448
3245
  {
3449
3246
  scheme: 'bearer',
@@ -3460,8 +3257,7 @@ exports.evidenceRepositoryDelete = evidenceRepositoryDelete;
3460
3257
  * Get details for a specific evidence repository
3461
3258
  */
3462
3259
  const evidenceRepositoriesGet = (options) => {
3463
- var _a;
3464
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3260
+ return (options.client ?? client_gen_1.client).get({
3465
3261
  security: [
3466
3262
  {
3467
3263
  scheme: 'bearer',
@@ -3478,8 +3274,7 @@ exports.evidenceRepositoriesGet = evidenceRepositoriesGet;
3478
3274
  * Get a paginated list of evidence repositories
3479
3275
  */
3480
3276
  const evidenceRepositoriesGetMany = (options) => {
3481
- var _a;
3482
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3277
+ return (options.client ?? client_gen_1.client).get({
3483
3278
  security: [
3484
3279
  {
3485
3280
  scheme: 'bearer',
@@ -3492,8 +3287,7 @@ const evidenceRepositoriesGetMany = (options) => {
3492
3287
  };
3493
3288
  exports.evidenceRepositoriesGetMany = evidenceRepositoriesGetMany;
3494
3289
  const evidenceRepositoryValidateById = (options) => {
3495
- var _a;
3496
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3290
+ return (options.client ?? client_gen_1.client).post({
3497
3291
  security: [
3498
3292
  {
3499
3293
  scheme: 'bearer',
@@ -3506,8 +3300,7 @@ const evidenceRepositoryValidateById = (options) => {
3506
3300
  };
3507
3301
  exports.evidenceRepositoryValidateById = evidenceRepositoryValidateById;
3508
3302
  const evidenceRepositoryValidateAmazonS3 = (options) => {
3509
- var _a;
3510
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3303
+ return (options.client ?? client_gen_1.client).post({
3511
3304
  security: [
3512
3305
  {
3513
3306
  scheme: 'bearer',
@@ -3524,8 +3317,7 @@ const evidenceRepositoryValidateAmazonS3 = (options) => {
3524
3317
  };
3525
3318
  exports.evidenceRepositoryValidateAmazonS3 = evidenceRepositoryValidateAmazonS3;
3526
3319
  const evidenceRepositoryValidateAzureStorage = (options) => {
3527
- var _a;
3528
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3320
+ return (options.client ?? client_gen_1.client).post({
3529
3321
  security: [
3530
3322
  {
3531
3323
  scheme: 'bearer',
@@ -3542,8 +3334,7 @@ const evidenceRepositoryValidateAzureStorage = (options) => {
3542
3334
  };
3543
3335
  exports.evidenceRepositoryValidateAzureStorage = evidenceRepositoryValidateAzureStorage;
3544
3336
  const evidenceRepositoryValidateFtpsRepository = (options) => {
3545
- var _a;
3546
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3337
+ return (options.client ?? client_gen_1.client).post({
3547
3338
  security: [
3548
3339
  {
3549
3340
  scheme: 'bearer',
@@ -3560,8 +3351,7 @@ const evidenceRepositoryValidateFtpsRepository = (options) => {
3560
3351
  };
3561
3352
  exports.evidenceRepositoryValidateFtpsRepository = evidenceRepositoryValidateFtpsRepository;
3562
3353
  const notificationDeleteAll = (options) => {
3563
- var _a;
3564
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3354
+ return (options?.client ?? client_gen_1.client).delete({
3565
3355
  security: [
3566
3356
  {
3567
3357
  scheme: 'bearer',
@@ -3574,8 +3364,7 @@ const notificationDeleteAll = (options) => {
3574
3364
  };
3575
3365
  exports.notificationDeleteAll = notificationDeleteAll;
3576
3366
  const notificationFilter = (options) => {
3577
- var _a;
3578
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3367
+ return (options.client ?? client_gen_1.client).get({
3579
3368
  security: [
3580
3369
  {
3581
3370
  scheme: 'bearer',
@@ -3588,8 +3377,7 @@ const notificationFilter = (options) => {
3588
3377
  };
3589
3378
  exports.notificationFilter = notificationFilter;
3590
3379
  const notificationMarkAllAsRead = (options) => {
3591
- var _a;
3592
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3380
+ return (options?.client ?? client_gen_1.client).put({
3593
3381
  security: [
3594
3382
  {
3595
3383
  scheme: 'bearer',
@@ -3602,8 +3390,7 @@ const notificationMarkAllAsRead = (options) => {
3602
3390
  };
3603
3391
  exports.notificationMarkAllAsRead = notificationMarkAllAsRead;
3604
3392
  const notificationMarkAsRead = (options) => {
3605
- var _a;
3606
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3393
+ return (options.client ?? client_gen_1.client).patch({
3607
3394
  security: [
3608
3395
  {
3609
3396
  scheme: 'bearer',
@@ -3616,8 +3403,7 @@ const notificationMarkAsRead = (options) => {
3616
3403
  };
3617
3404
  exports.notificationMarkAsRead = notificationMarkAsRead;
3618
3405
  const auditLogFilter = (options) => {
3619
- var _a;
3620
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3406
+ return (options.client ?? client_gen_1.client).post({
3621
3407
  security: [
3622
3408
  {
3623
3409
  scheme: 'bearer',
@@ -3634,8 +3420,7 @@ const auditLogFilter = (options) => {
3634
3420
  };
3635
3421
  exports.auditLogFilter = auditLogFilter;
3636
3422
  const auditLogExport = (options) => {
3637
- var _a;
3638
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3423
+ return (options.client ?? client_gen_1.client).get({
3639
3424
  security: [
3640
3425
  {
3641
3426
  scheme: 'bearer',
@@ -3648,8 +3433,7 @@ const auditLogExport = (options) => {
3648
3433
  };
3649
3434
  exports.auditLogExport = auditLogExport;
3650
3435
  const policyGetMatchStats = (options) => {
3651
- var _a;
3652
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3436
+ return (options.client ?? client_gen_1.client).post({
3653
3437
  security: [
3654
3438
  {
3655
3439
  scheme: 'bearer',
@@ -3666,8 +3450,7 @@ const policyGetMatchStats = (options) => {
3666
3450
  };
3667
3451
  exports.policyGetMatchStats = policyGetMatchStats;
3668
3452
  const policyFilter = (options) => {
3669
- var _a;
3670
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3453
+ return (options.client ?? client_gen_1.client).get({
3671
3454
  security: [
3672
3455
  {
3673
3456
  scheme: 'bearer',
@@ -3680,8 +3463,7 @@ const policyFilter = (options) => {
3680
3463
  };
3681
3464
  exports.policyFilter = policyFilter;
3682
3465
  const policyCreate = (options) => {
3683
- var _a;
3684
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3466
+ return (options.client ?? client_gen_1.client).post({
3685
3467
  security: [
3686
3468
  {
3687
3469
  scheme: 'bearer',
@@ -3698,8 +3480,7 @@ const policyCreate = (options) => {
3698
3480
  };
3699
3481
  exports.policyCreate = policyCreate;
3700
3482
  const policyUpdatePriorities = (options) => {
3701
- var _a;
3702
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3483
+ return (options.client ?? client_gen_1.client).put({
3703
3484
  security: [
3704
3485
  {
3705
3486
  scheme: 'bearer',
@@ -3716,8 +3497,7 @@ const policyUpdatePriorities = (options) => {
3716
3497
  };
3717
3498
  exports.policyUpdatePriorities = policyUpdatePriorities;
3718
3499
  const policyDelete = (options) => {
3719
- var _a;
3720
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3500
+ return (options?.client ?? client_gen_1.client).delete({
3721
3501
  security: [
3722
3502
  {
3723
3503
  scheme: 'bearer',
@@ -3730,8 +3510,7 @@ const policyDelete = (options) => {
3730
3510
  };
3731
3511
  exports.policyDelete = policyDelete;
3732
3512
  const policyGet = (options) => {
3733
- var _a;
3734
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3513
+ return (options?.client ?? client_gen_1.client).get({
3735
3514
  security: [
3736
3515
  {
3737
3516
  scheme: 'bearer',
@@ -3744,8 +3523,7 @@ const policyGet = (options) => {
3744
3523
  };
3745
3524
  exports.policyGet = policyGet;
3746
3525
  const policyUpdate = (options) => {
3747
- var _a;
3748
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3526
+ return (options.client ?? client_gen_1.client).put({
3749
3527
  security: [
3750
3528
  {
3751
3529
  scheme: 'bearer',
@@ -3762,8 +3540,7 @@ const policyUpdate = (options) => {
3762
3540
  };
3763
3541
  exports.policyUpdate = policyUpdate;
3764
3542
  const policyCheckNameExists = (options) => {
3765
- var _a;
3766
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3543
+ return (options.client ?? client_gen_1.client).get({
3767
3544
  security: [
3768
3545
  {
3769
3546
  scheme: 'bearer',
@@ -3780,8 +3557,7 @@ exports.policyCheckNameExists = policyCheckNameExists;
3780
3557
  * Retrieves a paginated list of organizations
3781
3558
  */
3782
3559
  const organizationsGetMany = (options) => {
3783
- var _a;
3784
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3560
+ return (options.client ?? client_gen_1.client).get({
3785
3561
  security: [
3786
3562
  {
3787
3563
  scheme: 'bearer',
@@ -3798,8 +3574,7 @@ exports.organizationsGetMany = organizationsGetMany;
3798
3574
  * Creates a new organization with specified configuration
3799
3575
  */
3800
3576
  const organizationCreate = (options) => {
3801
- var _a;
3802
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3577
+ return (options.client ?? client_gen_1.client).post({
3803
3578
  security: [
3804
3579
  {
3805
3580
  scheme: 'bearer',
@@ -3820,8 +3595,7 @@ exports.organizationCreate = organizationCreate;
3820
3595
  * Validates whether an organization name exists
3821
3596
  */
3822
3597
  const organizationCheckNameExists = (options) => {
3823
- var _a;
3824
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3598
+ return (options.client ?? client_gen_1.client).get({
3825
3599
  security: [
3826
3600
  {
3827
3601
  scheme: 'bearer',
@@ -3834,8 +3608,7 @@ const organizationCheckNameExists = (options) => {
3834
3608
  };
3835
3609
  exports.organizationCheckNameExists = organizationCheckNameExists;
3836
3610
  const organizationDelete = (options) => {
3837
- var _a;
3838
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3611
+ return (options.client ?? client_gen_1.client).delete({
3839
3612
  security: [
3840
3613
  {
3841
3614
  scheme: 'bearer',
@@ -3852,8 +3625,7 @@ exports.organizationDelete = organizationDelete;
3852
3625
  * Retrieves detailed information about a specific organization
3853
3626
  */
3854
3627
  const organizationGet = (options) => {
3855
- var _a;
3856
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3628
+ return (options.client ?? client_gen_1.client).get({
3857
3629
  security: [
3858
3630
  {
3859
3631
  scheme: 'bearer',
@@ -3870,8 +3642,7 @@ exports.organizationGet = organizationGet;
3870
3642
  * Updates an existing organization
3871
3643
  */
3872
3644
  const organizationUpdate = (options) => {
3873
- var _a;
3874
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3645
+ return (options.client ?? client_gen_1.client).patch({
3875
3646
  security: [
3876
3647
  {
3877
3648
  scheme: 'bearer',
@@ -3892,8 +3663,7 @@ exports.organizationUpdate = organizationUpdate;
3892
3663
  * Removes specified users from an organization
3893
3664
  */
3894
3665
  const organizationRemoveUsers = (options) => {
3895
- var _a;
3896
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3666
+ return (options.client ?? client_gen_1.client).delete({
3897
3667
  security: [
3898
3668
  {
3899
3669
  scheme: 'bearer',
@@ -3914,8 +3684,7 @@ exports.organizationRemoveUsers = organizationRemoveUsers;
3914
3684
  * Assigns users to an organization
3915
3685
  */
3916
3686
  const organizationAssignUsers = (options) => {
3917
- var _a;
3918
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3687
+ return (options.client ?? client_gen_1.client).post({
3919
3688
  security: [
3920
3689
  {
3921
3690
  scheme: 'bearer',
@@ -3932,8 +3701,7 @@ const organizationAssignUsers = (options) => {
3932
3701
  };
3933
3702
  exports.organizationAssignUsers = organizationAssignUsers;
3934
3703
  const organizationRemoveGroups = (options) => {
3935
- var _a;
3936
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3704
+ return (options.client ?? client_gen_1.client).delete({
3937
3705
  security: [
3938
3706
  {
3939
3707
  scheme: 'bearer',
@@ -3950,8 +3718,7 @@ const organizationRemoveGroups = (options) => {
3950
3718
  };
3951
3719
  exports.organizationRemoveGroups = organizationRemoveGroups;
3952
3720
  const organizationAssignGroups = (options) => {
3953
- var _a;
3954
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3721
+ return (options.client ?? client_gen_1.client).post({
3955
3722
  security: [
3956
3723
  {
3957
3724
  scheme: 'bearer',
@@ -3968,8 +3735,7 @@ const organizationAssignGroups = (options) => {
3968
3735
  };
3969
3736
  exports.organizationAssignGroups = organizationAssignGroups;
3970
3737
  const organizationGetOrganizationIdByToken = (options) => {
3971
- var _a;
3972
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3738
+ return (options.client ?? client_gen_1.client).get({
3973
3739
  security: [
3974
3740
  {
3975
3741
  scheme: 'bearer',
@@ -3986,8 +3752,7 @@ exports.organizationGetOrganizationIdByToken = organizationGetOrganizationIdByTo
3986
3752
  * Enables or disables the shareable deployment feature for an organization
3987
3753
  */
3988
3754
  const organizationUpdateShareableDeploymentStatus = (options) => {
3989
- var _a;
3990
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3755
+ return (options.client ?? client_gen_1.client).post({
3991
3756
  security: [
3992
3757
  {
3993
3758
  scheme: 'bearer',
@@ -4008,8 +3773,7 @@ exports.organizationUpdateShareableDeploymentStatus = organizationUpdateShareabl
4008
3773
  * Updates the deployment token
4009
3774
  */
4010
3775
  const organizationUpdateDeploymentToken = (options) => {
4011
- var _a;
4012
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3776
+ return (options.client ?? client_gen_1.client).post({
4013
3777
  security: [
4014
3778
  {
4015
3779
  scheme: 'bearer',
@@ -4030,8 +3794,7 @@ exports.organizationUpdateDeploymentToken = organizationUpdateDeploymentToken;
4030
3794
  * Removes specified tags from an organization
4031
3795
  */
4032
3796
  const organizationRemoveTags = (options) => {
4033
- var _a;
4034
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3797
+ return (options.client ?? client_gen_1.client).delete({
4035
3798
  security: [
4036
3799
  {
4037
3800
  scheme: 'bearer',
@@ -4052,8 +3815,7 @@ exports.organizationRemoveTags = organizationRemoveTags;
4052
3815
  * Adds one or more tags to an organization
4053
3816
  */
4054
3817
  const organizationAddTags = (options) => {
4055
- var _a;
4056
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3818
+ return (options.client ?? client_gen_1.client).patch({
4057
3819
  security: [
4058
3820
  {
4059
3821
  scheme: 'bearer',
@@ -4074,8 +3836,7 @@ exports.organizationAddTags = organizationAddTags;
4074
3836
  * Retrieves a paginated list of users assigned to an organization
4075
3837
  */
4076
3838
  const organizationGetUsers = (options) => {
4077
- var _a;
4078
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3839
+ return (options.client ?? client_gen_1.client).get({
4079
3840
  security: [
4080
3841
  {
4081
3842
  scheme: 'bearer',
@@ -4088,8 +3849,7 @@ const organizationGetUsers = (options) => {
4088
3849
  };
4089
3850
  exports.organizationGetUsers = organizationGetUsers;
4090
3851
  const autoAssetTagFilter = (options) => {
4091
- var _a;
4092
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3852
+ return (options.client ?? client_gen_1.client).get({
4093
3853
  security: [
4094
3854
  {
4095
3855
  scheme: 'bearer',
@@ -4102,8 +3862,7 @@ const autoAssetTagFilter = (options) => {
4102
3862
  };
4103
3863
  exports.autoAssetTagFilter = autoAssetTagFilter;
4104
3864
  const autoAssetTagSaveAutoAssetTag = (options) => {
4105
- var _a;
4106
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3865
+ return (options.client ?? client_gen_1.client).post({
4107
3866
  security: [
4108
3867
  {
4109
3868
  scheme: 'bearer',
@@ -4120,8 +3879,7 @@ const autoAssetTagSaveAutoAssetTag = (options) => {
4120
3879
  };
4121
3880
  exports.autoAssetTagSaveAutoAssetTag = autoAssetTagSaveAutoAssetTag;
4122
3881
  const autoAssetTagDelete = (options) => {
4123
- var _a;
4124
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3882
+ return (options?.client ?? client_gen_1.client).delete({
4125
3883
  security: [
4126
3884
  {
4127
3885
  scheme: 'bearer',
@@ -4134,8 +3892,7 @@ const autoAssetTagDelete = (options) => {
4134
3892
  };
4135
3893
  exports.autoAssetTagDelete = autoAssetTagDelete;
4136
3894
  const autoAssetTagGetById = (options) => {
4137
- var _a;
4138
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3895
+ return (options?.client ?? client_gen_1.client).get({
4139
3896
  security: [
4140
3897
  {
4141
3898
  scheme: 'bearer',
@@ -4148,8 +3905,7 @@ const autoAssetTagGetById = (options) => {
4148
3905
  };
4149
3906
  exports.autoAssetTagGetById = autoAssetTagGetById;
4150
3907
  const autoAssetTagUpdateAutoAssetTag = (options) => {
4151
- var _a;
4152
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3908
+ return (options.client ?? client_gen_1.client).put({
4153
3909
  security: [
4154
3910
  {
4155
3911
  scheme: 'bearer',
@@ -4166,8 +3922,7 @@ const autoAssetTagUpdateAutoAssetTag = (options) => {
4166
3922
  };
4167
3923
  exports.autoAssetTagUpdateAutoAssetTag = autoAssetTagUpdateAutoAssetTag;
4168
3924
  const autoAssetTagAssignAutoAssetTaggingTask = (options) => {
4169
- var _a;
4170
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3925
+ return (options.client ?? client_gen_1.client).post({
4171
3926
  security: [
4172
3927
  {
4173
3928
  scheme: 'bearer',
@@ -4184,8 +3939,7 @@ const autoAssetTagAssignAutoAssetTaggingTask = (options) => {
4184
3939
  };
4185
3940
  exports.autoAssetTagAssignAutoAssetTaggingTask = autoAssetTagAssignAutoAssetTaggingTask;
4186
3941
  const autoAssetTagUpdateScheduledAatTask = (options) => {
4187
- var _a;
4188
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3942
+ return (options.client ?? client_gen_1.client).put({
4189
3943
  security: [
4190
3944
  {
4191
3945
  scheme: 'bearer',
@@ -4206,8 +3960,7 @@ exports.autoAssetTagUpdateScheduledAatTask = autoAssetTagUpdateScheduledAatTask;
4206
3960
  * Validates whether a given case name is exists
4207
3961
  */
4208
3962
  const casesCheckName = (options) => {
4209
- var _a;
4210
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3963
+ return (options.client ?? client_gen_1.client).get({
4211
3964
  security: [
4212
3965
  {
4213
3966
  scheme: 'bearer',
@@ -4220,8 +3973,7 @@ const casesCheckName = (options) => {
4220
3973
  };
4221
3974
  exports.casesCheckName = casesCheckName;
4222
3975
  const caseExportCases = (options) => {
4223
- var _a;
4224
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3976
+ return (options.client ?? client_gen_1.client).get({
4225
3977
  security: [
4226
3978
  {
4227
3979
  scheme: 'bearer',
@@ -4234,8 +3986,7 @@ const caseExportCases = (options) => {
4234
3986
  };
4235
3987
  exports.caseExportCases = caseExportCases;
4236
3988
  const caseExportCaseNotes = (options) => {
4237
- var _a;
4238
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3989
+ return (options?.client ?? client_gen_1.client).get({
4239
3990
  security: [
4240
3991
  {
4241
3992
  scheme: 'bearer',
@@ -4248,8 +3999,7 @@ const caseExportCaseNotes = (options) => {
4248
3999
  };
4249
4000
  exports.caseExportCaseNotes = caseExportCaseNotes;
4250
4001
  const caseExportCaseEndpoints = (options) => {
4251
- var _a;
4252
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4002
+ return (options.client ?? client_gen_1.client).get({
4253
4003
  security: [
4254
4004
  {
4255
4005
  scheme: 'bearer',
@@ -4262,8 +4012,7 @@ const caseExportCaseEndpoints = (options) => {
4262
4012
  };
4263
4013
  exports.caseExportCaseEndpoints = caseExportCaseEndpoints;
4264
4014
  const caseExportCaseEndpoints1 = (options) => {
4265
- var _a;
4266
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4015
+ return (options.client ?? client_gen_1.client).get({
4267
4016
  security: [
4268
4017
  {
4269
4018
  scheme: 'bearer',
@@ -4280,8 +4029,7 @@ exports.caseExportCaseEndpoints1 = caseExportCaseEndpoints1;
4280
4029
  * Fetches detailed information about a specific case
4281
4030
  */
4282
4031
  const casesGet = (options) => {
4283
- var _a;
4284
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4032
+ return (options?.client ?? client_gen_1.client).get({
4285
4033
  security: [
4286
4034
  {
4287
4035
  scheme: 'bearer',
@@ -4294,8 +4042,7 @@ const casesGet = (options) => {
4294
4042
  };
4295
4043
  exports.casesGet = casesGet;
4296
4044
  const caseUpdateCase = (options) => {
4297
- var _a;
4298
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
4045
+ return (options.client ?? client_gen_1.client).patch({
4299
4046
  security: [
4300
4047
  {
4301
4048
  scheme: 'bearer',
@@ -4316,8 +4063,7 @@ exports.caseUpdateCase = caseUpdateCase;
4316
4063
  * Retrieves a paginated list of cases accessible to the current user
4317
4064
  */
4318
4065
  const casesGetMany = (options) => {
4319
- var _a;
4320
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4066
+ return (options.client ?? client_gen_1.client).get({
4321
4067
  security: [
4322
4068
  {
4323
4069
  scheme: 'bearer',
@@ -4334,8 +4080,7 @@ exports.casesGetMany = casesGetMany;
4334
4080
  * Creates a new case with the provided details and assigns it to the current user
4335
4081
  */
4336
4082
  const casesCreate = (options) => {
4337
- var _a;
4338
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4083
+ return (options.client ?? client_gen_1.client).post({
4339
4084
  security: [
4340
4085
  {
4341
4086
  scheme: 'bearer',
@@ -4356,8 +4101,7 @@ exports.casesCreate = casesCreate;
4356
4101
  * Updates the case status to closed
4357
4102
  */
4358
4103
  const casesClose = (options) => {
4359
- var _a;
4360
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4104
+ return (options.client ?? client_gen_1.client).post({
4361
4105
  security: [
4362
4106
  {
4363
4107
  scheme: 'bearer',
@@ -4370,8 +4114,7 @@ const casesClose = (options) => {
4370
4114
  };
4371
4115
  exports.casesClose = casesClose;
4372
4116
  const caseReopenCase = (options) => {
4373
- var _a;
4374
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4117
+ return (options.client ?? client_gen_1.client).post({
4375
4118
  security: [
4376
4119
  {
4377
4120
  scheme: 'bearer',
@@ -4384,8 +4127,7 @@ const caseReopenCase = (options) => {
4384
4127
  };
4385
4128
  exports.caseReopenCase = caseReopenCase;
4386
4129
  const caseArchiveCase = (options) => {
4387
- var _a;
4388
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4130
+ return (options.client ?? client_gen_1.client).post({
4389
4131
  security: [
4390
4132
  {
4391
4133
  scheme: 'bearer',
@@ -4402,8 +4144,7 @@ exports.caseArchiveCase = caseArchiveCase;
4402
4144
  * Transfers ownership of a case to a different user within the organization
4403
4145
  */
4404
4146
  const casesChangeOwner = (options) => {
4405
- var _a;
4406
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4147
+ return (options.client ?? client_gen_1.client).post({
4407
4148
  security: [
4408
4149
  {
4409
4150
  scheme: 'bearer',
@@ -4424,8 +4165,7 @@ exports.casesChangeOwner = casesChangeOwner;
4424
4165
  * Retrieves a paginated list of tasks associated with the specified case
4425
4166
  */
4426
4167
  const casesGetTasks = (options) => {
4427
- var _a;
4428
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4168
+ return (options.client ?? client_gen_1.client).get({
4429
4169
  security: [
4430
4170
  {
4431
4171
  scheme: 'bearer',
@@ -4438,8 +4178,7 @@ const casesGetTasks = (options) => {
4438
4178
  };
4439
4179
  exports.casesGetTasks = casesGetTasks;
4440
4180
  const caseFilterTaskAssignments = (options) => {
4441
- var _a;
4442
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4181
+ return (options.client ?? client_gen_1.client).get({
4443
4182
  security: [
4444
4183
  {
4445
4184
  scheme: 'bearer',
@@ -4456,8 +4195,7 @@ exports.caseFilterTaskAssignments = caseFilterTaskAssignments;
4456
4195
  * Retrieves a paginated list of endpoints/assets linked to the specified case
4457
4196
  */
4458
4197
  const casesGetEndpoints = (options) => {
4459
- var _a;
4460
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4198
+ return (options.client ?? client_gen_1.client).get({
4461
4199
  security: [
4462
4200
  {
4463
4201
  scheme: 'bearer',
@@ -4474,8 +4212,7 @@ exports.casesGetEndpoints = casesGetEndpoints;
4474
4212
  * Retrieves a paginated list of endpoints/assets linked to the specified case
4475
4213
  */
4476
4214
  const casesGetEndpoints2 = (options) => {
4477
- var _a;
4478
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4215
+ return (options.client ?? client_gen_1.client).get({
4479
4216
  security: [
4480
4217
  {
4481
4218
  scheme: 'bearer',
@@ -4492,8 +4229,7 @@ exports.casesGetEndpoints2 = casesGetEndpoints2;
4492
4229
  * Retrieves a paginated list of activities for a case
4493
4230
  */
4494
4231
  const casesGetActivities = (options) => {
4495
- var _a;
4496
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4232
+ return (options.client ?? client_gen_1.client).get({
4497
4233
  security: [
4498
4234
  {
4499
4235
  scheme: 'bearer',
@@ -4506,8 +4242,7 @@ const casesGetActivities = (options) => {
4506
4242
  };
4507
4243
  exports.casesGetActivities = casesGetActivities;
4508
4244
  const caseExportActivities = (options) => {
4509
- var _a;
4510
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4245
+ return (options.client ?? client_gen_1.client).get({
4511
4246
  security: [
4512
4247
  {
4513
4248
  scheme: 'bearer',
@@ -4520,8 +4255,7 @@ const caseExportActivities = (options) => {
4520
4255
  };
4521
4256
  exports.caseExportActivities = caseExportActivities;
4522
4257
  const caseAddCaseNote = (options) => {
4523
- var _a;
4524
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4258
+ return (options.client ?? client_gen_1.client).post({
4525
4259
  security: [
4526
4260
  {
4527
4261
  scheme: 'bearer',
@@ -4538,8 +4272,7 @@ const caseAddCaseNote = (options) => {
4538
4272
  };
4539
4273
  exports.caseAddCaseNote = caseAddCaseNote;
4540
4274
  const caseDeleteCaseNote = (options) => {
4541
- var _a;
4542
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4275
+ return (options.client ?? client_gen_1.client).delete({
4543
4276
  security: [
4544
4277
  {
4545
4278
  scheme: 'bearer',
@@ -4552,8 +4285,7 @@ const caseDeleteCaseNote = (options) => {
4552
4285
  };
4553
4286
  exports.caseDeleteCaseNote = caseDeleteCaseNote;
4554
4287
  const caseEditCaseNote = (options) => {
4555
- var _a;
4556
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
4288
+ return (options.client ?? client_gen_1.client).patch({
4557
4289
  security: [
4558
4290
  {
4559
4291
  scheme: 'bearer',
@@ -4570,8 +4302,7 @@ const caseEditCaseNote = (options) => {
4570
4302
  };
4571
4303
  exports.caseEditCaseNote = caseEditCaseNote;
4572
4304
  const caseImportTaskAssignment = (options) => {
4573
- var _a;
4574
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4305
+ return (options.client ?? client_gen_1.client).post({
4575
4306
  security: [
4576
4307
  {
4577
4308
  scheme: 'bearer',
@@ -4592,8 +4323,7 @@ exports.caseImportTaskAssignment = caseImportTaskAssignment;
4592
4323
  * Retrieves a paginated list of users who have access to the specified case
4593
4324
  */
4594
4325
  const casesGetUsers = (options) => {
4595
- var _a;
4596
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4326
+ return (options.client ?? client_gen_1.client).get({
4597
4327
  security: [
4598
4328
  {
4599
4329
  scheme: 'bearer',
@@ -4606,8 +4336,7 @@ const casesGetUsers = (options) => {
4606
4336
  };
4607
4337
  exports.casesGetUsers = casesGetUsers;
4608
4338
  const caseRemoveEndpointsFromCaseByFilter = (options) => {
4609
- var _a;
4610
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4339
+ return (options.client ?? client_gen_1.client).delete({
4611
4340
  security: [
4612
4341
  {
4613
4342
  scheme: 'bearer',
@@ -4624,8 +4353,7 @@ const caseRemoveEndpointsFromCaseByFilter = (options) => {
4624
4353
  };
4625
4354
  exports.caseRemoveEndpointsFromCaseByFilter = caseRemoveEndpointsFromCaseByFilter;
4626
4355
  const caseRemoveEndpointsFromCaseByFilter1 = (options) => {
4627
- var _a;
4628
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4356
+ return (options.client ?? client_gen_1.client).delete({
4629
4357
  security: [
4630
4358
  {
4631
4359
  scheme: 'bearer',
@@ -4642,8 +4370,7 @@ const caseRemoveEndpointsFromCaseByFilter1 = (options) => {
4642
4370
  };
4643
4371
  exports.caseRemoveEndpointsFromCaseByFilter1 = caseRemoveEndpointsFromCaseByFilter1;
4644
4372
  const caseRemoveTaskAssignmentFromCase = (options) => {
4645
- var _a;
4646
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4373
+ return (options?.client ?? client_gen_1.client).delete({
4647
4374
  security: [
4648
4375
  {
4649
4376
  scheme: 'bearer',
@@ -4656,8 +4383,7 @@ const caseRemoveTaskAssignmentFromCase = (options) => {
4656
4383
  };
4657
4384
  exports.caseRemoveTaskAssignmentFromCase = caseRemoveTaskAssignmentFromCase;
4658
4385
  const caseTagsFilter = (options) => {
4659
- var _a;
4660
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4386
+ return (options.client ?? client_gen_1.client).get({
4661
4387
  security: [
4662
4388
  {
4663
4389
  scheme: 'bearer',
@@ -4670,8 +4396,7 @@ const caseTagsFilter = (options) => {
4670
4396
  };
4671
4397
  exports.caseTagsFilter = caseTagsFilter;
4672
4398
  const caseTagsCreate = (options) => {
4673
- var _a;
4674
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4399
+ return (options.client ?? client_gen_1.client).post({
4675
4400
  security: [
4676
4401
  {
4677
4402
  scheme: 'bearer',
@@ -4688,8 +4413,7 @@ const caseTagsCreate = (options) => {
4688
4413
  };
4689
4414
  exports.caseTagsCreate = caseTagsCreate;
4690
4415
  const caseTagsDelete = (options) => {
4691
- var _a;
4692
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4416
+ return (options.client ?? client_gen_1.client).delete({
4693
4417
  security: [
4694
4418
  {
4695
4419
  scheme: 'bearer',
@@ -4702,8 +4426,7 @@ const caseTagsDelete = (options) => {
4702
4426
  };
4703
4427
  exports.caseTagsDelete = caseTagsDelete;
4704
4428
  const caseCategoriesFilter = (options) => {
4705
- var _a;
4706
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4429
+ return (options.client ?? client_gen_1.client).get({
4707
4430
  security: [
4708
4431
  {
4709
4432
  scheme: 'bearer',
@@ -4716,8 +4439,7 @@ const caseCategoriesFilter = (options) => {
4716
4439
  };
4717
4440
  exports.caseCategoriesFilter = caseCategoriesFilter;
4718
4441
  const caseCategoriesCreate = (options) => {
4719
- var _a;
4720
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4442
+ return (options.client ?? client_gen_1.client).post({
4721
4443
  security: [
4722
4444
  {
4723
4445
  scheme: 'bearer',
@@ -4734,8 +4456,7 @@ const caseCategoriesCreate = (options) => {
4734
4456
  };
4735
4457
  exports.caseCategoriesCreate = caseCategoriesCreate;
4736
4458
  const caseCategoriesDelete = (options) => {
4737
- var _a;
4738
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4459
+ return (options.client ?? client_gen_1.client).delete({
4739
4460
  security: [
4740
4461
  {
4741
4462
  scheme: 'bearer',
@@ -4748,8 +4469,7 @@ const caseCategoriesDelete = (options) => {
4748
4469
  };
4749
4470
  exports.caseCategoriesDelete = caseCategoriesDelete;
4750
4471
  const interactLibraryFilter = (options) => {
4751
- var _a;
4752
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4472
+ return (options.client ?? client_gen_1.client).get({
4753
4473
  security: [
4754
4474
  {
4755
4475
  scheme: 'bearer',
@@ -4762,8 +4482,7 @@ const interactLibraryFilter = (options) => {
4762
4482
  };
4763
4483
  exports.interactLibraryFilter = interactLibraryFilter;
4764
4484
  const interactLibraryCheckLibraryFileExists = (options) => {
4765
- var _a;
4766
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4485
+ return (options?.client ?? client_gen_1.client).get({
4767
4486
  security: [
4768
4487
  {
4769
4488
  scheme: 'bearer',
@@ -4776,8 +4495,7 @@ const interactLibraryCheckLibraryFileExists = (options) => {
4776
4495
  };
4777
4496
  exports.interactLibraryCheckLibraryFileExists = interactLibraryCheckLibraryFileExists;
4778
4497
  const interactLibraryUpload = (options) => {
4779
- var _a;
4780
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4498
+ return (options.client ?? client_gen_1.client).post({
4781
4499
  security: [
4782
4500
  {
4783
4501
  scheme: 'bearer',
@@ -4794,8 +4512,7 @@ const interactLibraryUpload = (options) => {
4794
4512
  };
4795
4513
  exports.interactLibraryUpload = interactLibraryUpload;
4796
4514
  const interactLibraryDownload = (options) => {
4797
- var _a;
4798
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4515
+ return (options.client ?? client_gen_1.client).get({
4799
4516
  security: [
4800
4517
  {
4801
4518
  scheme: 'bearer',
@@ -4808,8 +4525,7 @@ const interactLibraryDownload = (options) => {
4808
4525
  };
4809
4526
  exports.interactLibraryDownload = interactLibraryDownload;
4810
4527
  const interactLibraryDelete = (options) => {
4811
- var _a;
4812
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4528
+ return (options.client ?? client_gen_1.client).delete({
4813
4529
  security: [
4814
4530
  {
4815
4531
  scheme: 'bearer',
@@ -4826,8 +4542,7 @@ exports.interactLibraryDelete = interactLibraryDelete;
4826
4542
  * Retrieves the list of all available InterACT commands
4827
4543
  */
4828
4544
  const interactCommandsGetMany = (options) => {
4829
- var _a;
4830
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4545
+ return (options?.client ?? client_gen_1.client).get({
4831
4546
  security: [
4832
4547
  {
4833
4548
  scheme: 'bearer',
@@ -4840,8 +4555,7 @@ const interactCommandsGetMany = (options) => {
4840
4555
  };
4841
4556
  exports.interactCommandsGetMany = interactCommandsGetMany;
4842
4557
  const interactDownload = (options) => {
4843
- var _a;
4844
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4558
+ return (options.client ?? client_gen_1.client).get({
4845
4559
  security: [
4846
4560
  {
4847
4561
  scheme: 'bearer',
@@ -4858,8 +4572,7 @@ exports.interactDownload = interactDownload;
4858
4572
  * Initiates a new InterACT shell session on a target endpoint
4859
4573
  */
4860
4574
  const interactShellAssignTask = (options) => {
4861
- var _a;
4862
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4575
+ return (options.client ?? client_gen_1.client).post({
4863
4576
  security: [
4864
4577
  {
4865
4578
  scheme: 'bearer',
@@ -4876,8 +4589,7 @@ const interactShellAssignTask = (options) => {
4876
4589
  };
4877
4590
  exports.interactShellAssignTask = interactShellAssignTask;
4878
4591
  const interactGetInterActShellReport = (options) => {
4879
- var _a;
4880
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4592
+ return (options?.client ?? client_gen_1.client).get({
4881
4593
  security: [
4882
4594
  {
4883
4595
  scheme: 'bearer',
@@ -4894,8 +4606,7 @@ exports.interactGetInterActShellReport = interactGetInterActShellReport;
4894
4606
  * Executes a command synchronously within an active InterACT session
4895
4607
  */
4896
4608
  const interactSessionExecuteCommand = (options) => {
4897
- var _a;
4898
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4609
+ return (options.client ?? client_gen_1.client).post({
4899
4610
  security: [
4900
4611
  {
4901
4612
  scheme: 'bearer',
@@ -4916,8 +4627,7 @@ exports.interactSessionExecuteCommand = interactSessionExecuteCommand;
4916
4627
  * Executes a command asynchronously within an active InterACT session
4917
4628
  */
4918
4629
  const interactSessionExecuteAsyncCommand = (options) => {
4919
- var _a;
4920
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4630
+ return (options.client ?? client_gen_1.client).post({
4921
4631
  security: [
4922
4632
  {
4923
4633
  scheme: 'bearer',
@@ -4938,8 +4648,7 @@ exports.interactSessionExecuteAsyncCommand = interactSessionExecuteAsyncCommand;
4938
4648
  * Terminates a currently executing command within an InterACT session
4939
4649
  */
4940
4650
  const interactSessionInterruptCommand = (options) => {
4941
- var _a;
4942
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4651
+ return (options.client ?? client_gen_1.client).post({
4943
4652
  security: [
4944
4653
  {
4945
4654
  scheme: 'bearer',
@@ -4956,8 +4665,7 @@ exports.interactSessionInterruptCommand = interactSessionInterruptCommand;
4956
4665
  * Terminates an active InterACT session
4957
4666
  */
4958
4667
  const interactSessionClose = (options) => {
4959
- var _a;
4960
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4668
+ return (options.client ?? client_gen_1.client).post({
4961
4669
  security: [
4962
4670
  {
4963
4671
  scheme: 'bearer',
@@ -4974,8 +4682,7 @@ exports.interactSessionClose = interactSessionClose;
4974
4682
  * Retrieves the response and output of a previously executed command
4975
4683
  */
4976
4684
  const interactSessionGetCommandMessage = (options) => {
4977
- var _a;
4978
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4685
+ return (options.client ?? client_gen_1.client).get({
4979
4686
  security: [
4980
4687
  {
4981
4688
  scheme: 'bearer',
@@ -4988,8 +4695,7 @@ const interactSessionGetCommandMessage = (options) => {
4988
4695
  };
4989
4696
  exports.interactSessionGetCommandMessage = interactSessionGetCommandMessage;
4990
4697
  const multipartUploadInitializeHead = (options) => {
4991
- var _a;
4992
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).head({
4698
+ return (options?.client ?? client_gen_1.client).head({
4993
4699
  security: [
4994
4700
  {
4995
4701
  scheme: 'bearer',
@@ -5002,8 +4708,7 @@ const multipartUploadInitializeHead = (options) => {
5002
4708
  };
5003
4709
  exports.multipartUploadInitializeHead = multipartUploadInitializeHead;
5004
4710
  const multipartUploadInitialize = (options) => {
5005
- var _a;
5006
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4711
+ return (options?.client ?? client_gen_1.client).post({
5007
4712
  security: [
5008
4713
  {
5009
4714
  scheme: 'bearer',
@@ -5016,8 +4721,7 @@ const multipartUploadInitialize = (options) => {
5016
4721
  };
5017
4722
  exports.multipartUploadInitialize = multipartUploadInitialize;
5018
4723
  const multipartUploadFinalize = (options) => {
5019
- var _a;
5020
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4724
+ return (options?.client ?? client_gen_1.client).post({
5021
4725
  security: [
5022
4726
  {
5023
4727
  scheme: 'bearer',
@@ -5030,8 +4734,7 @@ const multipartUploadFinalize = (options) => {
5030
4734
  };
5031
4735
  exports.multipartUploadFinalize = multipartUploadFinalize;
5032
4736
  const multipartUploadIsReady = (options) => {
5033
- var _a;
5034
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4737
+ return (options.client ?? client_gen_1.client).get({
5035
4738
  security: [
5036
4739
  {
5037
4740
  scheme: 'bearer',
@@ -5044,8 +4747,7 @@ const multipartUploadIsReady = (options) => {
5044
4747
  };
5045
4748
  exports.multipartUploadIsReady = multipartUploadIsReady;
5046
4749
  const multipartUploadDeleteFileParts = (options) => {
5047
- var _a;
5048
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4750
+ return (options?.client ?? client_gen_1.client).post({
5049
4751
  security: [
5050
4752
  {
5051
4753
  scheme: 'bearer',
@@ -5058,8 +4760,7 @@ const multipartUploadDeleteFileParts = (options) => {
5058
4760
  };
5059
4761
  exports.multipartUploadDeleteFileParts = multipartUploadDeleteFileParts;
5060
4762
  const multipartUploadUploadPart = (options) => {
5061
- var _a;
5062
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
4763
+ return (options.client ?? client_gen_1.client).put({
5063
4764
  security: [
5064
4765
  {
5065
4766
  scheme: 'bearer',
@@ -5080,8 +4781,7 @@ exports.multipartUploadUploadPart = multipartUploadUploadPart;
5080
4781
  * Compare two baseline acquisition results from the same endpoint
5081
4782
  */
5082
4783
  const baselineCompare = (options) => {
5083
- var _a;
5084
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4784
+ return (options.client ?? client_gen_1.client).post({
5085
4785
  security: [
5086
4786
  {
5087
4787
  scheme: 'bearer',
@@ -5102,8 +4802,7 @@ exports.baselineCompare = baselineCompare;
5102
4802
  * Acquire baseline evidence from endpoints by filter
5103
4803
  */
5104
4804
  const baselineAcquire = (options) => {
5105
- var _a;
5106
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4805
+ return (options.client ?? client_gen_1.client).post({
5107
4806
  security: [
5108
4807
  {
5109
4808
  scheme: 'bearer',
@@ -5124,8 +4823,7 @@ exports.baselineAcquire = baselineAcquire;
5124
4823
  * Retrieve the HTML report for a completed baseline comparison task.
5125
4824
  */
5126
4825
  const baselineGetComparisonReport = (options) => {
5127
- var _a;
5128
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4826
+ return (options.client ?? client_gen_1.client).get({
5129
4827
  security: [
5130
4828
  {
5131
4829
  scheme: 'bearer',
@@ -5138,8 +4836,7 @@ const baselineGetComparisonReport = (options) => {
5138
4836
  };
5139
4837
  exports.baselineGetComparisonReport = baselineGetComparisonReport;
5140
4838
  const baselineGetComparisonReportByVendorDeviceId = (options) => {
5141
- var _a;
5142
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4839
+ return (options.client ?? client_gen_1.client).get({
5143
4840
  security: [
5144
4841
  {
5145
4842
  scheme: 'bearer',
@@ -5156,8 +4853,7 @@ exports.baselineGetComparisonReportByVendorDeviceId = baselineGetComparisonRepor
5156
4853
  * Get all API tokens
5157
4854
  */
5158
4855
  const apiTokensGetMany = (options) => {
5159
- var _a;
5160
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4856
+ return (options.client ?? client_gen_1.client).get({
5161
4857
  security: [
5162
4858
  {
5163
4859
  scheme: 'bearer',
@@ -5174,8 +4870,7 @@ exports.apiTokensGetMany = apiTokensGetMany;
5174
4870
  * Create a new API token with the specified name, description, expiration date, and role
5175
4871
  */
5176
4872
  const apiTokensCreate = (options) => {
5177
- var _a;
5178
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4873
+ return (options.client ?? client_gen_1.client).post({
5179
4874
  security: [
5180
4875
  {
5181
4876
  scheme: 'bearer',
@@ -5196,8 +4891,7 @@ exports.apiTokensCreate = apiTokensCreate;
5196
4891
  * Delete an existing API token by ID
5197
4892
  */
5198
4893
  const apiTokensDelete = (options) => {
5199
- var _a;
5200
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4894
+ return (options.client ?? client_gen_1.client).delete({
5201
4895
  security: [
5202
4896
  {
5203
4897
  scheme: 'bearer',
@@ -5214,8 +4908,7 @@ exports.apiTokensDelete = apiTokensDelete;
5214
4908
  * Retrieve a specific API token
5215
4909
  */
5216
4910
  const apiTokensGetOne = (options) => {
5217
- var _a;
5218
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4911
+ return (options.client ?? client_gen_1.client).get({
5219
4912
  security: [
5220
4913
  {
5221
4914
  scheme: 'bearer',
@@ -5232,8 +4925,7 @@ exports.apiTokensGetOne = apiTokensGetOne;
5232
4925
  * Update an existing API token
5233
4926
  */
5234
4927
  const apiTokensUpdate = (options) => {
5235
- var _a;
5236
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
4928
+ return (options.client ?? client_gen_1.client).put({
5237
4929
  security: [
5238
4930
  {
5239
4931
  scheme: 'bearer',
@@ -5250,8 +4942,7 @@ const apiTokensUpdate = (options) => {
5250
4942
  };
5251
4943
  exports.apiTokensUpdate = apiTokensUpdate;
5252
4944
  const cloudAccountsFilter = (options) => {
5253
- var _a;
5254
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4945
+ return (options.client ?? client_gen_1.client).get({
5255
4946
  security: [
5256
4947
  {
5257
4948
  scheme: 'bearer',
@@ -5264,8 +4955,7 @@ const cloudAccountsFilter = (options) => {
5264
4955
  };
5265
4956
  exports.cloudAccountsFilter = cloudAccountsFilter;
5266
4957
  const cloudAccountsCreateCloudAccount = (options) => {
5267
- var _a;
5268
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4958
+ return (options.client ?? client_gen_1.client).post({
5269
4959
  security: [
5270
4960
  {
5271
4961
  scheme: 'bearer',
@@ -5282,8 +4972,7 @@ const cloudAccountsCreateCloudAccount = (options) => {
5282
4972
  };
5283
4973
  exports.cloudAccountsCreateCloudAccount = cloudAccountsCreateCloudAccount;
5284
4974
  const cloudAccountsExport = (options) => {
5285
- var _a;
5286
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4975
+ return (options.client ?? client_gen_1.client).get({
5287
4976
  security: [
5288
4977
  {
5289
4978
  scheme: 'bearer',
@@ -5296,8 +4985,7 @@ const cloudAccountsExport = (options) => {
5296
4985
  };
5297
4986
  exports.cloudAccountsExport = cloudAccountsExport;
5298
4987
  const cloudAccountsDelete = (options) => {
5299
- var _a;
5300
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4988
+ return (options.client ?? client_gen_1.client).delete({
5301
4989
  security: [
5302
4990
  {
5303
4991
  scheme: 'bearer',
@@ -5310,8 +4998,7 @@ const cloudAccountsDelete = (options) => {
5310
4998
  };
5311
4999
  exports.cloudAccountsDelete = cloudAccountsDelete;
5312
5000
  const cloudAccountsGetCloudAccountById = (options) => {
5313
- var _a;
5314
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5001
+ return (options.client ?? client_gen_1.client).get({
5315
5002
  security: [
5316
5003
  {
5317
5004
  scheme: 'bearer',
@@ -5324,8 +5011,7 @@ const cloudAccountsGetCloudAccountById = (options) => {
5324
5011
  };
5325
5012
  exports.cloudAccountsGetCloudAccountById = cloudAccountsGetCloudAccountById;
5326
5013
  const cloudAccountsUpdateCloudAccount = (options) => {
5327
- var _a;
5328
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
5014
+ return (options.client ?? client_gen_1.client).patch({
5329
5015
  security: [
5330
5016
  {
5331
5017
  scheme: 'bearer',
@@ -5342,8 +5028,7 @@ const cloudAccountsUpdateCloudAccount = (options) => {
5342
5028
  };
5343
5029
  exports.cloudAccountsUpdateCloudAccount = cloudAccountsUpdateCloudAccount;
5344
5030
  const cloudAccountsSyncCloudAccount = (options) => {
5345
- var _a;
5346
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5031
+ return (options.client ?? client_gen_1.client).get({
5347
5032
  security: [
5348
5033
  {
5349
5034
  scheme: 'bearer',
@@ -5356,8 +5041,7 @@ const cloudAccountsSyncCloudAccount = (options) => {
5356
5041
  };
5357
5042
  exports.cloudAccountsSyncCloudAccount = cloudAccountsSyncCloudAccount;
5358
5043
  const cloudAccountsSyncAllCloudAccount = (options) => {
5359
- var _a;
5360
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5044
+ return (options.client ?? client_gen_1.client).get({
5361
5045
  security: [
5362
5046
  {
5363
5047
  scheme: 'bearer',
@@ -5370,8 +5054,7 @@ const cloudAccountsSyncAllCloudAccount = (options) => {
5370
5054
  };
5371
5055
  exports.cloudAccountsSyncAllCloudAccount = cloudAccountsSyncAllCloudAccount;
5372
5056
  const investigationGetInvestigationById = (options) => {
5373
- var _a;
5374
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5057
+ return (options.client ?? client_gen_1.client).get({
5375
5058
  security: [
5376
5059
  {
5377
5060
  scheme: 'bearer',
@@ -5384,8 +5067,7 @@ const investigationGetInvestigationById = (options) => {
5384
5067
  };
5385
5068
  exports.investigationGetInvestigationById = investigationGetInvestigationById;
5386
5069
  const investigationUpdateInvestigation = (options) => {
5387
- var _a;
5388
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5070
+ return (options.client ?? client_gen_1.client).put({
5389
5071
  security: [
5390
5072
  {
5391
5073
  scheme: 'bearer',
@@ -5402,8 +5084,7 @@ const investigationUpdateInvestigation = (options) => {
5402
5084
  };
5403
5085
  exports.investigationUpdateInvestigation = investigationUpdateInvestigation;
5404
5086
  const investigationGetSectionDataStructure = (options) => {
5405
- var _a;
5406
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5087
+ return (options.client ?? client_gen_1.client).get({
5407
5088
  security: [
5408
5089
  {
5409
5090
  scheme: 'bearer',
@@ -5416,8 +5097,7 @@ const investigationGetSectionDataStructure = (options) => {
5416
5097
  };
5417
5098
  exports.investigationGetSectionDataStructure = investigationGetSectionDataStructure;
5418
5099
  const investigationGetSectionData = (options) => {
5419
- var _a;
5420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5100
+ return (options.client ?? client_gen_1.client).post({
5421
5101
  security: [
5422
5102
  {
5423
5103
  scheme: 'bearer',
@@ -5434,8 +5114,7 @@ const investigationGetSectionData = (options) => {
5434
5114
  };
5435
5115
  exports.investigationGetSectionData = investigationGetSectionData;
5436
5116
  const investigationExportFlags = (options) => {
5437
- var _a;
5438
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5117
+ return (options.client ?? client_gen_1.client).get({
5439
5118
  security: [
5440
5119
  {
5441
5120
  scheme: 'bearer',
@@ -5448,8 +5127,7 @@ const investigationExportFlags = (options) => {
5448
5127
  };
5449
5128
  exports.investigationExportFlags = investigationExportFlags;
5450
5129
  const investigationCreateExportRequestForFlags = (options) => {
5451
- var _a;
5452
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5130
+ return (options.client ?? client_gen_1.client).post({
5453
5131
  security: [
5454
5132
  {
5455
5133
  scheme: 'bearer',
@@ -5466,8 +5144,7 @@ const investigationCreateExportRequestForFlags = (options) => {
5466
5144
  };
5467
5145
  exports.investigationCreateExportRequestForFlags = investigationCreateExportRequestForFlags;
5468
5146
  const investigationExportSectionData = (options) => {
5469
- var _a;
5470
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5147
+ return (options.client ?? client_gen_1.client).get({
5471
5148
  security: [
5472
5149
  {
5473
5150
  scheme: 'bearer',
@@ -5480,8 +5157,7 @@ const investigationExportSectionData = (options) => {
5480
5157
  };
5481
5158
  exports.investigationExportSectionData = investigationExportSectionData;
5482
5159
  const investigationCreateExportRequestForSectionData = (options) => {
5483
- var _a;
5484
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5160
+ return (options.client ?? client_gen_1.client).post({
5485
5161
  security: [
5486
5162
  {
5487
5163
  scheme: 'bearer',
@@ -5498,8 +5174,7 @@ const investigationCreateExportRequestForSectionData = (options) => {
5498
5174
  };
5499
5175
  exports.investigationCreateExportRequestForSectionData = investigationCreateExportRequestForSectionData;
5500
5176
  const investigationGetAssetsByInvestigationId = (options) => {
5501
- var _a;
5502
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5177
+ return (options.client ?? client_gen_1.client).get({
5503
5178
  security: [
5504
5179
  {
5505
5180
  scheme: 'bearer',
@@ -5512,8 +5187,7 @@ const investigationGetAssetsByInvestigationId = (options) => {
5512
5187
  };
5513
5188
  exports.investigationGetAssetsByInvestigationId = investigationGetAssetsByInvestigationId;
5514
5189
  const investigationGetSectionsByEndpoints = (options) => {
5515
- var _a;
5516
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5190
+ return (options.client ?? client_gen_1.client).post({
5517
5191
  security: [
5518
5192
  {
5519
5193
  scheme: 'bearer',
@@ -5530,8 +5204,7 @@ const investigationGetSectionsByEndpoints = (options) => {
5530
5204
  };
5531
5205
  exports.investigationGetSectionsByEndpoints = investigationGetSectionsByEndpoints;
5532
5206
  const investigationGetSummary = (options) => {
5533
- var _a;
5534
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5207
+ return (options.client ?? client_gen_1.client).post({
5535
5208
  security: [
5536
5209
  {
5537
5210
  scheme: 'bearer',
@@ -5548,8 +5221,7 @@ const investigationGetSummary = (options) => {
5548
5221
  };
5549
5222
  exports.investigationGetSummary = investigationGetSummary;
5550
5223
  const investigationGetFindingDataStructure = (options) => {
5551
- var _a;
5552
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5224
+ return (options.client ?? client_gen_1.client).get({
5553
5225
  security: [
5554
5226
  {
5555
5227
  scheme: 'bearer',
@@ -5562,8 +5234,7 @@ const investigationGetFindingDataStructure = (options) => {
5562
5234
  };
5563
5235
  exports.investigationGetFindingDataStructure = investigationGetFindingDataStructure;
5564
5236
  const investigationFilterEndpointFindings = (options) => {
5565
- var _a;
5566
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5237
+ return (options.client ?? client_gen_1.client).post({
5567
5238
  security: [
5568
5239
  {
5569
5240
  scheme: 'bearer',
@@ -5580,8 +5251,7 @@ const investigationFilterEndpointFindings = (options) => {
5580
5251
  };
5581
5252
  exports.investigationFilterEndpointFindings = investigationFilterEndpointFindings;
5582
5253
  const investigationGetFindingsSummary = (options) => {
5583
- var _a;
5584
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5254
+ return (options.client ?? client_gen_1.client).post({
5585
5255
  security: [
5586
5256
  {
5587
5257
  scheme: 'bearer',
@@ -5598,8 +5268,7 @@ const investigationGetFindingsSummary = (options) => {
5598
5268
  };
5599
5269
  exports.investigationGetFindingsSummary = investigationGetFindingsSummary;
5600
5270
  const investigationGetMitreMatches = (options) => {
5601
- var _a;
5602
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5271
+ return (options.client ?? client_gen_1.client).post({
5603
5272
  security: [
5604
5273
  {
5605
5274
  scheme: 'bearer',
@@ -5616,8 +5285,7 @@ const investigationGetMitreMatches = (options) => {
5616
5285
  };
5617
5286
  exports.investigationGetMitreMatches = investigationGetMitreMatches;
5618
5287
  const investigationGlobalSearch = (options) => {
5619
- var _a;
5620
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5288
+ return (options.client ?? client_gen_1.client).post({
5621
5289
  security: [
5622
5290
  {
5623
5291
  scheme: 'bearer',
@@ -5634,8 +5302,7 @@ const investigationGlobalSearch = (options) => {
5634
5302
  };
5635
5303
  exports.investigationGlobalSearch = investigationGlobalSearch;
5636
5304
  const investigationEvidenceCounts = (options) => {
5637
- var _a;
5638
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5305
+ return (options.client ?? client_gen_1.client).post({
5639
5306
  security: [
5640
5307
  {
5641
5308
  scheme: 'bearer',
@@ -5652,8 +5319,7 @@ const investigationEvidenceCounts = (options) => {
5652
5319
  };
5653
5320
  exports.investigationEvidenceCounts = investigationEvidenceCounts;
5654
5321
  const investigationRemoveEvidenceFlag = (options) => {
5655
- var _a;
5656
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5322
+ return (options.client ?? client_gen_1.client).delete({
5657
5323
  security: [
5658
5324
  {
5659
5325
  scheme: 'bearer',
@@ -5670,8 +5336,7 @@ const investigationRemoveEvidenceFlag = (options) => {
5670
5336
  };
5671
5337
  exports.investigationRemoveEvidenceFlag = investigationRemoveEvidenceFlag;
5672
5338
  const investigationFlagEvidence = (options) => {
5673
- var _a;
5674
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5339
+ return (options.client ?? client_gen_1.client).post({
5675
5340
  security: [
5676
5341
  {
5677
5342
  scheme: 'bearer',
@@ -5688,8 +5353,7 @@ const investigationFlagEvidence = (options) => {
5688
5353
  };
5689
5354
  exports.investigationFlagEvidence = investigationFlagEvidence;
5690
5355
  const investigationUpdateEvidenceNote = (options) => {
5691
- var _a;
5692
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5356
+ return (options.client ?? client_gen_1.client).put({
5693
5357
  security: [
5694
5358
  {
5695
5359
  scheme: 'bearer',
@@ -5706,8 +5370,7 @@ const investigationUpdateEvidenceNote = (options) => {
5706
5370
  };
5707
5371
  exports.investigationUpdateEvidenceNote = investigationUpdateEvidenceNote;
5708
5372
  const investigationCreateSection = (options) => {
5709
- var _a;
5710
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5373
+ return (options.client ?? client_gen_1.client).post({
5711
5374
  security: [
5712
5375
  {
5713
5376
  scheme: 'bearer',
@@ -5724,8 +5387,7 @@ const investigationCreateSection = (options) => {
5724
5387
  };
5725
5388
  exports.investigationCreateSection = investigationCreateSection;
5726
5389
  const investigationUpdateSection = (options) => {
5727
- var _a;
5728
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5390
+ return (options.client ?? client_gen_1.client).post({
5729
5391
  security: [
5730
5392
  {
5731
5393
  scheme: 'bearer',
@@ -5742,8 +5404,7 @@ const investigationUpdateSection = (options) => {
5742
5404
  };
5743
5405
  exports.investigationUpdateSection = investigationUpdateSection;
5744
5406
  const investigationImportDataToSection = (options) => {
5745
- var _a;
5746
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5407
+ return (options.client ?? client_gen_1.client).post({
5747
5408
  security: [
5748
5409
  {
5749
5410
  scheme: 'bearer',
@@ -5760,8 +5421,7 @@ const investigationImportDataToSection = (options) => {
5760
5421
  };
5761
5422
  exports.investigationImportDataToSection = investigationImportDataToSection;
5762
5423
  const investigationGetAllImports = (options) => {
5763
- var _a;
5764
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5424
+ return (options.client ?? client_gen_1.client).post({
5765
5425
  security: [
5766
5426
  {
5767
5427
  scheme: 'bearer',
@@ -5778,8 +5438,7 @@ const investigationGetAllImports = (options) => {
5778
5438
  };
5779
5439
  exports.investigationGetAllImports = investigationGetAllImports;
5780
5440
  const investigationDeleteImport = (options) => {
5781
- var _a;
5782
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5441
+ return (options.client ?? client_gen_1.client).delete({
5783
5442
  security: [
5784
5443
  {
5785
5444
  scheme: 'bearer',
@@ -5792,8 +5451,7 @@ const investigationDeleteImport = (options) => {
5792
5451
  };
5793
5452
  exports.investigationDeleteImport = investigationDeleteImport;
5794
5453
  const investigationGetImportErrors = (options) => {
5795
- var _a;
5796
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5454
+ return (options.client ?? client_gen_1.client).post({
5797
5455
  security: [
5798
5456
  {
5799
5457
  scheme: 'bearer',
@@ -5810,8 +5468,7 @@ const investigationGetImportErrors = (options) => {
5810
5468
  };
5811
5469
  exports.investigationGetImportErrors = investigationGetImportErrors;
5812
5470
  const investigationImportPstEvidencesToInvestigation = (options) => {
5813
- var _a;
5814
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5471
+ return (options.client ?? client_gen_1.client).post({
5815
5472
  security: [
5816
5473
  {
5817
5474
  scheme: 'bearer',
@@ -5828,8 +5485,7 @@ const investigationImportPstEvidencesToInvestigation = (options) => {
5828
5485
  };
5829
5486
  exports.investigationImportPstEvidencesToInvestigation = investigationImportPstEvidencesToInvestigation;
5830
5487
  const investigationRetryImportTaskAssignment = (options) => {
5831
- var _a;
5832
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5488
+ return (options.client ?? client_gen_1.client).post({
5833
5489
  security: [
5834
5490
  {
5835
5491
  scheme: 'bearer',
@@ -5846,8 +5502,7 @@ const investigationRetryImportTaskAssignment = (options) => {
5846
5502
  };
5847
5503
  exports.investigationRetryImportTaskAssignment = investigationRetryImportTaskAssignment;
5848
5504
  const investigationMarkInvestigationEvidenceAsFinding = (options) => {
5849
- var _a;
5850
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5505
+ return (options.client ?? client_gen_1.client).post({
5851
5506
  security: [
5852
5507
  {
5853
5508
  scheme: 'bearer',
@@ -5864,8 +5519,7 @@ const investigationMarkInvestigationEvidenceAsFinding = (options) => {
5864
5519
  };
5865
5520
  exports.investigationMarkInvestigationEvidenceAsFinding = investigationMarkInvestigationEvidenceAsFinding;
5866
5521
  const investigationUpdateInvestigationFinding = (options) => {
5867
- var _a;
5868
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5522
+ return (options.client ?? client_gen_1.client).put({
5869
5523
  security: [
5870
5524
  {
5871
5525
  scheme: 'bearer',
@@ -5882,8 +5536,7 @@ const investigationUpdateInvestigationFinding = (options) => {
5882
5536
  };
5883
5537
  exports.investigationUpdateInvestigationFinding = investigationUpdateInvestigationFinding;
5884
5538
  const investigationGetInvestigationTaskAssignmentForImportedEvidence = (options) => {
5885
- var _a;
5886
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5539
+ return (options.client ?? client_gen_1.client).get({
5887
5540
  security: [
5888
5541
  {
5889
5542
  scheme: 'bearer',
@@ -5896,8 +5549,7 @@ const investigationGetInvestigationTaskAssignmentForImportedEvidence = (options)
5896
5549
  };
5897
5550
  exports.investigationGetInvestigationTaskAssignmentForImportedEvidence = investigationGetInvestigationTaskAssignmentForImportedEvidence;
5898
5551
  const investigationGetInvestigationTaskAssignmentDataImportProgress = (options) => {
5899
- var _a;
5900
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5552
+ return (options.client ?? client_gen_1.client).get({
5901
5553
  security: [
5902
5554
  {
5903
5555
  scheme: 'bearer',
@@ -5910,8 +5562,7 @@ const investigationGetInvestigationTaskAssignmentDataImportProgress = (options)
5910
5562
  };
5911
5563
  exports.investigationGetInvestigationTaskAssignmentDataImportProgress = investigationGetInvestigationTaskAssignmentDataImportProgress;
5912
5564
  const investigationGetInvestigationHubDataImportProgress = (options) => {
5913
- var _a;
5914
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5565
+ return (options.client ?? client_gen_1.client).get({
5915
5566
  security: [
5916
5567
  {
5917
5568
  scheme: 'bearer',
@@ -5924,8 +5575,7 @@ const investigationGetInvestigationHubDataImportProgress = (options) => {
5924
5575
  };
5925
5576
  exports.investigationGetInvestigationHubDataImportProgress = investigationGetInvestigationHubDataImportProgress;
5926
5577
  const investigationExportFindingsData = (options) => {
5927
- var _a;
5928
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5578
+ return (options.client ?? client_gen_1.client).get({
5929
5579
  security: [
5930
5580
  {
5931
5581
  scheme: 'bearer',
@@ -5938,8 +5588,7 @@ const investigationExportFindingsData = (options) => {
5938
5588
  };
5939
5589
  exports.investigationExportFindingsData = investigationExportFindingsData;
5940
5590
  const investigationCreateExportRequestForFindings = (options) => {
5941
- var _a;
5942
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5591
+ return (options.client ?? client_gen_1.client).post({
5943
5592
  security: [
5944
5593
  {
5945
5594
  scheme: 'bearer',
@@ -5956,8 +5605,7 @@ const investigationCreateExportRequestForFindings = (options) => {
5956
5605
  };
5957
5606
  exports.investigationCreateExportRequestForFindings = investigationCreateExportRequestForFindings;
5958
5607
  const investigationImportTornadoEvidenceToInvestigation = (options) => {
5959
- var _a;
5960
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5608
+ return (options.client ?? client_gen_1.client).post({
5961
5609
  security: [
5962
5610
  {
5963
5611
  scheme: 'bearer',
@@ -5974,8 +5622,7 @@ const investigationImportTornadoEvidenceToInvestigation = (options) => {
5974
5622
  };
5975
5623
  exports.investigationImportTornadoEvidenceToInvestigation = investigationImportTornadoEvidenceToInvestigation;
5976
5624
  const investigationImportTornadoEvidenceToInvestigation1 = (options) => {
5977
- var _a;
5978
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5625
+ return (options.client ?? client_gen_1.client).post({
5979
5626
  security: [
5980
5627
  {
5981
5628
  scheme: 'bearer',
@@ -5992,8 +5639,7 @@ const investigationImportTornadoEvidenceToInvestigation1 = (options) => {
5992
5639
  };
5993
5640
  exports.investigationImportTornadoEvidenceToInvestigation1 = investigationImportTornadoEvidenceToInvestigation1;
5994
5641
  const investigationExclusionAddFindingExclusionRule = (options) => {
5995
- var _a;
5996
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5642
+ return (options.client ?? client_gen_1.client).post({
5997
5643
  security: [
5998
5644
  {
5999
5645
  scheme: 'bearer',
@@ -6010,8 +5656,7 @@ const investigationExclusionAddFindingExclusionRule = (options) => {
6010
5656
  };
6011
5657
  exports.investigationExclusionAddFindingExclusionRule = investigationExclusionAddFindingExclusionRule;
6012
5658
  const investigationExclusionGetFindingExclusionRulesMatches = (options) => {
6013
- var _a;
6014
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5659
+ return (options.client ?? client_gen_1.client).post({
6015
5660
  security: [
6016
5661
  {
6017
5662
  scheme: 'bearer',
@@ -6028,8 +5673,7 @@ const investigationExclusionGetFindingExclusionRulesMatches = (options) => {
6028
5673
  };
6029
5674
  exports.investigationExclusionGetFindingExclusionRulesMatches = investigationExclusionGetFindingExclusionRulesMatches;
6030
5675
  const investigationExclusionDeleteFindingExclusionRule = (options) => {
6031
- var _a;
6032
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5676
+ return (options.client ?? client_gen_1.client).delete({
6033
5677
  security: [
6034
5678
  {
6035
5679
  scheme: 'bearer',
@@ -6046,8 +5690,7 @@ const investigationExclusionDeleteFindingExclusionRule = (options) => {
6046
5690
  };
6047
5691
  exports.investigationExclusionDeleteFindingExclusionRule = investigationExclusionDeleteFindingExclusionRule;
6048
5692
  const investigationExclusionFilterFindingExclusionRules = (options) => {
6049
- var _a;
6050
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5693
+ return (options.client ?? client_gen_1.client).post({
6051
5694
  security: [
6052
5695
  {
6053
5696
  scheme: 'bearer',
@@ -6064,8 +5707,7 @@ const investigationExclusionFilterFindingExclusionRules = (options) => {
6064
5707
  };
6065
5708
  exports.investigationExclusionFilterFindingExclusionRules = investigationExclusionFilterFindingExclusionRules;
6066
5709
  const investigationExclusionGetExclusionReasons = (options) => {
6067
- var _a;
6068
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5710
+ return (options?.client ?? client_gen_1.client).get({
6069
5711
  security: [
6070
5712
  {
6071
5713
  scheme: 'bearer',
@@ -6078,8 +5720,7 @@ const investigationExclusionGetExclusionReasons = (options) => {
6078
5720
  };
6079
5721
  exports.investigationExclusionGetExclusionReasons = investigationExclusionGetExclusionReasons;
6080
5722
  const investigationExclusionApplyFindingExclusionRuleForOrganization = (options) => {
6081
- var _a;
6082
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5723
+ return (options.client ?? client_gen_1.client).post({
6083
5724
  security: [
6084
5725
  {
6085
5726
  scheme: 'bearer',
@@ -6096,8 +5737,7 @@ const investigationExclusionApplyFindingExclusionRuleForOrganization = (options)
6096
5737
  };
6097
5738
  exports.investigationExclusionApplyFindingExclusionRuleForOrganization = investigationExclusionApplyFindingExclusionRuleForOrganization;
6098
5739
  const investigationExclusionApplyFindingExclusionRuleForAllAssets = (options) => {
6099
- var _a;
6100
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5740
+ return (options.client ?? client_gen_1.client).post({
6101
5741
  security: [
6102
5742
  {
6103
5743
  scheme: 'bearer',
@@ -6110,8 +5750,7 @@ const investigationExclusionApplyFindingExclusionRuleForAllAssets = (options) =>
6110
5750
  };
6111
5751
  exports.investigationExclusionApplyFindingExclusionRuleForAllAssets = investigationExclusionApplyFindingExclusionRuleForAllAssets;
6112
5752
  const investigationExclusionDeleteIndividualFindingExclusionRule = (options) => {
6113
- var _a;
6114
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5753
+ return (options.client ?? client_gen_1.client).delete({
6115
5754
  security: [
6116
5755
  {
6117
5756
  scheme: 'bearer',
@@ -6128,8 +5767,7 @@ const investigationExclusionDeleteIndividualFindingExclusionRule = (options) =>
6128
5767
  };
6129
5768
  exports.investigationExclusionDeleteIndividualFindingExclusionRule = investigationExclusionDeleteIndividualFindingExclusionRule;
6130
5769
  const investigationReportExportReports = (options) => {
6131
- var _a;
6132
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5770
+ return (options.client ?? client_gen_1.client).get({
6133
5771
  security: [
6134
5772
  {
6135
5773
  scheme: 'bearer',
@@ -6142,8 +5780,7 @@ const investigationReportExportReports = (options) => {
6142
5780
  };
6143
5781
  exports.investigationReportExportReports = investigationReportExportReports;
6144
5782
  const investigationReportFilterReports = (options) => {
6145
- var _a;
6146
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5783
+ return (options.client ?? client_gen_1.client).get({
6147
5784
  security: [
6148
5785
  {
6149
5786
  scheme: 'bearer',
@@ -6156,8 +5793,7 @@ const investigationReportFilterReports = (options) => {
6156
5793
  };
6157
5794
  exports.investigationReportFilterReports = investigationReportFilterReports;
6158
5795
  const investigationReportCreateReport = (options) => {
6159
- var _a;
6160
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5796
+ return (options.client ?? client_gen_1.client).post({
6161
5797
  security: [
6162
5798
  {
6163
5799
  scheme: 'bearer',
@@ -6174,8 +5810,7 @@ const investigationReportCreateReport = (options) => {
6174
5810
  };
6175
5811
  exports.investigationReportCreateReport = investigationReportCreateReport;
6176
5812
  const investigationReportDeleteReport = (options) => {
6177
- var _a;
6178
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5813
+ return (options.client ?? client_gen_1.client).delete({
6179
5814
  security: [
6180
5815
  {
6181
5816
  scheme: 'bearer',
@@ -6188,8 +5823,7 @@ const investigationReportDeleteReport = (options) => {
6188
5823
  };
6189
5824
  exports.investigationReportDeleteReport = investigationReportDeleteReport;
6190
5825
  const investigationReportGetReport = (options) => {
6191
- var _a;
6192
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5826
+ return (options.client ?? client_gen_1.client).get({
6193
5827
  security: [
6194
5828
  {
6195
5829
  scheme: 'bearer',
@@ -6202,8 +5836,7 @@ const investigationReportGetReport = (options) => {
6202
5836
  };
6203
5837
  exports.investigationReportGetReport = investigationReportGetReport;
6204
5838
  const investigationReportUpdateReport = (options) => {
6205
- var _a;
6206
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5839
+ return (options.client ?? client_gen_1.client).put({
6207
5840
  security: [
6208
5841
  {
6209
5842
  scheme: 'bearer',
@@ -6216,8 +5849,7 @@ const investigationReportUpdateReport = (options) => {
6216
5849
  };
6217
5850
  exports.investigationReportUpdateReport = investigationReportUpdateReport;
6218
5851
  const investigationReportGeneratePdfReport = (options) => {
6219
- var _a;
6220
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5852
+ return (options.client ?? client_gen_1.client).post({
6221
5853
  security: [
6222
5854
  {
6223
5855
  scheme: 'bearer',
@@ -6234,8 +5866,7 @@ const investigationReportGeneratePdfReport = (options) => {
6234
5866
  };
6235
5867
  exports.investigationReportGeneratePdfReport = investigationReportGeneratePdfReport;
6236
5868
  const investigationReportDownloadPdfReport = (options) => {
6237
- var _a;
6238
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5869
+ return (options.client ?? client_gen_1.client).get({
6239
5870
  security: [
6240
5871
  {
6241
5872
  scheme: 'bearer',
@@ -6248,8 +5879,7 @@ const investigationReportDownloadPdfReport = (options) => {
6248
5879
  };
6249
5880
  exports.investigationReportDownloadPdfReport = investigationReportDownloadPdfReport;
6250
5881
  const investigationFlagFilterFlags = (options) => {
6251
- var _a;
6252
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5882
+ return (options.client ?? client_gen_1.client).post({
6253
5883
  security: [
6254
5884
  {
6255
5885
  scheme: 'bearer',
@@ -6266,8 +5896,7 @@ const investigationFlagFilterFlags = (options) => {
6266
5896
  };
6267
5897
  exports.investigationFlagFilterFlags = investigationFlagFilterFlags;
6268
5898
  const investigationFlagCreateFlag = (options) => {
6269
- var _a;
6270
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5899
+ return (options.client ?? client_gen_1.client).post({
6271
5900
  security: [
6272
5901
  {
6273
5902
  scheme: 'bearer',
@@ -6284,8 +5913,7 @@ const investigationFlagCreateFlag = (options) => {
6284
5913
  };
6285
5914
  exports.investigationFlagCreateFlag = investigationFlagCreateFlag;
6286
5915
  const investigationFlagDeleteFlag = (options) => {
6287
- var _a;
6288
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5916
+ return (options.client ?? client_gen_1.client).delete({
6289
5917
  security: [
6290
5918
  {
6291
5919
  scheme: 'bearer',
@@ -6298,8 +5926,7 @@ const investigationFlagDeleteFlag = (options) => {
6298
5926
  };
6299
5927
  exports.investigationFlagDeleteFlag = investigationFlagDeleteFlag;
6300
5928
  const investigationFlagUpdateFlag = (options) => {
6301
- var _a;
6302
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5929
+ return (options.client ?? client_gen_1.client).put({
6303
5930
  security: [
6304
5931
  {
6305
5932
  scheme: 'bearer',
@@ -6316,8 +5943,7 @@ const investigationFlagUpdateFlag = (options) => {
6316
5943
  };
6317
5944
  exports.investigationFlagUpdateFlag = investigationFlagUpdateFlag;
6318
5945
  const investigationActivityFilter = (options) => {
6319
- var _a;
6320
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5946
+ return (options.client ?? client_gen_1.client).get({
6321
5947
  security: [
6322
5948
  {
6323
5949
  scheme: 'bearer',
@@ -6330,8 +5956,7 @@ const investigationActivityFilter = (options) => {
6330
5956
  };
6331
5957
  exports.investigationActivityFilter = investigationActivityFilter;
6332
5958
  const investigationActivityMarkAsRead = (options) => {
6333
- var _a;
6334
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5959
+ return (options.client ?? client_gen_1.client).post({
6335
5960
  security: [
6336
5961
  {
6337
5962
  scheme: 'bearer',
@@ -6348,8 +5973,7 @@ const investigationActivityMarkAsRead = (options) => {
6348
5973
  };
6349
5974
  exports.investigationActivityMarkAsRead = investigationActivityMarkAsRead;
6350
5975
  const investigationCommentFilterComments = (options) => {
6351
- var _a;
6352
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5976
+ return (options.client ?? client_gen_1.client).get({
6353
5977
  security: [
6354
5978
  {
6355
5979
  scheme: 'bearer',
@@ -6362,8 +5986,7 @@ const investigationCommentFilterComments = (options) => {
6362
5986
  };
6363
5987
  exports.investigationCommentFilterComments = investigationCommentFilterComments;
6364
5988
  const investigationCommentCommentEvidence = (options) => {
6365
- var _a;
6366
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5989
+ return (options.client ?? client_gen_1.client).post({
6367
5990
  security: [
6368
5991
  {
6369
5992
  scheme: 'bearer',
@@ -6380,8 +6003,7 @@ const investigationCommentCommentEvidence = (options) => {
6380
6003
  };
6381
6004
  exports.investigationCommentCommentEvidence = investigationCommentCommentEvidence;
6382
6005
  const investigationCommentDeleteComment = (options) => {
6383
- var _a;
6384
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6006
+ return (options.client ?? client_gen_1.client).delete({
6385
6007
  security: [
6386
6008
  {
6387
6009
  scheme: 'bearer',
@@ -6394,8 +6016,7 @@ const investigationCommentDeleteComment = (options) => {
6394
6016
  };
6395
6017
  exports.investigationCommentDeleteComment = investigationCommentDeleteComment;
6396
6018
  const investigationAdvancedFilterGetFilters = (options) => {
6397
- var _a;
6398
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6019
+ return (options?.client ?? client_gen_1.client).get({
6399
6020
  security: [
6400
6021
  {
6401
6022
  scheme: 'bearer',
@@ -6408,8 +6029,7 @@ const investigationAdvancedFilterGetFilters = (options) => {
6408
6029
  };
6409
6030
  exports.investigationAdvancedFilterGetFilters = investigationAdvancedFilterGetFilters;
6410
6031
  const investigationAdvancedFilterCreateFilter = (options) => {
6411
- var _a;
6412
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6032
+ return (options.client ?? client_gen_1.client).post({
6413
6033
  security: [
6414
6034
  {
6415
6035
  scheme: 'bearer',
@@ -6426,8 +6046,7 @@ const investigationAdvancedFilterCreateFilter = (options) => {
6426
6046
  };
6427
6047
  exports.investigationAdvancedFilterCreateFilter = investigationAdvancedFilterCreateFilter;
6428
6048
  const investigationAdvancedFilterDeleteFilter = (options) => {
6429
- var _a;
6430
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6049
+ return (options.client ?? client_gen_1.client).delete({
6431
6050
  security: [
6432
6051
  {
6433
6052
  scheme: 'bearer',
@@ -6440,8 +6059,7 @@ const investigationAdvancedFilterDeleteFilter = (options) => {
6440
6059
  };
6441
6060
  exports.investigationAdvancedFilterDeleteFilter = investigationAdvancedFilterDeleteFilter;
6442
6061
  const investigationAdvancedFilterUpdateFilter = (options) => {
6443
- var _a;
6444
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6062
+ return (options.client ?? client_gen_1.client).put({
6445
6063
  security: [
6446
6064
  {
6447
6065
  scheme: 'bearer',
@@ -6458,8 +6076,7 @@ const investigationAdvancedFilterUpdateFilter = (options) => {
6458
6076
  };
6459
6077
  exports.investigationAdvancedFilterUpdateFilter = investigationAdvancedFilterUpdateFilter;
6460
6078
  const investigationTimelineGetTimelineEventCountByAdvancedFilter = (options) => {
6461
- var _a;
6462
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6079
+ return (options.client ?? client_gen_1.client).post({
6463
6080
  security: [
6464
6081
  {
6465
6082
  scheme: 'bearer',
@@ -6476,8 +6093,7 @@ const investigationTimelineGetTimelineEventCountByAdvancedFilter = (options) =>
6476
6093
  };
6477
6094
  exports.investigationTimelineGetTimelineEventCountByAdvancedFilter = investigationTimelineGetTimelineEventCountByAdvancedFilter;
6478
6095
  const investigationTimelineFilterTimelineEvents = (options) => {
6479
- var _a;
6480
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6096
+ return (options.client ?? client_gen_1.client).post({
6481
6097
  security: [
6482
6098
  {
6483
6099
  scheme: 'bearer',
@@ -6494,8 +6110,7 @@ const investigationTimelineFilterTimelineEvents = (options) => {
6494
6110
  };
6495
6111
  exports.investigationTimelineFilterTimelineEvents = investigationTimelineFilterTimelineEvents;
6496
6112
  const investigationTimelineGetTimelineStructure = (options) => {
6497
- var _a;
6498
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6113
+ return (options.client ?? client_gen_1.client).get({
6499
6114
  security: [
6500
6115
  {
6501
6116
  scheme: 'bearer',
@@ -6508,8 +6123,7 @@ const investigationTimelineGetTimelineStructure = (options) => {
6508
6123
  };
6509
6124
  exports.investigationTimelineGetTimelineStructure = investigationTimelineGetTimelineStructure;
6510
6125
  const investigationTimelineGetTotalTimelineCount = (options) => {
6511
- var _a;
6512
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6126
+ return (options.client ?? client_gen_1.client).get({
6513
6127
  security: [
6514
6128
  {
6515
6129
  scheme: 'bearer',
@@ -6526,8 +6140,7 @@ const investigationTimelineGetTotalTimelineCount = (options) => {
6526
6140
  };
6527
6141
  exports.investigationTimelineGetTotalTimelineCount = investigationTimelineGetTotalTimelineCount;
6528
6142
  const investigationTimelineExportTimelineData = (options) => {
6529
- var _a;
6530
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6143
+ return (options.client ?? client_gen_1.client).get({
6531
6144
  security: [
6532
6145
  {
6533
6146
  scheme: 'bearer',
@@ -6540,8 +6153,7 @@ const investigationTimelineExportTimelineData = (options) => {
6540
6153
  };
6541
6154
  exports.investigationTimelineExportTimelineData = investigationTimelineExportTimelineData;
6542
6155
  const investigationTimelineCreateExportRequestForTimeline = (options) => {
6543
- var _a;
6544
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6156
+ return (options.client ?? client_gen_1.client).post({
6545
6157
  security: [
6546
6158
  {
6547
6159
  scheme: 'bearer',
@@ -6558,8 +6170,7 @@ const investigationTimelineCreateExportRequestForTimeline = (options) => {
6558
6170
  };
6559
6171
  exports.investigationTimelineCreateExportRequestForTimeline = investigationTimelineCreateExportRequestForTimeline;
6560
6172
  const relayServerUpdateTags = (options) => {
6561
- var _a;
6562
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6173
+ return (options.client ?? client_gen_1.client).patch({
6563
6174
  security: [
6564
6175
  {
6565
6176
  scheme: 'bearer',
@@ -6576,8 +6187,7 @@ const relayServerUpdateTags = (options) => {
6576
6187
  };
6577
6188
  exports.relayServerUpdateTags = relayServerUpdateTags;
6578
6189
  const relayServerUpdateLabel = (options) => {
6579
- var _a;
6580
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6190
+ return (options.client ?? client_gen_1.client).patch({
6581
6191
  security: [
6582
6192
  {
6583
6193
  scheme: 'bearer',
@@ -6594,8 +6204,7 @@ const relayServerUpdateLabel = (options) => {
6594
6204
  };
6595
6205
  exports.relayServerUpdateLabel = relayServerUpdateLabel;
6596
6206
  const relayServerGetById = (options) => {
6597
- var _a;
6598
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6207
+ return (options?.client ?? client_gen_1.client).get({
6599
6208
  security: [
6600
6209
  {
6601
6210
  scheme: 'bearer',
@@ -6608,8 +6217,7 @@ const relayServerGetById = (options) => {
6608
6217
  };
6609
6218
  exports.relayServerGetById = relayServerGetById;
6610
6219
  const relayServerFilter = (options) => {
6611
- var _a;
6612
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6220
+ return (options.client ?? client_gen_1.client).get({
6613
6221
  security: [
6614
6222
  {
6615
6223
  scheme: 'bearer',
@@ -6622,8 +6230,7 @@ const relayServerFilter = (options) => {
6622
6230
  };
6623
6231
  exports.relayServerFilter = relayServerFilter;
6624
6232
  const relayServerAssignRebootTask = (options) => {
6625
- var _a;
6626
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6233
+ return (options?.client ?? client_gen_1.client).post({
6627
6234
  security: [
6628
6235
  {
6629
6236
  scheme: 'bearer',
@@ -6636,8 +6243,7 @@ const relayServerAssignRebootTask = (options) => {
6636
6243
  };
6637
6244
  exports.relayServerAssignRebootTask = relayServerAssignRebootTask;
6638
6245
  const relayServerAssignRetrieveLogTask = (options) => {
6639
- var _a;
6640
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6246
+ return (options?.client ?? client_gen_1.client).post({
6641
6247
  security: [
6642
6248
  {
6643
6249
  scheme: 'bearer',
@@ -6650,8 +6256,7 @@ const relayServerAssignRetrieveLogTask = (options) => {
6650
6256
  };
6651
6257
  exports.relayServerAssignRetrieveLogTask = relayServerAssignRetrieveLogTask;
6652
6258
  const relayServerAssignFixUpdateRequiredIssueTask = (options) => {
6653
- var _a;
6654
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6259
+ return (options?.client ?? client_gen_1.client).post({
6655
6260
  security: [
6656
6261
  {
6657
6262
  scheme: 'bearer',
@@ -6664,8 +6269,7 @@ const relayServerAssignFixUpdateRequiredIssueTask = (options) => {
6664
6269
  };
6665
6270
  exports.relayServerAssignFixUpdateRequiredIssueTask = relayServerAssignFixUpdateRequiredIssueTask;
6666
6271
  const relayServerRemoveRelayServer = (options) => {
6667
- var _a;
6668
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6272
+ return (options.client ?? client_gen_1.client).delete({
6669
6273
  security: [
6670
6274
  {
6671
6275
  scheme: 'bearer',
@@ -6682,8 +6286,7 @@ const relayServerRemoveRelayServer = (options) => {
6682
6286
  };
6683
6287
  exports.relayServerRemoveRelayServer = relayServerRemoveRelayServer;
6684
6288
  const relayServerUpdateAddress = (options) => {
6685
- var _a;
6686
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6289
+ return (options.client ?? client_gen_1.client).patch({
6687
6290
  security: [
6688
6291
  {
6689
6292
  scheme: 'bearer',
@@ -6700,8 +6303,7 @@ const relayServerUpdateAddress = (options) => {
6700
6303
  };
6701
6304
  exports.relayServerUpdateAddress = relayServerUpdateAddress;
6702
6305
  const relayProRemove = (options) => {
6703
- var _a;
6704
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6306
+ return (options.client ?? client_gen_1.client).delete({
6705
6307
  security: [
6706
6308
  {
6707
6309
  scheme: 'bearer',
@@ -6718,8 +6320,7 @@ const relayProRemove = (options) => {
6718
6320
  };
6719
6321
  exports.relayProRemove = relayProRemove;
6720
6322
  const relayProUpdateRelayUrl = (options) => {
6721
- var _a;
6722
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6323
+ return (options.client ?? client_gen_1.client).patch({
6723
6324
  security: [
6724
6325
  {
6725
6326
  scheme: 'bearer',
@@ -6736,8 +6337,7 @@ const relayProUpdateRelayUrl = (options) => {
6736
6337
  };
6737
6338
  exports.relayProUpdateRelayUrl = relayProUpdateRelayUrl;
6738
6339
  const recentActivityFilter = (options) => {
6739
- var _a;
6740
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6340
+ return (options.client ?? client_gen_1.client).get({
6741
6341
  security: [
6742
6342
  {
6743
6343
  scheme: 'bearer',
@@ -6750,8 +6350,7 @@ const recentActivityFilter = (options) => {
6750
6350
  };
6751
6351
  exports.recentActivityFilter = recentActivityFilter;
6752
6352
  const recentActivityCreate = (options) => {
6753
- var _a;
6754
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6353
+ return (options.client ?? client_gen_1.client).post({
6755
6354
  security: [
6756
6355
  {
6757
6356
  scheme: 'bearer',
@@ -6768,8 +6367,7 @@ const recentActivityCreate = (options) => {
6768
6367
  };
6769
6368
  exports.recentActivityCreate = recentActivityCreate;
6770
6369
  const processorGetProcessorsByAssetType = (options) => {
6771
- var _a;
6772
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6370
+ return (options.client ?? client_gen_1.client).get({
6773
6371
  security: [
6774
6372
  {
6775
6373
  scheme: 'bearer',
@@ -6782,8 +6380,7 @@ const processorGetProcessorsByAssetType = (options) => {
6782
6380
  };
6783
6381
  exports.processorGetProcessorsByAssetType = processorGetProcessorsByAssetType;
6784
6382
  const processorGetProcessorTypeByAssetType = (options) => {
6785
- var _a;
6786
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6383
+ return (options.client ?? client_gen_1.client).get({
6787
6384
  security: [
6788
6385
  {
6789
6386
  scheme: 'bearer',
@@ -6796,8 +6393,7 @@ const processorGetProcessorTypeByAssetType = (options) => {
6796
6393
  };
6797
6394
  exports.processorGetProcessorTypeByAssetType = processorGetProcessorTypeByAssetType;
6798
6395
  const webhookFilterParsers = (options) => {
6799
- var _a;
6800
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6396
+ return (options?.client ?? client_gen_1.client).get({
6801
6397
  security: [
6802
6398
  {
6803
6399
  scheme: 'bearer',
@@ -6810,8 +6406,7 @@ const webhookFilterParsers = (options) => {
6810
6406
  };
6811
6407
  exports.webhookFilterParsers = webhookFilterParsers;
6812
6408
  const webhookFilter = (options) => {
6813
- var _a;
6814
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6409
+ return (options.client ?? client_gen_1.client).get({
6815
6410
  security: [
6816
6411
  {
6817
6412
  scheme: 'bearer',
@@ -6824,8 +6419,7 @@ const webhookFilter = (options) => {
6824
6419
  };
6825
6420
  exports.webhookFilter = webhookFilter;
6826
6421
  const webhookCreate = (options) => {
6827
- var _a;
6828
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6422
+ return (options.client ?? client_gen_1.client).post({
6829
6423
  security: [
6830
6424
  {
6831
6425
  scheme: 'bearer',
@@ -6842,8 +6436,7 @@ const webhookCreate = (options) => {
6842
6436
  };
6843
6437
  exports.webhookCreate = webhookCreate;
6844
6438
  const webhookDelete = (options) => {
6845
- var _a;
6846
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6439
+ return (options.client ?? client_gen_1.client).delete({
6847
6440
  security: [
6848
6441
  {
6849
6442
  scheme: 'bearer',
@@ -6856,8 +6449,7 @@ const webhookDelete = (options) => {
6856
6449
  };
6857
6450
  exports.webhookDelete = webhookDelete;
6858
6451
  const webhookGet = (options) => {
6859
- var _a;
6860
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6452
+ return (options.client ?? client_gen_1.client).get({
6861
6453
  security: [
6862
6454
  {
6863
6455
  scheme: 'bearer',
@@ -6870,8 +6462,7 @@ const webhookGet = (options) => {
6870
6462
  };
6871
6463
  exports.webhookGet = webhookGet;
6872
6464
  const webhookUpdate = (options) => {
6873
- var _a;
6874
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6465
+ return (options.client ?? client_gen_1.client).put({
6875
6466
  security: [
6876
6467
  {
6877
6468
  scheme: 'bearer',
@@ -6888,8 +6479,7 @@ const webhookUpdate = (options) => {
6888
6479
  };
6889
6480
  exports.webhookUpdate = webhookUpdate;
6890
6481
  const eventSubscriptionFilterEventSubscriptions = (options) => {
6891
- var _a;
6892
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6482
+ return (options.client ?? client_gen_1.client).get({
6893
6483
  security: [
6894
6484
  {
6895
6485
  scheme: 'bearer',
@@ -6902,8 +6492,7 @@ const eventSubscriptionFilterEventSubscriptions = (options) => {
6902
6492
  };
6903
6493
  exports.eventSubscriptionFilterEventSubscriptions = eventSubscriptionFilterEventSubscriptions;
6904
6494
  const eventSubscriptionCreateEventSubscription = (options) => {
6905
- var _a;
6906
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6495
+ return (options.client ?? client_gen_1.client).post({
6907
6496
  security: [
6908
6497
  {
6909
6498
  scheme: 'bearer',
@@ -6920,8 +6509,7 @@ const eventSubscriptionCreateEventSubscription = (options) => {
6920
6509
  };
6921
6510
  exports.eventSubscriptionCreateEventSubscription = eventSubscriptionCreateEventSubscription;
6922
6511
  const eventSubscriptionDeleteEventSubscription = (options) => {
6923
- var _a;
6924
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6512
+ return (options.client ?? client_gen_1.client).delete({
6925
6513
  security: [
6926
6514
  {
6927
6515
  scheme: 'bearer',
@@ -6934,8 +6522,7 @@ const eventSubscriptionDeleteEventSubscription = (options) => {
6934
6522
  };
6935
6523
  exports.eventSubscriptionDeleteEventSubscription = eventSubscriptionDeleteEventSubscription;
6936
6524
  const eventSubscriptionGetEventSubscription = (options) => {
6937
- var _a;
6938
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6525
+ return (options.client ?? client_gen_1.client).get({
6939
6526
  security: [
6940
6527
  {
6941
6528
  scheme: 'bearer',
@@ -6948,8 +6535,7 @@ const eventSubscriptionGetEventSubscription = (options) => {
6948
6535
  };
6949
6536
  exports.eventSubscriptionGetEventSubscription = eventSubscriptionGetEventSubscription;
6950
6537
  const eventSubscriptionUpdateEventSubscription = (options) => {
6951
- var _a;
6952
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6538
+ return (options.client ?? client_gen_1.client).put({
6953
6539
  security: [
6954
6540
  {
6955
6541
  scheme: 'bearer',
@@ -6966,8 +6552,7 @@ const eventSubscriptionUpdateEventSubscription = (options) => {
6966
6552
  };
6967
6553
  exports.eventSubscriptionUpdateEventSubscription = eventSubscriptionUpdateEventSubscription;
6968
6554
  const eventSubscriptionSubscriptionEventNames = (options) => {
6969
- var _a;
6970
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6555
+ return (options?.client ?? client_gen_1.client).get({
6971
6556
  security: [
6972
6557
  {
6973
6558
  scheme: 'bearer',
@@ -6980,8 +6565,7 @@ const eventSubscriptionSubscriptionEventNames = (options) => {
6980
6565
  };
6981
6566
  exports.eventSubscriptionSubscriptionEventNames = eventSubscriptionSubscriptionEventNames;
6982
6567
  const eventSubscriptionTestEventSubscription = (options) => {
6983
- var _a;
6984
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6568
+ return (options.client ?? client_gen_1.client).post({
6985
6569
  security: [
6986
6570
  {
6987
6571
  scheme: 'bearer',
@@ -6998,8 +6582,7 @@ const eventSubscriptionTestEventSubscription = (options) => {
6998
6582
  };
6999
6583
  exports.eventSubscriptionTestEventSubscription = eventSubscriptionTestEventSubscription;
7000
6584
  const investigationDataUsageGetActualDataUsages = (options) => {
7001
- var _a;
7002
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6585
+ return (options.client ?? client_gen_1.client).post({
7003
6586
  security: [
7004
6587
  {
7005
6588
  scheme: 'bearer',
@@ -7016,8 +6599,7 @@ const investigationDataUsageGetActualDataUsages = (options) => {
7016
6599
  };
7017
6600
  exports.investigationDataUsageGetActualDataUsages = investigationDataUsageGetActualDataUsages;
7018
6601
  const investigationDataUsageExportActualDataUsages = (options) => {
7019
- var _a;
7020
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6602
+ return (options.client ?? client_gen_1.client).get({
7021
6603
  security: [
7022
6604
  {
7023
6605
  scheme: 'bearer',
@@ -7030,8 +6612,7 @@ const investigationDataUsageExportActualDataUsages = (options) => {
7030
6612
  };
7031
6613
  exports.investigationDataUsageExportActualDataUsages = investigationDataUsageExportActualDataUsages;
7032
6614
  const investigationDataUsageCreateExportRequestForActualDataUsages = (options) => {
7033
- var _a;
7034
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6615
+ return (options.client ?? client_gen_1.client).post({
7035
6616
  security: [
7036
6617
  {
7037
6618
  scheme: 'bearer',
@@ -7048,8 +6629,7 @@ const investigationDataUsageCreateExportRequestForActualDataUsages = (options) =
7048
6629
  };
7049
6630
  exports.investigationDataUsageCreateExportRequestForActualDataUsages = investigationDataUsageCreateExportRequestForActualDataUsages;
7050
6631
  const investigationDataUsageGetActualDataUsageStatistics = (options) => {
7051
- var _a;
7052
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6632
+ return (options?.client ?? client_gen_1.client).get({
7053
6633
  security: [
7054
6634
  {
7055
6635
  scheme: 'bearer',
@@ -7062,8 +6642,7 @@ const investigationDataUsageGetActualDataUsageStatistics = (options) => {
7062
6642
  };
7063
6643
  exports.investigationDataUsageGetActualDataUsageStatistics = investigationDataUsageGetActualDataUsageStatistics;
7064
6644
  const investigationDataUsageGetHistoricalDataUsageStatistics = (options) => {
7065
- var _a;
7066
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6645
+ return (options.client ?? client_gen_1.client).post({
7067
6646
  security: [
7068
6647
  {
7069
6648
  scheme: 'bearer',
@@ -7080,8 +6659,7 @@ const investigationDataUsageGetHistoricalDataUsageStatistics = (options) => {
7080
6659
  };
7081
6660
  exports.investigationDataUsageGetHistoricalDataUsageStatistics = investigationDataUsageGetHistoricalDataUsageStatistics;
7082
6661
  const investigationDataUsageGetDataUsageFilters = (options) => {
7083
- var _a;
7084
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6662
+ return (options.client ?? client_gen_1.client).get({
7085
6663
  security: [
7086
6664
  {
7087
6665
  scheme: 'bearer',
@@ -7094,8 +6672,7 @@ const investigationDataUsageGetDataUsageFilters = (options) => {
7094
6672
  };
7095
6673
  exports.investigationDataUsageGetDataUsageFilters = investigationDataUsageGetDataUsageFilters;
7096
6674
  const investigationDataUsageGetFilters = (options) => {
7097
- var _a;
7098
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6675
+ return (options.client ?? client_gen_1.client).post({
7099
6676
  security: [
7100
6677
  {
7101
6678
  scheme: 'bearer',
@@ -7112,8 +6689,7 @@ const investigationDataUsageGetFilters = (options) => {
7112
6689
  };
7113
6690
  exports.investigationDataUsageGetFilters = investigationDataUsageGetFilters;
7114
6691
  const investigationDataUsageDeleteFilter = (options) => {
7115
- var _a;
7116
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6692
+ return (options.client ?? client_gen_1.client).delete({
7117
6693
  security: [
7118
6694
  {
7119
6695
  scheme: 'bearer',
@@ -7126,8 +6702,7 @@ const investigationDataUsageDeleteFilter = (options) => {
7126
6702
  };
7127
6703
  exports.investigationDataUsageDeleteFilter = investigationDataUsageDeleteFilter;
7128
6704
  const investigationDataUsageGetFilter = (options) => {
7129
- var _a;
7130
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6705
+ return (options.client ?? client_gen_1.client).get({
7131
6706
  security: [
7132
6707
  {
7133
6708
  scheme: 'bearer',
@@ -7140,8 +6715,7 @@ const investigationDataUsageGetFilter = (options) => {
7140
6715
  };
7141
6716
  exports.investigationDataUsageGetFilter = investigationDataUsageGetFilter;
7142
6717
  const investigationDataUsageUpdateFilter = (options) => {
7143
- var _a;
7144
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6718
+ return (options.client ?? client_gen_1.client).put({
7145
6719
  security: [
7146
6720
  {
7147
6721
  scheme: 'bearer',
@@ -7158,8 +6732,7 @@ const investigationDataUsageUpdateFilter = (options) => {
7158
6732
  };
7159
6733
  exports.investigationDataUsageUpdateFilter = investigationDataUsageUpdateFilter;
7160
6734
  const investigationDataUsageCreateFilter = (options) => {
7161
- var _a;
7162
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6735
+ return (options.client ?? client_gen_1.client).post({
7163
6736
  security: [
7164
6737
  {
7165
6738
  scheme: 'bearer',
@@ -7176,8 +6749,7 @@ const investigationDataUsageCreateFilter = (options) => {
7176
6749
  };
7177
6750
  exports.investigationDataUsageCreateFilter = investigationDataUsageCreateFilter;
7178
6751
  const presetFilterGetPresetFilters = (options) => {
7179
- var _a;
7180
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6752
+ return (options.client ?? client_gen_1.client).get({
7181
6753
  security: [
7182
6754
  {
7183
6755
  scheme: 'bearer',
@@ -7190,8 +6762,7 @@ const presetFilterGetPresetFilters = (options) => {
7190
6762
  };
7191
6763
  exports.presetFilterGetPresetFilters = presetFilterGetPresetFilters;
7192
6764
  const presetFilterCreatePresetFilter = (options) => {
7193
- var _a;
7194
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6765
+ return (options.client ?? client_gen_1.client).post({
7195
6766
  security: [
7196
6767
  {
7197
6768
  scheme: 'bearer',
@@ -7208,8 +6779,7 @@ const presetFilterCreatePresetFilter = (options) => {
7208
6779
  };
7209
6780
  exports.presetFilterCreatePresetFilter = presetFilterCreatePresetFilter;
7210
6781
  const presetFilterDeletePresetFilter = (options) => {
7211
- var _a;
7212
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6782
+ return (options.client ?? client_gen_1.client).delete({
7213
6783
  security: [
7214
6784
  {
7215
6785
  scheme: 'bearer',
@@ -7222,8 +6792,7 @@ const presetFilterDeletePresetFilter = (options) => {
7222
6792
  };
7223
6793
  exports.presetFilterDeletePresetFilter = presetFilterDeletePresetFilter;
7224
6794
  const presetFilterUpdatePresetFilter = (options) => {
7225
- var _a;
7226
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6795
+ return (options.client ?? client_gen_1.client).put({
7227
6796
  security: [
7228
6797
  {
7229
6798
  scheme: 'bearer',
@@ -7240,8 +6809,7 @@ const presetFilterUpdatePresetFilter = (options) => {
7240
6809
  };
7241
6810
  exports.presetFilterUpdatePresetFilter = presetFilterUpdatePresetFilter;
7242
6811
  const automationHubGetExecutionHistory = (options) => {
7243
- var _a;
7244
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6812
+ return (options.client ?? client_gen_1.client).get({
7245
6813
  security: [
7246
6814
  {
7247
6815
  scheme: 'bearer',
@@ -7254,8 +6822,7 @@ const automationHubGetExecutionHistory = (options) => {
7254
6822
  };
7255
6823
  exports.automationHubGetExecutionHistory = automationHubGetExecutionHistory;
7256
6824
  const automationHubFilterAutomations = (options) => {
7257
- var _a;
7258
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6825
+ return (options.client ?? client_gen_1.client).get({
7259
6826
  security: [
7260
6827
  {
7261
6828
  scheme: 'bearer',
@@ -7268,8 +6835,7 @@ const automationHubFilterAutomations = (options) => {
7268
6835
  };
7269
6836
  exports.automationHubFilterAutomations = automationHubFilterAutomations;
7270
6837
  const automationHubCreateAutomation = (options) => {
7271
- var _a;
7272
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6838
+ return (options.client ?? client_gen_1.client).post({
7273
6839
  security: [
7274
6840
  {
7275
6841
  scheme: 'bearer',
@@ -7286,8 +6852,7 @@ const automationHubCreateAutomation = (options) => {
7286
6852
  };
7287
6853
  exports.automationHubCreateAutomation = automationHubCreateAutomation;
7288
6854
  const automationHubGetActionTypes = (options) => {
7289
- var _a;
7290
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6855
+ return (options?.client ?? client_gen_1.client).get({
7291
6856
  security: [
7292
6857
  {
7293
6858
  scheme: 'bearer',
@@ -7300,8 +6865,7 @@ const automationHubGetActionTypes = (options) => {
7300
6865
  };
7301
6866
  exports.automationHubGetActionTypes = automationHubGetActionTypes;
7302
6867
  const automationHubGetTriggerTypes = (options) => {
7303
- var _a;
7304
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6868
+ return (options?.client ?? client_gen_1.client).get({
7305
6869
  security: [
7306
6870
  {
7307
6871
  scheme: 'bearer',
@@ -7314,8 +6878,7 @@ const automationHubGetTriggerTypes = (options) => {
7314
6878
  };
7315
6879
  exports.automationHubGetTriggerTypes = automationHubGetTriggerTypes;
7316
6880
  const automationHubGetTags = (options) => {
7317
- var _a;
7318
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6881
+ return (options?.client ?? client_gen_1.client).get({
7319
6882
  security: [
7320
6883
  {
7321
6884
  scheme: 'bearer',
@@ -7328,8 +6891,7 @@ const automationHubGetTags = (options) => {
7328
6891
  };
7329
6892
  exports.automationHubGetTags = automationHubGetTags;
7330
6893
  const automationHubDeleteAutomation = (options) => {
7331
- var _a;
7332
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6894
+ return (options.client ?? client_gen_1.client).delete({
7333
6895
  security: [
7334
6896
  {
7335
6897
  scheme: 'bearer',
@@ -7342,8 +6904,7 @@ const automationHubDeleteAutomation = (options) => {
7342
6904
  };
7343
6905
  exports.automationHubDeleteAutomation = automationHubDeleteAutomation;
7344
6906
  const automationHubGetAutomation = (options) => {
7345
- var _a;
7346
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6907
+ return (options.client ?? client_gen_1.client).get({
7347
6908
  security: [
7348
6909
  {
7349
6910
  scheme: 'bearer',
@@ -7356,8 +6917,7 @@ const automationHubGetAutomation = (options) => {
7356
6917
  };
7357
6918
  exports.automationHubGetAutomation = automationHubGetAutomation;
7358
6919
  const automationHubUpdateAutomation = (options) => {
7359
- var _a;
7360
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6920
+ return (options.client ?? client_gen_1.client).put({
7361
6921
  security: [
7362
6922
  {
7363
6923
  scheme: 'bearer',
@@ -7374,8 +6934,7 @@ const automationHubUpdateAutomation = (options) => {
7374
6934
  };
7375
6935
  exports.automationHubUpdateAutomation = automationHubUpdateAutomation;
7376
6936
  const automationHubEnableAutomation = (options) => {
7377
- var _a;
7378
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6937
+ return (options.client ?? client_gen_1.client).patch({
7379
6938
  security: [
7380
6939
  {
7381
6940
  scheme: 'bearer',
@@ -7388,8 +6947,7 @@ const automationHubEnableAutomation = (options) => {
7388
6947
  };
7389
6948
  exports.automationHubEnableAutomation = automationHubEnableAutomation;
7390
6949
  const automationHubDisableAutomation = (options) => {
7391
- var _a;
7392
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6950
+ return (options.client ?? client_gen_1.client).patch({
7393
6951
  security: [
7394
6952
  {
7395
6953
  scheme: 'bearer',
@@ -7402,8 +6960,7 @@ const automationHubDisableAutomation = (options) => {
7402
6960
  };
7403
6961
  exports.automationHubDisableAutomation = automationHubDisableAutomation;
7404
6962
  const fullTextSearchProfileFilter = (options) => {
7405
- var _a;
7406
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6963
+ return (options.client ?? client_gen_1.client).get({
7407
6964
  security: [
7408
6965
  {
7409
6966
  scheme: 'bearer',
@@ -7416,8 +6973,7 @@ const fullTextSearchProfileFilter = (options) => {
7416
6973
  };
7417
6974
  exports.fullTextSearchProfileFilter = fullTextSearchProfileFilter;
7418
6975
  const fullTextSearchProfileCreate = (options) => {
7419
- var _a;
7420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6976
+ return (options.client ?? client_gen_1.client).post({
7421
6977
  security: [
7422
6978
  {
7423
6979
  scheme: 'bearer',
@@ -7434,8 +6990,7 @@ const fullTextSearchProfileCreate = (options) => {
7434
6990
  };
7435
6991
  exports.fullTextSearchProfileCreate = fullTextSearchProfileCreate;
7436
6992
  const fullTextSearchProfileDelete = (options) => {
7437
- var _a;
7438
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6993
+ return (options?.client ?? client_gen_1.client).delete({
7439
6994
  security: [
7440
6995
  {
7441
6996
  scheme: 'bearer',
@@ -7448,8 +7003,7 @@ const fullTextSearchProfileDelete = (options) => {
7448
7003
  };
7449
7004
  exports.fullTextSearchProfileDelete = fullTextSearchProfileDelete;
7450
7005
  const fullTextSearchProfileGet = (options) => {
7451
- var _a;
7452
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
7006
+ return (options?.client ?? client_gen_1.client).get({
7453
7007
  security: [
7454
7008
  {
7455
7009
  scheme: 'bearer',
@@ -7462,8 +7016,7 @@ const fullTextSearchProfileGet = (options) => {
7462
7016
  };
7463
7017
  exports.fullTextSearchProfileGet = fullTextSearchProfileGet;
7464
7018
  const fullTextSearchProfileUpdate = (options) => {
7465
- var _a;
7466
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
7019
+ return (options.client ?? client_gen_1.client).put({
7467
7020
  security: [
7468
7021
  {
7469
7022
  scheme: 'bearer',
@@ -7480,8 +7033,7 @@ const fullTextSearchProfileUpdate = (options) => {
7480
7033
  };
7481
7034
  exports.fullTextSearchProfileUpdate = fullTextSearchProfileUpdate;
7482
7035
  const fullTextSearchTaskAssign = (options) => {
7483
- var _a;
7484
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
7036
+ return (options.client ?? client_gen_1.client).post({
7485
7037
  security: [
7486
7038
  {
7487
7039
  scheme: 'bearer',
@@ -7498,8 +7050,7 @@ const fullTextSearchTaskAssign = (options) => {
7498
7050
  };
7499
7051
  exports.fullTextSearchTaskAssign = fullTextSearchTaskAssign;
7500
7052
  const fullTextSearchTaskUpdateScheduledFullTextSearchTask = (options) => {
7501
- var _a;
7502
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
7053
+ return (options.client ?? client_gen_1.client).put({
7503
7054
  security: [
7504
7055
  {
7505
7056
  scheme: 'bearer',