node-autotask 0.8.0 → 0.8.1

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 (62) hide show
  1. package/ARCHITECTURE.md +54 -12
  2. package/N8N_MCP_MANIFEST.json +2 -2
  3. package/N8N_MCP_MANIFEST.md +3 -3
  4. package/README.md +9 -3
  5. package/dist/{chunk-C7U3ZRRK.js → chunk-2QLOK7PX.js} +27 -31
  6. package/dist/{chunk-C7U3ZRRK.js.map → chunk-2QLOK7PX.js.map} +1 -1
  7. package/dist/{chunk-LDKIIVFV.cjs → chunk-CQIZDSBE.cjs} +272 -276
  8. package/dist/chunk-CQIZDSBE.cjs.map +1 -0
  9. package/dist/{chunk-QUFEIJEB.cjs → chunk-DA73ALND.cjs} +136 -138
  10. package/dist/chunk-DA73ALND.cjs.map +1 -0
  11. package/dist/{chunk-GNS47RBV.js → chunk-IUJJPWUX.js} +612 -18
  12. package/dist/chunk-IUJJPWUX.js.map +1 -0
  13. package/dist/{chunk-RFXGG37L.cjs → chunk-IV2Z3JLR.cjs} +680 -86
  14. package/dist/chunk-IV2Z3JLR.cjs.map +1 -0
  15. package/dist/{chunk-ONPT4PIV.js → chunk-PAQXQFGG.js} +4 -6
  16. package/dist/{chunk-ONPT4PIV.js.map → chunk-PAQXQFGG.js.map} +1 -1
  17. package/dist/index.cjs +120 -27
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.d.cts +129 -3
  20. package/dist/index.d.ts +129 -3
  21. package/dist/index.js +156 -63
  22. package/dist/index.js.map +1 -1
  23. package/dist/operations/index.cjs +113 -116
  24. package/dist/operations/index.cjs.map +1 -1
  25. package/dist/operations/index.js +9 -12
  26. package/dist/operations/index.js.map +1 -1
  27. package/dist/pool.cjs +8 -11
  28. package/dist/pool.cjs.map +1 -1
  29. package/dist/pool.js +4 -7
  30. package/dist/pool.js.map +1 -1
  31. package/dist/resources/index.cjs +3 -5
  32. package/dist/resources/index.cjs.map +1 -1
  33. package/dist/resources/index.js +2 -4
  34. package/package.json +9 -3
  35. package/dist/chunk-5QVXRT3A.cjs +0 -580
  36. package/dist/chunk-5QVXRT3A.cjs.map +0 -1
  37. package/dist/chunk-FE225M76.js +0 -580
  38. package/dist/chunk-FE225M76.js.map +0 -1
  39. package/dist/chunk-GNS47RBV.js.map +0 -1
  40. package/dist/chunk-IFXFOYDU.cjs +0 -32
  41. package/dist/chunk-IFXFOYDU.cjs.map +0 -1
  42. package/dist/chunk-LDKIIVFV.cjs.map +0 -1
  43. package/dist/chunk-OOEVTGP4.js +0 -121
  44. package/dist/chunk-OOEVTGP4.js.map +0 -1
  45. package/dist/chunk-PBBFMRI5.cjs +0 -121
  46. package/dist/chunk-PBBFMRI5.cjs.map +0 -1
  47. package/dist/chunk-QF4K3XTK.js +0 -32
  48. package/dist/chunk-QF4K3XTK.js.map +0 -1
  49. package/dist/chunk-QUFEIJEB.cjs.map +0 -1
  50. package/dist/chunk-RFXGG37L.cjs.map +0 -1
  51. package/dist/credential-shape.cjs +0 -15
  52. package/dist/credential-shape.cjs.map +0 -1
  53. package/dist/credential-shape.d.cts +0 -52
  54. package/dist/credential-shape.d.ts +0 -52
  55. package/dist/credential-shape.js +0 -15
  56. package/dist/credential-shape.js.map +0 -1
  57. package/dist/credentials.cjs +0 -17
  58. package/dist/credentials.cjs.map +0 -1
  59. package/dist/credentials.d.cts +0 -78
  60. package/dist/credentials.d.ts +0 -78
  61. package/dist/credentials.js +0 -17
  62. package/dist/credentials.js.map +0 -1
@@ -129,13 +129,11 @@ import {
129
129
  VersionResource,
130
130
  ZoneInformationResource,
131
131
  runWithSignal
132
- } from "./chunk-C7U3ZRRK.js";
132
+ } from "./chunk-2QLOK7PX.js";
133
133
  import {
134
+ AutotaskConfigError,
134
135
  resolveConfig
135
- } from "./chunk-GNS47RBV.js";
136
- import {
137
- AutotaskConfigError
138
- } from "./chunk-FE225M76.js";
136
+ } from "./chunk-IUJJPWUX.js";
139
137
 
140
138
  // src/client.ts
141
139
  var AutotaskClient = class {
@@ -478,4 +476,4 @@ var AutotaskClient = class {
478
476
  export {
479
477
  AutotaskClient
480
478
  };
481
- //# sourceMappingURL=chunk-ONPT4PIV.js.map
479
+ //# sourceMappingURL=chunk-PAQXQFGG.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/client.ts"],"sourcesContent":["/**\n * AutotaskClient — top-level facade (ARCHITECTURE sections 5, 6).\n *\n * G3 wires config + transport + auth only; resource accessors (companies,\n * tickets, ...) land at G4/G5, and the cross-resource `operations` layer at\n * G6. The constructor validates fail-closed BEFORE anything is wired —\n * invalid configuration throws `AutotaskConfigError` and construction issues\n * no request.\n */\nimport { resolveConfig, type AutotaskConfig, type ResolvedAutotaskConfig } from './config.js';\nimport { AutotaskConfigError } from './errors.js';\nimport { HttpClient, runWithSignal } from './http.js';\nimport type { AuthTokenResultModel } from './types/common.js';\n\n// [GENERATED:RESOURCE_IMPORTS:START]\nimport { AppointmentsResource } from './resources/appointments.js';\nimport { AuthenticateResource } from './resources/authenticate.js';\nimport { BillingCodesResource } from './resources/billing_codes.js';\nimport { BillingItemsResource } from './resources/billing_items.js';\nimport { ChangeRequestLinksResource } from './resources/change_request_links.js';\nimport { ChecklistLibrariesResource } from './resources/checklist_libraries.js';\nimport { ChecklistLibraryChecklistItemsResource } from './resources/checklist_library_checklist_items.js';\nimport { ClassificationIconsResource } from './resources/classification_icons.js';\nimport { CompaniesResource } from './resources/companies.js';\nimport { CompanyAlertsResource } from './resources/company_alerts.js';\nimport { CompanyLocationsResource } from './resources/company_locations.js';\nimport { CompanyNotesResource } from './resources/company_notes.js';\nimport { CompanySiteConfigurationsResource } from './resources/company_site_configurations.js';\nimport { CompanyWebhooksResource } from './resources/company_webhooks.js';\nimport { ConfigurationItemBillingProductAssociationsResource } from './resources/configuration_item_billing_product_associations.js';\nimport { ConfigurationItemCategoriesResource } from './resources/configuration_item_categories.js';\nimport { ConfigurationItemCategoryUdfAssociationsResource } from './resources/configuration_item_category_udf_associations.js';\nimport { ConfigurationItemDnsRecordsResource } from './resources/configuration_item_dns_records.js';\nimport { ConfigurationItemNotesResource } from './resources/configuration_item_notes.js';\nimport { ConfigurationItemRelatedItemsResource } from './resources/configuration_item_related_items.js';\nimport { ConfigurationItemsResource } from './resources/configuration_items.js';\nimport { ConfigurationItemSslSubjectAlternativeNamesResource } from './resources/configuration_item_ssl_subject_alternative_names.js';\nimport { ConfigurationItemTypesResource } from './resources/configuration_item_types.js';\nimport { ConfigurationItemWebhooksResource } from './resources/configuration_item_webhooks.js';\nimport { ContactGroupContactsResource } from './resources/contact_group_contacts.js';\nimport { ContactGroupsResource } from './resources/contact_groups.js';\nimport { ContactsResource } from './resources/contacts.js';\nimport { ContactWebhooksResource } from './resources/contact_webhooks.js';\nimport { ContractBillingRulesResource } from './resources/contract_billing_rules.js';\nimport { ContractBlockHourFactorsResource } from './resources/contract_block_hour_factors.js';\nimport { ContractBlocksResource } from './resources/contract_blocks.js';\nimport { ContractChargesResource } from './resources/contract_charges.js';\nimport { ContractExclusionBillingCodesResource } from './resources/contract_exclusion_billing_codes.js';\nimport { ContractExclusionRolesResource } from './resources/contract_exclusion_roles.js';\nimport { ContractExclusionSetExcludedRolesResource } from './resources/contract_exclusion_set_excluded_roles.js';\nimport { ContractExclusionSetExcludedWorkTypesResource } from './resources/contract_exclusion_set_excluded_work_types.js';\nimport { ContractExclusionSetsResource } from './resources/contract_exclusion_sets.js';\nimport { ContractMilestonesResource } from './resources/contract_milestones.js';\nimport { ContractNotesResource } from './resources/contract_notes.js';\nimport { ContractRatesResource } from './resources/contract_rates.js';\nimport { ContractRetainersResource } from './resources/contract_retainers.js';\nimport { ContractRoleCostsResource } from './resources/contract_role_costs.js';\nimport { ContractServiceAdjustmentsResource } from './resources/contract_service_adjustments.js';\nimport { ContractServiceBundleAdjustmentsResource } from './resources/contract_service_bundle_adjustments.js';\nimport { ContractServiceBundlesResource } from './resources/contract_service_bundles.js';\nimport { ContractServiceBundleUnitsResource } from './resources/contract_service_bundle_units.js';\nimport { ContractServicesResource } from './resources/contract_services.js';\nimport { ContractServiceUnitsResource } from './resources/contract_service_units.js';\nimport { ContractsResource } from './resources/contracts.js';\nimport { ContractTicketPurchasesResource } from './resources/contract_ticket_purchases.js';\nimport { CountriesResource } from './resources/countries.js';\nimport { DepartmentsResource } from './resources/departments.js';\nimport { DomainRegistrarsResource } from './resources/domain_registrars.js';\nimport { EntityInformationResource } from './resources/entity_information.js';\nimport { ExpenseItemAttachmentsResource } from './resources/expense_item_attachments.js';\nimport { ExpenseItemsResource } from './resources/expense_items.js';\nimport { ExpenseReportsResource } from './resources/expense_reports.js';\nimport { HolidaySetsResource } from './resources/holiday_sets.js';\nimport { HolidaysResource } from './resources/holidays.js';\nimport { InventoryProductsResource } from './resources/inventory_products.js';\nimport { InvoicesResource } from './resources/invoices.js';\nimport { ModulesResource } from './resources/modules.js';\nimport { NotificationHistoryResource } from './resources/notification_history.js';\nimport { OpportunitiesResource } from './resources/opportunities.js';\nimport { OpportunityAttachmentsResource } from './resources/opportunity_attachments.js';\nimport { OpportunityCategoriesResource } from './resources/opportunity_categories.js';\nimport { PhasesResource } from './resources/phases.js';\nimport { ProductsResource } from './resources/products.js';\nimport { ProductVendorsResource } from './resources/product_vendors.js';\nimport { ProjectChargesResource } from './resources/project_charges.js';\nimport { ProjectNotesResource } from './resources/project_notes.js';\nimport { ProjectsResource } from './resources/projects.js';\nimport { PurchaseApprovalsResource } from './resources/purchase_approvals.js';\nimport { PurchaseOrderItemReceivingResource } from './resources/purchase_order_item_receiving.js';\nimport { PurchaseOrderItemsResource } from './resources/purchase_order_items.js';\nimport { PurchaseOrdersResource } from './resources/purchase_orders.js';\nimport { QuoteItemsResource } from './resources/quote_items.js';\nimport { QuoteLocationsResource } from './resources/quote_locations.js';\nimport { QuotesResource } from './resources/quotes.js';\nimport { QuoteTemplatesResource } from './resources/quote_templates.js';\nimport { ResourceRoleQueuesResource } from './resources/resource_role_queues.js';\nimport { ResourceRolesResource } from './resources/resource_roles.js';\nimport { ResourceSkillsResource } from './resources/resource_skills.js';\nimport { ResourcesResource } from './resources/resources.js';\nimport { ResourceTimeOffAdditionalResource } from './resources/resource_time_off_additional.js';\nimport { ResourceTimeOffApproversResource } from './resources/resource_time_off_approvers.js';\nimport { ResourceTimeOffBalancesResource } from './resources/resource_time_off_balances.js';\nimport { RolesResource } from './resources/roles.js';\nimport { ServiceCallsResource } from './resources/service_calls.js';\nimport { ServiceCallTaskResourcesResource } from './resources/service_call_task_resources.js';\nimport { ServiceCallTasksResource } from './resources/service_call_tasks.js';\nimport { ServiceCallTicketResourcesResource } from './resources/service_call_ticket_resources.js';\nimport { ServiceCallTicketsResource } from './resources/service_call_tickets.js';\nimport { ServiceLevelAgreementResultsResource } from './resources/service_level_agreement_results.js';\nimport { ServicesResource } from './resources/services.js';\nimport { SkillsResource } from './resources/skills.js';\nimport { SubscriptionPeriodsResource } from './resources/subscription_periods.js';\nimport { SubscriptionsResource } from './resources/subscriptions.js';\nimport { SurveyResultsResource } from './resources/survey_results.js';\nimport { SurveysResource } from './resources/surveys.js';\nimport { TagAliasesResource } from './resources/tag_aliases.js';\nimport { TagGroupsResource } from './resources/tag_groups.js';\nimport { TagsResource } from './resources/tags.js';\nimport { TaskSecondaryResourcesResource } from './resources/task_secondary_resources.js';\nimport { TasksResource } from './resources/tasks.js';\nimport { ThresholdInformationResource } from './resources/threshold_information.js';\nimport { TicketAdditionalConfigurationItemsResource } from './resources/ticket_additional_configuration_items.js';\nimport { TicketAdditionalContactsResource } from './resources/ticket_additional_contacts.js';\nimport { TicketAttachmentsResource } from './resources/ticket_attachments.js';\nimport { TicketCategoriesResource } from './resources/ticket_categories.js';\nimport { TicketCategoryFieldDefaultsResource } from './resources/ticket_category_field_defaults.js';\nimport { TicketChangeRequestApprovalsResource } from './resources/ticket_change_request_approvals.js';\nimport { TicketChargesResource } from './resources/ticket_charges.js';\nimport { TicketChecklistItemsResource } from './resources/ticket_checklist_items.js';\nimport { TicketChecklistLibrariesResource } from './resources/ticket_checklist_libraries.js';\nimport { TicketHistoryResource } from './resources/ticket_history.js';\nimport { TicketNoteAttachmentsResource } from './resources/ticket_note_attachments.js';\nimport { TicketNotesResource } from './resources/ticket_notes.js';\nimport { TicketNoteWebhooksResource } from './resources/ticket_note_webhooks.js';\nimport { TicketSecondaryResourcesResource } from './resources/ticket_secondary_resources.js';\nimport { TicketsResource } from './resources/tickets.js';\nimport { TicketWebhooksResource } from './resources/ticket_webhooks.js';\nimport { TimeEntriesResource } from './resources/time_entries.js';\nimport { TimeEntryAttachmentsResource } from './resources/time_entry_attachments.js';\nimport { TimeOffRequestsResource } from './resources/time_off_requests.js';\nimport { VersionInformationResource } from './resources/version_information.js';\nimport { VersionResource } from './resources/version.js';\nimport { ZoneInformationResource } from './resources/zone_information.js';\n// [GENERATED:RESOURCE_IMPORTS:END]\n\nexport class AutotaskClient {\n /** The validated config (resolved defaults; final values). */\n readonly config: ResolvedAutotaskConfig;\n /** The transport (shared by every resource; the only fetch site). */\n readonly http: HttpClient;\n\n// [GENERATED:RESOURCE_ACCESSORS:START]\n readonly appointments: AppointmentsResource;\n readonly authenticateResource: AuthenticateResource;\n readonly billingCodes: BillingCodesResource;\n readonly billingItems: BillingItemsResource;\n readonly changeRequestLinks: ChangeRequestLinksResource;\n readonly checklistLibraries: ChecklistLibrariesResource;\n readonly checklistLibraryChecklistItems: ChecklistLibraryChecklistItemsResource;\n readonly classificationIcons: ClassificationIconsResource;\n readonly companies: CompaniesResource;\n readonly companyAlerts: CompanyAlertsResource;\n readonly companyLocations: CompanyLocationsResource;\n readonly companyNotes: CompanyNotesResource;\n readonly companySiteConfigurations: CompanySiteConfigurationsResource;\n readonly companyWebhooks: CompanyWebhooksResource;\n readonly configurationItemBillingProductAssociations: ConfigurationItemBillingProductAssociationsResource;\n readonly configurationItemCategories: ConfigurationItemCategoriesResource;\n readonly configurationItemCategoryUdfAssociations: ConfigurationItemCategoryUdfAssociationsResource;\n readonly configurationItemDnsRecords: ConfigurationItemDnsRecordsResource;\n readonly configurationItemNotes: ConfigurationItemNotesResource;\n readonly configurationItemRelatedItems: ConfigurationItemRelatedItemsResource;\n readonly configurationItems: ConfigurationItemsResource;\n readonly configurationItemSslSubjectAlternativeNames: ConfigurationItemSslSubjectAlternativeNamesResource;\n readonly configurationItemTypes: ConfigurationItemTypesResource;\n readonly configurationItemWebhooks: ConfigurationItemWebhooksResource;\n readonly contactGroupContacts: ContactGroupContactsResource;\n readonly contactGroups: ContactGroupsResource;\n readonly contacts: ContactsResource;\n readonly contactWebhooks: ContactWebhooksResource;\n readonly contractBillingRules: ContractBillingRulesResource;\n readonly contractBlockHourFactors: ContractBlockHourFactorsResource;\n readonly contractBlocks: ContractBlocksResource;\n readonly contractCharges: ContractChargesResource;\n readonly contractExclusionBillingCodes: ContractExclusionBillingCodesResource;\n readonly contractExclusionRoles: ContractExclusionRolesResource;\n readonly contractExclusionSetExcludedRoles: ContractExclusionSetExcludedRolesResource;\n readonly contractExclusionSetExcludedWorkTypes: ContractExclusionSetExcludedWorkTypesResource;\n readonly contractExclusionSets: ContractExclusionSetsResource;\n readonly contractMilestones: ContractMilestonesResource;\n readonly contractNotes: ContractNotesResource;\n readonly contractRates: ContractRatesResource;\n readonly contractRetainers: ContractRetainersResource;\n readonly contractRoleCosts: ContractRoleCostsResource;\n readonly contractServiceAdjustments: ContractServiceAdjustmentsResource;\n readonly contractServiceBundleAdjustments: ContractServiceBundleAdjustmentsResource;\n readonly contractServiceBundles: ContractServiceBundlesResource;\n readonly contractServiceBundleUnits: ContractServiceBundleUnitsResource;\n readonly contractServices: ContractServicesResource;\n readonly contractServiceUnits: ContractServiceUnitsResource;\n readonly contracts: ContractsResource;\n readonly contractTicketPurchases: ContractTicketPurchasesResource;\n readonly countries: CountriesResource;\n readonly departments: DepartmentsResource;\n readonly domainRegistrars: DomainRegistrarsResource;\n readonly entityInformation: EntityInformationResource;\n readonly expenseItemAttachments: ExpenseItemAttachmentsResource;\n readonly expenseItems: ExpenseItemsResource;\n readonly expenseReports: ExpenseReportsResource;\n readonly holidaySets: HolidaySetsResource;\n readonly holidays: HolidaysResource;\n readonly inventoryProducts: InventoryProductsResource;\n readonly invoices: InvoicesResource;\n readonly modules: ModulesResource;\n readonly notificationHistory: NotificationHistoryResource;\n readonly opportunities: OpportunitiesResource;\n readonly opportunityAttachments: OpportunityAttachmentsResource;\n readonly opportunityCategories: OpportunityCategoriesResource;\n readonly phases: PhasesResource;\n readonly products: ProductsResource;\n readonly productVendors: ProductVendorsResource;\n readonly projectCharges: ProjectChargesResource;\n readonly projectNotes: ProjectNotesResource;\n readonly projects: ProjectsResource;\n readonly purchaseApprovals: PurchaseApprovalsResource;\n readonly purchaseOrderItemReceiving: PurchaseOrderItemReceivingResource;\n readonly purchaseOrderItems: PurchaseOrderItemsResource;\n readonly purchaseOrders: PurchaseOrdersResource;\n readonly quoteItems: QuoteItemsResource;\n readonly quoteLocations: QuoteLocationsResource;\n readonly quotes: QuotesResource;\n readonly quoteTemplates: QuoteTemplatesResource;\n readonly resourceRoleQueues: ResourceRoleQueuesResource;\n readonly resourceRoles: ResourceRolesResource;\n readonly resourceSkills: ResourceSkillsResource;\n readonly resources: ResourcesResource;\n readonly resourceTimeOffAdditional: ResourceTimeOffAdditionalResource;\n readonly resourceTimeOffApprovers: ResourceTimeOffApproversResource;\n readonly resourceTimeOffBalances: ResourceTimeOffBalancesResource;\n readonly roles: RolesResource;\n readonly serviceCalls: ServiceCallsResource;\n readonly serviceCallTaskResources: ServiceCallTaskResourcesResource;\n readonly serviceCallTasks: ServiceCallTasksResource;\n readonly serviceCallTicketResources: ServiceCallTicketResourcesResource;\n readonly serviceCallTickets: ServiceCallTicketsResource;\n readonly serviceLevelAgreementResults: ServiceLevelAgreementResultsResource;\n readonly services: ServicesResource;\n readonly skills: SkillsResource;\n readonly subscriptionPeriods: SubscriptionPeriodsResource;\n readonly subscriptions: SubscriptionsResource;\n readonly surveyResults: SurveyResultsResource;\n readonly surveys: SurveysResource;\n readonly tagAliases: TagAliasesResource;\n readonly tagGroups: TagGroupsResource;\n readonly tags: TagsResource;\n readonly taskSecondaryResources: TaskSecondaryResourcesResource;\n readonly tasks: TasksResource;\n readonly thresholdInformation: ThresholdInformationResource;\n readonly ticketAdditionalConfigurationItems: TicketAdditionalConfigurationItemsResource;\n readonly ticketAdditionalContacts: TicketAdditionalContactsResource;\n readonly ticketAttachments: TicketAttachmentsResource;\n readonly ticketCategories: TicketCategoriesResource;\n readonly ticketCategoryFieldDefaults: TicketCategoryFieldDefaultsResource;\n readonly ticketChangeRequestApprovals: TicketChangeRequestApprovalsResource;\n readonly ticketCharges: TicketChargesResource;\n readonly ticketChecklistItems: TicketChecklistItemsResource;\n readonly ticketChecklistLibraries: TicketChecklistLibrariesResource;\n readonly ticketHistory: TicketHistoryResource;\n readonly ticketNoteAttachments: TicketNoteAttachmentsResource;\n readonly ticketNotes: TicketNotesResource;\n readonly ticketNoteWebhooks: TicketNoteWebhooksResource;\n readonly ticketSecondaryResources: TicketSecondaryResourcesResource;\n readonly tickets: TicketsResource;\n readonly ticketWebhooks: TicketWebhooksResource;\n readonly timeEntries: TimeEntriesResource;\n readonly timeEntryAttachments: TimeEntryAttachmentsResource;\n readonly timeOffRequests: TimeOffRequestsResource;\n readonly versionInformation: VersionInformationResource;\n readonly version: VersionResource;\n readonly zoneInformation: ZoneInformationResource;\n// [GENERATED:RESOURCE_ACCESSORS:END]\n /**\n * Fail-closed: invalid configuration throws `AutotaskConfigError` before\n * anything is wired. Construction issues NO request.\n */\n constructor(options: AutotaskConfig) {\n this.config = resolveConfig(options);\n this.http = new HttpClient(this.config);\n\n// [GENERATED:RESOURCE_CONSTRUCTORS:START]\n this.appointments = new AppointmentsResource(this.http, this.config.pageSize);\n this.authenticateResource = new AuthenticateResource(this.http);\n this.billingCodes = new BillingCodesResource(this.http, this.config.pageSize);\n this.billingItems = new BillingItemsResource(this.http, this.config.pageSize);\n this.changeRequestLinks = new ChangeRequestLinksResource(this.http, this.config.pageSize);\n this.checklistLibraries = new ChecklistLibrariesResource(this.http, this.config.pageSize);\n this.checklistLibraryChecklistItems = new ChecklistLibraryChecklistItemsResource(this.http, this.config.pageSize);\n this.classificationIcons = new ClassificationIconsResource(this.http, this.config.pageSize);\n this.companies = new CompaniesResource(this.http, this.config.pageSize);\n this.companyAlerts = new CompanyAlertsResource(this.http, this.config.pageSize);\n this.companyLocations = new CompanyLocationsResource(this.http, this.config.pageSize);\n this.companyNotes = new CompanyNotesResource(this.http, this.config.pageSize);\n this.companySiteConfigurations = new CompanySiteConfigurationsResource(this.http, this.config.pageSize);\n this.companyWebhooks = new CompanyWebhooksResource(this.http, this.config.pageSize);\n this.configurationItemBillingProductAssociations = new ConfigurationItemBillingProductAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemCategories = new ConfigurationItemCategoriesResource(this.http, this.config.pageSize);\n this.configurationItemCategoryUdfAssociations = new ConfigurationItemCategoryUdfAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemDnsRecords = new ConfigurationItemDnsRecordsResource(this.http, this.config.pageSize);\n this.configurationItemNotes = new ConfigurationItemNotesResource(this.http, this.config.pageSize);\n this.configurationItemRelatedItems = new ConfigurationItemRelatedItemsResource(this.http, this.config.pageSize);\n this.configurationItems = new ConfigurationItemsResource(this.http, this.config.pageSize);\n this.configurationItemSslSubjectAlternativeNames = new ConfigurationItemSslSubjectAlternativeNamesResource(this.http, this.config.pageSize);\n this.configurationItemTypes = new ConfigurationItemTypesResource(this.http, this.config.pageSize);\n this.configurationItemWebhooks = new ConfigurationItemWebhooksResource(this.http, this.config.pageSize);\n this.contactGroupContacts = new ContactGroupContactsResource(this.http, this.config.pageSize);\n this.contactGroups = new ContactGroupsResource(this.http, this.config.pageSize);\n this.contacts = new ContactsResource(this.http, this.config.pageSize);\n this.contactWebhooks = new ContactWebhooksResource(this.http, this.config.pageSize);\n this.contractBillingRules = new ContractBillingRulesResource(this.http, this.config.pageSize);\n this.contractBlockHourFactors = new ContractBlockHourFactorsResource(this.http, this.config.pageSize);\n this.contractBlocks = new ContractBlocksResource(this.http, this.config.pageSize);\n this.contractCharges = new ContractChargesResource(this.http, this.config.pageSize);\n this.contractExclusionBillingCodes = new ContractExclusionBillingCodesResource(this.http, this.config.pageSize);\n this.contractExclusionRoles = new ContractExclusionRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedRoles = new ContractExclusionSetExcludedRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedWorkTypes = new ContractExclusionSetExcludedWorkTypesResource(this.http, this.config.pageSize);\n this.contractExclusionSets = new ContractExclusionSetsResource(this.http, this.config.pageSize);\n this.contractMilestones = new ContractMilestonesResource(this.http, this.config.pageSize);\n this.contractNotes = new ContractNotesResource(this.http, this.config.pageSize);\n this.contractRates = new ContractRatesResource(this.http, this.config.pageSize);\n this.contractRetainers = new ContractRetainersResource(this.http, this.config.pageSize);\n this.contractRoleCosts = new ContractRoleCostsResource(this.http, this.config.pageSize);\n this.contractServiceAdjustments = new ContractServiceAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundleAdjustments = new ContractServiceBundleAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundles = new ContractServiceBundlesResource(this.http, this.config.pageSize);\n this.contractServiceBundleUnits = new ContractServiceBundleUnitsResource(this.http, this.config.pageSize);\n this.contractServices = new ContractServicesResource(this.http, this.config.pageSize);\n this.contractServiceUnits = new ContractServiceUnitsResource(this.http, this.config.pageSize);\n this.contracts = new ContractsResource(this.http, this.config.pageSize);\n this.contractTicketPurchases = new ContractTicketPurchasesResource(this.http, this.config.pageSize);\n this.countries = new CountriesResource(this.http, this.config.pageSize);\n this.departments = new DepartmentsResource(this.http, this.config.pageSize);\n this.domainRegistrars = new DomainRegistrarsResource(this.http, this.config.pageSize);\n this.entityInformation = new EntityInformationResource(this.http);\n this.expenseItemAttachments = new ExpenseItemAttachmentsResource(this.http, this.config.pageSize);\n this.expenseItems = new ExpenseItemsResource(this.http, this.config.pageSize);\n this.expenseReports = new ExpenseReportsResource(this.http, this.config.pageSize);\n this.holidaySets = new HolidaySetsResource(this.http, this.config.pageSize);\n this.holidays = new HolidaysResource(this.http, this.config.pageSize);\n this.inventoryProducts = new InventoryProductsResource(this.http, this.config.pageSize);\n this.invoices = new InvoicesResource(this.http, this.config.pageSize);\n this.modules = new ModulesResource(this.http);\n this.notificationHistory = new NotificationHistoryResource(this.http, this.config.pageSize);\n this.opportunities = new OpportunitiesResource(this.http, this.config.pageSize);\n this.opportunityAttachments = new OpportunityAttachmentsResource(this.http, this.config.pageSize);\n this.opportunityCategories = new OpportunityCategoriesResource(this.http, this.config.pageSize);\n this.phases = new PhasesResource(this.http, this.config.pageSize);\n this.products = new ProductsResource(this.http, this.config.pageSize);\n this.productVendors = new ProductVendorsResource(this.http, this.config.pageSize);\n this.projectCharges = new ProjectChargesResource(this.http, this.config.pageSize);\n this.projectNotes = new ProjectNotesResource(this.http, this.config.pageSize);\n this.projects = new ProjectsResource(this.http, this.config.pageSize);\n this.purchaseApprovals = new PurchaseApprovalsResource(this.http, this.config.pageSize);\n this.purchaseOrderItemReceiving = new PurchaseOrderItemReceivingResource(this.http, this.config.pageSize);\n this.purchaseOrderItems = new PurchaseOrderItemsResource(this.http, this.config.pageSize);\n this.purchaseOrders = new PurchaseOrdersResource(this.http, this.config.pageSize);\n this.quoteItems = new QuoteItemsResource(this.http, this.config.pageSize);\n this.quoteLocations = new QuoteLocationsResource(this.http, this.config.pageSize);\n this.quotes = new QuotesResource(this.http, this.config.pageSize);\n this.quoteTemplates = new QuoteTemplatesResource(this.http, this.config.pageSize);\n this.resourceRoleQueues = new ResourceRoleQueuesResource(this.http, this.config.pageSize);\n this.resourceRoles = new ResourceRolesResource(this.http, this.config.pageSize);\n this.resourceSkills = new ResourceSkillsResource(this.http, this.config.pageSize);\n this.resources = new ResourcesResource(this.http, this.config, this.config.pageSize);\n this.resourceTimeOffAdditional = new ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);\n this.resourceTimeOffApprovers = new ResourceTimeOffApproversResource(this.http, this.config.pageSize);\n this.resourceTimeOffBalances = new ResourceTimeOffBalancesResource(this.http, this.config.pageSize);\n this.roles = new RolesResource(this.http, this.config.pageSize);\n this.serviceCalls = new ServiceCallsResource(this.http, this.config.pageSize);\n this.serviceCallTaskResources = new ServiceCallTaskResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTasks = new ServiceCallTasksResource(this.http, this.config.pageSize);\n this.serviceCallTicketResources = new ServiceCallTicketResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTickets = new ServiceCallTicketsResource(this.http, this.config.pageSize);\n this.serviceLevelAgreementResults = new ServiceLevelAgreementResultsResource(this.http, this.config.pageSize);\n this.services = new ServicesResource(this.http, this.config.pageSize);\n this.skills = new SkillsResource(this.http, this.config.pageSize);\n this.subscriptionPeriods = new SubscriptionPeriodsResource(this.http, this.config.pageSize);\n this.subscriptions = new SubscriptionsResource(this.http, this.config.pageSize);\n this.surveyResults = new SurveyResultsResource(this.http, this.config.pageSize);\n this.surveys = new SurveysResource(this.http, this.config.pageSize);\n this.tagAliases = new TagAliasesResource(this.http, this.config.pageSize);\n this.tagGroups = new TagGroupsResource(this.http, this.config.pageSize);\n this.tags = new TagsResource(this.http, this.config.pageSize);\n this.taskSecondaryResources = new TaskSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tasks = new TasksResource(this.http, this.config.pageSize);\n this.thresholdInformation = new ThresholdInformationResource(this.http);\n this.ticketAdditionalConfigurationItems = new TicketAdditionalConfigurationItemsResource(this.http, this.config.pageSize);\n this.ticketAdditionalContacts = new TicketAdditionalContactsResource(this.http, this.config.pageSize);\n this.ticketAttachments = new TicketAttachmentsResource(this.http, this.config.pageSize);\n this.ticketCategories = new TicketCategoriesResource(this.http, this.config.pageSize);\n this.ticketCategoryFieldDefaults = new TicketCategoryFieldDefaultsResource(this.http, this.config.pageSize);\n this.ticketChangeRequestApprovals = new TicketChangeRequestApprovalsResource(this.http, this.config.pageSize);\n this.ticketCharges = new TicketChargesResource(this.http, this.config.pageSize);\n this.ticketChecklistItems = new TicketChecklistItemsResource(this.http, this.config.pageSize);\n this.ticketChecklistLibraries = new TicketChecklistLibrariesResource(this.http, this.config.pageSize);\n this.ticketHistory = new TicketHistoryResource(this.http, this.config.pageSize);\n this.ticketNoteAttachments = new TicketNoteAttachmentsResource(this.http, this.config.pageSize);\n this.ticketNotes = new TicketNotesResource(this.http, this.config.pageSize);\n this.ticketNoteWebhooks = new TicketNoteWebhooksResource(this.http, this.config.pageSize);\n this.ticketSecondaryResources = new TicketSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tickets = new TicketsResource(this.http, this.config.pageSize);\n this.ticketWebhooks = new TicketWebhooksResource(this.http, this.config.pageSize);\n this.timeEntries = new TimeEntriesResource(this.http, this.config.pageSize);\n this.timeEntryAttachments = new TimeEntryAttachmentsResource(this.http, this.config.pageSize);\n this.timeOffRequests = new TimeOffRequestsResource(this.http, this.config.pageSize);\n this.versionInformation = new VersionInformationResource(this.http);\n this.version = new VersionResource(this.http);\n this.zoneInformation = new ZoneInformationResource(this.http);\n// [GENERATED:RESOURCE_CONSTRUCTORS:END]\n }\n\n /**\n * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does\n * NOT store, refresh, or send the token automatically — it is a\n * probe/alternative for integrations that front the API with a\n * token-accepting layer. The default transport always uses the 3-header\n * scheme.\n */\n async authenticate(): Promise<AuthTokenResultModel> {\n return this.http.request<AuthTokenResultModel>({\n method: 'GET',\n path: '/V1.0/Authenticate',\n operation: 'authenticate',\n });\n }\n\n /**\n * The client-side hourly budget state (issue #4) — the LOCAL count only:\n * `{ perHour, used, remaining }`, or `undefined` when `rateLimit.perHour`\n * is off. The limiter is per process and cannot see other instances or\n * integrations on the tenant; the tenant-wide count is\n * `client.thresholdInformation.get()`.\n */\n hourlyBudget(): { perHour: number; used: number; remaining: number } | undefined {\n return this.http.hourlyBudget();\n }\n\n /**\n * Run `fn` with `signal` cancelling every SDK request it starts, retry\n * waits included (aborting throws `AutotaskAbortError`, code `ABORTED`, never\n * retried). The way a host propagates request cancellation (an MCP handler's\n * `extra.signal`) through `invoke` or any resource method without a signal\n * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.\n */\n withSignal<T>(signal: AbortSignal, fn: () => Promise<T>): Promise<T> {\n return runWithSignal(signal, fn);\n }\n\n /**\n * Bounded-parallel bulk helper (ARCHITECTURE section 10, `concurrency`):\n * runs `fn` over `items` with at most `opts.concurrency` in flight\n * (default: this client's `maxConcurrent`). Results are in INPUT order. A\n * rejection stops new items from starting and rejects the batch with the\n * first error once the in-flight items settle. `opts.signal` stops new items\n * from starting once aborted (the batch then rejects with the abort reason)\n * and cancels the SDK requests `fn` has in flight (via `withSignal`). `opts.settle: true` runs every item and\n * resolves to per-item `{ status: 'fulfilled', value } | { status:\n * 'rejected', reason }` results instead of rejecting.\n */\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts?: { concurrency?: number; signal?: AbortSignal; settle?: false },\n ): Promise<R[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle: true },\n ): Promise<PromiseSettledResult<R>[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle?: boolean } = {},\n ): Promise<R[] | PromiseSettledResult<R>[]> {\n const concurrency = opts.concurrency ?? this.config.maxConcurrent;\n if (!Number.isInteger(concurrency) || concurrency <= 0) {\n throw new AutotaskConfigError('batch concurrency must be a positive integer');\n }\n const { signal, settle } = opts;\n const results = new Array<R | PromiseSettledResult<R>>(items.length);\n let next = 0;\n let failure: { error: unknown } | undefined;\n const worker = async (): Promise<void> => {\n while (failure === undefined && next < items.length) {\n if (signal?.aborted) {\n failure ??= { error: signal.reason };\n return;\n }\n const i = next++;\n try {\n const item = items[i] as T;\n const value = await (signal === undefined ? fn(item) : runWithSignal(signal, () => fn(item)));\n results[i] = settle ? { status: 'fulfilled', value } : value;\n } catch (error) {\n if (settle) results[i] = { status: 'rejected', reason: error };\n else failure ??= { error };\n }\n }\n };\n await Promise.all(Array.from({ length: Math.min(concurrency, items.length) }, worker));\n if (failure !== undefined) throw failure.error;\n return results as R[] | PromiseSettledResult<R>[];\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiJO,IAAM,iBAAN,MAAqB;AAAA;AAAA,EAEjB;AAAA;AAAA,EAEA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,E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QAAQ;AACnD,YAAI,QAAQ,SAAS;AACnB,sBAAY,EAAE,OAAO,OAAO,OAAO;AACnC;AAAA,QACF;AACA,cAAM,IAAI;AACV,YAAI;AACF,gBAAM,OAAO,MAAM,CAAC;AACpB,gBAAM,QAAQ,OAAO,WAAW,SAAY,GAAG,IAAI,IAAI,cAAc,QAAQ,MAAM,GAAG,IAAI,CAAC;AAC3F,kBAAQ,CAAC,IAAI,SAAS,EAAE,QAAQ,aAAa,MAAM,IAAI;AAAA,QACzD,SAAS,OAAO;AACd,cAAI,OAAQ,SAAQ,CAAC,IAAI,EAAE,QAAQ,YAAY,QAAQ,MAAM;AAAA,cACxD,aAAY,EAAE,MAAM;AAAA,QAC3B;AAAA,MACF;AAAA,IACF;AACA,UAAM,QAAQ,IAAI,MAAM,KAAK,EAAE,QAAQ,KAAK,IAAI,aAAa,MAAM,MAAM,EAAE,GAAG,MAAM,CAAC;AACrF,QAAI,YAAY,OAAW,OAAM,QAAQ;AACzC,WAAO;AAAA,EACT;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/client.ts"],"sourcesContent":["/**\n * AutotaskClient — top-level facade (ARCHITECTURE sections 5, 6).\n *\n * G3 wires config + transport + auth only; resource accessors (companies,\n * tickets, ...) land at G4/G5, and the cross-resource `operations` layer at\n * G6. The constructor validates fail-closed BEFORE anything is wired —\n * invalid configuration throws `AutotaskConfigError` and construction issues\n * no request.\n */\nimport { resolveConfig, type AutotaskConfig, type ResolvedAutotaskConfig } from './config.js';\nimport { AutotaskConfigError } from './errors.js';\nimport { HttpClient, runWithSignal } from './http.js';\nimport type { AuthTokenResultModel } from './types/common.js';\n\n// [GENERATED:RESOURCE_IMPORTS:START]\nimport { AppointmentsResource } from './resources/appointments.js';\nimport { AuthenticateResource } from './resources/authenticate.js';\nimport { BillingCodesResource } from './resources/billing_codes.js';\nimport { BillingItemsResource } from './resources/billing_items.js';\nimport { ChangeRequestLinksResource } from './resources/change_request_links.js';\nimport { ChecklistLibrariesResource } from './resources/checklist_libraries.js';\nimport { ChecklistLibraryChecklistItemsResource } from './resources/checklist_library_checklist_items.js';\nimport { ClassificationIconsResource } from './resources/classification_icons.js';\nimport { CompaniesResource } from './resources/companies.js';\nimport { CompanyAlertsResource } from './resources/company_alerts.js';\nimport { CompanyLocationsResource } from './resources/company_locations.js';\nimport { CompanyNotesResource } from './resources/company_notes.js';\nimport { CompanySiteConfigurationsResource } from './resources/company_site_configurations.js';\nimport { CompanyWebhooksResource } from './resources/company_webhooks.js';\nimport { ConfigurationItemBillingProductAssociationsResource } from './resources/configuration_item_billing_product_associations.js';\nimport { ConfigurationItemCategoriesResource } from './resources/configuration_item_categories.js';\nimport { ConfigurationItemCategoryUdfAssociationsResource } from './resources/configuration_item_category_udf_associations.js';\nimport { ConfigurationItemDnsRecordsResource } from './resources/configuration_item_dns_records.js';\nimport { ConfigurationItemNotesResource } from './resources/configuration_item_notes.js';\nimport { ConfigurationItemRelatedItemsResource } from './resources/configuration_item_related_items.js';\nimport { ConfigurationItemsResource } from './resources/configuration_items.js';\nimport { ConfigurationItemSslSubjectAlternativeNamesResource } from './resources/configuration_item_ssl_subject_alternative_names.js';\nimport { ConfigurationItemTypesResource } from './resources/configuration_item_types.js';\nimport { ConfigurationItemWebhooksResource } from './resources/configuration_item_webhooks.js';\nimport { ContactGroupContactsResource } from './resources/contact_group_contacts.js';\nimport { ContactGroupsResource } from './resources/contact_groups.js';\nimport { ContactsResource } from './resources/contacts.js';\nimport { ContactWebhooksResource } from './resources/contact_webhooks.js';\nimport { ContractBillingRulesResource } from './resources/contract_billing_rules.js';\nimport { ContractBlockHourFactorsResource } from './resources/contract_block_hour_factors.js';\nimport { ContractBlocksResource } from './resources/contract_blocks.js';\nimport { ContractChargesResource } from './resources/contract_charges.js';\nimport { ContractExclusionBillingCodesResource } from './resources/contract_exclusion_billing_codes.js';\nimport { ContractExclusionRolesResource } from './resources/contract_exclusion_roles.js';\nimport { ContractExclusionSetExcludedRolesResource } from './resources/contract_exclusion_set_excluded_roles.js';\nimport { ContractExclusionSetExcludedWorkTypesResource } from './resources/contract_exclusion_set_excluded_work_types.js';\nimport { ContractExclusionSetsResource } from './resources/contract_exclusion_sets.js';\nimport { ContractMilestonesResource } from './resources/contract_milestones.js';\nimport { ContractNotesResource } from './resources/contract_notes.js';\nimport { ContractRatesResource } from './resources/contract_rates.js';\nimport { ContractRetainersResource } from './resources/contract_retainers.js';\nimport { ContractRoleCostsResource } from './resources/contract_role_costs.js';\nimport { ContractServiceAdjustmentsResource } from './resources/contract_service_adjustments.js';\nimport { ContractServiceBundleAdjustmentsResource } from './resources/contract_service_bundle_adjustments.js';\nimport { ContractServiceBundlesResource } from './resources/contract_service_bundles.js';\nimport { ContractServiceBundleUnitsResource } from './resources/contract_service_bundle_units.js';\nimport { ContractServicesResource } from './resources/contract_services.js';\nimport { ContractServiceUnitsResource } from './resources/contract_service_units.js';\nimport { ContractsResource } from './resources/contracts.js';\nimport { ContractTicketPurchasesResource } from './resources/contract_ticket_purchases.js';\nimport { CountriesResource } from './resources/countries.js';\nimport { DepartmentsResource } from './resources/departments.js';\nimport { DomainRegistrarsResource } from './resources/domain_registrars.js';\nimport { EntityInformationResource } from './resources/entity_information.js';\nimport { ExpenseItemAttachmentsResource } from './resources/expense_item_attachments.js';\nimport { ExpenseItemsResource } from './resources/expense_items.js';\nimport { ExpenseReportsResource } from './resources/expense_reports.js';\nimport { HolidaySetsResource } from './resources/holiday_sets.js';\nimport { HolidaysResource } from './resources/holidays.js';\nimport { InventoryProductsResource } from './resources/inventory_products.js';\nimport { InvoicesResource } from './resources/invoices.js';\nimport { ModulesResource } from './resources/modules.js';\nimport { NotificationHistoryResource } from './resources/notification_history.js';\nimport { OpportunitiesResource } from './resources/opportunities.js';\nimport { OpportunityAttachmentsResource } from './resources/opportunity_attachments.js';\nimport { OpportunityCategoriesResource } from './resources/opportunity_categories.js';\nimport { PhasesResource } from './resources/phases.js';\nimport { ProductsResource } from './resources/products.js';\nimport { ProductVendorsResource } from './resources/product_vendors.js';\nimport { ProjectChargesResource } from './resources/project_charges.js';\nimport { ProjectNotesResource } from './resources/project_notes.js';\nimport { ProjectsResource } from './resources/projects.js';\nimport { PurchaseApprovalsResource } from './resources/purchase_approvals.js';\nimport { PurchaseOrderItemReceivingResource } from './resources/purchase_order_item_receiving.js';\nimport { PurchaseOrderItemsResource } from './resources/purchase_order_items.js';\nimport { PurchaseOrdersResource } from './resources/purchase_orders.js';\nimport { QuoteItemsResource } from './resources/quote_items.js';\nimport { QuoteLocationsResource } from './resources/quote_locations.js';\nimport { QuotesResource } from './resources/quotes.js';\nimport { QuoteTemplatesResource } from './resources/quote_templates.js';\nimport { ResourceRoleQueuesResource } from './resources/resource_role_queues.js';\nimport { ResourceRolesResource } from './resources/resource_roles.js';\nimport { ResourceSkillsResource } from './resources/resource_skills.js';\nimport { ResourcesResource } from './resources/resources.js';\nimport { ResourceTimeOffAdditionalResource } from './resources/resource_time_off_additional.js';\nimport { ResourceTimeOffApproversResource } from './resources/resource_time_off_approvers.js';\nimport { ResourceTimeOffBalancesResource } from './resources/resource_time_off_balances.js';\nimport { RolesResource } from './resources/roles.js';\nimport { ServiceCallsResource } from './resources/service_calls.js';\nimport { ServiceCallTaskResourcesResource } from './resources/service_call_task_resources.js';\nimport { ServiceCallTasksResource } from './resources/service_call_tasks.js';\nimport { ServiceCallTicketResourcesResource } from './resources/service_call_ticket_resources.js';\nimport { ServiceCallTicketsResource } from './resources/service_call_tickets.js';\nimport { ServiceLevelAgreementResultsResource } from './resources/service_level_agreement_results.js';\nimport { ServicesResource } from './resources/services.js';\nimport { SkillsResource } from './resources/skills.js';\nimport { SubscriptionPeriodsResource } from './resources/subscription_periods.js';\nimport { SubscriptionsResource } from './resources/subscriptions.js';\nimport { SurveyResultsResource } from './resources/survey_results.js';\nimport { SurveysResource } from './resources/surveys.js';\nimport { TagAliasesResource } from './resources/tag_aliases.js';\nimport { TagGroupsResource } from './resources/tag_groups.js';\nimport { TagsResource } from './resources/tags.js';\nimport { TaskSecondaryResourcesResource } from './resources/task_secondary_resources.js';\nimport { TasksResource } from './resources/tasks.js';\nimport { ThresholdInformationResource } from './resources/threshold_information.js';\nimport { TicketAdditionalConfigurationItemsResource } from './resources/ticket_additional_configuration_items.js';\nimport { TicketAdditionalContactsResource } from './resources/ticket_additional_contacts.js';\nimport { TicketAttachmentsResource } from './resources/ticket_attachments.js';\nimport { TicketCategoriesResource } from './resources/ticket_categories.js';\nimport { TicketCategoryFieldDefaultsResource } from './resources/ticket_category_field_defaults.js';\nimport { TicketChangeRequestApprovalsResource } from './resources/ticket_change_request_approvals.js';\nimport { TicketChargesResource } from './resources/ticket_charges.js';\nimport { TicketChecklistItemsResource } from './resources/ticket_checklist_items.js';\nimport { TicketChecklistLibrariesResource } from './resources/ticket_checklist_libraries.js';\nimport { TicketHistoryResource } from './resources/ticket_history.js';\nimport { TicketNoteAttachmentsResource } from './resources/ticket_note_attachments.js';\nimport { TicketNotesResource } from './resources/ticket_notes.js';\nimport { TicketNoteWebhooksResource } from './resources/ticket_note_webhooks.js';\nimport { TicketSecondaryResourcesResource } from './resources/ticket_secondary_resources.js';\nimport { TicketsResource } from './resources/tickets.js';\nimport { TicketWebhooksResource } from './resources/ticket_webhooks.js';\nimport { TimeEntriesResource } from './resources/time_entries.js';\nimport { TimeEntryAttachmentsResource } from './resources/time_entry_attachments.js';\nimport { TimeOffRequestsResource } from './resources/time_off_requests.js';\nimport { VersionInformationResource } from './resources/version_information.js';\nimport { VersionResource } from './resources/version.js';\nimport { ZoneInformationResource } from './resources/zone_information.js';\n// [GENERATED:RESOURCE_IMPORTS:END]\n\nexport class AutotaskClient {\n /** The validated config (resolved defaults; final values). */\n readonly config: ResolvedAutotaskConfig;\n /** The transport (shared by every resource; the only fetch site). */\n readonly http: HttpClient;\n\n// [GENERATED:RESOURCE_ACCESSORS:START]\n readonly appointments: AppointmentsResource;\n readonly authenticateResource: AuthenticateResource;\n readonly billingCodes: BillingCodesResource;\n readonly billingItems: BillingItemsResource;\n readonly changeRequestLinks: ChangeRequestLinksResource;\n readonly checklistLibraries: ChecklistLibrariesResource;\n readonly checklistLibraryChecklistItems: ChecklistLibraryChecklistItemsResource;\n readonly classificationIcons: ClassificationIconsResource;\n readonly companies: CompaniesResource;\n readonly companyAlerts: CompanyAlertsResource;\n readonly companyLocations: CompanyLocationsResource;\n readonly companyNotes: CompanyNotesResource;\n readonly companySiteConfigurations: CompanySiteConfigurationsResource;\n readonly companyWebhooks: CompanyWebhooksResource;\n readonly configurationItemBillingProductAssociations: ConfigurationItemBillingProductAssociationsResource;\n readonly configurationItemCategories: ConfigurationItemCategoriesResource;\n readonly configurationItemCategoryUdfAssociations: ConfigurationItemCategoryUdfAssociationsResource;\n readonly configurationItemDnsRecords: ConfigurationItemDnsRecordsResource;\n readonly configurationItemNotes: ConfigurationItemNotesResource;\n readonly configurationItemRelatedItems: ConfigurationItemRelatedItemsResource;\n readonly configurationItems: ConfigurationItemsResource;\n readonly configurationItemSslSubjectAlternativeNames: ConfigurationItemSslSubjectAlternativeNamesResource;\n readonly configurationItemTypes: ConfigurationItemTypesResource;\n readonly configurationItemWebhooks: ConfigurationItemWebhooksResource;\n readonly contactGroupContacts: ContactGroupContactsResource;\n readonly contactGroups: ContactGroupsResource;\n readonly contacts: ContactsResource;\n readonly contactWebhooks: ContactWebhooksResource;\n readonly contractBillingRules: ContractBillingRulesResource;\n readonly contractBlockHourFactors: ContractBlockHourFactorsResource;\n readonly contractBlocks: ContractBlocksResource;\n readonly contractCharges: ContractChargesResource;\n readonly contractExclusionBillingCodes: ContractExclusionBillingCodesResource;\n readonly contractExclusionRoles: ContractExclusionRolesResource;\n readonly contractExclusionSetExcludedRoles: ContractExclusionSetExcludedRolesResource;\n readonly contractExclusionSetExcludedWorkTypes: ContractExclusionSetExcludedWorkTypesResource;\n readonly contractExclusionSets: ContractExclusionSetsResource;\n readonly contractMilestones: ContractMilestonesResource;\n readonly contractNotes: ContractNotesResource;\n readonly contractRates: ContractRatesResource;\n readonly contractRetainers: ContractRetainersResource;\n readonly contractRoleCosts: ContractRoleCostsResource;\n readonly contractServiceAdjustments: ContractServiceAdjustmentsResource;\n readonly contractServiceBundleAdjustments: ContractServiceBundleAdjustmentsResource;\n readonly contractServiceBundles: ContractServiceBundlesResource;\n readonly contractServiceBundleUnits: ContractServiceBundleUnitsResource;\n readonly contractServices: ContractServicesResource;\n readonly contractServiceUnits: ContractServiceUnitsResource;\n readonly contracts: ContractsResource;\n readonly contractTicketPurchases: ContractTicketPurchasesResource;\n readonly countries: CountriesResource;\n readonly departments: DepartmentsResource;\n readonly domainRegistrars: DomainRegistrarsResource;\n readonly entityInformation: EntityInformationResource;\n readonly expenseItemAttachments: ExpenseItemAttachmentsResource;\n readonly expenseItems: ExpenseItemsResource;\n readonly expenseReports: ExpenseReportsResource;\n readonly holidaySets: HolidaySetsResource;\n readonly holidays: HolidaysResource;\n readonly inventoryProducts: InventoryProductsResource;\n readonly invoices: InvoicesResource;\n readonly modules: ModulesResource;\n readonly notificationHistory: NotificationHistoryResource;\n readonly opportunities: OpportunitiesResource;\n readonly opportunityAttachments: OpportunityAttachmentsResource;\n readonly opportunityCategories: OpportunityCategoriesResource;\n readonly phases: PhasesResource;\n readonly products: ProductsResource;\n readonly productVendors: ProductVendorsResource;\n readonly projectCharges: ProjectChargesResource;\n readonly projectNotes: ProjectNotesResource;\n readonly projects: ProjectsResource;\n readonly purchaseApprovals: PurchaseApprovalsResource;\n readonly purchaseOrderItemReceiving: PurchaseOrderItemReceivingResource;\n readonly purchaseOrderItems: PurchaseOrderItemsResource;\n readonly purchaseOrders: PurchaseOrdersResource;\n readonly quoteItems: QuoteItemsResource;\n readonly quoteLocations: QuoteLocationsResource;\n readonly quotes: QuotesResource;\n readonly quoteTemplates: QuoteTemplatesResource;\n readonly resourceRoleQueues: ResourceRoleQueuesResource;\n readonly resourceRoles: ResourceRolesResource;\n readonly resourceSkills: ResourceSkillsResource;\n readonly resources: ResourcesResource;\n readonly resourceTimeOffAdditional: ResourceTimeOffAdditionalResource;\n readonly resourceTimeOffApprovers: ResourceTimeOffApproversResource;\n readonly resourceTimeOffBalances: ResourceTimeOffBalancesResource;\n readonly roles: RolesResource;\n readonly serviceCalls: ServiceCallsResource;\n readonly serviceCallTaskResources: ServiceCallTaskResourcesResource;\n readonly serviceCallTasks: ServiceCallTasksResource;\n readonly serviceCallTicketResources: ServiceCallTicketResourcesResource;\n readonly serviceCallTickets: ServiceCallTicketsResource;\n readonly serviceLevelAgreementResults: ServiceLevelAgreementResultsResource;\n readonly services: ServicesResource;\n readonly skills: SkillsResource;\n readonly subscriptionPeriods: SubscriptionPeriodsResource;\n readonly subscriptions: SubscriptionsResource;\n readonly surveyResults: SurveyResultsResource;\n readonly surveys: SurveysResource;\n readonly tagAliases: TagAliasesResource;\n readonly tagGroups: TagGroupsResource;\n readonly tags: TagsResource;\n readonly taskSecondaryResources: TaskSecondaryResourcesResource;\n readonly tasks: TasksResource;\n readonly thresholdInformation: ThresholdInformationResource;\n readonly ticketAdditionalConfigurationItems: TicketAdditionalConfigurationItemsResource;\n readonly ticketAdditionalContacts: TicketAdditionalContactsResource;\n readonly ticketAttachments: TicketAttachmentsResource;\n readonly ticketCategories: TicketCategoriesResource;\n readonly ticketCategoryFieldDefaults: TicketCategoryFieldDefaultsResource;\n readonly ticketChangeRequestApprovals: TicketChangeRequestApprovalsResource;\n readonly ticketCharges: TicketChargesResource;\n readonly ticketChecklistItems: TicketChecklistItemsResource;\n readonly ticketChecklistLibraries: TicketChecklistLibrariesResource;\n readonly ticketHistory: TicketHistoryResource;\n readonly ticketNoteAttachments: TicketNoteAttachmentsResource;\n readonly ticketNotes: TicketNotesResource;\n readonly ticketNoteWebhooks: TicketNoteWebhooksResource;\n readonly ticketSecondaryResources: TicketSecondaryResourcesResource;\n readonly tickets: TicketsResource;\n readonly ticketWebhooks: TicketWebhooksResource;\n readonly timeEntries: TimeEntriesResource;\n readonly timeEntryAttachments: TimeEntryAttachmentsResource;\n readonly timeOffRequests: TimeOffRequestsResource;\n readonly versionInformation: VersionInformationResource;\n readonly version: VersionResource;\n readonly zoneInformation: ZoneInformationResource;\n// [GENERATED:RESOURCE_ACCESSORS:END]\n /**\n * Fail-closed: invalid configuration throws `AutotaskConfigError` before\n * anything is wired. Construction issues NO request.\n */\n constructor(options: AutotaskConfig) {\n this.config = resolveConfig(options);\n this.http = new HttpClient(this.config);\n\n// [GENERATED:RESOURCE_CONSTRUCTORS:START]\n this.appointments = new AppointmentsResource(this.http, this.config.pageSize);\n this.authenticateResource = new AuthenticateResource(this.http);\n this.billingCodes = new BillingCodesResource(this.http, this.config.pageSize);\n this.billingItems = new BillingItemsResource(this.http, this.config.pageSize);\n this.changeRequestLinks = new ChangeRequestLinksResource(this.http, this.config.pageSize);\n this.checklistLibraries = new ChecklistLibrariesResource(this.http, this.config.pageSize);\n this.checklistLibraryChecklistItems = new ChecklistLibraryChecklistItemsResource(this.http, this.config.pageSize);\n this.classificationIcons = new ClassificationIconsResource(this.http, this.config.pageSize);\n this.companies = new CompaniesResource(this.http, this.config.pageSize);\n this.companyAlerts = new CompanyAlertsResource(this.http, this.config.pageSize);\n this.companyLocations = new CompanyLocationsResource(this.http, this.config.pageSize);\n this.companyNotes = new CompanyNotesResource(this.http, this.config.pageSize);\n this.companySiteConfigurations = new CompanySiteConfigurationsResource(this.http, this.config.pageSize);\n this.companyWebhooks = new CompanyWebhooksResource(this.http, this.config.pageSize);\n this.configurationItemBillingProductAssociations = new ConfigurationItemBillingProductAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemCategories = new ConfigurationItemCategoriesResource(this.http, this.config.pageSize);\n this.configurationItemCategoryUdfAssociations = new ConfigurationItemCategoryUdfAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemDnsRecords = new ConfigurationItemDnsRecordsResource(this.http, this.config.pageSize);\n this.configurationItemNotes = new ConfigurationItemNotesResource(this.http, this.config.pageSize);\n this.configurationItemRelatedItems = new ConfigurationItemRelatedItemsResource(this.http, this.config.pageSize);\n this.configurationItems = new ConfigurationItemsResource(this.http, this.config.pageSize);\n this.configurationItemSslSubjectAlternativeNames = new ConfigurationItemSslSubjectAlternativeNamesResource(this.http, this.config.pageSize);\n this.configurationItemTypes = new ConfigurationItemTypesResource(this.http, this.config.pageSize);\n this.configurationItemWebhooks = new ConfigurationItemWebhooksResource(this.http, this.config.pageSize);\n this.contactGroupContacts = new ContactGroupContactsResource(this.http, this.config.pageSize);\n this.contactGroups = new ContactGroupsResource(this.http, this.config.pageSize);\n this.contacts = new ContactsResource(this.http, this.config.pageSize);\n this.contactWebhooks = new ContactWebhooksResource(this.http, this.config.pageSize);\n this.contractBillingRules = new ContractBillingRulesResource(this.http, this.config.pageSize);\n this.contractBlockHourFactors = new ContractBlockHourFactorsResource(this.http, this.config.pageSize);\n this.contractBlocks = new ContractBlocksResource(this.http, this.config.pageSize);\n this.contractCharges = new ContractChargesResource(this.http, this.config.pageSize);\n this.contractExclusionBillingCodes = new ContractExclusionBillingCodesResource(this.http, this.config.pageSize);\n this.contractExclusionRoles = new ContractExclusionRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedRoles = new ContractExclusionSetExcludedRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedWorkTypes = new ContractExclusionSetExcludedWorkTypesResource(this.http, this.config.pageSize);\n this.contractExclusionSets = new ContractExclusionSetsResource(this.http, this.config.pageSize);\n this.contractMilestones = new ContractMilestonesResource(this.http, this.config.pageSize);\n this.contractNotes = new ContractNotesResource(this.http, this.config.pageSize);\n this.contractRates = new ContractRatesResource(this.http, this.config.pageSize);\n this.contractRetainers = new ContractRetainersResource(this.http, this.config.pageSize);\n this.contractRoleCosts = new ContractRoleCostsResource(this.http, this.config.pageSize);\n this.contractServiceAdjustments = new ContractServiceAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundleAdjustments = new ContractServiceBundleAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundles = new ContractServiceBundlesResource(this.http, this.config.pageSize);\n this.contractServiceBundleUnits = new ContractServiceBundleUnitsResource(this.http, this.config.pageSize);\n this.contractServices = new ContractServicesResource(this.http, this.config.pageSize);\n this.contractServiceUnits = new ContractServiceUnitsResource(this.http, this.config.pageSize);\n this.contracts = new ContractsResource(this.http, this.config.pageSize);\n this.contractTicketPurchases = new ContractTicketPurchasesResource(this.http, this.config.pageSize);\n this.countries = new CountriesResource(this.http, this.config.pageSize);\n this.departments = new DepartmentsResource(this.http, this.config.pageSize);\n this.domainRegistrars = new DomainRegistrarsResource(this.http, this.config.pageSize);\n this.entityInformation = new EntityInformationResource(this.http);\n this.expenseItemAttachments = new ExpenseItemAttachmentsResource(this.http, this.config.pageSize);\n this.expenseItems = new ExpenseItemsResource(this.http, this.config.pageSize);\n this.expenseReports = new ExpenseReportsResource(this.http, this.config.pageSize);\n this.holidaySets = new HolidaySetsResource(this.http, this.config.pageSize);\n this.holidays = new HolidaysResource(this.http, this.config.pageSize);\n this.inventoryProducts = new InventoryProductsResource(this.http, this.config.pageSize);\n this.invoices = new InvoicesResource(this.http, this.config.pageSize);\n this.modules = new ModulesResource(this.http);\n this.notificationHistory = new NotificationHistoryResource(this.http, this.config.pageSize);\n this.opportunities = new OpportunitiesResource(this.http, this.config.pageSize);\n this.opportunityAttachments = new OpportunityAttachmentsResource(this.http, this.config.pageSize);\n this.opportunityCategories = new OpportunityCategoriesResource(this.http, this.config.pageSize);\n this.phases = new PhasesResource(this.http, this.config.pageSize);\n this.products = new ProductsResource(this.http, this.config.pageSize);\n this.productVendors = new ProductVendorsResource(this.http, this.config.pageSize);\n this.projectCharges = new ProjectChargesResource(this.http, this.config.pageSize);\n this.projectNotes = new ProjectNotesResource(this.http, this.config.pageSize);\n this.projects = new ProjectsResource(this.http, this.config.pageSize);\n this.purchaseApprovals = new PurchaseApprovalsResource(this.http, this.config.pageSize);\n this.purchaseOrderItemReceiving = new PurchaseOrderItemReceivingResource(this.http, this.config.pageSize);\n this.purchaseOrderItems = new PurchaseOrderItemsResource(this.http, this.config.pageSize);\n this.purchaseOrders = new PurchaseOrdersResource(this.http, this.config.pageSize);\n this.quoteItems = new QuoteItemsResource(this.http, this.config.pageSize);\n this.quoteLocations = new QuoteLocationsResource(this.http, this.config.pageSize);\n this.quotes = new QuotesResource(this.http, this.config.pageSize);\n this.quoteTemplates = new QuoteTemplatesResource(this.http, this.config.pageSize);\n this.resourceRoleQueues = new ResourceRoleQueuesResource(this.http, this.config.pageSize);\n this.resourceRoles = new ResourceRolesResource(this.http, this.config.pageSize);\n this.resourceSkills = new ResourceSkillsResource(this.http, this.config.pageSize);\n this.resources = new ResourcesResource(this.http, this.config, this.config.pageSize);\n this.resourceTimeOffAdditional = new ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);\n this.resourceTimeOffApprovers = new ResourceTimeOffApproversResource(this.http, this.config.pageSize);\n this.resourceTimeOffBalances = new ResourceTimeOffBalancesResource(this.http, this.config.pageSize);\n this.roles = new RolesResource(this.http, this.config.pageSize);\n this.serviceCalls = new ServiceCallsResource(this.http, this.config.pageSize);\n this.serviceCallTaskResources = new ServiceCallTaskResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTasks = new ServiceCallTasksResource(this.http, this.config.pageSize);\n this.serviceCallTicketResources = new ServiceCallTicketResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTickets = new ServiceCallTicketsResource(this.http, this.config.pageSize);\n this.serviceLevelAgreementResults = new ServiceLevelAgreementResultsResource(this.http, this.config.pageSize);\n this.services = new ServicesResource(this.http, this.config.pageSize);\n this.skills = new SkillsResource(this.http, this.config.pageSize);\n this.subscriptionPeriods = new SubscriptionPeriodsResource(this.http, this.config.pageSize);\n this.subscriptions = new SubscriptionsResource(this.http, this.config.pageSize);\n this.surveyResults = new SurveyResultsResource(this.http, this.config.pageSize);\n this.surveys = new SurveysResource(this.http, this.config.pageSize);\n this.tagAliases = new TagAliasesResource(this.http, this.config.pageSize);\n this.tagGroups = new TagGroupsResource(this.http, this.config.pageSize);\n this.tags = new TagsResource(this.http, this.config.pageSize);\n this.taskSecondaryResources = new TaskSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tasks = new TasksResource(this.http, this.config.pageSize);\n this.thresholdInformation = new ThresholdInformationResource(this.http);\n this.ticketAdditionalConfigurationItems = new TicketAdditionalConfigurationItemsResource(this.http, this.config.pageSize);\n this.ticketAdditionalContacts = new TicketAdditionalContactsResource(this.http, this.config.pageSize);\n this.ticketAttachments = new TicketAttachmentsResource(this.http, this.config.pageSize);\n this.ticketCategories = new TicketCategoriesResource(this.http, this.config.pageSize);\n this.ticketCategoryFieldDefaults = new TicketCategoryFieldDefaultsResource(this.http, this.config.pageSize);\n this.ticketChangeRequestApprovals = new TicketChangeRequestApprovalsResource(this.http, this.config.pageSize);\n this.ticketCharges = new TicketChargesResource(this.http, this.config.pageSize);\n this.ticketChecklistItems = new TicketChecklistItemsResource(this.http, this.config.pageSize);\n this.ticketChecklistLibraries = new TicketChecklistLibrariesResource(this.http, this.config.pageSize);\n this.ticketHistory = new TicketHistoryResource(this.http, this.config.pageSize);\n this.ticketNoteAttachments = new TicketNoteAttachmentsResource(this.http, this.config.pageSize);\n this.ticketNotes = new TicketNotesResource(this.http, this.config.pageSize);\n this.ticketNoteWebhooks = new TicketNoteWebhooksResource(this.http, this.config.pageSize);\n this.ticketSecondaryResources = new TicketSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tickets = new TicketsResource(this.http, this.config.pageSize);\n this.ticketWebhooks = new TicketWebhooksResource(this.http, this.config.pageSize);\n this.timeEntries = new TimeEntriesResource(this.http, this.config.pageSize);\n this.timeEntryAttachments = new TimeEntryAttachmentsResource(this.http, this.config.pageSize);\n this.timeOffRequests = new TimeOffRequestsResource(this.http, this.config.pageSize);\n this.versionInformation = new VersionInformationResource(this.http);\n this.version = new VersionResource(this.http);\n this.zoneInformation = new ZoneInformationResource(this.http);\n// [GENERATED:RESOURCE_CONSTRUCTORS:END]\n }\n\n /**\n * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does\n * NOT store, refresh, or send the token automatically — it is a\n * probe/alternative for integrations that front the API with a\n * token-accepting layer. The default transport always uses the 3-header\n * scheme.\n */\n async authenticate(): Promise<AuthTokenResultModel> {\n return this.http.request<AuthTokenResultModel>({\n method: 'GET',\n path: '/V1.0/Authenticate',\n operation: 'authenticate',\n });\n }\n\n /**\n * The client-side hourly budget state (issue #4) — the LOCAL count only:\n * `{ perHour, used, remaining }`, or `undefined` when `rateLimit.perHour`\n * is off. The limiter is per process and cannot see other instances or\n * integrations on the tenant; the tenant-wide count is\n * `client.thresholdInformation.get()`.\n */\n hourlyBudget(): { perHour: number; used: number; remaining: number } | undefined {\n return this.http.hourlyBudget();\n }\n\n /**\n * Run `fn` with `signal` cancelling every SDK request it starts, retry\n * waits included (aborting throws `AutotaskAbortError`, code `ABORTED`, never\n * retried). The way a host propagates request cancellation (an MCP handler's\n * `extra.signal`) through `invoke` or any resource method without a signal\n * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.\n */\n withSignal<T>(signal: AbortSignal, fn: () => Promise<T>): Promise<T> {\n return runWithSignal(signal, fn);\n }\n\n /**\n * Bounded-parallel bulk helper (ARCHITECTURE section 10, `concurrency`):\n * runs `fn` over `items` with at most `opts.concurrency` in flight\n * (default: this client's `maxConcurrent`). Results are in INPUT order. A\n * rejection stops new items from starting and rejects the batch with the\n * first error once the in-flight items settle. `opts.signal` stops new items\n * from starting once aborted (the batch then rejects with the abort reason)\n * and cancels the SDK requests `fn` has in flight (via `withSignal`). `opts.settle: true` runs every item and\n * resolves to per-item `{ status: 'fulfilled', value } | { status:\n * 'rejected', reason }` results instead of rejecting.\n */\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts?: { concurrency?: number; signal?: AbortSignal; settle?: false },\n ): Promise<R[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle: true },\n ): Promise<PromiseSettledResult<R>[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle?: boolean } = {},\n ): Promise<R[] | PromiseSettledResult<R>[]> {\n const concurrency = opts.concurrency ?? this.config.maxConcurrent;\n if (!Number.isInteger(concurrency) || concurrency <= 0) {\n throw new AutotaskConfigError('batch concurrency must be a positive integer');\n }\n const { signal, settle } = opts;\n const results = new Array<R | PromiseSettledResult<R>>(items.length);\n let next = 0;\n let failure: { error: unknown } | undefined;\n const worker = async (): Promise<void> => {\n while (failure === undefined && next < items.length) {\n if (signal?.aborted) {\n failure ??= { error: signal.reason };\n return;\n }\n const i = next++;\n try {\n const item = items[i] as T;\n const value = await (signal === undefined ? fn(item) : runWithSignal(signal, () => fn(item)));\n results[i] = settle ? { status: 'fulfilled', value } : value;\n } catch (error) {\n if (settle) results[i] = { status: 'rejected', reason: error };\n else failure ??= { error };\n }\n }\n };\n await Promise.all(Array.from({ length: Math.min(concurrency, items.length) }, worker));\n if (failure !== undefined) throw failure.error;\n return results as R[] | PromiseSettledResult<R>[];\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiJO,IAAM,iBAAN,MAAqB;AAAA;AAAA,EAEjB;AAAA;AAAA,EAEA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMT,YAAY,SAAyB;AACnC,SAAK,SAAS,cAAc,OAAO;AACnC,SAAK,OAAO,IAAI,WAAW,KAAK,MAAM;AAGtC,SAAK,eA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AAAA;AAAA;AAAA,EASA,WAAc,QAAqB,IAAkC;AACnE,WAAO,cAAc,QAAQ,EAAE;AAAA,EACjC;AAAA,EAuBA,MAAM,MACJ,IACA,OACA,OAAyE,CAAC,GAChC;AAC1C,UAAM,cAAc,KAAK,eAAe,KAAK,OAAO;AACpD,QAAI,CAAC,OAAO,UAAU,WAAW,KAAK,eAAe,GAAG;AACtD,YAAM,IAAI,oBAAoB,8CAA8C;AAAA,IAC9E;AACA,UAAM,EAAE,QAAQ,OAAO,IAAI;AAC3B,UAAM,UAAU,IAAI,MAAmC,MAAM,MAAM;AACnE,QAAI,OAAO;AACX,QAAI;AACJ,UAAM,SAAS,YAA2B;AACxC,aAAO,YAAY,UAAa,OAAO,MAAM,QAAQ;AACnD,YAAI,QAAQ,SAAS;AACnB,sBAAY,EAAE,OAAO,OAAO,OAAO;AACnC;AAAA,QACF;AACA,cAAM,IAAI;AACV,YAAI;AACF,gBAAM,OAAO,MAAM,CAAC;AACpB,gBAAM,QAAQ,OAAO,WAAW,SAAY,GAAG,IAAI,IAAI,cAAc,QAAQ,MAAM,GAAG,IAAI,CAAC;AAC3F,kBAAQ,CAAC,IAAI,SAAS,EAAE,QAAQ,aAAa,MAAM,IAAI;AAAA,QACzD,SAAS,OAAO;AACd,cAAI,OAAQ,SAAQ,CAAC,IAAI,EAAE,QAAQ,YAAY,QAAQ,MAAM;AAAA,cACxD,aAAY,EAAE,MAAM;AAAA,QAC3B;AAAA,MACF;AAAA,IACF;AACA,UAAM,QAAQ,IAAI,MAAM,KAAK,EAAE,QAAQ,KAAK,IAAI,aAAa,MAAM,MAAM,EAAE,GAAG,MAAM,CAAC;AACrF,QAAI,YAAY,OAAW,OAAM,QAAQ;AACzC,WAAO;AAAA,EACT;AACF;","names":[]}
package/dist/index.cjs CHANGED
@@ -1,14 +1,6 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }require('./chunk-NZUFSSIZ.cjs');
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
-
4
-
5
-
6
-
7
-
8
- var _chunkPBBFMRI5cjs = require('./chunk-PBBFMRI5.cjs');
9
-
10
-
11
- var _chunkQUFEIJEBcjs = require('./chunk-QUFEIJEB.cjs');
3
+ var _chunkDA73ALNDcjs = require('./chunk-DA73ALND.cjs');
12
4
  require('./chunk-CXM35TEC.cjs');
13
5
 
14
6
 
@@ -163,8 +155,7 @@ require('./chunk-CXM35TEC.cjs');
163
155
 
164
156
 
165
157
 
166
- var _chunkLDKIIVFVcjs = require('./chunk-LDKIIVFV.cjs');
167
-
158
+ var _chunkCQIZDSBEcjs = require('./chunk-CQIZDSBE.cjs');
168
159
 
169
160
 
170
161
 
@@ -213,9 +204,6 @@ var _chunkLDKIIVFVcjs = require('./chunk-LDKIIVFV.cjs');
213
204
 
214
205
 
215
206
 
216
- var _chunkRFXGG37Lcjs = require('./chunk-RFXGG37L.cjs');
217
- require('./chunk-U2PEBFPU.cjs');
218
-
219
207
 
220
208
 
221
209
 
@@ -259,14 +247,119 @@ require('./chunk-U2PEBFPU.cjs');
259
247
 
260
248
 
261
249
 
262
- var _chunk5QVXRT3Acjs = require('./chunk-5QVXRT3A.cjs');
263
250
 
264
251
 
265
252
 
266
253
 
267
254
 
268
255
 
269
- var _chunkIFXFOYDUcjs = require('./chunk-IFXFOYDU.cjs');
256
+ var _chunkIV2Z3JLRcjs = require('./chunk-IV2Z3JLR.cjs');
257
+ require('./chunk-U2PEBFPU.cjs');
258
+ require('./chunk-NZUFSSIZ.cjs');
259
+
260
+ // src/credentials.ts
261
+ var _fs = require('fs');
262
+ var DEFAULT_NAMES = {
263
+ apiCodeVar: "AUTOTASK_TRACKING_IDENTIFIER",
264
+ userVar: "AUTOTASK_USERNAME",
265
+ secretVar: "AUTOTASK_SECRET",
266
+ impersonationVar: "AUTOTASK_IMPERSONATION_ID"
267
+ };
268
+ var ALIASES = {
269
+ AUTOTASK_TRACKING_IDENTIFIER: ["AUTOTASK_API_CODE", "AUTOTASK_API_INTEGRATION_CODE"],
270
+ AUTOTASK_USERNAME: ["AUTOTASK_USER"]
271
+ };
272
+ function presenceError(name, source) {
273
+ return new (0, _chunkIV2Z3JLRcjs.AutotaskConfigError)(
274
+ `${source}: ${name} is not set (or is empty after shell-equivalent loading)`,
275
+ {
276
+ suggestedAction: `Set ${name} before running (see the "Credentials & env files" section of the README).`
277
+ }
278
+ );
279
+ }
280
+ function shapeError(name, value, source) {
281
+ return new (0, _chunkIV2Z3JLRcjs.AutotaskConfigError)(
282
+ `${source}: ${name} ${_chunkIV2Z3JLRcjs.CREDENTIAL_ENV_LOAD_ACTION} [${_chunkIV2Z3JLRcjs.credentialValueSummary.call(void 0, value)}]`,
283
+ {
284
+ code: "INVALID_CREDENTIAL_SHAPE",
285
+ suggestedAction: "Load the credential file with the shell (`set -a; . ./.env; set +a`), use loadAutotaskCredentialEnvFile(path), or fix the quoted/contaminated value; no request was sent."
286
+ }
287
+ );
288
+ }
289
+ function normalizeCredentialValue(raw) {
290
+ const dequoted = raw.replace(/^'([\s\S]*)'$/, "$1").replace(/^"([\s\S]*)"$/, "$1");
291
+ return dequoted.replace(/^\r+|\r+$/g, "").trim();
292
+ }
293
+ function parseCredentialEnvText(text) {
294
+ const out = [];
295
+ for (const rawLine of text.split(/\r?\n/)) {
296
+ const line = rawLine.trim();
297
+ if (line.length === 0 || line.startsWith("#")) continue;
298
+ const match = /^(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)\s*=\s*([^]*)$/.exec(line);
299
+ if (!match) continue;
300
+ out.push({ key: match[1], value: normalizeCredentialValue(match[2]) });
301
+ }
302
+ return out;
303
+ }
304
+ function readCredentialEnvFile(path) {
305
+ if (!_fs.existsSync.call(void 0, path)) {
306
+ throw new (0, _chunkIV2Z3JLRcjs.AutotaskConfigError)(`credential env file not found: ${path}`, {
307
+ suggestedAction: "Check the path, or create the file with the credentials your host needs."
308
+ });
309
+ }
310
+ const out = /* @__PURE__ */ Object.create(null);
311
+ for (const { key, value } of parseCredentialEnvText(_fs.readFileSync.call(void 0, path, "utf8"))) out[key] = value;
312
+ return out;
313
+ }
314
+ function pickAlias(values, canonical) {
315
+ for (const name of [canonical, ..._nullishCoalesce(ALIASES[canonical], () => ( []))]) {
316
+ const raw = values[name];
317
+ if (raw !== void 0 && raw.trim().length > 0) return { name, raw };
318
+ }
319
+ return void 0;
320
+ }
321
+ function loadAutotaskCredentialEnvFile(path, names = {}) {
322
+ const resolved = { ...DEFAULT_NAMES, ...names };
323
+ const values = readCredentialEnvFile(path);
324
+ return pickCredentials(values, resolved, `credential env file ${path}`, true);
325
+ }
326
+ function loadAutotaskCredentialsFromEnv(env = process.env, names = {}) {
327
+ const resolved = { ...DEFAULT_NAMES, ...names };
328
+ return pickCredentials(env, resolved, "environment", false);
329
+ }
330
+ function pickCredentials(values, names, source, canonical) {
331
+ const picked = {};
332
+ for (const variable of [names.apiCodeVar, names.userVar, names.secretVar, names.impersonationVar]) {
333
+ const chosen = canonical ? values[variable] !== void 0 ? { name: variable, raw: values[variable] } : void 0 : pickAlias(values, variable);
334
+ picked[variable] = chosen;
335
+ }
336
+ const apiCode = picked[names.apiCodeVar];
337
+ const user = picked[names.userVar];
338
+ const secret = picked[names.secretVar];
339
+ if (apiCode === void 0) throw presenceError(names.apiCodeVar, source);
340
+ if (user === void 0) throw presenceError(names.userVar, source);
341
+ if (secret === void 0) throw presenceError(names.secretVar, source);
342
+ const out = {};
343
+ for (const [name, entry] of [
344
+ [names.apiCodeVar, apiCode],
345
+ [names.userVar, user],
346
+ [names.secretVar, secret],
347
+ [names.impersonationVar, picked[names.impersonationVar]]
348
+ ]) {
349
+ if (entry === void 0) continue;
350
+ const value = normalizeCredentialValue(entry.raw);
351
+ if (_chunkIV2Z3JLRcjs.credentialShapeProblem.call(void 0, value, { skipEdgeWhitespace: true }) !== void 0) {
352
+ throw shapeError(name, value, source);
353
+ }
354
+ out[name] = value;
355
+ }
356
+ return {
357
+ apiIntegrationCode: out[names.apiCodeVar],
358
+ userName: out[names.userVar],
359
+ secret: out[names.secretVar],
360
+ ...out[names.impersonationVar] !== void 0 ? { impersonationResourceId: out[names.impersonationVar] } : {}
361
+ };
362
+ }
270
363
 
271
364
  // src/doctor.ts
272
365
  var DOCTOR_MAX_REQUESTS = 8;
@@ -290,7 +383,7 @@ var DOCTOR_CHECK_IDS = [
290
383
  "threshold"
291
384
  ];
292
385
  var present = (v) => typeof v === "string" && v.trim().length > 0;
293
- var knownZone = (z) => typeof z === "string" && _chunkRFXGG37Lcjs.ZONES.includes(z);
386
+ var knownZone = (z) => typeof z === "string" && _chunkIV2Z3JLRcjs.ZONES.includes(z);
294
387
  function doctorConfigStep(source, origin = "config") {
295
388
  const fields = ["apiIntegrationCode", "userName", "secret", "zone", "baseUrl", "impersonationResourceId"];
296
389
  const sources = {};
@@ -318,7 +411,7 @@ function doctorConfigStep(source, origin = "config") {
318
411
  } else if (knownZone(zone)) {
319
412
  let url;
320
413
  try {
321
- url = _chunkRFXGG37Lcjs.zoneUrl.call(void 0, zone);
414
+ url = _chunkIV2Z3JLRcjs.zoneUrl.call(void 0, zone);
322
415
  zoneInfo = { provided: true, resolvable: true, zone, baseUrlHost: new URL(url).host };
323
416
  } catch (e2) {
324
417
  zoneInfo = { provided: true, resolvable: false, zone };
@@ -327,13 +420,13 @@ function doctorConfigStep(source, origin = "config") {
327
420
  zoneInfo = { provided: true, resolvable: false, zone };
328
421
  }
329
422
  } else {
330
- zoneInfo = { provided: false, resolvable: true, zone: _chunkRFXGG37Lcjs.DEFAULT_ZONE, baseUrlHost: new URL(_chunkRFXGG37Lcjs.zoneUrl.call(void 0, _chunkRFXGG37Lcjs.DEFAULT_ZONE)).host };
423
+ zoneInfo = { provided: false, resolvable: true, zone: _chunkIV2Z3JLRcjs.DEFAULT_ZONE, baseUrlHost: new URL(_chunkIV2Z3JLRcjs.zoneUrl.call(void 0, _chunkIV2Z3JLRcjs.DEFAULT_ZONE)).host };
331
424
  }
332
425
  const problems = [];
333
426
  if (missing.length > 0) problems.push(`missing credential(s): ${missing.join(", ")}`);
334
427
  if (zoneInfo.provided && !zoneInfo.resolvable) {
335
428
  problems.push(
336
- source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${_chunkRFXGG37Lcjs.ZONES.length} zones)`
429
+ source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${_chunkIV2Z3JLRcjs.ZONES.length} zones)`
337
430
  );
338
431
  }
339
432
  if (problems.length > 0) {
@@ -361,13 +454,13 @@ async function timeCheck(id, fn) {
361
454
  const out = await fn();
362
455
  return { check: { id, status: out.status, message: out.message, ...out.hint !== void 0 ? { hint: out.hint } : {}, durationMs: Date.now() - started }, value: out.value };
363
456
  } catch (err) {
364
- const code = _chunk5QVXRT3Acjs.isAutotaskError.call(void 0, err) ? err.code : "UNEXPECTED";
457
+ const code = _chunkIV2Z3JLRcjs.isAutotaskError.call(void 0, err) ? err.code : "UNEXPECTED";
365
458
  return {
366
459
  check: {
367
460
  id,
368
461
  status: "fail",
369
462
  message: `check failed unexpectedly (machine code ${code})`,
370
- hint: _chunk5QVXRT3Acjs.isAutotaskError.call(void 0, err) ? err.suggestedAction : void 0,
463
+ hint: _chunkIV2Z3JLRcjs.isAutotaskError.call(void 0, err) ? err.suggestedAction : void 0,
371
464
  durationMs: Date.now() - started
372
465
  }
373
466
  };
@@ -395,12 +488,12 @@ async function runDoctor(client, opts = {}) {
395
488
  });
396
489
  return { body };
397
490
  } catch (err) {
398
- if (_chunk5QVXRT3Acjs.isAutotaskError.call(void 0, err)) return { error: err };
491
+ if (_chunkIV2Z3JLRcjs.isAutotaskError.call(void 0, err)) return { error: err };
399
492
  throw err;
400
493
  }
401
494
  };
402
495
  const failFrom = (err, what) => {
403
- if (err instanceof _chunk5QVXRT3Acjs.RateLimitError && (err.code === "RATE_LIMITED_COOLDOWN" || err.notSent === true)) {
496
+ if (err instanceof _chunkIV2Z3JLRcjs.RateLimitError && (err.code === "RATE_LIMITED_COOLDOWN" || err.notSent === true)) {
404
497
  return {
405
498
  status: "fail",
406
499
  message: `${what} \u2014 refused LOCALLY by the tenant 429 cooldown gate (the call was NOT sent)`,
@@ -460,7 +553,7 @@ async function runDoctor(client, opts = {}) {
460
553
  const id = `read.${entity.key}`;
461
554
  const result = await timeCheck(id, async () => {
462
555
  if (zoneUnavailable) return skip("zone discovery proved the API or credentials unavailable (check #zone)");
463
- const req = _chunkLDKIIVFVcjs.buildQueryRequest.call(void 0, cfg.baseUrl, entity.path, { maxRecords: 1 });
556
+ const req = _chunkCQIZDSBEcjs.buildQueryRequest.call(void 0, cfg.baseUrl, entity.path, { maxRecords: 1 });
464
557
  const out = await wire(req.method, req.path, `doctor.${id}`, { body: req.body, idempotent: req.idempotent });
465
558
  if (out.error) {
466
559
  const f = failFrom(out.error, `read access to ${entity.label}`);
@@ -783,5 +876,5 @@ async function runDoctor(client, opts = {}) {
783
876
 
784
877
 
785
878
 
786
- exports.AGENT_PROFILE = _chunkRFXGG37Lcjs.AGENT_PROFILE; exports.AUTH_HEADERS = _chunkLDKIIVFVcjs.AUTH_HEADERS; exports.AppointmentsResource = _chunkLDKIIVFVcjs.AppointmentsResource; exports.AuthenticateResource = _chunkLDKIIVFVcjs.AuthenticateResource; exports.AutotaskAbortError = _chunk5QVXRT3Acjs.AutotaskAbortError; exports.AutotaskClient = _chunkQUFEIJEBcjs.AutotaskClient; exports.AutotaskConfigError = _chunk5QVXRT3Acjs.AutotaskConfigError; exports.AutotaskError = _chunk5QVXRT3Acjs.AutotaskError; exports.AutotaskNetworkError = _chunk5QVXRT3Acjs.AutotaskNetworkError; exports.AutotaskTimeoutError = _chunk5QVXRT3Acjs.AutotaskTimeoutError; exports.BadRequestError = _chunk5QVXRT3Acjs.BadRequestError; exports.BillingCodesResource = _chunkLDKIIVFVcjs.BillingCodesResource; exports.BillingItemsResource = _chunkLDKIIVFVcjs.BillingItemsResource; exports.CONFIDENTIAL_RESPONSE_FIELDS = _chunk5QVXRT3Acjs.CONFIDENTIAL_RESPONSE_FIELDS; exports.CREDENTIAL_ENV_LOAD_ACTION = _chunkIFXFOYDUcjs.CREDENTIAL_ENV_LOAD_ACTION; exports.CREDENTIAL_HEADER_NAMES = _chunk5QVXRT3Acjs.CREDENTIAL_HEADER_NAMES; exports.CREDENTIAL_SHAPE_POINTER = _chunk5QVXRT3Acjs.CREDENTIAL_SHAPE_POINTER; exports.ChangeRequestLinksResource = _chunkLDKIIVFVcjs.ChangeRequestLinksResource; exports.ChecklistLibrariesResource = _chunkLDKIIVFVcjs.ChecklistLibrariesResource; exports.ChecklistLibraryChecklistItemsResource = _chunkLDKIIVFVcjs.ChecklistLibraryChecklistItemsResource; exports.CircuitBreakerError = _chunk5QVXRT3Acjs.CircuitBreakerError; exports.ClassificationIconsResource = _chunkLDKIIVFVcjs.ClassificationIconsResource; exports.CompaniesResource = _chunkLDKIIVFVcjs.CompaniesResource; exports.CompanyAlertsResource = _chunkLDKIIVFVcjs.CompanyAlertsResource; exports.CompanyLocationsResource = _chunkLDKIIVFVcjs.CompanyLocationsResource; exports.CompanyNotesResource = _chunkLDKIIVFVcjs.CompanyNotesResource; exports.CompanySiteConfigurationsResource = _chunkLDKIIVFVcjs.CompanySiteConfigurationsResource; exports.CompanyWebhooksResource = _chunkLDKIIVFVcjs.CompanyWebhooksResource; exports.ConfigurationItemBillingProductAssociationsResource = _chunkLDKIIVFVcjs.ConfigurationItemBillingProductAssociationsResource; exports.ConfigurationItemCategoriesResource = _chunkLDKIIVFVcjs.ConfigurationItemCategoriesResource; exports.ConfigurationItemCategoryUdfAssociationsResource = _chunkLDKIIVFVcjs.ConfigurationItemCategoryUdfAssociationsResource; exports.ConfigurationItemDnsRecordsResource = _chunkLDKIIVFVcjs.ConfigurationItemDnsRecordsResource; exports.ConfigurationItemNotesResource = _chunkLDKIIVFVcjs.ConfigurationItemNotesResource; exports.ConfigurationItemRelatedItemsResource = _chunkLDKIIVFVcjs.ConfigurationItemRelatedItemsResource; exports.ConfigurationItemSslSubjectAlternativeNamesResource = _chunkLDKIIVFVcjs.ConfigurationItemSslSubjectAlternativeNamesResource; exports.ConfigurationItemTypesResource = _chunkLDKIIVFVcjs.ConfigurationItemTypesResource; exports.ConfigurationItemWebhooksResource = _chunkLDKIIVFVcjs.ConfigurationItemWebhooksResource; exports.ConfigurationItemsResource = _chunkLDKIIVFVcjs.ConfigurationItemsResource; exports.ConfirmationRequiredError = _chunk5QVXRT3Acjs.ConfirmationRequiredError; exports.ConflictError = _chunk5QVXRT3Acjs.ConflictError; exports.ContactGroupContactsResource = _chunkLDKIIVFVcjs.ContactGroupContactsResource; exports.ContactGroupsResource = _chunkLDKIIVFVcjs.ContactGroupsResource; exports.ContactWebhooksResource = _chunkLDKIIVFVcjs.ContactWebhooksResource; exports.ContactsResource = _chunkLDKIIVFVcjs.ContactsResource; exports.ContractBillingRulesResource = _chunkLDKIIVFVcjs.ContractBillingRulesResource; exports.ContractBlockHourFactorsResource = _chunkLDKIIVFVcjs.ContractBlockHourFactorsResource; exports.ContractBlocksResource = _chunkLDKIIVFVcjs.ContractBlocksResource; exports.ContractChargesResource = _chunkLDKIIVFVcjs.ContractChargesResource; exports.ContractExclusionBillingCodesResource = _chunkLDKIIVFVcjs.ContractExclusionBillingCodesResource; exports.ContractExclusionRolesResource = _chunkLDKIIVFVcjs.ContractExclusionRolesResource; exports.ContractExclusionSetExcludedRolesResource = _chunkLDKIIVFVcjs.ContractExclusionSetExcludedRolesResource; exports.ContractExclusionSetExcludedWorkTypesResource = _chunkLDKIIVFVcjs.ContractExclusionSetExcludedWorkTypesResource; exports.ContractExclusionSetsResource = _chunkLDKIIVFVcjs.ContractExclusionSetsResource; exports.ContractMilestonesResource = _chunkLDKIIVFVcjs.ContractMilestonesResource; exports.ContractNotesResource = _chunkLDKIIVFVcjs.ContractNotesResource; exports.ContractRatesResource = _chunkLDKIIVFVcjs.ContractRatesResource; exports.ContractRetainersResource = _chunkLDKIIVFVcjs.ContractRetainersResource; exports.ContractRoleCostsResource = _chunkLDKIIVFVcjs.ContractRoleCostsResource; exports.ContractServiceAdjustmentsResource = _chunkLDKIIVFVcjs.ContractServiceAdjustmentsResource; exports.ContractServiceBundleAdjustmentsResource = _chunkLDKIIVFVcjs.ContractServiceBundleAdjustmentsResource; exports.ContractServiceBundleUnitsResource = _chunkLDKIIVFVcjs.ContractServiceBundleUnitsResource; exports.ContractServiceBundlesResource = _chunkLDKIIVFVcjs.ContractServiceBundlesResource; exports.ContractServiceUnitsResource = _chunkLDKIIVFVcjs.ContractServiceUnitsResource; exports.ContractServicesResource = _chunkLDKIIVFVcjs.ContractServicesResource; exports.ContractTicketPurchasesResource = _chunkLDKIIVFVcjs.ContractTicketPurchasesResource; exports.ContractsResource = _chunkLDKIIVFVcjs.ContractsResource; exports.CountriesResource = _chunkLDKIIVFVcjs.CountriesResource; exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD = _chunkRFXGG37Lcjs.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD; exports.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES = _chunkRFXGG37Lcjs.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES; exports.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS = _chunkRFXGG37Lcjs.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS; exports.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE = _chunkRFXGG37Lcjs.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE; exports.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS = _chunkRFXGG37Lcjs.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS; exports.DEFAULT_COOLDOWN_DEFAULT_MS = _chunkRFXGG37Lcjs.DEFAULT_COOLDOWN_DEFAULT_MS; exports.DEFAULT_COOLDOWN_MAX_ENTRIES = _chunkRFXGG37Lcjs.DEFAULT_COOLDOWN_MAX_ENTRIES; exports.DEFAULT_COOLDOWN_MAX_MS = _chunkRFXGG37Lcjs.DEFAULT_COOLDOWN_MAX_MS; exports.DEFAULT_MAX_CONCURRENT = _chunkRFXGG37Lcjs.DEFAULT_MAX_CONCURRENT; exports.DEFAULT_MAX_RESPONSE_BYTES = _chunkRFXGG37Lcjs.DEFAULT_MAX_RESPONSE_BYTES; exports.DEFAULT_MAX_RETRIES = _chunkRFXGG37Lcjs.DEFAULT_MAX_RETRIES; exports.DEFAULT_MAX_SCAN_PAGES = _chunkRFXGG37Lcjs.DEFAULT_MAX_SCAN_PAGES; exports.DEFAULT_MAX_SCAN_RECORDS = _chunkRFXGG37Lcjs.DEFAULT_MAX_SCAN_RECORDS; exports.DEFAULT_PAGE_SIZE = _chunkRFXGG37Lcjs.DEFAULT_PAGE_SIZE; exports.DEFAULT_TIMEOUT_MS = _chunkRFXGG37Lcjs.DEFAULT_TIMEOUT_MS; exports.DEFAULT_ZONE = _chunkRFXGG37Lcjs.DEFAULT_ZONE; exports.DOCTOR_CHECK_IDS = DOCTOR_CHECK_IDS; exports.DOCTOR_CHECK_TIMEOUT_MS = DOCTOR_CHECK_TIMEOUT_MS; exports.DOCTOR_MAX_REQUESTS = DOCTOR_MAX_REQUESTS; exports.DeleteBoundaryError = _chunk5QVXRT3Acjs.DeleteBoundaryError; exports.DepartmentsResource = _chunkLDKIIVFVcjs.DepartmentsResource; exports.DomainRegistrarsResource = _chunkLDKIIVFVcjs.DomainRegistrarsResource; exports.EmptyResponseError = _chunk5QVXRT3Acjs.EmptyResponseError; exports.EntityInformationResource = _chunkLDKIIVFVcjs.EntityInformationResource; exports.ExpenseItemAttachmentsResource = _chunkLDKIIVFVcjs.ExpenseItemAttachmentsResource; exports.ExpenseItemsResource = _chunkLDKIIVFVcjs.ExpenseItemsResource; exports.ExpenseReportsResource = _chunkLDKIIVFVcjs.ExpenseReportsResource; exports.FILTER_OPERATORS = _chunkLDKIIVFVcjs.FILTER_OPERATORS; exports.ForbiddenError = _chunk5QVXRT3Acjs.ForbiddenError; exports.GROUPING_OPERATORS = _chunkLDKIIVFVcjs.GROUPING_OPERATORS; exports.HolidaySetsResource = _chunkLDKIIVFVcjs.HolidaySetsResource; exports.HolidaysResource = _chunkLDKIIVFVcjs.HolidaysResource; exports.HostPolicyDeniedError = _chunk5QVXRT3Acjs.HostPolicyDeniedError; exports.HttpClient = _chunkLDKIIVFVcjs.HttpClient; exports.IDEMPOTENT_METHODS = _chunkLDKIIVFVcjs.IDEMPOTENT_METHODS; exports.InMemoryCircuitBreakerStore = _chunkRFXGG37Lcjs.InMemoryCircuitBreakerStore; exports.InMemoryCooldownStore = _chunkRFXGG37Lcjs.InMemoryCooldownStore; exports.InventoryProductsResource = _chunkLDKIIVFVcjs.InventoryProductsResource; exports.InvoicesResource = _chunkLDKIIVFVcjs.InvoicesResource; exports.MAX_FIELD_LENGTH = _chunkLDKIIVFVcjs.MAX_FIELD_LENGTH; exports.MAX_GET_LENGTH = _chunkLDKIIVFVcjs.MAX_GET_LENGTH; exports.MAX_OR_CONDITIONS = _chunkLDKIIVFVcjs.MAX_OR_CONDITIONS; exports.MAX_PAGES = _chunkRFXGG37Lcjs.MAX_PAGES; exports.MAX_PAGE_SIZE = _chunkRFXGG37Lcjs.MAX_PAGE_SIZE; exports.MAX_QUERY_LENGTH = _chunkLDKIIVFVcjs.MAX_QUERY_LENGTH; exports.MAX_UDF_PER_QUERY = _chunkLDKIIVFVcjs.MAX_UDF_PER_QUERY; exports.MIN_PREFIX_SUMMARY_LENGTH = _chunkIFXFOYDUcjs.MIN_PREFIX_SUMMARY_LENGTH; exports.MarkerUnsafeIdError = _chunk5QVXRT3Acjs.MarkerUnsafeIdError; exports.ModulesResource = _chunkLDKIIVFVcjs.ModulesResource; exports.NoopLogger = _chunk5QVXRT3Acjs.NoopLogger; exports.NotFoundError = _chunk5QVXRT3Acjs.NotFoundError; exports.NotificationHistoryResource = _chunkLDKIIVFVcjs.NotificationHistoryResource; exports.OpportunitiesResource = _chunkLDKIIVFVcjs.OpportunitiesResource; exports.OpportunityAttachmentsResource = _chunkLDKIIVFVcjs.OpportunityAttachmentsResource; exports.OpportunityCategoriesResource = _chunkLDKIIVFVcjs.OpportunityCategoriesResource; exports.PERSONAL_RESPONSE_FIELDS = _chunk5QVXRT3Acjs.PERSONAL_RESPONSE_FIELDS; exports.PaginationLimitError = _chunk5QVXRT3Acjs.PaginationLimitError; exports.PhasesResource = _chunkLDKIIVFVcjs.PhasesResource; exports.ProductVendorsResource = _chunkLDKIIVFVcjs.ProductVendorsResource; exports.ProductsResource = _chunkLDKIIVFVcjs.ProductsResource; exports.ProjectChargesResource = _chunkLDKIIVFVcjs.ProjectChargesResource; exports.ProjectNotesResource = _chunkLDKIIVFVcjs.ProjectNotesResource; exports.ProjectsResource = _chunkLDKIIVFVcjs.ProjectsResource; exports.PurchaseApprovalsResource = _chunkLDKIIVFVcjs.PurchaseApprovalsResource; exports.PurchaseOrderItemReceivingResource = _chunkLDKIIVFVcjs.PurchaseOrderItemReceivingResource; exports.PurchaseOrderItemsResource = _chunkLDKIIVFVcjs.PurchaseOrderItemsResource; exports.PurchaseOrdersResource = _chunkLDKIIVFVcjs.PurchaseOrdersResource; exports.QueryTooLongError = _chunk5QVXRT3Acjs.QueryTooLongError; exports.QuoteItemsResource = _chunkLDKIIVFVcjs.QuoteItemsResource; exports.QuoteLocationsResource = _chunkLDKIIVFVcjs.QuoteLocationsResource; exports.QuoteTemplatesResource = _chunkLDKIIVFVcjs.QuoteTemplatesResource; exports.QuotesResource = _chunkLDKIIVFVcjs.QuotesResource; exports.REDACTED = _chunk5QVXRT3Acjs.REDACTED; exports.RateLimitError = _chunk5QVXRT3Acjs.RateLimitError; exports.RecoveryTruncatedError = _chunk5QVXRT3Acjs.RecoveryTruncatedError; exports.ResolutionError = _chunk5QVXRT3Acjs.ResolutionError; exports.ResourceRoleQueuesResource = _chunkLDKIIVFVcjs.ResourceRoleQueuesResource; exports.ResourceRolesResource = _chunkLDKIIVFVcjs.ResourceRolesResource; exports.ResourceSkillsResource = _chunkLDKIIVFVcjs.ResourceSkillsResource; exports.ResourceTimeOffAdditionalResource = _chunkLDKIIVFVcjs.ResourceTimeOffAdditionalResource; exports.ResourceTimeOffApproversResource = _chunkLDKIIVFVcjs.ResourceTimeOffApproversResource; exports.ResourceTimeOffBalancesResource = _chunkLDKIIVFVcjs.ResourceTimeOffBalancesResource; exports.ResourcesResource = _chunkLDKIIVFVcjs.ResourcesResource; exports.ResponseRejectedError = _chunk5QVXRT3Acjs.ResponseRejectedError; exports.RolesResource = _chunkLDKIIVFVcjs.RolesResource; exports.SECRET_RESPONSE_FIELDS = _chunk5QVXRT3Acjs.SECRET_RESPONSE_FIELDS; exports.ServerError = _chunk5QVXRT3Acjs.ServerError; exports.ServiceCallTaskResourcesResource = _chunkLDKIIVFVcjs.ServiceCallTaskResourcesResource; exports.ServiceCallTasksResource = _chunkLDKIIVFVcjs.ServiceCallTasksResource; exports.ServiceCallTicketResourcesResource = _chunkLDKIIVFVcjs.ServiceCallTicketResourcesResource; exports.ServiceCallTicketsResource = _chunkLDKIIVFVcjs.ServiceCallTicketsResource; exports.ServiceCallsResource = _chunkLDKIIVFVcjs.ServiceCallsResource; exports.ServiceLevelAgreementResultsResource = _chunkLDKIIVFVcjs.ServiceLevelAgreementResultsResource; exports.ServicesResource = _chunkLDKIIVFVcjs.ServicesResource; exports.SkillsResource = _chunkLDKIIVFVcjs.SkillsResource; exports.StaleObjectError = _chunk5QVXRT3Acjs.StaleObjectError; exports.SubscriptionPeriodsResource = _chunkLDKIIVFVcjs.SubscriptionPeriodsResource; exports.SubscriptionsResource = _chunkLDKIIVFVcjs.SubscriptionsResource; exports.SurveyResultsResource = _chunkLDKIIVFVcjs.SurveyResultsResource; exports.SurveysResource = _chunkLDKIIVFVcjs.SurveysResource; exports.TagAliasesResource = _chunkLDKIIVFVcjs.TagAliasesResource; exports.TagGroupsResource = _chunkLDKIIVFVcjs.TagGroupsResource; exports.TagsResource = _chunkLDKIIVFVcjs.TagsResource; exports.TaskSecondaryResourcesResource = _chunkLDKIIVFVcjs.TaskSecondaryResourcesResource; exports.TasksResource = _chunkLDKIIVFVcjs.TasksResource; exports.ThresholdInformationResource = _chunkLDKIIVFVcjs.ThresholdInformationResource; exports.TicketAdditionalConfigurationItemsResource = _chunkLDKIIVFVcjs.TicketAdditionalConfigurationItemsResource; exports.TicketAdditionalContactsResource = _chunkLDKIIVFVcjs.TicketAdditionalContactsResource; exports.TicketAttachmentsResource = _chunkLDKIIVFVcjs.TicketAttachmentsResource; exports.TicketCategoriesResource = _chunkLDKIIVFVcjs.TicketCategoriesResource; exports.TicketCategoryFieldDefaultsResource = _chunkLDKIIVFVcjs.TicketCategoryFieldDefaultsResource; exports.TicketChangeRequestApprovalsResource = _chunkLDKIIVFVcjs.TicketChangeRequestApprovalsResource; exports.TicketChargesResource = _chunkLDKIIVFVcjs.TicketChargesResource; exports.TicketChecklistItemsResource = _chunkLDKIIVFVcjs.TicketChecklistItemsResource; exports.TicketChecklistLibrariesResource = _chunkLDKIIVFVcjs.TicketChecklistLibrariesResource; exports.TicketHistoryResource = _chunkLDKIIVFVcjs.TicketHistoryResource; exports.TicketNoteAttachmentsResource = _chunkLDKIIVFVcjs.TicketNoteAttachmentsResource; exports.TicketNoteWebhooksResource = _chunkLDKIIVFVcjs.TicketNoteWebhooksResource; exports.TicketNotesResource = _chunkLDKIIVFVcjs.TicketNotesResource; exports.TicketSecondaryResourcesResource = _chunkLDKIIVFVcjs.TicketSecondaryResourcesResource; exports.TicketWebhooksResource = _chunkLDKIIVFVcjs.TicketWebhooksResource; exports.TicketsResource = _chunkLDKIIVFVcjs.TicketsResource; exports.TimeEntriesResource = _chunkLDKIIVFVcjs.TimeEntriesResource; exports.TimeEntryAttachmentsResource = _chunkLDKIIVFVcjs.TimeEntryAttachmentsResource; exports.TimeOffRequestsResource = _chunkLDKIIVFVcjs.TimeOffRequestsResource; exports.UnauthorizedError = _chunk5QVXRT3Acjs.UnauthorizedError; exports.UnexpectedContentTypeError = _chunk5QVXRT3Acjs.UnexpectedContentTypeError; exports.UnprocessableEntityError = _chunk5QVXRT3Acjs.UnprocessableEntityError; exports.VersionInformationResource = _chunkLDKIIVFVcjs.VersionInformationResource; exports.VersionResource = _chunkLDKIIVFVcjs.VersionResource; exports.ZONES = _chunkRFXGG37Lcjs.ZONES; exports.ZONE_CATALOG = _chunkRFXGG37Lcjs.ZONE_CATALOG; exports.ZoneInformationResource = _chunkLDKIIVFVcjs.ZoneInformationResource; exports.assertRecord = _chunkRFXGG37Lcjs.assertRecord; exports.buildAuthHeaders = _chunkLDKIIVFVcjs.buildAuthHeaders; exports.buildBreakerKey = _chunkRFXGG37Lcjs.buildBreakerKey; exports.buildFilter = _chunkLDKIIVFVcjs.buildFilter; exports.buildQueryRequest = _chunkLDKIIVFVcjs.buildQueryRequest; exports.buildTenantKey = _chunkRFXGG37Lcjs.buildTenantKey; exports.buildUrl = _chunkLDKIIVFVcjs.buildUrl; exports.camelKey = _chunkRFXGG37Lcjs.camelKey; exports.clampPageSize = _chunkRFXGG37Lcjs.clampPageSize; exports.collectAll = _chunkRFXGG37Lcjs.collectAll; exports.cooldownDurationMs = _chunkRFXGG37Lcjs.cooldownDurationMs; exports.credentialShapeProblem = _chunkIFXFOYDUcjs.credentialShapeProblem; exports.credentialValueSummary = _chunkIFXFOYDUcjs.credentialValueSummary; exports.deepMergeParams = _chunkRFXGG37Lcjs.deepMergeParams; exports.defaultCircuitBreakerStore = _chunkRFXGG37Lcjs.defaultCircuitBreakerStore; exports.defaultCooldownStore = _chunkRFXGG37Lcjs.defaultCooldownStore; exports.doctorConfigStep = doctorConfigStep; exports.errorFromStatus = _chunk5QVXRT3Acjs.errorFromStatus; exports.flattenUdfs = _chunkRFXGG37Lcjs.flattenUdfs; exports.formatVendorDetail = _chunk5QVXRT3Acjs.formatVendorDetail; exports.hasSurroundingQuotes = _chunkIFXFOYDUcjs.hasSurroundingQuotes; exports.isAutotaskError = _chunk5QVXRT3Acjs.isAutotaskError; exports.isBreakerFailure = _chunkRFXGG37Lcjs.isBreakerFailure; exports.isCredentialHeaderName = _chunk5QVXRT3Acjs.isCredentialHeaderName; exports.isDeterministicVendor500 = _chunk5QVXRT3Acjs.isDeterministicVendor500; exports.isFilterOperator = _chunkLDKIIVFVcjs.isFilterOperator; exports.isRecord = _chunkRFXGG37Lcjs.isRecord; exports.isRedactedFieldName = _chunk5QVXRT3Acjs.isRedactedFieldName; exports.loadAutotaskCredentialEnvFile = _chunkPBBFMRI5cjs.loadAutotaskCredentialEnvFile; exports.loadAutotaskCredentialsFromEnv = _chunkPBBFMRI5cjs.loadAutotaskCredentialsFromEnv; exports.mergeDetails = _chunk5QVXRT3Acjs.mergeDetails; exports.newCorrelationId = _chunkRFXGG37Lcjs.newCorrelationId; exports.normalizeCredentialValue = _chunkPBBFMRI5cjs.normalizeCredentialValue; exports.paginate = _chunkRFXGG37Lcjs.paginate; exports.paginateItems = _chunkRFXGG37Lcjs.paginateItems; exports.parseCredentialEnvText = _chunkPBBFMRI5cjs.parseCredentialEnvText; exports.parseIdentifier = _chunkRFXGG37Lcjs.parseIdentifier; exports.parseVendorErrors = _chunk5QVXRT3Acjs.parseVendorErrors; exports.passthrough = _chunkLDKIIVFVcjs.passthrough; exports.readCredentialEnvFile = _chunkPBBFMRI5cjs.readCredentialEnvFile; exports.redactAuditBody = _chunkRFXGG37Lcjs.redactAuditBody; exports.redactRecord = _chunk5QVXRT3Acjs.redactRecord; exports.redactResponseBody = _chunk5QVXRT3Acjs.redactResponseBody; exports.resetDefaultCircuitBreakerStore = _chunkRFXGG37Lcjs.resetDefaultCircuitBreakerStore; exports.resetDefaultCooldownStore = _chunkRFXGG37Lcjs.resetDefaultCooldownStore; exports.resolveBaseUrl = _chunkRFXGG37Lcjs.resolveBaseUrl; exports.resolveConfig = _chunkRFXGG37Lcjs.resolveConfig; exports.runDoctor = runDoctor; exports.runWithSignal = _chunkLDKIIVFVcjs.runWithSignal; exports.serializeFilter = _chunkLDKIIVFVcjs.serializeFilter; exports.toArray = _chunkRFXGG37Lcjs.toArray; exports.totalPagesFor = _chunkRFXGG37Lcjs.totalPagesFor; exports.unwrapItem = _chunkLDKIIVFVcjs.unwrapItem; exports.unwrapItems = _chunkLDKIIVFVcjs.unwrapItems; exports.unwrapOperation = _chunkLDKIIVFVcjs.unwrapOperation; exports.unwrapQueryCount = _chunkLDKIIVFVcjs.unwrapQueryCount; exports.validateFilter = _chunkLDKIIVFVcjs.validateFilter; exports.withAuthHeaders = _chunkLDKIIVFVcjs.withAuthHeaders; exports.zoneUrl = _chunkRFXGG37Lcjs.zoneUrl;
879
+ exports.AGENT_PROFILE = _chunkIV2Z3JLRcjs.AGENT_PROFILE; exports.AUTH_HEADERS = _chunkCQIZDSBEcjs.AUTH_HEADERS; exports.AppointmentsResource = _chunkCQIZDSBEcjs.AppointmentsResource; exports.AuthenticateResource = _chunkCQIZDSBEcjs.AuthenticateResource; exports.AutotaskAbortError = _chunkIV2Z3JLRcjs.AutotaskAbortError; exports.AutotaskClient = _chunkDA73ALNDcjs.AutotaskClient; exports.AutotaskConfigError = _chunkIV2Z3JLRcjs.AutotaskConfigError; exports.AutotaskError = _chunkIV2Z3JLRcjs.AutotaskError; exports.AutotaskNetworkError = _chunkIV2Z3JLRcjs.AutotaskNetworkError; exports.AutotaskTimeoutError = _chunkIV2Z3JLRcjs.AutotaskTimeoutError; exports.BadRequestError = _chunkIV2Z3JLRcjs.BadRequestError; exports.BillingCodesResource = _chunkCQIZDSBEcjs.BillingCodesResource; exports.BillingItemsResource = _chunkCQIZDSBEcjs.BillingItemsResource; exports.CONFIDENTIAL_RESPONSE_FIELDS = _chunkIV2Z3JLRcjs.CONFIDENTIAL_RESPONSE_FIELDS; exports.CREDENTIAL_ENV_LOAD_ACTION = _chunkIV2Z3JLRcjs.CREDENTIAL_ENV_LOAD_ACTION; exports.CREDENTIAL_HEADER_NAMES = _chunkIV2Z3JLRcjs.CREDENTIAL_HEADER_NAMES; exports.CREDENTIAL_SHAPE_POINTER = _chunkIV2Z3JLRcjs.CREDENTIAL_SHAPE_POINTER; exports.ChangeRequestLinksResource = _chunkCQIZDSBEcjs.ChangeRequestLinksResource; exports.ChecklistLibrariesResource = _chunkCQIZDSBEcjs.ChecklistLibrariesResource; exports.ChecklistLibraryChecklistItemsResource = _chunkCQIZDSBEcjs.ChecklistLibraryChecklistItemsResource; exports.CircuitBreakerError = _chunkIV2Z3JLRcjs.CircuitBreakerError; exports.ClassificationIconsResource = _chunkCQIZDSBEcjs.ClassificationIconsResource; exports.CompaniesResource = _chunkCQIZDSBEcjs.CompaniesResource; exports.CompanyAlertsResource = _chunkCQIZDSBEcjs.CompanyAlertsResource; exports.CompanyLocationsResource = _chunkCQIZDSBEcjs.CompanyLocationsResource; exports.CompanyNotesResource = _chunkCQIZDSBEcjs.CompanyNotesResource; exports.CompanySiteConfigurationsResource = _chunkCQIZDSBEcjs.CompanySiteConfigurationsResource; exports.CompanyWebhooksResource = _chunkCQIZDSBEcjs.CompanyWebhooksResource; exports.ConfigurationItemBillingProductAssociationsResource = _chunkCQIZDSBEcjs.ConfigurationItemBillingProductAssociationsResource; exports.ConfigurationItemCategoriesResource = _chunkCQIZDSBEcjs.ConfigurationItemCategoriesResource; exports.ConfigurationItemCategoryUdfAssociationsResource = _chunkCQIZDSBEcjs.ConfigurationItemCategoryUdfAssociationsResource; exports.ConfigurationItemDnsRecordsResource = _chunkCQIZDSBEcjs.ConfigurationItemDnsRecordsResource; exports.ConfigurationItemNotesResource = _chunkCQIZDSBEcjs.ConfigurationItemNotesResource; exports.ConfigurationItemRelatedItemsResource = _chunkCQIZDSBEcjs.ConfigurationItemRelatedItemsResource; exports.ConfigurationItemSslSubjectAlternativeNamesResource = _chunkCQIZDSBEcjs.ConfigurationItemSslSubjectAlternativeNamesResource; exports.ConfigurationItemTypesResource = _chunkCQIZDSBEcjs.ConfigurationItemTypesResource; exports.ConfigurationItemWebhooksResource = _chunkCQIZDSBEcjs.ConfigurationItemWebhooksResource; exports.ConfigurationItemsResource = _chunkCQIZDSBEcjs.ConfigurationItemsResource; exports.ConfirmationRequiredError = _chunkIV2Z3JLRcjs.ConfirmationRequiredError; exports.ConflictError = _chunkIV2Z3JLRcjs.ConflictError; exports.ContactGroupContactsResource = _chunkCQIZDSBEcjs.ContactGroupContactsResource; exports.ContactGroupsResource = _chunkCQIZDSBEcjs.ContactGroupsResource; exports.ContactWebhooksResource = _chunkCQIZDSBEcjs.ContactWebhooksResource; exports.ContactsResource = _chunkCQIZDSBEcjs.ContactsResource; exports.ContractBillingRulesResource = _chunkCQIZDSBEcjs.ContractBillingRulesResource; exports.ContractBlockHourFactorsResource = _chunkCQIZDSBEcjs.ContractBlockHourFactorsResource; exports.ContractBlocksResource = _chunkCQIZDSBEcjs.ContractBlocksResource; exports.ContractChargesResource = _chunkCQIZDSBEcjs.ContractChargesResource; exports.ContractExclusionBillingCodesResource = _chunkCQIZDSBEcjs.ContractExclusionBillingCodesResource; exports.ContractExclusionRolesResource = _chunkCQIZDSBEcjs.ContractExclusionRolesResource; exports.ContractExclusionSetExcludedRolesResource = _chunkCQIZDSBEcjs.ContractExclusionSetExcludedRolesResource; exports.ContractExclusionSetExcludedWorkTypesResource = _chunkCQIZDSBEcjs.ContractExclusionSetExcludedWorkTypesResource; exports.ContractExclusionSetsResource = _chunkCQIZDSBEcjs.ContractExclusionSetsResource; exports.ContractMilestonesResource = _chunkCQIZDSBEcjs.ContractMilestonesResource; exports.ContractNotesResource = _chunkCQIZDSBEcjs.ContractNotesResource; exports.ContractRatesResource = _chunkCQIZDSBEcjs.ContractRatesResource; exports.ContractRetainersResource = _chunkCQIZDSBEcjs.ContractRetainersResource; exports.ContractRoleCostsResource = _chunkCQIZDSBEcjs.ContractRoleCostsResource; exports.ContractServiceAdjustmentsResource = _chunkCQIZDSBEcjs.ContractServiceAdjustmentsResource; exports.ContractServiceBundleAdjustmentsResource = _chunkCQIZDSBEcjs.ContractServiceBundleAdjustmentsResource; exports.ContractServiceBundleUnitsResource = _chunkCQIZDSBEcjs.ContractServiceBundleUnitsResource; exports.ContractServiceBundlesResource = _chunkCQIZDSBEcjs.ContractServiceBundlesResource; exports.ContractServiceUnitsResource = _chunkCQIZDSBEcjs.ContractServiceUnitsResource; exports.ContractServicesResource = _chunkCQIZDSBEcjs.ContractServicesResource; exports.ContractTicketPurchasesResource = _chunkCQIZDSBEcjs.ContractTicketPurchasesResource; exports.ContractsResource = _chunkCQIZDSBEcjs.ContractsResource; exports.CountriesResource = _chunkCQIZDSBEcjs.CountriesResource; exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD = _chunkIV2Z3JLRcjs.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD; exports.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES = _chunkIV2Z3JLRcjs.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES; exports.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS = _chunkIV2Z3JLRcjs.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS; exports.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE = _chunkIV2Z3JLRcjs.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE; exports.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS = _chunkIV2Z3JLRcjs.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS; exports.DEFAULT_COOLDOWN_DEFAULT_MS = _chunkIV2Z3JLRcjs.DEFAULT_COOLDOWN_DEFAULT_MS; exports.DEFAULT_COOLDOWN_MAX_ENTRIES = _chunkIV2Z3JLRcjs.DEFAULT_COOLDOWN_MAX_ENTRIES; exports.DEFAULT_COOLDOWN_MAX_MS = _chunkIV2Z3JLRcjs.DEFAULT_COOLDOWN_MAX_MS; exports.DEFAULT_MAX_CONCURRENT = _chunkIV2Z3JLRcjs.DEFAULT_MAX_CONCURRENT; exports.DEFAULT_MAX_RESPONSE_BYTES = _chunkIV2Z3JLRcjs.DEFAULT_MAX_RESPONSE_BYTES; exports.DEFAULT_MAX_RETRIES = _chunkIV2Z3JLRcjs.DEFAULT_MAX_RETRIES; exports.DEFAULT_MAX_SCAN_PAGES = _chunkIV2Z3JLRcjs.DEFAULT_MAX_SCAN_PAGES; exports.DEFAULT_MAX_SCAN_RECORDS = _chunkIV2Z3JLRcjs.DEFAULT_MAX_SCAN_RECORDS; exports.DEFAULT_PAGE_SIZE = _chunkIV2Z3JLRcjs.DEFAULT_PAGE_SIZE; exports.DEFAULT_TIMEOUT_MS = _chunkIV2Z3JLRcjs.DEFAULT_TIMEOUT_MS; exports.DEFAULT_ZONE = _chunkIV2Z3JLRcjs.DEFAULT_ZONE; exports.DOCTOR_CHECK_IDS = DOCTOR_CHECK_IDS; exports.DOCTOR_CHECK_TIMEOUT_MS = DOCTOR_CHECK_TIMEOUT_MS; exports.DOCTOR_MAX_REQUESTS = DOCTOR_MAX_REQUESTS; exports.DeleteBoundaryError = _chunkIV2Z3JLRcjs.DeleteBoundaryError; exports.DepartmentsResource = _chunkCQIZDSBEcjs.DepartmentsResource; exports.DomainRegistrarsResource = _chunkCQIZDSBEcjs.DomainRegistrarsResource; exports.EmptyResponseError = _chunkIV2Z3JLRcjs.EmptyResponseError; exports.EntityInformationResource = _chunkCQIZDSBEcjs.EntityInformationResource; exports.ExpenseItemAttachmentsResource = _chunkCQIZDSBEcjs.ExpenseItemAttachmentsResource; exports.ExpenseItemsResource = _chunkCQIZDSBEcjs.ExpenseItemsResource; exports.ExpenseReportsResource = _chunkCQIZDSBEcjs.ExpenseReportsResource; exports.FILTER_OPERATORS = _chunkCQIZDSBEcjs.FILTER_OPERATORS; exports.ForbiddenError = _chunkIV2Z3JLRcjs.ForbiddenError; exports.GROUPING_OPERATORS = _chunkCQIZDSBEcjs.GROUPING_OPERATORS; exports.HolidaySetsResource = _chunkCQIZDSBEcjs.HolidaySetsResource; exports.HolidaysResource = _chunkCQIZDSBEcjs.HolidaysResource; exports.HostPolicyDeniedError = _chunkIV2Z3JLRcjs.HostPolicyDeniedError; exports.HttpClient = _chunkCQIZDSBEcjs.HttpClient; exports.IDEMPOTENT_METHODS = _chunkCQIZDSBEcjs.IDEMPOTENT_METHODS; exports.InMemoryCircuitBreakerStore = _chunkIV2Z3JLRcjs.InMemoryCircuitBreakerStore; exports.InMemoryCooldownStore = _chunkIV2Z3JLRcjs.InMemoryCooldownStore; exports.InventoryProductsResource = _chunkCQIZDSBEcjs.InventoryProductsResource; exports.InvoicesResource = _chunkCQIZDSBEcjs.InvoicesResource; exports.MAX_FIELD_LENGTH = _chunkCQIZDSBEcjs.MAX_FIELD_LENGTH; exports.MAX_GET_LENGTH = _chunkCQIZDSBEcjs.MAX_GET_LENGTH; exports.MAX_OR_CONDITIONS = _chunkCQIZDSBEcjs.MAX_OR_CONDITIONS; exports.MAX_PAGES = _chunkIV2Z3JLRcjs.MAX_PAGES; exports.MAX_PAGE_SIZE = _chunkIV2Z3JLRcjs.MAX_PAGE_SIZE; exports.MAX_QUERY_LENGTH = _chunkCQIZDSBEcjs.MAX_QUERY_LENGTH; exports.MAX_UDF_PER_QUERY = _chunkCQIZDSBEcjs.MAX_UDF_PER_QUERY; exports.MIN_PREFIX_SUMMARY_LENGTH = _chunkIV2Z3JLRcjs.MIN_PREFIX_SUMMARY_LENGTH; exports.MarkerUnsafeIdError = _chunkIV2Z3JLRcjs.MarkerUnsafeIdError; exports.ModulesResource = _chunkCQIZDSBEcjs.ModulesResource; exports.NoopLogger = _chunkIV2Z3JLRcjs.NoopLogger; exports.NotFoundError = _chunkIV2Z3JLRcjs.NotFoundError; exports.NotificationHistoryResource = _chunkCQIZDSBEcjs.NotificationHistoryResource; exports.OpportunitiesResource = _chunkCQIZDSBEcjs.OpportunitiesResource; exports.OpportunityAttachmentsResource = _chunkCQIZDSBEcjs.OpportunityAttachmentsResource; exports.OpportunityCategoriesResource = _chunkCQIZDSBEcjs.OpportunityCategoriesResource; exports.PERSONAL_RESPONSE_FIELDS = _chunkIV2Z3JLRcjs.PERSONAL_RESPONSE_FIELDS; exports.PaginationLimitError = _chunkIV2Z3JLRcjs.PaginationLimitError; exports.PhasesResource = _chunkCQIZDSBEcjs.PhasesResource; exports.ProductVendorsResource = _chunkCQIZDSBEcjs.ProductVendorsResource; exports.ProductsResource = _chunkCQIZDSBEcjs.ProductsResource; exports.ProjectChargesResource = _chunkCQIZDSBEcjs.ProjectChargesResource; exports.ProjectNotesResource = _chunkCQIZDSBEcjs.ProjectNotesResource; exports.ProjectsResource = _chunkCQIZDSBEcjs.ProjectsResource; exports.PurchaseApprovalsResource = _chunkCQIZDSBEcjs.PurchaseApprovalsResource; exports.PurchaseOrderItemReceivingResource = _chunkCQIZDSBEcjs.PurchaseOrderItemReceivingResource; exports.PurchaseOrderItemsResource = _chunkCQIZDSBEcjs.PurchaseOrderItemsResource; exports.PurchaseOrdersResource = _chunkCQIZDSBEcjs.PurchaseOrdersResource; exports.QueryTooLongError = _chunkIV2Z3JLRcjs.QueryTooLongError; exports.QuoteItemsResource = _chunkCQIZDSBEcjs.QuoteItemsResource; exports.QuoteLocationsResource = _chunkCQIZDSBEcjs.QuoteLocationsResource; exports.QuoteTemplatesResource = _chunkCQIZDSBEcjs.QuoteTemplatesResource; exports.QuotesResource = _chunkCQIZDSBEcjs.QuotesResource; exports.REDACTED = _chunkIV2Z3JLRcjs.REDACTED; exports.RateLimitError = _chunkIV2Z3JLRcjs.RateLimitError; exports.RecoveryTruncatedError = _chunkIV2Z3JLRcjs.RecoveryTruncatedError; exports.ResolutionError = _chunkIV2Z3JLRcjs.ResolutionError; exports.ResourceRoleQueuesResource = _chunkCQIZDSBEcjs.ResourceRoleQueuesResource; exports.ResourceRolesResource = _chunkCQIZDSBEcjs.ResourceRolesResource; exports.ResourceSkillsResource = _chunkCQIZDSBEcjs.ResourceSkillsResource; exports.ResourceTimeOffAdditionalResource = _chunkCQIZDSBEcjs.ResourceTimeOffAdditionalResource; exports.ResourceTimeOffApproversResource = _chunkCQIZDSBEcjs.ResourceTimeOffApproversResource; exports.ResourceTimeOffBalancesResource = _chunkCQIZDSBEcjs.ResourceTimeOffBalancesResource; exports.ResourcesResource = _chunkCQIZDSBEcjs.ResourcesResource; exports.ResponseRejectedError = _chunkIV2Z3JLRcjs.ResponseRejectedError; exports.RolesResource = _chunkCQIZDSBEcjs.RolesResource; exports.SECRET_RESPONSE_FIELDS = _chunkIV2Z3JLRcjs.SECRET_RESPONSE_FIELDS; exports.ServerError = _chunkIV2Z3JLRcjs.ServerError; exports.ServiceCallTaskResourcesResource = _chunkCQIZDSBEcjs.ServiceCallTaskResourcesResource; exports.ServiceCallTasksResource = _chunkCQIZDSBEcjs.ServiceCallTasksResource; exports.ServiceCallTicketResourcesResource = _chunkCQIZDSBEcjs.ServiceCallTicketResourcesResource; exports.ServiceCallTicketsResource = _chunkCQIZDSBEcjs.ServiceCallTicketsResource; exports.ServiceCallsResource = _chunkCQIZDSBEcjs.ServiceCallsResource; exports.ServiceLevelAgreementResultsResource = _chunkCQIZDSBEcjs.ServiceLevelAgreementResultsResource; exports.ServicesResource = _chunkCQIZDSBEcjs.ServicesResource; exports.SkillsResource = _chunkCQIZDSBEcjs.SkillsResource; exports.StaleObjectError = _chunkIV2Z3JLRcjs.StaleObjectError; exports.SubscriptionPeriodsResource = _chunkCQIZDSBEcjs.SubscriptionPeriodsResource; exports.SubscriptionsResource = _chunkCQIZDSBEcjs.SubscriptionsResource; exports.SurveyResultsResource = _chunkCQIZDSBEcjs.SurveyResultsResource; exports.SurveysResource = _chunkCQIZDSBEcjs.SurveysResource; exports.TagAliasesResource = _chunkCQIZDSBEcjs.TagAliasesResource; exports.TagGroupsResource = _chunkCQIZDSBEcjs.TagGroupsResource; exports.TagsResource = _chunkCQIZDSBEcjs.TagsResource; exports.TaskSecondaryResourcesResource = _chunkCQIZDSBEcjs.TaskSecondaryResourcesResource; exports.TasksResource = _chunkCQIZDSBEcjs.TasksResource; exports.ThresholdInformationResource = _chunkCQIZDSBEcjs.ThresholdInformationResource; exports.TicketAdditionalConfigurationItemsResource = _chunkCQIZDSBEcjs.TicketAdditionalConfigurationItemsResource; exports.TicketAdditionalContactsResource = _chunkCQIZDSBEcjs.TicketAdditionalContactsResource; exports.TicketAttachmentsResource = _chunkCQIZDSBEcjs.TicketAttachmentsResource; exports.TicketCategoriesResource = _chunkCQIZDSBEcjs.TicketCategoriesResource; exports.TicketCategoryFieldDefaultsResource = _chunkCQIZDSBEcjs.TicketCategoryFieldDefaultsResource; exports.TicketChangeRequestApprovalsResource = _chunkCQIZDSBEcjs.TicketChangeRequestApprovalsResource; exports.TicketChargesResource = _chunkCQIZDSBEcjs.TicketChargesResource; exports.TicketChecklistItemsResource = _chunkCQIZDSBEcjs.TicketChecklistItemsResource; exports.TicketChecklistLibrariesResource = _chunkCQIZDSBEcjs.TicketChecklistLibrariesResource; exports.TicketHistoryResource = _chunkCQIZDSBEcjs.TicketHistoryResource; exports.TicketNoteAttachmentsResource = _chunkCQIZDSBEcjs.TicketNoteAttachmentsResource; exports.TicketNoteWebhooksResource = _chunkCQIZDSBEcjs.TicketNoteWebhooksResource; exports.TicketNotesResource = _chunkCQIZDSBEcjs.TicketNotesResource; exports.TicketSecondaryResourcesResource = _chunkCQIZDSBEcjs.TicketSecondaryResourcesResource; exports.TicketWebhooksResource = _chunkCQIZDSBEcjs.TicketWebhooksResource; exports.TicketsResource = _chunkCQIZDSBEcjs.TicketsResource; exports.TimeEntriesResource = _chunkCQIZDSBEcjs.TimeEntriesResource; exports.TimeEntryAttachmentsResource = _chunkCQIZDSBEcjs.TimeEntryAttachmentsResource; exports.TimeOffRequestsResource = _chunkCQIZDSBEcjs.TimeOffRequestsResource; exports.UnauthorizedError = _chunkIV2Z3JLRcjs.UnauthorizedError; exports.UnexpectedContentTypeError = _chunkIV2Z3JLRcjs.UnexpectedContentTypeError; exports.UnprocessableEntityError = _chunkIV2Z3JLRcjs.UnprocessableEntityError; exports.VersionInformationResource = _chunkCQIZDSBEcjs.VersionInformationResource; exports.VersionResource = _chunkCQIZDSBEcjs.VersionResource; exports.ZONES = _chunkIV2Z3JLRcjs.ZONES; exports.ZONE_CATALOG = _chunkIV2Z3JLRcjs.ZONE_CATALOG; exports.ZoneInformationResource = _chunkCQIZDSBEcjs.ZoneInformationResource; exports.assertRecord = _chunkIV2Z3JLRcjs.assertRecord; exports.buildAuthHeaders = _chunkCQIZDSBEcjs.buildAuthHeaders; exports.buildBreakerKey = _chunkIV2Z3JLRcjs.buildBreakerKey; exports.buildFilter = _chunkCQIZDSBEcjs.buildFilter; exports.buildQueryRequest = _chunkCQIZDSBEcjs.buildQueryRequest; exports.buildTenantKey = _chunkIV2Z3JLRcjs.buildTenantKey; exports.buildUrl = _chunkCQIZDSBEcjs.buildUrl; exports.camelKey = _chunkIV2Z3JLRcjs.camelKey; exports.clampPageSize = _chunkIV2Z3JLRcjs.clampPageSize; exports.collectAll = _chunkIV2Z3JLRcjs.collectAll; exports.cooldownDurationMs = _chunkIV2Z3JLRcjs.cooldownDurationMs; exports.credentialShapeProblem = _chunkIV2Z3JLRcjs.credentialShapeProblem; exports.credentialValueSummary = _chunkIV2Z3JLRcjs.credentialValueSummary; exports.deepMergeParams = _chunkIV2Z3JLRcjs.deepMergeParams; exports.defaultCircuitBreakerStore = _chunkIV2Z3JLRcjs.defaultCircuitBreakerStore; exports.defaultCooldownStore = _chunkIV2Z3JLRcjs.defaultCooldownStore; exports.doctorConfigStep = doctorConfigStep; exports.errorFromStatus = _chunkIV2Z3JLRcjs.errorFromStatus; exports.flattenUdfs = _chunkIV2Z3JLRcjs.flattenUdfs; exports.formatVendorDetail = _chunkIV2Z3JLRcjs.formatVendorDetail; exports.hasSurroundingQuotes = _chunkIV2Z3JLRcjs.hasSurroundingQuotes; exports.isAutotaskError = _chunkIV2Z3JLRcjs.isAutotaskError; exports.isBreakerFailure = _chunkIV2Z3JLRcjs.isBreakerFailure; exports.isCredentialHeaderName = _chunkIV2Z3JLRcjs.isCredentialHeaderName; exports.isDeterministicVendor500 = _chunkIV2Z3JLRcjs.isDeterministicVendor500; exports.isFilterOperator = _chunkCQIZDSBEcjs.isFilterOperator; exports.isRecord = _chunkIV2Z3JLRcjs.isRecord; exports.isRedactedFieldName = _chunkIV2Z3JLRcjs.isRedactedFieldName; exports.loadAutotaskCredentialEnvFile = loadAutotaskCredentialEnvFile; exports.loadAutotaskCredentialsFromEnv = loadAutotaskCredentialsFromEnv; exports.mergeDetails = _chunkIV2Z3JLRcjs.mergeDetails; exports.newCorrelationId = _chunkIV2Z3JLRcjs.newCorrelationId; exports.normalizeCredentialValue = normalizeCredentialValue; exports.paginate = _chunkIV2Z3JLRcjs.paginate; exports.paginateItems = _chunkIV2Z3JLRcjs.paginateItems; exports.parseCredentialEnvText = parseCredentialEnvText; exports.parseIdentifier = _chunkIV2Z3JLRcjs.parseIdentifier; exports.parseVendorErrors = _chunkIV2Z3JLRcjs.parseVendorErrors; exports.passthrough = _chunkCQIZDSBEcjs.passthrough; exports.readCredentialEnvFile = readCredentialEnvFile; exports.redactAuditBody = _chunkIV2Z3JLRcjs.redactAuditBody; exports.redactRecord = _chunkIV2Z3JLRcjs.redactRecord; exports.redactResponseBody = _chunkIV2Z3JLRcjs.redactResponseBody; exports.resetDefaultCircuitBreakerStore = _chunkIV2Z3JLRcjs.resetDefaultCircuitBreakerStore; exports.resetDefaultCooldownStore = _chunkIV2Z3JLRcjs.resetDefaultCooldownStore; exports.resolveBaseUrl = _chunkIV2Z3JLRcjs.resolveBaseUrl; exports.resolveConfig = _chunkIV2Z3JLRcjs.resolveConfig; exports.runDoctor = runDoctor; exports.runWithSignal = _chunkCQIZDSBEcjs.runWithSignal; exports.serializeFilter = _chunkCQIZDSBEcjs.serializeFilter; exports.toArray = _chunkIV2Z3JLRcjs.toArray; exports.totalPagesFor = _chunkIV2Z3JLRcjs.totalPagesFor; exports.unwrapItem = _chunkCQIZDSBEcjs.unwrapItem; exports.unwrapItems = _chunkCQIZDSBEcjs.unwrapItems; exports.unwrapOperation = _chunkCQIZDSBEcjs.unwrapOperation; exports.unwrapQueryCount = _chunkCQIZDSBEcjs.unwrapQueryCount; exports.validateFilter = _chunkCQIZDSBEcjs.validateFilter; exports.withAuthHeaders = _chunkCQIZDSBEcjs.withAuthHeaders; exports.zoneUrl = _chunkIV2Z3JLRcjs.zoneUrl;
787
880
  //# sourceMappingURL=index.cjs.map