node-autotask 0.15.0 → 0.16.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.
@@ -33,7 +33,7 @@ import {
33
33
  unwrapItem,
34
34
  unwrapItems,
35
35
  unwrapOperation
36
- } from "./chunk-CSA6QSV6.js";
36
+ } from "./chunk-U6JUHHMB.js";
37
37
  import {
38
38
  CAPABILITIES
39
39
  } from "./chunk-JIDR3NPV.js";
@@ -1532,6 +1532,8 @@ var DEFAULT_PAGE_SIZE = 10;
1532
1532
  var MAX_PAGE_SIZE = 500;
1533
1533
  var DEFAULT_TIMEOUT_MS = 3e4;
1534
1534
  var DEFAULT_MAX_RETRIES = 3;
1535
+ var DEFAULT_MAINTENANCE_MAX_WAIT_MS = 36e5;
1536
+ var DEFAULT_MAINTENANCE_POLL_MS = 3e4;
1535
1537
  var DEFAULT_MAX_CONCURRENT = 10;
1536
1538
  var DEFAULT_MAX_RESPONSE_BYTES = 64 * 1024 * 1024;
1537
1539
  var DEFAULT_MAX_SCAN_RECORDS = 500;
@@ -1689,6 +1691,14 @@ function resolveConfig(config) {
1689
1691
  if (!Number.isInteger(maxRetries) || maxRetries < 0) {
1690
1692
  throw new AutotaskConfigError("maxRetries must be a non-negative integer");
1691
1693
  }
1694
+ const maintenanceMaxWaitMs = config.maintenanceMaxWaitMs ?? DEFAULT_MAINTENANCE_MAX_WAIT_MS;
1695
+ if (!Number.isInteger(maintenanceMaxWaitMs) || maintenanceMaxWaitMs < 0) {
1696
+ throw new AutotaskConfigError("maintenanceMaxWaitMs must be a non-negative integer");
1697
+ }
1698
+ const maintenancePollMs = config.maintenancePollMs ?? DEFAULT_MAINTENANCE_POLL_MS;
1699
+ if (!Number.isInteger(maintenancePollMs) || maintenancePollMs <= 0) {
1700
+ throw new AutotaskConfigError("maintenancePollMs must be a positive integer");
1701
+ }
1692
1702
  const maxConcurrent = config.maxConcurrent ?? (agent ? AGENT_PROFILE.maxConcurrent : DEFAULT_MAX_CONCURRENT);
1693
1703
  if (!Number.isInteger(maxConcurrent) || maxConcurrent <= 0) {
1694
1704
  throw new AutotaskConfigError("maxConcurrent must be a positive integer");
@@ -1822,6 +1832,8 @@ function resolveConfig(config) {
1822
1832
  pageSize: pageSizeCapped,
1823
1833
  timeoutMs,
1824
1834
  maxRetries,
1835
+ maintenanceMaxWaitMs,
1836
+ maintenancePollMs,
1825
1837
  maxConcurrent,
1826
1838
  maxResponseBytes,
1827
1839
  logger,
@@ -14755,6 +14767,10 @@ function backoffDelay(attempt) {
14755
14767
  const exp = Math.min(BACKOFF_CAP_MS, BACKOFF_BASE_MS * 2 ** attempt);
14756
14768
  return Math.floor(exp / 2 + Math.random() * (exp / 2));
14757
14769
  }
14770
+ function isMaintenancePage(err) {
14771
+ const snippet = typeof err.details?.bodySnippet === "string" ? err.details.bodySnippet : "";
14772
+ return /maintenance|temporarily unavailable|service unavailable|outage|downtime|down for/i.test(snippet);
14773
+ }
14758
14774
  function parseRetryAfter(value) {
14759
14775
  if (value === null || value.length === 0) return void 0;
14760
14776
  const trimmed = value.trim();
@@ -14851,6 +14867,9 @@ var HttpClient = class {
14851
14867
  update;
14852
14868
  auth;
14853
14869
  maxRetries;
14870
+ /** Maintenance-window auto-retry budget + poll (issue #112 follow-up; see config). */
14871
+ maintenanceMaxWaitMs;
14872
+ maintenancePollMs;
14854
14873
  maxResponseBytes;
14855
14874
  perHour;
14856
14875
  /** The resolved profile (issue #4) — the agent profile changes the
@@ -14921,6 +14940,8 @@ var HttpClient = class {
14921
14940
  impersonationResourceId: config.impersonationResourceId
14922
14941
  };
14923
14942
  this.maxRetries = config.maxRetries;
14943
+ this.maintenanceMaxWaitMs = config.maintenanceMaxWaitMs;
14944
+ this.maintenancePollMs = config.maintenancePollMs;
14924
14945
  this.maxResponseBytes = config.maxResponseBytes;
14925
14946
  this.perHour = config.rateLimit?.perHour;
14926
14947
  this.tenantKey = buildTenantKey(config.userName, config.baseUrl);
@@ -15180,11 +15201,21 @@ var HttpClient = class {
15180
15201
  const correlationId = newCorrelationId();
15181
15202
  const timeoutMs = opts.timeoutMs ?? this.timeoutMs;
15182
15203
  const maxRetries = opts.maxRetries ?? this.maxRetries;
15204
+ const maintenanceMaxWaitMs = opts.maintenanceMaxWaitMs ?? this.maintenanceMaxWaitMs;
15205
+ const maintenancePollMs = opts.maintenancePollMs ?? this.maintenancePollMs;
15206
+ let firstMaintenanceAt;
15207
+ let maintenanceWaits = 0;
15183
15208
  const started = Date.now();
15184
- const deadlineAt = started + timeoutMs;
15209
+ let deadlineAt = started + timeoutMs;
15185
15210
  const callerSignal = opts.signal ?? ambientSignal.getStore();
15211
+ const deadline = new AbortController();
15212
+ let deadlineTimer = setTimeout(() => deadline.abort(), timeoutMs);
15213
+ const armDeadline = (ms) => {
15214
+ clearTimeout(deadlineTimer);
15215
+ deadlineTimer = setTimeout(() => deadline.abort(), Math.max(0, ms));
15216
+ };
15186
15217
  const signal = AbortSignal.any(
15187
- callerSignal === void 0 ? [AbortSignal.timeout(timeoutMs)] : [AbortSignal.timeout(timeoutMs), callerSignal]
15218
+ callerSignal === void 0 ? [deadline.signal] : [deadline.signal, callerSignal]
15188
15219
  );
15189
15220
  const auditBody = opts.body !== void 0 ? redactAuditBody(opts.body) : void 0;
15190
15221
  const retriable = opts.idempotent ?? IDEMPOTENT_METHODS.includes(method);
@@ -15202,9 +15233,9 @@ var HttpClient = class {
15202
15233
  }
15203
15234
  };
15204
15235
  if (this.cooldownStore !== void 0 && !opts.bypassCooldown) {
15205
- const deadline = this.cooldownStore.get(this.tenantKey);
15206
- if (deadline !== void 0) {
15207
- const remainingMs = deadline - Date.now();
15236
+ const deadline2 = this.cooldownStore.get(this.tenantKey);
15237
+ if (deadline2 !== void 0) {
15238
+ const remainingMs = deadline2 - Date.now();
15208
15239
  if (remainingMs > 0) {
15209
15240
  if (callerSignal?.aborted) throw interrupted();
15210
15241
  const seconds = Math.ceil(remainingMs / 1e3);
@@ -15394,6 +15425,23 @@ var HttpClient = class {
15394
15425
  httpStatus: status,
15395
15426
  suggestedAction: "The zone returned a non-JSON 2xx body; verify baseUrl points at the REST API."
15396
15427
  });
15428
+ if (err2.code === "UNEXPECTED_CONTENT_TYPE" && maintenanceMaxWaitMs > 0 && isMaintenancePage(err2)) {
15429
+ const now = Date.now();
15430
+ firstMaintenanceAt ??= now;
15431
+ const remaining = maintenanceMaxWaitMs - (now - firstMaintenanceAt);
15432
+ if (remaining > 0) {
15433
+ const wait = Math.min(maintenancePollMs, remaining);
15434
+ maintenanceWaits += 1;
15435
+ this.logger.warn?.(
15436
+ `[autotask] maintenance window on ${method} ${opts.path}; waiting ${Math.round(wait / 1e3)}s (retry ${maintenanceWaits}, up to ${Math.round(maintenanceMaxWaitMs / 6e4)} min)`,
15437
+ correlationId
15438
+ );
15439
+ deadlineAt = Date.now() + wait + timeoutMs;
15440
+ armDeadline(deadlineAt - Date.now());
15441
+ await pause(wait);
15442
+ continue;
15443
+ }
15444
+ }
15397
15445
  if (err2.code === "UNEXPECTED_CONTENT_TYPE" && retriable5xx && attempt < maxRetries) {
15398
15446
  const retryAfter = parseRetryAfter(res.headers.get("Retry-After"));
15399
15447
  const delay = retryAfter !== void 0 ? retryAfter * 1e3 : backoffDelay(attempt);
@@ -15407,6 +15455,18 @@ var HttpClient = class {
15407
15455
  continue;
15408
15456
  }
15409
15457
  }
15458
+ if (maintenanceWaits > 0 && err2.code === "UNEXPECTED_CONTENT_TYPE") {
15459
+ err2.details = {
15460
+ ...err2.details ?? {},
15461
+ maintenance: {
15462
+ waits: maintenanceWaits,
15463
+ waitedMs: Date.now() - (firstMaintenanceAt ?? Date.now()),
15464
+ maxWaitMs: maintenanceMaxWaitMs,
15465
+ exhausted: true
15466
+ }
15467
+ };
15468
+ err2.suggestedAction = `The zone stayed in a maintenance window for ${Math.round(maintenanceMaxWaitMs / 6e4)} min \u2014 the SDK waited and retried ${maintenanceWaits} time(s) and gave up. Re-run after the window (typically under 30 min), or raise maintenanceMaxWaitMs.`;
15469
+ }
15410
15470
  attachEmptyReasonDetails(err2);
15411
15471
  throw err2;
15412
15472
  }
@@ -15534,6 +15594,7 @@ var HttpClient = class {
15534
15594
  }
15535
15595
  throw err;
15536
15596
  } finally {
15597
+ clearTimeout(deadlineTimer);
15537
15598
  if (!(method === "GET" || opts.idempotent === true)) {
15538
15599
  this.readCache?.clear();
15539
15600
  const nameOp = typeof opts.operation === "string" ? opts.operation : void 0;
@@ -18606,6 +18667,8 @@ export {
18606
18667
  MAX_PAGE_SIZE,
18607
18668
  DEFAULT_TIMEOUT_MS,
18608
18669
  DEFAULT_MAX_RETRIES,
18670
+ DEFAULT_MAINTENANCE_MAX_WAIT_MS,
18671
+ DEFAULT_MAINTENANCE_POLL_MS,
18609
18672
  DEFAULT_MAX_CONCURRENT,
18610
18673
  DEFAULT_MAX_RESPONSE_BYTES,
18611
18674
  DEFAULT_MAX_SCAN_RECORDS,
@@ -127,13 +127,13 @@
127
127
 
128
128
 
129
129
 
130
- var _chunkVLIUHEPEcjs = require('./chunk-VLIUHEPE.cjs');
130
+ var _chunkL3TK4CN5cjs = require('./chunk-L3TK4CN5.cjs');
131
131
 
132
132
 
133
133
 
134
134
 
135
135
 
136
- var _chunkZ7YT72SScjs = require('./chunk-Z7YT72SS.cjs');
136
+ var _chunkMAYYTYV5cjs = require('./chunk-MAYYTYV5.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 = _chunkZ7YT72SScjs.resolveConfig.call(void 0, options);
280
- this.http = new (0, _chunkZ7YT72SScjs.HttpClient)(this.config);
279
+ this.config = _chunkMAYYTYV5cjs.resolveConfig.call(void 0, options);
280
+ this.http = new (0, _chunkMAYYTYV5cjs.HttpClient)(this.config);
281
281
  this.http.client = this;
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);
282
+ this.appointments = new (0, _chunkL3TK4CN5cjs.AppointmentsResource)(this.http, this.config.pageSize);
283
+ this.authenticateResource = new (0, _chunkL3TK4CN5cjs.AuthenticateResource)(this.http);
284
+ this.billingCodes = new (0, _chunkL3TK4CN5cjs.BillingCodesResource)(this.http, this.config.pageSize);
285
+ this.billingItems = new (0, _chunkL3TK4CN5cjs.BillingItemsResource)(this.http, this.config.pageSize);
286
+ this.changeRequestLinks = new (0, _chunkL3TK4CN5cjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
287
+ this.checklistLibraries = new (0, _chunkL3TK4CN5cjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
288
+ this.checklistLibraryChecklistItems = new (0, _chunkL3TK4CN5cjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
289
+ this.classificationIcons = new (0, _chunkL3TK4CN5cjs.ClassificationIconsResource)(this.http, this.config.pageSize);
290
+ this.companies = new (0, _chunkL3TK4CN5cjs.CompaniesResource)(this.http, this.config.pageSize);
291
+ this.companyAlerts = new (0, _chunkL3TK4CN5cjs.CompanyAlertsResource)(this.http, this.config.pageSize);
292
+ this.companyLocations = new (0, _chunkL3TK4CN5cjs.CompanyLocationsResource)(this.http, this.config.pageSize);
293
+ this.companyNotes = new (0, _chunkL3TK4CN5cjs.CompanyNotesResource)(this.http, this.config.pageSize);
294
+ this.companySiteConfigurations = new (0, _chunkL3TK4CN5cjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
295
+ this.companyWebhooks = new (0, _chunkL3TK4CN5cjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
296
+ this.configurationItemBillingProductAssociations = new (0, _chunkL3TK4CN5cjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
297
+ this.configurationItemCategories = new (0, _chunkL3TK4CN5cjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
298
+ this.configurationItemCategoryUdfAssociations = new (0, _chunkL3TK4CN5cjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
299
+ this.configurationItemDnsRecords = new (0, _chunkL3TK4CN5cjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
300
+ this.configurationItemNotes = new (0, _chunkL3TK4CN5cjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
301
+ this.configurationItemRelatedItems = new (0, _chunkL3TK4CN5cjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
302
+ this.configurationItems = new (0, _chunkL3TK4CN5cjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
303
+ this.configurationItemSslSubjectAlternativeNames = new (0, _chunkL3TK4CN5cjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
304
+ this.configurationItemTypes = new (0, _chunkL3TK4CN5cjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
305
+ this.configurationItemWebhooks = new (0, _chunkL3TK4CN5cjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
306
+ this.contactGroupContacts = new (0, _chunkL3TK4CN5cjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
307
+ this.contactGroups = new (0, _chunkL3TK4CN5cjs.ContactGroupsResource)(this.http, this.config.pageSize);
308
+ this.contacts = new (0, _chunkL3TK4CN5cjs.ContactsResource)(this.http, this.config.pageSize);
309
+ this.contactWebhooks = new (0, _chunkL3TK4CN5cjs.ContactWebhooksResource)(this.http, this.config.pageSize);
310
+ this.contractBillingRules = new (0, _chunkL3TK4CN5cjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
311
+ this.contractBlockHourFactors = new (0, _chunkL3TK4CN5cjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
312
+ this.contractBlocks = new (0, _chunkL3TK4CN5cjs.ContractBlocksResource)(this.http, this.config.pageSize);
313
+ this.contractCharges = new (0, _chunkL3TK4CN5cjs.ContractChargesResource)(this.http, this.config.pageSize);
314
+ this.contractExclusionBillingCodes = new (0, _chunkL3TK4CN5cjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
315
+ this.contractExclusionRoles = new (0, _chunkL3TK4CN5cjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
316
+ this.contractExclusionSetExcludedRoles = new (0, _chunkL3TK4CN5cjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
317
+ this.contractExclusionSetExcludedWorkTypes = new (0, _chunkL3TK4CN5cjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
318
+ this.contractExclusionSets = new (0, _chunkL3TK4CN5cjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
319
+ this.contractMilestones = new (0, _chunkL3TK4CN5cjs.ContractMilestonesResource)(this.http, this.config.pageSize);
320
+ this.contractNotes = new (0, _chunkL3TK4CN5cjs.ContractNotesResource)(this.http, this.config.pageSize);
321
+ this.contractRates = new (0, _chunkL3TK4CN5cjs.ContractRatesResource)(this.http, this.config.pageSize);
322
+ this.contractRetainers = new (0, _chunkL3TK4CN5cjs.ContractRetainersResource)(this.http, this.config.pageSize);
323
+ this.contractRoleCosts = new (0, _chunkL3TK4CN5cjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
324
+ this.contractServiceAdjustments = new (0, _chunkL3TK4CN5cjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
325
+ this.contractServiceBundleAdjustments = new (0, _chunkL3TK4CN5cjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
326
+ this.contractServiceBundles = new (0, _chunkL3TK4CN5cjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
327
+ this.contractServiceBundleUnits = new (0, _chunkL3TK4CN5cjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
328
+ this.contractServices = new (0, _chunkL3TK4CN5cjs.ContractServicesResource)(this.http, this.config.pageSize);
329
+ this.contractServiceUnits = new (0, _chunkL3TK4CN5cjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
330
+ this.contracts = new (0, _chunkL3TK4CN5cjs.ContractsResource)(this.http, this.config.pageSize);
331
+ this.contractTicketPurchases = new (0, _chunkL3TK4CN5cjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
332
+ this.countries = new (0, _chunkL3TK4CN5cjs.CountriesResource)(this.http, this.config.pageSize);
333
+ this.departments = new (0, _chunkL3TK4CN5cjs.DepartmentsResource)(this.http, this.config.pageSize);
334
+ this.domainRegistrars = new (0, _chunkL3TK4CN5cjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
335
+ this.entityInformation = new (0, _chunkL3TK4CN5cjs.EntityInformationResource)(this.http);
336
+ this.expenseItemAttachments = new (0, _chunkL3TK4CN5cjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
337
+ this.expenseItems = new (0, _chunkL3TK4CN5cjs.ExpenseItemsResource)(this.http, this.config.pageSize);
338
+ this.expenseReports = new (0, _chunkL3TK4CN5cjs.ExpenseReportsResource)(this.http, this.config.pageSize);
339
+ this.holidaySets = new (0, _chunkL3TK4CN5cjs.HolidaySetsResource)(this.http, this.config.pageSize);
340
+ this.holidays = new (0, _chunkL3TK4CN5cjs.HolidaysResource)(this.http, this.config.pageSize);
341
+ this.inventoryProducts = new (0, _chunkL3TK4CN5cjs.InventoryProductsResource)(this.http, this.config.pageSize);
342
+ this.invoices = new (0, _chunkL3TK4CN5cjs.InvoicesResource)(this.http, this.config.pageSize);
343
+ this.modules = new (0, _chunkL3TK4CN5cjs.ModulesResource)(this.http);
344
+ this.notificationHistory = new (0, _chunkL3TK4CN5cjs.NotificationHistoryResource)(this.http, this.config.pageSize);
345
+ this.opportunities = new (0, _chunkL3TK4CN5cjs.OpportunitiesResource)(this.http, this.config.pageSize);
346
+ this.opportunityAttachments = new (0, _chunkL3TK4CN5cjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
347
+ this.opportunityCategories = new (0, _chunkL3TK4CN5cjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
348
+ this.phases = new (0, _chunkL3TK4CN5cjs.PhasesResource)(this.http, this.config.pageSize);
349
+ this.products = new (0, _chunkL3TK4CN5cjs.ProductsResource)(this.http, this.config.pageSize);
350
+ this.productVendors = new (0, _chunkL3TK4CN5cjs.ProductVendorsResource)(this.http, this.config.pageSize);
351
+ this.projectCharges = new (0, _chunkL3TK4CN5cjs.ProjectChargesResource)(this.http, this.config.pageSize);
352
+ this.projectNotes = new (0, _chunkL3TK4CN5cjs.ProjectNotesResource)(this.http, this.config.pageSize);
353
+ this.projects = new (0, _chunkL3TK4CN5cjs.ProjectsResource)(this.http, this.config.pageSize);
354
+ this.purchaseApprovals = new (0, _chunkL3TK4CN5cjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
355
+ this.purchaseOrderItemReceiving = new (0, _chunkL3TK4CN5cjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
356
+ this.purchaseOrderItems = new (0, _chunkL3TK4CN5cjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
357
+ this.purchaseOrders = new (0, _chunkL3TK4CN5cjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
358
+ this.quoteItems = new (0, _chunkL3TK4CN5cjs.QuoteItemsResource)(this.http, this.config.pageSize);
359
+ this.quoteLocations = new (0, _chunkL3TK4CN5cjs.QuoteLocationsResource)(this.http, this.config.pageSize);
360
+ this.quotes = new (0, _chunkL3TK4CN5cjs.QuotesResource)(this.http, this.config.pageSize);
361
+ this.quoteTemplates = new (0, _chunkL3TK4CN5cjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
362
+ this.resourceRoleQueues = new (0, _chunkL3TK4CN5cjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
363
+ this.resourceRoles = new (0, _chunkL3TK4CN5cjs.ResourceRolesResource)(this.http, this.config.pageSize);
364
+ this.resourceSkills = new (0, _chunkL3TK4CN5cjs.ResourceSkillsResource)(this.http, this.config.pageSize);
365
+ this.resources = new (0, _chunkL3TK4CN5cjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
366
+ this.resourceTimeOffAdditional = new (0, _chunkL3TK4CN5cjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
367
+ this.resourceTimeOffApprovers = new (0, _chunkL3TK4CN5cjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
368
+ this.resourceTimeOffBalances = new (0, _chunkL3TK4CN5cjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
369
+ this.roles = new (0, _chunkL3TK4CN5cjs.RolesResource)(this.http, this.config.pageSize);
370
+ this.serviceCalls = new (0, _chunkL3TK4CN5cjs.ServiceCallsResource)(this.http, this.config.pageSize);
371
+ this.serviceCallTaskResources = new (0, _chunkL3TK4CN5cjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
372
+ this.serviceCallTasks = new (0, _chunkL3TK4CN5cjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
373
+ this.serviceCallTicketResources = new (0, _chunkL3TK4CN5cjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
374
+ this.serviceCallTickets = new (0, _chunkL3TK4CN5cjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
375
+ this.serviceLevelAgreementResults = new (0, _chunkL3TK4CN5cjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
376
+ this.services = new (0, _chunkL3TK4CN5cjs.ServicesResource)(this.http, this.config.pageSize);
377
+ this.skills = new (0, _chunkL3TK4CN5cjs.SkillsResource)(this.http, this.config.pageSize);
378
+ this.subscriptionPeriods = new (0, _chunkL3TK4CN5cjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
379
+ this.subscriptions = new (0, _chunkL3TK4CN5cjs.SubscriptionsResource)(this.http, this.config.pageSize);
380
+ this.surveyResults = new (0, _chunkL3TK4CN5cjs.SurveyResultsResource)(this.http, this.config.pageSize);
381
+ this.surveys = new (0, _chunkL3TK4CN5cjs.SurveysResource)(this.http, this.config.pageSize);
382
+ this.tagAliases = new (0, _chunkL3TK4CN5cjs.TagAliasesResource)(this.http, this.config.pageSize);
383
+ this.tagGroups = new (0, _chunkL3TK4CN5cjs.TagGroupsResource)(this.http, this.config.pageSize);
384
+ this.tags = new (0, _chunkL3TK4CN5cjs.TagsResource)(this.http, this.config.pageSize);
385
+ this.taskSecondaryResources = new (0, _chunkL3TK4CN5cjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
386
+ this.tasks = new (0, _chunkL3TK4CN5cjs.TasksResource)(this.http, this.config.pageSize);
387
+ this.thresholdInformation = new (0, _chunkL3TK4CN5cjs.ThresholdInformationResource)(this.http);
388
+ this.ticketAdditionalConfigurationItems = new (0, _chunkL3TK4CN5cjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
389
+ this.ticketAdditionalContacts = new (0, _chunkL3TK4CN5cjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
390
+ this.ticketAttachments = new (0, _chunkL3TK4CN5cjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
391
+ this.ticketCategories = new (0, _chunkL3TK4CN5cjs.TicketCategoriesResource)(this.http, this.config.pageSize);
392
+ this.ticketCategoryFieldDefaults = new (0, _chunkL3TK4CN5cjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
393
+ this.ticketChangeRequestApprovals = new (0, _chunkL3TK4CN5cjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
394
+ this.ticketCharges = new (0, _chunkL3TK4CN5cjs.TicketChargesResource)(this.http, this.config.pageSize);
395
+ this.ticketChecklistItems = new (0, _chunkL3TK4CN5cjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
396
+ this.ticketChecklistLibraries = new (0, _chunkL3TK4CN5cjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
397
+ this.ticketHistory = new (0, _chunkL3TK4CN5cjs.TicketHistoryResource)(this.http, this.config.pageSize);
398
+ this.ticketNoteAttachments = new (0, _chunkL3TK4CN5cjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
399
+ this.ticketNotes = new (0, _chunkL3TK4CN5cjs.TicketNotesResource)(this.http, this.config.pageSize);
400
+ this.ticketNoteWebhooks = new (0, _chunkL3TK4CN5cjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
401
+ this.ticketSecondaryResources = new (0, _chunkL3TK4CN5cjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
402
+ this.tickets = new (0, _chunkL3TK4CN5cjs.TicketsResource)(this.http, this.config.pageSize);
403
+ this.ticketWebhooks = new (0, _chunkL3TK4CN5cjs.TicketWebhooksResource)(this.http, this.config.pageSize);
404
+ this.timeEntries = new (0, _chunkL3TK4CN5cjs.TimeEntriesResource)(this.http, this.config.pageSize);
405
+ this.timeEntryAttachments = new (0, _chunkL3TK4CN5cjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
406
+ this.timeOffRequests = new (0, _chunkL3TK4CN5cjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
407
+ this.versionInformation = new (0, _chunkL3TK4CN5cjs.VersionInformationResource)(this.http);
408
+ this.version = new (0, _chunkL3TK4CN5cjs.VersionResource)(this.http);
409
+ this.zoneInformation = new (0, _chunkL3TK4CN5cjs.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 _chunkZ7YT72SScjs.runWithSignal.call(void 0, signal, fn);
443
+ return _chunkMAYYTYV5cjs.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, _chunkZ7YT72SScjs.AutotaskConfigError)("batch concurrency must be a positive integer");
448
+ throw new (0, _chunkMAYYTYV5cjs.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) : _chunkZ7YT72SScjs.runWithSignal.call(void 0, signal, () => fn(item)));
463
+ const value = await (signal === void 0 ? fn(item) : _chunkMAYYTYV5cjs.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 };