node-autotask 0.74.0 → 0.76.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 (39) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/MCP_TOOL_CATALOG.json +265 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +1219 -217
  5. package/dist/capabilities-data.js +1449 -447
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-HJKY7LUL.js → chunk-3SFIKG2R.js} +575 -215
  9. package/dist/{chunk-DSQJTGXK.cjs → chunk-55BQEFBO.cjs} +32 -30
  10. package/dist/{chunk-ASL3BIW2.cjs → chunk-C4S3EKIK.cjs} +3 -3
  11. package/dist/{chunk-IWTTCBCS.js → chunk-ECSE6B3U.js} +3 -3
  12. package/dist/{chunk-IFE5FWS7.js → chunk-S7QPD6TR.js} +2 -2
  13. package/dist/{chunk-PGSDJS52.js → chunk-UFK7JYYC.js} +4 -2
  14. package/dist/{chunk-AMB54GOO.cjs → chunk-Y4BH5N6R.cjs} +580 -220
  15. package/dist/{chunk-QZY5LAOG.cjs → chunk-YRTOAPWD.cjs} +199 -199
  16. package/dist/{index-CH65Ftmy.d.cts → index-BbAzrm2i.d.cts} +95 -1
  17. package/dist/{index-CH65Ftmy.d.ts → index-BbAzrm2i.d.ts} +95 -1
  18. package/dist/{index-ColCzIyw.d.ts → index-CY7exGOe.d.ts} +7 -8
  19. package/dist/{index-CkBDlaSS.d.cts → index-MY7qYY5d.d.cts} +7 -8
  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 +4 -4
  26. package/dist/operations/index.d.ts +4 -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 +4 -2
  39. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkQZY5LAOG_cjs = require('./chunk-QZY5LAOG.cjs');
4
- var chunkAMB54GOO_cjs = require('./chunk-AMB54GOO.cjs');
3
+ var chunkYRTOAPWD_cjs = require('./chunk-YRTOAPWD.cjs');
4
+ var chunkY4BH5N6R_cjs = require('./chunk-Y4BH5N6R.cjs');
5
5
 
6
6
  // src/client.ts
7
7
  var AutotaskClient = class {
@@ -123,6 +123,8 @@ var AutotaskClient = class {
123
123
  tagAliases;
124
124
  tagGroups;
125
125
  tags;
126
+ taskAttachments;
127
+ taskNoteAttachments;
126
128
  taskNotes;
127
129
  taskPredecessors;
128
130
  tasks;
@@ -159,34 +161,34 @@ var AutotaskClient = class {
159
161
  * anything is wired. Construction issues NO request.
160
162
  */
161
163
  constructor(options) {
162
- this.config = chunkAMB54GOO_cjs.resolveConfig(options);
163
- this.http = new chunkAMB54GOO_cjs.HttpClient(this.config);
164
+ this.config = chunkY4BH5N6R_cjs.resolveConfig(options);
165
+ this.http = new chunkY4BH5N6R_cjs.HttpClient(this.config);
164
166
  this.http.client = this;
165
- for (const entry of chunkAMB54GOO_cjs.SIMPLE_RESOURCES) {
166
- this[entry.accessor] = new chunkAMB54GOO_cjs.GenericResource(this.http, entry, this.config.pageSize);
167
+ for (const entry of chunkY4BH5N6R_cjs.SIMPLE_RESOURCES) {
168
+ this[entry.accessor] = new chunkY4BH5N6R_cjs.GenericResource(this.http, entry, this.config.pageSize);
167
169
  }
168
- this.companies = new chunkAMB54GOO_cjs.CompaniesResource(this.http, this.config.pageSize);
169
- this.configurationItems = new chunkQZY5LAOG_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
170
- this.contacts = new chunkQZY5LAOG_cjs.ContactsResource(this.http, this.config.pageSize);
171
- this.contracts = new chunkAMB54GOO_cjs.ContractsResource(this.http, this.config.pageSize);
172
- this.inventoryProducts = new chunkQZY5LAOG_cjs.InventoryProductsResource(this.http, this.config.pageSize);
173
- this.invoices = new chunkAMB54GOO_cjs.InvoicesResource(this.http, this.config.pageSize);
174
- this.quotes = new chunkQZY5LAOG_cjs.QuotesResource(this.http, this.config.pageSize);
175
- this.resourceTimeOffAdditional = new chunkQZY5LAOG_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
176
- this.resourceTimeOffBalances = new chunkQZY5LAOG_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
177
- this.resources = new chunkQZY5LAOG_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
178
- this.serviceCalls = new chunkQZY5LAOG_cjs.ServiceCallsResource(this.http, this.config.pageSize);
179
- this.ticketCharges = new chunkQZY5LAOG_cjs.TicketChargesResource(this.http, this.config.pageSize);
180
- this.tickets = new chunkQZY5LAOG_cjs.TicketsResource(this.http, this.config.pageSize);
181
- this.timeEntries = new chunkAMB54GOO_cjs.TimeEntriesResource(this.http, this.config.pageSize);
182
- this.timeOffRequests = new chunkQZY5LAOG_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
183
- this.authenticateResource = new chunkQZY5LAOG_cjs.AuthenticateResource(this.http);
184
- this.entityInformation = new chunkQZY5LAOG_cjs.EntityInformationResource(this.http);
185
- this.modules = new chunkQZY5LAOG_cjs.ModulesResource(this.http);
186
- this.thresholdInformation = new chunkQZY5LAOG_cjs.ThresholdInformationResource(this.http);
187
- this.version = new chunkQZY5LAOG_cjs.VersionResource(this.http);
188
- this.versionInformation = new chunkQZY5LAOG_cjs.VersionInformationResource(this.http);
189
- this.zoneInformation = new chunkQZY5LAOG_cjs.ZoneInformationResource(this.http);
170
+ this.companies = new chunkY4BH5N6R_cjs.CompaniesResource(this.http, this.config.pageSize);
171
+ this.configurationItems = new chunkYRTOAPWD_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
172
+ this.contacts = new chunkYRTOAPWD_cjs.ContactsResource(this.http, this.config.pageSize);
173
+ this.contracts = new chunkY4BH5N6R_cjs.ContractsResource(this.http, this.config.pageSize);
174
+ this.inventoryProducts = new chunkYRTOAPWD_cjs.InventoryProductsResource(this.http, this.config.pageSize);
175
+ this.invoices = new chunkY4BH5N6R_cjs.InvoicesResource(this.http, this.config.pageSize);
176
+ this.quotes = new chunkYRTOAPWD_cjs.QuotesResource(this.http, this.config.pageSize);
177
+ this.resourceTimeOffAdditional = new chunkYRTOAPWD_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
178
+ this.resourceTimeOffBalances = new chunkYRTOAPWD_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
179
+ this.resources = new chunkYRTOAPWD_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
180
+ this.serviceCalls = new chunkYRTOAPWD_cjs.ServiceCallsResource(this.http, this.config.pageSize);
181
+ this.ticketCharges = new chunkYRTOAPWD_cjs.TicketChargesResource(this.http, this.config.pageSize);
182
+ this.tickets = new chunkYRTOAPWD_cjs.TicketsResource(this.http, this.config.pageSize);
183
+ this.timeEntries = new chunkY4BH5N6R_cjs.TimeEntriesResource(this.http, this.config.pageSize);
184
+ this.timeOffRequests = new chunkYRTOAPWD_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
185
+ this.authenticateResource = new chunkYRTOAPWD_cjs.AuthenticateResource(this.http);
186
+ this.entityInformation = new chunkYRTOAPWD_cjs.EntityInformationResource(this.http);
187
+ this.modules = new chunkYRTOAPWD_cjs.ModulesResource(this.http);
188
+ this.thresholdInformation = new chunkYRTOAPWD_cjs.ThresholdInformationResource(this.http);
189
+ this.version = new chunkYRTOAPWD_cjs.VersionResource(this.http);
190
+ this.versionInformation = new chunkYRTOAPWD_cjs.VersionInformationResource(this.http);
191
+ this.zoneInformation = new chunkYRTOAPWD_cjs.ZoneInformationResource(this.http);
190
192
  }
191
193
  /**
192
194
  * `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
@@ -220,10 +222,10 @@ var AutotaskClient = class {
220
222
  * parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
221
223
  */
222
224
  withSignal(signal, fn) {
223
- return chunkAMB54GOO_cjs.runWithSignal(signal, fn);
225
+ return chunkY4BH5N6R_cjs.runWithSignal(signal, fn);
224
226
  }
225
227
  async batch(fn, items, opts = {}) {
226
- return chunkAMB54GOO_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
228
+ return chunkY4BH5N6R_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
227
229
  }
228
230
  };
229
231
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  // src/capabilities.ts
4
4
  var CAPABILITY_PLAN_HASHES = {
5
- "B": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
6
- "A": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
7
- "operations": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779"
5
+ "B": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4",
6
+ "A": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4",
7
+ "operations": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4"
8
8
  };
9
9
  var cached = null;
10
10
  function loadCapabilities() {
@@ -1,8 +1,8 @@
1
1
  // src/capabilities.ts
2
2
  var CAPABILITY_PLAN_HASHES = {
3
- "B": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
4
- "A": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
5
- "operations": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779"
3
+ "B": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4",
4
+ "A": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4",
5
+ "operations": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4"
6
6
  };
7
7
  var cached = null;
8
8
  function loadCapabilities() {
@@ -1,5 +1,5 @@
1
- import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-HJKY7LUL.js';
2
- import { loadCapabilityRecords } from './chunk-IWTTCBCS.js';
1
+ import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-3SFIKG2R.js';
2
+ import { loadCapabilityRecords } from './chunk-ECSE6B3U.js';
3
3
 
4
4
  // src/resources/special/configuration_items.ts
5
5
  async function fetchRecord(http, path, label, readOpts) {
@@ -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-IFE5FWS7.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-HJKY7LUL.js';
1
+ import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-S7QPD6TR.js';
2
+ import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-3SFIKG2R.js';
3
3
 
4
4
  // src/client.ts
5
5
  var AutotaskClient = class {
@@ -121,6 +121,8 @@ var AutotaskClient = class {
121
121
  tagAliases;
122
122
  tagGroups;
123
123
  tags;
124
+ taskAttachments;
125
+ taskNoteAttachments;
124
126
  taskNotes;
125
127
  taskPredecessors;
126
128
  tasks;