node-autotask 0.20.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/ARCHITECTURE.md +44 -21
  2. package/CHANGELOG.md +42 -0
  3. package/MCP_TOOL_CATALOG.json +1458 -12
  4. package/MCP_TOOL_MANIFEST.md +23 -20
  5. package/MCP_TOOL_OVERRIDES.json +7 -7
  6. package/N8N_MCP_MANIFEST.json +20 -4
  7. package/N8N_MCP_MANIFEST.md +6 -5
  8. package/README.md +9 -9
  9. package/capabilities.json +12362 -7886
  10. package/capabilities.schema.json +33 -12
  11. package/dist/capabilities.cjs +2 -2
  12. package/dist/capabilities.d.cts +9 -2
  13. package/dist/capabilities.d.ts +9 -2
  14. package/dist/capabilities.js +1 -1
  15. package/dist/{chunk-GA6UCX3Z.js → chunk-B5SNZ3TZ.js} +3507 -3113
  16. package/dist/{chunk-L6V66V22.cjs → chunk-D5TVBI4U.cjs} +3039 -2645
  17. package/dist/{chunk-FLYTKJKV.cjs → chunk-JUO3URUI.cjs} +12361 -7885
  18. package/dist/{chunk-YH5CPRDN.cjs → chunk-N27NUB4R.cjs} +2466 -1745
  19. package/dist/{chunk-2T77J2ZM.js → chunk-OGNUI3UR.js} +12361 -7885
  20. package/dist/{chunk-XSYJB4IW.js → chunk-PVUUOM5G.js} +2092 -1371
  21. package/dist/{chunk-RMLGOCGA.cjs → chunk-TTQB537V.cjs} +135 -135
  22. package/dist/{chunk-JEJUFXHX.js → chunk-VYFO2N5F.js} +2 -2
  23. package/dist/{index-BXtKN1M5.d.cts → index-BVtycq-6.d.cts} +1 -1
  24. package/dist/{index-BXtKN1M5.d.ts → index-BVtycq-6.d.ts} +1 -1
  25. package/dist/{index-AN-NjLi9.d.cts → index-DBoX-Dnk.d.ts} +430 -952
  26. package/dist/{index-CvLLsOCP.d.ts → index-NC-x-bYl.d.cts} +430 -952
  27. package/dist/index.cjs +91 -62
  28. package/dist/index.d.cts +360 -5
  29. package/dist/index.d.ts +360 -5
  30. package/dist/index.js +74 -45
  31. package/dist/operations/index.cjs +462 -462
  32. package/dist/operations/index.d.cts +78 -84
  33. package/dist/operations/index.d.ts +78 -84
  34. package/dist/operations/index.js +382 -382
  35. package/dist/pool.cjs +8 -8
  36. package/dist/pool.d.cts +2 -2
  37. package/dist/pool.d.ts +2 -2
  38. package/dist/pool.js +4 -4
  39. package/dist/resources/index.cjs +4 -4
  40. package/dist/resources/index.d.cts +2 -2
  41. package/dist/resources/index.d.ts +2 -2
  42. package/dist/resources/index.js +3 -3
  43. package/dist/types/index.d.cts +1 -1
  44. package/dist/types/index.d.ts +1 -1
  45. package/docs/API.md +140 -45
  46. package/docs/N8N-ADAPTER.md +3 -3
  47. package/examples/mcp/errors.ts +135 -0
  48. package/examples/mcp/manifest.ts +168 -0
  49. package/examples/mcp/register.ts +66 -0
  50. package/examples/mcp/schemas.ts +203 -0
  51. package/examples/mcp/tools-meta.ts +120 -0
  52. package/examples/mcp/tools-mode.ts +177 -0
  53. package/examples/mcp/tools-read.ts +264 -0
  54. package/examples/mcp/types.ts +34 -0
  55. package/examples/mcp-register.ts +9 -1074
  56. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as AutotaskClient } from './index-AN-NjLi9.cjs';
2
- export { b as AGENT_PROFILE, c as AppointmentsResource, d as AppointmentsResourceQueryParams, e as AuthenticateResource, f as AutotaskAbortError, A as AutotaskConfig, g as AutotaskConfigError, h as AutotaskError, i as AutotaskErrorOptions, j as AutotaskNetworkError, k as AutotaskTimeoutError, B as BadRequestError, l as BillingCodesResource, m as BillingCodesResourceQueryParams, n as BillingItemsResource, o as BillingItemsResourceQueryParams, C as CREDENTIAL_HEADER_NAMES, p as CREDENTIAL_SHAPE_POINTER, q as ChangeRequestLinksResource, r as ChangeRequestLinksResourceQueryParams, s as ChecklistLibrariesResource, t as ChecklistLibrariesResourceQueryParams, u as ChecklistLibraryChecklistItemsResource, v as ChecklistLibraryChecklistItemsResourceQueryParams, w as CircuitBreakerError, x as CircuitBreakerState, y as CircuitBreakerStore, z as ClassificationIconsResource, D as ClassificationIconsResourceQueryParams, E as CompaniesResource, F as CompaniesResourceQueryParams, G as CompanyAlertsResource, H as CompanyAlertsResourceQueryParams, I as CompanyLocationsResource, J as CompanyLocationsResourceQueryParams, K as CompanyNotesResource, L as CompanyNotesResourceQueryParams, M as CompanySiteConfigurationsResource, N as CompanySiteConfigurationsResourceQueryParams, O as CompanyWebhooksResource, P as CompanyWebhooksResourceQueryParams, Q as ConfigProfile, R as ConfigurationItemBillingProductAssociationsResource, S as ConfigurationItemBillingProductAssociationsResourceQueryParams, T as ConfigurationItemCategoriesResource, U as ConfigurationItemCategoriesResourceQueryParams, V as ConfigurationItemCategoryUdfAssociationsResource, W as ConfigurationItemCategoryUdfAssociationsResourceQueryParams, X as ConfigurationItemDnsRecordsResource, Y as ConfigurationItemDnsRecordsResourceQueryParams, Z as ConfigurationItemNotesResource, _ as ConfigurationItemNotesResourceQueryParams, $ as ConfigurationItemRelatedItemsResource, a0 as ConfigurationItemRelatedItemsResourceQueryParams, a1 as ConfigurationItemSslSubjectAlternativeNamesResource, a2 as ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams, a3 as ConfigurationItemTypesResource, a4 as ConfigurationItemTypesResourceQueryParams, a5 as ConfigurationItemWebhooksResource, a6 as ConfigurationItemWebhooksResourceQueryParams, a7 as ConfigurationItemsResource, a8 as ConfigurationItemsResourceQueryParams, a9 as ConfirmationRequiredError, aa as ConflictError, ab as ContactGroupContactsResource, ac as ContactGroupContactsResourceQueryParams, ad as ContactGroupsResource, ae as ContactGroupsResourceQueryParams, af as ContactWebhooksResource, ag as ContactWebhooksResourceQueryParams, ah as ContactsResource, ai as ContactsResourceQueryParams, aj as ContractBillingRulesResource, ak as ContractBillingRulesResourceQueryParams, al as ContractBlockHourFactorsResource, am as ContractBlockHourFactorsResourceQueryParams, an as ContractBlocksResource, ao as ContractBlocksResourceQueryParams, ap as ContractChargesResource, aq as ContractChargesResourceQueryParams, ar as ContractExclusionBillingCodesResource, as as ContractExclusionBillingCodesResourceQueryParams, at as ContractExclusionRolesResource, au as ContractExclusionRolesResourceQueryParams, av as ContractExclusionSetExcludedRolesResource, aw as ContractExclusionSetExcludedRolesResourceQueryParams, ax as ContractExclusionSetExcludedWorkTypesResource, ay as ContractExclusionSetExcludedWorkTypesResourceQueryParams, az as ContractExclusionSetsResource, aA as ContractExclusionSetsResourceQueryParams, aB as ContractMilestonesResource, aC as ContractMilestonesResourceQueryParams, aD as ContractNotesResource, aE as ContractNotesResourceQueryParams, aF as ContractRatesResource, aG as ContractRatesResourceQueryParams, aH as ContractRetainersResource, aI as ContractRetainersResourceQueryParams, aJ as ContractRoleCostsResource, aK as ContractRoleCostsResourceQueryParams, aL as ContractServiceAdjustmentsResource, aM as ContractServiceAdjustmentsResourceQueryParams, aN as ContractServiceBundleAdjustmentsResource, aO as ContractServiceBundleAdjustmentsResourceQueryParams, aP as ContractServiceBundleUnitsResource, aQ as ContractServiceBundleUnitsResourceQueryParams, aR as ContractServiceBundlesResource, aS as ContractServiceBundlesResourceQueryParams, aT as ContractServiceUnitsResource, aU as ContractServiceUnitsResourceQueryParams, aV as ContractServicesResource, aW as ContractServicesResourceQueryParams, aX as ContractTicketPurchasesResource, aY as ContractTicketPurchasesResourceQueryParams, aZ as ContractsProfitabilityResult, a_ as ContractsResource, a$ as ContractsResourceQueryParams, b0 as CooldownStore, b1 as CostRateResolution, b2 as CountriesResource, b3 as CountriesResourceQueryParams, b4 as CredentialShapeExpectation, b5 as DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD, b6 as DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES, b7 as DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS, b8 as DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE, b9 as DEFAULT_CIRCUIT_BREAKER_WINDOW_MS, ba as DEFAULT_COOLDOWN_DEFAULT_MS, bb as DEFAULT_COOLDOWN_MAX_ENTRIES, bc as DEFAULT_COOLDOWN_MAX_MS, bd as DEFAULT_FIELD_CACHE_TTL_MS, be as DEFAULT_MAINTENANCE_MAX_WAIT_MS, bf as DEFAULT_MAINTENANCE_POLL_MS, bg as DEFAULT_MAX_CONCURRENT, bh as DEFAULT_MAX_RESPONSE_BYTES, bi as DEFAULT_MAX_RETRIES, bj as DEFAULT_MAX_SCAN_PAGES, bk as DEFAULT_MAX_SCAN_RECORDS, bl as DEFAULT_PAGE_SIZE, bm as DEFAULT_READ_CACHE_TTL_MS, bn as DEFAULT_RESOURCE_NAME_CACHE_TTL_MS, bo as DEFAULT_TIMEOUT_MS, bp as DEFAULT_ZONE, bq as DeleteBoundaryError, br as DepartmentsResource, bs as DepartmentsResourceQueryParams, bt as DomainRegistrarsResource, bu as DomainRegistrarsResourceQueryParams, bv as EmptyResponseError, bw as EntityInformationResource, bx as ErrorCategory, by as ErrorIdRef, bz as ExpenseItemAttachmentsResource, bA as ExpenseItemAttachmentsResourceQueryParams, bB as ExpenseItemsResource, bC as ExpenseItemsResourceQueryParams, bD as ExpenseReportsResource, bE as ExpenseReportsResourceQueryParams, bF as ForbiddenError, bG as HolidaySetsResource, bH as HolidaySetsResourceQueryParams, bI as HolidaysResource, bJ as HolidaysResourceQueryParams, bK as HostPolicyDeniedError, bL as HttpClient, bM as IDEMPOTENT_METHODS, bN as InMemoryCircuitBreakerStore, bO as InMemoryCooldownStore, bP as InventoryProductsResource, bQ as InventoryProductsResourceQueryParams, bR as InvoicesResource, bS as InvoicesResourceQueryParams, bT as Logger, bU as MAINTENANCE_WINDOW_MAX_MS, bV as MAX_PAGES, bW as MAX_PAGE_SIZE, bX as MarkerUnsafeIdError, bY as ModulesResource, bZ as NoopLogger, b_ as NotFoundError, b$ as NotificationHistoryResource, c0 as NotificationHistoryResourceQueryParams, c1 as OpportunitiesResource, c2 as OpportunitiesResourceQueryParams, c3 as OpportunityAttachmentsResource, c4 as OpportunityAttachmentsResourceQueryParams, c5 as OpportunityCategoriesResource, c6 as OpportunityCategoriesResourceQueryParams, c7 as PageFetcher, c8 as PaginateOptions, c9 as PaginationLimitError, ca as PhasesResource, cb as PhasesResourceQueryParams, cc as ProductVendorsResource, cd as ProductVendorsResourceQueryParams, ce as ProductsResource, cf as ProductsResourceQueryParams, cg as ProfitRateSource, ch as ProfitabilityActivityCategory, ci as ProfitabilityDataQualityWarning, cj as ProfitabilityHighestCostTicket, ck as ProfitabilityLabourCostMethod, cl as ProfitabilityMiscoding, cm as ProfitabilityMonthlyRow, cn as ProfitabilityOpenRenewalItem, co as ProfitabilityOptions, cp as ProfitabilityPart, cq as ProfitabilityPartDigest, cr as ProfitabilityRevenueByType, cs as ProjectChargesResource, ct as ProjectChargesResourceQueryParams, cu as ProjectNotesResource, cv as ProjectNotesResourceQueryParams, cw as ProjectsResource, cx as ProjectsResourceQueryParams, cy as PurchaseApprovalsResource, cz as PurchaseApprovalsResourceQueryParams, cA as PurchaseOrderItemReceivingResource, cB as PurchaseOrderItemReceivingResourceQueryParams, cC as PurchaseOrderItemsResource, cD as PurchaseOrderItemsResourceQueryParams, cE as PurchaseOrdersResource, cF as PurchaseOrdersResourceQueryParams, cG as QueryTooLongError, cH as QuoteItemsResource, cI as QuoteItemsResourceQueryParams, cJ as QuoteLocationsResource, cK as QuoteLocationsResourceQueryParams, cL as QuoteTemplatesResource, cM as QuoteTemplatesResourceQueryParams, cN as QuotesResource, cO as QuotesResourceQueryParams, cP as REDACTED, cQ as RateLimitError, cR as RecoveryTruncatedError, cS as RequestOptions, cT as ResolutionError, cU as ResolvedAutotaskConfig, cV as ResourceRoleQueuesResource, cW as ResourceRoleQueuesResourceQueryParams, cX as ResourceRolesResource, cY as ResourceRolesResourceQueryParams, cZ as ResourceSkillsResource, c_ as ResourceSkillsResourceQueryParams, c$ as ResourceTimeOffAdditionalResource, d0 as ResourceTimeOffAdditionalResourceQueryParams, d1 as ResourceTimeOffApproversResource, d2 as ResourceTimeOffApproversResourceQueryParams, d3 as ResourceTimeOffBalancesResource, d4 as ResourceTimeOffBalancesResourceQueryParams, d5 as ResourcesResource, d6 as ResourcesResourceQueryParams, d7 as ResponseRejectedError, d8 as RolesResource, d9 as RolesResourceQueryParams, da as ServerError, db as ServiceCallTaskResourcesResource, dc as ServiceCallTaskResourcesResourceQueryParams, dd as ServiceCallTasksResource, de as ServiceCallTasksResourceQueryParams, df as ServiceCallTicketResourcesResource, dg as ServiceCallTicketResourcesResourceQueryParams, dh as ServiceCallTicketsResource, di as ServiceCallTicketsResourceQueryParams, dj as ServiceCallsResource, dk as ServiceCallsResourceQueryParams, dl as ServiceLevelAgreementResultsResource, dm as ServiceLevelAgreementResultsResourceQueryParams, dn as ServicesResource, dp as ServicesResourceQueryParams, dq as SkillsResource, dr as SkillsResourceQueryParams, ds as StaleObjectError, dt as SubscriptionPeriodsResource, du as SubscriptionPeriodsResourceQueryParams, dv as SubscriptionsResource, dw as SubscriptionsResourceQueryParams, dx as SurveyResultsResource, dy as SurveyResultsResourceQueryParams, dz as SurveysResource, dA as SurveysResourceQueryParams, dB as TagAliasesResource, dC as TagAliasesResourceQueryParams, dD as TagGroupsResource, dE as TagGroupsResourceQueryParams, dF as TagsResource, dG as TagsResourceQueryParams, dH as TaskSecondaryResourcesResource, dI as TaskSecondaryResourcesResourceQueryParams, dJ as TasksResource, dK as TasksResourceQueryParams, dL as ThresholdInformationResource, dM as TicketAdditionalConfigurationItemsResource, dN as TicketAdditionalConfigurationItemsResourceQueryParams, dO as TicketAdditionalContactsResource, dP as TicketAdditionalContactsResourceQueryParams, dQ as TicketAttachmentsResource, dR as TicketAttachmentsResourceQueryParams, dS as TicketCategoriesResource, dT as TicketCategoriesResourceQueryParams, dU as TicketCategoryFieldDefaultsResource, dV as TicketCategoryFieldDefaultsResourceQueryParams, dW as TicketChangeRequestApprovalsResource, dX as TicketChangeRequestApprovalsResourceQueryParams, dY as TicketChargesResource, dZ as TicketChargesResourceQueryParams, d_ as TicketChecklistItemsResource, d$ as TicketChecklistItemsResourceQueryParams, e0 as TicketChecklistLibrariesResource, e1 as TicketChecklistLibrariesResourceQueryParams, e2 as TicketHistoryResource, e3 as TicketHistoryResourceQueryParams, e4 as TicketNoteAttachmentsResource, e5 as TicketNoteAttachmentsResourceQueryParams, e6 as TicketNoteWebhooksResource, e7 as TicketNoteWebhooksResourceQueryParams, e8 as TicketNotesResource, e9 as TicketNotesResourceQueryParams, ea as TicketSecondaryResourcesResource, eb as TicketSecondaryResourcesResourceQueryParams, ec as TicketWebhooksResource, ed as TicketWebhooksResourceQueryParams, ee as TicketsResource, ef as TicketsResourceQueryParams, eg as TimeEntriesResource, eh as TimeEntriesResourceQueryParams, ei as TimeEntryAttachmentsResource, ej as TimeEntryAttachmentsResourceQueryParams, ek as TimeOffRequestsResource, el as TimeOffRequestsResourceQueryParams, em as UnauthorizedError, en as UnexpectedContentTypeError, eo as UnprocessableEntityError, ep as VendorFieldError, eq as VersionInformationResource, er as VersionResource, es as ZONES, et as ZONE_CATALOG, eu as ZoneInformationResource, ev as ZoneName, ew as buildBreakerKey, ex as buildQueryBody, ey as buildQueryRequest, ez as buildTenantKey, eA as buildUrl, eB as clampPageSize, eC as collectAll, eD as cooldownDurationMs, eE as cursorToPath, eF as defaultCircuitBreakerStore, eG as defaultCooldownStore, eH as errorFromStatus, eI as formatVendorDetail, eJ as isAutotaskError, eK as isBreakerFailure, eL as isCredentialHeaderName, eM as isDeterministicVendor500, eN as mergeDetails, eO as paginate, eP as paginateItems, eQ as parseVendorErrors, eR as passthrough, eS as redactRecord, eT as resetDefaultCircuitBreakerStore, eU as resetDefaultCooldownStore, eV as resolveBaseUrl, eW as resolveConfig, eX as resolveCredentials, eY as runWithSignal, eZ as toArray, e_ as totalPagesFor, e$ as unwrapItem, f0 as unwrapItems, f1 as unwrapOperation, f2 as unwrapQueryCount, f3 as zoneUrl } from './index-AN-NjLi9.cjs';
3
- import { F as FilterOperator, a as FilterCondition, b as Filter, Q as QueryParams, I as Identifier } from './index-BXtKN1M5.cjs';
4
- export { A as ApiVersionResultModel, c as Appointment, d as AppointmentCreate, e as AppointmentSummary, f as AppointmentUpdate, g as AuditEvent, h as AuthTokenResultModel, i as AutotaskVersionResultModel, B as BillingCode, j as BillingCodeCreate, k as BillingCodeSummary, l as BillingCodeUpdate, m as BillingItems, n as BillingItemsCreate, o as BillingItemsSummary, p as BillingItemsUpdate, C as ChangeRequestLink, q as ChangeRequestLinkCreate, r as ChangeRequestLinkSummary, s as ChangeRequestLinkUpdate, t as ChecklistLibrary, u as ChecklistLibraryChecklistItem, v as ChecklistLibraryChecklistItemCreate, w as ChecklistLibraryChecklistItemSummary, x as ChecklistLibraryChecklistItemUpdate, y as ChecklistLibraryCreate, z as ChecklistLibrarySummary, D as ChecklistLibraryUpdate, E as ClassificationIcon, G as ClassificationIconCreate, H as ClassificationIconSummary, J as ClassificationIconUpdate, K as Company, L as CompanyAlert, M as CompanyAlertCreate, N as CompanyAlertSummary, O as CompanyAlertUpdate, P as CompanyContext, R as CompanyCreate, S as CompanyLocation, T as CompanyLocationCreate, U as CompanyLocationSummary, V as CompanyLocationUpdate, W as CompanyNote, X as CompanyNoteCreate, Y as CompanyNoteSummary, Z as CompanyNoteUpdate, _ as CompanySiteConfigurations, $ as CompanySiteConfigurationsCreate, a0 as CompanySiteConfigurationsSummary, a1 as CompanySiteConfigurationsUpdate, a2 as CompanySummary, a3 as CompanyUpdate, a4 as CompanyWebhook, a5 as CompanyWebhookCreate, a6 as CompanyWebhookSummary, a7 as CompanyWebhookUpdate, a8 as ConfigurationItem, a9 as ConfigurationItemBillingProductAssociations, aa as ConfigurationItemBillingProductAssociationsCreate, ab as ConfigurationItemBillingProductAssociationsSummary, ac as ConfigurationItemBillingProductAssociationsUpdate, ad as ConfigurationItemCategory, ae as ConfigurationItemCategoryCreate, af as ConfigurationItemCategorySummary, ag as ConfigurationItemCategoryUdfAssociation, ah as ConfigurationItemCategoryUdfAssociationCreate, ai as ConfigurationItemCategoryUdfAssociationSummary, aj as ConfigurationItemCategoryUdfAssociationUpdate, ak as ConfigurationItemCategoryUpdate, al as ConfigurationItemContext, am as ConfigurationItemCreate, an as ConfigurationItemDnsRecord, ao as ConfigurationItemDnsRecordCreate, ap as ConfigurationItemDnsRecordSummary, aq as ConfigurationItemDnsRecordUpdate, ar as ConfigurationItemNote, as as ConfigurationItemNoteCreate, at as ConfigurationItemNoteSummary, au as ConfigurationItemNoteUpdate, av as ConfigurationItemRelatedItem, aw as ConfigurationItemRelatedItemCreate, ax as ConfigurationItemRelatedItemSummary, ay as ConfigurationItemRelatedItemUpdate, az as ConfigurationItemSslSubjectAlternativeName, aA as ConfigurationItemSslSubjectAlternativeNameCreate, aB as ConfigurationItemSslSubjectAlternativeNameSummary, aC as ConfigurationItemSslSubjectAlternativeNameUpdate, aD as ConfigurationItemSummary, aE as ConfigurationItemType, aF as ConfigurationItemTypeCreate, aG as ConfigurationItemTypeSummary, aH as ConfigurationItemTypeUpdate, aI as ConfigurationItemUpdate, aJ as ConfigurationItemWebhook, aK as ConfigurationItemWebhookCreate, aL as ConfigurationItemWebhookSummary, aM as ConfigurationItemWebhookUpdate, aN as Contact, aO as ContactContext, aP as ContactCreate, aQ as ContactGroupContacts, aR as ContactGroupContactsCreate, aS as ContactGroupContactsSummary, aT as ContactGroupContactsUpdate, aU as ContactGroups, aV as ContactGroupsCreate, aW as ContactGroupsSummary, aX as ContactGroupsUpdate, aY as ContactSummary, aZ as ContactUpdate, a_ as ContactWebhook, a$ as ContactWebhookCreate, b0 as ContactWebhookSummary, b1 as ContactWebhookUpdate, b2 as Contract, b3 as ContractBillingRule, b4 as ContractBillingRuleCreate, b5 as ContractBillingRuleSummary, b6 as ContractBillingRuleUpdate, b7 as ContractBlock, b8 as ContractBlockCreate, b9 as ContractBlockHourFactor, ba as ContractBlockHourFactorCreate, bb as ContractBlockHourFactorSummary, bc as ContractBlockHourFactorUpdate, bd as ContractBlockSummary, be as ContractBlockUpdate, bf as ContractCharge, bg as ContractChargeCreate, bh as ContractChargeSummary, bi as ContractChargeUpdate, bj as ContractCreate, bk as ContractExclusionBillingCode, bl as ContractExclusionBillingCodeCreate, bm as ContractExclusionBillingCodeSummary, bn as ContractExclusionBillingCodeUpdate, bo as ContractExclusionRoles, bp as ContractExclusionRolesCreate, bq as ContractExclusionRolesSummary, br as ContractExclusionRolesUpdate, bs as ContractExclusionSetExcludedRoles, bt as ContractExclusionSetExcludedRolesCreate, bu as ContractExclusionSetExcludedRolesSummary, bv as ContractExclusionSetExcludedRolesUpdate, bw as ContractExclusionSetExcludedWorkTypes, bx as ContractExclusionSetExcludedWorkTypesCreate, by as ContractExclusionSetExcludedWorkTypesSummary, bz as ContractExclusionSetExcludedWorkTypesUpdate, bA as ContractExclusionSets, bB as ContractExclusionSetsCreate, bC as ContractExclusionSetsSummary, bD as ContractExclusionSetsUpdate, bE as ContractMilestone, bF as ContractMilestoneCreate, bG as ContractMilestoneSummary, bH as ContractMilestoneUpdate, bI as ContractNote, bJ as ContractNoteCreate, bK as ContractNoteSummary, bL as ContractNoteUpdate, bM as ContractRate, bN as ContractRateCreate, bO as ContractRateSummary, bP as ContractRateUpdate, bQ as ContractRetainers, bR as ContractRetainersCreate, bS as ContractRetainersSummary, bT as ContractRetainersUpdate, bU as ContractRoleCosts, bV as ContractRoleCostsCreate, bW as ContractRoleCostsSummary, bX as ContractRoleCostsUpdate, bY as ContractService, bZ as ContractServiceAdjustment, b_ as ContractServiceAdjustmentCreate, b$ as ContractServiceAdjustmentSummary, c0 as ContractServiceAdjustmentUpdate, c1 as ContractServiceBundle, c2 as ContractServiceBundleAdjustment, c3 as ContractServiceBundleAdjustmentCreate, c4 as ContractServiceBundleAdjustmentSummary, c5 as ContractServiceBundleAdjustmentUpdate, c6 as ContractServiceBundleCreate, c7 as ContractServiceBundleSummary, c8 as ContractServiceBundleUnit, c9 as ContractServiceBundleUnitCreate, ca as ContractServiceBundleUnitSummary, cb as ContractServiceBundleUnitUpdate, cc as ContractServiceBundleUpdate, cd as ContractServiceCreate, ce as ContractServiceSummary, cf as ContractServiceUnit, cg as ContractServiceUnitCreate, ch as ContractServiceUnitSummary, ci as ContractServiceUnitUpdate, cj as ContractServiceUpdate, ck as ContractSummary, cl as ContractTicketPurchases, cm as ContractTicketPurchasesCreate, cn as ContractTicketPurchasesSummary, co as ContractTicketPurchasesUpdate, cp as ContractUpdate, cq as Country, cr as CountryCreate, cs as CountrySummary, ct as CountryUpdate, cu as Department, cv as DepartmentCreate, cw as DepartmentSummary, cx as DepartmentUpdate, cy as DocumentChecklistLibrary, cz as DomainRegistrar, cA as DomainRegistrarCreate, cB as DomainRegistrarSummary, cC as DomainRegistrarUpdate, cD as DryRunResult, cE as EmptyReasonInfo, cF as EmptyReasonKind, cG as EntityInformationModel, cH as EntityInformationResultModel, cI as ExpenseItem, cJ as ExpenseItemAttachment, cK as ExpenseItemAttachmentCreate, cL as ExpenseItemAttachmentSummary, cM as ExpenseItemAttachmentUpdate, cN as ExpenseItemCreate, cO as ExpenseItemSummary, cP as ExpenseItemUpdate, cQ as ExpenseReport, cR as ExpenseReportCreate, cS as ExpenseReportSummary, cT as ExpenseReportUpdate, cU as Field, cV as FieldDiff, cW as FieldInformationModel, cX as FilterValue, cY as GlobalEntityInformationResultModel, cZ as Holiday, c_ as HolidayCreate, c$ as HolidaySet, d0 as HolidaySetCreate, d1 as HolidaySetSummary, d2 as HolidaySetUpdate, d3 as HolidaySummary, d4 as HolidayUpdate, d5 as InventoryProduct, d6 as InventoryProductCreate, d7 as InventoryProductSummary, d8 as InventoryProductUpdate, d9 as InventoryStockedItemAdd, da as InventoryStockedItemRemove, db as InventoryStockedItemTransfer, dc as Invoice, dd as InvoiceCreate, de as InvoiceSummary, df as InvoiceUpdate, dg as KeyValuePair, dh as ModuleAccessResultModel, di as NotificationHistory, dj as NotificationHistoryCreate, dk as NotificationHistorySummary, dl as NotificationHistoryUpdate, dm as OperationMetadata, dn as OperationResult, dp as OperationShapeDrift, dq as Opportunity, dr as OpportunityAttachment, ds as OpportunityAttachmentCreate, dt as OpportunityAttachmentSummary, du as OpportunityAttachmentUpdate, dv as OpportunityCategory, dw as OpportunityCategoryCreate, dx as OpportunityCategorySummary, dy as OpportunityCategoryUpdate, dz as OpportunityCreate, dA as OpportunitySummary, dB as OpportunityUpdate, dC as Page, dD as PagingModel, dE as Phase, dF as PhaseCreate, dG as PhaseSummary, dH as PhaseUpdate, dI as PickListValue, dJ as Product, dK as ProductCreate, dL as ProductSummary, dM as ProductUpdate, dN as ProductVendors, dO as ProductVendorsCreate, dP as ProductVendorsSummary, dQ as ProductVendorsUpdate, dR as Project, dS as ProjectCharge, dT as ProjectChargeCreate, dU as ProjectChargeSummary, dV as ProjectChargeUpdate, dW as ProjectContext, dX as ProjectCreate, dY as ProjectNote, dZ as ProjectNoteCreate, d_ as ProjectNoteSummary, d$ as ProjectNoteUpdate, e0 as ProjectSummary, e1 as ProjectUpdate, e2 as PurchaseApprovals, e3 as PurchaseApprovalsCreate, e4 as PurchaseApprovalsSummary, e5 as PurchaseApprovalsUpdate, e6 as PurchaseOrderItemReceiving, e7 as PurchaseOrderItemReceivingCreate, e8 as PurchaseOrderItemReceivingSummary, e9 as PurchaseOrderItemReceivingUpdate, ea as PurchaseOrderItems, eb as PurchaseOrderItemsCreate, ec as PurchaseOrderItemsSummary, ed as PurchaseOrderItemsUpdate, ee as PurchaseOrders, ef as PurchaseOrdersCreate, eg as PurchaseOrdersSummary, eh as PurchaseOrdersUpdate, ei as Quote, ej as QuoteCreate, ek as QuoteItem, el as QuoteItemCreate, em as QuoteItemSummary, en as QuoteItemUpdate, eo as QuoteLocation, ep as QuoteLocationCreate, eq as QuoteLocationSummary, er as QuoteLocationUpdate, es as QuoteSummary, et as QuoteTemplate, eu as QuoteTemplateCreate, ev as QuoteTemplateSummary, ew as QuoteTemplateUpdate, ex as QuoteUpdate, ey as Resolution, ez as ResolutionCaps, eA as Resource, eB as ResourceCreate, eC as ResourceRole, eD as ResourceRoleCreate, eE as ResourceRoleQueue, eF as ResourceRoleQueueCreate, eG as ResourceRoleQueueSummary, eH as ResourceRoleQueueUpdate, eI as ResourceRoleSummary, eJ as ResourceRoleUpdate, eK as ResourceSkill, eL as ResourceSkillCreate, eM as ResourceSkillSummary, eN as ResourceSkillUpdate, eO as ResourceSummary, eP as ResourceTimeOffAdditional, eQ as ResourceTimeOffAdditionalCreate, eR as ResourceTimeOffAdditionalSummary, eS as ResourceTimeOffAdditionalUpdate, eT as ResourceTimeOffApprover, eU as ResourceTimeOffApproverCreate, eV as ResourceTimeOffApproverSummary, eW as ResourceTimeOffApproverUpdate, eX as ResourceTimeOffBalance, eY as ResourceTimeOffBalanceCreate, eZ as ResourceTimeOffBalanceSummary, e_ as ResourceTimeOffBalanceUpdate, e$ as ResourceUpdate, f0 as Role, f1 as RoleCreate, f2 as RoleSummary, f3 as RoleUpdate, f4 as Service, f5 as ServiceCall, f6 as ServiceCallCreate, f7 as ServiceCallSummary, f8 as ServiceCallTask, f9 as ServiceCallTaskCreate, fa as ServiceCallTaskResource, fb as ServiceCallTaskResourceCreate, fc as ServiceCallTaskResourceSummary, fd as ServiceCallTaskResourceUpdate, fe as ServiceCallTaskSummary, ff as ServiceCallTaskUpdate, fg as ServiceCallTicket, fh as ServiceCallTicketCreate, fi as ServiceCallTicketResource, fj as ServiceCallTicketResourceCreate, fk as ServiceCallTicketResourceSummary, fl as ServiceCallTicketResourceUpdate, fm as ServiceCallTicketSummary, fn as ServiceCallTicketUpdate, fo as ServiceCallUpdate, fp as ServiceCreate, fq as ServiceLevelAgreementResults, fr as ServiceLevelAgreementResultsCreate, fs as ServiceLevelAgreementResultsSummary, ft as ServiceLevelAgreementResultsUpdate, fu as ServiceSummary, fv as ServiceUpdate, fw as Skill, fx as SkillCreate, fy as SkillSummary, fz as SkillUpdate, fA as Subscription, fB as SubscriptionCreate, fC as SubscriptionPeriod, fD as SubscriptionPeriodCreate, fE as SubscriptionPeriodSummary, fF as SubscriptionPeriodUpdate, fG as SubscriptionSummary, fH as SubscriptionUpdate, fI as Survey, fJ as SurveyCreate, fK as SurveyResults, fL as SurveyResultsCreate, fM as SurveyResultsSummary, fN as SurveyResultsUpdate, fO as SurveySummary, fP as SurveyUpdate, fQ as Tag, fR as TagAlias, fS as TagAliasCreate, fT as TagAliasSummary, fU as TagAliasUpdate, fV as TagCreate, fW as TagGroup, fX as TagGroupCreate, fY as TagGroupSummary, fZ as TagGroupUpdate, f_ as TagSummary, f$ as TagUpdate, g0 as Task, g1 as TaskCreate, g2 as TaskSecondaryResource, g3 as TaskSecondaryResourceCreate, g4 as TaskSecondaryResourceSummary, g5 as TaskSecondaryResourceUpdate, g6 as TaskSummary, g7 as TaskUpdate, g8 as ThresholdStatusResultModel, g9 as Ticket, ga as TicketAdditionalConfigurationItem, gb as TicketAdditionalConfigurationItemCreate, gc as TicketAdditionalConfigurationItemSummary, gd as TicketAdditionalConfigurationItemUpdate, ge as TicketAdditionalContact, gf as TicketAdditionalContactCreate, gg as TicketAdditionalContactSummary, gh as TicketAdditionalContactUpdate, gi as TicketAttachment, gj as TicketAttachmentCreate, gk as TicketAttachmentSummary, gl as TicketAttachmentUpdate, gm as TicketCategory, gn as TicketCategoryCreate, go as TicketCategoryFieldDefault, gp as TicketCategoryFieldDefaultCreate, gq as TicketCategoryFieldDefaultSummary, gr as TicketCategoryFieldDefaultUpdate, gs as TicketCategorySummary, gt as TicketCategoryUpdate, gu as TicketChangeRequestApproval, gv as TicketChangeRequestApprovalCreate, gw as TicketChangeRequestApprovalSummary, gx as TicketChangeRequestApprovalUpdate, gy as TicketCharge, gz as TicketChargeCreate, gA as TicketChargeSummary, gB as TicketChargeUpdate, gC as TicketChecklistItem, gD as TicketChecklistItemCreate, gE as TicketChecklistItemSummary, gF as TicketChecklistItemUpdate, gG as TicketChecklistLibrary, gH as TicketChecklistLibraryCreate, gI as TicketChecklistLibrarySummary, gJ as TicketChecklistLibraryUpdate, gK as TicketContext, gL as TicketCreate, gM as TicketHistory, gN as TicketHistoryCreate, gO as TicketHistorySummary, gP as TicketHistoryUpdate, gQ as TicketNote, gR as TicketNoteAttachment, gS as TicketNoteAttachmentCreate, gT as TicketNoteAttachmentSummary, gU as TicketNoteAttachmentUpdate, gV as TicketNoteCreate, gW as TicketNoteSummary, gX as TicketNoteUpdate, gY as TicketNoteWebhook, gZ as TicketNoteWebhookCreate, g_ as TicketNoteWebhookSummary, g$ as TicketNoteWebhookUpdate, h0 as TicketSecondaryResource, h1 as TicketSecondaryResourceCreate, h2 as TicketSecondaryResourceSummary, h3 as TicketSecondaryResourceUpdate, h4 as TicketSummary, h5 as TicketUpdate, h6 as TicketWebhook, h7 as TicketWebhookCreate, h8 as TicketWebhookSummary, h9 as TicketWebhookUpdate, ha as TimeEntry, hb as TimeEntryAttachment, hc as TimeEntryAttachmentCreate, hd as TimeEntryAttachmentSummary, he as TimeEntryAttachmentUpdate, hf as TimeEntryCreate, hg as TimeEntrySummary, hh as TimeEntryUpdate, hi as TimeOffRequest, hj as TimeOffRequestCreate, hk as TimeOffRequestReject, hl as TimeOffRequestSummary, hm as TimeOffRequestUpdate, hn as UdfField, ho as ZoneInformationResultModel } from './index-BXtKN1M5.cjs';
1
+ import { b as AutotaskError, c as AutotaskErrorOptions, A as AutotaskConfig, R as ResolvedAutotaskConfig, Z as ZoneName, d as RequestOptions, a as AutotaskClient } from './index-NC-x-bYl.cjs';
2
+ export { e as AGENT_PROFILE, f as AppointmentsResource, g as AppointmentsResourceQueryParams, h as AuthenticateResource, i as AutotaskConfigError, B as BillingCodesResource, j as BillingCodesResourceQueryParams, k as BillingItemsResource, l as BillingItemsResourceQueryParams, C as CREDENTIAL_HEADER_NAMES, m as ChangeRequestLinksResource, n as ChangeRequestLinksResourceQueryParams, o as ChecklistLibrariesResource, p as ChecklistLibrariesResourceQueryParams, q as ChecklistLibraryChecklistItemsResource, r as ChecklistLibraryChecklistItemsResourceQueryParams, s as CircuitBreakerState, t as CircuitBreakerStore, u as ClassificationIconsResource, v as ClassificationIconsResourceQueryParams, w as CompaniesResource, x as CompaniesResourceQueryParams, y as CompanyAlertsResource, z as CompanyAlertsResourceQueryParams, D as CompanyLocationsResource, E as CompanyLocationsResourceQueryParams, F as CompanyNotesResource, G as CompanyNotesResourceQueryParams, H as CompanySiteConfigurationsResource, I as CompanySiteConfigurationsResourceQueryParams, J as CompanyWebhooksResource, K as CompanyWebhooksResourceQueryParams, L as ConfigProfile, M as ConfigurationItemBillingProductAssociationsResource, N as ConfigurationItemBillingProductAssociationsResourceQueryParams, O as ConfigurationItemCategoriesResource, P as ConfigurationItemCategoriesResourceQueryParams, Q as ConfigurationItemCategoryUdfAssociationsResource, S as ConfigurationItemCategoryUdfAssociationsResourceQueryParams, T as ConfigurationItemDnsRecordsResource, U as ConfigurationItemDnsRecordsResourceQueryParams, V as ConfigurationItemNotesResource, W as ConfigurationItemNotesResourceQueryParams, X as ConfigurationItemRelatedItemsResource, Y as ConfigurationItemRelatedItemsResourceQueryParams, _ as ConfigurationItemSslSubjectAlternativeNamesResource, $ as ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams, a0 as ConfigurationItemTypesResource, a1 as ConfigurationItemTypesResourceQueryParams, a2 as ConfigurationItemWebhooksResource, a3 as ConfigurationItemWebhooksResourceQueryParams, a4 as ConfigurationItemsResource, a5 as ConfigurationItemsResourceQueryParams, a6 as ContactGroupContactsResource, a7 as ContactGroupContactsResourceQueryParams, a8 as ContactGroupsResource, a9 as ContactGroupsResourceQueryParams, aa as ContactWebhooksResource, ab as ContactWebhooksResourceQueryParams, ac as ContactsResource, ad as ContactsResourceQueryParams, ae as ContractBillingRulesResource, af as ContractBillingRulesResourceQueryParams, ag as ContractBlockHourFactorsResource, ah as ContractBlockHourFactorsResourceQueryParams, ai as ContractBlocksResource, aj as ContractBlocksResourceQueryParams, ak as ContractChargesResource, al as ContractChargesResourceQueryParams, am as ContractExclusionBillingCodesResource, an as ContractExclusionBillingCodesResourceQueryParams, ao as ContractExclusionRolesResource, ap as ContractExclusionRolesResourceQueryParams, aq as ContractExclusionSetExcludedRolesResource, ar as ContractExclusionSetExcludedRolesResourceQueryParams, as as ContractExclusionSetExcludedWorkTypesResource, at as ContractExclusionSetExcludedWorkTypesResourceQueryParams, au as ContractExclusionSetsResource, av as ContractExclusionSetsResourceQueryParams, aw as ContractMilestonesResource, ax as ContractMilestonesResourceQueryParams, ay as ContractNotesResource, az as ContractNotesResourceQueryParams, aA as ContractRatesResource, aB as ContractRatesResourceQueryParams, aC as ContractRetainersResource, aD as ContractRetainersResourceQueryParams, aE as ContractRoleCostsResource, aF as ContractRoleCostsResourceQueryParams, aG as ContractServiceAdjustmentsResource, aH as ContractServiceAdjustmentsResourceQueryParams, aI as ContractServiceBundleAdjustmentsResource, aJ as ContractServiceBundleAdjustmentsResourceQueryParams, aK as ContractServiceBundleUnitsResource, aL as ContractServiceBundleUnitsResourceQueryParams, aM as ContractServiceBundlesResource, aN as ContractServiceBundlesResourceQueryParams, aO as ContractServiceUnitsResource, aP as ContractServiceUnitsResourceQueryParams, aQ as ContractServicesResource, aR as ContractServicesResourceQueryParams, aS as ContractTicketPurchasesResource, aT as ContractTicketPurchasesResourceQueryParams, aU as ContractsProfitabilityResult, aV as ContractsResource, aW as ContractsResourceQueryParams, aX as CooldownStore, aY as CostRateResolution, aZ as CountriesResource, a_ as CountriesResourceQueryParams, a$ as DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD, b0 as DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES, b1 as DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS, b2 as DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE, b3 as DEFAULT_CIRCUIT_BREAKER_WINDOW_MS, b4 as DEFAULT_COOLDOWN_DEFAULT_MS, b5 as DEFAULT_COOLDOWN_MAX_ENTRIES, b6 as DEFAULT_COOLDOWN_MAX_MS, b7 as DEFAULT_ZONE, b8 as DepartmentsResource, b9 as DepartmentsResourceQueryParams, ba as DomainRegistrarsResource, bb as DomainRegistrarsResourceQueryParams, bc as EntityInformationResource, bd as ErrorCategory, be as ErrorIdRef, bf as ExpenseItemAttachmentsResource, bg as ExpenseItemAttachmentsResourceQueryParams, bh as ExpenseItemsResource, bi as ExpenseItemsResourceQueryParams, bj as ExpenseReportsResource, bk as ExpenseReportsResourceQueryParams, bl as HolidaySetsResource, bm as HolidaySetsResourceQueryParams, bn as HolidaysResource, bo as HolidaysResourceQueryParams, bp as HttpClient, bq as IDEMPOTENT_METHODS, br as InMemoryCircuitBreakerStore, bs as InMemoryCooldownStore, bt as InventoryProductsResource, bu as InventoryProductsResourceQueryParams, bv as InvoicesResource, bw as InvoicesResourceQueryParams, bx as Logger, by as MAX_PAGES, bz as ModulesResource, bA as NoopLogger, bB as NotificationHistoryResource, bC as NotificationHistoryResourceQueryParams, bD as OpportunitiesResource, bE as OpportunitiesResourceQueryParams, bF as OpportunityAttachmentsResource, bG as OpportunityAttachmentsResourceQueryParams, bH as OpportunityCategoriesResource, bI as OpportunityCategoriesResourceQueryParams, bJ as PageFetcher, bK as PaginateOptions, bL as PhasesResource, bM as PhasesResourceQueryParams, bN as ProductVendorsResource, bO as ProductVendorsResourceQueryParams, bP as ProductsResource, bQ as ProductsResourceQueryParams, bR as ProfitRateSource, bS as ProfitabilityActivityCategory, bT as ProfitabilityDataQualityWarning, bU as ProfitabilityHighestCostTicket, bV as ProfitabilityLabourCostMethod, bW as ProfitabilityMiscoding, bX as ProfitabilityMonthlyRow, bY as ProfitabilityOpenRenewalItem, bZ as ProfitabilityOptions, b_ as ProfitabilityPart, b$ as ProfitabilityPartDigest, c0 as ProfitabilityRevenueByType, c1 as ProjectChargesResource, c2 as ProjectChargesResourceQueryParams, c3 as ProjectNotesResource, c4 as ProjectNotesResourceQueryParams, c5 as ProjectsResource, c6 as ProjectsResourceQueryParams, c7 as PurchaseApprovalsResource, c8 as PurchaseApprovalsResourceQueryParams, c9 as PurchaseOrderItemReceivingResource, ca as PurchaseOrderItemReceivingResourceQueryParams, cb as PurchaseOrderItemsResource, cc as PurchaseOrderItemsResourceQueryParams, cd as PurchaseOrdersResource, ce as PurchaseOrdersResourceQueryParams, cf as QuoteItemsResource, cg as QuoteItemsResourceQueryParams, ch as QuoteLocationsResource, ci as QuoteLocationsResourceQueryParams, cj as QuoteTemplatesResource, ck as QuoteTemplatesResourceQueryParams, cl as QuotesResource, cm as QuotesResourceQueryParams, cn as REDACTED, co as ResourceRoleQueuesResource, cp as ResourceRoleQueuesResourceQueryParams, cq as ResourceRolesResource, cr as ResourceRolesResourceQueryParams, cs as ResourceSkillsResource, ct as ResourceSkillsResourceQueryParams, cu as ResourceTimeOffAdditionalResource, cv as ResourceTimeOffAdditionalResourceQueryParams, cw as ResourceTimeOffApproversResource, cx as ResourceTimeOffApproversResourceQueryParams, cy as ResourceTimeOffBalancesResource, cz as ResourceTimeOffBalancesResourceQueryParams, cA as ResourcesResource, cB as ResourcesResourceQueryParams, cC as RolesResource, cD as RolesResourceQueryParams, cE as ServiceCallTaskResourcesResource, cF as ServiceCallTaskResourcesResourceQueryParams, cG as ServiceCallTasksResource, cH as ServiceCallTasksResourceQueryParams, cI as ServiceCallTicketResourcesResource, cJ as ServiceCallTicketResourcesResourceQueryParams, cK as ServiceCallTicketsResource, cL as ServiceCallTicketsResourceQueryParams, cM as ServiceCallsResource, cN as ServiceCallsResourceQueryParams, cO as ServiceLevelAgreementResultsResource, cP as ServiceLevelAgreementResultsResourceQueryParams, cQ as ServicesResource, cR as ServicesResourceQueryParams, cS as SkillsResource, cT as SkillsResourceQueryParams, cU as SubscriptionPeriodsResource, cV as SubscriptionPeriodsResourceQueryParams, cW as SubscriptionsResource, cX as SubscriptionsResourceQueryParams, cY as SurveyResultsResource, cZ as SurveyResultsResourceQueryParams, c_ as SurveysResource, c$ as SurveysResourceQueryParams, d0 as TagAliasesResource, d1 as TagAliasesResourceQueryParams, d2 as TagGroupsResource, d3 as TagGroupsResourceQueryParams, d4 as TagsResource, d5 as TagsResourceQueryParams, d6 as TaskSecondaryResourcesResource, d7 as TaskSecondaryResourcesResourceQueryParams, d8 as TasksResource, d9 as TasksResourceQueryParams, da as ThresholdInformationResource, db as TicketAdditionalConfigurationItemsResource, dc as TicketAdditionalConfigurationItemsResourceQueryParams, dd as TicketAdditionalContactsResource, de as TicketAdditionalContactsResourceQueryParams, df as TicketAttachmentsResource, dg as TicketAttachmentsResourceQueryParams, dh as TicketCategoriesResource, di as TicketCategoriesResourceQueryParams, dj as TicketCategoryFieldDefaultsResource, dk as TicketCategoryFieldDefaultsResourceQueryParams, dl as TicketChangeRequestApprovalsResource, dm as TicketChangeRequestApprovalsResourceQueryParams, dn as TicketChargesResource, dp as TicketChargesResourceQueryParams, dq as TicketChecklistItemsResource, dr as TicketChecklistItemsResourceQueryParams, ds as TicketChecklistLibrariesResource, dt as TicketChecklistLibrariesResourceQueryParams, du as TicketHistoryResource, dv as TicketHistoryResourceQueryParams, dw as TicketNoteAttachmentsResource, dx as TicketNoteAttachmentsResourceQueryParams, dy as TicketNoteWebhooksResource, dz as TicketNoteWebhooksResourceQueryParams, dA as TicketNotesResource, dB as TicketNotesResourceQueryParams, dC as TicketSecondaryResourcesResource, dD as TicketSecondaryResourcesResourceQueryParams, dE as TicketWebhooksResource, dF as TicketWebhooksResourceQueryParams, dG as TicketsResource, dH as TicketsResourceQueryParams, dI as TimeEntriesResource, dJ as TimeEntriesResourceQueryParams, dK as TimeEntryAttachmentsResource, dL as TimeEntryAttachmentsResourceQueryParams, dM as TimeOffRequestsResource, dN as TimeOffRequestsResourceQueryParams, dO as VersionInformationResource, dP as VersionResource, dQ as ZONES, dR as ZONE_CATALOG, dS as ZoneInformationResource, dT as buildBreakerKey, dU as buildTenantKey, dV as clampPageSize, dW as collectAll, dX as cooldownDurationMs, dY as defaultCircuitBreakerStore, dZ as defaultCooldownStore, d_ as isAutotaskError, d$ as isBreakerFailure, e0 as isCredentialHeaderName, e1 as paginate, e2 as paginateItems, e3 as redactRecord, e4 as resetDefaultCircuitBreakerStore, e5 as resetDefaultCooldownStore, e6 as resolveBaseUrl, e7 as toArray, e8 as totalPagesFor, e9 as zoneUrl } from './index-NC-x-bYl.cjs';
3
+ import { Q as QueryParams, I as Identifier, P as PagingModel, O as OperationResult, F as FilterOperator, a as FilterCondition, b as Filter } from './index-BVtycq-6.cjs';
4
+ export { A as ApiVersionResultModel, c as Appointment, d as AppointmentCreate, e as AppointmentSummary, f as AppointmentUpdate, g as AuditEvent, h as AuthTokenResultModel, i as AutotaskVersionResultModel, B as BillingCode, j as BillingCodeCreate, k as BillingCodeSummary, l as BillingCodeUpdate, m as BillingItems, n as BillingItemsCreate, o as BillingItemsSummary, p as BillingItemsUpdate, C as ChangeRequestLink, q as ChangeRequestLinkCreate, r as ChangeRequestLinkSummary, s as ChangeRequestLinkUpdate, t as ChecklistLibrary, u as ChecklistLibraryChecklistItem, v as ChecklistLibraryChecklistItemCreate, w as ChecklistLibraryChecklistItemSummary, x as ChecklistLibraryChecklistItemUpdate, y as ChecklistLibraryCreate, z as ChecklistLibrarySummary, D as ChecklistLibraryUpdate, E as ClassificationIcon, G as ClassificationIconCreate, H as ClassificationIconSummary, J as ClassificationIconUpdate, K as Company, L as CompanyAlert, M as CompanyAlertCreate, N as CompanyAlertSummary, R as CompanyAlertUpdate, S as CompanyContext, T as CompanyCreate, U as CompanyLocation, V as CompanyLocationCreate, W as CompanyLocationSummary, X as CompanyLocationUpdate, Y as CompanyNote, Z as CompanyNoteCreate, _ as CompanyNoteSummary, $ as CompanyNoteUpdate, a0 as CompanySiteConfigurations, a1 as CompanySiteConfigurationsCreate, a2 as CompanySiteConfigurationsSummary, a3 as CompanySiteConfigurationsUpdate, a4 as CompanySummary, a5 as CompanyUpdate, a6 as CompanyWebhook, a7 as CompanyWebhookCreate, a8 as CompanyWebhookSummary, a9 as CompanyWebhookUpdate, aa as ConfigurationItem, ab as ConfigurationItemBillingProductAssociations, ac as ConfigurationItemBillingProductAssociationsCreate, ad as ConfigurationItemBillingProductAssociationsSummary, ae as ConfigurationItemBillingProductAssociationsUpdate, af as ConfigurationItemCategory, ag as ConfigurationItemCategoryCreate, ah as ConfigurationItemCategorySummary, ai as ConfigurationItemCategoryUdfAssociation, aj as ConfigurationItemCategoryUdfAssociationCreate, ak as ConfigurationItemCategoryUdfAssociationSummary, al as ConfigurationItemCategoryUdfAssociationUpdate, am as ConfigurationItemCategoryUpdate, an as ConfigurationItemContext, ao as ConfigurationItemCreate, ap as ConfigurationItemDnsRecord, aq as ConfigurationItemDnsRecordCreate, ar as ConfigurationItemDnsRecordSummary, as as ConfigurationItemDnsRecordUpdate, at as ConfigurationItemNote, au as ConfigurationItemNoteCreate, av as ConfigurationItemNoteSummary, aw as ConfigurationItemNoteUpdate, ax as ConfigurationItemRelatedItem, ay as ConfigurationItemRelatedItemCreate, az as ConfigurationItemRelatedItemSummary, aA as ConfigurationItemRelatedItemUpdate, aB as ConfigurationItemSslSubjectAlternativeName, aC as ConfigurationItemSslSubjectAlternativeNameCreate, aD as ConfigurationItemSslSubjectAlternativeNameSummary, aE as ConfigurationItemSslSubjectAlternativeNameUpdate, aF as ConfigurationItemSummary, aG as ConfigurationItemType, aH as ConfigurationItemTypeCreate, aI as ConfigurationItemTypeSummary, aJ as ConfigurationItemTypeUpdate, aK as ConfigurationItemUpdate, aL as ConfigurationItemWebhook, aM as ConfigurationItemWebhookCreate, aN as ConfigurationItemWebhookSummary, aO as ConfigurationItemWebhookUpdate, aP as Contact, aQ as ContactContext, aR as ContactCreate, aS as ContactGroupContacts, aT as ContactGroupContactsCreate, aU as ContactGroupContactsSummary, aV as ContactGroupContactsUpdate, aW as ContactGroups, aX as ContactGroupsCreate, aY as ContactGroupsSummary, aZ as ContactGroupsUpdate, a_ as ContactSummary, a$ as ContactUpdate, b0 as ContactWebhook, b1 as ContactWebhookCreate, b2 as ContactWebhookSummary, b3 as ContactWebhookUpdate, b4 as Contract, b5 as ContractBillingRule, b6 as ContractBillingRuleCreate, b7 as ContractBillingRuleSummary, b8 as ContractBillingRuleUpdate, b9 as ContractBlock, ba as ContractBlockCreate, bb as ContractBlockHourFactor, bc as ContractBlockHourFactorCreate, bd as ContractBlockHourFactorSummary, be as ContractBlockHourFactorUpdate, bf as ContractBlockSummary, bg as ContractBlockUpdate, bh as ContractCharge, bi as ContractChargeCreate, bj as ContractChargeSummary, bk as ContractChargeUpdate, bl as ContractCreate, bm as ContractExclusionBillingCode, bn as ContractExclusionBillingCodeCreate, bo as ContractExclusionBillingCodeSummary, bp as ContractExclusionBillingCodeUpdate, bq as ContractExclusionRoles, br as ContractExclusionRolesCreate, bs as ContractExclusionRolesSummary, bt as ContractExclusionRolesUpdate, bu as ContractExclusionSetExcludedRoles, bv as ContractExclusionSetExcludedRolesCreate, bw as ContractExclusionSetExcludedRolesSummary, bx as ContractExclusionSetExcludedRolesUpdate, by as ContractExclusionSetExcludedWorkTypes, bz as ContractExclusionSetExcludedWorkTypesCreate, bA as ContractExclusionSetExcludedWorkTypesSummary, bB as ContractExclusionSetExcludedWorkTypesUpdate, bC as ContractExclusionSets, bD as ContractExclusionSetsCreate, bE as ContractExclusionSetsSummary, bF as ContractExclusionSetsUpdate, bG as ContractMilestone, bH as ContractMilestoneCreate, bI as ContractMilestoneSummary, bJ as ContractMilestoneUpdate, bK as ContractNote, bL as ContractNoteCreate, bM as ContractNoteSummary, bN as ContractNoteUpdate, bO as ContractRate, bP as ContractRateCreate, bQ as ContractRateSummary, bR as ContractRateUpdate, bS as ContractRetainers, bT as ContractRetainersCreate, bU as ContractRetainersSummary, bV as ContractRetainersUpdate, bW as ContractRoleCosts, bX as ContractRoleCostsCreate, bY as ContractRoleCostsSummary, bZ as ContractRoleCostsUpdate, b_ as ContractService, b$ as ContractServiceAdjustment, c0 as ContractServiceAdjustmentCreate, c1 as ContractServiceAdjustmentSummary, c2 as ContractServiceAdjustmentUpdate, c3 as ContractServiceBundle, c4 as ContractServiceBundleAdjustment, c5 as ContractServiceBundleAdjustmentCreate, c6 as ContractServiceBundleAdjustmentSummary, c7 as ContractServiceBundleAdjustmentUpdate, c8 as ContractServiceBundleCreate, c9 as ContractServiceBundleSummary, ca as ContractServiceBundleUnit, cb as ContractServiceBundleUnitCreate, cc as ContractServiceBundleUnitSummary, cd as ContractServiceBundleUnitUpdate, ce as ContractServiceBundleUpdate, cf as ContractServiceCreate, cg as ContractServiceSummary, ch as ContractServiceUnit, ci as ContractServiceUnitCreate, cj as ContractServiceUnitSummary, ck as ContractServiceUnitUpdate, cl as ContractServiceUpdate, cm as ContractSummary, cn as ContractTicketPurchases, co as ContractTicketPurchasesCreate, cp as ContractTicketPurchasesSummary, cq as ContractTicketPurchasesUpdate, cr as ContractUpdate, cs as Country, ct as CountryCreate, cu as CountrySummary, cv as CountryUpdate, cw as Department, cx as DepartmentCreate, cy as DepartmentSummary, cz as DepartmentUpdate, cA as DocumentChecklistLibrary, cB as DomainRegistrar, cC as DomainRegistrarCreate, cD as DomainRegistrarSummary, cE as DomainRegistrarUpdate, cF as DryRunResult, cG as EmptyReasonInfo, cH as EmptyReasonKind, cI as EntityInformationModel, cJ as EntityInformationResultModel, cK as ExpenseItem, cL as ExpenseItemAttachment, cM as ExpenseItemAttachmentCreate, cN as ExpenseItemAttachmentSummary, cO as ExpenseItemAttachmentUpdate, cP as ExpenseItemCreate, cQ as ExpenseItemSummary, cR as ExpenseItemUpdate, cS as ExpenseReport, cT as ExpenseReportCreate, cU as ExpenseReportSummary, cV as ExpenseReportUpdate, cW as Field, cX as FieldDiff, cY as FieldInformationModel, cZ as FilterValue, c_ as GlobalEntityInformationResultModel, c$ as Holiday, d0 as HolidayCreate, d1 as HolidaySet, d2 as HolidaySetCreate, d3 as HolidaySetSummary, d4 as HolidaySetUpdate, d5 as HolidaySummary, d6 as HolidayUpdate, d7 as InventoryProduct, d8 as InventoryProductCreate, d9 as InventoryProductSummary, da as InventoryProductUpdate, db as InventoryStockedItemAdd, dc as InventoryStockedItemRemove, dd as InventoryStockedItemTransfer, de as Invoice, df as InvoiceCreate, dg as InvoiceSummary, dh as InvoiceUpdate, di as KeyValuePair, dj as ModuleAccessResultModel, dk as NotificationHistory, dl as NotificationHistoryCreate, dm as NotificationHistorySummary, dn as NotificationHistoryUpdate, dp as OperationMetadata, dq as OperationShapeDrift, dr as Opportunity, ds as OpportunityAttachment, dt as OpportunityAttachmentCreate, du as OpportunityAttachmentSummary, dv as OpportunityAttachmentUpdate, dw as OpportunityCategory, dx as OpportunityCategoryCreate, dy as OpportunityCategorySummary, dz as OpportunityCategoryUpdate, dA as OpportunityCreate, dB as OpportunitySummary, dC as OpportunityUpdate, dD as Page, dE as Phase, dF as PhaseCreate, dG as PhaseSummary, dH as PhaseUpdate, dI as PickListValue, dJ as Product, dK as ProductCreate, dL as ProductSummary, dM as ProductUpdate, dN as ProductVendors, dO as ProductVendorsCreate, dP as ProductVendorsSummary, dQ as ProductVendorsUpdate, dR as Project, dS as ProjectCharge, dT as ProjectChargeCreate, dU as ProjectChargeSummary, dV as ProjectChargeUpdate, dW as ProjectContext, dX as ProjectCreate, dY as ProjectNote, dZ as ProjectNoteCreate, d_ as ProjectNoteSummary, d$ as ProjectNoteUpdate, e0 as ProjectSummary, e1 as ProjectUpdate, e2 as PurchaseApprovals, e3 as PurchaseApprovalsCreate, e4 as PurchaseApprovalsSummary, e5 as PurchaseApprovalsUpdate, e6 as PurchaseOrderItemReceiving, e7 as PurchaseOrderItemReceivingCreate, e8 as PurchaseOrderItemReceivingSummary, e9 as PurchaseOrderItemReceivingUpdate, ea as PurchaseOrderItems, eb as PurchaseOrderItemsCreate, ec as PurchaseOrderItemsSummary, ed as PurchaseOrderItemsUpdate, ee as PurchaseOrders, ef as PurchaseOrdersCreate, eg as PurchaseOrdersSummary, eh as PurchaseOrdersUpdate, ei as Quote, ej as QuoteCreate, ek as QuoteItem, el as QuoteItemCreate, em as QuoteItemSummary, en as QuoteItemUpdate, eo as QuoteLocation, ep as QuoteLocationCreate, eq as QuoteLocationSummary, er as QuoteLocationUpdate, es as QuoteSummary, et as QuoteTemplate, eu as QuoteTemplateCreate, ev as QuoteTemplateSummary, ew as QuoteTemplateUpdate, ex as QuoteUpdate, ey as Resolution, ez as ResolutionCaps, eA as Resource, eB as ResourceCreate, eC as ResourceRole, eD as ResourceRoleCreate, eE as ResourceRoleQueue, eF as ResourceRoleQueueCreate, eG as ResourceRoleQueueSummary, eH as ResourceRoleQueueUpdate, eI as ResourceRoleSummary, eJ as ResourceRoleUpdate, eK as ResourceSkill, eL as ResourceSkillCreate, eM as ResourceSkillSummary, eN as ResourceSkillUpdate, eO as ResourceSummary, eP as ResourceTimeOffAdditional, eQ as ResourceTimeOffAdditionalCreate, eR as ResourceTimeOffAdditionalSummary, eS as ResourceTimeOffAdditionalUpdate, eT as ResourceTimeOffApprover, eU as ResourceTimeOffApproverCreate, eV as ResourceTimeOffApproverSummary, eW as ResourceTimeOffApproverUpdate, eX as ResourceTimeOffBalance, eY as ResourceTimeOffBalanceCreate, eZ as ResourceTimeOffBalanceSummary, e_ as ResourceTimeOffBalanceUpdate, e$ as ResourceUpdate, f0 as Role, f1 as RoleCreate, f2 as RoleSummary, f3 as RoleUpdate, f4 as Service, f5 as ServiceCall, f6 as ServiceCallCreate, f7 as ServiceCallSummary, f8 as ServiceCallTask, f9 as ServiceCallTaskCreate, fa as ServiceCallTaskResource, fb as ServiceCallTaskResourceCreate, fc as ServiceCallTaskResourceSummary, fd as ServiceCallTaskResourceUpdate, fe as ServiceCallTaskSummary, ff as ServiceCallTaskUpdate, fg as ServiceCallTicket, fh as ServiceCallTicketCreate, fi as ServiceCallTicketResource, fj as ServiceCallTicketResourceCreate, fk as ServiceCallTicketResourceSummary, fl as ServiceCallTicketResourceUpdate, fm as ServiceCallTicketSummary, fn as ServiceCallTicketUpdate, fo as ServiceCallUpdate, fp as ServiceCreate, fq as ServiceLevelAgreementResults, fr as ServiceLevelAgreementResultsCreate, fs as ServiceLevelAgreementResultsSummary, ft as ServiceLevelAgreementResultsUpdate, fu as ServiceSummary, fv as ServiceUpdate, fw as Skill, fx as SkillCreate, fy as SkillSummary, fz as SkillUpdate, fA as Subscription, fB as SubscriptionCreate, fC as SubscriptionPeriod, fD as SubscriptionPeriodCreate, fE as SubscriptionPeriodSummary, fF as SubscriptionPeriodUpdate, fG as SubscriptionSummary, fH as SubscriptionUpdate, fI as Survey, fJ as SurveyCreate, fK as SurveyResults, fL as SurveyResultsCreate, fM as SurveyResultsSummary, fN as SurveyResultsUpdate, fO as SurveySummary, fP as SurveyUpdate, fQ as Tag, fR as TagAlias, fS as TagAliasCreate, fT as TagAliasSummary, fU as TagAliasUpdate, fV as TagCreate, fW as TagGroup, fX as TagGroupCreate, fY as TagGroupSummary, fZ as TagGroupUpdate, f_ as TagSummary, f$ as TagUpdate, g0 as Task, g1 as TaskCreate, g2 as TaskSecondaryResource, g3 as TaskSecondaryResourceCreate, g4 as TaskSecondaryResourceSummary, g5 as TaskSecondaryResourceUpdate, g6 as TaskSummary, g7 as TaskUpdate, g8 as ThresholdStatusResultModel, g9 as Ticket, ga as TicketAdditionalConfigurationItem, gb as TicketAdditionalConfigurationItemCreate, gc as TicketAdditionalConfigurationItemSummary, gd as TicketAdditionalConfigurationItemUpdate, ge as TicketAdditionalContact, gf as TicketAdditionalContactCreate, gg as TicketAdditionalContactSummary, gh as TicketAdditionalContactUpdate, gi as TicketAttachment, gj as TicketAttachmentCreate, gk as TicketAttachmentSummary, gl as TicketAttachmentUpdate, gm as TicketCategory, gn as TicketCategoryCreate, go as TicketCategoryFieldDefault, gp as TicketCategoryFieldDefaultCreate, gq as TicketCategoryFieldDefaultSummary, gr as TicketCategoryFieldDefaultUpdate, gs as TicketCategorySummary, gt as TicketCategoryUpdate, gu as TicketChangeRequestApproval, gv as TicketChangeRequestApprovalCreate, gw as TicketChangeRequestApprovalSummary, gx as TicketChangeRequestApprovalUpdate, gy as TicketCharge, gz as TicketChargeCreate, gA as TicketChargeSummary, gB as TicketChargeUpdate, gC as TicketChecklistItem, gD as TicketChecklistItemCreate, gE as TicketChecklistItemSummary, gF as TicketChecklistItemUpdate, gG as TicketChecklistLibrary, gH as TicketChecklistLibraryCreate, gI as TicketChecklistLibrarySummary, gJ as TicketChecklistLibraryUpdate, gK as TicketContext, gL as TicketCreate, gM as TicketHistory, gN as TicketHistoryCreate, gO as TicketHistorySummary, gP as TicketHistoryUpdate, gQ as TicketNote, gR as TicketNoteAttachment, gS as TicketNoteAttachmentCreate, gT as TicketNoteAttachmentSummary, gU as TicketNoteAttachmentUpdate, gV as TicketNoteCreate, gW as TicketNoteSummary, gX as TicketNoteUpdate, gY as TicketNoteWebhook, gZ as TicketNoteWebhookCreate, g_ as TicketNoteWebhookSummary, g$ as TicketNoteWebhookUpdate, h0 as TicketSecondaryResource, h1 as TicketSecondaryResourceCreate, h2 as TicketSecondaryResourceSummary, h3 as TicketSecondaryResourceUpdate, h4 as TicketSummary, h5 as TicketUpdate, h6 as TicketWebhook, h7 as TicketWebhookCreate, h8 as TicketWebhookSummary, h9 as TicketWebhookUpdate, ha as TimeEntry, hb as TimeEntryAttachment, hc as TimeEntryAttachmentCreate, hd as TimeEntryAttachmentSummary, he as TimeEntryAttachmentUpdate, hf as TimeEntryCreate, hg as TimeEntrySummary, hh as TimeEntryUpdate, hi as TimeOffRequest, hj as TimeOffRequestCreate, hk as TimeOffRequestReject, hl as TimeOffRequestSummary, hm as TimeOffRequestUpdate, hn as UdfField, ho as ZoneInformationResultModel } from './index-BVtycq-6.cjs';
5
5
 
6
6
  /**
7
7
  * Three-header auth (ARCHITECTURE section 9).
@@ -40,6 +40,361 @@ declare function buildAuthHeaders(cfg: ResolvedAuth): Record<string, string>;
40
40
  */
41
41
  declare function withAuthHeaders(headers: Record<string, string> | undefined, cfg: ResolvedAuth): Record<string, string>;
42
42
 
43
+ declare const DEFAULT_PAGE_SIZE = 10;
44
+ declare const MAX_PAGE_SIZE = 500;
45
+ declare const DEFAULT_TIMEOUT_MS = 30000;
46
+ declare const DEFAULT_MAX_RETRIES = 3;
47
+ /** Autotask runs a weekly maintenance window (observed median ~2 h, ceiling 4 h — MAINTENANCE_WINDOW_MAX_MS); wait out one hour by default. */
48
+ declare const DEFAULT_MAINTENANCE_MAX_WAIT_MS = 3600000;
49
+ declare const DEFAULT_MAINTENANCE_POLL_MS = 30000;
50
+ /**
51
+ * Issue #114 (2026-10-19): the observed ceiling of the weekly maintenance
52
+ * window — 4 h. Live evidence from 19 windows: 30-240 min, median ~2 h, max
53
+ * 4 h. The default wait above stays 1 h (the common case, and a bounded
54
+ * default for unattended callers); a worker that must ride out the worst
55
+ * window passes `maintenanceMaxWaitMs: MAINTENANCE_WINDOW_MAX_MS`.
56
+ */
57
+ declare const MAINTENANCE_WINDOW_MAX_MS: number;
58
+ declare const DEFAULT_MAX_CONCURRENT = 10;
59
+ /** Default response-size cap (64 MiB) — bounds a runaway/hostile body in memory. */
60
+ declare const DEFAULT_MAX_RESPONSE_BYTES: number;
61
+ /** Bounded client-scan caps for resolution (section 19.2). */
62
+ declare const DEFAULT_MAX_SCAN_RECORDS = 500;
63
+ declare const DEFAULT_MAX_SCAN_PAGES = 4;
64
+ /** Default read-cache TTL (issue #80: the plan-derived default class, 5 min). */
65
+ declare const DEFAULT_READ_CACHE_TTL_MS = 300000;
66
+ /** Default field-metadata cache TTL (issue #80: the 5 min class). */
67
+ declare const DEFAULT_FIELD_CACHE_TTL_MS = 300000;
68
+ /** Default resource-name cache TTL (issue #80: the plan-derived reference class, 1 h). */
69
+ declare const DEFAULT_RESOURCE_NAME_CACHE_TTL_MS = 3600000;
70
+
71
+ declare class AutotaskNetworkError extends AutotaskError {
72
+ constructor(message: string, options?: AutotaskErrorOptions);
73
+ }
74
+ declare class AutotaskTimeoutError extends AutotaskError {
75
+ constructor(message: string, options?: AutotaskErrorOptions);
76
+ }
77
+ /** The caller's `AbortSignal` fired: distinct from a timeout, never retried. */
78
+ declare class AutotaskAbortError extends AutotaskError {
79
+ constructor(message: string, options?: AutotaskErrorOptions);
80
+ }
81
+ /** A response (or redirect) the transport refuses by policy: non-retryable. */
82
+ declare class ResponseRejectedError extends AutotaskError {
83
+ constructor(message: string, options?: AutotaskErrorOptions);
84
+ }
85
+ declare class BadRequestError extends AutotaskError {
86
+ constructor(message: string, options?: AutotaskErrorOptions);
87
+ }
88
+ declare class UnauthorizedError extends AutotaskError {
89
+ constructor(message: string, options?: AutotaskErrorOptions);
90
+ }
91
+ declare class ForbiddenError extends AutotaskError {
92
+ constructor(message: string, options?: AutotaskErrorOptions);
93
+ }
94
+ declare class NotFoundError extends AutotaskError {
95
+ constructor(message: string, options?: AutotaskErrorOptions);
96
+ }
97
+ declare class ConflictError extends AutotaskError {
98
+ constructor(message: string, options?: AutotaskErrorOptions);
99
+ }
100
+ declare class UnprocessableEntityError extends AutotaskError {
101
+ constructor(message: string, options?: AutotaskErrorOptions);
102
+ }
103
+ declare class RateLimitError extends AutotaskError {
104
+ /** Seconds the server asked the client to wait (`Retry-After`), when present. */
105
+ retryAfter?: number;
106
+ /** True when the call was refused locally (the tenant cooldown gate) and never sent. */
107
+ notSent?: boolean;
108
+ constructor(message: string, options?: AutotaskErrorOptions);
109
+ }
110
+ declare class ServerError extends AutotaskError {
111
+ constructor(message: string, options?: AutotaskErrorOptions);
112
+ }
113
+ /**
114
+ * Issue #24: a 2xx whose body does not parse as JSON and whose `Content-Type`
115
+ * is NOT a JSON media type (the vendor maintenance / edge HTML page). The
116
+ * vendor never processed the request — `retryable` is advisory (the transport
117
+ * retries it per policy on idempotent methods only). The raw, HOST-SOURCED
118
+ * free text lives ONLY in `details.bodySnippet` (the first 256 bytes,
119
+ * truncation-only — name-based redaction is a no-op on free text; untrusted
120
+ * host content for the served surface). A JSON-ish header
121
+ * (`application/json*` or a plus-json suffix media type) or an ABSENT
122
+ * header keeps `INVALID_RESPONSE` (the #13/W-A7 shape-drift key); JSON
123
+ * under any other header still decodes (the decode attempt is
124
+ * unconditional).
125
+ */
126
+ declare class UnexpectedContentTypeError extends AutotaskError {
127
+ constructor(message: string, options?: AutotaskErrorOptions);
128
+ }
129
+ /**
130
+ * Issue #25: a 2xx with an EMPTY body where a result was expected (the
131
+ * transport's `expectBody` contract — non-DELETE by default; DELETE and 204
132
+ * keep returning `undefined`). A blank 200 from a proxy or maintenance edge
133
+ * is a transport fault, not "no data". `retryable` is advisory (true for
134
+ * non-DELETE reads — the loop never retries 2xx). `details = { httpStatus,
135
+ * method }`. The transport attaches the typed empty-reason details (issue
136
+ * #14) on it before throwing, so a pinned blind surface keeps its stamp.
137
+ */
138
+ declare class EmptyResponseError extends AutotaskError {
139
+ constructor(message: string, options?: AutotaskErrorOptions);
140
+ }
141
+ /**
142
+ * Issue #26: the host circuit breaker is OPEN and the call was refused
143
+ * LOCALLY (pre-send — zero upstream calls, no hourly-limiter stamp, the
144
+ * #6 cooldown gate's slot). `retryable: true` is a DELIBERATE divergence
145
+ * from #6's `RATE_LIMITED_COOLDOWN` (`retryable: false`): the open period
146
+ * is bounded and advertised via `retryAfter`, so retrying the SAME call
147
+ * after the wait is the correct caller behaviour (service health, not
148
+ * request shape — no narrowing needed). `notSent: true` is the shared
149
+ * local-refusal marker. `details = { state: 'open' | 'half-open',
150
+ * retryAfterMs, failureCount }` rides the error (and the MCP served
151
+ * payload) verbatim.
152
+ */
153
+ declare class CircuitBreakerError extends AutotaskError {
154
+ /** Seconds remaining in the open period (absent when the half-open probe budget is in flight). */
155
+ retryAfter?: number;
156
+ /** True when the call was refused locally (the circuit is open) and never sent. */
157
+ notSent?: boolean;
158
+ constructor(message: string, options?: AutotaskErrorOptions);
159
+ }
160
+ /**
161
+ * Skill 3.5.0 / L2 (finding A1): an opt-in `hostPolicy` bound refused the
162
+ * configured (or discovery-provided) host at CONFIG resolution — a typed
163
+ * config error, thrown BEFORE any wire activity (zero fetch; the issue-#43
164
+ * re-point never happens and the original 401 propagates untouched).
165
+ * `retryable: false` (the same contract as the #6 cooldown refusal): the
166
+ * bound is a caller policy, not service health, so retrying the identical
167
+ * call cannot succeed. `details = { bound: 'private' | 'allowlist',
168
+ * origin }` rides the error verbatim and names the offending canonical
169
+ * origin.
170
+ */
171
+ declare class HostPolicyDeniedError extends AutotaskError {
172
+ constructor(message: string, options?: AutotaskErrorOptions);
173
+ }
174
+ declare class ResolutionError extends AutotaskError {
175
+ constructor(message: string, options?: AutotaskErrorOptions);
176
+ }
177
+ declare class PaginationLimitError extends AutotaskError {
178
+ constructor(message: string, options?: AutotaskErrorOptions);
179
+ }
180
+ declare class QueryTooLongError extends AutotaskError {
181
+ constructor(message: string, options?: AutotaskErrorOptions);
182
+ }
183
+
184
+ /** One vendor field rejection, parsed from the error body. */
185
+ interface VendorFieldError {
186
+ message?: string;
187
+ field?: string;
188
+ code?: string;
189
+ }
190
+ declare function parseVendorErrors(body: unknown): VendorFieldError[] | undefined;
191
+ /**
192
+ * #23: true when the parsed vendor `errors[]` entries of a 500 name a known
193
+ * deterministic field-validation phrase (case-insensitive, over every
194
+ * entry's message — string and object entries alike; `parseVendorErrors`
195
+ * normalises both). The shared signal for the transport's no-retry decision
196
+ * and the #26 breaker predicate (key on this, never on INVALID_RESPONSE).
197
+ */
198
+ declare function isDeterministicVendor500(entries: VendorFieldError[] | undefined): boolean;
199
+ /**
200
+ * The vendor detail line: entries joined with ` | `, or the top-level vendor
201
+ * `message`, or undefined when the body names nothing.
202
+ */
203
+ declare function formatVendorDetail(body: unknown): string | undefined;
204
+
205
+ /**
206
+ * What the transport knows about the credential values it actually put on the wire for the failed
207
+ * attempt. Only the header NAMES are carried — a value never leaves the transport.
208
+ */
209
+ interface CredentialShapeExpectation {
210
+ /** Credential header names whose values were sent. */
211
+ headerNames: readonly string[];
212
+ /** True when EVERY one of those values had a clean shape. */
213
+ allValuesClean: boolean;
214
+ /** The shape artifact found, when one was found (never the value itself). */
215
+ problem?: string;
216
+ }
217
+ /** The pointer a 401's shape diagnostic carries to the canonical env load. */
218
+ declare const CREDENTIAL_SHAPE_POINTER: string;
219
+ /**
220
+ * Merge the extras a 401 already carries (the issue-#43 `zoneRecovery` detail, the issue-#14
221
+ * pointer/emptyReason) with the C3 credential diagnostic, field by field. Later fields win.
222
+ */
223
+ declare function mergeDetails(base: Record<string, unknown> | undefined, extra: Record<string, unknown> | undefined): Record<string, unknown> | undefined;
224
+ /**
225
+ * Map an HTTP status + raw vendor body to the typed error (ARCHITECTURE
226
+ * section 10). Keeps the raw body under `vendorError` and adopts a vendor
227
+ * `code` that looks like a stable machine code (top-level, then the first
228
+ * entry's) — otherwise the status-derived code is kept.
229
+ *
230
+ * The INV-A1 hotfix (second site): the vendor body is deep-redacted ONCE,
231
+ * before anything is derived from it — so `vendorError` and the adopted
232
+ * message (computed from the redacted body) never carry a pinned field value
233
+ * (a 4xx that echoes a request body which carried a secret would otherwise
234
+ * leak through the error path). `redactPersonalData` (default true) gates
235
+ * the PII/CONFIDENTIAL classes; the SECRET class is always redacted.
236
+ *
237
+ * When the body names nothing (no `errors[]` entry, no top-level `message`),
238
+ * the default status message gains a `: <body>` suffix — the redacted body
239
+ * (parsed → JSON text, raw → text) truncated to 200 chars — so 4xx/5xx
240
+ * triage sees the vendor text in the message itself.
241
+ */
242
+ declare function errorFromStatus(status: number, body: unknown, url?: string, operation?: string, redactPersonalData?: boolean, credential?: CredentialShapeExpectation): AutotaskError;
243
+
244
+ /**
245
+ * Stale-object protection (ARCHITECTURE section 19.3): the caller-supplied
246
+ * `lastModifiedDate` no longer matches the vendor's current value. No
247
+ * `If-Match`/ETag exists in the API — the plan's `staleCheck` field is the
248
+ * comparison.
249
+ */
250
+ declare class StaleObjectError extends AutotaskError {
251
+ constructor(message: string, options?: AutotaskErrorOptions);
252
+ }
253
+ /**
254
+ * A deliberate-act refusal (section 19.5 R4): a destructive or
255
+ * approval-gated operation was invoked without its exact confirmation flag.
256
+ */
257
+ declare class ConfirmationRequiredError extends AutotaskError {
258
+ constructor(message: string, options?: AutotaskErrorOptions);
259
+ }
260
+ /**
261
+ * Issue #9 (P1): the vendor defines no DELETE for the requested resource —
262
+ * a `recovery` delete refused PRE-SEARCH (zero wire). The note carries the
263
+ * spec-derived boundary sentence (plan.deleteBoundaries) + the UI-only
264
+ * cleanup remedy. Never a raw vendor 405: the boundary is known locally
265
+ * (the vendored spec audit) and the refusal happens before any request.
266
+ */
267
+ declare class DeleteBoundaryError extends AutotaskError {
268
+ constructor(message: string, options?: AutotaskErrorOptions);
269
+ }
270
+ /**
271
+ * Issue #9 (P1): a matched record's id is NOT representable as a safe JS
272
+ * integer (beyond Number.MAX_SAFE_INTEGER) — the match CANNOT be addressed
273
+ * through the SDK's typed delete surface. Never a silent skip: the op
274
+ * refuses with this code (delete) or marks the match id null (find) so the
275
+ * caller sees the unaddressable record and can clean it up via the UI.
276
+ */
277
+ declare class MarkerUnsafeIdError extends AutotaskError {
278
+ constructor(message: string, options?: AutotaskErrorOptions);
279
+ }
280
+ /**
281
+ * Issue #9: the recovery's bounded search TRIPPED its match cap (more
282
+ * matches exist than `limit`) — the op refuses instead of returning a
283
+ * silently truncated (or silently empty) result. Retry with a higher
284
+ * `limit` (max 100) or a narrower `marker` / `filter`.
285
+ */
286
+ declare class RecoveryTruncatedError extends AutotaskError {
287
+ constructor(message: string, options?: AutotaskErrorOptions);
288
+ }
289
+ /**
290
+ * Issue #197: a governed move (create -> verify -> delete) refused or did not
291
+ * complete cleanly. `code` is the typed MOVE_* reason; `details.status` is the
292
+ * move status (`failed` = nothing changed, `partial` = both records exist,
293
+ * `unknown` = the outcome could not be read) and `details` carries ids only
294
+ * (never field values) plus, where a person can finish the job in the UI, a
295
+ * `manualAction` with a clickable deep link.
296
+ */
297
+ declare class MoveRefusedError extends AutotaskError {
298
+ constructor(message: string, options?: AutotaskErrorOptions);
299
+ }
300
+
301
+ /**
302
+ * The credential core of `resolveConfig` (issue #80): the fail-closed
303
+ * credential trim + zone -> base-URL resolution WITHOUT building the
304
+ * cache instances. `ClientPool.keyFor` calls this to hash the credential
305
+ * tuple — with the channels default-on, the full `resolveConfig` would
306
+ * construct three throwaway cache instances on every pool access, so the
307
+ * key path must not (the pool key ignores cache config by design: same
308
+ * credentials = one client, first-built wins). `resolveConfig` reuses
309
+ * this for the same fields, then resolves the rest.
310
+ */
311
+ declare function resolveCredentials(config: AutotaskConfig): {
312
+ baseUrl: string;
313
+ zone?: ZoneName;
314
+ apiIntegrationCode: string;
315
+ userName: string;
316
+ secret: string;
317
+ impersonationResourceId?: string;
318
+ };
319
+ /** Validate + resolve an AutotaskConfig (fail closed; throws AutotaskConfigError). */
320
+ declare function resolveConfig(config: AutotaskConfig): ResolvedAutotaskConfig;
321
+
322
+ /**
323
+ * Build the absolute request URL (base + path + query). Issue #54: the path
324
+ * is guarded ({@link assertSafePath}) and the built URL must stay on the
325
+ * base's origin — the credential headers never leave the configured host.
326
+ */
327
+ declare function buildUrl(baseUrl: string, path: string, query?: Record<string, unknown>): string;
328
+ /**
329
+ * Map the vendor's `nextPageUrl` cursor to a request path for `baseUrl`.
330
+ * Issue #54: the cursor is server-supplied, so it is resolved against the
331
+ * base and REFUSED (ResponseRejectedError, zero wire) when its origin
332
+ * differs — page 2 never goes to another host with the credentials. The
333
+ * base pathname (e.g. `/atservicesrest`) is stripped so `buildUrl` does not
334
+ * double it.
335
+ */
336
+ declare function cursorToPath(baseUrl: string, cursor: string): string;
337
+ /**
338
+ * Build the QueryModel POST body shared by the page-1 `/query` POST and every
339
+ * cursor continuation (issue #118). Key order is pinned: `MaxRecords`,
340
+ * `IncludeFields`, `filter` (the POST-body order every walk test pins).
341
+ *
342
+ * - `MaxRecords` only when `maxRecords` is set. Live-verified 2026-10-19
343
+ * (ww29): the vendor IGNORES `MaxRecords` on a continuation and returns its
344
+ * own 500-row page — harmless, because the walk slices to its own limit.
345
+ * - `IncludeFields` only when `includeFields` is set, with `id` appended once
346
+ * (issue #59: the vendor omits `id` from a row unless it is named). The
347
+ * vendor HONOURS `IncludeFields` on a continuation, so carrying it turns a
348
+ * projected page-1 walk into a projected walk (before #118 page 2+ POSTed
349
+ * `{ filter }` alone and returned FULL rows — 4 keys on page 1, 73 on
350
+ * page 2, live-reproduced 2026-10-19 against ww29).
351
+ * - `filter` ALWAYS present (`[]` when no conditions) — node parity; see the
352
+ * comment at the assignment below.
353
+ */
354
+ declare function buildQueryBody(params: QueryParams): Record<string, unknown>;
355
+ /**
356
+ * Build the RequestOptions for a `/query` call (ARCHITECTURE section 8.2).
357
+ * POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }` from
358
+ * {@link buildQueryBody} (one source of truth with the cursor continuations of
359
+ * a walk; `filter` is ALWAYS sent — an empty array when absent — node parity,
360
+ * and some zone versions 500 on its absence; the field is the conditions array).
361
+ * `via: 'get'` — GET `?search=<json>` with the FULL measured URL checked
362
+ * against the 2048-char cap; above it the call THROWS `QueryTooLongError`
363
+ * (never a silent switch to POST). When `includeFields` is set the SDK
364
+ * always appends `id` (issue #59: the vendor omits `id` from a row unless
365
+ * it is named, and every caller needs the id to act on the row).
366
+ */
367
+ declare function buildQueryRequest(baseUrl: string, resourcePath: string, params: QueryParams): RequestOptions;
368
+
369
+ /** Run `fn` with `signal` cancelling every SDK request it starts (and their retry waits). */
370
+ declare function runWithSignal<T>(signal: AbortSignal, fn: () => T): T;
371
+
372
+ /**
373
+ * Envelope unwrap helpers + the typed empty-reason attachment (split from
374
+ * http.ts, issue #166).
375
+ */
376
+
377
+ declare function unwrapItems<T>(body: unknown, operation?: string): {
378
+ items: T[];
379
+ pageDetails: PagingModel;
380
+ };
381
+ /**
382
+ * get: expects `{ item: T }`. `item === null` THROWS `NotFoundError` (the
383
+ * vendor not-found signal — HTTP may be 200) with `httpStatus: 200` and
384
+ * `resourceIds: [id]` when `id` is given — and, when `entity` is given as
385
+ * well, the labeled companion `details.idRefs: [{ entity, id }]` (issue
386
+ * #116: the legacy field never says which vendor table the id addresses,
387
+ * and the caller of a generic get knows it — the vendor entity name,
388
+ * singular snake_case, e.g. `company`, `ticket`, `resource`).
389
+ */
390
+ declare function unwrapItem<T>(body: unknown, id?: Identifier, operation?: string, entity?: string): T;
391
+ /** count: expects `{ queryCount: number }` (an object, not a bare number) → the plain number. */
392
+ declare function unwrapQueryCount(body: unknown, operation?: string): number;
393
+ /** create/update/delete: expects `{ itemId }` (accepts `{ id }` too) → `{ id }`. */
394
+ declare function unwrapOperation(body: unknown, operation?: string): OperationResult;
395
+ /** invoice markup/pdf + attachment downloads: raw pass-through (no re-wrap). */
396
+ declare function passthrough<T>(body: unknown): T;
397
+
43
398
  /**
44
399
  * The SECRET class — ALWAYS redacted, no opt-out. Pinned exact vendor casing
45
400
  * (case-sensitive; the A1 census: each name appears only on secret-bearing
@@ -561,4 +916,4 @@ type WriteOutcome = {
561
916
  */
562
917
  declare function classifyWriteOutcome(error: unknown): WriteOutcome;
563
918
 
564
- export { AUTH_HEADERS, AutotaskClient, type AutotaskCredentialNames, type AutotaskCredentials, CONFIDENTIAL_RESPONSE_FIELDS, CREDENTIAL_ENV_LOAD_ACTION, type CredentialEnvLine, type CredentialShapeOptions, type CredentialShapeProblem, DOCTOR_CHECK_IDS, DOCTOR_CHECK_TIMEOUT_MS, DOCTOR_MAX_REQUESTS, type DoctorBudget, type DoctorCheck, type DoctorConfigResult, type DoctorConfigSource, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorValueOrigin, FIELD_PRESETS, FIELD_PRESET_NAMES, FILTER_OPERATORS, type FieldsPreset, Filter, FilterCondition, FilterOperator, GROUPING_OPERATORS, Identifier, MAX_FIELD_LENGTH, MAX_GET_LENGTH, MAX_OR_CONDITIONS, MAX_QUERY_LENGTH, MAX_UDF_PER_QUERY, MIN_PREFIX_SUMMARY_LENGTH, PERSONAL_RESPONSE_FIELDS, QueryParams, type RedactionPolicy, type ResolvedAuth, SECRET_RESPONSE_FIELDS, type WriteOutcome, assertRecord, buildAuthHeaders, buildFilter, camelKey, classifyWriteOutcome, credentialShapeProblem, credentialValueSummary, deepMergeParams, doctorConfigStep, flattenUdfs, hasSurroundingQuotes, isFilterOperator, isIdentifierCandidate, isRecord, isRedactedFieldName, loadAutotaskCredentialEnvFile, loadAutotaskCredentialsFromEnv, newCorrelationId, normalizeCredentialValue, normalizedConditions, parseCredentialEnvText, parseIdentifier, readCredentialEnvFile, redactAuditBody, redactResponseBody, resolveFieldsPreset, runDoctor, serializeFilter, validateFilter, withAuthHeaders };
919
+ export { AUTH_HEADERS, AutotaskAbortError, AutotaskClient, AutotaskConfig, type AutotaskCredentialNames, type AutotaskCredentials, AutotaskError, AutotaskErrorOptions, AutotaskNetworkError, AutotaskTimeoutError, BadRequestError, CONFIDENTIAL_RESPONSE_FIELDS, CREDENTIAL_ENV_LOAD_ACTION, CREDENTIAL_SHAPE_POINTER, CircuitBreakerError, ConfirmationRequiredError, ConflictError, type CredentialEnvLine, type CredentialShapeExpectation, type CredentialShapeOptions, type CredentialShapeProblem, DEFAULT_FIELD_CACHE_TTL_MS, DEFAULT_MAINTENANCE_MAX_WAIT_MS, DEFAULT_MAINTENANCE_POLL_MS, DEFAULT_MAX_CONCURRENT, DEFAULT_MAX_RESPONSE_BYTES, DEFAULT_MAX_RETRIES, DEFAULT_MAX_SCAN_PAGES, DEFAULT_MAX_SCAN_RECORDS, DEFAULT_PAGE_SIZE, DEFAULT_READ_CACHE_TTL_MS, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS, DEFAULT_TIMEOUT_MS, DOCTOR_CHECK_IDS, DOCTOR_CHECK_TIMEOUT_MS, DOCTOR_MAX_REQUESTS, DeleteBoundaryError, type DoctorBudget, type DoctorCheck, type DoctorConfigResult, type DoctorConfigSource, type DoctorOptions, type DoctorReport, type DoctorStatus, type DoctorValueOrigin, EmptyResponseError, FIELD_PRESETS, FIELD_PRESET_NAMES, FILTER_OPERATORS, type FieldsPreset, Filter, FilterCondition, FilterOperator, ForbiddenError, GROUPING_OPERATORS, HostPolicyDeniedError, Identifier, MAINTENANCE_WINDOW_MAX_MS, MAX_FIELD_LENGTH, MAX_GET_LENGTH, MAX_OR_CONDITIONS, MAX_PAGE_SIZE, MAX_QUERY_LENGTH, MAX_UDF_PER_QUERY, MIN_PREFIX_SUMMARY_LENGTH, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationResult, PERSONAL_RESPONSE_FIELDS, PaginationLimitError, PagingModel, QueryParams, QueryTooLongError, RateLimitError, RecoveryTruncatedError, type RedactionPolicy, RequestOptions, ResolutionError, type ResolvedAuth, ResolvedAutotaskConfig, ResponseRejectedError, SECRET_RESPONSE_FIELDS, ServerError, StaleObjectError, UnauthorizedError, UnexpectedContentTypeError, UnprocessableEntityError, type VendorFieldError, type WriteOutcome, ZoneName, assertRecord, buildAuthHeaders, buildFilter, buildQueryBody, buildQueryRequest, buildUrl, camelKey, classifyWriteOutcome, credentialShapeProblem, credentialValueSummary, cursorToPath, deepMergeParams, doctorConfigStep, errorFromStatus, flattenUdfs, formatVendorDetail, hasSurroundingQuotes, isDeterministicVendor500, isFilterOperator, isIdentifierCandidate, isRecord, isRedactedFieldName, loadAutotaskCredentialEnvFile, loadAutotaskCredentialsFromEnv, mergeDetails, newCorrelationId, normalizeCredentialValue, normalizedConditions, parseCredentialEnvText, parseIdentifier, parseVendorErrors, passthrough, readCredentialEnvFile, redactAuditBody, redactResponseBody, resolveConfig, resolveCredentials, resolveFieldsPreset, runDoctor, runWithSignal, serializeFilter, unwrapItem, unwrapItems, unwrapOperation, unwrapQueryCount, validateFilter, withAuthHeaders };