node-autotask 0.88.0 → 0.89.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.
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkAB326MJO_cjs = require('./chunk-AB326MJO.cjs');
4
- var chunkGEFUSYH5_cjs = require('./chunk-GEFUSYH5.cjs');
3
+ var chunk4MPQ5CDB_cjs = require('./chunk-4MPQ5CDB.cjs');
4
+ var chunkYAXEPESA_cjs = require('./chunk-YAXEPESA.cjs');
5
5
 
6
6
  // src/client.ts
7
7
  var AutotaskClient = class {
@@ -175,34 +175,34 @@ var AutotaskClient = class {
175
175
  * anything is wired. Construction issues NO request.
176
176
  */
177
177
  constructor(options) {
178
- this.config = chunkGEFUSYH5_cjs.resolveConfig(options);
179
- this.http = new chunkGEFUSYH5_cjs.HttpClient(this.config);
178
+ this.config = chunkYAXEPESA_cjs.resolveConfig(options);
179
+ this.http = new chunkYAXEPESA_cjs.HttpClient(this.config);
180
180
  this.http.client = this;
181
- for (const entry of chunkGEFUSYH5_cjs.SIMPLE_RESOURCES) {
182
- this[entry.accessor] = new chunkGEFUSYH5_cjs.GenericResource(this.http, entry, this.config.pageSize);
181
+ for (const entry of chunkYAXEPESA_cjs.SIMPLE_RESOURCES) {
182
+ this[entry.accessor] = new chunkYAXEPESA_cjs.GenericResource(this.http, entry, this.config.pageSize);
183
183
  }
184
- this.companies = new chunkGEFUSYH5_cjs.CompaniesResource(this.http, this.config.pageSize);
185
- this.configurationItems = new chunkAB326MJO_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
186
- this.contacts = new chunkAB326MJO_cjs.ContactsResource(this.http, this.config.pageSize);
187
- this.contracts = new chunkGEFUSYH5_cjs.ContractsResource(this.http, this.config.pageSize);
188
- this.inventoryProducts = new chunkAB326MJO_cjs.InventoryProductsResource(this.http, this.config.pageSize);
189
- this.invoices = new chunkGEFUSYH5_cjs.InvoicesResource(this.http, this.config.pageSize);
190
- this.quotes = new chunkAB326MJO_cjs.QuotesResource(this.http, this.config.pageSize);
191
- this.resourceTimeOffAdditional = new chunkAB326MJO_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
192
- this.resourceTimeOffBalances = new chunkAB326MJO_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
193
- this.resources = new chunkAB326MJO_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
194
- this.serviceCalls = new chunkAB326MJO_cjs.ServiceCallsResource(this.http, this.config.pageSize);
195
- this.ticketCharges = new chunkAB326MJO_cjs.TicketChargesResource(this.http, this.config.pageSize);
196
- this.tickets = new chunkAB326MJO_cjs.TicketsResource(this.http, this.config.pageSize);
197
- this.timeEntries = new chunkGEFUSYH5_cjs.TimeEntriesResource(this.http, this.config.pageSize);
198
- this.timeOffRequests = new chunkAB326MJO_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
199
- this.authenticateResource = new chunkAB326MJO_cjs.AuthenticateResource(this.http);
200
- this.entityInformation = new chunkAB326MJO_cjs.EntityInformationResource(this.http);
201
- this.modules = new chunkAB326MJO_cjs.ModulesResource(this.http);
202
- this.thresholdInformation = new chunkAB326MJO_cjs.ThresholdInformationResource(this.http);
203
- this.version = new chunkAB326MJO_cjs.VersionResource(this.http);
204
- this.versionInformation = new chunkAB326MJO_cjs.VersionInformationResource(this.http);
205
- this.zoneInformation = new chunkAB326MJO_cjs.ZoneInformationResource(this.http);
184
+ this.companies = new chunkYAXEPESA_cjs.CompaniesResource(this.http, this.config.pageSize);
185
+ this.configurationItems = new chunk4MPQ5CDB_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
186
+ this.contacts = new chunk4MPQ5CDB_cjs.ContactsResource(this.http, this.config.pageSize);
187
+ this.contracts = new chunkYAXEPESA_cjs.ContractsResource(this.http, this.config.pageSize);
188
+ this.inventoryProducts = new chunk4MPQ5CDB_cjs.InventoryProductsResource(this.http, this.config.pageSize);
189
+ this.invoices = new chunkYAXEPESA_cjs.InvoicesResource(this.http, this.config.pageSize);
190
+ this.quotes = new chunk4MPQ5CDB_cjs.QuotesResource(this.http, this.config.pageSize);
191
+ this.resourceTimeOffAdditional = new chunk4MPQ5CDB_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
192
+ this.resourceTimeOffBalances = new chunk4MPQ5CDB_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
193
+ this.resources = new chunk4MPQ5CDB_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
194
+ this.serviceCalls = new chunk4MPQ5CDB_cjs.ServiceCallsResource(this.http, this.config.pageSize);
195
+ this.ticketCharges = new chunk4MPQ5CDB_cjs.TicketChargesResource(this.http, this.config.pageSize);
196
+ this.tickets = new chunk4MPQ5CDB_cjs.TicketsResource(this.http, this.config.pageSize);
197
+ this.timeEntries = new chunkYAXEPESA_cjs.TimeEntriesResource(this.http, this.config.pageSize);
198
+ this.timeOffRequests = new chunk4MPQ5CDB_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
199
+ this.authenticateResource = new chunk4MPQ5CDB_cjs.AuthenticateResource(this.http);
200
+ this.entityInformation = new chunk4MPQ5CDB_cjs.EntityInformationResource(this.http);
201
+ this.modules = new chunk4MPQ5CDB_cjs.ModulesResource(this.http);
202
+ this.thresholdInformation = new chunk4MPQ5CDB_cjs.ThresholdInformationResource(this.http);
203
+ this.version = new chunk4MPQ5CDB_cjs.VersionResource(this.http);
204
+ this.versionInformation = new chunk4MPQ5CDB_cjs.VersionInformationResource(this.http);
205
+ this.zoneInformation = new chunk4MPQ5CDB_cjs.ZoneInformationResource(this.http);
206
206
  }
207
207
  /**
208
208
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -236,10 +236,10 @@ var AutotaskClient = class {
236
236
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
237
237
  */
238
238
  withSignal(signal, fn) {
239
- return chunkGEFUSYH5_cjs.runWithSignal(signal, fn);
239
+ return chunkYAXEPESA_cjs.runWithSignal(signal, fn);
240
240
  }
241
241
  async batch(fn, items, opts = {}) {
242
- return chunkGEFUSYH5_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
242
+ return chunkYAXEPESA_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
243
243
  }
244
244
  };
245
245