node-autotask 0.83.0 → 0.84.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 +10 -0
- package/MCP_TOOL_CATALOG.json +321 -9
- package/README.md +1 -1
- package/capabilities.json +1570 -209
- package/dist/capabilities-data.js +2294 -933
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-QEMBBAF5.cjs → chunk-36RXJUSA.cjs} +199 -199
- package/dist/{chunk-C2AFRW5M.cjs → chunk-4NLWSHCB.cjs} +359 -88
- package/dist/{chunk-CV56RIGS.js → chunk-AWK7FIZD.js} +354 -83
- package/dist/{chunk-DBEAS3IR.js → chunk-HASLVFC7.js} +3 -3
- package/dist/{chunk-QCA5R7QF.cjs → chunk-MVGGHMOB.cjs} +3 -3
- package/dist/{chunk-HQJLIRXW.js → chunk-RWBOJ5WK.js} +5 -2
- package/dist/{chunk-5AHEJCSP.cjs → chunk-SNILYCAV.cjs} +33 -30
- package/dist/{chunk-ZKAJVHHZ.js → chunk-Z56J7TFC.js} +2 -2
- package/dist/{index-8Hg6dytT.d.cts → index-BZItfp_H.d.cts} +64 -1
- package/dist/{index-8Hg6dytT.d.ts → index-BZItfp_H.d.ts} +64 -1
- package/dist/{index-DxESlIIg.d.cts → index-DdvYwR2w.d.cts} +93 -84
- package/dist/{index-nXhYAQOf.d.ts → index-f1c_EdAt.d.ts} +93 -84
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +32 -20
- package/docs/RELEASING.md +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,81 @@
|
|
|
1
|
-
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNoteAttachment, ct as ContractNoteAttachmentCreate, cu as ContractNoteAttachmentUpdate, cv as ContractNote, cw as ContractNoteCreate, cx as ContractNoteUpdate, cy as ContractRateCreate, cz as ContractRateUpdate, cA as ContractRetainers, cB as ContractRetainersCreate, cC as ContractRetainersUpdate, cD as ContractRoleCostsCreate, cE as ContractRoleCostsUpdate, cF as ContractServiceAdjustment, cG as ContractServiceAdjustmentCreate, cH as ContractServiceAdjustmentUpdate, cI as ContractServiceBundleAdjustment, cJ as ContractServiceBundleAdjustmentCreate, cK as ContractServiceBundleAdjustmentUpdate, cL as ContractServiceBundle, cM as ContractServiceBundleCreate, cN as ContractServiceBundleUpdate, cO as ContractServiceBundleUnit, cP as ContractServiceBundleUnitCreate, cQ as ContractServiceBundleUnitUpdate, cR as ContractServiceCreate, cS as ContractServiceUpdate, cT as ContractServiceUnitCreate, cU as ContractServiceUnitUpdate, cV as ContractTicketPurchases, cW as ContractTicketPurchasesCreate, cX as ContractTicketPurchasesUpdate, cY as Country, cZ as CountryCreate, c_ as CountryUpdate, c$ as Currency, d0 as CurrencyCreate, d1 as CurrencyUpdate, d2 as Department, d3 as DepartmentCreate, d4 as DepartmentUpdate, d5 as DomainRegistrar, d6 as DomainRegistrarCreate, d7 as DomainRegistrarUpdate, d8 as ExpenseItemAttachment, d9 as ExpenseItemAttachmentCreate, da as ExpenseItemAttachmentUpdate, db as ExpenseItemCreate, dc as ExpenseItemUpdate, dd as ExpenseReportAttachment, de as ExpenseReportAttachmentCreate, df as ExpenseReportAttachmentUpdate, dg as ExpenseReport, dh as ExpenseReportCreate, di as ExpenseReportUpdate, dj as Holiday, dk as HolidayCreate, dl as HolidayUpdate, dm as HolidaySet, dn as HolidaySetCreate, dp as HolidaySetUpdate, dq as InvoiceTemplate, dr as InvoiceTemplateCreate, ds as InvoiceTemplateUpdate, dt as NotificationHistory, du as NotificationHistoryCreate, dv as NotificationHistoryUpdate, dw as Opportunity, dx as OpportunityCreate, dy as OpportunityUpdate, dz as OpportunityAttachment, dA as OpportunityAttachmentCreate, dB as OpportunityAttachmentUpdate, dC as OpportunityCategory, dD as OpportunityCategoryCreate, dE as OpportunityCategoryUpdate, dF as OrganizationalLevel1Create, dG as OrganizationalLevel1Update, dH as OrganizationalLevel2Create, dI as OrganizationalLevel2Update, dJ as OrganizationalLevelAssociationCreate, dK as OrganizationalLevelAssociationUpdate, dL as Phase, dM as PhaseCreate, dN as PhaseUpdate, dO as Product, dP as ProductCreate, dQ as ProductUpdate, dR as ProductVendors, dS as ProductVendorsCreate, dT as ProductVendorsUpdate, dU as ProjectAttachment, dV as ProjectAttachmentCreate, dW as ProjectAttachmentUpdate, dX as ProjectCharge, dY as ProjectChargeCreate, dZ as ProjectChargeUpdate, d_ as ProjectNoteAttachment, d$ as ProjectNoteAttachmentCreate, e0 as ProjectNoteAttachmentUpdate, e1 as ProjectNote, e2 as ProjectNoteCreate, e3 as ProjectNoteUpdate, e4 as ProjectCreate, e5 as ProjectUpdate, e6 as ProjectContext, e7 as PurchaseApprovals, e8 as PurchaseApprovalsCreate, e9 as PurchaseApprovalsUpdate, ea as PurchaseOrderItemReceiving, eb as PurchaseOrderItemReceivingCreate, ec as PurchaseOrderItemReceivingUpdate, ed as PurchaseOrderItems, ee as PurchaseOrderItemsCreate, ef as PurchaseOrderItemsUpdate, eg as PurchaseOrders, eh as PurchaseOrdersCreate, ei as PurchaseOrdersUpdate, ej as QuoteItemCreate, ek as QuoteItemUpdate, el as QuoteLocation, em as QuoteLocationCreate, en as QuoteLocationUpdate, eo as QuoteTemplate, ep as QuoteTemplateCreate, eq as QuoteTemplateUpdate, er as ResourceAttachment, es as ResourceAttachmentCreate, et as ResourceAttachmentUpdate, eu as ResourceRoleQueue, ev as ResourceRoleQueueCreate, ew as ResourceRoleQueueUpdate, ex as ResourceRole, ey as ResourceRoleCreate, ez as ResourceRoleUpdate, eA as ResourceSkill, eB as ResourceSkillCreate, eC as ResourceSkillUpdate, eD as ResourceTimeOffApprover, eE as ResourceTimeOffApproverCreate, eF as ResourceTimeOffApproverUpdate, eG as Role, eH as RoleCreate, eI as RoleUpdate, eJ as SalesOrderAttachment, eK as SalesOrderAttachmentCreate, eL as SalesOrderAttachmentUpdate, eM as SalesOrder, eN as SalesOrderCreate, eO as SalesOrderUpdate, eP as ServiceCallTaskResourceCreate, eQ as ServiceCallTaskResourceUpdate, eR as ServiceCallTaskCreate, eS as ServiceCallTaskUpdate, eT as ServiceCallTicketResource, eU as ServiceCallTicketResourceCreate, eV as ServiceCallTicketResourceUpdate, eW as ServiceCallTicketCreate, eX as ServiceCallTicketUpdate, eY as ServiceLevelAgreementResults, eZ as ServiceLevelAgreementResultsCreate, e_ as ServiceLevelAgreementResultsUpdate, e$ as Service, f0 as ServiceCreate, f1 as ServiceUpdate, f2 as Skill, f3 as SkillCreate, f4 as SkillUpdate, f5 as SubscriptionPeriod, f6 as SubscriptionPeriodCreate, f7 as SubscriptionPeriodUpdate, f8 as SubscriptionCreate, f9 as SubscriptionUpdate, fa as SurveyResults, fb as SurveyResultsCreate, fc as SurveyResultsUpdate, fd as Survey, fe as SurveyCreate, ff as SurveyUpdate, fg as TagAlias, fh as TagAliasCreate, fi as TagAliasUpdate, fj as TagGroup, fk as TagGroupCreate, fl as TagGroupUpdate, fm as Tag, fn as TagCreate, fo as TagUpdate, fp as TaskAttachment, fq as TaskAttachmentCreate, fr as TaskAttachmentUpdate, fs as TaskNoteAttachment, ft as TaskNoteAttachmentCreate, fu as TaskNoteAttachmentUpdate, fv as TaskNote, fw as TaskNoteCreate, fx as TaskNoteUpdate, fy as TaskPredecessor, fz as TaskPredecessorCreate, fA as TaskPredecessorUpdate, fB as Task, fC as TaskCreate, fD as TaskUpdate, fE as TaskSecondaryResource, fF as TaskSecondaryResourceCreate, fG as TaskSecondaryResourceUpdate, fH as TaxRegion, fI as TaxRegionCreate, fJ as TaxRegionUpdate, fK as TicketAdditionalConfigurationItem, fL as TicketAdditionalConfigurationItemCreate, fM as TicketAdditionalConfigurationItemUpdate, fN as TicketAdditionalContact, fO as TicketAdditionalContactCreate, fP as TicketAdditionalContactUpdate, fQ as TicketAttachment, fR as TicketAttachmentCreate, fS as TicketAttachmentUpdate, fT as TicketCategory, fU as TicketCategoryCreate, fV as TicketCategoryUpdate, fW as TicketCategoryFieldDefault, fX as TicketCategoryFieldDefaultCreate, fY as TicketCategoryFieldDefaultUpdate, fZ as TicketChangeRequestApproval, f_ as TicketChangeRequestApprovalCreate, f$ as TicketChangeRequestApprovalUpdate, g0 as TicketChecklistItem, g1 as TicketChecklistItemCreate, g2 as TicketChecklistItemUpdate, g3 as TicketChecklistLibrary, g4 as TicketChecklistLibraryCreate, g5 as TicketChecklistLibraryUpdate, g6 as TicketHistory, g7 as TicketHistoryCreate, g8 as TicketHistoryUpdate, g9 as TicketNoteAttachment, ga as TicketNoteAttachmentCreate, gb as TicketNoteAttachmentUpdate, gc as TicketNote, gd as TicketNoteCreate, ge as TicketNoteUpdate, gf as TicketNoteWebhook, gg as TicketNoteWebhookCreate, gh as TicketNoteWebhookUpdate, gi as TicketSecondaryResource, gj as TicketSecondaryResourceCreate, gk as TicketSecondaryResourceUpdate, gl as TicketWebhook, gm as TicketWebhookCreate, gn as TicketWebhookUpdate, go as TimeEntryAttachment, gp as TimeEntryAttachmentCreate, gq as TimeEntryAttachmentUpdate, gr as UserDefinedFieldDefinition, gs as UserDefinedFieldDefinitionCreate, gt as UserDefinedFieldDefinitionUpdate, gu as UserDefinedFieldListItem, gv as UserDefinedFieldListItemCreate, gw as UserDefinedFieldListItemUpdate, Q as QueryParams, gx as Resolution, gy as Page, gz as EntityInformationModel, gA as FieldInformationModel, gB as Field, gC as FilterCondition, gD as CompositeNameTable, gE as CompositeContextOptions } from './index-8Hg6dytT.cjs';
|
|
1
|
+
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNoteAttachment, ct as ContractNoteAttachmentCreate, cu as ContractNoteAttachmentUpdate, cv as ContractNote, cw as ContractNoteCreate, cx as ContractNoteUpdate, cy as ContractRateCreate, cz as ContractRateUpdate, cA as ContractRetainers, cB as ContractRetainersCreate, cC as ContractRetainersUpdate, cD as ContractRoleCostsCreate, cE as ContractRoleCostsUpdate, cF as ContractServiceAdjustment, cG as ContractServiceAdjustmentCreate, cH as ContractServiceAdjustmentUpdate, cI as ContractServiceBundleAdjustment, cJ as ContractServiceBundleAdjustmentCreate, cK as ContractServiceBundleAdjustmentUpdate, cL as ContractServiceBundle, cM as ContractServiceBundleCreate, cN as ContractServiceBundleUpdate, cO as ContractServiceBundleUnit, cP as ContractServiceBundleUnitCreate, cQ as ContractServiceBundleUnitUpdate, cR as ContractServiceCreate, cS as ContractServiceUpdate, cT as ContractServiceUnitCreate, cU as ContractServiceUnitUpdate, cV as ContractTicketPurchases, cW as ContractTicketPurchasesCreate, cX as ContractTicketPurchasesUpdate, cY as Country, cZ as CountryCreate, c_ as CountryUpdate, c$ as Currency, d0 as CurrencyCreate, d1 as CurrencyUpdate, Q as QueryParams, d2 as DeletedTaskActivityLog, d3 as DeletedTicketActivityLog, d4 as DeletedTicketLog, d5 as Department, d6 as DepartmentCreate, d7 as DepartmentUpdate, d8 as DomainRegistrar, d9 as DomainRegistrarCreate, da as DomainRegistrarUpdate, db as ExpenseItemAttachment, dc as ExpenseItemAttachmentCreate, dd as ExpenseItemAttachmentUpdate, de as ExpenseItemCreate, df as ExpenseItemUpdate, dg as ExpenseReportAttachment, dh as ExpenseReportAttachmentCreate, di as ExpenseReportAttachmentUpdate, dj as ExpenseReport, dk as ExpenseReportCreate, dl as ExpenseReportUpdate, dm as Holiday, dn as HolidayCreate, dp as HolidayUpdate, dq as HolidaySet, dr as HolidaySetCreate, ds as HolidaySetUpdate, dt as InvoiceTemplate, du as InvoiceTemplateCreate, dv as InvoiceTemplateUpdate, dw as NotificationHistory, dx as NotificationHistoryCreate, dy as NotificationHistoryUpdate, dz as Opportunity, dA as OpportunityCreate, dB as OpportunityUpdate, dC as OpportunityAttachment, dD as OpportunityAttachmentCreate, dE as OpportunityAttachmentUpdate, dF as OpportunityCategory, dG as OpportunityCategoryCreate, dH as OpportunityCategoryUpdate, dI as OrganizationalLevel1Create, dJ as OrganizationalLevel1Update, dK as OrganizationalLevel2Create, dL as OrganizationalLevel2Update, dM as OrganizationalLevelAssociationCreate, dN as OrganizationalLevelAssociationUpdate, dO as Phase, dP as PhaseCreate, dQ as PhaseUpdate, dR as Product, dS as ProductCreate, dT as ProductUpdate, dU as ProductVendors, dV as ProductVendorsCreate, dW as ProductVendorsUpdate, dX as ProjectAttachment, dY as ProjectAttachmentCreate, dZ as ProjectAttachmentUpdate, d_ as ProjectCharge, d$ as ProjectChargeCreate, e0 as ProjectChargeUpdate, e1 as ProjectNoteAttachment, e2 as ProjectNoteAttachmentCreate, e3 as ProjectNoteAttachmentUpdate, e4 as ProjectNote, e5 as ProjectNoteCreate, e6 as ProjectNoteUpdate, e7 as ProjectCreate, e8 as ProjectUpdate, e9 as ProjectContext, ea as PurchaseApprovals, eb as PurchaseApprovalsCreate, ec as PurchaseApprovalsUpdate, ed as PurchaseOrderItemReceiving, ee as PurchaseOrderItemReceivingCreate, ef as PurchaseOrderItemReceivingUpdate, eg as PurchaseOrderItems, eh as PurchaseOrderItemsCreate, ei as PurchaseOrderItemsUpdate, ej as PurchaseOrders, ek as PurchaseOrdersCreate, el as PurchaseOrdersUpdate, em as QuoteItemCreate, en as QuoteItemUpdate, eo as QuoteLocation, ep as QuoteLocationCreate, eq as QuoteLocationUpdate, er as QuoteTemplate, es as QuoteTemplateCreate, et as QuoteTemplateUpdate, eu as ResourceAttachment, ev as ResourceAttachmentCreate, ew as ResourceAttachmentUpdate, ex as ResourceRoleQueue, ey as ResourceRoleQueueCreate, ez as ResourceRoleQueueUpdate, eA as ResourceRole, eB as ResourceRoleCreate, eC as ResourceRoleUpdate, eD as ResourceSkill, eE as ResourceSkillCreate, eF as ResourceSkillUpdate, eG as ResourceTimeOffApprover, eH as ResourceTimeOffApproverCreate, eI as ResourceTimeOffApproverUpdate, eJ as Role, eK as RoleCreate, eL as RoleUpdate, eM as SalesOrderAttachment, eN as SalesOrderAttachmentCreate, eO as SalesOrderAttachmentUpdate, eP as SalesOrder, eQ as SalesOrderCreate, eR as SalesOrderUpdate, eS as ServiceCallTaskResourceCreate, eT as ServiceCallTaskResourceUpdate, eU as ServiceCallTaskCreate, eV as ServiceCallTaskUpdate, eW as ServiceCallTicketResource, eX as ServiceCallTicketResourceCreate, eY as ServiceCallTicketResourceUpdate, eZ as ServiceCallTicketCreate, e_ as ServiceCallTicketUpdate, e$ as ServiceLevelAgreementResults, f0 as ServiceLevelAgreementResultsCreate, f1 as ServiceLevelAgreementResultsUpdate, f2 as Service, f3 as ServiceCreate, f4 as ServiceUpdate, f5 as Skill, f6 as SkillCreate, f7 as SkillUpdate, f8 as SubscriptionPeriod, f9 as SubscriptionPeriodCreate, fa as SubscriptionPeriodUpdate, fb as SubscriptionCreate, fc as SubscriptionUpdate, fd as SurveyResults, fe as SurveyResultsCreate, ff as SurveyResultsUpdate, fg as Survey, fh as SurveyCreate, fi as SurveyUpdate, fj as TagAlias, fk as TagAliasCreate, fl as TagAliasUpdate, fm as TagGroup, fn as TagGroupCreate, fo as TagGroupUpdate, fp as Tag, fq as TagCreate, fr as TagUpdate, fs as TaskAttachment, ft as TaskAttachmentCreate, fu as TaskAttachmentUpdate, fv as TaskNoteAttachment, fw as TaskNoteAttachmentCreate, fx as TaskNoteAttachmentUpdate, fy as TaskNote, fz as TaskNoteCreate, fA as TaskNoteUpdate, fB as TaskPredecessor, fC as TaskPredecessorCreate, fD as TaskPredecessorUpdate, fE as Task, fF as TaskCreate, fG as TaskUpdate, fH as TaskSecondaryResource, fI as TaskSecondaryResourceCreate, fJ as TaskSecondaryResourceUpdate, fK as TaxRegion, fL as TaxRegionCreate, fM as TaxRegionUpdate, fN as TicketAdditionalConfigurationItem, fO as TicketAdditionalConfigurationItemCreate, fP as TicketAdditionalConfigurationItemUpdate, fQ as TicketAdditionalContact, fR as TicketAdditionalContactCreate, fS as TicketAdditionalContactUpdate, fT as TicketAttachment, fU as TicketAttachmentCreate, fV as TicketAttachmentUpdate, fW as TicketCategory, fX as TicketCategoryCreate, fY as TicketCategoryUpdate, fZ as TicketCategoryFieldDefault, f_ as TicketCategoryFieldDefaultCreate, f$ as TicketCategoryFieldDefaultUpdate, g0 as TicketChangeRequestApproval, g1 as TicketChangeRequestApprovalCreate, g2 as TicketChangeRequestApprovalUpdate, g3 as TicketChecklistItem, g4 as TicketChecklistItemCreate, g5 as TicketChecklistItemUpdate, g6 as TicketChecklistLibrary, g7 as TicketChecklistLibraryCreate, g8 as TicketChecklistLibraryUpdate, g9 as TicketHistory, ga as TicketHistoryCreate, gb as TicketHistoryUpdate, gc as TicketNoteAttachment, gd as TicketNoteAttachmentCreate, ge as TicketNoteAttachmentUpdate, gf as TicketNote, gg as TicketNoteCreate, gh as TicketNoteUpdate, gi as TicketNoteWebhook, gj as TicketNoteWebhookCreate, gk as TicketNoteWebhookUpdate, gl as TicketSecondaryResource, gm as TicketSecondaryResourceCreate, gn as TicketSecondaryResourceUpdate, go as TicketWebhook, gp as TicketWebhookCreate, gq as TicketWebhookUpdate, gr as TimeEntryAttachment, gs as TimeEntryAttachmentCreate, gt as TimeEntryAttachmentUpdate, gu as UserDefinedFieldDefinition, gv as UserDefinedFieldDefinitionCreate, gw as UserDefinedFieldDefinitionUpdate, gx as UserDefinedFieldListItem, gy as UserDefinedFieldListItemCreate, gz as UserDefinedFieldListItemUpdate, gA as Resolution, gB as Page, gC as EntityInformationModel, gD as FieldInformationModel, gE as Field, gF as FilterCondition, gG as CompositeNameTable, gH as CompositeContextOptions } from './index-BZItfp_H.cjs';
|
|
2
2
|
import { L as Logger } from './logger-B1gYmFre.cjs';
|
|
3
3
|
|
|
4
|
+
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
5
|
+
interface RequestOptions {
|
|
6
|
+
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
7
|
+
/** Path after the base URL, already interpolated, e.g. '/V1.0/Companies/42'. */
|
|
8
|
+
path: string;
|
|
9
|
+
/** URLSearchParams-style params; null/undefined/'' values are omitted. */
|
|
10
|
+
query?: Record<string, unknown>;
|
|
11
|
+
/** JSON-encoded (application/json) when present. */
|
|
12
|
+
body?: unknown;
|
|
13
|
+
/** Extra headers (cannot override the SDK-owned auth names). */
|
|
14
|
+
headers?: Record<string, string>;
|
|
15
|
+
/** Registry operation name for error context. */
|
|
16
|
+
operation?: string;
|
|
17
|
+
/** Per-request timeout override (default: config.timeoutMs). */
|
|
18
|
+
timeoutMs?: number;
|
|
19
|
+
/**
|
|
20
|
+
* INTERNAL (SDK-only, never set by a caller on the transport directly):
|
|
21
|
+
* per-request retry-budget override (default: config.maxRetries). Carries
|
|
22
|
+
* the doctor preflight's fail-fast override (src/doctor.ts — retries off,
|
|
23
|
+
* shortened timeout) and the caller surfaces' per-call budget
|
|
24
|
+
* (InvokeOptions.maxRetries / MutationOpts.maxRetries, issue #105 — the
|
|
25
|
+
* resource layer threads it here; `0` = exactly one send). Does not change
|
|
26
|
+
* the transport chain order.
|
|
27
|
+
*/
|
|
28
|
+
maxRetries?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Maintenance-window wait override (default: config.maintenanceMaxWaitMs).
|
|
31
|
+
* `0` disables the wait for this call. Does not consume `maxRetries`.
|
|
32
|
+
*/
|
|
33
|
+
maintenanceMaxWaitMs?: number;
|
|
34
|
+
/** Maintenance poll override (default: config.maintenancePollMs). */
|
|
35
|
+
maintenancePollMs?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Issue #25: does this call expect a non-empty 2xx body? Default:
|
|
38
|
+
* `method !== 'DELETE'` (computed in `request`) — a blank 2xx on a
|
|
39
|
+
* non-DELETE throws the typed `EMPTY_RESPONSE` (a blank 200 from a proxy
|
|
40
|
+
* or maintenance edge is a transport fault, not "no data"); DELETE (and
|
|
41
|
+
* any explicit `expectBody: false`) keeps returning `undefined` (the
|
|
42
|
+
* vendor answers 204 / an empty body on deletes; the delete callers
|
|
43
|
+
* synthesize the result from the path id).
|
|
44
|
+
*/
|
|
45
|
+
expectBody?: boolean;
|
|
46
|
+
/** Caller abort signal, combined with the deadline; aborting throws `AutotaskAbortError` (never retried). */
|
|
47
|
+
signal?: AbortSignal;
|
|
48
|
+
/**
|
|
49
|
+
* Safe to retry even though the method is not GET (e.g. the `/query` POST
|
|
50
|
+
* reads; or a mutation whose payload is idempotent by construction — the
|
|
51
|
+
* issue #105 opt-back into the pre-#105 auto-retry). Default: by method —
|
|
52
|
+
* the 429 leg retries GET/PUT/DELETE (the pre-#105 rule, unchanged); the
|
|
53
|
+
* 5xx/network leg retries GET only (issue #105 — an unflagged mutation
|
|
54
|
+
* makes exactly one send there; a 429 on an unflagged POST/PATCH still
|
|
55
|
+
* surfaces at once, as before #105). Retry only: a flagged mutation still
|
|
56
|
+
* voids cached reads like any other write (only GET and `/query`
|
|
57
|
+
* reads skip the invalidation).
|
|
58
|
+
*/
|
|
59
|
+
idempotent?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* INTERNAL (SDK-only, never a caller surface): skip the INV-A1 response
|
|
62
|
+
* redaction for this one response. Used by the V2 partial-update merge
|
|
63
|
+
* read: the record's own current values round-trip back to the SAME
|
|
64
|
+
* vendor endpoint (the PUT response is `{ id }` — the caller never sees
|
|
65
|
+
* them, and the G10b request-body audit keeps request logging redacted).
|
|
66
|
+
* Redacting this read would put literal '[REDACTED]' markers into the
|
|
67
|
+
* merged PUT body (data corruption on live records).
|
|
68
|
+
*/
|
|
69
|
+
skipResponseRedaction?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* INTERNAL (SDK-only, never a caller surface): bypass the tenant 429
|
|
72
|
+
* cooldown gate for this one call. Used by `thresholdInformation.get()`
|
|
73
|
+
* so a throttled tenant can still read its own headroom (a 2xx from the
|
|
74
|
+
* call clears the gate; a 429 re-arms it).
|
|
75
|
+
*/
|
|
76
|
+
bypassCooldown?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
4
79
|
/**
|
|
5
80
|
* Relationship map + blind-surface stamps + the delete-boundary /
|
|
6
81
|
* marker-field channels — GENERATED by
|
|
@@ -32,7 +107,7 @@ import { L as Logger } from './logger-B1gYmFre.cjs';
|
|
|
32
107
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
33
108
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
34
109
|
*
|
|
35
|
-
* planHash:
|
|
110
|
+
* planHash: 5a5cfa013a7d398302f69e1c12e260ea29a89942aec743997be1f8cdf60a8df1
|
|
36
111
|
*/
|
|
37
112
|
|
|
38
113
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -626,81 +701,6 @@ interface ResolvedAutotaskConfig {
|
|
|
626
701
|
};
|
|
627
702
|
}
|
|
628
703
|
|
|
629
|
-
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
630
|
-
interface RequestOptions {
|
|
631
|
-
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
632
|
-
/** Path after the base URL, already interpolated, e.g. '/V1.0/Companies/42'. */
|
|
633
|
-
path: string;
|
|
634
|
-
/** URLSearchParams-style params; null/undefined/'' values are omitted. */
|
|
635
|
-
query?: Record<string, unknown>;
|
|
636
|
-
/** JSON-encoded (application/json) when present. */
|
|
637
|
-
body?: unknown;
|
|
638
|
-
/** Extra headers (cannot override the SDK-owned auth names). */
|
|
639
|
-
headers?: Record<string, string>;
|
|
640
|
-
/** Registry operation name for error context. */
|
|
641
|
-
operation?: string;
|
|
642
|
-
/** Per-request timeout override (default: config.timeoutMs). */
|
|
643
|
-
timeoutMs?: number;
|
|
644
|
-
/**
|
|
645
|
-
* INTERNAL (SDK-only, never set by a caller on the transport directly):
|
|
646
|
-
* per-request retry-budget override (default: config.maxRetries). Carries
|
|
647
|
-
* the doctor preflight's fail-fast override (src/doctor.ts — retries off,
|
|
648
|
-
* shortened timeout) and the caller surfaces' per-call budget
|
|
649
|
-
* (InvokeOptions.maxRetries / MutationOpts.maxRetries, issue #105 — the
|
|
650
|
-
* resource layer threads it here; `0` = exactly one send). Does not change
|
|
651
|
-
* the transport chain order.
|
|
652
|
-
*/
|
|
653
|
-
maxRetries?: number;
|
|
654
|
-
/**
|
|
655
|
-
* Maintenance-window wait override (default: config.maintenanceMaxWaitMs).
|
|
656
|
-
* `0` disables the wait for this call. Does not consume `maxRetries`.
|
|
657
|
-
*/
|
|
658
|
-
maintenanceMaxWaitMs?: number;
|
|
659
|
-
/** Maintenance poll override (default: config.maintenancePollMs). */
|
|
660
|
-
maintenancePollMs?: number;
|
|
661
|
-
/**
|
|
662
|
-
* Issue #25: does this call expect a non-empty 2xx body? Default:
|
|
663
|
-
* `method !== 'DELETE'` (computed in `request`) — a blank 2xx on a
|
|
664
|
-
* non-DELETE throws the typed `EMPTY_RESPONSE` (a blank 200 from a proxy
|
|
665
|
-
* or maintenance edge is a transport fault, not "no data"); DELETE (and
|
|
666
|
-
* any explicit `expectBody: false`) keeps returning `undefined` (the
|
|
667
|
-
* vendor answers 204 / an empty body on deletes; the delete callers
|
|
668
|
-
* synthesize the result from the path id).
|
|
669
|
-
*/
|
|
670
|
-
expectBody?: boolean;
|
|
671
|
-
/** Caller abort signal, combined with the deadline; aborting throws `AutotaskAbortError` (never retried). */
|
|
672
|
-
signal?: AbortSignal;
|
|
673
|
-
/**
|
|
674
|
-
* Safe to retry even though the method is not GET (e.g. the `/query` POST
|
|
675
|
-
* reads; or a mutation whose payload is idempotent by construction — the
|
|
676
|
-
* issue #105 opt-back into the pre-#105 auto-retry). Default: by method —
|
|
677
|
-
* the 429 leg retries GET/PUT/DELETE (the pre-#105 rule, unchanged); the
|
|
678
|
-
* 5xx/network leg retries GET only (issue #105 — an unflagged mutation
|
|
679
|
-
* makes exactly one send there; a 429 on an unflagged POST/PATCH still
|
|
680
|
-
* surfaces at once, as before #105). Retry only: a flagged mutation still
|
|
681
|
-
* voids cached reads like any other write (only GET and `/query`
|
|
682
|
-
* reads skip the invalidation).
|
|
683
|
-
*/
|
|
684
|
-
idempotent?: boolean;
|
|
685
|
-
/**
|
|
686
|
-
* INTERNAL (SDK-only, never a caller surface): skip the INV-A1 response
|
|
687
|
-
* redaction for this one response. Used by the V2 partial-update merge
|
|
688
|
-
* read: the record's own current values round-trip back to the SAME
|
|
689
|
-
* vendor endpoint (the PUT response is `{ id }` — the caller never sees
|
|
690
|
-
* them, and the G10b request-body audit keeps request logging redacted).
|
|
691
|
-
* Redacting this read would put literal '[REDACTED]' markers into the
|
|
692
|
-
* merged PUT body (data corruption on live records).
|
|
693
|
-
*/
|
|
694
|
-
skipResponseRedaction?: boolean;
|
|
695
|
-
/**
|
|
696
|
-
* INTERNAL (SDK-only, never a caller surface): bypass the tenant 429
|
|
697
|
-
* cooldown gate for this one call. Used by `thresholdInformation.get()`
|
|
698
|
-
* so a throttled tenant can still read its own headroom (a 2xx from the
|
|
699
|
-
* call clears the gate; a 429 re-arms it).
|
|
700
|
-
*/
|
|
701
|
-
bypassCooldown?: boolean;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
704
|
/**
|
|
705
705
|
* HttpClient — fetch transport (ARCHITECTURE section 8). Split from http.ts
|
|
706
706
|
* (issue #166); see src/http.ts for the barrel and the behaviour summary.
|
|
@@ -2926,6 +2926,12 @@ declare class ZoneInformationResource {
|
|
|
2926
2926
|
* no request.
|
|
2927
2927
|
*/
|
|
2928
2928
|
|
|
2929
|
+
type ReadOnlyRootResource<T> = Pick<GenericResource<T>, 'query' | 'queryAll' | 'queryBounded' | 'getEntityInfo' | 'getFieldInfo' | 'getUdfInfo'> & {
|
|
2930
|
+
count(params?: Pick<QueryParams, 'filter'>): Promise<number>;
|
|
2931
|
+
get(id: Identifier, opts?: {
|
|
2932
|
+
fresh?: boolean;
|
|
2933
|
+
} | null): Promise<T>;
|
|
2934
|
+
};
|
|
2929
2935
|
declare class AutotaskClient {
|
|
2930
2936
|
/** The validated config (resolved defaults; final values). */
|
|
2931
2937
|
readonly config: ResolvedAutotaskConfig;
|
|
@@ -2990,6 +2996,9 @@ declare class AutotaskClient {
|
|
|
2990
2996
|
readonly contractTicketPurchases: GenericResource<ContractTicketPurchases, ContractTicketPurchasesCreate, ContractTicketPurchasesUpdate>;
|
|
2991
2997
|
readonly countries: GenericResource<Country, CountryCreate, CountryUpdate>;
|
|
2992
2998
|
readonly currencies: GenericResource<Currency, CurrencyCreate, CurrencyUpdate>;
|
|
2999
|
+
readonly deletedTaskActivityLogs: ReadOnlyRootResource<DeletedTaskActivityLog>;
|
|
3000
|
+
readonly deletedTicketActivityLogs: ReadOnlyRootResource<DeletedTicketActivityLog>;
|
|
3001
|
+
readonly deletedTicketLogs: ReadOnlyRootResource<DeletedTicketLog>;
|
|
2993
3002
|
readonly departments: GenericResource<Department, DepartmentCreate, DepartmentUpdate>;
|
|
2994
3003
|
readonly domainRegistrars: GenericResource<DomainRegistrar, DomainRegistrarCreate, DomainRegistrarUpdate>;
|
|
2995
3004
|
readonly entityInformation: EntityInformationResource;
|
|
@@ -3309,6 +3318,8 @@ interface BoundedQueryResult<T> {
|
|
|
3309
3318
|
interface QueryWalkState {
|
|
3310
3319
|
/** Absolute `pageDetails.nextPageUrl` from the previous page. */
|
|
3311
3320
|
cursor: string | null;
|
|
3321
|
+
/** The original method and snapshot of the query body. */
|
|
3322
|
+
initialRequest?: Pick<RequestOptions, 'method' | 'body' | 'query'>;
|
|
3312
3323
|
}
|
|
3313
3324
|
/** Normalised result of a `createIfNotExists` composition. */
|
|
3314
3325
|
interface CreateIfNotExistsResult<T> {
|
|
@@ -3465,7 +3476,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3465
3476
|
/** The bounded client-scan caps (section 19.2; resolved per client). */
|
|
3466
3477
|
protected get resolutionCaps(): ResolutionCaps;
|
|
3467
3478
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
3468
|
-
/**
|
|
3479
|
+
/** Follow the vendor cursor with the initial query method and, for POST, the same QueryModel (issue #118). */
|
|
3469
3480
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
3470
3481
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
3471
3482
|
protected pageFetcher(params?: QueryParams): PageFetcher<T>;
|
|
@@ -3497,12 +3508,10 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3497
3508
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
3498
3509
|
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
3499
3510
|
* its walk from the matching count). Explicit `walk.maxRows` replaces
|
|
3500
|
-
* the total cap; `limit` then only sizes pages.
|
|
3501
|
-
*
|
|
3502
|
-
*
|
|
3503
|
-
*
|
|
3504
|
-
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
3505
|
-
* with a per-walk closure state (walks never share state).
|
|
3511
|
+
* the total cap; `limit` then only sizes pages. Continuations follow the
|
|
3512
|
+
* cursor with the initial method. POST keeps the same QueryModel body
|
|
3513
|
+
* across pages (issue #118). GET combines the cursor with the original search.
|
|
3514
|
+
* Each walk keeps its own request and cursor state.
|
|
3506
3515
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
3507
3516
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
3508
3517
|
* is a bounded read, not the `paginate` generator's error path).
|
|
@@ -1,6 +1,81 @@
|
|
|
1
|
-
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNoteAttachment, ct as ContractNoteAttachmentCreate, cu as ContractNoteAttachmentUpdate, cv as ContractNote, cw as ContractNoteCreate, cx as ContractNoteUpdate, cy as ContractRateCreate, cz as ContractRateUpdate, cA as ContractRetainers, cB as ContractRetainersCreate, cC as ContractRetainersUpdate, cD as ContractRoleCostsCreate, cE as ContractRoleCostsUpdate, cF as ContractServiceAdjustment, cG as ContractServiceAdjustmentCreate, cH as ContractServiceAdjustmentUpdate, cI as ContractServiceBundleAdjustment, cJ as ContractServiceBundleAdjustmentCreate, cK as ContractServiceBundleAdjustmentUpdate, cL as ContractServiceBundle, cM as ContractServiceBundleCreate, cN as ContractServiceBundleUpdate, cO as ContractServiceBundleUnit, cP as ContractServiceBundleUnitCreate, cQ as ContractServiceBundleUnitUpdate, cR as ContractServiceCreate, cS as ContractServiceUpdate, cT as ContractServiceUnitCreate, cU as ContractServiceUnitUpdate, cV as ContractTicketPurchases, cW as ContractTicketPurchasesCreate, cX as ContractTicketPurchasesUpdate, cY as Country, cZ as CountryCreate, c_ as CountryUpdate, c$ as Currency, d0 as CurrencyCreate, d1 as CurrencyUpdate, d2 as Department, d3 as DepartmentCreate, d4 as DepartmentUpdate, d5 as DomainRegistrar, d6 as DomainRegistrarCreate, d7 as DomainRegistrarUpdate, d8 as ExpenseItemAttachment, d9 as ExpenseItemAttachmentCreate, da as ExpenseItemAttachmentUpdate, db as ExpenseItemCreate, dc as ExpenseItemUpdate, dd as ExpenseReportAttachment, de as ExpenseReportAttachmentCreate, df as ExpenseReportAttachmentUpdate, dg as ExpenseReport, dh as ExpenseReportCreate, di as ExpenseReportUpdate, dj as Holiday, dk as HolidayCreate, dl as HolidayUpdate, dm as HolidaySet, dn as HolidaySetCreate, dp as HolidaySetUpdate, dq as InvoiceTemplate, dr as InvoiceTemplateCreate, ds as InvoiceTemplateUpdate, dt as NotificationHistory, du as NotificationHistoryCreate, dv as NotificationHistoryUpdate, dw as Opportunity, dx as OpportunityCreate, dy as OpportunityUpdate, dz as OpportunityAttachment, dA as OpportunityAttachmentCreate, dB as OpportunityAttachmentUpdate, dC as OpportunityCategory, dD as OpportunityCategoryCreate, dE as OpportunityCategoryUpdate, dF as OrganizationalLevel1Create, dG as OrganizationalLevel1Update, dH as OrganizationalLevel2Create, dI as OrganizationalLevel2Update, dJ as OrganizationalLevelAssociationCreate, dK as OrganizationalLevelAssociationUpdate, dL as Phase, dM as PhaseCreate, dN as PhaseUpdate, dO as Product, dP as ProductCreate, dQ as ProductUpdate, dR as ProductVendors, dS as ProductVendorsCreate, dT as ProductVendorsUpdate, dU as ProjectAttachment, dV as ProjectAttachmentCreate, dW as ProjectAttachmentUpdate, dX as ProjectCharge, dY as ProjectChargeCreate, dZ as ProjectChargeUpdate, d_ as ProjectNoteAttachment, d$ as ProjectNoteAttachmentCreate, e0 as ProjectNoteAttachmentUpdate, e1 as ProjectNote, e2 as ProjectNoteCreate, e3 as ProjectNoteUpdate, e4 as ProjectCreate, e5 as ProjectUpdate, e6 as ProjectContext, e7 as PurchaseApprovals, e8 as PurchaseApprovalsCreate, e9 as PurchaseApprovalsUpdate, ea as PurchaseOrderItemReceiving, eb as PurchaseOrderItemReceivingCreate, ec as PurchaseOrderItemReceivingUpdate, ed as PurchaseOrderItems, ee as PurchaseOrderItemsCreate, ef as PurchaseOrderItemsUpdate, eg as PurchaseOrders, eh as PurchaseOrdersCreate, ei as PurchaseOrdersUpdate, ej as QuoteItemCreate, ek as QuoteItemUpdate, el as QuoteLocation, em as QuoteLocationCreate, en as QuoteLocationUpdate, eo as QuoteTemplate, ep as QuoteTemplateCreate, eq as QuoteTemplateUpdate, er as ResourceAttachment, es as ResourceAttachmentCreate, et as ResourceAttachmentUpdate, eu as ResourceRoleQueue, ev as ResourceRoleQueueCreate, ew as ResourceRoleQueueUpdate, ex as ResourceRole, ey as ResourceRoleCreate, ez as ResourceRoleUpdate, eA as ResourceSkill, eB as ResourceSkillCreate, eC as ResourceSkillUpdate, eD as ResourceTimeOffApprover, eE as ResourceTimeOffApproverCreate, eF as ResourceTimeOffApproverUpdate, eG as Role, eH as RoleCreate, eI as RoleUpdate, eJ as SalesOrderAttachment, eK as SalesOrderAttachmentCreate, eL as SalesOrderAttachmentUpdate, eM as SalesOrder, eN as SalesOrderCreate, eO as SalesOrderUpdate, eP as ServiceCallTaskResourceCreate, eQ as ServiceCallTaskResourceUpdate, eR as ServiceCallTaskCreate, eS as ServiceCallTaskUpdate, eT as ServiceCallTicketResource, eU as ServiceCallTicketResourceCreate, eV as ServiceCallTicketResourceUpdate, eW as ServiceCallTicketCreate, eX as ServiceCallTicketUpdate, eY as ServiceLevelAgreementResults, eZ as ServiceLevelAgreementResultsCreate, e_ as ServiceLevelAgreementResultsUpdate, e$ as Service, f0 as ServiceCreate, f1 as ServiceUpdate, f2 as Skill, f3 as SkillCreate, f4 as SkillUpdate, f5 as SubscriptionPeriod, f6 as SubscriptionPeriodCreate, f7 as SubscriptionPeriodUpdate, f8 as SubscriptionCreate, f9 as SubscriptionUpdate, fa as SurveyResults, fb as SurveyResultsCreate, fc as SurveyResultsUpdate, fd as Survey, fe as SurveyCreate, ff as SurveyUpdate, fg as TagAlias, fh as TagAliasCreate, fi as TagAliasUpdate, fj as TagGroup, fk as TagGroupCreate, fl as TagGroupUpdate, fm as Tag, fn as TagCreate, fo as TagUpdate, fp as TaskAttachment, fq as TaskAttachmentCreate, fr as TaskAttachmentUpdate, fs as TaskNoteAttachment, ft as TaskNoteAttachmentCreate, fu as TaskNoteAttachmentUpdate, fv as TaskNote, fw as TaskNoteCreate, fx as TaskNoteUpdate, fy as TaskPredecessor, fz as TaskPredecessorCreate, fA as TaskPredecessorUpdate, fB as Task, fC as TaskCreate, fD as TaskUpdate, fE as TaskSecondaryResource, fF as TaskSecondaryResourceCreate, fG as TaskSecondaryResourceUpdate, fH as TaxRegion, fI as TaxRegionCreate, fJ as TaxRegionUpdate, fK as TicketAdditionalConfigurationItem, fL as TicketAdditionalConfigurationItemCreate, fM as TicketAdditionalConfigurationItemUpdate, fN as TicketAdditionalContact, fO as TicketAdditionalContactCreate, fP as TicketAdditionalContactUpdate, fQ as TicketAttachment, fR as TicketAttachmentCreate, fS as TicketAttachmentUpdate, fT as TicketCategory, fU as TicketCategoryCreate, fV as TicketCategoryUpdate, fW as TicketCategoryFieldDefault, fX as TicketCategoryFieldDefaultCreate, fY as TicketCategoryFieldDefaultUpdate, fZ as TicketChangeRequestApproval, f_ as TicketChangeRequestApprovalCreate, f$ as TicketChangeRequestApprovalUpdate, g0 as TicketChecklistItem, g1 as TicketChecklistItemCreate, g2 as TicketChecklistItemUpdate, g3 as TicketChecklistLibrary, g4 as TicketChecklistLibraryCreate, g5 as TicketChecklistLibraryUpdate, g6 as TicketHistory, g7 as TicketHistoryCreate, g8 as TicketHistoryUpdate, g9 as TicketNoteAttachment, ga as TicketNoteAttachmentCreate, gb as TicketNoteAttachmentUpdate, gc as TicketNote, gd as TicketNoteCreate, ge as TicketNoteUpdate, gf as TicketNoteWebhook, gg as TicketNoteWebhookCreate, gh as TicketNoteWebhookUpdate, gi as TicketSecondaryResource, gj as TicketSecondaryResourceCreate, gk as TicketSecondaryResourceUpdate, gl as TicketWebhook, gm as TicketWebhookCreate, gn as TicketWebhookUpdate, go as TimeEntryAttachment, gp as TimeEntryAttachmentCreate, gq as TimeEntryAttachmentUpdate, gr as UserDefinedFieldDefinition, gs as UserDefinedFieldDefinitionCreate, gt as UserDefinedFieldDefinitionUpdate, gu as UserDefinedFieldListItem, gv as UserDefinedFieldListItemCreate, gw as UserDefinedFieldListItemUpdate, Q as QueryParams, gx as Resolution, gy as Page, gz as EntityInformationModel, gA as FieldInformationModel, gB as Field, gC as FilterCondition, gD as CompositeNameTable, gE as CompositeContextOptions } from './index-8Hg6dytT.js';
|
|
1
|
+
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNoteAttachment, ct as ContractNoteAttachmentCreate, cu as ContractNoteAttachmentUpdate, cv as ContractNote, cw as ContractNoteCreate, cx as ContractNoteUpdate, cy as ContractRateCreate, cz as ContractRateUpdate, cA as ContractRetainers, cB as ContractRetainersCreate, cC as ContractRetainersUpdate, cD as ContractRoleCostsCreate, cE as ContractRoleCostsUpdate, cF as ContractServiceAdjustment, cG as ContractServiceAdjustmentCreate, cH as ContractServiceAdjustmentUpdate, cI as ContractServiceBundleAdjustment, cJ as ContractServiceBundleAdjustmentCreate, cK as ContractServiceBundleAdjustmentUpdate, cL as ContractServiceBundle, cM as ContractServiceBundleCreate, cN as ContractServiceBundleUpdate, cO as ContractServiceBundleUnit, cP as ContractServiceBundleUnitCreate, cQ as ContractServiceBundleUnitUpdate, cR as ContractServiceCreate, cS as ContractServiceUpdate, cT as ContractServiceUnitCreate, cU as ContractServiceUnitUpdate, cV as ContractTicketPurchases, cW as ContractTicketPurchasesCreate, cX as ContractTicketPurchasesUpdate, cY as Country, cZ as CountryCreate, c_ as CountryUpdate, c$ as Currency, d0 as CurrencyCreate, d1 as CurrencyUpdate, Q as QueryParams, d2 as DeletedTaskActivityLog, d3 as DeletedTicketActivityLog, d4 as DeletedTicketLog, d5 as Department, d6 as DepartmentCreate, d7 as DepartmentUpdate, d8 as DomainRegistrar, d9 as DomainRegistrarCreate, da as DomainRegistrarUpdate, db as ExpenseItemAttachment, dc as ExpenseItemAttachmentCreate, dd as ExpenseItemAttachmentUpdate, de as ExpenseItemCreate, df as ExpenseItemUpdate, dg as ExpenseReportAttachment, dh as ExpenseReportAttachmentCreate, di as ExpenseReportAttachmentUpdate, dj as ExpenseReport, dk as ExpenseReportCreate, dl as ExpenseReportUpdate, dm as Holiday, dn as HolidayCreate, dp as HolidayUpdate, dq as HolidaySet, dr as HolidaySetCreate, ds as HolidaySetUpdate, dt as InvoiceTemplate, du as InvoiceTemplateCreate, dv as InvoiceTemplateUpdate, dw as NotificationHistory, dx as NotificationHistoryCreate, dy as NotificationHistoryUpdate, dz as Opportunity, dA as OpportunityCreate, dB as OpportunityUpdate, dC as OpportunityAttachment, dD as OpportunityAttachmentCreate, dE as OpportunityAttachmentUpdate, dF as OpportunityCategory, dG as OpportunityCategoryCreate, dH as OpportunityCategoryUpdate, dI as OrganizationalLevel1Create, dJ as OrganizationalLevel1Update, dK as OrganizationalLevel2Create, dL as OrganizationalLevel2Update, dM as OrganizationalLevelAssociationCreate, dN as OrganizationalLevelAssociationUpdate, dO as Phase, dP as PhaseCreate, dQ as PhaseUpdate, dR as Product, dS as ProductCreate, dT as ProductUpdate, dU as ProductVendors, dV as ProductVendorsCreate, dW as ProductVendorsUpdate, dX as ProjectAttachment, dY as ProjectAttachmentCreate, dZ as ProjectAttachmentUpdate, d_ as ProjectCharge, d$ as ProjectChargeCreate, e0 as ProjectChargeUpdate, e1 as ProjectNoteAttachment, e2 as ProjectNoteAttachmentCreate, e3 as ProjectNoteAttachmentUpdate, e4 as ProjectNote, e5 as ProjectNoteCreate, e6 as ProjectNoteUpdate, e7 as ProjectCreate, e8 as ProjectUpdate, e9 as ProjectContext, ea as PurchaseApprovals, eb as PurchaseApprovalsCreate, ec as PurchaseApprovalsUpdate, ed as PurchaseOrderItemReceiving, ee as PurchaseOrderItemReceivingCreate, ef as PurchaseOrderItemReceivingUpdate, eg as PurchaseOrderItems, eh as PurchaseOrderItemsCreate, ei as PurchaseOrderItemsUpdate, ej as PurchaseOrders, ek as PurchaseOrdersCreate, el as PurchaseOrdersUpdate, em as QuoteItemCreate, en as QuoteItemUpdate, eo as QuoteLocation, ep as QuoteLocationCreate, eq as QuoteLocationUpdate, er as QuoteTemplate, es as QuoteTemplateCreate, et as QuoteTemplateUpdate, eu as ResourceAttachment, ev as ResourceAttachmentCreate, ew as ResourceAttachmentUpdate, ex as ResourceRoleQueue, ey as ResourceRoleQueueCreate, ez as ResourceRoleQueueUpdate, eA as ResourceRole, eB as ResourceRoleCreate, eC as ResourceRoleUpdate, eD as ResourceSkill, eE as ResourceSkillCreate, eF as ResourceSkillUpdate, eG as ResourceTimeOffApprover, eH as ResourceTimeOffApproverCreate, eI as ResourceTimeOffApproverUpdate, eJ as Role, eK as RoleCreate, eL as RoleUpdate, eM as SalesOrderAttachment, eN as SalesOrderAttachmentCreate, eO as SalesOrderAttachmentUpdate, eP as SalesOrder, eQ as SalesOrderCreate, eR as SalesOrderUpdate, eS as ServiceCallTaskResourceCreate, eT as ServiceCallTaskResourceUpdate, eU as ServiceCallTaskCreate, eV as ServiceCallTaskUpdate, eW as ServiceCallTicketResource, eX as ServiceCallTicketResourceCreate, eY as ServiceCallTicketResourceUpdate, eZ as ServiceCallTicketCreate, e_ as ServiceCallTicketUpdate, e$ as ServiceLevelAgreementResults, f0 as ServiceLevelAgreementResultsCreate, f1 as ServiceLevelAgreementResultsUpdate, f2 as Service, f3 as ServiceCreate, f4 as ServiceUpdate, f5 as Skill, f6 as SkillCreate, f7 as SkillUpdate, f8 as SubscriptionPeriod, f9 as SubscriptionPeriodCreate, fa as SubscriptionPeriodUpdate, fb as SubscriptionCreate, fc as SubscriptionUpdate, fd as SurveyResults, fe as SurveyResultsCreate, ff as SurveyResultsUpdate, fg as Survey, fh as SurveyCreate, fi as SurveyUpdate, fj as TagAlias, fk as TagAliasCreate, fl as TagAliasUpdate, fm as TagGroup, fn as TagGroupCreate, fo as TagGroupUpdate, fp as Tag, fq as TagCreate, fr as TagUpdate, fs as TaskAttachment, ft as TaskAttachmentCreate, fu as TaskAttachmentUpdate, fv as TaskNoteAttachment, fw as TaskNoteAttachmentCreate, fx as TaskNoteAttachmentUpdate, fy as TaskNote, fz as TaskNoteCreate, fA as TaskNoteUpdate, fB as TaskPredecessor, fC as TaskPredecessorCreate, fD as TaskPredecessorUpdate, fE as Task, fF as TaskCreate, fG as TaskUpdate, fH as TaskSecondaryResource, fI as TaskSecondaryResourceCreate, fJ as TaskSecondaryResourceUpdate, fK as TaxRegion, fL as TaxRegionCreate, fM as TaxRegionUpdate, fN as TicketAdditionalConfigurationItem, fO as TicketAdditionalConfigurationItemCreate, fP as TicketAdditionalConfigurationItemUpdate, fQ as TicketAdditionalContact, fR as TicketAdditionalContactCreate, fS as TicketAdditionalContactUpdate, fT as TicketAttachment, fU as TicketAttachmentCreate, fV as TicketAttachmentUpdate, fW as TicketCategory, fX as TicketCategoryCreate, fY as TicketCategoryUpdate, fZ as TicketCategoryFieldDefault, f_ as TicketCategoryFieldDefaultCreate, f$ as TicketCategoryFieldDefaultUpdate, g0 as TicketChangeRequestApproval, g1 as TicketChangeRequestApprovalCreate, g2 as TicketChangeRequestApprovalUpdate, g3 as TicketChecklistItem, g4 as TicketChecklistItemCreate, g5 as TicketChecklistItemUpdate, g6 as TicketChecklistLibrary, g7 as TicketChecklistLibraryCreate, g8 as TicketChecklistLibraryUpdate, g9 as TicketHistory, ga as TicketHistoryCreate, gb as TicketHistoryUpdate, gc as TicketNoteAttachment, gd as TicketNoteAttachmentCreate, ge as TicketNoteAttachmentUpdate, gf as TicketNote, gg as TicketNoteCreate, gh as TicketNoteUpdate, gi as TicketNoteWebhook, gj as TicketNoteWebhookCreate, gk as TicketNoteWebhookUpdate, gl as TicketSecondaryResource, gm as TicketSecondaryResourceCreate, gn as TicketSecondaryResourceUpdate, go as TicketWebhook, gp as TicketWebhookCreate, gq as TicketWebhookUpdate, gr as TimeEntryAttachment, gs as TimeEntryAttachmentCreate, gt as TimeEntryAttachmentUpdate, gu as UserDefinedFieldDefinition, gv as UserDefinedFieldDefinitionCreate, gw as UserDefinedFieldDefinitionUpdate, gx as UserDefinedFieldListItem, gy as UserDefinedFieldListItemCreate, gz as UserDefinedFieldListItemUpdate, gA as Resolution, gB as Page, gC as EntityInformationModel, gD as FieldInformationModel, gE as Field, gF as FilterCondition, gG as CompositeNameTable, gH as CompositeContextOptions } from './index-BZItfp_H.js';
|
|
2
2
|
import { L as Logger } from './logger-B1gYmFre.js';
|
|
3
3
|
|
|
4
|
+
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
5
|
+
interface RequestOptions {
|
|
6
|
+
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
7
|
+
/** Path after the base URL, already interpolated, e.g. '/V1.0/Companies/42'. */
|
|
8
|
+
path: string;
|
|
9
|
+
/** URLSearchParams-style params; null/undefined/'' values are omitted. */
|
|
10
|
+
query?: Record<string, unknown>;
|
|
11
|
+
/** JSON-encoded (application/json) when present. */
|
|
12
|
+
body?: unknown;
|
|
13
|
+
/** Extra headers (cannot override the SDK-owned auth names). */
|
|
14
|
+
headers?: Record<string, string>;
|
|
15
|
+
/** Registry operation name for error context. */
|
|
16
|
+
operation?: string;
|
|
17
|
+
/** Per-request timeout override (default: config.timeoutMs). */
|
|
18
|
+
timeoutMs?: number;
|
|
19
|
+
/**
|
|
20
|
+
* INTERNAL (SDK-only, never set by a caller on the transport directly):
|
|
21
|
+
* per-request retry-budget override (default: config.maxRetries). Carries
|
|
22
|
+
* the doctor preflight's fail-fast override (src/doctor.ts — retries off,
|
|
23
|
+
* shortened timeout) and the caller surfaces' per-call budget
|
|
24
|
+
* (InvokeOptions.maxRetries / MutationOpts.maxRetries, issue #105 — the
|
|
25
|
+
* resource layer threads it here; `0` = exactly one send). Does not change
|
|
26
|
+
* the transport chain order.
|
|
27
|
+
*/
|
|
28
|
+
maxRetries?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Maintenance-window wait override (default: config.maintenanceMaxWaitMs).
|
|
31
|
+
* `0` disables the wait for this call. Does not consume `maxRetries`.
|
|
32
|
+
*/
|
|
33
|
+
maintenanceMaxWaitMs?: number;
|
|
34
|
+
/** Maintenance poll override (default: config.maintenancePollMs). */
|
|
35
|
+
maintenancePollMs?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Issue #25: does this call expect a non-empty 2xx body? Default:
|
|
38
|
+
* `method !== 'DELETE'` (computed in `request`) — a blank 2xx on a
|
|
39
|
+
* non-DELETE throws the typed `EMPTY_RESPONSE` (a blank 200 from a proxy
|
|
40
|
+
* or maintenance edge is a transport fault, not "no data"); DELETE (and
|
|
41
|
+
* any explicit `expectBody: false`) keeps returning `undefined` (the
|
|
42
|
+
* vendor answers 204 / an empty body on deletes; the delete callers
|
|
43
|
+
* synthesize the result from the path id).
|
|
44
|
+
*/
|
|
45
|
+
expectBody?: boolean;
|
|
46
|
+
/** Caller abort signal, combined with the deadline; aborting throws `AutotaskAbortError` (never retried). */
|
|
47
|
+
signal?: AbortSignal;
|
|
48
|
+
/**
|
|
49
|
+
* Safe to retry even though the method is not GET (e.g. the `/query` POST
|
|
50
|
+
* reads; or a mutation whose payload is idempotent by construction — the
|
|
51
|
+
* issue #105 opt-back into the pre-#105 auto-retry). Default: by method —
|
|
52
|
+
* the 429 leg retries GET/PUT/DELETE (the pre-#105 rule, unchanged); the
|
|
53
|
+
* 5xx/network leg retries GET only (issue #105 — an unflagged mutation
|
|
54
|
+
* makes exactly one send there; a 429 on an unflagged POST/PATCH still
|
|
55
|
+
* surfaces at once, as before #105). Retry only: a flagged mutation still
|
|
56
|
+
* voids cached reads like any other write (only GET and `/query`
|
|
57
|
+
* reads skip the invalidation).
|
|
58
|
+
*/
|
|
59
|
+
idempotent?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* INTERNAL (SDK-only, never a caller surface): skip the INV-A1 response
|
|
62
|
+
* redaction for this one response. Used by the V2 partial-update merge
|
|
63
|
+
* read: the record's own current values round-trip back to the SAME
|
|
64
|
+
* vendor endpoint (the PUT response is `{ id }` — the caller never sees
|
|
65
|
+
* them, and the G10b request-body audit keeps request logging redacted).
|
|
66
|
+
* Redacting this read would put literal '[REDACTED]' markers into the
|
|
67
|
+
* merged PUT body (data corruption on live records).
|
|
68
|
+
*/
|
|
69
|
+
skipResponseRedaction?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* INTERNAL (SDK-only, never a caller surface): bypass the tenant 429
|
|
72
|
+
* cooldown gate for this one call. Used by `thresholdInformation.get()`
|
|
73
|
+
* so a throttled tenant can still read its own headroom (a 2xx from the
|
|
74
|
+
* call clears the gate; a 429 re-arms it).
|
|
75
|
+
*/
|
|
76
|
+
bypassCooldown?: boolean;
|
|
77
|
+
}
|
|
78
|
+
|
|
4
79
|
/**
|
|
5
80
|
* Relationship map + blind-surface stamps + the delete-boundary /
|
|
6
81
|
* marker-field channels — GENERATED by
|
|
@@ -32,7 +107,7 @@ import { L as Logger } from './logger-B1gYmFre.js';
|
|
|
32
107
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
33
108
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
34
109
|
*
|
|
35
|
-
* planHash:
|
|
110
|
+
* planHash: 5a5cfa013a7d398302f69e1c12e260ea29a89942aec743997be1f8cdf60a8df1
|
|
36
111
|
*/
|
|
37
112
|
|
|
38
113
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -626,81 +701,6 @@ interface ResolvedAutotaskConfig {
|
|
|
626
701
|
};
|
|
627
702
|
}
|
|
628
703
|
|
|
629
|
-
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
630
|
-
interface RequestOptions {
|
|
631
|
-
method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
|
|
632
|
-
/** Path after the base URL, already interpolated, e.g. '/V1.0/Companies/42'. */
|
|
633
|
-
path: string;
|
|
634
|
-
/** URLSearchParams-style params; null/undefined/'' values are omitted. */
|
|
635
|
-
query?: Record<string, unknown>;
|
|
636
|
-
/** JSON-encoded (application/json) when present. */
|
|
637
|
-
body?: unknown;
|
|
638
|
-
/** Extra headers (cannot override the SDK-owned auth names). */
|
|
639
|
-
headers?: Record<string, string>;
|
|
640
|
-
/** Registry operation name for error context. */
|
|
641
|
-
operation?: string;
|
|
642
|
-
/** Per-request timeout override (default: config.timeoutMs). */
|
|
643
|
-
timeoutMs?: number;
|
|
644
|
-
/**
|
|
645
|
-
* INTERNAL (SDK-only, never set by a caller on the transport directly):
|
|
646
|
-
* per-request retry-budget override (default: config.maxRetries). Carries
|
|
647
|
-
* the doctor preflight's fail-fast override (src/doctor.ts — retries off,
|
|
648
|
-
* shortened timeout) and the caller surfaces' per-call budget
|
|
649
|
-
* (InvokeOptions.maxRetries / MutationOpts.maxRetries, issue #105 — the
|
|
650
|
-
* resource layer threads it here; `0` = exactly one send). Does not change
|
|
651
|
-
* the transport chain order.
|
|
652
|
-
*/
|
|
653
|
-
maxRetries?: number;
|
|
654
|
-
/**
|
|
655
|
-
* Maintenance-window wait override (default: config.maintenanceMaxWaitMs).
|
|
656
|
-
* `0` disables the wait for this call. Does not consume `maxRetries`.
|
|
657
|
-
*/
|
|
658
|
-
maintenanceMaxWaitMs?: number;
|
|
659
|
-
/** Maintenance poll override (default: config.maintenancePollMs). */
|
|
660
|
-
maintenancePollMs?: number;
|
|
661
|
-
/**
|
|
662
|
-
* Issue #25: does this call expect a non-empty 2xx body? Default:
|
|
663
|
-
* `method !== 'DELETE'` (computed in `request`) — a blank 2xx on a
|
|
664
|
-
* non-DELETE throws the typed `EMPTY_RESPONSE` (a blank 200 from a proxy
|
|
665
|
-
* or maintenance edge is a transport fault, not "no data"); DELETE (and
|
|
666
|
-
* any explicit `expectBody: false`) keeps returning `undefined` (the
|
|
667
|
-
* vendor answers 204 / an empty body on deletes; the delete callers
|
|
668
|
-
* synthesize the result from the path id).
|
|
669
|
-
*/
|
|
670
|
-
expectBody?: boolean;
|
|
671
|
-
/** Caller abort signal, combined with the deadline; aborting throws `AutotaskAbortError` (never retried). */
|
|
672
|
-
signal?: AbortSignal;
|
|
673
|
-
/**
|
|
674
|
-
* Safe to retry even though the method is not GET (e.g. the `/query` POST
|
|
675
|
-
* reads; or a mutation whose payload is idempotent by construction — the
|
|
676
|
-
* issue #105 opt-back into the pre-#105 auto-retry). Default: by method —
|
|
677
|
-
* the 429 leg retries GET/PUT/DELETE (the pre-#105 rule, unchanged); the
|
|
678
|
-
* 5xx/network leg retries GET only (issue #105 — an unflagged mutation
|
|
679
|
-
* makes exactly one send there; a 429 on an unflagged POST/PATCH still
|
|
680
|
-
* surfaces at once, as before #105). Retry only: a flagged mutation still
|
|
681
|
-
* voids cached reads like any other write (only GET and `/query`
|
|
682
|
-
* reads skip the invalidation).
|
|
683
|
-
*/
|
|
684
|
-
idempotent?: boolean;
|
|
685
|
-
/**
|
|
686
|
-
* INTERNAL (SDK-only, never a caller surface): skip the INV-A1 response
|
|
687
|
-
* redaction for this one response. Used by the V2 partial-update merge
|
|
688
|
-
* read: the record's own current values round-trip back to the SAME
|
|
689
|
-
* vendor endpoint (the PUT response is `{ id }` — the caller never sees
|
|
690
|
-
* them, and the G10b request-body audit keeps request logging redacted).
|
|
691
|
-
* Redacting this read would put literal '[REDACTED]' markers into the
|
|
692
|
-
* merged PUT body (data corruption on live records).
|
|
693
|
-
*/
|
|
694
|
-
skipResponseRedaction?: boolean;
|
|
695
|
-
/**
|
|
696
|
-
* INTERNAL (SDK-only, never a caller surface): bypass the tenant 429
|
|
697
|
-
* cooldown gate for this one call. Used by `thresholdInformation.get()`
|
|
698
|
-
* so a throttled tenant can still read its own headroom (a 2xx from the
|
|
699
|
-
* call clears the gate; a 429 re-arms it).
|
|
700
|
-
*/
|
|
701
|
-
bypassCooldown?: boolean;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
704
|
/**
|
|
705
705
|
* HttpClient — fetch transport (ARCHITECTURE section 8). Split from http.ts
|
|
706
706
|
* (issue #166); see src/http.ts for the barrel and the behaviour summary.
|
|
@@ -2926,6 +2926,12 @@ declare class ZoneInformationResource {
|
|
|
2926
2926
|
* no request.
|
|
2927
2927
|
*/
|
|
2928
2928
|
|
|
2929
|
+
type ReadOnlyRootResource<T> = Pick<GenericResource<T>, 'query' | 'queryAll' | 'queryBounded' | 'getEntityInfo' | 'getFieldInfo' | 'getUdfInfo'> & {
|
|
2930
|
+
count(params?: Pick<QueryParams, 'filter'>): Promise<number>;
|
|
2931
|
+
get(id: Identifier, opts?: {
|
|
2932
|
+
fresh?: boolean;
|
|
2933
|
+
} | null): Promise<T>;
|
|
2934
|
+
};
|
|
2929
2935
|
declare class AutotaskClient {
|
|
2930
2936
|
/** The validated config (resolved defaults; final values). */
|
|
2931
2937
|
readonly config: ResolvedAutotaskConfig;
|
|
@@ -2990,6 +2996,9 @@ declare class AutotaskClient {
|
|
|
2990
2996
|
readonly contractTicketPurchases: GenericResource<ContractTicketPurchases, ContractTicketPurchasesCreate, ContractTicketPurchasesUpdate>;
|
|
2991
2997
|
readonly countries: GenericResource<Country, CountryCreate, CountryUpdate>;
|
|
2992
2998
|
readonly currencies: GenericResource<Currency, CurrencyCreate, CurrencyUpdate>;
|
|
2999
|
+
readonly deletedTaskActivityLogs: ReadOnlyRootResource<DeletedTaskActivityLog>;
|
|
3000
|
+
readonly deletedTicketActivityLogs: ReadOnlyRootResource<DeletedTicketActivityLog>;
|
|
3001
|
+
readonly deletedTicketLogs: ReadOnlyRootResource<DeletedTicketLog>;
|
|
2993
3002
|
readonly departments: GenericResource<Department, DepartmentCreate, DepartmentUpdate>;
|
|
2994
3003
|
readonly domainRegistrars: GenericResource<DomainRegistrar, DomainRegistrarCreate, DomainRegistrarUpdate>;
|
|
2995
3004
|
readonly entityInformation: EntityInformationResource;
|
|
@@ -3309,6 +3318,8 @@ interface BoundedQueryResult<T> {
|
|
|
3309
3318
|
interface QueryWalkState {
|
|
3310
3319
|
/** Absolute `pageDetails.nextPageUrl` from the previous page. */
|
|
3311
3320
|
cursor: string | null;
|
|
3321
|
+
/** The original method and snapshot of the query body. */
|
|
3322
|
+
initialRequest?: Pick<RequestOptions, 'method' | 'body' | 'query'>;
|
|
3312
3323
|
}
|
|
3313
3324
|
/** Normalised result of a `createIfNotExists` composition. */
|
|
3314
3325
|
interface CreateIfNotExistsResult<T> {
|
|
@@ -3465,7 +3476,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3465
3476
|
/** The bounded client-scan caps (section 19.2; resolved per client). */
|
|
3466
3477
|
protected get resolutionCaps(): ResolutionCaps;
|
|
3467
3478
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
3468
|
-
/**
|
|
3479
|
+
/** Follow the vendor cursor with the initial query method and, for POST, the same QueryModel (issue #118). */
|
|
3469
3480
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
3470
3481
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
3471
3482
|
protected pageFetcher(params?: QueryParams): PageFetcher<T>;
|
|
@@ -3497,12 +3508,10 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3497
3508
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
3498
3509
|
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
3499
3510
|
* its walk from the matching count). Explicit `walk.maxRows` replaces
|
|
3500
|
-
* the total cap; `limit` then only sizes pages.
|
|
3501
|
-
*
|
|
3502
|
-
*
|
|
3503
|
-
*
|
|
3504
|
-
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
3505
|
-
* with a per-walk closure state (walks never share state).
|
|
3511
|
+
* the total cap; `limit` then only sizes pages. Continuations follow the
|
|
3512
|
+
* cursor with the initial method. POST keeps the same QueryModel body
|
|
3513
|
+
* across pages (issue #118). GET combines the cursor with the original search.
|
|
3514
|
+
* Each walk keeps its own request and cursor state.
|
|
3506
3515
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
3507
3516
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
3508
3517
|
* is a bounded read, not the `paginate` generator's error path).
|