node-autotask 0.39.4 → 0.40.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/ARCHITECTURE.md +6 -2
- package/CHANGELOG.md +26 -0
- package/MCP_TOOL_CATALOG.json +3 -3
- package/MCP_TOOL_MANIFEST.md +5 -5
- package/N8N_MCP_MANIFEST.json +2 -2
- package/N8N_MCP_MANIFEST.md +3 -3
- package/README.md +28 -36
- package/capabilities.json +1315 -1320
- package/dist/base-CVx2VMSj.d.cts +103 -0
- package/dist/base-CVx2VMSj.d.ts +103 -0
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-H4S4KSXX.cjs → chunk-E5W24BZB.cjs} +143 -143
- package/dist/{chunk-DJCRQLQE.cjs → chunk-EUGSF3U4.cjs} +287 -292
- package/dist/{chunk-VR6RYXTD.cjs → chunk-EVDVESQM.cjs} +1314 -1319
- package/dist/{chunk-SGKGNJEI.cjs → chunk-FEYVLIHD.cjs} +764 -1726
- package/dist/{chunk-JBQ55HYG.js → chunk-MTFRSD7P.js} +2 -2
- package/dist/{chunk-DBLXPY4B.js → chunk-O32L6GS5.js} +4 -9
- package/dist/{chunk-GHRB46YN.js → chunk-VDVBXXJW.js} +566 -1528
- package/dist/{chunk-GDSCYY2G.js → chunk-Y6YJYKBZ.js} +1314 -1319
- package/dist/{index-DkZVRMeW.d.ts → index-BKp8_P2L.d.cts} +125 -806
- package/dist/{index-DkZVRMeW.d.cts → index-BKp8_P2L.d.ts} +125 -806
- package/dist/index.cjs +22 -50
- package/dist/index.d.cts +103 -102
- package/dist/index.d.ts +103 -102
- package/dist/index.js +18 -46
- package/dist/operations/index.cjs +178 -178
- package/dist/operations/index.d.cts +5 -4
- package/dist/operations/index.d.ts +5 -4
- package/dist/operations/index.js +3 -3
- package/dist/pool.cjs +17 -60
- package/dist/pool.d.cts +5 -13
- package/dist/pool.d.ts +5 -13
- package/dist/pool.js +13 -56
- package/dist/resources/index.cjs +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +130 -319
- package/docs/N8N-ADAPTER.md +7 -7
- package/examples/mcp-server-http.ts +18 -18
- package/package.json +1 -1
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
VersionInformationResource,
|
|
126
126
|
VersionResource,
|
|
127
127
|
ZoneInformationResource
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-O32L6GS5.js";
|
|
129
129
|
import {
|
|
130
130
|
AutotaskConfigError,
|
|
131
131
|
BillingCodesResource,
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
TimeEntriesResource,
|
|
142
142
|
resolveConfig,
|
|
143
143
|
runWithSignal
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-VDVBXXJW.js";
|
|
145
145
|
|
|
146
146
|
// src/client.ts
|
|
147
147
|
var AutotaskClient = class {
|
|
@@ -30,10 +30,10 @@ import {
|
|
|
30
30
|
unwrapItems,
|
|
31
31
|
unwrapOperation,
|
|
32
32
|
vendorId
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VDVBXXJW.js";
|
|
34
34
|
import {
|
|
35
35
|
CAPABILITIES
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Y6YJYKBZ.js";
|
|
37
37
|
|
|
38
38
|
// src/resources/appointments.ts
|
|
39
39
|
var AppointmentsResource = class extends BaseResource {
|
|
@@ -6554,12 +6554,7 @@ var ThresholdInformationResource = class {
|
|
|
6554
6554
|
operation: "threshold_information.get",
|
|
6555
6555
|
// Bypass the tenant 429 cooldown gate so a throttled tenant can still
|
|
6556
6556
|
// read its own headroom (a 2xx clears the gate; a 429 re-arms it).
|
|
6557
|
-
bypassCooldown: true
|
|
6558
|
-
// Bypass the host circuit breaker's REFUSAL so a downed host can
|
|
6559
|
-
// still be probed for headroom (issue #26 — the #6 bypass applies);
|
|
6560
|
-
// the outcome is still recorded (a 2xx closes toward recovery; a
|
|
6561
|
-
// counted failure re-arms).
|
|
6562
|
-
bypassCircuitBreaker: true
|
|
6557
|
+
bypassCooldown: true
|
|
6563
6558
|
});
|
|
6564
6559
|
}
|
|
6565
6560
|
};
|
|
@@ -8058,7 +8053,7 @@ async function guardTargetStatus(resource, http, targetStatus) {
|
|
|
8058
8053
|
if (!isAutotaskError(err) || err.code === "ABORTED") throw err;
|
|
8059
8054
|
}
|
|
8060
8055
|
if (liveStatus !== null && !liveStatus.has(targetStatus)) {
|
|
8061
|
-
http.fieldCache?.invalidate("tickets");
|
|
8056
|
+
http.fieldCache?.invalidate("tickets:");
|
|
8062
8057
|
let freshStatus = null;
|
|
8063
8058
|
let reReadFailed = false;
|
|
8064
8059
|
try {
|