node-autotask 0.89.0 → 0.90.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.
- package/CHANGELOG.md +6 -0
- package/MCP_TOOL_CATALOG.json +2 -2
- package/capabilities.json +7 -7
- package/dist/capabilities-data.js +6 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-BRU7TZOD.cjs → chunk-4CI27SCM.cjs} +30 -30
- package/dist/{chunk-OVIYLMGB.js → chunk-CY6USWUY.js} +14 -1
- package/dist/{chunk-4MPQ5CDB.cjs → chunk-D7MJC7HA.cjs} +200 -200
- package/dist/{chunk-2PWAWWWM.js → chunk-HU6OGAPI.js} +2 -2
- package/dist/{chunk-ZADTVF6M.js → chunk-K5X4BPQC.js} +3 -3
- package/dist/{chunk-YAXEPESA.cjs → chunk-OI6E5XQA.cjs} +19 -6
- package/dist/{chunk-4EIN7AZJ.js → chunk-Q73VQSUP.js} +2 -2
- package/dist/{chunk-SHJ7EOBW.cjs → chunk-ZLMYYO7R.cjs} +3 -3
- package/dist/{index-CoTtEn8U.d.cts → index-BEqbDuMk.d.cts} +1 -1
- package/dist/{index-Wh6bLfv_.d.ts → index-DWyJAad_.d.ts} +1 -1
- package/dist/index.cjs +85 -85
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.90.0] - 2026-11-21
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- The time-entry relationship map now warns that billing approval fields do not establish posted status and points to the billing-item link (#472).
|
|
15
|
+
|
|
10
16
|
## [0.89.0] - 2026-11-21
|
|
11
17
|
|
|
12
18
|
### Changed
|
package/MCP_TOOL_CATALOG.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generatedBy": "scripts/build-tool-catalog.mjs",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"planHash": "
|
|
3
|
+
"generatedAt": "2026-11-21T03:40:53.270Z",
|
|
4
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
5
5
|
"metaTools": [
|
|
6
6
|
{
|
|
7
7
|
"name": "autotask_catalog",
|
package/capabilities.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-11-
|
|
2
|
+
"generatedAt": "2026-11-21T03:40:52.155Z",
|
|
3
3
|
"groups": {
|
|
4
4
|
"B": {
|
|
5
|
-
"planHash": "
|
|
6
|
-
"builtAt": "2026-11-
|
|
5
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
6
|
+
"builtAt": "2026-11-21T03:40:52.139Z",
|
|
7
7
|
"records": [
|
|
8
8
|
{
|
|
9
9
|
"id": "appointments.count",
|
|
@@ -46603,8 +46603,8 @@
|
|
|
46603
46603
|
]
|
|
46604
46604
|
},
|
|
46605
46605
|
"A": {
|
|
46606
|
-
"planHash": "
|
|
46607
|
-
"builtAt": "2026-11-
|
|
46606
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
46607
|
+
"builtAt": "2026-11-21T03:40:52.140Z",
|
|
46608
46608
|
"records": [
|
|
46609
46609
|
{
|
|
46610
46610
|
"id": "attachment_info.count",
|
|
@@ -92289,8 +92289,8 @@
|
|
|
92289
92289
|
]
|
|
92290
92290
|
},
|
|
92291
92291
|
"operations": {
|
|
92292
|
-
"planHash": "
|
|
92293
|
-
"builtAt": "2026-11-
|
|
92292
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
92293
|
+
"builtAt": "2026-11-21T03:40:52.140Z",
|
|
92294
92294
|
"records": [
|
|
92295
92295
|
{
|
|
92296
92296
|
"id": "operations.aggregate",
|
|
@@ -462,8 +462,8 @@ const CAPABILITY_DATA = {
|
|
|
462
462
|
],
|
|
463
463
|
"groups": {
|
|
464
464
|
"B": {
|
|
465
|
-
"planHash": "
|
|
466
|
-
"builtAt": "2026-11-
|
|
465
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
466
|
+
"builtAt": "2026-11-21T03:40:52.139Z",
|
|
467
467
|
"records": [
|
|
468
468
|
{
|
|
469
469
|
"id": "appointments.count",
|
|
@@ -47063,8 +47063,8 @@ const CAPABILITY_DATA = {
|
|
|
47063
47063
|
]
|
|
47064
47064
|
},
|
|
47065
47065
|
"A": {
|
|
47066
|
-
"planHash": "
|
|
47067
|
-
"builtAt": "2026-11-
|
|
47066
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
47067
|
+
"builtAt": "2026-11-21T03:40:52.140Z",
|
|
47068
47068
|
"records": [
|
|
47069
47069
|
{
|
|
47070
47070
|
"id": "attachment_info.count",
|
|
@@ -92749,8 +92749,8 @@ const CAPABILITY_DATA = {
|
|
|
92749
92749
|
]
|
|
92750
92750
|
},
|
|
92751
92751
|
"operations": {
|
|
92752
|
-
"planHash": "
|
|
92753
|
-
"builtAt": "2026-11-
|
|
92752
|
+
"planHash": "2f78ad6e25fd96f024dfc749c3c9d1b8dbf52d8a23e097bd5046605a9975787c",
|
|
92753
|
+
"builtAt": "2026-11-21T03:40:52.140Z",
|
|
92754
92754
|
"records": [
|
|
92755
92755
|
{
|
|
92756
92756
|
"id": "operations.aggregate",
|
package/dist/capabilities.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZLMYYO7R_cjs = require('./chunk-ZLMYYO7R.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CAPABILITY_PLAN_HASHES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkZLMYYO7R_cjs.CAPABILITY_PLAN_HASHES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "loadCapabilities", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkZLMYYO7R_cjs.loadCapabilities; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "loadCapabilityRecords", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkZLMYYO7R_cjs.loadCapabilityRecords; }
|
|
18
18
|
});
|
package/dist/capabilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-
|
|
1
|
+
export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-K5X4BPQC.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkD7MJC7HA_cjs = require('./chunk-D7MJC7HA.cjs');
|
|
4
|
+
var chunkOI6E5XQA_cjs = require('./chunk-OI6E5XQA.cjs');
|
|
5
5
|
|
|
6
6
|
// src/client.ts
|
|
7
7
|
var AutotaskClient = class {
|
|
@@ -175,34 +175,34 @@ var AutotaskClient = class {
|
|
|
175
175
|
* anything is wired. Construction issues NO request.
|
|
176
176
|
*/
|
|
177
177
|
constructor(options) {
|
|
178
|
-
this.config =
|
|
179
|
-
this.http = new
|
|
178
|
+
this.config = chunkOI6E5XQA_cjs.resolveConfig(options);
|
|
179
|
+
this.http = new chunkOI6E5XQA_cjs.HttpClient(this.config);
|
|
180
180
|
this.http.client = this;
|
|
181
|
-
for (const entry of
|
|
182
|
-
this[entry.accessor] = new
|
|
181
|
+
for (const entry of chunkOI6E5XQA_cjs.SIMPLE_RESOURCES) {
|
|
182
|
+
this[entry.accessor] = new chunkOI6E5XQA_cjs.GenericResource(this.http, entry, this.config.pageSize);
|
|
183
183
|
}
|
|
184
|
-
this.companies = new
|
|
185
|
-
this.configurationItems = new
|
|
186
|
-
this.contacts = new
|
|
187
|
-
this.contracts = new
|
|
188
|
-
this.inventoryProducts = new
|
|
189
|
-
this.invoices = new
|
|
190
|
-
this.quotes = new
|
|
191
|
-
this.resourceTimeOffAdditional = new
|
|
192
|
-
this.resourceTimeOffBalances = new
|
|
193
|
-
this.resources = new
|
|
194
|
-
this.serviceCalls = new
|
|
195
|
-
this.ticketCharges = new
|
|
196
|
-
this.tickets = new
|
|
197
|
-
this.timeEntries = new
|
|
198
|
-
this.timeOffRequests = new
|
|
199
|
-
this.authenticateResource = new
|
|
200
|
-
this.entityInformation = new
|
|
201
|
-
this.modules = new
|
|
202
|
-
this.thresholdInformation = new
|
|
203
|
-
this.version = new
|
|
204
|
-
this.versionInformation = new
|
|
205
|
-
this.zoneInformation = new
|
|
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);
|
|
206
206
|
}
|
|
207
207
|
/**
|
|
208
208
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -236,10 +236,10 @@ var AutotaskClient = class {
|
|
|
236
236
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
237
237
|
*/
|
|
238
238
|
withSignal(signal, fn) {
|
|
239
|
-
return
|
|
239
|
+
return chunkOI6E5XQA_cjs.runWithSignal(signal, fn);
|
|
240
240
|
}
|
|
241
241
|
async batch(fn, items, opts = {}) {
|
|
242
|
-
return
|
|
242
|
+
return chunkOI6E5XQA_cjs.runBounded(fn, items, { ...opts, concurrency: opts.concurrency ?? this.config.maxConcurrent });
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
245
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { loadCapabilityRecords } from './chunk-K5X4BPQC.js';
|
|
2
2
|
import { NoopLogger, REDACTED, deepMarkUntrusted, wrapUntrusted } from './chunk-X6VWD6WW.js';
|
|
3
3
|
import { randomUUID, createHash } from 'crypto';
|
|
4
4
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
@@ -9350,6 +9350,19 @@ var RELATIONSHIP_MAP = {
|
|
|
9350
9350
|
"blindSurfaces": null,
|
|
9351
9351
|
"zoneFacts": {
|
|
9352
9352
|
"quirks": [
|
|
9353
|
+
{
|
|
9354
|
+
"kind": "vendor-managed-side-effect",
|
|
9355
|
+
"ops": [
|
|
9356
|
+
"query"
|
|
9357
|
+
],
|
|
9358
|
+
"fields": [
|
|
9359
|
+
"billingApprovalDateTime",
|
|
9360
|
+
"billingApprovalResourceID",
|
|
9361
|
+
"billingApprovalLevelMostRecent"
|
|
9362
|
+
],
|
|
9363
|
+
"statement": "Approval fields cannot establish posted status. A billing item referencing the entry through timeEntryID indicates it is posted.",
|
|
9364
|
+
"evidence": "Autotask REST BillingItemApprovalLevels entity help (https://ww6.autotask.net/help/developerhelp/content/apis/rest/Entities/BillingItemApprovalLevelsEntity.htm): creating an approval-level record updates the most recent level, while the date and resource on the time entry are editable separately. See docs/VENDOR-QUIRKS.md sections 11.4 and 11.13 for observed field population and the billing-item join."
|
|
9365
|
+
},
|
|
9353
9366
|
{
|
|
9354
9367
|
"kind": "wire-type",
|
|
9355
9368
|
"ops": [
|