node-autotask 0.62.0 → 0.63.1
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 +23 -0
- package/MCP_TOOL_CATALOG.json +2 -2
- package/capabilities.json +199 -199
- package/dist/capabilities-data.js +198 -198
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-S4YR3RLJ.js → chunk-BXTAL6LB.js} +2 -2
- package/dist/{chunk-ODPM4YVG.cjs → chunk-CY6T5SPE.cjs} +3 -3
- package/dist/{chunk-TGCFJCWN.js → chunk-EUD4CCRR.js} +12 -4
- package/dist/{chunk-QHM6ROAE.cjs → chunk-GH6WHIHE.cjs} +174 -174
- package/dist/{chunk-VDYUG6RK.cjs → chunk-J5O3FBYV.cjs} +17 -9
- package/dist/{chunk-LFEMZVOV.cjs → chunk-ONN546JT.cjs} +31 -31
- package/dist/{chunk-O6SYTORL.js → chunk-URM33IGW.js} +2 -2
- package/dist/{chunk-XJNNCMBS.js → chunk-X46S4BDG.js} +3 -3
- package/dist/{index-C4wZRw9N.d.ts → index-Bu5JV7l_.d.ts} +1 -1
- package/dist/{index-BXJOPL7w.d.cts → index-DlES80qS.d.cts} +1 -1
- package/dist/index.cjs +84 -84
- 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 +50 -50
- 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 +8 -8
- 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/docs/API.md +6 -1
- package/docs/N8N-ADAPTER.md +4 -4
- package/docs/VENDOR-QUIRKS.md +1 -1
- package/package.json +1 -1
package/dist/capabilities.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCY6T5SPE_cjs = require('./chunk-CY6T5SPE.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 chunkCY6T5SPE_cjs.CAPABILITY_PLAN_HASHES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "loadCapabilities", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkCY6T5SPE_cjs.loadCapabilities; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "loadCapabilityRecords", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkCY6T5SPE_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-X46S4BDG.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, RELATIONSHIP_MAP, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, cursorToPath } from './chunk-
|
|
2
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { GenericResource, parseIdentifier, AutotaskConfigError, StaleObjectError, buildDryRunResult, RELATIONSHIP_MAP, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, numericIds, IN_FILTER_CAP, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, isAutotaskError, resolveLineOfBusinessChain, uiLinkFor, refuse, queryRows, mergePartialBody, AutotaskError, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, cursorToPath } from './chunk-EUD4CCRR.js';
|
|
2
|
+
import { loadCapabilityRecords } from './chunk-X46S4BDG.js';
|
|
3
3
|
|
|
4
4
|
// src/resources/special/configuration_items.ts
|
|
5
5
|
async function fetchRecord(http, path, label, readOpts) {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
// src/capabilities.ts
|
|
4
4
|
var CAPABILITY_PLAN_HASHES = {
|
|
5
|
-
"B": "
|
|
6
|
-
"A": "
|
|
7
|
-
"operations": "
|
|
5
|
+
"B": "e5f02696b643dc5075c6a0e70ebb4150f1f1ecd1eedf18c6f2df32629846ac8c",
|
|
6
|
+
"A": "e5f02696b643dc5075c6a0e70ebb4150f1f1ecd1eedf18c6f2df32629846ac8c",
|
|
7
|
+
"operations": "e5f02696b643dc5075c6a0e70ebb4150f1f1ecd1eedf18c6f2df32629846ac8c"
|
|
8
8
|
};
|
|
9
9
|
var cached = null;
|
|
10
10
|
function loadCapabilities() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { loadCapabilityRecords } from './chunk-X46S4BDG.js';
|
|
2
2
|
import { NoopLogger, REDACTED, deepMarkUntrusted, wrapUntrusted } from './chunk-7NKB4UXV.js';
|
|
3
3
|
import { randomUUID } from 'crypto';
|
|
4
4
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
@@ -16792,7 +16792,9 @@ var QueryBase = class {
|
|
|
16792
16792
|
* reached with a live next cursor, or the 1000-page guard) →
|
|
16793
16793
|
* LATEST_WINDOW_INCOMPLETE — a truncated enumeration's top-N-by-id is
|
|
16794
16794
|
* unprovable, so the op refuses instead of returning a possibly-wrong
|
|
16795
|
-
* answer.
|
|
16795
|
+
* answer. Exception (issue #435): a COUNT-only `unfiltered-blind` pin
|
|
16796
|
+
* (no query pin) re-probes with the filtered `count(id gt 0)`, which is
|
|
16797
|
+
* not blind, and takes branch 2 with that total.
|
|
16796
16798
|
* `includeFields` always carries `id` (the P1 id-append,
|
|
16797
16799
|
* `buildQueryRequest`), which `latest` sorts on. Pure read; no mutation
|
|
16798
16800
|
* paths involved; every count probe goes to the wire (counts are never
|
|
@@ -16801,7 +16803,14 @@ var QueryBase = class {
|
|
|
16801
16803
|
*/
|
|
16802
16804
|
async latestWalk(params, limit, latest) {
|
|
16803
16805
|
const baseConds = normalizedConditions(params.filter) ?? [];
|
|
16804
|
-
|
|
16806
|
+
let total = await this.countGlobal({ filter: params.filter });
|
|
16807
|
+
let probes = 1;
|
|
16808
|
+
const stamps = BLIND_SURFACE_STAMPS[this.config.key];
|
|
16809
|
+
if (typeof total === "object" && total !== null && total.blindSurface !== void 0 && stamps?.count?.kind === "unfiltered-blind" && stamps.query === void 0) {
|
|
16810
|
+
total = await this.countAboveId(baseConds, 0n);
|
|
16811
|
+
probes = 2;
|
|
16812
|
+
if (total === 0) return this.latestBlindWalk(params, limit, latest);
|
|
16813
|
+
}
|
|
16805
16814
|
if (typeof total === "object" && total !== null) {
|
|
16806
16815
|
const rec = total;
|
|
16807
16816
|
if (rec.blindSurface !== void 0) {
|
|
@@ -16823,7 +16832,6 @@ var QueryBase = class {
|
|
|
16823
16832
|
}
|
|
16824
16833
|
return this.finishLatest(items2, latest, pages3);
|
|
16825
16834
|
}
|
|
16826
|
-
let probes = 1;
|
|
16827
16835
|
const spend = () => {
|
|
16828
16836
|
probes += 1;
|
|
16829
16837
|
if (probes > LATEST_MAX_COUNT_PROBES) throw this.latestThresholdUnresolvedError();
|