node-autotask 0.9.0 → 0.10.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.
Files changed (77) hide show
  1. package/MCP_TOOL_CATALOG.json +2 -2
  2. package/MCP_TOOL_MANIFEST.md +4 -4
  3. package/N8N_MCP_MANIFEST.json +2 -2
  4. package/N8N_MCP_MANIFEST.md +3 -3
  5. package/capabilities.json +1259 -1259
  6. package/dist/capabilities.cjs +2 -3
  7. package/dist/capabilities.js +1 -2
  8. package/dist/{chunk-UYJ5V262.js → chunk-3VB6N44U.js} +32 -182
  9. package/dist/{chunk-BZPFDRAE.js → chunk-6KFP5HV3.js} +1258 -1259
  10. package/dist/chunk-DMMMWO6A.js +0 -0
  11. package/dist/chunk-FLB2X6O5.cjs +1 -0
  12. package/dist/{chunk-UDWV4VVD.js → chunk-HWC2WPX2.js} +214 -20
  13. package/dist/chunk-IDPB4N2Q.cjs +1 -0
  14. package/dist/{chunk-QJU2N32V.js → chunk-NVJ2PTN3.js} +2 -3
  15. package/dist/{chunk-53MC2QRQ.cjs → chunk-QUM74WLQ.cjs} +135 -136
  16. package/dist/{chunk-OYHKIYVR.cjs → chunk-S7VMY5KN.cjs} +422 -572
  17. package/dist/chunk-UPQIUWOS.js +0 -0
  18. package/dist/{chunk-LTKMTXUR.cjs → chunk-WTVD2JZN.cjs} +1258 -1259
  19. package/dist/{chunk-RWLPTU67.cjs → chunk-WTVLHMZA.cjs} +235 -41
  20. package/dist/{index-ZknpNhtc.d.ts → index-BOyh7S65.d.cts} +8 -8
  21. package/dist/{index-CfU1JDgS.d.cts → index-DGgMD8aq.d.ts} +8 -8
  22. package/dist/{index-O2zzIMcQ.d.cts → index-cQ6CRexR.d.cts} +3 -1
  23. package/dist/{index-O2zzIMcQ.d.ts → index-cQ6CRexR.d.ts} +3 -1
  24. package/dist/index.cjs +21 -22
  25. package/dist/index.d.cts +4 -4
  26. package/dist/index.d.ts +4 -4
  27. package/dist/index.js +6 -7
  28. package/dist/operations/index.cjs +133 -129
  29. package/dist/operations/index.d.cts +8 -3
  30. package/dist/operations/index.d.ts +8 -3
  31. package/dist/operations/index.js +9 -5
  32. package/dist/pool.cjs +36 -12
  33. package/dist/pool.d.cts +2 -2
  34. package/dist/pool.d.ts +2 -2
  35. package/dist/pool.js +31 -7
  36. package/dist/resources/index.cjs +5 -6
  37. package/dist/resources/index.d.cts +2 -2
  38. package/dist/resources/index.d.ts +2 -2
  39. package/dist/resources/index.js +4 -5
  40. package/dist/types/index.cjs +1 -2
  41. package/dist/types/index.d.cts +1 -1
  42. package/dist/types/index.d.ts +1 -1
  43. package/dist/types/index.js +1 -2
  44. package/dist/untrusted.cjs +0 -1
  45. package/dist/untrusted.js +0 -1
  46. package/docs/API.md +12 -6
  47. package/package.json +1 -1
  48. package/dist/capabilities.cjs.map +0 -1
  49. package/dist/capabilities.js.map +0 -1
  50. package/dist/chunk-53MC2QRQ.cjs.map +0 -1
  51. package/dist/chunk-BZPFDRAE.js.map +0 -1
  52. package/dist/chunk-CXM35TEC.cjs +0 -1
  53. package/dist/chunk-CXM35TEC.cjs.map +0 -1
  54. package/dist/chunk-GIVD2CQ3.js +0 -1
  55. package/dist/chunk-GIVD2CQ3.js.map +0 -1
  56. package/dist/chunk-LTKMTXUR.cjs.map +0 -1
  57. package/dist/chunk-MHBMSBTA.js +0 -1
  58. package/dist/chunk-MHBMSBTA.js.map +0 -1
  59. package/dist/chunk-NZUFSSIZ.cjs +0 -1
  60. package/dist/chunk-NZUFSSIZ.cjs.map +0 -1
  61. package/dist/chunk-OYHKIYVR.cjs.map +0 -1
  62. package/dist/chunk-QJU2N32V.js.map +0 -1
  63. package/dist/chunk-RWLPTU67.cjs.map +0 -1
  64. package/dist/chunk-UDWV4VVD.js.map +0 -1
  65. package/dist/chunk-UYJ5V262.js.map +0 -1
  66. package/dist/index.cjs.map +0 -1
  67. package/dist/index.js.map +0 -1
  68. package/dist/operations/index.cjs.map +0 -1
  69. package/dist/operations/index.js.map +0 -1
  70. package/dist/pool.cjs.map +0 -1
  71. package/dist/pool.js.map +0 -1
  72. package/dist/resources/index.cjs.map +0 -1
  73. package/dist/resources/index.js.map +0 -1
  74. package/dist/types/index.cjs.map +0 -1
  75. package/dist/types/index.js.map +0 -1
  76. package/dist/untrusted.cjs.map +0 -1
  77. package/dist/untrusted.js.map +0 -1
@@ -1,2 +1 @@
1
- import "../chunk-MHBMSBTA.js";
2
- //# sourceMappingURL=index.js.map
1
+ import "../chunk-UPQIUWOS.js";
@@ -66,4 +66,3 @@ function stripUntrustedDeep(value) {
66
66
 
67
67
 
68
68
  exports.REDACTED_MARKER = REDACTED_MARKER; exports.UNTRUSTED_CLOSE = UNTRUSTED_CLOSE; exports.UNTRUSTED_CLOSE_NEUTRALISED = UNTRUSTED_CLOSE_NEUTRALISED; exports.UNTRUSTED_OPEN = UNTRUSTED_OPEN; exports.UNTRUSTED_OPEN_NEUTRALISED = UNTRUSTED_OPEN_NEUTRALISED; exports.deepMarkUntrusted = deepMarkUntrusted; exports.markUntrusted = markUntrusted; exports.stripUntrustedDeep = stripUntrustedDeep; exports.stripUntrustedWrapper = stripUntrustedWrapper; exports.wrapUntrusted = wrapUntrusted;
69
- //# sourceMappingURL=untrusted.cjs.map
package/dist/untrusted.js CHANGED
@@ -66,4 +66,3 @@ export {
66
66
  stripUntrustedWrapper,
67
67
  wrapUntrusted
68
68
  };
69
- //# sourceMappingURL=untrusted.js.map
package/docs/API.md CHANGED
@@ -117,8 +117,9 @@ server; a blank 2xx on a call that expects a result; `details = { httpStatus,
117
117
  method }`) — both classified and documented in section 2.1.
118
118
  `isDeterministicVendor500(entries)` (over the `parseVendorErrors` output) is
119
119
  the documented HEURISTIC phrase matcher for deterministic vendor
120
- field-validation 500s (`exceeds maximum length` to start — it holds only
121
- wording seen in real responses): it drives the transport's no-retry decision
120
+ field-validation 500s (`exceeds maximum length`, `Missing Required Field` and `Value does not
121
+ exist for the required field` — it holds only wording seen in real responses; the last two were
122
+ live-verified on `company_notes.create`): it drives the transport's no-retry decision
122
123
  and the `errorFromStatus` override that marks a matching 500 permanent
123
124
  (`retryable: false`, `details.deterministic: true`, a field-catalog
124
125
  `suggestedAction`) while keeping the `ServerError` class + `SERVER_ERROR`
@@ -1075,7 +1076,9 @@ wire):
1075
1076
  - **group/sum mode — the truncation honesty:** the walk's stamps ride through
1076
1077
  (`blindSurface` / `emptyReason` on a 0-row walk); `hasMore` = the walk's
1077
1078
  truncation flag — when true, `groups`/`sums` cover the RETURNED rows ONLY
1078
- (no silent partial sums); `totalScanned` = the walk's fetched record count.
1079
+ (no silent partial sums); `totalScanned` = the walk's fetched record count;
1080
+ `totalGroups` = the distinct groups found and `groupsTruncated` = `top` dropped some (an absent
1081
+ and an explicit-null group field fold into one group keyed `null`).
1079
1082
  A mid-walk vendor `429` propagates as the typed `RATE_LIMITED` error (the
1080
1083
  partial fold is discarded — the error IS the answer). Zero mutating.
1081
1084
 
@@ -1508,8 +1511,8 @@ retrying with the same body fails identically; fix the field instead
1508
1511
  (`src/errors.ts` sets `retryable: true` for `SERVER_ERROR` and for every
1509
1512
  httpStatus >= 500). **Resolution (issue #23):** the *deterministic*
1510
1513
  validation 500 is no longer labelled retryable — a 500 whose `errors[]` text
1511
- matches the documented heuristic phrases (`isDeterministicVendor500`,
1512
- `exceeds maximum length` to start) makes exactly ONE upstream call (the
1514
+ matches the documented heuristic phrases (`isDeterministicVendor500`:
1515
+ `exceeds maximum length`, `Missing Required Field`, `Value does not exist for the required field`) makes exactly ONE upstream call (the
1513
1516
  transport skips the retry), keeps the `ServerError` class + `SERVER_ERROR`
1514
1517
  code + status 500, but carries `retryable: false`, `details.deterministic:
1515
1518
  true`, and a `suggestedAction` pointing at the field catalog
@@ -2392,7 +2395,10 @@ name reads only (cache hits are free of it); over-budget ids serve
2392
2395
  `truncated` marker — never an error. An unresolvable id serves the blind
2393
2396
  marker (`name: null, blind: true`); a picklist whose values the vendor
2394
2397
  does not expose to this API user serves `null` + the fieldCatalog
2395
- reason row (the #64 W-A4 wall) — never an error. The `names` section
2398
+ reason row (the #64 W-A4 wall) — never an error. A picklist that IS served but does not
2399
+ contain the record's value serves `null` + a different reason row
2400
+ (`PICKLIST_VALUE_NOT_SERVED_NOTE`: an inactive or unexposed value) so the two conditions can be
2401
+ told apart. The `names` section
2396
2402
  (present on the result EXACTLY when `names: true`) carries the per-id
2397
2403
  rows and the reason rows.
2398
2404
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-autotask",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "Fully-typed TypeScript SDK for the Autotask (Datto) PSA REST API. Zero runtime dependencies. Built for building MCP servers and integrations.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/Users/maxs/gitrepos/node-autotask/dist/capabilities.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACF,kMAAC","file":"/Users/maxs/gitrepos/node-autotask/dist/capabilities.cjs"}
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["/Users/maxs/gitrepos/node-autotask/dist/chunk-53MC2QRQ.cjs","../src/client.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACQO,IAAM,eAAA,EAAN,MAAqB;AAAA;AAAA,EAEjB;AAAA;AAAA,EAEA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;A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AO,CAAA;AACnC,UAAA,MAAA;AAAA,QACF;AACA,QAAA,MAAM,EAAA,EAAI,IAAA,EAAA;AACV,QAAA,IAAI;AACF,UAAA,MAAM,KAAA,EAAO,KAAA,CAAM,CAAC,CAAA;AACpB,UAAA,MAAM,MAAA,EAAQ,MAAA,CAAO,OAAA,IAAW,KAAA,EAAA,EAAY,EAAA,CAAG,IAAI,EAAA,EAAI,6CAAA,MAAc,EAAQ,CAAA,EAAA,GAAM,EAAA,CAAG,IAAI,CAAC,CAAA,CAAA;AAC3F,UAAA,OAAA,CAAQ,CAAC,EAAA,EAAI,OAAA,EAAS,EAAE,MAAA,EAAQ,WAAA,EAAa,MAAM,EAAA,EAAI,KAAA;AAAA,QACzD,EAAA,MAAA,CAAS,KAAA,EAAO;AACd,UAAA,GAAA,CAAI,MAAA,EAAQ,OAAA,CAAQ,CAAC,EAAA,EAAI,EAAE,MAAA,EAAQ,UAAA,EAAY,MAAA,EAAQ,MAAM,CAAA;AAAA,UAAA,KACxD,QAAA,IAAY,EAAE,MAAM,CAAA;AAAA,QAC3B;AAAA,MACF;AAAA,IACF,CAAA;AACA,IAAA,MAAM,OAAA,CAAQ,GAAA,CAAI,KAAA,CAAM,IAAA,CAAK,EAAE,MAAA,EAAQ,IAAA,CAAK,GAAA,CAAI,WAAA,EAAa,KAAA,CAAM,MAAM,EAAE,CAAA,EAAG,MAAM,CAAC,CAAA;AACrF,IAAA,GAAA,CAAI,QAAA,IAAY,KAAA,CAAA,EAAW,MAAM,OAAA,CAAQ,KAAA;AACzC,IAAA,OAAO,OAAA;AAAA,EACT;AACF,CAAA;AD1CA;AACA;AACE;AACF,wCAAC","file":"/Users/maxs/gitrepos/node-autotask/dist/chunk-53MC2QRQ.cjs","sourcesContent":[null,"/**\n * AutotaskClient — top-level facade (ARCHITECTURE sections 5, 6).\n *\n * G3 wires config + transport + auth only; resource accessors (companies,\n * tickets, ...) land at G4/G5, and the cross-resource `operations` layer at\n * G6. The constructor validates fail-closed BEFORE anything is wired —\n * invalid configuration throws `AutotaskConfigError` and construction issues\n * no request.\n */\nimport { resolveConfig, type AutotaskConfig, type ResolvedAutotaskConfig } from './config.js';\nimport { AutotaskConfigError } from './errors.js';\nimport { HttpClient, runWithSignal } from './http.js';\nimport type { AuthTokenResultModel } from './types/common.js';\n\n// [GENERATED:RESOURCE_IMPORTS:START]\nimport { AppointmentsResource } from './resources/appointments.js';\nimport { AuthenticateResource } from './resources/authenticate.js';\nimport { BillingCodesResource } from './resources/billing_codes.js';\nimport { BillingItemsResource } from './resources/billing_items.js';\nimport { ChangeRequestLinksResource } from './resources/change_request_links.js';\nimport { ChecklistLibrariesResource } from './resources/checklist_libraries.js';\nimport { ChecklistLibraryChecklistItemsResource } from './resources/checklist_library_checklist_items.js';\nimport { ClassificationIconsResource } from './resources/classification_icons.js';\nimport { CompaniesResource } from './resources/companies.js';\nimport { CompanyAlertsResource } from './resources/company_alerts.js';\nimport { CompanyLocationsResource } from './resources/company_locations.js';\nimport { CompanyNotesResource } from './resources/company_notes.js';\nimport { CompanySiteConfigurationsResource } from './resources/company_site_configurations.js';\nimport { CompanyWebhooksResource } from './resources/company_webhooks.js';\nimport { ConfigurationItemBillingProductAssociationsResource } from './resources/configuration_item_billing_product_associations.js';\nimport { ConfigurationItemCategoriesResource } from './resources/configuration_item_categories.js';\nimport { ConfigurationItemCategoryUdfAssociationsResource } from './resources/configuration_item_category_udf_associations.js';\nimport { ConfigurationItemDnsRecordsResource } from './resources/configuration_item_dns_records.js';\nimport { ConfigurationItemNotesResource } from './resources/configuration_item_notes.js';\nimport { ConfigurationItemRelatedItemsResource } from './resources/configuration_item_related_items.js';\nimport { ConfigurationItemsResource } from './resources/configuration_items.js';\nimport { ConfigurationItemSslSubjectAlternativeNamesResource } from './resources/configuration_item_ssl_subject_alternative_names.js';\nimport { ConfigurationItemTypesResource } from './resources/configuration_item_types.js';\nimport { ConfigurationItemWebhooksResource } from './resources/configuration_item_webhooks.js';\nimport { ContactGroupContactsResource } from './resources/contact_group_contacts.js';\nimport { ContactGroupsResource } from './resources/contact_groups.js';\nimport { ContactsResource } from './resources/contacts.js';\nimport { ContactWebhooksResource } from './resources/contact_webhooks.js';\nimport { ContractBillingRulesResource } from './resources/contract_billing_rules.js';\nimport { ContractBlockHourFactorsResource } from './resources/contract_block_hour_factors.js';\nimport { ContractBlocksResource } from './resources/contract_blocks.js';\nimport { ContractChargesResource } from './resources/contract_charges.js';\nimport { ContractExclusionBillingCodesResource } from './resources/contract_exclusion_billing_codes.js';\nimport { ContractExclusionRolesResource } from './resources/contract_exclusion_roles.js';\nimport { ContractExclusionSetExcludedRolesResource } from './resources/contract_exclusion_set_excluded_roles.js';\nimport { ContractExclusionSetExcludedWorkTypesResource } from './resources/contract_exclusion_set_excluded_work_types.js';\nimport { ContractExclusionSetsResource } from './resources/contract_exclusion_sets.js';\nimport { ContractMilestonesResource } from './resources/contract_milestones.js';\nimport { ContractNotesResource } from './resources/contract_notes.js';\nimport { ContractRatesResource } from './resources/contract_rates.js';\nimport { ContractRetainersResource } from './resources/contract_retainers.js';\nimport { ContractRoleCostsResource } from './resources/contract_role_costs.js';\nimport { ContractServiceAdjustmentsResource } from './resources/contract_service_adjustments.js';\nimport { ContractServiceBundleAdjustmentsResource } from './resources/contract_service_bundle_adjustments.js';\nimport { ContractServiceBundlesResource } from './resources/contract_service_bundles.js';\nimport { ContractServiceBundleUnitsResource } from './resources/contract_service_bundle_units.js';\nimport { ContractServicesResource } from './resources/contract_services.js';\nimport { ContractServiceUnitsResource } from './resources/contract_service_units.js';\nimport { ContractsResource } from './resources/contracts.js';\nimport { ContractTicketPurchasesResource } from './resources/contract_ticket_purchases.js';\nimport { CountriesResource } from './resources/countries.js';\nimport { DepartmentsResource } from './resources/departments.js';\nimport { DomainRegistrarsResource } from './resources/domain_registrars.js';\nimport { EntityInformationResource } from './resources/entity_information.js';\nimport { ExpenseItemAttachmentsResource } from './resources/expense_item_attachments.js';\nimport { ExpenseItemsResource } from './resources/expense_items.js';\nimport { ExpenseReportsResource } from './resources/expense_reports.js';\nimport { HolidaySetsResource } from './resources/holiday_sets.js';\nimport { HolidaysResource } from './resources/holidays.js';\nimport { InventoryProductsResource } from './resources/inventory_products.js';\nimport { InvoicesResource } from './resources/invoices.js';\nimport { ModulesResource } from './resources/modules.js';\nimport { NotificationHistoryResource } from './resources/notification_history.js';\nimport { OpportunitiesResource } from './resources/opportunities.js';\nimport { OpportunityAttachmentsResource } from './resources/opportunity_attachments.js';\nimport { OpportunityCategoriesResource } from './resources/opportunity_categories.js';\nimport { PhasesResource } from './resources/phases.js';\nimport { ProductsResource } from './resources/products.js';\nimport { ProductVendorsResource } from './resources/product_vendors.js';\nimport { ProjectChargesResource } from './resources/project_charges.js';\nimport { ProjectNotesResource } from './resources/project_notes.js';\nimport { ProjectsResource } from './resources/projects.js';\nimport { PurchaseApprovalsResource } from './resources/purchase_approvals.js';\nimport { PurchaseOrderItemReceivingResource } from './resources/purchase_order_item_receiving.js';\nimport { PurchaseOrderItemsResource } from './resources/purchase_order_items.js';\nimport { PurchaseOrdersResource } from './resources/purchase_orders.js';\nimport { QuoteItemsResource } from './resources/quote_items.js';\nimport { QuoteLocationsResource } from './resources/quote_locations.js';\nimport { QuotesResource } from './resources/quotes.js';\nimport { QuoteTemplatesResource } from './resources/quote_templates.js';\nimport { ResourceRoleQueuesResource } from './resources/resource_role_queues.js';\nimport { ResourceRolesResource } from './resources/resource_roles.js';\nimport { ResourceSkillsResource } from './resources/resource_skills.js';\nimport { ResourcesResource } from './resources/resources.js';\nimport { ResourceTimeOffAdditionalResource } from './resources/resource_time_off_additional.js';\nimport { ResourceTimeOffApproversResource } from './resources/resource_time_off_approvers.js';\nimport { ResourceTimeOffBalancesResource } from './resources/resource_time_off_balances.js';\nimport { RolesResource } from './resources/roles.js';\nimport { ServiceCallsResource } from './resources/service_calls.js';\nimport { ServiceCallTaskResourcesResource } from './resources/service_call_task_resources.js';\nimport { ServiceCallTasksResource } from './resources/service_call_tasks.js';\nimport { ServiceCallTicketResourcesResource } from './resources/service_call_ticket_resources.js';\nimport { ServiceCallTicketsResource } from './resources/service_call_tickets.js';\nimport { ServiceLevelAgreementResultsResource } from './resources/service_level_agreement_results.js';\nimport { ServicesResource } from './resources/services.js';\nimport { SkillsResource } from './resources/skills.js';\nimport { SubscriptionPeriodsResource } from './resources/subscription_periods.js';\nimport { SubscriptionsResource } from './resources/subscriptions.js';\nimport { SurveyResultsResource } from './resources/survey_results.js';\nimport { SurveysResource } from './resources/surveys.js';\nimport { TagAliasesResource } from './resources/tag_aliases.js';\nimport { TagGroupsResource } from './resources/tag_groups.js';\nimport { TagsResource } from './resources/tags.js';\nimport { TaskSecondaryResourcesResource } from './resources/task_secondary_resources.js';\nimport { TasksResource } from './resources/tasks.js';\nimport { ThresholdInformationResource } from './resources/threshold_information.js';\nimport { TicketAdditionalConfigurationItemsResource } from './resources/ticket_additional_configuration_items.js';\nimport { TicketAdditionalContactsResource } from './resources/ticket_additional_contacts.js';\nimport { TicketAttachmentsResource } from './resources/ticket_attachments.js';\nimport { TicketCategoriesResource } from './resources/ticket_categories.js';\nimport { TicketCategoryFieldDefaultsResource } from './resources/ticket_category_field_defaults.js';\nimport { TicketChangeRequestApprovalsResource } from './resources/ticket_change_request_approvals.js';\nimport { TicketChargesResource } from './resources/ticket_charges.js';\nimport { TicketChecklistItemsResource } from './resources/ticket_checklist_items.js';\nimport { TicketChecklistLibrariesResource } from './resources/ticket_checklist_libraries.js';\nimport { TicketHistoryResource } from './resources/ticket_history.js';\nimport { TicketNoteAttachmentsResource } from './resources/ticket_note_attachments.js';\nimport { TicketNotesResource } from './resources/ticket_notes.js';\nimport { TicketNoteWebhooksResource } from './resources/ticket_note_webhooks.js';\nimport { TicketSecondaryResourcesResource } from './resources/ticket_secondary_resources.js';\nimport { TicketsResource } from './resources/tickets.js';\nimport { TicketWebhooksResource } from './resources/ticket_webhooks.js';\nimport { TimeEntriesResource } from './resources/time_entries.js';\nimport { TimeEntryAttachmentsResource } from './resources/time_entry_attachments.js';\nimport { TimeOffRequestsResource } from './resources/time_off_requests.js';\nimport { VersionInformationResource } from './resources/version_information.js';\nimport { VersionResource } from './resources/version.js';\nimport { ZoneInformationResource } from './resources/zone_information.js';\n// [GENERATED:RESOURCE_IMPORTS:END]\n\nexport class AutotaskClient {\n /** The validated config (resolved defaults; final values). */\n readonly config: ResolvedAutotaskConfig;\n /** The transport (shared by every resource; the only fetch site). */\n readonly http: HttpClient;\n\n// [GENERATED:RESOURCE_ACCESSORS:START]\n readonly appointments: AppointmentsResource;\n readonly authenticateResource: AuthenticateResource;\n readonly billingCodes: BillingCodesResource;\n readonly billingItems: BillingItemsResource;\n readonly changeRequestLinks: ChangeRequestLinksResource;\n readonly checklistLibraries: ChecklistLibrariesResource;\n readonly checklistLibraryChecklistItems: ChecklistLibraryChecklistItemsResource;\n readonly classificationIcons: ClassificationIconsResource;\n readonly companies: CompaniesResource;\n readonly companyAlerts: CompanyAlertsResource;\n readonly companyLocations: CompanyLocationsResource;\n readonly companyNotes: CompanyNotesResource;\n readonly companySiteConfigurations: CompanySiteConfigurationsResource;\n readonly companyWebhooks: CompanyWebhooksResource;\n readonly configurationItemBillingProductAssociations: ConfigurationItemBillingProductAssociationsResource;\n readonly configurationItemCategories: ConfigurationItemCategoriesResource;\n readonly configurationItemCategoryUdfAssociations: ConfigurationItemCategoryUdfAssociationsResource;\n readonly configurationItemDnsRecords: ConfigurationItemDnsRecordsResource;\n readonly configurationItemNotes: ConfigurationItemNotesResource;\n readonly configurationItemRelatedItems: ConfigurationItemRelatedItemsResource;\n readonly configurationItems: ConfigurationItemsResource;\n readonly configurationItemSslSubjectAlternativeNames: ConfigurationItemSslSubjectAlternativeNamesResource;\n readonly configurationItemTypes: ConfigurationItemTypesResource;\n readonly configurationItemWebhooks: ConfigurationItemWebhooksResource;\n readonly contactGroupContacts: ContactGroupContactsResource;\n readonly contactGroups: ContactGroupsResource;\n readonly contacts: ContactsResource;\n readonly contactWebhooks: ContactWebhooksResource;\n readonly contractBillingRules: ContractBillingRulesResource;\n readonly contractBlockHourFactors: ContractBlockHourFactorsResource;\n readonly contractBlocks: ContractBlocksResource;\n readonly contractCharges: ContractChargesResource;\n readonly contractExclusionBillingCodes: ContractExclusionBillingCodesResource;\n readonly contractExclusionRoles: ContractExclusionRolesResource;\n readonly contractExclusionSetExcludedRoles: ContractExclusionSetExcludedRolesResource;\n readonly contractExclusionSetExcludedWorkTypes: ContractExclusionSetExcludedWorkTypesResource;\n readonly contractExclusionSets: ContractExclusionSetsResource;\n readonly contractMilestones: ContractMilestonesResource;\n readonly contractNotes: ContractNotesResource;\n readonly contractRates: ContractRatesResource;\n readonly contractRetainers: ContractRetainersResource;\n readonly contractRoleCosts: ContractRoleCostsResource;\n readonly contractServiceAdjustments: ContractServiceAdjustmentsResource;\n readonly contractServiceBundleAdjustments: ContractServiceBundleAdjustmentsResource;\n readonly contractServiceBundles: ContractServiceBundlesResource;\n readonly contractServiceBundleUnits: ContractServiceBundleUnitsResource;\n readonly contractServices: ContractServicesResource;\n readonly contractServiceUnits: ContractServiceUnitsResource;\n readonly contracts: ContractsResource;\n readonly contractTicketPurchases: ContractTicketPurchasesResource;\n readonly countries: CountriesResource;\n readonly departments: DepartmentsResource;\n readonly domainRegistrars: DomainRegistrarsResource;\n readonly entityInformation: EntityInformationResource;\n readonly expenseItemAttachments: ExpenseItemAttachmentsResource;\n readonly expenseItems: ExpenseItemsResource;\n readonly expenseReports: ExpenseReportsResource;\n readonly holidaySets: HolidaySetsResource;\n readonly holidays: HolidaysResource;\n readonly inventoryProducts: InventoryProductsResource;\n readonly invoices: InvoicesResource;\n readonly modules: ModulesResource;\n readonly notificationHistory: NotificationHistoryResource;\n readonly opportunities: OpportunitiesResource;\n readonly opportunityAttachments: OpportunityAttachmentsResource;\n readonly opportunityCategories: OpportunityCategoriesResource;\n readonly phases: PhasesResource;\n readonly products: ProductsResource;\n readonly productVendors: ProductVendorsResource;\n readonly projectCharges: ProjectChargesResource;\n readonly projectNotes: ProjectNotesResource;\n readonly projects: ProjectsResource;\n readonly purchaseApprovals: PurchaseApprovalsResource;\n readonly purchaseOrderItemReceiving: PurchaseOrderItemReceivingResource;\n readonly purchaseOrderItems: PurchaseOrderItemsResource;\n readonly purchaseOrders: PurchaseOrdersResource;\n readonly quoteItems: QuoteItemsResource;\n readonly quoteLocations: QuoteLocationsResource;\n readonly quotes: QuotesResource;\n readonly quoteTemplates: QuoteTemplatesResource;\n readonly resourceRoleQueues: ResourceRoleQueuesResource;\n readonly resourceRoles: ResourceRolesResource;\n readonly resourceSkills: ResourceSkillsResource;\n readonly resources: ResourcesResource;\n readonly resourceTimeOffAdditional: ResourceTimeOffAdditionalResource;\n readonly resourceTimeOffApprovers: ResourceTimeOffApproversResource;\n readonly resourceTimeOffBalances: ResourceTimeOffBalancesResource;\n readonly roles: RolesResource;\n readonly serviceCalls: ServiceCallsResource;\n readonly serviceCallTaskResources: ServiceCallTaskResourcesResource;\n readonly serviceCallTasks: ServiceCallTasksResource;\n readonly serviceCallTicketResources: ServiceCallTicketResourcesResource;\n readonly serviceCallTickets: ServiceCallTicketsResource;\n readonly serviceLevelAgreementResults: ServiceLevelAgreementResultsResource;\n readonly services: ServicesResource;\n readonly skills: SkillsResource;\n readonly subscriptionPeriods: SubscriptionPeriodsResource;\n readonly subscriptions: SubscriptionsResource;\n readonly surveyResults: SurveyResultsResource;\n readonly surveys: SurveysResource;\n readonly tagAliases: TagAliasesResource;\n readonly tagGroups: TagGroupsResource;\n readonly tags: TagsResource;\n readonly taskSecondaryResources: TaskSecondaryResourcesResource;\n readonly tasks: TasksResource;\n readonly thresholdInformation: ThresholdInformationResource;\n readonly ticketAdditionalConfigurationItems: TicketAdditionalConfigurationItemsResource;\n readonly ticketAdditionalContacts: TicketAdditionalContactsResource;\n readonly ticketAttachments: TicketAttachmentsResource;\n readonly ticketCategories: TicketCategoriesResource;\n readonly ticketCategoryFieldDefaults: TicketCategoryFieldDefaultsResource;\n readonly ticketChangeRequestApprovals: TicketChangeRequestApprovalsResource;\n readonly ticketCharges: TicketChargesResource;\n readonly ticketChecklistItems: TicketChecklistItemsResource;\n readonly ticketChecklistLibraries: TicketChecklistLibrariesResource;\n readonly ticketHistory: TicketHistoryResource;\n readonly ticketNoteAttachments: TicketNoteAttachmentsResource;\n readonly ticketNotes: TicketNotesResource;\n readonly ticketNoteWebhooks: TicketNoteWebhooksResource;\n readonly ticketSecondaryResources: TicketSecondaryResourcesResource;\n readonly tickets: TicketsResource;\n readonly ticketWebhooks: TicketWebhooksResource;\n readonly timeEntries: TimeEntriesResource;\n readonly timeEntryAttachments: TimeEntryAttachmentsResource;\n readonly timeOffRequests: TimeOffRequestsResource;\n readonly versionInformation: VersionInformationResource;\n readonly version: VersionResource;\n readonly zoneInformation: ZoneInformationResource;\n// [GENERATED:RESOURCE_ACCESSORS:END]\n /**\n * Fail-closed: invalid configuration throws `AutotaskConfigError` before\n * anything is wired. Construction issues NO request.\n */\n constructor(options: AutotaskConfig) {\n this.config = resolveConfig(options);\n this.http = new HttpClient(this.config);\n // The transport's back-reference to the owning client (issue #77: the\n // cross-resource composite name resolution reaches the sibling resource\n // holders through it; the resource classes see only the transport).\n this.http.client = this;\n\n// [GENERATED:RESOURCE_CONSTRUCTORS:START]\n this.appointments = new AppointmentsResource(this.http, this.config.pageSize);\n this.authenticateResource = new AuthenticateResource(this.http);\n this.billingCodes = new BillingCodesResource(this.http, this.config.pageSize);\n this.billingItems = new BillingItemsResource(this.http, this.config.pageSize);\n this.changeRequestLinks = new ChangeRequestLinksResource(this.http, this.config.pageSize);\n this.checklistLibraries = new ChecklistLibrariesResource(this.http, this.config.pageSize);\n this.checklistLibraryChecklistItems = new ChecklistLibraryChecklistItemsResource(this.http, this.config.pageSize);\n this.classificationIcons = new ClassificationIconsResource(this.http, this.config.pageSize);\n this.companies = new CompaniesResource(this.http, this.config.pageSize);\n this.companyAlerts = new CompanyAlertsResource(this.http, this.config.pageSize);\n this.companyLocations = new CompanyLocationsResource(this.http, this.config.pageSize);\n this.companyNotes = new CompanyNotesResource(this.http, this.config.pageSize);\n this.companySiteConfigurations = new CompanySiteConfigurationsResource(this.http, this.config.pageSize);\n this.companyWebhooks = new CompanyWebhooksResource(this.http, this.config.pageSize);\n this.configurationItemBillingProductAssociations = new ConfigurationItemBillingProductAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemCategories = new ConfigurationItemCategoriesResource(this.http, this.config.pageSize);\n this.configurationItemCategoryUdfAssociations = new ConfigurationItemCategoryUdfAssociationsResource(this.http, this.config.pageSize);\n this.configurationItemDnsRecords = new ConfigurationItemDnsRecordsResource(this.http, this.config.pageSize);\n this.configurationItemNotes = new ConfigurationItemNotesResource(this.http, this.config.pageSize);\n this.configurationItemRelatedItems = new ConfigurationItemRelatedItemsResource(this.http, this.config.pageSize);\n this.configurationItems = new ConfigurationItemsResource(this.http, this.config.pageSize);\n this.configurationItemSslSubjectAlternativeNames = new ConfigurationItemSslSubjectAlternativeNamesResource(this.http, this.config.pageSize);\n this.configurationItemTypes = new ConfigurationItemTypesResource(this.http, this.config.pageSize);\n this.configurationItemWebhooks = new ConfigurationItemWebhooksResource(this.http, this.config.pageSize);\n this.contactGroupContacts = new ContactGroupContactsResource(this.http, this.config.pageSize);\n this.contactGroups = new ContactGroupsResource(this.http, this.config.pageSize);\n this.contacts = new ContactsResource(this.http, this.config.pageSize);\n this.contactWebhooks = new ContactWebhooksResource(this.http, this.config.pageSize);\n this.contractBillingRules = new ContractBillingRulesResource(this.http, this.config.pageSize);\n this.contractBlockHourFactors = new ContractBlockHourFactorsResource(this.http, this.config.pageSize);\n this.contractBlocks = new ContractBlocksResource(this.http, this.config.pageSize);\n this.contractCharges = new ContractChargesResource(this.http, this.config.pageSize);\n this.contractExclusionBillingCodes = new ContractExclusionBillingCodesResource(this.http, this.config.pageSize);\n this.contractExclusionRoles = new ContractExclusionRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedRoles = new ContractExclusionSetExcludedRolesResource(this.http, this.config.pageSize);\n this.contractExclusionSetExcludedWorkTypes = new ContractExclusionSetExcludedWorkTypesResource(this.http, this.config.pageSize);\n this.contractExclusionSets = new ContractExclusionSetsResource(this.http, this.config.pageSize);\n this.contractMilestones = new ContractMilestonesResource(this.http, this.config.pageSize);\n this.contractNotes = new ContractNotesResource(this.http, this.config.pageSize);\n this.contractRates = new ContractRatesResource(this.http, this.config.pageSize);\n this.contractRetainers = new ContractRetainersResource(this.http, this.config.pageSize);\n this.contractRoleCosts = new ContractRoleCostsResource(this.http, this.config.pageSize);\n this.contractServiceAdjustments = new ContractServiceAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundleAdjustments = new ContractServiceBundleAdjustmentsResource(this.http, this.config.pageSize);\n this.contractServiceBundles = new ContractServiceBundlesResource(this.http, this.config.pageSize);\n this.contractServiceBundleUnits = new ContractServiceBundleUnitsResource(this.http, this.config.pageSize);\n this.contractServices = new ContractServicesResource(this.http, this.config.pageSize);\n this.contractServiceUnits = new ContractServiceUnitsResource(this.http, this.config.pageSize);\n this.contracts = new ContractsResource(this.http, this.config.pageSize);\n this.contractTicketPurchases = new ContractTicketPurchasesResource(this.http, this.config.pageSize);\n this.countries = new CountriesResource(this.http, this.config.pageSize);\n this.departments = new DepartmentsResource(this.http, this.config.pageSize);\n this.domainRegistrars = new DomainRegistrarsResource(this.http, this.config.pageSize);\n this.entityInformation = new EntityInformationResource(this.http);\n this.expenseItemAttachments = new ExpenseItemAttachmentsResource(this.http, this.config.pageSize);\n this.expenseItems = new ExpenseItemsResource(this.http, this.config.pageSize);\n this.expenseReports = new ExpenseReportsResource(this.http, this.config.pageSize);\n this.holidaySets = new HolidaySetsResource(this.http, this.config.pageSize);\n this.holidays = new HolidaysResource(this.http, this.config.pageSize);\n this.inventoryProducts = new InventoryProductsResource(this.http, this.config.pageSize);\n this.invoices = new InvoicesResource(this.http, this.config.pageSize);\n this.modules = new ModulesResource(this.http);\n this.notificationHistory = new NotificationHistoryResource(this.http, this.config.pageSize);\n this.opportunities = new OpportunitiesResource(this.http, this.config.pageSize);\n this.opportunityAttachments = new OpportunityAttachmentsResource(this.http, this.config.pageSize);\n this.opportunityCategories = new OpportunityCategoriesResource(this.http, this.config.pageSize);\n this.phases = new PhasesResource(this.http, this.config.pageSize);\n this.products = new ProductsResource(this.http, this.config.pageSize);\n this.productVendors = new ProductVendorsResource(this.http, this.config.pageSize);\n this.projectCharges = new ProjectChargesResource(this.http, this.config.pageSize);\n this.projectNotes = new ProjectNotesResource(this.http, this.config.pageSize);\n this.projects = new ProjectsResource(this.http, this.config.pageSize);\n this.purchaseApprovals = new PurchaseApprovalsResource(this.http, this.config.pageSize);\n this.purchaseOrderItemReceiving = new PurchaseOrderItemReceivingResource(this.http, this.config.pageSize);\n this.purchaseOrderItems = new PurchaseOrderItemsResource(this.http, this.config.pageSize);\n this.purchaseOrders = new PurchaseOrdersResource(this.http, this.config.pageSize);\n this.quoteItems = new QuoteItemsResource(this.http, this.config.pageSize);\n this.quoteLocations = new QuoteLocationsResource(this.http, this.config.pageSize);\n this.quotes = new QuotesResource(this.http, this.config.pageSize);\n this.quoteTemplates = new QuoteTemplatesResource(this.http, this.config.pageSize);\n this.resourceRoleQueues = new ResourceRoleQueuesResource(this.http, this.config.pageSize);\n this.resourceRoles = new ResourceRolesResource(this.http, this.config.pageSize);\n this.resourceSkills = new ResourceSkillsResource(this.http, this.config.pageSize);\n this.resources = new ResourcesResource(this.http, this.config, this.config.pageSize);\n this.resourceTimeOffAdditional = new ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);\n this.resourceTimeOffApprovers = new ResourceTimeOffApproversResource(this.http, this.config.pageSize);\n this.resourceTimeOffBalances = new ResourceTimeOffBalancesResource(this.http, this.config.pageSize);\n this.roles = new RolesResource(this.http, this.config.pageSize);\n this.serviceCalls = new ServiceCallsResource(this.http, this.config.pageSize);\n this.serviceCallTaskResources = new ServiceCallTaskResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTasks = new ServiceCallTasksResource(this.http, this.config.pageSize);\n this.serviceCallTicketResources = new ServiceCallTicketResourcesResource(this.http, this.config.pageSize);\n this.serviceCallTickets = new ServiceCallTicketsResource(this.http, this.config.pageSize);\n this.serviceLevelAgreementResults = new ServiceLevelAgreementResultsResource(this.http, this.config.pageSize);\n this.services = new ServicesResource(this.http, this.config.pageSize);\n this.skills = new SkillsResource(this.http, this.config.pageSize);\n this.subscriptionPeriods = new SubscriptionPeriodsResource(this.http, this.config.pageSize);\n this.subscriptions = new SubscriptionsResource(this.http, this.config.pageSize);\n this.surveyResults = new SurveyResultsResource(this.http, this.config.pageSize);\n this.surveys = new SurveysResource(this.http, this.config.pageSize);\n this.tagAliases = new TagAliasesResource(this.http, this.config.pageSize);\n this.tagGroups = new TagGroupsResource(this.http, this.config.pageSize);\n this.tags = new TagsResource(this.http, this.config.pageSize);\n this.taskSecondaryResources = new TaskSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tasks = new TasksResource(this.http, this.config.pageSize);\n this.thresholdInformation = new ThresholdInformationResource(this.http);\n this.ticketAdditionalConfigurationItems = new TicketAdditionalConfigurationItemsResource(this.http, this.config.pageSize);\n this.ticketAdditionalContacts = new TicketAdditionalContactsResource(this.http, this.config.pageSize);\n this.ticketAttachments = new TicketAttachmentsResource(this.http, this.config.pageSize);\n this.ticketCategories = new TicketCategoriesResource(this.http, this.config.pageSize);\n this.ticketCategoryFieldDefaults = new TicketCategoryFieldDefaultsResource(this.http, this.config.pageSize);\n this.ticketChangeRequestApprovals = new TicketChangeRequestApprovalsResource(this.http, this.config.pageSize);\n this.ticketCharges = new TicketChargesResource(this.http, this.config.pageSize);\n this.ticketChecklistItems = new TicketChecklistItemsResource(this.http, this.config.pageSize);\n this.ticketChecklistLibraries = new TicketChecklistLibrariesResource(this.http, this.config.pageSize);\n this.ticketHistory = new TicketHistoryResource(this.http, this.config.pageSize);\n this.ticketNoteAttachments = new TicketNoteAttachmentsResource(this.http, this.config.pageSize);\n this.ticketNotes = new TicketNotesResource(this.http, this.config.pageSize);\n this.ticketNoteWebhooks = new TicketNoteWebhooksResource(this.http, this.config.pageSize);\n this.ticketSecondaryResources = new TicketSecondaryResourcesResource(this.http, this.config.pageSize);\n this.tickets = new TicketsResource(this.http, this.config.pageSize);\n this.ticketWebhooks = new TicketWebhooksResource(this.http, this.config.pageSize);\n this.timeEntries = new TimeEntriesResource(this.http, this.config.pageSize);\n this.timeEntryAttachments = new TimeEntryAttachmentsResource(this.http, this.config.pageSize);\n this.timeOffRequests = new TimeOffRequestsResource(this.http, this.config.pageSize);\n this.versionInformation = new VersionInformationResource(this.http);\n this.version = new VersionResource(this.http);\n this.zoneInformation = new ZoneInformationResource(this.http);\n// [GENERATED:RESOURCE_CONSTRUCTORS:END]\n }\n\n /**\n * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does\n * NOT store, refresh, or send the token automatically — it is a\n * probe/alternative for integrations that front the API with a\n * token-accepting layer. The default transport always uses the 3-header\n * scheme.\n */\n async authenticate(): Promise<AuthTokenResultModel> {\n return this.http.request<AuthTokenResultModel>({\n method: 'GET',\n path: '/V1.0/Authenticate',\n operation: 'authenticate',\n });\n }\n\n /**\n * The client-side hourly budget state (issue #4) — the LOCAL count only:\n * `{ perHour, used, remaining }`, or `undefined` when `rateLimit.perHour`\n * is off. The limiter is per process and cannot see other instances or\n * integrations on the tenant; the tenant-wide count is\n * `client.thresholdInformation.get()`.\n */\n hourlyBudget(): { perHour: number; used: number; remaining: number } | undefined {\n return this.http.hourlyBudget();\n }\n\n /**\n * Run `fn` with `signal` cancelling every SDK request it starts, retry\n * waits included (aborting throws `AutotaskAbortError`, code `ABORTED`, never\n * retried). The way a host propagates request cancellation (an MCP handler's\n * `extra.signal`) through `invoke` or any resource method without a signal\n * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.\n */\n withSignal<T>(signal: AbortSignal, fn: () => Promise<T>): Promise<T> {\n return runWithSignal(signal, fn);\n }\n\n /**\n * Bounded-parallel bulk helper (ARCHITECTURE section 10, `concurrency`):\n * runs `fn` over `items` with at most `opts.concurrency` in flight\n * (default: this client's `maxConcurrent`). Results are in INPUT order. A\n * rejection stops new items from starting and rejects the batch with the\n * first error once the in-flight items settle. `opts.signal` stops new items\n * from starting once aborted (the batch then rejects with the abort reason)\n * and cancels the SDK requests `fn` has in flight (via `withSignal`). `opts.settle: true` runs every item and\n * resolves to per-item `{ status: 'fulfilled', value } | { status:\n * 'rejected', reason }` results instead of rejecting.\n */\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts?: { concurrency?: number; signal?: AbortSignal; settle?: false },\n ): Promise<R[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle: true },\n ): Promise<PromiseSettledResult<R>[]>;\n async batch<T, R>(\n fn: (item: T) => Promise<R>,\n items: readonly T[],\n opts: { concurrency?: number; signal?: AbortSignal; settle?: boolean } = {},\n ): Promise<R[] | PromiseSettledResult<R>[]> {\n const concurrency = opts.concurrency ?? this.config.maxConcurrent;\n if (!Number.isInteger(concurrency) || concurrency <= 0) {\n throw new AutotaskConfigError('batch concurrency must be a positive integer');\n }\n const { signal, settle } = opts;\n const results = new Array<R | PromiseSettledResult<R>>(items.length);\n let next = 0;\n let failure: { error: unknown } | undefined;\n const worker = async (): Promise<void> => {\n while (failure === undefined && next < items.length) {\n if (signal?.aborted) {\n failure ??= { error: signal.reason };\n return;\n }\n const i = next++;\n try {\n const item = items[i] as T;\n const value = await (signal === undefined ? fn(item) : runWithSignal(signal, () => fn(item)));\n results[i] = settle ? { status: 'fulfilled', value } : value;\n } catch (error) {\n if (settle) results[i] = { status: 'rejected', reason: error };\n else failure ??= { error };\n }\n }\n };\n await Promise.all(Array.from({ length: Math.min(concurrency, items.length) }, worker));\n if (failure !== undefined) throw failure.error;\n return results as R[] | PromiseSettledResult<R>[];\n }\n}\n"]}