node-autotask 0.18.0 → 0.20.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.
- package/ARCHITECTURE.md +15 -8
- package/CHANGELOG.md +590 -0
- package/MCP_TOOL_CATALOG.json +6 -6
- package/MCP_TOOL_MANIFEST.md +128 -128
- package/N8N_MCP_MANIFEST.json +44 -9
- package/N8N_MCP_MANIFEST.md +8 -8
- package/README.md +8 -4
- package/capabilities.json +1941 -1829
- package/capabilities.schema.json +6 -0
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-VV2UUW2J.js → chunk-2T77J2ZM.js} +1940 -1828
- package/dist/{chunk-5O5EPYBO.cjs → chunk-FLYTKJKV.cjs} +1940 -1828
- package/dist/{chunk-VYUZZIEE.js → chunk-GA6UCX3Z.js} +292 -58
- package/dist/{chunk-W2WSZOZA.js → chunk-JEJUFXHX.js} +2 -2
- package/dist/{chunk-WRWX6WIK.cjs → chunk-L6V66V22.cjs} +360 -126
- package/dist/{chunk-G564CHXM.cjs → chunk-RMLGOCGA.cjs} +135 -135
- package/dist/{chunk-HXOWEYV3.js → chunk-XSYJB4IW.js} +3 -3
- package/dist/{chunk-7I3F3AJJ.cjs → chunk-YH5CPRDN.cjs} +394 -394
- package/dist/{index-D7x3MkLK.d.cts → index-AN-NjLi9.d.cts} +126 -21
- package/dist/{index-BqPY04ZG.d.ts → index-CvLLsOCP.d.ts} +126 -21
- package/dist/index.cjs +24 -22
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/operations/index.cjs +184 -136
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +79 -31
- package/dist/pool.cjs +8 -8
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +126 -40
- package/package.json +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as Identifier, g as AuditEvent, ez as ResolutionCaps, Q as QueryParams, dD as PagingModel, dn as OperationResult, dC as Page, cE as EmptyReasonInfo, cG as EntityInformationModel, cW as FieldInformationModel, cU as Field, a as FilterCondition, cD as DryRunResult, ey as Resolution, c as Appointment, d as AppointmentCreate, f as AppointmentUpdate, e as AppointmentSummary, h as AuthTokenResultModel, B as BillingCode, j as BillingCodeCreate, l as BillingCodeUpdate, k as BillingCodeSummary, m as BillingItems, n as BillingItemsCreate, p as BillingItemsUpdate, o as BillingItemsSummary, C as ChangeRequestLink, q as ChangeRequestLinkCreate, s as ChangeRequestLinkUpdate, r as ChangeRequestLinkSummary, t as ChecklistLibrary, y as ChecklistLibraryCreate, D as ChecklistLibraryUpdate, z as ChecklistLibrarySummary, u as ChecklistLibraryChecklistItem, v as ChecklistLibraryChecklistItemCreate, x as ChecklistLibraryChecklistItemUpdate, w as ChecklistLibraryChecklistItemSummary, E as ClassificationIcon, G as ClassificationIconCreate, J as ClassificationIconUpdate, H as ClassificationIconSummary, K as Company, S as CompanyLocation, aN as Contact, W as CompanyNote, g9 as Ticket, dR as Project, hq as CompositeNamesSection, ha as TimeEntry, R as CompanyCreate, a3 as CompanyUpdate, a2 as CompanySummary, P as CompanyContext, L as CompanyAlert, M as CompanyAlertCreate, O as CompanyAlertUpdate, N as CompanyAlertSummary, T as CompanyLocationCreate, V as CompanyLocationUpdate, U as CompanyLocationSummary, X as CompanyNoteCreate, Z as CompanyNoteUpdate, Y as CompanyNoteSummary, _ as CompanySiteConfigurations, $ as CompanySiteConfigurationsCreate, a1 as CompanySiteConfigurationsUpdate, a0 as CompanySiteConfigurationsSummary, a4 as CompanyWebhook, a5 as CompanyWebhookCreate, a7 as CompanyWebhookUpdate, a6 as CompanyWebhookSummary, a9 as ConfigurationItemBillingProductAssociations, aa as ConfigurationItemBillingProductAssociationsCreate, ac as ConfigurationItemBillingProductAssociationsUpdate, ab as ConfigurationItemBillingProductAssociationsSummary, ad as ConfigurationItemCategory, ae as ConfigurationItemCategoryCreate, ak as ConfigurationItemCategoryUpdate, af as ConfigurationItemCategorySummary, ag as ConfigurationItemCategoryUdfAssociation, ah as ConfigurationItemCategoryUdfAssociationCreate, aj as ConfigurationItemCategoryUdfAssociationUpdate, ai as ConfigurationItemCategoryUdfAssociationSummary, an as ConfigurationItemDnsRecord, ao as ConfigurationItemDnsRecordCreate, aq as ConfigurationItemDnsRecordUpdate, ap as ConfigurationItemDnsRecordSummary, ar as ConfigurationItemNote, as as ConfigurationItemNoteCreate, au as ConfigurationItemNoteUpdate, at as ConfigurationItemNoteSummary, av as ConfigurationItemRelatedItem, aw as ConfigurationItemRelatedItemCreate, ay as ConfigurationItemRelatedItemUpdate, ax as ConfigurationItemRelatedItemSummary, a8 as ConfigurationItem, aE as ConfigurationItemType, am as ConfigurationItemCreate, aI as ConfigurationItemUpdate, aD as ConfigurationItemSummary, al as ConfigurationItemContext, az as ConfigurationItemSslSubjectAlternativeName, aA as ConfigurationItemSslSubjectAlternativeNameCreate, aC as ConfigurationItemSslSubjectAlternativeNameUpdate, aB as ConfigurationItemSslSubjectAlternativeNameSummary, aF as ConfigurationItemTypeCreate, aH as ConfigurationItemTypeUpdate, aG as ConfigurationItemTypeSummary, aJ as ConfigurationItemWebhook, aK as ConfigurationItemWebhookCreate, aM as ConfigurationItemWebhookUpdate, aL as ConfigurationItemWebhookSummary, aQ as ContactGroupContacts, aR as ContactGroupContactsCreate, aT as ContactGroupContactsUpdate, aS as ContactGroupContactsSummary, aU as ContactGroups, aV as ContactGroupsCreate, aX as ContactGroupsUpdate, aW as ContactGroupsSummary, aY as ContactSummary, aP as ContactCreate, aZ as ContactUpdate, aO as ContactContext, a_ as ContactWebhook, a$ as ContactWebhookCreate, b1 as ContactWebhookUpdate, b0 as ContactWebhookSummary, b3 as ContractBillingRule, b4 as ContractBillingRuleCreate, b6 as ContractBillingRuleUpdate, b5 as ContractBillingRuleSummary, b9 as ContractBlockHourFactor, ba as ContractBlockHourFactorCreate, bc as ContractBlockHourFactorUpdate, bb as ContractBlockHourFactorSummary, b7 as ContractBlock, b8 as ContractBlockCreate, be as ContractBlockUpdate, bd as ContractBlockSummary, bf as ContractCharge, bg as ContractChargeCreate, bi as ContractChargeUpdate, bh as ContractChargeSummary, bk as ContractExclusionBillingCode, bl as ContractExclusionBillingCodeCreate, bn as ContractExclusionBillingCodeUpdate, bm as ContractExclusionBillingCodeSummary, bo as ContractExclusionRoles, bp as ContractExclusionRolesCreate, br as ContractExclusionRolesUpdate, bq as ContractExclusionRolesSummary, bs as ContractExclusionSetExcludedRoles, bt as ContractExclusionSetExcludedRolesCreate, bv as ContractExclusionSetExcludedRolesUpdate, bu as ContractExclusionSetExcludedRolesSummary, bw as ContractExclusionSetExcludedWorkTypes, bx as ContractExclusionSetExcludedWorkTypesCreate, bz as ContractExclusionSetExcludedWorkTypesUpdate, by as ContractExclusionSetExcludedWorkTypesSummary, bA as ContractExclusionSets, bB as ContractExclusionSetsCreate, bD as ContractExclusionSetsUpdate, bC as ContractExclusionSetsSummary, bE as ContractMilestone, bF as ContractMilestoneCreate, bH as ContractMilestoneUpdate, bG as ContractMilestoneSummary, bI as ContractNote, bJ as ContractNoteCreate, bL as ContractNoteUpdate, bK as ContractNoteSummary, bM as ContractRate, bN as ContractRateCreate, bP as ContractRateUpdate, bO as ContractRateSummary, bQ as ContractRetainers, bR as ContractRetainersCreate, bT as ContractRetainersUpdate, bS as ContractRetainersSummary, bU as ContractRoleCosts, bV as ContractRoleCostsCreate, bX as ContractRoleCostsUpdate, bW as ContractRoleCostsSummary, bZ as ContractServiceAdjustment, b_ as ContractServiceAdjustmentCreate, c0 as ContractServiceAdjustmentUpdate, b$ as ContractServiceAdjustmentSummary, c2 as ContractServiceBundleAdjustment, c3 as ContractServiceBundleAdjustmentCreate, c5 as ContractServiceBundleAdjustmentUpdate, c4 as ContractServiceBundleAdjustmentSummary, c1 as ContractServiceBundle, c6 as ContractServiceBundleCreate, cc as ContractServiceBundleUpdate, c7 as ContractServiceBundleSummary, c8 as ContractServiceBundleUnit, c9 as ContractServiceBundleUnitCreate, cb as ContractServiceBundleUnitUpdate, ca as ContractServiceBundleUnitSummary, bY as ContractService, cd as ContractServiceCreate, cj as ContractServiceUpdate, ce as ContractServiceSummary, cf as ContractServiceUnit, cg as ContractServiceUnitCreate, ci as ContractServiceUnitUpdate, ch as ContractServiceUnitSummary, b2 as Contract, dc as Invoice, eA as Resource, cI as ExpenseItem, fA as Subscription, bj as ContractCreate, cp as ContractUpdate, ck as ContractSummary, cl as ContractTicketPurchases, cm as ContractTicketPurchasesCreate, co as ContractTicketPurchasesUpdate, cn as ContractTicketPurchasesSummary, cq as Country, cr as CountryCreate, ct as CountryUpdate, cs as CountrySummary, cu as Department, cv as DepartmentCreate, cx as DepartmentUpdate, cw as DepartmentSummary, cz as DomainRegistrar, cA as DomainRegistrarCreate, cC as DomainRegistrarUpdate, cB as DomainRegistrarSummary, cY as GlobalEntityInformationResultModel, cJ as ExpenseItemAttachment, cK as ExpenseItemAttachmentCreate, cM as ExpenseItemAttachmentUpdate, cL as ExpenseItemAttachmentSummary, cN as ExpenseItemCreate, cP as ExpenseItemUpdate, cO as ExpenseItemSummary, cQ as ExpenseReport, cR as ExpenseReportCreate, cT as ExpenseReportUpdate, cS as ExpenseReportSummary, c$ as HolidaySet, d0 as HolidaySetCreate, d2 as HolidaySetUpdate, d1 as HolidaySetSummary, cZ as Holiday, c_ as HolidayCreate, d4 as HolidayUpdate, d3 as HolidaySummary, d5 as InventoryProduct, d6 as InventoryProductCreate, d8 as InventoryProductUpdate, d7 as InventoryProductSummary, d9 as InventoryStockedItemAdd, da as InventoryStockedItemRemove, db as InventoryStockedItemTransfer, dd as InvoiceCreate, df as InvoiceUpdate, de as InvoiceSummary, dh as ModuleAccessResultModel, di as NotificationHistory, dj as NotificationHistoryCreate, dl as NotificationHistoryUpdate, dk as NotificationHistorySummary, dq as Opportunity, dz as OpportunityCreate, dB as OpportunityUpdate, dA as OpportunitySummary, dr as OpportunityAttachment, ds as OpportunityAttachmentCreate, du as OpportunityAttachmentUpdate, dt as OpportunityAttachmentSummary, dv as OpportunityCategory, dw as OpportunityCategoryCreate, dy as OpportunityCategoryUpdate, dx as OpportunityCategorySummary, dE as Phase, dF as PhaseCreate, dH as PhaseUpdate, dG as PhaseSummary, dJ as Product, dK as ProductCreate, dM as ProductUpdate, dL as ProductSummary, dN as ProductVendors, dO as ProductVendorsCreate, dQ as ProductVendorsUpdate, dP as ProductVendorsSummary, dS as ProjectCharge, dT as ProjectChargeCreate, dV as ProjectChargeUpdate, dU as ProjectChargeSummary, dY as ProjectNote, dZ as ProjectNoteCreate, d$ as ProjectNoteUpdate, d_ as ProjectNoteSummary, dX as ProjectCreate, e1 as ProjectUpdate, e0 as ProjectSummary, hr as CompositeContextOptions, dW as ProjectContext, e2 as PurchaseApprovals, e3 as PurchaseApprovalsCreate, e5 as PurchaseApprovalsUpdate, e4 as PurchaseApprovalsSummary, e6 as PurchaseOrderItemReceiving, e7 as PurchaseOrderItemReceivingCreate, e9 as PurchaseOrderItemReceivingUpdate, e8 as PurchaseOrderItemReceivingSummary, ea as PurchaseOrderItems, eb as PurchaseOrderItemsCreate, ed as PurchaseOrderItemsUpdate, ec as PurchaseOrderItemsSummary, ee as PurchaseOrders, ef as PurchaseOrdersCreate, eh as PurchaseOrdersUpdate, eg as PurchaseOrdersSummary, ek as QuoteItem, el as QuoteItemCreate, en as QuoteItemUpdate, em as QuoteItemSummary, eo as QuoteLocation, ep as QuoteLocationCreate, er as QuoteLocationUpdate, eq as QuoteLocationSummary, ei as Quote, ej as QuoteCreate, ex as QuoteUpdate, es as QuoteSummary, et as QuoteTemplate, eu as QuoteTemplateCreate, ew as QuoteTemplateUpdate, ev as QuoteTemplateSummary, eE as ResourceRoleQueue, eF as ResourceRoleQueueCreate, eH as ResourceRoleQueueUpdate, eG as ResourceRoleQueueSummary, eC as ResourceRole, eD as ResourceRoleCreate, eJ as ResourceRoleUpdate, eI as ResourceRoleSummary, eK as ResourceSkill, eL as ResourceSkillCreate, eN as ResourceSkillUpdate, eM as ResourceSkillSummary, eB as ResourceCreate, e$ as ResourceUpdate, eO as ResourceSummary, eP as ResourceTimeOffAdditional, eQ as ResourceTimeOffAdditionalCreate, eS as ResourceTimeOffAdditionalUpdate, eR as ResourceTimeOffAdditionalSummary, eT as ResourceTimeOffApprover, eU as ResourceTimeOffApproverCreate, eW as ResourceTimeOffApproverUpdate, eV as ResourceTimeOffApproverSummary, eX as ResourceTimeOffBalance, eY as ResourceTimeOffBalanceCreate, e_ as ResourceTimeOffBalanceUpdate, eZ as ResourceTimeOffBalanceSummary, f0 as Role, f1 as RoleCreate, f3 as RoleUpdate, f2 as RoleSummary, f5 as ServiceCall, f6 as ServiceCallCreate, fo as ServiceCallUpdate, f7 as ServiceCallSummary, fa as ServiceCallTaskResource, fb as ServiceCallTaskResourceCreate, fd as ServiceCallTaskResourceUpdate, fc as ServiceCallTaskResourceSummary, f8 as ServiceCallTask, f9 as ServiceCallTaskCreate, ff as ServiceCallTaskUpdate, fe as ServiceCallTaskSummary, fi as ServiceCallTicketResource, fj as ServiceCallTicketResourceCreate, fl as ServiceCallTicketResourceUpdate, fk as ServiceCallTicketResourceSummary, fg as ServiceCallTicket, fh as ServiceCallTicketCreate, fn as ServiceCallTicketUpdate, fm as ServiceCallTicketSummary, fq as ServiceLevelAgreementResults, fr as ServiceLevelAgreementResultsCreate, ft as ServiceLevelAgreementResultsUpdate, fs as ServiceLevelAgreementResultsSummary, f4 as Service, fp as ServiceCreate, fv as ServiceUpdate, fu as ServiceSummary, fw as Skill, fx as SkillCreate, fz as SkillUpdate, fy as SkillSummary, fC as SubscriptionPeriod, fD as SubscriptionPeriodCreate, fF as SubscriptionPeriodUpdate, fE as SubscriptionPeriodSummary, fB as SubscriptionCreate, fH as SubscriptionUpdate, fG as SubscriptionSummary, fK as SurveyResults, fL as SurveyResultsCreate, fN as SurveyResultsUpdate, fM as SurveyResultsSummary, fI as Survey, fJ as SurveyCreate, fP as SurveyUpdate, fO as SurveySummary, fR as TagAlias, fS as TagAliasCreate, fU as TagAliasUpdate, fT as TagAliasSummary, fW as TagGroup, fX as TagGroupCreate, fZ as TagGroupUpdate, fY as TagGroupSummary, fQ as Tag, fV as TagCreate, f$ as TagUpdate, f_ as TagSummary, g2 as TaskSecondaryResource, g3 as TaskSecondaryResourceCreate, g5 as TaskSecondaryResourceUpdate, g4 as TaskSecondaryResourceSummary, g0 as Task, g1 as TaskCreate, g7 as TaskUpdate, g6 as TaskSummary, g8 as ThresholdStatusResultModel, ga as TicketAdditionalConfigurationItem, gb as TicketAdditionalConfigurationItemCreate, gd as TicketAdditionalConfigurationItemUpdate, gc as TicketAdditionalConfigurationItemSummary, ge as TicketAdditionalContact, gf as TicketAdditionalContactCreate, gh as TicketAdditionalContactUpdate, gg as TicketAdditionalContactSummary, gi as TicketAttachment, gj as TicketAttachmentCreate, gl as TicketAttachmentUpdate, gk as TicketAttachmentSummary, gm as TicketCategory, gn as TicketCategoryCreate, gt as TicketCategoryUpdate, gs as TicketCategorySummary, go as TicketCategoryFieldDefault, gp as TicketCategoryFieldDefaultCreate, gr as TicketCategoryFieldDefaultUpdate, gq as TicketCategoryFieldDefaultSummary, gu as TicketChangeRequestApproval, gv as TicketChangeRequestApprovalCreate, gx as TicketChangeRequestApprovalUpdate, gw as TicketChangeRequestApprovalSummary, gy as TicketCharge, gz as TicketChargeCreate, gB as TicketChargeUpdate, gA as TicketChargeSummary, gC as TicketChecklistItem, gD as TicketChecklistItemCreate, gF as TicketChecklistItemUpdate, gE as TicketChecklistItemSummary, gG as TicketChecklistLibrary, gH as TicketChecklistLibraryCreate, gJ as TicketChecklistLibraryUpdate, gI as TicketChecklistLibrarySummary, gM as TicketHistory, gN as TicketHistoryCreate, gP as TicketHistoryUpdate, gO as TicketHistorySummary, gR as TicketNoteAttachment, gS as TicketNoteAttachmentCreate, gU as TicketNoteAttachmentUpdate, gT as TicketNoteAttachmentSummary, gQ as TicketNote, gV as TicketNoteCreate, gX as TicketNoteUpdate, gW as TicketNoteSummary, gY as TicketNoteWebhook, gZ as TicketNoteWebhookCreate, g$ as TicketNoteWebhookUpdate, g_ as TicketNoteWebhookSummary, h0 as TicketSecondaryResource, h1 as TicketSecondaryResourceCreate, h3 as TicketSecondaryResourceUpdate, h2 as TicketSecondaryResourceSummary, gL as TicketCreate, h5 as TicketUpdate, h4 as TicketSummary, gK as TicketContext, h6 as TicketWebhook, h7 as TicketWebhookCreate, h9 as TicketWebhookUpdate, h8 as TicketWebhookSummary, hf as TimeEntryCreate, hh as TimeEntryUpdate, hg as TimeEntrySummary, hb as TimeEntryAttachment, hc as TimeEntryAttachmentCreate, he as TimeEntryAttachmentUpdate, hd as TimeEntryAttachmentSummary, hi as TimeOffRequest, hj as TimeOffRequestCreate, hm as TimeOffRequestUpdate, hl as TimeOffRequestSummary, A as ApiVersionResultModel, i as AutotaskVersionResultModel, ho as ZoneInformationResultModel } from './index-BXtKN1M5.cjs';
|
|
1
|
+
import { I as Identifier, g as AuditEvent, a as FilterCondition, ez as ResolutionCaps, Q as QueryParams, dD as PagingModel, dn as OperationResult, dC as Page, cE as EmptyReasonInfo, cG as EntityInformationModel, cW as FieldInformationModel, cU as Field, cD as DryRunResult, ey as Resolution, c as Appointment, d as AppointmentCreate, f as AppointmentUpdate, e as AppointmentSummary, h as AuthTokenResultModel, B as BillingCode, j as BillingCodeCreate, l as BillingCodeUpdate, k as BillingCodeSummary, m as BillingItems, n as BillingItemsCreate, p as BillingItemsUpdate, o as BillingItemsSummary, C as ChangeRequestLink, q as ChangeRequestLinkCreate, s as ChangeRequestLinkUpdate, r as ChangeRequestLinkSummary, t as ChecklistLibrary, y as ChecklistLibraryCreate, D as ChecklistLibraryUpdate, z as ChecklistLibrarySummary, u as ChecklistLibraryChecklistItem, v as ChecklistLibraryChecklistItemCreate, x as ChecklistLibraryChecklistItemUpdate, w as ChecklistLibraryChecklistItemSummary, E as ClassificationIcon, G as ClassificationIconCreate, J as ClassificationIconUpdate, H as ClassificationIconSummary, K as Company, S as CompanyLocation, aN as Contact, W as CompanyNote, g9 as Ticket, dR as Project, hq as CompositeNamesSection, ha as TimeEntry, R as CompanyCreate, a3 as CompanyUpdate, a2 as CompanySummary, P as CompanyContext, L as CompanyAlert, M as CompanyAlertCreate, O as CompanyAlertUpdate, N as CompanyAlertSummary, T as CompanyLocationCreate, V as CompanyLocationUpdate, U as CompanyLocationSummary, X as CompanyNoteCreate, Z as CompanyNoteUpdate, Y as CompanyNoteSummary, _ as CompanySiteConfigurations, $ as CompanySiteConfigurationsCreate, a1 as CompanySiteConfigurationsUpdate, a0 as CompanySiteConfigurationsSummary, a4 as CompanyWebhook, a5 as CompanyWebhookCreate, a7 as CompanyWebhookUpdate, a6 as CompanyWebhookSummary, a9 as ConfigurationItemBillingProductAssociations, aa as ConfigurationItemBillingProductAssociationsCreate, ac as ConfigurationItemBillingProductAssociationsUpdate, ab as ConfigurationItemBillingProductAssociationsSummary, ad as ConfigurationItemCategory, ae as ConfigurationItemCategoryCreate, ak as ConfigurationItemCategoryUpdate, af as ConfigurationItemCategorySummary, ag as ConfigurationItemCategoryUdfAssociation, ah as ConfigurationItemCategoryUdfAssociationCreate, aj as ConfigurationItemCategoryUdfAssociationUpdate, ai as ConfigurationItemCategoryUdfAssociationSummary, an as ConfigurationItemDnsRecord, ao as ConfigurationItemDnsRecordCreate, aq as ConfigurationItemDnsRecordUpdate, ap as ConfigurationItemDnsRecordSummary, ar as ConfigurationItemNote, as as ConfigurationItemNoteCreate, au as ConfigurationItemNoteUpdate, at as ConfigurationItemNoteSummary, av as ConfigurationItemRelatedItem, aw as ConfigurationItemRelatedItemCreate, ay as ConfigurationItemRelatedItemUpdate, ax as ConfigurationItemRelatedItemSummary, a8 as ConfigurationItem, aE as ConfigurationItemType, am as ConfigurationItemCreate, aI as ConfigurationItemUpdate, aD as ConfigurationItemSummary, al as ConfigurationItemContext, az as ConfigurationItemSslSubjectAlternativeName, aA as ConfigurationItemSslSubjectAlternativeNameCreate, aC as ConfigurationItemSslSubjectAlternativeNameUpdate, aB as ConfigurationItemSslSubjectAlternativeNameSummary, aF as ConfigurationItemTypeCreate, aH as ConfigurationItemTypeUpdate, aG as ConfigurationItemTypeSummary, aJ as ConfigurationItemWebhook, aK as ConfigurationItemWebhookCreate, aM as ConfigurationItemWebhookUpdate, aL as ConfigurationItemWebhookSummary, aQ as ContactGroupContacts, aR as ContactGroupContactsCreate, aT as ContactGroupContactsUpdate, aS as ContactGroupContactsSummary, aU as ContactGroups, aV as ContactGroupsCreate, aX as ContactGroupsUpdate, aW as ContactGroupsSummary, aY as ContactSummary, aP as ContactCreate, aZ as ContactUpdate, aO as ContactContext, a_ as ContactWebhook, a$ as ContactWebhookCreate, b1 as ContactWebhookUpdate, b0 as ContactWebhookSummary, b3 as ContractBillingRule, b4 as ContractBillingRuleCreate, b6 as ContractBillingRuleUpdate, b5 as ContractBillingRuleSummary, b9 as ContractBlockHourFactor, ba as ContractBlockHourFactorCreate, bc as ContractBlockHourFactorUpdate, bb as ContractBlockHourFactorSummary, b7 as ContractBlock, b8 as ContractBlockCreate, be as ContractBlockUpdate, bd as ContractBlockSummary, bf as ContractCharge, bg as ContractChargeCreate, bi as ContractChargeUpdate, bh as ContractChargeSummary, bk as ContractExclusionBillingCode, bl as ContractExclusionBillingCodeCreate, bn as ContractExclusionBillingCodeUpdate, bm as ContractExclusionBillingCodeSummary, bo as ContractExclusionRoles, bp as ContractExclusionRolesCreate, br as ContractExclusionRolesUpdate, bq as ContractExclusionRolesSummary, bs as ContractExclusionSetExcludedRoles, bt as ContractExclusionSetExcludedRolesCreate, bv as ContractExclusionSetExcludedRolesUpdate, bu as ContractExclusionSetExcludedRolesSummary, bw as ContractExclusionSetExcludedWorkTypes, bx as ContractExclusionSetExcludedWorkTypesCreate, bz as ContractExclusionSetExcludedWorkTypesUpdate, by as ContractExclusionSetExcludedWorkTypesSummary, bA as ContractExclusionSets, bB as ContractExclusionSetsCreate, bD as ContractExclusionSetsUpdate, bC as ContractExclusionSetsSummary, bE as ContractMilestone, bF as ContractMilestoneCreate, bH as ContractMilestoneUpdate, bG as ContractMilestoneSummary, bI as ContractNote, bJ as ContractNoteCreate, bL as ContractNoteUpdate, bK as ContractNoteSummary, bM as ContractRate, bN as ContractRateCreate, bP as ContractRateUpdate, bO as ContractRateSummary, bQ as ContractRetainers, bR as ContractRetainersCreate, bT as ContractRetainersUpdate, bS as ContractRetainersSummary, bU as ContractRoleCosts, bV as ContractRoleCostsCreate, bX as ContractRoleCostsUpdate, bW as ContractRoleCostsSummary, bZ as ContractServiceAdjustment, b_ as ContractServiceAdjustmentCreate, c0 as ContractServiceAdjustmentUpdate, b$ as ContractServiceAdjustmentSummary, c2 as ContractServiceBundleAdjustment, c3 as ContractServiceBundleAdjustmentCreate, c5 as ContractServiceBundleAdjustmentUpdate, c4 as ContractServiceBundleAdjustmentSummary, c1 as ContractServiceBundle, c6 as ContractServiceBundleCreate, cc as ContractServiceBundleUpdate, c7 as ContractServiceBundleSummary, c8 as ContractServiceBundleUnit, c9 as ContractServiceBundleUnitCreate, cb as ContractServiceBundleUnitUpdate, ca as ContractServiceBundleUnitSummary, bY as ContractService, cd as ContractServiceCreate, cj as ContractServiceUpdate, ce as ContractServiceSummary, cf as ContractServiceUnit, cg as ContractServiceUnitCreate, ci as ContractServiceUnitUpdate, ch as ContractServiceUnitSummary, b2 as Contract, dc as Invoice, eA as Resource, cI as ExpenseItem, fA as Subscription, bj as ContractCreate, cp as ContractUpdate, ck as ContractSummary, cl as ContractTicketPurchases, cm as ContractTicketPurchasesCreate, co as ContractTicketPurchasesUpdate, cn as ContractTicketPurchasesSummary, cq as Country, cr as CountryCreate, ct as CountryUpdate, cs as CountrySummary, cu as Department, cv as DepartmentCreate, cx as DepartmentUpdate, cw as DepartmentSummary, cz as DomainRegistrar, cA as DomainRegistrarCreate, cC as DomainRegistrarUpdate, cB as DomainRegistrarSummary, cY as GlobalEntityInformationResultModel, cJ as ExpenseItemAttachment, cK as ExpenseItemAttachmentCreate, cM as ExpenseItemAttachmentUpdate, cL as ExpenseItemAttachmentSummary, cN as ExpenseItemCreate, cP as ExpenseItemUpdate, cO as ExpenseItemSummary, cQ as ExpenseReport, cR as ExpenseReportCreate, cT as ExpenseReportUpdate, cS as ExpenseReportSummary, c$ as HolidaySet, d0 as HolidaySetCreate, d2 as HolidaySetUpdate, d1 as HolidaySetSummary, cZ as Holiday, c_ as HolidayCreate, d4 as HolidayUpdate, d3 as HolidaySummary, d5 as InventoryProduct, d6 as InventoryProductCreate, d8 as InventoryProductUpdate, d7 as InventoryProductSummary, d9 as InventoryStockedItemAdd, da as InventoryStockedItemRemove, db as InventoryStockedItemTransfer, dd as InvoiceCreate, df as InvoiceUpdate, de as InvoiceSummary, dh as ModuleAccessResultModel, di as NotificationHistory, dj as NotificationHistoryCreate, dl as NotificationHistoryUpdate, dk as NotificationHistorySummary, dq as Opportunity, dz as OpportunityCreate, dB as OpportunityUpdate, dA as OpportunitySummary, dr as OpportunityAttachment, ds as OpportunityAttachmentCreate, du as OpportunityAttachmentUpdate, dt as OpportunityAttachmentSummary, dv as OpportunityCategory, dw as OpportunityCategoryCreate, dy as OpportunityCategoryUpdate, dx as OpportunityCategorySummary, dE as Phase, dF as PhaseCreate, dH as PhaseUpdate, dG as PhaseSummary, dJ as Product, dK as ProductCreate, dM as ProductUpdate, dL as ProductSummary, dN as ProductVendors, dO as ProductVendorsCreate, dQ as ProductVendorsUpdate, dP as ProductVendorsSummary, dS as ProjectCharge, dT as ProjectChargeCreate, dV as ProjectChargeUpdate, dU as ProjectChargeSummary, dY as ProjectNote, dZ as ProjectNoteCreate, d$ as ProjectNoteUpdate, d_ as ProjectNoteSummary, dX as ProjectCreate, e1 as ProjectUpdate, e0 as ProjectSummary, hr as CompositeContextOptions, dW as ProjectContext, e2 as PurchaseApprovals, e3 as PurchaseApprovalsCreate, e5 as PurchaseApprovalsUpdate, e4 as PurchaseApprovalsSummary, e6 as PurchaseOrderItemReceiving, e7 as PurchaseOrderItemReceivingCreate, e9 as PurchaseOrderItemReceivingUpdate, e8 as PurchaseOrderItemReceivingSummary, ea as PurchaseOrderItems, eb as PurchaseOrderItemsCreate, ed as PurchaseOrderItemsUpdate, ec as PurchaseOrderItemsSummary, ee as PurchaseOrders, ef as PurchaseOrdersCreate, eh as PurchaseOrdersUpdate, eg as PurchaseOrdersSummary, ek as QuoteItem, el as QuoteItemCreate, en as QuoteItemUpdate, em as QuoteItemSummary, eo as QuoteLocation, ep as QuoteLocationCreate, er as QuoteLocationUpdate, eq as QuoteLocationSummary, ei as Quote, ej as QuoteCreate, ex as QuoteUpdate, es as QuoteSummary, et as QuoteTemplate, eu as QuoteTemplateCreate, ew as QuoteTemplateUpdate, ev as QuoteTemplateSummary, eE as ResourceRoleQueue, eF as ResourceRoleQueueCreate, eH as ResourceRoleQueueUpdate, eG as ResourceRoleQueueSummary, eC as ResourceRole, eD as ResourceRoleCreate, eJ as ResourceRoleUpdate, eI as ResourceRoleSummary, eK as ResourceSkill, eL as ResourceSkillCreate, eN as ResourceSkillUpdate, eM as ResourceSkillSummary, eB as ResourceCreate, e$ as ResourceUpdate, eO as ResourceSummary, eP as ResourceTimeOffAdditional, eQ as ResourceTimeOffAdditionalCreate, eS as ResourceTimeOffAdditionalUpdate, eR as ResourceTimeOffAdditionalSummary, eT as ResourceTimeOffApprover, eU as ResourceTimeOffApproverCreate, eW as ResourceTimeOffApproverUpdate, eV as ResourceTimeOffApproverSummary, eX as ResourceTimeOffBalance, eY as ResourceTimeOffBalanceCreate, e_ as ResourceTimeOffBalanceUpdate, eZ as ResourceTimeOffBalanceSummary, f0 as Role, f1 as RoleCreate, f3 as RoleUpdate, f2 as RoleSummary, f5 as ServiceCall, f6 as ServiceCallCreate, fo as ServiceCallUpdate, f7 as ServiceCallSummary, fa as ServiceCallTaskResource, fb as ServiceCallTaskResourceCreate, fd as ServiceCallTaskResourceUpdate, fc as ServiceCallTaskResourceSummary, f8 as ServiceCallTask, f9 as ServiceCallTaskCreate, ff as ServiceCallTaskUpdate, fe as ServiceCallTaskSummary, fi as ServiceCallTicketResource, fj as ServiceCallTicketResourceCreate, fl as ServiceCallTicketResourceUpdate, fk as ServiceCallTicketResourceSummary, fg as ServiceCallTicket, fh as ServiceCallTicketCreate, fn as ServiceCallTicketUpdate, fm as ServiceCallTicketSummary, fq as ServiceLevelAgreementResults, fr as ServiceLevelAgreementResultsCreate, ft as ServiceLevelAgreementResultsUpdate, fs as ServiceLevelAgreementResultsSummary, f4 as Service, fp as ServiceCreate, fv as ServiceUpdate, fu as ServiceSummary, fw as Skill, fx as SkillCreate, fz as SkillUpdate, fy as SkillSummary, fC as SubscriptionPeriod, fD as SubscriptionPeriodCreate, fF as SubscriptionPeriodUpdate, fE as SubscriptionPeriodSummary, fB as SubscriptionCreate, fH as SubscriptionUpdate, fG as SubscriptionSummary, fK as SurveyResults, fL as SurveyResultsCreate, fN as SurveyResultsUpdate, fM as SurveyResultsSummary, fI as Survey, fJ as SurveyCreate, fP as SurveyUpdate, fO as SurveySummary, fR as TagAlias, fS as TagAliasCreate, fU as TagAliasUpdate, fT as TagAliasSummary, fW as TagGroup, fX as TagGroupCreate, fZ as TagGroupUpdate, fY as TagGroupSummary, fQ as Tag, fV as TagCreate, f$ as TagUpdate, f_ as TagSummary, g2 as TaskSecondaryResource, g3 as TaskSecondaryResourceCreate, g5 as TaskSecondaryResourceUpdate, g4 as TaskSecondaryResourceSummary, g0 as Task, g1 as TaskCreate, g7 as TaskUpdate, g6 as TaskSummary, g8 as ThresholdStatusResultModel, ga as TicketAdditionalConfigurationItem, gb as TicketAdditionalConfigurationItemCreate, gd as TicketAdditionalConfigurationItemUpdate, gc as TicketAdditionalConfigurationItemSummary, ge as TicketAdditionalContact, gf as TicketAdditionalContactCreate, gh as TicketAdditionalContactUpdate, gg as TicketAdditionalContactSummary, gi as TicketAttachment, gj as TicketAttachmentCreate, gl as TicketAttachmentUpdate, gk as TicketAttachmentSummary, gm as TicketCategory, gn as TicketCategoryCreate, gt as TicketCategoryUpdate, gs as TicketCategorySummary, go as TicketCategoryFieldDefault, gp as TicketCategoryFieldDefaultCreate, gr as TicketCategoryFieldDefaultUpdate, gq as TicketCategoryFieldDefaultSummary, gu as TicketChangeRequestApproval, gv as TicketChangeRequestApprovalCreate, gx as TicketChangeRequestApprovalUpdate, gw as TicketChangeRequestApprovalSummary, gy as TicketCharge, gz as TicketChargeCreate, gB as TicketChargeUpdate, gA as TicketChargeSummary, gC as TicketChecklistItem, gD as TicketChecklistItemCreate, gF as TicketChecklistItemUpdate, gE as TicketChecklistItemSummary, gG as TicketChecklistLibrary, gH as TicketChecklistLibraryCreate, gJ as TicketChecklistLibraryUpdate, gI as TicketChecklistLibrarySummary, gM as TicketHistory, gN as TicketHistoryCreate, gP as TicketHistoryUpdate, gO as TicketHistorySummary, gR as TicketNoteAttachment, gS as TicketNoteAttachmentCreate, gU as TicketNoteAttachmentUpdate, gT as TicketNoteAttachmentSummary, gQ as TicketNote, gV as TicketNoteCreate, gX as TicketNoteUpdate, gW as TicketNoteSummary, gY as TicketNoteWebhook, gZ as TicketNoteWebhookCreate, g$ as TicketNoteWebhookUpdate, g_ as TicketNoteWebhookSummary, h0 as TicketSecondaryResource, h1 as TicketSecondaryResourceCreate, h3 as TicketSecondaryResourceUpdate, h2 as TicketSecondaryResourceSummary, gL as TicketCreate, h5 as TicketUpdate, h4 as TicketSummary, gK as TicketContext, h6 as TicketWebhook, h7 as TicketWebhookCreate, h9 as TicketWebhookUpdate, h8 as TicketWebhookSummary, hf as TimeEntryCreate, hh as TimeEntryUpdate, hg as TimeEntrySummary, hb as TimeEntryAttachment, hc as TimeEntryAttachmentCreate, he as TimeEntryAttachmentUpdate, hd as TimeEntryAttachmentSummary, hi as TimeOffRequest, hj as TimeOffRequestCreate, hm as TimeOffRequestUpdate, hl as TimeOffRequestSummary, A as ApiVersionResultModel, i as AutotaskVersionResultModel, ho as ZoneInformationResultModel } from './index-BXtKN1M5.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A read-through TTL cache (lazy purge on read; expiry is `Date.now()`
|
|
@@ -827,9 +827,17 @@ declare const DEFAULT_PAGE_SIZE = 10;
|
|
|
827
827
|
declare const MAX_PAGE_SIZE = 500;
|
|
828
828
|
declare const DEFAULT_TIMEOUT_MS = 30000;
|
|
829
829
|
declare const DEFAULT_MAX_RETRIES = 3;
|
|
830
|
-
/** Autotask runs a weekly maintenance window (
|
|
830
|
+
/** Autotask runs a weekly maintenance window (observed median ~2 h, ceiling 4 h — MAINTENANCE_WINDOW_MAX_MS); wait out one hour by default. */
|
|
831
831
|
declare const DEFAULT_MAINTENANCE_MAX_WAIT_MS = 3600000;
|
|
832
832
|
declare const DEFAULT_MAINTENANCE_POLL_MS = 30000;
|
|
833
|
+
/**
|
|
834
|
+
* Issue #114 (2026-10-19): the observed ceiling of the weekly maintenance
|
|
835
|
+
* window — 4 h. Live evidence from 19 windows: 30-240 min, median ~2 h, max
|
|
836
|
+
* 4 h. The default wait above stays 1 h (the common case, and a bounded
|
|
837
|
+
* default for unattended callers); a worker that must ride out the worst
|
|
838
|
+
* window passes `maintenanceMaxWaitMs: MAINTENANCE_WINDOW_MAX_MS`.
|
|
839
|
+
*/
|
|
840
|
+
declare const MAINTENANCE_WINDOW_MAX_MS: number;
|
|
833
841
|
declare const DEFAULT_MAX_CONCURRENT = 10;
|
|
834
842
|
/** Default response-size cap (64 MiB) — bounds a runaway/hostile body in memory. */
|
|
835
843
|
declare const DEFAULT_MAX_RESPONSE_BYTES: number;
|
|
@@ -875,17 +883,23 @@ interface AutotaskConfig {
|
|
|
875
883
|
maxRetries?: number;
|
|
876
884
|
/**
|
|
877
885
|
* Maintenance-window auto-retry (the weekly Autotask maintenance window — the
|
|
878
|
-
* edge answers a non-JSON HTML page
|
|
879
|
-
*
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
*
|
|
886
|
+
* edge answers a non-JSON HTML page before the vendor application ever sees
|
|
887
|
+
* the request). The page is recognised from the first 256 bytes of the body
|
|
888
|
+
* at ANY status; while it persists the transport waits `maintenancePollMs`
|
|
889
|
+
* and retries, up to this many ms from the first maintenance response.
|
|
890
|
+
* Default 3_600_000 (1 hour; the observed median window is about 2 h and the
|
|
891
|
+
* ceiling 4 h — `MAINTENANCE_WINDOW_MAX_MS`); `0` disables the wait and
|
|
892
|
+
* surfaces the error at once.
|
|
883
893
|
*
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
*
|
|
894
|
+
* A non-JSON `2xx` page applies to READS AND WRITES: it is edge-served before
|
|
895
|
+
* execution, which is exactly the case where a bounded auto-retry is safe.
|
|
896
|
+
* A non-JSON `4xx`/`5xx` page applies ONLY to calls safe to re-send (`GET` or
|
|
897
|
+
* an explicitly `idempotent`-flagged call) — an unflagged mutation makes one
|
|
898
|
+
* send and carries `details.maintenanceDetected`, because a proxy can serve
|
|
899
|
+
* that page after forwarding the write. The general `unknown` write-outcome
|
|
900
|
+
* rule is otherwise unaffected — a JSON 5xx / network / timeout error never
|
|
901
|
+
* auto-retries a write. The wait does not consume the `maxRetries` budget and
|
|
902
|
+
* is bounded per call.
|
|
889
903
|
*/
|
|
890
904
|
maintenanceMaxWaitMs?: number;
|
|
891
905
|
/** Poll interval while waiting out a maintenance page. Default 30_000. */
|
|
@@ -1246,6 +1260,52 @@ declare function resolveCredentials(config: AutotaskConfig): {
|
|
|
1246
1260
|
/** Validate + resolve an AutotaskConfig (fail closed; throws AutotaskConfigError). */
|
|
1247
1261
|
declare function resolveConfig(config: AutotaskConfig): ResolvedAutotaskConfig;
|
|
1248
1262
|
|
|
1263
|
+
/**
|
|
1264
|
+
* A short-TTL in-memory cache of the `latest` walk's count probes (lazy
|
|
1265
|
+
* purge on read; expiry is `Date.now()` based; LRU-ish eviction at the cap).
|
|
1266
|
+
* Plain `number` values only — `set` refuses a non-finite number silently
|
|
1267
|
+
* (the sentinel record never reaches it by construction; the guard keeps
|
|
1268
|
+
* the store's type honest if a caller ever does).
|
|
1269
|
+
*/
|
|
1270
|
+
declare class LatestCountCache {
|
|
1271
|
+
/** The TTL in ms. */
|
|
1272
|
+
readonly ttlMs: number;
|
|
1273
|
+
/** The entry bound (applies to STORED entries). */
|
|
1274
|
+
readonly maxEntries: number;
|
|
1275
|
+
private readonly store;
|
|
1276
|
+
/** The invalidation epoch (the `ReadCache` pattern — issue #139): bumped
|
|
1277
|
+
* by `clear()`; capture it before a wire read and pass it to `set` so a
|
|
1278
|
+
* probe in flight across a write cannot re-store its stale answer. */
|
|
1279
|
+
private epochCounter;
|
|
1280
|
+
constructor(ttlMs: number, maxEntries?: number);
|
|
1281
|
+
/** The composite key: (resource plan key, canonical filter serialisation)
|
|
1282
|
+
* — the `\u0000` separator is unencodable in a filter value, so no two
|
|
1283
|
+
* (resource, conditions) pairs collide. */
|
|
1284
|
+
static key(resourceKey: string, conditions: readonly FilterCondition[] | undefined): string;
|
|
1285
|
+
/** The live entry's count, or `undefined` (absent OR expired — an expired
|
|
1286
|
+
* entry is purged lazily on this read). */
|
|
1287
|
+
get(key: string): number | undefined;
|
|
1288
|
+
/** The invalidation epoch: bumped by `clear()`; capture it before a wire
|
|
1289
|
+
* read and pass it to `set` so a probe in flight across a write cannot
|
|
1290
|
+
* re-store its stale answer (issue #139, the `ReadCache` pattern). */
|
|
1291
|
+
get epoch(): number;
|
|
1292
|
+
/** Store a SUCCESSFUL plain-number count under `key`, live for `ttlMs`.
|
|
1293
|
+
* `epoch` is the invalidation epoch the caller captured BEFORE its wire
|
|
1294
|
+
* read: a probe that straddled a `clear()` (a write) is dropped, never
|
|
1295
|
+
* re-stored with its pre-write body (issue #139). Past the cap: purge
|
|
1296
|
+
* expired entries first, then evict the oldest-inserted (Map iteration
|
|
1297
|
+
* order = insertion order). */
|
|
1298
|
+
set(key: string, value: number, epoch?: number): void;
|
|
1299
|
+
/** Drop one entry (absent = no-op). Issue #157: the stale-LOW recovery
|
|
1300
|
+
* deletes the cached total before its one fresh wire re-probe, so the
|
|
1301
|
+
* re-probe cannot be served by the entry it is meant to replace. */
|
|
1302
|
+
delete(key: string): void;
|
|
1303
|
+
/** Clear every entry (a real write through the owning client — the
|
|
1304
|
+
* write-then-read re-fetch rule) and bump the invalidation epoch: a
|
|
1305
|
+
* `set` captured before this `clear` is discarded (issue #139). */
|
|
1306
|
+
clear(): void;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1249
1309
|
interface RequestOptions {
|
|
1250
1310
|
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
1251
1311
|
/** Path after the base URL, already interpolated, e.g. '/V1.0/Companies/42'. */
|
|
@@ -1412,6 +1472,11 @@ declare class HttpClient {
|
|
|
1412
1472
|
readonly fieldCache: FieldCache | undefined;
|
|
1413
1473
|
/** Resource-name cache for `operations.expandResourceNames` (issue #80: the default instance when `resourceNameCache` is absent; undefined only when the user set `false` explicitly, issue #65). */
|
|
1414
1474
|
readonly resourceNameCache: ResourceNameCache | undefined;
|
|
1475
|
+
/** The `latest` walk's count-probe cache (issue #127: the short-TTL
|
|
1476
|
+
* per-client count cache — ALWAYS on, process-internal: no config
|
|
1477
|
+
* surface, no served keys; the plain `count` op and `operations.aggregate`
|
|
1478
|
+
* bypass it by construction and promise fresh totals). */
|
|
1479
|
+
readonly latestCountCache: LatestCountCache;
|
|
1415
1480
|
/** Resolved update fallback gate (issue #34; OFF by default). */
|
|
1416
1481
|
readonly update: {
|
|
1417
1482
|
putFallback: boolean;
|
|
@@ -1652,7 +1717,7 @@ declare function toArray<T>(iter: AsyncIterable<T>): Promise<T[]>;
|
|
|
1652
1717
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
1653
1718
|
* - docs/API.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
1654
1719
|
*
|
|
1655
|
-
* planHash:
|
|
1720
|
+
* planHash: f6a579e0b7a8544f6e477a730d21a9ba031536392d8dbaeb2f73c61ca290ae91
|
|
1656
1721
|
*/
|
|
1657
1722
|
|
|
1658
1723
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -2184,10 +2249,35 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2184
2249
|
* numbers numerically; exact-digit strings via `BigInt`; mixed
|
|
2185
2250
|
* number/string via `BigInt(String(a))`) — ids above 2^53 stay exact. */
|
|
2186
2251
|
private compareIds;
|
|
2252
|
+
/** Issue #127: the `latest` walk's count probes through the per-client
|
|
2253
|
+
* short-TTL count cache (`LatestCountCache` — fixed 30 s TTL, the
|
|
2254
|
+
* memory guard; cleared on every real write through this client, the
|
|
2255
|
+
* write-then-read re-fetch rule). Only a SUCCESSFUL plain-number vendor
|
|
2256
|
+
* count answer is stored: the blind-surface / pinned-empty sentinels are
|
|
2257
|
+
* RECORDS and pass through un-stored (the plan-pinned stamps stay fresh
|
|
2258
|
+
* and re-derive on every call), and an error rejects before any store.
|
|
2259
|
+
* The key is (resource plan key, canonical filter serialisation — the
|
|
2260
|
+
* normalised conditions' JSON): the initial `count(F)` probe and every
|
|
2261
|
+
* `id gt T` threshold probe are separate entries, and a re-asked
|
|
2262
|
+
* "top N" within the TTL makes ZERO extra count calls (its probes all
|
|
2263
|
+
* hit — the bracket/search sequence is deterministic given the counts).
|
|
2264
|
+
* Issue #157: two corrections to the snapshot trade. (1) A total of 0 is
|
|
2265
|
+
* NEVER stored — a 0 is rare and cheap to re-probe, and a cached 0 fed
|
|
2266
|
+
* the false-empty branch (a repeat after an out-of-band insert returned
|
|
2267
|
+
* no rows without walking). (2) `fresh: true` DELETES the entry before
|
|
2268
|
+
* the wire read and re-stores the fresh answer — the ONE re-probe the
|
|
2269
|
+
* stale-LOW recovery in `latestWalk` is allowed. Counts are snapshots,
|
|
2270
|
+
* not contracts: the truncation guard covers the growth-of-total
|
|
2271
|
+
* direction; a stale-LOW total within the TTL is resolved by that one
|
|
2272
|
+
* fresh re-probe (never by the guard alone). The plain `count` op and
|
|
2273
|
+
* `operations.aggregate` call `countGlobal` directly and promise fresh
|
|
2274
|
+
* totals — this wrapper is used ONLY on the latest-walk probe path.
|
|
2275
|
+
*/
|
|
2276
|
+
private latestProbeCount;
|
|
2187
2277
|
/** Issue #59: one `latest` threshold count probe — a ROWLESS
|
|
2188
2278
|
* `count(F ∧ id gt T)` call (the vendor caps — ≤500 OR-conditions,
|
|
2189
2279
|
* 8000 chars serialised — leave a single `gt` condition room on any
|
|
2190
|
-
* filter). The `BlindCountResult` sentinel (a record, not a number —
|
|
2280
|
+
* filter). Issue #127: it rides the per-client short-TTL count cache — the same (resource, conditions) probe within the 30 s window is reused (zero vendor calls); a sentinel answer is never cached. The `BlindCountResult` sentinel (a record, not a number —
|
|
2191
2281
|
* the declared `number` return is the documented under-type) unwraps to
|
|
2192
2282
|
* its `count` value (always 0): at or above the max matching id the
|
|
2193
2283
|
* count is 0, which is exactly the bracket-termination signal. */
|
|
@@ -2208,8 +2298,11 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2208
2298
|
* 1 + ceil(C/500) <= 6, independent of table size. A truncated walk
|
|
2209
2299
|
* (the vendor's rows disagree with its own count) is
|
|
2210
2300
|
* LATEST_WINDOW_INCOMPLETE — the top-N of a truncated set is
|
|
2211
|
-
* unprovable
|
|
2212
|
-
*
|
|
2301
|
+
* unprovable — EXCEPT issue #157: when `C` came from the CACHE, the
|
|
2302
|
+
* total is re-probed ONCE fresh (the stale-LOW recovery: a larger
|
|
2303
|
+
* fresh total continues the walk against it; the refusal stands only
|
|
2304
|
+
* when the fresh probe confirms the cached value). Sort
|
|
2305
|
+
* id-descending; return the top N (a set of C < N returns itself).
|
|
2213
2306
|
* - `C > 2500` → THRESHOLD mode: find the smallest id threshold `T`
|
|
2214
2307
|
* with `count(F ∧ id gt T) <= N` by exponential bracketing
|
|
2215
2308
|
* (T = 1, 2, 4, …) + binary search — each probe ONE rowless count
|
|
@@ -2236,7 +2329,19 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2236
2329
|
* answer.
|
|
2237
2330
|
* `includeFields` always carries `id` (the P1 id-append,
|
|
2238
2331
|
* `buildQueryRequest`), which `latest` sorts on. Pure read; no mutation
|
|
2239
|
-
* paths involved.
|
|
2332
|
+
* paths involved. Issue #127: every count probe of this walk (the
|
|
2333
|
+
* initial `count(F)` + the `id gt T` threshold probes) rides the
|
|
2334
|
+
* per-client short-TTL count cache (30 s; a real write through this
|
|
2335
|
+
* client clears it) — a re-asked "top N" within the window reuses the
|
|
2336
|
+
* probes (zero extra vendor count calls); sentinel answers are never
|
|
2337
|
+
* cached (the plan-pinned stamps stay fresh), and a 0 total is never
|
|
2338
|
+
* cached either (issue #157: a 0 is cheap to re-probe and a cached 0
|
|
2339
|
+
* would shadow an out-of-band insert). The stale-LOW direction is closed
|
|
2340
|
+
* by the ONE fresh re-probe above; the stale-HIGH direction is safe by
|
|
2341
|
+
* construction (threshold mode re-probes fresh `id gt T` counts and
|
|
2342
|
+
* full-set mode ends when the cursor exhausts). The plain `count` op and
|
|
2343
|
+
* `operations.aggregate` bypass the cache by construction and promise
|
|
2344
|
+
* fresh totals.
|
|
2240
2345
|
*/
|
|
2241
2346
|
private latestWalk;
|
|
2242
2347
|
/** The shared `latest` completion: the (provably complete or
|
|
@@ -2743,7 +2848,7 @@ declare class BillingCodesResource extends BaseResource<BillingCode, BillingCode
|
|
|
2743
2848
|
interface DateWindowOptions {
|
|
2744
2849
|
/** Window anchor (default: now) — tests pin it for determinism. */
|
|
2745
2850
|
now?: Date;
|
|
2746
|
-
/** Max records (default
|
|
2851
|
+
/** Max records (default 500 = the hard cap — a call without limit takes the first 500 rows in vendor id order; a window with more than 500 matching rows needs the bounded query op with the same date-window filter — its 2500-row walk cap, issue #128). */
|
|
2747
2852
|
limit?: number;
|
|
2748
2853
|
/** IANA timezone (e.g. 'Australia/Sydney') — the window's calendar day/period is computed in that zone's local calendar and converted to UTC for the wire; omitted = UTC (the current behaviour, bit-for-bit). `last24h` is rolling and TZ-invariant (a zone never changes it). */
|
|
2749
2854
|
tz?: string;
|
|
@@ -8852,7 +8957,7 @@ declare class TicketWebhooksResource extends BaseResource<TicketWebhook, TicketW
|
|
|
8852
8957
|
* behaviour bit-for-bit) under its historical name. */
|
|
8853
8958
|
type TimeEntriesWindowOptions = DateWindowOptions;
|
|
8854
8959
|
interface TimeEntriesStatusOptions {
|
|
8855
|
-
/** Max records (default
|
|
8960
|
+
/** Max records (default 500 = the hard cap, issue #128). */
|
|
8856
8961
|
limit?: number;
|
|
8857
8962
|
/** Optional ticketID eq narrowing (node parity). */
|
|
8858
8963
|
ticketID?: number;
|
|
@@ -8861,7 +8966,7 @@ interface TimeEntriesStatusOptions {
|
|
|
8861
8966
|
interface TimeEntriesPostedWindowOptions {
|
|
8862
8967
|
/** Posted narrowing: `true` = posted rows only (postedDate exist), `false` = unposted rows only (postedDate notExist), omitted = both (the counts split the returned items). On a zone whose entity lacks the field (W-D3, e.g. ww29 — see the pointer note) the vendor 500s and the typed note explains. */
|
|
8863
8968
|
posted?: boolean;
|
|
8864
|
-
/** Max records (default
|
|
8969
|
+
/** Max records (default 500 = the hard cap — a window with more than 500 matching rows: the bounded query op (time_entries.query) with the same dateWorked filter, its 2500-row walk cap; issue #128). */
|
|
8865
8970
|
limit?: number;
|
|
8866
8971
|
/** Optional ticketID eq narrowing. */
|
|
8867
8972
|
ticketID?: number;
|
|
@@ -9360,4 +9465,4 @@ declare class AutotaskClient {
|
|
|
9360
9465
|
}): Promise<PromiseSettledResult<R>[]>;
|
|
9361
9466
|
}
|
|
9362
9467
|
|
|
9363
|
-
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, type NotificationHistoryResourceQueryParams as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAX_PAGES as bU, MAX_PAGE_SIZE as bV, MarkerUnsafeIdError as bW, ModulesResource as bX, NoopLogger as bY, NotFoundError as bZ, NotificationHistoryResource as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, type ResourceTimeOffAdditionalResourceQueryParams as c$, OpportunitiesResource as c0, type OpportunitiesResourceQueryParams as c1, OpportunityAttachmentsResource as c2, type OpportunityAttachmentsResourceQueryParams as c3, OpportunityCategoriesResource as c4, type OpportunityCategoriesResourceQueryParams as c5, type PageFetcher as c6, type PaginateOptions as c7, PaginationLimitError as c8, PhasesResource as c9, type PurchaseOrderItemReceivingResourceQueryParams as cA, PurchaseOrderItemsResource as cB, type PurchaseOrderItemsResourceQueryParams as cC, PurchaseOrdersResource as cD, type PurchaseOrdersResourceQueryParams as cE, QueryTooLongError as cF, QuoteItemsResource as cG, type QuoteItemsResourceQueryParams as cH, QuoteLocationsResource as cI, type QuoteLocationsResourceQueryParams as cJ, QuoteTemplatesResource as cK, type QuoteTemplatesResourceQueryParams as cL, QuotesResource as cM, type QuotesResourceQueryParams as cN, REDACTED as cO, RateLimitError as cP, RecoveryTruncatedError as cQ, type RequestOptions as cR, ResolutionError as cS, type ResolvedAutotaskConfig as cT, ResourceRoleQueuesResource as cU, type ResourceRoleQueuesResourceQueryParams as cV, ResourceRolesResource as cW, type ResourceRolesResourceQueryParams as cX, ResourceSkillsResource as cY, type ResourceSkillsResourceQueryParams as cZ, ResourceTimeOffAdditionalResource as c_, type PhasesResourceQueryParams as ca, ProductVendorsResource as cb, type ProductVendorsResourceQueryParams as cc, ProductsResource as cd, type ProductsResourceQueryParams as ce, type ProfitRateSource as cf, type ProfitabilityActivityCategory as cg, type ProfitabilityDataQualityWarning as ch, type ProfitabilityHighestCostTicket as ci, type ProfitabilityLabourCostMethod as cj, type ProfitabilityMiscoding as ck, type ProfitabilityMonthlyRow as cl, type ProfitabilityOpenRenewalItem as cm, type ProfitabilityOptions as cn, type ProfitabilityPart as co, type ProfitabilityPartDigest as cp, type ProfitabilityRevenueByType as cq, ProjectChargesResource as cr, type ProjectChargesResourceQueryParams as cs, ProjectNotesResource as ct, type ProjectNotesResourceQueryParams as cu, ProjectsResource as cv, type ProjectsResourceQueryParams as cw, PurchaseApprovalsResource as cx, type PurchaseApprovalsResourceQueryParams as cy, PurchaseOrderItemReceivingResource as cz, type AppointmentsResourceQueryParams as d, TicketChecklistLibrariesResource as d$, ResourceTimeOffApproversResource as d0, type ResourceTimeOffApproversResourceQueryParams as d1, ResourceTimeOffBalancesResource as d2, type ResourceTimeOffBalancesResourceQueryParams as d3, ResourcesResource as d4, type ResourcesResourceQueryParams as d5, ResponseRejectedError as d6, RolesResource as d7, type RolesResourceQueryParams as d8, ServerError as d9, TagAliasesResource as dA, type TagAliasesResourceQueryParams as dB, TagGroupsResource as dC, type TagGroupsResourceQueryParams as dD, TagsResource as dE, type TagsResourceQueryParams as dF, TaskSecondaryResourcesResource as dG, type TaskSecondaryResourcesResourceQueryParams as dH, TasksResource as dI, type TasksResourceQueryParams as dJ, ThresholdInformationResource as dK, TicketAdditionalConfigurationItemsResource as dL, type TicketAdditionalConfigurationItemsResourceQueryParams as dM, TicketAdditionalContactsResource as dN, type TicketAdditionalContactsResourceQueryParams as dO, TicketAttachmentsResource as dP, type TicketAttachmentsResourceQueryParams as dQ, TicketCategoriesResource as dR, type TicketCategoriesResourceQueryParams as dS, TicketCategoryFieldDefaultsResource as dT, type TicketCategoryFieldDefaultsResourceQueryParams as dU, TicketChangeRequestApprovalsResource as dV, type TicketChangeRequestApprovalsResourceQueryParams as dW, TicketChargesResource as dX, type TicketChargesResourceQueryParams as dY, TicketChecklistItemsResource as dZ, type TicketChecklistItemsResourceQueryParams as d_, ServiceCallTaskResourcesResource as da, type ServiceCallTaskResourcesResourceQueryParams as db, ServiceCallTasksResource as dc, type ServiceCallTasksResourceQueryParams as dd, ServiceCallTicketResourcesResource as de, type ServiceCallTicketResourcesResourceQueryParams as df, ServiceCallTicketsResource as dg, type ServiceCallTicketsResourceQueryParams as dh, ServiceCallsResource as di, type ServiceCallsResourceQueryParams as dj, ServiceLevelAgreementResultsResource as dk, type ServiceLevelAgreementResultsResourceQueryParams as dl, ServicesResource as dm, type ServicesResourceQueryParams as dn, SkillsResource as dp, type SkillsResourceQueryParams as dq, StaleObjectError as dr, SubscriptionPeriodsResource as ds, type SubscriptionPeriodsResourceQueryParams as dt, SubscriptionsResource as du, type SubscriptionsResourceQueryParams as dv, SurveyResultsResource as dw, type SurveyResultsResourceQueryParams as dx, SurveysResource as dy, type SurveysResourceQueryParams as dz, AuthenticateResource as e, unwrapItems as e$, type TicketChecklistLibrariesResourceQueryParams as e0, TicketHistoryResource as e1, type TicketHistoryResourceQueryParams as e2, TicketNoteAttachmentsResource as e3, type TicketNoteAttachmentsResourceQueryParams as e4, TicketNoteWebhooksResource as e5, type TicketNoteWebhooksResourceQueryParams as e6, TicketNotesResource as e7, type TicketNotesResourceQueryParams as e8, TicketSecondaryResourcesResource as e9, clampPageSize as eA, collectAll as eB, cooldownDurationMs as eC, cursorToPath as eD, defaultCircuitBreakerStore as eE, defaultCooldownStore as eF, errorFromStatus as eG, formatVendorDetail as eH, isAutotaskError as eI, isBreakerFailure as eJ, isCredentialHeaderName as eK, isDeterministicVendor500 as eL, mergeDetails as eM, paginate as eN, paginateItems as eO, parseVendorErrors as eP, passthrough as eQ, redactRecord as eR, resetDefaultCircuitBreakerStore as eS, resetDefaultCooldownStore as eT, resolveBaseUrl as eU, resolveConfig as eV, resolveCredentials as eW, runWithSignal as eX, toArray as eY, totalPagesFor as eZ, unwrapItem as e_, type TicketSecondaryResourcesResourceQueryParams as ea, TicketWebhooksResource as eb, type TicketWebhooksResourceQueryParams as ec, TicketsResource as ed, type TicketsResourceQueryParams as ee, TimeEntriesResource as ef, type TimeEntriesResourceQueryParams as eg, TimeEntryAttachmentsResource as eh, type TimeEntryAttachmentsResourceQueryParams as ei, TimeOffRequestsResource as ej, type TimeOffRequestsResourceQueryParams as ek, UnauthorizedError as el, UnexpectedContentTypeError as em, UnprocessableEntityError as en, type VendorFieldError as eo, VersionInformationResource as ep, VersionResource as eq, ZONES as er, ZONE_CATALOG as es, ZoneInformationResource as et, type ZoneName as eu, buildBreakerKey as ev, buildQueryBody as ew, buildQueryRequest as ex, buildTenantKey as ey, buildUrl as ez, AutotaskAbortError as f, unwrapOperation as f0, unwrapQueryCount as f1, zoneUrl as f2, type BlindSurfaceInfo as f3, type RelationshipResource as f4, type BlindSurfaceInventory as f5, type BlindSurfaceRow as f6, type CreateBlockerKind as f7, type CreateGuidanceReport as f8, type FieldCacheKind as f9, FIELD_CACHE_KINDS as fa, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|
|
9468
|
+
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, NotificationHistoryResource as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAINTENANCE_WINDOW_MAX_MS as bU, MAX_PAGES as bV, MAX_PAGE_SIZE as bW, MarkerUnsafeIdError as bX, ModulesResource as bY, NoopLogger as bZ, NotFoundError as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, ResourceTimeOffAdditionalResource as c$, type NotificationHistoryResourceQueryParams as c0, OpportunitiesResource as c1, type OpportunitiesResourceQueryParams as c2, OpportunityAttachmentsResource as c3, type OpportunityAttachmentsResourceQueryParams as c4, OpportunityCategoriesResource as c5, type OpportunityCategoriesResourceQueryParams as c6, type PageFetcher as c7, type PaginateOptions as c8, PaginationLimitError as c9, PurchaseOrderItemReceivingResource as cA, type PurchaseOrderItemReceivingResourceQueryParams as cB, PurchaseOrderItemsResource as cC, type PurchaseOrderItemsResourceQueryParams as cD, PurchaseOrdersResource as cE, type PurchaseOrdersResourceQueryParams as cF, QueryTooLongError as cG, QuoteItemsResource as cH, type QuoteItemsResourceQueryParams as cI, QuoteLocationsResource as cJ, type QuoteLocationsResourceQueryParams as cK, QuoteTemplatesResource as cL, type QuoteTemplatesResourceQueryParams as cM, QuotesResource as cN, type QuotesResourceQueryParams as cO, REDACTED as cP, RateLimitError as cQ, RecoveryTruncatedError as cR, type RequestOptions as cS, ResolutionError as cT, type ResolvedAutotaskConfig as cU, ResourceRoleQueuesResource as cV, type ResourceRoleQueuesResourceQueryParams as cW, ResourceRolesResource as cX, type ResourceRolesResourceQueryParams as cY, ResourceSkillsResource as cZ, type ResourceSkillsResourceQueryParams as c_, PhasesResource as ca, type PhasesResourceQueryParams as cb, ProductVendorsResource as cc, type ProductVendorsResourceQueryParams as cd, ProductsResource as ce, type ProductsResourceQueryParams as cf, type ProfitRateSource as cg, type ProfitabilityActivityCategory as ch, type ProfitabilityDataQualityWarning as ci, type ProfitabilityHighestCostTicket as cj, type ProfitabilityLabourCostMethod as ck, type ProfitabilityMiscoding as cl, type ProfitabilityMonthlyRow as cm, type ProfitabilityOpenRenewalItem as cn, type ProfitabilityOptions as co, type ProfitabilityPart as cp, type ProfitabilityPartDigest as cq, type ProfitabilityRevenueByType as cr, ProjectChargesResource as cs, type ProjectChargesResourceQueryParams as ct, ProjectNotesResource as cu, type ProjectNotesResourceQueryParams as cv, ProjectsResource as cw, type ProjectsResourceQueryParams as cx, PurchaseApprovalsResource as cy, type PurchaseApprovalsResourceQueryParams as cz, type AppointmentsResourceQueryParams as d, type TicketChecklistItemsResourceQueryParams as d$, type ResourceTimeOffAdditionalResourceQueryParams as d0, ResourceTimeOffApproversResource as d1, type ResourceTimeOffApproversResourceQueryParams as d2, ResourceTimeOffBalancesResource as d3, type ResourceTimeOffBalancesResourceQueryParams as d4, ResourcesResource as d5, type ResourcesResourceQueryParams as d6, ResponseRejectedError as d7, RolesResource as d8, type RolesResourceQueryParams as d9, type SurveysResourceQueryParams as dA, TagAliasesResource as dB, type TagAliasesResourceQueryParams as dC, TagGroupsResource as dD, type TagGroupsResourceQueryParams as dE, TagsResource as dF, type TagsResourceQueryParams as dG, TaskSecondaryResourcesResource as dH, type TaskSecondaryResourcesResourceQueryParams as dI, TasksResource as dJ, type TasksResourceQueryParams as dK, ThresholdInformationResource as dL, TicketAdditionalConfigurationItemsResource as dM, type TicketAdditionalConfigurationItemsResourceQueryParams as dN, TicketAdditionalContactsResource as dO, type TicketAdditionalContactsResourceQueryParams as dP, TicketAttachmentsResource as dQ, type TicketAttachmentsResourceQueryParams as dR, TicketCategoriesResource as dS, type TicketCategoriesResourceQueryParams as dT, TicketCategoryFieldDefaultsResource as dU, type TicketCategoryFieldDefaultsResourceQueryParams as dV, TicketChangeRequestApprovalsResource as dW, type TicketChangeRequestApprovalsResourceQueryParams as dX, TicketChargesResource as dY, type TicketChargesResourceQueryParams as dZ, TicketChecklistItemsResource as d_, ServerError as da, ServiceCallTaskResourcesResource as db, type ServiceCallTaskResourcesResourceQueryParams as dc, ServiceCallTasksResource as dd, type ServiceCallTasksResourceQueryParams as de, ServiceCallTicketResourcesResource as df, type ServiceCallTicketResourcesResourceQueryParams as dg, ServiceCallTicketsResource as dh, type ServiceCallTicketsResourceQueryParams as di, ServiceCallsResource as dj, type ServiceCallsResourceQueryParams as dk, ServiceLevelAgreementResultsResource as dl, type ServiceLevelAgreementResultsResourceQueryParams as dm, ServicesResource as dn, type ServicesResourceQueryParams as dp, SkillsResource as dq, type SkillsResourceQueryParams as dr, StaleObjectError as ds, SubscriptionPeriodsResource as dt, type SubscriptionPeriodsResourceQueryParams as du, SubscriptionsResource as dv, type SubscriptionsResourceQueryParams as dw, SurveyResultsResource as dx, type SurveyResultsResourceQueryParams as dy, SurveysResource as dz, AuthenticateResource as e, unwrapItem as e$, TicketChecklistLibrariesResource as e0, type TicketChecklistLibrariesResourceQueryParams as e1, TicketHistoryResource as e2, type TicketHistoryResourceQueryParams as e3, TicketNoteAttachmentsResource as e4, type TicketNoteAttachmentsResourceQueryParams as e5, TicketNoteWebhooksResource as e6, type TicketNoteWebhooksResourceQueryParams as e7, TicketNotesResource as e8, type TicketNotesResourceQueryParams as e9, buildUrl as eA, clampPageSize as eB, collectAll as eC, cooldownDurationMs as eD, cursorToPath as eE, defaultCircuitBreakerStore as eF, defaultCooldownStore as eG, errorFromStatus as eH, formatVendorDetail as eI, isAutotaskError as eJ, isBreakerFailure as eK, isCredentialHeaderName as eL, isDeterministicVendor500 as eM, mergeDetails as eN, paginate as eO, paginateItems as eP, parseVendorErrors as eQ, passthrough as eR, redactRecord as eS, resetDefaultCircuitBreakerStore as eT, resetDefaultCooldownStore as eU, resolveBaseUrl as eV, resolveConfig as eW, resolveCredentials as eX, runWithSignal as eY, toArray as eZ, totalPagesFor as e_, TicketSecondaryResourcesResource as ea, type TicketSecondaryResourcesResourceQueryParams as eb, TicketWebhooksResource as ec, type TicketWebhooksResourceQueryParams as ed, TicketsResource as ee, type TicketsResourceQueryParams as ef, TimeEntriesResource as eg, type TimeEntriesResourceQueryParams as eh, TimeEntryAttachmentsResource as ei, type TimeEntryAttachmentsResourceQueryParams as ej, TimeOffRequestsResource as ek, type TimeOffRequestsResourceQueryParams as el, UnauthorizedError as em, UnexpectedContentTypeError as en, UnprocessableEntityError as eo, type VendorFieldError as ep, VersionInformationResource as eq, VersionResource as er, ZONES as es, ZONE_CATALOG as et, ZoneInformationResource as eu, type ZoneName as ev, buildBreakerKey as ew, buildQueryBody as ex, buildQueryRequest as ey, buildTenantKey as ez, AutotaskAbortError as f, unwrapItems as f0, unwrapOperation as f1, unwrapQueryCount as f2, zoneUrl as f3, type BlindSurfaceInfo as f4, type RelationshipResource as f5, type BlindSurfaceInventory as f6, type BlindSurfaceRow as f7, type CreateBlockerKind as f8, type CreateGuidanceReport as f9, type FieldCacheKind as fa, FIELD_CACHE_KINDS as fb, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|