node-autotask 0.25.0 → 0.27.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/CHANGELOG.md +61 -0
- package/MCP_TOOL_CATALOG.json +1063 -30
- package/MCP_TOOL_MANIFEST.md +82 -24
- package/N8N_MCP_MANIFEST.json +39 -8
- package/N8N_MCP_MANIFEST.md +9 -8
- package/README.md +11 -9
- package/capabilities.json +16956 -10596
- package/capabilities.schema.json +125 -0
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-VUGZKP33.js → chunk-42ZUISDH.js} +997 -136
- package/dist/{chunk-WBMRACCV.cjs → chunk-5CC7LGNM.cjs} +16955 -10595
- package/dist/{chunk-Z5L7Q33V.cjs → chunk-5GGCSRT4.cjs} +947 -493
- package/dist/{chunk-EFR2XWRX.js → chunk-F7FVOXPQ.js} +16955 -10595
- package/dist/{chunk-XUB3S6AM.js → chunk-GURC52J7.js} +26 -2
- package/dist/{chunk-FKJ77K6Z.cjs → chunk-UHTZLUDE.cjs} +159 -135
- package/dist/{chunk-6PIJ6AZG.js → chunk-ZGTFVZL5.js} +478 -24
- package/dist/{chunk-2H7YI54B.cjs → chunk-ZJ4ONAQF.cjs} +1084 -223
- package/dist/{index-CZ94y401.d.ts → index-BIWy9m-a.d.ts} +414 -49
- package/dist/{index-C0OwQhon.d.cts → index-D4XYtn4s.d.cts} +414 -49
- package/dist/{index-BVtycq-6.d.cts → index-DQ9NgraW.d.cts} +322 -1
- package/dist/{index-BVtycq-6.d.ts → index-DQ9NgraW.d.ts} +322 -1
- package/dist/index.cjs +46 -24
- package/dist/index.d.cts +11 -5
- package/dist/index.d.ts +11 -5
- package/dist/index.js +28 -6
- package/dist/operations/index.cjs +147 -120
- package/dist/operations/index.d.cts +136 -7
- package/dist/operations/index.d.ts +136 -7
- package/dist/operations/index.js +33 -6
- package/dist/pool.cjs +42 -9
- package/dist/pool.d.cts +14 -3
- package/dist/pool.d.ts +14 -3
- package/dist/pool.js +38 -5
- package/dist/resources/index.cjs +21 -5
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +20 -4
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/docs/API.md +207 -9
- package/examples/mcp/schemas.ts +16 -7
- package/package.json +3 -3
- /package/dist/{chunk-FLB2X6O5.cjs → chunk-IXF7AKOJ.cjs} +0 -0
- /package/dist/{chunk-DMMMWO6A.js → chunk-RMG55JTF.js} +0 -0
- /package/dist/{chunk-IDPB4N2Q.cjs → chunk-SDYRQFGL.cjs} +0 -0
- /package/dist/{chunk-UPQIUWOS.js → chunk-WLTLB2ND.js} +0 -0
|
@@ -1,4 +1,54 @@
|
|
|
1
|
-
import { I as Identifier, g as AuditEvent, a as FilterCondition, ez as ResolutionCaps, Q as QueryParams, cG as EmptyReasonInfo, ey as Resolution, dD as Page, cI as EntityInformationModel, cY as FieldInformationModel, cW as Field, O as OperationResult, cF as DryRunResult, 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, U as CompanyLocation, aP as Contact, Y as CompanyNote, g9 as Ticket, dR as Project, hq as CompositeNamesSection, ha as TimeEntry, T as CompanyCreate, a5 as CompanyUpdate, a4 as CompanySummary, S as CompanyContext, L as CompanyAlert, M as CompanyAlertCreate, R as CompanyAlertUpdate, N as CompanyAlertSummary, V as CompanyLocationCreate, X as CompanyLocationUpdate, W as CompanyLocationSummary, Z as CompanyNoteCreate, $ as CompanyNoteUpdate, _ as CompanyNoteSummary, a0 as CompanySiteConfigurations, a1 as CompanySiteConfigurationsCreate, a3 as CompanySiteConfigurationsUpdate, a2 as CompanySiteConfigurationsSummary, a6 as CompanyWebhook, a7 as CompanyWebhookCreate, a9 as CompanyWebhookUpdate, a8 as CompanyWebhookSummary, ab as ConfigurationItemBillingProductAssociations, ac as ConfigurationItemBillingProductAssociationsCreate, ae as ConfigurationItemBillingProductAssociationsUpdate, ad as ConfigurationItemBillingProductAssociationsSummary, af as ConfigurationItemCategory, ag as ConfigurationItemCategoryCreate, am as ConfigurationItemCategoryUpdate, ah as ConfigurationItemCategorySummary, ai as ConfigurationItemCategoryUdfAssociation, aj as ConfigurationItemCategoryUdfAssociationCreate, al as ConfigurationItemCategoryUdfAssociationUpdate, ak as ConfigurationItemCategoryUdfAssociationSummary, ap as ConfigurationItemDnsRecord, aq as ConfigurationItemDnsRecordCreate, as as ConfigurationItemDnsRecordUpdate, ar as ConfigurationItemDnsRecordSummary, at as ConfigurationItemNote, au as ConfigurationItemNoteCreate, aw as ConfigurationItemNoteUpdate, av as ConfigurationItemNoteSummary, ax as ConfigurationItemRelatedItem, ay as ConfigurationItemRelatedItemCreate, aA as ConfigurationItemRelatedItemUpdate, az as ConfigurationItemRelatedItemSummary, aa as ConfigurationItem, aG as ConfigurationItemType, ao as ConfigurationItemCreate, aK as ConfigurationItemUpdate, aF as ConfigurationItemSummary, an as ConfigurationItemContext, aB as ConfigurationItemSslSubjectAlternativeName, aC as ConfigurationItemSslSubjectAlternativeNameCreate, aE as ConfigurationItemSslSubjectAlternativeNameUpdate, aD as ConfigurationItemSslSubjectAlternativeNameSummary, aH as ConfigurationItemTypeCreate, aJ as ConfigurationItemTypeUpdate, aI as ConfigurationItemTypeSummary, aL as ConfigurationItemWebhook, aM as ConfigurationItemWebhookCreate, aO as ConfigurationItemWebhookUpdate, aN as ConfigurationItemWebhookSummary, aS as ContactGroupContacts, aT as ContactGroupContactsCreate, aV as ContactGroupContactsUpdate, aU as ContactGroupContactsSummary, aW as ContactGroups, aX as ContactGroupsCreate, aZ as ContactGroupsUpdate, aY as ContactGroupsSummary, a_ as ContactSummary, aR as ContactCreate, a$ as ContactUpdate, aQ as ContactContext, b0 as ContactWebhook, b1 as ContactWebhookCreate, b3 as ContactWebhookUpdate, b2 as ContactWebhookSummary, b5 as ContractBillingRule, b6 as ContractBillingRuleCreate, b8 as ContractBillingRuleUpdate, b7 as ContractBillingRuleSummary, bb as ContractBlockHourFactor, bc as ContractBlockHourFactorCreate, be as ContractBlockHourFactorUpdate, bd as ContractBlockHourFactorSummary, b9 as ContractBlock, ba as ContractBlockCreate, bg as ContractBlockUpdate, bf as ContractBlockSummary, bh as ContractCharge, bi as ContractChargeCreate, bk as ContractChargeUpdate, bj as ContractChargeSummary, bm as ContractExclusionBillingCode, bn as ContractExclusionBillingCodeCreate, bp as ContractExclusionBillingCodeUpdate, bo as ContractExclusionBillingCodeSummary, bq as ContractExclusionRoles, br as ContractExclusionRolesCreate, bt as ContractExclusionRolesUpdate, bs as ContractExclusionRolesSummary, bu as ContractExclusionSetExcludedRoles, bv as ContractExclusionSetExcludedRolesCreate, bx as ContractExclusionSetExcludedRolesUpdate, bw as ContractExclusionSetExcludedRolesSummary, by as ContractExclusionSetExcludedWorkTypes, bz as ContractExclusionSetExcludedWorkTypesCreate, bB as ContractExclusionSetExcludedWorkTypesUpdate, bA as ContractExclusionSetExcludedWorkTypesSummary, bC as ContractExclusionSets, bD as ContractExclusionSetsCreate, bF as ContractExclusionSetsUpdate, bE as ContractExclusionSetsSummary, bG as ContractMilestone, bH as ContractMilestoneCreate, bJ as ContractMilestoneUpdate, bI as ContractMilestoneSummary, bK as ContractNote, bL as ContractNoteCreate, bN as ContractNoteUpdate, bM as ContractNoteSummary, bO as ContractRate, bP as ContractRateCreate, bR as ContractRateUpdate, bQ as ContractRateSummary, bS as ContractRetainers, bT as ContractRetainersCreate, bV as ContractRetainersUpdate, bU as ContractRetainersSummary, bW as ContractRoleCosts, bX as ContractRoleCostsCreate, bZ as ContractRoleCostsUpdate, bY as ContractRoleCostsSummary, b$ as ContractServiceAdjustment, c0 as ContractServiceAdjustmentCreate, c2 as ContractServiceAdjustmentUpdate, c1 as ContractServiceAdjustmentSummary, c4 as ContractServiceBundleAdjustment, c5 as ContractServiceBundleAdjustmentCreate, c7 as ContractServiceBundleAdjustmentUpdate, c6 as ContractServiceBundleAdjustmentSummary, c3 as ContractServiceBundle, c8 as ContractServiceBundleCreate, ce as ContractServiceBundleUpdate, c9 as ContractServiceBundleSummary, ca as ContractServiceBundleUnit, cb as ContractServiceBundleUnitCreate, cd as ContractServiceBundleUnitUpdate, cc as ContractServiceBundleUnitSummary, b_ as ContractService, cf as ContractServiceCreate, cl as ContractServiceUpdate, cg as ContractServiceSummary, ch as ContractServiceUnit, ci as ContractServiceUnitCreate, ck as ContractServiceUnitUpdate, cj as ContractServiceUnitSummary, b4 as Contract, de as Invoice, eA as Resource, cK as ExpenseItem, fA as Subscription, bl as ContractCreate, cr as ContractUpdate, cm as ContractSummary, cn as ContractTicketPurchases, co as ContractTicketPurchasesCreate, cq as ContractTicketPurchasesUpdate, cp as ContractTicketPurchasesSummary, cs as Country, ct as CountryCreate, cv as CountryUpdate, cu as CountrySummary, cw as Department, cx as DepartmentCreate, cz as DepartmentUpdate, cy as DepartmentSummary, cB as DomainRegistrar, cC as DomainRegistrarCreate, cE as DomainRegistrarUpdate, cD as DomainRegistrarSummary, c_ as GlobalEntityInformationResultModel, cL as ExpenseItemAttachment, cM as ExpenseItemAttachmentCreate, cO as ExpenseItemAttachmentUpdate, cN as ExpenseItemAttachmentSummary, cP as ExpenseItemCreate, cR as ExpenseItemUpdate, cQ as ExpenseItemSummary, cS as ExpenseReport, cT as ExpenseReportCreate, cV as ExpenseReportUpdate, cU as ExpenseReportSummary, d1 as HolidaySet, d2 as HolidaySetCreate, d4 as HolidaySetUpdate, d3 as HolidaySetSummary, c$ as Holiday, d0 as HolidayCreate, d6 as HolidayUpdate, d5 as HolidaySummary, d7 as InventoryProduct, d8 as InventoryProductCreate, da as InventoryProductUpdate, d9 as InventoryProductSummary, db as InventoryStockedItemAdd, dc as InventoryStockedItemRemove, dd as InventoryStockedItemTransfer, df as InvoiceCreate, dh as InvoiceUpdate, dg as InvoiceSummary, dj as ModuleAccessResultModel, dk as NotificationHistory, dl as NotificationHistoryCreate, dn as NotificationHistoryUpdate, dm as NotificationHistorySummary, dr as Opportunity, dA as OpportunityCreate, dC as OpportunityUpdate, dB as OpportunitySummary, ds as OpportunityAttachment, dt as OpportunityAttachmentCreate, dv as OpportunityAttachmentUpdate, du as OpportunityAttachmentSummary, dw as OpportunityCategory, dx as OpportunityCategoryCreate, dz as OpportunityCategoryUpdate, dy 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-BVtycq-6.js';
|
|
1
|
+
import { I as Identifier, g as AuditEvent, a as FilterCondition, eX as ResolutionCaps, Q as QueryParams, cO as EmptyReasonInfo, eW as Resolution, d$ as Page, cQ as EntityInformationModel, d4 as FieldInformationModel, d2 as Field, O as OperationResult, cN as DryRunResult, 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 BillingItemApprovalLevel, n as BillingItemApprovalLevelCreate, p as BillingItemApprovalLevelUpdate, q as BillingItems, r as BillingItemsCreate, t as BillingItemsUpdate, s as BillingItemsSummary, C as ChangeRequestLink, u as ChangeRequestLinkCreate, w as ChangeRequestLinkUpdate, v as ChangeRequestLinkSummary, x as ChecklistLibrary, G as ChecklistLibraryCreate, J as ChecklistLibraryUpdate, H as ChecklistLibrarySummary, y as ChecklistLibraryChecklistItem, z as ChecklistLibraryChecklistItemCreate, E as ChecklistLibraryChecklistItemUpdate, D as ChecklistLibraryChecklistItemSummary, K as ClassificationIcon, L as ClassificationIconCreate, N as ClassificationIconUpdate, M as ClassificationIconSummary, R as Company, Y as CompanyLocation, aT as Contact, a0 as CompanyNote, gF as Ticket, ed as Project, hW as CompositeNamesSection, hG as TimeEntry, X as CompanyCreate, a9 as CompanyUpdate, a8 as CompanySummary, W as CompanyContext, S as CompanyAlert, T as CompanyAlertCreate, V as CompanyAlertUpdate, U as CompanyAlertSummary, Z as CompanyLocationCreate, $ as CompanyLocationUpdate, _ as CompanyLocationSummary, a1 as CompanyNoteCreate, a3 as CompanyNoteUpdate, a2 as CompanyNoteSummary, a4 as CompanySiteConfigurations, a5 as CompanySiteConfigurationsCreate, a7 as CompanySiteConfigurationsUpdate, a6 as CompanySiteConfigurationsSummary, aa as CompanyWebhook, ab as CompanyWebhookCreate, ad as CompanyWebhookUpdate, ac as CompanyWebhookSummary, af as ConfigurationItemBillingProductAssociations, ag as ConfigurationItemBillingProductAssociationsCreate, ai as ConfigurationItemBillingProductAssociationsUpdate, ah as ConfigurationItemBillingProductAssociationsSummary, aj as ConfigurationItemCategory, ak as ConfigurationItemCategoryCreate, aq as ConfigurationItemCategoryUpdate, al as ConfigurationItemCategorySummary, am as ConfigurationItemCategoryUdfAssociation, an as ConfigurationItemCategoryUdfAssociationCreate, ap as ConfigurationItemCategoryUdfAssociationUpdate, ao as ConfigurationItemCategoryUdfAssociationSummary, at as ConfigurationItemDnsRecord, au as ConfigurationItemDnsRecordCreate, aw as ConfigurationItemDnsRecordUpdate, av as ConfigurationItemDnsRecordSummary, ax as ConfigurationItemNote, ay as ConfigurationItemNoteCreate, aA as ConfigurationItemNoteUpdate, az as ConfigurationItemNoteSummary, aB as ConfigurationItemRelatedItem, aC as ConfigurationItemRelatedItemCreate, aE as ConfigurationItemRelatedItemUpdate, aD as ConfigurationItemRelatedItemSummary, ae as ConfigurationItem, aK as ConfigurationItemType, as as ConfigurationItemCreate, aO as ConfigurationItemUpdate, aJ as ConfigurationItemSummary, ar as ConfigurationItemContext, aF as ConfigurationItemSslSubjectAlternativeName, aG as ConfigurationItemSslSubjectAlternativeNameCreate, aI as ConfigurationItemSslSubjectAlternativeNameUpdate, aH as ConfigurationItemSslSubjectAlternativeNameSummary, aL as ConfigurationItemTypeCreate, aN as ConfigurationItemTypeUpdate, aM as ConfigurationItemTypeSummary, aP as ConfigurationItemWebhook, aQ as ConfigurationItemWebhookCreate, aS as ConfigurationItemWebhookUpdate, aR as ConfigurationItemWebhookSummary, aW as ContactGroupContacts, aX as ContactGroupContactsCreate, aZ as ContactGroupContactsUpdate, aY as ContactGroupContactsSummary, a_ as ContactGroups, a$ as ContactGroupsCreate, b1 as ContactGroupsUpdate, b0 as ContactGroupsSummary, b2 as ContactSummary, aV as ContactCreate, b3 as ContactUpdate, aU as ContactContext, b4 as ContactWebhook, b5 as ContactWebhookCreate, b7 as ContactWebhookUpdate, b6 as ContactWebhookSummary, b9 as ContractBillingRule, ba as ContractBillingRuleCreate, bc as ContractBillingRuleUpdate, bb as ContractBillingRuleSummary, bf as ContractBlockHourFactor, bg as ContractBlockHourFactorCreate, bi as ContractBlockHourFactorUpdate, bh as ContractBlockHourFactorSummary, bd as ContractBlock, be as ContractBlockCreate, bk as ContractBlockUpdate, bj as ContractBlockSummary, bl as ContractCharge, bm as ContractChargeCreate, bo as ContractChargeUpdate, bn as ContractChargeSummary, bq as ContractExclusionBillingCode, br as ContractExclusionBillingCodeCreate, bt as ContractExclusionBillingCodeUpdate, bs as ContractExclusionBillingCodeSummary, bu as ContractExclusionRoles, bv as ContractExclusionRolesCreate, bx as ContractExclusionRolesUpdate, bw as ContractExclusionRolesSummary, by as ContractExclusionSetExcludedRoles, bz as ContractExclusionSetExcludedRolesCreate, bB as ContractExclusionSetExcludedRolesUpdate, bA as ContractExclusionSetExcludedRolesSummary, bC as ContractExclusionSetExcludedWorkTypes, bD as ContractExclusionSetExcludedWorkTypesCreate, bF as ContractExclusionSetExcludedWorkTypesUpdate, bE as ContractExclusionSetExcludedWorkTypesSummary, bG as ContractExclusionSets, bH as ContractExclusionSetsCreate, bJ as ContractExclusionSetsUpdate, bI as ContractExclusionSetsSummary, bK as ContractMilestone, bL as ContractMilestoneCreate, bN as ContractMilestoneUpdate, bM as ContractMilestoneSummary, bO as ContractNote, bP as ContractNoteCreate, bR as ContractNoteUpdate, bQ as ContractNoteSummary, bS as ContractRate, bT as ContractRateCreate, bV as ContractRateUpdate, bU as ContractRateSummary, bW as ContractRetainers, bX as ContractRetainersCreate, bZ as ContractRetainersUpdate, bY as ContractRetainersSummary, b_ as ContractRoleCosts, b$ as ContractRoleCostsCreate, c1 as ContractRoleCostsUpdate, c0 as ContractRoleCostsSummary, c3 as ContractServiceAdjustment, c4 as ContractServiceAdjustmentCreate, c6 as ContractServiceAdjustmentUpdate, c5 as ContractServiceAdjustmentSummary, c8 as ContractServiceBundleAdjustment, c9 as ContractServiceBundleAdjustmentCreate, cb as ContractServiceBundleAdjustmentUpdate, ca as ContractServiceBundleAdjustmentSummary, c7 as ContractServiceBundle, cc as ContractServiceBundleCreate, ci as ContractServiceBundleUpdate, cd as ContractServiceBundleSummary, ce as ContractServiceBundleUnit, cf as ContractServiceBundleUnitCreate, ch as ContractServiceBundleUnitUpdate, cg as ContractServiceBundleUnitSummary, c2 as ContractService, cj as ContractServiceCreate, cp as ContractServiceUpdate, ck as ContractServiceSummary, cl as ContractServiceUnit, cm as ContractServiceUnitCreate, co as ContractServiceUnitUpdate, cn as ContractServiceUnitSummary, b8 as Contract, dm as Invoice, eY as Resource, cS as ExpenseItem, g0 as Subscription, bp as ContractCreate, cv as ContractUpdate, cq as ContractSummary, cr as ContractTicketPurchases, cs as ContractTicketPurchasesCreate, cu as ContractTicketPurchasesUpdate, ct as ContractTicketPurchasesSummary, cw as Country, cx as CountryCreate, cz as CountryUpdate, cy as CountrySummary, cA as Currency, cB as CurrencyCreate, cD as CurrencyUpdate, cC as CurrencySummary, cE as Department, cF as DepartmentCreate, cH as DepartmentUpdate, cG as DepartmentSummary, cJ as DomainRegistrar, cK as DomainRegistrarCreate, cM as DomainRegistrarUpdate, cL as DomainRegistrarSummary, d6 as GlobalEntityInformationResultModel, cT as ExpenseItemAttachment, cU as ExpenseItemAttachmentCreate, cW as ExpenseItemAttachmentUpdate, cV as ExpenseItemAttachmentSummary, cX as ExpenseItemCreate, cZ as ExpenseItemUpdate, cY as ExpenseItemSummary, c_ as ExpenseReport, c$ as ExpenseReportCreate, d1 as ExpenseReportUpdate, d0 as ExpenseReportSummary, d9 as HolidaySet, da as HolidaySetCreate, dc as HolidaySetUpdate, db as HolidaySetSummary, d7 as Holiday, d8 as HolidayCreate, de as HolidayUpdate, dd as HolidaySummary, df as InventoryProduct, dg as InventoryProductCreate, di as InventoryProductUpdate, dh as InventoryProductSummary, dj as InventoryStockedItemAdd, dk as InventoryStockedItemRemove, dl as InventoryStockedItemTransfer, dn as InvoiceCreate, du as InvoiceUpdate, dp as InvoiceSummary, dq as InvoiceTemplate, dr as InvoiceTemplateCreate, dt as InvoiceTemplateUpdate, dw as ModuleAccessResultModel, dx as NotificationHistory, dy as NotificationHistoryCreate, dA as NotificationHistoryUpdate, dz as NotificationHistorySummary, dD as Opportunity, dM as OpportunityCreate, dO as OpportunityUpdate, dN as OpportunitySummary, dE as OpportunityAttachment, dF as OpportunityAttachmentCreate, dH as OpportunityAttachmentUpdate, dG as OpportunityAttachmentSummary, dI as OpportunityCategory, dJ as OpportunityCategoryCreate, dL as OpportunityCategoryUpdate, dK as OpportunityCategorySummary, dP as OrganizationalLevel1, dQ as OrganizationalLevel1Create, dS as OrganizationalLevel1Update, dT as OrganizationalLevel2, dU as OrganizationalLevel2Create, dW as OrganizationalLevel2Update, dX as OrganizationalLevelAssociation, dY as OrganizationalLevelAssociationCreate, d_ as OrganizationalLevelAssociationUpdate, e0 as Phase, e1 as PhaseCreate, e3 as PhaseUpdate, e2 as PhaseSummary, e5 as Product, e6 as ProductCreate, e8 as ProductUpdate, e7 as ProductSummary, e9 as ProductVendors, ea as ProductVendorsCreate, ec as ProductVendorsUpdate, eb as ProductVendorsSummary, ee as ProjectCharge, ef as ProjectChargeCreate, eh as ProjectChargeUpdate, eg as ProjectChargeSummary, ek as ProjectNote, el as ProjectNoteCreate, en as ProjectNoteUpdate, em as ProjectNoteSummary, ej as ProjectCreate, ep as ProjectUpdate, eo as ProjectSummary, hX as CompositeContextOptions, ei as ProjectContext, eq as PurchaseApprovals, er as PurchaseApprovalsCreate, et as PurchaseApprovalsUpdate, es as PurchaseApprovalsSummary, eu as PurchaseOrderItemReceiving, ev as PurchaseOrderItemReceivingCreate, ex as PurchaseOrderItemReceivingUpdate, ew as PurchaseOrderItemReceivingSummary, ey as PurchaseOrderItems, ez as PurchaseOrderItemsCreate, eB as PurchaseOrderItemsUpdate, eA as PurchaseOrderItemsSummary, eC as PurchaseOrders, eD as PurchaseOrdersCreate, eF as PurchaseOrdersUpdate, eE as PurchaseOrdersSummary, eI as QuoteItem, eJ as QuoteItemCreate, eL as QuoteItemUpdate, eK as QuoteItemSummary, eM as QuoteLocation, eN as QuoteLocationCreate, eP as QuoteLocationUpdate, eO as QuoteLocationSummary, eG as Quote, eH as QuoteCreate, eV as QuoteUpdate, eQ as QuoteSummary, eR as QuoteTemplate, eS as QuoteTemplateCreate, eU as QuoteTemplateUpdate, eT as QuoteTemplateSummary, f0 as ResourceRoleQueue, f1 as ResourceRoleQueueCreate, f3 as ResourceRoleQueueUpdate, f2 as ResourceRoleQueueSummary, e_ as ResourceRole, e$ as ResourceRoleCreate, f5 as ResourceRoleUpdate, f4 as ResourceRoleSummary, f6 as ResourceSkill, f7 as ResourceSkillCreate, f9 as ResourceSkillUpdate, f8 as ResourceSkillSummary, eZ as ResourceCreate, fn as ResourceUpdate, fa as ResourceSummary, fb as ResourceTimeOffAdditional, fc as ResourceTimeOffAdditionalCreate, fe as ResourceTimeOffAdditionalUpdate, fd as ResourceTimeOffAdditionalSummary, ff as ResourceTimeOffApprover, fg as ResourceTimeOffApproverCreate, fi as ResourceTimeOffApproverUpdate, fh as ResourceTimeOffApproverSummary, fj as ResourceTimeOffBalance, fk as ResourceTimeOffBalanceCreate, fm as ResourceTimeOffBalanceUpdate, fl as ResourceTimeOffBalanceSummary, fo as Role, fp as RoleCreate, fr as RoleUpdate, fq as RoleSummary, fs as SalesOrder, ft as SalesOrderCreate, fv as SalesOrderUpdate, fx as ServiceCall, fy as ServiceCallCreate, fQ as ServiceCallUpdate, fz as ServiceCallSummary, fC as ServiceCallTaskResource, fD as ServiceCallTaskResourceCreate, fF as ServiceCallTaskResourceUpdate, fE as ServiceCallTaskResourceSummary, fA as ServiceCallTask, fB as ServiceCallTaskCreate, fH as ServiceCallTaskUpdate, fG as ServiceCallTaskSummary, fK as ServiceCallTicketResource, fL as ServiceCallTicketResourceCreate, fN as ServiceCallTicketResourceUpdate, fM as ServiceCallTicketResourceSummary, fI as ServiceCallTicket, fJ as ServiceCallTicketCreate, fP as ServiceCallTicketUpdate, fO as ServiceCallTicketSummary, fS as ServiceLevelAgreementResults, fT as ServiceLevelAgreementResultsCreate, fV as ServiceLevelAgreementResultsUpdate, fU as ServiceLevelAgreementResultsSummary, fw as Service, fR as ServiceCreate, fX as ServiceUpdate, fW as ServiceSummary, fY as Skill, fZ as SkillCreate, f$ as SkillUpdate, f_ as SkillSummary, g2 as SubscriptionPeriod, g3 as SubscriptionPeriodCreate, g5 as SubscriptionPeriodUpdate, g4 as SubscriptionPeriodSummary, g1 as SubscriptionCreate, g7 as SubscriptionUpdate, g6 as SubscriptionSummary, ga as SurveyResults, gb as SurveyResultsCreate, gd as SurveyResultsUpdate, gc as SurveyResultsSummary, g8 as Survey, g9 as SurveyCreate, gf as SurveyUpdate, ge as SurveySummary, gh as TagAlias, gi as TagAliasCreate, gk as TagAliasUpdate, gj as TagAliasSummary, gm as TagGroup, gn as TagGroupCreate, gp as TagGroupUpdate, go as TagGroupSummary, gg as Tag, gl as TagCreate, gr as TagUpdate, gq as TagSummary, gu as TaskSecondaryResource, gv as TaskSecondaryResourceCreate, gx as TaskSecondaryResourceUpdate, gw as TaskSecondaryResourceSummary, gs as Task, gt as TaskCreate, gz as TaskUpdate, gy as TaskSummary, gA as TaxRegion, gB as TaxRegionCreate, gD as TaxRegionUpdate, gE as ThresholdStatusResultModel, gG as TicketAdditionalConfigurationItem, gH as TicketAdditionalConfigurationItemCreate, gJ as TicketAdditionalConfigurationItemUpdate, gI as TicketAdditionalConfigurationItemSummary, gK as TicketAdditionalContact, gL as TicketAdditionalContactCreate, gN as TicketAdditionalContactUpdate, gM as TicketAdditionalContactSummary, gO as TicketAttachment, gP as TicketAttachmentCreate, gR as TicketAttachmentUpdate, gQ as TicketAttachmentSummary, gS as TicketCategory, gT as TicketCategoryCreate, gZ as TicketCategoryUpdate, gY as TicketCategorySummary, gU as TicketCategoryFieldDefault, gV as TicketCategoryFieldDefaultCreate, gX as TicketCategoryFieldDefaultUpdate, gW as TicketCategoryFieldDefaultSummary, g_ as TicketChangeRequestApproval, g$ as TicketChangeRequestApprovalCreate, h1 as TicketChangeRequestApprovalUpdate, h0 as TicketChangeRequestApprovalSummary, h2 as TicketCharge, h3 as TicketChargeCreate, h5 as TicketChargeUpdate, h4 as TicketChargeSummary, h6 as TicketChecklistItem, h7 as TicketChecklistItemCreate, h9 as TicketChecklistItemUpdate, h8 as TicketChecklistItemSummary, ha as TicketChecklistLibrary, hb as TicketChecklistLibraryCreate, hd as TicketChecklistLibraryUpdate, hc as TicketChecklistLibrarySummary, hg as TicketHistory, hh as TicketHistoryCreate, hj as TicketHistoryUpdate, hi as TicketHistorySummary, hl as TicketNoteAttachment, hm as TicketNoteAttachmentCreate, ho as TicketNoteAttachmentUpdate, hn as TicketNoteAttachmentSummary, hk as TicketNote, hp as TicketNoteCreate, hr as TicketNoteUpdate, hq as TicketNoteSummary, hs as TicketNoteWebhook, ht as TicketNoteWebhookCreate, hv as TicketNoteWebhookUpdate, hu as TicketNoteWebhookSummary, hw as TicketSecondaryResource, hx as TicketSecondaryResourceCreate, hz as TicketSecondaryResourceUpdate, hy as TicketSecondaryResourceSummary, hf as TicketCreate, hB as TicketUpdate, hA as TicketSummary, he as TicketContext, hC as TicketWebhook, hD as TicketWebhookCreate, hF as TicketWebhookUpdate, hE as TicketWebhookSummary, hL as TimeEntryCreate, hN as TimeEntryUpdate, hM as TimeEntrySummary, hH as TimeEntryAttachment, hI as TimeEntryAttachmentCreate, hK as TimeEntryAttachmentUpdate, hJ as TimeEntryAttachmentSummary, hO as TimeOffRequest, hP as TimeOffRequestCreate, hS as TimeOffRequestUpdate, hR as TimeOffRequestSummary, A as ApiVersionResultModel, i as AutotaskVersionResultModel, hU as ZoneInformationResultModel } from './index-DQ9NgraW.js';
|
|
2
|
+
|
|
3
|
+
/** Memory guard: when the entry count reaches this on a `set`, expired
|
|
4
|
+
* entries are purged first (a long-lived MCP server must not grow without
|
|
5
|
+
* bound between lazy purges). */
|
|
6
|
+
declare const READ_CACHE_MAX_ENTRIES = 4096;
|
|
7
|
+
/**
|
|
8
|
+
* A read-through TTL cache (lazy purge on read; expiry is `Date.now()`
|
|
9
|
+
* based). Constructed by `resolveConfig` from `cache: { ttlMs,
|
|
10
|
+
* perResourceTtlMs? }` — a positive-integer `ttlMs` is required
|
|
11
|
+
* (validated there too); every `perResourceTtlMs` value is a positive
|
|
12
|
+
* integer, validated fail-closed the same way (issue #32).
|
|
13
|
+
*/
|
|
14
|
+
declare class ReadCache {
|
|
15
|
+
/** The configured TTL in ms (the fallback for resources without an override). */
|
|
16
|
+
readonly ttlMs: number;
|
|
17
|
+
/** The per-resource TTL overrides (issue #32; absent = every resource uses `ttlMs`). */
|
|
18
|
+
readonly perResourceTtlMs?: Readonly<Record<string, number>>;
|
|
19
|
+
private readonly store;
|
|
20
|
+
private epochCounter;
|
|
21
|
+
constructor(ttlMs: number, perResourceTtlMs?: Record<string, number>);
|
|
22
|
+
/**
|
|
23
|
+
* The TTL (ms) for a resource plan key: the `perResourceTtlMs` override
|
|
24
|
+
* when the map is present and names the resource, else the base
|
|
25
|
+
* `ttlMs` (absent map, absent key, and `undefined` all fall back).
|
|
26
|
+
*/
|
|
27
|
+
ttlFor(resource?: string): number;
|
|
28
|
+
/**
|
|
29
|
+
* Read-through lookup: the live entry's value, or `undefined` (absent OR
|
|
30
|
+
* expired — an expired entry is purged lazily on this read).
|
|
31
|
+
*/
|
|
32
|
+
get(key: string): unknown;
|
|
33
|
+
/** Store a successful read payload under `key`, live for `ttlFor(resource)`:
|
|
34
|
+
* the per-resource override (issue #32) when named, else `ttlMs`.
|
|
35
|
+
* `epoch` is the invalidation epoch the caller captured BEFORE its wire
|
|
36
|
+
* read: a read that straddled a `clear()` (a write) is dropped, never
|
|
37
|
+
* re-stored with its pre-write body. */
|
|
38
|
+
set(key: string, value: unknown, resource?: string, epoch?: number): void;
|
|
39
|
+
/** Drop every expired entry (returns the number removed). */
|
|
40
|
+
purgeExpired(): number;
|
|
41
|
+
/** Current entry count (live + not-yet-purged expired). */
|
|
42
|
+
get size(): number;
|
|
43
|
+
/** Drop one key (issue #36: a later positive outcome clears a stale 'absent' marker). */
|
|
44
|
+
delete(key: string): boolean;
|
|
45
|
+
/** The invalidation epoch: bumped by `clear()`; capture it before a wire
|
|
46
|
+
* read and pass it to `set` so a read in flight across a write cannot
|
|
47
|
+
* re-store its stale answer. */
|
|
48
|
+
get epoch(): number;
|
|
49
|
+
/** Drop everything (e.g. a caller that knows the tenant was reset). */
|
|
50
|
+
clear(): void;
|
|
51
|
+
}
|
|
2
52
|
|
|
3
53
|
/** The 23 named zones (catalog pinned from the node credential definition, G1 api-behavior section 2). */
|
|
4
54
|
type ZoneName = 'pre-release' | 'pre-release-uk' | 'limited-release' | 'limited-release-uk' | 'america-east' | 'america-east-2' | 'america-east-3' | 'america-west' | 'america-west-2' | 'america-west-3' | 'america-west-4' | 'uk' | 'uk2' | 'uk3' | 'old-australian' | 'australia-nz' | 'australia-2' | 'pre-release-de' | 'pre-release-es' | 'german' | 'eu1' | 'spanish' | 'other';
|
|
@@ -58,52 +108,6 @@ declare const AGENT_PROFILE: {
|
|
|
58
108
|
};
|
|
59
109
|
};
|
|
60
110
|
|
|
61
|
-
/**
|
|
62
|
-
* A read-through TTL cache (lazy purge on read; expiry is `Date.now()`
|
|
63
|
-
* based). Constructed by `resolveConfig` from `cache: { ttlMs,
|
|
64
|
-
* perResourceTtlMs? }` — a positive-integer `ttlMs` is required
|
|
65
|
-
* (validated there too); every `perResourceTtlMs` value is a positive
|
|
66
|
-
* integer, validated fail-closed the same way (issue #32).
|
|
67
|
-
*/
|
|
68
|
-
declare class ReadCache {
|
|
69
|
-
/** The configured TTL in ms (the fallback for resources without an override). */
|
|
70
|
-
readonly ttlMs: number;
|
|
71
|
-
/** The per-resource TTL overrides (issue #32; absent = every resource uses `ttlMs`). */
|
|
72
|
-
readonly perResourceTtlMs?: Readonly<Record<string, number>>;
|
|
73
|
-
private readonly store;
|
|
74
|
-
private epochCounter;
|
|
75
|
-
constructor(ttlMs: number, perResourceTtlMs?: Record<string, number>);
|
|
76
|
-
/**
|
|
77
|
-
* The TTL (ms) for a resource plan key: the `perResourceTtlMs` override
|
|
78
|
-
* when the map is present and names the resource, else the base
|
|
79
|
-
* `ttlMs` (absent map, absent key, and `undefined` all fall back).
|
|
80
|
-
*/
|
|
81
|
-
ttlFor(resource?: string): number;
|
|
82
|
-
/**
|
|
83
|
-
* Read-through lookup: the live entry's value, or `undefined` (absent OR
|
|
84
|
-
* expired — an expired entry is purged lazily on this read).
|
|
85
|
-
*/
|
|
86
|
-
get(key: string): unknown;
|
|
87
|
-
/** Store a successful read payload under `key`, live for `ttlFor(resource)`:
|
|
88
|
-
* the per-resource override (issue #32) when named, else `ttlMs`.
|
|
89
|
-
* `epoch` is the invalidation epoch the caller captured BEFORE its wire
|
|
90
|
-
* read: a read that straddled a `clear()` (a write) is dropped, never
|
|
91
|
-
* re-stored with its pre-write body. */
|
|
92
|
-
set(key: string, value: unknown, resource?: string, epoch?: number): void;
|
|
93
|
-
/** Drop every expired entry (returns the number removed). */
|
|
94
|
-
purgeExpired(): number;
|
|
95
|
-
/** Current entry count (live + not-yet-purged expired). */
|
|
96
|
-
get size(): number;
|
|
97
|
-
/** Drop one key (issue #36: a later positive outcome clears a stale 'absent' marker). */
|
|
98
|
-
delete(key: string): boolean;
|
|
99
|
-
/** The invalidation epoch: bumped by `clear()`; capture it before a wire
|
|
100
|
-
* read and pass it to `set` so a read in flight across a write cannot
|
|
101
|
-
* re-store its stale answer. */
|
|
102
|
-
get epoch(): number;
|
|
103
|
-
/** Drop everything (e.g. a caller that knows the tenant was reset). */
|
|
104
|
-
clear(): void;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
111
|
/** The three metadata reads one entity can serve (closed set). */
|
|
108
112
|
declare const FIELD_CACHE_KINDS: readonly ["info", "fields", "udf"];
|
|
109
113
|
/** One of the three per-entity metadata channels. */
|
|
@@ -807,6 +811,15 @@ interface AutotaskConfig {
|
|
|
807
811
|
cache?: false | {
|
|
808
812
|
ttlMs?: number;
|
|
809
813
|
perResourceTtlMs?: Record<string, number>;
|
|
814
|
+
/**
|
|
815
|
+
* Advanced (issue #219 N6): supply the `ReadCache` INSTANCE instead of
|
|
816
|
+
* letting the client build one — `ClientPool` shares one per tenant
|
|
817
|
+
* across the clients it builds, so a write through any pooled client
|
|
818
|
+
* voids the read cache for all of them. The instance owns its TTLs:
|
|
819
|
+
* combining it with `ttlMs` / `perResourceTtlMs` refuses (fail closed).
|
|
820
|
+
* `ReadCache` is exported from the SDK root (`import { ReadCache } from 'node-autotask'`).
|
|
821
|
+
*/
|
|
822
|
+
store?: ReadCache;
|
|
810
823
|
};
|
|
811
824
|
/**
|
|
812
825
|
* Live field-metadata channel for the entityInformation trio
|
|
@@ -1375,7 +1388,7 @@ declare class HttpClient {
|
|
|
1375
1388
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
1376
1389
|
* - docs/API.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
1377
1390
|
*
|
|
1378
|
-
* planHash:
|
|
1391
|
+
* planHash: 7318bd56d1c2e0dd4ba45a724bb37cf58f95f73fdd77c0fea6fce919430e17d0
|
|
1379
1392
|
*/
|
|
1380
1393
|
|
|
1381
1394
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -1431,6 +1444,19 @@ interface BlindSurfaceInventory {
|
|
|
1431
1444
|
}
|
|
1432
1445
|
/** The create-blocker class (issue #12 — the closed 9-set; the gate re-derives). */
|
|
1433
1446
|
type CreateBlockerKind = 'ok' | 'blind-reference' | 'blind-parent' | 'picklist-unexposed' | 'undocumented-ladder' | 'resource-role-pair' | 'delete-absent' | 'non-mutable' | 'unknown';
|
|
1447
|
+
/**
|
|
1448
|
+
* One structured create requirement (issue #219 N3 — plan shape
|
|
1449
|
+
* blocker.requires): the fields a caller must supply (anyOf / allOf) or must
|
|
1450
|
+
* not (noneOf) for the create to be accepted. Vendor field names.
|
|
1451
|
+
*/
|
|
1452
|
+
interface CreateGuidanceRequires {
|
|
1453
|
+
/** At least one of these fields must be supplied (ticket_charges.create: productID | billingCodeID). */
|
|
1454
|
+
anyOf?: string[];
|
|
1455
|
+
/** Every one of these fields must be supplied. */
|
|
1456
|
+
allOf?: string[];
|
|
1457
|
+
/** None of these fields may be supplied. */
|
|
1458
|
+
noneOf?: string[];
|
|
1459
|
+
}
|
|
1434
1460
|
/** The structured blocker on one create-guidance row (issue #12). */
|
|
1435
1461
|
interface CreateGuidanceBlocker {
|
|
1436
1462
|
kind: CreateBlockerKind;
|
|
@@ -1440,6 +1466,33 @@ interface CreateGuidanceBlocker {
|
|
|
1440
1466
|
referenceField?: string;
|
|
1441
1467
|
/** The remedy (what to do about it). */
|
|
1442
1468
|
remedy: string;
|
|
1469
|
+
/** The fields the create requires (issue #219 N3) — a DECLARED requirement, never a reconstruction of the (possibly truncated) vendor receipt, which stays in vendorEvidence. Absent = no known requirement beyond the required set. */
|
|
1470
|
+
requires?: CreateGuidanceRequires;
|
|
1471
|
+
}
|
|
1472
|
+
/** A requirement conditioned on a picklist value (issue #219 N3): createGuidance.requiresByValue. */
|
|
1473
|
+
interface CreateGuidanceValueRequirement {
|
|
1474
|
+
/** The conditioning field (e.g. contractType). */
|
|
1475
|
+
field: string;
|
|
1476
|
+
/** The value that switches the requirement on. */
|
|
1477
|
+
value: string | number | boolean;
|
|
1478
|
+
/** The fields required when field = value. */
|
|
1479
|
+
requires: CreateGuidanceRequires;
|
|
1480
|
+
/** Field values the condition also fixes (e.g. contractPeriodType = 2 under contractType 7). */
|
|
1481
|
+
values?: Record<string, string | number | boolean>;
|
|
1482
|
+
}
|
|
1483
|
+
/** A picklist value the vendor rejects for a field (issue #219 N3): createGuidance.rejectedValues. */
|
|
1484
|
+
interface CreateGuidanceRejectedValue {
|
|
1485
|
+
field: string;
|
|
1486
|
+
value: string | number | boolean;
|
|
1487
|
+
}
|
|
1488
|
+
/** One declared derived field (issue #219 N8): the value is an OUTPUT of the vendor's own computation or of another record. */
|
|
1489
|
+
interface DerivedField {
|
|
1490
|
+
/** The vendor field name (never send an authoritative value for it). */
|
|
1491
|
+
field: string;
|
|
1492
|
+
/** The closed rule token: elapsed(<start>,<end>) (recomputed from those timestamps) | parent (inherited from the parent record) | mirror(<field>) (the vendor copies that field) | external (written by another entity's op — writableRoute names it). */
|
|
1493
|
+
rule: string;
|
|
1494
|
+
/** The op that actually writes the value (required by the external rule — e.g. billing_item_approval_levels.create). */
|
|
1495
|
+
writableRoute?: string;
|
|
1443
1496
|
}
|
|
1444
1497
|
/** One create-guidance row (issue #12 — the served zone-fact row). */
|
|
1445
1498
|
interface CreateGuidanceRow {
|
|
@@ -1461,6 +1514,12 @@ interface CreateGuidanceRow {
|
|
|
1461
1514
|
note: string | null;
|
|
1462
1515
|
};
|
|
1463
1516
|
zone: string;
|
|
1517
|
+
/** Requirements conditioned on a field value (issue #219 N3 — e.g. contracts.create's contractType gates). Absent = none declared. */
|
|
1518
|
+
requiresByValue?: CreateGuidanceValueRequirement[];
|
|
1519
|
+
/** Picklist values the vendor rejects for a field (issue #219 N3). Absent = none declared. */
|
|
1520
|
+
rejectedValues?: CreateGuidanceRejectedValue[];
|
|
1521
|
+
/** The fields the vendor DERIVES for this resource (issue #219 N8): a submitted value is not authoritative. Distinct from readOnly — readOnly (the live field catalog's isReadOnly) means never write the field at all; derived means the vendor overwrites or inherits it. Absent = none declared. */
|
|
1522
|
+
derived?: DerivedField[];
|
|
1464
1523
|
}
|
|
1465
1524
|
/** The zone-fact create-guidance report (issue #12 — the served 92-entity catalog). */
|
|
1466
1525
|
interface CreateGuidanceReport {
|
|
@@ -1550,6 +1609,8 @@ interface RelationshipResource {
|
|
|
1550
1609
|
message: string;
|
|
1551
1610
|
referenceField?: string;
|
|
1552
1611
|
remedy: string;
|
|
1612
|
+
/** The declared create requirement (issue #219 N3). */
|
|
1613
|
+
requires?: CreateGuidanceRequires;
|
|
1553
1614
|
} | null;
|
|
1554
1615
|
vendorEvidence: string[];
|
|
1555
1616
|
deleteBoundary: {
|
|
@@ -1557,6 +1618,10 @@ interface RelationshipResource {
|
|
|
1557
1618
|
note: string | null;
|
|
1558
1619
|
};
|
|
1559
1620
|
zone: string;
|
|
1621
|
+
/** Value-conditioned create requirements (issue #219 N3). */
|
|
1622
|
+
requiresByValue?: CreateGuidanceValueRequirement[];
|
|
1623
|
+
/** Picklist values the vendor rejects (issue #219 N3). */
|
|
1624
|
+
rejectedValues?: CreateGuidanceRejectedValue[];
|
|
1560
1625
|
};
|
|
1561
1626
|
} | null;
|
|
1562
1627
|
/** The spec-derived delete boundary (issue #9; null = the vendor defines a DELETE). */
|
|
@@ -2319,6 +2384,31 @@ declare class BillingCodesResource extends BaseResource<BillingCode, BillingCode
|
|
|
2319
2384
|
}): Promise<BillingCodeSummary[]>;
|
|
2320
2385
|
}
|
|
2321
2386
|
|
|
2387
|
+
/**
|
|
2388
|
+
* BillingItemApprovalLevelsResource — BillingItemApprovalLevel resource (G5 batch B, plan key 'billing_item_approval_levels').
|
|
2389
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
2390
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
2391
|
+
*/
|
|
2392
|
+
|
|
2393
|
+
/** Query params for BillingItemApprovalLevelsResource (the G3 filter surface; no per-resource invention). */
|
|
2394
|
+
type BillingItemApprovalLevelsResourceQueryParams = QueryParams;
|
|
2395
|
+
declare class BillingItemApprovalLevelsResource extends BaseResource<BillingItemApprovalLevel, BillingItemApprovalLevelCreate, BillingItemApprovalLevelUpdate> {
|
|
2396
|
+
constructor(http: HttpClient, pageSize: number);
|
|
2397
|
+
/** Query BillingItemApprovalLevel records with the G3 filter surface (server-side JSON filter). */
|
|
2398
|
+
query(params?: BillingItemApprovalLevelsResourceQueryParams): AsyncIterable<BillingItemApprovalLevel>;
|
|
2399
|
+
/** Get every BillingItemApprovalLevel record (the MCP-preferred read; 1000-page guarded). */
|
|
2400
|
+
queryAll(params?: BillingItemApprovalLevelsResourceQueryParams): Promise<BillingItemApprovalLevel[]>;
|
|
2401
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
2402
|
+
count(params?: BillingItemApprovalLevelsResourceQueryParams): Promise<number>;
|
|
2403
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
2404
|
+
get(id: Identifier): Promise<BillingItemApprovalLevel>;
|
|
2405
|
+
/** Create a record (OperationResultModel → { id}). `dryRun: true` returns the
|
|
2406
|
+
* pinned envelope (section 19.3) and never issues the create. A 2xx that is not the
|
|
2407
|
+
* specced envelope runs the plan-pinned marker recovery (issue #13 — one bounded read;
|
|
2408
|
+
* `recoverIdFromMarker: false` restores the pre-recovery behaviour). */
|
|
2409
|
+
create(data: BillingItemApprovalLevelCreate, opts?: CreateOpts): Promise<OperationResult | DryRunResult<BillingItemApprovalLevelCreate>>;
|
|
2410
|
+
}
|
|
2411
|
+
|
|
2322
2412
|
/** The shared window opts shape (`TimeEntriesWindowOptions` is an alias of
|
|
2323
2413
|
* this type — `tz` is the issue #66 addition). */
|
|
2324
2414
|
interface DateWindowOptions {
|
|
@@ -5121,6 +5211,40 @@ declare class CountriesResource extends BaseResource<Country, CountryCreate, Cou
|
|
|
5121
5211
|
}): Promise<CountrySummary[]>;
|
|
5122
5212
|
}
|
|
5123
5213
|
|
|
5214
|
+
/**
|
|
5215
|
+
* CurrenciesResource — Currency resource (G5 batch B, plan key 'currencies').
|
|
5216
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
5217
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
5218
|
+
*/
|
|
5219
|
+
|
|
5220
|
+
/** Query params for CurrenciesResource (the G3 filter surface; no per-resource invention). */
|
|
5221
|
+
type CurrenciesResourceQueryParams = QueryParams;
|
|
5222
|
+
declare class CurrenciesResource extends BaseResource<Currency, CurrencyCreate, CurrencyUpdate> {
|
|
5223
|
+
constructor(http: HttpClient, pageSize: number);
|
|
5224
|
+
/** Query Currency records with the G3 filter surface (server-side JSON filter). */
|
|
5225
|
+
query(params?: CurrenciesResourceQueryParams): AsyncIterable<Currency>;
|
|
5226
|
+
/** Get every Currency record (the MCP-preferred read; 1000-page guarded). */
|
|
5227
|
+
queryAll(params?: CurrenciesResourceQueryParams): Promise<Currency[]>;
|
|
5228
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
5229
|
+
count(params?: CurrenciesResourceQueryParams): Promise<number>;
|
|
5230
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
5231
|
+
get(id: Identifier): Promise<Currency>;
|
|
5232
|
+
/** Resolve a Currency from a numeric id (or, where the vendor indexes a primary text field,
|
|
5233
|
+
* from an exact match on name). A numeric id miss throws NOT_FOUND; a complete
|
|
5234
|
+
* non-match returns null; ambiguity throws RESOLUTION_AMBIGUOUS (candidate ids) and a
|
|
5235
|
+
* cap-tripped bounded client scan throws RESOLUTION_TRUNCATED (never a silent null).
|
|
5236
|
+
* The compact shape is the structural alias of the full record; `expand: true` is the
|
|
5237
|
+
* type-level escape hatch. */
|
|
5238
|
+
resolve(identifier: number | string, opts?: {
|
|
5239
|
+
expand?: boolean;
|
|
5240
|
+
}): Promise<CurrencySummary | null>;
|
|
5241
|
+
/** Search Currency records: bounded contains on name (no vendor free-text search exists);
|
|
5242
|
+
* limit defaults to 25, max 500. */
|
|
5243
|
+
search(query: string, opts?: {
|
|
5244
|
+
limit?: number;
|
|
5245
|
+
}): Promise<CurrencySummary[]>;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5124
5248
|
/**
|
|
5125
5249
|
* DepartmentsResource — Department resource (G5 batch B, plan key 'departments').
|
|
5126
5250
|
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
@@ -5584,6 +5708,26 @@ declare class InvoicesResource extends BaseResource<Invoice, InvoiceCreate, Invo
|
|
|
5584
5708
|
yesterday(opts?: DateWindowOptions): Promise<Invoice[]>;
|
|
5585
5709
|
}
|
|
5586
5710
|
|
|
5711
|
+
/**
|
|
5712
|
+
* InvoiceTemplatesResource — InvoiceTemplate resource (G5 batch B, plan key 'invoice_templates').
|
|
5713
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
5714
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
5715
|
+
*/
|
|
5716
|
+
|
|
5717
|
+
/** Query params for InvoiceTemplatesResource (the G3 filter surface; no per-resource invention). */
|
|
5718
|
+
type InvoiceTemplatesResourceQueryParams = QueryParams;
|
|
5719
|
+
declare class InvoiceTemplatesResource extends BaseResource<InvoiceTemplate, InvoiceTemplateCreate, InvoiceTemplateUpdate> {
|
|
5720
|
+
constructor(http: HttpClient, pageSize: number);
|
|
5721
|
+
/** Query InvoiceTemplate records with the G3 filter surface (server-side JSON filter). */
|
|
5722
|
+
query(params?: InvoiceTemplatesResourceQueryParams): AsyncIterable<InvoiceTemplate>;
|
|
5723
|
+
/** Get every InvoiceTemplate record (the MCP-preferred read; 1000-page guarded). */
|
|
5724
|
+
queryAll(params?: InvoiceTemplatesResourceQueryParams): Promise<InvoiceTemplate[]>;
|
|
5725
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
5726
|
+
count(params?: InvoiceTemplatesResourceQueryParams): Promise<number>;
|
|
5727
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
5728
|
+
get(id: Identifier): Promise<InvoiceTemplate>;
|
|
5729
|
+
}
|
|
5730
|
+
|
|
5587
5731
|
/**
|
|
5588
5732
|
* ModulesResource — integration endpoint (G5 batch B, plan key 'modules').
|
|
5589
5733
|
*
|
|
@@ -5760,6 +5904,111 @@ declare class OpportunityCategoriesResource extends BaseResource<OpportunityCate
|
|
|
5760
5904
|
}): Promise<OpportunityCategorySummary[]>;
|
|
5761
5905
|
}
|
|
5762
5906
|
|
|
5907
|
+
/**
|
|
5908
|
+
* OrganizationalLevel1sResource — OrganizationalLevel1 resource (G5 batch B, plan key 'organizational_level1s').
|
|
5909
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
5910
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
5911
|
+
*/
|
|
5912
|
+
|
|
5913
|
+
/** Query params for OrganizationalLevel1sResource (the G3 filter surface; no per-resource invention). */
|
|
5914
|
+
type OrganizationalLevel1sResourceQueryParams = QueryParams;
|
|
5915
|
+
declare class OrganizationalLevel1sResource extends BaseResource<OrganizationalLevel1, OrganizationalLevel1Create, OrganizationalLevel1Update> {
|
|
5916
|
+
constructor(http: HttpClient, pageSize: number);
|
|
5917
|
+
/** Query OrganizationalLevel1 records with the G3 filter surface (server-side JSON filter). */
|
|
5918
|
+
query(params?: OrganizationalLevel1sResourceQueryParams): AsyncIterable<OrganizationalLevel1>;
|
|
5919
|
+
/** Get every OrganizationalLevel1 record (the MCP-preferred read; 1000-page guarded). */
|
|
5920
|
+
queryAll(params?: OrganizationalLevel1sResourceQueryParams): Promise<OrganizationalLevel1[]>;
|
|
5921
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
5922
|
+
count(params?: OrganizationalLevel1sResourceQueryParams): Promise<number>;
|
|
5923
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
5924
|
+
get(id: Identifier): Promise<OrganizationalLevel1>;
|
|
5925
|
+
/** Create a record (OperationResultModel → { id}). `dryRun: true` returns the
|
|
5926
|
+
* pinned envelope (section 19.3) and never issues the create. A 2xx that is not the
|
|
5927
|
+
* specced envelope runs the plan-pinned marker recovery (issue #13 — one bounded read;
|
|
5928
|
+
* `recoverIdFromMarker: false` restores the pre-recovery behaviour). */
|
|
5929
|
+
create(data: OrganizationalLevel1Create, opts?: CreateOpts): Promise<OperationResult | DryRunResult<OrganizationalLevel1Create>>;
|
|
5930
|
+
/** Update a record (PUT on the COLLECTION — the vendored spec's item path is GET-only; the vendor
|
|
5931
|
+
* keys the record by the id in the body). The vendor validates the FULL model on this route (V2), so a
|
|
5932
|
+
* partial body is merged into the CURRENT record first: one fresh GET (which also serves the
|
|
5933
|
+
* stale-object guard's read) then the collection PUT of the merged model — an explicit null in the
|
|
5934
|
+
* caller body sends null; an omitted field keeps the current value. `raw: true` in the opts bag sends
|
|
5935
|
+
* the body as-is (full model or intentional partial — the compatibility escape hatch; no merge read).
|
|
5936
|
+
* `dryRun: true` returns the pinned envelope whose `data` is the merged body (the exact confirmed
|
|
5937
|
+
* wire) with the best-effort diff, from that same single read; a caller-supplied lastModifiedDate that
|
|
5938
|
+
* mismatches the vendor's current value throws STALE_OBJECT before the mutation. */
|
|
5939
|
+
update(id: Identifier, data: OrganizationalLevel1Update, opts?: MutationOpts): Promise<OperationResult | DryRunResult<OrganizationalLevel1Update>>;
|
|
5940
|
+
}
|
|
5941
|
+
|
|
5942
|
+
/**
|
|
5943
|
+
* OrganizationalLevel2sResource — OrganizationalLevel2 resource (G5 batch B, plan key 'organizational_level2s').
|
|
5944
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
5945
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
5946
|
+
*/
|
|
5947
|
+
|
|
5948
|
+
/** Query params for OrganizationalLevel2sResource (the G3 filter surface; no per-resource invention). */
|
|
5949
|
+
type OrganizationalLevel2sResourceQueryParams = QueryParams;
|
|
5950
|
+
declare class OrganizationalLevel2sResource extends BaseResource<OrganizationalLevel2, OrganizationalLevel2Create, OrganizationalLevel2Update> {
|
|
5951
|
+
constructor(http: HttpClient, pageSize: number);
|
|
5952
|
+
/** Query OrganizationalLevel2 records with the G3 filter surface (server-side JSON filter). */
|
|
5953
|
+
query(params?: OrganizationalLevel2sResourceQueryParams): AsyncIterable<OrganizationalLevel2>;
|
|
5954
|
+
/** Get every OrganizationalLevel2 record (the MCP-preferred read; 1000-page guarded). */
|
|
5955
|
+
queryAll(params?: OrganizationalLevel2sResourceQueryParams): Promise<OrganizationalLevel2[]>;
|
|
5956
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
5957
|
+
count(params?: OrganizationalLevel2sResourceQueryParams): Promise<number>;
|
|
5958
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
5959
|
+
get(id: Identifier): Promise<OrganizationalLevel2>;
|
|
5960
|
+
/** Create a record (OperationResultModel → { id}). `dryRun: true` returns the
|
|
5961
|
+
* pinned envelope (section 19.3) and never issues the create. A 2xx that is not the
|
|
5962
|
+
* specced envelope runs the plan-pinned marker recovery (issue #13 — one bounded read;
|
|
5963
|
+
* `recoverIdFromMarker: false` restores the pre-recovery behaviour). */
|
|
5964
|
+
create(data: OrganizationalLevel2Create, opts?: CreateOpts): Promise<OperationResult | DryRunResult<OrganizationalLevel2Create>>;
|
|
5965
|
+
/** Update a record (PUT on the COLLECTION — the vendored spec's item path is GET-only; the vendor
|
|
5966
|
+
* keys the record by the id in the body). The vendor validates the FULL model on this route (V2), so a
|
|
5967
|
+
* partial body is merged into the CURRENT record first: one fresh GET (which also serves the
|
|
5968
|
+
* stale-object guard's read) then the collection PUT of the merged model — an explicit null in the
|
|
5969
|
+
* caller body sends null; an omitted field keeps the current value. `raw: true` in the opts bag sends
|
|
5970
|
+
* the body as-is (full model or intentional partial — the compatibility escape hatch; no merge read).
|
|
5971
|
+
* `dryRun: true` returns the pinned envelope whose `data` is the merged body (the exact confirmed
|
|
5972
|
+
* wire) with the best-effort diff, from that same single read; a caller-supplied lastModifiedDate that
|
|
5973
|
+
* mismatches the vendor's current value throws STALE_OBJECT before the mutation. */
|
|
5974
|
+
update(id: Identifier, data: OrganizationalLevel2Update, opts?: MutationOpts): Promise<OperationResult | DryRunResult<OrganizationalLevel2Update>>;
|
|
5975
|
+
}
|
|
5976
|
+
|
|
5977
|
+
/**
|
|
5978
|
+
* OrganizationalLevelAssociationsResource — OrganizationalLevelAssociation resource (G5 batch B, plan key 'organizational_level_associations').
|
|
5979
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
5980
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
5981
|
+
*/
|
|
5982
|
+
|
|
5983
|
+
/** Query params for OrganizationalLevelAssociationsResource (the G3 filter surface; no per-resource invention). */
|
|
5984
|
+
type OrganizationalLevelAssociationsResourceQueryParams = QueryParams;
|
|
5985
|
+
declare class OrganizationalLevelAssociationsResource extends BaseResource<OrganizationalLevelAssociation, OrganizationalLevelAssociationCreate, OrganizationalLevelAssociationUpdate> {
|
|
5986
|
+
constructor(http: HttpClient, pageSize: number);
|
|
5987
|
+
/** Query OrganizationalLevelAssociation records with the G3 filter surface (server-side JSON filter). */
|
|
5988
|
+
query(params?: OrganizationalLevelAssociationsResourceQueryParams): AsyncIterable<OrganizationalLevelAssociation>;
|
|
5989
|
+
/** Get every OrganizationalLevelAssociation record (the MCP-preferred read; 1000-page guarded). */
|
|
5990
|
+
queryAll(params?: OrganizationalLevelAssociationsResourceQueryParams): Promise<OrganizationalLevelAssociation[]>;
|
|
5991
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
5992
|
+
count(params?: OrganizationalLevelAssociationsResourceQueryParams): Promise<number>;
|
|
5993
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
5994
|
+
get(id: Identifier): Promise<OrganizationalLevelAssociation>;
|
|
5995
|
+
/** Create a record (OperationResultModel → { id}). `dryRun: true` returns the
|
|
5996
|
+
* pinned envelope (section 19.3) and never issues the create. A 2xx that is not the
|
|
5997
|
+
* specced envelope runs the plan-pinned marker recovery (issue #13 — one bounded read;
|
|
5998
|
+
* `recoverIdFromMarker: false` restores the pre-recovery behaviour). */
|
|
5999
|
+
create(data: OrganizationalLevelAssociationCreate, opts?: CreateOpts): Promise<OperationResult | DryRunResult<OrganizationalLevelAssociationCreate>>;
|
|
6000
|
+
/** Update a record (PUT on the COLLECTION — the vendored spec's item path is GET-only; the vendor
|
|
6001
|
+
* keys the record by the id in the body). The vendor validates the FULL model on this route (V2), so a
|
|
6002
|
+
* partial body is merged into the CURRENT record first: one fresh GET (which also serves the
|
|
6003
|
+
* stale-object guard's read) then the collection PUT of the merged model — an explicit null in the
|
|
6004
|
+
* caller body sends null; an omitted field keeps the current value. `raw: true` in the opts bag sends
|
|
6005
|
+
* the body as-is (full model or intentional partial — the compatibility escape hatch; no merge read).
|
|
6006
|
+
* `dryRun: true` returns the pinned envelope whose `data` is the merged body (the exact confirmed
|
|
6007
|
+
* wire) with the best-effort diff, from that same single read; a caller-supplied lastModifiedDate that
|
|
6008
|
+
* mismatches the vendor's current value throws STALE_OBJECT before the mutation. */
|
|
6009
|
+
update(id: Identifier, data: OrganizationalLevelAssociationUpdate, opts?: MutationOpts): Promise<OperationResult | DryRunResult<OrganizationalLevelAssociationUpdate>>;
|
|
6010
|
+
}
|
|
6011
|
+
|
|
5763
6012
|
/**
|
|
5764
6013
|
* PhasesResource — Phase resource (G4 batch A, plan key 'phases').
|
|
5765
6014
|
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
@@ -6723,6 +6972,36 @@ declare class RolesResource extends BaseResource<Role, RoleCreate, RoleUpdate> {
|
|
|
6723
6972
|
}): Promise<RoleSummary[]>;
|
|
6724
6973
|
}
|
|
6725
6974
|
|
|
6975
|
+
/**
|
|
6976
|
+
* SalesOrdersResource — SalesOrder resource (G5 batch B, plan key 'sales_orders').
|
|
6977
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
6978
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
6979
|
+
*/
|
|
6980
|
+
|
|
6981
|
+
/** Query params for SalesOrdersResource (the G3 filter surface; no per-resource invention). */
|
|
6982
|
+
type SalesOrdersResourceQueryParams = QueryParams;
|
|
6983
|
+
declare class SalesOrdersResource extends BaseResource<SalesOrder, SalesOrderCreate, SalesOrderUpdate> {
|
|
6984
|
+
constructor(http: HttpClient, pageSize: number);
|
|
6985
|
+
/** Query SalesOrder records with the G3 filter surface (server-side JSON filter). */
|
|
6986
|
+
query(params?: SalesOrdersResourceQueryParams): AsyncIterable<SalesOrder>;
|
|
6987
|
+
/** Get every SalesOrder record (the MCP-preferred read; 1000-page guarded). */
|
|
6988
|
+
queryAll(params?: SalesOrdersResourceQueryParams): Promise<SalesOrder[]>;
|
|
6989
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
6990
|
+
count(params?: SalesOrdersResourceQueryParams): Promise<number>;
|
|
6991
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
6992
|
+
get(id: Identifier): Promise<SalesOrder>;
|
|
6993
|
+
/** Update a record (PUT on the COLLECTION — the vendored spec's item path is GET-only; the vendor
|
|
6994
|
+
* keys the record by the id in the body). The vendor validates the FULL model on this route (V2), so a
|
|
6995
|
+
* partial body is merged into the CURRENT record first: one fresh GET (which also serves the
|
|
6996
|
+
* stale-object guard's read) then the collection PUT of the merged model — an explicit null in the
|
|
6997
|
+
* caller body sends null; an omitted field keeps the current value. `raw: true` in the opts bag sends
|
|
6998
|
+
* the body as-is (full model or intentional partial — the compatibility escape hatch; no merge read).
|
|
6999
|
+
* `dryRun: true` returns the pinned envelope whose `data` is the merged body (the exact confirmed
|
|
7000
|
+
* wire) with the best-effort diff, from that same single read; a caller-supplied lastModifiedDate that
|
|
7001
|
+
* mismatches the vendor's current value throws STALE_OBJECT before the mutation. */
|
|
7002
|
+
update(id: Identifier, data: SalesOrderUpdate, opts?: MutationOpts): Promise<OperationResult | DryRunResult<SalesOrderUpdate>>;
|
|
7003
|
+
}
|
|
7004
|
+
|
|
6726
7005
|
/**
|
|
6727
7006
|
* ServiceCallsResource — ServiceCall resource (G5 batch B, plan key 'service_calls').
|
|
6728
7007
|
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
@@ -7408,6 +7687,41 @@ declare class TasksResource extends BaseResource<Task, TaskCreate, TaskUpdate> {
|
|
|
7408
7687
|
}): Promise<TaskSummary[]>;
|
|
7409
7688
|
}
|
|
7410
7689
|
|
|
7690
|
+
/**
|
|
7691
|
+
* TaxRegionsResource — TaxRegion resource (G5 batch B, plan key 'tax_regions').
|
|
7692
|
+
* GENERATED by scripts/generate-batch.mjs from capabilities.plan.json + api-docs.json.
|
|
7693
|
+
* Do not hand-edit; re-run the generator (the plan is the source of truth).
|
|
7694
|
+
*/
|
|
7695
|
+
|
|
7696
|
+
/** Query params for TaxRegionsResource (the G3 filter surface; no per-resource invention). */
|
|
7697
|
+
type TaxRegionsResourceQueryParams = QueryParams;
|
|
7698
|
+
declare class TaxRegionsResource extends BaseResource<TaxRegion, TaxRegionCreate, TaxRegionUpdate> {
|
|
7699
|
+
constructor(http: HttpClient, pageSize: number);
|
|
7700
|
+
/** Query TaxRegion records with the G3 filter surface (server-side JSON filter). */
|
|
7701
|
+
query(params?: TaxRegionsResourceQueryParams): AsyncIterable<TaxRegion>;
|
|
7702
|
+
/** Get every TaxRegion record (the MCP-preferred read; 1000-page guarded). */
|
|
7703
|
+
queryAll(params?: TaxRegionsResourceQueryParams): Promise<TaxRegion[]>;
|
|
7704
|
+
/** Count matching records (queryCount envelope unwrapped to a plain number). */
|
|
7705
|
+
count(params?: TaxRegionsResourceQueryParams): Promise<number>;
|
|
7706
|
+
/** Get one record by id (item envelope; item: null → NotFoundError). */
|
|
7707
|
+
get(id: Identifier): Promise<TaxRegion>;
|
|
7708
|
+
/** Create a record (OperationResultModel → { id}). `dryRun: true` returns the
|
|
7709
|
+
* pinned envelope (section 19.3) and never issues the create. A 2xx that is not the
|
|
7710
|
+
* specced envelope runs the plan-pinned marker recovery (issue #13 — one bounded read;
|
|
7711
|
+
* `recoverIdFromMarker: false` restores the pre-recovery behaviour). */
|
|
7712
|
+
create(data: TaxRegionCreate, opts?: CreateOpts): Promise<OperationResult | DryRunResult<TaxRegionCreate>>;
|
|
7713
|
+
/** Update a record (PUT on the COLLECTION — the vendored spec's item path is GET-only; the vendor
|
|
7714
|
+
* keys the record by the id in the body). The vendor validates the FULL model on this route (V2), so a
|
|
7715
|
+
* partial body is merged into the CURRENT record first: one fresh GET (which also serves the
|
|
7716
|
+
* stale-object guard's read) then the collection PUT of the merged model — an explicit null in the
|
|
7717
|
+
* caller body sends null; an omitted field keeps the current value. `raw: true` in the opts bag sends
|
|
7718
|
+
* the body as-is (full model or intentional partial — the compatibility escape hatch; no merge read).
|
|
7719
|
+
* `dryRun: true` returns the pinned envelope whose `data` is the merged body (the exact confirmed
|
|
7720
|
+
* wire) with the best-effort diff, from that same single read; a caller-supplied lastModifiedDate that
|
|
7721
|
+
* mismatches the vendor's current value throws STALE_OBJECT before the mutation. */
|
|
7722
|
+
update(id: Identifier, data: TaxRegionUpdate, opts?: MutationOpts): Promise<OperationResult | DryRunResult<TaxRegionUpdate>>;
|
|
7723
|
+
}
|
|
7724
|
+
|
|
7411
7725
|
/**
|
|
7412
7726
|
* ThresholdInformationResource — integration endpoint (G5 batch B, plan key 'threshold_information').
|
|
7413
7727
|
*
|
|
@@ -8536,6 +8850,47 @@ interface TimeEntriesCreateForResourceResult {
|
|
|
8536
8850
|
type TimeEntriesMoveToTicketOptions = MoveToTicketOptions;
|
|
8537
8851
|
type TimeEntriesMoveToTicketResult = MoveResult;
|
|
8538
8852
|
|
|
8853
|
+
/** Options for `time_entries.approve` (the shared mutation bag + the approval pins). */
|
|
8854
|
+
interface TimeEntriesApproveOptions extends MutationOpts {
|
|
8855
|
+
/** The approving resource id (default: the time entry's own resourceID). */
|
|
8856
|
+
approvalResourceID?: Identifier;
|
|
8857
|
+
/** The approval level (1-based integer, default 1). */
|
|
8858
|
+
approvalLevel?: number;
|
|
8859
|
+
/** The approval instant (ISO string or Date, default: now). */
|
|
8860
|
+
approvalDateTime?: string | Date;
|
|
8861
|
+
}
|
|
8862
|
+
/**
|
|
8863
|
+
* `approved`: the approval level was created AND the follow-up update
|
|
8864
|
+
* persisted both time-entry fields (verified by the read-back).
|
|
8865
|
+
* `approval_fields_not_persisted`: the approval level was created but the
|
|
8866
|
+
* read-back shows the vendor kept the old billingApprovalDateTime /
|
|
8867
|
+
* billingApprovalResourceID — re-apply, or set them in the Autotask UI.
|
|
8868
|
+
*/
|
|
8869
|
+
type TimeEntriesApproveStatus = 'approved' | 'approval_fields_not_persisted';
|
|
8870
|
+
/** What `time_entries.approve` returns on the applied path. */
|
|
8871
|
+
interface TimeEntriesApproveResult {
|
|
8872
|
+
/** The approved time entry. */
|
|
8873
|
+
timeEntryID: number;
|
|
8874
|
+
/** The id of the created BillingItemApprovalLevels record. */
|
|
8875
|
+
billingItemApprovalLevelID: number;
|
|
8876
|
+
/** The approval level sent (1-based). */
|
|
8877
|
+
approvalLevel: number;
|
|
8878
|
+
/** The approving resource id sent. */
|
|
8879
|
+
approvalResourceID: number;
|
|
8880
|
+
/** The approval instant sent (ISO 8601). */
|
|
8881
|
+
approvalDateTime: string;
|
|
8882
|
+
/** Read back from the time entry: the vendor's most-recent level (null when unset). */
|
|
8883
|
+
billingApprovalLevelMostRecent: number | null;
|
|
8884
|
+
/** Read back from the time entry: the persisted approval instant (null when unset). */
|
|
8885
|
+
billingApprovalDateTime: string | null;
|
|
8886
|
+
/** Read back from the time entry: the persisted approving resource (null when unset). */
|
|
8887
|
+
billingApprovalResourceID: number | null;
|
|
8888
|
+
/** Honest outcome of the two-call sequence. */
|
|
8889
|
+
status: TimeEntriesApproveStatus;
|
|
8890
|
+
/** `status === 'approved'` (true only when the read-back matched what was sent). */
|
|
8891
|
+
persisted: boolean;
|
|
8892
|
+
}
|
|
8893
|
+
|
|
8539
8894
|
interface TimeEntriesRecentTicketsOptions {
|
|
8540
8895
|
/** The resource whose time entries are read (REQUIRED). */
|
|
8541
8896
|
resourceID: Identifier;
|
|
@@ -8625,6 +8980,8 @@ declare class TimeEntriesResource extends BaseResource<TimeEntry, TimeEntryCreat
|
|
|
8625
8980
|
expand?: boolean;
|
|
8626
8981
|
}): Promise<TimeEntrySummary | null>;
|
|
8627
8982
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
8983
|
+
approve(id: Identifier, opts?: TimeEntriesApproveOptions): Promise<TimeEntriesApproveResult | DryRunResult<Record<string, unknown>>>;
|
|
8984
|
+
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
8628
8985
|
createForResource(resourceID: Identifier, params: TimeEntriesCreateForResourceParams, opts?: MutationOpts): Promise<TimeEntriesCreateForResourceResult | DryRunResult<Record<string, unknown>>>;
|
|
8629
8986
|
/** Node-parity special op (hand-written in src/resources/special/time_entries.ts). */
|
|
8630
8987
|
customRange(from: string, to: string, opts?: TimeEntriesWindowOptions): Promise<TimeEntry[]>;
|
|
@@ -8813,6 +9170,7 @@ declare class AutotaskClient {
|
|
|
8813
9170
|
readonly appointments: AppointmentsResource;
|
|
8814
9171
|
readonly authenticateResource: AuthenticateResource;
|
|
8815
9172
|
readonly billingCodes: BillingCodesResource;
|
|
9173
|
+
readonly billingItemApprovalLevels: BillingItemApprovalLevelsResource;
|
|
8816
9174
|
readonly billingItems: BillingItemsResource;
|
|
8817
9175
|
readonly changeRequestLinks: ChangeRequestLinksResource;
|
|
8818
9176
|
readonly checklistLibraries: ChecklistLibrariesResource;
|
|
@@ -8861,6 +9219,7 @@ declare class AutotaskClient {
|
|
|
8861
9219
|
readonly contracts: ContractsResource;
|
|
8862
9220
|
readonly contractTicketPurchases: ContractTicketPurchasesResource;
|
|
8863
9221
|
readonly countries: CountriesResource;
|
|
9222
|
+
readonly currencies: CurrenciesResource;
|
|
8864
9223
|
readonly departments: DepartmentsResource;
|
|
8865
9224
|
readonly domainRegistrars: DomainRegistrarsResource;
|
|
8866
9225
|
readonly entityInformation: EntityInformationResource;
|
|
@@ -8871,11 +9230,15 @@ declare class AutotaskClient {
|
|
|
8871
9230
|
readonly holidays: HolidaysResource;
|
|
8872
9231
|
readonly inventoryProducts: InventoryProductsResource;
|
|
8873
9232
|
readonly invoices: InvoicesResource;
|
|
9233
|
+
readonly invoiceTemplates: InvoiceTemplatesResource;
|
|
8874
9234
|
readonly modules: ModulesResource;
|
|
8875
9235
|
readonly notificationHistory: NotificationHistoryResource;
|
|
8876
9236
|
readonly opportunities: OpportunitiesResource;
|
|
8877
9237
|
readonly opportunityAttachments: OpportunityAttachmentsResource;
|
|
8878
9238
|
readonly opportunityCategories: OpportunityCategoriesResource;
|
|
9239
|
+
readonly organizationalLevel1s: OrganizationalLevel1sResource;
|
|
9240
|
+
readonly organizationalLevel2s: OrganizationalLevel2sResource;
|
|
9241
|
+
readonly organizationalLevelAssociations: OrganizationalLevelAssociationsResource;
|
|
8879
9242
|
readonly phases: PhasesResource;
|
|
8880
9243
|
readonly products: ProductsResource;
|
|
8881
9244
|
readonly productVendors: ProductVendorsResource;
|
|
@@ -8898,6 +9261,7 @@ declare class AutotaskClient {
|
|
|
8898
9261
|
readonly resourceTimeOffApprovers: ResourceTimeOffApproversResource;
|
|
8899
9262
|
readonly resourceTimeOffBalances: ResourceTimeOffBalancesResource;
|
|
8900
9263
|
readonly roles: RolesResource;
|
|
9264
|
+
readonly salesOrders: SalesOrdersResource;
|
|
8901
9265
|
readonly serviceCalls: ServiceCallsResource;
|
|
8902
9266
|
readonly serviceCallTaskResources: ServiceCallTaskResourcesResource;
|
|
8903
9267
|
readonly serviceCallTasks: ServiceCallTasksResource;
|
|
@@ -8915,6 +9279,7 @@ declare class AutotaskClient {
|
|
|
8915
9279
|
readonly tags: TagsResource;
|
|
8916
9280
|
readonly taskSecondaryResources: TaskSecondaryResourcesResource;
|
|
8917
9281
|
readonly tasks: TasksResource;
|
|
9282
|
+
readonly taxRegions: TaxRegionsResource;
|
|
8918
9283
|
readonly thresholdInformation: ThresholdInformationResource;
|
|
8919
9284
|
readonly ticketAdditionalConfigurationItems: TicketAdditionalConfigurationItemsResource;
|
|
8920
9285
|
readonly ticketAdditionalContacts: TicketAdditionalContactsResource;
|
|
@@ -8994,4 +9359,4 @@ declare class AutotaskClient {
|
|
|
8994
9359
|
}): Promise<PromiseSettledResult<R>[]>;
|
|
8995
9360
|
}
|
|
8996
9361
|
|
|
8997
|
-
export { type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as $, type AutotaskConfig as A, BillingCodesResource as B, CREDENTIAL_HEADER_NAMES as C, CompanyLocationsResource as D, type CompanyLocationsResourceQueryParams as E, CompanyNotesResource as F, type CompanyNotesResourceQueryParams as G, CompanySiteConfigurationsResource as H, type CompanySiteConfigurationsResourceQueryParams as I, CompanyWebhooksResource as J, type CompanyWebhooksResourceQueryParams as K, type ConfigProfile as L, ConfigurationItemBillingProductAssociationsResource as M, type ConfigurationItemBillingProductAssociationsResourceQueryParams as N, ConfigurationItemCategoriesResource as O, type ConfigurationItemCategoriesResourceQueryParams as P, ConfigurationItemCategoryUdfAssociationsResource as Q, type ResolvedAutotaskConfig as R, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as S, ConfigurationItemDnsRecordsResource as T, type ConfigurationItemDnsRecordsResourceQueryParams as U, ConfigurationItemNotesResource as V, type ConfigurationItemNotesResourceQueryParams as W, ConfigurationItemRelatedItemsResource as X, type ConfigurationItemRelatedItemsResourceQueryParams as Y, type ZoneName as Z, ConfigurationItemSslSubjectAlternativeNamesResource as _, AutotaskClient as a, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as a$, ConfigurationItemTypesResource as a0, type ConfigurationItemTypesResourceQueryParams as a1, ConfigurationItemWebhooksResource as a2, type ConfigurationItemWebhooksResourceQueryParams as a3, ConfigurationItemsResource as a4, type ConfigurationItemsResourceQueryParams as a5, ContactGroupContactsResource as a6, type ContactGroupContactsResourceQueryParams as a7, ContactGroupsResource as a8, type ContactGroupsResourceQueryParams as a9, ContractRatesResource as aA, type ContractRatesResourceQueryParams as aB, ContractRetainersResource as aC, type ContractRetainersResourceQueryParams as aD, ContractRoleCostsResource as aE, type ContractRoleCostsResourceQueryParams as aF, ContractServiceAdjustmentsResource as aG, type ContractServiceAdjustmentsResourceQueryParams as aH, ContractServiceBundleAdjustmentsResource as aI, type ContractServiceBundleAdjustmentsResourceQueryParams as aJ, ContractServiceBundleUnitsResource as aK, type ContractServiceBundleUnitsResourceQueryParams as aL, ContractServiceBundlesResource as aM, type ContractServiceBundlesResourceQueryParams as aN, ContractServiceUnitsResource as aO, type ContractServiceUnitsResourceQueryParams as aP, ContractServicesResource as aQ, type ContractServicesResourceQueryParams as aR, ContractTicketPurchasesResource as aS, type ContractTicketPurchasesResourceQueryParams as aT, type ContractsProfitabilityResult as aU, ContractsResource as aV, type ContractsResourceQueryParams as aW, type CooldownStore as aX, type CostRateResolution as aY, CountriesResource as aZ, type CountriesResourceQueryParams as a_, ContactWebhooksResource as aa, type ContactWebhooksResourceQueryParams as ab, ContactsResource as ac, type ContactsResourceQueryParams as ad, ContractBillingRulesResource as ae, type ContractBillingRulesResourceQueryParams as af, ContractBlockHourFactorsResource as ag, type ContractBlockHourFactorsResourceQueryParams as ah, ContractBlocksResource as ai, type ContractBlocksResourceQueryParams as aj, ContractChargesResource as ak, type ContractChargesResourceQueryParams as al, ContractExclusionBillingCodesResource as am, type ContractExclusionBillingCodesResourceQueryParams as an, ContractExclusionRolesResource as ao, type ContractExclusionRolesResourceQueryParams as ap, ContractExclusionSetExcludedRolesResource as aq, type ContractExclusionSetExcludedRolesResourceQueryParams as ar, ContractExclusionSetExcludedWorkTypesResource as as, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as at, ContractExclusionSetsResource as au, type ContractExclusionSetsResourceQueryParams as av, ContractMilestonesResource as aw, type ContractMilestonesResourceQueryParams as ax, ContractNotesResource as ay, type ContractNotesResourceQueryParams as az, AutotaskError as b, type ProfitabilityPartDigest as b$, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b0, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b1, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b2, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b3, DEFAULT_COOLDOWN_DEFAULT_MS as b4, DEFAULT_COOLDOWN_MAX_ENTRIES as b5, DEFAULT_COOLDOWN_MAX_MS as b6, DEFAULT_ZONE as b7, DepartmentsResource as b8, type DepartmentsResourceQueryParams as b9, NoopLogger as bA, NotificationHistoryResource as bB, type NotificationHistoryResourceQueryParams as bC, OpportunitiesResource as bD, type OpportunitiesResourceQueryParams as bE, OpportunityAttachmentsResource as bF, type OpportunityAttachmentsResourceQueryParams as bG, OpportunityCategoriesResource as bH, type OpportunityCategoriesResourceQueryParams as bI, type PageFetcher as bJ, type PaginateOptions as bK, PhasesResource as bL, type PhasesResourceQueryParams as bM, ProductVendorsResource as bN, type ProductVendorsResourceQueryParams as bO, ProductsResource as bP, type ProductsResourceQueryParams as bQ, type ProfitRateSource as bR, type ProfitabilityActivityCategory as bS, type ProfitabilityDataQualityWarning as bT, type ProfitabilityHighestCostTicket as bU, type ProfitabilityLabourCostMethod as bV, type ProfitabilityMiscoding as bW, type ProfitabilityMonthlyRow as bX, type ProfitabilityOpenRenewalItem as bY, type ProfitabilityOptions as bZ, type ProfitabilityPart as b_, DomainRegistrarsResource as ba, type DomainRegistrarsResourceQueryParams as bb, EntityInformationResource as bc, type ErrorCategory as bd, type ErrorIdRef as be, ExpenseItemAttachmentsResource as bf, type ExpenseItemAttachmentsResourceQueryParams as bg, ExpenseItemsResource as bh, type ExpenseItemsResourceQueryParams as bi, ExpenseReportsResource as bj, type ExpenseReportsResourceQueryParams as bk, HolidaySetsResource as bl, type HolidaySetsResourceQueryParams as bm, HolidaysResource as bn, type HolidaysResourceQueryParams as bo, HttpClient as bp, IDEMPOTENT_METHODS as bq, InMemoryCircuitBreakerStore as br, InMemoryCooldownStore as bs, InventoryProductsResource as bt, type InventoryProductsResourceQueryParams as bu, InvoicesResource as bv, type InvoicesResourceQueryParams as bw, type Logger as bx, MAX_PAGES as by, ModulesResource as bz, type AutotaskErrorOptions as c, type SurveysResourceQueryParams as c$, type ProfitabilityRevenueByType as c0, ProjectChargesResource as c1, type ProjectChargesResourceQueryParams as c2, ProjectNotesResource as c3, type ProjectNotesResourceQueryParams as c4, ProjectsResource as c5, type ProjectsResourceQueryParams as c6, PurchaseApprovalsResource as c7, type PurchaseApprovalsResourceQueryParams as c8, PurchaseOrderItemReceivingResource as c9, ResourcesResource as cA, type ResourcesResourceQueryParams as cB, RolesResource as cC, type RolesResourceQueryParams as cD, ServiceCallTaskResourcesResource as cE, type ServiceCallTaskResourcesResourceQueryParams as cF, ServiceCallTasksResource as cG, type ServiceCallTasksResourceQueryParams as cH, ServiceCallTicketResourcesResource as cI, type ServiceCallTicketResourcesResourceQueryParams as cJ, ServiceCallTicketsResource as cK, type ServiceCallTicketsResourceQueryParams as cL, ServiceCallsResource as cM, type ServiceCallsResourceQueryParams as cN, ServiceLevelAgreementResultsResource as cO, type ServiceLevelAgreementResultsResourceQueryParams as cP, ServicesResource as cQ, type ServicesResourceQueryParams as cR, SkillsResource as cS, type SkillsResourceQueryParams as cT, SubscriptionPeriodsResource as cU, type SubscriptionPeriodsResourceQueryParams as cV, SubscriptionsResource as cW, type SubscriptionsResourceQueryParams as cX, SurveyResultsResource as cY, type SurveyResultsResourceQueryParams as cZ, SurveysResource as c_, type PurchaseOrderItemReceivingResourceQueryParams as ca, PurchaseOrderItemsResource as cb, type PurchaseOrderItemsResourceQueryParams as cc, PurchaseOrdersResource as cd, type PurchaseOrdersResourceQueryParams as ce, QuoteItemsResource as cf, type QuoteItemsResourceQueryParams as cg, QuoteLocationsResource as ch, type QuoteLocationsResourceQueryParams as ci, QuoteTemplatesResource as cj, type QuoteTemplatesResourceQueryParams as ck, QuotesResource as cl, type QuotesResourceQueryParams as cm, REDACTED as cn, ResourceRoleQueuesResource as co, type ResourceRoleQueuesResourceQueryParams as cp, ResourceRolesResource as cq, type ResourceRolesResourceQueryParams as cr, ResourceSkillsResource as cs, type ResourceSkillsResourceQueryParams as ct, ResourceTimeOffAdditionalResource as cu, type ResourceTimeOffAdditionalResourceQueryParams as cv, ResourceTimeOffApproversResource as cw, type ResourceTimeOffApproversResourceQueryParams as cx, ResourceTimeOffBalancesResource as cy, type ResourceTimeOffBalancesResourceQueryParams as cz, type RequestOptions as d, isBreakerFailure as d$, TagAliasesResource as d0, type TagAliasesResourceQueryParams as d1, TagGroupsResource as d2, type TagGroupsResourceQueryParams as d3, TagsResource as d4, type TagsResourceQueryParams as d5, TaskSecondaryResourcesResource as d6, type TaskSecondaryResourcesResourceQueryParams as d7, TasksResource as d8, type TasksResourceQueryParams as d9, TicketNotesResource as dA, type TicketNotesResourceQueryParams as dB, TicketSecondaryResourcesResource as dC, type TicketSecondaryResourcesResourceQueryParams as dD, TicketWebhooksResource as dE, type TicketWebhooksResourceQueryParams as dF, TicketsResource as dG, type TicketsResourceQueryParams as dH, TimeEntriesResource as dI, type TimeEntriesResourceQueryParams as dJ, TimeEntryAttachmentsResource as dK, type TimeEntryAttachmentsResourceQueryParams as dL, TimeOffRequestsResource as dM, type TimeOffRequestsResourceQueryParams as dN, VersionInformationResource as dO, VersionResource as dP, ZONES as dQ, ZONE_CATALOG as dR, ZoneInformationResource as dS, buildBreakerKey as dT, buildTenantKey as dU, clampPageSize as dV, collectAll as dW, cooldownDurationMs as dX, defaultCircuitBreakerStore as dY, defaultCooldownStore as dZ, isAutotaskError as d_, ThresholdInformationResource as da, TicketAdditionalConfigurationItemsResource as db, type TicketAdditionalConfigurationItemsResourceQueryParams as dc, TicketAdditionalContactsResource as dd, type TicketAdditionalContactsResourceQueryParams as de, TicketAttachmentsResource as df, type TicketAttachmentsResourceQueryParams as dg, TicketCategoriesResource as dh, type TicketCategoriesResourceQueryParams as di, TicketCategoryFieldDefaultsResource as dj, type TicketCategoryFieldDefaultsResourceQueryParams as dk, TicketChangeRequestApprovalsResource as dl, type TicketChangeRequestApprovalsResourceQueryParams as dm, TicketChargesResource as dn, type TicketChargesResourceQueryParams as dp, TicketChecklistItemsResource as dq, type TicketChecklistItemsResourceQueryParams as dr, TicketChecklistLibrariesResource as ds, type TicketChecklistLibrariesResourceQueryParams as dt, TicketHistoryResource as du, type TicketHistoryResourceQueryParams as dv, TicketNoteAttachmentsResource as dw, type TicketNoteAttachmentsResourceQueryParams as dx, TicketNoteWebhooksResource as dy, type TicketNoteWebhooksResourceQueryParams as dz, AGENT_PROFILE as e, isCredentialHeaderName as e0, paginate as e1, paginateItems as e2, redactRecord as e3, resetDefaultCircuitBreakerStore as e4, resetDefaultCooldownStore as e5, resolveBaseUrl as e6, toArray as e7, totalPagesFor as e8, zoneUrl as e9, type BlindSurfaceInfo as ea, type RelationshipResource as eb, type BlindSurfaceInventory as ec, type BlindSurfaceRow as ed, type CreateBlockerKind as ee, type CreateGuidanceReport as ef, type FieldCacheKind as eg, FIELD_CACHE_KINDS as eh, AppointmentsResource as f, type AppointmentsResourceQueryParams as g, AuthenticateResource as h, AutotaskConfigError as i, type BillingCodesResourceQueryParams as j, BillingItemsResource as k, type BillingItemsResourceQueryParams as l, ChangeRequestLinksResource as m, type ChangeRequestLinksResourceQueryParams as n, ChecklistLibrariesResource as o, type ChecklistLibrariesResourceQueryParams as p, ChecklistLibraryChecklistItemsResource as q, type ChecklistLibraryChecklistItemsResourceQueryParams as r, type CircuitBreakerState as s, type CircuitBreakerStore as t, ClassificationIconsResource as u, type ClassificationIconsResourceQueryParams as v, CompaniesResource as w, type CompaniesResourceQueryParams as x, CompanyAlertsResource as y, type CompanyAlertsResourceQueryParams as z };
|
|
9362
|
+
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BillingCodesResource as B, CREDENTIAL_HEADER_NAMES as C, type CompaniesResourceQueryParams as D, CompanyAlertsResource as E, type CompanyAlertsResourceQueryParams as F, CompanyLocationsResource as G, type CompanyLocationsResourceQueryParams as H, CompanyNotesResource as I, type CompanyNotesResourceQueryParams as J, CompanySiteConfigurationsResource as K, type CompanySiteConfigurationsResourceQueryParams as L, CompanyWebhooksResource as M, type CompanyWebhooksResourceQueryParams as N, type ConfigProfile as O, ConfigurationItemBillingProductAssociationsResource as P, type ConfigurationItemBillingProductAssociationsResourceQueryParams as Q, ReadCache as R, ConfigurationItemCategoriesResource as S, type ConfigurationItemCategoriesResourceQueryParams as T, ConfigurationItemCategoryUdfAssociationsResource as U, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as V, ConfigurationItemDnsRecordsResource as W, type ConfigurationItemDnsRecordsResourceQueryParams as X, ConfigurationItemNotesResource as Y, type ZoneName as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type CostRateResolution 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, ContactGroupContactsResource as a9, type ContractMilestonesResourceQueryParams as aA, ContractNotesResource as aB, type ContractNotesResourceQueryParams as aC, ContractRatesResource as aD, type ContractRatesResourceQueryParams as aE, ContractRetainersResource as aF, type ContractRetainersResourceQueryParams as aG, ContractRoleCostsResource as aH, type ContractRoleCostsResourceQueryParams as aI, ContractServiceAdjustmentsResource as aJ, type ContractServiceAdjustmentsResourceQueryParams as aK, ContractServiceBundleAdjustmentsResource as aL, type ContractServiceBundleAdjustmentsResourceQueryParams as aM, ContractServiceBundleUnitsResource as aN, type ContractServiceBundleUnitsResourceQueryParams as aO, ContractServiceBundlesResource as aP, type ContractServiceBundlesResourceQueryParams as aQ, ContractServiceUnitsResource as aR, type ContractServiceUnitsResourceQueryParams as aS, ContractServicesResource as aT, type ContractServicesResourceQueryParams as aU, ContractTicketPurchasesResource as aV, type ContractTicketPurchasesResourceQueryParams as aW, type ContractsProfitabilityResult as aX, ContractsResource as aY, type ContractsResourceQueryParams as aZ, type CooldownStore as a_, type ContactGroupContactsResourceQueryParams as aa, ContactGroupsResource as ab, type ContactGroupsResourceQueryParams as ac, ContactWebhooksResource as ad, type ContactWebhooksResourceQueryParams as ae, ContactsResource as af, type ContactsResourceQueryParams as ag, ContractBillingRulesResource as ah, type ContractBillingRulesResourceQueryParams as ai, ContractBlockHourFactorsResource as aj, type ContractBlockHourFactorsResourceQueryParams as ak, ContractBlocksResource as al, type ContractBlocksResourceQueryParams as am, ContractChargesResource as an, type ContractChargesResourceQueryParams as ao, ContractExclusionBillingCodesResource as ap, type ContractExclusionBillingCodesResourceQueryParams as aq, ContractExclusionRolesResource as ar, type ContractExclusionRolesResourceQueryParams as as, ContractExclusionSetExcludedRolesResource as at, type ContractExclusionSetExcludedRolesResourceQueryParams as au, ContractExclusionSetExcludedWorkTypesResource as av, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as aw, ContractExclusionSetsResource as ax, type ContractExclusionSetsResourceQueryParams as ay, ContractMilestonesResource as az, AutotaskError as b, type ProductVendorsResourceQueryParams as b$, CountriesResource as b0, type CountriesResourceQueryParams as b1, CurrenciesResource as b2, type CurrenciesResourceQueryParams as b3, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b4, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b5, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b6, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b7, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b8, DEFAULT_COOLDOWN_DEFAULT_MS as b9, InvoiceTemplatesResource as bA, type InvoiceTemplatesResourceQueryParams as bB, InvoicesResource as bC, type InvoicesResourceQueryParams as bD, type Logger as bE, MAX_PAGES as bF, ModulesResource as bG, NoopLogger as bH, NotificationHistoryResource as bI, type NotificationHistoryResourceQueryParams as bJ, OpportunitiesResource as bK, type OpportunitiesResourceQueryParams as bL, OpportunityAttachmentsResource as bM, type OpportunityAttachmentsResourceQueryParams as bN, OpportunityCategoriesResource as bO, type OpportunityCategoriesResourceQueryParams as bP, OrganizationalLevel1sResource as bQ, type OrganizationalLevel1sResourceQueryParams as bR, OrganizationalLevel2sResource as bS, type OrganizationalLevel2sResourceQueryParams as bT, OrganizationalLevelAssociationsResource as bU, type OrganizationalLevelAssociationsResourceQueryParams as bV, type PageFetcher as bW, type PaginateOptions as bX, PhasesResource as bY, type PhasesResourceQueryParams as bZ, ProductVendorsResource as b_, DEFAULT_COOLDOWN_MAX_ENTRIES as ba, DEFAULT_COOLDOWN_MAX_MS as bb, DEFAULT_ZONE as bc, DepartmentsResource as bd, type DepartmentsResourceQueryParams as be, DomainRegistrarsResource as bf, type DomainRegistrarsResourceQueryParams as bg, EntityInformationResource as bh, type ErrorCategory as bi, type ErrorIdRef as bj, ExpenseItemAttachmentsResource as bk, type ExpenseItemAttachmentsResourceQueryParams as bl, ExpenseItemsResource as bm, type ExpenseItemsResourceQueryParams as bn, ExpenseReportsResource as bo, type ExpenseReportsResourceQueryParams as bp, HolidaySetsResource as bq, type HolidaySetsResourceQueryParams as br, HolidaysResource as bs, type HolidaysResourceQueryParams as bt, HttpClient as bu, IDEMPOTENT_METHODS as bv, InMemoryCircuitBreakerStore as bw, InMemoryCooldownStore as bx, InventoryProductsResource as by, type InventoryProductsResourceQueryParams as bz, type AutotaskErrorOptions as c, type ServiceCallTicketsResourceQueryParams as c$, ProductsResource as c0, type ProductsResourceQueryParams as c1, type ProfitRateSource as c2, type ProfitabilityActivityCategory as c3, type ProfitabilityDataQualityWarning as c4, type ProfitabilityHighestCostTicket as c5, type ProfitabilityLabourCostMethod as c6, type ProfitabilityMiscoding as c7, type ProfitabilityMonthlyRow as c8, type ProfitabilityOpenRenewalItem as c9, READ_CACHE_MAX_ENTRIES as cA, REDACTED as cB, ResourceRoleQueuesResource as cC, type ResourceRoleQueuesResourceQueryParams as cD, ResourceRolesResource as cE, type ResourceRolesResourceQueryParams as cF, ResourceSkillsResource as cG, type ResourceSkillsResourceQueryParams as cH, ResourceTimeOffAdditionalResource as cI, type ResourceTimeOffAdditionalResourceQueryParams as cJ, ResourceTimeOffApproversResource as cK, type ResourceTimeOffApproversResourceQueryParams as cL, ResourceTimeOffBalancesResource as cM, type ResourceTimeOffBalancesResourceQueryParams as cN, ResourcesResource as cO, type ResourcesResourceQueryParams as cP, RolesResource as cQ, type RolesResourceQueryParams as cR, SalesOrdersResource as cS, type SalesOrdersResourceQueryParams as cT, ServiceCallTaskResourcesResource as cU, type ServiceCallTaskResourcesResourceQueryParams as cV, ServiceCallTasksResource as cW, type ServiceCallTasksResourceQueryParams as cX, ServiceCallTicketResourcesResource as cY, type ServiceCallTicketResourcesResourceQueryParams as cZ, ServiceCallTicketsResource as c_, type ProfitabilityOptions as ca, type ProfitabilityPart as cb, type ProfitabilityPartDigest as cc, type ProfitabilityRevenueByType as cd, ProjectChargesResource as ce, type ProjectChargesResourceQueryParams as cf, ProjectNotesResource as cg, type ProjectNotesResourceQueryParams as ch, ProjectsResource as ci, type ProjectsResourceQueryParams as cj, PurchaseApprovalsResource as ck, type PurchaseApprovalsResourceQueryParams as cl, PurchaseOrderItemReceivingResource as cm, type PurchaseOrderItemReceivingResourceQueryParams as cn, PurchaseOrderItemsResource as co, type PurchaseOrderItemsResourceQueryParams as cp, PurchaseOrdersResource as cq, type PurchaseOrdersResourceQueryParams as cr, QuoteItemsResource as cs, type QuoteItemsResourceQueryParams as ct, QuoteLocationsResource as cu, type QuoteLocationsResourceQueryParams as cv, QuoteTemplatesResource as cw, type QuoteTemplatesResourceQueryParams as cx, QuotesResource as cy, type QuotesResourceQueryParams as cz, type ResolvedAutotaskConfig as d, type TimeEntriesResourceQueryParams as d$, ServiceCallsResource as d0, type ServiceCallsResourceQueryParams as d1, ServiceLevelAgreementResultsResource as d2, type ServiceLevelAgreementResultsResourceQueryParams as d3, ServicesResource as d4, type ServicesResourceQueryParams as d5, SkillsResource as d6, type SkillsResourceQueryParams as d7, SubscriptionPeriodsResource as d8, type SubscriptionPeriodsResourceQueryParams as d9, TicketCategoriesResource as dA, type TicketCategoriesResourceQueryParams as dB, TicketCategoryFieldDefaultsResource as dC, type TicketCategoryFieldDefaultsResourceQueryParams as dD, TicketChangeRequestApprovalsResource as dE, type TicketChangeRequestApprovalsResourceQueryParams as dF, TicketChargesResource as dG, type TicketChargesResourceQueryParams as dH, TicketChecklistItemsResource as dI, type TicketChecklistItemsResourceQueryParams as dJ, TicketChecklistLibrariesResource as dK, type TicketChecklistLibrariesResourceQueryParams as dL, TicketHistoryResource as dM, type TicketHistoryResourceQueryParams as dN, TicketNoteAttachmentsResource as dO, type TicketNoteAttachmentsResourceQueryParams as dP, TicketNoteWebhooksResource as dQ, type TicketNoteWebhooksResourceQueryParams as dR, TicketNotesResource as dS, type TicketNotesResourceQueryParams as dT, TicketSecondaryResourcesResource as dU, type TicketSecondaryResourcesResourceQueryParams as dV, TicketWebhooksResource as dW, type TicketWebhooksResourceQueryParams as dX, TicketsResource as dY, type TicketsResourceQueryParams as dZ, TimeEntriesResource as d_, SubscriptionsResource as da, type SubscriptionsResourceQueryParams as db, SurveyResultsResource as dc, type SurveyResultsResourceQueryParams as dd, SurveysResource as de, type SurveysResourceQueryParams as df, TagAliasesResource as dg, type TagAliasesResourceQueryParams as dh, TagGroupsResource as di, type TagGroupsResourceQueryParams as dj, TagsResource as dk, type TagsResourceQueryParams as dl, TaskSecondaryResourcesResource as dm, type TaskSecondaryResourcesResourceQueryParams as dn, TasksResource as dp, type TasksResourceQueryParams as dq, TaxRegionsResource as dr, type TaxRegionsResourceQueryParams as ds, ThresholdInformationResource as dt, TicketAdditionalConfigurationItemsResource as du, type TicketAdditionalConfigurationItemsResourceQueryParams as dv, TicketAdditionalContactsResource as dw, type TicketAdditionalContactsResourceQueryParams as dx, TicketAttachmentsResource as dy, type TicketAttachmentsResourceQueryParams as dz, type RequestOptions as e, TimeEntryAttachmentsResource as e0, type TimeEntryAttachmentsResourceQueryParams as e1, TimeOffRequestsResource as e2, type TimeOffRequestsResourceQueryParams as e3, VersionInformationResource as e4, VersionResource as e5, ZONES as e6, ZONE_CATALOG as e7, ZoneInformationResource as e8, buildBreakerKey as e9, FIELD_CACHE_KINDS as eA, buildTenantKey as ea, clampPageSize as eb, collectAll as ec, cooldownDurationMs as ed, defaultCircuitBreakerStore as ee, defaultCooldownStore as ef, isAutotaskError as eg, isBreakerFailure as eh, isCredentialHeaderName as ei, paginate as ej, paginateItems as ek, redactRecord as el, resetDefaultCircuitBreakerStore as em, resetDefaultCooldownStore as en, resolveBaseUrl as eo, toArray as ep, totalPagesFor as eq, zoneUrl as er, type BlindSurfaceInfo as es, type RelationshipResource as et, type BlindSurfaceInventory as eu, type BlindSurfaceRow as ev, type CreateGuidanceRow as ew, type CreateBlockerKind as ex, type CreateGuidanceReport as ey, type FieldCacheKind as ez, AGENT_PROFILE as f, AppointmentsResource as g, type AppointmentsResourceQueryParams as h, AuthenticateResource as i, AutotaskConfigError as j, type BillingCodesResourceQueryParams as k, BillingItemApprovalLevelsResource as l, type BillingItemApprovalLevelsResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, ChangeRequestLinksResource as p, type ChangeRequestLinksResourceQueryParams as q, ChecklistLibrariesResource as r, type ChecklistLibrariesResourceQueryParams as s, ChecklistLibraryChecklistItemsResource as t, type ChecklistLibraryChecklistItemsResourceQueryParams as u, type CircuitBreakerState as v, type CircuitBreakerStore as w, ClassificationIconsResource as x, type ClassificationIconsResourceQueryParams as y, CompaniesResource as z };
|