@binalyze/air-sdk 0.2.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 (57) hide show
  1. package/README.md +0 -7
  2. package/dist/air/AIR.js.map +1 -1
  3. package/dist/domains/acquisitions.js +4 -6
  4. package/dist/domains/acquisitions.js.map +1 -1
  5. package/dist/domains/api-tokens.js +5 -10
  6. package/dist/domains/api-tokens.js.map +1 -1
  7. package/dist/domains/assets.js +7 -21
  8. package/dist/domains/assets.js.map +1 -1
  9. package/dist/domains/baseline.js +3 -6
  10. package/dist/domains/baseline.js.map +1 -1
  11. package/dist/domains/cases.js +10 -20
  12. package/dist/domains/cases.js.map +1 -1
  13. package/dist/domains/interact.js +7 -14
  14. package/dist/domains/interact.js.map +1 -1
  15. package/dist/domains/organization.js +11 -22
  16. package/dist/domains/organization.js.map +1 -1
  17. package/dist/domains/repositories.js +2 -4
  18. package/dist/domains/repositories.js.map +1 -1
  19. package/dist/domains/tasks.js +5 -10
  20. package/dist/domains/tasks.js.map +1 -1
  21. package/dist/domains/triage.js +3 -6
  22. package/dist/domains/triage.js.map +1 -1
  23. package/dist/domains/users.js +2 -4
  24. package/dist/domains/users.js.map +1 -1
  25. package/dist/sdk/typescript-axios/client/client.gen.js +4 -4
  26. package/dist/sdk/typescript-axios/client/client.gen.js.map +1 -1
  27. package/dist/sdk/typescript-axios/client/index.js +1 -0
  28. package/dist/sdk/typescript-axios/client/index.js.map +1 -1
  29. package/dist/sdk/typescript-axios/client/types.gen.js +1 -0
  30. package/dist/sdk/typescript-axios/client/types.gen.js.map +1 -1
  31. package/dist/sdk/typescript-axios/client/utils.gen.js +3 -4
  32. package/dist/sdk/typescript-axios/client/utils.gen.js.map +1 -1
  33. package/dist/sdk/typescript-axios/client.gen.js +1 -0
  34. package/dist/sdk/typescript-axios/client.gen.js.map +1 -1
  35. package/dist/sdk/typescript-axios/core/auth.gen.js +1 -0
  36. package/dist/sdk/typescript-axios/core/auth.gen.js.map +1 -1
  37. package/dist/sdk/typescript-axios/core/bodySerializer.gen.js +1 -0
  38. package/dist/sdk/typescript-axios/core/bodySerializer.gen.js.map +1 -1
  39. package/dist/sdk/typescript-axios/core/params.gen.js +3 -3
  40. package/dist/sdk/typescript-axios/core/params.gen.js.map +1 -1
  41. package/dist/sdk/typescript-axios/core/pathSerializer.gen.d.ts +2 -2
  42. package/dist/sdk/typescript-axios/core/pathSerializer.gen.js +1 -0
  43. package/dist/sdk/typescript-axios/core/pathSerializer.gen.js.map +1 -1
  44. package/dist/sdk/typescript-axios/core/types.gen.js +1 -0
  45. package/dist/sdk/typescript-axios/core/types.gen.js.map +1 -1
  46. package/dist/sdk/typescript-axios/index.js +1 -0
  47. package/dist/sdk/typescript-axios/index.js.map +1 -1
  48. package/dist/sdk/typescript-axios/sdk.gen.d.ts +91 -37
  49. package/dist/sdk/typescript-axios/sdk.gen.js +556 -966
  50. package/dist/sdk/typescript-axios/sdk.gen.js.map +1 -1
  51. package/dist/sdk/typescript-axios/types.gen.d.ts +98 -125
  52. package/dist/sdk/typescript-axios/types.gen.js +1 -0
  53. package/dist/sdk/typescript-axios/types.gen.js.map +1 -1
  54. package/dist/types/assets.d.ts +0 -1
  55. package/dist/utils/utils.js +8 -10
  56. package/dist/utils/utils.js.map +1 -1
  57. package/package.json +2 -2
@@ -1,20 +1,19 @@
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
- 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.assetsGetById2 = exports.assetsGetById = 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;
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;
5
6
  exports.settingsSaveProxy = exports.settingsSaveGeneralSettings = exports.settingsGetSettings = exports.taskAssignmentGenerateTaskAssignmentReport = exports.taskAssignmentGet = exports.taskAssignmentDelete = exports.taskAssignmentCancel = exports.taskAssignmentFilter = exports.endpointTaskGetComparableTasksByVendorDeviceId = exports.endpointTaskRetryUpload1 = exports.endpointTaskRetryUpload = exports.endpointTaskPurgeLocalData1 = exports.endpointTaskPurgeLocalData = exports.assetsGetTasks2 = exports.assetsGetTasks = exports.assetsAssignIsolationTask2 = exports.assetsAssignIsolationTask = exports.endpointTaskAssignFixUpdateRequiredIssueTask1 = exports.endpointTaskAssignFixUpdateRequiredIssueTask = exports.endpointTaskAssignRetrieveLogTask1 = exports.endpointTaskAssignRetrieveLogTask = exports.assetsAssignShutdownTask2 = exports.assetsAssignShutdownTask = exports.assetsAssignRebootTask2 = exports.assetsAssignRebootTask = exports.taskGenerateOffNetworkZipPassword = exports.taskDownloadOffNetworkTask = exports.taskImportOffNetworkCollectionToTask = exports.taskCreateOffNetworkTask = exports.taskCancel = exports.taskCancelByFilter = exports.taskDeleteAndPurgeByFilter = exports.taskDeleteByFilter = exports.tasksGetData = exports.taskRenameTask = exports.tasksGetMany = exports.tasksGetById = exports.taskDelete = exports.endpointGroupGetRootGroups = exports.endpointGroupGetChildGroupsOfGroup = exports.endpointTagDeleteTag = exports.endpointTagDeleteAllTags = exports.endpointTagFilterTags = exports.endpointUpdateEndpointConnectionRoute1 = exports.endpointUpdateEndpointConnectionRoute = exports.endpointDeployCloudAssetsByFilter1 = exports.endpointDeployCloudAssetsByFilter = exports.endpointGetCloudAssetDetails1 = exports.endpointGetCloudAssetDetails = exports.endpointSyncLdap1 = void 0;
6
7
  exports.userRolesGetRoles = exports.userRolesGetPrivileges = exports.userCreateApiUser = exports.userResetUserPassword = exports.userChangePassword = exports.userResetTfa = exports.userUpdateUser = exports.userManagementUsersGet = exports.userDelete = exports.userCreate = exports.userManagementUsersGetMany = exports.authGetUserSessionHistory = exports.authRegeneratePatToken = exports.authRenewOneClickLoginUrl = exports.authGenerateOneClickLoginUrl = exports.authLogin = exports.authOneClickLogin = exports.authUpdateProfile = exports.authCheckAuth = exports.settingsSaveMandatoryCaseSelection = exports.settingsSaveAutoUpdateSettings = exports.settingsGetAutoUpdateSettings = exports.settingsSaveUninstallationPasswordProtection = exports.settingsSaveBanner = exports.settingsSaveConsoleAddress = exports.settingsValidateConsoleAddress = exports.settingsSaveRfc3161 = exports.settingsSaveLocard = exports.settingsSaveIpRestriction = exports.settingsValidateIpRestriction = exports.settingsSaveFleetAi = exports.settingsSaveInterAct = exports.settingsSaveAutoAssetTagging = exports.settingsSaveSingleSignOn = exports.settingsSingleSignOnCallback = exports.settingsSaveEnforceTfa = exports.settingsSaveAgent = exports.settingsValidateS3 = exports.settingsValidateSftp = exports.settingsSaveBackupRestore = exports.settingsSavePolicy = exports.settingsValidateSsl = exports.settingsSaveSsl = exports.settingsValidateSmtp = exports.settingsSaveSmtp = exports.settingsValidateSyslog = exports.settingsSaveSyslog = exports.settingsValidateActiveDirectory = exports.settingsSaveActiveDirectory = exports.settingsValidateProxy = void 0;
7
- exports.evidenceRepositoryCreateAzureStorage = exports.evidenceRepositoryUpdateFtps = exports.evidenceRepositoryCreateFtps = exports.evidenceRepositoryUpdateSftp = exports.evidenceRepositoryCreateSftp = exports.evidenceRepositoryUpdateSmb = exports.evidenceRepositoryCreateSmb = exports.evidenceGetCasePpcFile = exports.evidenceGetCaseReportFileInfo = exports.evidenceDownloadExternalEvidence = exports.evidenceGetCaseReport1 = exports.evidenceGetCaseReport = exports.triageDeleteRuleTag = exports.triageCreateRuleTag = exports.triageFilterRuleTags = exports.triageCreateOffNetworkTriageTaskFile = exports.triageUpdateScheduledTriageTask = exports.assignTriageTask = exports.validateTriageRule = exports.updateTriageRule = exports.getTriageRule = exports.deleteTriageRule = exports.createTriageRule = exports.getManyTriageRules = exports.acquisitionValidateOsQueries = exports.acquisitionUpdateScheduledImageAcquisition = exports.acquisitionUpdateScheduledEvidenceAcquisition = exports.acquisitionAcquireImage = exports.acquisitionCreateOffNetworkAcquisitionTaskFile = exports.acquisitionsAssignEvidenceTask2 = exports.acquisitionsAssignEvidenceTask = exports.acquisitionUpdate = exports.acquisitionProfilesGetOne = exports.acquisitionDelete = exports.acquisitionCreate = exports.acquisitionProfilesGetMany = exports.licenseGetQuota = exports.licenseSetLicense = exports.licenseGetLicense = exports.setupInstall = exports.setupCheckSetupData = exports.userGroupUpdateGroup = exports.userGroupGetGroup = exports.userGroupDeleteGroup = exports.userGroupCreateGroup = exports.userGroupFilterGroups = exports.userRolesUpdateRole = exports.userRolesGetRole = exports.userRolesDeleteRole = exports.userRolesCreateRole = void 0;
8
+ exports.evidenceRepositoryCreateAzureStorage = exports.evidenceRepositoryUpdateFtps = exports.evidenceRepositoryCreateFtps = exports.evidenceRepositoryUpdateSftp = exports.evidenceRepositoryCreateSftp = exports.evidenceRepositoryUpdateSmb = exports.evidenceRepositoryCreateSmb = exports.evidenceGetCasePpcFile = exports.evidenceGetCaseReportFileInfo = exports.evidenceDownloadExternalEvidence = exports.evidenceGetCaseReport1 = exports.evidenceGetCaseReport = exports.triageDeleteRuleTag = exports.triageCreateRuleTag = exports.triageFilterRuleTags = exports.triageCreateOffNetworkTriageTaskFile = exports.triageUpdateScheduledTriageTask = exports.assignTriageTask = exports.validateTriageRule = exports.updateTriageRule = exports.getTriageRule = exports.deleteTriageRule = exports.createTriageRule = exports.getManyTriageRules = exports.acquisitionValidateOsQueries = exports.acquisitionUpdateScheduledImageAcquisition = exports.acquisitionUpdateScheduledEvidenceAcquisition = exports.acquisitionAcquireImage = exports.acquisitionCreateOffNetworkAcquisitionTaskFile = exports.acquisitionAssignEvidenceTask2 = exports.acquisitionAssignEvidenceTask = exports.acquisitionUpdate = exports.acquisitionGet = exports.acquisitionDelete = exports.acquisitionCreate = exports.acquisitionProfilesGetOne = exports.licenseGetQuota = exports.licenseSetLicense = exports.licenseGetLicense = exports.setupInstall = exports.setupCheckSetupData = exports.userGroupUpdateGroup = exports.userGroupGetGroup = exports.userGroupDeleteGroup = exports.userGroupCreateGroup = exports.userGroupFilterGroups = exports.userRolesUpdateRole = exports.userRolesGetRole = exports.userRolesDeleteRole = exports.userRolesCreateRole = void 0;
8
9
  exports.caseExportCaseNotes = exports.caseExportCases = exports.casesCheckName = exports.autoAssetTagUpdateScheduledAatTask = exports.autoAssetTagAssignAutoAssetTaggingTask = exports.autoAssetTagUpdateAutoAssetTag = exports.autoAssetTagGetById = exports.autoAssetTagDelete = exports.autoAssetTagSaveAutoAssetTag = exports.autoAssetTagFilter = exports.organizationGetUsers = exports.organizationAddTags = exports.organizationRemoveTags = exports.organizationUpdateDeploymentToken = exports.organizationUpdateShareableDeploymentStatus = exports.organizationGetOrganizationIdByToken = exports.organizationAssignGroups = exports.organizationRemoveGroups = exports.organizationAssignUsers = exports.organizationRemoveUsers = exports.organizationUpdate = exports.organizationGet = exports.organizationDelete = exports.organizationCheckNameExists = exports.organizationCreate = exports.organizationsGetMany = exports.policyCheckNameExists = exports.policyUpdate = exports.policyGet = exports.policyDelete = exports.policyUpdatePriorities = exports.policyCreate = exports.policyFilter = exports.policyGetMatchStats = exports.auditLogExport = exports.auditLogFilter = exports.notificationMarkAsRead = exports.notificationMarkAllAsRead = exports.notificationFilter = exports.notificationDeleteAll = exports.evidenceRepositoryValidateFtpsRepository = exports.evidenceRepositoryValidateAzureStorage = exports.evidenceRepositoryValidateAmazonS3 = exports.evidenceRepositoryValidateById = exports.evidenceRepositoriesGetMany = exports.evidenceRepositoriesGet = exports.evidenceRepositoryDelete = exports.evidenceRepositoryUpdateAmazonS3 = exports.evidenceRepositoryCreateAmazonS3 = exports.evidenceRepositoryUpdateAzureStorage = void 0;
9
10
  exports.multipartUploadUploadPart = exports.multipartUploadDeleteFileParts = exports.multipartUploadIsReady = exports.multipartUploadFinalize = exports.multipartUploadInitialize = exports.multipartUploadInitializeHead = exports.interactSessionGetCommandMessage = exports.interactSessionClose = exports.interactSessionInterruptCommand = exports.interactSessionExecuteAsyncCommand = exports.interactSessionExecuteCommand = exports.interactGetInterActShellReport = exports.interactShellAssignTask = exports.interactDownload = exports.interactCommandsGetMany = exports.interactLibraryDelete = exports.interactLibraryDownload = exports.interactLibraryUpload = exports.interactLibraryCheckLibraryFileExists = exports.interactLibraryFilter = exports.caseCategoriesDelete = exports.caseCategoriesCreate = exports.caseCategoriesFilter = exports.caseTagsDelete = exports.caseTagsCreate = exports.caseTagsFilter = exports.caseRemoveTaskAssignmentFromCase = exports.caseRemoveEndpointsFromCaseByFilter1 = exports.caseRemoveEndpointsFromCaseByFilter = exports.casesGetUsers = exports.caseImportTaskAssignment = exports.caseEditCaseNote = exports.caseDeleteCaseNote = exports.caseAddCaseNote = exports.caseExportActivities = exports.casesGetActivities = exports.casesGetEndpoints2 = exports.casesGetEndpoints = exports.caseFilterTaskAssignments = exports.casesGetTasks = exports.casesChangeOwner = exports.caseArchiveCase = exports.caseReopenCase = exports.casesClose = exports.casesCreate = exports.casesGetMany = exports.caseUpdateCase = exports.casesGet = exports.caseExportCaseEndpoints1 = exports.caseExportCaseEndpoints = void 0;
10
11
  exports.investigationGetInvestigationHubDataImportProgress = exports.investigationGetInvestigationTaskAssignmentDataImportProgress = exports.investigationGetInvestigationTaskAssignmentForImportedEvidence = exports.investigationUpdateInvestigationFinding = exports.investigationMarkInvestigationEvidenceAsFinding = exports.investigationRetryImportTaskAssignment = exports.investigationImportPstEvidencesToInvestigation = exports.investigationGetImportErrors = exports.investigationDeleteImport = exports.investigationGetAllImports = exports.investigationImportDataToSection = exports.investigationUpdateSection = exports.investigationCreateSection = exports.investigationUpdateEvidenceNote = exports.investigationFlagEvidence = exports.investigationRemoveEvidenceFlag = exports.investigationEvidenceCounts = exports.investigationGlobalSearch = exports.investigationGetMitreMatches = exports.investigationGetFindingsSummary = exports.investigationFilterEndpointFindings = exports.investigationGetFindingDataStructure = exports.investigationGetSummary = exports.investigationGetSectionsByEndpoints = exports.investigationGetAssetsByInvestigationId = exports.investigationCreateExportRequestForSectionData = exports.investigationExportSectionData = exports.investigationCreateExportRequestForFlags = exports.investigationExportFlags = exports.investigationGetSectionData = exports.investigationGetSectionDataStructure = exports.investigationUpdateInvestigation = exports.investigationGetInvestigationById = exports.cloudAccountsSyncAllCloudAccount = exports.cloudAccountsSyncCloudAccount = exports.cloudAccountsUpdateCloudAccount = exports.cloudAccountsGetCloudAccountById = exports.cloudAccountsDelete = exports.cloudAccountsExport = exports.cloudAccountsCreateCloudAccount = exports.cloudAccountsFilter = exports.apiTokensUpdate = exports.apiTokensGetOne = exports.apiTokensDelete = exports.apiTokensCreate = exports.apiTokensGetMany = exports.baselineGetComparisonReportByVendorDeviceId = exports.baselineGetComparisonReport = exports.baselineAcquire = exports.baselineCompare = void 0;
11
- exports.relayProRemove = exports.relayServerUpdateAddress = exports.relayServerRemoveRelayServer = exports.relayServerAssignFixUpdateRequiredIssueTask = exports.relayServerAssignRetrieveLogTask = exports.relayServerAssignRebootTask = exports.relayServerFilter = exports.relayServerGetById = exports.relayServerUpdateLabel = exports.relayServerUpdateTags = exports.investigationTimelineCreateExportRequestForTimeline = exports.investigationTimelineExportTimelineData = exports.investigationTimelineGetTotalTimelineCount = exports.investigationTimelineGetTimelineStructure = exports.investigationTimelineFilterTimelineEvents = exports.investigationTimelineGetTimelineEventCountByAdvancedFilter = exports.investigationAdvancedFilterUpdateFilter = exports.investigationAdvancedFilterDeleteFilter = exports.investigationAdvancedFilterCreateFilter = exports.investigationAdvancedFilterGetFilters = exports.investigationCommentDeleteComment = exports.investigationCommentCommentEvidence = exports.investigationCommentFilterComments = exports.investigationActivityMarkAsRead = exports.investigationActivityFilter = exports.investigationFlagUpdateFlag = exports.investigationFlagDeleteFlag = exports.investigationFlagCreateFlag = exports.investigationFlagFilterFlags = exports.investigationReportDownloadPdfReport = exports.investigationReportGeneratePdfReport = exports.investigationReportUpdateReport = exports.investigationReportGetReport = exports.investigationReportDeleteReport = exports.investigationReportCreateReport = exports.investigationReportFilterReports = exports.investigationReportExportReports = exports.investigationExclusionDeleteIndividualFindingExclusionRule = exports.investigationExclusionApplyFindingExclusionRuleForAllAssets = exports.investigationExclusionApplyFindingExclusionRuleForOrganization = exports.investigationExclusionGetExclusionReasons = exports.investigationExclusionFilterFindingExclusionRules = exports.investigationExclusionDeleteFindingExclusionRule = exports.investigationExclusionGetFindingExclusionRulesMatches = exports.investigationExclusionAddFindingExclusionRule = exports.investigationExecuteSqlQueryOnInvestigation = exports.investigationImportTornadoEvidenceToInvestigation1 = exports.investigationImportTornadoEvidenceToInvestigation = exports.investigationCreateExportRequestForFindings = exports.investigationExportFindingsData = void 0;
12
- 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 = exports.relayProUpdateRelayUrl = void 0;
13
- exports.fullTextSearchTaskUpdateScheduledFullTextSearchTask = void 0;
12
+ exports.relayProUpdateRelayUrl = exports.relayProRemove = exports.relayServerUpdateAddress = exports.relayServerRemoveRelayServer = exports.relayServerAssignFixUpdateRequiredIssueTask = exports.relayServerAssignRetrieveLogTask = exports.relayServerAssignRebootTask = exports.relayServerFilter = exports.relayServerGetById = exports.relayServerUpdateLabel = exports.relayServerUpdateTags = exports.investigationTimelineCreateExportRequestForTimeline = exports.investigationTimelineExportTimelineData = exports.investigationTimelineGetTotalTimelineCount = exports.investigationTimelineGetTimelineStructure = exports.investigationTimelineFilterTimelineEvents = exports.investigationTimelineGetTimelineEventCountByAdvancedFilter = exports.investigationAdvancedFilterUpdateFilter = exports.investigationAdvancedFilterDeleteFilter = exports.investigationAdvancedFilterCreateFilter = exports.investigationAdvancedFilterGetFilters = exports.investigationCommentDeleteComment = exports.investigationCommentCommentEvidence = exports.investigationCommentFilterComments = exports.investigationActivityMarkAsRead = exports.investigationActivityFilter = exports.investigationFlagUpdateFlag = exports.investigationFlagDeleteFlag = exports.investigationFlagCreateFlag = exports.investigationFlagFilterFlags = exports.investigationReportDownloadPdfReport = exports.investigationReportGeneratePdfReport = exports.investigationReportUpdateReport = exports.investigationReportGetReport = exports.investigationReportDeleteReport = exports.investigationReportCreateReport = exports.investigationReportFilterReports = exports.investigationReportExportReports = exports.investigationExclusionDeleteIndividualFindingExclusionRule = exports.investigationExclusionApplyFindingExclusionRuleForAllAssets = exports.investigationExclusionApplyFindingExclusionRuleForOrganization = exports.investigationExclusionGetExclusionReasons = exports.investigationExclusionFilterFindingExclusionRules = exports.investigationExclusionDeleteFindingExclusionRule = exports.investigationExclusionGetFindingExclusionRulesMatches = exports.investigationExclusionAddFindingExclusionRule = exports.investigationImportTornadoEvidenceToInvestigation1 = exports.investigationImportTornadoEvidenceToInvestigation = exports.investigationCreateExportRequestForFindings = exports.investigationExportFindingsData = void 0;
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;
14
14
  const client_gen_1 = require("./client.gen");
15
15
  const loggerDownloadLogsDir = (options) => {
16
- var _a;
17
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
16
+ return (options.client ?? client_gen_1.client).get({
18
17
  security: [
19
18
  {
20
19
  scheme: 'bearer',
@@ -27,8 +26,7 @@ const loggerDownloadLogsDir = (options) => {
27
26
  };
28
27
  exports.loggerDownloadLogsDir = loggerDownloadLogsDir;
29
28
  const paramsGetDroneAnalyzers = (options) => {
30
- var _a;
31
- 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({
32
30
  security: [
33
31
  {
34
32
  scheme: 'bearer',
@@ -41,8 +39,7 @@ const paramsGetDroneAnalyzers = (options) => {
41
39
  };
42
40
  exports.paramsGetDroneAnalyzers = paramsGetDroneAnalyzers;
43
41
  const paramsEDiscoveryPatterns = (options) => {
44
- var _a;
45
- 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({
46
43
  security: [
47
44
  {
48
45
  scheme: 'bearer',
@@ -55,8 +52,7 @@ const paramsEDiscoveryPatterns = (options) => {
55
52
  };
56
53
  exports.paramsEDiscoveryPatterns = paramsEDiscoveryPatterns;
57
54
  const paramsEventLogRecordTypes = (options) => {
58
- var _a;
59
- 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({
60
56
  security: [
61
57
  {
62
58
  scheme: 'bearer',
@@ -69,8 +65,7 @@ const paramsEventLogRecordTypes = (options) => {
69
65
  };
70
66
  exports.paramsEventLogRecordTypes = paramsEventLogRecordTypes;
71
67
  const paramsArtifactList = (options) => {
72
- var _a;
73
- 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({
74
69
  security: [
75
70
  {
76
71
  scheme: 'bearer',
@@ -83,8 +78,7 @@ const paramsArtifactList = (options) => {
83
78
  };
84
79
  exports.paramsArtifactList = paramsArtifactList;
85
80
  const paramsEvidenceList = (options) => {
86
- var _a;
87
- 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({
88
82
  security: [
89
83
  {
90
84
  scheme: 'bearer',
@@ -97,8 +91,7 @@ const paramsEvidenceList = (options) => {
97
91
  };
98
92
  exports.paramsEvidenceList = paramsEvidenceList;
99
93
  const paramsGetMitreAttackTactics = (options) => {
100
- var _a;
101
- 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({
102
95
  security: [
103
96
  {
104
97
  scheme: 'bearer',
@@ -111,8 +104,7 @@ const paramsGetMitreAttackTactics = (options) => {
111
104
  };
112
105
  exports.paramsGetMitreAttackTactics = paramsGetMitreAttackTactics;
113
106
  const endpointExportEndpoints = (options) => {
114
- var _a;
115
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
107
+ return (options.client ?? client_gen_1.client).get({
116
108
  security: [
117
109
  {
118
110
  scheme: 'bearer',
@@ -125,8 +117,7 @@ const endpointExportEndpoints = (options) => {
125
117
  };
126
118
  exports.endpointExportEndpoints = endpointExportEndpoints;
127
119
  const endpointExportEndpoints1 = (options) => {
128
- var _a;
129
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
120
+ return (options.client ?? client_gen_1.client).get({
130
121
  security: [
131
122
  {
132
123
  scheme: 'bearer',
@@ -140,10 +131,10 @@ const endpointExportEndpoints1 = (options) => {
140
131
  exports.endpointExportEndpoints1 = endpointExportEndpoints1;
141
132
  /**
142
133
  * Update tags for an asset
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',
@@ -161,10 +152,10 @@ const assetsUpdateTags = (options) => {
161
152
  exports.assetsUpdateTags = assetsUpdateTags;
162
153
  /**
163
154
  * Update tags for an asset
155
+ * Update the tags associated with a specific asset
164
156
  */
165
157
  const assetsUpdateTags2 = (options) => {
166
- var _a;
167
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
158
+ return (options.client ?? client_gen_1.client).patch({
168
159
  security: [
169
160
  {
170
161
  scheme: 'bearer',
@@ -182,10 +173,10 @@ const assetsUpdateTags2 = (options) => {
182
173
  exports.assetsUpdateTags2 = assetsUpdateTags2;
183
174
  /**
184
175
  * Update label for an asset
176
+ * Update the display label of a specific asset
185
177
  */
186
178
  const assetsUpdateLabel = (options) => {
187
- var _a;
188
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
179
+ return (options.client ?? client_gen_1.client).patch({
189
180
  security: [
190
181
  {
191
182
  scheme: 'bearer',
@@ -203,10 +194,10 @@ const assetsUpdateLabel = (options) => {
203
194
  exports.assetsUpdateLabel = assetsUpdateLabel;
204
195
  /**
205
196
  * Update label for an asset
197
+ * Update the display label of a specific asset
206
198
  */
207
199
  const assetsUpdateLabel2 = (options) => {
208
- var _a;
209
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
200
+ return (options.client ?? client_gen_1.client).patch({
210
201
  security: [
211
202
  {
212
203
  scheme: 'bearer',
@@ -224,10 +215,10 @@ const assetsUpdateLabel2 = (options) => {
224
215
  exports.assetsUpdateLabel2 = assetsUpdateLabel2;
225
216
  /**
226
217
  * Retrieve many assets
218
+ * Retrieve a paginated list of assets
227
219
  */
228
220
  const assetsGetMany = (options) => {
229
- var _a;
230
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
221
+ return (options.client ?? client_gen_1.client).get({
231
222
  security: [
232
223
  {
233
224
  scheme: 'bearer',
@@ -241,10 +232,10 @@ const assetsGetMany = (options) => {
241
232
  exports.assetsGetMany = assetsGetMany;
242
233
  /**
243
234
  * Retrieve many assets
235
+ * Retrieve a paginated list of assets
244
236
  */
245
237
  const assetsGetMany2 = (options) => {
246
- var _a;
247
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
238
+ return (options.client ?? client_gen_1.client).get({
248
239
  security: [
249
240
  {
250
241
  scheme: 'bearer',
@@ -257,8 +248,7 @@ const assetsGetMany2 = (options) => {
257
248
  };
258
249
  exports.assetsGetMany2 = assetsGetMany2;
259
250
  const endpointGetEndpointsWithTaskCount = (options) => {
260
- var _a;
261
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
251
+ return (options.client ?? client_gen_1.client).get({
262
252
  security: [
263
253
  {
264
254
  scheme: 'bearer',
@@ -271,8 +261,7 @@ const endpointGetEndpointsWithTaskCount = (options) => {
271
261
  };
272
262
  exports.endpointGetEndpointsWithTaskCount = endpointGetEndpointsWithTaskCount;
273
263
  const endpointGetEndpointsStats = (options) => {
274
- var _a;
275
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
264
+ return (options.client ?? client_gen_1.client).get({
276
265
  security: [
277
266
  {
278
267
  scheme: 'bearer',
@@ -285,8 +274,7 @@ const endpointGetEndpointsStats = (options) => {
285
274
  };
286
275
  exports.endpointGetEndpointsStats = endpointGetEndpointsStats;
287
276
  const endpointGetEndpointsStats1 = (options) => {
288
- var _a;
289
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
277
+ return (options.client ?? client_gen_1.client).get({
290
278
  security: [
291
279
  {
292
280
  scheme: 'bearer',
@@ -299,11 +287,11 @@ const endpointGetEndpointsStats1 = (options) => {
299
287
  };
300
288
  exports.endpointGetEndpointsStats1 = endpointGetEndpointsStats1;
301
289
  /**
302
- * Retrieve a specific asset
290
+ * Retrieve many assets
291
+ * Retrieve detailed information about a specific asset
303
292
  */
304
- const assetsGetById = (options) => {
305
- var _a;
306
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
293
+ const assetsGetMany3 = (options) => {
294
+ return (options.client ?? client_gen_1.client).get({
307
295
  security: [
308
296
  {
309
297
  scheme: 'bearer',
@@ -314,13 +302,13 @@ const assetsGetById = (options) => {
314
302
  ...options
315
303
  });
316
304
  };
317
- exports.assetsGetById = assetsGetById;
305
+ exports.assetsGetMany3 = assetsGetMany3;
318
306
  /**
319
- * Retrieve a specific asset
307
+ * Retrieve many assets
308
+ * Retrieve detailed information about a specific asset
320
309
  */
321
- const assetsGetById2 = (options) => {
322
- var _a;
323
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
310
+ const assetsGetMany4 = (options) => {
311
+ return (options.client ?? client_gen_1.client).get({
324
312
  security: [
325
313
  {
326
314
  scheme: 'bearer',
@@ -331,10 +319,9 @@ const assetsGetById2 = (options) => {
331
319
  ...options
332
320
  });
333
321
  };
334
- exports.assetsGetById2 = assetsGetById2;
322
+ exports.assetsGetMany4 = assetsGetMany4;
335
323
  const endpointImportPpcAsEndpoint = (options) => {
336
- var _a;
337
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
324
+ return (options.client ?? client_gen_1.client).post({
338
325
  security: [
339
326
  {
340
327
  scheme: 'bearer',
@@ -351,8 +338,7 @@ const endpointImportPpcAsEndpoint = (options) => {
351
338
  };
352
339
  exports.endpointImportPpcAsEndpoint = endpointImportPpcAsEndpoint;
353
340
  const endpointImportPpcAsEndpoint1 = (options) => {
354
- var _a;
355
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
341
+ return (options.client ?? client_gen_1.client).post({
356
342
  security: [
357
343
  {
358
344
  scheme: 'bearer',
@@ -369,8 +355,7 @@ const endpointImportPpcAsEndpoint1 = (options) => {
369
355
  };
370
356
  exports.endpointImportPpcAsEndpoint1 = endpointImportPpcAsEndpoint1;
371
357
  const endpointImportPpcToExistedEndpoint = (options) => {
372
- var _a;
373
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
358
+ return (options.client ?? client_gen_1.client).post({
374
359
  security: [
375
360
  {
376
361
  scheme: 'bearer',
@@ -383,8 +368,7 @@ const endpointImportPpcToExistedEndpoint = (options) => {
383
368
  };
384
369
  exports.endpointImportPpcToExistedEndpoint = endpointImportPpcToExistedEndpoint;
385
370
  const endpointImportPpcToExistedEndpoint1 = (options) => {
386
- var _a;
387
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
371
+ return (options.client ?? client_gen_1.client).post({
388
372
  security: [
389
373
  {
390
374
  scheme: 'bearer',
@@ -397,8 +381,7 @@ const endpointImportPpcToExistedEndpoint1 = (options) => {
397
381
  };
398
382
  exports.endpointImportPpcToExistedEndpoint1 = endpointImportPpcToExistedEndpoint1;
399
383
  const endpointUninstallAgentsAndPurgeByFilter = (options) => {
400
- var _a;
401
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
384
+ return (options.client ?? client_gen_1.client).delete({
402
385
  security: [
403
386
  {
404
387
  scheme: 'bearer',
@@ -415,8 +398,7 @@ const endpointUninstallAgentsAndPurgeByFilter = (options) => {
415
398
  };
416
399
  exports.endpointUninstallAgentsAndPurgeByFilter = endpointUninstallAgentsAndPurgeByFilter;
417
400
  const endpointUninstallAgentsAndPurgeByFilter1 = (options) => {
418
- var _a;
419
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
401
+ return (options.client ?? client_gen_1.client).delete({
420
402
  security: [
421
403
  {
422
404
  scheme: 'bearer',
@@ -433,8 +415,7 @@ const endpointUninstallAgentsAndPurgeByFilter1 = (options) => {
433
415
  };
434
416
  exports.endpointUninstallAgentsAndPurgeByFilter1 = endpointUninstallAgentsAndPurgeByFilter1;
435
417
  const endpointUninstallAgentsAndPurgeByFilter2 = (options) => {
436
- var _a;
437
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
418
+ return (options.client ?? client_gen_1.client).delete({
438
419
  security: [
439
420
  {
440
421
  scheme: 'bearer',
@@ -451,8 +432,7 @@ const endpointUninstallAgentsAndPurgeByFilter2 = (options) => {
451
432
  };
452
433
  exports.endpointUninstallAgentsAndPurgeByFilter2 = endpointUninstallAgentsAndPurgeByFilter2;
453
434
  const endpointUninstallEndpointsByFilter = (options) => {
454
- var _a;
455
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
435
+ return (options.client ?? client_gen_1.client).delete({
456
436
  security: [
457
437
  {
458
438
  scheme: 'bearer',
@@ -469,8 +449,7 @@ const endpointUninstallEndpointsByFilter = (options) => {
469
449
  };
470
450
  exports.endpointUninstallEndpointsByFilter = endpointUninstallEndpointsByFilter;
471
451
  const endpointUninstallEndpointsByFilter1 = (options) => {
472
- var _a;
473
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
452
+ return (options.client ?? client_gen_1.client).delete({
474
453
  security: [
475
454
  {
476
455
  scheme: 'bearer',
@@ -487,8 +466,7 @@ const endpointUninstallEndpointsByFilter1 = (options) => {
487
466
  };
488
467
  exports.endpointUninstallEndpointsByFilter1 = endpointUninstallEndpointsByFilter1;
489
468
  const endpointPurgeAssetDataByFilter = (options) => {
490
- var _a;
491
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
469
+ return (options.client ?? client_gen_1.client).delete({
492
470
  security: [
493
471
  {
494
472
  scheme: 'bearer',
@@ -505,8 +483,7 @@ const endpointPurgeAssetDataByFilter = (options) => {
505
483
  };
506
484
  exports.endpointPurgeAssetDataByFilter = endpointPurgeAssetDataByFilter;
507
485
  const endpointPurgeAssetDataByFilter1 = (options) => {
508
- var _a;
509
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
486
+ return (options.client ?? client_gen_1.client).delete({
510
487
  security: [
511
488
  {
512
489
  scheme: 'bearer',
@@ -524,10 +501,10 @@ const endpointPurgeAssetDataByFilter1 = (options) => {
524
501
  exports.endpointPurgeAssetDataByFilter1 = endpointPurgeAssetDataByFilter1;
525
502
  /**
526
503
  * Remove tags from assets by filter
504
+ * Remove specified tags from multiple assets
527
505
  */
528
506
  const assetsRemoveTags = (options) => {
529
- var _a;
530
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
507
+ return (options.client ?? client_gen_1.client).delete({
531
508
  security: [
532
509
  {
533
510
  scheme: 'bearer',
@@ -545,10 +522,10 @@ const assetsRemoveTags = (options) => {
545
522
  exports.assetsRemoveTags = assetsRemoveTags;
546
523
  /**
547
524
  * Add tags to assets by filter
525
+ * Add specified tags to multiple assets that match the provided filter criteria
548
526
  */
549
527
  const assetsAddTags = (options) => {
550
- var _a;
551
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
528
+ return (options.client ?? client_gen_1.client).post({
552
529
  security: [
553
530
  {
554
531
  scheme: 'bearer',
@@ -566,10 +543,10 @@ const assetsAddTags = (options) => {
566
543
  exports.assetsAddTags = assetsAddTags;
567
544
  /**
568
545
  * Remove tags from assets by filter
546
+ * Remove specified tags from multiple assets
569
547
  */
570
548
  const assetsRemoveTags2 = (options) => {
571
- var _a;
572
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
549
+ return (options.client ?? client_gen_1.client).delete({
573
550
  security: [
574
551
  {
575
552
  scheme: 'bearer',
@@ -587,10 +564,10 @@ const assetsRemoveTags2 = (options) => {
587
564
  exports.assetsRemoveTags2 = assetsRemoveTags2;
588
565
  /**
589
566
  * Add tags to assets by filter
567
+ * Add specified tags to multiple assets that match the provided filter criteria
590
568
  */
591
569
  const assetsAddTags2 = (options) => {
592
- var _a;
593
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
570
+ return (options.client ?? client_gen_1.client).post({
594
571
  security: [
595
572
  {
596
573
  scheme: 'bearer',
@@ -607,8 +584,7 @@ const assetsAddTags2 = (options) => {
607
584
  };
608
585
  exports.assetsAddTags2 = assetsAddTags2;
609
586
  const endpointFilterDisks = (options) => {
610
- var _a;
611
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
587
+ return (options.client ?? client_gen_1.client).get({
612
588
  security: [
613
589
  {
614
590
  scheme: 'bearer',
@@ -621,8 +597,7 @@ const endpointFilterDisks = (options) => {
621
597
  };
622
598
  exports.endpointFilterDisks = endpointFilterDisks;
623
599
  const endpointFilterDisks1 = (options) => {
624
- var _a;
625
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
600
+ return (options.client ?? client_gen_1.client).get({
626
601
  security: [
627
602
  {
628
603
  scheme: 'bearer',
@@ -635,8 +610,7 @@ const endpointFilterDisks1 = (options) => {
635
610
  };
636
611
  exports.endpointFilterDisks1 = endpointFilterDisks1;
637
612
  const endpointFilterByPolicyFilter = (options) => {
638
- var _a;
639
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
613
+ return (options.client ?? client_gen_1.client).post({
640
614
  security: [
641
615
  {
642
616
  scheme: 'bearer',
@@ -653,8 +627,7 @@ const endpointFilterByPolicyFilter = (options) => {
653
627
  };
654
628
  exports.endpointFilterByPolicyFilter = endpointFilterByPolicyFilter;
655
629
  const endpointFilterByPolicyFilter1 = (options) => {
656
- var _a;
657
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
630
+ return (options.client ?? client_gen_1.client).post({
658
631
  security: [
659
632
  {
660
633
  scheme: 'bearer',
@@ -671,8 +644,7 @@ const endpointFilterByPolicyFilter1 = (options) => {
671
644
  };
672
645
  exports.endpointFilterByPolicyFilter1 = endpointFilterByPolicyFilter1;
673
646
  const endpointSearch = (options) => {
674
- var _a;
675
- 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({
676
648
  security: [
677
649
  {
678
650
  scheme: 'bearer',
@@ -685,8 +657,7 @@ const endpointSearch = (options) => {
685
657
  };
686
658
  exports.endpointSearch = endpointSearch;
687
659
  const endpointSearch1 = (options) => {
688
- var _a;
689
- 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({
690
661
  security: [
691
662
  {
692
663
  scheme: 'bearer',
@@ -699,8 +670,7 @@ const endpointSearch1 = (options) => {
699
670
  };
700
671
  exports.endpointSearch1 = endpointSearch1;
701
672
  const endpointGetCasesById = (options) => {
702
- var _a;
703
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
673
+ return (options.client ?? client_gen_1.client).get({
704
674
  security: [
705
675
  {
706
676
  scheme: 'bearer',
@@ -713,8 +683,7 @@ const endpointGetCasesById = (options) => {
713
683
  };
714
684
  exports.endpointGetCasesById = endpointGetCasesById;
715
685
  const endpointGetCasesById1 = (options) => {
716
- var _a;
717
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
686
+ return (options.client ?? client_gen_1.client).get({
718
687
  security: [
719
688
  {
720
689
  scheme: 'bearer',
@@ -727,8 +696,7 @@ const endpointGetCasesById1 = (options) => {
727
696
  };
728
697
  exports.endpointGetCasesById1 = endpointGetCasesById1;
729
698
  const endpointExportCasesByEndpointId = (options) => {
730
- var _a;
731
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
699
+ return (options.client ?? client_gen_1.client).get({
732
700
  security: [
733
701
  {
734
702
  scheme: 'bearer',
@@ -741,8 +709,7 @@ const endpointExportCasesByEndpointId = (options) => {
741
709
  };
742
710
  exports.endpointExportCasesByEndpointId = endpointExportCasesByEndpointId;
743
711
  const endpointExportCasesByEndpointId1 = (options) => {
744
- var _a;
745
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
712
+ return (options.client ?? client_gen_1.client).get({
746
713
  security: [
747
714
  {
748
715
  scheme: 'bearer',
@@ -755,8 +722,7 @@ const endpointExportCasesByEndpointId1 = (options) => {
755
722
  };
756
723
  exports.endpointExportCasesByEndpointId1 = endpointExportCasesByEndpointId1;
757
724
  const endpointSetExcludeFromUpdatesToEndpointsByFilter = (options) => {
758
- var _a;
759
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
725
+ return (options.client ?? client_gen_1.client).post({
760
726
  security: [
761
727
  {
762
728
  scheme: 'bearer',
@@ -773,8 +739,7 @@ const endpointSetExcludeFromUpdatesToEndpointsByFilter = (options) => {
773
739
  };
774
740
  exports.endpointSetExcludeFromUpdatesToEndpointsByFilter = endpointSetExcludeFromUpdatesToEndpointsByFilter;
775
741
  const endpointSetExcludeFromUpdatesToEndpointsByFilter1 = (options) => {
776
- var _a;
777
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
742
+ return (options.client ?? client_gen_1.client).post({
778
743
  security: [
779
744
  {
780
745
  scheme: 'bearer',
@@ -791,8 +756,7 @@ const endpointSetExcludeFromUpdatesToEndpointsByFilter1 = (options) => {
791
756
  };
792
757
  exports.endpointSetExcludeFromUpdatesToEndpointsByFilter1 = endpointSetExcludeFromUpdatesToEndpointsByFilter1;
793
758
  const endpointDownloadLogFile = (options) => {
794
- var _a;
795
- 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({
796
760
  security: [
797
761
  {
798
762
  scheme: 'bearer',
@@ -805,8 +769,7 @@ const endpointDownloadLogFile = (options) => {
805
769
  };
806
770
  exports.endpointDownloadLogFile = endpointDownloadLogFile;
807
771
  const endpointDownloadLogFile1 = (options) => {
808
- var _a;
809
- 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({
810
773
  security: [
811
774
  {
812
775
  scheme: 'bearer',
@@ -819,8 +782,7 @@ const endpointDownloadLogFile1 = (options) => {
819
782
  };
820
783
  exports.endpointDownloadLogFile1 = endpointDownloadLogFile1;
821
784
  const endpointSyncLdap = (options) => {
822
- var _a;
823
- 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({
824
786
  security: [
825
787
  {
826
788
  scheme: 'bearer',
@@ -833,8 +795,7 @@ const endpointSyncLdap = (options) => {
833
795
  };
834
796
  exports.endpointSyncLdap = endpointSyncLdap;
835
797
  const endpointSyncLdap1 = (options) => {
836
- var _a;
837
- 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({
838
799
  security: [
839
800
  {
840
801
  scheme: 'bearer',
@@ -847,8 +808,7 @@ const endpointSyncLdap1 = (options) => {
847
808
  };
848
809
  exports.endpointSyncLdap1 = endpointSyncLdap1;
849
810
  const endpointGetCloudAssetDetails = (options) => {
850
- var _a;
851
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
811
+ return (options.client ?? client_gen_1.client).get({
852
812
  security: [
853
813
  {
854
814
  scheme: 'bearer',
@@ -861,8 +821,7 @@ const endpointGetCloudAssetDetails = (options) => {
861
821
  };
862
822
  exports.endpointGetCloudAssetDetails = endpointGetCloudAssetDetails;
863
823
  const endpointGetCloudAssetDetails1 = (options) => {
864
- var _a;
865
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
824
+ return (options.client ?? client_gen_1.client).get({
866
825
  security: [
867
826
  {
868
827
  scheme: 'bearer',
@@ -875,8 +834,7 @@ const endpointGetCloudAssetDetails1 = (options) => {
875
834
  };
876
835
  exports.endpointGetCloudAssetDetails1 = endpointGetCloudAssetDetails1;
877
836
  const endpointDeployCloudAssetsByFilter = (options) => {
878
- var _a;
879
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
837
+ return (options.client ?? client_gen_1.client).post({
880
838
  security: [
881
839
  {
882
840
  scheme: 'bearer',
@@ -893,8 +851,7 @@ const endpointDeployCloudAssetsByFilter = (options) => {
893
851
  };
894
852
  exports.endpointDeployCloudAssetsByFilter = endpointDeployCloudAssetsByFilter;
895
853
  const endpointDeployCloudAssetsByFilter1 = (options) => {
896
- var _a;
897
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
854
+ return (options.client ?? client_gen_1.client).post({
898
855
  security: [
899
856
  {
900
857
  scheme: 'bearer',
@@ -911,8 +868,7 @@ const endpointDeployCloudAssetsByFilter1 = (options) => {
911
868
  };
912
869
  exports.endpointDeployCloudAssetsByFilter1 = endpointDeployCloudAssetsByFilter1;
913
870
  const endpointUpdateEndpointConnectionRoute = (options) => {
914
- var _a;
915
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
871
+ return (options.client ?? client_gen_1.client).patch({
916
872
  security: [
917
873
  {
918
874
  scheme: 'bearer',
@@ -929,8 +885,7 @@ const endpointUpdateEndpointConnectionRoute = (options) => {
929
885
  };
930
886
  exports.endpointUpdateEndpointConnectionRoute = endpointUpdateEndpointConnectionRoute;
931
887
  const endpointUpdateEndpointConnectionRoute1 = (options) => {
932
- var _a;
933
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
888
+ return (options.client ?? client_gen_1.client).patch({
934
889
  security: [
935
890
  {
936
891
  scheme: 'bearer',
@@ -947,8 +902,7 @@ const endpointUpdateEndpointConnectionRoute1 = (options) => {
947
902
  };
948
903
  exports.endpointUpdateEndpointConnectionRoute1 = endpointUpdateEndpointConnectionRoute1;
949
904
  const endpointTagFilterTags = (options) => {
950
- var _a;
951
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
905
+ return (options.client ?? client_gen_1.client).get({
952
906
  security: [
953
907
  {
954
908
  scheme: 'bearer',
@@ -961,8 +915,7 @@ const endpointTagFilterTags = (options) => {
961
915
  };
962
916
  exports.endpointTagFilterTags = endpointTagFilterTags;
963
917
  const endpointTagDeleteAllTags = (options) => {
964
- var _a;
965
- 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({
966
919
  security: [
967
920
  {
968
921
  scheme: 'bearer',
@@ -975,8 +928,7 @@ const endpointTagDeleteAllTags = (options) => {
975
928
  };
976
929
  exports.endpointTagDeleteAllTags = endpointTagDeleteAllTags;
977
930
  const endpointTagDeleteTag = (options) => {
978
- var _a;
979
- 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({
980
932
  security: [
981
933
  {
982
934
  scheme: 'bearer',
@@ -989,8 +941,7 @@ const endpointTagDeleteTag = (options) => {
989
941
  };
990
942
  exports.endpointTagDeleteTag = endpointTagDeleteTag;
991
943
  const endpointGroupGetChildGroupsOfGroup = (options) => {
992
- var _a;
993
- 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({
994
945
  security: [
995
946
  {
996
947
  scheme: 'bearer',
@@ -1003,8 +954,7 @@ const endpointGroupGetChildGroupsOfGroup = (options) => {
1003
954
  };
1004
955
  exports.endpointGroupGetChildGroupsOfGroup = endpointGroupGetChildGroupsOfGroup;
1005
956
  const endpointGroupGetRootGroups = (options) => {
1006
- var _a;
1007
- 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({
1008
958
  security: [
1009
959
  {
1010
960
  scheme: 'bearer',
@@ -1017,8 +967,7 @@ const endpointGroupGetRootGroups = (options) => {
1017
967
  };
1018
968
  exports.endpointGroupGetRootGroups = endpointGroupGetRootGroups;
1019
969
  const taskDelete = (options) => {
1020
- var _a;
1021
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
970
+ return (options.client ?? client_gen_1.client).delete({
1022
971
  security: [
1023
972
  {
1024
973
  scheme: 'bearer',
@@ -1032,10 +981,10 @@ const taskDelete = (options) => {
1032
981
  exports.taskDelete = taskDelete;
1033
982
  /**
1034
983
  * Retrieve a specific task
984
+ * Retrieves detailed information about a specific task
1035
985
  */
1036
986
  const tasksGetById = (options) => {
1037
- var _a;
1038
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
987
+ return (options.client ?? client_gen_1.client).get({
1039
988
  security: [
1040
989
  {
1041
990
  scheme: 'bearer',
@@ -1049,10 +998,10 @@ const tasksGetById = (options) => {
1049
998
  exports.tasksGetById = tasksGetById;
1050
999
  /**
1051
1000
  * Retrieve many tasks
1001
+ * Retrieves a paginated list of tasks
1052
1002
  */
1053
1003
  const tasksGetMany = (options) => {
1054
- var _a;
1055
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1004
+ return (options.client ?? client_gen_1.client).get({
1056
1005
  security: [
1057
1006
  {
1058
1007
  scheme: 'bearer',
@@ -1065,8 +1014,7 @@ const tasksGetMany = (options) => {
1065
1014
  };
1066
1015
  exports.tasksGetMany = tasksGetMany;
1067
1016
  const taskRenameTask = (options) => {
1068
- var _a;
1069
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
1017
+ return (options.client ?? client_gen_1.client).patch({
1070
1018
  security: [
1071
1019
  {
1072
1020
  scheme: 'bearer',
@@ -1084,10 +1032,10 @@ const taskRenameTask = (options) => {
1084
1032
  exports.taskRenameTask = taskRenameTask;
1085
1033
  /**
1086
1034
  * Retrieve data for a specific task
1035
+ * Downloads the actual data/results collected by a task
1087
1036
  */
1088
1037
  const tasksGetData = (options) => {
1089
- var _a;
1090
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1038
+ return (options.client ?? client_gen_1.client).get({
1091
1039
  security: [
1092
1040
  {
1093
1041
  scheme: 'bearer',
@@ -1100,8 +1048,7 @@ const tasksGetData = (options) => {
1100
1048
  };
1101
1049
  exports.tasksGetData = tasksGetData;
1102
1050
  const taskDeleteByFilter = (options) => {
1103
- var _a;
1104
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1051
+ return (options.client ?? client_gen_1.client).delete({
1105
1052
  security: [
1106
1053
  {
1107
1054
  scheme: 'bearer',
@@ -1118,8 +1065,7 @@ const taskDeleteByFilter = (options) => {
1118
1065
  };
1119
1066
  exports.taskDeleteByFilter = taskDeleteByFilter;
1120
1067
  const taskDeleteAndPurgeByFilter = (options) => {
1121
- var _a;
1122
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
1068
+ return (options.client ?? client_gen_1.client).delete({
1123
1069
  security: [
1124
1070
  {
1125
1071
  scheme: 'bearer',
@@ -1136,8 +1082,7 @@ const taskDeleteAndPurgeByFilter = (options) => {
1136
1082
  };
1137
1083
  exports.taskDeleteAndPurgeByFilter = taskDeleteAndPurgeByFilter;
1138
1084
  const taskCancelByFilter = (options) => {
1139
- var _a;
1140
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1085
+ return (options.client ?? client_gen_1.client).post({
1141
1086
  security: [
1142
1087
  {
1143
1088
  scheme: 'bearer',
@@ -1154,8 +1099,7 @@ const taskCancelByFilter = (options) => {
1154
1099
  };
1155
1100
  exports.taskCancelByFilter = taskCancelByFilter;
1156
1101
  const taskCancel = (options) => {
1157
- var _a;
1158
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1102
+ return (options.client ?? client_gen_1.client).post({
1159
1103
  security: [
1160
1104
  {
1161
1105
  scheme: 'bearer',
@@ -1168,8 +1112,7 @@ const taskCancel = (options) => {
1168
1112
  };
1169
1113
  exports.taskCancel = taskCancel;
1170
1114
  const taskCreateOffNetworkTask = (options) => {
1171
- var _a;
1172
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1115
+ return (options.client ?? client_gen_1.client).post({
1173
1116
  security: [
1174
1117
  {
1175
1118
  scheme: 'bearer',
@@ -1186,8 +1129,7 @@ const taskCreateOffNetworkTask = (options) => {
1186
1129
  };
1187
1130
  exports.taskCreateOffNetworkTask = taskCreateOffNetworkTask;
1188
1131
  const taskImportOffNetworkCollectionToTask = (options) => {
1189
- var _a;
1190
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1132
+ return (options.client ?? client_gen_1.client).post({
1191
1133
  security: [
1192
1134
  {
1193
1135
  scheme: 'bearer',
@@ -1204,8 +1146,7 @@ const taskImportOffNetworkCollectionToTask = (options) => {
1204
1146
  };
1205
1147
  exports.taskImportOffNetworkCollectionToTask = taskImportOffNetworkCollectionToTask;
1206
1148
  const taskDownloadOffNetworkTask = (options) => {
1207
- var _a;
1208
- 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({
1209
1150
  security: [
1210
1151
  {
1211
1152
  scheme: 'bearer',
@@ -1218,8 +1159,7 @@ const taskDownloadOffNetworkTask = (options) => {
1218
1159
  };
1219
1160
  exports.taskDownloadOffNetworkTask = taskDownloadOffNetworkTask;
1220
1161
  const taskGenerateOffNetworkZipPassword = (options) => {
1221
- var _a;
1222
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1162
+ return (options.client ?? client_gen_1.client).post({
1223
1163
  security: [
1224
1164
  {
1225
1165
  scheme: 'bearer',
@@ -1237,10 +1177,10 @@ const taskGenerateOffNetworkZipPassword = (options) => {
1237
1177
  exports.taskGenerateOffNetworkZipPassword = taskGenerateOffNetworkZipPassword;
1238
1178
  /**
1239
1179
  * Assign reboot task to an asset
1180
+ * Creates and assigns a reboot task to one or more assets
1240
1181
  */
1241
1182
  const assetsAssignRebootTask = (options) => {
1242
- var _a;
1243
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1183
+ return (options.client ?? client_gen_1.client).post({
1244
1184
  security: [
1245
1185
  {
1246
1186
  scheme: 'bearer',
@@ -1258,10 +1198,10 @@ const assetsAssignRebootTask = (options) => {
1258
1198
  exports.assetsAssignRebootTask = assetsAssignRebootTask;
1259
1199
  /**
1260
1200
  * Assign reboot task to an asset
1201
+ * Creates and assigns a reboot task to one or more assets
1261
1202
  */
1262
1203
  const assetsAssignRebootTask2 = (options) => {
1263
- var _a;
1264
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1204
+ return (options.client ?? client_gen_1.client).post({
1265
1205
  security: [
1266
1206
  {
1267
1207
  scheme: 'bearer',
@@ -1279,10 +1219,10 @@ const assetsAssignRebootTask2 = (options) => {
1279
1219
  exports.assetsAssignRebootTask2 = assetsAssignRebootTask2;
1280
1220
  /**
1281
1221
  * Assign shutdown task to an asset
1222
+ * Creates and assigns a shutdown task to one or more assets
1282
1223
  */
1283
1224
  const assetsAssignShutdownTask = (options) => {
1284
- var _a;
1285
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1225
+ return (options.client ?? client_gen_1.client).post({
1286
1226
  security: [
1287
1227
  {
1288
1228
  scheme: 'bearer',
@@ -1300,10 +1240,10 @@ const assetsAssignShutdownTask = (options) => {
1300
1240
  exports.assetsAssignShutdownTask = assetsAssignShutdownTask;
1301
1241
  /**
1302
1242
  * Assign shutdown task to an asset
1243
+ * Creates and assigns a shutdown task to one or more assets
1303
1244
  */
1304
1245
  const assetsAssignShutdownTask2 = (options) => {
1305
- var _a;
1306
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1246
+ return (options.client ?? client_gen_1.client).post({
1307
1247
  security: [
1308
1248
  {
1309
1249
  scheme: 'bearer',
@@ -1320,8 +1260,7 @@ const assetsAssignShutdownTask2 = (options) => {
1320
1260
  };
1321
1261
  exports.assetsAssignShutdownTask2 = assetsAssignShutdownTask2;
1322
1262
  const endpointTaskAssignRetrieveLogTask = (options) => {
1323
- var _a;
1324
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1263
+ return (options.client ?? client_gen_1.client).post({
1325
1264
  security: [
1326
1265
  {
1327
1266
  scheme: 'bearer',
@@ -1338,8 +1277,7 @@ const endpointTaskAssignRetrieveLogTask = (options) => {
1338
1277
  };
1339
1278
  exports.endpointTaskAssignRetrieveLogTask = endpointTaskAssignRetrieveLogTask;
1340
1279
  const endpointTaskAssignRetrieveLogTask1 = (options) => {
1341
- var _a;
1342
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1280
+ return (options.client ?? client_gen_1.client).post({
1343
1281
  security: [
1344
1282
  {
1345
1283
  scheme: 'bearer',
@@ -1356,8 +1294,7 @@ const endpointTaskAssignRetrieveLogTask1 = (options) => {
1356
1294
  };
1357
1295
  exports.endpointTaskAssignRetrieveLogTask1 = endpointTaskAssignRetrieveLogTask1;
1358
1296
  const endpointTaskAssignFixUpdateRequiredIssueTask = (options) => {
1359
- var _a;
1360
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1297
+ return (options.client ?? client_gen_1.client).post({
1361
1298
  security: [
1362
1299
  {
1363
1300
  scheme: 'bearer',
@@ -1374,8 +1311,7 @@ const endpointTaskAssignFixUpdateRequiredIssueTask = (options) => {
1374
1311
  };
1375
1312
  exports.endpointTaskAssignFixUpdateRequiredIssueTask = endpointTaskAssignFixUpdateRequiredIssueTask;
1376
1313
  const endpointTaskAssignFixUpdateRequiredIssueTask1 = (options) => {
1377
- var _a;
1378
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1314
+ return (options.client ?? client_gen_1.client).post({
1379
1315
  security: [
1380
1316
  {
1381
1317
  scheme: 'bearer',
@@ -1393,10 +1329,10 @@ const endpointTaskAssignFixUpdateRequiredIssueTask1 = (options) => {
1393
1329
  exports.endpointTaskAssignFixUpdateRequiredIssueTask1 = endpointTaskAssignFixUpdateRequiredIssueTask1;
1394
1330
  /**
1395
1331
  * Assign isolation task to an asset
1332
+ * Creates and assigns an isolation task to one or more assets by filter
1396
1333
  */
1397
1334
  const assetsAssignIsolationTask = (options) => {
1398
- var _a;
1399
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1335
+ return (options.client ?? client_gen_1.client).post({
1400
1336
  security: [
1401
1337
  {
1402
1338
  scheme: 'bearer',
@@ -1414,10 +1350,10 @@ const assetsAssignIsolationTask = (options) => {
1414
1350
  exports.assetsAssignIsolationTask = assetsAssignIsolationTask;
1415
1351
  /**
1416
1352
  * Assign isolation task to an asset
1353
+ * Creates and assigns an isolation task to one or more assets by filter
1417
1354
  */
1418
1355
  const assetsAssignIsolationTask2 = (options) => {
1419
- var _a;
1420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1356
+ return (options.client ?? client_gen_1.client).post({
1421
1357
  security: [
1422
1358
  {
1423
1359
  scheme: 'bearer',
@@ -1435,10 +1371,10 @@ const assetsAssignIsolationTask2 = (options) => {
1435
1371
  exports.assetsAssignIsolationTask2 = assetsAssignIsolationTask2;
1436
1372
  /**
1437
1373
  * Get tasks for a specific asset
1374
+ * Retrieves a paginated list of tasks associated with a specific asset
1438
1375
  */
1439
1376
  const assetsGetTasks = (options) => {
1440
- var _a;
1441
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1377
+ return (options.client ?? client_gen_1.client).get({
1442
1378
  security: [
1443
1379
  {
1444
1380
  scheme: 'bearer',
@@ -1452,10 +1388,10 @@ const assetsGetTasks = (options) => {
1452
1388
  exports.assetsGetTasks = assetsGetTasks;
1453
1389
  /**
1454
1390
  * Get tasks for a specific asset
1391
+ * Retrieves a paginated list of tasks associated with a specific asset
1455
1392
  */
1456
1393
  const assetsGetTasks2 = (options) => {
1457
- var _a;
1458
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1394
+ return (options.client ?? client_gen_1.client).get({
1459
1395
  security: [
1460
1396
  {
1461
1397
  scheme: 'bearer',
@@ -1468,8 +1404,7 @@ const assetsGetTasks2 = (options) => {
1468
1404
  };
1469
1405
  exports.assetsGetTasks2 = assetsGetTasks2;
1470
1406
  const endpointTaskPurgeLocalData = (options) => {
1471
- var _a;
1472
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1407
+ return (options.client ?? client_gen_1.client).post({
1473
1408
  security: [
1474
1409
  {
1475
1410
  scheme: 'bearer',
@@ -1486,8 +1421,7 @@ const endpointTaskPurgeLocalData = (options) => {
1486
1421
  };
1487
1422
  exports.endpointTaskPurgeLocalData = endpointTaskPurgeLocalData;
1488
1423
  const endpointTaskPurgeLocalData1 = (options) => {
1489
- var _a;
1490
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1424
+ return (options.client ?? client_gen_1.client).post({
1491
1425
  security: [
1492
1426
  {
1493
1427
  scheme: 'bearer',
@@ -1504,8 +1438,7 @@ const endpointTaskPurgeLocalData1 = (options) => {
1504
1438
  };
1505
1439
  exports.endpointTaskPurgeLocalData1 = endpointTaskPurgeLocalData1;
1506
1440
  const endpointTaskRetryUpload = (options) => {
1507
- var _a;
1508
- 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({
1509
1442
  security: [
1510
1443
  {
1511
1444
  scheme: 'bearer',
@@ -1518,8 +1451,7 @@ const endpointTaskRetryUpload = (options) => {
1518
1451
  };
1519
1452
  exports.endpointTaskRetryUpload = endpointTaskRetryUpload;
1520
1453
  const endpointTaskRetryUpload1 = (options) => {
1521
- var _a;
1522
- 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({
1523
1455
  security: [
1524
1456
  {
1525
1457
  scheme: 'bearer',
@@ -1532,8 +1464,7 @@ const endpointTaskRetryUpload1 = (options) => {
1532
1464
  };
1533
1465
  exports.endpointTaskRetryUpload1 = endpointTaskRetryUpload1;
1534
1466
  const endpointTaskGetComparableTasksByVendorDeviceId = (options) => {
1535
- var _a;
1536
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1467
+ return (options.client ?? client_gen_1.client).get({
1537
1468
  security: [
1538
1469
  {
1539
1470
  scheme: 'bearer',
@@ -1546,8 +1477,7 @@ const endpointTaskGetComparableTasksByVendorDeviceId = (options) => {
1546
1477
  };
1547
1478
  exports.endpointTaskGetComparableTasksByVendorDeviceId = endpointTaskGetComparableTasksByVendorDeviceId;
1548
1479
  const taskAssignmentFilter = (options) => {
1549
- var _a;
1550
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
1480
+ return (options.client ?? client_gen_1.client).get({
1551
1481
  security: [
1552
1482
  {
1553
1483
  scheme: 'bearer',
@@ -1560,8 +1490,7 @@ const taskAssignmentFilter = (options) => {
1560
1490
  };
1561
1491
  exports.taskAssignmentFilter = taskAssignmentFilter;
1562
1492
  const taskAssignmentCancel = (options) => {
1563
- var _a;
1564
- 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({
1565
1494
  security: [
1566
1495
  {
1567
1496
  scheme: 'bearer',
@@ -1574,8 +1503,7 @@ const taskAssignmentCancel = (options) => {
1574
1503
  };
1575
1504
  exports.taskAssignmentCancel = taskAssignmentCancel;
1576
1505
  const taskAssignmentDelete = (options) => {
1577
- var _a;
1578
- 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({
1579
1507
  security: [
1580
1508
  {
1581
1509
  scheme: 'bearer',
@@ -1588,8 +1516,7 @@ const taskAssignmentDelete = (options) => {
1588
1516
  };
1589
1517
  exports.taskAssignmentDelete = taskAssignmentDelete;
1590
1518
  const taskAssignmentGet = (options) => {
1591
- var _a;
1592
- 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({
1593
1520
  security: [
1594
1521
  {
1595
1522
  scheme: 'bearer',
@@ -1602,8 +1529,7 @@ const taskAssignmentGet = (options) => {
1602
1529
  };
1603
1530
  exports.taskAssignmentGet = taskAssignmentGet;
1604
1531
  const taskAssignmentGenerateTaskAssignmentReport = (options) => {
1605
- var _a;
1606
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1532
+ return (options.client ?? client_gen_1.client).post({
1607
1533
  security: [
1608
1534
  {
1609
1535
  scheme: 'bearer',
@@ -1616,8 +1542,7 @@ const taskAssignmentGenerateTaskAssignmentReport = (options) => {
1616
1542
  };
1617
1543
  exports.taskAssignmentGenerateTaskAssignmentReport = taskAssignmentGenerateTaskAssignmentReport;
1618
1544
  const settingsGetSettings = (options) => {
1619
- var _a;
1620
- 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({
1621
1546
  security: [
1622
1547
  {
1623
1548
  scheme: 'bearer',
@@ -1630,8 +1555,7 @@ const settingsGetSettings = (options) => {
1630
1555
  };
1631
1556
  exports.settingsGetSettings = settingsGetSettings;
1632
1557
  const settingsSaveGeneralSettings = (options) => {
1633
- var _a;
1634
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1558
+ return (options.client ?? client_gen_1.client).put({
1635
1559
  security: [
1636
1560
  {
1637
1561
  scheme: 'bearer',
@@ -1648,8 +1572,7 @@ const settingsSaveGeneralSettings = (options) => {
1648
1572
  };
1649
1573
  exports.settingsSaveGeneralSettings = settingsSaveGeneralSettings;
1650
1574
  const settingsSaveProxy = (options) => {
1651
- var _a;
1652
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1575
+ return (options.client ?? client_gen_1.client).put({
1653
1576
  security: [
1654
1577
  {
1655
1578
  scheme: 'bearer',
@@ -1666,8 +1589,7 @@ const settingsSaveProxy = (options) => {
1666
1589
  };
1667
1590
  exports.settingsSaveProxy = settingsSaveProxy;
1668
1591
  const settingsValidateProxy = (options) => {
1669
- var _a;
1670
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1592
+ return (options.client ?? client_gen_1.client).post({
1671
1593
  security: [
1672
1594
  {
1673
1595
  scheme: 'bearer',
@@ -1684,8 +1606,7 @@ const settingsValidateProxy = (options) => {
1684
1606
  };
1685
1607
  exports.settingsValidateProxy = settingsValidateProxy;
1686
1608
  const settingsSaveActiveDirectory = (options) => {
1687
- var _a;
1688
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1609
+ return (options.client ?? client_gen_1.client).put({
1689
1610
  security: [
1690
1611
  {
1691
1612
  scheme: 'bearer',
@@ -1702,8 +1623,7 @@ const settingsSaveActiveDirectory = (options) => {
1702
1623
  };
1703
1624
  exports.settingsSaveActiveDirectory = settingsSaveActiveDirectory;
1704
1625
  const settingsValidateActiveDirectory = (options) => {
1705
- var _a;
1706
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1626
+ return (options.client ?? client_gen_1.client).post({
1707
1627
  security: [
1708
1628
  {
1709
1629
  scheme: 'bearer',
@@ -1720,8 +1640,7 @@ const settingsValidateActiveDirectory = (options) => {
1720
1640
  };
1721
1641
  exports.settingsValidateActiveDirectory = settingsValidateActiveDirectory;
1722
1642
  const settingsSaveSyslog = (options) => {
1723
- var _a;
1724
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1643
+ return (options.client ?? client_gen_1.client).put({
1725
1644
  security: [
1726
1645
  {
1727
1646
  scheme: 'bearer',
@@ -1738,8 +1657,7 @@ const settingsSaveSyslog = (options) => {
1738
1657
  };
1739
1658
  exports.settingsSaveSyslog = settingsSaveSyslog;
1740
1659
  const settingsValidateSyslog = (options) => {
1741
- var _a;
1742
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1660
+ return (options.client ?? client_gen_1.client).post({
1743
1661
  security: [
1744
1662
  {
1745
1663
  scheme: 'bearer',
@@ -1756,8 +1674,7 @@ const settingsValidateSyslog = (options) => {
1756
1674
  };
1757
1675
  exports.settingsValidateSyslog = settingsValidateSyslog;
1758
1676
  const settingsSaveSmtp = (options) => {
1759
- var _a;
1760
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1677
+ return (options.client ?? client_gen_1.client).put({
1761
1678
  security: [
1762
1679
  {
1763
1680
  scheme: 'bearer',
@@ -1774,8 +1691,7 @@ const settingsSaveSmtp = (options) => {
1774
1691
  };
1775
1692
  exports.settingsSaveSmtp = settingsSaveSmtp;
1776
1693
  const settingsValidateSmtp = (options) => {
1777
- var _a;
1778
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1694
+ return (options.client ?? client_gen_1.client).post({
1779
1695
  security: [
1780
1696
  {
1781
1697
  scheme: 'bearer',
@@ -1792,8 +1708,7 @@ const settingsValidateSmtp = (options) => {
1792
1708
  };
1793
1709
  exports.settingsValidateSmtp = settingsValidateSmtp;
1794
1710
  const settingsSaveSsl = (options) => {
1795
- var _a;
1796
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1711
+ return (options.client ?? client_gen_1.client).put({
1797
1712
  security: [
1798
1713
  {
1799
1714
  scheme: 'bearer',
@@ -1810,8 +1725,7 @@ const settingsSaveSsl = (options) => {
1810
1725
  };
1811
1726
  exports.settingsSaveSsl = settingsSaveSsl;
1812
1727
  const settingsValidateSsl = (options) => {
1813
- var _a;
1814
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1728
+ return (options.client ?? client_gen_1.client).post({
1815
1729
  security: [
1816
1730
  {
1817
1731
  scheme: 'bearer',
@@ -1828,8 +1742,7 @@ const settingsValidateSsl = (options) => {
1828
1742
  };
1829
1743
  exports.settingsValidateSsl = settingsValidateSsl;
1830
1744
  const settingsSavePolicy = (options) => {
1831
- var _a;
1832
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1745
+ return (options.client ?? client_gen_1.client).put({
1833
1746
  security: [
1834
1747
  {
1835
1748
  scheme: 'bearer',
@@ -1846,8 +1759,7 @@ const settingsSavePolicy = (options) => {
1846
1759
  };
1847
1760
  exports.settingsSavePolicy = settingsSavePolicy;
1848
1761
  const settingsSaveBackupRestore = (options) => {
1849
- var _a;
1850
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1762
+ return (options.client ?? client_gen_1.client).put({
1851
1763
  security: [
1852
1764
  {
1853
1765
  scheme: 'bearer',
@@ -1864,8 +1776,7 @@ const settingsSaveBackupRestore = (options) => {
1864
1776
  };
1865
1777
  exports.settingsSaveBackupRestore = settingsSaveBackupRestore;
1866
1778
  const settingsValidateSftp = (options) => {
1867
- var _a;
1868
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1779
+ return (options.client ?? client_gen_1.client).post({
1869
1780
  security: [
1870
1781
  {
1871
1782
  scheme: 'bearer',
@@ -1882,8 +1793,7 @@ const settingsValidateSftp = (options) => {
1882
1793
  };
1883
1794
  exports.settingsValidateSftp = settingsValidateSftp;
1884
1795
  const settingsValidateS3 = (options) => {
1885
- var _a;
1886
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1796
+ return (options.client ?? client_gen_1.client).post({
1887
1797
  security: [
1888
1798
  {
1889
1799
  scheme: 'bearer',
@@ -1900,8 +1810,7 @@ const settingsValidateS3 = (options) => {
1900
1810
  };
1901
1811
  exports.settingsValidateS3 = settingsValidateS3;
1902
1812
  const settingsSaveAgent = (options) => {
1903
- var _a;
1904
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1813
+ return (options.client ?? client_gen_1.client).put({
1905
1814
  security: [
1906
1815
  {
1907
1816
  scheme: 'bearer',
@@ -1918,8 +1827,7 @@ const settingsSaveAgent = (options) => {
1918
1827
  };
1919
1828
  exports.settingsSaveAgent = settingsSaveAgent;
1920
1829
  const settingsSaveEnforceTfa = (options) => {
1921
- var _a;
1922
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1830
+ return (options.client ?? client_gen_1.client).put({
1923
1831
  security: [
1924
1832
  {
1925
1833
  scheme: 'bearer',
@@ -1936,8 +1844,7 @@ const settingsSaveEnforceTfa = (options) => {
1936
1844
  };
1937
1845
  exports.settingsSaveEnforceTfa = settingsSaveEnforceTfa;
1938
1846
  const settingsSingleSignOnCallback = (options) => {
1939
- var _a;
1940
- 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({
1941
1848
  security: [
1942
1849
  {
1943
1850
  scheme: 'bearer',
@@ -1950,8 +1857,7 @@ const settingsSingleSignOnCallback = (options) => {
1950
1857
  };
1951
1858
  exports.settingsSingleSignOnCallback = settingsSingleSignOnCallback;
1952
1859
  const settingsSaveSingleSignOn = (options) => {
1953
- var _a;
1954
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1860
+ return (options.client ?? client_gen_1.client).put({
1955
1861
  security: [
1956
1862
  {
1957
1863
  scheme: 'bearer',
@@ -1968,8 +1874,7 @@ const settingsSaveSingleSignOn = (options) => {
1968
1874
  };
1969
1875
  exports.settingsSaveSingleSignOn = settingsSaveSingleSignOn;
1970
1876
  const settingsSaveAutoAssetTagging = (options) => {
1971
- var _a;
1972
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1877
+ return (options.client ?? client_gen_1.client).put({
1973
1878
  security: [
1974
1879
  {
1975
1880
  scheme: 'bearer',
@@ -1986,8 +1891,7 @@ const settingsSaveAutoAssetTagging = (options) => {
1986
1891
  };
1987
1892
  exports.settingsSaveAutoAssetTagging = settingsSaveAutoAssetTagging;
1988
1893
  const settingsSaveInterAct = (options) => {
1989
- var _a;
1990
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1894
+ return (options.client ?? client_gen_1.client).put({
1991
1895
  security: [
1992
1896
  {
1993
1897
  scheme: 'bearer',
@@ -2004,8 +1908,7 @@ const settingsSaveInterAct = (options) => {
2004
1908
  };
2005
1909
  exports.settingsSaveInterAct = settingsSaveInterAct;
2006
1910
  const settingsSaveFleetAi = (options) => {
2007
- var _a;
2008
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1911
+ return (options.client ?? client_gen_1.client).put({
2009
1912
  security: [
2010
1913
  {
2011
1914
  scheme: 'bearer',
@@ -2022,8 +1925,7 @@ const settingsSaveFleetAi = (options) => {
2022
1925
  };
2023
1926
  exports.settingsSaveFleetAi = settingsSaveFleetAi;
2024
1927
  const settingsValidateIpRestriction = (options) => {
2025
- var _a;
2026
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1928
+ return (options.client ?? client_gen_1.client).post({
2027
1929
  security: [
2028
1930
  {
2029
1931
  scheme: 'bearer',
@@ -2040,8 +1942,7 @@ const settingsValidateIpRestriction = (options) => {
2040
1942
  };
2041
1943
  exports.settingsValidateIpRestriction = settingsValidateIpRestriction;
2042
1944
  const settingsSaveIpRestriction = (options) => {
2043
- var _a;
2044
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1945
+ return (options.client ?? client_gen_1.client).put({
2045
1946
  security: [
2046
1947
  {
2047
1948
  scheme: 'bearer',
@@ -2058,8 +1959,7 @@ const settingsSaveIpRestriction = (options) => {
2058
1959
  };
2059
1960
  exports.settingsSaveIpRestriction = settingsSaveIpRestriction;
2060
1961
  const settingsSaveLocard = (options) => {
2061
- var _a;
2062
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1962
+ return (options.client ?? client_gen_1.client).put({
2063
1963
  security: [
2064
1964
  {
2065
1965
  scheme: 'bearer',
@@ -2076,8 +1976,7 @@ const settingsSaveLocard = (options) => {
2076
1976
  };
2077
1977
  exports.settingsSaveLocard = settingsSaveLocard;
2078
1978
  const settingsSaveRfc3161 = (options) => {
2079
- var _a;
2080
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
1979
+ return (options.client ?? client_gen_1.client).put({
2081
1980
  security: [
2082
1981
  {
2083
1982
  scheme: 'bearer',
@@ -2094,8 +1993,7 @@ const settingsSaveRfc3161 = (options) => {
2094
1993
  };
2095
1994
  exports.settingsSaveRfc3161 = settingsSaveRfc3161;
2096
1995
  const settingsValidateConsoleAddress = (options) => {
2097
- var _a;
2098
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
1996
+ return (options.client ?? client_gen_1.client).post({
2099
1997
  security: [
2100
1998
  {
2101
1999
  scheme: 'bearer',
@@ -2112,8 +2010,7 @@ const settingsValidateConsoleAddress = (options) => {
2112
2010
  };
2113
2011
  exports.settingsValidateConsoleAddress = settingsValidateConsoleAddress;
2114
2012
  const settingsSaveConsoleAddress = (options) => {
2115
- var _a;
2116
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2013
+ return (options.client ?? client_gen_1.client).put({
2117
2014
  security: [
2118
2015
  {
2119
2016
  scheme: 'bearer',
@@ -2130,8 +2027,7 @@ const settingsSaveConsoleAddress = (options) => {
2130
2027
  };
2131
2028
  exports.settingsSaveConsoleAddress = settingsSaveConsoleAddress;
2132
2029
  const settingsSaveBanner = (options) => {
2133
- var _a;
2134
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2030
+ return (options.client ?? client_gen_1.client).put({
2135
2031
  security: [
2136
2032
  {
2137
2033
  scheme: 'bearer',
@@ -2148,8 +2044,7 @@ const settingsSaveBanner = (options) => {
2148
2044
  };
2149
2045
  exports.settingsSaveBanner = settingsSaveBanner;
2150
2046
  const settingsSaveUninstallationPasswordProtection = (options) => {
2151
- var _a;
2152
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2047
+ return (options.client ?? client_gen_1.client).put({
2153
2048
  security: [
2154
2049
  {
2155
2050
  scheme: 'bearer',
@@ -2166,8 +2061,7 @@ const settingsSaveUninstallationPasswordProtection = (options) => {
2166
2061
  };
2167
2062
  exports.settingsSaveUninstallationPasswordProtection = settingsSaveUninstallationPasswordProtection;
2168
2063
  const settingsGetAutoUpdateSettings = (options) => {
2169
- var _a;
2170
- 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({
2171
2065
  security: [
2172
2066
  {
2173
2067
  scheme: 'bearer',
@@ -2180,8 +2074,7 @@ const settingsGetAutoUpdateSettings = (options) => {
2180
2074
  };
2181
2075
  exports.settingsGetAutoUpdateSettings = settingsGetAutoUpdateSettings;
2182
2076
  const settingsSaveAutoUpdateSettings = (options) => {
2183
- var _a;
2184
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2077
+ return (options.client ?? client_gen_1.client).put({
2185
2078
  security: [
2186
2079
  {
2187
2080
  scheme: 'bearer',
@@ -2198,8 +2091,7 @@ const settingsSaveAutoUpdateSettings = (options) => {
2198
2091
  };
2199
2092
  exports.settingsSaveAutoUpdateSettings = settingsSaveAutoUpdateSettings;
2200
2093
  const settingsSaveMandatoryCaseSelection = (options) => {
2201
- var _a;
2202
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2094
+ return (options.client ?? client_gen_1.client).put({
2203
2095
  security: [
2204
2096
  {
2205
2097
  scheme: 'bearer',
@@ -2216,8 +2108,7 @@ const settingsSaveMandatoryCaseSelection = (options) => {
2216
2108
  };
2217
2109
  exports.settingsSaveMandatoryCaseSelection = settingsSaveMandatoryCaseSelection;
2218
2110
  const authCheckAuth = (options) => {
2219
- var _a;
2220
- 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({
2221
2112
  security: [
2222
2113
  {
2223
2114
  scheme: 'bearer',
@@ -2230,8 +2121,7 @@ const authCheckAuth = (options) => {
2230
2121
  };
2231
2122
  exports.authCheckAuth = authCheckAuth;
2232
2123
  const authUpdateProfile = (options) => {
2233
- var _a;
2234
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2124
+ return (options.client ?? client_gen_1.client).put({
2235
2125
  security: [
2236
2126
  {
2237
2127
  scheme: 'bearer',
@@ -2248,8 +2138,7 @@ const authUpdateProfile = (options) => {
2248
2138
  };
2249
2139
  exports.authUpdateProfile = authUpdateProfile;
2250
2140
  const authOneClickLogin = (options) => {
2251
- var _a;
2252
- 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({
2253
2142
  security: [
2254
2143
  {
2255
2144
  scheme: 'bearer',
@@ -2262,8 +2151,7 @@ const authOneClickLogin = (options) => {
2262
2151
  };
2263
2152
  exports.authOneClickLogin = authOneClickLogin;
2264
2153
  const authLogin = (options) => {
2265
- var _a;
2266
- 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({
2267
2155
  security: [
2268
2156
  {
2269
2157
  scheme: 'bearer',
@@ -2276,8 +2164,7 @@ const authLogin = (options) => {
2276
2164
  };
2277
2165
  exports.authLogin = authLogin;
2278
2166
  const authGenerateOneClickLoginUrl = (options) => {
2279
- var _a;
2280
- 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({
2281
2168
  security: [
2282
2169
  {
2283
2170
  scheme: 'bearer',
@@ -2290,8 +2177,7 @@ const authGenerateOneClickLoginUrl = (options) => {
2290
2177
  };
2291
2178
  exports.authGenerateOneClickLoginUrl = authGenerateOneClickLoginUrl;
2292
2179
  const authRenewOneClickLoginUrl = (options) => {
2293
- var _a;
2294
- 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({
2295
2181
  security: [
2296
2182
  {
2297
2183
  scheme: 'bearer',
@@ -2304,8 +2190,7 @@ const authRenewOneClickLoginUrl = (options) => {
2304
2190
  };
2305
2191
  exports.authRenewOneClickLoginUrl = authRenewOneClickLoginUrl;
2306
2192
  const authRegeneratePatToken = (options) => {
2307
- var _a;
2308
- 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({
2309
2194
  security: [
2310
2195
  {
2311
2196
  scheme: 'bearer',
@@ -2318,8 +2203,7 @@ const authRegeneratePatToken = (options) => {
2318
2203
  };
2319
2204
  exports.authRegeneratePatToken = authRegeneratePatToken;
2320
2205
  const authGetUserSessionHistory = (options) => {
2321
- var _a;
2322
- 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({
2323
2207
  security: [
2324
2208
  {
2325
2209
  scheme: 'bearer',
@@ -2333,10 +2217,10 @@ const authGetUserSessionHistory = (options) => {
2333
2217
  exports.authGetUserSessionHistory = authGetUserSessionHistory;
2334
2218
  /**
2335
2219
  * Retrieve many users
2220
+ * Retrieve a paginated list of users
2336
2221
  */
2337
2222
  const userManagementUsersGetMany = (options) => {
2338
- var _a;
2339
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2223
+ return (options.client ?? client_gen_1.client).get({
2340
2224
  security: [
2341
2225
  {
2342
2226
  scheme: 'bearer',
@@ -2349,8 +2233,7 @@ const userManagementUsersGetMany = (options) => {
2349
2233
  };
2350
2234
  exports.userManagementUsersGetMany = userManagementUsersGetMany;
2351
2235
  const userCreate = (options) => {
2352
- var _a;
2353
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2236
+ return (options.client ?? client_gen_1.client).post({
2354
2237
  security: [
2355
2238
  {
2356
2239
  scheme: 'bearer',
@@ -2367,8 +2250,7 @@ const userCreate = (options) => {
2367
2250
  };
2368
2251
  exports.userCreate = userCreate;
2369
2252
  const userDelete = (options) => {
2370
- var _a;
2371
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2253
+ return (options.client ?? client_gen_1.client).delete({
2372
2254
  security: [
2373
2255
  {
2374
2256
  scheme: 'bearer',
@@ -2382,10 +2264,10 @@ const userDelete = (options) => {
2382
2264
  exports.userDelete = userDelete;
2383
2265
  /**
2384
2266
  * Retrieve a specific user
2267
+ * Retrieve detailed information about a specific user
2385
2268
  */
2386
2269
  const userManagementUsersGet = (options) => {
2387
- var _a;
2388
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2270
+ return (options.client ?? client_gen_1.client).get({
2389
2271
  security: [
2390
2272
  {
2391
2273
  scheme: 'bearer',
@@ -2398,8 +2280,7 @@ const userManagementUsersGet = (options) => {
2398
2280
  };
2399
2281
  exports.userManagementUsersGet = userManagementUsersGet;
2400
2282
  const userUpdateUser = (options) => {
2401
- var _a;
2402
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2283
+ return (options.client ?? client_gen_1.client).put({
2403
2284
  security: [
2404
2285
  {
2405
2286
  scheme: 'bearer',
@@ -2416,8 +2297,7 @@ const userUpdateUser = (options) => {
2416
2297
  };
2417
2298
  exports.userUpdateUser = userUpdateUser;
2418
2299
  const userResetTfa = (options) => {
2419
- var _a;
2420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2300
+ return (options.client ?? client_gen_1.client).post({
2421
2301
  security: [
2422
2302
  {
2423
2303
  scheme: 'bearer',
@@ -2430,8 +2310,7 @@ const userResetTfa = (options) => {
2430
2310
  };
2431
2311
  exports.userResetTfa = userResetTfa;
2432
2312
  const userChangePassword = (options) => {
2433
- var _a;
2434
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2313
+ return (options.client ?? client_gen_1.client).put({
2435
2314
  security: [
2436
2315
  {
2437
2316
  scheme: 'bearer',
@@ -2448,8 +2327,7 @@ const userChangePassword = (options) => {
2448
2327
  };
2449
2328
  exports.userChangePassword = userChangePassword;
2450
2329
  const userResetUserPassword = (options) => {
2451
- var _a;
2452
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2330
+ return (options.client ?? client_gen_1.client).post({
2453
2331
  security: [
2454
2332
  {
2455
2333
  scheme: 'bearer',
@@ -2462,8 +2340,7 @@ const userResetUserPassword = (options) => {
2462
2340
  };
2463
2341
  exports.userResetUserPassword = userResetUserPassword;
2464
2342
  const userCreateApiUser = (options) => {
2465
- var _a;
2466
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2343
+ return (options.client ?? client_gen_1.client).post({
2467
2344
  security: [
2468
2345
  {
2469
2346
  scheme: 'bearer',
@@ -2480,8 +2357,7 @@ const userCreateApiUser = (options) => {
2480
2357
  };
2481
2358
  exports.userCreateApiUser = userCreateApiUser;
2482
2359
  const userRolesGetPrivileges = (options) => {
2483
- var _a;
2484
- 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({
2485
2361
  security: [
2486
2362
  {
2487
2363
  scheme: 'bearer',
@@ -2494,8 +2370,7 @@ const userRolesGetPrivileges = (options) => {
2494
2370
  };
2495
2371
  exports.userRolesGetPrivileges = userRolesGetPrivileges;
2496
2372
  const userRolesGetRoles = (options) => {
2497
- var _a;
2498
- 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({
2499
2374
  security: [
2500
2375
  {
2501
2376
  scheme: 'bearer',
@@ -2508,8 +2383,7 @@ const userRolesGetRoles = (options) => {
2508
2383
  };
2509
2384
  exports.userRolesGetRoles = userRolesGetRoles;
2510
2385
  const userRolesCreateRole = (options) => {
2511
- var _a;
2512
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2386
+ return (options.client ?? client_gen_1.client).post({
2513
2387
  security: [
2514
2388
  {
2515
2389
  scheme: 'bearer',
@@ -2526,8 +2400,7 @@ const userRolesCreateRole = (options) => {
2526
2400
  };
2527
2401
  exports.userRolesCreateRole = userRolesCreateRole;
2528
2402
  const userRolesDeleteRole = (options) => {
2529
- var _a;
2530
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2403
+ return (options.client ?? client_gen_1.client).delete({
2531
2404
  security: [
2532
2405
  {
2533
2406
  scheme: 'bearer',
@@ -2540,8 +2413,7 @@ const userRolesDeleteRole = (options) => {
2540
2413
  };
2541
2414
  exports.userRolesDeleteRole = userRolesDeleteRole;
2542
2415
  const userRolesGetRole = (options) => {
2543
- var _a;
2544
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2416
+ return (options.client ?? client_gen_1.client).get({
2545
2417
  security: [
2546
2418
  {
2547
2419
  scheme: 'bearer',
@@ -2554,8 +2426,7 @@ const userRolesGetRole = (options) => {
2554
2426
  };
2555
2427
  exports.userRolesGetRole = userRolesGetRole;
2556
2428
  const userRolesUpdateRole = (options) => {
2557
- var _a;
2558
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2429
+ return (options.client ?? client_gen_1.client).put({
2559
2430
  security: [
2560
2431
  {
2561
2432
  scheme: 'bearer',
@@ -2572,8 +2443,7 @@ const userRolesUpdateRole = (options) => {
2572
2443
  };
2573
2444
  exports.userRolesUpdateRole = userRolesUpdateRole;
2574
2445
  const userGroupFilterGroups = (options) => {
2575
- var _a;
2576
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2446
+ return (options.client ?? client_gen_1.client).get({
2577
2447
  security: [
2578
2448
  {
2579
2449
  scheme: 'bearer',
@@ -2586,8 +2456,7 @@ const userGroupFilterGroups = (options) => {
2586
2456
  };
2587
2457
  exports.userGroupFilterGroups = userGroupFilterGroups;
2588
2458
  const userGroupCreateGroup = (options) => {
2589
- var _a;
2590
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2459
+ return (options.client ?? client_gen_1.client).post({
2591
2460
  security: [
2592
2461
  {
2593
2462
  scheme: 'bearer',
@@ -2604,8 +2473,7 @@ const userGroupCreateGroup = (options) => {
2604
2473
  };
2605
2474
  exports.userGroupCreateGroup = userGroupCreateGroup;
2606
2475
  const userGroupDeleteGroup = (options) => {
2607
- var _a;
2608
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2476
+ return (options.client ?? client_gen_1.client).delete({
2609
2477
  security: [
2610
2478
  {
2611
2479
  scheme: 'bearer',
@@ -2618,8 +2486,7 @@ const userGroupDeleteGroup = (options) => {
2618
2486
  };
2619
2487
  exports.userGroupDeleteGroup = userGroupDeleteGroup;
2620
2488
  const userGroupGetGroup = (options) => {
2621
- var _a;
2622
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2489
+ return (options.client ?? client_gen_1.client).get({
2623
2490
  security: [
2624
2491
  {
2625
2492
  scheme: 'bearer',
@@ -2632,8 +2499,7 @@ const userGroupGetGroup = (options) => {
2632
2499
  };
2633
2500
  exports.userGroupGetGroup = userGroupGetGroup;
2634
2501
  const userGroupUpdateGroup = (options) => {
2635
- var _a;
2636
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2502
+ return (options.client ?? client_gen_1.client).put({
2637
2503
  security: [
2638
2504
  {
2639
2505
  scheme: 'bearer',
@@ -2650,8 +2516,7 @@ const userGroupUpdateGroup = (options) => {
2650
2516
  };
2651
2517
  exports.userGroupUpdateGroup = userGroupUpdateGroup;
2652
2518
  const setupCheckSetupData = (options) => {
2653
- var _a;
2654
- 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({
2655
2520
  security: [
2656
2521
  {
2657
2522
  scheme: 'bearer',
@@ -2664,8 +2529,7 @@ const setupCheckSetupData = (options) => {
2664
2529
  };
2665
2530
  exports.setupCheckSetupData = setupCheckSetupData;
2666
2531
  const setupInstall = (options) => {
2667
- var _a;
2668
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2532
+ return (options.client ?? client_gen_1.client).post({
2669
2533
  security: [
2670
2534
  {
2671
2535
  scheme: 'bearer',
@@ -2682,8 +2546,7 @@ const setupInstall = (options) => {
2682
2546
  };
2683
2547
  exports.setupInstall = setupInstall;
2684
2548
  const licenseGetLicense = (options) => {
2685
- var _a;
2686
- 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({
2687
2550
  security: [
2688
2551
  {
2689
2552
  scheme: 'bearer',
@@ -2696,8 +2559,7 @@ const licenseGetLicense = (options) => {
2696
2559
  };
2697
2560
  exports.licenseGetLicense = licenseGetLicense;
2698
2561
  const licenseSetLicense = (options) => {
2699
- var _a;
2700
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2562
+ return (options.client ?? client_gen_1.client).post({
2701
2563
  security: [
2702
2564
  {
2703
2565
  scheme: 'bearer',
@@ -2714,8 +2576,7 @@ const licenseSetLicense = (options) => {
2714
2576
  };
2715
2577
  exports.licenseSetLicense = licenseSetLicense;
2716
2578
  const licenseGetQuota = (options) => {
2717
- var _a;
2718
- 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({
2719
2580
  security: [
2720
2581
  {
2721
2582
  scheme: 'bearer',
@@ -2728,12 +2589,11 @@ const licenseGetQuota = (options) => {
2728
2589
  };
2729
2590
  exports.licenseGetQuota = licenseGetQuota;
2730
2591
  /**
2731
- * Filter acquisition profiles
2592
+ * Get Acquisition Profile
2593
+ * Retrieve a specific acquisition profile
2732
2594
  */
2733
- const acquisitionProfilesGetMany = (options) => {
2734
- var _a;
2735
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2736
- responseType: 'json',
2595
+ const acquisitionProfilesGetOne = (options) => {
2596
+ return (options.client ?? client_gen_1.client).get({
2737
2597
  security: [
2738
2598
  {
2739
2599
  scheme: 'bearer',
@@ -2744,10 +2604,9 @@ const acquisitionProfilesGetMany = (options) => {
2744
2604
  ...options
2745
2605
  });
2746
2606
  };
2747
- exports.acquisitionProfilesGetMany = acquisitionProfilesGetMany;
2607
+ exports.acquisitionProfilesGetOne = acquisitionProfilesGetOne;
2748
2608
  const acquisitionCreate = (options) => {
2749
- var _a;
2750
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2609
+ return (options.client ?? client_gen_1.client).post({
2751
2610
  security: [
2752
2611
  {
2753
2612
  scheme: 'bearer',
@@ -2764,8 +2623,7 @@ const acquisitionCreate = (options) => {
2764
2623
  };
2765
2624
  exports.acquisitionCreate = acquisitionCreate;
2766
2625
  const acquisitionDelete = (options) => {
2767
- var _a;
2768
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2626
+ return (options.client ?? client_gen_1.client).delete({
2769
2627
  security: [
2770
2628
  {
2771
2629
  scheme: 'bearer',
@@ -2777,13 +2635,8 @@ const acquisitionDelete = (options) => {
2777
2635
  });
2778
2636
  };
2779
2637
  exports.acquisitionDelete = acquisitionDelete;
2780
- /**
2781
- * Get Acquisition Profile
2782
- * Retrieve a specific acquisition profile
2783
- */
2784
- const acquisitionProfilesGetOne = (options) => {
2785
- var _a;
2786
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2638
+ const acquisitionGet = (options) => {
2639
+ return (options.client ?? client_gen_1.client).get({
2787
2640
  security: [
2788
2641
  {
2789
2642
  scheme: 'bearer',
@@ -2794,10 +2647,9 @@ const acquisitionProfilesGetOne = (options) => {
2794
2647
  ...options
2795
2648
  });
2796
2649
  };
2797
- exports.acquisitionProfilesGetOne = acquisitionProfilesGetOne;
2650
+ exports.acquisitionGet = acquisitionGet;
2798
2651
  const acquisitionUpdate = (options) => {
2799
- var _a;
2800
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2652
+ return (options.client ?? client_gen_1.client).put({
2801
2653
  security: [
2802
2654
  {
2803
2655
  scheme: 'bearer',
@@ -2817,9 +2669,8 @@ exports.acquisitionUpdate = acquisitionUpdate;
2817
2669
  * Assign Evidence Acquisition Task
2818
2670
  * Assign an evidence acquisition task by filter
2819
2671
  */
2820
- const acquisitionsAssignEvidenceTask = (options) => {
2821
- var _a;
2822
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2672
+ const acquisitionAssignEvidenceTask = (options) => {
2673
+ return (options.client ?? client_gen_1.client).post({
2823
2674
  security: [
2824
2675
  {
2825
2676
  scheme: 'bearer',
@@ -2834,14 +2685,13 @@ const acquisitionsAssignEvidenceTask = (options) => {
2834
2685
  }
2835
2686
  });
2836
2687
  };
2837
- exports.acquisitionsAssignEvidenceTask = acquisitionsAssignEvidenceTask;
2688
+ exports.acquisitionAssignEvidenceTask = acquisitionAssignEvidenceTask;
2838
2689
  /**
2839
2690
  * Assign Evidence Acquisition Task
2840
2691
  * Assign an evidence acquisition task by filter
2841
2692
  */
2842
- const acquisitionsAssignEvidenceTask2 = (options) => {
2843
- var _a;
2844
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2693
+ const acquisitionAssignEvidenceTask2 = (options) => {
2694
+ return (options.client ?? client_gen_1.client).post({
2845
2695
  security: [
2846
2696
  {
2847
2697
  scheme: 'bearer',
@@ -2856,10 +2706,9 @@ const acquisitionsAssignEvidenceTask2 = (options) => {
2856
2706
  }
2857
2707
  });
2858
2708
  };
2859
- exports.acquisitionsAssignEvidenceTask2 = acquisitionsAssignEvidenceTask2;
2709
+ exports.acquisitionAssignEvidenceTask2 = acquisitionAssignEvidenceTask2;
2860
2710
  const acquisitionCreateOffNetworkAcquisitionTaskFile = (options) => {
2861
- var _a;
2862
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2711
+ return (options.client ?? client_gen_1.client).post({
2863
2712
  security: [
2864
2713
  {
2865
2714
  scheme: 'bearer',
@@ -2876,8 +2725,7 @@ const acquisitionCreateOffNetworkAcquisitionTaskFile = (options) => {
2876
2725
  };
2877
2726
  exports.acquisitionCreateOffNetworkAcquisitionTaskFile = acquisitionCreateOffNetworkAcquisitionTaskFile;
2878
2727
  const acquisitionAcquireImage = (options) => {
2879
- var _a;
2880
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2728
+ return (options.client ?? client_gen_1.client).post({
2881
2729
  security: [
2882
2730
  {
2883
2731
  scheme: 'bearer',
@@ -2894,8 +2742,7 @@ const acquisitionAcquireImage = (options) => {
2894
2742
  };
2895
2743
  exports.acquisitionAcquireImage = acquisitionAcquireImage;
2896
2744
  const acquisitionUpdateScheduledEvidenceAcquisition = (options) => {
2897
- var _a;
2898
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2745
+ return (options.client ?? client_gen_1.client).put({
2899
2746
  security: [
2900
2747
  {
2901
2748
  scheme: 'bearer',
@@ -2912,8 +2759,7 @@ const acquisitionUpdateScheduledEvidenceAcquisition = (options) => {
2912
2759
  };
2913
2760
  exports.acquisitionUpdateScheduledEvidenceAcquisition = acquisitionUpdateScheduledEvidenceAcquisition;
2914
2761
  const acquisitionUpdateScheduledImageAcquisition = (options) => {
2915
- var _a;
2916
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2762
+ return (options.client ?? client_gen_1.client).put({
2917
2763
  security: [
2918
2764
  {
2919
2765
  scheme: 'bearer',
@@ -2930,8 +2776,7 @@ const acquisitionUpdateScheduledImageAcquisition = (options) => {
2930
2776
  };
2931
2777
  exports.acquisitionUpdateScheduledImageAcquisition = acquisitionUpdateScheduledImageAcquisition;
2932
2778
  const acquisitionValidateOsQueries = (options) => {
2933
- var _a;
2934
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2779
+ return (options.client ?? client_gen_1.client).post({
2935
2780
  security: [
2936
2781
  {
2937
2782
  scheme: 'bearer',
@@ -2949,11 +2794,10 @@ const acquisitionValidateOsQueries = (options) => {
2949
2794
  exports.acquisitionValidateOsQueries = acquisitionValidateOsQueries;
2950
2795
  /**
2951
2796
  * Get Many
2952
- * Retrieve many triages rules
2797
+ * Retrieve a paginated list of triage rules
2953
2798
  */
2954
2799
  const getManyTriageRules = (options) => {
2955
- var _a;
2956
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2800
+ return (options.client ?? client_gen_1.client).get({
2957
2801
  security: [
2958
2802
  {
2959
2803
  scheme: 'bearer',
@@ -2967,11 +2811,10 @@ const getManyTriageRules = (options) => {
2967
2811
  exports.getManyTriageRules = getManyTriageRules;
2968
2812
  /**
2969
2813
  * Create Triage Rule
2970
- * Create a new triages rule
2814
+ * Create a new triage rule that defines conditions and criteria
2971
2815
  */
2972
2816
  const createTriageRule = (options) => {
2973
- var _a;
2974
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2817
+ return (options.client ?? client_gen_1.client).post({
2975
2818
  security: [
2976
2819
  {
2977
2820
  scheme: 'bearer',
@@ -2989,11 +2832,10 @@ const createTriageRule = (options) => {
2989
2832
  exports.createTriageRule = createTriageRule;
2990
2833
  /**
2991
2834
  * Delete Triage Rule
2992
- * Delete a triages rule
2835
+ * Permanently delete a triage rule from the system
2993
2836
  */
2994
2837
  const deleteTriageRule = (options) => {
2995
- var _a;
2996
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2838
+ return (options.client ?? client_gen_1.client).delete({
2997
2839
  security: [
2998
2840
  {
2999
2841
  scheme: 'bearer',
@@ -3007,11 +2849,10 @@ const deleteTriageRule = (options) => {
3007
2849
  exports.deleteTriageRule = deleteTriageRule;
3008
2850
  /**
3009
2851
  * Get
3010
- * Retrieve a specific triages rule
2852
+ * Retrieve detailed information about a specific triage rule by its ID
3011
2853
  */
3012
2854
  const getTriageRule = (options) => {
3013
- var _a;
3014
- 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({
3015
2856
  security: [
3016
2857
  {
3017
2858
  scheme: 'bearer',
@@ -3025,11 +2866,10 @@ const getTriageRule = (options) => {
3025
2866
  exports.getTriageRule = getTriageRule;
3026
2867
  /**
3027
2868
  * Update Triage Rule
3028
- * Update a triages rule
2869
+ * Update an existing triage rule by modifying its conditions
3029
2870
  */
3030
2871
  const updateTriageRule = (options) => {
3031
- var _a;
3032
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2872
+ return (options.client ?? client_gen_1.client).put({
3033
2873
  security: [
3034
2874
  {
3035
2875
  scheme: 'bearer',
@@ -3047,11 +2887,10 @@ const updateTriageRule = (options) => {
3047
2887
  exports.updateTriageRule = updateTriageRule;
3048
2888
  /**
3049
2889
  * Validate Triage Rule
3050
- * Validate a triages rule
2890
+ * Validate the syntax and structure of a triage rule
3051
2891
  */
3052
2892
  const validateTriageRule = (options) => {
3053
- var _a;
3054
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2893
+ return (options.client ?? client_gen_1.client).post({
3055
2894
  security: [
3056
2895
  {
3057
2896
  scheme: 'bearer',
@@ -3069,11 +2908,10 @@ const validateTriageRule = (options) => {
3069
2908
  exports.validateTriageRule = validateTriageRule;
3070
2909
  /**
3071
2910
  * Assign Triage Task
3072
- * Assign a triages task
2911
+ * Assign and execute triage tasks on filtered endpoints
3073
2912
  */
3074
2913
  const assignTriageTask = (options) => {
3075
- var _a;
3076
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2914
+ return (options.client ?? client_gen_1.client).post({
3077
2915
  security: [
3078
2916
  {
3079
2917
  scheme: 'bearer',
@@ -3090,8 +2928,7 @@ const assignTriageTask = (options) => {
3090
2928
  };
3091
2929
  exports.assignTriageTask = assignTriageTask;
3092
2930
  const triageUpdateScheduledTriageTask = (options) => {
3093
- var _a;
3094
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
2931
+ return (options.client ?? client_gen_1.client).put({
3095
2932
  security: [
3096
2933
  {
3097
2934
  scheme: 'bearer',
@@ -3108,8 +2945,7 @@ const triageUpdateScheduledTriageTask = (options) => {
3108
2945
  };
3109
2946
  exports.triageUpdateScheduledTriageTask = triageUpdateScheduledTriageTask;
3110
2947
  const triageCreateOffNetworkTriageTaskFile = (options) => {
3111
- var _a;
3112
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2948
+ return (options.client ?? client_gen_1.client).post({
3113
2949
  security: [
3114
2950
  {
3115
2951
  scheme: 'bearer',
@@ -3126,8 +2962,7 @@ const triageCreateOffNetworkTriageTaskFile = (options) => {
3126
2962
  };
3127
2963
  exports.triageCreateOffNetworkTriageTaskFile = triageCreateOffNetworkTriageTaskFile;
3128
2964
  const triageFilterRuleTags = (options) => {
3129
- var _a;
3130
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
2965
+ return (options.client ?? client_gen_1.client).get({
3131
2966
  security: [
3132
2967
  {
3133
2968
  scheme: 'bearer',
@@ -3140,8 +2975,7 @@ const triageFilterRuleTags = (options) => {
3140
2975
  };
3141
2976
  exports.triageFilterRuleTags = triageFilterRuleTags;
3142
2977
  const triageCreateRuleTag = (options) => {
3143
- var _a;
3144
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
2978
+ return (options.client ?? client_gen_1.client).post({
3145
2979
  security: [
3146
2980
  {
3147
2981
  scheme: 'bearer',
@@ -3158,8 +2992,7 @@ const triageCreateRuleTag = (options) => {
3158
2992
  };
3159
2993
  exports.triageCreateRuleTag = triageCreateRuleTag;
3160
2994
  const triageDeleteRuleTag = (options) => {
3161
- var _a;
3162
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
2995
+ return (options.client ?? client_gen_1.client).delete({
3163
2996
  security: [
3164
2997
  {
3165
2998
  scheme: 'bearer',
@@ -3172,8 +3005,7 @@ const triageDeleteRuleTag = (options) => {
3172
3005
  };
3173
3006
  exports.triageDeleteRuleTag = triageDeleteRuleTag;
3174
3007
  const evidenceGetCaseReport = (options) => {
3175
- var _a;
3176
- 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({
3177
3009
  security: [
3178
3010
  {
3179
3011
  scheme: 'bearer',
@@ -3186,8 +3018,7 @@ const evidenceGetCaseReport = (options) => {
3186
3018
  };
3187
3019
  exports.evidenceGetCaseReport = evidenceGetCaseReport;
3188
3020
  const evidenceGetCaseReport1 = (options) => {
3189
- var _a;
3190
- 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({
3191
3022
  security: [
3192
3023
  {
3193
3024
  scheme: 'bearer',
@@ -3200,8 +3031,7 @@ const evidenceGetCaseReport1 = (options) => {
3200
3031
  };
3201
3032
  exports.evidenceGetCaseReport1 = evidenceGetCaseReport1;
3202
3033
  const evidenceDownloadExternalEvidence = (options) => {
3203
- var _a;
3204
- 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({
3205
3035
  security: [
3206
3036
  {
3207
3037
  scheme: 'bearer',
@@ -3214,8 +3044,7 @@ const evidenceDownloadExternalEvidence = (options) => {
3214
3044
  };
3215
3045
  exports.evidenceDownloadExternalEvidence = evidenceDownloadExternalEvidence;
3216
3046
  const evidenceGetCaseReportFileInfo = (options) => {
3217
- var _a;
3218
- 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({
3219
3048
  security: [
3220
3049
  {
3221
3050
  scheme: 'bearer',
@@ -3228,8 +3057,7 @@ const evidenceGetCaseReportFileInfo = (options) => {
3228
3057
  };
3229
3058
  exports.evidenceGetCaseReportFileInfo = evidenceGetCaseReportFileInfo;
3230
3059
  const evidenceGetCasePpcFile = (options) => {
3231
- var _a;
3232
- 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({
3233
3061
  security: [
3234
3062
  {
3235
3063
  scheme: 'bearer',
@@ -3242,8 +3070,7 @@ const evidenceGetCasePpcFile = (options) => {
3242
3070
  };
3243
3071
  exports.evidenceGetCasePpcFile = evidenceGetCasePpcFile;
3244
3072
  const evidenceRepositoryCreateSmb = (options) => {
3245
- var _a;
3246
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3073
+ return (options.client ?? client_gen_1.client).post({
3247
3074
  security: [
3248
3075
  {
3249
3076
  scheme: 'bearer',
@@ -3260,8 +3087,7 @@ const evidenceRepositoryCreateSmb = (options) => {
3260
3087
  };
3261
3088
  exports.evidenceRepositoryCreateSmb = evidenceRepositoryCreateSmb;
3262
3089
  const evidenceRepositoryUpdateSmb = (options) => {
3263
- var _a;
3264
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3090
+ return (options.client ?? client_gen_1.client).put({
3265
3091
  security: [
3266
3092
  {
3267
3093
  scheme: 'bearer',
@@ -3278,8 +3104,7 @@ const evidenceRepositoryUpdateSmb = (options) => {
3278
3104
  };
3279
3105
  exports.evidenceRepositoryUpdateSmb = evidenceRepositoryUpdateSmb;
3280
3106
  const evidenceRepositoryCreateSftp = (options) => {
3281
- var _a;
3282
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3107
+ return (options.client ?? client_gen_1.client).post({
3283
3108
  security: [
3284
3109
  {
3285
3110
  scheme: 'bearer',
@@ -3296,8 +3121,7 @@ const evidenceRepositoryCreateSftp = (options) => {
3296
3121
  };
3297
3122
  exports.evidenceRepositoryCreateSftp = evidenceRepositoryCreateSftp;
3298
3123
  const evidenceRepositoryUpdateSftp = (options) => {
3299
- var _a;
3300
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3124
+ return (options.client ?? client_gen_1.client).put({
3301
3125
  security: [
3302
3126
  {
3303
3127
  scheme: 'bearer',
@@ -3314,8 +3138,7 @@ const evidenceRepositoryUpdateSftp = (options) => {
3314
3138
  };
3315
3139
  exports.evidenceRepositoryUpdateSftp = evidenceRepositoryUpdateSftp;
3316
3140
  const evidenceRepositoryCreateFtps = (options) => {
3317
- var _a;
3318
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3141
+ return (options.client ?? client_gen_1.client).post({
3319
3142
  security: [
3320
3143
  {
3321
3144
  scheme: 'bearer',
@@ -3332,8 +3155,7 @@ const evidenceRepositoryCreateFtps = (options) => {
3332
3155
  };
3333
3156
  exports.evidenceRepositoryCreateFtps = evidenceRepositoryCreateFtps;
3334
3157
  const evidenceRepositoryUpdateFtps = (options) => {
3335
- var _a;
3336
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3158
+ return (options.client ?? client_gen_1.client).put({
3337
3159
  security: [
3338
3160
  {
3339
3161
  scheme: 'bearer',
@@ -3350,8 +3172,7 @@ const evidenceRepositoryUpdateFtps = (options) => {
3350
3172
  };
3351
3173
  exports.evidenceRepositoryUpdateFtps = evidenceRepositoryUpdateFtps;
3352
3174
  const evidenceRepositoryCreateAzureStorage = (options) => {
3353
- var _a;
3354
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3175
+ return (options.client ?? client_gen_1.client).post({
3355
3176
  security: [
3356
3177
  {
3357
3178
  scheme: 'bearer',
@@ -3368,8 +3189,7 @@ const evidenceRepositoryCreateAzureStorage = (options) => {
3368
3189
  };
3369
3190
  exports.evidenceRepositoryCreateAzureStorage = evidenceRepositoryCreateAzureStorage;
3370
3191
  const evidenceRepositoryUpdateAzureStorage = (options) => {
3371
- var _a;
3372
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3192
+ return (options.client ?? client_gen_1.client).put({
3373
3193
  security: [
3374
3194
  {
3375
3195
  scheme: 'bearer',
@@ -3386,8 +3206,7 @@ const evidenceRepositoryUpdateAzureStorage = (options) => {
3386
3206
  };
3387
3207
  exports.evidenceRepositoryUpdateAzureStorage = evidenceRepositoryUpdateAzureStorage;
3388
3208
  const evidenceRepositoryCreateAmazonS3 = (options) => {
3389
- var _a;
3390
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3209
+ return (options.client ?? client_gen_1.client).post({
3391
3210
  security: [
3392
3211
  {
3393
3212
  scheme: 'bearer',
@@ -3404,8 +3223,7 @@ const evidenceRepositoryCreateAmazonS3 = (options) => {
3404
3223
  };
3405
3224
  exports.evidenceRepositoryCreateAmazonS3 = evidenceRepositoryCreateAmazonS3;
3406
3225
  const evidenceRepositoryUpdateAmazonS3 = (options) => {
3407
- var _a;
3408
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3226
+ return (options.client ?? client_gen_1.client).put({
3409
3227
  security: [
3410
3228
  {
3411
3229
  scheme: 'bearer',
@@ -3422,8 +3240,7 @@ const evidenceRepositoryUpdateAmazonS3 = (options) => {
3422
3240
  };
3423
3241
  exports.evidenceRepositoryUpdateAmazonS3 = evidenceRepositoryUpdateAmazonS3;
3424
3242
  const evidenceRepositoryDelete = (options) => {
3425
- var _a;
3426
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3243
+ return (options.client ?? client_gen_1.client).delete({
3427
3244
  security: [
3428
3245
  {
3429
3246
  scheme: 'bearer',
@@ -3436,12 +3253,11 @@ const evidenceRepositoryDelete = (options) => {
3436
3253
  };
3437
3254
  exports.evidenceRepositoryDelete = evidenceRepositoryDelete;
3438
3255
  /**
3439
- * Get
3440
- * Get a repository by name
3256
+ * Get Evidence Repository
3257
+ * Get details for a specific evidence repository
3441
3258
  */
3442
3259
  const evidenceRepositoriesGet = (options) => {
3443
- var _a;
3444
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3260
+ return (options.client ?? client_gen_1.client).get({
3445
3261
  security: [
3446
3262
  {
3447
3263
  scheme: 'bearer',
@@ -3454,12 +3270,11 @@ const evidenceRepositoriesGet = (options) => {
3454
3270
  };
3455
3271
  exports.evidenceRepositoriesGet = evidenceRepositoriesGet;
3456
3272
  /**
3457
- * Get Many
3458
- * Get many repositories
3273
+ * Get Evidence Repositories
3274
+ * Get a paginated list of evidence repositories
3459
3275
  */
3460
3276
  const evidenceRepositoriesGetMany = (options) => {
3461
- var _a;
3462
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3277
+ return (options.client ?? client_gen_1.client).get({
3463
3278
  security: [
3464
3279
  {
3465
3280
  scheme: 'bearer',
@@ -3472,8 +3287,7 @@ const evidenceRepositoriesGetMany = (options) => {
3472
3287
  };
3473
3288
  exports.evidenceRepositoriesGetMany = evidenceRepositoriesGetMany;
3474
3289
  const evidenceRepositoryValidateById = (options) => {
3475
- var _a;
3476
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3290
+ return (options.client ?? client_gen_1.client).post({
3477
3291
  security: [
3478
3292
  {
3479
3293
  scheme: 'bearer',
@@ -3486,8 +3300,7 @@ const evidenceRepositoryValidateById = (options) => {
3486
3300
  };
3487
3301
  exports.evidenceRepositoryValidateById = evidenceRepositoryValidateById;
3488
3302
  const evidenceRepositoryValidateAmazonS3 = (options) => {
3489
- var _a;
3490
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3303
+ return (options.client ?? client_gen_1.client).post({
3491
3304
  security: [
3492
3305
  {
3493
3306
  scheme: 'bearer',
@@ -3504,8 +3317,7 @@ const evidenceRepositoryValidateAmazonS3 = (options) => {
3504
3317
  };
3505
3318
  exports.evidenceRepositoryValidateAmazonS3 = evidenceRepositoryValidateAmazonS3;
3506
3319
  const evidenceRepositoryValidateAzureStorage = (options) => {
3507
- var _a;
3508
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3320
+ return (options.client ?? client_gen_1.client).post({
3509
3321
  security: [
3510
3322
  {
3511
3323
  scheme: 'bearer',
@@ -3522,8 +3334,7 @@ const evidenceRepositoryValidateAzureStorage = (options) => {
3522
3334
  };
3523
3335
  exports.evidenceRepositoryValidateAzureStorage = evidenceRepositoryValidateAzureStorage;
3524
3336
  const evidenceRepositoryValidateFtpsRepository = (options) => {
3525
- var _a;
3526
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3337
+ return (options.client ?? client_gen_1.client).post({
3527
3338
  security: [
3528
3339
  {
3529
3340
  scheme: 'bearer',
@@ -3540,8 +3351,7 @@ const evidenceRepositoryValidateFtpsRepository = (options) => {
3540
3351
  };
3541
3352
  exports.evidenceRepositoryValidateFtpsRepository = evidenceRepositoryValidateFtpsRepository;
3542
3353
  const notificationDeleteAll = (options) => {
3543
- var _a;
3544
- 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({
3545
3355
  security: [
3546
3356
  {
3547
3357
  scheme: 'bearer',
@@ -3554,8 +3364,7 @@ const notificationDeleteAll = (options) => {
3554
3364
  };
3555
3365
  exports.notificationDeleteAll = notificationDeleteAll;
3556
3366
  const notificationFilter = (options) => {
3557
- var _a;
3558
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3367
+ return (options.client ?? client_gen_1.client).get({
3559
3368
  security: [
3560
3369
  {
3561
3370
  scheme: 'bearer',
@@ -3568,8 +3377,7 @@ const notificationFilter = (options) => {
3568
3377
  };
3569
3378
  exports.notificationFilter = notificationFilter;
3570
3379
  const notificationMarkAllAsRead = (options) => {
3571
- var _a;
3572
- 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({
3573
3381
  security: [
3574
3382
  {
3575
3383
  scheme: 'bearer',
@@ -3582,8 +3390,7 @@ const notificationMarkAllAsRead = (options) => {
3582
3390
  };
3583
3391
  exports.notificationMarkAllAsRead = notificationMarkAllAsRead;
3584
3392
  const notificationMarkAsRead = (options) => {
3585
- var _a;
3586
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3393
+ return (options.client ?? client_gen_1.client).patch({
3587
3394
  security: [
3588
3395
  {
3589
3396
  scheme: 'bearer',
@@ -3596,8 +3403,7 @@ const notificationMarkAsRead = (options) => {
3596
3403
  };
3597
3404
  exports.notificationMarkAsRead = notificationMarkAsRead;
3598
3405
  const auditLogFilter = (options) => {
3599
- var _a;
3600
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3406
+ return (options.client ?? client_gen_1.client).post({
3601
3407
  security: [
3602
3408
  {
3603
3409
  scheme: 'bearer',
@@ -3614,8 +3420,7 @@ const auditLogFilter = (options) => {
3614
3420
  };
3615
3421
  exports.auditLogFilter = auditLogFilter;
3616
3422
  const auditLogExport = (options) => {
3617
- var _a;
3618
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3423
+ return (options.client ?? client_gen_1.client).get({
3619
3424
  security: [
3620
3425
  {
3621
3426
  scheme: 'bearer',
@@ -3628,8 +3433,7 @@ const auditLogExport = (options) => {
3628
3433
  };
3629
3434
  exports.auditLogExport = auditLogExport;
3630
3435
  const policyGetMatchStats = (options) => {
3631
- var _a;
3632
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3436
+ return (options.client ?? client_gen_1.client).post({
3633
3437
  security: [
3634
3438
  {
3635
3439
  scheme: 'bearer',
@@ -3646,8 +3450,7 @@ const policyGetMatchStats = (options) => {
3646
3450
  };
3647
3451
  exports.policyGetMatchStats = policyGetMatchStats;
3648
3452
  const policyFilter = (options) => {
3649
- var _a;
3650
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3453
+ return (options.client ?? client_gen_1.client).get({
3651
3454
  security: [
3652
3455
  {
3653
3456
  scheme: 'bearer',
@@ -3660,8 +3463,7 @@ const policyFilter = (options) => {
3660
3463
  };
3661
3464
  exports.policyFilter = policyFilter;
3662
3465
  const policyCreate = (options) => {
3663
- var _a;
3664
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3466
+ return (options.client ?? client_gen_1.client).post({
3665
3467
  security: [
3666
3468
  {
3667
3469
  scheme: 'bearer',
@@ -3678,8 +3480,7 @@ const policyCreate = (options) => {
3678
3480
  };
3679
3481
  exports.policyCreate = policyCreate;
3680
3482
  const policyUpdatePriorities = (options) => {
3681
- var _a;
3682
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3483
+ return (options.client ?? client_gen_1.client).put({
3683
3484
  security: [
3684
3485
  {
3685
3486
  scheme: 'bearer',
@@ -3696,8 +3497,7 @@ const policyUpdatePriorities = (options) => {
3696
3497
  };
3697
3498
  exports.policyUpdatePriorities = policyUpdatePriorities;
3698
3499
  const policyDelete = (options) => {
3699
- var _a;
3700
- 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({
3701
3501
  security: [
3702
3502
  {
3703
3503
  scheme: 'bearer',
@@ -3710,8 +3510,7 @@ const policyDelete = (options) => {
3710
3510
  };
3711
3511
  exports.policyDelete = policyDelete;
3712
3512
  const policyGet = (options) => {
3713
- var _a;
3714
- 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({
3715
3514
  security: [
3716
3515
  {
3717
3516
  scheme: 'bearer',
@@ -3724,8 +3523,7 @@ const policyGet = (options) => {
3724
3523
  };
3725
3524
  exports.policyGet = policyGet;
3726
3525
  const policyUpdate = (options) => {
3727
- var _a;
3728
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3526
+ return (options.client ?? client_gen_1.client).put({
3729
3527
  security: [
3730
3528
  {
3731
3529
  scheme: 'bearer',
@@ -3742,8 +3540,7 @@ const policyUpdate = (options) => {
3742
3540
  };
3743
3541
  exports.policyUpdate = policyUpdate;
3744
3542
  const policyCheckNameExists = (options) => {
3745
- var _a;
3746
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3543
+ return (options.client ?? client_gen_1.client).get({
3747
3544
  security: [
3748
3545
  {
3749
3546
  scheme: 'bearer',
@@ -3757,10 +3554,10 @@ const policyCheckNameExists = (options) => {
3757
3554
  exports.policyCheckNameExists = policyCheckNameExists;
3758
3555
  /**
3759
3556
  * Retrieve many organizations
3557
+ * Retrieves a paginated list of organizations
3760
3558
  */
3761
3559
  const organizationsGetMany = (options) => {
3762
- var _a;
3763
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3560
+ return (options.client ?? client_gen_1.client).get({
3764
3561
  security: [
3765
3562
  {
3766
3563
  scheme: 'bearer',
@@ -3774,10 +3571,10 @@ const organizationsGetMany = (options) => {
3774
3571
  exports.organizationsGetMany = organizationsGetMany;
3775
3572
  /**
3776
3573
  * Create a new organization
3574
+ * Creates a new organization with specified configuration
3777
3575
  */
3778
3576
  const organizationCreate = (options) => {
3779
- var _a;
3780
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3577
+ return (options.client ?? client_gen_1.client).post({
3781
3578
  security: [
3782
3579
  {
3783
3580
  scheme: 'bearer',
@@ -3795,10 +3592,10 @@ const organizationCreate = (options) => {
3795
3592
  exports.organizationCreate = organizationCreate;
3796
3593
  /**
3797
3594
  * Check if an organization name already exists
3595
+ * Validates whether an organization name exists
3798
3596
  */
3799
3597
  const organizationCheckNameExists = (options) => {
3800
- var _a;
3801
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3598
+ return (options.client ?? client_gen_1.client).get({
3802
3599
  security: [
3803
3600
  {
3804
3601
  scheme: 'bearer',
@@ -3811,8 +3608,7 @@ const organizationCheckNameExists = (options) => {
3811
3608
  };
3812
3609
  exports.organizationCheckNameExists = organizationCheckNameExists;
3813
3610
  const organizationDelete = (options) => {
3814
- var _a;
3815
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3611
+ return (options.client ?? client_gen_1.client).delete({
3816
3612
  security: [
3817
3613
  {
3818
3614
  scheme: 'bearer',
@@ -3826,10 +3622,10 @@ const organizationDelete = (options) => {
3826
3622
  exports.organizationDelete = organizationDelete;
3827
3623
  /**
3828
3624
  * Retrieve a specific organization
3625
+ * Retrieves detailed information about a specific organization
3829
3626
  */
3830
3627
  const organizationGet = (options) => {
3831
- var _a;
3832
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3628
+ return (options.client ?? client_gen_1.client).get({
3833
3629
  security: [
3834
3630
  {
3835
3631
  scheme: 'bearer',
@@ -3843,10 +3639,10 @@ const organizationGet = (options) => {
3843
3639
  exports.organizationGet = organizationGet;
3844
3640
  /**
3845
3641
  * Update an organization
3642
+ * Updates an existing organization
3846
3643
  */
3847
3644
  const organizationUpdate = (options) => {
3848
- var _a;
3849
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3645
+ return (options.client ?? client_gen_1.client).patch({
3850
3646
  security: [
3851
3647
  {
3852
3648
  scheme: 'bearer',
@@ -3864,10 +3660,10 @@ const organizationUpdate = (options) => {
3864
3660
  exports.organizationUpdate = organizationUpdate;
3865
3661
  /**
3866
3662
  * Remove a user from an organization
3663
+ * Removes specified users from an organization
3867
3664
  */
3868
3665
  const organizationRemoveUsers = (options) => {
3869
- var _a;
3870
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3666
+ return (options.client ?? client_gen_1.client).delete({
3871
3667
  security: [
3872
3668
  {
3873
3669
  scheme: 'bearer',
@@ -3885,10 +3681,10 @@ const organizationRemoveUsers = (options) => {
3885
3681
  exports.organizationRemoveUsers = organizationRemoveUsers;
3886
3682
  /**
3887
3683
  * Assign a user to an organization
3684
+ * Assigns users to an organization
3888
3685
  */
3889
3686
  const organizationAssignUsers = (options) => {
3890
- var _a;
3891
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3687
+ return (options.client ?? client_gen_1.client).post({
3892
3688
  security: [
3893
3689
  {
3894
3690
  scheme: 'bearer',
@@ -3905,8 +3701,7 @@ const organizationAssignUsers = (options) => {
3905
3701
  };
3906
3702
  exports.organizationAssignUsers = organizationAssignUsers;
3907
3703
  const organizationRemoveGroups = (options) => {
3908
- var _a;
3909
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3704
+ return (options.client ?? client_gen_1.client).delete({
3910
3705
  security: [
3911
3706
  {
3912
3707
  scheme: 'bearer',
@@ -3923,8 +3718,7 @@ const organizationRemoveGroups = (options) => {
3923
3718
  };
3924
3719
  exports.organizationRemoveGroups = organizationRemoveGroups;
3925
3720
  const organizationAssignGroups = (options) => {
3926
- var _a;
3927
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3721
+ return (options.client ?? client_gen_1.client).post({
3928
3722
  security: [
3929
3723
  {
3930
3724
  scheme: 'bearer',
@@ -3941,8 +3735,7 @@ const organizationAssignGroups = (options) => {
3941
3735
  };
3942
3736
  exports.organizationAssignGroups = organizationAssignGroups;
3943
3737
  const organizationGetOrganizationIdByToken = (options) => {
3944
- var _a;
3945
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3738
+ return (options.client ?? client_gen_1.client).get({
3946
3739
  security: [
3947
3740
  {
3948
3741
  scheme: 'bearer',
@@ -3956,10 +3749,10 @@ const organizationGetOrganizationIdByToken = (options) => {
3956
3749
  exports.organizationGetOrganizationIdByToken = organizationGetOrganizationIdByToken;
3957
3750
  /**
3958
3751
  * Update organization shareable deployment status
3752
+ * Enables or disables the shareable deployment feature for an organization
3959
3753
  */
3960
3754
  const organizationUpdateShareableDeploymentStatus = (options) => {
3961
- var _a;
3962
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3755
+ return (options.client ?? client_gen_1.client).post({
3963
3756
  security: [
3964
3757
  {
3965
3758
  scheme: 'bearer',
@@ -3977,10 +3770,10 @@ const organizationUpdateShareableDeploymentStatus = (options) => {
3977
3770
  exports.organizationUpdateShareableDeploymentStatus = organizationUpdateShareableDeploymentStatus;
3978
3771
  /**
3979
3772
  * Update organization deployment token
3773
+ * Updates the deployment token
3980
3774
  */
3981
3775
  const organizationUpdateDeploymentToken = (options) => {
3982
- var _a;
3983
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3776
+ return (options.client ?? client_gen_1.client).post({
3984
3777
  security: [
3985
3778
  {
3986
3779
  scheme: 'bearer',
@@ -3998,10 +3791,10 @@ const organizationUpdateDeploymentToken = (options) => {
3998
3791
  exports.organizationUpdateDeploymentToken = organizationUpdateDeploymentToken;
3999
3792
  /**
4000
3793
  * Remove tags from an organization
3794
+ * Removes specified tags from an organization
4001
3795
  */
4002
3796
  const organizationRemoveTags = (options) => {
4003
- var _a;
4004
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
3797
+ return (options.client ?? client_gen_1.client).delete({
4005
3798
  security: [
4006
3799
  {
4007
3800
  scheme: 'bearer',
@@ -4019,10 +3812,10 @@ const organizationRemoveTags = (options) => {
4019
3812
  exports.organizationRemoveTags = organizationRemoveTags;
4020
3813
  /**
4021
3814
  * Add tags to an organization
3815
+ * Adds one or more tags to an organization
4022
3816
  */
4023
3817
  const organizationAddTags = (options) => {
4024
- var _a;
4025
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
3818
+ return (options.client ?? client_gen_1.client).patch({
4026
3819
  security: [
4027
3820
  {
4028
3821
  scheme: 'bearer',
@@ -4040,10 +3833,10 @@ const organizationAddTags = (options) => {
4040
3833
  exports.organizationAddTags = organizationAddTags;
4041
3834
  /**
4042
3835
  * Retrieve users assigned to an organization
3836
+ * Retrieves a paginated list of users assigned to an organization
4043
3837
  */
4044
3838
  const organizationGetUsers = (options) => {
4045
- var _a;
4046
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3839
+ return (options.client ?? client_gen_1.client).get({
4047
3840
  security: [
4048
3841
  {
4049
3842
  scheme: 'bearer',
@@ -4056,8 +3849,7 @@ const organizationGetUsers = (options) => {
4056
3849
  };
4057
3850
  exports.organizationGetUsers = organizationGetUsers;
4058
3851
  const autoAssetTagFilter = (options) => {
4059
- var _a;
4060
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3852
+ return (options.client ?? client_gen_1.client).get({
4061
3853
  security: [
4062
3854
  {
4063
3855
  scheme: 'bearer',
@@ -4070,8 +3862,7 @@ const autoAssetTagFilter = (options) => {
4070
3862
  };
4071
3863
  exports.autoAssetTagFilter = autoAssetTagFilter;
4072
3864
  const autoAssetTagSaveAutoAssetTag = (options) => {
4073
- var _a;
4074
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3865
+ return (options.client ?? client_gen_1.client).post({
4075
3866
  security: [
4076
3867
  {
4077
3868
  scheme: 'bearer',
@@ -4088,8 +3879,7 @@ const autoAssetTagSaveAutoAssetTag = (options) => {
4088
3879
  };
4089
3880
  exports.autoAssetTagSaveAutoAssetTag = autoAssetTagSaveAutoAssetTag;
4090
3881
  const autoAssetTagDelete = (options) => {
4091
- var _a;
4092
- 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({
4093
3883
  security: [
4094
3884
  {
4095
3885
  scheme: 'bearer',
@@ -4102,8 +3892,7 @@ const autoAssetTagDelete = (options) => {
4102
3892
  };
4103
3893
  exports.autoAssetTagDelete = autoAssetTagDelete;
4104
3894
  const autoAssetTagGetById = (options) => {
4105
- var _a;
4106
- 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({
4107
3896
  security: [
4108
3897
  {
4109
3898
  scheme: 'bearer',
@@ -4116,8 +3905,7 @@ const autoAssetTagGetById = (options) => {
4116
3905
  };
4117
3906
  exports.autoAssetTagGetById = autoAssetTagGetById;
4118
3907
  const autoAssetTagUpdateAutoAssetTag = (options) => {
4119
- var _a;
4120
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3908
+ return (options.client ?? client_gen_1.client).put({
4121
3909
  security: [
4122
3910
  {
4123
3911
  scheme: 'bearer',
@@ -4134,8 +3922,7 @@ const autoAssetTagUpdateAutoAssetTag = (options) => {
4134
3922
  };
4135
3923
  exports.autoAssetTagUpdateAutoAssetTag = autoAssetTagUpdateAutoAssetTag;
4136
3924
  const autoAssetTagAssignAutoAssetTaggingTask = (options) => {
4137
- var _a;
4138
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
3925
+ return (options.client ?? client_gen_1.client).post({
4139
3926
  security: [
4140
3927
  {
4141
3928
  scheme: 'bearer',
@@ -4152,8 +3939,7 @@ const autoAssetTagAssignAutoAssetTaggingTask = (options) => {
4152
3939
  };
4153
3940
  exports.autoAssetTagAssignAutoAssetTaggingTask = autoAssetTagAssignAutoAssetTaggingTask;
4154
3941
  const autoAssetTagUpdateScheduledAatTask = (options) => {
4155
- var _a;
4156
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
3942
+ return (options.client ?? client_gen_1.client).put({
4157
3943
  security: [
4158
3944
  {
4159
3945
  scheme: 'bearer',
@@ -4171,10 +3957,10 @@ const autoAssetTagUpdateScheduledAatTask = (options) => {
4171
3957
  exports.autoAssetTagUpdateScheduledAatTask = autoAssetTagUpdateScheduledAatTask;
4172
3958
  /**
4173
3959
  * Check if a case name is available
3960
+ * Validates whether a given case name is exists
4174
3961
  */
4175
3962
  const casesCheckName = (options) => {
4176
- var _a;
4177
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3963
+ return (options.client ?? client_gen_1.client).get({
4178
3964
  security: [
4179
3965
  {
4180
3966
  scheme: 'bearer',
@@ -4187,8 +3973,7 @@ const casesCheckName = (options) => {
4187
3973
  };
4188
3974
  exports.casesCheckName = casesCheckName;
4189
3975
  const caseExportCases = (options) => {
4190
- var _a;
4191
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
3976
+ return (options.client ?? client_gen_1.client).get({
4192
3977
  security: [
4193
3978
  {
4194
3979
  scheme: 'bearer',
@@ -4201,8 +3986,7 @@ const caseExportCases = (options) => {
4201
3986
  };
4202
3987
  exports.caseExportCases = caseExportCases;
4203
3988
  const caseExportCaseNotes = (options) => {
4204
- var _a;
4205
- 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({
4206
3990
  security: [
4207
3991
  {
4208
3992
  scheme: 'bearer',
@@ -4215,8 +3999,7 @@ const caseExportCaseNotes = (options) => {
4215
3999
  };
4216
4000
  exports.caseExportCaseNotes = caseExportCaseNotes;
4217
4001
  const caseExportCaseEndpoints = (options) => {
4218
- var _a;
4219
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4002
+ return (options.client ?? client_gen_1.client).get({
4220
4003
  security: [
4221
4004
  {
4222
4005
  scheme: 'bearer',
@@ -4229,8 +4012,7 @@ const caseExportCaseEndpoints = (options) => {
4229
4012
  };
4230
4013
  exports.caseExportCaseEndpoints = caseExportCaseEndpoints;
4231
4014
  const caseExportCaseEndpoints1 = (options) => {
4232
- var _a;
4233
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4015
+ return (options.client ?? client_gen_1.client).get({
4234
4016
  security: [
4235
4017
  {
4236
4018
  scheme: 'bearer',
@@ -4244,10 +4026,10 @@ const caseExportCaseEndpoints1 = (options) => {
4244
4026
  exports.caseExportCaseEndpoints1 = caseExportCaseEndpoints1;
4245
4027
  /**
4246
4028
  * Retrieve a specific case
4029
+ * Fetches detailed information about a specific case
4247
4030
  */
4248
4031
  const casesGet = (options) => {
4249
- var _a;
4250
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4032
+ return (options?.client ?? client_gen_1.client).get({
4251
4033
  security: [
4252
4034
  {
4253
4035
  scheme: 'bearer',
@@ -4260,8 +4042,7 @@ const casesGet = (options) => {
4260
4042
  };
4261
4043
  exports.casesGet = casesGet;
4262
4044
  const caseUpdateCase = (options) => {
4263
- var _a;
4264
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
4045
+ return (options.client ?? client_gen_1.client).patch({
4265
4046
  security: [
4266
4047
  {
4267
4048
  scheme: 'bearer',
@@ -4279,10 +4060,10 @@ const caseUpdateCase = (options) => {
4279
4060
  exports.caseUpdateCase = caseUpdateCase;
4280
4061
  /**
4281
4062
  * Retrieve many cases
4063
+ * Retrieves a paginated list of cases accessible to the current user
4282
4064
  */
4283
4065
  const casesGetMany = (options) => {
4284
- var _a;
4285
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4066
+ return (options.client ?? client_gen_1.client).get({
4286
4067
  security: [
4287
4068
  {
4288
4069
  scheme: 'bearer',
@@ -4296,10 +4077,10 @@ const casesGetMany = (options) => {
4296
4077
  exports.casesGetMany = casesGetMany;
4297
4078
  /**
4298
4079
  * Create a new case
4080
+ * Creates a new case with the provided details and assigns it to the current user
4299
4081
  */
4300
4082
  const casesCreate = (options) => {
4301
- var _a;
4302
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4083
+ return (options.client ?? client_gen_1.client).post({
4303
4084
  security: [
4304
4085
  {
4305
4086
  scheme: 'bearer',
@@ -4317,10 +4098,10 @@ const casesCreate = (options) => {
4317
4098
  exports.casesCreate = casesCreate;
4318
4099
  /**
4319
4100
  * Close a specific case
4101
+ * Updates the case status to closed
4320
4102
  */
4321
4103
  const casesClose = (options) => {
4322
- var _a;
4323
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4104
+ return (options.client ?? client_gen_1.client).post({
4324
4105
  security: [
4325
4106
  {
4326
4107
  scheme: 'bearer',
@@ -4333,8 +4114,7 @@ const casesClose = (options) => {
4333
4114
  };
4334
4115
  exports.casesClose = casesClose;
4335
4116
  const caseReopenCase = (options) => {
4336
- var _a;
4337
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4117
+ return (options.client ?? client_gen_1.client).post({
4338
4118
  security: [
4339
4119
  {
4340
4120
  scheme: 'bearer',
@@ -4347,8 +4127,7 @@ const caseReopenCase = (options) => {
4347
4127
  };
4348
4128
  exports.caseReopenCase = caseReopenCase;
4349
4129
  const caseArchiveCase = (options) => {
4350
- var _a;
4351
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4130
+ return (options.client ?? client_gen_1.client).post({
4352
4131
  security: [
4353
4132
  {
4354
4133
  scheme: 'bearer',
@@ -4362,10 +4141,10 @@ const caseArchiveCase = (options) => {
4362
4141
  exports.caseArchiveCase = caseArchiveCase;
4363
4142
  /**
4364
4143
  * Change the owner of a case
4144
+ * Transfers ownership of a case to a different user within the organization
4365
4145
  */
4366
4146
  const casesChangeOwner = (options) => {
4367
- var _a;
4368
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4147
+ return (options.client ?? client_gen_1.client).post({
4369
4148
  security: [
4370
4149
  {
4371
4150
  scheme: 'bearer',
@@ -4383,10 +4162,10 @@ const casesChangeOwner = (options) => {
4383
4162
  exports.casesChangeOwner = casesChangeOwner;
4384
4163
  /**
4385
4164
  * Get tasks for a specific case
4165
+ * Retrieves a paginated list of tasks associated with the specified case
4386
4166
  */
4387
4167
  const casesGetTasks = (options) => {
4388
- var _a;
4389
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4168
+ return (options.client ?? client_gen_1.client).get({
4390
4169
  security: [
4391
4170
  {
4392
4171
  scheme: 'bearer',
@@ -4399,8 +4178,7 @@ const casesGetTasks = (options) => {
4399
4178
  };
4400
4179
  exports.casesGetTasks = casesGetTasks;
4401
4180
  const caseFilterTaskAssignments = (options) => {
4402
- var _a;
4403
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4181
+ return (options.client ?? client_gen_1.client).get({
4404
4182
  security: [
4405
4183
  {
4406
4184
  scheme: 'bearer',
@@ -4414,10 +4192,10 @@ const caseFilterTaskAssignments = (options) => {
4414
4192
  exports.caseFilterTaskAssignments = caseFilterTaskAssignments;
4415
4193
  /**
4416
4194
  * Get endpoints for a specific case
4195
+ * Retrieves a paginated list of endpoints/assets linked to the specified case
4417
4196
  */
4418
4197
  const casesGetEndpoints = (options) => {
4419
- var _a;
4420
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4198
+ return (options.client ?? client_gen_1.client).get({
4421
4199
  security: [
4422
4200
  {
4423
4201
  scheme: 'bearer',
@@ -4431,10 +4209,10 @@ const casesGetEndpoints = (options) => {
4431
4209
  exports.casesGetEndpoints = casesGetEndpoints;
4432
4210
  /**
4433
4211
  * Get endpoints for a specific case
4212
+ * Retrieves a paginated list of endpoints/assets linked to the specified case
4434
4213
  */
4435
4214
  const casesGetEndpoints2 = (options) => {
4436
- var _a;
4437
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4215
+ return (options.client ?? client_gen_1.client).get({
4438
4216
  security: [
4439
4217
  {
4440
4218
  scheme: 'bearer',
@@ -4448,10 +4226,10 @@ const casesGetEndpoints2 = (options) => {
4448
4226
  exports.casesGetEndpoints2 = casesGetEndpoints2;
4449
4227
  /**
4450
4228
  * Get activities for a specific case
4229
+ * Retrieves a paginated list of activities for a case
4451
4230
  */
4452
4231
  const casesGetActivities = (options) => {
4453
- var _a;
4454
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4232
+ return (options.client ?? client_gen_1.client).get({
4455
4233
  security: [
4456
4234
  {
4457
4235
  scheme: 'bearer',
@@ -4464,8 +4242,7 @@ const casesGetActivities = (options) => {
4464
4242
  };
4465
4243
  exports.casesGetActivities = casesGetActivities;
4466
4244
  const caseExportActivities = (options) => {
4467
- var _a;
4468
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4245
+ return (options.client ?? client_gen_1.client).get({
4469
4246
  security: [
4470
4247
  {
4471
4248
  scheme: 'bearer',
@@ -4478,8 +4255,7 @@ const caseExportActivities = (options) => {
4478
4255
  };
4479
4256
  exports.caseExportActivities = caseExportActivities;
4480
4257
  const caseAddCaseNote = (options) => {
4481
- var _a;
4482
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4258
+ return (options.client ?? client_gen_1.client).post({
4483
4259
  security: [
4484
4260
  {
4485
4261
  scheme: 'bearer',
@@ -4496,8 +4272,7 @@ const caseAddCaseNote = (options) => {
4496
4272
  };
4497
4273
  exports.caseAddCaseNote = caseAddCaseNote;
4498
4274
  const caseDeleteCaseNote = (options) => {
4499
- var _a;
4500
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4275
+ return (options.client ?? client_gen_1.client).delete({
4501
4276
  security: [
4502
4277
  {
4503
4278
  scheme: 'bearer',
@@ -4510,8 +4285,7 @@ const caseDeleteCaseNote = (options) => {
4510
4285
  };
4511
4286
  exports.caseDeleteCaseNote = caseDeleteCaseNote;
4512
4287
  const caseEditCaseNote = (options) => {
4513
- var _a;
4514
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
4288
+ return (options.client ?? client_gen_1.client).patch({
4515
4289
  security: [
4516
4290
  {
4517
4291
  scheme: 'bearer',
@@ -4528,8 +4302,7 @@ const caseEditCaseNote = (options) => {
4528
4302
  };
4529
4303
  exports.caseEditCaseNote = caseEditCaseNote;
4530
4304
  const caseImportTaskAssignment = (options) => {
4531
- var _a;
4532
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4305
+ return (options.client ?? client_gen_1.client).post({
4533
4306
  security: [
4534
4307
  {
4535
4308
  scheme: 'bearer',
@@ -4547,10 +4320,10 @@ const caseImportTaskAssignment = (options) => {
4547
4320
  exports.caseImportTaskAssignment = caseImportTaskAssignment;
4548
4321
  /**
4549
4322
  * Get users for a specific case
4323
+ * Retrieves a paginated list of users who have access to the specified case
4550
4324
  */
4551
4325
  const casesGetUsers = (options) => {
4552
- var _a;
4553
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4326
+ return (options.client ?? client_gen_1.client).get({
4554
4327
  security: [
4555
4328
  {
4556
4329
  scheme: 'bearer',
@@ -4563,8 +4336,7 @@ const casesGetUsers = (options) => {
4563
4336
  };
4564
4337
  exports.casesGetUsers = casesGetUsers;
4565
4338
  const caseRemoveEndpointsFromCaseByFilter = (options) => {
4566
- var _a;
4567
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4339
+ return (options.client ?? client_gen_1.client).delete({
4568
4340
  security: [
4569
4341
  {
4570
4342
  scheme: 'bearer',
@@ -4581,8 +4353,7 @@ const caseRemoveEndpointsFromCaseByFilter = (options) => {
4581
4353
  };
4582
4354
  exports.caseRemoveEndpointsFromCaseByFilter = caseRemoveEndpointsFromCaseByFilter;
4583
4355
  const caseRemoveEndpointsFromCaseByFilter1 = (options) => {
4584
- var _a;
4585
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4356
+ return (options.client ?? client_gen_1.client).delete({
4586
4357
  security: [
4587
4358
  {
4588
4359
  scheme: 'bearer',
@@ -4599,8 +4370,7 @@ const caseRemoveEndpointsFromCaseByFilter1 = (options) => {
4599
4370
  };
4600
4371
  exports.caseRemoveEndpointsFromCaseByFilter1 = caseRemoveEndpointsFromCaseByFilter1;
4601
4372
  const caseRemoveTaskAssignmentFromCase = (options) => {
4602
- var _a;
4603
- 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({
4604
4374
  security: [
4605
4375
  {
4606
4376
  scheme: 'bearer',
@@ -4613,8 +4383,7 @@ const caseRemoveTaskAssignmentFromCase = (options) => {
4613
4383
  };
4614
4384
  exports.caseRemoveTaskAssignmentFromCase = caseRemoveTaskAssignmentFromCase;
4615
4385
  const caseTagsFilter = (options) => {
4616
- var _a;
4617
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4386
+ return (options.client ?? client_gen_1.client).get({
4618
4387
  security: [
4619
4388
  {
4620
4389
  scheme: 'bearer',
@@ -4627,8 +4396,7 @@ const caseTagsFilter = (options) => {
4627
4396
  };
4628
4397
  exports.caseTagsFilter = caseTagsFilter;
4629
4398
  const caseTagsCreate = (options) => {
4630
- var _a;
4631
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4399
+ return (options.client ?? client_gen_1.client).post({
4632
4400
  security: [
4633
4401
  {
4634
4402
  scheme: 'bearer',
@@ -4645,8 +4413,7 @@ const caseTagsCreate = (options) => {
4645
4413
  };
4646
4414
  exports.caseTagsCreate = caseTagsCreate;
4647
4415
  const caseTagsDelete = (options) => {
4648
- var _a;
4649
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4416
+ return (options.client ?? client_gen_1.client).delete({
4650
4417
  security: [
4651
4418
  {
4652
4419
  scheme: 'bearer',
@@ -4659,8 +4426,7 @@ const caseTagsDelete = (options) => {
4659
4426
  };
4660
4427
  exports.caseTagsDelete = caseTagsDelete;
4661
4428
  const caseCategoriesFilter = (options) => {
4662
- var _a;
4663
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4429
+ return (options.client ?? client_gen_1.client).get({
4664
4430
  security: [
4665
4431
  {
4666
4432
  scheme: 'bearer',
@@ -4673,8 +4439,7 @@ const caseCategoriesFilter = (options) => {
4673
4439
  };
4674
4440
  exports.caseCategoriesFilter = caseCategoriesFilter;
4675
4441
  const caseCategoriesCreate = (options) => {
4676
- var _a;
4677
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4442
+ return (options.client ?? client_gen_1.client).post({
4678
4443
  security: [
4679
4444
  {
4680
4445
  scheme: 'bearer',
@@ -4691,8 +4456,7 @@ const caseCategoriesCreate = (options) => {
4691
4456
  };
4692
4457
  exports.caseCategoriesCreate = caseCategoriesCreate;
4693
4458
  const caseCategoriesDelete = (options) => {
4694
- var _a;
4695
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4459
+ return (options.client ?? client_gen_1.client).delete({
4696
4460
  security: [
4697
4461
  {
4698
4462
  scheme: 'bearer',
@@ -4705,8 +4469,7 @@ const caseCategoriesDelete = (options) => {
4705
4469
  };
4706
4470
  exports.caseCategoriesDelete = caseCategoriesDelete;
4707
4471
  const interactLibraryFilter = (options) => {
4708
- var _a;
4709
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4472
+ return (options.client ?? client_gen_1.client).get({
4710
4473
  security: [
4711
4474
  {
4712
4475
  scheme: 'bearer',
@@ -4719,8 +4482,7 @@ const interactLibraryFilter = (options) => {
4719
4482
  };
4720
4483
  exports.interactLibraryFilter = interactLibraryFilter;
4721
4484
  const interactLibraryCheckLibraryFileExists = (options) => {
4722
- var _a;
4723
- 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({
4724
4486
  security: [
4725
4487
  {
4726
4488
  scheme: 'bearer',
@@ -4733,8 +4495,7 @@ const interactLibraryCheckLibraryFileExists = (options) => {
4733
4495
  };
4734
4496
  exports.interactLibraryCheckLibraryFileExists = interactLibraryCheckLibraryFileExists;
4735
4497
  const interactLibraryUpload = (options) => {
4736
- var _a;
4737
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4498
+ return (options.client ?? client_gen_1.client).post({
4738
4499
  security: [
4739
4500
  {
4740
4501
  scheme: 'bearer',
@@ -4751,8 +4512,7 @@ const interactLibraryUpload = (options) => {
4751
4512
  };
4752
4513
  exports.interactLibraryUpload = interactLibraryUpload;
4753
4514
  const interactLibraryDownload = (options) => {
4754
- var _a;
4755
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4515
+ return (options.client ?? client_gen_1.client).get({
4756
4516
  security: [
4757
4517
  {
4758
4518
  scheme: 'bearer',
@@ -4765,8 +4525,7 @@ const interactLibraryDownload = (options) => {
4765
4525
  };
4766
4526
  exports.interactLibraryDownload = interactLibraryDownload;
4767
4527
  const interactLibraryDelete = (options) => {
4768
- var _a;
4769
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4528
+ return (options.client ?? client_gen_1.client).delete({
4770
4529
  security: [
4771
4530
  {
4772
4531
  scheme: 'bearer',
@@ -4780,10 +4539,10 @@ const interactLibraryDelete = (options) => {
4780
4539
  exports.interactLibraryDelete = interactLibraryDelete;
4781
4540
  /**
4782
4541
  * Get available commands
4542
+ * Retrieves the list of all available InterACT commands
4783
4543
  */
4784
4544
  const interactCommandsGetMany = (options) => {
4785
- var _a;
4786
- 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({
4787
4546
  security: [
4788
4547
  {
4789
4548
  scheme: 'bearer',
@@ -4796,8 +4555,7 @@ const interactCommandsGetMany = (options) => {
4796
4555
  };
4797
4556
  exports.interactCommandsGetMany = interactCommandsGetMany;
4798
4557
  const interactDownload = (options) => {
4799
- var _a;
4800
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4558
+ return (options.client ?? client_gen_1.client).get({
4801
4559
  security: [
4802
4560
  {
4803
4561
  scheme: 'bearer',
@@ -4811,10 +4569,10 @@ const interactDownload = (options) => {
4811
4569
  exports.interactDownload = interactDownload;
4812
4570
  /**
4813
4571
  * Create InterACT shell session
4572
+ * Initiates a new InterACT shell session on a target endpoint
4814
4573
  */
4815
4574
  const interactShellAssignTask = (options) => {
4816
- var _a;
4817
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4575
+ return (options.client ?? client_gen_1.client).post({
4818
4576
  security: [
4819
4577
  {
4820
4578
  scheme: 'bearer',
@@ -4831,8 +4589,7 @@ const interactShellAssignTask = (options) => {
4831
4589
  };
4832
4590
  exports.interactShellAssignTask = interactShellAssignTask;
4833
4591
  const interactGetInterActShellReport = (options) => {
4834
- var _a;
4835
- 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({
4836
4593
  security: [
4837
4594
  {
4838
4595
  scheme: 'bearer',
@@ -4846,10 +4603,10 @@ const interactGetInterActShellReport = (options) => {
4846
4603
  exports.interactGetInterActShellReport = interactGetInterActShellReport;
4847
4604
  /**
4848
4605
  * Execute command in InterACT session
4606
+ * Executes a command synchronously within an active InterACT session
4849
4607
  */
4850
4608
  const interactSessionExecuteCommand = (options) => {
4851
- var _a;
4852
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4609
+ return (options.client ?? client_gen_1.client).post({
4853
4610
  security: [
4854
4611
  {
4855
4612
  scheme: 'bearer',
@@ -4867,10 +4624,10 @@ const interactSessionExecuteCommand = (options) => {
4867
4624
  exports.interactSessionExecuteCommand = interactSessionExecuteCommand;
4868
4625
  /**
4869
4626
  * Execute async command in InterACT session
4627
+ * Executes a command asynchronously within an active InterACT session
4870
4628
  */
4871
4629
  const interactSessionExecuteAsyncCommand = (options) => {
4872
- var _a;
4873
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4630
+ return (options.client ?? client_gen_1.client).post({
4874
4631
  security: [
4875
4632
  {
4876
4633
  scheme: 'bearer',
@@ -4888,10 +4645,10 @@ const interactSessionExecuteAsyncCommand = (options) => {
4888
4645
  exports.interactSessionExecuteAsyncCommand = interactSessionExecuteAsyncCommand;
4889
4646
  /**
4890
4647
  * Interrupt running command
4648
+ * Terminates a currently executing command within an InterACT session
4891
4649
  */
4892
4650
  const interactSessionInterruptCommand = (options) => {
4893
- var _a;
4894
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4651
+ return (options.client ?? client_gen_1.client).post({
4895
4652
  security: [
4896
4653
  {
4897
4654
  scheme: 'bearer',
@@ -4905,10 +4662,10 @@ const interactSessionInterruptCommand = (options) => {
4905
4662
  exports.interactSessionInterruptCommand = interactSessionInterruptCommand;
4906
4663
  /**
4907
4664
  * Close InterACT session
4665
+ * Terminates an active InterACT session
4908
4666
  */
4909
4667
  const interactSessionClose = (options) => {
4910
- var _a;
4911
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4668
+ return (options.client ?? client_gen_1.client).post({
4912
4669
  security: [
4913
4670
  {
4914
4671
  scheme: 'bearer',
@@ -4922,10 +4679,10 @@ const interactSessionClose = (options) => {
4922
4679
  exports.interactSessionClose = interactSessionClose;
4923
4680
  /**
4924
4681
  * Get command response message
4682
+ * Retrieves the response and output of a previously executed command
4925
4683
  */
4926
4684
  const interactSessionGetCommandMessage = (options) => {
4927
- var _a;
4928
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4685
+ return (options.client ?? client_gen_1.client).get({
4929
4686
  security: [
4930
4687
  {
4931
4688
  scheme: 'bearer',
@@ -4938,8 +4695,7 @@ const interactSessionGetCommandMessage = (options) => {
4938
4695
  };
4939
4696
  exports.interactSessionGetCommandMessage = interactSessionGetCommandMessage;
4940
4697
  const multipartUploadInitializeHead = (options) => {
4941
- var _a;
4942
- 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({
4943
4699
  security: [
4944
4700
  {
4945
4701
  scheme: 'bearer',
@@ -4952,8 +4708,7 @@ const multipartUploadInitializeHead = (options) => {
4952
4708
  };
4953
4709
  exports.multipartUploadInitializeHead = multipartUploadInitializeHead;
4954
4710
  const multipartUploadInitialize = (options) => {
4955
- var _a;
4956
- 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({
4957
4712
  security: [
4958
4713
  {
4959
4714
  scheme: 'bearer',
@@ -4966,8 +4721,7 @@ const multipartUploadInitialize = (options) => {
4966
4721
  };
4967
4722
  exports.multipartUploadInitialize = multipartUploadInitialize;
4968
4723
  const multipartUploadFinalize = (options) => {
4969
- var _a;
4970
- 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({
4971
4725
  security: [
4972
4726
  {
4973
4727
  scheme: 'bearer',
@@ -4980,8 +4734,7 @@ const multipartUploadFinalize = (options) => {
4980
4734
  };
4981
4735
  exports.multipartUploadFinalize = multipartUploadFinalize;
4982
4736
  const multipartUploadIsReady = (options) => {
4983
- var _a;
4984
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4737
+ return (options.client ?? client_gen_1.client).get({
4985
4738
  security: [
4986
4739
  {
4987
4740
  scheme: 'bearer',
@@ -4994,8 +4747,7 @@ const multipartUploadIsReady = (options) => {
4994
4747
  };
4995
4748
  exports.multipartUploadIsReady = multipartUploadIsReady;
4996
4749
  const multipartUploadDeleteFileParts = (options) => {
4997
- var _a;
4998
- 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({
4999
4751
  security: [
5000
4752
  {
5001
4753
  scheme: 'bearer',
@@ -5008,8 +4760,7 @@ const multipartUploadDeleteFileParts = (options) => {
5008
4760
  };
5009
4761
  exports.multipartUploadDeleteFileParts = multipartUploadDeleteFileParts;
5010
4762
  const multipartUploadUploadPart = (options) => {
5011
- var _a;
5012
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
4763
+ return (options.client ?? client_gen_1.client).put({
5013
4764
  security: [
5014
4765
  {
5015
4766
  scheme: 'bearer',
@@ -5026,11 +4777,11 @@ const multipartUploadUploadPart = (options) => {
5026
4777
  };
5027
4778
  exports.multipartUploadUploadPart = multipartUploadUploadPart;
5028
4779
  /**
4780
+ * Compare baseline acquisitions
5029
4781
  * Compare two baseline acquisition results from the same endpoint
5030
4782
  */
5031
4783
  const baselineCompare = (options) => {
5032
- var _a;
5033
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4784
+ return (options.client ?? client_gen_1.client).post({
5034
4785
  security: [
5035
4786
  {
5036
4787
  scheme: 'bearer',
@@ -5047,11 +4798,11 @@ const baselineCompare = (options) => {
5047
4798
  };
5048
4799
  exports.baselineCompare = baselineCompare;
5049
4800
  /**
5050
- * Acquire baseline for endpoints
4801
+ * Acquire baseline evidence
4802
+ * Acquire baseline evidence from endpoints by filter
5051
4803
  */
5052
4804
  const baselineAcquire = (options) => {
5053
- var _a;
5054
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4805
+ return (options.client ?? client_gen_1.client).post({
5055
4806
  security: [
5056
4807
  {
5057
4808
  scheme: 'bearer',
@@ -5069,10 +4820,10 @@ const baselineAcquire = (options) => {
5069
4820
  exports.baselineAcquire = baselineAcquire;
5070
4821
  /**
5071
4822
  * Get baseline comparison report
4823
+ * Retrieve the HTML report for a completed baseline comparison task.
5072
4824
  */
5073
4825
  const baselineGetComparisonReport = (options) => {
5074
- var _a;
5075
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4826
+ return (options.client ?? client_gen_1.client).get({
5076
4827
  security: [
5077
4828
  {
5078
4829
  scheme: 'bearer',
@@ -5085,8 +4836,7 @@ const baselineGetComparisonReport = (options) => {
5085
4836
  };
5086
4837
  exports.baselineGetComparisonReport = baselineGetComparisonReport;
5087
4838
  const baselineGetComparisonReportByVendorDeviceId = (options) => {
5088
- var _a;
5089
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4839
+ return (options.client ?? client_gen_1.client).get({
5090
4840
  security: [
5091
4841
  {
5092
4842
  scheme: 'bearer',
@@ -5099,12 +4849,11 @@ const baselineGetComparisonReportByVendorDeviceId = (options) => {
5099
4849
  };
5100
4850
  exports.baselineGetComparisonReportByVendorDeviceId = baselineGetComparisonReportByVendorDeviceId;
5101
4851
  /**
5102
- * Get Api Tokens
5103
- * Get api tokens
4852
+ * Get API Tokens
4853
+ * Get all API tokens
5104
4854
  */
5105
4855
  const apiTokensGetMany = (options) => {
5106
- var _a;
5107
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4856
+ return (options.client ?? client_gen_1.client).get({
5108
4857
  security: [
5109
4858
  {
5110
4859
  scheme: 'bearer',
@@ -5117,12 +4866,11 @@ const apiTokensGetMany = (options) => {
5117
4866
  };
5118
4867
  exports.apiTokensGetMany = apiTokensGetMany;
5119
4868
  /**
5120
- * Create Api Token
5121
- * Create api token
4869
+ * Create a new API token
4870
+ * Create a new API token with the specified name, description, expiration date, and role
5122
4871
  */
5123
4872
  const apiTokensCreate = (options) => {
5124
- var _a;
5125
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4873
+ return (options.client ?? client_gen_1.client).post({
5126
4874
  security: [
5127
4875
  {
5128
4876
  scheme: 'bearer',
@@ -5139,12 +4887,11 @@ const apiTokensCreate = (options) => {
5139
4887
  };
5140
4888
  exports.apiTokensCreate = apiTokensCreate;
5141
4889
  /**
5142
- * Delete Api Token
5143
- * Delete api token
4890
+ * Delete an API token
4891
+ * Delete an existing API token by ID
5144
4892
  */
5145
4893
  const apiTokensDelete = (options) => {
5146
- var _a;
5147
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4894
+ return (options.client ?? client_gen_1.client).delete({
5148
4895
  security: [
5149
4896
  {
5150
4897
  scheme: 'bearer',
@@ -5157,12 +4904,11 @@ const apiTokensDelete = (options) => {
5157
4904
  };
5158
4905
  exports.apiTokensDelete = apiTokensDelete;
5159
4906
  /**
5160
- * Get Api Token
5161
- * Retrieve a specific api token
4907
+ * Get API token by ID
4908
+ * Retrieve a specific API token
5162
4909
  */
5163
4910
  const apiTokensGetOne = (options) => {
5164
- var _a;
5165
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4911
+ return (options.client ?? client_gen_1.client).get({
5166
4912
  security: [
5167
4913
  {
5168
4914
  scheme: 'bearer',
@@ -5175,12 +4921,11 @@ const apiTokensGetOne = (options) => {
5175
4921
  };
5176
4922
  exports.apiTokensGetOne = apiTokensGetOne;
5177
4923
  /**
5178
- * Update Api Token
5179
- * Update api token
4924
+ * Update an existing API token
4925
+ * Update an existing API token
5180
4926
  */
5181
4927
  const apiTokensUpdate = (options) => {
5182
- var _a;
5183
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
4928
+ return (options.client ?? client_gen_1.client).put({
5184
4929
  security: [
5185
4930
  {
5186
4931
  scheme: 'bearer',
@@ -5197,8 +4942,7 @@ const apiTokensUpdate = (options) => {
5197
4942
  };
5198
4943
  exports.apiTokensUpdate = apiTokensUpdate;
5199
4944
  const cloudAccountsFilter = (options) => {
5200
- var _a;
5201
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4945
+ return (options.client ?? client_gen_1.client).get({
5202
4946
  security: [
5203
4947
  {
5204
4948
  scheme: 'bearer',
@@ -5211,8 +4955,7 @@ const cloudAccountsFilter = (options) => {
5211
4955
  };
5212
4956
  exports.cloudAccountsFilter = cloudAccountsFilter;
5213
4957
  const cloudAccountsCreateCloudAccount = (options) => {
5214
- var _a;
5215
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
4958
+ return (options.client ?? client_gen_1.client).post({
5216
4959
  security: [
5217
4960
  {
5218
4961
  scheme: 'bearer',
@@ -5229,8 +4972,7 @@ const cloudAccountsCreateCloudAccount = (options) => {
5229
4972
  };
5230
4973
  exports.cloudAccountsCreateCloudAccount = cloudAccountsCreateCloudAccount;
5231
4974
  const cloudAccountsExport = (options) => {
5232
- var _a;
5233
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
4975
+ return (options.client ?? client_gen_1.client).get({
5234
4976
  security: [
5235
4977
  {
5236
4978
  scheme: 'bearer',
@@ -5243,8 +4985,7 @@ const cloudAccountsExport = (options) => {
5243
4985
  };
5244
4986
  exports.cloudAccountsExport = cloudAccountsExport;
5245
4987
  const cloudAccountsDelete = (options) => {
5246
- var _a;
5247
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
4988
+ return (options.client ?? client_gen_1.client).delete({
5248
4989
  security: [
5249
4990
  {
5250
4991
  scheme: 'bearer',
@@ -5257,8 +4998,7 @@ const cloudAccountsDelete = (options) => {
5257
4998
  };
5258
4999
  exports.cloudAccountsDelete = cloudAccountsDelete;
5259
5000
  const cloudAccountsGetCloudAccountById = (options) => {
5260
- var _a;
5261
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5001
+ return (options.client ?? client_gen_1.client).get({
5262
5002
  security: [
5263
5003
  {
5264
5004
  scheme: 'bearer',
@@ -5271,8 +5011,7 @@ const cloudAccountsGetCloudAccountById = (options) => {
5271
5011
  };
5272
5012
  exports.cloudAccountsGetCloudAccountById = cloudAccountsGetCloudAccountById;
5273
5013
  const cloudAccountsUpdateCloudAccount = (options) => {
5274
- var _a;
5275
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
5014
+ return (options.client ?? client_gen_1.client).patch({
5276
5015
  security: [
5277
5016
  {
5278
5017
  scheme: 'bearer',
@@ -5289,8 +5028,7 @@ const cloudAccountsUpdateCloudAccount = (options) => {
5289
5028
  };
5290
5029
  exports.cloudAccountsUpdateCloudAccount = cloudAccountsUpdateCloudAccount;
5291
5030
  const cloudAccountsSyncCloudAccount = (options) => {
5292
- var _a;
5293
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5031
+ return (options.client ?? client_gen_1.client).get({
5294
5032
  security: [
5295
5033
  {
5296
5034
  scheme: 'bearer',
@@ -5303,8 +5041,7 @@ const cloudAccountsSyncCloudAccount = (options) => {
5303
5041
  };
5304
5042
  exports.cloudAccountsSyncCloudAccount = cloudAccountsSyncCloudAccount;
5305
5043
  const cloudAccountsSyncAllCloudAccount = (options) => {
5306
- var _a;
5307
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5044
+ return (options.client ?? client_gen_1.client).get({
5308
5045
  security: [
5309
5046
  {
5310
5047
  scheme: 'bearer',
@@ -5317,8 +5054,7 @@ const cloudAccountsSyncAllCloudAccount = (options) => {
5317
5054
  };
5318
5055
  exports.cloudAccountsSyncAllCloudAccount = cloudAccountsSyncAllCloudAccount;
5319
5056
  const investigationGetInvestigationById = (options) => {
5320
- var _a;
5321
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5057
+ return (options.client ?? client_gen_1.client).get({
5322
5058
  security: [
5323
5059
  {
5324
5060
  scheme: 'bearer',
@@ -5331,8 +5067,7 @@ const investigationGetInvestigationById = (options) => {
5331
5067
  };
5332
5068
  exports.investigationGetInvestigationById = investigationGetInvestigationById;
5333
5069
  const investigationUpdateInvestigation = (options) => {
5334
- var _a;
5335
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5070
+ return (options.client ?? client_gen_1.client).put({
5336
5071
  security: [
5337
5072
  {
5338
5073
  scheme: 'bearer',
@@ -5349,8 +5084,7 @@ const investigationUpdateInvestigation = (options) => {
5349
5084
  };
5350
5085
  exports.investigationUpdateInvestigation = investigationUpdateInvestigation;
5351
5086
  const investigationGetSectionDataStructure = (options) => {
5352
- var _a;
5353
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5087
+ return (options.client ?? client_gen_1.client).get({
5354
5088
  security: [
5355
5089
  {
5356
5090
  scheme: 'bearer',
@@ -5363,8 +5097,7 @@ const investigationGetSectionDataStructure = (options) => {
5363
5097
  };
5364
5098
  exports.investigationGetSectionDataStructure = investigationGetSectionDataStructure;
5365
5099
  const investigationGetSectionData = (options) => {
5366
- var _a;
5367
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5100
+ return (options.client ?? client_gen_1.client).post({
5368
5101
  security: [
5369
5102
  {
5370
5103
  scheme: 'bearer',
@@ -5381,8 +5114,7 @@ const investigationGetSectionData = (options) => {
5381
5114
  };
5382
5115
  exports.investigationGetSectionData = investigationGetSectionData;
5383
5116
  const investigationExportFlags = (options) => {
5384
- var _a;
5385
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5117
+ return (options.client ?? client_gen_1.client).get({
5386
5118
  security: [
5387
5119
  {
5388
5120
  scheme: 'bearer',
@@ -5395,8 +5127,7 @@ const investigationExportFlags = (options) => {
5395
5127
  };
5396
5128
  exports.investigationExportFlags = investigationExportFlags;
5397
5129
  const investigationCreateExportRequestForFlags = (options) => {
5398
- var _a;
5399
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5130
+ return (options.client ?? client_gen_1.client).post({
5400
5131
  security: [
5401
5132
  {
5402
5133
  scheme: 'bearer',
@@ -5413,8 +5144,7 @@ const investigationCreateExportRequestForFlags = (options) => {
5413
5144
  };
5414
5145
  exports.investigationCreateExportRequestForFlags = investigationCreateExportRequestForFlags;
5415
5146
  const investigationExportSectionData = (options) => {
5416
- var _a;
5417
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5147
+ return (options.client ?? client_gen_1.client).get({
5418
5148
  security: [
5419
5149
  {
5420
5150
  scheme: 'bearer',
@@ -5427,8 +5157,7 @@ const investigationExportSectionData = (options) => {
5427
5157
  };
5428
5158
  exports.investigationExportSectionData = investigationExportSectionData;
5429
5159
  const investigationCreateExportRequestForSectionData = (options) => {
5430
- var _a;
5431
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5160
+ return (options.client ?? client_gen_1.client).post({
5432
5161
  security: [
5433
5162
  {
5434
5163
  scheme: 'bearer',
@@ -5445,8 +5174,7 @@ const investigationCreateExportRequestForSectionData = (options) => {
5445
5174
  };
5446
5175
  exports.investigationCreateExportRequestForSectionData = investigationCreateExportRequestForSectionData;
5447
5176
  const investigationGetAssetsByInvestigationId = (options) => {
5448
- var _a;
5449
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5177
+ return (options.client ?? client_gen_1.client).get({
5450
5178
  security: [
5451
5179
  {
5452
5180
  scheme: 'bearer',
@@ -5459,8 +5187,7 @@ const investigationGetAssetsByInvestigationId = (options) => {
5459
5187
  };
5460
5188
  exports.investigationGetAssetsByInvestigationId = investigationGetAssetsByInvestigationId;
5461
5189
  const investigationGetSectionsByEndpoints = (options) => {
5462
- var _a;
5463
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5190
+ return (options.client ?? client_gen_1.client).post({
5464
5191
  security: [
5465
5192
  {
5466
5193
  scheme: 'bearer',
@@ -5477,8 +5204,7 @@ const investigationGetSectionsByEndpoints = (options) => {
5477
5204
  };
5478
5205
  exports.investigationGetSectionsByEndpoints = investigationGetSectionsByEndpoints;
5479
5206
  const investigationGetSummary = (options) => {
5480
- var _a;
5481
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5207
+ return (options.client ?? client_gen_1.client).post({
5482
5208
  security: [
5483
5209
  {
5484
5210
  scheme: 'bearer',
@@ -5486,13 +5212,16 @@ const investigationGetSummary = (options) => {
5486
5212
  }
5487
5213
  ],
5488
5214
  url: '/api/public/investigation-hub/investigations/{investigationId}/flags-summary',
5489
- ...options
5215
+ ...options,
5216
+ headers: {
5217
+ 'Content-Type': 'application/json',
5218
+ ...options.headers
5219
+ }
5490
5220
  });
5491
5221
  };
5492
5222
  exports.investigationGetSummary = investigationGetSummary;
5493
5223
  const investigationGetFindingDataStructure = (options) => {
5494
- var _a;
5495
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5224
+ return (options.client ?? client_gen_1.client).get({
5496
5225
  security: [
5497
5226
  {
5498
5227
  scheme: 'bearer',
@@ -5505,8 +5234,7 @@ const investigationGetFindingDataStructure = (options) => {
5505
5234
  };
5506
5235
  exports.investigationGetFindingDataStructure = investigationGetFindingDataStructure;
5507
5236
  const investigationFilterEndpointFindings = (options) => {
5508
- var _a;
5509
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5237
+ return (options.client ?? client_gen_1.client).post({
5510
5238
  security: [
5511
5239
  {
5512
5240
  scheme: 'bearer',
@@ -5523,8 +5251,7 @@ const investigationFilterEndpointFindings = (options) => {
5523
5251
  };
5524
5252
  exports.investigationFilterEndpointFindings = investigationFilterEndpointFindings;
5525
5253
  const investigationGetFindingsSummary = (options) => {
5526
- var _a;
5527
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5254
+ return (options.client ?? client_gen_1.client).post({
5528
5255
  security: [
5529
5256
  {
5530
5257
  scheme: 'bearer',
@@ -5541,8 +5268,7 @@ const investigationGetFindingsSummary = (options) => {
5541
5268
  };
5542
5269
  exports.investigationGetFindingsSummary = investigationGetFindingsSummary;
5543
5270
  const investigationGetMitreMatches = (options) => {
5544
- var _a;
5545
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5271
+ return (options.client ?? client_gen_1.client).post({
5546
5272
  security: [
5547
5273
  {
5548
5274
  scheme: 'bearer',
@@ -5559,8 +5285,7 @@ const investigationGetMitreMatches = (options) => {
5559
5285
  };
5560
5286
  exports.investigationGetMitreMatches = investigationGetMitreMatches;
5561
5287
  const investigationGlobalSearch = (options) => {
5562
- var _a;
5563
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5288
+ return (options.client ?? client_gen_1.client).post({
5564
5289
  security: [
5565
5290
  {
5566
5291
  scheme: 'bearer',
@@ -5577,8 +5302,7 @@ const investigationGlobalSearch = (options) => {
5577
5302
  };
5578
5303
  exports.investigationGlobalSearch = investigationGlobalSearch;
5579
5304
  const investigationEvidenceCounts = (options) => {
5580
- var _a;
5581
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5305
+ return (options.client ?? client_gen_1.client).post({
5582
5306
  security: [
5583
5307
  {
5584
5308
  scheme: 'bearer',
@@ -5595,8 +5319,7 @@ const investigationEvidenceCounts = (options) => {
5595
5319
  };
5596
5320
  exports.investigationEvidenceCounts = investigationEvidenceCounts;
5597
5321
  const investigationRemoveEvidenceFlag = (options) => {
5598
- var _a;
5599
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5322
+ return (options.client ?? client_gen_1.client).delete({
5600
5323
  security: [
5601
5324
  {
5602
5325
  scheme: 'bearer',
@@ -5613,8 +5336,7 @@ const investigationRemoveEvidenceFlag = (options) => {
5613
5336
  };
5614
5337
  exports.investigationRemoveEvidenceFlag = investigationRemoveEvidenceFlag;
5615
5338
  const investigationFlagEvidence = (options) => {
5616
- var _a;
5617
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5339
+ return (options.client ?? client_gen_1.client).post({
5618
5340
  security: [
5619
5341
  {
5620
5342
  scheme: 'bearer',
@@ -5631,8 +5353,7 @@ const investigationFlagEvidence = (options) => {
5631
5353
  };
5632
5354
  exports.investigationFlagEvidence = investigationFlagEvidence;
5633
5355
  const investigationUpdateEvidenceNote = (options) => {
5634
- var _a;
5635
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5356
+ return (options.client ?? client_gen_1.client).put({
5636
5357
  security: [
5637
5358
  {
5638
5359
  scheme: 'bearer',
@@ -5649,8 +5370,7 @@ const investigationUpdateEvidenceNote = (options) => {
5649
5370
  };
5650
5371
  exports.investigationUpdateEvidenceNote = investigationUpdateEvidenceNote;
5651
5372
  const investigationCreateSection = (options) => {
5652
- var _a;
5653
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5373
+ return (options.client ?? client_gen_1.client).post({
5654
5374
  security: [
5655
5375
  {
5656
5376
  scheme: 'bearer',
@@ -5667,8 +5387,7 @@ const investigationCreateSection = (options) => {
5667
5387
  };
5668
5388
  exports.investigationCreateSection = investigationCreateSection;
5669
5389
  const investigationUpdateSection = (options) => {
5670
- var _a;
5671
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5390
+ return (options.client ?? client_gen_1.client).post({
5672
5391
  security: [
5673
5392
  {
5674
5393
  scheme: 'bearer',
@@ -5685,8 +5404,7 @@ const investigationUpdateSection = (options) => {
5685
5404
  };
5686
5405
  exports.investigationUpdateSection = investigationUpdateSection;
5687
5406
  const investigationImportDataToSection = (options) => {
5688
- var _a;
5689
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5407
+ return (options.client ?? client_gen_1.client).post({
5690
5408
  security: [
5691
5409
  {
5692
5410
  scheme: 'bearer',
@@ -5703,8 +5421,7 @@ const investigationImportDataToSection = (options) => {
5703
5421
  };
5704
5422
  exports.investigationImportDataToSection = investigationImportDataToSection;
5705
5423
  const investigationGetAllImports = (options) => {
5706
- var _a;
5707
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5424
+ return (options.client ?? client_gen_1.client).post({
5708
5425
  security: [
5709
5426
  {
5710
5427
  scheme: 'bearer',
@@ -5721,8 +5438,7 @@ const investigationGetAllImports = (options) => {
5721
5438
  };
5722
5439
  exports.investigationGetAllImports = investigationGetAllImports;
5723
5440
  const investigationDeleteImport = (options) => {
5724
- var _a;
5725
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5441
+ return (options.client ?? client_gen_1.client).delete({
5726
5442
  security: [
5727
5443
  {
5728
5444
  scheme: 'bearer',
@@ -5735,8 +5451,7 @@ const investigationDeleteImport = (options) => {
5735
5451
  };
5736
5452
  exports.investigationDeleteImport = investigationDeleteImport;
5737
5453
  const investigationGetImportErrors = (options) => {
5738
- var _a;
5739
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5454
+ return (options.client ?? client_gen_1.client).post({
5740
5455
  security: [
5741
5456
  {
5742
5457
  scheme: 'bearer',
@@ -5753,8 +5468,7 @@ const investigationGetImportErrors = (options) => {
5753
5468
  };
5754
5469
  exports.investigationGetImportErrors = investigationGetImportErrors;
5755
5470
  const investigationImportPstEvidencesToInvestigation = (options) => {
5756
- var _a;
5757
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5471
+ return (options.client ?? client_gen_1.client).post({
5758
5472
  security: [
5759
5473
  {
5760
5474
  scheme: 'bearer',
@@ -5771,8 +5485,7 @@ const investigationImportPstEvidencesToInvestigation = (options) => {
5771
5485
  };
5772
5486
  exports.investigationImportPstEvidencesToInvestigation = investigationImportPstEvidencesToInvestigation;
5773
5487
  const investigationRetryImportTaskAssignment = (options) => {
5774
- var _a;
5775
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5488
+ return (options.client ?? client_gen_1.client).post({
5776
5489
  security: [
5777
5490
  {
5778
5491
  scheme: 'bearer',
@@ -5789,8 +5502,7 @@ const investigationRetryImportTaskAssignment = (options) => {
5789
5502
  };
5790
5503
  exports.investigationRetryImportTaskAssignment = investigationRetryImportTaskAssignment;
5791
5504
  const investigationMarkInvestigationEvidenceAsFinding = (options) => {
5792
- var _a;
5793
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5505
+ return (options.client ?? client_gen_1.client).post({
5794
5506
  security: [
5795
5507
  {
5796
5508
  scheme: 'bearer',
@@ -5807,8 +5519,7 @@ const investigationMarkInvestigationEvidenceAsFinding = (options) => {
5807
5519
  };
5808
5520
  exports.investigationMarkInvestigationEvidenceAsFinding = investigationMarkInvestigationEvidenceAsFinding;
5809
5521
  const investigationUpdateInvestigationFinding = (options) => {
5810
- var _a;
5811
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5522
+ return (options.client ?? client_gen_1.client).put({
5812
5523
  security: [
5813
5524
  {
5814
5525
  scheme: 'bearer',
@@ -5825,8 +5536,7 @@ const investigationUpdateInvestigationFinding = (options) => {
5825
5536
  };
5826
5537
  exports.investigationUpdateInvestigationFinding = investigationUpdateInvestigationFinding;
5827
5538
  const investigationGetInvestigationTaskAssignmentForImportedEvidence = (options) => {
5828
- var _a;
5829
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5539
+ return (options.client ?? client_gen_1.client).get({
5830
5540
  security: [
5831
5541
  {
5832
5542
  scheme: 'bearer',
@@ -5839,8 +5549,7 @@ const investigationGetInvestigationTaskAssignmentForImportedEvidence = (options)
5839
5549
  };
5840
5550
  exports.investigationGetInvestigationTaskAssignmentForImportedEvidence = investigationGetInvestigationTaskAssignmentForImportedEvidence;
5841
5551
  const investigationGetInvestigationTaskAssignmentDataImportProgress = (options) => {
5842
- var _a;
5843
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5552
+ return (options.client ?? client_gen_1.client).get({
5844
5553
  security: [
5845
5554
  {
5846
5555
  scheme: 'bearer',
@@ -5853,8 +5562,7 @@ const investigationGetInvestigationTaskAssignmentDataImportProgress = (options)
5853
5562
  };
5854
5563
  exports.investigationGetInvestigationTaskAssignmentDataImportProgress = investigationGetInvestigationTaskAssignmentDataImportProgress;
5855
5564
  const investigationGetInvestigationHubDataImportProgress = (options) => {
5856
- var _a;
5857
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5565
+ return (options.client ?? client_gen_1.client).get({
5858
5566
  security: [
5859
5567
  {
5860
5568
  scheme: 'bearer',
@@ -5867,8 +5575,7 @@ const investigationGetInvestigationHubDataImportProgress = (options) => {
5867
5575
  };
5868
5576
  exports.investigationGetInvestigationHubDataImportProgress = investigationGetInvestigationHubDataImportProgress;
5869
5577
  const investigationExportFindingsData = (options) => {
5870
- var _a;
5871
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5578
+ return (options.client ?? client_gen_1.client).get({
5872
5579
  security: [
5873
5580
  {
5874
5581
  scheme: 'bearer',
@@ -5881,8 +5588,7 @@ const investigationExportFindingsData = (options) => {
5881
5588
  };
5882
5589
  exports.investigationExportFindingsData = investigationExportFindingsData;
5883
5590
  const investigationCreateExportRequestForFindings = (options) => {
5884
- var _a;
5885
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5591
+ return (options.client ?? client_gen_1.client).post({
5886
5592
  security: [
5887
5593
  {
5888
5594
  scheme: 'bearer',
@@ -5899,8 +5605,7 @@ const investigationCreateExportRequestForFindings = (options) => {
5899
5605
  };
5900
5606
  exports.investigationCreateExportRequestForFindings = investigationCreateExportRequestForFindings;
5901
5607
  const investigationImportTornadoEvidenceToInvestigation = (options) => {
5902
- var _a;
5903
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5608
+ return (options.client ?? client_gen_1.client).post({
5904
5609
  security: [
5905
5610
  {
5906
5611
  scheme: 'bearer',
@@ -5917,8 +5622,7 @@ const investigationImportTornadoEvidenceToInvestigation = (options) => {
5917
5622
  };
5918
5623
  exports.investigationImportTornadoEvidenceToInvestigation = investigationImportTornadoEvidenceToInvestigation;
5919
5624
  const investigationImportTornadoEvidenceToInvestigation1 = (options) => {
5920
- var _a;
5921
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5625
+ return (options.client ?? client_gen_1.client).post({
5922
5626
  security: [
5923
5627
  {
5924
5628
  scheme: 'bearer',
@@ -5934,27 +5638,8 @@ const investigationImportTornadoEvidenceToInvestigation1 = (options) => {
5934
5638
  });
5935
5639
  };
5936
5640
  exports.investigationImportTornadoEvidenceToInvestigation1 = investigationImportTornadoEvidenceToInvestigation1;
5937
- const investigationExecuteSqlQueryOnInvestigation = (options) => {
5938
- var _a;
5939
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5940
- security: [
5941
- {
5942
- scheme: 'bearer',
5943
- type: 'http'
5944
- }
5945
- ],
5946
- url: '/api/public/investigation-hub/investigations/{investigationId}/execute-sql-query',
5947
- ...options,
5948
- headers: {
5949
- 'Content-Type': 'application/json',
5950
- ...options.headers
5951
- }
5952
- });
5953
- };
5954
- exports.investigationExecuteSqlQueryOnInvestigation = investigationExecuteSqlQueryOnInvestigation;
5955
5641
  const investigationExclusionAddFindingExclusionRule = (options) => {
5956
- var _a;
5957
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5642
+ return (options.client ?? client_gen_1.client).post({
5958
5643
  security: [
5959
5644
  {
5960
5645
  scheme: 'bearer',
@@ -5971,8 +5656,7 @@ const investigationExclusionAddFindingExclusionRule = (options) => {
5971
5656
  };
5972
5657
  exports.investigationExclusionAddFindingExclusionRule = investigationExclusionAddFindingExclusionRule;
5973
5658
  const investigationExclusionGetFindingExclusionRulesMatches = (options) => {
5974
- var _a;
5975
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5659
+ return (options.client ?? client_gen_1.client).post({
5976
5660
  security: [
5977
5661
  {
5978
5662
  scheme: 'bearer',
@@ -5989,8 +5673,7 @@ const investigationExclusionGetFindingExclusionRulesMatches = (options) => {
5989
5673
  };
5990
5674
  exports.investigationExclusionGetFindingExclusionRulesMatches = investigationExclusionGetFindingExclusionRulesMatches;
5991
5675
  const investigationExclusionDeleteFindingExclusionRule = (options) => {
5992
- var _a;
5993
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5676
+ return (options.client ?? client_gen_1.client).delete({
5994
5677
  security: [
5995
5678
  {
5996
5679
  scheme: 'bearer',
@@ -6007,8 +5690,7 @@ const investigationExclusionDeleteFindingExclusionRule = (options) => {
6007
5690
  };
6008
5691
  exports.investigationExclusionDeleteFindingExclusionRule = investigationExclusionDeleteFindingExclusionRule;
6009
5692
  const investigationExclusionFilterFindingExclusionRules = (options) => {
6010
- var _a;
6011
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5693
+ return (options.client ?? client_gen_1.client).post({
6012
5694
  security: [
6013
5695
  {
6014
5696
  scheme: 'bearer',
@@ -6025,8 +5707,7 @@ const investigationExclusionFilterFindingExclusionRules = (options) => {
6025
5707
  };
6026
5708
  exports.investigationExclusionFilterFindingExclusionRules = investigationExclusionFilterFindingExclusionRules;
6027
5709
  const investigationExclusionGetExclusionReasons = (options) => {
6028
- var _a;
6029
- 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({
6030
5711
  security: [
6031
5712
  {
6032
5713
  scheme: 'bearer',
@@ -6039,8 +5720,7 @@ const investigationExclusionGetExclusionReasons = (options) => {
6039
5720
  };
6040
5721
  exports.investigationExclusionGetExclusionReasons = investigationExclusionGetExclusionReasons;
6041
5722
  const investigationExclusionApplyFindingExclusionRuleForOrganization = (options) => {
6042
- var _a;
6043
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5723
+ return (options.client ?? client_gen_1.client).post({
6044
5724
  security: [
6045
5725
  {
6046
5726
  scheme: 'bearer',
@@ -6057,8 +5737,7 @@ const investigationExclusionApplyFindingExclusionRuleForOrganization = (options)
6057
5737
  };
6058
5738
  exports.investigationExclusionApplyFindingExclusionRuleForOrganization = investigationExclusionApplyFindingExclusionRuleForOrganization;
6059
5739
  const investigationExclusionApplyFindingExclusionRuleForAllAssets = (options) => {
6060
- var _a;
6061
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5740
+ return (options.client ?? client_gen_1.client).post({
6062
5741
  security: [
6063
5742
  {
6064
5743
  scheme: 'bearer',
@@ -6071,8 +5750,7 @@ const investigationExclusionApplyFindingExclusionRuleForAllAssets = (options) =>
6071
5750
  };
6072
5751
  exports.investigationExclusionApplyFindingExclusionRuleForAllAssets = investigationExclusionApplyFindingExclusionRuleForAllAssets;
6073
5752
  const investigationExclusionDeleteIndividualFindingExclusionRule = (options) => {
6074
- var _a;
6075
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5753
+ return (options.client ?? client_gen_1.client).delete({
6076
5754
  security: [
6077
5755
  {
6078
5756
  scheme: 'bearer',
@@ -6089,8 +5767,7 @@ const investigationExclusionDeleteIndividualFindingExclusionRule = (options) =>
6089
5767
  };
6090
5768
  exports.investigationExclusionDeleteIndividualFindingExclusionRule = investigationExclusionDeleteIndividualFindingExclusionRule;
6091
5769
  const investigationReportExportReports = (options) => {
6092
- var _a;
6093
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5770
+ return (options.client ?? client_gen_1.client).get({
6094
5771
  security: [
6095
5772
  {
6096
5773
  scheme: 'bearer',
@@ -6103,8 +5780,7 @@ const investigationReportExportReports = (options) => {
6103
5780
  };
6104
5781
  exports.investigationReportExportReports = investigationReportExportReports;
6105
5782
  const investigationReportFilterReports = (options) => {
6106
- var _a;
6107
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5783
+ return (options.client ?? client_gen_1.client).get({
6108
5784
  security: [
6109
5785
  {
6110
5786
  scheme: 'bearer',
@@ -6117,8 +5793,7 @@ const investigationReportFilterReports = (options) => {
6117
5793
  };
6118
5794
  exports.investigationReportFilterReports = investigationReportFilterReports;
6119
5795
  const investigationReportCreateReport = (options) => {
6120
- var _a;
6121
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5796
+ return (options.client ?? client_gen_1.client).post({
6122
5797
  security: [
6123
5798
  {
6124
5799
  scheme: 'bearer',
@@ -6135,8 +5810,7 @@ const investigationReportCreateReport = (options) => {
6135
5810
  };
6136
5811
  exports.investigationReportCreateReport = investigationReportCreateReport;
6137
5812
  const investigationReportDeleteReport = (options) => {
6138
- var _a;
6139
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5813
+ return (options.client ?? client_gen_1.client).delete({
6140
5814
  security: [
6141
5815
  {
6142
5816
  scheme: 'bearer',
@@ -6149,8 +5823,7 @@ const investigationReportDeleteReport = (options) => {
6149
5823
  };
6150
5824
  exports.investigationReportDeleteReport = investigationReportDeleteReport;
6151
5825
  const investigationReportGetReport = (options) => {
6152
- var _a;
6153
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5826
+ return (options.client ?? client_gen_1.client).get({
6154
5827
  security: [
6155
5828
  {
6156
5829
  scheme: 'bearer',
@@ -6163,8 +5836,7 @@ const investigationReportGetReport = (options) => {
6163
5836
  };
6164
5837
  exports.investigationReportGetReport = investigationReportGetReport;
6165
5838
  const investigationReportUpdateReport = (options) => {
6166
- var _a;
6167
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5839
+ return (options.client ?? client_gen_1.client).put({
6168
5840
  security: [
6169
5841
  {
6170
5842
  scheme: 'bearer',
@@ -6177,8 +5849,7 @@ const investigationReportUpdateReport = (options) => {
6177
5849
  };
6178
5850
  exports.investigationReportUpdateReport = investigationReportUpdateReport;
6179
5851
  const investigationReportGeneratePdfReport = (options) => {
6180
- var _a;
6181
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5852
+ return (options.client ?? client_gen_1.client).post({
6182
5853
  security: [
6183
5854
  {
6184
5855
  scheme: 'bearer',
@@ -6195,8 +5866,7 @@ const investigationReportGeneratePdfReport = (options) => {
6195
5866
  };
6196
5867
  exports.investigationReportGeneratePdfReport = investigationReportGeneratePdfReport;
6197
5868
  const investigationReportDownloadPdfReport = (options) => {
6198
- var _a;
6199
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5869
+ return (options.client ?? client_gen_1.client).get({
6200
5870
  security: [
6201
5871
  {
6202
5872
  scheme: 'bearer',
@@ -6209,8 +5879,7 @@ const investigationReportDownloadPdfReport = (options) => {
6209
5879
  };
6210
5880
  exports.investigationReportDownloadPdfReport = investigationReportDownloadPdfReport;
6211
5881
  const investigationFlagFilterFlags = (options) => {
6212
- var _a;
6213
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5882
+ return (options.client ?? client_gen_1.client).post({
6214
5883
  security: [
6215
5884
  {
6216
5885
  scheme: 'bearer',
@@ -6227,8 +5896,7 @@ const investigationFlagFilterFlags = (options) => {
6227
5896
  };
6228
5897
  exports.investigationFlagFilterFlags = investigationFlagFilterFlags;
6229
5898
  const investigationFlagCreateFlag = (options) => {
6230
- var _a;
6231
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5899
+ return (options.client ?? client_gen_1.client).post({
6232
5900
  security: [
6233
5901
  {
6234
5902
  scheme: 'bearer',
@@ -6245,8 +5913,7 @@ const investigationFlagCreateFlag = (options) => {
6245
5913
  };
6246
5914
  exports.investigationFlagCreateFlag = investigationFlagCreateFlag;
6247
5915
  const investigationFlagDeleteFlag = (options) => {
6248
- var _a;
6249
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
5916
+ return (options.client ?? client_gen_1.client).delete({
6250
5917
  security: [
6251
5918
  {
6252
5919
  scheme: 'bearer',
@@ -6259,8 +5926,7 @@ const investigationFlagDeleteFlag = (options) => {
6259
5926
  };
6260
5927
  exports.investigationFlagDeleteFlag = investigationFlagDeleteFlag;
6261
5928
  const investigationFlagUpdateFlag = (options) => {
6262
- var _a;
6263
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
5929
+ return (options.client ?? client_gen_1.client).put({
6264
5930
  security: [
6265
5931
  {
6266
5932
  scheme: 'bearer',
@@ -6277,8 +5943,7 @@ const investigationFlagUpdateFlag = (options) => {
6277
5943
  };
6278
5944
  exports.investigationFlagUpdateFlag = investigationFlagUpdateFlag;
6279
5945
  const investigationActivityFilter = (options) => {
6280
- var _a;
6281
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5946
+ return (options.client ?? client_gen_1.client).get({
6282
5947
  security: [
6283
5948
  {
6284
5949
  scheme: 'bearer',
@@ -6291,8 +5956,7 @@ const investigationActivityFilter = (options) => {
6291
5956
  };
6292
5957
  exports.investigationActivityFilter = investigationActivityFilter;
6293
5958
  const investigationActivityMarkAsRead = (options) => {
6294
- var _a;
6295
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5959
+ return (options.client ?? client_gen_1.client).post({
6296
5960
  security: [
6297
5961
  {
6298
5962
  scheme: 'bearer',
@@ -6309,8 +5973,7 @@ const investigationActivityMarkAsRead = (options) => {
6309
5973
  };
6310
5974
  exports.investigationActivityMarkAsRead = investigationActivityMarkAsRead;
6311
5975
  const investigationCommentFilterComments = (options) => {
6312
- var _a;
6313
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
5976
+ return (options.client ?? client_gen_1.client).get({
6314
5977
  security: [
6315
5978
  {
6316
5979
  scheme: 'bearer',
@@ -6323,8 +5986,7 @@ const investigationCommentFilterComments = (options) => {
6323
5986
  };
6324
5987
  exports.investigationCommentFilterComments = investigationCommentFilterComments;
6325
5988
  const investigationCommentCommentEvidence = (options) => {
6326
- var _a;
6327
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
5989
+ return (options.client ?? client_gen_1.client).post({
6328
5990
  security: [
6329
5991
  {
6330
5992
  scheme: 'bearer',
@@ -6341,8 +6003,7 @@ const investigationCommentCommentEvidence = (options) => {
6341
6003
  };
6342
6004
  exports.investigationCommentCommentEvidence = investigationCommentCommentEvidence;
6343
6005
  const investigationCommentDeleteComment = (options) => {
6344
- var _a;
6345
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6006
+ return (options.client ?? client_gen_1.client).delete({
6346
6007
  security: [
6347
6008
  {
6348
6009
  scheme: 'bearer',
@@ -6355,8 +6016,7 @@ const investigationCommentDeleteComment = (options) => {
6355
6016
  };
6356
6017
  exports.investigationCommentDeleteComment = investigationCommentDeleteComment;
6357
6018
  const investigationAdvancedFilterGetFilters = (options) => {
6358
- var _a;
6359
- 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({
6360
6020
  security: [
6361
6021
  {
6362
6022
  scheme: 'bearer',
@@ -6369,8 +6029,7 @@ const investigationAdvancedFilterGetFilters = (options) => {
6369
6029
  };
6370
6030
  exports.investigationAdvancedFilterGetFilters = investigationAdvancedFilterGetFilters;
6371
6031
  const investigationAdvancedFilterCreateFilter = (options) => {
6372
- var _a;
6373
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6032
+ return (options.client ?? client_gen_1.client).post({
6374
6033
  security: [
6375
6034
  {
6376
6035
  scheme: 'bearer',
@@ -6387,8 +6046,7 @@ const investigationAdvancedFilterCreateFilter = (options) => {
6387
6046
  };
6388
6047
  exports.investigationAdvancedFilterCreateFilter = investigationAdvancedFilterCreateFilter;
6389
6048
  const investigationAdvancedFilterDeleteFilter = (options) => {
6390
- var _a;
6391
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6049
+ return (options.client ?? client_gen_1.client).delete({
6392
6050
  security: [
6393
6051
  {
6394
6052
  scheme: 'bearer',
@@ -6401,8 +6059,7 @@ const investigationAdvancedFilterDeleteFilter = (options) => {
6401
6059
  };
6402
6060
  exports.investigationAdvancedFilterDeleteFilter = investigationAdvancedFilterDeleteFilter;
6403
6061
  const investigationAdvancedFilterUpdateFilter = (options) => {
6404
- var _a;
6405
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6062
+ return (options.client ?? client_gen_1.client).put({
6406
6063
  security: [
6407
6064
  {
6408
6065
  scheme: 'bearer',
@@ -6419,8 +6076,7 @@ const investigationAdvancedFilterUpdateFilter = (options) => {
6419
6076
  };
6420
6077
  exports.investigationAdvancedFilterUpdateFilter = investigationAdvancedFilterUpdateFilter;
6421
6078
  const investigationTimelineGetTimelineEventCountByAdvancedFilter = (options) => {
6422
- var _a;
6423
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6079
+ return (options.client ?? client_gen_1.client).post({
6424
6080
  security: [
6425
6081
  {
6426
6082
  scheme: 'bearer',
@@ -6437,8 +6093,7 @@ const investigationTimelineGetTimelineEventCountByAdvancedFilter = (options) =>
6437
6093
  };
6438
6094
  exports.investigationTimelineGetTimelineEventCountByAdvancedFilter = investigationTimelineGetTimelineEventCountByAdvancedFilter;
6439
6095
  const investigationTimelineFilterTimelineEvents = (options) => {
6440
- var _a;
6441
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6096
+ return (options.client ?? client_gen_1.client).post({
6442
6097
  security: [
6443
6098
  {
6444
6099
  scheme: 'bearer',
@@ -6455,8 +6110,7 @@ const investigationTimelineFilterTimelineEvents = (options) => {
6455
6110
  };
6456
6111
  exports.investigationTimelineFilterTimelineEvents = investigationTimelineFilterTimelineEvents;
6457
6112
  const investigationTimelineGetTimelineStructure = (options) => {
6458
- var _a;
6459
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6113
+ return (options.client ?? client_gen_1.client).get({
6460
6114
  security: [
6461
6115
  {
6462
6116
  scheme: 'bearer',
@@ -6469,8 +6123,7 @@ const investigationTimelineGetTimelineStructure = (options) => {
6469
6123
  };
6470
6124
  exports.investigationTimelineGetTimelineStructure = investigationTimelineGetTimelineStructure;
6471
6125
  const investigationTimelineGetTotalTimelineCount = (options) => {
6472
- var _a;
6473
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6126
+ return (options.client ?? client_gen_1.client).get({
6474
6127
  security: [
6475
6128
  {
6476
6129
  scheme: 'bearer',
@@ -6487,8 +6140,7 @@ const investigationTimelineGetTotalTimelineCount = (options) => {
6487
6140
  };
6488
6141
  exports.investigationTimelineGetTotalTimelineCount = investigationTimelineGetTotalTimelineCount;
6489
6142
  const investigationTimelineExportTimelineData = (options) => {
6490
- var _a;
6491
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6143
+ return (options.client ?? client_gen_1.client).get({
6492
6144
  security: [
6493
6145
  {
6494
6146
  scheme: 'bearer',
@@ -6501,8 +6153,7 @@ const investigationTimelineExportTimelineData = (options) => {
6501
6153
  };
6502
6154
  exports.investigationTimelineExportTimelineData = investigationTimelineExportTimelineData;
6503
6155
  const investigationTimelineCreateExportRequestForTimeline = (options) => {
6504
- var _a;
6505
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6156
+ return (options.client ?? client_gen_1.client).post({
6506
6157
  security: [
6507
6158
  {
6508
6159
  scheme: 'bearer',
@@ -6519,8 +6170,7 @@ const investigationTimelineCreateExportRequestForTimeline = (options) => {
6519
6170
  };
6520
6171
  exports.investigationTimelineCreateExportRequestForTimeline = investigationTimelineCreateExportRequestForTimeline;
6521
6172
  const relayServerUpdateTags = (options) => {
6522
- var _a;
6523
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6173
+ return (options.client ?? client_gen_1.client).patch({
6524
6174
  security: [
6525
6175
  {
6526
6176
  scheme: 'bearer',
@@ -6537,8 +6187,7 @@ const relayServerUpdateTags = (options) => {
6537
6187
  };
6538
6188
  exports.relayServerUpdateTags = relayServerUpdateTags;
6539
6189
  const relayServerUpdateLabel = (options) => {
6540
- var _a;
6541
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6190
+ return (options.client ?? client_gen_1.client).patch({
6542
6191
  security: [
6543
6192
  {
6544
6193
  scheme: 'bearer',
@@ -6555,8 +6204,7 @@ const relayServerUpdateLabel = (options) => {
6555
6204
  };
6556
6205
  exports.relayServerUpdateLabel = relayServerUpdateLabel;
6557
6206
  const relayServerGetById = (options) => {
6558
- var _a;
6559
- 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({
6560
6208
  security: [
6561
6209
  {
6562
6210
  scheme: 'bearer',
@@ -6569,8 +6217,7 @@ const relayServerGetById = (options) => {
6569
6217
  };
6570
6218
  exports.relayServerGetById = relayServerGetById;
6571
6219
  const relayServerFilter = (options) => {
6572
- var _a;
6573
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6220
+ return (options.client ?? client_gen_1.client).get({
6574
6221
  security: [
6575
6222
  {
6576
6223
  scheme: 'bearer',
@@ -6583,8 +6230,7 @@ const relayServerFilter = (options) => {
6583
6230
  };
6584
6231
  exports.relayServerFilter = relayServerFilter;
6585
6232
  const relayServerAssignRebootTask = (options) => {
6586
- var _a;
6587
- 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({
6588
6234
  security: [
6589
6235
  {
6590
6236
  scheme: 'bearer',
@@ -6597,8 +6243,7 @@ const relayServerAssignRebootTask = (options) => {
6597
6243
  };
6598
6244
  exports.relayServerAssignRebootTask = relayServerAssignRebootTask;
6599
6245
  const relayServerAssignRetrieveLogTask = (options) => {
6600
- var _a;
6601
- 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({
6602
6247
  security: [
6603
6248
  {
6604
6249
  scheme: 'bearer',
@@ -6611,8 +6256,7 @@ const relayServerAssignRetrieveLogTask = (options) => {
6611
6256
  };
6612
6257
  exports.relayServerAssignRetrieveLogTask = relayServerAssignRetrieveLogTask;
6613
6258
  const relayServerAssignFixUpdateRequiredIssueTask = (options) => {
6614
- var _a;
6615
- 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({
6616
6260
  security: [
6617
6261
  {
6618
6262
  scheme: 'bearer',
@@ -6625,8 +6269,7 @@ const relayServerAssignFixUpdateRequiredIssueTask = (options) => {
6625
6269
  };
6626
6270
  exports.relayServerAssignFixUpdateRequiredIssueTask = relayServerAssignFixUpdateRequiredIssueTask;
6627
6271
  const relayServerRemoveRelayServer = (options) => {
6628
- var _a;
6629
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6272
+ return (options.client ?? client_gen_1.client).delete({
6630
6273
  security: [
6631
6274
  {
6632
6275
  scheme: 'bearer',
@@ -6643,8 +6286,7 @@ const relayServerRemoveRelayServer = (options) => {
6643
6286
  };
6644
6287
  exports.relayServerRemoveRelayServer = relayServerRemoveRelayServer;
6645
6288
  const relayServerUpdateAddress = (options) => {
6646
- var _a;
6647
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6289
+ return (options.client ?? client_gen_1.client).patch({
6648
6290
  security: [
6649
6291
  {
6650
6292
  scheme: 'bearer',
@@ -6661,8 +6303,7 @@ const relayServerUpdateAddress = (options) => {
6661
6303
  };
6662
6304
  exports.relayServerUpdateAddress = relayServerUpdateAddress;
6663
6305
  const relayProRemove = (options) => {
6664
- var _a;
6665
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6306
+ return (options.client ?? client_gen_1.client).delete({
6666
6307
  security: [
6667
6308
  {
6668
6309
  scheme: 'bearer',
@@ -6679,8 +6320,7 @@ const relayProRemove = (options) => {
6679
6320
  };
6680
6321
  exports.relayProRemove = relayProRemove;
6681
6322
  const relayProUpdateRelayUrl = (options) => {
6682
- var _a;
6683
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6323
+ return (options.client ?? client_gen_1.client).patch({
6684
6324
  security: [
6685
6325
  {
6686
6326
  scheme: 'bearer',
@@ -6697,8 +6337,7 @@ const relayProUpdateRelayUrl = (options) => {
6697
6337
  };
6698
6338
  exports.relayProUpdateRelayUrl = relayProUpdateRelayUrl;
6699
6339
  const recentActivityFilter = (options) => {
6700
- var _a;
6701
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6340
+ return (options.client ?? client_gen_1.client).get({
6702
6341
  security: [
6703
6342
  {
6704
6343
  scheme: 'bearer',
@@ -6711,8 +6350,7 @@ const recentActivityFilter = (options) => {
6711
6350
  };
6712
6351
  exports.recentActivityFilter = recentActivityFilter;
6713
6352
  const recentActivityCreate = (options) => {
6714
- var _a;
6715
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6353
+ return (options.client ?? client_gen_1.client).post({
6716
6354
  security: [
6717
6355
  {
6718
6356
  scheme: 'bearer',
@@ -6729,8 +6367,7 @@ const recentActivityCreate = (options) => {
6729
6367
  };
6730
6368
  exports.recentActivityCreate = recentActivityCreate;
6731
6369
  const processorGetProcessorsByAssetType = (options) => {
6732
- var _a;
6733
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6370
+ return (options.client ?? client_gen_1.client).get({
6734
6371
  security: [
6735
6372
  {
6736
6373
  scheme: 'bearer',
@@ -6743,8 +6380,7 @@ const processorGetProcessorsByAssetType = (options) => {
6743
6380
  };
6744
6381
  exports.processorGetProcessorsByAssetType = processorGetProcessorsByAssetType;
6745
6382
  const processorGetProcessorTypeByAssetType = (options) => {
6746
- var _a;
6747
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6383
+ return (options.client ?? client_gen_1.client).get({
6748
6384
  security: [
6749
6385
  {
6750
6386
  scheme: 'bearer',
@@ -6757,8 +6393,7 @@ const processorGetProcessorTypeByAssetType = (options) => {
6757
6393
  };
6758
6394
  exports.processorGetProcessorTypeByAssetType = processorGetProcessorTypeByAssetType;
6759
6395
  const webhookFilterParsers = (options) => {
6760
- var _a;
6761
- 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({
6762
6397
  security: [
6763
6398
  {
6764
6399
  scheme: 'bearer',
@@ -6771,8 +6406,7 @@ const webhookFilterParsers = (options) => {
6771
6406
  };
6772
6407
  exports.webhookFilterParsers = webhookFilterParsers;
6773
6408
  const webhookFilter = (options) => {
6774
- var _a;
6775
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6409
+ return (options.client ?? client_gen_1.client).get({
6776
6410
  security: [
6777
6411
  {
6778
6412
  scheme: 'bearer',
@@ -6785,8 +6419,7 @@ const webhookFilter = (options) => {
6785
6419
  };
6786
6420
  exports.webhookFilter = webhookFilter;
6787
6421
  const webhookCreate = (options) => {
6788
- var _a;
6789
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6422
+ return (options.client ?? client_gen_1.client).post({
6790
6423
  security: [
6791
6424
  {
6792
6425
  scheme: 'bearer',
@@ -6803,8 +6436,7 @@ const webhookCreate = (options) => {
6803
6436
  };
6804
6437
  exports.webhookCreate = webhookCreate;
6805
6438
  const webhookDelete = (options) => {
6806
- var _a;
6807
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6439
+ return (options.client ?? client_gen_1.client).delete({
6808
6440
  security: [
6809
6441
  {
6810
6442
  scheme: 'bearer',
@@ -6817,8 +6449,7 @@ const webhookDelete = (options) => {
6817
6449
  };
6818
6450
  exports.webhookDelete = webhookDelete;
6819
6451
  const webhookGet = (options) => {
6820
- var _a;
6821
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6452
+ return (options.client ?? client_gen_1.client).get({
6822
6453
  security: [
6823
6454
  {
6824
6455
  scheme: 'bearer',
@@ -6831,8 +6462,7 @@ const webhookGet = (options) => {
6831
6462
  };
6832
6463
  exports.webhookGet = webhookGet;
6833
6464
  const webhookUpdate = (options) => {
6834
- var _a;
6835
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6465
+ return (options.client ?? client_gen_1.client).put({
6836
6466
  security: [
6837
6467
  {
6838
6468
  scheme: 'bearer',
@@ -6849,8 +6479,7 @@ const webhookUpdate = (options) => {
6849
6479
  };
6850
6480
  exports.webhookUpdate = webhookUpdate;
6851
6481
  const eventSubscriptionFilterEventSubscriptions = (options) => {
6852
- var _a;
6853
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6482
+ return (options.client ?? client_gen_1.client).get({
6854
6483
  security: [
6855
6484
  {
6856
6485
  scheme: 'bearer',
@@ -6863,8 +6492,7 @@ const eventSubscriptionFilterEventSubscriptions = (options) => {
6863
6492
  };
6864
6493
  exports.eventSubscriptionFilterEventSubscriptions = eventSubscriptionFilterEventSubscriptions;
6865
6494
  const eventSubscriptionCreateEventSubscription = (options) => {
6866
- var _a;
6867
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6495
+ return (options.client ?? client_gen_1.client).post({
6868
6496
  security: [
6869
6497
  {
6870
6498
  scheme: 'bearer',
@@ -6881,8 +6509,7 @@ const eventSubscriptionCreateEventSubscription = (options) => {
6881
6509
  };
6882
6510
  exports.eventSubscriptionCreateEventSubscription = eventSubscriptionCreateEventSubscription;
6883
6511
  const eventSubscriptionDeleteEventSubscription = (options) => {
6884
- var _a;
6885
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6512
+ return (options.client ?? client_gen_1.client).delete({
6886
6513
  security: [
6887
6514
  {
6888
6515
  scheme: 'bearer',
@@ -6895,8 +6522,7 @@ const eventSubscriptionDeleteEventSubscription = (options) => {
6895
6522
  };
6896
6523
  exports.eventSubscriptionDeleteEventSubscription = eventSubscriptionDeleteEventSubscription;
6897
6524
  const eventSubscriptionGetEventSubscription = (options) => {
6898
- var _a;
6899
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6525
+ return (options.client ?? client_gen_1.client).get({
6900
6526
  security: [
6901
6527
  {
6902
6528
  scheme: 'bearer',
@@ -6909,8 +6535,7 @@ const eventSubscriptionGetEventSubscription = (options) => {
6909
6535
  };
6910
6536
  exports.eventSubscriptionGetEventSubscription = eventSubscriptionGetEventSubscription;
6911
6537
  const eventSubscriptionUpdateEventSubscription = (options) => {
6912
- var _a;
6913
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6538
+ return (options.client ?? client_gen_1.client).put({
6914
6539
  security: [
6915
6540
  {
6916
6541
  scheme: 'bearer',
@@ -6927,8 +6552,7 @@ const eventSubscriptionUpdateEventSubscription = (options) => {
6927
6552
  };
6928
6553
  exports.eventSubscriptionUpdateEventSubscription = eventSubscriptionUpdateEventSubscription;
6929
6554
  const eventSubscriptionSubscriptionEventNames = (options) => {
6930
- var _a;
6931
- 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({
6932
6556
  security: [
6933
6557
  {
6934
6558
  scheme: 'bearer',
@@ -6941,8 +6565,7 @@ const eventSubscriptionSubscriptionEventNames = (options) => {
6941
6565
  };
6942
6566
  exports.eventSubscriptionSubscriptionEventNames = eventSubscriptionSubscriptionEventNames;
6943
6567
  const eventSubscriptionTestEventSubscription = (options) => {
6944
- var _a;
6945
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6568
+ return (options.client ?? client_gen_1.client).post({
6946
6569
  security: [
6947
6570
  {
6948
6571
  scheme: 'bearer',
@@ -6959,8 +6582,7 @@ const eventSubscriptionTestEventSubscription = (options) => {
6959
6582
  };
6960
6583
  exports.eventSubscriptionTestEventSubscription = eventSubscriptionTestEventSubscription;
6961
6584
  const investigationDataUsageGetActualDataUsages = (options) => {
6962
- var _a;
6963
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6585
+ return (options.client ?? client_gen_1.client).post({
6964
6586
  security: [
6965
6587
  {
6966
6588
  scheme: 'bearer',
@@ -6977,8 +6599,7 @@ const investigationDataUsageGetActualDataUsages = (options) => {
6977
6599
  };
6978
6600
  exports.investigationDataUsageGetActualDataUsages = investigationDataUsageGetActualDataUsages;
6979
6601
  const investigationDataUsageExportActualDataUsages = (options) => {
6980
- var _a;
6981
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6602
+ return (options.client ?? client_gen_1.client).get({
6982
6603
  security: [
6983
6604
  {
6984
6605
  scheme: 'bearer',
@@ -6991,8 +6612,7 @@ const investigationDataUsageExportActualDataUsages = (options) => {
6991
6612
  };
6992
6613
  exports.investigationDataUsageExportActualDataUsages = investigationDataUsageExportActualDataUsages;
6993
6614
  const investigationDataUsageCreateExportRequestForActualDataUsages = (options) => {
6994
- var _a;
6995
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6615
+ return (options.client ?? client_gen_1.client).post({
6996
6616
  security: [
6997
6617
  {
6998
6618
  scheme: 'bearer',
@@ -7009,8 +6629,7 @@ const investigationDataUsageCreateExportRequestForActualDataUsages = (options) =
7009
6629
  };
7010
6630
  exports.investigationDataUsageCreateExportRequestForActualDataUsages = investigationDataUsageCreateExportRequestForActualDataUsages;
7011
6631
  const investigationDataUsageGetActualDataUsageStatistics = (options) => {
7012
- var _a;
7013
- 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({
7014
6633
  security: [
7015
6634
  {
7016
6635
  scheme: 'bearer',
@@ -7023,8 +6642,7 @@ const investigationDataUsageGetActualDataUsageStatistics = (options) => {
7023
6642
  };
7024
6643
  exports.investigationDataUsageGetActualDataUsageStatistics = investigationDataUsageGetActualDataUsageStatistics;
7025
6644
  const investigationDataUsageGetHistoricalDataUsageStatistics = (options) => {
7026
- var _a;
7027
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6645
+ return (options.client ?? client_gen_1.client).post({
7028
6646
  security: [
7029
6647
  {
7030
6648
  scheme: 'bearer',
@@ -7041,8 +6659,7 @@ const investigationDataUsageGetHistoricalDataUsageStatistics = (options) => {
7041
6659
  };
7042
6660
  exports.investigationDataUsageGetHistoricalDataUsageStatistics = investigationDataUsageGetHistoricalDataUsageStatistics;
7043
6661
  const investigationDataUsageGetDataUsageFilters = (options) => {
7044
- var _a;
7045
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6662
+ return (options.client ?? client_gen_1.client).get({
7046
6663
  security: [
7047
6664
  {
7048
6665
  scheme: 'bearer',
@@ -7055,8 +6672,7 @@ const investigationDataUsageGetDataUsageFilters = (options) => {
7055
6672
  };
7056
6673
  exports.investigationDataUsageGetDataUsageFilters = investigationDataUsageGetDataUsageFilters;
7057
6674
  const investigationDataUsageGetFilters = (options) => {
7058
- var _a;
7059
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6675
+ return (options.client ?? client_gen_1.client).post({
7060
6676
  security: [
7061
6677
  {
7062
6678
  scheme: 'bearer',
@@ -7073,8 +6689,7 @@ const investigationDataUsageGetFilters = (options) => {
7073
6689
  };
7074
6690
  exports.investigationDataUsageGetFilters = investigationDataUsageGetFilters;
7075
6691
  const investigationDataUsageDeleteFilter = (options) => {
7076
- var _a;
7077
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6692
+ return (options.client ?? client_gen_1.client).delete({
7078
6693
  security: [
7079
6694
  {
7080
6695
  scheme: 'bearer',
@@ -7087,8 +6702,7 @@ const investigationDataUsageDeleteFilter = (options) => {
7087
6702
  };
7088
6703
  exports.investigationDataUsageDeleteFilter = investigationDataUsageDeleteFilter;
7089
6704
  const investigationDataUsageGetFilter = (options) => {
7090
- var _a;
7091
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6705
+ return (options.client ?? client_gen_1.client).get({
7092
6706
  security: [
7093
6707
  {
7094
6708
  scheme: 'bearer',
@@ -7101,8 +6715,7 @@ const investigationDataUsageGetFilter = (options) => {
7101
6715
  };
7102
6716
  exports.investigationDataUsageGetFilter = investigationDataUsageGetFilter;
7103
6717
  const investigationDataUsageUpdateFilter = (options) => {
7104
- var _a;
7105
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6718
+ return (options.client ?? client_gen_1.client).put({
7106
6719
  security: [
7107
6720
  {
7108
6721
  scheme: 'bearer',
@@ -7119,8 +6732,7 @@ const investigationDataUsageUpdateFilter = (options) => {
7119
6732
  };
7120
6733
  exports.investigationDataUsageUpdateFilter = investigationDataUsageUpdateFilter;
7121
6734
  const investigationDataUsageCreateFilter = (options) => {
7122
- var _a;
7123
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6735
+ return (options.client ?? client_gen_1.client).post({
7124
6736
  security: [
7125
6737
  {
7126
6738
  scheme: 'bearer',
@@ -7137,8 +6749,7 @@ const investigationDataUsageCreateFilter = (options) => {
7137
6749
  };
7138
6750
  exports.investigationDataUsageCreateFilter = investigationDataUsageCreateFilter;
7139
6751
  const presetFilterGetPresetFilters = (options) => {
7140
- var _a;
7141
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6752
+ return (options.client ?? client_gen_1.client).get({
7142
6753
  security: [
7143
6754
  {
7144
6755
  scheme: 'bearer',
@@ -7151,8 +6762,7 @@ const presetFilterGetPresetFilters = (options) => {
7151
6762
  };
7152
6763
  exports.presetFilterGetPresetFilters = presetFilterGetPresetFilters;
7153
6764
  const presetFilterCreatePresetFilter = (options) => {
7154
- var _a;
7155
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6765
+ return (options.client ?? client_gen_1.client).post({
7156
6766
  security: [
7157
6767
  {
7158
6768
  scheme: 'bearer',
@@ -7169,8 +6779,7 @@ const presetFilterCreatePresetFilter = (options) => {
7169
6779
  };
7170
6780
  exports.presetFilterCreatePresetFilter = presetFilterCreatePresetFilter;
7171
6781
  const presetFilterDeletePresetFilter = (options) => {
7172
- var _a;
7173
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6782
+ return (options.client ?? client_gen_1.client).delete({
7174
6783
  security: [
7175
6784
  {
7176
6785
  scheme: 'bearer',
@@ -7183,8 +6792,7 @@ const presetFilterDeletePresetFilter = (options) => {
7183
6792
  };
7184
6793
  exports.presetFilterDeletePresetFilter = presetFilterDeletePresetFilter;
7185
6794
  const presetFilterUpdatePresetFilter = (options) => {
7186
- var _a;
7187
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6795
+ return (options.client ?? client_gen_1.client).put({
7188
6796
  security: [
7189
6797
  {
7190
6798
  scheme: 'bearer',
@@ -7201,8 +6809,7 @@ const presetFilterUpdatePresetFilter = (options) => {
7201
6809
  };
7202
6810
  exports.presetFilterUpdatePresetFilter = presetFilterUpdatePresetFilter;
7203
6811
  const automationHubGetExecutionHistory = (options) => {
7204
- var _a;
7205
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6812
+ return (options.client ?? client_gen_1.client).get({
7206
6813
  security: [
7207
6814
  {
7208
6815
  scheme: 'bearer',
@@ -7215,8 +6822,7 @@ const automationHubGetExecutionHistory = (options) => {
7215
6822
  };
7216
6823
  exports.automationHubGetExecutionHistory = automationHubGetExecutionHistory;
7217
6824
  const automationHubFilterAutomations = (options) => {
7218
- var _a;
7219
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6825
+ return (options.client ?? client_gen_1.client).get({
7220
6826
  security: [
7221
6827
  {
7222
6828
  scheme: 'bearer',
@@ -7229,8 +6835,7 @@ const automationHubFilterAutomations = (options) => {
7229
6835
  };
7230
6836
  exports.automationHubFilterAutomations = automationHubFilterAutomations;
7231
6837
  const automationHubCreateAutomation = (options) => {
7232
- var _a;
7233
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6838
+ return (options.client ?? client_gen_1.client).post({
7234
6839
  security: [
7235
6840
  {
7236
6841
  scheme: 'bearer',
@@ -7247,8 +6852,7 @@ const automationHubCreateAutomation = (options) => {
7247
6852
  };
7248
6853
  exports.automationHubCreateAutomation = automationHubCreateAutomation;
7249
6854
  const automationHubGetActionTypes = (options) => {
7250
- var _a;
7251
- 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({
7252
6856
  security: [
7253
6857
  {
7254
6858
  scheme: 'bearer',
@@ -7261,8 +6865,7 @@ const automationHubGetActionTypes = (options) => {
7261
6865
  };
7262
6866
  exports.automationHubGetActionTypes = automationHubGetActionTypes;
7263
6867
  const automationHubGetTriggerTypes = (options) => {
7264
- var _a;
7265
- 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({
7266
6869
  security: [
7267
6870
  {
7268
6871
  scheme: 'bearer',
@@ -7275,8 +6878,7 @@ const automationHubGetTriggerTypes = (options) => {
7275
6878
  };
7276
6879
  exports.automationHubGetTriggerTypes = automationHubGetTriggerTypes;
7277
6880
  const automationHubGetTags = (options) => {
7278
- var _a;
7279
- 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({
7280
6882
  security: [
7281
6883
  {
7282
6884
  scheme: 'bearer',
@@ -7289,8 +6891,7 @@ const automationHubGetTags = (options) => {
7289
6891
  };
7290
6892
  exports.automationHubGetTags = automationHubGetTags;
7291
6893
  const automationHubDeleteAutomation = (options) => {
7292
- var _a;
7293
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).delete({
6894
+ return (options.client ?? client_gen_1.client).delete({
7294
6895
  security: [
7295
6896
  {
7296
6897
  scheme: 'bearer',
@@ -7303,8 +6904,7 @@ const automationHubDeleteAutomation = (options) => {
7303
6904
  };
7304
6905
  exports.automationHubDeleteAutomation = automationHubDeleteAutomation;
7305
6906
  const automationHubGetAutomation = (options) => {
7306
- var _a;
7307
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6907
+ return (options.client ?? client_gen_1.client).get({
7308
6908
  security: [
7309
6909
  {
7310
6910
  scheme: 'bearer',
@@ -7317,8 +6917,7 @@ const automationHubGetAutomation = (options) => {
7317
6917
  };
7318
6918
  exports.automationHubGetAutomation = automationHubGetAutomation;
7319
6919
  const automationHubUpdateAutomation = (options) => {
7320
- var _a;
7321
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
6920
+ return (options.client ?? client_gen_1.client).put({
7322
6921
  security: [
7323
6922
  {
7324
6923
  scheme: 'bearer',
@@ -7335,8 +6934,7 @@ const automationHubUpdateAutomation = (options) => {
7335
6934
  };
7336
6935
  exports.automationHubUpdateAutomation = automationHubUpdateAutomation;
7337
6936
  const automationHubEnableAutomation = (options) => {
7338
- var _a;
7339
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6937
+ return (options.client ?? client_gen_1.client).patch({
7340
6938
  security: [
7341
6939
  {
7342
6940
  scheme: 'bearer',
@@ -7349,8 +6947,7 @@ const automationHubEnableAutomation = (options) => {
7349
6947
  };
7350
6948
  exports.automationHubEnableAutomation = automationHubEnableAutomation;
7351
6949
  const automationHubDisableAutomation = (options) => {
7352
- var _a;
7353
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).patch({
6950
+ return (options.client ?? client_gen_1.client).patch({
7354
6951
  security: [
7355
6952
  {
7356
6953
  scheme: 'bearer',
@@ -7363,8 +6960,7 @@ const automationHubDisableAutomation = (options) => {
7363
6960
  };
7364
6961
  exports.automationHubDisableAutomation = automationHubDisableAutomation;
7365
6962
  const fullTextSearchProfileFilter = (options) => {
7366
- var _a;
7367
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).get({
6963
+ return (options.client ?? client_gen_1.client).get({
7368
6964
  security: [
7369
6965
  {
7370
6966
  scheme: 'bearer',
@@ -7377,8 +6973,7 @@ const fullTextSearchProfileFilter = (options) => {
7377
6973
  };
7378
6974
  exports.fullTextSearchProfileFilter = fullTextSearchProfileFilter;
7379
6975
  const fullTextSearchProfileCreate = (options) => {
7380
- var _a;
7381
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
6976
+ return (options.client ?? client_gen_1.client).post({
7382
6977
  security: [
7383
6978
  {
7384
6979
  scheme: 'bearer',
@@ -7395,8 +6990,7 @@ const fullTextSearchProfileCreate = (options) => {
7395
6990
  };
7396
6991
  exports.fullTextSearchProfileCreate = fullTextSearchProfileCreate;
7397
6992
  const fullTextSearchProfileDelete = (options) => {
7398
- var _a;
7399
- 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({
7400
6994
  security: [
7401
6995
  {
7402
6996
  scheme: 'bearer',
@@ -7409,8 +7003,7 @@ const fullTextSearchProfileDelete = (options) => {
7409
7003
  };
7410
7004
  exports.fullTextSearchProfileDelete = fullTextSearchProfileDelete;
7411
7005
  const fullTextSearchProfileGet = (options) => {
7412
- var _a;
7413
- 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({
7414
7007
  security: [
7415
7008
  {
7416
7009
  scheme: 'bearer',
@@ -7423,8 +7016,7 @@ const fullTextSearchProfileGet = (options) => {
7423
7016
  };
7424
7017
  exports.fullTextSearchProfileGet = fullTextSearchProfileGet;
7425
7018
  const fullTextSearchProfileUpdate = (options) => {
7426
- var _a;
7427
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
7019
+ return (options.client ?? client_gen_1.client).put({
7428
7020
  security: [
7429
7021
  {
7430
7022
  scheme: 'bearer',
@@ -7441,8 +7033,7 @@ const fullTextSearchProfileUpdate = (options) => {
7441
7033
  };
7442
7034
  exports.fullTextSearchProfileUpdate = fullTextSearchProfileUpdate;
7443
7035
  const fullTextSearchTaskAssign = (options) => {
7444
- var _a;
7445
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).post({
7036
+ return (options.client ?? client_gen_1.client).post({
7446
7037
  security: [
7447
7038
  {
7448
7039
  scheme: 'bearer',
@@ -7459,8 +7050,7 @@ const fullTextSearchTaskAssign = (options) => {
7459
7050
  };
7460
7051
  exports.fullTextSearchTaskAssign = fullTextSearchTaskAssign;
7461
7052
  const fullTextSearchTaskUpdateScheduledFullTextSearchTask = (options) => {
7462
- var _a;
7463
- return ((_a = options.client) !== null && _a !== void 0 ? _a : client_gen_1.client).put({
7053
+ return (options.client ?? client_gen_1.client).put({
7464
7054
  security: [
7465
7055
  {
7466
7056
  scheme: 'bearer',