node-autotask 0.85.0 → 0.87.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 +13 -0
- package/MCP_TOOL_CATALOG.json +336 -9
- package/README.md +1 -1
- package/capabilities.json +1411 -218
- package/dist/capabilities-data.js +1562 -369
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-7GNZT7Y7.cjs → chunk-CUZJJCI5.cjs} +1231 -438
- package/dist/{chunk-GTTAPAGP.js → chunk-EXNDYJPG.js} +3 -3
- package/dist/{chunk-EPJG7M5C.js → chunk-G57Q7OAC.js} +2 -2
- package/dist/{chunk-L6YCH2I4.js → chunk-GAFG7RHG.js} +1226 -433
- package/dist/{chunk-PBOH2OHJ.cjs → chunk-HUA4WB4N.cjs} +32 -30
- package/dist/{chunk-HF5YG4TV.js → chunk-NXSQXXNK.js} +4 -2
- package/dist/{chunk-JV6MX2U3.cjs → chunk-RU4ECNQN.cjs} +200 -200
- package/dist/{chunk-JCKYM7FD.cjs → chunk-YVNGUGG6.cjs} +3 -3
- package/dist/{index-rWcPjRpX.d.ts → index-CsL5gGJo.d.ts} +33 -13
- package/dist/{index-CCW_EpLg.d.cts → index-Cxfr_DOD.d.cts} +76 -3
- package/dist/{index-CCW_EpLg.d.ts → index-Cxfr_DOD.d.ts} +76 -3
- package/dist/{index-DkyNXWyt.d.cts → index-DGiua9uK.d.cts} +33 -13
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +5 -20
- package/dist/operations/index.d.ts +5 -20
- 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 +4 -2
- package/docs/VENDOR-QUIRKS.md +34 -17
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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.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 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 KnowledgeBaseArticle, dy as KnowledgeBaseArticleCreate, dz as KnowledgeBaseArticleUpdate, dA as KnowledgeBaseCategory, dB as KnowledgeBaseCategoryCreate, dC as KnowledgeBaseCategoryUpdate, dD as NotificationHistory, dE as NotificationHistoryCreate, dF as NotificationHistoryUpdate, dG as Opportunity, dH as OpportunityCreate, dI as OpportunityUpdate, dJ as OpportunityAttachment, dK as OpportunityAttachmentCreate, dL as OpportunityAttachmentUpdate, dM as OpportunityCategory, dN as OpportunityCategoryCreate, dO as OpportunityCategoryUpdate, dP as OrganizationalLevel1Create, dQ as OrganizationalLevel1Update, dR as OrganizationalLevel2Create, dS as OrganizationalLevel2Update, dT as OrganizationalLevelAssociationCreate, dU as OrganizationalLevelAssociationUpdate, dV as Phase, dW as PhaseCreate, dX as PhaseUpdate, dY as ProductCreate, dZ as ProductUpdate, d_ as ProductVendors, d$ as ProductVendorsCreate, e0 as ProductVendorsUpdate, e1 as ProjectAttachment, e2 as ProjectAttachmentCreate, e3 as ProjectAttachmentUpdate, e4 as ProjectCharge, e5 as ProjectChargeCreate, e6 as ProjectChargeUpdate, e7 as ProjectNoteAttachment, e8 as ProjectNoteAttachmentCreate, e9 as ProjectNoteAttachmentUpdate, ea as ProjectNote, eb as ProjectNoteCreate, ec as ProjectNoteUpdate, ed as ProjectCreate, ee as ProjectUpdate, ef as ProjectContext, eg as PurchaseApprovals, eh as PurchaseApprovalsCreate, ei as PurchaseApprovalsUpdate, ej as PurchaseOrderItemReceiving, ek as PurchaseOrderItemReceivingCreate, el as PurchaseOrderItemReceivingUpdate, em as PurchaseOrderItems, en as PurchaseOrderItemsCreate, eo as PurchaseOrderItemsUpdate, ep as PurchaseOrders, eq as PurchaseOrdersCreate, er as PurchaseOrdersUpdate, es as QuoteItemCreate, et as QuoteItemUpdate, eu as QuoteLocation, ev as QuoteLocationCreate, ew as QuoteLocationUpdate, ex as QuoteTemplate, ey as QuoteTemplateCreate, ez as QuoteTemplateUpdate, eA as ResourceAttachment, eB as ResourceAttachmentCreate, eC as ResourceAttachmentUpdate, eD as ResourceRoleQueue, eE as ResourceRoleQueueCreate, eF as ResourceRoleQueueUpdate, eG as ResourceRole, eH as ResourceRoleCreate, eI as ResourceRoleUpdate, eJ as ResourceSkill, eK as ResourceSkillCreate, eL as ResourceSkillUpdate, eM as ResourceTimeOffApprover, eN as ResourceTimeOffApproverCreate, eO as ResourceTimeOffApproverUpdate, eP as Role, eQ as RoleCreate, eR as RoleUpdate, eS as SalesOrderAttachment, eT as SalesOrderAttachmentCreate, eU as SalesOrderAttachmentUpdate, eV as SalesOrder, eW as SalesOrderCreate, eX as SalesOrderUpdate, eY as ServiceCallTaskResourceCreate, eZ as ServiceCallTaskResourceUpdate, e_ as ServiceCallTaskCreate, e$ as ServiceCallTaskUpdate, f0 as ServiceCallTicketResource, f1 as ServiceCallTicketResourceCreate, f2 as ServiceCallTicketResourceUpdate, f3 as ServiceCallTicketCreate, f4 as ServiceCallTicketUpdate, f5 as ServiceLevelAgreementResults, f6 as ServiceLevelAgreementResultsCreate, f7 as ServiceLevelAgreementResultsUpdate, f8 as Service, f9 as ServiceCreate, fa as ServiceUpdate, fb as Skill, fc as SkillCreate, fd as SkillUpdate, fe as SubscriptionPeriod, ff as SubscriptionPeriodCreate, fg as SubscriptionPeriodUpdate, fh as SubscriptionCreate, fi as SubscriptionUpdate, fj as SurveyResults, fk as SurveyResultsCreate, fl as SurveyResultsUpdate, fm as Survey, fn as SurveyCreate, fo as SurveyUpdate, fp as TagAlias, fq as TagAliasCreate, fr as TagAliasUpdate, fs as TagGroup, ft as TagGroupCreate, fu as TagGroupUpdate, fv as Tag, fw as TagCreate, fx as TagUpdate, fy as TaskAttachment, fz as TaskAttachmentCreate, fA as TaskAttachmentUpdate, fB as TaskNoteAttachment, fC as TaskNoteAttachmentCreate, fD as TaskNoteAttachmentUpdate, fE as TaskNote, fF as TaskNoteCreate, fG as TaskNoteUpdate, fH as TaskPredecessor, fI as TaskPredecessorCreate, fJ as TaskPredecessorUpdate, fK as Task, fL as TaskCreate, fM as TaskUpdate, fN as TaskSecondaryResource, fO as TaskSecondaryResourceCreate, fP as TaskSecondaryResourceUpdate, fQ as TaxRegion, fR as TaxRegionCreate, fS as TaxRegionUpdate, fT as TicketAdditionalConfigurationItem, fU as TicketAdditionalConfigurationItemCreate, fV as TicketAdditionalConfigurationItemUpdate, fW as TicketAdditionalContact, fX as TicketAdditionalContactCreate, fY as TicketAdditionalContactUpdate, fZ as TicketAttachment, f_ as TicketAttachmentCreate, f$ as TicketAttachmentUpdate, g0 as TicketCategory, g1 as TicketCategoryCreate, g2 as TicketCategoryUpdate, g3 as TicketCategoryFieldDefault, g4 as TicketCategoryFieldDefaultCreate, g5 as TicketCategoryFieldDefaultUpdate, g6 as TicketChangeRequestApproval, g7 as TicketChangeRequestApprovalCreate, g8 as TicketChangeRequestApprovalUpdate, g9 as TicketChecklistItem, ga as TicketChecklistItemCreate, gb as TicketChecklistItemUpdate, gc as TicketChecklistLibrary, gd as TicketChecklistLibraryCreate, ge as TicketChecklistLibraryUpdate, gf as TicketHistory, gg as TicketHistoryCreate, gh as TicketHistoryUpdate, gi as TicketNoteAttachment, gj as TicketNoteAttachmentCreate, gk as TicketNoteAttachmentUpdate, gl as TicketNote, gm as TicketNoteCreate, gn as TicketNoteUpdate, go as TicketNoteWebhook, gp as TicketNoteWebhookCreate, gq as TicketNoteWebhookUpdate, gr as TicketSecondaryResource, gs as TicketSecondaryResourceCreate, gt as TicketSecondaryResourceUpdate, gu as TicketWebhook, gv as TicketWebhookCreate, gw as TicketWebhookUpdate, gx as TimeEntryAttachment, gy as TimeEntryAttachmentCreate, gz as TimeEntryAttachmentUpdate, gA as UserDefinedFieldDefinition, gB as UserDefinedFieldDefinitionCreate, gC as UserDefinedFieldDefinitionUpdate, gD as UserDefinedFieldListItem, gE as UserDefinedFieldListItemCreate, gF as UserDefinedFieldListItemUpdate, gG as Resolution, gH as Page, gI as EntityInformationModel, gJ as FieldInformationModel, gK as Field, gL as FilterCondition, gM as CompositeNameTable, gN as CompositeContextOptions } from './index-Cxfr_DOD.cjs';
|
|
2
2
|
import { L as Logger } from './logger-B1gYmFre.cjs';
|
|
3
3
|
|
|
4
4
|
/** Request shape + retriable-method set (split from http.ts, issue #166). */
|
|
@@ -107,7 +107,7 @@ interface RequestOptions {
|
|
|
107
107
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
108
108
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
109
109
|
*
|
|
110
|
-
* planHash:
|
|
110
|
+
* planHash: c97deac4ac7c3ca9ce4cea10ac6a50bb19b6517993d9657c52397964e1fcf715
|
|
111
111
|
*/
|
|
112
112
|
|
|
113
113
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -418,7 +418,7 @@ interface AutotaskConfig {
|
|
|
418
418
|
* `*Name` / `*Label` siblings to the served rows
|
|
419
419
|
* (picklist `<field>Label`, `<fk>Name` for the record-FK fields and the
|
|
420
420
|
* staff name for `resourceID`/`*ResourceID`). Default `false` (raw ids —
|
|
421
|
-
* the label pass costs a field-catalog read plus up to
|
|
421
|
+
* the label pass costs a field-catalog read plus up to 50 cold name
|
|
422
422
|
* reads per call; the MCP server enables it so LLM output keeps the
|
|
423
423
|
* labels). The per-call `names` key/opts is the explicit override:
|
|
424
424
|
* `names: true` turns labels on for that call, `names: false` off (even
|
|
@@ -1171,7 +1171,7 @@ interface CompanyFullProfileOptions {
|
|
|
1171
1171
|
projectLimit?: number;
|
|
1172
1172
|
/** 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 company row (owner / created-by resource names), the openTickets rows (the same ticket-field siblings as tickets.fullContext) and the projects rows (lead / creator resource names + the contract name — project picklists are OUT of the closed label scope, OQ1) carry the siblings + the top-level `names` section. */
|
|
1173
1173
|
names?: boolean;
|
|
1174
|
-
/** May LOWER the composite's name-read budget (default
|
|
1174
|
+
/** May LOWER the composite's name-read budget (default 50 — the count of COLD ids read for name resolution, per id even when several share one batched query; 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). */
|
|
1175
1175
|
maxNameReads?: number;
|
|
1176
1176
|
/** Explicit closed ticket-status ids for the openTickets part, overriding the resolved picklist (a caller decision, reported as source 'picklist'; same as tickets.forResource). */
|
|
1177
1177
|
excludeStatusIds?: number[];
|
|
@@ -1504,7 +1504,7 @@ interface ConfigurationItemProfileOptions {
|
|
|
1504
1504
|
subscriptionLimit?: number;
|
|
1505
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. */
|
|
1506
1506
|
names?: boolean;
|
|
1507
|
-
/** May LOWER the composite's name-read budget (default
|
|
1507
|
+
/** May LOWER the composite's name-read budget (default 50 — the count of COLD ids read for name resolution, per id even when several share one batched query; 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). */
|
|
1508
1508
|
maxNameReads?: number;
|
|
1509
1509
|
}
|
|
1510
1510
|
/** One capped list part (a full page sets `capped: true` — more may exist). */
|
|
@@ -2168,7 +2168,7 @@ interface TicketFullContextOptions {
|
|
|
2168
2168
|
textLimit?: number;
|
|
2169
2169
|
/** 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 ticket row and each time-entry row carry the closed-scope siblings (the ticket picklist labels — status / priority / ticketType / issueType / subIssueType / source / queue — plus the contract / billing-code / role record-FK names and the resource names — creator + the time-entry resource) and the top-level `names` section. */
|
|
2170
2170
|
names?: boolean;
|
|
2171
|
-
/** May LOWER the composite's name-read budget (default
|
|
2171
|
+
/** May LOWER the composite's name-read budget (default 50 — the count of COLD ids read for name resolution, per id even when several share one batched query; 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). */
|
|
2172
2172
|
maxNameReads?: number;
|
|
2173
2173
|
}
|
|
2174
2174
|
/** One capped list part (a full page sets `capped: true` — more may exist). */
|
|
@@ -2945,6 +2945,20 @@ type ReadOnlyRootResource<T> = Pick<GenericResource<T>, 'query' | 'queryAll' | '
|
|
|
2945
2945
|
fresh?: boolean;
|
|
2946
2946
|
} | null): Promise<T>;
|
|
2947
2947
|
};
|
|
2948
|
+
type KnowledgeBaseArticleResource<T, TCreate, TUpdate> = ReadOnlyRootResource<T> & {
|
|
2949
|
+
create(parentId: Identifier, data: TCreate, opts?: CreateOpts): Promise<OperationResult | DryRunResult<TCreate>>;
|
|
2950
|
+
update(parentId: Identifier, id: Identifier, data: TUpdate, opts?: Omit<MutationOpts, 'raw'>): Promise<OperationResult | DryRunResult<TUpdate>>;
|
|
2951
|
+
delete(parentId: Identifier, id: Identifier, opts?: Pick<MutationOpts, 'dryRun' | 'lastModifiedDate' | 'maxRetries'>): Promise<OperationResult | DryRunResult<Record<string, unknown>>>;
|
|
2952
|
+
};
|
|
2953
|
+
type KnowledgeBaseCategoryResource<T, TCreate, TUpdate> = ReadOnlyRootResource<T> & {
|
|
2954
|
+
create(data: TCreate, opts?: CreateOpts): Promise<OperationResult | DryRunResult<TCreate>>;
|
|
2955
|
+
createIfNotExists(data: TCreate, opts?: {
|
|
2956
|
+
dedupFields?: string[];
|
|
2957
|
+
dryRun?: boolean;
|
|
2958
|
+
}): Promise<CreateIfNotExistsResult<T> | DryRunResult<TCreate>>;
|
|
2959
|
+
update(id: Identifier, data: TUpdate, opts?: Omit<MutationOpts, 'raw' | 'lastModifiedDate'>): Promise<OperationResult | DryRunResult<TUpdate>>;
|
|
2960
|
+
delete(id: Identifier, opts?: Pick<MutationOpts, 'dryRun' | 'maxRetries'>): Promise<OperationResult | DryRunResult<Record<string, unknown>>>;
|
|
2961
|
+
};
|
|
2948
2962
|
declare class AutotaskClient {
|
|
2949
2963
|
/** The validated config (resolved defaults; final values). */
|
|
2950
2964
|
readonly config: ResolvedAutotaskConfig;
|
|
@@ -3024,6 +3038,8 @@ declare class AutotaskClient {
|
|
|
3024
3038
|
readonly inventoryProducts: InventoryProductsResource;
|
|
3025
3039
|
readonly invoices: InvoicesResource;
|
|
3026
3040
|
readonly invoiceTemplates: GenericResource<InvoiceTemplate, InvoiceTemplateCreate, InvoiceTemplateUpdate>;
|
|
3041
|
+
readonly knowledgeBaseArticles: KnowledgeBaseArticleResource<KnowledgeBaseArticle, KnowledgeBaseArticleCreate, KnowledgeBaseArticleUpdate>;
|
|
3042
|
+
readonly knowledgeBaseCategories: KnowledgeBaseCategoryResource<KnowledgeBaseCategory, KnowledgeBaseCategoryCreate, KnowledgeBaseCategoryUpdate>;
|
|
3027
3043
|
readonly modules: ModulesResource;
|
|
3028
3044
|
readonly notificationHistory: GenericResource<NotificationHistory, NotificationHistoryCreate, NotificationHistoryUpdate>;
|
|
3029
3045
|
readonly opportunities: GenericResource<Opportunity, OpportunityCreate, OpportunityUpdate>;
|
|
@@ -3491,8 +3507,10 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3491
3507
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
3492
3508
|
/** Follow the vendor cursor with the initial query method and, for POST, the same QueryModel (issue #118). */
|
|
3493
3509
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
3510
|
+
private continueAcrossEmptyPage;
|
|
3494
3511
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
3495
3512
|
protected pageFetcher(params?: QueryParams): PageFetcher<T>;
|
|
3513
|
+
protected snapshotKnowledgeBaseQuery<P extends QueryParams>(params?: P): P | undefined;
|
|
3496
3514
|
/** Issue #281: relation filters (`ticket.<field>` …) resolve before a walk,
|
|
3497
3515
|
* through the same rewrite as queryBounded / count. `undefined` = no parent
|
|
3498
3516
|
* matched, so nothing can match (the walk is skipped: zero child wire). */
|
|
@@ -3503,7 +3521,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3503
3521
|
* (as queryBounded). Label siblings are opt-in (issue #287): the per-call
|
|
3504
3522
|
* `names` key is the explicit override, absent = the client's `labels`
|
|
3505
3523
|
* option (off by default). When on, labelling runs per page, so the cold
|
|
3506
|
-
* name-read cap (
|
|
3524
|
+
* name-read cap (DEFAULT_MAX_NAME_READS) applies per page; a capped id gets a null `*Name`
|
|
3507
3525
|
* (an iterator has no result envelope for the `names` summary). A
|
|
3508
3526
|
* resource built without a client (bare `HttpClient`) yields raw rows.
|
|
3509
3527
|
*/
|
|
@@ -3542,6 +3560,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3542
3560
|
*/
|
|
3543
3561
|
queryBounded(params?: BoundedQueryParams): Promise<BoundedQueryResult<T>>;
|
|
3544
3562
|
private boundedQueryResult;
|
|
3563
|
+
private hasCompleteKnowledgeBaseWindow;
|
|
3545
3564
|
/** `POST /V1.0/<E>/query/count` → `queryCount` unwrapped to a plain number —
|
|
3546
3565
|
* or, on a plan-pinned blind surface, the `{ count: 0, blindSurface }`
|
|
3547
3566
|
* typed sentinel (S12-C T10; see `BlindCountResult`). */
|
|
@@ -3551,7 +3570,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3551
3570
|
/** Read/meta layer of `BaseResource` (issue #165): get, entity/field/UDF info, context fetch, resolve/search, downloads. */
|
|
3552
3571
|
declare abstract class MetaBase<T = Record<string, unknown>> extends QueryBase<T> {
|
|
3553
3572
|
/** `GET /V1.0/<E>/{id}` → `{ item }` unwrapped (`item: null` → NotFoundError). */
|
|
3554
|
-
protected getGlobal(id: Identifier, fresh?: boolean): Promise<T>;
|
|
3573
|
+
protected getGlobal(id: Identifier, fresh?: boolean, maxRetries?: number): Promise<T>;
|
|
3555
3574
|
/**
|
|
3556
3575
|
* V2 merge read: a FRESH single-record GET that skips response redaction
|
|
3557
3576
|
* (the `skipResponseRedaction` transport flag). The merge round-trips the
|
|
@@ -3578,7 +3597,7 @@ declare abstract class MetaBase<T = Record<string, unknown>> extends QueryBase<T
|
|
|
3578
3597
|
maxRetries?: number;
|
|
3579
3598
|
}): Promise<T>;
|
|
3580
3599
|
/** Parent-scoped `GET .../{parentId}/<Child>/{id}` → `{ item }` unwrapped. */
|
|
3581
|
-
protected getScopedRaw(parentId: Identifier, id: Identifier, fresh?: boolean): Promise<T>;
|
|
3600
|
+
protected getScopedRaw(parentId: Identifier, id: Identifier, fresh?: boolean, maxRetries?: number): Promise<T>;
|
|
3582
3601
|
/**
|
|
3583
3602
|
* Attachment single-read: the vendor answers the model DIRECTLY (swagger),
|
|
3584
3603
|
* while the node observed `{ items: [model] }` for some attachment GETs —
|
|
@@ -3603,6 +3622,7 @@ declare abstract class MetaBase<T = Record<string, unknown>> extends QueryBase<T
|
|
|
3603
3622
|
* entity's entries via the fieldCache's `invalidate` first — the trio
|
|
3604
3623
|
* keeps its no-arg surface (the registry/MCP arity pin). */
|
|
3605
3624
|
getFieldInfo(): Promise<FieldInformationModel[]>;
|
|
3625
|
+
protected getFreshFieldInfo(maxRetries?: number): Promise<FieldInformationModel[]>;
|
|
3606
3626
|
/** `GET /V1.0/<E>/entityInformation/userDefinedFields` → `{ fields }` unwrapped.
|
|
3607
3627
|
* Goes through the field cache when it is present (issue #80:
|
|
3608
3628
|
* default-on; `cache: false` = the bit-for-bit uncached wire
|
|
@@ -3827,20 +3847,20 @@ declare abstract class MutationBase<T = Record<string, unknown>, TCreate = Recor
|
|
|
3827
3847
|
* verification is a read). Duplicate detection has no reliable lookup for
|
|
3828
3848
|
* a plain create (that is `createIfNotExists`), so it is not claimed.
|
|
3829
3849
|
*/
|
|
3830
|
-
protected runCreateDryRun<TData extends object>(data: TData, parentId?: Identifier): Promise<DryRunResult<TData>>;
|
|
3850
|
+
protected runCreateDryRun<TData extends object>(data: TData, parentId?: Identifier, parentVerified?: boolean): Promise<DryRunResult<TData>>;
|
|
3831
3851
|
/**
|
|
3832
3852
|
* `update` dry-run: input validation + current-record fetch (a missing
|
|
3833
3853
|
* record carries `warnings` and no `diff` — pinned), the stale-object
|
|
3834
3854
|
* check (mismatch throws STALE_OBJECT) and the best-effort `diff`. NO
|
|
3835
3855
|
* mutating request is issued.
|
|
3836
3856
|
*/
|
|
3837
|
-
protected runUpdateDryRun<TData extends object>(id: Identifier, data: TData, opts?: MutationOpts, parentId?: Identifier): Promise<DryRunResult<TData>>;
|
|
3857
|
+
protected runUpdateDryRun<TData extends object>(id: Identifier, data: TData, opts?: MutationOpts, parentId?: Identifier, currentRecord?: Record<string, unknown>): Promise<DryRunResult<TData>>;
|
|
3838
3858
|
/**
|
|
3839
3859
|
* `delete` dry-run: current-record verification + the stale-object check +
|
|
3840
3860
|
* the pinned envelope (no diff — a delete has no before/after fields). NO
|
|
3841
3861
|
* mutating request is issued.
|
|
3842
3862
|
*/
|
|
3843
|
-
protected runDeleteDryRun(id: Identifier, opts?: MutationOpts, parentId?: Identifier): Promise<DryRunResult<Record<string, unknown>>>;
|
|
3863
|
+
protected runDeleteDryRun(id: Identifier, opts?: MutationOpts, parentId?: Identifier, currentRecord?: Record<string, unknown>): Promise<DryRunResult<Record<string, unknown>>>;
|
|
3844
3864
|
}
|
|
3845
3865
|
|
|
3846
3866
|
/**
|
|
@@ -3998,7 +4018,7 @@ declare class GenericResource<T = Record<string, unknown>, TCreate extends objec
|
|
|
3998
4018
|
/** Get the record with its primary context records in one call (each part a
|
|
3999
4019
|
* single-record fetch; no sub-lists; absent/dangling references come back null).
|
|
4000
4020
|
* `names: true` (projects) adds the opt-in name siblings + the top-level `names`
|
|
4001
|
-
* section; `maxNameReads` may lower the name-read budget (default
|
|
4021
|
+
* section; `maxNameReads` may lower the name-read budget (default 50), never raise it. */
|
|
4002
4022
|
getContext(id: Identifier, opts?: CompositeContextOptions): Promise<TContext>;
|
|
4003
4023
|
/** Attach a checklist library to a document (POST /V1.0/Documents/{documentID}/ChecklistLibraries).
|
|
4004
4024
|
* `dryRun: true` returns the pinned envelope (document existence is unverifiable in the
|