node-autotask 0.63.0 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/MCP_TOOL_CATALOG.json +2 -2
- package/capabilities.json +7 -7
- package/dist/capabilities-data.js +6 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-6WR7JMNK.cjs → chunk-7DC524X3.cjs} +31 -31
- package/dist/{chunk-TRRB42W4.cjs → chunk-AGGOZD2J.cjs} +61 -35
- package/dist/{chunk-LCZJ3STD.js → chunk-BQNC4RYG.js} +56 -30
- package/dist/{chunk-X46S4BDG.js → chunk-C3OLJGY5.js} +3 -3
- package/dist/{chunk-CY6T5SPE.cjs → chunk-ENRW25IT.cjs} +3 -3
- package/dist/{chunk-XCNB4D6C.cjs → chunk-MIKVE6VJ.cjs} +174 -174
- package/dist/{chunk-ISCT6TLA.js → chunk-NWQVMOP5.js} +2 -2
- package/dist/{chunk-WL7VSHPI.js → chunk-SVCTQVTV.js} +2 -2
- package/dist/{index-DlES80qS.d.cts → index-B7bZQ34O.d.cts} +1 -1
- package/dist/{index-Bu5JV7l_.d.ts → index-RkTNsoOz.d.ts} +1 -1
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +50 -50
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +8 -8
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +6 -1
- package/docs/VENDOR-QUIRKS.md +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.64.0] - 2026-11-12
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- `operations.createGuidance` now serves the UDF definition and picklist-value creates as live-proven (#437): `user_defined_field_definitions` and `user_defined_field_list_items` move from blocker kind `unknown` (`unproven: true`) to kind `ok` with the field sets the vendor accepted in the 2026-11-11 live write round-trip as `liveProvenPrefix` (`name`, `udfType`, `dataType` for a definition; `valueForDisplay`, `valueForExport` for a list item, `udfFieldId` coming from the parent-scoped path). `requiredFields` for both rows is now `from: 'live-proven'`. Plan change, so the plan hash moves (docs/VENDOR-QUIRKS.md §11.31).
|
|
15
|
+
|
|
16
|
+
## [0.63.1] - 2026-11-12
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
- `queryBounded({ latest })` on `user_defined_field_definitions` and `user_defined_field_list_items` no longer
|
|
20
|
+
refuses with `LATEST_WINDOW_INCOMPLETE` once the visible rows pass the walk limit (#435). Their pin is
|
|
21
|
+
count-only `unfiltered-blind`, so the blind unfiltered count is now re-probed once with the filtered
|
|
22
|
+
`id gt 0` count, which returns the real total, and the normal full-set or threshold mode runs on it (a
|
|
23
|
+
re-probe 0 falls back to the walk, so the #432 empty answer cannot return). An
|
|
24
|
+
unfiltered UDF `latest` read now costs one extra count call. Other blind surfaces keep the blind walk.
|
|
25
|
+
- `npm run release:check` no longer says a version "is published" when it is only recorded in
|
|
26
|
+
`scripts/published-plan-hashes.json` (#435). The check is offline and cannot tell the two apart, so the
|
|
27
|
+
messages now say "recorded", and the changed-plan failure names both remedies (a minor bump if published,
|
|
28
|
+
re-record if not).
|
|
29
|
+
|
|
10
30
|
## [0.63.0] - 2026-11-12
|
|
11
31
|
|
|
12
32
|
### Changed
|
package/MCP_TOOL_CATALOG.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generatedBy": "scripts/build-tool-catalog.mjs",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"planHash": "
|
|
3
|
+
"generatedAt": "2026-11-12T01:38:07.478Z",
|
|
4
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
5
5
|
"metaTools": [
|
|
6
6
|
{
|
|
7
7
|
"name": "autotask_catalog",
|
package/capabilities.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-11-
|
|
2
|
+
"generatedAt": "2026-11-12T01:38:06.882Z",
|
|
3
3
|
"groups": {
|
|
4
4
|
"B": {
|
|
5
|
-
"planHash": "
|
|
6
|
-
"builtAt": "2026-11-
|
|
5
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
6
|
+
"builtAt": "2026-11-12T01:38:06.865Z",
|
|
7
7
|
"records": [
|
|
8
8
|
{
|
|
9
9
|
"id": "appointments.count",
|
|
@@ -42725,8 +42725,8 @@
|
|
|
42725
42725
|
]
|
|
42726
42726
|
},
|
|
42727
42727
|
"A": {
|
|
42728
|
-
"planHash": "
|
|
42729
|
-
"builtAt": "2026-11-
|
|
42728
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
42729
|
+
"builtAt": "2026-11-12T01:38:06.866Z",
|
|
42730
42730
|
"records": [
|
|
42731
42731
|
{
|
|
42732
42732
|
"id": "companies.count",
|
|
@@ -82134,8 +82134,8 @@
|
|
|
82134
82134
|
]
|
|
82135
82135
|
},
|
|
82136
82136
|
"operations": {
|
|
82137
|
-
"planHash": "
|
|
82138
|
-
"builtAt": "2026-11-
|
|
82137
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
82138
|
+
"builtAt": "2026-11-12T01:38:06.866Z",
|
|
82139
82139
|
"records": [
|
|
82140
82140
|
{
|
|
82141
82141
|
"id": "operations.aggregate",
|
|
@@ -348,8 +348,8 @@ const CAPABILITY_DATA = {
|
|
|
348
348
|
],
|
|
349
349
|
"groups": {
|
|
350
350
|
"B": {
|
|
351
|
-
"planHash": "
|
|
352
|
-
"builtAt": "2026-11-
|
|
351
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
352
|
+
"builtAt": "2026-11-12T01:38:06.865Z",
|
|
353
353
|
"records": [
|
|
354
354
|
{
|
|
355
355
|
"id": "appointments.count",
|
|
@@ -43071,8 +43071,8 @@ const CAPABILITY_DATA = {
|
|
|
43071
43071
|
]
|
|
43072
43072
|
},
|
|
43073
43073
|
"A": {
|
|
43074
|
-
"planHash": "
|
|
43075
|
-
"builtAt": "2026-11-
|
|
43074
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
43075
|
+
"builtAt": "2026-11-12T01:38:06.866Z",
|
|
43076
43076
|
"records": [
|
|
43077
43077
|
{
|
|
43078
43078
|
"id": "companies.count",
|
|
@@ -82480,8 +82480,8 @@ const CAPABILITY_DATA = {
|
|
|
82480
82480
|
]
|
|
82481
82481
|
},
|
|
82482
82482
|
"operations": {
|
|
82483
|
-
"planHash": "
|
|
82484
|
-
"builtAt": "2026-11-
|
|
82483
|
+
"planHash": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
82484
|
+
"builtAt": "2026-11-12T01:38:06.866Z",
|
|
82485
82485
|
"records": [
|
|
82486
82486
|
{
|
|
82487
82487
|
"id": "operations.aggregate",
|
package/dist/capabilities.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkENRW25IT_cjs = require('./chunk-ENRW25IT.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CAPABILITY_PLAN_HASHES", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkENRW25IT_cjs.CAPABILITY_PLAN_HASHES; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "loadCapabilities", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkENRW25IT_cjs.loadCapabilities; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "loadCapabilityRecords", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkENRW25IT_cjs.loadCapabilityRecords; }
|
|
18
18
|
});
|
package/dist/capabilities.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-
|
|
1
|
+
export { CAPABILITY_PLAN_HASHES, loadCapabilities, loadCapabilityRecords } from './chunk-C3OLJGY5.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkMIKVE6VJ_cjs = require('./chunk-MIKVE6VJ.cjs');
|
|
4
|
+
var chunkAGGOZD2J_cjs = require('./chunk-AGGOZD2J.cjs');
|
|
5
5
|
|
|
6
6
|
// src/client.ts
|
|
7
7
|
var AutotaskClient = class {
|
|
@@ -154,34 +154,34 @@ var AutotaskClient = class {
|
|
|
154
154
|
* anything is wired. Construction issues NO request.
|
|
155
155
|
*/
|
|
156
156
|
constructor(options) {
|
|
157
|
-
this.config =
|
|
158
|
-
this.http = new
|
|
157
|
+
this.config = chunkAGGOZD2J_cjs.resolveConfig(options);
|
|
158
|
+
this.http = new chunkAGGOZD2J_cjs.HttpClient(this.config);
|
|
159
159
|
this.http.client = this;
|
|
160
|
-
for (const entry of
|
|
161
|
-
this[entry.accessor] = new
|
|
160
|
+
for (const entry of chunkAGGOZD2J_cjs.SIMPLE_RESOURCES) {
|
|
161
|
+
this[entry.accessor] = new chunkAGGOZD2J_cjs.GenericResource(this.http, entry, this.config.pageSize);
|
|
162
162
|
}
|
|
163
|
-
this.companies = new
|
|
164
|
-
this.configurationItems = new
|
|
165
|
-
this.contacts = new
|
|
166
|
-
this.contracts = new
|
|
167
|
-
this.inventoryProducts = new
|
|
168
|
-
this.invoices = new
|
|
169
|
-
this.quotes = new
|
|
170
|
-
this.resourceTimeOffAdditional = new
|
|
171
|
-
this.resourceTimeOffBalances = new
|
|
172
|
-
this.resources = new
|
|
173
|
-
this.serviceCalls = new
|
|
174
|
-
this.ticketCharges = new
|
|
175
|
-
this.tickets = new
|
|
176
|
-
this.timeEntries = new
|
|
177
|
-
this.timeOffRequests = new
|
|
178
|
-
this.authenticateResource = new
|
|
179
|
-
this.entityInformation = new
|
|
180
|
-
this.modules = new
|
|
181
|
-
this.thresholdInformation = new
|
|
182
|
-
this.version = new
|
|
183
|
-
this.versionInformation = new
|
|
184
|
-
this.zoneInformation = new
|
|
163
|
+
this.companies = new chunkAGGOZD2J_cjs.CompaniesResource(this.http, this.config.pageSize);
|
|
164
|
+
this.configurationItems = new chunkMIKVE6VJ_cjs.ConfigurationItemsResource(this.http, this.config.pageSize);
|
|
165
|
+
this.contacts = new chunkMIKVE6VJ_cjs.ContactsResource(this.http, this.config.pageSize);
|
|
166
|
+
this.contracts = new chunkAGGOZD2J_cjs.ContractsResource(this.http, this.config.pageSize);
|
|
167
|
+
this.inventoryProducts = new chunkMIKVE6VJ_cjs.InventoryProductsResource(this.http, this.config.pageSize);
|
|
168
|
+
this.invoices = new chunkAGGOZD2J_cjs.InvoicesResource(this.http, this.config.pageSize);
|
|
169
|
+
this.quotes = new chunkMIKVE6VJ_cjs.QuotesResource(this.http, this.config.pageSize);
|
|
170
|
+
this.resourceTimeOffAdditional = new chunkMIKVE6VJ_cjs.ResourceTimeOffAdditionalResource(this.http, this.config.pageSize);
|
|
171
|
+
this.resourceTimeOffBalances = new chunkMIKVE6VJ_cjs.ResourceTimeOffBalancesResource(this.http, this.config.pageSize);
|
|
172
|
+
this.resources = new chunkMIKVE6VJ_cjs.ResourcesResource(this.http, this.config, this.config.pageSize);
|
|
173
|
+
this.serviceCalls = new chunkMIKVE6VJ_cjs.ServiceCallsResource(this.http, this.config.pageSize);
|
|
174
|
+
this.ticketCharges = new chunkMIKVE6VJ_cjs.TicketChargesResource(this.http, this.config.pageSize);
|
|
175
|
+
this.tickets = new chunkMIKVE6VJ_cjs.TicketsResource(this.http, this.config.pageSize);
|
|
176
|
+
this.timeEntries = new chunkAGGOZD2J_cjs.TimeEntriesResource(this.http, this.config.pageSize);
|
|
177
|
+
this.timeOffRequests = new chunkMIKVE6VJ_cjs.TimeOffRequestsResource(this.http, this.config.pageSize);
|
|
178
|
+
this.authenticateResource = new chunkMIKVE6VJ_cjs.AuthenticateResource(this.http);
|
|
179
|
+
this.entityInformation = new chunkMIKVE6VJ_cjs.EntityInformationResource(this.http);
|
|
180
|
+
this.modules = new chunkMIKVE6VJ_cjs.ModulesResource(this.http);
|
|
181
|
+
this.thresholdInformation = new chunkMIKVE6VJ_cjs.ThresholdInformationResource(this.http);
|
|
182
|
+
this.version = new chunkMIKVE6VJ_cjs.VersionResource(this.http);
|
|
183
|
+
this.versionInformation = new chunkMIKVE6VJ_cjs.VersionInformationResource(this.http);
|
|
184
|
+
this.zoneInformation = new chunkMIKVE6VJ_cjs.ZoneInformationResource(this.http);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* `GET /V1.0/Authenticate` → `AuthTokenResultModel` (as-is). The SDK does
|
|
@@ -215,12 +215,12 @@ var AutotaskClient = class {
|
|
|
215
215
|
* parameter on each: `await client.withSignal(signal, () => invoke(client, ...))`.
|
|
216
216
|
*/
|
|
217
217
|
withSignal(signal, fn) {
|
|
218
|
-
return
|
|
218
|
+
return chunkAGGOZD2J_cjs.runWithSignal(signal, fn);
|
|
219
219
|
}
|
|
220
220
|
async batch(fn, items, opts = {}) {
|
|
221
221
|
const concurrency = opts.concurrency ?? this.config.maxConcurrent;
|
|
222
222
|
if (!Number.isInteger(concurrency) || concurrency <= 0) {
|
|
223
|
-
throw new
|
|
223
|
+
throw new chunkAGGOZD2J_cjs.AutotaskConfigError("batch concurrency must be a positive integer");
|
|
224
224
|
}
|
|
225
225
|
const { signal, settle } = opts;
|
|
226
226
|
const results = new Array(items.length);
|
|
@@ -235,7 +235,7 @@ var AutotaskClient = class {
|
|
|
235
235
|
const i = next++;
|
|
236
236
|
try {
|
|
237
237
|
const item = items[i];
|
|
238
|
-
const value = await (signal === void 0 ? fn(item) :
|
|
238
|
+
const value = await (signal === void 0 ? fn(item) : chunkAGGOZD2J_cjs.runWithSignal(signal, () => fn(item)));
|
|
239
239
|
results[i] = settle ? { status: "fulfilled", value } : value;
|
|
240
240
|
} catch (error) {
|
|
241
241
|
if (settle) results[i] = { status: "rejected", reason: error };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkENRW25IT_cjs = require('./chunk-ENRW25IT.cjs');
|
|
4
4
|
var chunkBD4AUGCJ_cjs = require('./chunk-BD4AUGCJ.cjs');
|
|
5
5
|
var crypto = require('crypto');
|
|
6
6
|
var async_hooks = require('async_hooks');
|
|
@@ -1422,7 +1422,7 @@ async function capabilitySets() {
|
|
|
1422
1422
|
const fieldOps = /* @__PURE__ */ new Map();
|
|
1423
1423
|
const udfCapable = /* @__PURE__ */ new Set();
|
|
1424
1424
|
const resources = /* @__PURE__ */ new Set();
|
|
1425
|
-
for (const rec of await
|
|
1425
|
+
for (const rec of await chunkENRW25IT_cjs.loadCapabilityRecords()) {
|
|
1426
1426
|
if (rec.resource === "operations") continue;
|
|
1427
1427
|
resources.add(rec.resource);
|
|
1428
1428
|
if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
|
|
@@ -1433,7 +1433,7 @@ async function capabilitySets() {
|
|
|
1433
1433
|
var derivedIndexPromise = null;
|
|
1434
1434
|
function derivedIndexLoad() {
|
|
1435
1435
|
if (derivedIndexPromise === null) {
|
|
1436
|
-
derivedIndexPromise =
|
|
1436
|
+
derivedIndexPromise = chunkENRW25IT_cjs.loadCapabilityRecords().then((records) => {
|
|
1437
1437
|
const index = /* @__PURE__ */ new Map();
|
|
1438
1438
|
for (const rec of records) {
|
|
1439
1439
|
const declared = rec.metadata?.derivedFields;
|
|
@@ -9184,15 +9184,20 @@ var RELATIONSHIP_MAP = {
|
|
|
9184
9184
|
"createGuidance": {
|
|
9185
9185
|
"createOp": "user_defined_field_definitions.create",
|
|
9186
9186
|
"parentScoped": false,
|
|
9187
|
-
"liveProvenPrefix": [
|
|
9188
|
-
|
|
9187
|
+
"liveProvenPrefix": [
|
|
9188
|
+
"name",
|
|
9189
|
+
"udfType",
|
|
9190
|
+
"dataType"
|
|
9191
|
+
],
|
|
9192
|
+
"unproven": false,
|
|
9189
9193
|
"blocker": {
|
|
9190
|
-
"kind": "
|
|
9191
|
-
"message": "
|
|
9192
|
-
"remedy": "
|
|
9194
|
+
"kind": "ok",
|
|
9195
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
9196
|
+
"remedy": "None: create with the live-proven field set."
|
|
9193
9197
|
},
|
|
9194
9198
|
"vendorEvidence": [
|
|
9195
|
-
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
|
|
9199
|
+
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path.",
|
|
9200
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFieldDefinitions with name, udfType, dataType (a List-type definition) answered an itemId and the created record read back with those values; the same request also carried valueForDisplay and valueForExport, which are not UserDefinedFieldDefinitionModel properties; the returned record has no such keys, so the accepted set is the three model fields. The test definition was then deactivated (isActive=false) and left in place."
|
|
9196
9201
|
],
|
|
9197
9202
|
"deleteBoundary": {
|
|
9198
9203
|
"available": false,
|
|
@@ -9246,15 +9251,19 @@ var RELATIONSHIP_MAP = {
|
|
|
9246
9251
|
"createGuidance": {
|
|
9247
9252
|
"createOp": "user_defined_field_list_items.create",
|
|
9248
9253
|
"parentScoped": true,
|
|
9249
|
-
"liveProvenPrefix": [
|
|
9250
|
-
|
|
9254
|
+
"liveProvenPrefix": [
|
|
9255
|
+
"valueForDisplay",
|
|
9256
|
+
"valueForExport"
|
|
9257
|
+
],
|
|
9258
|
+
"unproven": false,
|
|
9251
9259
|
"blocker": {
|
|
9252
|
-
"kind": "
|
|
9253
|
-
"message": "
|
|
9254
|
-
"remedy": "
|
|
9260
|
+
"kind": "ok",
|
|
9261
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
9262
|
+
"remedy": "None: create with the live-proven field set."
|
|
9255
9263
|
},
|
|
9256
9264
|
"vendorEvidence": [
|
|
9257
|
-
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
|
|
9265
|
+
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE.",
|
|
9266
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFields/{parentId}/ListItems with valueForDisplay and valueForExport (udfFieldId supplied by the path, not the body) answered an itemId; the parent-scoped get and a udfFieldId-filtered standalone query read the item back with udfFieldId = the parent. A parent-scoped update of valueForDisplay then succeeded and read back, and the item was deactivated (isActive=false) and left in place."
|
|
9258
9267
|
],
|
|
9259
9268
|
"deleteBoundary": {
|
|
9260
9269
|
"available": false,
|
|
@@ -13383,15 +13392,20 @@ var CREATE_GUIDANCE = {
|
|
|
13383
13392
|
"resource": "user_defined_field_definitions",
|
|
13384
13393
|
"createOp": "user_defined_field_definitions.create",
|
|
13385
13394
|
"parentScoped": false,
|
|
13386
|
-
"liveProvenPrefix": [
|
|
13387
|
-
|
|
13395
|
+
"liveProvenPrefix": [
|
|
13396
|
+
"name",
|
|
13397
|
+
"udfType",
|
|
13398
|
+
"dataType"
|
|
13399
|
+
],
|
|
13400
|
+
"unproven": false,
|
|
13388
13401
|
"blocker": {
|
|
13389
|
-
"kind": "
|
|
13390
|
-
"message": "
|
|
13391
|
-
"remedy": "
|
|
13402
|
+
"kind": "ok",
|
|
13403
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
13404
|
+
"remedy": "None: create with the live-proven field set."
|
|
13392
13405
|
},
|
|
13393
13406
|
"vendorEvidence": [
|
|
13394
|
-
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
|
|
13407
|
+
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path.",
|
|
13408
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFieldDefinitions with name, udfType, dataType (a List-type definition) answered an itemId and the created record read back with those values; the same request also carried valueForDisplay and valueForExport, which are not UserDefinedFieldDefinitionModel properties; the returned record has no such keys, so the accepted set is the three model fields. The test definition was then deactivated (isActive=false) and left in place."
|
|
13395
13409
|
],
|
|
13396
13410
|
"deleteBoundary": {
|
|
13397
13411
|
"available": false,
|
|
@@ -13402,15 +13416,19 @@ var CREATE_GUIDANCE = {
|
|
|
13402
13416
|
"resource": "user_defined_field_list_items",
|
|
13403
13417
|
"createOp": "user_defined_field_list_items.create",
|
|
13404
13418
|
"parentScoped": true,
|
|
13405
|
-
"liveProvenPrefix": [
|
|
13406
|
-
|
|
13419
|
+
"liveProvenPrefix": [
|
|
13420
|
+
"valueForDisplay",
|
|
13421
|
+
"valueForExport"
|
|
13422
|
+
],
|
|
13423
|
+
"unproven": false,
|
|
13407
13424
|
"blocker": {
|
|
13408
|
-
"kind": "
|
|
13409
|
-
"message": "
|
|
13410
|
-
"remedy": "
|
|
13425
|
+
"kind": "ok",
|
|
13426
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
13427
|
+
"remedy": "None: create with the live-proven field set."
|
|
13411
13428
|
},
|
|
13412
13429
|
"vendorEvidence": [
|
|
13413
|
-
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
|
|
13430
|
+
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE.",
|
|
13431
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFields/{parentId}/ListItems with valueForDisplay and valueForExport (udfFieldId supplied by the path, not the body) answered an itemId; the parent-scoped get and a udfFieldId-filtered standalone query read the item back with udfFieldId = the parent. A parent-scoped update of valueForDisplay then succeeded and read back, and the item was deactivated (isActive=false) and left in place."
|
|
13414
13432
|
],
|
|
13415
13433
|
"deleteBoundary": {
|
|
13416
13434
|
"available": false,
|
|
@@ -13421,7 +13439,7 @@ var CREATE_GUIDANCE = {
|
|
|
13421
13439
|
"counts": {
|
|
13422
13440
|
"total": 99,
|
|
13423
13441
|
"byKind": {
|
|
13424
|
-
"ok":
|
|
13442
|
+
"ok": 41,
|
|
13425
13443
|
"blind-reference": 16,
|
|
13426
13444
|
"blind-parent": 17,
|
|
13427
13445
|
"picklist-unexposed": 5,
|
|
@@ -13429,7 +13447,7 @@ var CREATE_GUIDANCE = {
|
|
|
13429
13447
|
"resource-role-pair": 2,
|
|
13430
13448
|
"delete-absent": 0,
|
|
13431
13449
|
"non-mutable": 0,
|
|
13432
|
-
"unknown":
|
|
13450
|
+
"unknown": 17
|
|
13433
13451
|
}
|
|
13434
13452
|
}
|
|
13435
13453
|
};
|
|
@@ -16794,7 +16812,9 @@ var QueryBase = class {
|
|
|
16794
16812
|
* reached with a live next cursor, or the 1000-page guard) →
|
|
16795
16813
|
* LATEST_WINDOW_INCOMPLETE — a truncated enumeration's top-N-by-id is
|
|
16796
16814
|
* unprovable, so the op refuses instead of returning a possibly-wrong
|
|
16797
|
-
* answer.
|
|
16815
|
+
* answer. Exception (issue #435): a COUNT-only `unfiltered-blind` pin
|
|
16816
|
+
* (no query pin) re-probes with the filtered `count(id gt 0)`, which is
|
|
16817
|
+
* not blind, and takes branch 2 with that total.
|
|
16798
16818
|
* `includeFields` always carries `id` (the P1 id-append,
|
|
16799
16819
|
* `buildQueryRequest`), which `latest` sorts on. Pure read; no mutation
|
|
16800
16820
|
* paths involved; every count probe goes to the wire (counts are never
|
|
@@ -16803,7 +16823,14 @@ var QueryBase = class {
|
|
|
16803
16823
|
*/
|
|
16804
16824
|
async latestWalk(params, limit, latest) {
|
|
16805
16825
|
const baseConds = normalizedConditions(params.filter) ?? [];
|
|
16806
|
-
|
|
16826
|
+
let total = await this.countGlobal({ filter: params.filter });
|
|
16827
|
+
let probes = 1;
|
|
16828
|
+
const stamps = BLIND_SURFACE_STAMPS[this.config.key];
|
|
16829
|
+
if (typeof total === "object" && total !== null && total.blindSurface !== void 0 && stamps?.count?.kind === "unfiltered-blind" && stamps.query === void 0) {
|
|
16830
|
+
total = await this.countAboveId(baseConds, 0n);
|
|
16831
|
+
probes = 2;
|
|
16832
|
+
if (total === 0) return this.latestBlindWalk(params, limit, latest);
|
|
16833
|
+
}
|
|
16807
16834
|
if (typeof total === "object" && total !== null) {
|
|
16808
16835
|
const rec = total;
|
|
16809
16836
|
if (rec.blindSurface !== void 0) {
|
|
@@ -16825,7 +16852,6 @@ var QueryBase = class {
|
|
|
16825
16852
|
}
|
|
16826
16853
|
return this.finishLatest(items2, latest, pages3);
|
|
16827
16854
|
}
|
|
16828
|
-
let probes = 1;
|
|
16829
16855
|
const spend = () => {
|
|
16830
16856
|
probes += 1;
|
|
16831
16857
|
if (probes > LATEST_MAX_COUNT_PROBES) throw this.latestThresholdUnresolvedError();
|
|
@@ -21582,7 +21608,7 @@ function dateBucketLabel(value, bucket) {
|
|
|
21582
21608
|
var queryResourceKeysPromise = null;
|
|
21583
21609
|
function queryResourceKeys() {
|
|
21584
21610
|
if (queryResourceKeysPromise === null) {
|
|
21585
|
-
queryResourceKeysPromise =
|
|
21611
|
+
queryResourceKeysPromise = chunkENRW25IT_cjs.loadCapabilityRecords().then((records) => {
|
|
21586
21612
|
const s = /* @__PURE__ */ new Set();
|
|
21587
21613
|
for (const rec of records) if (rec.operation === "query") s.add(rec.resource);
|
|
21588
21614
|
return s;
|
|
@@ -21704,7 +21730,7 @@ function parseTopAndLimit(opts, problems) {
|
|
|
21704
21730
|
return { top, limit };
|
|
21705
21731
|
}
|
|
21706
21732
|
async function checkFieldNames(resourceKey, conditions, opts, problems) {
|
|
21707
|
-
const records = resourceKey === void 0 ? [] : await
|
|
21733
|
+
const records = resourceKey === void 0 ? [] : await chunkENRW25IT_cjs.loadCapabilityRecords();
|
|
21708
21734
|
const record = resourceKey === void 0 ? void 0 : records.find((r) => r.resource === resourceKey && r.operation === "query");
|
|
21709
21735
|
if (record === void 0) return void 0;
|
|
21710
21736
|
const strings = (v) => Array.isArray(v) ? v.filter((f) => typeof f === "string" && f.trim() !== "") : [];
|
|
@@ -22344,7 +22370,7 @@ async function uiLink(client, input) {
|
|
|
22344
22370
|
var indexPromise = null;
|
|
22345
22371
|
function operationIndex() {
|
|
22346
22372
|
if (indexPromise === null) {
|
|
22347
|
-
indexPromise =
|
|
22373
|
+
indexPromise = chunkENRW25IT_cjs.loadCapabilityRecords().then((records) => new Map(records.map((r) => [r.id, r])));
|
|
22348
22374
|
}
|
|
22349
22375
|
return indexPromise;
|
|
22350
22376
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { loadCapabilityRecords } from './chunk-
|
|
1
|
+
import { loadCapabilityRecords } from './chunk-C3OLJGY5.js';
|
|
2
2
|
import { NoopLogger, REDACTED, deepMarkUntrusted, wrapUntrusted } from './chunk-7NKB4UXV.js';
|
|
3
3
|
import { randomUUID } from 'crypto';
|
|
4
4
|
import { AsyncLocalStorage } from 'async_hooks';
|
|
@@ -9182,15 +9182,20 @@ var RELATIONSHIP_MAP = {
|
|
|
9182
9182
|
"createGuidance": {
|
|
9183
9183
|
"createOp": "user_defined_field_definitions.create",
|
|
9184
9184
|
"parentScoped": false,
|
|
9185
|
-
"liveProvenPrefix": [
|
|
9186
|
-
|
|
9185
|
+
"liveProvenPrefix": [
|
|
9186
|
+
"name",
|
|
9187
|
+
"udfType",
|
|
9188
|
+
"dataType"
|
|
9189
|
+
],
|
|
9190
|
+
"unproven": false,
|
|
9187
9191
|
"blocker": {
|
|
9188
|
-
"kind": "
|
|
9189
|
-
"message": "
|
|
9190
|
-
"remedy": "
|
|
9192
|
+
"kind": "ok",
|
|
9193
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
9194
|
+
"remedy": "None: create with the live-proven field set."
|
|
9191
9195
|
},
|
|
9192
9196
|
"vendorEvidence": [
|
|
9193
|
-
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
|
|
9197
|
+
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path.",
|
|
9198
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFieldDefinitions with name, udfType, dataType (a List-type definition) answered an itemId and the created record read back with those values; the same request also carried valueForDisplay and valueForExport, which are not UserDefinedFieldDefinitionModel properties; the returned record has no such keys, so the accepted set is the three model fields. The test definition was then deactivated (isActive=false) and left in place."
|
|
9194
9199
|
],
|
|
9195
9200
|
"deleteBoundary": {
|
|
9196
9201
|
"available": false,
|
|
@@ -9244,15 +9249,19 @@ var RELATIONSHIP_MAP = {
|
|
|
9244
9249
|
"createGuidance": {
|
|
9245
9250
|
"createOp": "user_defined_field_list_items.create",
|
|
9246
9251
|
"parentScoped": true,
|
|
9247
|
-
"liveProvenPrefix": [
|
|
9248
|
-
|
|
9252
|
+
"liveProvenPrefix": [
|
|
9253
|
+
"valueForDisplay",
|
|
9254
|
+
"valueForExport"
|
|
9255
|
+
],
|
|
9256
|
+
"unproven": false,
|
|
9249
9257
|
"blocker": {
|
|
9250
|
-
"kind": "
|
|
9251
|
-
"message": "
|
|
9252
|
-
"remedy": "
|
|
9258
|
+
"kind": "ok",
|
|
9259
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
9260
|
+
"remedy": "None: create with the live-proven field set."
|
|
9253
9261
|
},
|
|
9254
9262
|
"vendorEvidence": [
|
|
9255
|
-
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
|
|
9263
|
+
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE.",
|
|
9264
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFields/{parentId}/ListItems with valueForDisplay and valueForExport (udfFieldId supplied by the path, not the body) answered an itemId; the parent-scoped get and a udfFieldId-filtered standalone query read the item back with udfFieldId = the parent. A parent-scoped update of valueForDisplay then succeeded and read back, and the item was deactivated (isActive=false) and left in place."
|
|
9256
9265
|
],
|
|
9257
9266
|
"deleteBoundary": {
|
|
9258
9267
|
"available": false,
|
|
@@ -13381,15 +13390,20 @@ var CREATE_GUIDANCE = {
|
|
|
13381
13390
|
"resource": "user_defined_field_definitions",
|
|
13382
13391
|
"createOp": "user_defined_field_definitions.create",
|
|
13383
13392
|
"parentScoped": false,
|
|
13384
|
-
"liveProvenPrefix": [
|
|
13385
|
-
|
|
13393
|
+
"liveProvenPrefix": [
|
|
13394
|
+
"name",
|
|
13395
|
+
"udfType",
|
|
13396
|
+
"dataType"
|
|
13397
|
+
],
|
|
13398
|
+
"unproven": false,
|
|
13386
13399
|
"blocker": {
|
|
13387
|
-
"kind": "
|
|
13388
|
-
"message": "
|
|
13389
|
-
"remedy": "
|
|
13400
|
+
"kind": "ok",
|
|
13401
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
13402
|
+
"remedy": "None: create with the live-proven field set."
|
|
13390
13403
|
},
|
|
13391
13404
|
"vendorEvidence": [
|
|
13392
|
-
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path."
|
|
13405
|
+
"api-docs.json: POST /V1.0/UserDefinedFieldDefinitions consumes definitions.UserDefinedFieldDefinitionModel and answers OperationResultModel \u2014 the entity defines no DELETE path.",
|
|
13406
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFieldDefinitions with name, udfType, dataType (a List-type definition) answered an itemId and the created record read back with those values; the same request also carried valueForDisplay and valueForExport, which are not UserDefinedFieldDefinitionModel properties; the returned record has no such keys, so the accepted set is the three model fields. The test definition was then deactivated (isActive=false) and left in place."
|
|
13393
13407
|
],
|
|
13394
13408
|
"deleteBoundary": {
|
|
13395
13409
|
"available": false,
|
|
@@ -13400,15 +13414,19 @@ var CREATE_GUIDANCE = {
|
|
|
13400
13414
|
"resource": "user_defined_field_list_items",
|
|
13401
13415
|
"createOp": "user_defined_field_list_items.create",
|
|
13402
13416
|
"parentScoped": true,
|
|
13403
|
-
"liveProvenPrefix": [
|
|
13404
|
-
|
|
13417
|
+
"liveProvenPrefix": [
|
|
13418
|
+
"valueForDisplay",
|
|
13419
|
+
"valueForExport"
|
|
13420
|
+
],
|
|
13421
|
+
"unproven": false,
|
|
13405
13422
|
"blocker": {
|
|
13406
|
-
"kind": "
|
|
13407
|
-
"message": "
|
|
13408
|
-
"remedy": "
|
|
13423
|
+
"kind": "ok",
|
|
13424
|
+
"message": "The vendor accepted a create with the live-proven field set (liveProvenPrefix).",
|
|
13425
|
+
"remedy": "None: create with the live-proven field set."
|
|
13409
13426
|
},
|
|
13410
13427
|
"vendorEvidence": [
|
|
13411
|
-
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE."
|
|
13428
|
+
"api-docs.json: POST /V1.0/UserDefinedFields/{parentId}/ListItems consumes definitions.UserDefinedFieldListItemModel and answers OperationResultModel \u2014 the standalone UserDefinedFieldListItems path is read-only and no ListItems path defines DELETE.",
|
|
13429
|
+
"live round-trip 2026-11-11 (owner-approved, operator preview then apply): POST /V1.0/UserDefinedFields/{parentId}/ListItems with valueForDisplay and valueForExport (udfFieldId supplied by the path, not the body) answered an itemId; the parent-scoped get and a udfFieldId-filtered standalone query read the item back with udfFieldId = the parent. A parent-scoped update of valueForDisplay then succeeded and read back, and the item was deactivated (isActive=false) and left in place."
|
|
13412
13430
|
],
|
|
13413
13431
|
"deleteBoundary": {
|
|
13414
13432
|
"available": false,
|
|
@@ -13419,7 +13437,7 @@ var CREATE_GUIDANCE = {
|
|
|
13419
13437
|
"counts": {
|
|
13420
13438
|
"total": 99,
|
|
13421
13439
|
"byKind": {
|
|
13422
|
-
"ok":
|
|
13440
|
+
"ok": 41,
|
|
13423
13441
|
"blind-reference": 16,
|
|
13424
13442
|
"blind-parent": 17,
|
|
13425
13443
|
"picklist-unexposed": 5,
|
|
@@ -13427,7 +13445,7 @@ var CREATE_GUIDANCE = {
|
|
|
13427
13445
|
"resource-role-pair": 2,
|
|
13428
13446
|
"delete-absent": 0,
|
|
13429
13447
|
"non-mutable": 0,
|
|
13430
|
-
"unknown":
|
|
13448
|
+
"unknown": 17
|
|
13431
13449
|
}
|
|
13432
13450
|
}
|
|
13433
13451
|
};
|
|
@@ -16792,7 +16810,9 @@ var QueryBase = class {
|
|
|
16792
16810
|
* reached with a live next cursor, or the 1000-page guard) →
|
|
16793
16811
|
* LATEST_WINDOW_INCOMPLETE — a truncated enumeration's top-N-by-id is
|
|
16794
16812
|
* unprovable, so the op refuses instead of returning a possibly-wrong
|
|
16795
|
-
* answer.
|
|
16813
|
+
* answer. Exception (issue #435): a COUNT-only `unfiltered-blind` pin
|
|
16814
|
+
* (no query pin) re-probes with the filtered `count(id gt 0)`, which is
|
|
16815
|
+
* not blind, and takes branch 2 with that total.
|
|
16796
16816
|
* `includeFields` always carries `id` (the P1 id-append,
|
|
16797
16817
|
* `buildQueryRequest`), which `latest` sorts on. Pure read; no mutation
|
|
16798
16818
|
* paths involved; every count probe goes to the wire (counts are never
|
|
@@ -16801,7 +16821,14 @@ var QueryBase = class {
|
|
|
16801
16821
|
*/
|
|
16802
16822
|
async latestWalk(params, limit, latest) {
|
|
16803
16823
|
const baseConds = normalizedConditions(params.filter) ?? [];
|
|
16804
|
-
|
|
16824
|
+
let total = await this.countGlobal({ filter: params.filter });
|
|
16825
|
+
let probes = 1;
|
|
16826
|
+
const stamps = BLIND_SURFACE_STAMPS[this.config.key];
|
|
16827
|
+
if (typeof total === "object" && total !== null && total.blindSurface !== void 0 && stamps?.count?.kind === "unfiltered-blind" && stamps.query === void 0) {
|
|
16828
|
+
total = await this.countAboveId(baseConds, 0n);
|
|
16829
|
+
probes = 2;
|
|
16830
|
+
if (total === 0) return this.latestBlindWalk(params, limit, latest);
|
|
16831
|
+
}
|
|
16805
16832
|
if (typeof total === "object" && total !== null) {
|
|
16806
16833
|
const rec = total;
|
|
16807
16834
|
if (rec.blindSurface !== void 0) {
|
|
@@ -16823,7 +16850,6 @@ var QueryBase = class {
|
|
|
16823
16850
|
}
|
|
16824
16851
|
return this.finishLatest(items2, latest, pages3);
|
|
16825
16852
|
}
|
|
16826
|
-
let probes = 1;
|
|
16827
16853
|
const spend = () => {
|
|
16828
16854
|
probes += 1;
|
|
16829
16855
|
if (probes > LATEST_MAX_COUNT_PROBES) throw this.latestThresholdUnresolvedError();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// src/capabilities.ts
|
|
2
2
|
var CAPABILITY_PLAN_HASHES = {
|
|
3
|
-
"B": "
|
|
4
|
-
"A": "
|
|
5
|
-
"operations": "
|
|
3
|
+
"B": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
4
|
+
"A": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef",
|
|
5
|
+
"operations": "c92aaa7dd21259e4e8b545e44cebf4d831e5f68a0c9e41e26af1c2966c84bdef"
|
|
6
6
|
};
|
|
7
7
|
var cached = null;
|
|
8
8
|
function loadCapabilities() {
|