node-autotask 0.91.0 → 0.92.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/MCP_TOOL_CATALOG.json +152 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +575 -28
  5. package/dist/capabilities-data.js +574 -27
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-43ADHLZJ.js → chunk-2MC3LDZU.js} +3 -3
  9. package/dist/{chunk-YFC5VAKK.cjs → chunk-ATDGRAX2.cjs} +31 -30
  10. package/dist/{chunk-Y2KXGSWM.js → chunk-ELAU2MT5.js} +3 -2
  11. package/dist/{chunk-RXXITZH4.cjs → chunk-H24SV774.cjs} +377 -114
  12. package/dist/{chunk-5PUHGPKG.cjs → chunk-JPZ7M7QI.cjs} +200 -200
  13. package/dist/{chunk-2GP7W6QB.js → chunk-NQNAEA23.js} +372 -109
  14. package/dist/{chunk-KRYDLTY3.cjs → chunk-QXJQIZCT.cjs} +3 -3
  15. package/dist/{chunk-WAHRZDV4.js → chunk-XAOWO42G.js} +2 -2
  16. package/dist/{index-Dy92Xbpv.d.cts → index-B9y5IwT1.d.cts} +41 -1
  17. package/dist/{index-Dy92Xbpv.d.ts → index-B9y5IwT1.d.ts} +41 -1
  18. package/dist/{index-C3jXvpXZ.d.ts → index-U7Lepdm2.d.ts} +8 -5
  19. package/dist/{index-BfGOllfY.d.cts → index-lWek2NrV.d.cts} +8 -5
  20. package/dist/index.cjs +85 -85
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +51 -51
  25. package/dist/operations/index.d.cts +6 -4
  26. package/dist/operations/index.d.ts +6 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +12 -12
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +3 -2
  39. package/examples/mcp/manifest.ts +1 -1
  40. package/examples/mcp/tools-mode.ts +15 -6
  41. package/examples/mcp/tools-read.ts +8 -2
  42. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkKRYDLTY3_cjs = require('./chunk-KRYDLTY3.cjs');
3
+ var chunkQXJQIZCT_cjs = require('./chunk-QXJQIZCT.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CAPABILITY_PLAN_HASHES", {
8
8
  enumerable: true,
9
- get: function () { return chunkKRYDLTY3_cjs.CAPABILITY_PLAN_HASHES; }
9
+ get: function () { return chunkQXJQIZCT_cjs.CAPABILITY_PLAN_HASHES; }
10
10
  });
11
11
  Object.defineProperty(exports, "loadCapabilities", {
12
12
  enumerable: true,
13
- get: function () { return chunkKRYDLTY3_cjs.loadCapabilities; }
13
+ get: function () { return chunkQXJQIZCT_cjs.loadCapabilities; }
14
14
  });
15
15
  Object.defineProperty(exports, "loadCapabilityRecords", {
16
16
  enumerable: true,
17
- get: function () { return chunkKRYDLTY3_cjs.loadCapabilityRecords; }
17
+ get: function () { return chunkQXJQIZCT_cjs.loadCapabilityRecords; }
18
18
  });
@@ -1 +1 @@
1
- export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-43ADHLZJ.js';
1
+ export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-2MC3LDZU.js';
@@ -1,8 +1,8 @@
1
1
  // src/capabilities.ts
2
2
  var CAPABILITY_PLAN_HASHES = {
3
- "B": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
4
- "A": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505",
5
- "operations": "fe0c9ce6a957bb730c1bdb9fb46498e61e2d04cc1cdd861d796ac26f982ab505"
3
+ "B": "21e75d0f8bf9986b21c6b7996dfb1fec78b3aaa9afa86f50f5351c54c733d4ac",
4
+ "A": "21e75d0f8bf9986b21c6b7996dfb1fec78b3aaa9afa86f50f5351c54c733d4ac",
5
+ "operations": "21e75d0f8bf9986b21c6b7996dfb1fec78b3aaa9afa86f50f5351c54c733d4ac"
6
6
  };
7
7
  var cached = null;
8
8
  function loadCapabilities() {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunk5PUHGPKG_cjs = require('./chunk-5PUHGPKG.cjs');
4
- var chunkRXXITZH4_cjs = require('./chunk-RXXITZH4.cjs');
3
+ var chunkJPZ7M7QI_cjs = require('./chunk-JPZ7M7QI.cjs');
4
+ var chunkH24SV774_cjs = require('./chunk-H24SV774.cjs');
5
5
 
6
6
  // src/client.ts
7
7
  var AutotaskClient = class {
@@ -82,6 +82,7 @@ var AutotaskClient = class {
82
82
  holidays;
83
83
  holidaySets;
84
84
  internalLocations;
85
+ inventoryItems;
85
86
  inventoryLocations;
86
87
  inventoryProducts;
87
88
  invoices;
@@ -177,34 +178,34 @@ var AutotaskClient = class {
177
178
  * anything is wired. Construction issues NO request.
178
179
  */
179
180
  constructor(options) {
180
- this.config = chunkRXXITZH4_cjs.resolveConfig(options);
181
- this.http = new chunkRXXITZH4_cjs.HttpClient(this.config);
181
+ this.config = chunkH24SV774_cjs.resolveConfig(options);
182
+ this.http = new chunkH24SV774_cjs.HttpClient(this.config);
182
183
  this.http.client = this;
183
- for (const entry of chunkRXXITZH4_cjs.SIMPLE_RESOURCES) {
184
- this[entry.accessor] = new chunkRXXITZH4_cjs.GenericResource(this.http, entry, this.config.pageSize);
184
+ for (const entry of chunkH24SV774_cjs.SIMPLE_RESOURCES) {
185
+ this[entry.accessor] = new chunkH24SV774_cjs.GenericResource(this.http, entry, this.config.pageSize);
185
186
  }
186
- this.companies = new chunkRXXITZH4_cjs.CompaniesResource(this.http, this.config.pageSize);
187
- this.configurationItems = new chunk5PUHGPKG_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
188
- this.contacts = new chunk5PUHGPKG_cjs.ContactsResource(this.http, this.config.pageSize);
189
- this.contracts = new chunkRXXITZH4_cjs.ContractsResource(this.http, this.config.pageSize);
190
- this.inventoryProducts = new chunk5PUHGPKG_cjs.InventoryProductsResource(this.http, this.config.pageSize);
191
- this.invoices = new chunkRXXITZH4_cjs.InvoicesResource(this.http, this.config.pageSize);
192
- this.quotes = new chunk5PUHGPKG_cjs.QuotesResource(this.http, this.config.pageSize);
193
- this.resourceTimeOffAdditional = new chunk5PUHGPKG_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
194
- this.resourceTimeOffBalances = new chunk5PUHGPKG_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
195
- this.resources = new chunk5PUHGPKG_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
196
- this.serviceCalls = new chunk5PUHGPKG_cjs.ServiceCallsResource(this.http, this.config.pageSize);
197
- this.ticketCharges = new chunk5PUHGPKG_cjs.TicketChargesResource(this.http, this.config.pageSize);
198
- this.tickets = new chunk5PUHGPKG_cjs.TicketsResource(this.http, this.config.pageSize);
199
- this.timeEntries = new chunkRXXITZH4_cjs.TimeEntriesResource(this.http, this.config.pageSize);
200
- this.timeOffRequests = new chunk5PUHGPKG_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
201
- this.authenticateResource = new chunk5PUHGPKG_cjs.AuthenticateResource(this.http);
202
- this.entityInformation = new chunk5PUHGPKG_cjs.EntityInformationResource(this.http);
203
- this.modules = new chunk5PUHGPKG_cjs.ModulesResource(this.http);
204
- this.thresholdInformation = new chunk5PUHGPKG_cjs.ThresholdInformationResource(this.http);
205
- this.version = new chunk5PUHGPKG_cjs.VersionResource(this.http);
206
- this.versionInformation = new chunk5PUHGPKG_cjs.VersionInformationResource(this.http);
207
- this.zoneInformation = new chunk5PUHGPKG_cjs.ZoneInformationResource(this.http);
187
+ this.companies = new chunkH24SV774_cjs.CompaniesResource(this.http, this.config.pageSize);
188
+ this.configurationItems = new chunkJPZ7M7QI_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
189
+ this.contacts = new chunkJPZ7M7QI_cjs.ContactsResource(this.http, this.config.pageSize);
190
+ this.contracts = new chunkH24SV774_cjs.ContractsResource(this.http, this.config.pageSize);
191
+ this.inventoryProducts = new chunkJPZ7M7QI_cjs.InventoryProductsResource(this.http, this.config.pageSize);
192
+ this.invoices = new chunkH24SV774_cjs.InvoicesResource(this.http, this.config.pageSize);
193
+ this.quotes = new chunkJPZ7M7QI_cjs.QuotesResource(this.http, this.config.pageSize);
194
+ this.resourceTimeOffAdditional = new chunkJPZ7M7QI_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
195
+ this.resourceTimeOffBalances = new chunkJPZ7M7QI_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
196
+ this.resources = new chunkJPZ7M7QI_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
197
+ this.serviceCalls = new chunkJPZ7M7QI_cjs.ServiceCallsResource(this.http, this.config.pageSize);
198
+ this.ticketCharges = new chunkJPZ7M7QI_cjs.TicketChargesResource(this.http, this.config.pageSize);
199
+ this.tickets = new chunkJPZ7M7QI_cjs.TicketsResource(this.http, this.config.pageSize);
200
+ this.timeEntries = new chunkH24SV774_cjs.TimeEntriesResource(this.http, this.config.pageSize);
201
+ this.timeOffRequests = new chunkJPZ7M7QI_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
202
+ this.authenticateResource = new chunkJPZ7M7QI_cjs.AuthenticateResource(this.http);
203
+ this.entityInformation = new chunkJPZ7M7QI_cjs.EntityInformationResource(this.http);
204
+ this.modules = new chunkJPZ7M7QI_cjs.ModulesResource(this.http);
205
+ this.thresholdInformation = new chunkJPZ7M7QI_cjs.ThresholdInformationResource(this.http);
206
+ this.version = new chunkJPZ7M7QI_cjs.VersionResource(this.http);
207
+ this.versionInformation = new chunkJPZ7M7QI_cjs.VersionInformationResource(this.http);
208
+ this.zoneInformation = new chunkJPZ7M7QI_cjs.ZoneInformationResource(this.http);
208
209
  }
209
210
  /**
210
211
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -238,10 +239,10 @@ var AutotaskClient = class {
238
239
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
239
240
  */
240
241
  withSignal(signal, fn) {
241
- return chunkRXXITZH4_cjs.runWithSignal(signal, fn);
242
+ return chunkH24SV774_cjs.runWithSignal(signal, fn);
242
243
  }
243
244
  async batch(fn, items, opts = {}) {
244
- return chunkRXXITZH4_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
245
+ return chunkH24SV774_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
245
246
  }
246
247
  };
247
248
 
@@ -1,5 +1,5 @@
1
- import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-WAHRZDV4.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-2GP7W6QB.js';
1
+ import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-XAOWO42G.js';
2
+ import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-NQNAEA23.js';
3
3
 
4
4
  // src/client.ts
5
5
  var AutotaskClient = class {
@@ -80,6 +80,7 @@ var AutotaskClient = class {
80
80
  holidays;
81
81
  holidaySets;
82
82
  internalLocations;
83
+ inventoryItems;
83
84
  inventoryLocations;
84
85
  inventoryProducts;
85
86
  invoices;