node-autotask 0.69.1 → 0.71.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 (43) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/MCP_TOOL_CATALOG.json +369 -9
  3. package/README.md +7 -1
  4. package/capabilities.json +1697 -392
  5. package/dist/capabilities-data.js +1696 -391
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-WFVLF7EW.cjs → chunk-4DSLRDIF.cjs} +33 -30
  9. package/dist/{chunk-FK37JXSJ.js → chunk-4OR3XBIP.js} +699 -168
  10. package/dist/{chunk-MMGO3SFL.js → chunk-5COLIVBE.js} +2 -2
  11. package/dist/{chunk-KAZE4WC7.cjs → chunk-JLCHKCEB.cjs} +3 -3
  12. package/dist/{chunk-SCFB5MF3.js → chunk-LKJA57CH.js} +3 -3
  13. package/dist/{chunk-EWXRFHPP.cjs → chunk-QJ327YI6.cjs} +177 -177
  14. package/dist/{chunk-CLHDTYWO.cjs → chunk-QQFF7X67.cjs} +704 -172
  15. package/dist/{chunk-64BMSXWT.js → chunk-YKQ2KNQO.js} +5 -2
  16. package/dist/{index-BT_0tTPS.d.cts → index-CAXT5ZKT.d.cts} +14 -4
  17. package/dist/{index-COQEG55Q.d.cts → index-CM_SRgtH.d.cts} +209 -1
  18. package/dist/{index-COQEG55Q.d.ts → index-CM_SRgtH.d.ts} +209 -1
  19. package/dist/{index-Coe7LFLY.d.ts → index-lGpxr4gY.d.ts} +14 -4
  20. package/dist/index.cjs +84 -84
  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 +54 -50
  25. package/dist/operations/index.d.cts +25 -7
  26. package/dist/operations/index.d.ts +25 -7
  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 +108 -2
  39. package/docs/N8N-ADAPTER.md +1 -1
  40. package/docs/RELEASING.md +11 -3
  41. package/docs/performance-caching.md +92 -0
  42. package/docs/performance-reads.md +9 -1
  43. package/package.json +1 -1
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkKAZE4WC7_cjs = require('./chunk-KAZE4WC7.cjs');
3
+ var chunkJLCHKCEB_cjs = require('./chunk-JLCHKCEB.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CAPABILITY_PLAN_HASHES", {
8
8
  enumerable: true,
9
- get: function () { return chunkKAZE4WC7_cjs.CAPABILITY_PLAN_HASHES; }
9
+ get: function () { return chunkJLCHKCEB_cjs.CAPABILITY_PLAN_HASHES; }
10
10
  });
11
11
  Object.defineProperty(exports, "loadCapabilities", {
12
12
  enumerable: true,
13
- get: function () { return chunkKAZE4WC7_cjs.loadCapabilities; }
13
+ get: function () { return chunkJLCHKCEB_cjs.loadCapabilities; }
14
14
  });
15
15
  Object.defineProperty(exports, "loadCapabilityRecords", {
16
16
  enumerable: true,
17
- get: function () { return chunkKAZE4WC7_cjs.loadCapabilityRecords; }
17
+ get: function () { return chunkJLCHKCEB_cjs.loadCapabilityRecords; }
18
18
  });
@@ -1 +1 @@
1
- export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-SCFB5MF3.js';
1
+ export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-LKJA57CH.js';
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkEWXRFHPP_cjs = require('./chunk-EWXRFHPP.cjs');
4
- var chunkCLHDTYWO_cjs = require('./chunk-CLHDTYWO.cjs');
3
+ var chunkQJ327YI6_cjs = require('./chunk-QJ327YI6.cjs');
4
+ var chunkQQFF7X67_cjs = require('./chunk-QQFF7X67.cjs');
5
5
 
6
6
  // src/client.ts
7
7
  var AutotaskClient = class {
@@ -11,6 +11,7 @@ var AutotaskClient = class {
11
11
  http;
12
12
  // [GENERATED:RESOURCE_ACCESSORS:START]
13
13
  appointments;
14
+ attachmentInfo;
14
15
  authenticateResource;
15
16
  billingCodes;
16
17
  billingItemApprovalLevels;
@@ -21,7 +22,9 @@ var AutotaskClient = class {
21
22
  classificationIcons;
22
23
  companies;
23
24
  companyAlerts;
25
+ companyAttachments;
24
26
  companyLocations;
27
+ companyNoteAttachments;
25
28
  companyNotes;
26
29
  companySiteConfigurations;
27
30
  companyWebhooks;
@@ -154,34 +157,34 @@ var AutotaskClient = class {
154
157
  * anything is wired. Construction issues NO request.
155
158
  */
156
159
  constructor(options) {
157
- this.config = chunkCLHDTYWO_cjs.resolveConfig(options);
158
- this.http = new chunkCLHDTYWO_cjs.HttpClient(this.config);
160
+ this.config = chunkQQFF7X67_cjs.resolveConfig(options);
161
+ this.http = new chunkQQFF7X67_cjs.HttpClient(this.config);
159
162
  this.http.client = this;
160
- for (const entry of chunkCLHDTYWO_cjs.SIMPLE_RESOURCES) {
161
- this[entry.accessor] = new chunkCLHDTYWO_cjs.GenericResource(this.http, entry, this.config.pageSize);
163
+ for (const entry of chunkQQFF7X67_cjs.SIMPLE_RESOURCES) {
164
+ this[entry.accessor] = new chunkQQFF7X67_cjs.GenericResource(this.http, entry, this.config.pageSize);
162
165
  }
163
- this.companies = new chunkCLHDTYWO_cjs.CompaniesResource(this.http, this.config.pageSize);
164
- this.configurationItems = new chunkEWXRFHPP_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
165
- this.contacts = new chunkEWXRFHPP_cjs.ContactsResource(this.http, this.config.pageSize);
166
- this.contracts = new chunkCLHDTYWO_cjs.ContractsResource(this.http, this.config.pageSize);
167
- this.inventoryProducts = new chunkEWXRFHPP_cjs.InventoryProductsResource(this.http, this.config.pageSize);
168
- this.invoices = new chunkCLHDTYWO_cjs.InvoicesResource(this.http, this.config.pageSize);
169
- this.quotes = new chunkEWXRFHPP_cjs.QuotesResource(this.http, this.config.pageSize);
170
- this.resourceTimeOffAdditional = new chunkEWXRFHPP_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
171
- this.resourceTimeOffBalances = new chunkEWXRFHPP_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
172
- this.resources = new chunkEWXRFHPP_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
173
- this.serviceCalls = new chunkEWXRFHPP_cjs.ServiceCallsResource(this.http, this.config.pageSize);
174
- this.ticketCharges = new chunkEWXRFHPP_cjs.TicketChargesResource(this.http, this.config.pageSize);
175
- this.tickets = new chunkEWXRFHPP_cjs.TicketsResource(this.http, this.config.pageSize);
176
- this.timeEntries = new chunkCLHDTYWO_cjs.TimeEntriesResource(this.http, this.config.pageSize);
177
- this.timeOffRequests = new chunkEWXRFHPP_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
178
- this.authenticateResource = new chunkEWXRFHPP_cjs.AuthenticateResource(this.http);
179
- this.entityInformation = new chunkEWXRFHPP_cjs.EntityInformationResource(this.http);
180
- this.modules = new chunkEWXRFHPP_cjs.ModulesResource(this.http);
181
- this.thresholdInformation = new chunkEWXRFHPP_cjs.ThresholdInformationResource(this.http);
182
- this.version = new chunkEWXRFHPP_cjs.VersionResource(this.http);
183
- this.versionInformation = new chunkEWXRFHPP_cjs.VersionInformationResource(this.http);
184
- this.zoneInformation = new chunkEWXRFHPP_cjs.ZoneInformationResource(this.http);
166
+ this.companies = new chunkQQFF7X67_cjs.CompaniesResource(this.http, this.config.pageSize);
167
+ this.configurationItems = new chunkQJ327YI6_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
168
+ this.contacts = new chunkQJ327YI6_cjs.ContactsResource(this.http, this.config.pageSize);
169
+ this.contracts = new chunkQQFF7X67_cjs.ContractsResource(this.http, this.config.pageSize);
170
+ this.inventoryProducts = new chunkQJ327YI6_cjs.InventoryProductsResource(this.http, this.config.pageSize);
171
+ this.invoices = new chunkQQFF7X67_cjs.InvoicesResource(this.http, this.config.pageSize);
172
+ this.quotes = new chunkQJ327YI6_cjs.QuotesResource(this.http, this.config.pageSize);
173
+ this.resourceTimeOffAdditional = new chunkQJ327YI6_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
174
+ this.resourceTimeOffBalances = new chunkQJ327YI6_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
175
+ this.resources = new chunkQJ327YI6_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
176
+ this.serviceCalls = new chunkQJ327YI6_cjs.ServiceCallsResource(this.http, this.config.pageSize);
177
+ this.ticketCharges = new chunkQJ327YI6_cjs.TicketChargesResource(this.http, this.config.pageSize);
178
+ this.tickets = new chunkQJ327YI6_cjs.TicketsResource(this.http, this.config.pageSize);
179
+ this.timeEntries = new chunkQQFF7X67_cjs.TimeEntriesResource(this.http, this.config.pageSize);
180
+ this.timeOffRequests = new chunkQJ327YI6_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
181
+ this.authenticateResource = new chunkQJ327YI6_cjs.AuthenticateResource(this.http);
182
+ this.entityInformation = new chunkQJ327YI6_cjs.EntityInformationResource(this.http);
183
+ this.modules = new chunkQJ327YI6_cjs.ModulesResource(this.http);
184
+ this.thresholdInformation = new chunkQJ327YI6_cjs.ThresholdInformationResource(this.http);
185
+ this.version = new chunkQJ327YI6_cjs.VersionResource(this.http);
186
+ this.versionInformation = new chunkQJ327YI6_cjs.VersionInformationResource(this.http);
187
+ this.zoneInformation = new chunkQJ327YI6_cjs.ZoneInformationResource(this.http);
185
188
  }
186
189
  /**
187
190
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -215,10 +218,10 @@ var AutotaskClient = class {
215
218
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
216
219
  */
217
220
  withSignal(signal, fn) {
218
- return chunkCLHDTYWO_cjs.runWithSignal(signal, fn);
221
+ return chunkQQFF7X67_cjs.runWithSignal(signal, fn);
219
222
  }
220
223
  async batch(fn, items, opts = {}) {
221
- return chunkCLHDTYWO_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
224
+ return chunkQQFF7X67_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
222
225
  }
223
226
  };
224
227