node-autotask 0.71.0 → 0.73.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 +24 -0
- package/MCP_TOOL_CATALOG.json +196 -9
- package/README.md +1 -1
- package/capabilities.json +651 -9
- package/dist/capabilities-data.js +650 -8
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-4DSLRDIF.cjs → chunk-CKIKNZEB.cjs} +31 -30
- package/dist/{chunk-QQFF7X67.cjs → chunk-CWSXFVF2.cjs} +229 -16
- package/dist/{chunk-YKQ2KNQO.js → chunk-L4J5EDCU.js} +3 -2
- package/dist/{chunk-LKJA57CH.js → chunk-PNMEXWYR.js} +3 -3
- package/dist/{chunk-5COLIVBE.js → chunk-RFH4VBMX.js} +126 -2
- package/dist/{chunk-QJ327YI6.cjs → chunk-STUQU7AX.cjs} +301 -177
- package/dist/{chunk-4OR3XBIP.js → chunk-VHN5B7OQ.js} +223 -12
- package/dist/{chunk-JLCHKCEB.cjs → chunk-VHNWLON6.cjs} +3 -3
- package/dist/{index-CM_SRgtH.d.cts → index-CGp16Cdm.d.cts} +49 -21
- package/dist/{index-CM_SRgtH.d.ts → index-CGp16Cdm.d.ts} +49 -21
- package/dist/{index-lGpxr4gY.d.ts → index-Dv8d9p_J.d.ts} +165 -4
- package/dist/{index-CAXT5ZKT.d.cts → index-MUM-uBX1.d.cts} +165 -4
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +3 -5
- package/dist/index.d.ts +3 -5
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +5 -6
- package/dist/operations/index.d.ts +5 -6
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- 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 +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +26 -7
- package/docs/N8N-ADAPTER.md +1 -1
- package/package.json +1 -1
- package/dist/base-CHMATPq0.d.cts +0 -145
- package/dist/base-CHMATPq0.d.ts +0 -145
|
@@ -348,8 +348,8 @@ const CAPABILITY_DATA = {
|
|
|
348
348
|
],
|
|
349
349
|
"groups": {
|
|
350
350
|
"B": {
|
|
351
|
-
"planHash": "
|
|
352
|
-
"builtAt": "2026-11-
|
|
351
|
+
"planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
|
|
352
|
+
"builtAt": "2026-11-18T23:44:46.527Z",
|
|
353
353
|
"records": [
|
|
354
354
|
{
|
|
355
355
|
"id": "appointments.count",
|
|
@@ -41523,6 +41523,71 @@ const CAPABILITY_DATA = {
|
|
|
41523
41523
|
"compact": null,
|
|
41524
41524
|
"status": "tested"
|
|
41525
41525
|
},
|
|
41526
|
+
{
|
|
41527
|
+
"id": "time_off_requests.create",
|
|
41528
|
+
"resource": "time_off_requests",
|
|
41529
|
+
"udfCapable": false,
|
|
41530
|
+
"operation": "create",
|
|
41531
|
+
"kind": "primitive",
|
|
41532
|
+
"endpoint": "POST /V1.0/Resources/{parentId}/TimeOffRequests",
|
|
41533
|
+
"effect": "write",
|
|
41534
|
+
"flags": [],
|
|
41535
|
+
"dryRun": true,
|
|
41536
|
+
"envelope": "OperationResultModel",
|
|
41537
|
+
"inputSchema": {
|
|
41538
|
+
"parentId": {
|
|
41539
|
+
"type": "string | number",
|
|
41540
|
+
"required": true,
|
|
41541
|
+
"description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
|
|
41542
|
+
},
|
|
41543
|
+
"data": {
|
|
41544
|
+
"type": "object",
|
|
41545
|
+
"required": true,
|
|
41546
|
+
"description": "The record payload (vendor model fields)."
|
|
41547
|
+
}
|
|
41548
|
+
},
|
|
41549
|
+
"inputSchemaStrict": true,
|
|
41550
|
+
"outputSchema": {
|
|
41551
|
+
"type": "OperationResultModel",
|
|
41552
|
+
"drops": []
|
|
41553
|
+
},
|
|
41554
|
+
"examples": [
|
|
41555
|
+
"const fields = await client.timeOffRequests.getFieldInfo();\nconst activeValue = (name, label) => {\n const rows = fields.filter(field => field.name === name && field.isPickList === true);\n if (rows.length !== 1 || !Array.isArray(rows[0].picklistValues)) throw new Error(`Unavailable ${name} picklist metadata`);\n const values = rows[0].picklistValues;\n const valid = value => typeof value.value === 'string' && /^-?\\d+$/.test(value.value) && Number.isSafeInteger(Number(value.value));\n const choices = label ? values.filter(value => value.label?.trim().toLowerCase() === label.toLowerCase()) : values.filter(value => valid(value) && value.isActive === true);\n const choice = choices[0];\n if (!choice || (label && choices.length !== 1) || !valid(choice) || choice.isActive !== true || values.filter(value => valid(value) && Number(value.value) === Number(choice.value)).length !== 1) throw new Error(`No unambiguous active ${label ?? name} choice is available`);\n return Number(choice.value);\n};\nconst status = activeValue('status', 'Submitted');\nconst timeOffRequestType = activeValue('timeOffRequestType');\nawait client.timeOffRequests.create(7, { requestDate: '2026-01-01', hours: 1.25, status, timeOffRequestType }, { dryRun: true });"
|
|
41556
|
+
],
|
|
41557
|
+
"permissions": "unknown",
|
|
41558
|
+
"pagination": {
|
|
41559
|
+
"mode": "none"
|
|
41560
|
+
},
|
|
41561
|
+
"resolution": null,
|
|
41562
|
+
"retry": {
|
|
41563
|
+
"preset": "retry-c5657094"
|
|
41564
|
+
},
|
|
41565
|
+
"errors": {
|
|
41566
|
+
"set": 1
|
|
41567
|
+
},
|
|
41568
|
+
"metadata": {
|
|
41569
|
+
"purpose": "Submit a resource time-off request.",
|
|
41570
|
+
"usage": "Parent-scoped: parentId is the resource id; the SDK fills numeric resourceID and rejects a mismatched supplied value. Create requires hours (-24 to 24 decimal), requestDate for a single day, timeOffRequestType and status. Fresh SDK metadata must uniquely expose active Submitted for status and the selected request type; withheld, inactive or ambiguous metadata refuses before mutation, even after a warm metadata read. Request types depend on the UI Display Code for > Time Off Requests setting. Approval/audit/attribution fields, reason, start/end times and UDF writes are not create inputs; start/end times are ignored by the vendor. Resource ownership does not establish company scope. API-user/proxy-time-entry settings govern visibility and permissions. A parent beyond the safe numeric resourceID body representation is refused as an SDK create-body limit, not a vendor record-id maximum.",
|
|
41571
|
+
"preferredWhen": "Submit a new leave request.",
|
|
41572
|
+
"related": [
|
|
41573
|
+
"time_off_requests.get",
|
|
41574
|
+
"time_off_requests.getFieldInfo",
|
|
41575
|
+
"time_off_requests.approve",
|
|
41576
|
+
"time_off_requests.reject"
|
|
41577
|
+
],
|
|
41578
|
+
"deleteBoundary": {
|
|
41579
|
+
"resource": "time_off_requests",
|
|
41580
|
+
"note": "The vendor defines no DELETE for time-off requests; cancel through time_off_requests.update using the Canceled status from exposed field metadata. Cancellation is leave management, not timesheet unposting.",
|
|
41581
|
+
"proof": "spec-derived"
|
|
41582
|
+
},
|
|
41583
|
+
"untrustedFields": [
|
|
41584
|
+
"reason",
|
|
41585
|
+
"rejectReason"
|
|
41586
|
+
]
|
|
41587
|
+
},
|
|
41588
|
+
"compact": null,
|
|
41589
|
+
"status": "tested"
|
|
41590
|
+
},
|
|
41526
41591
|
{
|
|
41527
41592
|
"id": "time_off_requests.get",
|
|
41528
41593
|
"resource": "time_off_requests",
|
|
@@ -41966,6 +42031,73 @@ const CAPABILITY_DATA = {
|
|
|
41966
42031
|
"compact": "TimeOffRequestSummary",
|
|
41967
42032
|
"status": "tested"
|
|
41968
42033
|
},
|
|
42034
|
+
{
|
|
42035
|
+
"id": "time_off_requests.update",
|
|
42036
|
+
"resource": "time_off_requests",
|
|
42037
|
+
"udfCapable": false,
|
|
42038
|
+
"operation": "update",
|
|
42039
|
+
"kind": "primitive",
|
|
42040
|
+
"endpoint": "PATCH /V1.0/Resources/{parentId}/TimeOffRequests",
|
|
42041
|
+
"effect": "write",
|
|
42042
|
+
"flags": [
|
|
42043
|
+
"idempotent"
|
|
42044
|
+
],
|
|
42045
|
+
"dryRun": true,
|
|
42046
|
+
"envelope": "OperationResultModel",
|
|
42047
|
+
"inputSchema": {
|
|
42048
|
+
"parentId": {
|
|
42049
|
+
"type": "string | number",
|
|
42050
|
+
"required": true,
|
|
42051
|
+
"description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
|
|
42052
|
+
},
|
|
42053
|
+
"id": {
|
|
42054
|
+
"type": "string | number",
|
|
42055
|
+
"required": true,
|
|
42056
|
+
"description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
|
|
42057
|
+
},
|
|
42058
|
+
"data": {
|
|
42059
|
+
"type": "object",
|
|
42060
|
+
"required": true,
|
|
42061
|
+
"description": "The record payload (vendor model fields)."
|
|
42062
|
+
}
|
|
42063
|
+
},
|
|
42064
|
+
"inputSchemaStrict": true,
|
|
42065
|
+
"outputSchema": {
|
|
42066
|
+
"type": "OperationResultModel",
|
|
42067
|
+
"drops": []
|
|
42068
|
+
},
|
|
42069
|
+
"examples": [
|
|
42070
|
+
"const fields = await client.timeOffRequests.getFieldInfo();\nconst activeValue = (name, label) => {\n const rows = fields.filter(field => field.name === name && field.isPickList === true);\n if (rows.length !== 1 || !Array.isArray(rows[0].picklistValues)) throw new Error(`Unavailable ${name} picklist metadata`);\n const values = rows[0].picklistValues;\n const valid = value => typeof value.value === 'string' && /^-?\\d+$/.test(value.value) && Number.isSafeInteger(Number(value.value));\n const choices = label ? values.filter(value => value.label?.trim().toLowerCase() === label.toLowerCase()) : values.filter(value => valid(value) && value.isActive === true);\n const choice = choices[0];\n if (!choice || (label && choices.length !== 1) || !valid(choice) || choice.isActive !== true || values.filter(value => valid(value) && Number(value.value) === Number(choice.value)).length !== 1) throw new Error(`No unambiguous active ${label ?? name} choice is available`);\n return Number(choice.value);\n};\nconst status = activeValue('status', 'Canceled');\nawait client.timeOffRequests.update(7, 3, { status }, { dryRun: true });"
|
|
42071
|
+
],
|
|
42072
|
+
"permissions": "unknown",
|
|
42073
|
+
"pagination": {
|
|
42074
|
+
"mode": "none"
|
|
42075
|
+
},
|
|
42076
|
+
"resolution": null,
|
|
42077
|
+
"retry": {
|
|
42078
|
+
"preset": "retry-c5657094"
|
|
42079
|
+
},
|
|
42080
|
+
"errors": {
|
|
42081
|
+
"set": 1
|
|
42082
|
+
},
|
|
42083
|
+
"metadata": {
|
|
42084
|
+
"purpose": "Cancel a resource time-off request.",
|
|
42085
|
+
"usage": "Parent-scoped: parentId is the resource id, followed by request id and data containing status only. Fresh SDK metadata must uniquely expose the supplied numeric status as active Canceled, including after a warmed field cache. No other fields or transitions are admitted in preview or apply. Collection PATCH sends status and the path request id only, with no replacing PUT fallback. Optional lastModifiedDate checks fresh lastModifiedDateTime. Resource ownership does not establish company scope; visibility depends on API-user and proxy-time-entry settings. Cancellation is leave management, not timesheet lifecycle or unposting.",
|
|
42086
|
+
"preferredWhen": "Cancel an existing leave request; use approve/reject for leave approval.",
|
|
42087
|
+
"related": [
|
|
42088
|
+
"time_off_requests.get",
|
|
42089
|
+
"time_off_requests.getFieldInfo",
|
|
42090
|
+
"time_off_requests.approve",
|
|
42091
|
+
"time_off_requests.reject"
|
|
42092
|
+
],
|
|
42093
|
+
"untrustedFields": [
|
|
42094
|
+
"reason",
|
|
42095
|
+
"rejectReason"
|
|
42096
|
+
]
|
|
42097
|
+
},
|
|
42098
|
+
"compact": null,
|
|
42099
|
+
"status": "tested"
|
|
42100
|
+
},
|
|
41969
42101
|
{
|
|
41970
42102
|
"id": "user_defined_field_definitions.count",
|
|
41971
42103
|
"resource": "user_defined_field_definitions",
|
|
@@ -43132,8 +43264,8 @@ const CAPABILITY_DATA = {
|
|
|
43132
43264
|
]
|
|
43133
43265
|
},
|
|
43134
43266
|
"A": {
|
|
43135
|
-
"planHash": "
|
|
43136
|
-
"builtAt": "2026-11-
|
|
43267
|
+
"planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
|
|
43268
|
+
"builtAt": "2026-11-18T23:44:46.527Z",
|
|
43137
43269
|
"records": [
|
|
43138
43270
|
{
|
|
43139
43271
|
"id": "attachment_info.count",
|
|
@@ -50071,7 +50203,7 @@ const CAPABILITY_DATA = {
|
|
|
50071
50203
|
"drops": []
|
|
50072
50204
|
},
|
|
50073
50205
|
"examples": [
|
|
50074
|
-
"await client.
|
|
50206
|
+
"await invoke(client, 'configuration_item_dns_records.count', [{ filter: [{ field: 'installedProductID', op: 'eq', value: 7 }] }])"
|
|
50075
50207
|
],
|
|
50076
50208
|
"permissions": "unknown",
|
|
50077
50209
|
"pagination": {
|
|
@@ -50447,7 +50579,7 @@ const CAPABILITY_DATA = {
|
|
|
50447
50579
|
"drops": []
|
|
50448
50580
|
},
|
|
50449
50581
|
"examples": [
|
|
50450
|
-
"await client.
|
|
50582
|
+
"await invoke(client, 'configuration_item_dns_records.query', [{ filter: [{ field: 'installedProductID', op: 'eq', value: 7 }], limit: 500 }])"
|
|
50451
50583
|
],
|
|
50452
50584
|
"permissions": "unknown",
|
|
50453
50585
|
"pagination": {
|
|
@@ -74751,6 +74883,516 @@ const CAPABILITY_DATA = {
|
|
|
74751
74883
|
"compact": null,
|
|
74752
74884
|
"status": "tested"
|
|
74753
74885
|
},
|
|
74886
|
+
{
|
|
74887
|
+
"id": "task_notes.count",
|
|
74888
|
+
"resource": "task_notes",
|
|
74889
|
+
"udfCapable": false,
|
|
74890
|
+
"operation": "count",
|
|
74891
|
+
"kind": "primitive",
|
|
74892
|
+
"endpoint": "GET|POST /V1.0/TaskNotes/query/count",
|
|
74893
|
+
"effect": "read",
|
|
74894
|
+
"flags": [],
|
|
74895
|
+
"dryRun": false,
|
|
74896
|
+
"envelope": "QueryCountResultModel",
|
|
74897
|
+
"inputSchema": {
|
|
74898
|
+
"params": {
|
|
74899
|
+
"type": "object",
|
|
74900
|
+
"required": false,
|
|
74901
|
+
"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.",
|
|
74902
|
+
"properties": [
|
|
74903
|
+
{
|
|
74904
|
+
"name": "filter",
|
|
74905
|
+
"type": "FilterCondition[]",
|
|
74906
|
+
"optional": true
|
|
74907
|
+
},
|
|
74908
|
+
{
|
|
74909
|
+
"name": "fieldCheck",
|
|
74910
|
+
"type": "boolean",
|
|
74911
|
+
"optional": true
|
|
74912
|
+
}
|
|
74913
|
+
]
|
|
74914
|
+
}
|
|
74915
|
+
},
|
|
74916
|
+
"inputSchemaStrict": true,
|
|
74917
|
+
"outputSchema": {
|
|
74918
|
+
"type": "QueryCountResultModel",
|
|
74919
|
+
"drops": []
|
|
74920
|
+
},
|
|
74921
|
+
"examples": [
|
|
74922
|
+
"await invoke(client, 'task_notes.count', [{ filter: [{ field: 'taskID', op: 'eq', value: 7 }] }])"
|
|
74923
|
+
],
|
|
74924
|
+
"permissions": "unknown",
|
|
74925
|
+
"pagination": {
|
|
74926
|
+
"mode": "none"
|
|
74927
|
+
},
|
|
74928
|
+
"resolution": null,
|
|
74929
|
+
"retry": {
|
|
74930
|
+
"preset": "retry-ffb3a9cb"
|
|
74931
|
+
},
|
|
74932
|
+
"errors": {
|
|
74933
|
+
"set": 0
|
|
74934
|
+
},
|
|
74935
|
+
"metadata": {
|
|
74936
|
+
"purpose": "Count task note records matching a JSON filter.",
|
|
74937
|
+
"usage": "Unwraps queryCount; returns a plain number.",
|
|
74938
|
+
"preferredWhen": null,
|
|
74939
|
+
"related": [
|
|
74940
|
+
"task_notes.query"
|
|
74941
|
+
],
|
|
74942
|
+
"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.",
|
|
74943
|
+
"untrustedFields": [
|
|
74944
|
+
"description",
|
|
74945
|
+
"title"
|
|
74946
|
+
]
|
|
74947
|
+
},
|
|
74948
|
+
"compact": null,
|
|
74949
|
+
"status": "tested"
|
|
74950
|
+
},
|
|
74951
|
+
{
|
|
74952
|
+
"id": "task_notes.create",
|
|
74953
|
+
"resource": "task_notes",
|
|
74954
|
+
"udfCapable": false,
|
|
74955
|
+
"operation": "create",
|
|
74956
|
+
"kind": "primitive",
|
|
74957
|
+
"endpoint": "POST /V1.0/Tasks/{parentId}/Notes",
|
|
74958
|
+
"effect": "write",
|
|
74959
|
+
"flags": [],
|
|
74960
|
+
"dryRun": true,
|
|
74961
|
+
"envelope": "OperationResultModel",
|
|
74962
|
+
"inputSchema": {
|
|
74963
|
+
"parentId": {
|
|
74964
|
+
"type": "string | number",
|
|
74965
|
+
"required": true,
|
|
74966
|
+
"description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
|
|
74967
|
+
},
|
|
74968
|
+
"data": {
|
|
74969
|
+
"type": "object",
|
|
74970
|
+
"required": true,
|
|
74971
|
+
"description": "The record payload (vendor model fields)."
|
|
74972
|
+
}
|
|
74973
|
+
},
|
|
74974
|
+
"inputSchemaStrict": true,
|
|
74975
|
+
"outputSchema": {
|
|
74976
|
+
"type": "OperationResultModel",
|
|
74977
|
+
"drops": []
|
|
74978
|
+
},
|
|
74979
|
+
"examples": [
|
|
74980
|
+
"const fields = await client.taskNotes.getFieldInfo();\nconst activeValue = (name) => {\n const field = fields.find(field => field.name === name && field.isPickList === true);\n const choice = field?.picklistValues?.find(choice => choice.isActive === true && typeof choice.value === 'string' && /^-?\\d+$/.test(choice.value) && Number.isSafeInteger(Number(choice.value)));\n if (!choice) throw new Error(`No active integer picklist choice is available for ${name}; check TaskNotes field metadata.`);\n return Number(choice.value);\n};\nconst noteType = activeValue('noteType');\nconst publish = activeValue('publish');\nawait client.taskNotes.create(7, { description: 'Work completed', title: 'Progress', noteType, publish, taskID: 7 }, { dryRun: true });"
|
|
74981
|
+
],
|
|
74982
|
+
"permissions": "unknown",
|
|
74983
|
+
"pagination": {
|
|
74984
|
+
"mode": "none"
|
|
74985
|
+
},
|
|
74986
|
+
"resolution": null,
|
|
74987
|
+
"retry": {
|
|
74988
|
+
"preset": "retry-c5657094"
|
|
74989
|
+
},
|
|
74990
|
+
"errors": {
|
|
74991
|
+
"set": 1
|
|
74992
|
+
},
|
|
74993
|
+
"metadata": {
|
|
74994
|
+
"purpose": "Create a task note.",
|
|
74995
|
+
"usage": "Returns OperationResultModel.itemId (the new id); the full record is not returned — follow up with get where needed. Parent-scoped: parentId is a path parameter. Description writes use plain text and can lose existing rich text/images. The create body must include taskID equal to the parentId path argument; official documentation does not establish that the URL fills this required field. Current field metadata supplies picklist values; no numeric value is presumed valid. Baseline-project notes are read-only. Task Category settings may require title. Contact impersonation requires permission, publish ALL (resolve its value from current metadata), an active contact and account, and a task belonging to the contact's account or a child account. Writable fields: description (max 3200), title (max 250), noteType, publish, createdByContactID and matching taskID; creator/date fields and UDF writes are refused. Create requires description, noteType, publish and taskID.",
|
|
74996
|
+
"preferredWhen": "Only for a record that does not exist yet; prefer update for an id you already have.",
|
|
74997
|
+
"related": [
|
|
74998
|
+
"task_notes.update"
|
|
74999
|
+
],
|
|
75000
|
+
"deleteBoundary": {
|
|
75001
|
+
"resource": "task_notes",
|
|
75002
|
+
"note": "The vendor defines no DELETE for task_notes (spec-derived); a created task note cannot be removed through the public API.",
|
|
75003
|
+
"proof": "spec-derived"
|
|
75004
|
+
},
|
|
75005
|
+
"untrustedFields": [
|
|
75006
|
+
"description",
|
|
75007
|
+
"title"
|
|
75008
|
+
]
|
|
75009
|
+
},
|
|
75010
|
+
"compact": null,
|
|
75011
|
+
"status": "tested"
|
|
75012
|
+
},
|
|
75013
|
+
{
|
|
75014
|
+
"id": "task_notes.get",
|
|
75015
|
+
"resource": "task_notes",
|
|
75016
|
+
"udfCapable": false,
|
|
75017
|
+
"operation": "get",
|
|
75018
|
+
"kind": "primitive",
|
|
75019
|
+
"endpoint": "GET /V1.0/Tasks/{parentId}/Notes/{id}",
|
|
75020
|
+
"effect": "read",
|
|
75021
|
+
"flags": [],
|
|
75022
|
+
"dryRun": false,
|
|
75023
|
+
"envelope": "ItemQueryResultModel[TaskNoteModel,TaskNote]",
|
|
75024
|
+
"inputSchema": {
|
|
75025
|
+
"parentId": {
|
|
75026
|
+
"type": "string | number",
|
|
75027
|
+
"required": true,
|
|
75028
|
+
"description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
|
|
75029
|
+
},
|
|
75030
|
+
"id": {
|
|
75031
|
+
"type": "string | number",
|
|
75032
|
+
"required": true,
|
|
75033
|
+
"description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
|
|
75034
|
+
},
|
|
75035
|
+
"opts": {
|
|
75036
|
+
"type": "object",
|
|
75037
|
+
"required": false,
|
|
75038
|
+
"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.",
|
|
75039
|
+
"properties": [
|
|
75040
|
+
{
|
|
75041
|
+
"name": "fresh",
|
|
75042
|
+
"type": "boolean",
|
|
75043
|
+
"optional": true
|
|
75044
|
+
}
|
|
75045
|
+
]
|
|
75046
|
+
}
|
|
75047
|
+
},
|
|
75048
|
+
"inputSchemaStrict": true,
|
|
75049
|
+
"outputSchema": {
|
|
75050
|
+
"type": "ItemQueryResultModel[TaskNoteModel,TaskNote]",
|
|
75051
|
+
"drops": []
|
|
75052
|
+
},
|
|
75053
|
+
"examples": [
|
|
75054
|
+
"await client.taskNotes.get(7, 3)"
|
|
75055
|
+
],
|
|
75056
|
+
"permissions": "unknown",
|
|
75057
|
+
"pagination": {
|
|
75058
|
+
"mode": "none"
|
|
75059
|
+
},
|
|
75060
|
+
"resolution": null,
|
|
75061
|
+
"retry": {
|
|
75062
|
+
"preset": "retry-ffb3a9cb"
|
|
75063
|
+
},
|
|
75064
|
+
"errors": {
|
|
75065
|
+
"set": 3
|
|
75066
|
+
},
|
|
75067
|
+
"metadata": {
|
|
75068
|
+
"purpose": "Get one TaskNote by id.",
|
|
75069
|
+
"usage": "item: null on the 200 body maps to NotFoundError (vendor not-found signal). Parent-scoped: parentId + id.",
|
|
75070
|
+
"preferredWhen": "Preferred when the parent task ID and note ID are known; use a bounded taskID-filtered query to discover notes.",
|
|
75071
|
+
"related": [],
|
|
75072
|
+
"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_notes.query with includeFields.",
|
|
75073
|
+
"untrustedFields": [
|
|
75074
|
+
"description",
|
|
75075
|
+
"title"
|
|
75076
|
+
]
|
|
75077
|
+
},
|
|
75078
|
+
"compact": null,
|
|
75079
|
+
"status": "tested"
|
|
75080
|
+
},
|
|
75081
|
+
{
|
|
75082
|
+
"id": "task_notes.getEntityInfo",
|
|
75083
|
+
"resource": "task_notes",
|
|
75084
|
+
"udfCapable": false,
|
|
75085
|
+
"operation": "getEntityInfo",
|
|
75086
|
+
"kind": "primitive",
|
|
75087
|
+
"endpoint": "GET /V1.0/TaskNotes/entityInformation",
|
|
75088
|
+
"effect": "read",
|
|
75089
|
+
"flags": [],
|
|
75090
|
+
"dryRun": false,
|
|
75091
|
+
"envelope": "EntityInformationResultModel",
|
|
75092
|
+
"inputSchema": {},
|
|
75093
|
+
"inputSchemaStrict": true,
|
|
75094
|
+
"outputSchema": {
|
|
75095
|
+
"type": "EntityInformationResultModel",
|
|
75096
|
+
"drops": []
|
|
75097
|
+
},
|
|
75098
|
+
"examples": [
|
|
75099
|
+
"await client.taskNotes.getEntityInfo()"
|
|
75100
|
+
],
|
|
75101
|
+
"permissions": "unknown",
|
|
75102
|
+
"pagination": {
|
|
75103
|
+
"mode": "none"
|
|
75104
|
+
},
|
|
75105
|
+
"resolution": null,
|
|
75106
|
+
"retry": {
|
|
75107
|
+
"preset": "retry-ffb3a9cb"
|
|
75108
|
+
},
|
|
75109
|
+
"errors": {
|
|
75110
|
+
"set": 0
|
|
75111
|
+
},
|
|
75112
|
+
"metadata": {
|
|
75113
|
+
"purpose": "Get the TaskNote capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
75114
|
+
"usage": "Unwraps info{}; drives client-side capability checks.",
|
|
75115
|
+
"preferredWhen": null,
|
|
75116
|
+
"related": [
|
|
75117
|
+
"task_notes.getFieldInfo"
|
|
75118
|
+
],
|
|
75119
|
+
"untrustedFields": [
|
|
75120
|
+
"description",
|
|
75121
|
+
"title"
|
|
75122
|
+
]
|
|
75123
|
+
},
|
|
75124
|
+
"compact": null,
|
|
75125
|
+
"status": "tested"
|
|
75126
|
+
},
|
|
75127
|
+
{
|
|
75128
|
+
"id": "task_notes.getFieldInfo",
|
|
75129
|
+
"resource": "task_notes",
|
|
75130
|
+
"udfCapable": false,
|
|
75131
|
+
"operation": "getFieldInfo",
|
|
75132
|
+
"kind": "primitive",
|
|
75133
|
+
"endpoint": "GET /V1.0/TaskNotes/entityInformation/fields",
|
|
75134
|
+
"effect": "read",
|
|
75135
|
+
"flags": [],
|
|
75136
|
+
"dryRun": false,
|
|
75137
|
+
"envelope": "FieldInformationResultModel",
|
|
75138
|
+
"inputSchema": {},
|
|
75139
|
+
"inputSchemaStrict": true,
|
|
75140
|
+
"outputSchema": {
|
|
75141
|
+
"type": "FieldInformationResultModel",
|
|
75142
|
+
"drops": []
|
|
75143
|
+
},
|
|
75144
|
+
"examples": [
|
|
75145
|
+
"await client.taskNotes.getFieldInfo()"
|
|
75146
|
+
],
|
|
75147
|
+
"permissions": "unknown",
|
|
75148
|
+
"pagination": {
|
|
75149
|
+
"mode": "none"
|
|
75150
|
+
},
|
|
75151
|
+
"resolution": null,
|
|
75152
|
+
"retry": {
|
|
75153
|
+
"preset": "retry-ffb3a9cb"
|
|
75154
|
+
},
|
|
75155
|
+
"errors": {
|
|
75156
|
+
"set": 0
|
|
75157
|
+
},
|
|
75158
|
+
"metadata": {
|
|
75159
|
+
"purpose": "Get the TaskNote field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
75160
|
+
"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.",
|
|
75161
|
+
"preferredWhen": null,
|
|
75162
|
+
"related": [
|
|
75163
|
+
"task_notes.getEntityInfo",
|
|
75164
|
+
"task_notes.getUdfInfo"
|
|
75165
|
+
],
|
|
75166
|
+
"untrustedFields": [
|
|
75167
|
+
"description",
|
|
75168
|
+
"title"
|
|
75169
|
+
]
|
|
75170
|
+
},
|
|
75171
|
+
"compact": null,
|
|
75172
|
+
"status": "tested"
|
|
75173
|
+
},
|
|
75174
|
+
{
|
|
75175
|
+
"id": "task_notes.getUdfInfo",
|
|
75176
|
+
"resource": "task_notes",
|
|
75177
|
+
"udfCapable": false,
|
|
75178
|
+
"operation": "getUdfInfo",
|
|
75179
|
+
"kind": "primitive",
|
|
75180
|
+
"endpoint": "GET /V1.0/TaskNotes/entityInformation/userDefinedFields",
|
|
75181
|
+
"effect": "read",
|
|
75182
|
+
"flags": [],
|
|
75183
|
+
"dryRun": false,
|
|
75184
|
+
"envelope": "UserDefinedFieldInformationResultModel",
|
|
75185
|
+
"inputSchema": {},
|
|
75186
|
+
"inputSchemaStrict": true,
|
|
75187
|
+
"outputSchema": {
|
|
75188
|
+
"type": "UserDefinedFieldInformationResultModel",
|
|
75189
|
+
"drops": []
|
|
75190
|
+
},
|
|
75191
|
+
"examples": [
|
|
75192
|
+
"await client.taskNotes.getUdfInfo()"
|
|
75193
|
+
],
|
|
75194
|
+
"permissions": "unknown",
|
|
75195
|
+
"pagination": {
|
|
75196
|
+
"mode": "none"
|
|
75197
|
+
},
|
|
75198
|
+
"resolution": null,
|
|
75199
|
+
"retry": {
|
|
75200
|
+
"preset": "retry-ffb3a9cb"
|
|
75201
|
+
},
|
|
75202
|
+
"errors": {
|
|
75203
|
+
"set": 0
|
|
75204
|
+
},
|
|
75205
|
+
"metadata": {
|
|
75206
|
+
"purpose": "Get the TaskNote user-defined-field catalog.",
|
|
75207
|
+
"usage": "Unwraps fields[]; only meaningful where the entity is UDF-capable. (entity is not UDF-capable; catalog is expected empty).",
|
|
75208
|
+
"preferredWhen": null,
|
|
75209
|
+
"related": [
|
|
75210
|
+
"task_notes.getFieldInfo"
|
|
75211
|
+
],
|
|
75212
|
+
"untrustedFields": [
|
|
75213
|
+
"description",
|
|
75214
|
+
"title"
|
|
75215
|
+
]
|
|
75216
|
+
},
|
|
75217
|
+
"compact": null,
|
|
75218
|
+
"status": "tested"
|
|
75219
|
+
},
|
|
75220
|
+
{
|
|
75221
|
+
"id": "task_notes.query",
|
|
75222
|
+
"resource": "task_notes",
|
|
75223
|
+
"udfCapable": false,
|
|
75224
|
+
"operation": "query",
|
|
75225
|
+
"kind": "primitive",
|
|
75226
|
+
"endpoint": "GET|POST /V1.0/TaskNotes/query",
|
|
75227
|
+
"effect": "read",
|
|
75228
|
+
"flags": [],
|
|
75229
|
+
"dryRun": false,
|
|
75230
|
+
"envelope": "QueryActionResult[<Model>,<Entity>]",
|
|
75231
|
+
"inputSchema": {
|
|
75232
|
+
"params": {
|
|
75233
|
+
"type": "object",
|
|
75234
|
+
"required": false,
|
|
75235
|
+
"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.",
|
|
75236
|
+
"properties": [
|
|
75237
|
+
{
|
|
75238
|
+
"name": "filter",
|
|
75239
|
+
"type": "FilterCondition[]",
|
|
75240
|
+
"optional": true
|
|
75241
|
+
},
|
|
75242
|
+
{
|
|
75243
|
+
"name": "limit",
|
|
75244
|
+
"type": "number",
|
|
75245
|
+
"optional": true,
|
|
75246
|
+
"default": 500
|
|
75247
|
+
},
|
|
75248
|
+
{
|
|
75249
|
+
"name": "latest",
|
|
75250
|
+
"type": "number",
|
|
75251
|
+
"optional": true
|
|
75252
|
+
},
|
|
75253
|
+
{
|
|
75254
|
+
"name": "noteChars",
|
|
75255
|
+
"type": "number",
|
|
75256
|
+
"optional": true
|
|
75257
|
+
},
|
|
75258
|
+
{
|
|
75259
|
+
"name": "includeFields",
|
|
75260
|
+
"type": "string[]",
|
|
75261
|
+
"optional": true
|
|
75262
|
+
},
|
|
75263
|
+
{
|
|
75264
|
+
"name": "fieldCheck",
|
|
75265
|
+
"type": "boolean",
|
|
75266
|
+
"optional": true,
|
|
75267
|
+
"default": true
|
|
75268
|
+
},
|
|
75269
|
+
{
|
|
75270
|
+
"name": "names",
|
|
75271
|
+
"type": "boolean",
|
|
75272
|
+
"optional": true
|
|
75273
|
+
},
|
|
75274
|
+
{
|
|
75275
|
+
"name": "via",
|
|
75276
|
+
"type": "\"post\" | \"get\"",
|
|
75277
|
+
"optional": true
|
|
75278
|
+
},
|
|
75279
|
+
{
|
|
75280
|
+
"name": "acknowledgeUnscoped",
|
|
75281
|
+
"type": "boolean",
|
|
75282
|
+
"optional": true
|
|
75283
|
+
},
|
|
75284
|
+
{
|
|
75285
|
+
"name": "walk",
|
|
75286
|
+
"type": "object",
|
|
75287
|
+
"optional": true
|
|
75288
|
+
}
|
|
75289
|
+
]
|
|
75290
|
+
}
|
|
75291
|
+
},
|
|
75292
|
+
"inputSchemaStrict": true,
|
|
75293
|
+
"outputSchema": {
|
|
75294
|
+
"type": "QueryActionResult[<Model>,<Entity>]",
|
|
75295
|
+
"drops": []
|
|
75296
|
+
},
|
|
75297
|
+
"examples": [
|
|
75298
|
+
"await invoke(client, 'task_notes.query', [{ filter: [{ field: 'taskID', op: 'eq', value: 7 }], limit: 25 }])"
|
|
75299
|
+
],
|
|
75300
|
+
"permissions": "unknown",
|
|
75301
|
+
"pagination": {
|
|
75302
|
+
"mode": "cursor",
|
|
75303
|
+
"vendorDefault": 10,
|
|
75304
|
+
"vendorMax": 500,
|
|
75305
|
+
"pageGuard": 1000,
|
|
75306
|
+
"queryBounded": {
|
|
75307
|
+
"default": 500,
|
|
75308
|
+
"max": 2500
|
|
75309
|
+
}
|
|
75310
|
+
},
|
|
75311
|
+
"resolution": null,
|
|
75312
|
+
"retry": {
|
|
75313
|
+
"preset": "retry-ffb3a9cb"
|
|
75314
|
+
},
|
|
75315
|
+
"errors": {
|
|
75316
|
+
"set": 4
|
|
75317
|
+
},
|
|
75318
|
+
"metadata": {
|
|
75319
|
+
"purpose": "Query TaskNote records with a JSON filter.",
|
|
75320
|
+
"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 taskID 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.",
|
|
75321
|
+
"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).",
|
|
75322
|
+
"related": [],
|
|
75323
|
+
"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.",
|
|
75324
|
+
"untrustedFields": [
|
|
75325
|
+
"description",
|
|
75326
|
+
"title"
|
|
75327
|
+
]
|
|
75328
|
+
},
|
|
75329
|
+
"compact": null,
|
|
75330
|
+
"status": "tested"
|
|
75331
|
+
},
|
|
75332
|
+
{
|
|
75333
|
+
"id": "task_notes.update",
|
|
75334
|
+
"resource": "task_notes",
|
|
75335
|
+
"udfCapable": false,
|
|
75336
|
+
"operation": "update",
|
|
75337
|
+
"kind": "primitive",
|
|
75338
|
+
"endpoint": "PUT|PATCH /V1.0/Tasks/{parentId}/Notes",
|
|
75339
|
+
"effect": "write",
|
|
75340
|
+
"flags": [
|
|
75341
|
+
"idempotent"
|
|
75342
|
+
],
|
|
75343
|
+
"dryRun": true,
|
|
75344
|
+
"envelope": "OperationResultModel",
|
|
75345
|
+
"inputSchema": {
|
|
75346
|
+
"parentId": {
|
|
75347
|
+
"type": "string | number",
|
|
75348
|
+
"required": true,
|
|
75349
|
+
"description": "The parent record id (parent-scoped collection; number, or a canonical integer string)."
|
|
75350
|
+
},
|
|
75351
|
+
"id": {
|
|
75352
|
+
"type": "string | number",
|
|
75353
|
+
"required": true,
|
|
75354
|
+
"description": "The record id (number, or a canonical integer string — ids beyond 2^53 are supported via the string form)."
|
|
75355
|
+
},
|
|
75356
|
+
"data": {
|
|
75357
|
+
"type": "object",
|
|
75358
|
+
"required": true,
|
|
75359
|
+
"description": "The record payload (vendor model fields)."
|
|
75360
|
+
}
|
|
75361
|
+
},
|
|
75362
|
+
"inputSchemaStrict": true,
|
|
75363
|
+
"outputSchema": {
|
|
75364
|
+
"type": "OperationResultModel",
|
|
75365
|
+
"drops": []
|
|
75366
|
+
},
|
|
75367
|
+
"examples": [
|
|
75368
|
+
"await client.taskNotes.update(7, 3, { description: 'Updated progress' }, { dryRun: true })"
|
|
75369
|
+
],
|
|
75370
|
+
"permissions": "unknown",
|
|
75371
|
+
"pagination": {
|
|
75372
|
+
"mode": "none"
|
|
75373
|
+
},
|
|
75374
|
+
"resolution": null,
|
|
75375
|
+
"retry": {
|
|
75376
|
+
"preset": "retry-85897a3a"
|
|
75377
|
+
},
|
|
75378
|
+
"errors": {
|
|
75379
|
+
"set": 1
|
|
75380
|
+
},
|
|
75381
|
+
"metadata": {
|
|
75382
|
+
"purpose": "Update a task note.",
|
|
75383
|
+
"usage": "Issues PATCH on the collection (swagger documents put+patch there; the node strips the id from the path and the vendor keys the record by the id in the body). TaskNoteModel has no supported lastModifiedDate stale token; preview reads a fresh record, without promising an atomic vendor precondition. Parent-scoped: parentId + id. Description writes use plain text and can lose existing rich text/images. Parent taskID is the path argument; a supplied taskID must match. Current field metadata supplies picklist values; no numeric value is presumed valid. Baseline-project notes are read-only. Task Category settings may require title. Writable fields: description (max 3200), title (max 250), noteType, publish, createdByContactID and matching taskID; creator/date fields and UDF writes are refused.",
|
|
75384
|
+
"preferredWhen": "Use when an existing task note needs a supported field change.",
|
|
75385
|
+
"related": [
|
|
75386
|
+
"task_notes.get"
|
|
75387
|
+
],
|
|
75388
|
+
"untrustedFields": [
|
|
75389
|
+
"description",
|
|
75390
|
+
"title"
|
|
75391
|
+
]
|
|
75392
|
+
},
|
|
75393
|
+
"compact": null,
|
|
75394
|
+
"status": "tested"
|
|
75395
|
+
},
|
|
74754
75396
|
{
|
|
74755
75397
|
"id": "task_secondary_resources.count",
|
|
74756
75398
|
"resource": "task_secondary_resources",
|
|
@@ -83945,8 +84587,8 @@ const CAPABILITY_DATA = {
|
|
|
83945
84587
|
]
|
|
83946
84588
|
},
|
|
83947
84589
|
"operations": {
|
|
83948
|
-
"planHash": "
|
|
83949
|
-
"builtAt": "2026-11-
|
|
84590
|
+
"planHash": "3dfaa99bd81e843635bafd242e5229270f259de68c6a32d483a6640402f3b187",
|
|
84591
|
+
"builtAt": "2026-11-18T23:44:46.527Z",
|
|
83950
84592
|
"records": [
|
|
83951
84593
|
{
|
|
83952
84594
|
"id": "operations.aggregate",
|