node-autotask 0.25.0 → 0.26.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/CHANGELOG.md +14 -0
- package/MCP_TOOL_CATALOG.json +151 -9
- package/MCP_TOOL_MANIFEST.md +24 -19
- package/N8N_MCP_MANIFEST.json +3 -3
- package/N8N_MCP_MANIFEST.md +4 -4
- package/README.md +1 -1
- package/capabilities.json +2438 -1661
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-FKJ77K6Z.cjs → chunk-5OGJTS2E.cjs} +138 -135
- package/dist/{chunk-XUB3S6AM.js → chunk-7DOSJS6S.js} +5 -2
- package/dist/{chunk-2H7YI54B.cjs → chunk-HQGE4WAV.cjs} +45 -3
- package/dist/{chunk-EFR2XWRX.js → chunk-QXWIQ67O.js} +2437 -1660
- package/dist/{chunk-Z5L7Q33V.cjs → chunk-SG4LIVMG.cjs} +523 -478
- package/dist/{chunk-VUGZKP33.js → chunk-SSUECUVN.js} +44 -2
- package/dist/{chunk-6PIJ6AZG.js → chunk-VVQ6NJYZ.js} +47 -2
- package/dist/{chunk-WBMRACCV.cjs → chunk-WM6E5O55.cjs} +2437 -1660
- package/dist/{index-BVtycq-6.d.cts → index-1zBdJIEy.d.cts} +42 -1
- package/dist/{index-BVtycq-6.d.ts → index-1zBdJIEy.d.ts} +42 -1
- package/dist/{index-CZ94y401.d.ts → index-C8QH3BkP.d.ts} +38 -3
- package/dist/{index-C0OwQhon.d.cts → index-CKYr0unq.d.cts} +38 -3
- package/dist/index.cjs +26 -24
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +8 -6
- package/dist/operations/index.cjs +111 -111
- package/dist/operations/index.d.cts +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +8 -8
- package/dist/pool.d.cts +2 -2
- package/dist/pool.d.ts +2 -2
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +7 -5
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +6 -4
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/docs/API.md +1 -1
- package/package.json +3 -3
- /package/dist/{chunk-DMMMWO6A.js → chunk-2TWKEB2L.js} +0 -0
- /package/dist/{chunk-UPQIUWOS.js → chunk-EBCHCNPK.js} +0 -0
- /package/dist/{chunk-FLB2X6O5.cjs → chunk-S643FDOR.cjs} +0 -0
- /package/dist/{chunk-IDPB4N2Q.cjs → chunk-W3K5BEVY.cjs} +0 -0
package/dist/capabilities.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWM6E5O55cjs = require('./chunk-WM6E5O55.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.CAPABILITIES =
|
|
10
|
+
exports.CAPABILITIES = _chunkWM6E5O55cjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkWM6E5O55cjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkWM6E5O55cjs.CAPABILITY_PLAN_HASHES;
|
package/dist/capabilities.js
CHANGED
|
@@ -127,13 +127,14 @@
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
130
|
-
var _chunkZ5L7Q33Vcjs = require('./chunk-Z5L7Q33V.cjs');
|
|
131
130
|
|
|
131
|
+
var _chunkSG4LIVMGcjs = require('./chunk-SG4LIVMG.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
|
|
137
|
+
var _chunkHQGE4WAVcjs = require('./chunk-HQGE4WAV.cjs');
|
|
137
138
|
|
|
138
139
|
// src/client.ts
|
|
139
140
|
var AutotaskClient = class {
|
|
@@ -268,6 +269,7 @@ var AutotaskClient = class {
|
|
|
268
269
|
|
|
269
270
|
|
|
270
271
|
|
|
272
|
+
|
|
271
273
|
|
|
272
274
|
|
|
273
275
|
// [GENERATED:RESOURCE_ACCESSORS:END]
|
|
@@ -276,137 +278,138 @@ var AutotaskClient = class {
|
|
|
276
278
|
* anything is wired. Construction issues NO request.
|
|
277
279
|
*/
|
|
278
280
|
constructor(options) {
|
|
279
|
-
this.config =
|
|
280
|
-
this.http = new (0,
|
|
281
|
+
this.config = _chunkHQGE4WAVcjs.resolveConfig.call(void 0, options);
|
|
282
|
+
this.http = new (0, _chunkHQGE4WAVcjs.HttpClient)(this.config);
|
|
281
283
|
this.http.client = this;
|
|
282
|
-
this.appointments = new (0,
|
|
283
|
-
this.authenticateResource = new (0,
|
|
284
|
-
this.billingCodes = new (0,
|
|
285
|
-
this.billingItems = new (0,
|
|
286
|
-
this.changeRequestLinks = new (0,
|
|
287
|
-
this.checklistLibraries = new (0,
|
|
288
|
-
this.checklistLibraryChecklistItems = new (0,
|
|
289
|
-
this.classificationIcons = new (0,
|
|
290
|
-
this.companies = new (0,
|
|
291
|
-
this.companyAlerts = new (0,
|
|
292
|
-
this.companyLocations = new (0,
|
|
293
|
-
this.companyNotes = new (0,
|
|
294
|
-
this.companySiteConfigurations = new (0,
|
|
295
|
-
this.companyWebhooks = new (0,
|
|
296
|
-
this.configurationItemBillingProductAssociations = new (0,
|
|
297
|
-
this.configurationItemCategories = new (0,
|
|
298
|
-
this.configurationItemCategoryUdfAssociations = new (0,
|
|
299
|
-
this.configurationItemDnsRecords = new (0,
|
|
300
|
-
this.configurationItemNotes = new (0,
|
|
301
|
-
this.configurationItemRelatedItems = new (0,
|
|
302
|
-
this.configurationItems = new (0,
|
|
303
|
-
this.configurationItemSslSubjectAlternativeNames = new (0,
|
|
304
|
-
this.configurationItemTypes = new (0,
|
|
305
|
-
this.configurationItemWebhooks = new (0,
|
|
306
|
-
this.contactGroupContacts = new (0,
|
|
307
|
-
this.contactGroups = new (0,
|
|
308
|
-
this.contacts = new (0,
|
|
309
|
-
this.contactWebhooks = new (0,
|
|
310
|
-
this.contractBillingRules = new (0,
|
|
311
|
-
this.contractBlockHourFactors = new (0,
|
|
312
|
-
this.contractBlocks = new (0,
|
|
313
|
-
this.contractCharges = new (0,
|
|
314
|
-
this.contractExclusionBillingCodes = new (0,
|
|
315
|
-
this.contractExclusionRoles = new (0,
|
|
316
|
-
this.contractExclusionSetExcludedRoles = new (0,
|
|
317
|
-
this.contractExclusionSetExcludedWorkTypes = new (0,
|
|
318
|
-
this.contractExclusionSets = new (0,
|
|
319
|
-
this.contractMilestones = new (0,
|
|
320
|
-
this.contractNotes = new (0,
|
|
321
|
-
this.contractRates = new (0,
|
|
322
|
-
this.contractRetainers = new (0,
|
|
323
|
-
this.contractRoleCosts = new (0,
|
|
324
|
-
this.contractServiceAdjustments = new (0,
|
|
325
|
-
this.contractServiceBundleAdjustments = new (0,
|
|
326
|
-
this.contractServiceBundles = new (0,
|
|
327
|
-
this.contractServiceBundleUnits = new (0,
|
|
328
|
-
this.contractServices = new (0,
|
|
329
|
-
this.contractServiceUnits = new (0,
|
|
330
|
-
this.contracts = new (0,
|
|
331
|
-
this.contractTicketPurchases = new (0,
|
|
332
|
-
this.countries = new (0,
|
|
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.
|
|
409
|
-
this.
|
|
284
|
+
this.appointments = new (0, _chunkSG4LIVMGcjs.AppointmentsResource)(this.http, this.config.pageSize);
|
|
285
|
+
this.authenticateResource = new (0, _chunkSG4LIVMGcjs.AuthenticateResource)(this.http);
|
|
286
|
+
this.billingCodes = new (0, _chunkSG4LIVMGcjs.BillingCodesResource)(this.http, this.config.pageSize);
|
|
287
|
+
this.billingItems = new (0, _chunkSG4LIVMGcjs.BillingItemsResource)(this.http, this.config.pageSize);
|
|
288
|
+
this.changeRequestLinks = new (0, _chunkSG4LIVMGcjs.ChangeRequestLinksResource)(this.http, this.config.pageSize);
|
|
289
|
+
this.checklistLibraries = new (0, _chunkSG4LIVMGcjs.ChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
290
|
+
this.checklistLibraryChecklistItems = new (0, _chunkSG4LIVMGcjs.ChecklistLibraryChecklistItemsResource)(this.http, this.config.pageSize);
|
|
291
|
+
this.classificationIcons = new (0, _chunkSG4LIVMGcjs.ClassificationIconsResource)(this.http, this.config.pageSize);
|
|
292
|
+
this.companies = new (0, _chunkSG4LIVMGcjs.CompaniesResource)(this.http, this.config.pageSize);
|
|
293
|
+
this.companyAlerts = new (0, _chunkSG4LIVMGcjs.CompanyAlertsResource)(this.http, this.config.pageSize);
|
|
294
|
+
this.companyLocations = new (0, _chunkSG4LIVMGcjs.CompanyLocationsResource)(this.http, this.config.pageSize);
|
|
295
|
+
this.companyNotes = new (0, _chunkSG4LIVMGcjs.CompanyNotesResource)(this.http, this.config.pageSize);
|
|
296
|
+
this.companySiteConfigurations = new (0, _chunkSG4LIVMGcjs.CompanySiteConfigurationsResource)(this.http, this.config.pageSize);
|
|
297
|
+
this.companyWebhooks = new (0, _chunkSG4LIVMGcjs.CompanyWebhooksResource)(this.http, this.config.pageSize);
|
|
298
|
+
this.configurationItemBillingProductAssociations = new (0, _chunkSG4LIVMGcjs.ConfigurationItemBillingProductAssociationsResource)(this.http, this.config.pageSize);
|
|
299
|
+
this.configurationItemCategories = new (0, _chunkSG4LIVMGcjs.ConfigurationItemCategoriesResource)(this.http, this.config.pageSize);
|
|
300
|
+
this.configurationItemCategoryUdfAssociations = new (0, _chunkSG4LIVMGcjs.ConfigurationItemCategoryUdfAssociationsResource)(this.http, this.config.pageSize);
|
|
301
|
+
this.configurationItemDnsRecords = new (0, _chunkSG4LIVMGcjs.ConfigurationItemDnsRecordsResource)(this.http, this.config.pageSize);
|
|
302
|
+
this.configurationItemNotes = new (0, _chunkSG4LIVMGcjs.ConfigurationItemNotesResource)(this.http, this.config.pageSize);
|
|
303
|
+
this.configurationItemRelatedItems = new (0, _chunkSG4LIVMGcjs.ConfigurationItemRelatedItemsResource)(this.http, this.config.pageSize);
|
|
304
|
+
this.configurationItems = new (0, _chunkSG4LIVMGcjs.ConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
305
|
+
this.configurationItemSslSubjectAlternativeNames = new (0, _chunkSG4LIVMGcjs.ConfigurationItemSslSubjectAlternativeNamesResource)(this.http, this.config.pageSize);
|
|
306
|
+
this.configurationItemTypes = new (0, _chunkSG4LIVMGcjs.ConfigurationItemTypesResource)(this.http, this.config.pageSize);
|
|
307
|
+
this.configurationItemWebhooks = new (0, _chunkSG4LIVMGcjs.ConfigurationItemWebhooksResource)(this.http, this.config.pageSize);
|
|
308
|
+
this.contactGroupContacts = new (0, _chunkSG4LIVMGcjs.ContactGroupContactsResource)(this.http, this.config.pageSize);
|
|
309
|
+
this.contactGroups = new (0, _chunkSG4LIVMGcjs.ContactGroupsResource)(this.http, this.config.pageSize);
|
|
310
|
+
this.contacts = new (0, _chunkSG4LIVMGcjs.ContactsResource)(this.http, this.config.pageSize);
|
|
311
|
+
this.contactWebhooks = new (0, _chunkSG4LIVMGcjs.ContactWebhooksResource)(this.http, this.config.pageSize);
|
|
312
|
+
this.contractBillingRules = new (0, _chunkSG4LIVMGcjs.ContractBillingRulesResource)(this.http, this.config.pageSize);
|
|
313
|
+
this.contractBlockHourFactors = new (0, _chunkSG4LIVMGcjs.ContractBlockHourFactorsResource)(this.http, this.config.pageSize);
|
|
314
|
+
this.contractBlocks = new (0, _chunkSG4LIVMGcjs.ContractBlocksResource)(this.http, this.config.pageSize);
|
|
315
|
+
this.contractCharges = new (0, _chunkSG4LIVMGcjs.ContractChargesResource)(this.http, this.config.pageSize);
|
|
316
|
+
this.contractExclusionBillingCodes = new (0, _chunkSG4LIVMGcjs.ContractExclusionBillingCodesResource)(this.http, this.config.pageSize);
|
|
317
|
+
this.contractExclusionRoles = new (0, _chunkSG4LIVMGcjs.ContractExclusionRolesResource)(this.http, this.config.pageSize);
|
|
318
|
+
this.contractExclusionSetExcludedRoles = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetExcludedRolesResource)(this.http, this.config.pageSize);
|
|
319
|
+
this.contractExclusionSetExcludedWorkTypes = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetExcludedWorkTypesResource)(this.http, this.config.pageSize);
|
|
320
|
+
this.contractExclusionSets = new (0, _chunkSG4LIVMGcjs.ContractExclusionSetsResource)(this.http, this.config.pageSize);
|
|
321
|
+
this.contractMilestones = new (0, _chunkSG4LIVMGcjs.ContractMilestonesResource)(this.http, this.config.pageSize);
|
|
322
|
+
this.contractNotes = new (0, _chunkSG4LIVMGcjs.ContractNotesResource)(this.http, this.config.pageSize);
|
|
323
|
+
this.contractRates = new (0, _chunkSG4LIVMGcjs.ContractRatesResource)(this.http, this.config.pageSize);
|
|
324
|
+
this.contractRetainers = new (0, _chunkSG4LIVMGcjs.ContractRetainersResource)(this.http, this.config.pageSize);
|
|
325
|
+
this.contractRoleCosts = new (0, _chunkSG4LIVMGcjs.ContractRoleCostsResource)(this.http, this.config.pageSize);
|
|
326
|
+
this.contractServiceAdjustments = new (0, _chunkSG4LIVMGcjs.ContractServiceAdjustmentsResource)(this.http, this.config.pageSize);
|
|
327
|
+
this.contractServiceBundleAdjustments = new (0, _chunkSG4LIVMGcjs.ContractServiceBundleAdjustmentsResource)(this.http, this.config.pageSize);
|
|
328
|
+
this.contractServiceBundles = new (0, _chunkSG4LIVMGcjs.ContractServiceBundlesResource)(this.http, this.config.pageSize);
|
|
329
|
+
this.contractServiceBundleUnits = new (0, _chunkSG4LIVMGcjs.ContractServiceBundleUnitsResource)(this.http, this.config.pageSize);
|
|
330
|
+
this.contractServices = new (0, _chunkSG4LIVMGcjs.ContractServicesResource)(this.http, this.config.pageSize);
|
|
331
|
+
this.contractServiceUnits = new (0, _chunkSG4LIVMGcjs.ContractServiceUnitsResource)(this.http, this.config.pageSize);
|
|
332
|
+
this.contracts = new (0, _chunkSG4LIVMGcjs.ContractsResource)(this.http, this.config.pageSize);
|
|
333
|
+
this.contractTicketPurchases = new (0, _chunkSG4LIVMGcjs.ContractTicketPurchasesResource)(this.http, this.config.pageSize);
|
|
334
|
+
this.countries = new (0, _chunkSG4LIVMGcjs.CountriesResource)(this.http, this.config.pageSize);
|
|
335
|
+
this.currencies = new (0, _chunkSG4LIVMGcjs.CurrenciesResource)(this.http, this.config.pageSize);
|
|
336
|
+
this.departments = new (0, _chunkSG4LIVMGcjs.DepartmentsResource)(this.http, this.config.pageSize);
|
|
337
|
+
this.domainRegistrars = new (0, _chunkSG4LIVMGcjs.DomainRegistrarsResource)(this.http, this.config.pageSize);
|
|
338
|
+
this.entityInformation = new (0, _chunkSG4LIVMGcjs.EntityInformationResource)(this.http);
|
|
339
|
+
this.expenseItemAttachments = new (0, _chunkSG4LIVMGcjs.ExpenseItemAttachmentsResource)(this.http, this.config.pageSize);
|
|
340
|
+
this.expenseItems = new (0, _chunkSG4LIVMGcjs.ExpenseItemsResource)(this.http, this.config.pageSize);
|
|
341
|
+
this.expenseReports = new (0, _chunkSG4LIVMGcjs.ExpenseReportsResource)(this.http, this.config.pageSize);
|
|
342
|
+
this.holidaySets = new (0, _chunkSG4LIVMGcjs.HolidaySetsResource)(this.http, this.config.pageSize);
|
|
343
|
+
this.holidays = new (0, _chunkSG4LIVMGcjs.HolidaysResource)(this.http, this.config.pageSize);
|
|
344
|
+
this.inventoryProducts = new (0, _chunkSG4LIVMGcjs.InventoryProductsResource)(this.http, this.config.pageSize);
|
|
345
|
+
this.invoices = new (0, _chunkSG4LIVMGcjs.InvoicesResource)(this.http, this.config.pageSize);
|
|
346
|
+
this.modules = new (0, _chunkSG4LIVMGcjs.ModulesResource)(this.http);
|
|
347
|
+
this.notificationHistory = new (0, _chunkSG4LIVMGcjs.NotificationHistoryResource)(this.http, this.config.pageSize);
|
|
348
|
+
this.opportunities = new (0, _chunkSG4LIVMGcjs.OpportunitiesResource)(this.http, this.config.pageSize);
|
|
349
|
+
this.opportunityAttachments = new (0, _chunkSG4LIVMGcjs.OpportunityAttachmentsResource)(this.http, this.config.pageSize);
|
|
350
|
+
this.opportunityCategories = new (0, _chunkSG4LIVMGcjs.OpportunityCategoriesResource)(this.http, this.config.pageSize);
|
|
351
|
+
this.phases = new (0, _chunkSG4LIVMGcjs.PhasesResource)(this.http, this.config.pageSize);
|
|
352
|
+
this.products = new (0, _chunkSG4LIVMGcjs.ProductsResource)(this.http, this.config.pageSize);
|
|
353
|
+
this.productVendors = new (0, _chunkSG4LIVMGcjs.ProductVendorsResource)(this.http, this.config.pageSize);
|
|
354
|
+
this.projectCharges = new (0, _chunkSG4LIVMGcjs.ProjectChargesResource)(this.http, this.config.pageSize);
|
|
355
|
+
this.projectNotes = new (0, _chunkSG4LIVMGcjs.ProjectNotesResource)(this.http, this.config.pageSize);
|
|
356
|
+
this.projects = new (0, _chunkSG4LIVMGcjs.ProjectsResource)(this.http, this.config.pageSize);
|
|
357
|
+
this.purchaseApprovals = new (0, _chunkSG4LIVMGcjs.PurchaseApprovalsResource)(this.http, this.config.pageSize);
|
|
358
|
+
this.purchaseOrderItemReceiving = new (0, _chunkSG4LIVMGcjs.PurchaseOrderItemReceivingResource)(this.http, this.config.pageSize);
|
|
359
|
+
this.purchaseOrderItems = new (0, _chunkSG4LIVMGcjs.PurchaseOrderItemsResource)(this.http, this.config.pageSize);
|
|
360
|
+
this.purchaseOrders = new (0, _chunkSG4LIVMGcjs.PurchaseOrdersResource)(this.http, this.config.pageSize);
|
|
361
|
+
this.quoteItems = new (0, _chunkSG4LIVMGcjs.QuoteItemsResource)(this.http, this.config.pageSize);
|
|
362
|
+
this.quoteLocations = new (0, _chunkSG4LIVMGcjs.QuoteLocationsResource)(this.http, this.config.pageSize);
|
|
363
|
+
this.quotes = new (0, _chunkSG4LIVMGcjs.QuotesResource)(this.http, this.config.pageSize);
|
|
364
|
+
this.quoteTemplates = new (0, _chunkSG4LIVMGcjs.QuoteTemplatesResource)(this.http, this.config.pageSize);
|
|
365
|
+
this.resourceRoleQueues = new (0, _chunkSG4LIVMGcjs.ResourceRoleQueuesResource)(this.http, this.config.pageSize);
|
|
366
|
+
this.resourceRoles = new (0, _chunkSG4LIVMGcjs.ResourceRolesResource)(this.http, this.config.pageSize);
|
|
367
|
+
this.resourceSkills = new (0, _chunkSG4LIVMGcjs.ResourceSkillsResource)(this.http, this.config.pageSize);
|
|
368
|
+
this.resources = new (0, _chunkSG4LIVMGcjs.ResourcesResource)(this.http, this.config, this.config.pageSize);
|
|
369
|
+
this.resourceTimeOffAdditional = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffAdditionalResource)(this.http, this.config.pageSize);
|
|
370
|
+
this.resourceTimeOffApprovers = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffApproversResource)(this.http, this.config.pageSize);
|
|
371
|
+
this.resourceTimeOffBalances = new (0, _chunkSG4LIVMGcjs.ResourceTimeOffBalancesResource)(this.http, this.config.pageSize);
|
|
372
|
+
this.roles = new (0, _chunkSG4LIVMGcjs.RolesResource)(this.http, this.config.pageSize);
|
|
373
|
+
this.serviceCalls = new (0, _chunkSG4LIVMGcjs.ServiceCallsResource)(this.http, this.config.pageSize);
|
|
374
|
+
this.serviceCallTaskResources = new (0, _chunkSG4LIVMGcjs.ServiceCallTaskResourcesResource)(this.http, this.config.pageSize);
|
|
375
|
+
this.serviceCallTasks = new (0, _chunkSG4LIVMGcjs.ServiceCallTasksResource)(this.http, this.config.pageSize);
|
|
376
|
+
this.serviceCallTicketResources = new (0, _chunkSG4LIVMGcjs.ServiceCallTicketResourcesResource)(this.http, this.config.pageSize);
|
|
377
|
+
this.serviceCallTickets = new (0, _chunkSG4LIVMGcjs.ServiceCallTicketsResource)(this.http, this.config.pageSize);
|
|
378
|
+
this.serviceLevelAgreementResults = new (0, _chunkSG4LIVMGcjs.ServiceLevelAgreementResultsResource)(this.http, this.config.pageSize);
|
|
379
|
+
this.services = new (0, _chunkSG4LIVMGcjs.ServicesResource)(this.http, this.config.pageSize);
|
|
380
|
+
this.skills = new (0, _chunkSG4LIVMGcjs.SkillsResource)(this.http, this.config.pageSize);
|
|
381
|
+
this.subscriptionPeriods = new (0, _chunkSG4LIVMGcjs.SubscriptionPeriodsResource)(this.http, this.config.pageSize);
|
|
382
|
+
this.subscriptions = new (0, _chunkSG4LIVMGcjs.SubscriptionsResource)(this.http, this.config.pageSize);
|
|
383
|
+
this.surveyResults = new (0, _chunkSG4LIVMGcjs.SurveyResultsResource)(this.http, this.config.pageSize);
|
|
384
|
+
this.surveys = new (0, _chunkSG4LIVMGcjs.SurveysResource)(this.http, this.config.pageSize);
|
|
385
|
+
this.tagAliases = new (0, _chunkSG4LIVMGcjs.TagAliasesResource)(this.http, this.config.pageSize);
|
|
386
|
+
this.tagGroups = new (0, _chunkSG4LIVMGcjs.TagGroupsResource)(this.http, this.config.pageSize);
|
|
387
|
+
this.tags = new (0, _chunkSG4LIVMGcjs.TagsResource)(this.http, this.config.pageSize);
|
|
388
|
+
this.taskSecondaryResources = new (0, _chunkSG4LIVMGcjs.TaskSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
389
|
+
this.tasks = new (0, _chunkSG4LIVMGcjs.TasksResource)(this.http, this.config.pageSize);
|
|
390
|
+
this.thresholdInformation = new (0, _chunkSG4LIVMGcjs.ThresholdInformationResource)(this.http);
|
|
391
|
+
this.ticketAdditionalConfigurationItems = new (0, _chunkSG4LIVMGcjs.TicketAdditionalConfigurationItemsResource)(this.http, this.config.pageSize);
|
|
392
|
+
this.ticketAdditionalContacts = new (0, _chunkSG4LIVMGcjs.TicketAdditionalContactsResource)(this.http, this.config.pageSize);
|
|
393
|
+
this.ticketAttachments = new (0, _chunkSG4LIVMGcjs.TicketAttachmentsResource)(this.http, this.config.pageSize);
|
|
394
|
+
this.ticketCategories = new (0, _chunkSG4LIVMGcjs.TicketCategoriesResource)(this.http, this.config.pageSize);
|
|
395
|
+
this.ticketCategoryFieldDefaults = new (0, _chunkSG4LIVMGcjs.TicketCategoryFieldDefaultsResource)(this.http, this.config.pageSize);
|
|
396
|
+
this.ticketChangeRequestApprovals = new (0, _chunkSG4LIVMGcjs.TicketChangeRequestApprovalsResource)(this.http, this.config.pageSize);
|
|
397
|
+
this.ticketCharges = new (0, _chunkSG4LIVMGcjs.TicketChargesResource)(this.http, this.config.pageSize);
|
|
398
|
+
this.ticketChecklistItems = new (0, _chunkSG4LIVMGcjs.TicketChecklistItemsResource)(this.http, this.config.pageSize);
|
|
399
|
+
this.ticketChecklistLibraries = new (0, _chunkSG4LIVMGcjs.TicketChecklistLibrariesResource)(this.http, this.config.pageSize);
|
|
400
|
+
this.ticketHistory = new (0, _chunkSG4LIVMGcjs.TicketHistoryResource)(this.http, this.config.pageSize);
|
|
401
|
+
this.ticketNoteAttachments = new (0, _chunkSG4LIVMGcjs.TicketNoteAttachmentsResource)(this.http, this.config.pageSize);
|
|
402
|
+
this.ticketNotes = new (0, _chunkSG4LIVMGcjs.TicketNotesResource)(this.http, this.config.pageSize);
|
|
403
|
+
this.ticketNoteWebhooks = new (0, _chunkSG4LIVMGcjs.TicketNoteWebhooksResource)(this.http, this.config.pageSize);
|
|
404
|
+
this.ticketSecondaryResources = new (0, _chunkSG4LIVMGcjs.TicketSecondaryResourcesResource)(this.http, this.config.pageSize);
|
|
405
|
+
this.tickets = new (0, _chunkSG4LIVMGcjs.TicketsResource)(this.http, this.config.pageSize);
|
|
406
|
+
this.ticketWebhooks = new (0, _chunkSG4LIVMGcjs.TicketWebhooksResource)(this.http, this.config.pageSize);
|
|
407
|
+
this.timeEntries = new (0, _chunkSG4LIVMGcjs.TimeEntriesResource)(this.http, this.config.pageSize);
|
|
408
|
+
this.timeEntryAttachments = new (0, _chunkSG4LIVMGcjs.TimeEntryAttachmentsResource)(this.http, this.config.pageSize);
|
|
409
|
+
this.timeOffRequests = new (0, _chunkSG4LIVMGcjs.TimeOffRequestsResource)(this.http, this.config.pageSize);
|
|
410
|
+
this.versionInformation = new (0, _chunkSG4LIVMGcjs.VersionInformationResource)(this.http);
|
|
411
|
+
this.version = new (0, _chunkSG4LIVMGcjs.VersionResource)(this.http);
|
|
412
|
+
this.zoneInformation = new (0, _chunkSG4LIVMGcjs.ZoneInformationResource)(this.http);
|
|
410
413
|
}
|
|
411
414
|
/**
|
|
412
415
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -440,12 +443,12 @@ var AutotaskClient = class {
|
|
|
440
443
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
441
444
|
*/
|
|
442
445
|
withSignal(signal, fn) {
|
|
443
|
-
return
|
|
446
|
+
return _chunkHQGE4WAVcjs.runWithSignal.call(void 0, signal, fn);
|
|
444
447
|
}
|
|
445
448
|
async batch(fn, items, opts = {}) {
|
|
446
449
|
const concurrency = _nullishCoalesce(opts.concurrency, () => ( this.config.maxConcurrent));
|
|
447
450
|
if (!Number.isInteger(concurrency) || concurrency <= 0) {
|
|
448
|
-
throw new (0,
|
|
451
|
+
throw new (0, _chunkHQGE4WAVcjs.AutotaskConfigError)("batch concurrency must be a positive integer");
|
|
449
452
|
}
|
|
450
453
|
const { signal, settle } = opts;
|
|
451
454
|
const results = new Array(items.length);
|
|
@@ -460,7 +463,7 @@ var AutotaskClient = class {
|
|
|
460
463
|
const i = next++;
|
|
461
464
|
try {
|
|
462
465
|
const item = items[i];
|
|
463
|
-
const value = await (signal === void 0 ? fn(item) :
|
|
466
|
+
const value = await (signal === void 0 ? fn(item) : _chunkHQGE4WAVcjs.runWithSignal.call(void 0, signal, () => fn(item)));
|
|
464
467
|
results[i] = settle ? { status: "fulfilled", value } : value;
|
|
465
468
|
} catch (error) {
|
|
466
469
|
if (settle) results[i] = { status: "rejected", reason: error };
|
|
@@ -50,6 +50,7 @@ import {
|
|
|
50
50
|
ContractTicketPurchasesResource,
|
|
51
51
|
ContractsResource,
|
|
52
52
|
CountriesResource,
|
|
53
|
+
CurrenciesResource,
|
|
53
54
|
DepartmentsResource,
|
|
54
55
|
DomainRegistrarsResource,
|
|
55
56
|
EntityInformationResource,
|
|
@@ -127,13 +128,13 @@ import {
|
|
|
127
128
|
VersionInformationResource,
|
|
128
129
|
VersionResource,
|
|
129
130
|
ZoneInformationResource
|
|
130
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-VVQ6NJYZ.js";
|
|
131
132
|
import {
|
|
132
133
|
AutotaskConfigError,
|
|
133
134
|
HttpClient,
|
|
134
135
|
resolveConfig,
|
|
135
136
|
runWithSignal
|
|
136
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-SSUECUVN.js";
|
|
137
138
|
|
|
138
139
|
// src/client.ts
|
|
139
140
|
var AutotaskClient = class {
|
|
@@ -193,6 +194,7 @@ var AutotaskClient = class {
|
|
|
193
194
|
contracts;
|
|
194
195
|
contractTicketPurchases;
|
|
195
196
|
countries;
|
|
197
|
+
currencies;
|
|
196
198
|
departments;
|
|
197
199
|
domainRegistrars;
|
|
198
200
|
entityInformation;
|
|
@@ -330,6 +332,7 @@ var AutotaskClient = class {
|
|
|
330
332
|
this.contracts = new ContractsResource(this.http, this.config.pageSize);
|
|
331
333
|
this.contractTicketPurchases = new ContractTicketPurchasesResource(this.http, this.config.pageSize);
|
|
332
334
|
this.countries = new CountriesResource(this.http, this.config.pageSize);
|
|
335
|
+
this.currencies = new CurrenciesResource(this.http, this.config.pageSize);
|
|
333
336
|
this.departments = new DepartmentsResource(this.http, this.config.pageSize);
|
|
334
337
|
this.domainRegistrars = new DomainRegistrarsResource(this.http, this.config.pageSize);
|
|
335
338
|
this.entityInformation = new EntityInformationResource(this.http);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6; var _class7; var _class8;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkWM6E5O55cjs = require('./chunk-WM6E5O55.cjs');
|
|
4
4
|
|
|
5
5
|
// src/auth.ts
|
|
6
6
|
var AUTH_HEADERS = {
|
|
@@ -737,6 +737,7 @@ var DEFAULT_PER_RESOURCE_TTL_MS = {
|
|
|
737
737
|
"contract_ticket_purchases": 3e5,
|
|
738
738
|
"contracts": 3e5,
|
|
739
739
|
"countries": 36e5,
|
|
740
|
+
"currencies": 3e5,
|
|
740
741
|
"departments": 36e5,
|
|
741
742
|
"domain_registrars": 3e5,
|
|
742
743
|
"entity_information": 3e5,
|
|
@@ -866,6 +867,7 @@ var RESOURCE_KEY_BY_PATH = {
|
|
|
866
867
|
"/V1.0/ContractTicketPurchases": "contract_ticket_purchases",
|
|
867
868
|
"/V1.0/Contracts": "contracts",
|
|
868
869
|
"/V1.0/Countries": "countries",
|
|
870
|
+
"/V1.0/Currencies": "currencies",
|
|
869
871
|
"/V1.0/Departments": "departments",
|
|
870
872
|
"/V1.0/DomainRegistrars": "domain_registrars",
|
|
871
873
|
"/V1.0/ExpenseItemAttachments": "expense_item_attachments",
|
|
@@ -5117,6 +5119,27 @@ var RELATIONSHIP_MAP = {
|
|
|
5117
5119
|
"deleteBoundary": null,
|
|
5118
5120
|
"markerField": null
|
|
5119
5121
|
},
|
|
5122
|
+
"currencies": {
|
|
5123
|
+
"resource": "currencies",
|
|
5124
|
+
"apiEntity": "Currency",
|
|
5125
|
+
"kind": "entity",
|
|
5126
|
+
"path": "Currencies",
|
|
5127
|
+
"parentScoped": false,
|
|
5128
|
+
"tier": "advanced",
|
|
5129
|
+
"workflowResource": false,
|
|
5130
|
+
"group": "B",
|
|
5131
|
+
"parent": null,
|
|
5132
|
+
"children": [],
|
|
5133
|
+
"naturalKeys": {
|
|
5134
|
+
"hasSearch": true,
|
|
5135
|
+
"searchCovers": "name only (contains)",
|
|
5136
|
+
"findBy": []
|
|
5137
|
+
},
|
|
5138
|
+
"blindSurfaces": null,
|
|
5139
|
+
"zoneFacts": null,
|
|
5140
|
+
"deleteBoundary": null,
|
|
5141
|
+
"markerField": null
|
|
5142
|
+
},
|
|
5120
5143
|
"departments": {
|
|
5121
5144
|
"resource": "departments",
|
|
5122
5145
|
"apiEntity": "Department",
|
|
@@ -11044,6 +11067,18 @@ var BLIND_SURFACE_INVENTORY = {
|
|
|
11044
11067
|
"note": "ww29 discovery sweep (marker FULL100-SEED-1791096521, 2026-10-04): the unfiltered limit-2 read returned 0 rows \u2014 INCONCLUSIVE (tenant-empty-for-user vs blind for this API user; a 0/empty result here proves nothing). countries.get is the authority for a specific record.",
|
|
11045
11068
|
"proof": "discovery-sweep"
|
|
11046
11069
|
},
|
|
11070
|
+
{
|
|
11071
|
+
"resource": "currencies",
|
|
11072
|
+
"ops": [
|
|
11073
|
+
"count",
|
|
11074
|
+
"query"
|
|
11075
|
+
],
|
|
11076
|
+
"kind": "unknown",
|
|
11077
|
+
"unfilteredRows": null,
|
|
11078
|
+
"authority": "currencies.get",
|
|
11079
|
+
"note": "Not swept: currencies was added after the ww29 discovery sweep, so no unfiltered read has been made for any tenant. Whether this API user sees currency rows through count/query is unknown; currencies.get is the authority for a specific record.",
|
|
11080
|
+
"proof": "spec-derived"
|
|
11081
|
+
},
|
|
11047
11082
|
{
|
|
11048
11083
|
"resource": "departments",
|
|
11049
11084
|
"ops": [
|
|
@@ -11862,7 +11897,7 @@ var BLIND_SURFACE_INVENTORY = {
|
|
|
11862
11897
|
}
|
|
11863
11898
|
],
|
|
11864
11899
|
"counts": {
|
|
11865
|
-
"total":
|
|
11900
|
+
"total": 117,
|
|
11866
11901
|
"dataFull": 46,
|
|
11867
11902
|
"blind": 69,
|
|
11868
11903
|
"pinned": 6
|
|
@@ -11964,6 +11999,7 @@ var REACHABILITY_PROBE_DEFAULTS = {
|
|
|
11964
11999
|
"contract_ticket_purchases",
|
|
11965
12000
|
"contracts",
|
|
11966
12001
|
"countries",
|
|
12002
|
+
"currencies",
|
|
11967
12003
|
"expense_items",
|
|
11968
12004
|
"expense_reports",
|
|
11969
12005
|
"invoices",
|
|
@@ -14400,6 +14436,10 @@ var UNTRUSTED_FIELDS_BY_RESOURCE = {
|
|
|
14400
14436
|
"displayName",
|
|
14401
14437
|
"name"
|
|
14402
14438
|
],
|
|
14439
|
+
"currencies": [
|
|
14440
|
+
"description",
|
|
14441
|
+
"name"
|
|
14442
|
+
],
|
|
14403
14443
|
"departments": [
|
|
14404
14444
|
"description",
|
|
14405
14445
|
"name"
|
|
@@ -16300,7 +16340,7 @@ function capabilitySets() {
|
|
|
16300
16340
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
16301
16341
|
const udfOps = /* @__PURE__ */ new Map();
|
|
16302
16342
|
const resources = /* @__PURE__ */ new Set();
|
|
16303
|
-
for (const rec of
|
|
16343
|
+
for (const rec of _chunkWM6E5O55cjs.CAPABILITIES) {
|
|
16304
16344
|
if (rec.resource === "operations") continue;
|
|
16305
16345
|
resources.add(rec.resource);
|
|
16306
16346
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -16758,6 +16798,7 @@ var MODEL_FIELD_SETS = {
|
|
|
16758
16798
|
"contract_ticket_purchases": ["id", "contractID", "datePurchased", "endDate", "invoiceNumber", "isPaid", "paymentNumber", "paymentType", "perTicketRate", "startDate", "status", "ticketsPurchased", "ticketsUsed", "soapParentPropertyId"],
|
|
16759
16799
|
"contracts": ["id", "billingPreference", "billToCompanyContactID", "billToCompanyID", "companyID", "contactID", "contactName", "contractCategory", "contractExclusionSetID", "contractName", "contractNumber", "contractPeriodType", "contractType", "description", "endDate", "estimatedCost", "estimatedHours", "estimatedRevenue", "exclusionContractID", "internalCurrencyOverageBillingRate", "internalCurrencySetupFee", "isCompliant", "isDefaultContract", "lastModifiedDateTime", "opportunityID", "organizationalLevelAssociationID", "overageBillingRate", "purchaseOrderNumber", "renewedContractID", "serviceLevelAgreementID", "setupFee", "setupFeeBillingCodeID", "startDate", "status", "timeReportingRequiresStartAndStopTimes", "userDefinedFields"],
|
|
16760
16800
|
"countries": ["id", "addressFormatID", "countryCode", "displayName", "invoiceTemplateID", "isActive", "isDefaultCountry", "name", "purchaseOrderTemplateID", "quoteTemplateID"],
|
|
16801
|
+
"currencies": ["id", "currencyNegativeFormat", "currencyPositiveFormat", "description", "displaySymbol", "exchangeRate", "isActive", "isInternalCurrency", "lastModifiedDateTime", "name", "updateResourceId"],
|
|
16761
16802
|
"departments": ["id", "description", "name", "number", "primaryLocationID"],
|
|
16762
16803
|
"domain_registrars": ["id", "name", "url"],
|
|
16763
16804
|
"expense_item_attachments": ["id", "attachDate", "attachedByContactID", "attachedByResourceID", "attachmentType", "contentType", "creatorType", "expenseItemID", "expenseReportID", "fileSize", "fullPath", "impersonatorCreatorResourceID", "opportunityID", "parentID", "publish", "title", "data", "parentType", "soapParentPropertyId", "isTaskAttachment"],
|
|
@@ -16848,6 +16889,7 @@ var MODEL_DATE_FIELDS = {
|
|
|
16848
16889
|
"contract_service_units": ["approveAndPostDate", "endDate", "startDate"],
|
|
16849
16890
|
"contract_ticket_purchases": ["datePurchased", "endDate", "startDate"],
|
|
16850
16891
|
"contracts": ["endDate", "lastModifiedDateTime", "startDate"],
|
|
16892
|
+
"currencies": ["lastModifiedDateTime"],
|
|
16851
16893
|
"expense_item_attachments": ["attachDate"],
|
|
16852
16894
|
"expense_items": ["expenseDate"],
|
|
16853
16895
|
"expense_reports": ["approvedDate", "submitDate", "weekEnding"],
|