node-autotask 0.83.0 → 0.85.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 +17 -0
- package/MCP_TOOL_CATALOG.json +323 -11
- package/README.md +1 -1
- package/capabilities.json +1739 -361
- package/dist/capabilities-data.js +2463 -1085
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-C2AFRW5M.cjs → chunk-7GNZT7Y7.cjs} +375 -93
- package/dist/{chunk-ZKAJVHHZ.js → chunk-EPJG7M5C.js} +42 -7
- package/dist/{chunk-DBEAS3IR.js → chunk-GTTAPAGP.js} +3 -3
- package/dist/{chunk-HQJLIRXW.js → chunk-HF5YG4TV.js} +5 -2
- package/dist/{chunk-QCA5R7QF.cjs → chunk-JCKYM7FD.cjs} +3 -3
- package/dist/{chunk-QEMBBAF5.cjs → chunk-JV6MX2U3.cjs} +237 -202
- package/dist/{chunk-CV56RIGS.js → chunk-L6YCH2I4.js} +370 -88
- package/dist/{chunk-5AHEJCSP.cjs → chunk-PBOH2OHJ.cjs} +33 -30
- package/dist/{index-8Hg6dytT.d.cts → index-CCW_EpLg.d.cts} +203 -140
- package/dist/{index-8Hg6dytT.d.ts → index-CCW_EpLg.d.ts} +203 -140
- package/dist/{index-DxESlIIg.d.cts → index-DkyNXWyt.d.cts} +108 -86
- package/dist/{index-nXhYAQOf.d.ts → index-rWcPjRpX.d.ts} +108 -86
- 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/docs/VENDOR-QUIRKS.md +3 -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.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 Product, r as ConfigurationItemNote, s as ConfigurationItemRelatedItem, t as ConfigurationItemBillingProductAssociations, S as Subscription, u as ConfigurationItemCreate, v as ConfigurationItemUpdate, w as ConfigurationItemContext, x as ConfigurationItemSummary, D as DryRunResult, y as ContactCreate, z as ContactUpdate, F as ContactContext, G as ContactSummary, H as Contract, J as ContractService, K as ContractBillingRule, L as ContractCharge, M as ContractServiceUnit, E as EmptyReasonInfo, N as ContractRoleCosts, U as ContractRate, V as ContractBlock, W as Invoice, X as Resource, Y as ExpenseItem, Z as ContractCreate, _ as ContractUpdate, $ as ContractSummary, a0 as GlobalEntityInformationResultModel, a1 as InventoryProduct, a2 as InventoryProductCreate, a3 as InventoryProductUpdate, a4 as InventoryStockedItemAdd, a5 as OperationResult, a6 as InventoryStockedItemRemove, a7 as InventoryStockedItemTransfer, a8 as InvoiceCreate, a9 as InvoiceUpdate, aa as ModuleAccessResultModel, ab as Quote, ac as QuoteItem, ad as QuoteCreate, ae as QuoteUpdate, af as QuoteSummary, ag as TicketCreate, ah as TicketUpdate, ai as TicketContext, aj as TicketSummary, ak as ServiceCallTaskResource, al as ServiceCallTask, am as ResourceTimeOffBalance, an as TimeOffRequest, ao as ResourceCreate, ap as ResourceUpdate, aq as ResourceSummary, ar as ResourceTimeOffAdditional, as as ResourceTimeOffAdditionalCreate, at as ResourceTimeOffAdditionalUpdate, au as ResourceTimeOffBalanceCreate, av as ResourceTimeOffBalanceUpdate, aw as ServiceCall, ax as ServiceCallTicket, ay as ServiceCallCreate, az as ServiceCallUpdate, aA as ThresholdStatusResultModel, aB as TicketCharge, aC as TicketChargeCreate, aD as TicketChargeUpdate, aE as TicketChargeSummary, aF as TimeEntryUpdate, aG as TimeEntryCreate, aH as TimeOffRequestCreate, aI as TimeOffRequestUpdate, aJ as AutotaskVersionResultModel, aK as ApiVersionResultModel, aL as ZoneInformationResultModel, aM as Appointment, aN as AppointmentCreate, aO as AppointmentUpdate, aP as AttachmentInfo, aQ as AttachmentInfoCreate, aR as AttachmentInfoUpdate, aS as BillingCode, aT as BillingCodeCreate, aU as BillingCodeUpdate, aV as BillingItemApprovalLevel, aW as BillingItemApprovalLevelCreate, aX as BillingItemApprovalLevelUpdate, aY as BillingItemsCreate, aZ as BillingItemsUpdate, a_ as ChangeRequestLink, a$ as ChangeRequestLinkCreate, b0 as ChangeRequestLinkUpdate, b1 as ChecklistLibrary, b2 as ChecklistLibraryCreate, b3 as ChecklistLibraryUpdate, b4 as ChecklistLibraryChecklistItem, b5 as ChecklistLibraryChecklistItemCreate, b6 as ChecklistLibraryChecklistItemUpdate, b7 as ClassificationIcon, b8 as ClassificationIconCreate, b9 as ClassificationIconUpdate, ba as CompanyAlert, bb as CompanyAlertCreate, bc as CompanyAlertUpdate, bd as CompanyAttachment, be as CompanyAttachmentCreate, bf as CompanyAttachmentUpdate, bg as CompanyLocationCreate, bh as CompanyLocationUpdate, bi as CompanyNoteAttachment, bj as CompanyNoteAttachmentCreate, bk as CompanyNoteAttachmentUpdate, bl as CompanyNoteCreate, bm as CompanyNoteUpdate, bn as CompanySiteConfigurations, bo as CompanySiteConfigurationsCreate, bp as CompanySiteConfigurationsUpdate, bq as CompanyWebhook, br as CompanyWebhookCreate, bs as CompanyWebhookUpdate, bt as ConfigurationItemAttachment, bu as ConfigurationItemAttachmentCreate, bv as ConfigurationItemAttachmentUpdate, bw as ConfigurationItemBillingProductAssociationsCreate, bx as ConfigurationItemBillingProductAssociationsUpdate, by as ConfigurationItemCategoryCreate, bz as ConfigurationItemCategoryUpdate, bA as ConfigurationItemCategoryUdfAssociation, bB as ConfigurationItemCategoryUdfAssociationCreate, bC as ConfigurationItemCategoryUdfAssociationUpdate, bD as ConfigurationItemDnsRecord, bE as ConfigurationItemDnsRecordCreate, bF as ConfigurationItemDnsRecordUpdate, bG as ConfigurationItemNoteAttachment, bH as ConfigurationItemNoteAttachmentCreate, bI as ConfigurationItemNoteAttachmentUpdate, bJ as ConfigurationItemNoteCreate, bK as ConfigurationItemNoteUpdate, bL as ConfigurationItemRelatedItemCreate, bM as ConfigurationItemRelatedItemUpdate, bN as ConfigurationItemSslSubjectAlternativeName, bO as ConfigurationItemSslSubjectAlternativeNameCreate, bP as ConfigurationItemSslSubjectAlternativeNameUpdate, bQ as ConfigurationItemTypeCreate, bR as ConfigurationItemTypeUpdate, bS as ConfigurationItemWebhook, bT as ConfigurationItemWebhookCreate, bU as ConfigurationItemWebhookUpdate, bV as ContactGroupContacts, bW as ContactGroupContactsCreate, bX as ContactGroupContactsUpdate, bY as ContactGroups, bZ as ContactGroupsCreate, b_ as ContactGroupsUpdate, b$ as ContactWebhook, c0 as ContactWebhookCreate, c1 as ContactWebhookUpdate, c2 as ContractBillingRuleCreate, c3 as ContractBillingRuleUpdate, c4 as ContractBlockHourFactor, c5 as ContractBlockHourFactorCreate, c6 as ContractBlockHourFactorUpdate, c7 as ContractBlockCreate, c8 as ContractBlockUpdate, c9 as ContractChargeCreate, ca as ContractChargeUpdate, cb as ContractExclusionBillingCode, cc as ContractExclusionBillingCodeCreate, cd as ContractExclusionBillingCodeUpdate, ce as ContractExclusionRoles, cf as ContractExclusionRolesCreate, cg as ContractExclusionRolesUpdate, ch as ContractExclusionSetExcludedRoles, ci as ContractExclusionSetExcludedRolesCreate, cj as ContractExclusionSetExcludedRolesUpdate, ck as ContractExclusionSetExcludedWorkTypes, cl as ContractExclusionSetExcludedWorkTypesCreate, cm as ContractExclusionSetExcludedWorkTypesUpdate, cn as ContractExclusionSets, co as ContractExclusionSetsCreate, cp as ContractExclusionSetsUpdate, cq as ContractMilestone, cr as ContractMilestoneCreate, cs as ContractMilestoneUpdate, ct as ContractNoteAttachment, cu as ContractNoteAttachmentCreate, cv as ContractNoteAttachmentUpdate, cw as ContractNote, cx as ContractNoteCreate, cy as ContractNoteUpdate, cz as ContractRateCreate, cA as ContractRateUpdate, cB as ContractRetainers, cC as ContractRetainersCreate, cD as ContractRetainersUpdate, cE as ContractRoleCostsCreate, cF as ContractRoleCostsUpdate, cG as ContractServiceAdjustment, cH as ContractServiceAdjustmentCreate, cI as ContractServiceAdjustmentUpdate, cJ as ContractServiceBundleAdjustment, cK as ContractServiceBundleAdjustmentCreate, cL as ContractServiceBundleAdjustmentUpdate, cM as ContractServiceBundle, cN as ContractServiceBundleCreate, cO as ContractServiceBundleUpdate, cP as ContractServiceBundleUnit, cQ as ContractServiceBundleUnitCreate, cR as ContractServiceBundleUnitUpdate, cS as ContractServiceCreate, cT as ContractServiceUpdate, cU as ContractServiceUnitCreate, cV as ContractServiceUnitUpdate, cW as ContractTicketPurchases, cX as ContractTicketPurchasesCreate, cY as ContractTicketPurchasesUpdate, cZ as Country, c_ as CountryCreate, c$ as CountryUpdate, d0 as Currency, d1 as CurrencyCreate, d2 as CurrencyUpdate, Q as QueryParams, d3 as DeletedTaskActivityLog, d4 as DeletedTicketActivityLog, d5 as DeletedTicketLog, d6 as Department, d7 as DepartmentCreate, d8 as DepartmentUpdate, d9 as DomainRegistrar, da as DomainRegistrarCreate, db as DomainRegistrarUpdate, dc as ExpenseItemAttachment, dd as ExpenseItemAttachmentCreate, de as ExpenseItemAttachmentUpdate, df as ExpenseItemCreate, dg as ExpenseItemUpdate, dh as ExpenseReportAttachment, di as ExpenseReportAttachmentCreate, dj as ExpenseReportAttachmentUpdate, dk as ExpenseReport, dl as ExpenseReportCreate, dm as ExpenseReportUpdate, dn as Holiday, dp as HolidayCreate, dq as HolidayUpdate, dr as HolidaySet, ds as HolidaySetCreate, dt as HolidaySetUpdate, du as InvoiceTemplate, dv as InvoiceTemplateCreate, dw as InvoiceTemplateUpdate, dx as NotificationHistory, dy as NotificationHistoryCreate, dz as NotificationHistoryUpdate, dA as Opportunity, dB as OpportunityCreate, dC as OpportunityUpdate, dD as OpportunityAttachment, dE as OpportunityAttachmentCreate, dF as OpportunityAttachmentUpdate, dG as OpportunityCategory, dH as OpportunityCategoryCreate, dI as OpportunityCategoryUpdate, dJ as OrganizationalLevel1Create, dK as OrganizationalLevel1Update, dL as OrganizationalLevel2Create, dM as OrganizationalLevel2Update, dN as OrganizationalLevelAssociationCreate, dO as OrganizationalLevelAssociationUpdate, dP as Phase, dQ as PhaseCreate, dR as PhaseUpdate, 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-CCW_EpLg.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: 9521525945b1306da363ce5fb38649e17c5526f2c0842da64c3bec7993e62735
|
|
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.
|
|
@@ -1500,7 +1500,9 @@ interface ConfigurationItemProfileOptions {
|
|
|
1500
1500
|
noteLimit?: number;
|
|
1501
1501
|
/** Max related-item records (default 50). */
|
|
1502
1502
|
relatedLimit?: number;
|
|
1503
|
-
/**
|
|
1503
|
+
/** Max subscription records (default 50; issue #496). */
|
|
1504
|
+
subscriptionLimit?: number;
|
|
1505
|
+
/** Opt-in name/label siblings (issue #77; default OFF — the sibling keys are ABSENT, not null, and no name/label resolution runs: zero added wire, byte-identical output). ON: the ci row carries the closed-scope siblings (the contract, company, product and vendor names, issue #496 — the CI row has NO issue-listed picklist fields, so no labels) + the top-level `names` section. */
|
|
1504
1506
|
names?: boolean;
|
|
1505
1507
|
/** May LOWER the composite's name-read budget (default 20 — the count of COLD wire reads issued for name resolution; cache hits are free of the budget). The caller may lower it, never raise it; over-budget ids serve `name: null` and the names section sets `truncated: true` (never an error). */
|
|
1506
1508
|
maxNameReads?: number;
|
|
@@ -1519,16 +1521,25 @@ interface ConfigurationItemProfileProductAssociations {
|
|
|
1519
1521
|
/** Optional visibility note; never inferred from a product create constraint or tenant inventory. */
|
|
1520
1522
|
note?: string;
|
|
1521
1523
|
}
|
|
1522
|
-
/** The full configuration-item profile in ONE call (<=
|
|
1524
|
+
/** The full configuration-item profile in ONE call (<=8 bounded reads). */
|
|
1523
1525
|
interface ConfigurationItemProfile {
|
|
1524
1526
|
ci: ConfigurationItem;
|
|
1525
1527
|
/** Null when the item carries no configurationItemType (or the record misses). */
|
|
1526
1528
|
type: ConfigurationItemType | null;
|
|
1527
1529
|
/** Null when the item carries no configurationItemCategoryID (or the record misses). */
|
|
1528
1530
|
category: ConfigurationItemCategory | null;
|
|
1531
|
+
/** Null when the item carries no productID (or 0), the record misses, or the read faulted (issue #496; see `parts.product`). */
|
|
1532
|
+
product: Product | null;
|
|
1529
1533
|
notes: ConfigurationItemProfilePart<ConfigurationItemNote>;
|
|
1530
1534
|
relatedItems: ConfigurationItemProfilePart<ConfigurationItemRelatedItem>;
|
|
1531
1535
|
productAssociations: ConfigurationItemProfileProductAssociations;
|
|
1536
|
+
/** The subscriptions keyed by this item's configurationItemID (issue #496): software/licence terms. Empty and uncapped when the query faulted (see `parts.subscriptions`). */
|
|
1537
|
+
subscriptions: ConfigurationItemProfilePart<Subscription>;
|
|
1538
|
+
/** Present only when a degradable part faulted: part -> the typed fault code (e.g. `FORBIDDEN` for an API user without read access). Only the product and subscriptions parts degrade; every other part's fault rejects the profile. */
|
|
1539
|
+
unavailable?: {
|
|
1540
|
+
product?: string;
|
|
1541
|
+
subscriptions?: string;
|
|
1542
|
+
};
|
|
1532
1543
|
/** The opt-in name/label section (issue #77) — present EXACTLY when `names: true` (the sibling keys are absent from the rows otherwise). */
|
|
1533
1544
|
names?: CompositeNamesSection;
|
|
1534
1545
|
/** Per-part status: FK parts 'ok' | 'absent' (dangling/missing FK); list parts 'ok'; productAssociations 'ok' on a successful scoped query ('blind' retained for compatibility). */
|
|
@@ -1536,9 +1547,11 @@ interface ConfigurationItemProfile {
|
|
|
1536
1547
|
ci: 'ok';
|
|
1537
1548
|
type: 'ok' | 'absent';
|
|
1538
1549
|
category: 'ok' | 'absent';
|
|
1550
|
+
product: 'ok' | 'absent' | 'unavailable';
|
|
1539
1551
|
notes: 'ok';
|
|
1540
1552
|
relatedItems: 'ok';
|
|
1541
1553
|
productAssociations: 'ok' | 'blind';
|
|
1554
|
+
subscriptions: 'ok' | 'unavailable';
|
|
1542
1555
|
};
|
|
1543
1556
|
}
|
|
1544
1557
|
|
|
@@ -2926,6 +2939,12 @@ declare class ZoneInformationResource {
|
|
|
2926
2939
|
* no request.
|
|
2927
2940
|
*/
|
|
2928
2941
|
|
|
2942
|
+
type ReadOnlyRootResource<T> = Pick<GenericResource<T>, 'query' | 'queryAll' | 'queryBounded' | 'getEntityInfo' | 'getFieldInfo' | 'getUdfInfo'> & {
|
|
2943
|
+
count(params?: Pick<QueryParams, 'filter'>): Promise<number>;
|
|
2944
|
+
get(id: Identifier, opts?: {
|
|
2945
|
+
fresh?: boolean;
|
|
2946
|
+
} | null): Promise<T>;
|
|
2947
|
+
};
|
|
2929
2948
|
declare class AutotaskClient {
|
|
2930
2949
|
/** The validated config (resolved defaults; final values). */
|
|
2931
2950
|
readonly config: ResolvedAutotaskConfig;
|
|
@@ -2990,6 +3009,9 @@ declare class AutotaskClient {
|
|
|
2990
3009
|
readonly contractTicketPurchases: GenericResource<ContractTicketPurchases, ContractTicketPurchasesCreate, ContractTicketPurchasesUpdate>;
|
|
2991
3010
|
readonly countries: GenericResource<Country, CountryCreate, CountryUpdate>;
|
|
2992
3011
|
readonly currencies: GenericResource<Currency, CurrencyCreate, CurrencyUpdate>;
|
|
3012
|
+
readonly deletedTaskActivityLogs: ReadOnlyRootResource<DeletedTaskActivityLog>;
|
|
3013
|
+
readonly deletedTicketActivityLogs: ReadOnlyRootResource<DeletedTicketActivityLog>;
|
|
3014
|
+
readonly deletedTicketLogs: ReadOnlyRootResource<DeletedTicketLog>;
|
|
2993
3015
|
readonly departments: GenericResource<Department, DepartmentCreate, DepartmentUpdate>;
|
|
2994
3016
|
readonly domainRegistrars: GenericResource<DomainRegistrar, DomainRegistrarCreate, DomainRegistrarUpdate>;
|
|
2995
3017
|
readonly entityInformation: EntityInformationResource;
|
|
@@ -3309,6 +3331,8 @@ interface BoundedQueryResult<T> {
|
|
|
3309
3331
|
interface QueryWalkState {
|
|
3310
3332
|
/** Absolute `pageDetails.nextPageUrl` from the previous page. */
|
|
3311
3333
|
cursor: string | null;
|
|
3334
|
+
/** The original method and snapshot of the query body. */
|
|
3335
|
+
initialRequest?: Pick<RequestOptions, 'method' | 'body' | 'query'>;
|
|
3312
3336
|
}
|
|
3313
3337
|
/** Normalised result of a `createIfNotExists` composition. */
|
|
3314
3338
|
interface CreateIfNotExistsResult<T> {
|
|
@@ -3465,7 +3489,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3465
3489
|
/** The bounded client-scan caps (section 19.2; resolved per client). */
|
|
3466
3490
|
protected get resolutionCaps(): ResolutionCaps;
|
|
3467
3491
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
3468
|
-
/**
|
|
3492
|
+
/** Follow the vendor cursor with the initial query method and, for POST, the same QueryModel (issue #118). */
|
|
3469
3493
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
3470
3494
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
3471
3495
|
protected pageFetcher(params?: QueryParams): PageFetcher<T>;
|
|
@@ -3497,12 +3521,10 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3497
3521
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
3498
3522
|
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
3499
3523
|
* 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).
|
|
3524
|
+
* the total cap; `limit` then only sizes pages. Continuations follow the
|
|
3525
|
+
* cursor with the initial method. POST keeps the same QueryModel body
|
|
3526
|
+
* across pages (issue #118). GET combines the cursor with the original search.
|
|
3527
|
+
* Each walk keeps its own request and cursor state.
|
|
3506
3528
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
3507
3529
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
3508
3530
|
* is a bounded read, not the `paginate` generator's error path).
|