node-autotask 0.17.0 → 0.18.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 +10 -4
- package/MCP_TOOL_CATALOG.json +2 -2
- package/MCP_TOOL_MANIFEST.md +4 -4
- package/N8N_MCP_MANIFEST.json +2 -2
- package/N8N_MCP_MANIFEST.md +3 -3
- package/capabilities.json +1571 -1571
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-5ZGXWS4E.cjs → chunk-5O5EPYBO.cjs} +1570 -1570
- package/dist/{chunk-NQVD2XLH.cjs → chunk-7I3F3AJJ.cjs} +393 -393
- package/dist/{chunk-DQIZUZWP.cjs → chunk-G564CHXM.cjs} +135 -135
- package/dist/{chunk-EGR2ZLYM.js → chunk-HXOWEYV3.js} +2 -2
- package/dist/{chunk-6SP6GJJR.js → chunk-VV2UUW2J.js} +1570 -1570
- package/dist/{chunk-HC6YWPIY.js → chunk-VYUZZIEE.js} +31 -17
- package/dist/{chunk-UV2PECAL.js → chunk-W2WSZOZA.js} +2 -2
- package/dist/{chunk-4RJG73GY.cjs → chunk-WRWX6WIK.cjs} +33 -19
- package/dist/{index-BAFdPxjG.d.ts → index-BqPY04ZG.d.ts} +34 -10
- package/dist/{index-CjC0oWZX.d.cts → index-D7x3MkLK.d.cts} +34 -10
- package/dist/index.cjs +24 -22
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/operations/index.cjs +178 -105
- package/dist/operations/index.d.cts +12 -3
- package/dist/operations/index.d.ts +12 -3
- package/dist/operations/index.js +77 -4
- package/dist/pool.cjs +8 -8
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- 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/docs/API.md +44 -8
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CAPABILITIES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VV2UUW2J.js";
|
|
4
4
|
|
|
5
5
|
// src/auth.ts
|
|
6
6
|
var AUTH_HEADERS = {
|
|
@@ -377,7 +377,8 @@ function parseVendorErrors(body) {
|
|
|
377
377
|
var DETERMINISTIC_VENDOR_500_PHRASES = [
|
|
378
378
|
/exceeds maximum length/i,
|
|
379
379
|
/Missing Required Field/i,
|
|
380
|
-
/Value does not exist for the required field/i
|
|
380
|
+
/Value does not exist for the required field/i,
|
|
381
|
+
/Unable to find .+ in the .+ Entity\./i
|
|
381
382
|
];
|
|
382
383
|
function isDeterministicVendor500(entries) {
|
|
383
384
|
if (entries === void 0) return false;
|
|
@@ -14689,12 +14690,26 @@ function normalizeZoneBase(raw) {
|
|
|
14689
14690
|
if (url.protocol !== "http:" && url.protocol !== "https:") return void 0;
|
|
14690
14691
|
return `${url.origin}${url.pathname.replace(/\/+$/, "")}`;
|
|
14691
14692
|
}
|
|
14692
|
-
function
|
|
14693
|
-
const queryPath = `${resourcePath}/query`;
|
|
14693
|
+
function buildQueryBody(params) {
|
|
14694
14694
|
const conditions = normalizedConditions(params.filter);
|
|
14695
14695
|
const filter = conditions === void 0 ? void 0 : buildFilter(conditions);
|
|
14696
|
-
const includeFields = params
|
|
14696
|
+
const includeFields = effectiveIncludeFields(params);
|
|
14697
|
+
const body = {};
|
|
14698
|
+
if (params.maxRecords !== void 0) body.MaxRecords = params.maxRecords;
|
|
14699
|
+
if (includeFields !== void 0) body.IncludeFields = includeFields;
|
|
14700
|
+
body.filter = filter === void 0 ? [] : filter.filter;
|
|
14701
|
+
return body;
|
|
14702
|
+
}
|
|
14703
|
+
function effectiveIncludeFields(params) {
|
|
14704
|
+
if (params.includeFields === void 0) return void 0;
|
|
14705
|
+
return params.includeFields.includes("id") ? params.includeFields : [...params.includeFields, "id"];
|
|
14706
|
+
}
|
|
14707
|
+
function buildQueryRequest(baseUrl, resourcePath, params) {
|
|
14708
|
+
const queryPath = `${resourcePath}/query`;
|
|
14697
14709
|
if (params.via === "get") {
|
|
14710
|
+
const conditions = normalizedConditions(params.filter);
|
|
14711
|
+
const filter = conditions === void 0 ? void 0 : buildFilter(conditions);
|
|
14712
|
+
const includeFields = effectiveIncludeFields(params);
|
|
14698
14713
|
const search = {};
|
|
14699
14714
|
if (filter !== void 0) search.filter = filter.filter;
|
|
14700
14715
|
if (params.maxRecords !== void 0) search.maxRecords = params.maxRecords;
|
|
@@ -14712,11 +14727,7 @@ function buildQueryRequest(baseUrl, resourcePath, params) {
|
|
|
14712
14727
|
}
|
|
14713
14728
|
return req;
|
|
14714
14729
|
}
|
|
14715
|
-
|
|
14716
|
-
if (params.maxRecords !== void 0) body.MaxRecords = params.maxRecords;
|
|
14717
|
-
if (includeFields !== void 0) body.IncludeFields = includeFields;
|
|
14718
|
-
body.filter = filter === void 0 ? [] : filter.filter;
|
|
14719
|
-
return { method: "POST", path: queryPath, body, idempotent: true };
|
|
14730
|
+
return { method: "POST", path: queryPath, body: buildQueryBody(params), idempotent: true };
|
|
14720
14731
|
}
|
|
14721
14732
|
var ambientSignal = new AsyncLocalStorage();
|
|
14722
14733
|
function runWithSignal(signal, fn) {
|
|
@@ -15982,6 +15993,7 @@ function applyFieldsFilter(projected, filter, row) {
|
|
|
15982
15993
|
if (filter !== void 0) {
|
|
15983
15994
|
const present = new Set(projected.map((f) => f.name));
|
|
15984
15995
|
row.unmatchedFields = filter.filter((n) => !present.has(n));
|
|
15996
|
+
row.projected = true;
|
|
15985
15997
|
}
|
|
15986
15998
|
row.fields = kept;
|
|
15987
15999
|
row.required = kept.filter((f) => f.isRequired).map((f) => f.name);
|
|
@@ -17042,7 +17054,7 @@ var BaseResource = class {
|
|
|
17042
17054
|
// ------------------------------------------------------------------
|
|
17043
17055
|
// Query walk (wired to the G3 walker; cursor-follow per the pinned wire)
|
|
17044
17056
|
// ------------------------------------------------------------------
|
|
17045
|
-
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the
|
|
17057
|
+
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the same body (`buildQueryBody`) to the absolute cursor (issue #118). */
|
|
17046
17058
|
async fetchPage(params, page, pageSize, state) {
|
|
17047
17059
|
const operation = `${this.config.key}.query`;
|
|
17048
17060
|
if (page === 1) {
|
|
@@ -17058,8 +17070,7 @@ var BaseResource = class {
|
|
|
17058
17070
|
operation
|
|
17059
17071
|
});
|
|
17060
17072
|
}
|
|
17061
|
-
const
|
|
17062
|
-
const body = { filter: conditions === void 0 ? [] : buildFilter(conditions).filter };
|
|
17073
|
+
const body = buildQueryBody({ ...params, maxRecords: pageSize });
|
|
17063
17074
|
const res = await this.http.request({
|
|
17064
17075
|
method: "POST",
|
|
17065
17076
|
path: cursorToPath(this.http.baseUrl, cursor),
|
|
@@ -17112,10 +17123,12 @@ var BaseResource = class {
|
|
|
17112
17123
|
* complete-enough result. The client never owns the walk:
|
|
17113
17124
|
* - `limit` = total records (default 500, hard max 2500 — above it throws
|
|
17114
17125
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
17115
|
-
* the internal page size min(500, limit)
|
|
17116
|
-
*
|
|
17117
|
-
*
|
|
17118
|
-
*
|
|
17126
|
+
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
17127
|
+
* its walk from the matching count); every follow-up page POSTs the
|
|
17128
|
+
* SAME QueryModel body (`buildQueryBody`: MaxRecords, IncludeFields and
|
|
17129
|
+
* the preserved filter) to the absolute cursor (issue #118 — the vendor
|
|
17130
|
+
* honours IncludeFields there and ignores MaxRecords, serving its own
|
|
17131
|
+
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
17119
17132
|
* with a per-walk closure state (walks never share state).
|
|
17120
17133
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
17121
17134
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
@@ -18734,6 +18747,7 @@ export {
|
|
|
18734
18747
|
IDEMPOTENT_METHODS,
|
|
18735
18748
|
buildUrl,
|
|
18736
18749
|
cursorToPath,
|
|
18750
|
+
buildQueryBody,
|
|
18737
18751
|
buildQueryRequest,
|
|
18738
18752
|
runWithSignal,
|
|
18739
18753
|
HttpClient,
|
|
@@ -127,13 +127,13 @@ import {
|
|
|
127
127
|
VersionInformationResource,
|
|
128
128
|
VersionResource,
|
|
129
129
|
ZoneInformationResource
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-HXOWEYV3.js";
|
|
131
131
|
import {
|
|
132
132
|
AutotaskConfigError,
|
|
133
133
|
HttpClient,
|
|
134
134
|
resolveConfig,
|
|
135
135
|
runWithSignal
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-VYUZZIEE.js";
|
|
137
137
|
|
|
138
138
|
// src/client.ts
|
|
139
139
|
var AutotaskClient = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5O5EPYBOcjs = require('./chunk-5O5EPYBO.cjs');
|
|
4
4
|
|
|
5
5
|
// src/auth.ts
|
|
6
6
|
var AUTH_HEADERS = {
|
|
@@ -377,7 +377,8 @@ function parseVendorErrors(body) {
|
|
|
377
377
|
var DETERMINISTIC_VENDOR_500_PHRASES = [
|
|
378
378
|
/exceeds maximum length/i,
|
|
379
379
|
/Missing Required Field/i,
|
|
380
|
-
/Value does not exist for the required field/i
|
|
380
|
+
/Value does not exist for the required field/i,
|
|
381
|
+
/Unable to find .+ in the .+ Entity\./i
|
|
381
382
|
];
|
|
382
383
|
function isDeterministicVendor500(entries) {
|
|
383
384
|
if (entries === void 0) return false;
|
|
@@ -14689,12 +14690,26 @@ function normalizeZoneBase(raw) {
|
|
|
14689
14690
|
if (url.protocol !== "http:" && url.protocol !== "https:") return void 0;
|
|
14690
14691
|
return `${url.origin}${url.pathname.replace(/\/+$/, "")}`;
|
|
14691
14692
|
}
|
|
14692
|
-
function
|
|
14693
|
-
const queryPath = `${resourcePath}/query`;
|
|
14693
|
+
function buildQueryBody(params) {
|
|
14694
14694
|
const conditions = normalizedConditions(params.filter);
|
|
14695
14695
|
const filter = conditions === void 0 ? void 0 : buildFilter(conditions);
|
|
14696
|
-
const includeFields = params
|
|
14696
|
+
const includeFields = effectiveIncludeFields(params);
|
|
14697
|
+
const body = {};
|
|
14698
|
+
if (params.maxRecords !== void 0) body.MaxRecords = params.maxRecords;
|
|
14699
|
+
if (includeFields !== void 0) body.IncludeFields = includeFields;
|
|
14700
|
+
body.filter = filter === void 0 ? [] : filter.filter;
|
|
14701
|
+
return body;
|
|
14702
|
+
}
|
|
14703
|
+
function effectiveIncludeFields(params) {
|
|
14704
|
+
if (params.includeFields === void 0) return void 0;
|
|
14705
|
+
return params.includeFields.includes("id") ? params.includeFields : [...params.includeFields, "id"];
|
|
14706
|
+
}
|
|
14707
|
+
function buildQueryRequest(baseUrl, resourcePath, params) {
|
|
14708
|
+
const queryPath = `${resourcePath}/query`;
|
|
14697
14709
|
if (params.via === "get") {
|
|
14710
|
+
const conditions = normalizedConditions(params.filter);
|
|
14711
|
+
const filter = conditions === void 0 ? void 0 : buildFilter(conditions);
|
|
14712
|
+
const includeFields = effectiveIncludeFields(params);
|
|
14698
14713
|
const search = {};
|
|
14699
14714
|
if (filter !== void 0) search.filter = filter.filter;
|
|
14700
14715
|
if (params.maxRecords !== void 0) search.maxRecords = params.maxRecords;
|
|
@@ -14712,11 +14727,7 @@ function buildQueryRequest(baseUrl, resourcePath, params) {
|
|
|
14712
14727
|
}
|
|
14713
14728
|
return req;
|
|
14714
14729
|
}
|
|
14715
|
-
|
|
14716
|
-
if (params.maxRecords !== void 0) body.MaxRecords = params.maxRecords;
|
|
14717
|
-
if (includeFields !== void 0) body.IncludeFields = includeFields;
|
|
14718
|
-
body.filter = filter === void 0 ? [] : filter.filter;
|
|
14719
|
-
return { method: "POST", path: queryPath, body, idempotent: true };
|
|
14730
|
+
return { method: "POST", path: queryPath, body: buildQueryBody(params), idempotent: true };
|
|
14720
14731
|
}
|
|
14721
14732
|
var ambientSignal = new (0, _async_hooks.AsyncLocalStorage)();
|
|
14722
14733
|
function runWithSignal(signal, fn) {
|
|
@@ -15982,6 +15993,7 @@ function applyFieldsFilter(projected, filter, row) {
|
|
|
15982
15993
|
if (filter !== void 0) {
|
|
15983
15994
|
const present = new Set(projected.map((f) => f.name));
|
|
15984
15995
|
row.unmatchedFields = filter.filter((n) => !present.has(n));
|
|
15996
|
+
row.projected = true;
|
|
15985
15997
|
}
|
|
15986
15998
|
row.fields = kept;
|
|
15987
15999
|
row.required = kept.filter((f) => f.isRequired).map((f) => f.name);
|
|
@@ -15993,7 +16005,7 @@ function capabilitySets() {
|
|
|
15993
16005
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
15994
16006
|
const udfOps = /* @__PURE__ */ new Map();
|
|
15995
16007
|
const resources = /* @__PURE__ */ new Set();
|
|
15996
|
-
for (const rec of
|
|
16008
|
+
for (const rec of _chunk5O5EPYBOcjs.CAPABILITIES) {
|
|
15997
16009
|
if (rec.resource === "operations") continue;
|
|
15998
16010
|
resources.add(rec.resource);
|
|
15999
16011
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -17042,7 +17054,7 @@ var BaseResource = class {
|
|
|
17042
17054
|
// ------------------------------------------------------------------
|
|
17043
17055
|
// Query walk (wired to the G3 walker; cursor-follow per the pinned wire)
|
|
17044
17056
|
// ------------------------------------------------------------------
|
|
17045
|
-
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the
|
|
17057
|
+
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the same body (`buildQueryBody`) to the absolute cursor (issue #118). */
|
|
17046
17058
|
async fetchPage(params, page, pageSize, state) {
|
|
17047
17059
|
const operation = `${this.config.key}.query`;
|
|
17048
17060
|
if (page === 1) {
|
|
@@ -17058,8 +17070,7 @@ var BaseResource = class {
|
|
|
17058
17070
|
operation
|
|
17059
17071
|
});
|
|
17060
17072
|
}
|
|
17061
|
-
const
|
|
17062
|
-
const body = { filter: conditions === void 0 ? [] : buildFilter(conditions).filter };
|
|
17073
|
+
const body = buildQueryBody({ ...params, maxRecords: pageSize });
|
|
17063
17074
|
const res = await this.http.request({
|
|
17064
17075
|
method: "POST",
|
|
17065
17076
|
path: cursorToPath(this.http.baseUrl, cursor),
|
|
@@ -17112,10 +17123,12 @@ var BaseResource = class {
|
|
|
17112
17123
|
* complete-enough result. The client never owns the walk:
|
|
17113
17124
|
* - `limit` = total records (default 500, hard max 2500 — above it throws
|
|
17114
17125
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
17115
|
-
* the internal page size min(500, limit)
|
|
17116
|
-
*
|
|
17117
|
-
*
|
|
17118
|
-
*
|
|
17126
|
+
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
17127
|
+
* its walk from the matching count); every follow-up page POSTs the
|
|
17128
|
+
* SAME QueryModel body (`buildQueryBody`: MaxRecords, IncludeFields and
|
|
17129
|
+
* the preserved filter) to the absolute cursor (issue #118 — the vendor
|
|
17130
|
+
* honours IncludeFields there and ignores MaxRecords, serving its own
|
|
17131
|
+
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
17119
17132
|
* with a per-walk closure state (walks never share state).
|
|
17120
17133
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
17121
17134
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
@@ -18779,4 +18792,5 @@ var BaseResource = class {
|
|
|
18779
18792
|
|
|
18780
18793
|
|
|
18781
18794
|
|
|
18782
|
-
|
|
18795
|
+
|
|
18796
|
+
exports.AUTH_HEADERS = AUTH_HEADERS; exports.buildAuthHeaders = buildAuthHeaders; exports.withAuthHeaders = withAuthHeaders; exports.NoopLogger = NoopLogger; exports.REDACTED = REDACTED; exports.CREDENTIAL_HEADER_NAMES = CREDENTIAL_HEADER_NAMES; exports.isCredentialHeaderName = isCredentialHeaderName; exports.redactRecord = redactRecord; exports.SECRET_RESPONSE_FIELDS = SECRET_RESPONSE_FIELDS; exports.PERSONAL_RESPONSE_FIELDS = PERSONAL_RESPONSE_FIELDS; exports.CONFIDENTIAL_RESPONSE_FIELDS = CONFIDENTIAL_RESPONSE_FIELDS; exports.isRedactedFieldName = isRedactedFieldName; exports.redactResponseBody = redactResponseBody; exports.AutotaskError = AutotaskError; exports.AutotaskConfigError = AutotaskConfigError; exports.AutotaskNetworkError = AutotaskNetworkError; exports.AutotaskTimeoutError = AutotaskTimeoutError; exports.AutotaskAbortError = AutotaskAbortError; exports.ResponseRejectedError = ResponseRejectedError; exports.BadRequestError = BadRequestError; exports.UnauthorizedError = UnauthorizedError; exports.ForbiddenError = ForbiddenError; exports.NotFoundError = NotFoundError; exports.ConflictError = ConflictError; exports.UnprocessableEntityError = UnprocessableEntityError; exports.RateLimitError = RateLimitError; exports.ServerError = ServerError; exports.UnexpectedContentTypeError = UnexpectedContentTypeError; exports.EmptyResponseError = EmptyResponseError; exports.CircuitBreakerError = CircuitBreakerError; exports.HostPolicyDeniedError = HostPolicyDeniedError; exports.ResolutionError = ResolutionError; exports.PaginationLimitError = PaginationLimitError; exports.QueryTooLongError = QueryTooLongError; exports.parseVendorErrors = parseVendorErrors; exports.isDeterministicVendor500 = isDeterministicVendor500; exports.formatVendorDetail = formatVendorDetail; exports.CREDENTIAL_SHAPE_POINTER = CREDENTIAL_SHAPE_POINTER; exports.mergeDetails = mergeDetails; exports.errorFromStatus = errorFromStatus; exports.StaleObjectError = StaleObjectError; exports.ConfirmationRequiredError = ConfirmationRequiredError; exports.DeleteBoundaryError = DeleteBoundaryError; exports.MarkerUnsafeIdError = MarkerUnsafeIdError; exports.RecoveryTruncatedError = RecoveryTruncatedError; exports.isAutotaskError = isAutotaskError; exports.hasSurroundingQuotes = hasSurroundingQuotes; exports.credentialShapeProblem = credentialShapeProblem; exports.CREDENTIAL_ENV_LOAD_ACTION = CREDENTIAL_ENV_LOAD_ACTION; exports.MIN_PREFIX_SUMMARY_LENGTH = MIN_PREFIX_SUMMARY_LENGTH; exports.credentialValueSummary = credentialValueSummary; exports.FIELD_CACHE_KINDS = FIELD_CACHE_KINDS; exports.DEFAULT_CIRCUIT_BREAKER_WINDOW_MS = DEFAULT_CIRCUIT_BREAKER_WINDOW_MS; exports.DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD = DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD; exports.DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS = DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS; exports.DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE = DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE; exports.DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES = DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES; exports.InMemoryCircuitBreakerStore = InMemoryCircuitBreakerStore; exports.defaultCircuitBreakerStore = defaultCircuitBreakerStore; exports.resetDefaultCircuitBreakerStore = resetDefaultCircuitBreakerStore; exports.buildBreakerKey = buildBreakerKey; exports.isBreakerFailure = isBreakerFailure; exports.DEFAULT_COOLDOWN_MAX_MS = DEFAULT_COOLDOWN_MAX_MS; exports.DEFAULT_COOLDOWN_DEFAULT_MS = DEFAULT_COOLDOWN_DEFAULT_MS; exports.DEFAULT_COOLDOWN_MAX_ENTRIES = DEFAULT_COOLDOWN_MAX_ENTRIES; exports.InMemoryCooldownStore = InMemoryCooldownStore; exports.defaultCooldownStore = defaultCooldownStore; exports.resetDefaultCooldownStore = resetDefaultCooldownStore; exports.buildTenantKey = buildTenantKey; exports.cooldownDurationMs = cooldownDurationMs; exports.ZONE_CATALOG = ZONE_CATALOG; exports.ZONES = ZONES; exports.DEFAULT_ZONE = DEFAULT_ZONE; exports.AGENT_PROFILE = AGENT_PROFILE; exports.DEFAULT_PAGE_SIZE = DEFAULT_PAGE_SIZE; exports.MAX_PAGE_SIZE = MAX_PAGE_SIZE; exports.DEFAULT_TIMEOUT_MS = DEFAULT_TIMEOUT_MS; exports.DEFAULT_MAX_RETRIES = DEFAULT_MAX_RETRIES; exports.DEFAULT_MAINTENANCE_MAX_WAIT_MS = DEFAULT_MAINTENANCE_MAX_WAIT_MS; exports.DEFAULT_MAINTENANCE_POLL_MS = DEFAULT_MAINTENANCE_POLL_MS; exports.DEFAULT_MAX_CONCURRENT = DEFAULT_MAX_CONCURRENT; exports.DEFAULT_MAX_RESPONSE_BYTES = DEFAULT_MAX_RESPONSE_BYTES; exports.DEFAULT_MAX_SCAN_RECORDS = DEFAULT_MAX_SCAN_RECORDS; exports.DEFAULT_MAX_SCAN_PAGES = DEFAULT_MAX_SCAN_PAGES; exports.DEFAULT_READ_CACHE_TTL_MS = DEFAULT_READ_CACHE_TTL_MS; exports.DEFAULT_FIELD_CACHE_TTL_MS = DEFAULT_FIELD_CACHE_TTL_MS; exports.DEFAULT_RESOURCE_NAME_CACHE_TTL_MS = DEFAULT_RESOURCE_NAME_CACHE_TTL_MS; exports.zoneUrl = zoneUrl; exports.resolveBaseUrl = resolveBaseUrl; exports.resolveCredentials = resolveCredentials; exports.resolveConfig = resolveConfig; exports.isRecord = isRecord2; exports.assertRecord = assertRecord; exports.deepMergeParams = deepMergeParams; exports.isIdentifierCandidate = isIdentifierCandidate; exports.parseIdentifier = parseIdentifier; exports.flattenUdfs = flattenUdfs; exports.newCorrelationId = newCorrelationId; exports.redactAuditBody = redactAuditBody; exports.camelKey = camelKey; exports.FILTER_OPERATORS = FILTER_OPERATORS; exports.GROUPING_OPERATORS = GROUPING_OPERATORS; exports.MAX_OR_CONDITIONS = MAX_OR_CONDITIONS; exports.MAX_UDF_PER_QUERY = MAX_UDF_PER_QUERY; exports.MAX_QUERY_LENGTH = MAX_QUERY_LENGTH; exports.MAX_GET_LENGTH = MAX_GET_LENGTH; exports.MAX_FIELD_LENGTH = MAX_FIELD_LENGTH; exports.isFilterOperator = isFilterOperator; exports.serializeFilter = serializeFilter; exports.validateFilter = validateFilter; exports.buildFilter = buildFilter; exports.normalizedConditions = normalizedConditions; exports.RELATIONSHIP_ZONE = RELATIONSHIP_ZONE; exports.RELATIONSHIP_MAP = RELATIONSHIP_MAP; exports.BLIND_SURFACE_STAMPS = BLIND_SURFACE_STAMPS; exports.DELETE_BOUNDARY_NOTES = DELETE_BOUNDARY_NOTES; exports.MARKER_FIELDS = MARKER_FIELDS; exports.EMPTY_REASON_STAMPS = EMPTY_REASON_STAMPS; exports.BLIND_SURFACE_INVENTORY = BLIND_SURFACE_INVENTORY; exports.REACHABILITY_PROBE_DEFAULTS = REACHABILITY_PROBE_DEFAULTS; exports.CREATE_GUIDANCE = CREATE_GUIDANCE; exports.UNTRUSTED_FIELDS_BY_RESOURCE = UNTRUSTED_FIELDS_BY_RESOURCE; exports.IDEMPOTENT_METHODS = IDEMPOTENT_METHODS; exports.buildUrl = buildUrl; exports.cursorToPath = cursorToPath; exports.buildQueryBody = buildQueryBody; exports.buildQueryRequest = buildQueryRequest; exports.runWithSignal = runWithSignal; exports.HttpClient = HttpClient; exports.unwrapItems = unwrapItems; exports.unwrapItem = unwrapItem; exports.unwrapQueryCount = unwrapQueryCount; exports.unwrapOperation = unwrapOperation; exports.passthrough = passthrough; exports.MAX_PAGES = MAX_PAGES; exports.clampPageSize = clampPageSize; exports.totalPagesFor = totalPagesFor; exports.paginate = paginate; exports.paginateItems = paginateItems; exports.collectAll = collectAll; exports.toArray = toArray; exports.FIELD_PRESETS = FIELD_PRESETS; exports.FIELD_PRESET_NAMES = FIELD_PRESET_NAMES; exports.resolveFieldsPreset = resolveFieldsPreset; exports.BOUNDED_QUERY_MAX_LIMIT = BOUNDED_QUERY_MAX_LIMIT; exports.truncateNoteChars = truncateNoteChars; exports.buildDryRunResult = buildDryRunResult; exports.mergePartialBody = mergePartialBody; exports.blindStampFor = blindStampFor; exports.decodeFileData = decodeFileData; exports.BaseResource = BaseResource; exports.EXPAND_RESOURCE_NAMES_MAX_IDS = EXPAND_RESOURCE_NAMES_MAX_IDS; exports.expandResourceNames = expandResourceNames; exports.WORKFLOW_RESOURCES = WORKFLOW_RESOURCES; exports.MAX_FIELD_CATALOG_WIRE = MAX_FIELD_CATALOG_WIRE; exports.FIELD_CATALOG_HONESTY_NOTE = FIELD_CATALOG_HONESTY_NOTE; exports.fieldCatalog = fieldCatalog; exports.PICKLIST_VALUE_NOT_SERVED_NOTE = PICKLIST_VALUE_NOT_SERVED_NOTE; exports.TICKET_LABEL_FIELDS = TICKET_LABEL_FIELDS; exports.createNamePlan = createNamePlan; exports.addNameSibling = addNameSibling; exports.addLabelSibling = addLabelSibling; exports.resolveCompositeNames = resolveCompositeNames; exports.MODEL_FIELD_SETS = MODEL_FIELD_SETS; exports.MODEL_DATE_FIELDS = MODEL_DATE_FIELDS; exports.FETCH_MANY_MAX_ITEMS = FETCH_MANY_MAX_ITEMS; exports.validateFetchManyItems = validateFetchManyItems; exports.fetchMany = fetchMany; exports.FETCH_BY_IDS_MAX_ITEMS = FETCH_BY_IDS_MAX_ITEMS; exports.FETCH_BY_IDS_CHUNK_SIZE = FETCH_BY_IDS_CHUNK_SIZE; exports.fetchByIds = fetchByIds;
|
|
@@ -1352,10 +1352,30 @@ declare function buildUrl(baseUrl: string, path: string, query?: Record<string,
|
|
|
1352
1352
|
* double it.
|
|
1353
1353
|
*/
|
|
1354
1354
|
declare function cursorToPath(baseUrl: string, cursor: string): string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Build the QueryModel POST body shared by the page-1 `/query` POST and every
|
|
1357
|
+
* cursor continuation (issue #118). Key order is pinned: `MaxRecords`,
|
|
1358
|
+
* `IncludeFields`, `filter` (the POST-body order every walk test pins).
|
|
1359
|
+
*
|
|
1360
|
+
* - `MaxRecords` only when `maxRecords` is set. Live-verified 2026-10-19
|
|
1361
|
+
* (ww29): the vendor IGNORES `MaxRecords` on a continuation and returns its
|
|
1362
|
+
* own 500-row page — harmless, because the walk slices to its own limit.
|
|
1363
|
+
* - `IncludeFields` only when `includeFields` is set, with `id` appended once
|
|
1364
|
+
* (issue #59: the vendor omits `id` from a row unless it is named). The
|
|
1365
|
+
* vendor HONOURS `IncludeFields` on a continuation, so carrying it turns a
|
|
1366
|
+
* projected page-1 walk into a projected walk (before #118 page 2+ POSTed
|
|
1367
|
+
* `{ filter }` alone and returned FULL rows — 4 keys on page 1, 73 on
|
|
1368
|
+
* page 2, live-reproduced 2026-10-19 against ww29).
|
|
1369
|
+
* - `filter` ALWAYS present (`[]` when no conditions) — node parity; see the
|
|
1370
|
+
* comment at the assignment below.
|
|
1371
|
+
*/
|
|
1372
|
+
declare function buildQueryBody(params: QueryParams): Record<string, unknown>;
|
|
1355
1373
|
/**
|
|
1356
1374
|
* Build the RequestOptions for a `/query` call (ARCHITECTURE section 8.2).
|
|
1357
|
-
* POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }`
|
|
1358
|
-
*
|
|
1375
|
+
* POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }` from
|
|
1376
|
+
* {@link buildQueryBody} (one source of truth with the cursor continuations of
|
|
1377
|
+
* a walk; `filter` is ALWAYS sent — an empty array when absent — node parity,
|
|
1378
|
+
* and some zone versions 500 on its absence; the field is the conditions array).
|
|
1359
1379
|
* `via: 'get'` — GET `?search=<json>` with the FULL measured URL checked
|
|
1360
1380
|
* against the 2048-char cap; above it the call THROWS `QueryTooLongError`
|
|
1361
1381
|
* (never a silent switch to POST). When `includeFields` is set the SDK
|
|
@@ -1632,7 +1652,7 @@ declare function toArray<T>(iter: AsyncIterable<T>): Promise<T[]>;
|
|
|
1632
1652
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
1633
1653
|
* - docs/API.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
1634
1654
|
*
|
|
1635
|
-
* planHash:
|
|
1655
|
+
* planHash: 5176d37fc9bae34139c151ae0ea8336dab63a30382f04acbcaed0e24cdd71d5f
|
|
1636
1656
|
*/
|
|
1637
1657
|
|
|
1638
1658
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -1862,7 +1882,9 @@ interface BoundedQueryParams extends QueryParams {
|
|
|
1862
1882
|
/**
|
|
1863
1883
|
* TOTAL records to return (NOT a page size): default 500, hard max 2500
|
|
1864
1884
|
* (above it throws AutotaskConfigError). The internal walk chooses the
|
|
1865
|
-
* page size (min(500, limit)
|
|
1885
|
+
* page size (`min(500, limit)` on the normal path; the `latest` mechanism
|
|
1886
|
+
* sizes its walk from the matching count/window); `maxRecords` is ignored
|
|
1887
|
+
* by this method.
|
|
1866
1888
|
*/
|
|
1867
1889
|
limit?: number;
|
|
1868
1890
|
/**
|
|
@@ -2081,7 +2103,7 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2081
2103
|
/** The bounded client-scan caps (section 19.2; resolved per client). */
|
|
2082
2104
|
protected get resolutionCaps(): ResolutionCaps;
|
|
2083
2105
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
2084
|
-
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the
|
|
2106
|
+
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the same body (`buildQueryBody`) to the absolute cursor (issue #118). */
|
|
2085
2107
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
2086
2108
|
private readPage;
|
|
2087
2109
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
@@ -2100,10 +2122,12 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2100
2122
|
* complete-enough result. The client never owns the walk:
|
|
2101
2123
|
* - `limit` = total records (default 500, hard max 2500 — above it throws
|
|
2102
2124
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
2103
|
-
* the internal page size min(500, limit)
|
|
2104
|
-
*
|
|
2105
|
-
*
|
|
2106
|
-
*
|
|
2125
|
+
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
2126
|
+
* its walk from the matching count); every follow-up page POSTs the
|
|
2127
|
+
* SAME QueryModel body (`buildQueryBody`: MaxRecords, IncludeFields and
|
|
2128
|
+
* the preserved filter) to the absolute cursor (issue #118 — the vendor
|
|
2129
|
+
* honours IncludeFields there and ignores MaxRecords, serving its own
|
|
2130
|
+
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
2107
2131
|
* with a per-walk closure state (walks never share state).
|
|
2108
2132
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
2109
2133
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
@@ -9336,4 +9360,4 @@ declare class AutotaskClient {
|
|
|
9336
9360
|
}): Promise<PromiseSettledResult<R>[]>;
|
|
9337
9361
|
}
|
|
9338
9362
|
|
|
9339
|
-
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, type NotificationHistoryResourceQueryParams as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAX_PAGES as bU, MAX_PAGE_SIZE as bV, MarkerUnsafeIdError as bW, ModulesResource as bX, NoopLogger as bY, NotFoundError as bZ, NotificationHistoryResource as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, type ResourceTimeOffAdditionalResourceQueryParams as c$, OpportunitiesResource as c0, type OpportunitiesResourceQueryParams as c1, OpportunityAttachmentsResource as c2, type OpportunityAttachmentsResourceQueryParams as c3, OpportunityCategoriesResource as c4, type OpportunityCategoriesResourceQueryParams as c5, type PageFetcher as c6, type PaginateOptions as c7, PaginationLimitError as c8, PhasesResource as c9, type PurchaseOrderItemReceivingResourceQueryParams as cA, PurchaseOrderItemsResource as cB, type PurchaseOrderItemsResourceQueryParams as cC, PurchaseOrdersResource as cD, type PurchaseOrdersResourceQueryParams as cE, QueryTooLongError as cF, QuoteItemsResource as cG, type QuoteItemsResourceQueryParams as cH, QuoteLocationsResource as cI, type QuoteLocationsResourceQueryParams as cJ, QuoteTemplatesResource as cK, type QuoteTemplatesResourceQueryParams as cL, QuotesResource as cM, type QuotesResourceQueryParams as cN, REDACTED as cO, RateLimitError as cP, RecoveryTruncatedError as cQ, type RequestOptions as cR, ResolutionError as cS, type ResolvedAutotaskConfig as cT, ResourceRoleQueuesResource as cU, type ResourceRoleQueuesResourceQueryParams as cV, ResourceRolesResource as cW, type ResourceRolesResourceQueryParams as cX, ResourceSkillsResource as cY, type ResourceSkillsResourceQueryParams as cZ, ResourceTimeOffAdditionalResource as c_, type PhasesResourceQueryParams as ca, ProductVendorsResource as cb, type ProductVendorsResourceQueryParams as cc, ProductsResource as cd, type ProductsResourceQueryParams as ce, type ProfitRateSource as cf, type ProfitabilityActivityCategory as cg, type ProfitabilityDataQualityWarning as ch, type ProfitabilityHighestCostTicket as ci, type ProfitabilityLabourCostMethod as cj, type ProfitabilityMiscoding as ck, type ProfitabilityMonthlyRow as cl, type ProfitabilityOpenRenewalItem as cm, type ProfitabilityOptions as cn, type ProfitabilityPart as co, type ProfitabilityPartDigest as cp, type ProfitabilityRevenueByType as cq, ProjectChargesResource as cr, type ProjectChargesResourceQueryParams as cs, ProjectNotesResource as ct, type ProjectNotesResourceQueryParams as cu, ProjectsResource as cv, type ProjectsResourceQueryParams as cw, PurchaseApprovalsResource as cx, type PurchaseApprovalsResourceQueryParams as cy, PurchaseOrderItemReceivingResource as cz, type AppointmentsResourceQueryParams as d, TicketChecklistLibrariesResource as d$, ResourceTimeOffApproversResource as d0, type ResourceTimeOffApproversResourceQueryParams as d1, ResourceTimeOffBalancesResource as d2, type ResourceTimeOffBalancesResourceQueryParams as d3, ResourcesResource as d4, type ResourcesResourceQueryParams as d5, ResponseRejectedError as d6, RolesResource as d7, type RolesResourceQueryParams as d8, ServerError as d9, TagAliasesResource as dA, type TagAliasesResourceQueryParams as dB, TagGroupsResource as dC, type TagGroupsResourceQueryParams as dD, TagsResource as dE, type TagsResourceQueryParams as dF, TaskSecondaryResourcesResource as dG, type TaskSecondaryResourcesResourceQueryParams as dH, TasksResource as dI, type TasksResourceQueryParams as dJ, ThresholdInformationResource as dK, TicketAdditionalConfigurationItemsResource as dL, type TicketAdditionalConfigurationItemsResourceQueryParams as dM, TicketAdditionalContactsResource as dN, type TicketAdditionalContactsResourceQueryParams as dO, TicketAttachmentsResource as dP, type TicketAttachmentsResourceQueryParams as dQ, TicketCategoriesResource as dR, type TicketCategoriesResourceQueryParams as dS, TicketCategoryFieldDefaultsResource as dT, type TicketCategoryFieldDefaultsResourceQueryParams as dU, TicketChangeRequestApprovalsResource as dV, type TicketChangeRequestApprovalsResourceQueryParams as dW, TicketChargesResource as dX, type TicketChargesResourceQueryParams as dY, TicketChecklistItemsResource as dZ, type TicketChecklistItemsResourceQueryParams as d_, ServiceCallTaskResourcesResource as da, type ServiceCallTaskResourcesResourceQueryParams as db, ServiceCallTasksResource as dc, type ServiceCallTasksResourceQueryParams as dd, ServiceCallTicketResourcesResource as de, type ServiceCallTicketResourcesResourceQueryParams as df, ServiceCallTicketsResource as dg, type ServiceCallTicketsResourceQueryParams as dh, ServiceCallsResource as di, type ServiceCallsResourceQueryParams as dj, ServiceLevelAgreementResultsResource as dk, type ServiceLevelAgreementResultsResourceQueryParams as dl, ServicesResource as dm, type ServicesResourceQueryParams as dn, SkillsResource as dp, type SkillsResourceQueryParams as dq, StaleObjectError as dr, SubscriptionPeriodsResource as ds, type SubscriptionPeriodsResourceQueryParams as dt, SubscriptionsResource as du, type SubscriptionsResourceQueryParams as dv, SurveyResultsResource as dw, type SurveyResultsResourceQueryParams as dx, SurveysResource as dy, type SurveysResourceQueryParams as dz, AuthenticateResource as e, unwrapOperation as e$, type TicketChecklistLibrariesResourceQueryParams as e0, TicketHistoryResource as e1, type TicketHistoryResourceQueryParams as e2, TicketNoteAttachmentsResource as e3, type TicketNoteAttachmentsResourceQueryParams as e4, TicketNoteWebhooksResource as e5, type TicketNoteWebhooksResourceQueryParams as e6, TicketNotesResource as e7, type TicketNotesResourceQueryParams as e8, TicketSecondaryResourcesResource as e9, collectAll as eA, cooldownDurationMs as eB, cursorToPath as eC, defaultCircuitBreakerStore as eD, defaultCooldownStore as eE, errorFromStatus as eF, formatVendorDetail as eG, isAutotaskError as eH, isBreakerFailure as eI, isCredentialHeaderName as eJ, isDeterministicVendor500 as eK, mergeDetails as eL, paginate as eM, paginateItems as eN, parseVendorErrors as eO, passthrough as eP, redactRecord as eQ, resetDefaultCircuitBreakerStore as eR, resetDefaultCooldownStore as eS, resolveBaseUrl as eT, resolveConfig as eU, resolveCredentials as eV, runWithSignal as eW, toArray as eX, totalPagesFor as eY, unwrapItem as eZ, unwrapItems as e_, type TicketSecondaryResourcesResourceQueryParams as ea, TicketWebhooksResource as eb, type TicketWebhooksResourceQueryParams as ec, TicketsResource as ed, type TicketsResourceQueryParams as ee, TimeEntriesResource as ef, type TimeEntriesResourceQueryParams as eg, TimeEntryAttachmentsResource as eh, type TimeEntryAttachmentsResourceQueryParams as ei, TimeOffRequestsResource as ej, type TimeOffRequestsResourceQueryParams as ek, UnauthorizedError as el, UnexpectedContentTypeError as em, UnprocessableEntityError as en, type VendorFieldError as eo, VersionInformationResource as ep, VersionResource as eq, ZONES as er, ZONE_CATALOG as es, ZoneInformationResource as et, type ZoneName as eu, buildBreakerKey as ev, buildQueryRequest as ew, buildTenantKey as ex, buildUrl as ey, clampPageSize as ez, AutotaskAbortError as f, unwrapQueryCount as f0, zoneUrl as f1, type BlindSurfaceInfo as f2, type RelationshipResource as f3, type BlindSurfaceInventory as f4, type BlindSurfaceRow as f5, type CreateBlockerKind as f6, type CreateGuidanceReport as f7, type FieldCacheKind as f8, FIELD_CACHE_KINDS as f9, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|
|
9363
|
+
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, type NotificationHistoryResourceQueryParams as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAX_PAGES as bU, MAX_PAGE_SIZE as bV, MarkerUnsafeIdError as bW, ModulesResource as bX, NoopLogger as bY, NotFoundError as bZ, NotificationHistoryResource as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, type ResourceTimeOffAdditionalResourceQueryParams as c$, OpportunitiesResource as c0, type OpportunitiesResourceQueryParams as c1, OpportunityAttachmentsResource as c2, type OpportunityAttachmentsResourceQueryParams as c3, OpportunityCategoriesResource as c4, type OpportunityCategoriesResourceQueryParams as c5, type PageFetcher as c6, type PaginateOptions as c7, PaginationLimitError as c8, PhasesResource as c9, type PurchaseOrderItemReceivingResourceQueryParams as cA, PurchaseOrderItemsResource as cB, type PurchaseOrderItemsResourceQueryParams as cC, PurchaseOrdersResource as cD, type PurchaseOrdersResourceQueryParams as cE, QueryTooLongError as cF, QuoteItemsResource as cG, type QuoteItemsResourceQueryParams as cH, QuoteLocationsResource as cI, type QuoteLocationsResourceQueryParams as cJ, QuoteTemplatesResource as cK, type QuoteTemplatesResourceQueryParams as cL, QuotesResource as cM, type QuotesResourceQueryParams as cN, REDACTED as cO, RateLimitError as cP, RecoveryTruncatedError as cQ, type RequestOptions as cR, ResolutionError as cS, type ResolvedAutotaskConfig as cT, ResourceRoleQueuesResource as cU, type ResourceRoleQueuesResourceQueryParams as cV, ResourceRolesResource as cW, type ResourceRolesResourceQueryParams as cX, ResourceSkillsResource as cY, type ResourceSkillsResourceQueryParams as cZ, ResourceTimeOffAdditionalResource as c_, type PhasesResourceQueryParams as ca, ProductVendorsResource as cb, type ProductVendorsResourceQueryParams as cc, ProductsResource as cd, type ProductsResourceQueryParams as ce, type ProfitRateSource as cf, type ProfitabilityActivityCategory as cg, type ProfitabilityDataQualityWarning as ch, type ProfitabilityHighestCostTicket as ci, type ProfitabilityLabourCostMethod as cj, type ProfitabilityMiscoding as ck, type ProfitabilityMonthlyRow as cl, type ProfitabilityOpenRenewalItem as cm, type ProfitabilityOptions as cn, type ProfitabilityPart as co, type ProfitabilityPartDigest as cp, type ProfitabilityRevenueByType as cq, ProjectChargesResource as cr, type ProjectChargesResourceQueryParams as cs, ProjectNotesResource as ct, type ProjectNotesResourceQueryParams as cu, ProjectsResource as cv, type ProjectsResourceQueryParams as cw, PurchaseApprovalsResource as cx, type PurchaseApprovalsResourceQueryParams as cy, PurchaseOrderItemReceivingResource as cz, type AppointmentsResourceQueryParams as d, TicketChecklistLibrariesResource as d$, ResourceTimeOffApproversResource as d0, type ResourceTimeOffApproversResourceQueryParams as d1, ResourceTimeOffBalancesResource as d2, type ResourceTimeOffBalancesResourceQueryParams as d3, ResourcesResource as d4, type ResourcesResourceQueryParams as d5, ResponseRejectedError as d6, RolesResource as d7, type RolesResourceQueryParams as d8, ServerError as d9, TagAliasesResource as dA, type TagAliasesResourceQueryParams as dB, TagGroupsResource as dC, type TagGroupsResourceQueryParams as dD, TagsResource as dE, type TagsResourceQueryParams as dF, TaskSecondaryResourcesResource as dG, type TaskSecondaryResourcesResourceQueryParams as dH, TasksResource as dI, type TasksResourceQueryParams as dJ, ThresholdInformationResource as dK, TicketAdditionalConfigurationItemsResource as dL, type TicketAdditionalConfigurationItemsResourceQueryParams as dM, TicketAdditionalContactsResource as dN, type TicketAdditionalContactsResourceQueryParams as dO, TicketAttachmentsResource as dP, type TicketAttachmentsResourceQueryParams as dQ, TicketCategoriesResource as dR, type TicketCategoriesResourceQueryParams as dS, TicketCategoryFieldDefaultsResource as dT, type TicketCategoryFieldDefaultsResourceQueryParams as dU, TicketChangeRequestApprovalsResource as dV, type TicketChangeRequestApprovalsResourceQueryParams as dW, TicketChargesResource as dX, type TicketChargesResourceQueryParams as dY, TicketChecklistItemsResource as dZ, type TicketChecklistItemsResourceQueryParams as d_, ServiceCallTaskResourcesResource as da, type ServiceCallTaskResourcesResourceQueryParams as db, ServiceCallTasksResource as dc, type ServiceCallTasksResourceQueryParams as dd, ServiceCallTicketResourcesResource as de, type ServiceCallTicketResourcesResourceQueryParams as df, ServiceCallTicketsResource as dg, type ServiceCallTicketsResourceQueryParams as dh, ServiceCallsResource as di, type ServiceCallsResourceQueryParams as dj, ServiceLevelAgreementResultsResource as dk, type ServiceLevelAgreementResultsResourceQueryParams as dl, ServicesResource as dm, type ServicesResourceQueryParams as dn, SkillsResource as dp, type SkillsResourceQueryParams as dq, StaleObjectError as dr, SubscriptionPeriodsResource as ds, type SubscriptionPeriodsResourceQueryParams as dt, SubscriptionsResource as du, type SubscriptionsResourceQueryParams as dv, SurveyResultsResource as dw, type SurveyResultsResourceQueryParams as dx, SurveysResource as dy, type SurveysResourceQueryParams as dz, AuthenticateResource as e, unwrapItems as e$, type TicketChecklistLibrariesResourceQueryParams as e0, TicketHistoryResource as e1, type TicketHistoryResourceQueryParams as e2, TicketNoteAttachmentsResource as e3, type TicketNoteAttachmentsResourceQueryParams as e4, TicketNoteWebhooksResource as e5, type TicketNoteWebhooksResourceQueryParams as e6, TicketNotesResource as e7, type TicketNotesResourceQueryParams as e8, TicketSecondaryResourcesResource as e9, clampPageSize as eA, collectAll as eB, cooldownDurationMs as eC, cursorToPath as eD, defaultCircuitBreakerStore as eE, defaultCooldownStore as eF, errorFromStatus as eG, formatVendorDetail as eH, isAutotaskError as eI, isBreakerFailure as eJ, isCredentialHeaderName as eK, isDeterministicVendor500 as eL, mergeDetails as eM, paginate as eN, paginateItems as eO, parseVendorErrors as eP, passthrough as eQ, redactRecord as eR, resetDefaultCircuitBreakerStore as eS, resetDefaultCooldownStore as eT, resolveBaseUrl as eU, resolveConfig as eV, resolveCredentials as eW, runWithSignal as eX, toArray as eY, totalPagesFor as eZ, unwrapItem as e_, type TicketSecondaryResourcesResourceQueryParams as ea, TicketWebhooksResource as eb, type TicketWebhooksResourceQueryParams as ec, TicketsResource as ed, type TicketsResourceQueryParams as ee, TimeEntriesResource as ef, type TimeEntriesResourceQueryParams as eg, TimeEntryAttachmentsResource as eh, type TimeEntryAttachmentsResourceQueryParams as ei, TimeOffRequestsResource as ej, type TimeOffRequestsResourceQueryParams as ek, UnauthorizedError as el, UnexpectedContentTypeError as em, UnprocessableEntityError as en, type VendorFieldError as eo, VersionInformationResource as ep, VersionResource as eq, ZONES as er, ZONE_CATALOG as es, ZoneInformationResource as et, type ZoneName as eu, buildBreakerKey as ev, buildQueryBody as ew, buildQueryRequest as ex, buildTenantKey as ey, buildUrl as ez, AutotaskAbortError as f, unwrapOperation as f0, unwrapQueryCount as f1, zoneUrl as f2, type BlindSurfaceInfo as f3, type RelationshipResource as f4, type BlindSurfaceInventory as f5, type BlindSurfaceRow as f6, type CreateBlockerKind as f7, type CreateGuidanceReport as f8, type FieldCacheKind as f9, FIELD_CACHE_KINDS as fa, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|
|
@@ -1352,10 +1352,30 @@ declare function buildUrl(baseUrl: string, path: string, query?: Record<string,
|
|
|
1352
1352
|
* double it.
|
|
1353
1353
|
*/
|
|
1354
1354
|
declare function cursorToPath(baseUrl: string, cursor: string): string;
|
|
1355
|
+
/**
|
|
1356
|
+
* Build the QueryModel POST body shared by the page-1 `/query` POST and every
|
|
1357
|
+
* cursor continuation (issue #118). Key order is pinned: `MaxRecords`,
|
|
1358
|
+
* `IncludeFields`, `filter` (the POST-body order every walk test pins).
|
|
1359
|
+
*
|
|
1360
|
+
* - `MaxRecords` only when `maxRecords` is set. Live-verified 2026-10-19
|
|
1361
|
+
* (ww29): the vendor IGNORES `MaxRecords` on a continuation and returns its
|
|
1362
|
+
* own 500-row page — harmless, because the walk slices to its own limit.
|
|
1363
|
+
* - `IncludeFields` only when `includeFields` is set, with `id` appended once
|
|
1364
|
+
* (issue #59: the vendor omits `id` from a row unless it is named). The
|
|
1365
|
+
* vendor HONOURS `IncludeFields` on a continuation, so carrying it turns a
|
|
1366
|
+
* projected page-1 walk into a projected walk (before #118 page 2+ POSTed
|
|
1367
|
+
* `{ filter }` alone and returned FULL rows — 4 keys on page 1, 73 on
|
|
1368
|
+
* page 2, live-reproduced 2026-10-19 against ww29).
|
|
1369
|
+
* - `filter` ALWAYS present (`[]` when no conditions) — node parity; see the
|
|
1370
|
+
* comment at the assignment below.
|
|
1371
|
+
*/
|
|
1372
|
+
declare function buildQueryBody(params: QueryParams): Record<string, unknown>;
|
|
1355
1373
|
/**
|
|
1356
1374
|
* Build the RequestOptions for a `/query` call (ARCHITECTURE section 8.2).
|
|
1357
|
-
* POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }`
|
|
1358
|
-
*
|
|
1375
|
+
* POST-always by default — body `{ MaxRecords?, IncludeFields?, filter }` from
|
|
1376
|
+
* {@link buildQueryBody} (one source of truth with the cursor continuations of
|
|
1377
|
+
* a walk; `filter` is ALWAYS sent — an empty array when absent — node parity,
|
|
1378
|
+
* and some zone versions 500 on its absence; the field is the conditions array).
|
|
1359
1379
|
* `via: 'get'` — GET `?search=<json>` with the FULL measured URL checked
|
|
1360
1380
|
* against the 2048-char cap; above it the call THROWS `QueryTooLongError`
|
|
1361
1381
|
* (never a silent switch to POST). When `includeFields` is set the SDK
|
|
@@ -1632,7 +1652,7 @@ declare function toArray<T>(iter: AsyncIterable<T>): Promise<T[]>;
|
|
|
1632
1652
|
* queryBounded noteChars free-text cap (issue #61 — response-side only);
|
|
1633
1653
|
* - docs/API.md §11.7/§11.8/§11.9/§11.10/§11.11/§11.12 render the same facts.
|
|
1634
1654
|
*
|
|
1635
|
-
* planHash:
|
|
1655
|
+
* planHash: 5176d37fc9bae34139c151ae0ea8336dab63a30382f04acbcaed0e24cdd71d5f
|
|
1636
1656
|
*/
|
|
1637
1657
|
|
|
1638
1658
|
/** One pinned blind-surface stamp (the result-time sentinel object). */
|
|
@@ -1862,7 +1882,9 @@ interface BoundedQueryParams extends QueryParams {
|
|
|
1862
1882
|
/**
|
|
1863
1883
|
* TOTAL records to return (NOT a page size): default 500, hard max 2500
|
|
1864
1884
|
* (above it throws AutotaskConfigError). The internal walk chooses the
|
|
1865
|
-
* page size (min(500, limit)
|
|
1885
|
+
* page size (`min(500, limit)` on the normal path; the `latest` mechanism
|
|
1886
|
+
* sizes its walk from the matching count/window); `maxRecords` is ignored
|
|
1887
|
+
* by this method.
|
|
1866
1888
|
*/
|
|
1867
1889
|
limit?: number;
|
|
1868
1890
|
/**
|
|
@@ -2081,7 +2103,7 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2081
2103
|
/** The bounded client-scan caps (section 19.2; resolved per client). */
|
|
2082
2104
|
protected get resolutionCaps(): ResolutionCaps;
|
|
2083
2105
|
constructor(http: HttpClient, config: BaseResourceConfig, pageSize?: number);
|
|
2084
|
-
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the
|
|
2106
|
+
/** One page fetch: page 1 POSTs the QueryModel body; later pages POST the same body (`buildQueryBody`) to the absolute cursor (issue #118). */
|
|
2085
2107
|
protected fetchPage(params: QueryParams, page: number, pageSize: number, state: QueryWalkState): Promise<Page<T>>;
|
|
2086
2108
|
private readPage;
|
|
2087
2109
|
/** Build the per-walk fetcher (closure keeps cursor state private to this walk). */
|
|
@@ -2100,10 +2122,12 @@ declare abstract class BaseResource<T = Record<string, unknown>, TCreate = Recor
|
|
|
2100
2122
|
* complete-enough result. The client never owns the walk:
|
|
2101
2123
|
* - `limit` = total records (default 500, hard max 2500 — above it throws
|
|
2102
2124
|
* AutotaskConfigError; it is NOT a page size). The page-1 request uses
|
|
2103
|
-
* the internal page size min(500, limit)
|
|
2104
|
-
*
|
|
2105
|
-
*
|
|
2106
|
-
*
|
|
2125
|
+
* the internal page size min(500, limit) (the `latest` mechanism sizes
|
|
2126
|
+
* its walk from the matching count); every follow-up page POSTs the
|
|
2127
|
+
* SAME QueryModel body (`buildQueryBody`: MaxRecords, IncludeFields and
|
|
2128
|
+
* the preserved filter) to the absolute cursor (issue #118 — the vendor
|
|
2129
|
+
* honours IncludeFields there and ignores MaxRecords, serving its own
|
|
2130
|
+
* page size), so the walk reuses `fetchPage` (the shared cursor machinery)
|
|
2107
2131
|
* with a per-walk closure state (walks never share state).
|
|
2108
2132
|
* - The 1000-page guard still applies as a SOFT stop: a walk that would
|
|
2109
2133
|
* fetch a 1001st page stops with `hasMore: true` (never a throw — this
|
|
@@ -9336,4 +9360,4 @@ declare class AutotaskClient {
|
|
|
9336
9360
|
}): Promise<PromiseSettledResult<R>[]>;
|
|
9337
9361
|
}
|
|
9338
9362
|
|
|
9339
|
-
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, type NotificationHistoryResourceQueryParams as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAX_PAGES as bU, MAX_PAGE_SIZE as bV, MarkerUnsafeIdError as bW, ModulesResource as bX, NoopLogger as bY, NotFoundError as bZ, NotificationHistoryResource as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, type ResourceTimeOffAdditionalResourceQueryParams as c$, OpportunitiesResource as c0, type OpportunitiesResourceQueryParams as c1, OpportunityAttachmentsResource as c2, type OpportunityAttachmentsResourceQueryParams as c3, OpportunityCategoriesResource as c4, type OpportunityCategoriesResourceQueryParams as c5, type PageFetcher as c6, type PaginateOptions as c7, PaginationLimitError as c8, PhasesResource as c9, type PurchaseOrderItemReceivingResourceQueryParams as cA, PurchaseOrderItemsResource as cB, type PurchaseOrderItemsResourceQueryParams as cC, PurchaseOrdersResource as cD, type PurchaseOrdersResourceQueryParams as cE, QueryTooLongError as cF, QuoteItemsResource as cG, type QuoteItemsResourceQueryParams as cH, QuoteLocationsResource as cI, type QuoteLocationsResourceQueryParams as cJ, QuoteTemplatesResource as cK, type QuoteTemplatesResourceQueryParams as cL, QuotesResource as cM, type QuotesResourceQueryParams as cN, REDACTED as cO, RateLimitError as cP, RecoveryTruncatedError as cQ, type RequestOptions as cR, ResolutionError as cS, type ResolvedAutotaskConfig as cT, ResourceRoleQueuesResource as cU, type ResourceRoleQueuesResourceQueryParams as cV, ResourceRolesResource as cW, type ResourceRolesResourceQueryParams as cX, ResourceSkillsResource as cY, type ResourceSkillsResourceQueryParams as cZ, ResourceTimeOffAdditionalResource as c_, type PhasesResourceQueryParams as ca, ProductVendorsResource as cb, type ProductVendorsResourceQueryParams as cc, ProductsResource as cd, type ProductsResourceQueryParams as ce, type ProfitRateSource as cf, type ProfitabilityActivityCategory as cg, type ProfitabilityDataQualityWarning as ch, type ProfitabilityHighestCostTicket as ci, type ProfitabilityLabourCostMethod as cj, type ProfitabilityMiscoding as ck, type ProfitabilityMonthlyRow as cl, type ProfitabilityOpenRenewalItem as cm, type ProfitabilityOptions as cn, type ProfitabilityPart as co, type ProfitabilityPartDigest as cp, type ProfitabilityRevenueByType as cq, ProjectChargesResource as cr, type ProjectChargesResourceQueryParams as cs, ProjectNotesResource as ct, type ProjectNotesResourceQueryParams as cu, ProjectsResource as cv, type ProjectsResourceQueryParams as cw, PurchaseApprovalsResource as cx, type PurchaseApprovalsResourceQueryParams as cy, PurchaseOrderItemReceivingResource as cz, type AppointmentsResourceQueryParams as d, TicketChecklistLibrariesResource as d$, ResourceTimeOffApproversResource as d0, type ResourceTimeOffApproversResourceQueryParams as d1, ResourceTimeOffBalancesResource as d2, type ResourceTimeOffBalancesResourceQueryParams as d3, ResourcesResource as d4, type ResourcesResourceQueryParams as d5, ResponseRejectedError as d6, RolesResource as d7, type RolesResourceQueryParams as d8, ServerError as d9, TagAliasesResource as dA, type TagAliasesResourceQueryParams as dB, TagGroupsResource as dC, type TagGroupsResourceQueryParams as dD, TagsResource as dE, type TagsResourceQueryParams as dF, TaskSecondaryResourcesResource as dG, type TaskSecondaryResourcesResourceQueryParams as dH, TasksResource as dI, type TasksResourceQueryParams as dJ, ThresholdInformationResource as dK, TicketAdditionalConfigurationItemsResource as dL, type TicketAdditionalConfigurationItemsResourceQueryParams as dM, TicketAdditionalContactsResource as dN, type TicketAdditionalContactsResourceQueryParams as dO, TicketAttachmentsResource as dP, type TicketAttachmentsResourceQueryParams as dQ, TicketCategoriesResource as dR, type TicketCategoriesResourceQueryParams as dS, TicketCategoryFieldDefaultsResource as dT, type TicketCategoryFieldDefaultsResourceQueryParams as dU, TicketChangeRequestApprovalsResource as dV, type TicketChangeRequestApprovalsResourceQueryParams as dW, TicketChargesResource as dX, type TicketChargesResourceQueryParams as dY, TicketChecklistItemsResource as dZ, type TicketChecklistItemsResourceQueryParams as d_, ServiceCallTaskResourcesResource as da, type ServiceCallTaskResourcesResourceQueryParams as db, ServiceCallTasksResource as dc, type ServiceCallTasksResourceQueryParams as dd, ServiceCallTicketResourcesResource as de, type ServiceCallTicketResourcesResourceQueryParams as df, ServiceCallTicketsResource as dg, type ServiceCallTicketsResourceQueryParams as dh, ServiceCallsResource as di, type ServiceCallsResourceQueryParams as dj, ServiceLevelAgreementResultsResource as dk, type ServiceLevelAgreementResultsResourceQueryParams as dl, ServicesResource as dm, type ServicesResourceQueryParams as dn, SkillsResource as dp, type SkillsResourceQueryParams as dq, StaleObjectError as dr, SubscriptionPeriodsResource as ds, type SubscriptionPeriodsResourceQueryParams as dt, SubscriptionsResource as du, type SubscriptionsResourceQueryParams as dv, SurveyResultsResource as dw, type SurveyResultsResourceQueryParams as dx, SurveysResource as dy, type SurveysResourceQueryParams as dz, AuthenticateResource as e, unwrapOperation as e$, type TicketChecklistLibrariesResourceQueryParams as e0, TicketHistoryResource as e1, type TicketHistoryResourceQueryParams as e2, TicketNoteAttachmentsResource as e3, type TicketNoteAttachmentsResourceQueryParams as e4, TicketNoteWebhooksResource as e5, type TicketNoteWebhooksResourceQueryParams as e6, TicketNotesResource as e7, type TicketNotesResourceQueryParams as e8, TicketSecondaryResourcesResource as e9, collectAll as eA, cooldownDurationMs as eB, cursorToPath as eC, defaultCircuitBreakerStore as eD, defaultCooldownStore as eE, errorFromStatus as eF, formatVendorDetail as eG, isAutotaskError as eH, isBreakerFailure as eI, isCredentialHeaderName as eJ, isDeterministicVendor500 as eK, mergeDetails as eL, paginate as eM, paginateItems as eN, parseVendorErrors as eO, passthrough as eP, redactRecord as eQ, resetDefaultCircuitBreakerStore as eR, resetDefaultCooldownStore as eS, resolveBaseUrl as eT, resolveConfig as eU, resolveCredentials as eV, runWithSignal as eW, toArray as eX, totalPagesFor as eY, unwrapItem as eZ, unwrapItems as e_, type TicketSecondaryResourcesResourceQueryParams as ea, TicketWebhooksResource as eb, type TicketWebhooksResourceQueryParams as ec, TicketsResource as ed, type TicketsResourceQueryParams as ee, TimeEntriesResource as ef, type TimeEntriesResourceQueryParams as eg, TimeEntryAttachmentsResource as eh, type TimeEntryAttachmentsResourceQueryParams as ei, TimeOffRequestsResource as ej, type TimeOffRequestsResourceQueryParams as ek, UnauthorizedError as el, UnexpectedContentTypeError as em, UnprocessableEntityError as en, type VendorFieldError as eo, VersionInformationResource as ep, VersionResource as eq, ZONES as er, ZONE_CATALOG as es, ZoneInformationResource as et, type ZoneName as eu, buildBreakerKey as ev, buildQueryRequest as ew, buildTenantKey as ex, buildUrl as ey, clampPageSize as ez, AutotaskAbortError as f, unwrapQueryCount as f0, zoneUrl as f1, type BlindSurfaceInfo as f2, type RelationshipResource as f3, type BlindSurfaceInventory as f4, type BlindSurfaceRow as f5, type CreateBlockerKind as f6, type CreateGuidanceReport as f7, type FieldCacheKind as f8, FIELD_CACHE_KINDS as f9, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|
|
9363
|
+
export { ConfigurationItemRelatedItemsResource as $, type AutotaskConfig as A, BadRequestError as B, CREDENTIAL_HEADER_NAMES as C, type ClassificationIconsResourceQueryParams as D, CompaniesResource as E, type CompaniesResourceQueryParams as F, CompanyAlertsResource as G, type CompanyAlertsResourceQueryParams as H, CompanyLocationsResource as I, type CompanyLocationsResourceQueryParams as J, CompanyNotesResource as K, type CompanyNotesResourceQueryParams as L, CompanySiteConfigurationsResource as M, type CompanySiteConfigurationsResourceQueryParams as N, CompanyWebhooksResource as O, type CompanyWebhooksResourceQueryParams as P, type ConfigProfile as Q, ConfigurationItemBillingProductAssociationsResource as R, type ConfigurationItemBillingProductAssociationsResourceQueryParams as S, ConfigurationItemCategoriesResource as T, type ConfigurationItemCategoriesResourceQueryParams as U, ConfigurationItemCategoryUdfAssociationsResource as V, type ConfigurationItemCategoryUdfAssociationsResourceQueryParams as W, ConfigurationItemDnsRecordsResource as X, type ConfigurationItemDnsRecordsResourceQueryParams as Y, ConfigurationItemNotesResource as Z, type ConfigurationItemNotesResourceQueryParams as _, AutotaskClient as a, type ContractsResourceQueryParams as a$, type ConfigurationItemRelatedItemsResourceQueryParams as a0, ConfigurationItemSslSubjectAlternativeNamesResource as a1, type ConfigurationItemSslSubjectAlternativeNamesResourceQueryParams as a2, ConfigurationItemTypesResource as a3, type ConfigurationItemTypesResourceQueryParams as a4, ConfigurationItemWebhooksResource as a5, type ConfigurationItemWebhooksResourceQueryParams as a6, ConfigurationItemsResource as a7, type ConfigurationItemsResourceQueryParams as a8, ConfirmationRequiredError as a9, type ContractExclusionSetsResourceQueryParams as aA, ContractMilestonesResource as aB, type ContractMilestonesResourceQueryParams as aC, ContractNotesResource as aD, type ContractNotesResourceQueryParams as aE, ContractRatesResource as aF, type ContractRatesResourceQueryParams as aG, ContractRetainersResource as aH, type ContractRetainersResourceQueryParams as aI, ContractRoleCostsResource as aJ, type ContractRoleCostsResourceQueryParams as aK, ContractServiceAdjustmentsResource as aL, type ContractServiceAdjustmentsResourceQueryParams as aM, ContractServiceBundleAdjustmentsResource as aN, type ContractServiceBundleAdjustmentsResourceQueryParams as aO, ContractServiceBundleUnitsResource as aP, type ContractServiceBundleUnitsResourceQueryParams as aQ, ContractServiceBundlesResource as aR, type ContractServiceBundlesResourceQueryParams as aS, ContractServiceUnitsResource as aT, type ContractServiceUnitsResourceQueryParams as aU, ContractServicesResource as aV, type ContractServicesResourceQueryParams as aW, ContractTicketPurchasesResource as aX, type ContractTicketPurchasesResourceQueryParams as aY, type ContractsProfitabilityResult as aZ, ContractsResource as a_, ConflictError as aa, ContactGroupContactsResource as ab, type ContactGroupContactsResourceQueryParams as ac, ContactGroupsResource as ad, type ContactGroupsResourceQueryParams as ae, ContactWebhooksResource as af, type ContactWebhooksResourceQueryParams as ag, ContactsResource as ah, type ContactsResourceQueryParams as ai, ContractBillingRulesResource as aj, type ContractBillingRulesResourceQueryParams as ak, ContractBlockHourFactorsResource as al, type ContractBlockHourFactorsResourceQueryParams as am, ContractBlocksResource as an, type ContractBlocksResourceQueryParams as ao, ContractChargesResource as ap, type ContractChargesResourceQueryParams as aq, ContractExclusionBillingCodesResource as ar, type ContractExclusionBillingCodesResourceQueryParams as as, ContractExclusionRolesResource as at, type ContractExclusionRolesResourceQueryParams as au, ContractExclusionSetExcludedRolesResource as av, type ContractExclusionSetExcludedRolesResourceQueryParams as aw, ContractExclusionSetExcludedWorkTypesResource as ax, type ContractExclusionSetExcludedWorkTypesResourceQueryParams as ay, ContractExclusionSetsResource as az, AGENT_PROFILE as b, type NotificationHistoryResourceQueryParams as b$, type CooldownStore as b0, type CostRateResolution as b1, CountriesResource as b2, type CountriesResourceQueryParams as b3, type CredentialShapeExpectation as b4, DEFAULT_CIRCUIT_BREAKER_FAILURE_THRESHOLD as b5, DEFAULT_CIRCUIT_BREAKER_MAX_ENTRIES as b6, DEFAULT_CIRCUIT_BREAKER_OPEN_TIMEOUT_MS as b7, DEFAULT_CIRCUIT_BREAKER_SUCCESSES_TO_CLOSE as b8, DEFAULT_CIRCUIT_BREAKER_WINDOW_MS as b9, type ExpenseItemAttachmentsResourceQueryParams as bA, ExpenseItemsResource as bB, type ExpenseItemsResourceQueryParams as bC, ExpenseReportsResource as bD, type ExpenseReportsResourceQueryParams as bE, ForbiddenError as bF, HolidaySetsResource as bG, type HolidaySetsResourceQueryParams as bH, HolidaysResource as bI, type HolidaysResourceQueryParams as bJ, HostPolicyDeniedError as bK, HttpClient as bL, IDEMPOTENT_METHODS as bM, InMemoryCircuitBreakerStore as bN, InMemoryCooldownStore as bO, InventoryProductsResource as bP, type InventoryProductsResourceQueryParams as bQ, InvoicesResource as bR, type InvoicesResourceQueryParams as bS, type Logger as bT, MAX_PAGES as bU, MAX_PAGE_SIZE as bV, MarkerUnsafeIdError as bW, ModulesResource as bX, NoopLogger as bY, NotFoundError as bZ, NotificationHistoryResource as b_, DEFAULT_COOLDOWN_DEFAULT_MS as ba, DEFAULT_COOLDOWN_MAX_ENTRIES as bb, DEFAULT_COOLDOWN_MAX_MS as bc, DEFAULT_FIELD_CACHE_TTL_MS as bd, DEFAULT_MAINTENANCE_MAX_WAIT_MS as be, DEFAULT_MAINTENANCE_POLL_MS as bf, DEFAULT_MAX_CONCURRENT as bg, DEFAULT_MAX_RESPONSE_BYTES as bh, DEFAULT_MAX_RETRIES as bi, DEFAULT_MAX_SCAN_PAGES as bj, DEFAULT_MAX_SCAN_RECORDS as bk, DEFAULT_PAGE_SIZE as bl, DEFAULT_READ_CACHE_TTL_MS as bm, DEFAULT_RESOURCE_NAME_CACHE_TTL_MS as bn, DEFAULT_TIMEOUT_MS as bo, DEFAULT_ZONE as bp, DeleteBoundaryError as bq, DepartmentsResource as br, type DepartmentsResourceQueryParams as bs, DomainRegistrarsResource as bt, type DomainRegistrarsResourceQueryParams as bu, EmptyResponseError as bv, EntityInformationResource as bw, type ErrorCategory as bx, type ErrorIdRef as by, ExpenseItemAttachmentsResource as bz, AppointmentsResource as c, type ResourceTimeOffAdditionalResourceQueryParams as c$, OpportunitiesResource as c0, type OpportunitiesResourceQueryParams as c1, OpportunityAttachmentsResource as c2, type OpportunityAttachmentsResourceQueryParams as c3, OpportunityCategoriesResource as c4, type OpportunityCategoriesResourceQueryParams as c5, type PageFetcher as c6, type PaginateOptions as c7, PaginationLimitError as c8, PhasesResource as c9, type PurchaseOrderItemReceivingResourceQueryParams as cA, PurchaseOrderItemsResource as cB, type PurchaseOrderItemsResourceQueryParams as cC, PurchaseOrdersResource as cD, type PurchaseOrdersResourceQueryParams as cE, QueryTooLongError as cF, QuoteItemsResource as cG, type QuoteItemsResourceQueryParams as cH, QuoteLocationsResource as cI, type QuoteLocationsResourceQueryParams as cJ, QuoteTemplatesResource as cK, type QuoteTemplatesResourceQueryParams as cL, QuotesResource as cM, type QuotesResourceQueryParams as cN, REDACTED as cO, RateLimitError as cP, RecoveryTruncatedError as cQ, type RequestOptions as cR, ResolutionError as cS, type ResolvedAutotaskConfig as cT, ResourceRoleQueuesResource as cU, type ResourceRoleQueuesResourceQueryParams as cV, ResourceRolesResource as cW, type ResourceRolesResourceQueryParams as cX, ResourceSkillsResource as cY, type ResourceSkillsResourceQueryParams as cZ, ResourceTimeOffAdditionalResource as c_, type PhasesResourceQueryParams as ca, ProductVendorsResource as cb, type ProductVendorsResourceQueryParams as cc, ProductsResource as cd, type ProductsResourceQueryParams as ce, type ProfitRateSource as cf, type ProfitabilityActivityCategory as cg, type ProfitabilityDataQualityWarning as ch, type ProfitabilityHighestCostTicket as ci, type ProfitabilityLabourCostMethod as cj, type ProfitabilityMiscoding as ck, type ProfitabilityMonthlyRow as cl, type ProfitabilityOpenRenewalItem as cm, type ProfitabilityOptions as cn, type ProfitabilityPart as co, type ProfitabilityPartDigest as cp, type ProfitabilityRevenueByType as cq, ProjectChargesResource as cr, type ProjectChargesResourceQueryParams as cs, ProjectNotesResource as ct, type ProjectNotesResourceQueryParams as cu, ProjectsResource as cv, type ProjectsResourceQueryParams as cw, PurchaseApprovalsResource as cx, type PurchaseApprovalsResourceQueryParams as cy, PurchaseOrderItemReceivingResource as cz, type AppointmentsResourceQueryParams as d, TicketChecklistLibrariesResource as d$, ResourceTimeOffApproversResource as d0, type ResourceTimeOffApproversResourceQueryParams as d1, ResourceTimeOffBalancesResource as d2, type ResourceTimeOffBalancesResourceQueryParams as d3, ResourcesResource as d4, type ResourcesResourceQueryParams as d5, ResponseRejectedError as d6, RolesResource as d7, type RolesResourceQueryParams as d8, ServerError as d9, TagAliasesResource as dA, type TagAliasesResourceQueryParams as dB, TagGroupsResource as dC, type TagGroupsResourceQueryParams as dD, TagsResource as dE, type TagsResourceQueryParams as dF, TaskSecondaryResourcesResource as dG, type TaskSecondaryResourcesResourceQueryParams as dH, TasksResource as dI, type TasksResourceQueryParams as dJ, ThresholdInformationResource as dK, TicketAdditionalConfigurationItemsResource as dL, type TicketAdditionalConfigurationItemsResourceQueryParams as dM, TicketAdditionalContactsResource as dN, type TicketAdditionalContactsResourceQueryParams as dO, TicketAttachmentsResource as dP, type TicketAttachmentsResourceQueryParams as dQ, TicketCategoriesResource as dR, type TicketCategoriesResourceQueryParams as dS, TicketCategoryFieldDefaultsResource as dT, type TicketCategoryFieldDefaultsResourceQueryParams as dU, TicketChangeRequestApprovalsResource as dV, type TicketChangeRequestApprovalsResourceQueryParams as dW, TicketChargesResource as dX, type TicketChargesResourceQueryParams as dY, TicketChecklistItemsResource as dZ, type TicketChecklistItemsResourceQueryParams as d_, ServiceCallTaskResourcesResource as da, type ServiceCallTaskResourcesResourceQueryParams as db, ServiceCallTasksResource as dc, type ServiceCallTasksResourceQueryParams as dd, ServiceCallTicketResourcesResource as de, type ServiceCallTicketResourcesResourceQueryParams as df, ServiceCallTicketsResource as dg, type ServiceCallTicketsResourceQueryParams as dh, ServiceCallsResource as di, type ServiceCallsResourceQueryParams as dj, ServiceLevelAgreementResultsResource as dk, type ServiceLevelAgreementResultsResourceQueryParams as dl, ServicesResource as dm, type ServicesResourceQueryParams as dn, SkillsResource as dp, type SkillsResourceQueryParams as dq, StaleObjectError as dr, SubscriptionPeriodsResource as ds, type SubscriptionPeriodsResourceQueryParams as dt, SubscriptionsResource as du, type SubscriptionsResourceQueryParams as dv, SurveyResultsResource as dw, type SurveyResultsResourceQueryParams as dx, SurveysResource as dy, type SurveysResourceQueryParams as dz, AuthenticateResource as e, unwrapItems as e$, type TicketChecklistLibrariesResourceQueryParams as e0, TicketHistoryResource as e1, type TicketHistoryResourceQueryParams as e2, TicketNoteAttachmentsResource as e3, type TicketNoteAttachmentsResourceQueryParams as e4, TicketNoteWebhooksResource as e5, type TicketNoteWebhooksResourceQueryParams as e6, TicketNotesResource as e7, type TicketNotesResourceQueryParams as e8, TicketSecondaryResourcesResource as e9, clampPageSize as eA, collectAll as eB, cooldownDurationMs as eC, cursorToPath as eD, defaultCircuitBreakerStore as eE, defaultCooldownStore as eF, errorFromStatus as eG, formatVendorDetail as eH, isAutotaskError as eI, isBreakerFailure as eJ, isCredentialHeaderName as eK, isDeterministicVendor500 as eL, mergeDetails as eM, paginate as eN, paginateItems as eO, parseVendorErrors as eP, passthrough as eQ, redactRecord as eR, resetDefaultCircuitBreakerStore as eS, resetDefaultCooldownStore as eT, resolveBaseUrl as eU, resolveConfig as eV, resolveCredentials as eW, runWithSignal as eX, toArray as eY, totalPagesFor as eZ, unwrapItem as e_, type TicketSecondaryResourcesResourceQueryParams as ea, TicketWebhooksResource as eb, type TicketWebhooksResourceQueryParams as ec, TicketsResource as ed, type TicketsResourceQueryParams as ee, TimeEntriesResource as ef, type TimeEntriesResourceQueryParams as eg, TimeEntryAttachmentsResource as eh, type TimeEntryAttachmentsResourceQueryParams as ei, TimeOffRequestsResource as ej, type TimeOffRequestsResourceQueryParams as ek, UnauthorizedError as el, UnexpectedContentTypeError as em, UnprocessableEntityError as en, type VendorFieldError as eo, VersionInformationResource as ep, VersionResource as eq, ZONES as er, ZONE_CATALOG as es, ZoneInformationResource as et, type ZoneName as eu, buildBreakerKey as ev, buildQueryBody as ew, buildQueryRequest as ex, buildTenantKey as ey, buildUrl as ez, AutotaskAbortError as f, unwrapOperation as f0, unwrapQueryCount as f1, zoneUrl as f2, type BlindSurfaceInfo as f3, type RelationshipResource as f4, type BlindSurfaceInventory as f5, type BlindSurfaceRow as f6, type CreateBlockerKind as f7, type CreateGuidanceReport as f8, type FieldCacheKind as f9, FIELD_CACHE_KINDS as fa, AutotaskConfigError as g, AutotaskError as h, type AutotaskErrorOptions as i, AutotaskNetworkError as j, AutotaskTimeoutError as k, BillingCodesResource as l, type BillingCodesResourceQueryParams as m, BillingItemsResource as n, type BillingItemsResourceQueryParams as o, CREDENTIAL_SHAPE_POINTER as p, ChangeRequestLinksResource as q, type ChangeRequestLinksResourceQueryParams as r, ChecklistLibrariesResource as s, type ChecklistLibrariesResourceQueryParams as t, ChecklistLibraryChecklistItemsResource as u, type ChecklistLibraryChecklistItemsResourceQueryParams as v, CircuitBreakerError as w, type CircuitBreakerState as x, type CircuitBreakerStore as y, ClassificationIconsResource as z };
|