node-autotask 0.33.0 → 0.34.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 +32 -0
  2. package/MCP_TOOL_CATALOG.json +2 -2
  3. package/MCP_TOOL_MANIFEST.md +4 -4
  4. package/N8N_MCP_MANIFEST.json +2 -2
  5. package/N8N_MCP_MANIFEST.md +3 -3
  6. package/capabilities.json +4084 -2544
  7. package/capabilities.schema.json +32 -0
  8. package/dist/capabilities.cjs +2 -2
  9. package/dist/capabilities.d.cts +13 -1
  10. package/dist/capabilities.d.ts +13 -1
  11. package/dist/capabilities.js +1 -1
  12. package/dist/{chunk-VKE56TTN.js → chunk-4MUBUSTL.js} +4083 -2543
  13. package/dist/{chunk-5DS6F6GF.js → chunk-6ADFCU3I.js} +399 -342
  14. package/dist/{chunk-OO67MRHN.cjs → chunk-DKJP73FX.cjs} +966 -909
  15. package/dist/{chunk-MFDQHFGJ.js → chunk-EZKM4HQ6.js} +1017 -577
  16. package/dist/{chunk-SP2SJJZX.cjs → chunk-FOOHJBPP.cjs} +4083 -2543
  17. package/dist/{chunk-4QN43TRP.cjs → chunk-GDQ4QM7Q.cjs} +1066 -626
  18. package/dist/{chunk-3LAZZT7V.cjs → chunk-P6YN2POI.cjs} +143 -143
  19. package/dist/{chunk-7WNE5MPG.js → chunk-RDFL5QYE.js} +2 -2
  20. package/dist/{index-BaeMHZPk.d.ts → index-ByMU8IC2.d.ts} +498 -198
  21. package/dist/{index-Cq0VsfSz.d.cts → index-Dx4-zpDo.d.cts} +498 -198
  22. package/dist/index.cjs +23 -23
  23. package/dist/index.d.cts +2 -2
  24. package/dist/index.d.ts +2 -2
  25. package/dist/index.js +5 -5
  26. package/dist/operations/index.cjs +157 -116
  27. package/dist/operations/index.d.cts +39 -25
  28. package/dist/operations/index.d.ts +39 -25
  29. package/dist/operations/index.js +47 -6
  30. package/dist/pool.cjs +9 -9
  31. package/dist/pool.d.cts +1 -1
  32. package/dist/pool.d.ts +1 -1
  33. package/dist/pool.js +4 -4
  34. package/dist/resources/index.cjs +4 -4
  35. package/dist/resources/index.d.cts +1 -1
  36. package/dist/resources/index.d.ts +1 -1
  37. package/dist/resources/index.js +3 -3
  38. package/docs/API.md +160 -35
  39. package/package.json +1 -1
@@ -396,6 +396,38 @@
396
396
  }
397
397
  }
398
398
  },
399
+ "caveats": {
400
+ "type": "array",
401
+ "items": {
402
+ "type": "object",
403
+ "required": [
404
+ "kind",
405
+ "note"
406
+ ],
407
+ "properties": {
408
+ "kind": {
409
+ "enum": [
410
+ "not-persisted"
411
+ ]
412
+ },
413
+ "fields": {
414
+ "type": "array",
415
+ "items": {
416
+ "type": "string",
417
+ "minLength": 1
418
+ }
419
+ },
420
+ "note": {
421
+ "type": "string",
422
+ "minLength": 1
423
+ },
424
+ "remedyOp": {
425
+ "type": "string",
426
+ "minLength": 1
427
+ }
428
+ }
429
+ }
430
+ },
399
431
  "createRequirements": {
400
432
  "type": "object",
401
433
  "properties": {
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkSP2SJJZXcjs = require('./chunk-SP2SJJZX.cjs');
5
+ var _chunkFOOHJBPPcjs = require('./chunk-FOOHJBPP.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.CAPABILITIES = _chunkSP2SJJZXcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkSP2SJJZXcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkSP2SJJZXcjs.CAPABILITY_PLAN_HASHES;
10
+ exports.CAPABILITIES = _chunkFOOHJBPPcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkFOOHJBPPcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkFOOHJBPPcjs.CAPABILITY_PLAN_HASHES;
@@ -25,6 +25,17 @@ interface CapabilityArgSchema {
25
25
  default?: number | boolean | string | string[];
26
26
  }>;
27
27
  }
28
+ /** One per-operation caveat (issue #249): the closed-kind row served on `metadata.caveats`. */
29
+ interface CapabilityCaveat {
30
+ /** The closed caveat kind. `not-persisted`: the op accepts the listed `fields` but the vendor does not store them. */
31
+ kind: 'not-persisted';
32
+ /** The affected vendor field names (required for `not-persisted`). */
33
+ fields?: string[];
34
+ /** One sentence for the caller. */
35
+ note: string;
36
+ /** The operation id that does what this op cannot (e.g. 'time_entries.moveToTicket'). */
37
+ remedyOp?: string;
38
+ }
28
39
  /** One registered capability (a plan row that is implemented/tested). */
29
40
  interface CapabilityRecord {
30
41
  /** Plan row id, e.g. 'companies.query' or 'companies.search'. */
@@ -104,6 +115,7 @@ interface CapabilityRecord {
104
115
  };
105
116
  /** Stable error codes this operation can emit (plan column pass-through). */
106
117
  errors: string[];
118
+ /** The descriptor bag (purpose, usage, ...). Optional `caveats?: CapabilityCaveat[]` (issue #249) names fields an op accepts but the vendor does not store. */
107
119
  metadata: Record<string, unknown>;
108
120
  /** Compact summary shape name, or null. */
109
121
  compact: string | null;
@@ -132,4 +144,4 @@ declare const CAPABILITIES: CapabilityRecord[];
132
144
  /** The plan hash per built group (staleness gate input). */
133
145
  declare const CAPABILITY_PLAN_HASHES: Record<string, string>;
134
146
 
135
- export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityRecord };
147
+ export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityCaveat, type CapabilityRecord };
@@ -25,6 +25,17 @@ interface CapabilityArgSchema {
25
25
  default?: number | boolean | string | string[];
26
26
  }>;
27
27
  }
28
+ /** One per-operation caveat (issue #249): the closed-kind row served on `metadata.caveats`. */
29
+ interface CapabilityCaveat {
30
+ /** The closed caveat kind. `not-persisted`: the op accepts the listed `fields` but the vendor does not store them. */
31
+ kind: 'not-persisted';
32
+ /** The affected vendor field names (required for `not-persisted`). */
33
+ fields?: string[];
34
+ /** One sentence for the caller. */
35
+ note: string;
36
+ /** The operation id that does what this op cannot (e.g. 'time_entries.moveToTicket'). */
37
+ remedyOp?: string;
38
+ }
28
39
  /** One registered capability (a plan row that is implemented/tested). */
29
40
  interface CapabilityRecord {
30
41
  /** Plan row id, e.g. 'companies.query' or 'companies.search'. */
@@ -104,6 +115,7 @@ interface CapabilityRecord {
104
115
  };
105
116
  /** Stable error codes this operation can emit (plan column pass-through). */
106
117
  errors: string[];
118
+ /** The descriptor bag (purpose, usage, ...). Optional `caveats?: CapabilityCaveat[]` (issue #249) names fields an op accepts but the vendor does not store. */
107
119
  metadata: Record<string, unknown>;
108
120
  /** Compact summary shape name, or null. */
109
121
  compact: string | null;
@@ -132,4 +144,4 @@ declare const CAPABILITIES: CapabilityRecord[];
132
144
  /** The plan hash per built group (staleness gate input). */
133
145
  declare const CAPABILITY_PLAN_HASHES: Record<string, string>;
134
146
 
135
- export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityRecord };
147
+ export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityCaveat, type CapabilityRecord };
@@ -2,7 +2,7 @@ import {
2
2
  CAPABILITIES,
3
3
  CAPABILITY_GROUPS,
4
4
  CAPABILITY_PLAN_HASHES
5
- } from "./chunk-VKE56TTN.js";
5
+ } from "./chunk-4MUBUSTL.js";
6
6
  export {
7
7
  CAPABILITIES,
8
8
  CAPABILITY_GROUPS,