node-autotask 0.14.0 → 0.15.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/ARCHITECTURE.md CHANGED
@@ -304,7 +304,7 @@ export interface AutotaskConfig {
304
304
  pageSize?: number;
305
305
  /** HTTP timeout in ms (whole-call budget). Default 30_000. */
306
306
  timeoutMs?: number;
307
- /** The client's retry budget (default 3; 0 disables auto-retry). Two legs (issue #105): the 429 leg retries on the pre-#105 retriable set (GET/PUT/DELETE + idempotent-flagged calls) and the 5xx/network leg retries GET + idempotent-flagged calls only. A per-call override rides `InvokeOptions.maxRetries` / `MutationOpts.maxRetries`. */
307
+ /** The client's retry budget (default 3; 0 disables auto-retry). Three legs, two rules (issues #105/#109): the 429 leg retries on the pre-#105 retriable set (GET/PUT/DELETE + idempotent-flagged calls); the 5xx/network leg and the non-JSON-2xx (#24) leg retry GET + idempotent-flagged calls only. A per-call override rides `InvokeOptions.maxRetries` / `MutationOpts.maxRetries`. */
308
308
  maxRetries?: number;
309
309
  /** Optional request log sink. Default: no-op. */
310
310
  logger?: Logger;
@@ -510,7 +510,7 @@ export interface RequestOptions {
510
510
  - `2xx` → parse JSON (if body present); empty body → resolve `undefined`.
511
511
  - non-2xx → throw via `errorFromStatus(status, body, url, operation)` (§10).
512
512
  - network/AbortError → `AutotaskNetworkError` / `AutotaskTimeoutError`.
513
- 6. **Retries** (issue #105 — two legs, two rules, retry up to `maxRetries` with
513
+ 6. **Retries** (issues #105/#109 — three legs, two rules, retry up to `maxRetries` with
514
514
  exponential backoff + jitter, base 200 ms, cap 30 s, honouring `Retry-After`):
515
515
  - **429 leg — UNCHANGED by #105.** A `429` is a **pre-processing refusal** (the
516
516
  vendor rate limiter rejected the call before executing it); it is retried on the
@@ -527,6 +527,13 @@ export interface RequestOptions {
527
527
  `POST .../Reject` is never retried on either leg — it is an unflagged `POST`, so a
528
528
  `429` surfaces at once as well (`time_off_requests.reject` lists no retryable
529
529
  statuses in the registry).
530
+ - **`#24` leg (non-JSON `2xx`, an edge maintenance page) — follows the write
531
+ rule (issue #109).** A `GET` / explicitly idempotent-flagged call retries; a
532
+ mutation makes ONE send and throws `UNEXPECTED_CONTENT_TYPE` with the residue
533
+ `suggestedAction`. The transport no longer assumes the edge served the page —
534
+ that premise is unprovable from the response, and the #104 classifier pins this
535
+ code as `unknown` for a write (never blindly resend). `idempotent: true` /
536
+ `maxRetries` remain the explicit opt-ins.
530
537
  - **Per-call budget override:** `InvokeOptions.maxRetries` / `MutationOpts.maxRetries`
531
538
  threads the transport's per-request override through a mutation (and its
532
539
  auxiliary reads, e.g. a partial-update merge read); `0` = exactly one send per
package/README.md CHANGED
@@ -397,9 +397,9 @@ The SDK ships the mechanical substrate, not a server (no MCP imports, no zod):
397
397
  gains two server-category codes: `UNEXPECTED_CONTENT_TYPE` (a non-JSON 2xx
398
398
  whose `Content-Type` is not a JSON media type — the vendor maintenance
399
399
  page; `details` carries the content-type + a 256-byte truncated snippet
400
- that the MCP servers wrap as untrusted host text; idempotent methods retry
401
- per policy, a write makes ONE call and says the write may have taken
402
- effect) and `EMPTY_RESPONSE` (a blank 2xx on a call that expects a result
400
+ that the MCP servers wrap as untrusted host text; a `GET` or an explicitly
401
+ `idempotent`-flagged call retries, a write makes ONE call and says the write
402
+ may have taken effect) and `EMPTY_RESPONSE` (a blank 2xx on a call that expects a result
403
403
  — `expectBody`, non-DELETE by default; `DELETE` / 204 keep `undefined` and
404
404
  the delete ops synthesize `{ id }` from the path id on a blank answer). A
405
405
  vendor field-validation 500 matching the documented phrases (`exceeds
@@ -76,11 +76,12 @@ interface CapabilityRecord {
76
76
  maxScanRecords: number;
77
77
  maxScanPages: number;
78
78
  } | null;
79
- /** From the actual transport (src/http.ts; issue #105 — two legs): the
80
- * 429 (a pre-processing refusal) leg auto-retries per Retry-After on the
81
- * pre-#105 retriable set (GET/PUT/DELETE + idempotent-flagged ops; an
82
- * unflagged POST/PATCH surfaces at once); on 5xx/network errors only reads
83
- * and idempotent-flagged ops auto-retry (exponential backoff, equal
79
+ /** From the actual transport (src/http.ts; issues #105/#109 — three legs,
80
+ * two rules): the 429 (a pre-processing refusal) leg auto-retries per
81
+ * Retry-After on the pre-#105 retriable set (GET/PUT/DELETE +
82
+ * idempotent-flagged ops; an unflagged POST/PATCH surfaces at once); on
83
+ * 5xx/network errors AND on a non-JSON 2xx (#24) only reads and
84
+ * idempotent-flagged ops auto-retry (exponential backoff, equal
84
85
  * jitter, base 200ms, cap 30s, max 3 retries, Retry-After honoured) — a
85
86
  * mutation's outcome is unknown once its body was written. The vendor
86
87
  * offers no idempotency pass-through. */
@@ -76,11 +76,12 @@ interface CapabilityRecord {
76
76
  maxScanRecords: number;
77
77
  maxScanPages: number;
78
78
  } | null;
79
- /** From the actual transport (src/http.ts; issue #105 — two legs): the
80
- * 429 (a pre-processing refusal) leg auto-retries per Retry-After on the
81
- * pre-#105 retriable set (GET/PUT/DELETE + idempotent-flagged ops; an
82
- * unflagged POST/PATCH surfaces at once); on 5xx/network errors only reads
83
- * and idempotent-flagged ops auto-retry (exponential backoff, equal
79
+ /** From the actual transport (src/http.ts; issues #105/#109 — three legs,
80
+ * two rules): the 429 (a pre-processing refusal) leg auto-retries per
81
+ * Retry-After on the pre-#105 retriable set (GET/PUT/DELETE +
82
+ * idempotent-flagged ops; an unflagged POST/PATCH surfaces at once); on
83
+ * 5xx/network errors AND on a non-JSON 2xx (#24) only reads and
84
+ * idempotent-flagged ops auto-retry (exponential backoff, equal
84
85
  * jitter, base 200ms, cap 30s, max 3 retries, Retry-After honoured) — a
85
86
  * mutation's outcome is unknown once its body was written. The vendor
86
87
  * offers no idempotency pass-through. */
@@ -33,7 +33,7 @@ import {
33
33
  unwrapItem,
34
34
  unwrapItems,
35
35
  unwrapOperation
36
- } from "./chunk-KA6UU26H.js";
36
+ } from "./chunk-CSA6QSV6.js";
37
37
  import {
38
38
  CAPABILITIES
39
39
  } from "./chunk-JIDR3NPV.js";
@@ -15385,7 +15385,7 @@ var HttpClient = class {
15385
15385
  // The content-type is host-sourced (a host-supplied
15386
15386
  // baseUrl can serve arbitrary HTML) — capped, never prose;
15387
15387
  // the raw snippet rides details only.
15388
- suggestedAction: retriable ? `The zone answered with a non-JSON body (content-type: ${contentType.slice(0, 100)}); the zone is likely in a maintenance window \u2014 retry after the window, or verify baseUrl points at the REST API.` : `The zone answered a write with a non-JSON body (content-type: ${contentType.slice(0, 100)}); the request may have taken effect \u2014 verify the record before re-issuing (writes are never auto-retried).`
15388
+ suggestedAction: retriable5xx ? `The zone answered with a non-JSON body (content-type: ${contentType.slice(0, 100)}); the zone is likely in a maintenance window \u2014 retry after the window, or verify baseUrl points at the REST API.` : `The zone answered a write with a non-JSON body (content-type: ${contentType.slice(0, 100)}); the request may have taken effect \u2014 verify the record before re-issuing (writes are never auto-retried).`
15389
15389
  }
15390
15390
  ) : new AutotaskError(`Invalid JSON response body for ${method} ${opts.path}`, {
15391
15391
  ...ctx,
@@ -15394,7 +15394,7 @@ var HttpClient = class {
15394
15394
  httpStatus: status,
15395
15395
  suggestedAction: "The zone returned a non-JSON 2xx body; verify baseUrl points at the REST API."
15396
15396
  });
15397
- if (err2.code === "UNEXPECTED_CONTENT_TYPE" && retriable && attempt < maxRetries) {
15397
+ if (err2.code === "UNEXPECTED_CONTENT_TYPE" && retriable5xx && attempt < maxRetries) {
15398
15398
  const retryAfter = parseRetryAfter(res.headers.get("Retry-After"));
15399
15399
  const delay = retryAfter !== void 0 ? retryAfter * 1e3 : backoffDelay(attempt);
15400
15400
  if (canWait(delay)) {
@@ -127,13 +127,13 @@ import {
127
127
  VersionInformationResource,
128
128
  VersionResource,
129
129
  ZoneInformationResource
130
- } from "./chunk-IYN2BHVW.js";
130
+ } from "./chunk-AXVYQPTB.js";
131
131
  import {
132
132
  AutotaskConfigError,
133
133
  HttpClient,
134
134
  resolveConfig,
135
135
  runWithSignal
136
- } from "./chunk-KA6UU26H.js";
136
+ } from "./chunk-CSA6QSV6.js";
137
137
 
138
138
  // src/client.ts
139
139
  var AutotaskClient = class {
@@ -127,13 +127,13 @@
127
127
 
128
128
 
129
129
 
130
- var _chunk5QMXECLNcjs = require('./chunk-5QMXECLN.cjs');
130
+ var _chunkVLIUHEPEcjs = require('./chunk-VLIUHEPE.cjs');
131
131
 
132
132
 
133
133
 
134
134
 
135
135
 
136
- var _chunkXSIY3WRRcjs = require('./chunk-XSIY3WRR.cjs');
136
+ var _chunkZ7YT72SScjs = require('./chunk-Z7YT72SS.cjs');
137
137
 
138
138
  // src/client.ts
139
139
  var AutotaskClient = class {
@@ -276,137 +276,137 @@ var AutotaskClient = class {
276
276
  * anything is wired. Construction issues NO request.
277
277
  */
278
278
  constructor(options) {
279
- this.config = _chunkXSIY3WRRcjs.resolveConfig.call(void 0, options);
280
- this.http = new (0, _chunkXSIY3WRRcjs.HttpClient)(this.config);
279
+ this.config = _chunkZ7YT72SScjs.resolveConfig.call(void 0, options);
280
+ this.http = new (0, _chunkZ7YT72SScjs.HttpClient)(this.config);
281
281
  this.http.client = this;
282
- this.appointments = new (0, _chunk5QMXECLNcjs.AppointmentsResource)(this.http, this.config.pageSize);
283
- this.authenticateResource = new (0, _chunk5QMXECLNcjs.AuthenticateResource)(this.http);
284
- this.billingCodes = new (0, _chunk5QMXECLNcjs.BillingCodesResource)(this.http, this.config.pageSize);
285
- this.billingItems = new (0, _chunk5QMXECLNcjs.BillingItemsResource)(this.http, this.config.pageSize);
286
- this.changeRequestLinks = new (0, _chunk5QMXECLNcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
287
- this.checklistLibraries = new (0, _chunk5QMXECLNcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
288
- this.checklistLibraryChecklistItems = new (0, _chunk5QMXECLNcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
289
- this.classificationIcons = new (0, _chunk5QMXECLNcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
290
- this.companies = new (0, _chunk5QMXECLNcjs.CompaniesResource)(this.http, this.config.pageSize);
291
- this.companyAlerts = new (0, _chunk5QMXECLNcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
292
- this.companyLocations = new (0, _chunk5QMXECLNcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
293
- this.companyNotes = new (0, _chunk5QMXECLNcjs.CompanyNotesResource)(this.http, this.config.pageSize);
294
- this.companySiteConfigurations = new (0, _chunk5QMXECLNcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
295
- this.companyWebhooks = new (0, _chunk5QMXECLNcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
296
- this.configurationItemBillingProductAssociations = new (0, _chunk5QMXECLNcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
297
- this.configurationItemCategories = new (0, _chunk5QMXECLNcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
298
- this.configurationItemCategoryUdfAssociations = new (0, _chunk5QMXECLNcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
299
- this.configurationItemDnsRecords = new (0, _chunk5QMXECLNcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
300
- this.configurationItemNotes = new (0, _chunk5QMXECLNcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
301
- this.configurationItemRelatedItems = new (0, _chunk5QMXECLNcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
302
- this.configurationItems = new (0, _chunk5QMXECLNcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
303
- this.configurationItemSslSubjectAlternativeNames = new (0, _chunk5QMXECLNcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
304
- this.configurationItemTypes = new (0, _chunk5QMXECLNcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
305
- this.configurationItemWebhooks = new (0, _chunk5QMXECLNcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
306
- this.contactGroupContacts = new (0, _chunk5QMXECLNcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
307
- this.contactGroups = new (0, _chunk5QMXECLNcjs.ContactGroupsResource)(this.http, this.config.pageSize);
308
- this.contacts = new (0, _chunk5QMXECLNcjs.ContactsResource)(this.http, this.config.pageSize);
309
- this.contactWebhooks = new (0, _chunk5QMXECLNcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
310
- this.contractBillingRules = new (0, _chunk5QMXECLNcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
311
- this.contractBlockHourFactors = new (0, _chunk5QMXECLNcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
312
- this.contractBlocks = new (0, _chunk5QMXECLNcjs.ContractBlocksResource)(this.http, this.config.pageSize);
313
- this.contractCharges = new (0, _chunk5QMXECLNcjs.ContractChargesResource)(this.http, this.config.pageSize);
314
- this.contractExclusionBillingCodes = new (0, _chunk5QMXECLNcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
315
- this.contractExclusionRoles = new (0, _chunk5QMXECLNcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
316
- this.contractExclusionSetExcludedRoles = new (0, _chunk5QMXECLNcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
317
- this.contractExclusionSetExcludedWorkTypes = new (0, _chunk5QMXECLNcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
318
- this.contractExclusionSets = new (0, _chunk5QMXECLNcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
319
- this.contractMilestones = new (0, _chunk5QMXECLNcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
320
- this.contractNotes = new (0, _chunk5QMXECLNcjs.ContractNotesResource)(this.http, this.config.pageSize);
321
- this.contractRates = new (0, _chunk5QMXECLNcjs.ContractRatesResource)(this.http, this.config.pageSize);
322
- this.contractRetainers = new (0, _chunk5QMXECLNcjs.ContractRetainersResource)(this.http, this.config.pageSize);
323
- this.contractRoleCosts = new (0, _chunk5QMXECLNcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
324
- this.contractServiceAdjustments = new (0, _chunk5QMXECLNcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
325
- this.contractServiceBundleAdjustments = new (0, _chunk5QMXECLNcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
326
- this.contractServiceBundles = new (0, _chunk5QMXECLNcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
327
- this.contractServiceBundleUnits = new (0, _chunk5QMXECLNcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
328
- this.contractServices = new (0, _chunk5QMXECLNcjs.ContractServicesResource)(this.http, this.config.pageSize);
329
- this.contractServiceUnits = new (0, _chunk5QMXECLNcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
330
- this.contracts = new (0, _chunk5QMXECLNcjs.ContractsResource)(this.http, this.config.pageSize);
331
- this.contractTicketPurchases = new (0, _chunk5QMXECLNcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
332
- this.countries = new (0, _chunk5QMXECLNcjs.CountriesResource)(this.http, this.config.pageSize);
333
- this.departments = new (0, _chunk5QMXECLNcjs.DepartmentsResource)(this.http, this.config.pageSize);
334
- this.domainRegistrars = new (0, _chunk5QMXECLNcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
335
- this.entityInformation = new (0, _chunk5QMXECLNcjs.EntityInformationResource)(this.http);
336
- this.expenseItemAttachments = new (0, _chunk5QMXECLNcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
337
- this.expenseItems = new (0, _chunk5QMXECLNcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
338
- this.expenseReports = new (0, _chunk5QMXECLNcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
339
- this.holidaySets = new (0, _chunk5QMXECLNcjs.HolidaySetsResource)(this.http, this.config.pageSize);
340
- this.holidays = new (0, _chunk5QMXECLNcjs.HolidaysResource)(this.http, this.config.pageSize);
341
- this.inventoryProducts = new (0, _chunk5QMXECLNcjs.InventoryProductsResource)(this.http, this.config.pageSize);
342
- this.invoices = new (0, _chunk5QMXECLNcjs.InvoicesResource)(this.http, this.config.pageSize);
343
- this.modules = new (0, _chunk5QMXECLNcjs.ModulesResource)(this.http);
344
- this.notificationHistory = new (0, _chunk5QMXECLNcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
345
- this.opportunities = new (0, _chunk5QMXECLNcjs.OpportunitiesResource)(this.http, this.config.pageSize);
346
- this.opportunityAttachments = new (0, _chunk5QMXECLNcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
347
- this.opportunityCategories = new (0, _chunk5QMXECLNcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
348
- this.phases = new (0, _chunk5QMXECLNcjs.PhasesResource)(this.http, this.config.pageSize);
349
- this.products = new (0, _chunk5QMXECLNcjs.ProductsResource)(this.http, this.config.pageSize);
350
- this.productVendors = new (0, _chunk5QMXECLNcjs.ProductVendorsResource)(this.http, this.config.pageSize);
351
- this.projectCharges = new (0, _chunk5QMXECLNcjs.ProjectChargesResource)(this.http, this.config.pageSize);
352
- this.projectNotes = new (0, _chunk5QMXECLNcjs.ProjectNotesResource)(this.http, this.config.pageSize);
353
- this.projects = new (0, _chunk5QMXECLNcjs.ProjectsResource)(this.http, this.config.pageSize);
354
- this.purchaseApprovals = new (0, _chunk5QMXECLNcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
355
- this.purchaseOrderItemReceiving = new (0, _chunk5QMXECLNcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
356
- this.purchaseOrderItems = new (0, _chunk5QMXECLNcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
357
- this.purchaseOrders = new (0, _chunk5QMXECLNcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
358
- this.quoteItems = new (0, _chunk5QMXECLNcjs.QuoteItemsResource)(this.http, this.config.pageSize);
359
- this.quoteLocations = new (0, _chunk5QMXECLNcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
360
- this.quotes = new (0, _chunk5QMXECLNcjs.QuotesResource)(this.http, this.config.pageSize);
361
- this.quoteTemplates = new (0, _chunk5QMXECLNcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
362
- this.resourceRoleQueues = new (0, _chunk5QMXECLNcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
363
- this.resourceRoles = new (0, _chunk5QMXECLNcjs.ResourceRolesResource)(this.http, this.config.pageSize);
364
- this.resourceSkills = new (0, _chunk5QMXECLNcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
365
- this.resources = new (0, _chunk5QMXECLNcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
366
- this.resourceTimeOffAdditional = new (0, _chunk5QMXECLNcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
367
- this.resourceTimeOffApprovers = new (0, _chunk5QMXECLNcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
368
- this.resourceTimeOffBalances = new (0, _chunk5QMXECLNcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
369
- this.roles = new (0, _chunk5QMXECLNcjs.RolesResource)(this.http, this.config.pageSize);
370
- this.serviceCalls = new (0, _chunk5QMXECLNcjs.ServiceCallsResource)(this.http, this.config.pageSize);
371
- this.serviceCallTaskResources = new (0, _chunk5QMXECLNcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
372
- this.serviceCallTasks = new (0, _chunk5QMXECLNcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
373
- this.serviceCallTicketResources = new (0, _chunk5QMXECLNcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
374
- this.serviceCallTickets = new (0, _chunk5QMXECLNcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
375
- this.serviceLevelAgreementResults = new (0, _chunk5QMXECLNcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
376
- this.services = new (0, _chunk5QMXECLNcjs.ServicesResource)(this.http, this.config.pageSize);
377
- this.skills = new (0, _chunk5QMXECLNcjs.SkillsResource)(this.http, this.config.pageSize);
378
- this.subscriptionPeriods = new (0, _chunk5QMXECLNcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
379
- this.subscriptions = new (0, _chunk5QMXECLNcjs.SubscriptionsResource)(this.http, this.config.pageSize);
380
- this.surveyResults = new (0, _chunk5QMXECLNcjs.SurveyResultsResource)(this.http, this.config.pageSize);
381
- this.surveys = new (0, _chunk5QMXECLNcjs.SurveysResource)(this.http, this.config.pageSize);
382
- this.tagAliases = new (0, _chunk5QMXECLNcjs.TagAliasesResource)(this.http, this.config.pageSize);
383
- this.tagGroups = new (0, _chunk5QMXECLNcjs.TagGroupsResource)(this.http, this.config.pageSize);
384
- this.tags = new (0, _chunk5QMXECLNcjs.TagsResource)(this.http, this.config.pageSize);
385
- this.taskSecondaryResources = new (0, _chunk5QMXECLNcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
386
- this.tasks = new (0, _chunk5QMXECLNcjs.TasksResource)(this.http, this.config.pageSize);
387
- this.thresholdInformation = new (0, _chunk5QMXECLNcjs.ThresholdInformationResource)(this.http);
388
- this.ticketAdditionalConfigurationItems = new (0, _chunk5QMXECLNcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
389
- this.ticketAdditionalContacts = new (0, _chunk5QMXECLNcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
390
- this.ticketAttachments = new (0, _chunk5QMXECLNcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
391
- this.ticketCategories = new (0, _chunk5QMXECLNcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
392
- this.ticketCategoryFieldDefaults = new (0, _chunk5QMXECLNcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
393
- this.ticketChangeRequestApprovals = new (0, _chunk5QMXECLNcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
394
- this.ticketCharges = new (0, _chunk5QMXECLNcjs.TicketChargesResource)(this.http, this.config.pageSize);
395
- this.ticketChecklistItems = new (0, _chunk5QMXECLNcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
396
- this.ticketChecklistLibraries = new (0, _chunk5QMXECLNcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
397
- this.ticketHistory = new (0, _chunk5QMXECLNcjs.TicketHistoryResource)(this.http, this.config.pageSize);
398
- this.ticketNoteAttachments = new (0, _chunk5QMXECLNcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
399
- this.ticketNotes = new (0, _chunk5QMXECLNcjs.TicketNotesResource)(this.http, this.config.pageSize);
400
- this.ticketNoteWebhooks = new (0, _chunk5QMXECLNcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
401
- this.ticketSecondaryResources = new (0, _chunk5QMXECLNcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
402
- this.tickets = new (0, _chunk5QMXECLNcjs.TicketsResource)(this.http, this.config.pageSize);
403
- this.ticketWebhooks = new (0, _chunk5QMXECLNcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
404
- this.timeEntries = new (0, _chunk5QMXECLNcjs.TimeEntriesResource)(this.http, this.config.pageSize);
405
- this.timeEntryAttachments = new (0, _chunk5QMXECLNcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
406
- this.timeOffRequests = new (0, _chunk5QMXECLNcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
407
- this.versionInformation = new (0, _chunk5QMXECLNcjs.VersionInformationResource)(this.http);
408
- this.version = new (0, _chunk5QMXECLNcjs.VersionResource)(this.http);
409
- this.zoneInformation = new (0, _chunk5QMXECLNcjs.ZoneInformationResource)(this.http);
282
+ this.appointments = new (0, _chunkVLIUHEPEcjs.AppointmentsResource)(this.http, this.config.pageSize);
283
+ this.authenticateResource = new (0, _chunkVLIUHEPEcjs.AuthenticateResource)(this.http);
284
+ this.billingCodes = new (0, _chunkVLIUHEPEcjs.BillingCodesResource)(this.http, this.config.pageSize);
285
+ this.billingItems = new (0, _chunkVLIUHEPEcjs.BillingItemsResource)(this.http, this.config.pageSize);
286
+ this.changeRequestLinks = new (0, _chunkVLIUHEPEcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
287
+ this.checklistLibraries = new (0, _chunkVLIUHEPEcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
288
+ this.checklistLibraryChecklistItems = new (0, _chunkVLIUHEPEcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
289
+ this.classificationIcons = new (0, _chunkVLIUHEPEcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
290
+ this.companies = new (0, _chunkVLIUHEPEcjs.CompaniesResource)(this.http, this.config.pageSize);
291
+ this.companyAlerts = new (0, _chunkVLIUHEPEcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
292
+ this.companyLocations = new (0, _chunkVLIUHEPEcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
293
+ this.companyNotes = new (0, _chunkVLIUHEPEcjs.CompanyNotesResource)(this.http, this.config.pageSize);
294
+ this.companySiteConfigurations = new (0, _chunkVLIUHEPEcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
295
+ this.companyWebhooks = new (0, _chunkVLIUHEPEcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
296
+ this.configurationItemBillingProductAssociations = new (0, _chunkVLIUHEPEcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
297
+ this.configurationItemCategories = new (0, _chunkVLIUHEPEcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
298
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkVLIUHEPEcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
299
+ this.configurationItemDnsRecords = new (0, _chunkVLIUHEPEcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
300
+ this.configurationItemNotes = new (0, _chunkVLIUHEPEcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
301
+ this.configurationItemRelatedItems = new (0, _chunkVLIUHEPEcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
302
+ this.configurationItems = new (0, _chunkVLIUHEPEcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
303
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkVLIUHEPEcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
304
+ this.configurationItemTypes = new (0, _chunkVLIUHEPEcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
305
+ this.configurationItemWebhooks = new (0, _chunkVLIUHEPEcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
306
+ this.contactGroupContacts = new (0, _chunkVLIUHEPEcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
307
+ this.contactGroups = new (0, _chunkVLIUHEPEcjs.ContactGroupsResource)(this.http, this.config.pageSize);
308
+ this.contacts = new (0, _chunkVLIUHEPEcjs.ContactsResource)(this.http, this.config.pageSize);
309
+ this.contactWebhooks = new (0, _chunkVLIUHEPEcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
310
+ this.contractBillingRules = new (0, _chunkVLIUHEPEcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
311
+ this.contractBlockHourFactors = new (0, _chunkVLIUHEPEcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
312
+ this.contractBlocks = new (0, _chunkVLIUHEPEcjs.ContractBlocksResource)(this.http, this.config.pageSize);
313
+ this.contractCharges = new (0, _chunkVLIUHEPEcjs.ContractChargesResource)(this.http, this.config.pageSize);
314
+ this.contractExclusionBillingCodes = new (0, _chunkVLIUHEPEcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
315
+ this.contractExclusionRoles = new (0, _chunkVLIUHEPEcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
316
+ this.contractExclusionSetExcludedRoles = new (0, _chunkVLIUHEPEcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
317
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkVLIUHEPEcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
318
+ this.contractExclusionSets = new (0, _chunkVLIUHEPEcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
319
+ this.contractMilestones = new (0, _chunkVLIUHEPEcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
320
+ this.contractNotes = new (0, _chunkVLIUHEPEcjs.ContractNotesResource)(this.http, this.config.pageSize);
321
+ this.contractRates = new (0, _chunkVLIUHEPEcjs.ContractRatesResource)(this.http, this.config.pageSize);
322
+ this.contractRetainers = new (0, _chunkVLIUHEPEcjs.ContractRetainersResource)(this.http, this.config.pageSize);
323
+ this.contractRoleCosts = new (0, _chunkVLIUHEPEcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
324
+ this.contractServiceAdjustments = new (0, _chunkVLIUHEPEcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
325
+ this.contractServiceBundleAdjustments = new (0, _chunkVLIUHEPEcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
326
+ this.contractServiceBundles = new (0, _chunkVLIUHEPEcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
327
+ this.contractServiceBundleUnits = new (0, _chunkVLIUHEPEcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
328
+ this.contractServices = new (0, _chunkVLIUHEPEcjs.ContractServicesResource)(this.http, this.config.pageSize);
329
+ this.contractServiceUnits = new (0, _chunkVLIUHEPEcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
330
+ this.contracts = new (0, _chunkVLIUHEPEcjs.ContractsResource)(this.http, this.config.pageSize);
331
+ this.contractTicketPurchases = new (0, _chunkVLIUHEPEcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
332
+ this.countries = new (0, _chunkVLIUHEPEcjs.CountriesResource)(this.http, this.config.pageSize);
333
+ this.departments = new (0, _chunkVLIUHEPEcjs.DepartmentsResource)(this.http, this.config.pageSize);
334
+ this.domainRegistrars = new (0, _chunkVLIUHEPEcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
335
+ this.entityInformation = new (0, _chunkVLIUHEPEcjs.EntityInformationResource)(this.http);
336
+ this.expenseItemAttachments = new (0, _chunkVLIUHEPEcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
337
+ this.expenseItems = new (0, _chunkVLIUHEPEcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
338
+ this.expenseReports = new (0, _chunkVLIUHEPEcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
339
+ this.holidaySets = new (0, _chunkVLIUHEPEcjs.HolidaySetsResource)(this.http, this.config.pageSize);
340
+ this.holidays = new (0, _chunkVLIUHEPEcjs.HolidaysResource)(this.http, this.config.pageSize);
341
+ this.inventoryProducts = new (0, _chunkVLIUHEPEcjs.InventoryProductsResource)(this.http, this.config.pageSize);
342
+ this.invoices = new (0, _chunkVLIUHEPEcjs.InvoicesResource)(this.http, this.config.pageSize);
343
+ this.modules = new (0, _chunkVLIUHEPEcjs.ModulesResource)(this.http);
344
+ this.notificationHistory = new (0, _chunkVLIUHEPEcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
345
+ this.opportunities = new (0, _chunkVLIUHEPEcjs.OpportunitiesResource)(this.http, this.config.pageSize);
346
+ this.opportunityAttachments = new (0, _chunkVLIUHEPEcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
347
+ this.opportunityCategories = new (0, _chunkVLIUHEPEcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
348
+ this.phases = new (0, _chunkVLIUHEPEcjs.PhasesResource)(this.http, this.config.pageSize);
349
+ this.products = new (0, _chunkVLIUHEPEcjs.ProductsResource)(this.http, this.config.pageSize);
350
+ this.productVendors = new (0, _chunkVLIUHEPEcjs.ProductVendorsResource)(this.http, this.config.pageSize);
351
+ this.projectCharges = new (0, _chunkVLIUHEPEcjs.ProjectChargesResource)(this.http, this.config.pageSize);
352
+ this.projectNotes = new (0, _chunkVLIUHEPEcjs.ProjectNotesResource)(this.http, this.config.pageSize);
353
+ this.projects = new (0, _chunkVLIUHEPEcjs.ProjectsResource)(this.http, this.config.pageSize);
354
+ this.purchaseApprovals = new (0, _chunkVLIUHEPEcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
355
+ this.purchaseOrderItemReceiving = new (0, _chunkVLIUHEPEcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
356
+ this.purchaseOrderItems = new (0, _chunkVLIUHEPEcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
357
+ this.purchaseOrders = new (0, _chunkVLIUHEPEcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
358
+ this.quoteItems = new (0, _chunkVLIUHEPEcjs.QuoteItemsResource)(this.http, this.config.pageSize);
359
+ this.quoteLocations = new (0, _chunkVLIUHEPEcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
360
+ this.quotes = new (0, _chunkVLIUHEPEcjs.QuotesResource)(this.http, this.config.pageSize);
361
+ this.quoteTemplates = new (0, _chunkVLIUHEPEcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
362
+ this.resourceRoleQueues = new (0, _chunkVLIUHEPEcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
363
+ this.resourceRoles = new (0, _chunkVLIUHEPEcjs.ResourceRolesResource)(this.http, this.config.pageSize);
364
+ this.resourceSkills = new (0, _chunkVLIUHEPEcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
365
+ this.resources = new (0, _chunkVLIUHEPEcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
366
+ this.resourceTimeOffAdditional = new (0, _chunkVLIUHEPEcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
367
+ this.resourceTimeOffApprovers = new (0, _chunkVLIUHEPEcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
368
+ this.resourceTimeOffBalances = new (0, _chunkVLIUHEPEcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
369
+ this.roles = new (0, _chunkVLIUHEPEcjs.RolesResource)(this.http, this.config.pageSize);
370
+ this.serviceCalls = new (0, _chunkVLIUHEPEcjs.ServiceCallsResource)(this.http, this.config.pageSize);
371
+ this.serviceCallTaskResources = new (0, _chunkVLIUHEPEcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
372
+ this.serviceCallTasks = new (0, _chunkVLIUHEPEcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
373
+ this.serviceCallTicketResources = new (0, _chunkVLIUHEPEcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
374
+ this.serviceCallTickets = new (0, _chunkVLIUHEPEcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
375
+ this.serviceLevelAgreementResults = new (0, _chunkVLIUHEPEcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
376
+ this.services = new (0, _chunkVLIUHEPEcjs.ServicesResource)(this.http, this.config.pageSize);
377
+ this.skills = new (0, _chunkVLIUHEPEcjs.SkillsResource)(this.http, this.config.pageSize);
378
+ this.subscriptionPeriods = new (0, _chunkVLIUHEPEcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
379
+ this.subscriptions = new (0, _chunkVLIUHEPEcjs.SubscriptionsResource)(this.http, this.config.pageSize);
380
+ this.surveyResults = new (0, _chunkVLIUHEPEcjs.SurveyResultsResource)(this.http, this.config.pageSize);
381
+ this.surveys = new (0, _chunkVLIUHEPEcjs.SurveysResource)(this.http, this.config.pageSize);
382
+ this.tagAliases = new (0, _chunkVLIUHEPEcjs.TagAliasesResource)(this.http, this.config.pageSize);
383
+ this.tagGroups = new (0, _chunkVLIUHEPEcjs.TagGroupsResource)(this.http, this.config.pageSize);
384
+ this.tags = new (0, _chunkVLIUHEPEcjs.TagsResource)(this.http, this.config.pageSize);
385
+ this.taskSecondaryResources = new (0, _chunkVLIUHEPEcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
386
+ this.tasks = new (0, _chunkVLIUHEPEcjs.TasksResource)(this.http, this.config.pageSize);
387
+ this.thresholdInformation = new (0, _chunkVLIUHEPEcjs.ThresholdInformationResource)(this.http);
388
+ this.ticketAdditionalConfigurationItems = new (0, _chunkVLIUHEPEcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
389
+ this.ticketAdditionalContacts = new (0, _chunkVLIUHEPEcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
390
+ this.ticketAttachments = new (0, _chunkVLIUHEPEcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
391
+ this.ticketCategories = new (0, _chunkVLIUHEPEcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
392
+ this.ticketCategoryFieldDefaults = new (0, _chunkVLIUHEPEcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
393
+ this.ticketChangeRequestApprovals = new (0, _chunkVLIUHEPEcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
394
+ this.ticketCharges = new (0, _chunkVLIUHEPEcjs.TicketChargesResource)(this.http, this.config.pageSize);
395
+ this.ticketChecklistItems = new (0, _chunkVLIUHEPEcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
396
+ this.ticketChecklistLibraries = new (0, _chunkVLIUHEPEcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
397
+ this.ticketHistory = new (0, _chunkVLIUHEPEcjs.TicketHistoryResource)(this.http, this.config.pageSize);
398
+ this.ticketNoteAttachments = new (0, _chunkVLIUHEPEcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
399
+ this.ticketNotes = new (0, _chunkVLIUHEPEcjs.TicketNotesResource)(this.http, this.config.pageSize);
400
+ this.ticketNoteWebhooks = new (0, _chunkVLIUHEPEcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
401
+ this.ticketSecondaryResources = new (0, _chunkVLIUHEPEcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
402
+ this.tickets = new (0, _chunkVLIUHEPEcjs.TicketsResource)(this.http, this.config.pageSize);
403
+ this.ticketWebhooks = new (0, _chunkVLIUHEPEcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
404
+ this.timeEntries = new (0, _chunkVLIUHEPEcjs.TimeEntriesResource)(this.http, this.config.pageSize);
405
+ this.timeEntryAttachments = new (0, _chunkVLIUHEPEcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
406
+ this.timeOffRequests = new (0, _chunkVLIUHEPEcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
407
+ this.versionInformation = new (0, _chunkVLIUHEPEcjs.VersionInformationResource)(this.http);
408
+ this.version = new (0, _chunkVLIUHEPEcjs.VersionResource)(this.http);
409
+ this.zoneInformation = new (0, _chunkVLIUHEPEcjs.ZoneInformationResource)(this.http);
410
410
  }
411
411
  /**
412
412
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -440,12 +440,12 @@ var AutotaskClient = class {
440
440
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
441
441
  */
442
442
  withSignal(signal, fn) {
443
- return _chunkXSIY3WRRcjs.runWithSignal.call(void 0, signal, fn);
443
+ return _chunkZ7YT72SScjs.runWithSignal.call(void 0, signal, fn);
444
444
  }
445
445
  async batch(fn, items, opts = {}) {
446
446
  const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
447
447
  if (!Number.isInteger(concurrency) || concurrency <= 0) {
448
- throw new (0, _chunkXSIY3WRRcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
448
+ throw new (0, _chunkZ7YT72SScjs.AutotaskConfigError)("batch concurrency must be a positive integer");
449
449
  }
450
450
  const { signal, settle } = opts;
451
451
  const results = new Array(items.length);
@@ -460,7 +460,7 @@ var AutotaskClient = class {
460
460
  const i = next++;
461
461
  try {
462
462
  const item = items[i];
463
- const value = await (signal === void 0 ? fn(item) : _chunkXSIY3WRRcjs.runWithSignal.call(void 0, signal, () => fn(item)));
463
+ const value = await (signal === void 0 ? fn(item) : _chunkZ7YT72SScjs.runWithSignal.call(void 0, signal, () => fn(item)));
464
464
  results[i] = settle ? { status: "fulfilled", value } : value;
465
465
  } catch (error) {
466
466
  if (settle) results[i] = { status: "rejected", reason: error };