node-autotask 0.90.0 → 0.92.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 +8 -0
- package/MCP_TOOL_CATALOG.json +360 -9
- package/README.md +1 -1
- package/capabilities.json +2022 -655
- package/dist/capabilities-data.js +2021 -654
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-K5X4BPQC.js → chunk-2MC3LDZU.js} +3 -3
- package/dist/{chunk-4CI27SCM.cjs → chunk-ATDGRAX2.cjs} +33 -30
- package/dist/{chunk-HU6OGAPI.js → chunk-ELAU2MT5.js} +5 -2
- package/dist/{chunk-OI6E5XQA.cjs → chunk-H24SV774.cjs} +473 -122
- package/dist/{chunk-D7MJC7HA.cjs → chunk-JPZ7M7QI.cjs} +200 -200
- package/dist/{chunk-CY6USWUY.js → chunk-NQNAEA23.js} +468 -117
- package/dist/{chunk-ZLMYYO7R.cjs → chunk-QXJQIZCT.cjs} +3 -3
- package/dist/{chunk-Q73VQSUP.js → chunk-XAOWO42G.js} +2 -2
- package/dist/{index-4jmitXBs.d.cts → index-B9y5IwT1.d.cts} +115 -1
- package/dist/{index-4jmitXBs.d.ts → index-B9y5IwT1.d.ts} +115 -1
- package/dist/{index-DWyJAad_.d.ts → index-U7Lepdm2.d.ts} +10 -5
- package/dist/{index-BEqbDuMk.d.cts → index-lWek2NrV.d.cts} +10 -5
- package/dist/index.cjs +85 -85
- 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 +6 -4
- package/dist/operations/index.d.ts +6 -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 +5 -2
- package/examples/mcp/manifest.ts +1 -1
- package/examples/mcp/tools-mode.ts +15 -6
- package/examples/mcp/tools-read.ts +8 -2
- 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 InventoryLocation, dv as InventoryLocationCreate, dw as InventoryLocationUpdate, dx as InvoiceTemplate, dy as InvoiceTemplateCreate, dz as InvoiceTemplateUpdate, dA as KnowledgeBaseArticle, dB as KnowledgeBaseArticleCreate, dC as KnowledgeBaseArticleUpdate, dD as KnowledgeBaseCategory, dE as KnowledgeBaseCategoryCreate, dF as KnowledgeBaseCategoryUpdate, dG as NotificationHistory, dH as NotificationHistoryCreate, dI as NotificationHistoryUpdate, dJ as Opportunity, dK as OpportunityCreate, dL as OpportunityUpdate, dM as OpportunityAttachment, dN as OpportunityAttachmentCreate, dO as OpportunityAttachmentUpdate, dP as OpportunityCategory, dQ as OpportunityCategoryCreate, dR as OpportunityCategoryUpdate, dS as OrganizationalLevel1Create, dT as OrganizationalLevel1Update, dU as OrganizationalLevel2Create, dV as OrganizationalLevel2Update, dW as OrganizationalLevelAssociationCreate, dX as OrganizationalLevelAssociationUpdate, dY as Phase, dZ as PhaseCreate, d_ as PhaseUpdate, d$ as ProductCreate, e0 as ProductUpdate, e1 as ProductVendors, e2 as ProductVendorsCreate, e3 as ProductVendorsUpdate, e4 as ProjectAttachment, e5 as ProjectAttachmentCreate, e6 as ProjectAttachmentUpdate, e7 as ProjectCharge, e8 as ProjectChargeCreate, e9 as ProjectChargeUpdate, ea as ProjectNoteAttachment, eb as ProjectNoteAttachmentCreate, ec as ProjectNoteAttachmentUpdate, ed as ProjectNote, ee as ProjectNoteCreate, ef as ProjectNoteUpdate, eg as ProjectCreate, eh as ProjectUpdate, ei as ProjectContext, ej as PurchaseApprovals, ek as PurchaseApprovalsCreate, el as PurchaseApprovalsUpdate, em as PurchaseOrderItemReceiving, en as PurchaseOrderItemReceivingCreate, eo as PurchaseOrderItemReceivingUpdate, ep as PurchaseOrderItems, eq as PurchaseOrderItemsCreate, er as PurchaseOrderItemsUpdate, es as PurchaseOrders, et as PurchaseOrdersCreate, eu as PurchaseOrdersUpdate, ev as QuoteItemCreate, ew as QuoteItemUpdate, ex as QuoteLocation, ey as QuoteLocationCreate, ez as QuoteLocationUpdate, eA as QuoteTemplate, eB as QuoteTemplateCreate, eC as QuoteTemplateUpdate, eD as ResourceAttachment, eE as ResourceAttachmentCreate, eF as ResourceAttachmentUpdate, eG as ResourceRoleQueue, eH as ResourceRoleQueueCreate, eI as ResourceRoleQueueUpdate, eJ as ResourceRole, eK as ResourceRoleCreate, eL as ResourceRoleUpdate, eM as ResourceSkill, eN as ResourceSkillCreate, eO as ResourceSkillUpdate, eP as ResourceTimeOffApprover, eQ as ResourceTimeOffApproverCreate, eR as ResourceTimeOffApproverUpdate, eS as Role, eT as RoleCreate, eU as RoleUpdate, eV as SalesOrderAttachment, eW as SalesOrderAttachmentCreate, eX as SalesOrderAttachmentUpdate, eY as SalesOrder, eZ as SalesOrderCreate, e_ as SalesOrderUpdate, e$ as ServiceCallTaskResourceCreate, f0 as ServiceCallTaskResourceUpdate, f1 as ServiceCallTaskCreate, f2 as ServiceCallTaskUpdate, f3 as ServiceCallTicketResource, f4 as ServiceCallTicketResourceCreate, f5 as ServiceCallTicketResourceUpdate, f6 as ServiceCallTicketCreate, f7 as ServiceCallTicketUpdate, f8 as ServiceLevelAgreementResults, f9 as ServiceLevelAgreementResultsCreate, fa as ServiceLevelAgreementResultsUpdate, fb as Service, fc as ServiceCreate, fd as ServiceUpdate, fe as Skill, ff as SkillCreate, fg as SkillUpdate, fh as SubscriptionPeriod, fi as SubscriptionPeriodCreate, fj as SubscriptionPeriodUpdate, fk as SubscriptionCreate, fl as SubscriptionUpdate, fm as SurveyResults, fn as SurveyResultsCreate, fo as SurveyResultsUpdate, fp as Survey, fq as SurveyCreate, fr as SurveyUpdate, fs as TagAlias, ft as TagAliasCreate, fu as TagAliasUpdate, fv as TagGroup, fw as TagGroupCreate, fx as TagGroupUpdate, fy as Tag, fz as TagCreate, fA as TagUpdate, fB as TaskAttachment, fC as TaskAttachmentCreate, fD as TaskAttachmentUpdate, fE as TaskNoteAttachment, fF as TaskNoteAttachmentCreate, fG as TaskNoteAttachmentUpdate, fH as TaskNote, fI as TaskNoteCreate, fJ as TaskNoteUpdate, fK as TaskPredecessor, fL as TaskPredecessorCreate, fM as TaskPredecessorUpdate, fN as Task, fO as TaskCreate, fP as TaskUpdate, fQ as TaskSecondaryResource, fR as TaskSecondaryResourceCreate, fS as TaskSecondaryResourceUpdate, fT as TaxRegion, fU as TaxRegionCreate, fV as TaxRegionUpdate, fW as TicketAdditionalConfigurationItem, fX as TicketAdditionalConfigurationItemCreate, fY as TicketAdditionalConfigurationItemUpdate, fZ as TicketAdditionalContact, f_ as TicketAdditionalContactCreate, f$ as TicketAdditionalContactUpdate, g0 as TicketAttachment, g1 as TicketAttachmentCreate, g2 as TicketAttachmentUpdate, g3 as TicketCategory, g4 as TicketCategoryCreate, g5 as TicketCategoryUpdate, g6 as TicketCategoryFieldDefault, g7 as TicketCategoryFieldDefaultCreate, g8 as TicketCategoryFieldDefaultUpdate, g9 as TicketChangeRequestApproval, ga as TicketChangeRequestApprovalCreate, gb as TicketChangeRequestApprovalUpdate, gc as TicketChecklistItem, gd as TicketChecklistItemCreate, ge as TicketChecklistItemUpdate, gf as TicketChecklistLibrary, gg as TicketChecklistLibraryCreate, gh as TicketChecklistLibraryUpdate, gi as TicketHistory, gj as TicketHistoryCreate, gk as TicketHistoryUpdate, gl as TicketNoteAttachment, gm as TicketNoteAttachmentCreate, gn as TicketNoteAttachmentUpdate, go as TicketNote, gp as TicketNoteCreate, gq as TicketNoteUpdate, gr as TicketNoteWebhook, gs as TicketNoteWebhookCreate, gt as TicketNoteWebhookUpdate, gu as TicketSecondaryResource, gv as TicketSecondaryResourceCreate, gw as TicketSecondaryResourceUpdate, gx as TicketWebhook, gy as TicketWebhookCreate, gz as TicketWebhookUpdate, gA as TimeEntryAttachment, gB as TimeEntryAttachmentCreate, gC as TimeEntryAttachmentUpdate, gD as UserDefinedFieldDefinition, gE as UserDefinedFieldDefinitionCreate, gF as UserDefinedFieldDefinitionUpdate, gG as UserDefinedFieldListItem, gH as UserDefinedFieldListItemCreate, gI as UserDefinedFieldListItemUpdate, gJ as Resolution, gK as Page, gL as EntityInformationModel, gM as FieldInformationModel, gN as Field, gO as FilterCondition, gP as CompositeNameTable, gQ as CompositeContextOptions } from './index-4jmitXBs.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 InternalLocation, dv as InternalLocationCreate, dw as InternalLocationUpdate, dx as InventoryItem, dy as InventoryItemCreate, dz as InventoryItemUpdate, dA as InventoryLocation, dB as InventoryLocationCreate, dC as InventoryLocationUpdate, dD as InvoiceTemplate, dE as InvoiceTemplateCreate, dF as InvoiceTemplateUpdate, dG as KnowledgeBaseArticle, dH as KnowledgeBaseArticleCreate, dI as KnowledgeBaseArticleUpdate, dJ as KnowledgeBaseCategory, dK as KnowledgeBaseCategoryCreate, dL as KnowledgeBaseCategoryUpdate, dM as NotificationHistory, dN as NotificationHistoryCreate, dO as NotificationHistoryUpdate, dP as Opportunity, dQ as OpportunityCreate, dR as OpportunityUpdate, dS as OpportunityAttachment, dT as OpportunityAttachmentCreate, dU as OpportunityAttachmentUpdate, dV as OpportunityCategory, dW as OpportunityCategoryCreate, dX as OpportunityCategoryUpdate, dY as OrganizationalLevel1Create, dZ as OrganizationalLevel1Update, d_ as OrganizationalLevel2Create, d$ as OrganizationalLevel2Update, e0 as OrganizationalLevelAssociationCreate, e1 as OrganizationalLevelAssociationUpdate, e2 as Phase, e3 as PhaseCreate, e4 as PhaseUpdate, e5 as ProductCreate, e6 as ProductUpdate, e7 as ProductVendors, e8 as ProductVendorsCreate, e9 as ProductVendorsUpdate, ea as ProjectAttachment, eb as ProjectAttachmentCreate, ec as ProjectAttachmentUpdate, ed as ProjectCharge, ee as ProjectChargeCreate, ef as ProjectChargeUpdate, eg as ProjectNoteAttachment, eh as ProjectNoteAttachmentCreate, ei as ProjectNoteAttachmentUpdate, ej as ProjectNote, ek as ProjectNoteCreate, el as ProjectNoteUpdate, em as ProjectCreate, en as ProjectUpdate, eo as ProjectContext, ep as PurchaseApprovals, eq as PurchaseApprovalsCreate, er as PurchaseApprovalsUpdate, es as PurchaseOrderItemReceiving, et as PurchaseOrderItemReceivingCreate, eu as PurchaseOrderItemReceivingUpdate, ev as PurchaseOrderItems, ew as PurchaseOrderItemsCreate, ex as PurchaseOrderItemsUpdate, ey as PurchaseOrders, ez as PurchaseOrdersCreate, eA as PurchaseOrdersUpdate, eB as QuoteItemCreate, eC as QuoteItemUpdate, eD as QuoteLocation, eE as QuoteLocationCreate, eF as QuoteLocationUpdate, eG as QuoteTemplate, eH as QuoteTemplateCreate, eI as QuoteTemplateUpdate, eJ as ResourceAttachment, eK as ResourceAttachmentCreate, eL as ResourceAttachmentUpdate, eM as ResourceRoleQueue, eN as ResourceRoleQueueCreate, eO as ResourceRoleQueueUpdate, eP as ResourceRole, eQ as ResourceRoleCreate, eR as ResourceRoleUpdate, eS as ResourceSkill, eT as ResourceSkillCreate, eU as ResourceSkillUpdate, eV as ResourceTimeOffApprover, eW as ResourceTimeOffApproverCreate, eX as ResourceTimeOffApproverUpdate, eY as Role, eZ as RoleCreate, e_ as RoleUpdate, e$ as SalesOrderAttachment, f0 as SalesOrderAttachmentCreate, f1 as SalesOrderAttachmentUpdate, f2 as SalesOrder, f3 as SalesOrderCreate, f4 as SalesOrderUpdate, f5 as ServiceCallTaskResourceCreate, f6 as ServiceCallTaskResourceUpdate, f7 as ServiceCallTaskCreate, f8 as ServiceCallTaskUpdate, f9 as ServiceCallTicketResource, fa as ServiceCallTicketResourceCreate, fb as ServiceCallTicketResourceUpdate, fc as ServiceCallTicketCreate, fd as ServiceCallTicketUpdate, fe as ServiceLevelAgreementResults, ff as ServiceLevelAgreementResultsCreate, fg as ServiceLevelAgreementResultsUpdate, fh as Service, fi as ServiceCreate, fj as ServiceUpdate, fk as ShippingType, fl as ShippingTypeCreate, fm as ShippingTypeUpdate, fn as Skill, fo as SkillCreate, fp as SkillUpdate, fq as SubscriptionPeriod, fr as SubscriptionPeriodCreate, fs as SubscriptionPeriodUpdate, ft as SubscriptionCreate, fu as SubscriptionUpdate, fv as SurveyResults, fw as SurveyResultsCreate, fx as SurveyResultsUpdate, fy as Survey, fz as SurveyCreate, fA as SurveyUpdate, fB as TagAlias, fC as TagAliasCreate, fD as TagAliasUpdate, fE as TagGroup, fF as TagGroupCreate, fG as TagGroupUpdate, fH as Tag, fI as TagCreate, fJ as TagUpdate, fK as TaskAttachment, fL as TaskAttachmentCreate, fM as TaskAttachmentUpdate, fN as TaskNoteAttachment, fO as TaskNoteAttachmentCreate, fP as TaskNoteAttachmentUpdate, fQ as TaskNote, fR as TaskNoteCreate, fS as TaskNoteUpdate, fT as TaskPredecessor, fU as TaskPredecessorCreate, fV as TaskPredecessorUpdate, fW as Task, fX as TaskCreate, fY as TaskUpdate, fZ as TaskSecondaryResource, f_ as TaskSecondaryResourceCreate, f$ as TaskSecondaryResourceUpdate, g0 as TaxRegion, g1 as TaxRegionCreate, g2 as TaxRegionUpdate, g3 as TicketAdditionalConfigurationItem, g4 as TicketAdditionalConfigurationItemCreate, g5 as TicketAdditionalConfigurationItemUpdate, g6 as TicketAdditionalContact, g7 as TicketAdditionalContactCreate, g8 as TicketAdditionalContactUpdate, g9 as TicketAttachment, ga as TicketAttachmentCreate, gb as TicketAttachmentUpdate, gc as TicketCategory, gd as TicketCategoryCreate, ge as TicketCategoryUpdate, gf as TicketCategoryFieldDefault, gg as TicketCategoryFieldDefaultCreate, gh as TicketCategoryFieldDefaultUpdate, gi as TicketChangeRequestApproval, gj as TicketChangeRequestApprovalCreate, gk as TicketChangeRequestApprovalUpdate, gl as TicketChecklistItem, gm as TicketChecklistItemCreate, gn as TicketChecklistItemUpdate, go as TicketChecklistLibrary, gp as TicketChecklistLibraryCreate, gq as TicketChecklistLibraryUpdate, gr as TicketHistory, gs as TicketHistoryCreate, gt as TicketHistoryUpdate, gu as TicketNoteAttachment, gv as TicketNoteAttachmentCreate, gw as TicketNoteAttachmentUpdate, gx as TicketNote, gy as TicketNoteCreate, gz as TicketNoteUpdate, gA as TicketNoteWebhook, gB as TicketNoteWebhookCreate, gC as TicketNoteWebhookUpdate, gD as TicketSecondaryResource, gE as TicketSecondaryResourceCreate, gF as TicketSecondaryResourceUpdate, gG as TicketWebhook, gH as TicketWebhookCreate, gI as TicketWebhookUpdate, gJ as TimeEntryAttachment, gK as TimeEntryAttachmentCreate, gL as TimeEntryAttachmentUpdate, gM as UserDefinedFieldDefinition, gN as UserDefinedFieldDefinitionCreate, gO as UserDefinedFieldDefinitionUpdate, gP as UserDefinedFieldListItem, gQ as UserDefinedFieldListItemCreate, gR as UserDefinedFieldListItemUpdate, gS as Resolution, gT as Page, gU as EntityInformationModel, gV as FieldInformationModel, gW as Field, gX as FilterCondition, gY as CompositeNameTable, gZ as CompositeContextOptions } from './index-B9y5IwT1.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). */
|
|
@@ -109,7 +109,7 @@ interface RequestOptions {
|
|
|
109
109
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
110
110
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
111
111
|
*
|
|
112
|
-
* planHash:
|
|
112
|
+
* planHash: 21e75d0f8bf9986b21c6b7996dfb1fec78b3aaa9afa86f50f5351c54c733d4ac
|
|
113
113
|
*/
|
|
114
114
|
|
|
115
115
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -3033,6 +3033,8 @@ declare class AutotaskClient {
|
|
|
3033
3033
|
readonly expenseReports: GenericResource<ExpenseReport, ExpenseReportCreate, ExpenseReportUpdate>;
|
|
3034
3034
|
readonly holidays: GenericResource<Holiday, HolidayCreate, HolidayUpdate>;
|
|
3035
3035
|
readonly holidaySets: GenericResource<HolidaySet, HolidaySetCreate, HolidaySetUpdate>;
|
|
3036
|
+
readonly internalLocations: GenericResource<InternalLocation, InternalLocationCreate, InternalLocationUpdate>;
|
|
3037
|
+
readonly inventoryItems: GenericResource<InventoryItem, InventoryItemCreate, InventoryItemUpdate>;
|
|
3036
3038
|
readonly inventoryLocations: GenericResource<InventoryLocation, InventoryLocationCreate, InventoryLocationUpdate>;
|
|
3037
3039
|
readonly inventoryProducts: InventoryProductsResource;
|
|
3038
3040
|
readonly invoices: InvoicesResource;
|
|
@@ -3081,6 +3083,7 @@ declare class AutotaskClient {
|
|
|
3081
3083
|
readonly serviceCallTickets: GenericResource<ServiceCallTicket, ServiceCallTicketCreate, ServiceCallTicketUpdate>;
|
|
3082
3084
|
readonly serviceLevelAgreementResults: GenericResource<ServiceLevelAgreementResults, ServiceLevelAgreementResultsCreate, ServiceLevelAgreementResultsUpdate>;
|
|
3083
3085
|
readonly services: GenericResource<Service, ServiceCreate, ServiceUpdate>;
|
|
3086
|
+
readonly shippingTypes: GenericResource<ShippingType, ShippingTypeCreate, ShippingTypeUpdate>;
|
|
3084
3087
|
readonly skills: GenericResource<Skill, SkillCreate, SkillUpdate>;
|
|
3085
3088
|
readonly subscriptionPeriods: GenericResource<SubscriptionPeriod, SubscriptionPeriodCreate, SubscriptionPeriodUpdate>;
|
|
3086
3089
|
readonly subscriptions: GenericResource<Subscription, SubscriptionCreate, SubscriptionUpdate>;
|
|
@@ -3509,6 +3512,7 @@ declare abstract class QueryBase<T = Record<string, unknown>> {
|
|
|
3509
3512
|
private continueAcrossEmptyPage;
|
|
3510
3513
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
3511
3514
|
protected pageFetcher(params?: QueryParams): PageFetcher<T>;
|
|
3515
|
+
/** Capture mutable input for Knowledge Base and InventoryItems reads. */
|
|
3512
3516
|
protected snapshotKnowledgeBaseQuery<P extends QueryParams>(params?: P): P | undefined;
|
|
3513
3517
|
/** Issue #281: relation filters (`ticket.<field>` …) resolve before a walk,
|
|
3514
3518
|
* through the same rewrite as queryBounded / count. `undefined` = no parent
|
|
@@ -3768,14 +3772,14 @@ declare abstract class MutationBase<T = Record<string, unknown>, TCreate = Recor
|
|
|
3768
3772
|
/** Normalise a mutation body: `id` OR `itemId` → `id`; UDF map → UDF array (UDF-capable only). */
|
|
3769
3773
|
protected normalizeMutationBody(data: Record<string, unknown>): Record<string, unknown>;
|
|
3770
3774
|
/** `POST /V1.0/<E>` → `{ id }` (issue #13: a drifted 2xx runs the bounded marker recovery where the plan pins a marker field). */
|
|
3771
|
-
protected createGlobal(data: TCreate, opts?: CreateOpts): Promise<OperationResult>;
|
|
3775
|
+
protected createGlobal(data: TCreate, opts?: CreateOpts, checkedBaseUrl?: string): Promise<OperationResult>;
|
|
3772
3776
|
/**
|
|
3773
3777
|
* Issue #378: with `verifyPersisted: true`, read the record back (fresh, the
|
|
3774
3778
|
* redacted view) and name the primitive fields the vendor did not keep. The
|
|
3775
3779
|
* write already happened, so a failed read-back is reported on the result
|
|
3776
3780
|
* (`persistedCheckFailed`: the error code, or `UNKNOWN (<error name>)`), never thrown.
|
|
3777
3781
|
*/
|
|
3778
|
-
protected withPersistedCheck(result: OperationResult, data: TUpdate, opts: MutationOpts, id: Identifier, parentId?: Identifier, checkedBaseUrl?: string): Promise<OperationResult>;
|
|
3782
|
+
protected withPersistedCheck(result: OperationResult, data: TCreate | TUpdate, opts: MutationOpts, id: Identifier, parentId?: Identifier, checkedBaseUrl?: string): Promise<OperationResult>;
|
|
3779
3783
|
protected updateGlobal(id: Identifier, data: TUpdate, opts?: MutationOpts, method?: 'PUT' | 'PATCH', checkedBaseUrl?: string): Promise<OperationResult>;
|
|
3780
3784
|
/** `DELETE /V1.0/<E>/{id}` → `{ id }` (OperationResultModel). A blank 2xx
|
|
3781
3785
|
* (204 / empty body) is a valid vendor delete answer — synthesize the
|
|
@@ -3854,7 +3858,8 @@ declare abstract class MutationBase<T = Record<string, unknown>, TCreate = Recor
|
|
|
3854
3858
|
* mutating request is issued.
|
|
3855
3859
|
*/
|
|
3856
3860
|
protected runUpdateDryRun<TData extends object>(id: Identifier, data: TData, opts?: MutationOpts, parentId?: Identifier, currentRecord?: Record<string, unknown>, partialCollection?: {
|
|
3857
|
-
checkCurrent: (current: Record<string, unknown>) => void
|
|
3861
|
+
checkCurrent: (current: Record<string, unknown>) => void | Promise<void>;
|
|
3862
|
+
checkedBaseUrl?: string;
|
|
3858
3863
|
}): Promise<DryRunResult<TData>>;
|
|
3859
3864
|
/**
|
|
3860
3865
|
* `delete` dry-run: current-record verification + the stale-object check +
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkATDGRAX2_cjs = require('./chunk-ATDGRAX2.cjs');
|
|
4
4
|
require('./chunk-S5CH4H6H.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkJPZ7M7QI_cjs = require('./chunk-JPZ7M7QI.cjs');
|
|
6
|
+
var chunkH24SV774_cjs = require('./chunk-H24SV774.cjs');
|
|
7
|
+
require('./chunk-QXJQIZCT.cjs');
|
|
8
8
|
var chunkCM5O672I_cjs = require('./chunk-CM5O672I.cjs');
|
|
9
9
|
var fs = require('fs');
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@ var ALIASES = {
|
|
|
19
19
|
AUTOTASK_USERNAME: ["AUTOTASK_USER"]
|
|
20
20
|
};
|
|
21
21
|
function presenceError(name, source) {
|
|
22
|
-
return new
|
|
22
|
+
return new chunkH24SV774_cjs.AutotaskConfigError(
|
|
23
23
|
`${source}: ${name} is not set (or is empty after shell-equivalent loading)`,
|
|
24
24
|
{
|
|
25
25
|
suggestedAction: `Set ${name} before running (see the "Credentials & env files" section of the README).`
|
|
@@ -27,8 +27,8 @@ function presenceError(name, source) {
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
function shapeError(name, value, source) {
|
|
30
|
-
return new
|
|
31
|
-
`${source}: ${name} ${
|
|
30
|
+
return new chunkH24SV774_cjs.AutotaskConfigError(
|
|
31
|
+
`${source}: ${name} ${chunkH24SV774_cjs.CREDENTIAL_ENV_LOAD_ACTION} [${chunkH24SV774_cjs.credentialValueSummary(value)}]`,
|
|
32
32
|
{
|
|
33
33
|
code: "INVALID_CREDENTIAL_SHAPE",
|
|
34
34
|
suggestedAction: "Load the credential file with the shell (`set -a; . ./.env; set +a`), use loadAutotaskCredentialEnvFile(path), or fix the quoted/contaminated value; no request was sent."
|
|
@@ -52,7 +52,7 @@ function parseCredentialEnvText(text) {
|
|
|
52
52
|
}
|
|
53
53
|
function readCredentialEnvFile(path) {
|
|
54
54
|
if (!fs.existsSync(path)) {
|
|
55
|
-
throw new
|
|
55
|
+
throw new chunkH24SV774_cjs.AutotaskConfigError(`credential env file not found: ${path}`, {
|
|
56
56
|
suggestedAction: "Check the path, or create the file with the credentials your host needs."
|
|
57
57
|
});
|
|
58
58
|
}
|
|
@@ -98,7 +98,7 @@ function pickCredentials(values, names, source, canonical) {
|
|
|
98
98
|
if (entry === void 0) continue;
|
|
99
99
|
const value = normalizeCredentialValue(entry.raw);
|
|
100
100
|
if (value.length === 0) throw presenceError(name, source);
|
|
101
|
-
if (
|
|
101
|
+
if (chunkH24SV774_cjs.credentialShapeProblem(value, { skipEdgeWhitespace: true }) !== void 0) {
|
|
102
102
|
throw shapeError(name, value, source);
|
|
103
103
|
}
|
|
104
104
|
out[name] = value;
|
|
@@ -122,7 +122,7 @@ var DOCTOR_ENTITIES = [
|
|
|
122
122
|
{ key: "resources", label: "Resources", path: "/V1.0/Resources" }
|
|
123
123
|
];
|
|
124
124
|
var present = (v) => typeof v === "string" && v.trim().length > 0;
|
|
125
|
-
var knownZone = (z) => typeof z === "string" &&
|
|
125
|
+
var knownZone = (z) => typeof z === "string" && chunkH24SV774_cjs.ZONES.includes(z);
|
|
126
126
|
function doctorConfigStep(source, origin = "config") {
|
|
127
127
|
const fields = ["apiIntegrationCode", "userName", "secret", "zone", "baseUrl", "impersonationResourceId"];
|
|
128
128
|
const sources = {};
|
|
@@ -150,7 +150,7 @@ function doctorConfigStep(source, origin = "config") {
|
|
|
150
150
|
} else if (knownZone(zone)) {
|
|
151
151
|
let url;
|
|
152
152
|
try {
|
|
153
|
-
url =
|
|
153
|
+
url = chunkH24SV774_cjs.zoneUrl(zone);
|
|
154
154
|
zoneInfo = { provided: true, resolvable: true, zone, baseUrlHost: new URL(url).host };
|
|
155
155
|
} catch {
|
|
156
156
|
zoneInfo = { provided: true, resolvable: false, zone };
|
|
@@ -159,13 +159,13 @@ function doctorConfigStep(source, origin = "config") {
|
|
|
159
159
|
zoneInfo = { provided: true, resolvable: false, zone };
|
|
160
160
|
}
|
|
161
161
|
} else {
|
|
162
|
-
zoneInfo = { provided: false, resolvable: true, zone:
|
|
162
|
+
zoneInfo = { provided: false, resolvable: true, zone: chunkH24SV774_cjs.DEFAULT_ZONE, baseUrlHost: new URL(chunkH24SV774_cjs.zoneUrl(chunkH24SV774_cjs.DEFAULT_ZONE)).host };
|
|
163
163
|
}
|
|
164
164
|
const problems = [];
|
|
165
165
|
if (missing.length > 0) problems.push(`missing credential(s): ${missing.join(", ")}`);
|
|
166
166
|
if (zoneInfo.provided && !zoneInfo.resolvable) {
|
|
167
167
|
problems.push(
|
|
168
|
-
source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${
|
|
168
|
+
source.baseUrl !== void 0 && present(source.baseUrl) ? "baseUrl is not a valid http(s) URL" : source.zone === "other" ? 'zone "other" requires a baseUrl' : `zone "${zone}" is not a known zone (the catalog has ${chunkH24SV774_cjs.ZONES.length} zones)`
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
171
|
if (problems.length > 0) {
|
|
@@ -193,20 +193,20 @@ async function timeCheck(id, fn) {
|
|
|
193
193
|
const out = await fn();
|
|
194
194
|
return { check: { id, status: out.status, message: out.message, ...out.hint !== void 0 ? { hint: out.hint } : {}, durationMs: Date.now() - started }, value: out.value };
|
|
195
195
|
} catch (err) {
|
|
196
|
-
const code =
|
|
196
|
+
const code = chunkH24SV774_cjs.isAutotaskError(err) ? err.code : "UNEXPECTED";
|
|
197
197
|
return {
|
|
198
198
|
check: {
|
|
199
199
|
id,
|
|
200
200
|
status: "fail",
|
|
201
201
|
message: `check failed unexpectedly (machine code ${code})`,
|
|
202
|
-
hint:
|
|
202
|
+
hint: chunkH24SV774_cjs.isAutotaskError(err) ? err.suggestedAction : void 0,
|
|
203
203
|
durationMs: Date.now() - started
|
|
204
204
|
}
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
function failFrom(err, what) {
|
|
209
|
-
if (err instanceof
|
|
209
|
+
if (err instanceof chunkH24SV774_cjs.RateLimitError && err.code === "RATE_LIMITED_COOLDOWN") {
|
|
210
210
|
return {
|
|
211
211
|
status: "fail",
|
|
212
212
|
message: `${what} \u2014 refused LOCALLY by the tenant 429 cooldown gate (the call was NOT sent)`,
|
|
@@ -252,7 +252,7 @@ function makeWire(run, timeoutMs) {
|
|
|
252
252
|
});
|
|
253
253
|
return { body };
|
|
254
254
|
} catch (err) {
|
|
255
|
-
if (
|
|
255
|
+
if (chunkH24SV774_cjs.isAutotaskError(err)) return { error: err };
|
|
256
256
|
throw err;
|
|
257
257
|
}
|
|
258
258
|
};
|
|
@@ -311,7 +311,7 @@ async function checkReads(run, zoneUnavailable) {
|
|
|
311
311
|
const id = `read.${entity.key}`;
|
|
312
312
|
const result = await timeCheck(id, async () => {
|
|
313
313
|
if (zoneUnavailable) return skip(ZONE_UNAVAILABLE_SKIP);
|
|
314
|
-
const req =
|
|
314
|
+
const req = chunkH24SV774_cjs.buildQueryRequest(cfg.baseUrl, entity.path, { maxRecords: 1 });
|
|
315
315
|
const out = await run.wire(req.method, req.path, `doctor.${id}`, { body: req.body, idempotent: req.idempotent });
|
|
316
316
|
if (out.error) {
|
|
317
317
|
const f = failFrom(out.error, `read access to ${entity.label}`);
|
|
@@ -395,18 +395,18 @@ function outcome(state, retryable, code, httpStatus) {
|
|
|
395
395
|
return httpStatus === void 0 ? { state, retryable, code } : { state, retryable, code, httpStatus };
|
|
396
396
|
}
|
|
397
397
|
function vendorErrorsNonEmpty(vendorError) {
|
|
398
|
-
const entries =
|
|
398
|
+
const entries = chunkH24SV774_cjs.parseVendorErrors(vendorError);
|
|
399
399
|
return entries !== void 0 && entries.length > 0;
|
|
400
400
|
}
|
|
401
401
|
function classifyWriteOutcome(error) {
|
|
402
|
-
if (
|
|
402
|
+
if (chunkH24SV774_cjs.isAutotaskError(error)) {
|
|
403
403
|
const rawStatus = error.httpStatus;
|
|
404
404
|
const httpStatus = typeof rawStatus === "number" ? rawStatus : void 0;
|
|
405
405
|
const statusMalformed = rawStatus !== void 0 && httpStatus === void 0;
|
|
406
406
|
if (error.notSent === true) {
|
|
407
407
|
return outcome("failed", error.retryable, error.code, httpStatus);
|
|
408
408
|
}
|
|
409
|
-
if (error instanceof
|
|
409
|
+
if (error instanceof chunkH24SV774_cjs.MaintenanceError && httpStatus !== void 0 && !error.retryable) {
|
|
410
410
|
return outcome("unknown", false, error.code, httpStatus);
|
|
411
411
|
}
|
|
412
412
|
if (httpStatus !== void 0 && httpStatus >= 400 && httpStatus <= 499) {
|
|
@@ -428,7 +428,7 @@ function classifyWriteOutcome(error) {
|
|
|
428
428
|
return outcome("failed", error.retryable, error.code);
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
const typed =
|
|
431
|
+
const typed = chunkH24SV774_cjs.isAutotaskError(error);
|
|
432
432
|
const status = typed && typeof error.httpStatus === "number" ? error.httpStatus : void 0;
|
|
433
433
|
const code = typed ? error.code : error instanceof Error ? error.name : "UNKNOWN";
|
|
434
434
|
return outcome("unknown", false, code, status);
|
|
@@ -436,255 +436,255 @@ function classifyWriteOutcome(error) {
|
|
|
436
436
|
|
|
437
437
|
Object.defineProperty(exports, "AutotaskClient", {
|
|
438
438
|
enumerable: true,
|
|
439
|
-
get: function () { return
|
|
439
|
+
get: function () { return chunkATDGRAX2_cjs.AutotaskClient; }
|
|
440
440
|
});
|
|
441
441
|
Object.defineProperty(exports, "AuthenticateResource", {
|
|
442
442
|
enumerable: true,
|
|
443
|
-
get: function () { return
|
|
443
|
+
get: function () { return chunkJPZ7M7QI_cjs.AuthenticateResource; }
|
|
444
444
|
});
|
|
445
445
|
Object.defineProperty(exports, "ConfigurationItemsResource", {
|
|
446
446
|
enumerable: true,
|
|
447
|
-
get: function () { return
|
|
447
|
+
get: function () { return chunkJPZ7M7QI_cjs.ConfigurationItemsResource; }
|
|
448
448
|
});
|
|
449
449
|
Object.defineProperty(exports, "ContactsResource", {
|
|
450
450
|
enumerable: true,
|
|
451
|
-
get: function () { return
|
|
451
|
+
get: function () { return chunkJPZ7M7QI_cjs.ContactsResource; }
|
|
452
452
|
});
|
|
453
453
|
Object.defineProperty(exports, "EntityInformationResource", {
|
|
454
454
|
enumerable: true,
|
|
455
|
-
get: function () { return
|
|
455
|
+
get: function () { return chunkJPZ7M7QI_cjs.EntityInformationResource; }
|
|
456
456
|
});
|
|
457
457
|
Object.defineProperty(exports, "InventoryProductsResource", {
|
|
458
458
|
enumerable: true,
|
|
459
|
-
get: function () { return
|
|
459
|
+
get: function () { return chunkJPZ7M7QI_cjs.InventoryProductsResource; }
|
|
460
460
|
});
|
|
461
461
|
Object.defineProperty(exports, "ModulesResource", {
|
|
462
462
|
enumerable: true,
|
|
463
|
-
get: function () { return
|
|
463
|
+
get: function () { return chunkJPZ7M7QI_cjs.ModulesResource; }
|
|
464
464
|
});
|
|
465
465
|
Object.defineProperty(exports, "QuotesResource", {
|
|
466
466
|
enumerable: true,
|
|
467
|
-
get: function () { return
|
|
467
|
+
get: function () { return chunkJPZ7M7QI_cjs.QuotesResource; }
|
|
468
468
|
});
|
|
469
469
|
Object.defineProperty(exports, "ResourceTimeOffAdditionalResource", {
|
|
470
470
|
enumerable: true,
|
|
471
|
-
get: function () { return
|
|
471
|
+
get: function () { return chunkJPZ7M7QI_cjs.ResourceTimeOffAdditionalResource; }
|
|
472
472
|
});
|
|
473
473
|
Object.defineProperty(exports, "ResourceTimeOffBalancesResource", {
|
|
474
474
|
enumerable: true,
|
|
475
|
-
get: function () { return
|
|
475
|
+
get: function () { return chunkJPZ7M7QI_cjs.ResourceTimeOffBalancesResource; }
|
|
476
476
|
});
|
|
477
477
|
Object.defineProperty(exports, "ResourcesResource", {
|
|
478
478
|
enumerable: true,
|
|
479
|
-
get: function () { return
|
|
479
|
+
get: function () { return chunkJPZ7M7QI_cjs.ResourcesResource; }
|
|
480
480
|
});
|
|
481
481
|
Object.defineProperty(exports, "ServiceCallsResource", {
|
|
482
482
|
enumerable: true,
|
|
483
|
-
get: function () { return
|
|
483
|
+
get: function () { return chunkJPZ7M7QI_cjs.ServiceCallsResource; }
|
|
484
484
|
});
|
|
485
485
|
Object.defineProperty(exports, "ThresholdInformationResource", {
|
|
486
486
|
enumerable: true,
|
|
487
|
-
get: function () { return
|
|
487
|
+
get: function () { return chunkJPZ7M7QI_cjs.ThresholdInformationResource; }
|
|
488
488
|
});
|
|
489
489
|
Object.defineProperty(exports, "TicketChargesResource", {
|
|
490
490
|
enumerable: true,
|
|
491
|
-
get: function () { return
|
|
491
|
+
get: function () { return chunkJPZ7M7QI_cjs.TicketChargesResource; }
|
|
492
492
|
});
|
|
493
493
|
Object.defineProperty(exports, "TicketsResource", {
|
|
494
494
|
enumerable: true,
|
|
495
|
-
get: function () { return
|
|
495
|
+
get: function () { return chunkJPZ7M7QI_cjs.TicketsResource; }
|
|
496
496
|
});
|
|
497
497
|
Object.defineProperty(exports, "TimeOffRequestsResource", {
|
|
498
498
|
enumerable: true,
|
|
499
|
-
get: function () { return
|
|
499
|
+
get: function () { return chunkJPZ7M7QI_cjs.TimeOffRequestsResource; }
|
|
500
500
|
});
|
|
501
501
|
Object.defineProperty(exports, "VersionInformationResource", {
|
|
502
502
|
enumerable: true,
|
|
503
|
-
get: function () { return
|
|
503
|
+
get: function () { return chunkJPZ7M7QI_cjs.VersionInformationResource; }
|
|
504
504
|
});
|
|
505
505
|
Object.defineProperty(exports, "VersionResource", {
|
|
506
506
|
enumerable: true,
|
|
507
|
-
get: function () { return
|
|
507
|
+
get: function () { return chunkJPZ7M7QI_cjs.VersionResource; }
|
|
508
508
|
});
|
|
509
509
|
Object.defineProperty(exports, "ZoneInformationResource", {
|
|
510
510
|
enumerable: true,
|
|
511
|
-
get: function () { return
|
|
511
|
+
get: function () { return chunkJPZ7M7QI_cjs.ZoneInformationResource; }
|
|
512
512
|
});
|
|
513
513
|
Object.defineProperty(exports, "AutotaskAbortError", {
|
|
514
514
|
enumerable: true,
|
|
515
|
-
get: function () { return
|
|
515
|
+
get: function () { return chunkH24SV774_cjs.AutotaskAbortError; }
|
|
516
516
|
});
|
|
517
517
|
Object.defineProperty(exports, "AutotaskConfigError", {
|
|
518
518
|
enumerable: true,
|
|
519
|
-
get: function () { return
|
|
519
|
+
get: function () { return chunkH24SV774_cjs.AutotaskConfigError; }
|
|
520
520
|
});
|
|
521
521
|
Object.defineProperty(exports, "AutotaskError", {
|
|
522
522
|
enumerable: true,
|
|
523
|
-
get: function () { return
|
|
523
|
+
get: function () { return chunkH24SV774_cjs.AutotaskError; }
|
|
524
524
|
});
|
|
525
525
|
Object.defineProperty(exports, "AutotaskNetworkError", {
|
|
526
526
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunkH24SV774_cjs.AutotaskNetworkError; }
|
|
528
528
|
});
|
|
529
529
|
Object.defineProperty(exports, "AutotaskTimeoutError", {
|
|
530
530
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunkH24SV774_cjs.AutotaskTimeoutError; }
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(exports, "CREDENTIAL_SHAPE_POINTER", {
|
|
534
534
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunkH24SV774_cjs.CREDENTIAL_SHAPE_POINTER; }
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "CompaniesResource", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunkH24SV774_cjs.CompaniesResource; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "ConfirmationRequiredError", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunkH24SV774_cjs.ConfirmationRequiredError; }
|
|
544
544
|
});
|
|
545
545
|
Object.defineProperty(exports, "ConflictError", {
|
|
546
546
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunkH24SV774_cjs.ConflictError; }
|
|
548
548
|
});
|
|
549
549
|
Object.defineProperty(exports, "ContractsResource", {
|
|
550
550
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunkH24SV774_cjs.ContractsResource; }
|
|
552
552
|
});
|
|
553
553
|
Object.defineProperty(exports, "DeleteBoundaryError", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunkH24SV774_cjs.DeleteBoundaryError; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "EmptyResponseError", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunkH24SV774_cjs.EmptyResponseError; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "GenericResource", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunkH24SV774_cjs.GenericResource; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "HostPolicyDeniedError", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunkH24SV774_cjs.HostPolicyDeniedError; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "InvoicesResource", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunkH24SV774_cjs.InvoicesResource; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "MIN_PREFIX_SUMMARY_LENGTH", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunkH24SV774_cjs.MIN_PREFIX_SUMMARY_LENGTH; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "MaintenanceError", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunkH24SV774_cjs.MaintenanceError; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "MarkerUnsafeIdError", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunkH24SV774_cjs.MarkerUnsafeIdError; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "MoveRefusedError", {
|
|
586
586
|
enumerable: true,
|
|
587
|
-
get: function () { return
|
|
587
|
+
get: function () { return chunkH24SV774_cjs.MoveRefusedError; }
|
|
588
588
|
});
|
|
589
589
|
Object.defineProperty(exports, "NotFoundError", {
|
|
590
590
|
enumerable: true,
|
|
591
|
-
get: function () { return
|
|
591
|
+
get: function () { return chunkH24SV774_cjs.NotFoundError; }
|
|
592
592
|
});
|
|
593
593
|
Object.defineProperty(exports, "OperationNotSupportedError", {
|
|
594
594
|
enumerable: true,
|
|
595
|
-
get: function () { return
|
|
595
|
+
get: function () { return chunkH24SV774_cjs.OperationNotSupportedError; }
|
|
596
596
|
});
|
|
597
597
|
Object.defineProperty(exports, "PaginationLimitError", {
|
|
598
598
|
enumerable: true,
|
|
599
|
-
get: function () { return
|
|
599
|
+
get: function () { return chunkH24SV774_cjs.PaginationLimitError; }
|
|
600
600
|
});
|
|
601
601
|
Object.defineProperty(exports, "QueryTooLongError", {
|
|
602
602
|
enumerable: true,
|
|
603
|
-
get: function () { return
|
|
603
|
+
get: function () { return chunkH24SV774_cjs.QueryTooLongError; }
|
|
604
604
|
});
|
|
605
605
|
Object.defineProperty(exports, "RateLimitError", {
|
|
606
606
|
enumerable: true,
|
|
607
|
-
get: function () { return
|
|
607
|
+
get: function () { return chunkH24SV774_cjs.RateLimitError; }
|
|
608
608
|
});
|
|
609
609
|
Object.defineProperty(exports, "RecoveryTruncatedError", {
|
|
610
610
|
enumerable: true,
|
|
611
|
-
get: function () { return
|
|
611
|
+
get: function () { return chunkH24SV774_cjs.RecoveryTruncatedError; }
|
|
612
612
|
});
|
|
613
613
|
Object.defineProperty(exports, "ResolutionError", {
|
|
614
614
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
615
|
+
get: function () { return chunkH24SV774_cjs.ResolutionError; }
|
|
616
616
|
});
|
|
617
617
|
Object.defineProperty(exports, "ResponseRejectedError", {
|
|
618
618
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
619
|
+
get: function () { return chunkH24SV774_cjs.ResponseRejectedError; }
|
|
620
620
|
});
|
|
621
621
|
Object.defineProperty(exports, "SIMPLE_RESOURCES", {
|
|
622
622
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
623
|
+
get: function () { return chunkH24SV774_cjs.SIMPLE_RESOURCES; }
|
|
624
624
|
});
|
|
625
625
|
Object.defineProperty(exports, "ScopeRequiredError", {
|
|
626
626
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
627
|
+
get: function () { return chunkH24SV774_cjs.ScopeRequiredError; }
|
|
628
628
|
});
|
|
629
629
|
Object.defineProperty(exports, "StaleObjectError", {
|
|
630
630
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
631
|
+
get: function () { return chunkH24SV774_cjs.StaleObjectError; }
|
|
632
632
|
});
|
|
633
633
|
Object.defineProperty(exports, "TimeEntriesResource", {
|
|
634
634
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
635
|
+
get: function () { return chunkH24SV774_cjs.TimeEntriesResource; }
|
|
636
636
|
});
|
|
637
637
|
Object.defineProperty(exports, "TtlCache", {
|
|
638
638
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
639
|
+
get: function () { return chunkH24SV774_cjs.TtlCache; }
|
|
640
640
|
});
|
|
641
641
|
Object.defineProperty(exports, "UNSCOPED_WALK_THRESHOLD", {
|
|
642
642
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
643
|
+
get: function () { return chunkH24SV774_cjs.UNSCOPED_WALK_THRESHOLD; }
|
|
644
644
|
});
|
|
645
645
|
Object.defineProperty(exports, "UnexpectedContentTypeError", {
|
|
646
646
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
647
|
+
get: function () { return chunkH24SV774_cjs.UnexpectedContentTypeError; }
|
|
648
648
|
});
|
|
649
649
|
Object.defineProperty(exports, "ZONES", {
|
|
650
650
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
651
|
+
get: function () { return chunkH24SV774_cjs.ZONES; }
|
|
652
652
|
});
|
|
653
653
|
Object.defineProperty(exports, "credentialShapeProblem", {
|
|
654
654
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
655
|
+
get: function () { return chunkH24SV774_cjs.credentialShapeProblem; }
|
|
656
656
|
});
|
|
657
657
|
Object.defineProperty(exports, "credentialValueSummary", {
|
|
658
658
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
659
|
+
get: function () { return chunkH24SV774_cjs.credentialValueSummary; }
|
|
660
660
|
});
|
|
661
661
|
Object.defineProperty(exports, "errorFromStatus", {
|
|
662
662
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
663
|
+
get: function () { return chunkH24SV774_cjs.errorFromStatus; }
|
|
664
664
|
});
|
|
665
665
|
Object.defineProperty(exports, "formatVendorDetail", {
|
|
666
666
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
667
|
+
get: function () { return chunkH24SV774_cjs.formatVendorDetail; }
|
|
668
668
|
});
|
|
669
669
|
Object.defineProperty(exports, "isAutotaskError", {
|
|
670
670
|
enumerable: true,
|
|
671
|
-
get: function () { return
|
|
671
|
+
get: function () { return chunkH24SV774_cjs.isAutotaskError; }
|
|
672
672
|
});
|
|
673
673
|
Object.defineProperty(exports, "isDeterministicVendor500", {
|
|
674
674
|
enumerable: true,
|
|
675
|
-
get: function () { return
|
|
675
|
+
get: function () { return chunkH24SV774_cjs.isDeterministicVendor500; }
|
|
676
676
|
});
|
|
677
677
|
Object.defineProperty(exports, "mergeDetails", {
|
|
678
678
|
enumerable: true,
|
|
679
|
-
get: function () { return
|
|
679
|
+
get: function () { return chunkH24SV774_cjs.mergeDetails; }
|
|
680
680
|
});
|
|
681
681
|
Object.defineProperty(exports, "nextActionFor", {
|
|
682
682
|
enumerable: true,
|
|
683
|
-
get: function () { return
|
|
683
|
+
get: function () { return chunkH24SV774_cjs.nextActionFor; }
|
|
684
684
|
});
|
|
685
685
|
Object.defineProperty(exports, "parseVendorErrors", {
|
|
686
686
|
enumerable: true,
|
|
687
|
-
get: function () { return
|
|
687
|
+
get: function () { return chunkH24SV774_cjs.parseVendorErrors; }
|
|
688
688
|
});
|
|
689
689
|
Object.defineProperty(exports, "NoopLogger", {
|
|
690
690
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-
|
|
2
|
-
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-
|
|
1
|
+
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-lWek2NrV.cjs';
|
|
2
|
+
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-lWek2NrV.cjs';
|
|
3
3
|
export { N as NoopLogger, R as REDACTED } from './logger-B1gYmFre.cjs';
|
|
4
|
-
export { A as AuditEvent, Q as QueryParams } from './index-
|
|
4
|
+
export { A as AuditEvent, Q as QueryParams } from './index-B9y5IwT1.cjs';
|
|
5
5
|
|
|
6
6
|
declare class AutotaskNetworkError extends AutotaskError {
|
|
7
7
|
constructor(message: string, options?: AutotaskErrorOptions);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-
|
|
2
|
-
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-
|
|
1
|
+
import { b as AutotaskError, c as AutotaskErrorOptions, d as AutotaskConfigError, a as AutotaskClient, T as TicketChangeStatusResult, e as TicketChangeStatusNoChange } from './index-U7Lepdm2.js';
|
|
2
|
+
export { f as AuthenticateResource, A as AutotaskConfig, C as CompaniesResource, g as CompanyFuzzySearchOptions, h as CompanyFuzzySearchResult, i as ConfigurationItemsResource, j as ContactsResource, k as ContractsProfitabilityResult, l as ContractsResource, m as CostRateResolution, E as EntityInformationResource, n as ErrorCategory, o as ErrorIdRef, F as FuzzyCompanyRow, G as GenericResource, p as GenericResourceConfig, H as HelperFlags, I as InventoryProductsResource, q as InvoicesResource, M as ModulesResource, N as NextAction, O as OpsFlags, P as ProfitRateSource, r as ProfitabilityActivityCategory, s as ProfitabilityDataQualityWarning, t as ProfitabilityHighestCostTicket, u as ProfitabilityLabourCostMethod, v as ProfitabilityMiscoding, w as ProfitabilityMonthlyRow, x as ProfitabilityOpenRenewalItem, y as ProfitabilityOptions, z as ProfitabilityPart, B as ProfitabilityPartDigest, D as ProfitabilityRevenueByType, Q as QuotesResource, R as ResourceTimeOffAdditionalResource, J as ResourceTimeOffBalancesResource, K as ResourcesResource, S as SIMPLE_RESOURCES, L as ServiceCallsResource, U as SimpleResourceEntry, V as ThresholdInformationResource, W as TicketChargesResource, X as TicketsResource, Y as TimeEntriesPostedCountResult, Z as TimeEntriesPostedPagingOptions, _ as TimeEntriesPostedWindowCountOptions, $ as TimeEntriesPostedWindowListOptions, a0 as TimeEntriesPostedWindowOptions, a1 as TimeEntriesPostedWindowResult, a2 as TimeEntriesResource, a3 as TimeEntryReviewFields, a4 as TimeEntryReviewResult, a5 as TimeOffRequestsResource, a6 as TtlCache, a7 as VersionInformationResource, a8 as VersionResource, a9 as ZONES, aa as ZoneInformationResource, ab as ZoneName, ac as isAutotaskError, ad as nextActionFor } from './index-U7Lepdm2.js';
|
|
3
3
|
export { N as NoopLogger, R as REDACTED } from './logger-B1gYmFre.js';
|
|
4
|
-
export { A as AuditEvent, Q as QueryParams } from './index-
|
|
4
|
+
export { A as AuditEvent, Q as QueryParams } from './index-B9y5IwT1.js';
|
|
5
5
|
|
|
6
6
|
declare class AutotaskNetworkError extends AutotaskError {
|
|
7
7
|
constructor(message: string, options?: AutotaskErrorOptions);
|