node-autotask 0.73.0 → 0.74.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.
Files changed (39) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/MCP_TOOL_CATALOG.json +175 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +532 -7
  5. package/dist/capabilities-data.js +531 -6
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-CWSXFVF2.cjs → chunk-AMB54GOO.cjs} +244 -86
  9. package/dist/{chunk-VHNWLON6.cjs → chunk-ASL3BIW2.cjs} +3 -3
  10. package/dist/{chunk-CKIKNZEB.cjs → chunk-DSQJTGXK.cjs} +31 -30
  11. package/dist/{chunk-VHN5B7OQ.js → chunk-HJKY7LUL.js} +239 -81
  12. package/dist/{chunk-RFH4VBMX.js → chunk-IFE5FWS7.js} +9 -7
  13. package/dist/{chunk-PNMEXWYR.js → chunk-IWTTCBCS.js} +3 -3
  14. package/dist/{chunk-L4J5EDCU.js → chunk-PGSDJS52.js} +3 -2
  15. package/dist/{chunk-STUQU7AX.cjs → chunk-QZY5LAOG.cjs} +206 -204
  16. package/dist/{index-CGp16Cdm.d.cts → index-CH65Ftmy.d.cts} +30 -1
  17. package/dist/{index-CGp16Cdm.d.ts → index-CH65Ftmy.d.ts} +30 -1
  18. package/dist/{index-MUM-uBX1.d.cts → index-CkBDlaSS.d.cts} +4 -2
  19. package/dist/{index-Dv8d9p_J.d.ts → index-ColCzIyw.d.ts} +4 -2
  20. package/dist/index.cjs +84 -84
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +51 -51
  25. package/dist/operations/index.d.cts +4 -4
  26. package/dist/operations/index.d.ts +4 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +12 -12
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +3 -2
  39. package/package.json +1 -1
package/capabilities.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "generatedAt": "2026-11-18T23:44:46.548Z",
2
+ "generatedAt": "2026-11-19T01:02:15.564Z",
3
3
  "groups": {
4
4
  "B": {
5
- "planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
6
- "builtAt": "2026-11-18T23:44:46.527Z",
5
+ "planHash": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
6
+ "builtAt": "2026-11-19T01:02:15.553Z",
7
7
  "records": [
8
8
  {
9
9
  "id": "appointments.count",
@@ -42918,8 +42918,8 @@
42918
42918
  ]
42919
42919
  },
42920
42920
  "A": {
42921
- "planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
42922
- "builtAt": "2026-11-18T23:44:46.527Z",
42921
+ "planHash": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
42922
+ "builtAt": "2026-11-19T01:02:15.553Z",
42923
42923
  "records": [
42924
42924
  {
42925
42925
  "id": "attachment_info.count",
@@ -75047,6 +75047,531 @@
75047
75047
  "compact": null,
75048
75048
  "status": "tested"
75049
75049
  },
75050
+ {
75051
+ "id": "task_predecessors.count",
75052
+ "resource": "task_predecessors",
75053
+ "udfCapable": false,
75054
+ "operation": "count",
75055
+ "kind": "primitive",
75056
+ "endpoint": "GET|POST /V1.0/TaskPredecessors/query/count",
75057
+ "effect": "read",
75058
+ "flags": [],
75059
+ "dryRun": false,
75060
+ "envelope": "QueryCountResultModel",
75061
+ "inputSchema": {
75062
+ "params": {
75063
+ "type": "object",
75064
+ "required": false,
75065
+ "description": "The query params object (CLOSED — unknown keys are refused pre-request): { filter?: FilterCondition[], fieldCheck?: boolean } — filter is the only wire parameter (the count endpoint takes no MaxRecords/IncludeFields; fieldCheck is consumed by the invoke router — never sent to the vendor). Filter condition field names are name-checked pre-request the same way as the query bag: a refusal costs zero /query/count wire (the cold fieldCache may cost the one authority metadata GET first). fieldCheck: false disables the name check (a non-boolean is refused pre-request; the shape/grammar checks always run) — the opt-out works on the count verb too.",
75066
+ "properties": [
75067
+ {
75068
+ "name": "filter",
75069
+ "type": "FilterCondition[]",
75070
+ "optional": true
75071
+ },
75072
+ {
75073
+ "name": "fieldCheck",
75074
+ "type": "boolean",
75075
+ "optional": true
75076
+ }
75077
+ ]
75078
+ }
75079
+ },
75080
+ "inputSchemaStrict": true,
75081
+ "outputSchema": {
75082
+ "type": "QueryCountResultModel",
75083
+ "drops": []
75084
+ },
75085
+ "examples": [
75086
+ "await invoke(client, 'task_predecessors.count', [{ filter: [{ field: 'successorTaskID', op: 'eq', value: 7 }] }])"
75087
+ ],
75088
+ "permissions": "unknown",
75089
+ "pagination": {
75090
+ "mode": "none"
75091
+ },
75092
+ "resolution": null,
75093
+ "retry": {
75094
+ "preset": "retry-ffb3a9cb"
75095
+ },
75096
+ "errors": {
75097
+ "set": 0
75098
+ },
75099
+ "metadata": {
75100
+ "purpose": "Count task predecessor relationships matching a JSON filter.",
75101
+ "usage": "Unwraps queryCount; returns a plain number.",
75102
+ "preferredWhen": null,
75103
+ "related": [
75104
+ "task_predecessors.query"
75105
+ ],
75106
+ "args": "args[0] is a params object (CLOSED — unknown keys are refused pre-request): { filter?: FilterCondition[], fieldCheck?: boolean } — filter is the only parameter sent to the vendor (the count endpoint takes no MaxRecords/IncludeFields; fieldCheck is consumed by the invoke router — never sent to the vendor). Filter condition field names are name-checked pre-request the same way as the query bag: a refusal costs zero /query/count wire (the cold fieldCache may cost the one authority metadata GET first). fieldCheck: false disables the name check (a non-boolean is refused pre-request; the shape/grammar checks always run) — the opt-out works on the count verb too. Filter grammar: 13 operators: eq, noteq, gt, gte, lt, lte, beginsWith, endsWith, contains, exist, notExist, in, notIn (in/notIn: array or '1,2,3') + and/or grouping (no not-group). Field names in vendor API casing — get them via operations.fieldCatalog. Caps: 500 OR-conditions / 1 UDF / 8000 chars."
75107
+ },
75108
+ "compact": null,
75109
+ "status": "tested"
75110
+ },
75111
+ {
75112
+ "id": "task_predecessors.create",
75113
+ "resource": "task_predecessors",
75114
+ "udfCapable": false,
75115
+ "operation": "create",
75116
+ "kind": "primitive",
75117
+ "endpoint": "POST /V1.0/Tasks/{parentId}/Predecessors",
75118
+ "effect": "write",
75119
+ "flags": [],
75120
+ "dryRun": true,
75121
+ "envelope": "OperationResultModel",
75122
+ "inputSchema": {
75123
+ "parentId": {
75124
+ "type": "string | number",
75125
+ "required": true,
75126
+ "description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
75127
+ },
75128
+ "data": {
75129
+ "type": "object",
75130
+ "required": true,
75131
+ "description": "The record payload (vendor model fields)."
75132
+ }
75133
+ },
75134
+ "inputSchemaStrict": true,
75135
+ "outputSchema": {
75136
+ "type": "OperationResultModel",
75137
+ "drops": []
75138
+ },
75139
+ "examples": [
75140
+ "await client.taskPredecessors.create(7, { predecessorTaskID: 8, successorTaskID: 7, lagDays: 2 }, { dryRun: true })"
75141
+ ],
75142
+ "permissions": "unknown",
75143
+ "pagination": {
75144
+ "mode": "none"
75145
+ },
75146
+ "resolution": null,
75147
+ "retry": {
75148
+ "preset": "retry-c5657094"
75149
+ },
75150
+ "errors": {
75151
+ "set": 1
75152
+ },
75153
+ "metadata": {
75154
+ "purpose": "create task predecessor relationships.",
75155
+ "usage": "The successorTaskID identifies the scoped Tasks parent. Predecessor and successor must be distinct tasks in the same project; mutations freshly read both documented task items to verify their identities and project. Phases are unsupported predecessors; baseline-project relationships are read-only. API-user module/security permissions and restricted task visibility remain vendor-enforced; an unreadable task refuses mutation without proving tenant absence. Only lagDays can be updated. No UDF writes or implicit dependency/cascade management. TaskPredecessorModel has no atomic stale token.",
75156
+ "preferredWhen": null,
75157
+ "related": []
75158
+ },
75159
+ "compact": null,
75160
+ "status": "tested"
75161
+ },
75162
+ {
75163
+ "id": "task_predecessors.delete",
75164
+ "resource": "task_predecessors",
75165
+ "udfCapable": false,
75166
+ "operation": "delete",
75167
+ "kind": "primitive",
75168
+ "endpoint": "DELETE /V1.0/Tasks/{parentId}/Predecessors/{id}",
75169
+ "effect": "destructive",
75170
+ "flags": [
75171
+ "idempotent",
75172
+ "requiresApproval"
75173
+ ],
75174
+ "dryRun": true,
75175
+ "envelope": "OperationResultModel",
75176
+ "inputSchema": {
75177
+ "parentId": {
75178
+ "type": "string | number",
75179
+ "required": true,
75180
+ "description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
75181
+ },
75182
+ "id": {
75183
+ "type": "string | number",
75184
+ "required": true,
75185
+ "description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
75186
+ }
75187
+ },
75188
+ "inputSchemaStrict": true,
75189
+ "outputSchema": {
75190
+ "type": "OperationResultModel",
75191
+ "drops": []
75192
+ },
75193
+ "examples": [
75194
+ "await invoke(client, 'task_predecessors.delete', ['example-value', 'example-value'], { dryRun: false, confirm: 'task_predecessors.delete' })"
75195
+ ],
75196
+ "permissions": "unknown",
75197
+ "pagination": {
75198
+ "mode": "none"
75199
+ },
75200
+ "resolution": null,
75201
+ "retry": {
75202
+ "preset": "retry-1849870d"
75203
+ },
75204
+ "errors": {
75205
+ "set": 2
75206
+ },
75207
+ "metadata": {
75208
+ "purpose": "Delete one task predecessor relationship.",
75209
+ "usage": "The successorTaskID identifies the scoped Tasks parent. Predecessor and successor must be distinct tasks in the same project; mutations freshly read both documented task items to verify their identities and project. Phases are unsupported predecessors; baseline-project relationships are read-only. API-user module/security permissions and restricted task visibility remain vendor-enforced; an unreadable task refuses mutation without proving tenant absence. Only lagDays can be updated. No UDF writes or implicit dependency/cascade management. TaskPredecessorModel has no atomic stale token. Destructive invocation requires exact operation confirmation. Preview sends no mutation.",
75210
+ "preferredWhen": null,
75211
+ "related": [
75212
+ "task_predecessors.get"
75213
+ ]
75214
+ },
75215
+ "compact": null,
75216
+ "status": "tested"
75217
+ },
75218
+ {
75219
+ "id": "task_predecessors.get",
75220
+ "resource": "task_predecessors",
75221
+ "udfCapable": false,
75222
+ "operation": "get",
75223
+ "kind": "primitive",
75224
+ "endpoint": "GET /V1.0/Tasks/{parentId}/Predecessors/{id}",
75225
+ "effect": "read",
75226
+ "flags": [],
75227
+ "dryRun": false,
75228
+ "envelope": "ItemQueryResultModel[TaskPredecessorModel,TaskPredecessor]",
75229
+ "inputSchema": {
75230
+ "parentId": {
75231
+ "type": "string | number",
75232
+ "required": true,
75233
+ "description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
75234
+ },
75235
+ "id": {
75236
+ "type": "string | number",
75237
+ "required": true,
75238
+ "description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
75239
+ },
75240
+ "opts": {
75241
+ "type": "object",
75242
+ "required": false,
75243
+ "description": "The read options bag (CLOSED): { fresh?: boolean } — fresh: true bypasses the read-cache lookup and refreshes the entry with the live response. Omitted: the cached read (default unchanged). A positional fresh via invoke is REFUSED (typed error, zero wire — the fresh invoke option is the only spelling); the typed method get(id, { fresh: true }) is unchanged.",
75244
+ "properties": [
75245
+ {
75246
+ "name": "fresh",
75247
+ "type": "boolean",
75248
+ "optional": true
75249
+ }
75250
+ ]
75251
+ }
75252
+ },
75253
+ "inputSchemaStrict": true,
75254
+ "outputSchema": {
75255
+ "type": "ItemQueryResultModel[TaskPredecessorModel,TaskPredecessor]",
75256
+ "drops": []
75257
+ },
75258
+ "examples": [
75259
+ "await client.taskPredecessors.get(7, 3)"
75260
+ ],
75261
+ "permissions": "unknown",
75262
+ "pagination": {
75263
+ "mode": "none"
75264
+ },
75265
+ "resolution": null,
75266
+ "retry": {
75267
+ "preset": "retry-ffb3a9cb"
75268
+ },
75269
+ "errors": {
75270
+ "set": 3
75271
+ },
75272
+ "metadata": {
75273
+ "purpose": "Get one task predecessor relationship by successor task ID and relationship ID.",
75274
+ "usage": "The successorTaskID identifies the scoped Tasks parent. Predecessor and successor must be distinct tasks in the same project; mutations freshly read both documented task items to verify their identities and project. Phases are unsupported predecessors; baseline-project relationships are read-only. API-user module/security permissions and restricted task visibility remain vendor-enforced; an unreadable task refuses mutation without proving tenant absence. Only lagDays can be updated. No UDF writes or implicit dependency/cascade management. TaskPredecessorModel has no atomic stale token.",
75275
+ "preferredWhen": "Preferred when the successor task ID and relationship ID are known; use a bounded successorTaskID-filtered query to discover relationships.",
75276
+ "related": [],
75277
+ "args": "args are (parentId: number, id: number) Item GET returns the FULL vendor model — the vendor documents no field selection on single-record reads. For a slim record use a task_predecessors.query with includeFields."
75278
+ },
75279
+ "compact": null,
75280
+ "status": "tested"
75281
+ },
75282
+ {
75283
+ "id": "task_predecessors.getEntityInfo",
75284
+ "resource": "task_predecessors",
75285
+ "udfCapable": false,
75286
+ "operation": "getEntityInfo",
75287
+ "kind": "primitive",
75288
+ "endpoint": "GET /V1.0/TaskPredecessors/entityInformation",
75289
+ "effect": "read",
75290
+ "flags": [],
75291
+ "dryRun": false,
75292
+ "envelope": "EntityInformationResultModel",
75293
+ "inputSchema": {},
75294
+ "inputSchemaStrict": true,
75295
+ "outputSchema": {
75296
+ "type": "EntityInformationResultModel",
75297
+ "drops": []
75298
+ },
75299
+ "examples": [
75300
+ "await client.taskPredecessors.getEntityInfo()"
75301
+ ],
75302
+ "permissions": "unknown",
75303
+ "pagination": {
75304
+ "mode": "none"
75305
+ },
75306
+ "resolution": null,
75307
+ "retry": {
75308
+ "preset": "retry-ffb3a9cb"
75309
+ },
75310
+ "errors": {
75311
+ "set": 0
75312
+ },
75313
+ "metadata": {
75314
+ "purpose": "Get the TaskPredecessor capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
75315
+ "usage": "Unwraps info{}; drives client-side capability checks.",
75316
+ "preferredWhen": null,
75317
+ "related": [
75318
+ "task_predecessors.getFieldInfo"
75319
+ ]
75320
+ },
75321
+ "compact": null,
75322
+ "status": "tested"
75323
+ },
75324
+ {
75325
+ "id": "task_predecessors.getFieldInfo",
75326
+ "resource": "task_predecessors",
75327
+ "udfCapable": false,
75328
+ "operation": "getFieldInfo",
75329
+ "kind": "primitive",
75330
+ "endpoint": "GET /V1.0/TaskPredecessors/entityInformation/fields",
75331
+ "effect": "read",
75332
+ "flags": [],
75333
+ "dryRun": false,
75334
+ "envelope": "FieldInformationResultModel",
75335
+ "inputSchema": {},
75336
+ "inputSchemaStrict": true,
75337
+ "outputSchema": {
75338
+ "type": "FieldInformationResultModel",
75339
+ "drops": []
75340
+ },
75341
+ "examples": [
75342
+ "await client.taskPredecessors.getFieldInfo()"
75343
+ ],
75344
+ "permissions": "unknown",
75345
+ "pagination": {
75346
+ "mode": "none"
75347
+ },
75348
+ "resolution": null,
75349
+ "retry": {
75350
+ "preset": "retry-ffb3a9cb"
75351
+ },
75352
+ "errors": {
75353
+ "set": 0
75354
+ },
75355
+ "metadata": {
75356
+ "purpose": "Get the TaskPredecessor field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
75357
+ "usage": "Unwraps fields[]; full raw field dump — the largest read of the info trio (compact discovery: operations.fieldCatalog); the raw dump is also the basis for UDF handling.",
75358
+ "preferredWhen": null,
75359
+ "related": [
75360
+ "task_predecessors.getEntityInfo",
75361
+ "task_predecessors.getUdfInfo"
75362
+ ]
75363
+ },
75364
+ "compact": null,
75365
+ "status": "tested"
75366
+ },
75367
+ {
75368
+ "id": "task_predecessors.getUdfInfo",
75369
+ "resource": "task_predecessors",
75370
+ "udfCapable": false,
75371
+ "operation": "getUdfInfo",
75372
+ "kind": "primitive",
75373
+ "endpoint": "GET /V1.0/TaskPredecessors/entityInformation/userDefinedFields",
75374
+ "effect": "read",
75375
+ "flags": [],
75376
+ "dryRun": false,
75377
+ "envelope": "UserDefinedFieldInformationResultModel",
75378
+ "inputSchema": {},
75379
+ "inputSchemaStrict": true,
75380
+ "outputSchema": {
75381
+ "type": "UserDefinedFieldInformationResultModel",
75382
+ "drops": []
75383
+ },
75384
+ "examples": [
75385
+ "await client.taskPredecessors.getUdfInfo()"
75386
+ ],
75387
+ "permissions": "unknown",
75388
+ "pagination": {
75389
+ "mode": "none"
75390
+ },
75391
+ "resolution": null,
75392
+ "retry": {
75393
+ "preset": "retry-ffb3a9cb"
75394
+ },
75395
+ "errors": {
75396
+ "set": 0
75397
+ },
75398
+ "metadata": {
75399
+ "purpose": "Get the TaskPredecessor user-defined-field catalog.",
75400
+ "usage": "Unwraps fields[]; only meaningful where the entity is UDF-capable. (entity is not UDF-capable; catalog is expected empty).",
75401
+ "preferredWhen": null,
75402
+ "related": [
75403
+ "task_predecessors.getFieldInfo"
75404
+ ]
75405
+ },
75406
+ "compact": null,
75407
+ "status": "tested"
75408
+ },
75409
+ {
75410
+ "id": "task_predecessors.query",
75411
+ "resource": "task_predecessors",
75412
+ "udfCapable": false,
75413
+ "operation": "query",
75414
+ "kind": "primitive",
75415
+ "endpoint": "GET|POST /V1.0/TaskPredecessors/query",
75416
+ "effect": "read",
75417
+ "flags": [],
75418
+ "dryRun": false,
75419
+ "envelope": "QueryActionResult[<Model>,<Entity>]",
75420
+ "inputSchema": {
75421
+ "params": {
75422
+ "type": "object",
75423
+ "required": false,
75424
+ "description": "The query params object (CLOSED — unknown keys are refused pre-request with a typed error naming the key + the valid keys): { filter?: FilterCondition[], limit?: number (total cap, default 500, max 2500 — NOT a page size), latest?: number (1-2500; the N highest-id rows — the vendor has no sort; count-probe + id-threshold semantics, see docs/API.md §4; the same-process latest-walk count probes are briefly cached per client — a 30 s TTL, cleared on a write through this client (a probe in flight across the write is discarded by the cache's invalidation epoch); the plain count op and aggregate stay fresh; limit and latest may coexist only when limit >= latest), noteChars?: number (integer >= 1; opt-in per-field char cap on the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose): each capped value = the first N chars + the explicit marker … [+N chars truncated] (N = chars removed), applied at result-build BEFORE the server-side untrusted wrapper; absent = the raw, untruncated result), includeFields?: string[], fieldCheck?: boolean (default true: every includeFields NAME and every filter condition FIELD NAME is checked pre-request against the live field set (the vendored spec when that read faults — the resource's plan-pinned live-only fields, metadata.liveOnlyFields, are exempt from the vendored refusal: the live entity carries them and the vendor model omits them (e.g. time_entries postedDate/postedOnTime) — a truly unknown name is still refused); a refusal costs zero QUERY wire — the query POST and the count probe that anchors latest are never issued, a COLD fieldCache performs one authority metadata GET first (zero on a warm one); the one udf:true condition per query is exempt (a tenant UDF name is absent from the vendored spec by definition); false disables both name checks, never the shape/grammar checks; the count verb's bag is name-checked the same way and carries the same fieldCheck opt-out; a direct queryBounded/queryAll call is not checked (no bag contract there)), names?: boolean (absent = the client's labels option — OFF by default (the label pass costs a field-catalog read + up to 20 cold name reads per call; the MCP server (iit-mcp-autotask) enables the client labels option when it re-pins to this version (downstream)); true adds the row label siblings: picklist <field>Label (statusLabel), <fk>Name for companyID/contractID/ticketID/roleID/billingCodeID/*ResourceID (contractIDName, assignedResourceIDName) — null, never missing, when the field is keyed with a null value, a 0 id or an unresolved value (a picklist 0 is labelled when the picklist defines it); a names summary appears only when something was left unlabelled (the 20 uncached name-read cap or an unresolved picklist value); false = raw ids, ~30% smaller on a full tickets row), via?: \"post\" | \"get\" (vendor GET has a 2048-char cap), acknowledgeUnscoped?: boolean (query verb only; a walk expected to read over 500 rows with no id scope in the filter is guarded — one pre-flight <resource>.count, and a count over 500 refuses with the typed SCOPE_REQUIRED before the walk; true walks the unscoped set anyway; a count that fails or is blind lets the walk run and the result's scopeNote says so), walk?: object (walk.maxRows: positive integer — (D6): the walk's TOTAL row cap — serves at most maxRows rows in total; the page size stays min(500, limit), so one vendor page may fetch more rows than maxRows and the surplus is sliced off (fetched, not served); the result's truncated flag — false only when the cursor is exhausted, true iff more rows exist past the cap (so an exact-multiple count with a live next page reports true); not combinable with latest) }. Filter grammar: 13 operators (eq, noteq, gt, gte, lt, lte, beginsWith, endsWith, contains, exist, notExist, in, notIn; in/notIn: array or \"1,2,3\") + and/or grouping (no not-group); field names in vendor API casing (via operations.fieldCatalog); caps: 500 OR-conditions / 1 UDF / 8000 chars.",
75425
+ "properties": [
75426
+ {
75427
+ "name": "filter",
75428
+ "type": "FilterCondition[]",
75429
+ "optional": true
75430
+ },
75431
+ {
75432
+ "name": "limit",
75433
+ "type": "number",
75434
+ "optional": true,
75435
+ "default": 500
75436
+ },
75437
+ {
75438
+ "name": "latest",
75439
+ "type": "number",
75440
+ "optional": true
75441
+ },
75442
+ {
75443
+ "name": "noteChars",
75444
+ "type": "number",
75445
+ "optional": true
75446
+ },
75447
+ {
75448
+ "name": "includeFields",
75449
+ "type": "string[]",
75450
+ "optional": true
75451
+ },
75452
+ {
75453
+ "name": "fieldCheck",
75454
+ "type": "boolean",
75455
+ "optional": true,
75456
+ "default": true
75457
+ },
75458
+ {
75459
+ "name": "names",
75460
+ "type": "boolean",
75461
+ "optional": true
75462
+ },
75463
+ {
75464
+ "name": "via",
75465
+ "type": "\"post\" | \"get\"",
75466
+ "optional": true
75467
+ },
75468
+ {
75469
+ "name": "acknowledgeUnscoped",
75470
+ "type": "boolean",
75471
+ "optional": true
75472
+ },
75473
+ {
75474
+ "name": "walk",
75475
+ "type": "object",
75476
+ "optional": true
75477
+ }
75478
+ ]
75479
+ }
75480
+ },
75481
+ "inputSchemaStrict": true,
75482
+ "outputSchema": {
75483
+ "type": "QueryActionResult[<Model>,<Entity>]",
75484
+ "drops": []
75485
+ },
75486
+ "examples": [
75487
+ "await invoke(client, 'task_predecessors.query', [{ filter: [{ field: 'successorTaskID', op: 'eq', value: 7 }], limit: 25 }])"
75488
+ ],
75489
+ "permissions": "unknown",
75490
+ "pagination": {
75491
+ "mode": "cursor",
75492
+ "vendorDefault": 10,
75493
+ "vendorMax": 500,
75494
+ "pageGuard": 1000,
75495
+ "queryBounded": {
75496
+ "default": 500,
75497
+ "max": 2500
75498
+ }
75499
+ },
75500
+ "resolution": null,
75501
+ "retry": {
75502
+ "preset": "retry-ffb3a9cb"
75503
+ },
75504
+ "errors": {
75505
+ "set": 4
75506
+ },
75507
+ "metadata": {
75508
+ "purpose": "Query TaskPredecessor records with a JSON filter.",
75509
+ "usage": "Server-side pagination: one call walks the vendor cursor internally (page 1 POSTs the QueryModel body with MaxRecords = the walk's internal page size (at most 500; the default POST path — `via: 'get'` issues a GET on page 1); later pages POST the SAME body — IncludeFields, MaxRecords and the preserved filter — to the absolute vendor cursor, rebased to the client base URL; the vendor honours IncludeFields on a continuation and ignores MaxRecords there, so a later page carries the vendor's own page size) until the limit is met or the cursor is null; 1000-page guard (hasMore stays true at the guard). queryAll is the unbounded raw walk — only when you need the ENTIRE set and accept a large payload; default to the bounded query op. noteChars: N (integer >= 1) is an opt-in per-field char cap on the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose — the same set the server wraps): each capped value = the first N chars + the explicit marker … [+N chars truncated] (N = chars removed), applied at result-build BEFORE the server-side untrusted wrapper; absent = the raw, untruncated result (zero wire — response-side only). latest: N returns the N highest-id rows (id-descending): the vendor has no sort parameter — this is the only ordering channel, and a date window in `filter` narrows the cost; count-anchored — C ≤ 2500 → one count + a ≤6-page walk of the matching set, C > 2500 → count probes + an id-threshold window (≤64 probes; LATEST_THRESHOLD_UNRESOLVED on budget exhaustion), a blind count → a bounded walk with the blind-surface stamp (LATEST_WINDOW_INCOMPLETE on a truncated walk). Parent-scoped entity: the query stays global (filter with successorTaskID eq <parentId> where the parent is known). Explicit walk.maxRows independently sets the TOTAL returned-row cap (including export-sized walks); the ordinary limit is still validated in 1..2500 and only bounds the internal page size for this form. hasMore and truncated remain true at the page guard or while a cursor or unserved fetched rows remain. Self-resource prefixes are accepted in filter fields and includeFields; dotted UDF names are always refused before metadata or vendor requests, never rewritten to another tenant UDF.",
75510
+ "preferredWhen": "Default for filtered reads (the bounded query op). queryAll is the unbounded raw walk — only when you need the ENTIRE set and accept a large payload; default to the bounded query op. Prefer an includeFields subset over the full model (field names via operations.fieldCatalog). latest: N is the latest-N rows (id-descending) when the newest rows are the goal (the vendor has no sort — count-anchored, docs/API.md §4). Prefer a hand-listed includeFields for common narrow reads (removed the closed fieldsPreset presets — the v1 billing_join field list for billing_items.query, if you need it, is: companyID, ticketID, projectID, timeEntryID, contractServiceID, contractID, billingCodeID, expenseItemID, itemDate, quantity, rate, extendedPrice, totalAmount, nonBillable); noteChars: N caps the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose) to N chars each with the explicit … [+N chars truncated] marker (opt-in; the raw result when absent).",
75511
+ "related": [],
75512
+ "args": "args[0] is a params object: { filter?: FilterCondition[], limit?: total cap (default 500, max 2500; server-side pagination), latest?: number (1-2500 — the N highest-id rows; the vendor has no sort parameter, so this is a count-anchored mechanism — see docs/API.md §4; coexists with limit only when limit >= latest), noteChars?: number (integer >= 1 — opt-in per-field char cap on the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose): each capped value = the first N chars + the explicit marker … [+N chars truncated] (N = chars removed), applied at result-build BEFORE the server-side untrusted wrapper; absent = the raw, untruncated result) maxRecords?: page size — raw SDK `queryAll`/`query` walks only (this bounded query ignores it; the invoke bag refuses it — pass limit), includeFields?: string[], fieldCheck?: boolean (default true — the pre-request field-name check on includeFields names and filter condition fields; false disables it — consumed by the invoke router, never sent to the vendor), via?: \"post\" | \"get\" (the wire method; the vendor GET has a 2048-char cap), acknowledgeUnscoped?: boolean (query verb only; a walk expected over 500 rows with no id scope in the filter is guarded — one pre-flight <resource>.count, and a count over 500 refuses with the typed SCOPE_REQUIRED before the walk; true walks the unscoped set anyway; a count that fails or is blind lets the walk run and the result’s scopeNote says so), walk?: { maxRows: positive integer (D6: the walk’s TOTAL row cap — serves at most maxRows rows in total; the page size stays min(500, limit), so one vendor page may fetch more rows than maxRows and the surplus is sliced off (fetched, not served); the result’s truncated flag — false only when the cursor is exhausted, true iff more rows exist past the cap (so an exact-multiple count with a live next page reports true); not combinable with latest) } }. Filter grammar: 13 operators: eq, noteq, gt, gte, lt, lte, beginsWith, endsWith, contains, exist, notExist, in, notIn (in/notIn: array or '1,2,3') + and/or grouping (no not-group). Field names in vendor API casing — get them via operations.fieldCatalog. Caps: 500 OR-conditions / 1 UDF / 8000 chars. By default the FULL vendor model is returned (all fields). To slim the payload for context savings pass includeFields with the exact vendor field names you need (discover them via operations.fieldCatalog); only those fields + id come back. The subset persists across the internal page walk."
75513
+ },
75514
+ "compact": null,
75515
+ "status": "tested"
75516
+ },
75517
+ {
75518
+ "id": "task_predecessors.update",
75519
+ "resource": "task_predecessors",
75520
+ "udfCapable": false,
75521
+ "operation": "update",
75522
+ "kind": "primitive",
75523
+ "endpoint": "PATCH /V1.0/Tasks/{parentId}/Predecessors",
75524
+ "effect": "write",
75525
+ "flags": [
75526
+ "idempotent"
75527
+ ],
75528
+ "dryRun": true,
75529
+ "envelope": "OperationResultModel",
75530
+ "inputSchema": {
75531
+ "parentId": {
75532
+ "type": "string | number",
75533
+ "required": true,
75534
+ "description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
75535
+ },
75536
+ "id": {
75537
+ "type": "string | number",
75538
+ "required": true,
75539
+ "description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
75540
+ },
75541
+ "data": {
75542
+ "type": "object",
75543
+ "required": true,
75544
+ "description": "The record payload (vendor model fields)."
75545
+ }
75546
+ },
75547
+ "inputSchemaStrict": true,
75548
+ "outputSchema": {
75549
+ "type": "OperationResultModel",
75550
+ "drops": []
75551
+ },
75552
+ "examples": [
75553
+ "await client.taskPredecessors.update(7, 3, { lagDays: 2 }, { dryRun: true })"
75554
+ ],
75555
+ "permissions": "unknown",
75556
+ "pagination": {
75557
+ "mode": "none"
75558
+ },
75559
+ "resolution": null,
75560
+ "retry": {
75561
+ "preset": "retry-c5657094"
75562
+ },
75563
+ "errors": {
75564
+ "set": 1
75565
+ },
75566
+ "metadata": {
75567
+ "purpose": "update task predecessor relationships.",
75568
+ "usage": "The successorTaskID identifies the scoped Tasks parent. Predecessor and successor must be distinct tasks in the same project; mutations freshly read both documented task items to verify their identities and project. Phases are unsupported predecessors; baseline-project relationships are read-only. API-user module/security permissions and restricted task visibility remain vendor-enforced; an unreadable task refuses mutation without proving tenant absence. Only lagDays can be updated. No UDF writes or implicit dependency/cascade management. TaskPredecessorModel has no atomic stale token.",
75569
+ "preferredWhen": null,
75570
+ "related": []
75571
+ },
75572
+ "compact": null,
75573
+ "status": "tested"
75574
+ },
75050
75575
  {
75051
75576
  "id": "task_secondary_resources.count",
75052
75577
  "resource": "task_secondary_resources",
@@ -84241,8 +84766,8 @@
84241
84766
  ]
84242
84767
  },
84243
84768
  "operations": {
84244
- "planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
84245
- "builtAt": "2026-11-18T23:44:46.527Z",
84769
+ "planHash": "cff16b0b9d022a81a1926ffacb0d01cf5a1e924805447744b62865a3cf9d3779",
84770
+ "builtAt": "2026-11-19T01:02:15.553Z",
84246
84771
  "records": [
84247
84772
  {
84248
84773
  "id": "operations.aggregate",