node-autotask 0.70.0 → 0.72.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 (40) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/MCP_TOOL_CATALOG.json +515 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +2108 -293
  5. package/dist/capabilities-data.js +2107 -292
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-TYUTIZWB.js → chunk-A4IRIYZ5.js} +6 -2
  9. package/dist/{chunk-3RANR2RY.js → chunk-EGG2RGL5.js} +433 -8
  10. package/dist/{chunk-MN5VLBCI.js → chunk-F2TYZKJS.js} +2 -2
  11. package/dist/{chunk-YQX45JBG.cjs → chunk-HJVTA7SI.cjs} +34 -30
  12. package/dist/{chunk-SCFB5MF3.js → chunk-K33DPJFK.js} +3 -3
  13. package/dist/{chunk-YRRTE2NF.cjs → chunk-KVC5DZAP.cjs} +438 -13
  14. package/dist/{chunk-KAZE4WC7.cjs → chunk-SPME362B.cjs} +3 -3
  15. package/dist/{chunk-GVP2WW47.cjs → chunk-V5UGW6KZ.cjs} +177 -177
  16. package/dist/{index-COQEG55Q.d.cts → index-BXnhBnhN.d.cts} +248 -1
  17. package/dist/{index-COQEG55Q.d.ts → index-BXnhBnhN.d.ts} +248 -1
  18. package/dist/{index-CGW80Uzc.d.cts → index-CqsY5YHt.d.cts} +7 -2
  19. package/dist/{index-By9Zw2Oc.d.ts → index-DxfspQR1.d.ts} +7 -2
  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 +51 -51
  25. package/dist/operations/index.d.cts +5 -5
  26. package/dist/operations/index.d.ts +5 -5
  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 +86 -6
  39. package/docs/RELEASING.md +11 -3
  40. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkGVP2WW47_cjs = require('./chunk-GVP2WW47.cjs');
4
- var chunkYRRTE2NF_cjs = require('./chunk-YRRTE2NF.cjs');
3
+ var chunkV5UGW6KZ_cjs = require('./chunk-V5UGW6KZ.cjs');
4
+ var chunkKVC5DZAP_cjs = require('./chunk-KVC5DZAP.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;
@@ -120,6 +123,7 @@ var AutotaskClient = class {
120
123
  tagAliases;
121
124
  tagGroups;
122
125
  tags;
126
+ taskNotes;
123
127
  tasks;
124
128
  taskSecondaryResources;
125
129
  taxRegions;
@@ -154,34 +158,34 @@ var AutotaskClient = class {
154
158
  * anything is wired. Construction issues NO request.
155
159
  */
156
160
  constructor(options) {
157
- this.config = chunkYRRTE2NF_cjs.resolveConfig(options);
158
- this.http = new chunkYRRTE2NF_cjs.HttpClient(this.config);
161
+ this.config = chunkKVC5DZAP_cjs.resolveConfig(options);
162
+ this.http = new chunkKVC5DZAP_cjs.HttpClient(this.config);
159
163
  this.http.client = this;
160
- for (const entry of chunkYRRTE2NF_cjs.SIMPLE_RESOURCES) {
161
- this[entry.accessor] = new chunkYRRTE2NF_cjs.GenericResource(this.http, entry, this.config.pageSize);
164
+ for (const entry of chunkKVC5DZAP_cjs.SIMPLE_RESOURCES) {
165
+ this[entry.accessor] = new chunkKVC5DZAP_cjs.GenericResource(this.http, entry, this.config.pageSize);
162
166
  }
163
- this.companies = new chunkYRRTE2NF_cjs.CompaniesResource(this.http, this.config.pageSize);
164
- this.configurationItems = new chunkGVP2WW47_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
165
- this.contacts = new chunkGVP2WW47_cjs.ContactsResource(this.http, this.config.pageSize);
166
- this.contracts = new chunkYRRTE2NF_cjs.ContractsResource(this.http, this.config.pageSize);
167
- this.inventoryProducts = new chunkGVP2WW47_cjs.InventoryProductsResource(this.http, this.config.pageSize);
168
- this.invoices = new chunkYRRTE2NF_cjs.InvoicesResource(this.http, this.config.pageSize);
169
- this.quotes = new chunkGVP2WW47_cjs.QuotesResource(this.http, this.config.pageSize);
170
- this.resourceTimeOffAdditional = new chunkGVP2WW47_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
171
- this.resourceTimeOffBalances = new chunkGVP2WW47_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
172
- this.resources = new chunkGVP2WW47_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
173
- this.serviceCalls = new chunkGVP2WW47_cjs.ServiceCallsResource(this.http, this.config.pageSize);
174
- this.ticketCharges = new chunkGVP2WW47_cjs.TicketChargesResource(this.http, this.config.pageSize);
175
- this.tickets = new chunkGVP2WW47_cjs.TicketsResource(this.http, this.config.pageSize);
176
- this.timeEntries = new chunkYRRTE2NF_cjs.TimeEntriesResource(this.http, this.config.pageSize);
177
- this.timeOffRequests = new chunkGVP2WW47_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
178
- this.authenticateResource = new chunkGVP2WW47_cjs.AuthenticateResource(this.http);
179
- this.entityInformation = new chunkGVP2WW47_cjs.EntityInformationResource(this.http);
180
- this.modules = new chunkGVP2WW47_cjs.ModulesResource(this.http);
181
- this.thresholdInformation = new chunkGVP2WW47_cjs.ThresholdInformationResource(this.http);
182
- this.version = new chunkGVP2WW47_cjs.VersionResource(this.http);
183
- this.versionInformation = new chunkGVP2WW47_cjs.VersionInformationResource(this.http);
184
- this.zoneInformation = new chunkGVP2WW47_cjs.ZoneInformationResource(this.http);
167
+ this.companies = new chunkKVC5DZAP_cjs.CompaniesResource(this.http, this.config.pageSize);
168
+ this.configurationItems = new chunkV5UGW6KZ_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
169
+ this.contacts = new chunkV5UGW6KZ_cjs.ContactsResource(this.http, this.config.pageSize);
170
+ this.contracts = new chunkKVC5DZAP_cjs.ContractsResource(this.http, this.config.pageSize);
171
+ this.inventoryProducts = new chunkV5UGW6KZ_cjs.InventoryProductsResource(this.http, this.config.pageSize);
172
+ this.invoices = new chunkKVC5DZAP_cjs.InvoicesResource(this.http, this.config.pageSize);
173
+ this.quotes = new chunkV5UGW6KZ_cjs.QuotesResource(this.http, this.config.pageSize);
174
+ this.resourceTimeOffAdditional = new chunkV5UGW6KZ_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
175
+ this.resourceTimeOffBalances = new chunkV5UGW6KZ_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
176
+ this.resources = new chunkV5UGW6KZ_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
177
+ this.serviceCalls = new chunkV5UGW6KZ_cjs.ServiceCallsResource(this.http, this.config.pageSize);
178
+ this.ticketCharges = new chunkV5UGW6KZ_cjs.TicketChargesResource(this.http, this.config.pageSize);
179
+ this.tickets = new chunkV5UGW6KZ_cjs.TicketsResource(this.http, this.config.pageSize);
180
+ this.timeEntries = new chunkKVC5DZAP_cjs.TimeEntriesResource(this.http, this.config.pageSize);
181
+ this.timeOffRequests = new chunkV5UGW6KZ_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
182
+ this.authenticateResource = new chunkV5UGW6KZ_cjs.AuthenticateResource(this.http);
183
+ this.entityInformation = new chunkV5UGW6KZ_cjs.EntityInformationResource(this.http);
184
+ this.modules = new chunkV5UGW6KZ_cjs.ModulesResource(this.http);
185
+ this.thresholdInformation = new chunkV5UGW6KZ_cjs.ThresholdInformationResource(this.http);
186
+ this.version = new chunkV5UGW6KZ_cjs.VersionResource(this.http);
187
+ this.versionInformation = new chunkV5UGW6KZ_cjs.VersionInformationResource(this.http);
188
+ this.zoneInformation = new chunkV5UGW6KZ_cjs.ZoneInformationResource(this.http);
185
189
  }
186
190
  /**
187
191
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -215,10 +219,10 @@ var AutotaskClient = class {
215
219
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
216
220
  */
217
221
  withSignal(signal, fn) {
218
- return chunkYRRTE2NF_cjs.runWithSignal(signal, fn);
222
+ return chunkKVC5DZAP_cjs.runWithSignal(signal, fn);
219
223
  }
220
224
  async batch(fn, items, opts = {}) {
221
- return chunkYRRTE2NF_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
225
+ return chunkKVC5DZAP_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
222
226
  }
223
227
  };
224
228
 
@@ -1,8 +1,8 @@
1
1
  // src/capabilities.ts
2
2
  var CAPABILITY_PLAN_HASHES = {
3
- "B": "959981d335cfd184d8b4e58074d1ab6997b2db87a62683ed13e99c149f8cd4fa",
4
- "A": "959981d335cfd184d8b4e58074d1ab6997b2db87a62683ed13e99c149f8cd4fa",
5
- "operations": "959981d335cfd184d8b4e58074d1ab6997b2db87a62683ed13e99c149f8cd4fa"
3
+ "B": "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25",
4
+ "A": "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25",
5
+ "operations": "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25"
6
6
  };
7
7
  var cached = null;
8
8
  function loadCapabilities() {