node-autotask 0.78.0 → 0.80.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 +12 -0
- package/MCP_TOOL_CATALOG.json +265 -9
- package/README.md +1 -1
- package/capabilities.json +959 -7
- package/dist/capabilities-data.js +958 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-S7JH6K2Z.cjs → chunk-3VW75XKV.cjs} +310 -11
- package/dist/{chunk-3SYNF5QD.js → chunk-GRJE3IUU.js} +2 -2
- package/dist/{chunk-XBT332X7.js → chunk-JITS5NKE.js} +305 -6
- package/dist/{chunk-U7LVWEO4.cjs → chunk-OVP7IH6K.cjs} +199 -199
- package/dist/{chunk-YH5UCY2X.js → chunk-R4MKUN4N.js} +3 -3
- package/dist/{chunk-S7BJNQ2X.js → chunk-R6N7S6LC.js} +4 -2
- package/dist/{chunk-MVKI2AZX.cjs → chunk-TMJX6NTZ.cjs} +3 -3
- package/dist/{chunk-YONRIG6F.cjs → chunk-Z5QCH7JA.cjs} +32 -30
- package/dist/{index-BHqdOo_5.d.cts → index-BBc96jwe.d.cts} +91 -1
- package/dist/{index-BHqdOo_5.d.ts → index-BBc96jwe.d.ts} +91 -1
- package/dist/{index-DfcdtQO0.d.cts → index-CZaFISYn.d.cts} +4 -2
- package/dist/{index-ci3TSJrT.d.ts → index-mFUX-x9D.d.ts} +4 -2
- 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 +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +4 -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 ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNote, ct as ContractNoteCreate, cu as ContractNoteUpdate, cv as ContractRateCreate, cw as ContractRateUpdate, cx as ContractRetainers, cy as ContractRetainersCreate, cz as ContractRetainersUpdate, cA as ContractRoleCostsCreate, cB as ContractRoleCostsUpdate, cC as ContractServiceAdjustment, cD as ContractServiceAdjustmentCreate, cE as ContractServiceAdjustmentUpdate, cF as ContractServiceBundleAdjustment, cG as ContractServiceBundleAdjustmentCreate, cH as ContractServiceBundleAdjustmentUpdate, cI as ContractServiceBundle, cJ as ContractServiceBundleCreate, cK as ContractServiceBundleUpdate, cL as ContractServiceBundleUnit, cM as ContractServiceBundleUnitCreate, cN as ContractServiceBundleUnitUpdate, cO as ContractServiceCreate, cP as ContractServiceUpdate, cQ as ContractServiceUnitCreate, cR as ContractServiceUnitUpdate, cS as ContractTicketPurchases, cT as ContractTicketPurchasesCreate, cU as ContractTicketPurchasesUpdate, cV as Country, cW as CountryCreate, cX as CountryUpdate, cY as Currency, cZ as CurrencyCreate, c_ as CurrencyUpdate, c$ as Department, d0 as DepartmentCreate, d1 as DepartmentUpdate, d2 as DomainRegistrar, d3 as DomainRegistrarCreate, d4 as DomainRegistrarUpdate, d5 as ExpenseItemAttachment, d6 as ExpenseItemAttachmentCreate, d7 as ExpenseItemAttachmentUpdate, d8 as ExpenseItemCreate, d9 as ExpenseItemUpdate, da as ExpenseReport, db as ExpenseReportCreate, dc as ExpenseReportUpdate, dd as Holiday, de as HolidayCreate, df as HolidayUpdate, dg as HolidaySet, dh as HolidaySetCreate, di as HolidaySetUpdate, dj as InvoiceTemplate, dk as InvoiceTemplateCreate, dl as InvoiceTemplateUpdate, dm as NotificationHistory, dn as NotificationHistoryCreate, dp as NotificationHistoryUpdate, dq as Opportunity, dr as OpportunityCreate, ds as OpportunityUpdate, dt as OpportunityAttachment, du as OpportunityAttachmentCreate, dv as OpportunityAttachmentUpdate, dw as OpportunityCategory, dx as OpportunityCategoryCreate, dy as OpportunityCategoryUpdate, dz as OrganizationalLevel1Create, dA as OrganizationalLevel1Update, dB as OrganizationalLevel2Create, dC as OrganizationalLevel2Update, dD as OrganizationalLevelAssociationCreate, dE as OrganizationalLevelAssociationUpdate, dF as Phase, dG as PhaseCreate, dH as PhaseUpdate, dI as Product, dJ as ProductCreate, dK as ProductUpdate, dL as ProductVendors, dM as ProductVendorsCreate, dN as ProductVendorsUpdate, dO as ProjectCharge, dP as ProjectChargeCreate, dQ as ProjectChargeUpdate, dR as ProjectNote, dS as ProjectNoteCreate, dT as ProjectNoteUpdate, dU as ProjectCreate, dV as ProjectUpdate, dW as ProjectContext, dX as PurchaseApprovals, dY as PurchaseApprovalsCreate, dZ as PurchaseApprovalsUpdate, d_ as PurchaseOrderItemReceiving, d$ as PurchaseOrderItemReceivingCreate, e0 as PurchaseOrderItemReceivingUpdate, e1 as PurchaseOrderItems, e2 as PurchaseOrderItemsCreate, e3 as PurchaseOrderItemsUpdate, e4 as PurchaseOrders, e5 as PurchaseOrdersCreate, e6 as PurchaseOrdersUpdate, e7 as QuoteItemCreate, e8 as QuoteItemUpdate, e9 as QuoteLocation, ea as QuoteLocationCreate, eb as QuoteLocationUpdate, ec as QuoteTemplate, ed as QuoteTemplateCreate, ee as QuoteTemplateUpdate, ef as ResourceRoleQueue, eg as ResourceRoleQueueCreate, eh as ResourceRoleQueueUpdate, ei as ResourceRole, ej as ResourceRoleCreate, ek as ResourceRoleUpdate, el as ResourceSkill, em as ResourceSkillCreate, en as ResourceSkillUpdate, eo as ResourceTimeOffApprover, ep as ResourceTimeOffApproverCreate, eq as ResourceTimeOffApproverUpdate, er as Role, es as RoleCreate, et as RoleUpdate, eu as SalesOrder, ev as SalesOrderCreate, ew as SalesOrderUpdate, ex as ServiceCallTaskResourceCreate, ey as ServiceCallTaskResourceUpdate, ez as ServiceCallTaskCreate, eA as ServiceCallTaskUpdate, eB as ServiceCallTicketResource, eC as ServiceCallTicketResourceCreate, eD as ServiceCallTicketResourceUpdate, eE as ServiceCallTicketCreate, eF as ServiceCallTicketUpdate, eG as ServiceLevelAgreementResults, eH as ServiceLevelAgreementResultsCreate, eI as ServiceLevelAgreementResultsUpdate, eJ as Service, eK as ServiceCreate, eL as ServiceUpdate, eM as Skill, eN as SkillCreate, eO as SkillUpdate, eP as SubscriptionPeriod, eQ as SubscriptionPeriodCreate, eR as SubscriptionPeriodUpdate, eS as SubscriptionCreate, eT as SubscriptionUpdate, eU as SurveyResults, eV as SurveyResultsCreate, eW as SurveyResultsUpdate, eX as Survey, eY as SurveyCreate, eZ as SurveyUpdate, e_ as TagAlias, e$ as TagAliasCreate, f0 as TagAliasUpdate, f1 as TagGroup, f2 as TagGroupCreate, f3 as TagGroupUpdate, f4 as Tag, f5 as TagCreate, f6 as TagUpdate, f7 as TaskAttachment, f8 as TaskAttachmentCreate, f9 as TaskAttachmentUpdate, fa as TaskNoteAttachment, fb as TaskNoteAttachmentCreate, fc as TaskNoteAttachmentUpdate, fd as TaskNote, fe as TaskNoteCreate, ff as TaskNoteUpdate, fg as TaskPredecessor, fh as TaskPredecessorCreate, fi as TaskPredecessorUpdate, fj as Task, fk as TaskCreate, fl as TaskUpdate, fm as TaskSecondaryResource, fn as TaskSecondaryResourceCreate, fo as TaskSecondaryResourceUpdate, fp as TaxRegion, fq as TaxRegionCreate, fr as TaxRegionUpdate, fs as TicketAdditionalConfigurationItem, ft as TicketAdditionalConfigurationItemCreate, fu as TicketAdditionalConfigurationItemUpdate, fv as TicketAdditionalContact, fw as TicketAdditionalContactCreate, fx as TicketAdditionalContactUpdate, fy as TicketAttachment, fz as TicketAttachmentCreate, fA as TicketAttachmentUpdate, fB as TicketCategory, fC as TicketCategoryCreate, fD as TicketCategoryUpdate, fE as TicketCategoryFieldDefault, fF as TicketCategoryFieldDefaultCreate, fG as TicketCategoryFieldDefaultUpdate, fH as TicketChangeRequestApproval, fI as TicketChangeRequestApprovalCreate, fJ as TicketChangeRequestApprovalUpdate, fK as TicketChecklistItem, fL as TicketChecklistItemCreate, fM as TicketChecklistItemUpdate, fN as TicketChecklistLibrary, fO as TicketChecklistLibraryCreate, fP as TicketChecklistLibraryUpdate, fQ as TicketHistory, fR as TicketHistoryCreate, fS as TicketHistoryUpdate, fT as TicketNoteAttachment, fU as TicketNoteAttachmentCreate, fV as TicketNoteAttachmentUpdate, fW as TicketNote, fX as TicketNoteCreate, fY as TicketNoteUpdate, fZ as TicketNoteWebhook, f_ as TicketNoteWebhookCreate, f$ as TicketNoteWebhookUpdate, g0 as TicketSecondaryResource, g1 as TicketSecondaryResourceCreate, g2 as TicketSecondaryResourceUpdate, g3 as TicketWebhook, g4 as TicketWebhookCreate, g5 as TicketWebhookUpdate, g6 as TimeEntryAttachment, g7 as TimeEntryAttachmentCreate, g8 as TimeEntryAttachmentUpdate, g9 as UserDefinedFieldDefinition, ga as UserDefinedFieldDefinitionCreate, gb as UserDefinedFieldDefinitionUpdate, gc as UserDefinedFieldListItem, gd as UserDefinedFieldListItemCreate, ge as UserDefinedFieldListItemUpdate, Q as QueryParams, gf as Resolution, gg as Page, gh as EntityInformationModel, gi as FieldInformationModel, gj as Field, gk as FilterCondition, gl as CompositeNameTable, gm as CompositeContextOptions } from './index-BHqdOo_5.js';
|
|
1
|
+
import { A as AuditEvent, R as ResolutionCaps, b as AuthTokenResultModel, C as Company, I as Identifier, O as OrganizationalLevelAssociation, c as OrganizationalLevel2, d as OrganizationalLevel1, e as CompanyLocation, f as Contact, g as CompanyNote, T as Ticket, h as Project, i as CompositeNamesSection, B as BillingItems, j as TimeEntry, k as CompanyCreate, l as CompanyUpdate, m as CompanyContext, n as ConfigurationItem, o as ConfigurationItemType, p as ConfigurationItemCategory, q as ConfigurationItemNote, r as ConfigurationItemRelatedItem, s as ConfigurationItemBillingProductAssociations, t as ConfigurationItemCreate, u as ConfigurationItemUpdate, v as ConfigurationItemContext, w as ConfigurationItemSummary, D as DryRunResult, x as ContactCreate, y as ContactUpdate, z as ContactContext, F as ContactSummary, G as Contract, H as ContractService, J as ContractBillingRule, K as ContractCharge, L as ContractServiceUnit, E as EmptyReasonInfo, M as ContractRoleCosts, N as ContractRate, S as ContractBlock, U as Invoice, V as Resource, W as ExpenseItem, X as Subscription, Y as ContractCreate, Z as ContractUpdate, _ as ContractSummary, $ as GlobalEntityInformationResultModel, a0 as InventoryProduct, a1 as InventoryProductCreate, a2 as InventoryProductUpdate, a3 as InventoryStockedItemAdd, a4 as OperationResult, a5 as InventoryStockedItemRemove, a6 as InventoryStockedItemTransfer, a7 as InvoiceCreate, a8 as InvoiceUpdate, a9 as ModuleAccessResultModel, aa as Quote, ab as QuoteItem, ac as QuoteCreate, ad as QuoteUpdate, ae as QuoteSummary, af as TicketCreate, ag as TicketUpdate, ah as TicketContext, ai as TicketSummary, aj as ServiceCallTaskResource, ak as ServiceCallTask, al as ResourceTimeOffBalance, am as TimeOffRequest, an as ResourceCreate, ao as ResourceUpdate, ap as ResourceSummary, aq as ResourceTimeOffAdditional, ar as ResourceTimeOffAdditionalCreate, as as ResourceTimeOffAdditionalUpdate, at as ResourceTimeOffBalanceCreate, au as ResourceTimeOffBalanceUpdate, av as ServiceCall, aw as ServiceCallTicket, ax as ServiceCallCreate, ay as ServiceCallUpdate, az as ThresholdStatusResultModel, aA as TicketCharge, aB as TicketChargeCreate, aC as TicketChargeUpdate, aD as TicketChargeSummary, aE as TimeEntryUpdate, aF as TimeEntryCreate, aG as TimeOffRequestCreate, aH as TimeOffRequestUpdate, aI as AutotaskVersionResultModel, aJ as ApiVersionResultModel, aK as ZoneInformationResultModel, aL as Appointment, aM as AppointmentCreate, aN as AppointmentUpdate, aO as AttachmentInfo, aP as AttachmentInfoCreate, aQ as AttachmentInfoUpdate, aR as BillingCode, aS as BillingCodeCreate, aT as BillingCodeUpdate, aU as BillingItemApprovalLevel, aV as BillingItemApprovalLevelCreate, aW as BillingItemApprovalLevelUpdate, aX as BillingItemsCreate, aY as BillingItemsUpdate, aZ as ChangeRequestLink, a_ as ChangeRequestLinkCreate, a$ as ChangeRequestLinkUpdate, b0 as ChecklistLibrary, b1 as ChecklistLibraryCreate, b2 as ChecklistLibraryUpdate, b3 as ChecklistLibraryChecklistItem, b4 as ChecklistLibraryChecklistItemCreate, b5 as ChecklistLibraryChecklistItemUpdate, b6 as ClassificationIcon, b7 as ClassificationIconCreate, b8 as ClassificationIconUpdate, b9 as CompanyAlert, ba as CompanyAlertCreate, bb as CompanyAlertUpdate, bc as CompanyAttachment, bd as CompanyAttachmentCreate, be as CompanyAttachmentUpdate, bf as CompanyLocationCreate, bg as CompanyLocationUpdate, bh as CompanyNoteAttachment, bi as CompanyNoteAttachmentCreate, bj as CompanyNoteAttachmentUpdate, bk as CompanyNoteCreate, bl as CompanyNoteUpdate, bm as CompanySiteConfigurations, bn as CompanySiteConfigurationsCreate, bo as CompanySiteConfigurationsUpdate, bp as CompanyWebhook, bq as CompanyWebhookCreate, br as CompanyWebhookUpdate, bs as ConfigurationItemAttachment, bt as ConfigurationItemAttachmentCreate, bu as ConfigurationItemAttachmentUpdate, bv as ConfigurationItemBillingProductAssociationsCreate, bw as ConfigurationItemBillingProductAssociationsUpdate, bx as ConfigurationItemCategoryCreate, by as ConfigurationItemCategoryUpdate, bz as ConfigurationItemCategoryUdfAssociation, bA as ConfigurationItemCategoryUdfAssociationCreate, bB as ConfigurationItemCategoryUdfAssociationUpdate, bC as ConfigurationItemDnsRecord, bD as ConfigurationItemDnsRecordCreate, bE as ConfigurationItemDnsRecordUpdate, bF as ConfigurationItemNoteAttachment, bG as ConfigurationItemNoteAttachmentCreate, bH as ConfigurationItemNoteAttachmentUpdate, bI as ConfigurationItemNoteCreate, bJ as ConfigurationItemNoteUpdate, bK as ConfigurationItemRelatedItemCreate, bL as ConfigurationItemRelatedItemUpdate, bM as ConfigurationItemSslSubjectAlternativeName, bN as ConfigurationItemSslSubjectAlternativeNameCreate, bO as ConfigurationItemSslSubjectAlternativeNameUpdate, bP as ConfigurationItemTypeCreate, bQ as ConfigurationItemTypeUpdate, bR as ConfigurationItemWebhook, bS as ConfigurationItemWebhookCreate, bT as ConfigurationItemWebhookUpdate, bU as ContactGroupContacts, bV as ContactGroupContactsCreate, bW as ContactGroupContactsUpdate, bX as ContactGroups, bY as ContactGroupsCreate, bZ as ContactGroupsUpdate, b_ as ContactWebhook, b$ as ContactWebhookCreate, c0 as ContactWebhookUpdate, c1 as ContractBillingRuleCreate, c2 as ContractBillingRuleUpdate, c3 as ContractBlockHourFactor, c4 as ContractBlockHourFactorCreate, c5 as ContractBlockHourFactorUpdate, c6 as ContractBlockCreate, c7 as ContractBlockUpdate, c8 as ContractChargeCreate, c9 as ContractChargeUpdate, ca as ContractExclusionBillingCode, cb as ContractExclusionBillingCodeCreate, cc as ContractExclusionBillingCodeUpdate, cd as ContractExclusionRoles, ce as ContractExclusionRolesCreate, cf as ContractExclusionRolesUpdate, cg as ContractExclusionSetExcludedRoles, ch as ContractExclusionSetExcludedRolesCreate, ci as ContractExclusionSetExcludedRolesUpdate, cj as ContractExclusionSetExcludedWorkTypes, ck as ContractExclusionSetExcludedWorkTypesCreate, cl as ContractExclusionSetExcludedWorkTypesUpdate, cm as ContractExclusionSets, cn as ContractExclusionSetsCreate, co as ContractExclusionSetsUpdate, cp as ContractMilestone, cq as ContractMilestoneCreate, cr as ContractMilestoneUpdate, cs as ContractNote, ct as ContractNoteCreate, cu as ContractNoteUpdate, cv as ContractRateCreate, cw as ContractRateUpdate, cx as ContractRetainers, cy as ContractRetainersCreate, cz as ContractRetainersUpdate, cA as ContractRoleCostsCreate, cB as ContractRoleCostsUpdate, cC as ContractServiceAdjustment, cD as ContractServiceAdjustmentCreate, cE as ContractServiceAdjustmentUpdate, cF as ContractServiceBundleAdjustment, cG as ContractServiceBundleAdjustmentCreate, cH as ContractServiceBundleAdjustmentUpdate, cI as ContractServiceBundle, cJ as ContractServiceBundleCreate, cK as ContractServiceBundleUpdate, cL as ContractServiceBundleUnit, cM as ContractServiceBundleUnitCreate, cN as ContractServiceBundleUnitUpdate, cO as ContractServiceCreate, cP as ContractServiceUpdate, cQ as ContractServiceUnitCreate, cR as ContractServiceUnitUpdate, cS as ContractTicketPurchases, cT as ContractTicketPurchasesCreate, cU as ContractTicketPurchasesUpdate, cV as Country, cW as CountryCreate, cX as CountryUpdate, cY as Currency, cZ as CurrencyCreate, c_ as CurrencyUpdate, c$ as Department, d0 as DepartmentCreate, d1 as DepartmentUpdate, d2 as DomainRegistrar, d3 as DomainRegistrarCreate, d4 as DomainRegistrarUpdate, d5 as ExpenseItemAttachment, d6 as ExpenseItemAttachmentCreate, d7 as ExpenseItemAttachmentUpdate, d8 as ExpenseItemCreate, d9 as ExpenseItemUpdate, da as ExpenseReport, db as ExpenseReportCreate, dc as ExpenseReportUpdate, dd as Holiday, de as HolidayCreate, df as HolidayUpdate, dg as HolidaySet, dh as HolidaySetCreate, di as HolidaySetUpdate, dj as InvoiceTemplate, dk as InvoiceTemplateCreate, dl as InvoiceTemplateUpdate, dm as NotificationHistory, dn as NotificationHistoryCreate, dp as NotificationHistoryUpdate, dq as Opportunity, dr as OpportunityCreate, ds as OpportunityUpdate, dt as OpportunityAttachment, du as OpportunityAttachmentCreate, dv as OpportunityAttachmentUpdate, dw as OpportunityCategory, dx as OpportunityCategoryCreate, dy as OpportunityCategoryUpdate, dz as OrganizationalLevel1Create, dA as OrganizationalLevel1Update, dB as OrganizationalLevel2Create, dC as OrganizationalLevel2Update, dD as OrganizationalLevelAssociationCreate, dE as OrganizationalLevelAssociationUpdate, dF as Phase, dG as PhaseCreate, dH as PhaseUpdate, dI as Product, dJ as ProductCreate, dK as ProductUpdate, dL as ProductVendors, dM as ProductVendorsCreate, dN as ProductVendorsUpdate, dO as ProjectAttachment, dP as ProjectAttachmentCreate, dQ as ProjectAttachmentUpdate, dR as ProjectCharge, dS as ProjectChargeCreate, dT as ProjectChargeUpdate, dU as ProjectNoteAttachment, dV as ProjectNoteAttachmentCreate, dW as ProjectNoteAttachmentUpdate, dX as ProjectNote, dY as ProjectNoteCreate, dZ as ProjectNoteUpdate, d_ as ProjectCreate, d$ as ProjectUpdate, e0 as ProjectContext, e1 as PurchaseApprovals, e2 as PurchaseApprovalsCreate, e3 as PurchaseApprovalsUpdate, e4 as PurchaseOrderItemReceiving, e5 as PurchaseOrderItemReceivingCreate, e6 as PurchaseOrderItemReceivingUpdate, e7 as PurchaseOrderItems, e8 as PurchaseOrderItemsCreate, e9 as PurchaseOrderItemsUpdate, ea as PurchaseOrders, eb as PurchaseOrdersCreate, ec as PurchaseOrdersUpdate, ed as QuoteItemCreate, ee as QuoteItemUpdate, ef as QuoteLocation, eg as QuoteLocationCreate, eh as QuoteLocationUpdate, ei as QuoteTemplate, ej as QuoteTemplateCreate, ek as QuoteTemplateUpdate, el as ResourceRoleQueue, em as ResourceRoleQueueCreate, en as ResourceRoleQueueUpdate, eo as ResourceRole, ep as ResourceRoleCreate, eq as ResourceRoleUpdate, er as ResourceSkill, es as ResourceSkillCreate, et as ResourceSkillUpdate, eu as ResourceTimeOffApprover, ev as ResourceTimeOffApproverCreate, ew as ResourceTimeOffApproverUpdate, ex as Role, ey as RoleCreate, ez as RoleUpdate, eA as SalesOrder, eB as SalesOrderCreate, eC as SalesOrderUpdate, eD as ServiceCallTaskResourceCreate, eE as ServiceCallTaskResourceUpdate, eF as ServiceCallTaskCreate, eG as ServiceCallTaskUpdate, eH as ServiceCallTicketResource, eI as ServiceCallTicketResourceCreate, eJ as ServiceCallTicketResourceUpdate, eK as ServiceCallTicketCreate, eL as ServiceCallTicketUpdate, eM as ServiceLevelAgreementResults, eN as ServiceLevelAgreementResultsCreate, eO as ServiceLevelAgreementResultsUpdate, eP as Service, eQ as ServiceCreate, eR as ServiceUpdate, eS as Skill, eT as SkillCreate, eU as SkillUpdate, eV as SubscriptionPeriod, eW as SubscriptionPeriodCreate, eX as SubscriptionPeriodUpdate, eY as SubscriptionCreate, eZ as SubscriptionUpdate, e_ as SurveyResults, e$ as SurveyResultsCreate, f0 as SurveyResultsUpdate, f1 as Survey, f2 as SurveyCreate, f3 as SurveyUpdate, f4 as TagAlias, f5 as TagAliasCreate, f6 as TagAliasUpdate, f7 as TagGroup, f8 as TagGroupCreate, f9 as TagGroupUpdate, fa as Tag, fb as TagCreate, fc as TagUpdate, fd as TaskAttachment, fe as TaskAttachmentCreate, ff as TaskAttachmentUpdate, fg as TaskNoteAttachment, fh as TaskNoteAttachmentCreate, fi as TaskNoteAttachmentUpdate, fj as TaskNote, fk as TaskNoteCreate, fl as TaskNoteUpdate, fm as TaskPredecessor, fn as TaskPredecessorCreate, fo as TaskPredecessorUpdate, fp as Task, fq as TaskCreate, fr as TaskUpdate, fs as TaskSecondaryResource, ft as TaskSecondaryResourceCreate, fu as TaskSecondaryResourceUpdate, fv as TaxRegion, fw as TaxRegionCreate, fx as TaxRegionUpdate, fy as TicketAdditionalConfigurationItem, fz as TicketAdditionalConfigurationItemCreate, fA as TicketAdditionalConfigurationItemUpdate, fB as TicketAdditionalContact, fC as TicketAdditionalContactCreate, fD as TicketAdditionalContactUpdate, fE as TicketAttachment, fF as TicketAttachmentCreate, fG as TicketAttachmentUpdate, fH as TicketCategory, fI as TicketCategoryCreate, fJ as TicketCategoryUpdate, fK as TicketCategoryFieldDefault, fL as TicketCategoryFieldDefaultCreate, fM as TicketCategoryFieldDefaultUpdate, fN as TicketChangeRequestApproval, fO as TicketChangeRequestApprovalCreate, fP as TicketChangeRequestApprovalUpdate, fQ as TicketChecklistItem, fR as TicketChecklistItemCreate, fS as TicketChecklistItemUpdate, fT as TicketChecklistLibrary, fU as TicketChecklistLibraryCreate, fV as TicketChecklistLibraryUpdate, fW as TicketHistory, fX as TicketHistoryCreate, fY as TicketHistoryUpdate, fZ as TicketNoteAttachment, f_ as TicketNoteAttachmentCreate, f$ as TicketNoteAttachmentUpdate, g0 as TicketNote, g1 as TicketNoteCreate, g2 as TicketNoteUpdate, g3 as TicketNoteWebhook, g4 as TicketNoteWebhookCreate, g5 as TicketNoteWebhookUpdate, g6 as TicketSecondaryResource, g7 as TicketSecondaryResourceCreate, g8 as TicketSecondaryResourceUpdate, g9 as TicketWebhook, ga as TicketWebhookCreate, gb as TicketWebhookUpdate, gc as TimeEntryAttachment, gd as TimeEntryAttachmentCreate, ge as TimeEntryAttachmentUpdate, gf as UserDefinedFieldDefinition, gg as UserDefinedFieldDefinitionCreate, gh as UserDefinedFieldDefinitionUpdate, gi as UserDefinedFieldListItem, gj as UserDefinedFieldListItemCreate, gk as UserDefinedFieldListItemUpdate, Q as QueryParams, gl as Resolution, gm as Page, gn as EntityInformationModel, go as FieldInformationModel, gp as Field, gq as FilterCondition, gr as CompositeNameTable, gs as CompositeContextOptions } from './index-BBc96jwe.js';
|
|
2
2
|
import { L as Logger } from './logger-B1gYmFre.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -32,7 +32,7 @@ import { L as Logger } from './logger-B1gYmFre.js';
|
|
|
32
32
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
33
33
|
* - docs/VENDOR-QUIRKS.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
34
34
|
*
|
|
35
|
-
* planHash:
|
|
35
|
+
* planHash: e5a0e5a83df11dd5843b8eb04625b990324834be6bfa47dadb3dc6a0b4d6acbf
|
|
36
36
|
*/
|
|
37
37
|
|
|
38
38
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -3011,7 +3011,9 @@ declare class AutotaskClient {
|
|
|
3011
3011
|
readonly phases: GenericResource<Phase, PhaseCreate, PhaseUpdate>;
|
|
3012
3012
|
readonly products: GenericResource<Product, ProductCreate, ProductUpdate>;
|
|
3013
3013
|
readonly productVendors: GenericResource<ProductVendors, ProductVendorsCreate, ProductVendorsUpdate>;
|
|
3014
|
+
readonly projectAttachments: GenericResource<ProjectAttachment, ProjectAttachmentCreate, ProjectAttachmentUpdate>;
|
|
3014
3015
|
readonly projectCharges: GenericResource<ProjectCharge, ProjectChargeCreate, ProjectChargeUpdate>;
|
|
3016
|
+
readonly projectNoteAttachments: GenericResource<ProjectNoteAttachment, ProjectNoteAttachmentCreate, ProjectNoteAttachmentUpdate>;
|
|
3015
3017
|
readonly projectNotes: GenericResource<ProjectNote, ProjectNoteCreate, ProjectNoteUpdate>;
|
|
3016
3018
|
readonly projects: GenericResource<Project, ProjectCreate, ProjectUpdate, ProjectContext>;
|
|
3017
3019
|
readonly purchaseApprovals: GenericResource<PurchaseApprovals, PurchaseApprovalsCreate, PurchaseApprovalsUpdate>;
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZ5QCH7JA_cjs = require('./chunk-Z5QCH7JA.cjs');
|
|
4
4
|
require('./chunk-S5CH4H6H.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
5
|
+
var chunkOVP7IH6K_cjs = require('./chunk-OVP7IH6K.cjs');
|
|
6
|
+
var chunk3VW75XKV_cjs = require('./chunk-3VW75XKV.cjs');
|
|
7
|
+
require('./chunk-TMJX6NTZ.cjs');
|
|
8
8
|
var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.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 chunk3VW75XKV_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 chunk3VW75XKV_cjs.AutotaskConfigError(
|
|
31
|
+
`${source}: ${name} ${chunk3VW75XKV_cjs.CREDENTIAL_ENV_LOAD_ACTION} [${chunk3VW75XKV_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 chunk3VW75XKV_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 (chunk3VW75XKV_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" && chunk3VW75XKV_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 = chunk3VW75XKV_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: chunk3VW75XKV_cjs.DEFAULT_ZONE, baseUrlHost: new URL(chunk3VW75XKV_cjs.zoneUrl(chunk3VW75XKV_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 ${chunk3VW75XKV_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 = chunk3VW75XKV_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: chunk3VW75XKV_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 chunk3VW75XKV_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 (chunk3VW75XKV_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 = chunk3VW75XKV_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,11 +395,11 @@ 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 = chunk3VW75XKV_cjs.parseVendorErrors(vendorError);
|
|
399
399
|
return entries !== void 0 && entries.length > 0;
|
|
400
400
|
}
|
|
401
401
|
function classifyWriteOutcome(error) {
|
|
402
|
-
if (
|
|
402
|
+
if (chunk3VW75XKV_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;
|
|
@@ -425,7 +425,7 @@ function classifyWriteOutcome(error) {
|
|
|
425
425
|
return outcome("failed", error.retryable, error.code);
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
const typed =
|
|
428
|
+
const typed = chunk3VW75XKV_cjs.isAutotaskError(error);
|
|
429
429
|
const status = typed && typeof error.httpStatus === "number" ? error.httpStatus : void 0;
|
|
430
430
|
const code = typed ? error.code : error instanceof Error ? error.name : "UNKNOWN";
|
|
431
431
|
return outcome("unknown", false, code, status);
|
|
@@ -433,255 +433,255 @@ function classifyWriteOutcome(error) {
|
|
|
433
433
|
|
|
434
434
|
Object.defineProperty(exports, "AutotaskClient", {
|
|
435
435
|
enumerable: true,
|
|
436
|
-
get: function () { return
|
|
436
|
+
get: function () { return chunkZ5QCH7JA_cjs.AutotaskClient; }
|
|
437
437
|
});
|
|
438
438
|
Object.defineProperty(exports, "AuthenticateResource", {
|
|
439
439
|
enumerable: true,
|
|
440
|
-
get: function () { return
|
|
440
|
+
get: function () { return chunkOVP7IH6K_cjs.AuthenticateResource; }
|
|
441
441
|
});
|
|
442
442
|
Object.defineProperty(exports, "ConfigurationItemsResource", {
|
|
443
443
|
enumerable: true,
|
|
444
|
-
get: function () { return
|
|
444
|
+
get: function () { return chunkOVP7IH6K_cjs.ConfigurationItemsResource; }
|
|
445
445
|
});
|
|
446
446
|
Object.defineProperty(exports, "ContactsResource", {
|
|
447
447
|
enumerable: true,
|
|
448
|
-
get: function () { return
|
|
448
|
+
get: function () { return chunkOVP7IH6K_cjs.ContactsResource; }
|
|
449
449
|
});
|
|
450
450
|
Object.defineProperty(exports, "EntityInformationResource", {
|
|
451
451
|
enumerable: true,
|
|
452
|
-
get: function () { return
|
|
452
|
+
get: function () { return chunkOVP7IH6K_cjs.EntityInformationResource; }
|
|
453
453
|
});
|
|
454
454
|
Object.defineProperty(exports, "InventoryProductsResource", {
|
|
455
455
|
enumerable: true,
|
|
456
|
-
get: function () { return
|
|
456
|
+
get: function () { return chunkOVP7IH6K_cjs.InventoryProductsResource; }
|
|
457
457
|
});
|
|
458
458
|
Object.defineProperty(exports, "ModulesResource", {
|
|
459
459
|
enumerable: true,
|
|
460
|
-
get: function () { return
|
|
460
|
+
get: function () { return chunkOVP7IH6K_cjs.ModulesResource; }
|
|
461
461
|
});
|
|
462
462
|
Object.defineProperty(exports, "QuotesResource", {
|
|
463
463
|
enumerable: true,
|
|
464
|
-
get: function () { return
|
|
464
|
+
get: function () { return chunkOVP7IH6K_cjs.QuotesResource; }
|
|
465
465
|
});
|
|
466
466
|
Object.defineProperty(exports, "ResourceTimeOffAdditionalResource", {
|
|
467
467
|
enumerable: true,
|
|
468
|
-
get: function () { return
|
|
468
|
+
get: function () { return chunkOVP7IH6K_cjs.ResourceTimeOffAdditionalResource; }
|
|
469
469
|
});
|
|
470
470
|
Object.defineProperty(exports, "ResourceTimeOffBalancesResource", {
|
|
471
471
|
enumerable: true,
|
|
472
|
-
get: function () { return
|
|
472
|
+
get: function () { return chunkOVP7IH6K_cjs.ResourceTimeOffBalancesResource; }
|
|
473
473
|
});
|
|
474
474
|
Object.defineProperty(exports, "ResourcesResource", {
|
|
475
475
|
enumerable: true,
|
|
476
|
-
get: function () { return
|
|
476
|
+
get: function () { return chunkOVP7IH6K_cjs.ResourcesResource; }
|
|
477
477
|
});
|
|
478
478
|
Object.defineProperty(exports, "ServiceCallsResource", {
|
|
479
479
|
enumerable: true,
|
|
480
|
-
get: function () { return
|
|
480
|
+
get: function () { return chunkOVP7IH6K_cjs.ServiceCallsResource; }
|
|
481
481
|
});
|
|
482
482
|
Object.defineProperty(exports, "ThresholdInformationResource", {
|
|
483
483
|
enumerable: true,
|
|
484
|
-
get: function () { return
|
|
484
|
+
get: function () { return chunkOVP7IH6K_cjs.ThresholdInformationResource; }
|
|
485
485
|
});
|
|
486
486
|
Object.defineProperty(exports, "TicketChargesResource", {
|
|
487
487
|
enumerable: true,
|
|
488
|
-
get: function () { return
|
|
488
|
+
get: function () { return chunkOVP7IH6K_cjs.TicketChargesResource; }
|
|
489
489
|
});
|
|
490
490
|
Object.defineProperty(exports, "TicketsResource", {
|
|
491
491
|
enumerable: true,
|
|
492
|
-
get: function () { return
|
|
492
|
+
get: function () { return chunkOVP7IH6K_cjs.TicketsResource; }
|
|
493
493
|
});
|
|
494
494
|
Object.defineProperty(exports, "TimeOffRequestsResource", {
|
|
495
495
|
enumerable: true,
|
|
496
|
-
get: function () { return
|
|
496
|
+
get: function () { return chunkOVP7IH6K_cjs.TimeOffRequestsResource; }
|
|
497
497
|
});
|
|
498
498
|
Object.defineProperty(exports, "VersionInformationResource", {
|
|
499
499
|
enumerable: true,
|
|
500
|
-
get: function () { return
|
|
500
|
+
get: function () { return chunkOVP7IH6K_cjs.VersionInformationResource; }
|
|
501
501
|
});
|
|
502
502
|
Object.defineProperty(exports, "VersionResource", {
|
|
503
503
|
enumerable: true,
|
|
504
|
-
get: function () { return
|
|
504
|
+
get: function () { return chunkOVP7IH6K_cjs.VersionResource; }
|
|
505
505
|
});
|
|
506
506
|
Object.defineProperty(exports, "ZoneInformationResource", {
|
|
507
507
|
enumerable: true,
|
|
508
|
-
get: function () { return
|
|
508
|
+
get: function () { return chunkOVP7IH6K_cjs.ZoneInformationResource; }
|
|
509
509
|
});
|
|
510
510
|
Object.defineProperty(exports, "AutotaskAbortError", {
|
|
511
511
|
enumerable: true,
|
|
512
|
-
get: function () { return
|
|
512
|
+
get: function () { return chunk3VW75XKV_cjs.AutotaskAbortError; }
|
|
513
513
|
});
|
|
514
514
|
Object.defineProperty(exports, "AutotaskConfigError", {
|
|
515
515
|
enumerable: true,
|
|
516
|
-
get: function () { return
|
|
516
|
+
get: function () { return chunk3VW75XKV_cjs.AutotaskConfigError; }
|
|
517
517
|
});
|
|
518
518
|
Object.defineProperty(exports, "AutotaskError", {
|
|
519
519
|
enumerable: true,
|
|
520
|
-
get: function () { return
|
|
520
|
+
get: function () { return chunk3VW75XKV_cjs.AutotaskError; }
|
|
521
521
|
});
|
|
522
522
|
Object.defineProperty(exports, "AutotaskNetworkError", {
|
|
523
523
|
enumerable: true,
|
|
524
|
-
get: function () { return
|
|
524
|
+
get: function () { return chunk3VW75XKV_cjs.AutotaskNetworkError; }
|
|
525
525
|
});
|
|
526
526
|
Object.defineProperty(exports, "AutotaskTimeoutError", {
|
|
527
527
|
enumerable: true,
|
|
528
|
-
get: function () { return
|
|
528
|
+
get: function () { return chunk3VW75XKV_cjs.AutotaskTimeoutError; }
|
|
529
529
|
});
|
|
530
530
|
Object.defineProperty(exports, "CREDENTIAL_SHAPE_POINTER", {
|
|
531
531
|
enumerable: true,
|
|
532
|
-
get: function () { return
|
|
532
|
+
get: function () { return chunk3VW75XKV_cjs.CREDENTIAL_SHAPE_POINTER; }
|
|
533
533
|
});
|
|
534
534
|
Object.defineProperty(exports, "CompaniesResource", {
|
|
535
535
|
enumerable: true,
|
|
536
|
-
get: function () { return
|
|
536
|
+
get: function () { return chunk3VW75XKV_cjs.CompaniesResource; }
|
|
537
537
|
});
|
|
538
538
|
Object.defineProperty(exports, "ConfirmationRequiredError", {
|
|
539
539
|
enumerable: true,
|
|
540
|
-
get: function () { return
|
|
540
|
+
get: function () { return chunk3VW75XKV_cjs.ConfirmationRequiredError; }
|
|
541
541
|
});
|
|
542
542
|
Object.defineProperty(exports, "ConflictError", {
|
|
543
543
|
enumerable: true,
|
|
544
|
-
get: function () { return
|
|
544
|
+
get: function () { return chunk3VW75XKV_cjs.ConflictError; }
|
|
545
545
|
});
|
|
546
546
|
Object.defineProperty(exports, "ContractsResource", {
|
|
547
547
|
enumerable: true,
|
|
548
|
-
get: function () { return
|
|
548
|
+
get: function () { return chunk3VW75XKV_cjs.ContractsResource; }
|
|
549
549
|
});
|
|
550
550
|
Object.defineProperty(exports, "DeleteBoundaryError", {
|
|
551
551
|
enumerable: true,
|
|
552
|
-
get: function () { return
|
|
552
|
+
get: function () { return chunk3VW75XKV_cjs.DeleteBoundaryError; }
|
|
553
553
|
});
|
|
554
554
|
Object.defineProperty(exports, "EmptyResponseError", {
|
|
555
555
|
enumerable: true,
|
|
556
|
-
get: function () { return
|
|
556
|
+
get: function () { return chunk3VW75XKV_cjs.EmptyResponseError; }
|
|
557
557
|
});
|
|
558
558
|
Object.defineProperty(exports, "GenericResource", {
|
|
559
559
|
enumerable: true,
|
|
560
|
-
get: function () { return
|
|
560
|
+
get: function () { return chunk3VW75XKV_cjs.GenericResource; }
|
|
561
561
|
});
|
|
562
562
|
Object.defineProperty(exports, "HostPolicyDeniedError", {
|
|
563
563
|
enumerable: true,
|
|
564
|
-
get: function () { return
|
|
564
|
+
get: function () { return chunk3VW75XKV_cjs.HostPolicyDeniedError; }
|
|
565
565
|
});
|
|
566
566
|
Object.defineProperty(exports, "InvoicesResource", {
|
|
567
567
|
enumerable: true,
|
|
568
|
-
get: function () { return
|
|
568
|
+
get: function () { return chunk3VW75XKV_cjs.InvoicesResource; }
|
|
569
569
|
});
|
|
570
570
|
Object.defineProperty(exports, "MIN_PREFIX_SUMMARY_LENGTH", {
|
|
571
571
|
enumerable: true,
|
|
572
|
-
get: function () { return
|
|
572
|
+
get: function () { return chunk3VW75XKV_cjs.MIN_PREFIX_SUMMARY_LENGTH; }
|
|
573
573
|
});
|
|
574
574
|
Object.defineProperty(exports, "MaintenanceError", {
|
|
575
575
|
enumerable: true,
|
|
576
|
-
get: function () { return
|
|
576
|
+
get: function () { return chunk3VW75XKV_cjs.MaintenanceError; }
|
|
577
577
|
});
|
|
578
578
|
Object.defineProperty(exports, "MarkerUnsafeIdError", {
|
|
579
579
|
enumerable: true,
|
|
580
|
-
get: function () { return
|
|
580
|
+
get: function () { return chunk3VW75XKV_cjs.MarkerUnsafeIdError; }
|
|
581
581
|
});
|
|
582
582
|
Object.defineProperty(exports, "MoveRefusedError", {
|
|
583
583
|
enumerable: true,
|
|
584
|
-
get: function () { return
|
|
584
|
+
get: function () { return chunk3VW75XKV_cjs.MoveRefusedError; }
|
|
585
585
|
});
|
|
586
586
|
Object.defineProperty(exports, "NotFoundError", {
|
|
587
587
|
enumerable: true,
|
|
588
|
-
get: function () { return
|
|
588
|
+
get: function () { return chunk3VW75XKV_cjs.NotFoundError; }
|
|
589
589
|
});
|
|
590
590
|
Object.defineProperty(exports, "OperationNotSupportedError", {
|
|
591
591
|
enumerable: true,
|
|
592
|
-
get: function () { return
|
|
592
|
+
get: function () { return chunk3VW75XKV_cjs.OperationNotSupportedError; }
|
|
593
593
|
});
|
|
594
594
|
Object.defineProperty(exports, "PaginationLimitError", {
|
|
595
595
|
enumerable: true,
|
|
596
|
-
get: function () { return
|
|
596
|
+
get: function () { return chunk3VW75XKV_cjs.PaginationLimitError; }
|
|
597
597
|
});
|
|
598
598
|
Object.defineProperty(exports, "QueryTooLongError", {
|
|
599
599
|
enumerable: true,
|
|
600
|
-
get: function () { return
|
|
600
|
+
get: function () { return chunk3VW75XKV_cjs.QueryTooLongError; }
|
|
601
601
|
});
|
|
602
602
|
Object.defineProperty(exports, "RateLimitError", {
|
|
603
603
|
enumerable: true,
|
|
604
|
-
get: function () { return
|
|
604
|
+
get: function () { return chunk3VW75XKV_cjs.RateLimitError; }
|
|
605
605
|
});
|
|
606
606
|
Object.defineProperty(exports, "RecoveryTruncatedError", {
|
|
607
607
|
enumerable: true,
|
|
608
|
-
get: function () { return
|
|
608
|
+
get: function () { return chunk3VW75XKV_cjs.RecoveryTruncatedError; }
|
|
609
609
|
});
|
|
610
610
|
Object.defineProperty(exports, "ResolutionError", {
|
|
611
611
|
enumerable: true,
|
|
612
|
-
get: function () { return
|
|
612
|
+
get: function () { return chunk3VW75XKV_cjs.ResolutionError; }
|
|
613
613
|
});
|
|
614
614
|
Object.defineProperty(exports, "ResponseRejectedError", {
|
|
615
615
|
enumerable: true,
|
|
616
|
-
get: function () { return
|
|
616
|
+
get: function () { return chunk3VW75XKV_cjs.ResponseRejectedError; }
|
|
617
617
|
});
|
|
618
618
|
Object.defineProperty(exports, "SIMPLE_RESOURCES", {
|
|
619
619
|
enumerable: true,
|
|
620
|
-
get: function () { return
|
|
620
|
+
get: function () { return chunk3VW75XKV_cjs.SIMPLE_RESOURCES; }
|
|
621
621
|
});
|
|
622
622
|
Object.defineProperty(exports, "ScopeRequiredError", {
|
|
623
623
|
enumerable: true,
|
|
624
|
-
get: function () { return
|
|
624
|
+
get: function () { return chunk3VW75XKV_cjs.ScopeRequiredError; }
|
|
625
625
|
});
|
|
626
626
|
Object.defineProperty(exports, "StaleObjectError", {
|
|
627
627
|
enumerable: true,
|
|
628
|
-
get: function () { return
|
|
628
|
+
get: function () { return chunk3VW75XKV_cjs.StaleObjectError; }
|
|
629
629
|
});
|
|
630
630
|
Object.defineProperty(exports, "TimeEntriesResource", {
|
|
631
631
|
enumerable: true,
|
|
632
|
-
get: function () { return
|
|
632
|
+
get: function () { return chunk3VW75XKV_cjs.TimeEntriesResource; }
|
|
633
633
|
});
|
|
634
634
|
Object.defineProperty(exports, "TtlCache", {
|
|
635
635
|
enumerable: true,
|
|
636
|
-
get: function () { return
|
|
636
|
+
get: function () { return chunk3VW75XKV_cjs.TtlCache; }
|
|
637
637
|
});
|
|
638
638
|
Object.defineProperty(exports, "UNSCOPED_WALK_THRESHOLD", {
|
|
639
639
|
enumerable: true,
|
|
640
|
-
get: function () { return
|
|
640
|
+
get: function () { return chunk3VW75XKV_cjs.UNSCOPED_WALK_THRESHOLD; }
|
|
641
641
|
});
|
|
642
642
|
Object.defineProperty(exports, "UnexpectedContentTypeError", {
|
|
643
643
|
enumerable: true,
|
|
644
|
-
get: function () { return
|
|
644
|
+
get: function () { return chunk3VW75XKV_cjs.UnexpectedContentTypeError; }
|
|
645
645
|
});
|
|
646
646
|
Object.defineProperty(exports, "ZONES", {
|
|
647
647
|
enumerable: true,
|
|
648
|
-
get: function () { return
|
|
648
|
+
get: function () { return chunk3VW75XKV_cjs.ZONES; }
|
|
649
649
|
});
|
|
650
650
|
Object.defineProperty(exports, "credentialShapeProblem", {
|
|
651
651
|
enumerable: true,
|
|
652
|
-
get: function () { return
|
|
652
|
+
get: function () { return chunk3VW75XKV_cjs.credentialShapeProblem; }
|
|
653
653
|
});
|
|
654
654
|
Object.defineProperty(exports, "credentialValueSummary", {
|
|
655
655
|
enumerable: true,
|
|
656
|
-
get: function () { return
|
|
656
|
+
get: function () { return chunk3VW75XKV_cjs.credentialValueSummary; }
|
|
657
657
|
});
|
|
658
658
|
Object.defineProperty(exports, "errorFromStatus", {
|
|
659
659
|
enumerable: true,
|
|
660
|
-
get: function () { return
|
|
660
|
+
get: function () { return chunk3VW75XKV_cjs.errorFromStatus; }
|
|
661
661
|
});
|
|
662
662
|
Object.defineProperty(exports, "formatVendorDetail", {
|
|
663
663
|
enumerable: true,
|
|
664
|
-
get: function () { return
|
|
664
|
+
get: function () { return chunk3VW75XKV_cjs.formatVendorDetail; }
|
|
665
665
|
});
|
|
666
666
|
Object.defineProperty(exports, "isAutotaskError", {
|
|
667
667
|
enumerable: true,
|
|
668
|
-
get: function () { return
|
|
668
|
+
get: function () { return chunk3VW75XKV_cjs.isAutotaskError; }
|
|
669
669
|
});
|
|
670
670
|
Object.defineProperty(exports, "isDeterministicVendor500", {
|
|
671
671
|
enumerable: true,
|
|
672
|
-
get: function () { return
|
|
672
|
+
get: function () { return chunk3VW75XKV_cjs.isDeterministicVendor500; }
|
|
673
673
|
});
|
|
674
674
|
Object.defineProperty(exports, "mergeDetails", {
|
|
675
675
|
enumerable: true,
|
|
676
|
-
get: function () { return
|
|
676
|
+
get: function () { return chunk3VW75XKV_cjs.mergeDetails; }
|
|
677
677
|
});
|
|
678
678
|
Object.defineProperty(exports, "nextActionFor", {
|
|
679
679
|
enumerable: true,
|
|
680
|
-
get: function () { return
|
|
680
|
+
get: function () { return chunk3VW75XKV_cjs.nextActionFor; }
|
|
681
681
|
});
|
|
682
682
|
Object.defineProperty(exports, "parseVendorErrors", {
|
|
683
683
|
enumerable: true,
|
|
684
|
-
get: function () { return
|
|
684
|
+
get: function () { return chunk3VW75XKV_cjs.parseVendorErrors; }
|
|
685
685
|
});
|
|
686
686
|
Object.defineProperty(exports, "NoopLogger", {
|
|
687
687
|
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-CZaFISYn.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-CZaFISYn.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-BBc96jwe.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-mFUX-x9D.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-mFUX-x9D.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-BBc96jwe.js';
|
|
5
5
|
|
|
6
6
|
declare class AutotaskNetworkError extends AutotaskError {
|
|
7
7
|
constructor(message: string, options?: AutotaskErrorOptions);
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { AutotaskClient } from './chunk-
|
|
1
|
+
export { AutotaskClient } from './chunk-R6N7S6LC.js';
|
|
2
2
|
import './chunk-YL6HXU33.js';
|
|
3
|
-
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from './chunk-
|
|
4
|
-
import { credentialShapeProblem, zoneUrl, DEFAULT_ZONE, ZONES, isAutotaskError, AutotaskConfigError, CREDENTIAL_ENV_LOAD_ACTION, credentialValueSummary, parseVendorErrors, buildQueryRequest, RateLimitError } from './chunk-
|
|
5
|
-
export { AutotaskAbortError, AutotaskConfigError, AutotaskError, AutotaskNetworkError, AutotaskTimeoutError, CREDENTIAL_SHAPE_POINTER, CompaniesResource, ConfirmationRequiredError, ConflictError, ContractsResource, DeleteBoundaryError, EmptyResponseError, GenericResource, HostPolicyDeniedError, InvoicesResource, MIN_PREFIX_SUMMARY_LENGTH, MaintenanceError, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationNotSupportedError, PaginationLimitError, QueryTooLongError, RateLimitError, RecoveryTruncatedError, ResolutionError, ResponseRejectedError, SIMPLE_RESOURCES, ScopeRequiredError, StaleObjectError, TimeEntriesResource, TtlCache, UNSCOPED_WALK_THRESHOLD, UnexpectedContentTypeError, ZONES, credentialShapeProblem, credentialValueSummary, errorFromStatus, formatVendorDetail, isAutotaskError, isDeterministicVendor500, mergeDetails, nextActionFor, parseVendorErrors } from './chunk-
|
|
6
|
-
import './chunk-
|
|
3
|
+
export { AuthenticateResource, ConfigurationItemsResource, ContactsResource, EntityInformationResource, InventoryProductsResource, ModulesResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, ThresholdInformationResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, VersionInformationResource, VersionResource, ZoneInformationResource } from './chunk-GRJE3IUU.js';
|
|
4
|
+
import { credentialShapeProblem, zoneUrl, DEFAULT_ZONE, ZONES, isAutotaskError, AutotaskConfigError, CREDENTIAL_ENV_LOAD_ACTION, credentialValueSummary, parseVendorErrors, buildQueryRequest, RateLimitError } from './chunk-JITS5NKE.js';
|
|
5
|
+
export { AutotaskAbortError, AutotaskConfigError, AutotaskError, AutotaskNetworkError, AutotaskTimeoutError, CREDENTIAL_SHAPE_POINTER, CompaniesResource, ConfirmationRequiredError, ConflictError, ContractsResource, DeleteBoundaryError, EmptyResponseError, GenericResource, HostPolicyDeniedError, InvoicesResource, MIN_PREFIX_SUMMARY_LENGTH, MaintenanceError, MarkerUnsafeIdError, MoveRefusedError, NotFoundError, OperationNotSupportedError, PaginationLimitError, QueryTooLongError, RateLimitError, RecoveryTruncatedError, ResolutionError, ResponseRejectedError, SIMPLE_RESOURCES, ScopeRequiredError, StaleObjectError, TimeEntriesResource, TtlCache, UNSCOPED_WALK_THRESHOLD, UnexpectedContentTypeError, ZONES, credentialShapeProblem, credentialValueSummary, errorFromStatus, formatVendorDetail, isAutotaskError, isDeterministicVendor500, mergeDetails, nextActionFor, parseVendorErrors } from './chunk-JITS5NKE.js';
|
|
6
|
+
import './chunk-R4MKUN4N.js';
|
|
7
7
|
export { NoopLogger, REDACTED } from './chunk-7NKB4UXV.js';
|
|
8
8
|
import { existsSync, readFileSync } from 'fs';
|
|
9
9
|
|