node-autotask 0.90.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 +8 -0
  2. package/MCP_TOOL_CATALOG.json +360 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +2022 -655
  5. package/dist/capabilities-data.js +2021 -654
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-K5X4BPQC.js → chunk-2MC3LDZU.js} +3 -3
  9. package/dist/{chunk-4CI27SCM.cjs → chunk-ATDGRAX2.cjs} +33 -30
  10. package/dist/{chunk-HU6OGAPI.js → chunk-ELAU2MT5.js} +5 -2
  11. package/dist/{chunk-OI6E5XQA.cjs → chunk-H24SV774.cjs} +473 -122
  12. package/dist/{chunk-D7MJC7HA.cjs → chunk-JPZ7M7QI.cjs} +200 -200
  13. package/dist/{chunk-CY6USWUY.js → chunk-NQNAEA23.js} +468 -117
  14. package/dist/{chunk-ZLMYYO7R.cjs → chunk-QXJQIZCT.cjs} +3 -3
  15. package/dist/{chunk-Q73VQSUP.js → chunk-XAOWO42G.js} +2 -2
  16. package/dist/{index-4jmitXBs.d.cts → index-B9y5IwT1.d.cts} +115 -1
  17. package/dist/{index-4jmitXBs.d.ts → index-B9y5IwT1.d.ts} +115 -1
  18. package/dist/{index-DWyJAad_.d.ts → index-U7Lepdm2.d.ts} +10 -5
  19. package/dist/{index-BEqbDuMk.d.cts → index-lWek2NrV.d.cts} +10 -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 +5 -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 chunkZLMYYO7R_cjs = require('./chunk-ZLMYYO7R.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 chunkZLMYYO7R_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 chunkZLMYYO7R_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 chunkZLMYYO7R_cjs.loadCapabilityRecords; }
17
+ get: function () { return chunkQXJQIZCT_cjs.loadCapabilityRecords; }
18
18
  });
@@ -1 +1 @@
1
- export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-K5X4BPQC.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": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
4
- "A": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
5
- "operations": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c"
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 chunkD7MJC7HA_cjs = require('./chunk-D7MJC7HA.cjs');
4
- var chunkOI6E5XQA_cjs = require('./chunk-OI6E5XQA.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 {
@@ -81,6 +81,8 @@ var AutotaskClient = class {
81
81
  expenseReports;
82
82
  holidays;
83
83
  holidaySets;
84
+ internalLocations;
85
+ inventoryItems;
84
86
  inventoryLocations;
85
87
  inventoryProducts;
86
88
  invoices;
@@ -129,6 +131,7 @@ var AutotaskClient = class {
129
131
  serviceCallTickets;
130
132
  serviceLevelAgreementResults;
131
133
  services;
134
+ shippingTypes;
132
135
  skills;
133
136
  subscriptionPeriods;
134
137
  subscriptions;
@@ -175,34 +178,34 @@ var AutotaskClient = class {
175
178
  * anything is wired. Construction issues NO request.
176
179
  */
177
180
  constructor(options) {
178
- this.config = chunkOI6E5XQA_cjs.resolveConfig(options);
179
- this.http = new chunkOI6E5XQA_cjs.HttpClient(this.config);
181
+ this.config = chunkH24SV774_cjs.resolveConfig(options);
182
+ this.http = new chunkH24SV774_cjs.HttpClient(this.config);
180
183
  this.http.client = this;
181
- for (const entry of chunkOI6E5XQA_cjs.SIMPLE_RESOURCES) {
182
- this[entry.accessor] = new chunkOI6E5XQA_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);
183
186
  }
184
- this.companies = new chunkOI6E5XQA_cjs.CompaniesResource(this.http, this.config.pageSize);
185
- this.configurationItems = new chunkD7MJC7HA_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
186
- this.contacts = new chunkD7MJC7HA_cjs.ContactsResource(this.http, this.config.pageSize);
187
- this.contracts = new chunkOI6E5XQA_cjs.ContractsResource(this.http, this.config.pageSize);
188
- this.inventoryProducts = new chunkD7MJC7HA_cjs.InventoryProductsResource(this.http, this.config.pageSize);
189
- this.invoices = new chunkOI6E5XQA_cjs.InvoicesResource(this.http, this.config.pageSize);
190
- this.quotes = new chunkD7MJC7HA_cjs.QuotesResource(this.http, this.config.pageSize);
191
- this.resourceTimeOffAdditional = new chunkD7MJC7HA_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
192
- this.resourceTimeOffBalances = new chunkD7MJC7HA_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
193
- this.resources = new chunkD7MJC7HA_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
194
- this.serviceCalls = new chunkD7MJC7HA_cjs.ServiceCallsResource(this.http, this.config.pageSize);
195
- this.ticketCharges = new chunkD7MJC7HA_cjs.TicketChargesResource(this.http, this.config.pageSize);
196
- this.tickets = new chunkD7MJC7HA_cjs.TicketsResource(this.http, this.config.pageSize);
197
- this.timeEntries = new chunkOI6E5XQA_cjs.TimeEntriesResource(this.http, this.config.pageSize);
198
- this.timeOffRequests = new chunkD7MJC7HA_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
199
- this.authenticateResource = new chunkD7MJC7HA_cjs.AuthenticateResource(this.http);
200
- this.entityInformation = new chunkD7MJC7HA_cjs.EntityInformationResource(this.http);
201
- this.modules = new chunkD7MJC7HA_cjs.ModulesResource(this.http);
202
- this.thresholdInformation = new chunkD7MJC7HA_cjs.ThresholdInformationResource(this.http);
203
- this.version = new chunkD7MJC7HA_cjs.VersionResource(this.http);
204
- this.versionInformation = new chunkD7MJC7HA_cjs.VersionInformationResource(this.http);
205
- this.zoneInformation = new chunkD7MJC7HA_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);
206
209
  }
207
210
  /**
208
211
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -236,10 +239,10 @@ var AutotaskClient = class {
236
239
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
237
240
  */
238
241
  withSignal(signal, fn) {
239
- return chunkOI6E5XQA_cjs.runWithSignal(signal, fn);
242
+ return chunkH24SV774_cjs.runWithSignal(signal, fn);
240
243
  }
241
244
  async batch(fn, items, opts = {}) {
242
- return chunkOI6E5XQA_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 });
243
246
  }
244
247
  };
245
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-Q73VQSUP.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-CY6USWUY.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 {
@@ -79,6 +79,8 @@ var AutotaskClient = class {
79
79
  expenseReports;
80
80
  holidays;
81
81
  holidaySets;
82
+ internalLocations;
83
+ inventoryItems;
82
84
  inventoryLocations;
83
85
  inventoryProducts;
84
86
  invoices;
@@ -127,6 +129,7 @@ var AutotaskClient = class {
127
129
  serviceCallTickets;
128
130
  serviceLevelAgreementResults;
129
131
  services;
132
+ shippingTypes;
130
133
  skills;
131
134
  subscriptionPeriods;
132
135
  subscriptions;