node-autotask 0.39.4 → 0.41.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 (44) hide show
  1. package/ARCHITECTURE.md +6 -2
  2. package/CHANGELOG.md +33 -0
  3. package/MCP_TOOL_CATALOG.json +10 -32
  4. package/MCP_TOOL_MANIFEST.md +12 -13
  5. package/N8N_MCP_MANIFEST.json +5 -44
  6. package/N8N_MCP_MANIFEST.md +7 -8
  7. package/README.md +29 -37
  8. package/capabilities.json +1346 -1535
  9. package/dist/base-CVx2VMSj.d.cts +103 -0
  10. package/dist/base-CVx2VMSj.d.ts +103 -0
  11. package/dist/capabilities.cjs +2 -2
  12. package/dist/capabilities.js +1 -1
  13. package/dist/{chunk-SGKGNJEI.cjs → chunk-DKAD7MOV.cjs} +771 -1835
  14. package/dist/{chunk-DJCRQLQE.cjs → chunk-DXEBPK55.cjs} +287 -292
  15. package/dist/{chunk-GHRB46YN.js → chunk-LR6FDJI3.js} +614 -1678
  16. package/dist/{chunk-VR6RYXTD.cjs → chunk-MJ6J74F3.cjs} +1345 -1534
  17. package/dist/{chunk-JBQ55HYG.js → chunk-P5655PGY.js} +2 -2
  18. package/dist/{chunk-DBLXPY4B.js → chunk-TCND5PFF.js} +4 -9
  19. package/dist/{chunk-H4S4KSXX.cjs → chunk-YAHFPOQF.cjs} +143 -143
  20. package/dist/{chunk-GDSCYY2G.js → chunk-ZVSSAULC.js} +1345 -1534
  21. package/dist/{index-DkZVRMeW.d.ts → index-CqO1HNHl.d.cts} +125 -851
  22. package/dist/{index-DkZVRMeW.d.cts → index-CqO1HNHl.d.ts} +125 -851
  23. package/dist/index.cjs +23 -51
  24. package/dist/index.d.cts +103 -102
  25. package/dist/index.d.ts +103 -102
  26. package/dist/index.js +19 -47
  27. package/dist/operations/index.cjs +178 -178
  28. package/dist/operations/index.d.cts +5 -4
  29. package/dist/operations/index.d.ts +5 -4
  30. package/dist/operations/index.js +3 -3
  31. package/dist/pool.cjs +17 -60
  32. package/dist/pool.d.cts +5 -13
  33. package/dist/pool.d.ts +5 -13
  34. package/dist/pool.js +13 -56
  35. package/dist/resources/index.cjs +4 -4
  36. package/dist/resources/index.d.cts +1 -1
  37. package/dist/resources/index.d.ts +1 -1
  38. package/dist/resources/index.js +3 -3
  39. package/dist/types/index.d.cts +1 -1
  40. package/dist/types/index.d.ts +1 -1
  41. package/docs/API.md +138 -340
  42. package/docs/N8N-ADAPTER.md +7 -7
  43. package/examples/mcp-server-http.ts +18 -18
  44. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- import { b as AutotaskError, c as AutotaskErrorOptions, A as AutotaskConfig, R as ReadCache, d as ResolvedAutotaskConfig, Z as ZoneName, Q as QueryParams, e as RequestOptions, I as Identifier, P as PagingModel, O as OperationResult, a as AutotaskClient, F as FilterOperator, f as FilterCondition, g as Filter, C as CreateIfNotExistsResult, h as ChangeRequestLink, i as ConfigurationItem, j as ContractCharge, k as Contract, l as ContractService, E as ExpenseItem, H as Holiday, m as HolidaySet, n as Opportunity, o as ProjectCharge, T as TicketAdditionalConfigurationItem, p as TicketAdditionalContact, q as TicketCharge, r as TimeEntry, s as TicketChangeStatusResult, t as TicketChangeStatusNoChange } from './index-DkZVRMeW.js';
2
- export { u as AGENT_PROFILE, v as ApiVersionResultModel, w as Appointment, x as AppointmentCreate, y as AppointmentSummary, z as AppointmentUpdate, B as AppointmentsResource, D as AppointmentsResourceQueryParams, G as AuditEvent, J as AuthTokenResultModel, K as AuthenticateResource, L as AutotaskConfigError, M as AutotaskVersionResultModel, N as BillingCode, S as BillingCodeCreate, U as BillingCodeSummary, V as BillingCodeUpdate, W as BillingCodesResource, X as BillingCodesResourceQueryParams, Y as BillingItemApprovalLevel, _ as BillingItemApprovalLevelCreate, $ as BillingItemApprovalLevelSummary, a0 as BillingItemApprovalLevelUpdate, a1 as BillingItemApprovalLevelsResource, a2 as BillingItemApprovalLevelsResourceQueryParams, a3 as BillingItems, a4 as BillingItemsCreate, a5 as BillingItemsResource, a6 as BillingItemsResourceQueryParams, a7 as BillingItemsSummary, a8 as BillingItemsUpdate, a9 as CREDENTIAL_HEADER_NAMES, aa as ChangeRequestLinkCreate, ab as ChangeRequestLinkSummary, ac as ChangeRequestLinkUpdate, ad as ChangeRequestLinksResource, ae as ChangeRequestLinksResourceQueryParams, af as ChecklistLibrariesResource, ag as ChecklistLibrariesResourceQueryParams, ah as ChecklistLibrary, ai as ChecklistLibraryChecklistItem, aj as ChecklistLibraryChecklistItemCreate, ak as ChecklistLibraryChecklistItemSummary, al as ChecklistLibraryChecklistItemUpdate, am as ChecklistLibraryChecklistItemsResource, an as ChecklistLibraryChecklistItemsResourceQueryParams, ao as ChecklistLibraryCreate, ap as ChecklistLibrarySummary, aq as ChecklistLibraryUpdate, ar as CircuitBreakerState, as as CircuitBreakerStore, at as ClassificationIcon, au as ClassificationIconCreate, av as ClassificationIconSummary, aw as ClassificationIconUpdate, ax as ClassificationIconsResource, ay as ClassificationIconsResourceQueryParams, az as CompaniesResource, aA as CompaniesResourceQueryParams, aB as Company, aC as CompanyAlert, aD as CompanyAlertCreate, aE as CompanyAlertSummary, aF as CompanyAlertUpdate, aG as CompanyAlertsResource, aH as CompanyAlertsResourceQueryParams, aI as CompanyContext, aJ as CompanyCreate, aK as CompanyLocation, aL as CompanyLocationCreate, aM as CompanyLocationSummary, aN as CompanyLocationUpdate, aO as CompanyLocationsResource, aP as CompanyLocationsResourceQueryParams, aQ as CompanyNote, aR as CompanyNoteCreate, aS as CompanyNoteSummary, aT as CompanyNoteUpdate, aU as CompanyNotesResource, aV as CompanyNotesResourceQueryParams, aW as CompanySiteConfigurations, aX as CompanySiteConfigurationsCreate, aY as CompanySiteConfigurationsResource, aZ as CompanySiteConfigurationsResourceQueryParams, a_ as CompanySiteConfigurationsSummary, a$ as CompanySiteConfigurationsUpdate, b0 as CompanySummary, b1 as CompanyUpdate, b2 as CompanyWebhook, b3 as CompanyWebhookCreate, b4 as CompanyWebhookSummary, b5 as CompanyWebhookUpdate, b6 as CompanyWebhooksResource, b7 as CompanyWebhooksResourceQueryParams, b8 as ConfigProfile, b9 as ConfigurationItemBillingProductAssociations, ba as ConfigurationItemBillingProductAssociationsCreate, bb as ConfigurationItemBillingProductAssociationsResource, bc as ConfigurationItemBillingProductAssociationsResourceQueryParams, bd as ConfigurationItemBillingProductAssociationsSummary, be as ConfigurationItemBillingProductAssociationsUpdate, bf as ConfigurationItemCategoriesResource, bg as ConfigurationItemCategoriesResourceQueryParams, bh as ConfigurationItemCategory, bi as ConfigurationItemCategoryCreate, bj as ConfigurationItemCategorySummary, bk as ConfigurationItemCategoryUdfAssociation, bl as ConfigurationItemCategoryUdfAssociationCreate, bm as ConfigurationItemCategoryUdfAssociationSummary, bn as ConfigurationItemCategoryUdfAssociationUpdate, bo as ConfigurationItemCategoryUdfAssociationsResource, bp as ConfigurationItemCategoryUdfAssociationsResourceQueryParams, bq as ConfigurationItemCategoryUpdate, br as ConfigurationItemContext, bs as ConfigurationItemCreate, bt as ConfigurationItemDnsRecord, bu as ConfigurationItemDnsRecordCreate, bv as ConfigurationItemDnsRecordSummary, bw as ConfigurationItemDnsRecordUpdate, bx as ConfigurationItemDnsRecordsResource, by as ConfigurationItemDnsRecordsResourceQueryParams, bz as ConfigurationItemNote, bA as ConfigurationItemNoteCreate, bB as ConfigurationItemNoteSummary, bC as ConfigurationItemNoteUpdate, bD as ConfigurationItemNotesResource, bE as ConfigurationItemNotesResourceQueryParams, bF as ConfigurationItemRelatedItem, bG as ConfigurationItemRelatedItemCreate, bH as ConfigurationItemRelatedItemSummary, bI as ConfigurationItemRelatedItemUpdate, bJ as ConfigurationItemRelatedItemsResource, bK as ConfigurationItemRelatedItemsResourceQueryParams, bL as ConfigurationItemSslSubjectAlternativeName, bM as ConfigurationItemSslSubjectAlternativeNameCreate, bN as ConfigurationItemSslSubjectAlternativeNameSummary, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemSslSubjectAlternativeNamesResource, bQ as ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams, bR as ConfigurationItemSummary, bS as ConfigurationItemType, bT as ConfigurationItemTypeCreate, bU as ConfigurationItemTypeSummary, bV as ConfigurationItemTypeUpdate, bW as ConfigurationItemTypesResource, bX as ConfigurationItemTypesResourceQueryParams, bY as ConfigurationItemUpdate, bZ as ConfigurationItemWebhook, b_ as ConfigurationItemWebhookCreate, b$ as ConfigurationItemWebhookSummary, c0 as ConfigurationItemWebhookUpdate, c1 as ConfigurationItemWebhooksResource, c2 as ConfigurationItemWebhooksResourceQueryParams, c3 as ConfigurationItemsResource, c4 as ConfigurationItemsResourceQueryParams, c5 as Contact, c6 as ContactContext, c7 as ContactCreate, c8 as ContactGroupContacts, c9 as ContactGroupContactsCreate, ca as ContactGroupContactsResource, cb as ContactGroupContactsResourceQueryParams, cc as ContactGroupContactsSummary, cd as ContactGroupContactsUpdate, ce as ContactGroups, cf as ContactGroupsCreate, cg as ContactGroupsResource, ch as ContactGroupsResourceQueryParams, ci as ContactGroupsSummary, cj as ContactGroupsUpdate, ck as ContactSummary, cl as ContactUpdate, cm as ContactWebhook, cn as ContactWebhookCreate, co as ContactWebhookSummary, cp as ContactWebhookUpdate, cq as ContactWebhooksResource, cr as ContactWebhooksResourceQueryParams, cs as ContactsResource, ct as ContactsResourceQueryParams, cu as ContractBillingRule, cv as ContractBillingRuleCreate, cw as ContractBillingRuleSummary, cx as ContractBillingRuleUpdate, cy as ContractBillingRulesResource, cz as ContractBillingRulesResourceQueryParams, cA as ContractBlock, cB as ContractBlockCreate, cC as ContractBlockHourFactor, cD as ContractBlockHourFactorCreate, cE as ContractBlockHourFactorSummary, cF as ContractBlockHourFactorUpdate, cG as ContractBlockHourFactorsResource, cH as ContractBlockHourFactorsResourceQueryParams, cI as ContractBlockSummary, cJ as ContractBlockUpdate, cK as ContractBlocksResource, cL as ContractBlocksResourceQueryParams, cM as ContractChargeCreate, cN as ContractChargeSummary, cO as ContractChargeUpdate, cP as ContractChargesResource, cQ as ContractChargesResourceQueryParams, cR as ContractCreate, cS as ContractExclusionBillingCode, cT as ContractExclusionBillingCodeCreate, cU as ContractExclusionBillingCodeSummary, cV as ContractExclusionBillingCodeUpdate, cW as ContractExclusionBillingCodesResource, cX as ContractExclusionBillingCodesResourceQueryParams, cY as ContractExclusionRoles, cZ as ContractExclusionRolesCreate, c_ as ContractExclusionRolesResource, c$ as ContractExclusionRolesResourceQueryParams, d0 as ContractExclusionRolesSummary, d1 as ContractExclusionRolesUpdate, d2 as ContractExclusionSetExcludedRoles, d3 as ContractExclusionSetExcludedRolesCreate, d4 as ContractExclusionSetExcludedRolesResource, d5 as ContractExclusionSetExcludedRolesResourceQueryParams, d6 as ContractExclusionSetExcludedRolesSummary, d7 as ContractExclusionSetExcludedRolesUpdate, d8 as ContractExclusionSetExcludedWorkTypes, d9 as ContractExclusionSetExcludedWorkTypesCreate, da as ContractExclusionSetExcludedWorkTypesResource, db as ContractExclusionSetExcludedWorkTypesResourceQueryParams, dc as ContractExclusionSetExcludedWorkTypesSummary, dd as ContractExclusionSetExcludedWorkTypesUpdate, de as ContractExclusionSets, df as ContractExclusionSetsCreate, dg as ContractExclusionSetsResource, dh as ContractExclusionSetsResourceQueryParams, di as ContractExclusionSetsSummary, dj as ContractExclusionSetsUpdate, dk as ContractMilestone, dl as ContractMilestoneCreate, dm as ContractMilestoneSummary, dn as ContractMilestoneUpdate, dp as ContractMilestonesResource, dq as ContractMilestonesResourceQueryParams, dr as ContractNote, ds as ContractNoteCreate, dt as ContractNoteSummary, du as ContractNoteUpdate, dv as ContractNotesResource, dw as ContractNotesResourceQueryParams, dx as ContractRate, dy as ContractRateCreate, dz as ContractRateSummary, dA as ContractRateUpdate, dB as ContractRatesResource, dC as ContractRatesResourceQueryParams, dD as ContractRetainers, dE as ContractRetainersCreate, dF as ContractRetainersResource, dG as ContractRetainersResourceQueryParams, dH as ContractRetainersSummary, dI as ContractRetainersUpdate, dJ as ContractRoleCosts, dK as ContractRoleCostsCreate, dL as ContractRoleCostsResource, dM as ContractRoleCostsResourceQueryParams, dN as ContractRoleCostsSummary, dO as ContractRoleCostsUpdate, dP as ContractServiceAdjustment, dQ as ContractServiceAdjustmentCreate, dR as ContractServiceAdjustmentSummary, dS as ContractServiceAdjustmentUpdate, dT as ContractServiceAdjustmentsResource, dU as ContractServiceAdjustmentsResourceQueryParams, dV as ContractServiceBundle, dW as ContractServiceBundleAdjustment, dX as ContractServiceBundleAdjustmentCreate, dY as ContractServiceBundleAdjustmentSummary, dZ as ContractServiceBundleAdjustmentUpdate, d_ as ContractServiceBundleAdjustmentsResource, d$ as ContractServiceBundleAdjustmentsResourceQueryParams, e0 as ContractServiceBundleCreate, e1 as ContractServiceBundleSummary, e2 as ContractServiceBundleUnit, e3 as ContractServiceBundleUnitCreate, e4 as ContractServiceBundleUnitSummary, e5 as ContractServiceBundleUnitUpdate, e6 as ContractServiceBundleUnitsResource, e7 as ContractServiceBundleUnitsResourceQueryParams, e8 as ContractServiceBundleUpdate, e9 as ContractServiceBundlesResource, ea as ContractServiceBundlesResourceQueryParams, eb as ContractServiceCreate, ec as ContractServiceSummary, ed as ContractServiceUnit, ee as ContractServiceUnitCreate, ef as ContractServiceUnitSummary, eg as ContractServiceUnitUpdate, eh as ContractServiceUnitsResource, ei as ContractServiceUnitsResourceQueryParams, ej as ContractServiceUpdate, ek as ContractServicesResource, el as ContractServicesResourceQueryParams, em as ContractSummary, en as ContractTicketPurchases, eo as ContractTicketPurchasesCreate, ep as ContractTicketPurchasesResource, eq as ContractTicketPurchasesResourceQueryParams, er as ContractTicketPurchasesSummary, es as ContractTicketPurchasesUpdate, et as ContractUpdate, eu as ContractsProfitabilityResult, ev as ContractsResource, ew as ContractsResourceQueryParams, ex as CooldownStore, ey as CostRateResolution, ez as CountriesResource, eA as CountriesResourceQueryParams, eB as Country, eC as CountryCreate, eD as CountrySummary, eE as CountryUpdate, eF as CurrenciesResource, eG as CurrenciesResourceQueryParams, eH as Currency, eI as CurrencyCreate, eJ as CurrencySummary, eK as CurrencyUpdate, eL as DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD, eM as DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES, eN as DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS, eO as DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE, eP as DEFAULT_CIRCUIT_BREAKER_WINDOW_MS, eQ as DEFAULT_COOLDOWN_DEFAULT_MS, eR as DEFAULT_COOLDOWN_MAX_ENTRIES, eS as DEFAULT_COOLDOWN_MAX_MS, eT as DEFAULT_ZONE, eU as Department, eV as DepartmentCreate, eW as DepartmentSummary, eX as DepartmentUpdate, eY as DepartmentsResource, eZ as DepartmentsResourceQueryParams, e_ as DocumentChecklistLibrary, e$ as DomainRegistrar, f0 as DomainRegistrarCreate, f1 as DomainRegistrarSummary, f2 as DomainRegistrarUpdate, f3 as DomainRegistrarsResource, f4 as DomainRegistrarsResourceQueryParams, f5 as DryRunResult, f6 as EmptyReasonInfo, f7 as EmptyReasonKind, f8 as EntityInformationModel, f9 as EntityInformationResource, fa as EntityInformationResultModel, fb as ErrorCategory, fc as ErrorIdRef, fd as ExpenseItemAttachment, fe as ExpenseItemAttachmentCreate, ff as ExpenseItemAttachmentSummary, fg as ExpenseItemAttachmentUpdate, fh as ExpenseItemAttachmentsResource, fi as ExpenseItemAttachmentsResourceQueryParams, fj as ExpenseItemCreate, fk as ExpenseItemSummary, fl as ExpenseItemUpdate, fm as ExpenseItemsResource, fn as ExpenseItemsResourceQueryParams, fo as ExpenseReport, fp as ExpenseReportCreate, fq as ExpenseReportSummary, fr as ExpenseReportUpdate, fs as ExpenseReportsResource, ft as ExpenseReportsResourceQueryParams, fu as Field, fv as FieldDiff, fw as FieldInformationModel, fx as FilterValue, fy as GlobalEntityInformationResultModel, fz as HolidayCreate, fA as HolidaySetCreate, fB as HolidaySetSummary, fC as HolidaySetUpdate, fD as HolidaySetsResource, fE as HolidaySetsResourceQueryParams, fF as HolidaySummary, fG as HolidayUpdate, fH as HolidaysResource, fI as HolidaysResourceQueryParams, fJ as HttpClient, fK as IDEMPOTENT_METHODS, fL as InMemoryCircuitBreakerStore, fM as InMemoryCooldownStore, fN as InventoryProduct, fO as InventoryProductCreate, fP as InventoryProductSummary, fQ as InventoryProductUpdate, fR as InventoryProductsResource, fS as InventoryProductsResourceQueryParams, fT as InventoryStockedItemAdd, fU as InventoryStockedItemRemove, fV as InventoryStockedItemTransfer, fW as Invoice, fX as InvoiceCreate, fY as InvoiceSummary, fZ as InvoiceTemplate, f_ as InvoiceTemplateCreate, f$ as InvoiceTemplateSummary, g0 as InvoiceTemplateUpdate, g1 as InvoiceTemplatesResource, g2 as InvoiceTemplatesResourceQueryParams, g3 as InvoiceUpdate, g4 as InvoicesResource, g5 as InvoicesResourceQueryParams, g6 as KeyValuePair, g7 as Logger, g8 as MAX_PAGES, g9 as ModuleAccessResultModel, ga as ModulesResource, gb as NoopLogger, gc as NotificationHistory, gd as NotificationHistoryCreate, ge as NotificationHistoryResource, gf as NotificationHistoryResourceQueryParams, gg as NotificationHistorySummary, gh as NotificationHistoryUpdate, gi as OperationMetadata, gj as OperationShapeDrift, gk as OpportunitiesResource, gl as OpportunitiesResourceQueryParams, gm as OpportunityAttachment, gn as OpportunityAttachmentCreate, go as OpportunityAttachmentSummary, gp as OpportunityAttachmentUpdate, gq as OpportunityAttachmentsResource, gr as OpportunityAttachmentsResourceQueryParams, gs as OpportunityCategoriesResource, gt as OpportunityCategoriesResourceQueryParams, gu as OpportunityCategory, gv as OpportunityCategoryCreate, gw as OpportunityCategorySummary, gx as OpportunityCategoryUpdate, gy as OpportunityCreate, gz as OpportunitySummary, gA as OpportunityUpdate, gB as OrganizationalLevel1, gC as OrganizationalLevel1Create, gD as OrganizationalLevel1Summary, gE as OrganizationalLevel1Update, gF as OrganizationalLevel1sResource, gG as OrganizationalLevel1sResourceQueryParams, gH as OrganizationalLevel2, gI as OrganizationalLevel2Create, gJ as OrganizationalLevel2Summary, gK as OrganizationalLevel2Update, gL as OrganizationalLevel2sResource, gM as OrganizationalLevel2sResourceQueryParams, gN as OrganizationalLevelAssociation, gO as OrganizationalLevelAssociationCreate, gP as OrganizationalLevelAssociationSummary, gQ as OrganizationalLevelAssociationUpdate, gR as OrganizationalLevelAssociationsResource, gS as OrganizationalLevelAssociationsResourceQueryParams, gT as Page, gU as PageFetcher, gV as PaginateOptions, gW as Phase, gX as PhaseCreate, gY as PhaseSummary, gZ as PhaseUpdate, g_ as PhasesResource, g$ as PhasesResourceQueryParams, h0 as PickListValue, h1 as Product, h2 as ProductCreate, h3 as ProductSummary, h4 as ProductUpdate, h5 as ProductVendors, h6 as ProductVendorsCreate, h7 as ProductVendorsResource, h8 as ProductVendorsResourceQueryParams, h9 as ProductVendorsSummary, ha as ProductVendorsUpdate, hb as ProductsResource, hc as ProductsResourceQueryParams, hd as ProfitRateSource, he as ProfitabilityActivityCategory, hf as ProfitabilityDataQualityWarning, hg as ProfitabilityHighestCostTicket, hh as ProfitabilityLabourCostMethod, hi as ProfitabilityMiscoding, hj as ProfitabilityMonthlyRow, hk as ProfitabilityOpenRenewalItem, hl as ProfitabilityOptions, hm as ProfitabilityPart, hn as ProfitabilityPartDigest, ho as ProfitabilityRevenueByType, hp as Project, hq as ProjectChargeCreate, hr as ProjectChargeSummary, hs as ProjectChargeUpdate, ht as ProjectChargesResource, hu as ProjectChargesResourceQueryParams, hv as ProjectContext, hw as ProjectCreate, hx as ProjectNote, hy as ProjectNoteCreate, hz as ProjectNoteSummary, hA as ProjectNoteUpdate, hB as ProjectNotesResource, hC as ProjectNotesResourceQueryParams, hD as ProjectSummary, hE as ProjectUpdate, hF as ProjectsResource, hG as ProjectsResourceQueryParams, hH as PurchaseApprovals, hI as PurchaseApprovalsCreate, hJ as PurchaseApprovalsResource, hK as PurchaseApprovalsResourceQueryParams, hL as PurchaseApprovalsSummary, hM as PurchaseApprovalsUpdate, hN as PurchaseOrderItemReceiving, hO as PurchaseOrderItemReceivingCreate, hP as PurchaseOrderItemReceivingResource, hQ as PurchaseOrderItemReceivingResourceQueryParams, hR as PurchaseOrderItemReceivingSummary, hS as PurchaseOrderItemReceivingUpdate, hT as PurchaseOrderItems, hU as PurchaseOrderItemsCreate, hV as PurchaseOrderItemsResource, hW as PurchaseOrderItemsResourceQueryParams, hX as PurchaseOrderItemsSummary, hY as PurchaseOrderItemsUpdate, hZ as PurchaseOrders, h_ as PurchaseOrdersCreate, h$ as PurchaseOrdersResource, i0 as PurchaseOrdersResourceQueryParams, i1 as PurchaseOrdersSummary, i2 as PurchaseOrdersUpdate, i3 as Quote, i4 as QuoteCreate, i5 as QuoteItem, i6 as QuoteItemCreate, i7 as QuoteItemSummary, i8 as QuoteItemUpdate, i9 as QuoteItemsResource, ia as QuoteItemsResourceQueryParams, ib as QuoteLocation, ic as QuoteLocationCreate, id as QuoteLocationSummary, ie as QuoteLocationUpdate, ig as QuoteLocationsResource, ih as QuoteLocationsResourceQueryParams, ii as QuoteSummary, ij as QuoteTemplate, ik as QuoteTemplateCreate, il as QuoteTemplateSummary, im as QuoteTemplateUpdate, io as QuoteTemplatesResource, ip as QuoteTemplatesResourceQueryParams, iq as QuoteUpdate, ir as QuotesResource, is as QuotesResourceQueryParams, it as READ_CACHE_MAX_ENTRIES, iu as REDACTED, iv as Resolution, iw as ResolutionCaps, ix as Resource, iy as ResourceCreate, iz as ResourceRole, iA as ResourceRoleCreate, iB as ResourceRoleQueue, iC as ResourceRoleQueueCreate, iD as ResourceRoleQueueSummary, iE as ResourceRoleQueueUpdate, iF as ResourceRoleQueuesResource, iG as ResourceRoleQueuesResourceQueryParams, iH as ResourceRoleSummary, iI as ResourceRoleUpdate, iJ as ResourceRolesResource, iK as ResourceRolesResourceQueryParams, iL as ResourceSkill, iM as ResourceSkillCreate, iN as ResourceSkillSummary, iO as ResourceSkillUpdate, iP as ResourceSkillsResource, iQ as ResourceSkillsResourceQueryParams, iR as ResourceSummary, iS as ResourceTimeOffAdditional, iT as ResourceTimeOffAdditionalCreate, iU as ResourceTimeOffAdditionalResource, iV as ResourceTimeOffAdditionalResourceQueryParams, iW as ResourceTimeOffAdditionalSummary, iX as ResourceTimeOffAdditionalUpdate, iY as ResourceTimeOffApprover, iZ as ResourceTimeOffApproverCreate, i_ as ResourceTimeOffApproverSummary, i$ as ResourceTimeOffApproverUpdate, j0 as ResourceTimeOffApproversResource, j1 as ResourceTimeOffApproversResourceQueryParams, j2 as ResourceTimeOffBalance, j3 as ResourceTimeOffBalanceCreate, j4 as ResourceTimeOffBalanceSummary, j5 as ResourceTimeOffBalanceUpdate, j6 as ResourceTimeOffBalancesResource, j7 as ResourceTimeOffBalancesResourceQueryParams, j8 as ResourceUpdate, j9 as ResourcesResource, ja as ResourcesResourceQueryParams, jb as Role, jc as RoleCreate, jd as RoleSummary, je as RoleUpdate, jf as RolesResource, jg as RolesResourceQueryParams, jh as SalesOrder, ji as SalesOrderCreate, jj as SalesOrderSummary, jk as SalesOrderUpdate, jl as SalesOrdersResource, jm as SalesOrdersResourceQueryParams, jn as Service, jo as ServiceCall, jp as ServiceCallCreate, jq as ServiceCallSummary, jr as ServiceCallTask, js as ServiceCallTaskCreate, jt as ServiceCallTaskResource, ju as ServiceCallTaskResourceCreate, jv as ServiceCallTaskResourceSummary, jw as ServiceCallTaskResourceUpdate, jx as ServiceCallTaskResourcesResource, jy as ServiceCallTaskResourcesResourceQueryParams, jz as ServiceCallTaskSummary, jA as ServiceCallTaskUpdate, jB as ServiceCallTasksResource, jC as ServiceCallTasksResourceQueryParams, jD as ServiceCallTicket, jE as ServiceCallTicketCreate, jF as ServiceCallTicketResource, jG as ServiceCallTicketResourceCreate, jH as ServiceCallTicketResourceSummary, jI as ServiceCallTicketResourceUpdate, jJ as ServiceCallTicketResourcesResource, jK as ServiceCallTicketResourcesResourceQueryParams, jL as ServiceCallTicketSummary, jM as ServiceCallTicketUpdate, jN as ServiceCallTicketsResource, jO as ServiceCallTicketsResourceQueryParams, jP as ServiceCallUpdate, jQ as ServiceCallsResource, jR as ServiceCallsResourceQueryParams, jS as ServiceCreate, jT as ServiceLevelAgreementResults, jU as ServiceLevelAgreementResultsCreate, jV as ServiceLevelAgreementResultsResource, jW as ServiceLevelAgreementResultsResourceQueryParams, jX as ServiceLevelAgreementResultsSummary, jY as ServiceLevelAgreementResultsUpdate, jZ as ServiceSummary, j_ as ServiceUpdate, j$ as ServicesResource, k0 as ServicesResourceQueryParams, k1 as Skill, k2 as SkillCreate, k3 as SkillSummary, k4 as SkillUpdate, k5 as SkillsResource, k6 as SkillsResourceQueryParams, k7 as Subscription, k8 as SubscriptionCreate, k9 as SubscriptionPeriod, ka as SubscriptionPeriodCreate, kb as SubscriptionPeriodSummary, kc as SubscriptionPeriodUpdate, kd as SubscriptionPeriodsResource, ke as SubscriptionPeriodsResourceQueryParams, kf as SubscriptionSummary, kg as SubscriptionUpdate, kh as SubscriptionsResource, ki as SubscriptionsResourceQueryParams, kj as Survey, kk as SurveyCreate, kl as SurveyResults, km as SurveyResultsCreate, kn as SurveyResultsResource, ko as SurveyResultsResourceQueryParams, kp as SurveyResultsSummary, kq as SurveyResultsUpdate, kr as SurveySummary, ks as SurveyUpdate, kt as SurveysResource, ku as SurveysResourceQueryParams, kv as Tag, kw as TagAlias, kx as TagAliasCreate, ky as TagAliasSummary, kz as TagAliasUpdate, kA as TagAliasesResource, kB as TagAliasesResourceQueryParams, kC as TagCreate, kD as TagGroup, kE as TagGroupCreate, kF as TagGroupSummary, kG as TagGroupUpdate, kH as TagGroupsResource, kI as TagGroupsResourceQueryParams, kJ as TagSummary, kK as TagUpdate, kL as TagsResource, kM as TagsResourceQueryParams, kN as Task, kO as TaskCreate, kP as TaskSecondaryResource, kQ as TaskSecondaryResourceCreate, kR as TaskSecondaryResourceSummary, kS as TaskSecondaryResourceUpdate, kT as TaskSecondaryResourcesResource, kU as TaskSecondaryResourcesResourceQueryParams, kV as TaskSummary, kW as TaskUpdate, kX as TasksResource, kY as TasksResourceQueryParams, kZ as TaxRegion, k_ as TaxRegionCreate, k$ as TaxRegionSummary, l0 as TaxRegionUpdate, l1 as TaxRegionsResource, l2 as TaxRegionsResourceQueryParams, l3 as ThresholdInformationResource, l4 as ThresholdStatusResultModel, l5 as Ticket, l6 as TicketAdditionalConfigurationItemCreate, l7 as TicketAdditionalConfigurationItemSummary, l8 as TicketAdditionalConfigurationItemUpdate, l9 as TicketAdditionalConfigurationItemsResource, la as TicketAdditionalConfigurationItemsResourceQueryParams, lb as TicketAdditionalContactCreate, lc as TicketAdditionalContactSummary, ld as TicketAdditionalContactUpdate, le as TicketAdditionalContactsResource, lf as TicketAdditionalContactsResourceQueryParams, lg as TicketAttachment, lh as TicketAttachmentCreate, li as TicketAttachmentSummary, lj as TicketAttachmentUpdate, lk as TicketAttachmentsResource, ll as TicketAttachmentsResourceQueryParams, lm as TicketCategoriesResource, ln as TicketCategoriesResourceQueryParams, lo as TicketCategory, lp as TicketCategoryCreate, lq as TicketCategoryFieldDefault, lr as TicketCategoryFieldDefaultCreate, ls as TicketCategoryFieldDefaultSummary, lt as TicketCategoryFieldDefaultUpdate, lu as TicketCategoryFieldDefaultsResource, lv as TicketCategoryFieldDefaultsResourceQueryParams, lw as TicketCategorySummary, lx as TicketCategoryUpdate, ly as TicketChangeRequestApproval, lz as TicketChangeRequestApprovalCreate, lA as TicketChangeRequestApprovalSummary, lB as TicketChangeRequestApprovalUpdate, lC as TicketChangeRequestApprovalsResource, lD as TicketChangeRequestApprovalsResourceQueryParams, lE as TicketChargeCreate, lF as TicketChargeSummary, lG as TicketChargeUpdate, lH as TicketChargesResource, lI as TicketChargesResourceQueryParams, lJ as TicketChecklistItem, lK as TicketChecklistItemCreate, lL as TicketChecklistItemSummary, lM as TicketChecklistItemUpdate, lN as TicketChecklistItemsResource, lO as TicketChecklistItemsResourceQueryParams, lP as TicketChecklistLibrariesResource, lQ as TicketChecklistLibrariesResourceQueryParams, lR as TicketChecklistLibrary, lS as TicketChecklistLibraryCreate, lT as TicketChecklistLibrarySummary, lU as TicketChecklistLibraryUpdate, lV as TicketContext, lW as TicketCreate, lX as TicketHistory, lY as TicketHistoryCreate, lZ as TicketHistoryResource, l_ as TicketHistoryResourceQueryParams, l$ as TicketHistorySummary, m0 as TicketHistoryUpdate, m1 as TicketNote, m2 as TicketNoteAttachment, m3 as TicketNoteAttachmentCreate, m4 as TicketNoteAttachmentSummary, m5 as TicketNoteAttachmentUpdate, m6 as TicketNoteAttachmentsResource, m7 as TicketNoteAttachmentsResourceQueryParams, m8 as TicketNoteCreate, m9 as TicketNoteSummary, ma as TicketNoteUpdate, mb as TicketNoteWebhook, mc as TicketNoteWebhookCreate, md as TicketNoteWebhookSummary, me as TicketNoteWebhookUpdate, mf as TicketNoteWebhooksResource, mg as TicketNoteWebhooksResourceQueryParams, mh as TicketNotesResource, mi as TicketNotesResourceQueryParams, mj as TicketSecondaryResource, mk as TicketSecondaryResourceCreate, ml as TicketSecondaryResourceSummary, mm as TicketSecondaryResourceUpdate, mn as TicketSecondaryResourcesResource, mo as TicketSecondaryResourcesResourceQueryParams, mp as TicketSummary, mq as TicketUpdate, mr as TicketWebhook, ms as TicketWebhookCreate, mt as TicketWebhookSummary, mu as TicketWebhookUpdate, mv as TicketWebhooksResource, mw as TicketWebhooksResourceQueryParams, mx as TicketsResource, my as TicketsResourceQueryParams, mz as TimeEntriesPostedCountResult, mA as TimeEntriesPostedPagingOptions, mB as TimeEntriesPostedStateResult, mC as TimeEntriesPostedWindowCountOptions, mD as TimeEntriesPostedWindowListOptions, mE as TimeEntriesPostedWindowOptions, mF as TimeEntriesPostedWindowResult, mG as TimeEntriesResource, mH as TimeEntriesResourceQueryParams, mI as TimeEntriesStatusCountOptions, mJ as TimeEntriesStatusListOptions, mK as TimeEntriesStatusOptions, mL as TimeEntryAttachment, mM as TimeEntryAttachmentCreate, mN as TimeEntryAttachmentSummary, mO as TimeEntryAttachmentUpdate, mP as TimeEntryAttachmentsResource, mQ as TimeEntryAttachmentsResourceQueryParams, mR as TimeEntryCreate, mS as TimeEntrySummary, mT as TimeEntryUpdate, mU as TimeOffRequest, mV as TimeOffRequestCreate, mW as TimeOffRequestReject, mX as TimeOffRequestSummary, mY as TimeOffRequestUpdate, mZ as TimeOffRequestsResource, m_ as TimeOffRequestsResourceQueryParams, m$ as UdfField, n0 as VersionInformationResource, n1 as VersionResource, n2 as ZONES, n3 as ZONE_CATALOG, n4 as ZoneInformationResource, n5 as ZoneInformationResultModel, n6 as buildBreakerKey, n7 as buildTenantKey, n8 as clampPageSize, n9 as collectAll, na as cooldownDurationMs, nb as defaultCircuitBreakerStore, nc as defaultCooldownStore, nd as isAutotaskError, ne as isBreakerFailure, nf as isCredentialHeaderName, ng as paginate, nh as paginateItems, ni as redactRecord, nj as resetDefaultCircuitBreakerStore, nk as resetDefaultCooldownStore, nl as resolveBaseUrl, nm as toArray, nn as totalPagesFor, no as zoneUrl } from './index-DkZVRMeW.js';
1
+ import { A as AutotaskConfig, T as TtlCache, R as ResolvedAutotaskConfig, Z as ZoneName, Q as QueryParams, b as RequestOptions, I as Identifier, P as PagingModel, O as OperationResult, a as AutotaskClient, F as FilterOperator, c as FilterCondition, d as Filter, C as CreateIfNotExistsResult, e as ChangeRequestLink, f as ConfigurationItem, g as ContractCharge, h as Contract, i as ContractService, E as ExpenseItem, H as Holiday, j as HolidaySet, k as Opportunity, l as ProjectCharge, m as TicketAdditionalConfigurationItem, n as TicketAdditionalContact, o as TicketCharge, p as TimeEntry, q as TicketChangeStatusResult, r as TicketChangeStatusNoChange } from './index-CqO1HNHl.js';
2
+ export { s as AGENT_PROFILE, t as ApiVersionResultModel, u as Appointment, v as AppointmentCreate, w as AppointmentSummary, x as AppointmentUpdate, y as AppointmentsResource, z as AppointmentsResourceQueryParams, B as AuditEvent, D as AuthTokenResultModel, G as AuthenticateResource, J as AutotaskVersionResultModel, K as BillingCode, L as BillingCodeCreate, M as BillingCodeSummary, N as BillingCodeUpdate, S as BillingCodesResource, U as BillingCodesResourceQueryParams, V as BillingItemApprovalLevel, W as BillingItemApprovalLevelCreate, X as BillingItemApprovalLevelSummary, Y as BillingItemApprovalLevelUpdate, _ as BillingItemApprovalLevelsResource, $ as BillingItemApprovalLevelsResourceQueryParams, a0 as BillingItems, a1 as BillingItemsCreate, a2 as BillingItemsResource, a3 as BillingItemsResourceQueryParams, a4 as BillingItemsSummary, a5 as BillingItemsUpdate, a6 as CREDENTIAL_HEADER_NAMES, a7 as ChangeRequestLinkCreate, a8 as ChangeRequestLinkSummary, a9 as ChangeRequestLinkUpdate, aa as ChangeRequestLinksResource, ab as ChangeRequestLinksResourceQueryParams, ac as ChecklistLibrariesResource, ad as ChecklistLibrariesResourceQueryParams, ae as ChecklistLibrary, af as ChecklistLibraryChecklistItem, ag as ChecklistLibraryChecklistItemCreate, ah as ChecklistLibraryChecklistItemSummary, ai as ChecklistLibraryChecklistItemUpdate, aj as ChecklistLibraryChecklistItemsResource, ak as ChecklistLibraryChecklistItemsResourceQueryParams, al as ChecklistLibraryCreate, am as ChecklistLibrarySummary, an as ChecklistLibraryUpdate, ao as ClassificationIcon, ap as ClassificationIconCreate, aq as ClassificationIconSummary, ar as ClassificationIconUpdate, as as ClassificationIconsResource, at as ClassificationIconsResourceQueryParams, au as CompaniesResource, av as CompaniesResourceQueryParams, aw as Company, ax as CompanyAlert, ay as CompanyAlertCreate, az as CompanyAlertSummary, aA as CompanyAlertUpdate, aB as CompanyAlertsResource, aC as CompanyAlertsResourceQueryParams, aD as CompanyContext, aE as CompanyCreate, aF as CompanyLocation, aG as CompanyLocationCreate, aH as CompanyLocationSummary, aI as CompanyLocationUpdate, aJ as CompanyLocationsResource, aK as CompanyLocationsResourceQueryParams, aL as CompanyNote, aM as CompanyNoteCreate, aN as CompanyNoteSummary, aO as CompanyNoteUpdate, aP as CompanyNotesResource, aQ as CompanyNotesResourceQueryParams, aR as CompanySiteConfigurations, aS as CompanySiteConfigurationsCreate, aT as CompanySiteConfigurationsResource, aU as CompanySiteConfigurationsResourceQueryParams, aV as CompanySiteConfigurationsSummary, aW as CompanySiteConfigurationsUpdate, aX as CompanySummary, aY as CompanyUpdate, aZ as CompanyWebhook, a_ as CompanyWebhookCreate, a$ as CompanyWebhookSummary, b0 as CompanyWebhookUpdate, b1 as CompanyWebhooksResource, b2 as CompanyWebhooksResourceQueryParams, b3 as ConfigProfile, b4 as ConfigurationItemBillingProductAssociations, b5 as ConfigurationItemBillingProductAssociationsCreate, b6 as ConfigurationItemBillingProductAssociationsResource, b7 as ConfigurationItemBillingProductAssociationsResourceQueryParams, b8 as ConfigurationItemBillingProductAssociationsSummary, b9 as ConfigurationItemBillingProductAssociationsUpdate, ba as ConfigurationItemCategoriesResource, bb as ConfigurationItemCategoriesResourceQueryParams, bc as ConfigurationItemCategory, bd as ConfigurationItemCategoryCreate, be as ConfigurationItemCategorySummary, bf as ConfigurationItemCategoryUdfAssociation, bg as ConfigurationItemCategoryUdfAssociationCreate, bh as ConfigurationItemCategoryUdfAssociationSummary, bi as ConfigurationItemCategoryUdfAssociationUpdate, bj as ConfigurationItemCategoryUdfAssociationsResource, bk as ConfigurationItemCategoryUdfAssociationsResourceQueryParams, bl as ConfigurationItemCategoryUpdate, bm as ConfigurationItemContext, bn as ConfigurationItemCreate, bo as ConfigurationItemDnsRecord, bp as ConfigurationItemDnsRecordCreate, bq as ConfigurationItemDnsRecordSummary, br as ConfigurationItemDnsRecordUpdate, bs as ConfigurationItemDnsRecordsResource, bt as ConfigurationItemDnsRecordsResourceQueryParams, bu as ConfigurationItemNote, bv as ConfigurationItemNoteCreate, bw as ConfigurationItemNoteSummary, bx as ConfigurationItemNoteUpdate, by as ConfigurationItemNotesResource, bz as ConfigurationItemNotesResourceQueryParams, bA as ConfigurationItemRelatedItem, bB as ConfigurationItemRelatedItemCreate, bC as ConfigurationItemRelatedItemSummary, bD as ConfigurationItemRelatedItemUpdate, bE as ConfigurationItemRelatedItemsResource, bF as ConfigurationItemRelatedItemsResourceQueryParams, bG as ConfigurationItemSslSubjectAlternativeName, bH as ConfigurationItemSslSubjectAlternativeNameCreate, bI as ConfigurationItemSslSubjectAlternativeNameSummary, bJ as ConfigurationItemSslSubjectAlternativeNameUpdate, bK as ConfigurationItemSslSubjectAlternativeNamesResource, bL as ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams, bM as ConfigurationItemSummary, bN as ConfigurationItemType, bO as ConfigurationItemTypeCreate, bP as ConfigurationItemTypeSummary, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemTypesResource, bS as ConfigurationItemTypesResourceQueryParams, bT as ConfigurationItemUpdate, bU as ConfigurationItemWebhook, bV as ConfigurationItemWebhookCreate, bW as ConfigurationItemWebhookSummary, bX as ConfigurationItemWebhookUpdate, bY as ConfigurationItemWebhooksResource, bZ as ConfigurationItemWebhooksResourceQueryParams, b_ as ConfigurationItemsResource, b$ as ConfigurationItemsResourceQueryParams, c0 as Contact, c1 as ContactContext, c2 as ContactCreate, c3 as ContactGroupContacts, c4 as ContactGroupContactsCreate, c5 as ContactGroupContactsResource, c6 as ContactGroupContactsResourceQueryParams, c7 as ContactGroupContactsSummary, c8 as ContactGroupContactsUpdate, c9 as ContactGroups, ca as ContactGroupsCreate, cb as ContactGroupsResource, cc as ContactGroupsResourceQueryParams, cd as ContactGroupsSummary, ce as ContactGroupsUpdate, cf as ContactSummary, cg as ContactUpdate, ch as ContactWebhook, ci as ContactWebhookCreate, cj as ContactWebhookSummary, ck as ContactWebhookUpdate, cl as ContactWebhooksResource, cm as ContactWebhooksResourceQueryParams, cn as ContactsResource, co as ContactsResourceQueryParams, cp as ContractBillingRule, cq as ContractBillingRuleCreate, cr as ContractBillingRuleSummary, cs as ContractBillingRuleUpdate, ct as ContractBillingRulesResource, cu as ContractBillingRulesResourceQueryParams, cv as ContractBlock, cw as ContractBlockCreate, cx as ContractBlockHourFactor, cy as ContractBlockHourFactorCreate, cz as ContractBlockHourFactorSummary, cA as ContractBlockHourFactorUpdate, cB as ContractBlockHourFactorsResource, cC as ContractBlockHourFactorsResourceQueryParams, cD as ContractBlockSummary, cE as ContractBlockUpdate, cF as ContractBlocksResource, cG as ContractBlocksResourceQueryParams, cH as ContractChargeCreate, cI as ContractChargeSummary, cJ as ContractChargeUpdate, cK as ContractChargesResource, cL as ContractChargesResourceQueryParams, cM as ContractCreate, cN as ContractExclusionBillingCode, cO as ContractExclusionBillingCodeCreate, cP as ContractExclusionBillingCodeSummary, cQ as ContractExclusionBillingCodeUpdate, cR as ContractExclusionBillingCodesResource, cS as ContractExclusionBillingCodesResourceQueryParams, cT as ContractExclusionRoles, cU as ContractExclusionRolesCreate, cV as ContractExclusionRolesResource, cW as ContractExclusionRolesResourceQueryParams, cX as ContractExclusionRolesSummary, cY as ContractExclusionRolesUpdate, cZ as ContractExclusionSetExcludedRoles, c_ as ContractExclusionSetExcludedRolesCreate, c$ as ContractExclusionSetExcludedRolesResource, d0 as ContractExclusionSetExcludedRolesResourceQueryParams, d1 as ContractExclusionSetExcludedRolesSummary, d2 as ContractExclusionSetExcludedRolesUpdate, d3 as ContractExclusionSetExcludedWorkTypes, d4 as ContractExclusionSetExcludedWorkTypesCreate, d5 as ContractExclusionSetExcludedWorkTypesResource, d6 as ContractExclusionSetExcludedWorkTypesResourceQueryParams, d7 as ContractExclusionSetExcludedWorkTypesSummary, d8 as ContractExclusionSetExcludedWorkTypesUpdate, d9 as ContractExclusionSets, da as ContractExclusionSetsCreate, db as ContractExclusionSetsResource, dc as ContractExclusionSetsResourceQueryParams, dd as ContractExclusionSetsSummary, de as ContractExclusionSetsUpdate, df as ContractMilestone, dg as ContractMilestoneCreate, dh as ContractMilestoneSummary, di as ContractMilestoneUpdate, dj as ContractMilestonesResource, dk as ContractMilestonesResourceQueryParams, dl as ContractNote, dm as ContractNoteCreate, dn as ContractNoteSummary, dp as ContractNoteUpdate, dq as ContractNotesResource, dr as ContractNotesResourceQueryParams, ds as ContractRate, dt as ContractRateCreate, du as ContractRateSummary, dv as ContractRateUpdate, dw as ContractRatesResource, dx as ContractRatesResourceQueryParams, dy as ContractRetainers, dz as ContractRetainersCreate, dA as ContractRetainersResource, dB as ContractRetainersResourceQueryParams, dC as ContractRetainersSummary, dD as ContractRetainersUpdate, dE as ContractRoleCosts, dF as ContractRoleCostsCreate, dG as ContractRoleCostsResource, dH as ContractRoleCostsResourceQueryParams, dI as ContractRoleCostsSummary, dJ as ContractRoleCostsUpdate, dK as ContractServiceAdjustment, dL as ContractServiceAdjustmentCreate, dM as ContractServiceAdjustmentSummary, dN as ContractServiceAdjustmentUpdate, dO as ContractServiceAdjustmentsResource, dP as ContractServiceAdjustmentsResourceQueryParams, dQ as ContractServiceBundle, dR as ContractServiceBundleAdjustment, dS as ContractServiceBundleAdjustmentCreate, dT as ContractServiceBundleAdjustmentSummary, dU as ContractServiceBundleAdjustmentUpdate, dV as ContractServiceBundleAdjustmentsResource, dW as ContractServiceBundleAdjustmentsResourceQueryParams, dX as ContractServiceBundleCreate, dY as ContractServiceBundleSummary, dZ as ContractServiceBundleUnit, d_ as ContractServiceBundleUnitCreate, d$ as ContractServiceBundleUnitSummary, e0 as ContractServiceBundleUnitUpdate, e1 as ContractServiceBundleUnitsResource, e2 as ContractServiceBundleUnitsResourceQueryParams, e3 as ContractServiceBundleUpdate, e4 as ContractServiceBundlesResource, e5 as ContractServiceBundlesResourceQueryParams, e6 as ContractServiceCreate, e7 as ContractServiceSummary, e8 as ContractServiceUnit, e9 as ContractServiceUnitCreate, ea as ContractServiceUnitSummary, eb as ContractServiceUnitUpdate, ec as ContractServiceUnitsResource, ed as ContractServiceUnitsResourceQueryParams, ee as ContractServiceUpdate, ef as ContractServicesResource, eg as ContractServicesResourceQueryParams, eh as ContractSummary, ei as ContractTicketPurchases, ej as ContractTicketPurchasesCreate, ek as ContractTicketPurchasesResource, el as ContractTicketPurchasesResourceQueryParams, em as ContractTicketPurchasesSummary, en as ContractTicketPurchasesUpdate, eo as ContractUpdate, ep as ContractsProfitabilityResult, eq as ContractsResource, er as ContractsResourceQueryParams, es as CostRateResolution, et as CountriesResource, eu as CountriesResourceQueryParams, ev as Country, ew as CountryCreate, ex as CountrySummary, ey as CountryUpdate, ez as CurrenciesResource, eA as CurrenciesResourceQueryParams, eB as Currency, eC as CurrencyCreate, eD as CurrencySummary, eE as CurrencyUpdate, eF as DEFAULT_ZONE, eG as Department, eH as DepartmentCreate, eI as DepartmentSummary, eJ as DepartmentUpdate, eK as DepartmentsResource, eL as DepartmentsResourceQueryParams, eM as DocumentChecklistLibrary, eN as DomainRegistrar, eO as DomainRegistrarCreate, eP as DomainRegistrarSummary, eQ as DomainRegistrarUpdate, eR as DomainRegistrarsResource, eS as DomainRegistrarsResourceQueryParams, eT as DryRunResult, eU as EmptyReasonInfo, eV as EmptyReasonKind, eW as EntityInformationModel, eX as EntityInformationResource, eY as EntityInformationResultModel, eZ as ExpenseItemAttachment, e_ as ExpenseItemAttachmentCreate, e$ as ExpenseItemAttachmentSummary, f0 as ExpenseItemAttachmentUpdate, f1 as ExpenseItemAttachmentsResource, f2 as ExpenseItemAttachmentsResourceQueryParams, f3 as ExpenseItemCreate, f4 as ExpenseItemSummary, f5 as ExpenseItemUpdate, f6 as ExpenseItemsResource, f7 as ExpenseItemsResourceQueryParams, f8 as ExpenseReport, f9 as ExpenseReportCreate, fa as ExpenseReportSummary, fb as ExpenseReportUpdate, fc as ExpenseReportsResource, fd as ExpenseReportsResourceQueryParams, fe as FIELD_CACHE_KINDS, ff as Field, fg as FieldCacheKind, fh as FieldDiff, fi as FieldInformationModel, fj as FilterValue, fk as GlobalEntityInformationResultModel, fl as HolidayCreate, fm as HolidaySetCreate, fn as HolidaySetSummary, fo as HolidaySetUpdate, fp as HolidaySetsResource, fq as HolidaySetsResourceQueryParams, fr as HolidaySummary, fs as HolidayUpdate, ft as HolidaysResource, fu as HolidaysResourceQueryParams, fv as HttpClient, fw as IDEMPOTENT_METHODS, fx as InventoryProduct, fy as InventoryProductCreate, fz as InventoryProductSummary, fA as InventoryProductUpdate, fB as InventoryProductsResource, fC as InventoryProductsResourceQueryParams, fD as InventoryStockedItemAdd, fE as InventoryStockedItemRemove, fF as InventoryStockedItemTransfer, fG as Invoice, fH as InvoiceCreate, fI as InvoiceSummary, fJ as InvoiceTemplate, fK as InvoiceTemplateCreate, fL as InvoiceTemplateSummary, fM as InvoiceTemplateUpdate, fN as InvoiceTemplatesResource, fO as InvoiceTemplatesResourceQueryParams, fP as InvoiceUpdate, fQ as InvoicesResource, fR as InvoicesResourceQueryParams, fS as KeyValuePair, fT as Logger, fU as MAX_PAGES, fV as ModuleAccessResultModel, fW as ModulesResource, fX as NoopLogger, fY as NotificationHistory, fZ as NotificationHistoryCreate, f_ as NotificationHistoryResource, f$ as NotificationHistoryResourceQueryParams, g0 as NotificationHistorySummary, g1 as NotificationHistoryUpdate, g2 as OperationMetadata, g3 as OperationShapeDrift, g4 as OpportunitiesResource, g5 as OpportunitiesResourceQueryParams, g6 as OpportunityAttachment, g7 as OpportunityAttachmentCreate, g8 as OpportunityAttachmentSummary, g9 as OpportunityAttachmentUpdate, ga as OpportunityAttachmentsResource, gb as OpportunityAttachmentsResourceQueryParams, gc as OpportunityCategoriesResource, gd as OpportunityCategoriesResourceQueryParams, ge as OpportunityCategory, gf as OpportunityCategoryCreate, gg as OpportunityCategorySummary, gh as OpportunityCategoryUpdate, gi as OpportunityCreate, gj as OpportunitySummary, gk as OpportunityUpdate, gl as OrganizationalLevel1, gm as OrganizationalLevel1Create, gn as OrganizationalLevel1Summary, go as OrganizationalLevel1Update, gp as OrganizationalLevel1sResource, gq as OrganizationalLevel1sResourceQueryParams, gr as OrganizationalLevel2, gs as OrganizationalLevel2Create, gt as OrganizationalLevel2Summary, gu as OrganizationalLevel2Update, gv as OrganizationalLevel2sResource, gw as OrganizationalLevel2sResourceQueryParams, gx as OrganizationalLevelAssociation, gy as OrganizationalLevelAssociationCreate, gz as OrganizationalLevelAssociationSummary, gA as OrganizationalLevelAssociationUpdate, gB as OrganizationalLevelAssociationsResource, gC as OrganizationalLevelAssociationsResourceQueryParams, gD as Page, gE as PageFetcher, gF as PaginateOptions, gG as Phase, gH as PhaseCreate, gI as PhaseSummary, gJ as PhaseUpdate, gK as PhasesResource, gL as PhasesResourceQueryParams, gM as PickListValue, gN as Product, gO as ProductCreate, gP as ProductSummary, gQ as ProductUpdate, gR as ProductVendors, gS as ProductVendorsCreate, gT as ProductVendorsResource, gU as ProductVendorsResourceQueryParams, gV as ProductVendorsSummary, gW as ProductVendorsUpdate, gX as ProductsResource, gY as ProductsResourceQueryParams, gZ as ProfitRateSource, g_ as ProfitabilityActivityCategory, g$ as ProfitabilityDataQualityWarning, h0 as ProfitabilityHighestCostTicket, h1 as ProfitabilityLabourCostMethod, h2 as ProfitabilityMiscoding, h3 as ProfitabilityMonthlyRow, h4 as ProfitabilityOpenRenewalItem, h5 as ProfitabilityOptions, h6 as ProfitabilityPart, h7 as ProfitabilityPartDigest, h8 as ProfitabilityRevenueByType, h9 as Project, ha as ProjectChargeCreate, hb as ProjectChargeSummary, hc as ProjectChargeUpdate, hd as ProjectChargesResource, he as ProjectChargesResourceQueryParams, hf as ProjectContext, hg as ProjectCreate, hh as ProjectNote, hi as ProjectNoteCreate, hj as ProjectNoteSummary, hk as ProjectNoteUpdate, hl as ProjectNotesResource, hm as ProjectNotesResourceQueryParams, hn as ProjectSummary, ho as ProjectUpdate, hp as ProjectsResource, hq as ProjectsResourceQueryParams, hr as PurchaseApprovals, hs as PurchaseApprovalsCreate, ht as PurchaseApprovalsResource, hu as PurchaseApprovalsResourceQueryParams, hv as PurchaseApprovalsSummary, hw as PurchaseApprovalsUpdate, hx as PurchaseOrderItemReceiving, hy as PurchaseOrderItemReceivingCreate, hz as PurchaseOrderItemReceivingResource, hA as PurchaseOrderItemReceivingResourceQueryParams, hB as PurchaseOrderItemReceivingSummary, hC as PurchaseOrderItemReceivingUpdate, hD as PurchaseOrderItems, hE as PurchaseOrderItemsCreate, hF as PurchaseOrderItemsResource, hG as PurchaseOrderItemsResourceQueryParams, hH as PurchaseOrderItemsSummary, hI as PurchaseOrderItemsUpdate, hJ as PurchaseOrders, hK as PurchaseOrdersCreate, hL as PurchaseOrdersResource, hM as PurchaseOrdersResourceQueryParams, hN as PurchaseOrdersSummary, hO as PurchaseOrdersUpdate, hP as Quote, hQ as QuoteCreate, hR as QuoteItem, hS as QuoteItemCreate, hT as QuoteItemSummary, hU as QuoteItemUpdate, hV as QuoteItemsResource, hW as QuoteItemsResourceQueryParams, hX as QuoteLocation, hY as QuoteLocationCreate, hZ as QuoteLocationSummary, h_ as QuoteLocationUpdate, h$ as QuoteLocationsResource, i0 as QuoteLocationsResourceQueryParams, i1 as QuoteSummary, i2 as QuoteTemplate, i3 as QuoteTemplateCreate, i4 as QuoteTemplateSummary, i5 as QuoteTemplateUpdate, i6 as QuoteTemplatesResource, i7 as QuoteTemplatesResourceQueryParams, i8 as QuoteUpdate, i9 as QuotesResource, ia as QuotesResourceQueryParams, ib as READ_CACHE_MAX_ENTRIES, ic as REDACTED, id as REFERENCE_ENTITIES, ie as REFERENCE_TTL_MS, ig as Resolution, ih as ResolutionCaps, ii as Resource, ij as ResourceCreate, ik as ResourceRole, il as ResourceRoleCreate, im as ResourceRoleQueue, io as ResourceRoleQueueCreate, ip as ResourceRoleQueueSummary, iq as ResourceRoleQueueUpdate, ir as ResourceRoleQueuesResource, is as ResourceRoleQueuesResourceQueryParams, it as ResourceRoleSummary, iu as ResourceRoleUpdate, iv as ResourceRolesResource, iw as ResourceRolesResourceQueryParams, ix as ResourceSkill, iy as ResourceSkillCreate, iz as ResourceSkillSummary, iA as ResourceSkillUpdate, iB as ResourceSkillsResource, iC as ResourceSkillsResourceQueryParams, iD as ResourceSummary, iE as ResourceTimeOffAdditional, iF as ResourceTimeOffAdditionalCreate, iG as ResourceTimeOffAdditionalResource, iH as ResourceTimeOffAdditionalResourceQueryParams, iI as ResourceTimeOffAdditionalSummary, iJ as ResourceTimeOffAdditionalUpdate, iK as ResourceTimeOffApprover, iL as ResourceTimeOffApproverCreate, iM as ResourceTimeOffApproverSummary, iN as ResourceTimeOffApproverUpdate, iO as ResourceTimeOffApproversResource, iP as ResourceTimeOffApproversResourceQueryParams, iQ as ResourceTimeOffBalance, iR as ResourceTimeOffBalanceCreate, iS as ResourceTimeOffBalanceSummary, iT as ResourceTimeOffBalanceUpdate, iU as ResourceTimeOffBalancesResource, iV as ResourceTimeOffBalancesResourceQueryParams, iW as ResourceUpdate, iX as ResourcesResource, iY as ResourcesResourceQueryParams, iZ as Role, i_ as RoleCreate, i$ as RoleSummary, j0 as RoleUpdate, j1 as RolesResource, j2 as RolesResourceQueryParams, j3 as SalesOrder, j4 as SalesOrderCreate, j5 as SalesOrderSummary, j6 as SalesOrderUpdate, j7 as SalesOrdersResource, j8 as SalesOrdersResourceQueryParams, j9 as Service, ja as ServiceCall, jb as ServiceCallCreate, jc as ServiceCallSummary, jd as ServiceCallTask, je as ServiceCallTaskCreate, jf as ServiceCallTaskResource, jg as ServiceCallTaskResourceCreate, jh as ServiceCallTaskResourceSummary, ji as ServiceCallTaskResourceUpdate, jj as ServiceCallTaskResourcesResource, jk as ServiceCallTaskResourcesResourceQueryParams, jl as ServiceCallTaskSummary, jm as ServiceCallTaskUpdate, jn as ServiceCallTasksResource, jo as ServiceCallTasksResourceQueryParams, jp as ServiceCallTicket, jq as ServiceCallTicketCreate, jr as ServiceCallTicketResource, js as ServiceCallTicketResourceCreate, jt as ServiceCallTicketResourceSummary, ju as ServiceCallTicketResourceUpdate, jv as ServiceCallTicketResourcesResource, jw as ServiceCallTicketResourcesResourceQueryParams, jx as ServiceCallTicketSummary, jy as ServiceCallTicketUpdate, jz as ServiceCallTicketsResource, jA as ServiceCallTicketsResourceQueryParams, jB as ServiceCallUpdate, jC as ServiceCallsResource, jD as ServiceCallsResourceQueryParams, jE as ServiceCreate, jF as ServiceLevelAgreementResults, jG as ServiceLevelAgreementResultsCreate, jH as ServiceLevelAgreementResultsResource, jI as ServiceLevelAgreementResultsResourceQueryParams, jJ as ServiceLevelAgreementResultsSummary, jK as ServiceLevelAgreementResultsUpdate, jL as ServiceSummary, jM as ServiceUpdate, jN as ServicesResource, jO as ServicesResourceQueryParams, jP as Skill, jQ as SkillCreate, jR as SkillSummary, jS as SkillUpdate, jT as SkillsResource, jU as SkillsResourceQueryParams, jV as Subscription, jW as SubscriptionCreate, jX as SubscriptionPeriod, jY as SubscriptionPeriodCreate, jZ as SubscriptionPeriodSummary, j_ as SubscriptionPeriodUpdate, j$ as SubscriptionPeriodsResource, k0 as SubscriptionPeriodsResourceQueryParams, k1 as SubscriptionSummary, k2 as SubscriptionUpdate, k3 as SubscriptionsResource, k4 as SubscriptionsResourceQueryParams, k5 as Survey, k6 as SurveyCreate, k7 as SurveyResults, k8 as SurveyResultsCreate, k9 as SurveyResultsResource, ka as SurveyResultsResourceQueryParams, kb as SurveyResultsSummary, kc as SurveyResultsUpdate, kd as SurveySummary, ke as SurveyUpdate, kf as SurveysResource, kg as SurveysResourceQueryParams, kh as Tag, ki as TagAlias, kj as TagAliasCreate, kk as TagAliasSummary, kl as TagAliasUpdate, km as TagAliasesResource, kn as TagAliasesResourceQueryParams, ko as TagCreate, kp as TagGroup, kq as TagGroupCreate, kr as TagGroupSummary, ks as TagGroupUpdate, kt as TagGroupsResource, ku as TagGroupsResourceQueryParams, kv as TagSummary, kw as TagUpdate, kx as TagsResource, ky as TagsResourceQueryParams, kz as Task, kA as TaskCreate, kB as TaskSecondaryResource, kC as TaskSecondaryResourceCreate, kD as TaskSecondaryResourceSummary, kE as TaskSecondaryResourceUpdate, kF as TaskSecondaryResourcesResource, kG as TaskSecondaryResourcesResourceQueryParams, kH as TaskSummary, kI as TaskUpdate, kJ as TasksResource, kK as TasksResourceQueryParams, kL as TaxRegion, kM as TaxRegionCreate, kN as TaxRegionSummary, kO as TaxRegionUpdate, kP as TaxRegionsResource, kQ as TaxRegionsResourceQueryParams, kR as ThresholdInformationResource, kS as ThresholdStatusResultModel, kT as Ticket, kU as TicketAdditionalConfigurationItemCreate, kV as TicketAdditionalConfigurationItemSummary, kW as TicketAdditionalConfigurationItemUpdate, kX as TicketAdditionalConfigurationItemsResource, kY as TicketAdditionalConfigurationItemsResourceQueryParams, kZ as TicketAdditionalContactCreate, k_ as TicketAdditionalContactSummary, k$ as TicketAdditionalContactUpdate, l0 as TicketAdditionalContactsResource, l1 as TicketAdditionalContactsResourceQueryParams, l2 as TicketAttachment, l3 as TicketAttachmentCreate, l4 as TicketAttachmentSummary, l5 as TicketAttachmentUpdate, l6 as TicketAttachmentsResource, l7 as TicketAttachmentsResourceQueryParams, l8 as TicketCategoriesResource, l9 as TicketCategoriesResourceQueryParams, la as TicketCategory, lb as TicketCategoryCreate, lc as TicketCategoryFieldDefault, ld as TicketCategoryFieldDefaultCreate, le as TicketCategoryFieldDefaultSummary, lf as TicketCategoryFieldDefaultUpdate, lg as TicketCategoryFieldDefaultsResource, lh as TicketCategoryFieldDefaultsResourceQueryParams, li as TicketCategorySummary, lj as TicketCategoryUpdate, lk as TicketChangeRequestApproval, ll as TicketChangeRequestApprovalCreate, lm as TicketChangeRequestApprovalSummary, ln as TicketChangeRequestApprovalUpdate, lo as TicketChangeRequestApprovalsResource, lp as TicketChangeRequestApprovalsResourceQueryParams, lq as TicketChargeCreate, lr as TicketChargeSummary, ls as TicketChargeUpdate, lt as TicketChargesResource, lu as TicketChargesResourceQueryParams, lv as TicketChecklistItem, lw as TicketChecklistItemCreate, lx as TicketChecklistItemSummary, ly as TicketChecklistItemUpdate, lz as TicketChecklistItemsResource, lA as TicketChecklistItemsResourceQueryParams, lB as TicketChecklistLibrariesResource, lC as TicketChecklistLibrariesResourceQueryParams, lD as TicketChecklistLibrary, lE as TicketChecklistLibraryCreate, lF as TicketChecklistLibrarySummary, lG as TicketChecklistLibraryUpdate, lH as TicketContext, lI as TicketCreate, lJ as TicketHistory, lK as TicketHistoryCreate, lL as TicketHistoryResource, lM as TicketHistoryResourceQueryParams, lN as TicketHistorySummary, lO as TicketHistoryUpdate, lP as TicketNote, lQ as TicketNoteAttachment, lR as TicketNoteAttachmentCreate, lS as TicketNoteAttachmentSummary, lT as TicketNoteAttachmentUpdate, lU as TicketNoteAttachmentsResource, lV as TicketNoteAttachmentsResourceQueryParams, lW as TicketNoteCreate, lX as TicketNoteSummary, lY as TicketNoteUpdate, lZ as TicketNoteWebhook, l_ as TicketNoteWebhookCreate, l$ as TicketNoteWebhookSummary, m0 as TicketNoteWebhookUpdate, m1 as TicketNoteWebhooksResource, m2 as TicketNoteWebhooksResourceQueryParams, m3 as TicketNotesResource, m4 as TicketNotesResourceQueryParams, m5 as TicketSecondaryResource, m6 as TicketSecondaryResourceCreate, m7 as TicketSecondaryResourceSummary, m8 as TicketSecondaryResourceUpdate, m9 as TicketSecondaryResourcesResource, ma as TicketSecondaryResourcesResourceQueryParams, mb as TicketSummary, mc as TicketUpdate, md as TicketWebhook, me as TicketWebhookCreate, mf as TicketWebhookSummary, mg as TicketWebhookUpdate, mh as TicketWebhooksResource, mi as TicketWebhooksResourceQueryParams, mj as TicketsResource, mk as TicketsResourceQueryParams, ml as TimeEntriesPostedCountResult, mm as TimeEntriesPostedPagingOptions, mn as TimeEntriesPostedStateResult, mo as TimeEntriesPostedWindowCountOptions, mp as TimeEntriesPostedWindowListOptions, mq as TimeEntriesPostedWindowOptions, mr as TimeEntriesPostedWindowResult, ms as TimeEntriesResource, mt as TimeEntriesResourceQueryParams, mu as TimeEntriesStatusCountOptions, mv as TimeEntriesStatusListOptions, mw as TimeEntriesStatusOptions, mx as TimeEntryAttachment, my as TimeEntryAttachmentCreate, mz as TimeEntryAttachmentSummary, mA as TimeEntryAttachmentUpdate, mB as TimeEntryAttachmentsResource, mC as TimeEntryAttachmentsResourceQueryParams, mD as TimeEntryCreate, mE as TimeEntrySummary, mF as TimeEntryUpdate, mG as TimeOffRequest, mH as TimeOffRequestCreate, mI as TimeOffRequestReject, mJ as TimeOffRequestSummary, mK as TimeOffRequestUpdate, mL as TimeOffRequestsResource, mM as TimeOffRequestsResourceQueryParams, mN as TtlCacheOptions, mO as UdfField, mP as VersionInformationResource, mQ as VersionResource, mR as ZONES, mS as ZONE_CATALOG, mT as ZoneInformationResource, mU as ZoneInformationResultModel, mV as clampPageSize, mW as collectAll, mX as fieldKey, mY as isCredentialHeaderName, mZ as paginate, m_ as paginateItems, m$ as readTtlFor, n0 as redactRecord, n1 as resolveBaseUrl, n2 as toArray, n3 as totalPagesFor, n4 as zoneUrl } from './index-CqO1HNHl.js';
3
+ import { A as AutotaskError, a as AutotaskErrorOptions } from './base-CVx2VMSj.js';
4
+ export { b as AutotaskConfigError, E as ErrorCategory, c as ErrorIdRef, i as isAutotaskError } from './base-CVx2VMSj.js';
3
5
 
4
6
  /**
5
7
  * Three-header auth (ARCHITECTURE section 9).
@@ -59,12 +61,87 @@ declare const DEFAULT_MAX_RESPONSE_BYTES: number;
59
61
  /** Bounded client-scan caps for resolution (section 19.2). */
60
62
  declare const DEFAULT_MAX_SCAN_RECORDS = 500;
61
63
  declare const DEFAULT_MAX_SCAN_PAGES = 4;
62
- /** Default read-cache TTL (issue #80: the plan-derived default class, 5 min). */
64
+ /** Default record-read cache TTL (5 min; the reference tables live `REFERENCE_TTL_MS`). */
63
65
  declare const DEFAULT_READ_CACHE_TTL_MS = 300000;
64
- /** Default field-metadata cache TTL (issue #80: the 5 min class). */
66
+ /** Default field-metadata cache TTL (5 min). */
65
67
  declare const DEFAULT_FIELD_CACHE_TTL_MS = 300000;
66
- /** Default resource-name cache TTL (issue #80: the plan-derived reference class, 1 h). */
67
- declare const DEFAULT_RESOURCE_NAME_CACHE_TTL_MS = 3600000;
68
+
69
+ /**
70
+ * The credential core of `resolveConfig` (issue #80): the fail-closed
71
+ * credential trim + zone -> base-URL resolution WITHOUT building the
72
+ * cache instances. `ClientPool.keyFor` calls this to hash the credential
73
+ * tuple — with the channels default-on, the full `resolveConfig` would
74
+ * construct three throwaway cache instances on every pool access, so the
75
+ * key path must not (the pool key ignores cache config by design: same
76
+ * credentials = one client, first-built wins). `resolveConfig` reuses
77
+ * this for the same fields, then resolves the rest.
78
+ */
79
+ declare function resolveCredentials(config: AutotaskConfig): {
80
+ baseUrl: string;
81
+ zone?: ZoneName;
82
+ apiIntegrationCode: string;
83
+ userName: string;
84
+ secret: string;
85
+ impersonationResourceId?: string;
86
+ };
87
+ /**
88
+ * Build the record-read cache from a config's `cache` block (the default
89
+ * instance when the block is absent; `undefined` for `cache: false`). The pool
90
+ * calls this to own one instance per tenant (issue #219 N6).
91
+ */
92
+ declare function buildReadCache(config: AutotaskConfig): TtlCache | undefined;
93
+ /** Validate + resolve an AutotaskConfig (fail closed; throws AutotaskConfigError). */
94
+ declare function resolveConfig(config: AutotaskConfig): ResolvedAutotaskConfig;
95
+
96
+ /**
97
+ * Build the absolute request URL (base + path + query). Issue #54: the path
98
+ * is guarded ({@link assertSafePath}) and the built URL must stay on the
99
+ * base's origin — the credential headers never leave the configured host.
100
+ */
101
+ declare function buildUrl(baseUrl: string, path: string, query?: Record<string, unknown>): string;
102
+ /**
103
+ * Map the vendor's `nextPageUrl` cursor to a request path for `baseUrl`.
104
+ * Issue #54: the cursor is server-supplied, so it is resolved against the
105
+ * base and REFUSED (ResponseRejectedError, zero wire) when its origin
106
+ * differs — page 2 never goes to another host with the credentials. The
107
+ * base pathname (e.g. `/atservicesrest`) is stripped so `buildUrl` does not
108
+ * double it.
109
+ */
110
+ declare function cursorToPath(baseUrl: string, cursor: string): string;
111
+ /**
112
+ * Build the QueryModel POST body shared by the page-1 `/query` POST and every
113
+ * cursor continuation (issue #118). Key order is pinned: `MaxRecords`,
114
+ * `IncludeFields`, `filter` (the POST-body order every walk test pins).
115
+ *
116
+ * - `MaxRecords` only when `maxRecords` is set. Live-verified 2026-10-19
117
+ * (ww29): the vendor IGNORES `MaxRecords` on a continuation and returns its
118
+ * own 500-row page — harmless, because the walk slices to its own limit.
119
+ * - `IncludeFields` only when `includeFields` is set, with `id` appended once
120
+ * (issue #59: the vendor omits `id` from a row unless it is named). The
121
+ * vendor HONOURS `IncludeFields` on a continuation, so carrying it turns a
122
+ * projected page-1 walk into a projected walk (before #118 page 2+ POSTed
123
+ * `{ filter }` alone and returned FULL rows — 4 keys on page 1, 73 on
124
+ * page 2, live-reproduced 2026-10-19 against ww29).
125
+ * - `filter` ALWAYS present (`[]` when no conditions) — node parity; see the
126
+ * comment at the assignment below.
127
+ */
128
+ declare function buildQueryBody(params: QueryParams): Record<string, unknown>;
129
+ /**
130
+ * Build the RequestOptions for a `/query` call (ARCHITECTURE section 8.2).
131
+ * POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }` from
132
+ * {@link buildQueryBody} (one source of truth with the cursor continuations of
133
+ * a walk; `filter` is ALWAYS sent — an empty array when absent — node parity,
134
+ * and some zone versions 500 on its absence; the field is the conditions array).
135
+ * `via: 'get'` — GET `?search=<json>` with the FULL measured URL checked
136
+ * against the 2048-char cap; above it the call THROWS `QueryTooLongError`
137
+ * (never a silent switch to POST). When `includeFields` is set the SDK
138
+ * always appends `id` (issue #59: the vendor omits `id` from a row unless
139
+ * it is named, and every caller needs the id to act on the row).
140
+ */
141
+ declare function buildQueryRequest(baseUrl: string, resourcePath: string, params: QueryParams): RequestOptions;
142
+
143
+ /** Run `fn` with `signal` cancelling every SDK request it starts (and their retry waits). */
144
+ declare function runWithSignal<T>(signal: AbortSignal, fn: () => T): T;
68
145
 
69
146
  declare class AutotaskNetworkError extends AutotaskError {
70
147
  constructor(message: string, options?: AutotaskErrorOptions);
@@ -137,21 +214,22 @@ declare class EmptyResponseError extends AutotaskError {
137
214
  constructor(message: string, options?: AutotaskErrorOptions);
138
215
  }
139
216
  /**
140
- * Issue #26: the host circuit breaker is OPEN and the call was refused
141
- * LOCALLY (pre-send — zero upstream calls, no hourly-limiter stamp, the
142
- * #6 cooldown gate's slot). `retryable: true` is a DELIBERATE divergence
143
- * from #6's `RATE_LIMITED_COOLDOWN` (`retryable: false`): the open period
144
- * is bounded and advertised via `retryAfter`, so retrying the SAME call
145
- * after the wait is the correct caller behaviour (service health, not
146
- * request shape — no narrowing needed). `notSent: true` is the shared
147
- * local-refusal marker. `details = { state: 'open' | 'half-open',
148
- * retryAfterMs, failureCount }` rides the error (and the MCP served
149
- * payload) verbatim.
150
- */
151
- declare class CircuitBreakerError extends AutotaskError {
152
- /** Seconds remaining in the open period (absent when the half-open probe budget is in flight). */
217
+ * The zone is in a maintenance window (issue #285). Two shapes, one code:
218
+ * - REFUSED: the zone's maintenance gate is open, so the call was refused
219
+ * LOCALLY and never sent (`notSent: true`, no `httpStatus`);
220
+ * `details = { since, retryAfterMs }`.
221
+ * - PAGE-SEEING: the call itself received the vendor maintenance page and did
222
+ * not wait it out (`httpStatus` = the page's status, `notSent` undefined);
223
+ * `details` adds `maintenanceDetected`, `contentType`, `bodySnippet` and,
224
+ * after a wait, `maintenance`. An unflagged write answered at a non-2xx
225
+ * status is `retryable: false` (its outcome is unknown).
226
+ * `since` is when the window was first seen (ISO 8601); `retryAfter` is the
227
+ * seconds until the next probe slot.
228
+ */
229
+ declare class MaintenanceError extends AutotaskError {
230
+ /** Seconds until the next probe slot. */
153
231
  retryAfter?: number;
154
- /** True when the call was refused locally (the circuit is open) and never sent. */
232
+ /** True on a local refusal (the call was never sent); undefined when the call received the page. */
155
233
  notSent?: boolean;
156
234
  constructor(message: string, options?: AutotaskErrorOptions);
157
235
  }
@@ -191,7 +269,7 @@ declare function parseVendorErrors(body: unknown): VendorFieldError[] | undefine
191
269
  * deterministic field-validation phrase (case-insensitive, over every
192
270
  * entry's message — string and object entries alike; `parseVendorErrors`
193
271
  * normalises both). The shared signal for the transport's no-retry decision
194
- * and the #26 breaker predicate (key on this, never on INVALID_RESPONSE).
272
+ * (key on this, never on INVALID_RESPONSE).
195
273
  */
196
274
  declare function isDeterministicVendor500(entries: VendorFieldError[] | undefined): boolean;
197
275
  /**
@@ -296,83 +374,6 @@ declare class MoveRefusedError extends AutotaskError {
296
374
  constructor(message: string, options?: AutotaskErrorOptions);
297
375
  }
298
376
 
299
- /**
300
- * The credential core of `resolveConfig` (issue #80): the fail-closed
301
- * credential trim + zone -> base-URL resolution WITHOUT building the
302
- * cache instances. `ClientPool.keyFor` calls this to hash the credential
303
- * tuple — with the channels default-on, the full `resolveConfig` would
304
- * construct three throwaway cache instances on every pool access, so the
305
- * key path must not (the pool key ignores cache config by design: same
306
- * credentials = one client, first-built wins). `resolveConfig` reuses
307
- * this for the same fields, then resolves the rest.
308
- */
309
- declare function resolveCredentials(config: AutotaskConfig): {
310
- baseUrl: string;
311
- zone?: ZoneName;
312
- apiIntegrationCode: string;
313
- userName: string;
314
- secret: string;
315
- impersonationResourceId?: string;
316
- };
317
- /**
318
- * Build the read cache from a config's `cache` block (the default instance
319
- * when the block is absent; `undefined` for `cache: false`). The pool calls
320
- * this to own one instance per tenant (issue #219 N6).
321
- */
322
- declare function buildReadCache(config: AutotaskConfig): ReadCache | undefined;
323
- /** Validate + resolve an AutotaskConfig (fail closed; throws AutotaskConfigError). */
324
- declare function resolveConfig(config: AutotaskConfig): ResolvedAutotaskConfig;
325
-
326
- /**
327
- * Build the absolute request URL (base + path + query). Issue #54: the path
328
- * is guarded ({@link assertSafePath}) and the built URL must stay on the
329
- * base's origin — the credential headers never leave the configured host.
330
- */
331
- declare function buildUrl(baseUrl: string, path: string, query?: Record<string, unknown>): string;
332
- /**
333
- * Map the vendor's `nextPageUrl` cursor to a request path for `baseUrl`.
334
- * Issue #54: the cursor is server-supplied, so it is resolved against the
335
- * base and REFUSED (ResponseRejectedError, zero wire) when its origin
336
- * differs — page 2 never goes to another host with the credentials. The
337
- * base pathname (e.g. `/atservicesrest`) is stripped so `buildUrl` does not
338
- * double it.
339
- */
340
- declare function cursorToPath(baseUrl: string, cursor: string): string;
341
- /**
342
- * Build the QueryModel POST body shared by the page-1 `/query` POST and every
343
- * cursor continuation (issue #118). Key order is pinned: `MaxRecords`,
344
- * `IncludeFields`, `filter` (the POST-body order every walk test pins).
345
- *
346
- * - `MaxRecords` only when `maxRecords` is set. Live-verified 2026-10-19
347
- * (ww29): the vendor IGNORES `MaxRecords` on a continuation and returns its
348
- * own 500-row page — harmless, because the walk slices to its own limit.
349
- * - `IncludeFields` only when `includeFields` is set, with `id` appended once
350
- * (issue #59: the vendor omits `id` from a row unless it is named). The
351
- * vendor HONOURS `IncludeFields` on a continuation, so carrying it turns a
352
- * projected page-1 walk into a projected walk (before #118 page 2+ POSTed
353
- * `{ filter }` alone and returned FULL rows — 4 keys on page 1, 73 on
354
- * page 2, live-reproduced 2026-10-19 against ww29).
355
- * - `filter` ALWAYS present (`[]` when no conditions) — node parity; see the
356
- * comment at the assignment below.
357
- */
358
- declare function buildQueryBody(params: QueryParams): Record<string, unknown>;
359
- /**
360
- * Build the RequestOptions for a `/query` call (ARCHITECTURE section 8.2).
361
- * POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }` from
362
- * {@link buildQueryBody} (one source of truth with the cursor continuations of
363
- * a walk; `filter` is ALWAYS sent — an empty array when absent — node parity,
364
- * and some zone versions 500 on its absence; the field is the conditions array).
365
- * `via: 'get'` — GET `?search=<json>` with the FULL measured URL checked
366
- * against the 2048-char cap; above it the call THROWS `QueryTooLongError`
367
- * (never a silent switch to POST). When `includeFields` is set the SDK
368
- * always appends `id` (issue #59: the vendor omits `id` from a row unless
369
- * it is named, and every caller needs the id to act on the row).
370
- */
371
- declare function buildQueryRequest(baseUrl: string, resourcePath: string, params: QueryParams): RequestOptions;
372
-
373
- /** Run `fn` with `signal` cancelling every SDK request it starts (and their retry waits). */
374
- declare function runWithSignal<T>(signal: AbortSignal, fn: () => T): T;
375
-
376
377
  /**
377
378
  * Envelope unwrap helpers + the typed empty-reason attachment (split from
378
379
  * http.ts, issue #166).
@@ -889,9 +890,9 @@ declare function camelKey(key: string): string;
889
890
  * the listed order — `notSent` first, so a local 429 refusal with
890
891
  * `notSent: true` is row 1, not row 3):
891
892
  * 1. `notSent === true` (a local refusal — the cooldown gate's or the
892
- * circuit breaker's: the request never reached the vendor) →
893
- * `failed`, `retryable` follows the error's own flag (the breaker's
894
- * refusal: retry the same call after the wait; the cooldown's:
893
+ * maintenance gate's: the request never reached the vendor) →
894
+ * `failed`, `retryable` follows the error's own flag (the maintenance
895
+ * refusal: retry the same call after the window; the cooldown's:
895
896
  * `retryable: false` — wait, then narrow the query first).
896
897
  * 2. `httpStatus` in 400..499 except 429 → `failed`, never retryable
897
898
  * (the vendor answered; the write is definitely not applied).
@@ -988,4 +989,4 @@ type TimeEntryCreateIfNotExistsResult = CreateIfNotExistsResult<TimeEntry>;
988
989
 
989
990
  type TicketChangeStatusOutcome = TicketChangeStatusResult | TicketChangeStatusNoChange;
990
991
 
991
- 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, ChangeRequestLink, type ChangeRequestLinkCreateIfNotExistsResult, CircuitBreakerError, ConfigurationItem, type ConfigurationItemCreateIfNotExistsResult, ConfirmationRequiredError, ConflictError, Contract, ContractCharge, type ContractChargeCreateIfNotExistsResult, type ContractCreateIfNotExistsResult, ContractService, type ContractServiceCreateIfNotExistsResult, 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, ExpenseItem, type ExpenseItemCreateIfNotExistsResult, FIELD_PRESETS, FIELD_PRESET_NAMES, FILTER_OPERATORS, type FieldsPreset, Filter, FilterCondition, FilterOperator, ForbiddenError, GROUPING_OPERATORS, Holiday, type HolidayCreateIfNotExistsResult, HolidaySet, type HolidaySetCreateIfNotExistsResult, 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, Opportunity, type OpportunityCreateIfNotExistsResult, PERSONAL_RESPONSE_FIELDS, PaginationLimitError, PagingModel, ProjectCharge, type ProjectChargeCreateIfNotExistsResult, QueryParams, QueryTooLongError, RateLimitError, ReadCache, RecoveryTruncatedError, type RedactionPolicy, RequestOptions, ResolutionError, type ResolvedAuth, ResolvedAutotaskConfig, ResponseRejectedError, SECRET_RESPONSE_FIELDS, ServerError, StaleObjectError, TicketAdditionalConfigurationItem, type TicketAdditionalConfigurationItemCreateIfNotExistsResult, TicketAdditionalContact, type TicketAdditionalContactCreateIfNotExistsResult, type TicketChangeStatusOutcome, TicketCharge, type TicketChargeCreateIfNotExistsResult, TimeEntry, type TimeEntryCreateIfNotExistsResult, UnauthorizedError, UnexpectedContentTypeError, UnprocessableEntityError, type VendorFieldError, type WriteOutcome, ZoneName, assertNoRelationLeaf, assertRecord, buildAuthHeaders, buildFilter, buildQueryBody, buildQueryRequest, buildReadCache, buildUrl, camelKey, classifyWriteOutcome, credentialShapeProblem, credentialValueSummary, cursorToPath, deepMergeParams, doctorConfigStep, errorFromStatus, flattenUdfs, formatVendorDetail, hasSurroundingQuotes, isDeterministicVendor500, isFilterOperator, isIdentifierCandidate, isRecord, isRedactedFieldName, loadAutotaskCredentialEnvFile, loadAutotaskCredentialsFromEnv, mergeDetails, newCorrelationId, normalizeCredentialValue, normalizeInValues, normalizedConditions, parseCredentialEnvText, parseIdentifier, parseVendorErrors, passthrough, readCredentialEnvFile, redactAuditBody, redactResponseBody, resolveConfig, resolveCredentials, resolveFieldsPreset, runDoctor, runWithSignal, serializeFilter, unwrapItem, unwrapItems, unwrapOperation, unwrapQueryCount, validateFilter, withAuthHeaders };
992
+ 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, ChangeRequestLink, type ChangeRequestLinkCreateIfNotExistsResult, ConfigurationItem, type ConfigurationItemCreateIfNotExistsResult, ConfirmationRequiredError, ConflictError, Contract, ContractCharge, type ContractChargeCreateIfNotExistsResult, type ContractCreateIfNotExistsResult, ContractService, type ContractServiceCreateIfNotExistsResult, 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_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, ExpenseItem, type ExpenseItemCreateIfNotExistsResult, FIELD_PRESETS, FIELD_PRESET_NAMES, FILTER_OPERATORS, type FieldsPreset, Filter, FilterCondition, FilterOperator, ForbiddenError, GROUPING_OPERATORS, Holiday, type HolidayCreateIfNotExistsResult, HolidaySet, type HolidaySetCreateIfNotExistsResult, 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, MaintenanceError, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationResult, Opportunity, type OpportunityCreateIfNotExistsResult, PERSONAL_RESPONSE_FIELDS, PaginationLimitError, PagingModel, ProjectCharge, type ProjectChargeCreateIfNotExistsResult, QueryParams, QueryTooLongError, RateLimitError, RecoveryTruncatedError, type RedactionPolicy, RequestOptions, ResolutionError, type ResolvedAuth, ResolvedAutotaskConfig, ResponseRejectedError, SECRET_RESPONSE_FIELDS, ServerError, StaleObjectError, TicketAdditionalConfigurationItem, type TicketAdditionalConfigurationItemCreateIfNotExistsResult, TicketAdditionalContact, type TicketAdditionalContactCreateIfNotExistsResult, type TicketChangeStatusOutcome, TicketCharge, type TicketChargeCreateIfNotExistsResult, TimeEntry, type TimeEntryCreateIfNotExistsResult, TtlCache, UnauthorizedError, UnexpectedContentTypeError, UnprocessableEntityError, type VendorFieldError, type WriteOutcome, ZoneName, assertNoRelationLeaf, assertRecord, buildAuthHeaders, buildFilter, buildQueryBody, buildQueryRequest, buildReadCache, buildUrl, camelKey, classifyWriteOutcome, credentialShapeProblem, credentialValueSummary, cursorToPath, deepMergeParams, doctorConfigStep, errorFromStatus, flattenUdfs, formatVendorDetail, hasSurroundingQuotes, isDeterministicVendor500, isFilterOperator, isIdentifierCandidate, isRecord, isRedactedFieldName, loadAutotaskCredentialEnvFile, loadAutotaskCredentialsFromEnv, mergeDetails, newCorrelationId, normalizeCredentialValue, normalizeInValues, normalizedConditions, parseCredentialEnvText, parseIdentifier, parseVendorErrors, passthrough, readCredentialEnvFile, redactAuditBody, redactResponseBody, resolveConfig, resolveCredentials, resolveFieldsPreset, runDoctor, runWithSignal, serializeFilter, unwrapItem, unwrapItems, unwrapOperation, unwrapQueryCount, validateFilter, withAuthHeaders };
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  AutotaskClient
3
- } from "./chunk-JBQ55HYG.js";
3
+ } from "./chunk-P5655PGY.js";
4
+ import "./chunk-RMG55JTF.js";
4
5
  import "./chunk-WLTLB2ND.js";
5
6
  import {
6
7
  AppointmentsResource,
@@ -129,7 +130,7 @@ import {
129
130
  VersionInformationResource,
130
131
  VersionResource,
131
132
  ZoneInformationResource
132
- } from "./chunk-DBLXPY4B.js";
133
+ } from "./chunk-TCND5PFF.js";
133
134
  import {
134
135
  AGENT_PROFILE,
135
136
  AUTH_HEADERS,
@@ -145,19 +146,10 @@ import {
145
146
  CREDENTIAL_ENV_LOAD_ACTION,
146
147
  CREDENTIAL_HEADER_NAMES,
147
148
  CREDENTIAL_SHAPE_POINTER,
148
- CircuitBreakerError,
149
149
  CompaniesResource,
150
150
  ConfirmationRequiredError,
151
151
  ConflictError,
152
152
  ContractsResource,
153
- DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD,
154
- DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES,
155
- DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS,
156
- DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE,
157
- DEFAULT_CIRCUIT_BREAKER_WINDOW_MS,
158
- DEFAULT_COOLDOWN_DEFAULT_MS,
159
- DEFAULT_COOLDOWN_MAX_ENTRIES,
160
- DEFAULT_COOLDOWN_MAX_MS,
161
153
  DEFAULT_FIELD_CACHE_TTL_MS,
162
154
  DEFAULT_MAINTENANCE_MAX_WAIT_MS,
163
155
  DEFAULT_MAINTENANCE_POLL_MS,
@@ -168,11 +160,11 @@ import {
168
160
  DEFAULT_MAX_SCAN_RECORDS,
169
161
  DEFAULT_PAGE_SIZE,
170
162
  DEFAULT_READ_CACHE_TTL_MS,
171
- DEFAULT_RESOURCE_NAME_CACHE_TTL_MS,
172
163
  DEFAULT_TIMEOUT_MS,
173
164
  DEFAULT_ZONE,
174
165
  DeleteBoundaryError,
175
166
  EmptyResponseError,
167
+ FIELD_CACHE_KINDS,
176
168
  FIELD_PRESETS,
177
169
  FIELD_PRESET_NAMES,
178
170
  FILTER_OPERATORS,
@@ -181,8 +173,6 @@ import {
181
173
  HostPolicyDeniedError,
182
174
  HttpClient,
183
175
  IDEMPOTENT_METHODS,
184
- InMemoryCircuitBreakerStore,
185
- InMemoryCooldownStore,
186
176
  InvoicesResource,
187
177
  MAINTENANCE_WINDOW_MAX_MS,
188
178
  MAX_FIELD_LENGTH,
@@ -193,6 +183,7 @@ import {
193
183
  MAX_QUERY_LENGTH,
194
184
  MAX_UDF_PER_QUERY,
195
185
  MIN_PREFIX_SUMMARY_LENGTH,
186
+ MaintenanceError,
196
187
  MarkerUnsafeIdError,
197
188
  MoveRefusedError,
198
189
  NoopLogger,
@@ -205,8 +196,9 @@ import {
205
196
  QueryTooLongError,
206
197
  READ_CACHE_MAX_ENTRIES,
207
198
  REDACTED,
199
+ REFERENCE_ENTITIES,
200
+ REFERENCE_TTL_MS,
208
201
  RateLimitError,
209
- ReadCache,
210
202
  RecoveryTruncatedError,
211
203
  ResolutionError,
212
204
  ResourcesResource,
@@ -215,6 +207,7 @@ import {
215
207
  ServerError,
216
208
  StaleObjectError,
217
209
  TimeEntriesResource,
210
+ TtlCache,
218
211
  UnauthorizedError,
219
212
  UnexpectedContentTypeError,
220
213
  UnprocessableEntityError,
@@ -223,29 +216,24 @@ import {
223
216
  assertNoRelationLeaf,
224
217
  assertRecord,
225
218
  buildAuthHeaders,
226
- buildBreakerKey,
227
219
  buildFilter,
228
220
  buildQueryBody,
229
221
  buildQueryRequest,
230
222
  buildReadCache,
231
- buildTenantKey,
232
223
  buildUrl,
233
224
  camelKey,
234
225
  clampPageSize,
235
226
  collectAll,
236
- cooldownDurationMs,
237
227
  credentialShapeProblem,
238
228
  credentialValueSummary,
239
229
  cursorToPath,
240
230
  deepMergeParams,
241
- defaultCircuitBreakerStore,
242
- defaultCooldownStore,
243
231
  errorFromStatus,
232
+ fieldKey,
244
233
  flattenUdfs,
245
234
  formatVendorDetail,
246
235
  hasSurroundingQuotes,
247
236
  isAutotaskError,
248
- isBreakerFailure,
249
237
  isCredentialHeaderName,
250
238
  isDeterministicVendor500,
251
239
  isFilterOperator,
@@ -261,11 +249,10 @@ import {
261
249
  parseIdentifier,
262
250
  parseVendorErrors,
263
251
  passthrough,
252
+ readTtlFor,
264
253
  redactAuditBody,
265
254
  redactRecord,
266
255
  redactResponseBody,
267
- resetDefaultCircuitBreakerStore,
268
- resetDefaultCooldownStore,
269
256
  resolveBaseUrl,
270
257
  resolveConfig,
271
258
  resolveCredentials,
@@ -281,10 +268,9 @@ import {
281
268
  validateFilter,
282
269
  withAuthHeaders,
283
270
  zoneUrl
284
- } from "./chunk-GHRB46YN.js";
285
- import "./chunk-GDSCYY2G.js";
271
+ } from "./chunk-LR6FDJI3.js";
272
+ import "./chunk-ZVSSAULC.js";
286
273
  import "./chunk-5VHSLJMR.js";
287
- import "./chunk-RMG55JTF.js";
288
274
 
289
275
  // src/credentials.ts
290
276
  import { existsSync, readFileSync } from "fs";
@@ -736,7 +722,6 @@ export {
736
722
  ChangeRequestLinksResource,
737
723
  ChecklistLibrariesResource,
738
724
  ChecklistLibraryChecklistItemsResource,
739
- CircuitBreakerError,
740
725
  ClassificationIconsResource,
741
726
  CompaniesResource,
742
727
  CompanyAlertsResource,
@@ -784,14 +769,6 @@ export {
784
769
  ContractsResource,
785
770
  CountriesResource,
786
771
  CurrenciesResource,
787
- DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD,
788
- DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES,
789
- DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS,
790
- DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE,
791
- DEFAULT_CIRCUIT_BREAKER_WINDOW_MS,
792
- DEFAULT_COOLDOWN_DEFAULT_MS,
793
- DEFAULT_COOLDOWN_MAX_ENTRIES,
794
- DEFAULT_COOLDOWN_MAX_MS,
795
772
  DEFAULT_FIELD_CACHE_TTL_MS,
796
773
  DEFAULT_MAINTENANCE_MAX_WAIT_MS,
797
774
  DEFAULT_MAINTENANCE_POLL_MS,
@@ -802,7 +779,6 @@ export {
802
779
  DEFAULT_MAX_SCAN_RECORDS,
803
780
  DEFAULT_PAGE_SIZE,
804
781
  DEFAULT_READ_CACHE_TTL_MS,
805
- DEFAULT_RESOURCE_NAME_CACHE_TTL_MS,
806
782
  DEFAULT_TIMEOUT_MS,
807
783
  DEFAULT_ZONE,
808
784
  DOCTOR_CHECK_IDS,
@@ -816,6 +792,7 @@ export {
816
792
  ExpenseItemAttachmentsResource,
817
793
  ExpenseItemsResource,
818
794
  ExpenseReportsResource,
795
+ FIELD_CACHE_KINDS,
819
796
  FIELD_PRESETS,
820
797
  FIELD_PRESET_NAMES,
821
798
  FILTER_OPERATORS,
@@ -826,8 +803,6 @@ export {
826
803
  HostPolicyDeniedError,
827
804
  HttpClient,
828
805
  IDEMPOTENT_METHODS,
829
- InMemoryCircuitBreakerStore,
830
- InMemoryCooldownStore,
831
806
  InventoryProductsResource,
832
807
  InvoiceTemplatesResource,
833
808
  InvoicesResource,
@@ -840,6 +815,7 @@ export {
840
815
  MAX_QUERY_LENGTH,
841
816
  MAX_UDF_PER_QUERY,
842
817
  MIN_PREFIX_SUMMARY_LENGTH,
818
+ MaintenanceError,
843
819
  MarkerUnsafeIdError,
844
820
  ModulesResource,
845
821
  MoveRefusedError,
@@ -871,8 +847,9 @@ export {
871
847
  QuotesResource,
872
848
  READ_CACHE_MAX_ENTRIES,
873
849
  REDACTED,
850
+ REFERENCE_ENTITIES,
851
+ REFERENCE_TTL_MS,
874
852
  RateLimitError,
875
- ReadCache,
876
853
  RecoveryTruncatedError,
877
854
  ResolutionError,
878
855
  ResourceRoleQueuesResource,
@@ -926,6 +903,7 @@ export {
926
903
  TimeEntriesResource,
927
904
  TimeEntryAttachmentsResource,
928
905
  TimeOffRequestsResource,
906
+ TtlCache,
929
907
  UnauthorizedError,
930
908
  UnexpectedContentTypeError,
931
909
  UnprocessableEntityError,
@@ -937,31 +915,26 @@ export {
937
915
  assertNoRelationLeaf,
938
916
  assertRecord,
939
917
  buildAuthHeaders,
940
- buildBreakerKey,
941
918
  buildFilter,
942
919
  buildQueryBody,
943
920
  buildQueryRequest,
944
921
  buildReadCache,
945
- buildTenantKey,
946
922
  buildUrl,
947
923
  camelKey,
948
924
  clampPageSize,
949
925
  classifyWriteOutcome,
950
926
  collectAll,
951
- cooldownDurationMs,
952
927
  credentialShapeProblem,
953
928
  credentialValueSummary,
954
929
  cursorToPath,
955
930
  deepMergeParams,
956
- defaultCircuitBreakerStore,
957
- defaultCooldownStore,
958
931
  doctorConfigStep,
959
932
  errorFromStatus,
933
+ fieldKey,
960
934
  flattenUdfs,
961
935
  formatVendorDetail,
962
936
  hasSurroundingQuotes,
963
937
  isAutotaskError,
964
- isBreakerFailure,
965
938
  isCredentialHeaderName,
966
939
  isDeterministicVendor500,
967
940
  isFilterOperator,
@@ -982,11 +955,10 @@ export {
982
955
  parseVendorErrors,
983
956
  passthrough,
984
957
  readCredentialEnvFile,
958
+ readTtlFor,
985
959
  redactAuditBody,
986
960
  redactRecord,
987
961
  redactResponseBody,
988
- resetDefaultCircuitBreakerStore,
989
- resetDefaultCooldownStore,
990
962
  resolveBaseUrl,
991
963
  resolveConfig,
992
964
  resolveCredentials,