node-autotask 0.8.3 → 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.
- package/ARCHITECTURE.md +13 -10
- package/MCP_TOOL_CATALOG.json +733 -251
- package/MCP_TOOL_MANIFEST.md +162 -133
- package/MCP_TOOL_OVERRIDES.json +2 -2
- package/N8N_MCP_MANIFEST.json +88 -25
- package/N8N_MCP_MANIFEST.md +26 -24
- package/README.md +12 -4
- package/capabilities.json +12503 -9316
- package/dist/capabilities.cjs +2 -3
- package/dist/capabilities.js +1 -2
- package/dist/{chunk-4WJCXIY2.js → chunk-3VB6N44U.js} +1141 -2977
- package/dist/{chunk-32AKZMY4.js → chunk-6KFP5HV3.js} +12502 -9316
- package/dist/chunk-DMMMWO6A.js +0 -0
- package/dist/chunk-FLB2X6O5.cjs +1 -0
- package/dist/{chunk-GYI4ZQID.js → chunk-HWC2WPX2.js} +4781 -89
- package/dist/chunk-IDPB4N2Q.cjs +1 -0
- package/dist/{chunk-F6YSQRZV.js → chunk-NVJ2PTN3.js} +7 -7
- package/dist/{chunk-5UGSQLLO.cjs → chunk-QUM74WLQ.cjs} +136 -136
- package/dist/{chunk-LAKEIYET.cjs → chunk-S7VMY5KN.cjs} +1468 -3304
- package/dist/chunk-UPQIUWOS.js +0 -0
- package/dist/{chunk-KNTUX3RR.cjs → chunk-WTVD2JZN.cjs} +12502 -9316
- package/dist/{chunk-V3XPLTIR.cjs → chunk-WTVLHMZA.cjs} +4784 -92
- package/dist/{index-B6JeThrY.d.ts → index-BOyh7S65.d.cts} +870 -79
- package/dist/{index-B0I2bGtx.d.cts → index-DGgMD8aq.d.ts} +870 -79
- package/dist/{index-DOCRp_83.d.cts → index-cQ6CRexR.d.cts} +158 -90
- package/dist/{index-DOCRp_83.d.ts → index-cQ6CRexR.d.ts} +158 -90
- package/dist/index.cjs +37 -22
- package/dist/index.d.cts +46 -5
- package/dist/index.d.ts +46 -5
- package/dist/index.js +48 -33
- package/dist/operations/index.cjs +480 -359
- package/dist/operations/index.d.cts +195 -16
- package/dist/operations/index.d.ts +195 -16
- package/dist/operations/index.js +370 -249
- package/dist/pool.cjs +36 -12
- package/dist/pool.d.cts +2 -3
- package/dist/pool.d.ts +2 -3
- package/dist/pool.js +33 -9
- package/dist/resources/index.cjs +5 -6
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +4 -5
- package/dist/types/index.cjs +1 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -2
- package/dist/untrusted.cjs +0 -1
- package/dist/untrusted.js +0 -1
- package/docs/API.md +693 -48
- package/docs/N8N-ADAPTER.md +4 -4
- package/examples/basic.ts +1 -1
- package/package.json +5 -3
- package/dist/capabilities.cjs.map +0 -1
- package/dist/capabilities.js.map +0 -1
- package/dist/chunk-32AKZMY4.js.map +0 -1
- package/dist/chunk-4WJCXIY2.js.map +0 -1
- package/dist/chunk-5UGSQLLO.cjs.map +0 -1
- package/dist/chunk-CXM35TEC.cjs +0 -1
- package/dist/chunk-CXM35TEC.cjs.map +0 -1
- package/dist/chunk-F6YSQRZV.js.map +0 -1
- package/dist/chunk-GIVD2CQ3.js +0 -1
- package/dist/chunk-GIVD2CQ3.js.map +0 -1
- package/dist/chunk-GYI4ZQID.js.map +0 -1
- package/dist/chunk-KNTUX3RR.cjs.map +0 -1
- package/dist/chunk-LAKEIYET.cjs.map +0 -1
- package/dist/chunk-MHBMSBTA.js +0 -1
- package/dist/chunk-MHBMSBTA.js.map +0 -1
- package/dist/chunk-NZUFSSIZ.cjs +0 -1
- package/dist/chunk-NZUFSSIZ.cjs.map +0 -1
- package/dist/chunk-V3XPLTIR.cjs.map +0 -1
- package/dist/client-DHmr0Oyx.d.ts +0 -203
- package/dist/client-Q6NoqinP.d.cts +0 -203
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/operations/index.cjs.map +0 -1
- package/dist/operations/index.js.map +0 -1
- package/dist/pool.cjs.map +0 -1
- package/dist/pool.js.map +0 -1
- package/dist/resources/index.cjs.map +0 -1
- package/dist/resources/index.js.map +0 -1
- package/dist/types/index.cjs.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/untrusted.cjs.map +0 -1
- package/dist/untrusted.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -58,7 +58,6 @@ import {
|
|
|
58
58
|
ExpenseReportsResource,
|
|
59
59
|
HolidaySetsResource,
|
|
60
60
|
HolidaysResource,
|
|
61
|
-
HttpClient,
|
|
62
61
|
InventoryProductsResource,
|
|
63
62
|
InvoicesResource,
|
|
64
63
|
ModulesResource,
|
|
@@ -127,13 +126,14 @@ import {
|
|
|
127
126
|
TimeOffRequestsResource,
|
|
128
127
|
VersionInformationResource,
|
|
129
128
|
VersionResource,
|
|
130
|
-
ZoneInformationResource
|
|
131
|
-
|
|
132
|
-
} from "./chunk-4WJCXIY2.js";
|
|
129
|
+
ZoneInformationResource
|
|
130
|
+
} from "./chunk-3VB6N44U.js";
|
|
133
131
|
import {
|
|
134
132
|
AutotaskConfigError,
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
HttpClient,
|
|
134
|
+
resolveConfig,
|
|
135
|
+
runWithSignal
|
|
136
|
+
} from "./chunk-HWC2WPX2.js";
|
|
137
137
|
|
|
138
138
|
// src/client.ts
|
|
139
139
|
var AutotaskClient = class {
|
|
@@ -278,6 +278,7 @@ var AutotaskClient = class {
|
|
|
278
278
|
constructor(options) {
|
|
279
279
|
this.config = resolveConfig(options);
|
|
280
280
|
this.http = new HttpClient(this.config);
|
|
281
|
+
this.http.client = this;
|
|
281
282
|
this.appointments = new AppointmentsResource(this.http, this.config.pageSize);
|
|
282
283
|
this.authenticateResource = new AuthenticateResource(this.http);
|
|
283
284
|
this.billingCodes = new BillingCodesResource(this.http, this.config.pageSize);
|
|
@@ -476,4 +477,3 @@ var AutotaskClient = class {
|
|
|
476
477
|
export {
|
|
477
478
|
AutotaskClient
|
|
478
479
|
};
|
|
479
|
-
//# sourceMappingURL=chunk-F6YSQRZV.js.map
|
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
+
var _chunkS7VMY5KNcjs = require('./chunk-S7VMY5KN.cjs');
|
|
130
131
|
|
|
131
132
|
|
|
132
|
-
var _chunkLAKEIYETcjs = require('./chunk-LAKEIYET.cjs');
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
var
|
|
136
|
+
var _chunkWTVLHMZAcjs = require('./chunk-WTVLHMZA.cjs');
|
|
137
137
|
|
|
138
138
|
// src/client.ts
|
|
139
139
|
var AutotaskClient = class {
|
|
@@ -276,136 +276,137 @@ var AutotaskClient = class {
|
|
|
276
276
|
* anything is wired. Construction issues NO request.
|
|
277
277
|
*/
|
|
278
278
|
constructor(options) {
|
|
279
|
-
this.config =
|
|
280
|
-
this.http = new (0,
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
this.
|
|
287
|
-
this.
|
|
288
|
-
this.
|
|
289
|
-
this.
|
|
290
|
-
this.
|
|
291
|
-
this.
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
this.
|
|
296
|
-
this.
|
|
297
|
-
this.
|
|
298
|
-
this.
|
|
299
|
-
this.
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
this.
|
|
314
|
-
this.
|
|
315
|
-
this.
|
|
316
|
-
this.
|
|
317
|
-
this.
|
|
318
|
-
this.
|
|
319
|
-
this.
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
322
|
-
this.
|
|
323
|
-
this.
|
|
324
|
-
this.
|
|
325
|
-
this.
|
|
326
|
-
this.
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
332
|
-
this.
|
|
333
|
-
this.
|
|
334
|
-
this.
|
|
335
|
-
this.
|
|
336
|
-
this.
|
|
337
|
-
this.
|
|
338
|
-
this.
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
343
|
-
this.
|
|
344
|
-
this.
|
|
345
|
-
this.
|
|
346
|
-
this.
|
|
347
|
-
this.
|
|
348
|
-
this.
|
|
349
|
-
this.
|
|
350
|
-
this.
|
|
351
|
-
this.
|
|
352
|
-
this.
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
357
|
-
this.
|
|
358
|
-
this.
|
|
359
|
-
this.
|
|
360
|
-
this.
|
|
361
|
-
this.
|
|
362
|
-
this.
|
|
363
|
-
this.
|
|
364
|
-
this.
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
372
|
-
this.
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
375
|
-
this.
|
|
376
|
-
this.
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
385
|
-
this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
391
|
-
this.
|
|
392
|
-
this.
|
|
393
|
-
this.
|
|
394
|
-
this.
|
|
395
|
-
this.
|
|
396
|
-
this.
|
|
397
|
-
this.
|
|
398
|
-
this.
|
|
399
|
-
this.
|
|
400
|
-
this.
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
407
|
-
this.
|
|
408
|
-
this.
|
|
279
|
+
this.config = _chunkWTVLHMZAcjs.resolveConfig.call(void 0, options);
|
|
280
|
+
this.http = new (0, _chunkWTVLHMZAcjs.HttpClient)(this.config);
|
|
281
|
+
this.http.client = this;
|
|
282
|
+
this.appointments = new (0, _chunkS7VMY5KNcjs.AppointmentsResource)(this.http, this.config.pageSize);
|
|
283
|
+
this.authenticateResource = new (0, _chunkS7VMY5KNcjs.AuthenticateResource)(this.http);
|
|
284
|
+
this.billingCodes = new (0, _chunkS7VMY5KNcjs.BillingCodesResource)(this.http, this.config.pageSize);
|
|
285
|
+
this.billingItems = new (0, _chunkS7VMY5KNcjs.BillingItemsResource)(this.http, this.config.pageSize);
|
|
286
|
+
this.changeRequestLinks = new (0, _chunkS7VMY5KNcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
|
|
287
|
+
this.checklistLibraries = new (0, _chunkS7VMY5KNcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
288
|
+
this.checklistLibraryChecklistItems = new (0, _chunkS7VMY5KNcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
|
|
289
|
+
this.classificationIcons = new (0, _chunkS7VMY5KNcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
|
|
290
|
+
this.companies = new (0, _chunkS7VMY5KNcjs.CompaniesResource)(this.http, this.config.pageSize);
|
|
291
|
+
this.companyAlerts = new (0, _chunkS7VMY5KNcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
|
|
292
|
+
this.companyLocations = new (0, _chunkS7VMY5KNcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
|
|
293
|
+
this.companyNotes = new (0, _chunkS7VMY5KNcjs.CompanyNotesResource)(this.http, this.config.pageSize);
|
|
294
|
+
this.companySiteConfigurations = new (0, _chunkS7VMY5KNcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
|
|
295
|
+
this.companyWebhooks = new (0, _chunkS7VMY5KNcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
|
|
296
|
+
this.configurationItemBillingProductAssociations = new (0, _chunkS7VMY5KNcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
|
|
297
|
+
this.configurationItemCategories = new (0, _chunkS7VMY5KNcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
|
|
298
|
+
this.configurationItemCategoryUdfAssociations = new (0, _chunkS7VMY5KNcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
|
|
299
|
+
this.configurationItemDnsRecords = new (0, _chunkS7VMY5KNcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
|
|
300
|
+
this.configurationItemNotes = new (0, _chunkS7VMY5KNcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
|
|
301
|
+
this.configurationItemRelatedItems = new (0, _chunkS7VMY5KNcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
|
|
302
|
+
this.configurationItems = new (0, _chunkS7VMY5KNcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
303
|
+
this.configurationItemSslSubjectAlternativeNames = new (0, _chunkS7VMY5KNcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
|
|
304
|
+
this.configurationItemTypes = new (0, _chunkS7VMY5KNcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
|
|
305
|
+
this.configurationItemWebhooks = new (0, _chunkS7VMY5KNcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
|
|
306
|
+
this.contactGroupContacts = new (0, _chunkS7VMY5KNcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
|
|
307
|
+
this.contactGroups = new (0, _chunkS7VMY5KNcjs.ContactGroupsResource)(this.http, this.config.pageSize);
|
|
308
|
+
this.contacts = new (0, _chunkS7VMY5KNcjs.ContactsResource)(this.http, this.config.pageSize);
|
|
309
|
+
this.contactWebhooks = new (0, _chunkS7VMY5KNcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
|
|
310
|
+
this.contractBillingRules = new (0, _chunkS7VMY5KNcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
|
|
311
|
+
this.contractBlockHourFactors = new (0, _chunkS7VMY5KNcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
|
|
312
|
+
this.contractBlocks = new (0, _chunkS7VMY5KNcjs.ContractBlocksResource)(this.http, this.config.pageSize);
|
|
313
|
+
this.contractCharges = new (0, _chunkS7VMY5KNcjs.ContractChargesResource)(this.http, this.config.pageSize);
|
|
314
|
+
this.contractExclusionBillingCodes = new (0, _chunkS7VMY5KNcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
|
|
315
|
+
this.contractExclusionRoles = new (0, _chunkS7VMY5KNcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
|
|
316
|
+
this.contractExclusionSetExcludedRoles = new (0, _chunkS7VMY5KNcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
|
|
317
|
+
this.contractExclusionSetExcludedWorkTypes = new (0, _chunkS7VMY5KNcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
|
|
318
|
+
this.contractExclusionSets = new (0, _chunkS7VMY5KNcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
|
|
319
|
+
this.contractMilestones = new (0, _chunkS7VMY5KNcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
|
|
320
|
+
this.contractNotes = new (0, _chunkS7VMY5KNcjs.ContractNotesResource)(this.http, this.config.pageSize);
|
|
321
|
+
this.contractRates = new (0, _chunkS7VMY5KNcjs.ContractRatesResource)(this.http, this.config.pageSize);
|
|
322
|
+
this.contractRetainers = new (0, _chunkS7VMY5KNcjs.ContractRetainersResource)(this.http, this.config.pageSize);
|
|
323
|
+
this.contractRoleCosts = new (0, _chunkS7VMY5KNcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
|
|
324
|
+
this.contractServiceAdjustments = new (0, _chunkS7VMY5KNcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
|
|
325
|
+
this.contractServiceBundleAdjustments = new (0, _chunkS7VMY5KNcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
|
|
326
|
+
this.contractServiceBundles = new (0, _chunkS7VMY5KNcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
|
|
327
|
+
this.contractServiceBundleUnits = new (0, _chunkS7VMY5KNcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
|
|
328
|
+
this.contractServices = new (0, _chunkS7VMY5KNcjs.ContractServicesResource)(this.http, this.config.pageSize);
|
|
329
|
+
this.contractServiceUnits = new (0, _chunkS7VMY5KNcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
|
|
330
|
+
this.contracts = new (0, _chunkS7VMY5KNcjs.ContractsResource)(this.http, this.config.pageSize);
|
|
331
|
+
this.contractTicketPurchases = new (0, _chunkS7VMY5KNcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
|
|
332
|
+
this.countries = new (0, _chunkS7VMY5KNcjs.CountriesResource)(this.http, this.config.pageSize);
|
|
333
|
+
this.departments = new (0, _chunkS7VMY5KNcjs.DepartmentsResource)(this.http, this.config.pageSize);
|
|
334
|
+
this.domainRegistrars = new (0, _chunkS7VMY5KNcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
|
|
335
|
+
this.entityInformation = new (0, _chunkS7VMY5KNcjs.EntityInformationResource)(this.http);
|
|
336
|
+
this.expenseItemAttachments = new (0, _chunkS7VMY5KNcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
|
|
337
|
+
this.expenseItems = new (0, _chunkS7VMY5KNcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
|
|
338
|
+
this.expenseReports = new (0, _chunkS7VMY5KNcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
|
|
339
|
+
this.holidaySets = new (0, _chunkS7VMY5KNcjs.HolidaySetsResource)(this.http, this.config.pageSize);
|
|
340
|
+
this.holidays = new (0, _chunkS7VMY5KNcjs.HolidaysResource)(this.http, this.config.pageSize);
|
|
341
|
+
this.inventoryProducts = new (0, _chunkS7VMY5KNcjs.InventoryProductsResource)(this.http, this.config.pageSize);
|
|
342
|
+
this.invoices = new (0, _chunkS7VMY5KNcjs.InvoicesResource)(this.http, this.config.pageSize);
|
|
343
|
+
this.modules = new (0, _chunkS7VMY5KNcjs.ModulesResource)(this.http);
|
|
344
|
+
this.notificationHistory = new (0, _chunkS7VMY5KNcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
|
|
345
|
+
this.opportunities = new (0, _chunkS7VMY5KNcjs.OpportunitiesResource)(this.http, this.config.pageSize);
|
|
346
|
+
this.opportunityAttachments = new (0, _chunkS7VMY5KNcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
|
|
347
|
+
this.opportunityCategories = new (0, _chunkS7VMY5KNcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
|
|
348
|
+
this.phases = new (0, _chunkS7VMY5KNcjs.PhasesResource)(this.http, this.config.pageSize);
|
|
349
|
+
this.products = new (0, _chunkS7VMY5KNcjs.ProductsResource)(this.http, this.config.pageSize);
|
|
350
|
+
this.productVendors = new (0, _chunkS7VMY5KNcjs.ProductVendorsResource)(this.http, this.config.pageSize);
|
|
351
|
+
this.projectCharges = new (0, _chunkS7VMY5KNcjs.ProjectChargesResource)(this.http, this.config.pageSize);
|
|
352
|
+
this.projectNotes = new (0, _chunkS7VMY5KNcjs.ProjectNotesResource)(this.http, this.config.pageSize);
|
|
353
|
+
this.projects = new (0, _chunkS7VMY5KNcjs.ProjectsResource)(this.http, this.config.pageSize);
|
|
354
|
+
this.purchaseApprovals = new (0, _chunkS7VMY5KNcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
|
|
355
|
+
this.purchaseOrderItemReceiving = new (0, _chunkS7VMY5KNcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
|
|
356
|
+
this.purchaseOrderItems = new (0, _chunkS7VMY5KNcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
|
|
357
|
+
this.purchaseOrders = new (0, _chunkS7VMY5KNcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
|
|
358
|
+
this.quoteItems = new (0, _chunkS7VMY5KNcjs.QuoteItemsResource)(this.http, this.config.pageSize);
|
|
359
|
+
this.quoteLocations = new (0, _chunkS7VMY5KNcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
|
|
360
|
+
this.quotes = new (0, _chunkS7VMY5KNcjs.QuotesResource)(this.http, this.config.pageSize);
|
|
361
|
+
this.quoteTemplates = new (0, _chunkS7VMY5KNcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
|
|
362
|
+
this.resourceRoleQueues = new (0, _chunkS7VMY5KNcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
|
|
363
|
+
this.resourceRoles = new (0, _chunkS7VMY5KNcjs.ResourceRolesResource)(this.http, this.config.pageSize);
|
|
364
|
+
this.resourceSkills = new (0, _chunkS7VMY5KNcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
|
|
365
|
+
this.resources = new (0, _chunkS7VMY5KNcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
|
|
366
|
+
this.resourceTimeOffAdditional = new (0, _chunkS7VMY5KNcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
|
|
367
|
+
this.resourceTimeOffApprovers = new (0, _chunkS7VMY5KNcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
|
|
368
|
+
this.resourceTimeOffBalances = new (0, _chunkS7VMY5KNcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
|
|
369
|
+
this.roles = new (0, _chunkS7VMY5KNcjs.RolesResource)(this.http, this.config.pageSize);
|
|
370
|
+
this.serviceCalls = new (0, _chunkS7VMY5KNcjs.ServiceCallsResource)(this.http, this.config.pageSize);
|
|
371
|
+
this.serviceCallTaskResources = new (0, _chunkS7VMY5KNcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
|
|
372
|
+
this.serviceCallTasks = new (0, _chunkS7VMY5KNcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
|
|
373
|
+
this.serviceCallTicketResources = new (0, _chunkS7VMY5KNcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
|
|
374
|
+
this.serviceCallTickets = new (0, _chunkS7VMY5KNcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
|
|
375
|
+
this.serviceLevelAgreementResults = new (0, _chunkS7VMY5KNcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
|
|
376
|
+
this.services = new (0, _chunkS7VMY5KNcjs.ServicesResource)(this.http, this.config.pageSize);
|
|
377
|
+
this.skills = new (0, _chunkS7VMY5KNcjs.SkillsResource)(this.http, this.config.pageSize);
|
|
378
|
+
this.subscriptionPeriods = new (0, _chunkS7VMY5KNcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
|
|
379
|
+
this.subscriptions = new (0, _chunkS7VMY5KNcjs.SubscriptionsResource)(this.http, this.config.pageSize);
|
|
380
|
+
this.surveyResults = new (0, _chunkS7VMY5KNcjs.SurveyResultsResource)(this.http, this.config.pageSize);
|
|
381
|
+
this.surveys = new (0, _chunkS7VMY5KNcjs.SurveysResource)(this.http, this.config.pageSize);
|
|
382
|
+
this.tagAliases = new (0, _chunkS7VMY5KNcjs.TagAliasesResource)(this.http, this.config.pageSize);
|
|
383
|
+
this.tagGroups = new (0, _chunkS7VMY5KNcjs.TagGroupsResource)(this.http, this.config.pageSize);
|
|
384
|
+
this.tags = new (0, _chunkS7VMY5KNcjs.TagsResource)(this.http, this.config.pageSize);
|
|
385
|
+
this.taskSecondaryResources = new (0, _chunkS7VMY5KNcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
386
|
+
this.tasks = new (0, _chunkS7VMY5KNcjs.TasksResource)(this.http, this.config.pageSize);
|
|
387
|
+
this.thresholdInformation = new (0, _chunkS7VMY5KNcjs.ThresholdInformationResource)(this.http);
|
|
388
|
+
this.ticketAdditionalConfigurationItems = new (0, _chunkS7VMY5KNcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
389
|
+
this.ticketAdditionalContacts = new (0, _chunkS7VMY5KNcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
|
|
390
|
+
this.ticketAttachments = new (0, _chunkS7VMY5KNcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
|
|
391
|
+
this.ticketCategories = new (0, _chunkS7VMY5KNcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
|
|
392
|
+
this.ticketCategoryFieldDefaults = new (0, _chunkS7VMY5KNcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
|
|
393
|
+
this.ticketChangeRequestApprovals = new (0, _chunkS7VMY5KNcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
|
|
394
|
+
this.ticketCharges = new (0, _chunkS7VMY5KNcjs.TicketChargesResource)(this.http, this.config.pageSize);
|
|
395
|
+
this.ticketChecklistItems = new (0, _chunkS7VMY5KNcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
|
|
396
|
+
this.ticketChecklistLibraries = new (0, _chunkS7VMY5KNcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
397
|
+
this.ticketHistory = new (0, _chunkS7VMY5KNcjs.TicketHistoryResource)(this.http, this.config.pageSize);
|
|
398
|
+
this.ticketNoteAttachments = new (0, _chunkS7VMY5KNcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
|
|
399
|
+
this.ticketNotes = new (0, _chunkS7VMY5KNcjs.TicketNotesResource)(this.http, this.config.pageSize);
|
|
400
|
+
this.ticketNoteWebhooks = new (0, _chunkS7VMY5KNcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
|
|
401
|
+
this.ticketSecondaryResources = new (0, _chunkS7VMY5KNcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
402
|
+
this.tickets = new (0, _chunkS7VMY5KNcjs.TicketsResource)(this.http, this.config.pageSize);
|
|
403
|
+
this.ticketWebhooks = new (0, _chunkS7VMY5KNcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
|
|
404
|
+
this.timeEntries = new (0, _chunkS7VMY5KNcjs.TimeEntriesResource)(this.http, this.config.pageSize);
|
|
405
|
+
this.timeEntryAttachments = new (0, _chunkS7VMY5KNcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
|
|
406
|
+
this.timeOffRequests = new (0, _chunkS7VMY5KNcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
|
|
407
|
+
this.versionInformation = new (0, _chunkS7VMY5KNcjs.VersionInformationResource)(this.http);
|
|
408
|
+
this.version = new (0, _chunkS7VMY5KNcjs.VersionResource)(this.http);
|
|
409
|
+
this.zoneInformation = new (0, _chunkS7VMY5KNcjs.ZoneInformationResource)(this.http);
|
|
409
410
|
}
|
|
410
411
|
/**
|
|
411
412
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -439,12 +440,12 @@ var AutotaskClient = class {
|
|
|
439
440
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
440
441
|
*/
|
|
441
442
|
withSignal(signal, fn) {
|
|
442
|
-
return
|
|
443
|
+
return _chunkWTVLHMZAcjs.runWithSignal.call(void 0, signal, fn);
|
|
443
444
|
}
|
|
444
445
|
async batch(fn, items, opts = {}) {
|
|
445
446
|
const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
|
|
446
447
|
if (!Number.isInteger(concurrency) || concurrency <= 0) {
|
|
447
|
-
throw new (0,
|
|
448
|
+
throw new (0, _chunkWTVLHMZAcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
|
|
448
449
|
}
|
|
449
450
|
const { signal, settle } = opts;
|
|
450
451
|
const results = new Array(items.length);
|
|
@@ -459,7 +460,7 @@ var AutotaskClient = class {
|
|
|
459
460
|
const i = next++;
|
|
460
461
|
try {
|
|
461
462
|
const item = items[i];
|
|
462
|
-
const value = await (signal === void 0 ? fn(item) :
|
|
463
|
+
const value = await (signal === void 0 ? fn(item) : _chunkWTVLHMZAcjs.runWithSignal.call(void 0, signal, () => fn(item)));
|
|
463
464
|
results[i] = settle ? { status: "fulfilled", value } : value;
|
|
464
465
|
} catch (error) {
|
|
465
466
|
if (settle) results[i] = { status: "rejected", reason: error };
|
|
@@ -476,4 +477,3 @@ var AutotaskClient = class {
|
|
|
476
477
|
|
|
477
478
|
|
|
478
479
|
exports.AutotaskClient = AutotaskClient;
|
|
479
|
-
//# sourceMappingURL=chunk-5UGSQLLO.cjs.map
|