node-autotask 0.32.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 (40) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/MCP_TOOL_CATALOG.json +27 -8
  3. package/MCP_TOOL_MANIFEST.md +14 -13
  4. package/N8N_MCP_MANIFEST.json +38 -12
  5. package/N8N_MCP_MANIFEST.md +10 -9
  6. package/README.md +1 -1
  7. package/capabilities.json +4228 -2547
  8. package/capabilities.schema.json +32 -0
  9. package/dist/capabilities.cjs +2 -2
  10. package/dist/capabilities.d.cts +13 -1
  11. package/dist/capabilities.d.ts +13 -1
  12. package/dist/capabilities.js +1 -1
  13. package/dist/{chunk-M2EGFPGF.js → chunk-4MUBUSTL.js} +4227 -2546
  14. package/dist/{chunk-FVHPN7ZR.js → chunk-6ADFCU3I.js} +636 -429
  15. package/dist/{chunk-FTF2FEQ6.cjs → chunk-DKJP73FX.cjs} +1176 -969
  16. package/dist/{chunk-R6HLJCI2.js → chunk-EZKM4HQ6.js} +1038 -573
  17. package/dist/{chunk-DCTHO7CQ.cjs → chunk-FOOHJBPP.cjs} +4227 -2546
  18. package/dist/{chunk-IKPFR6K2.cjs → chunk-GDQ4QM7Q.cjs} +1085 -620
  19. package/dist/{chunk-QCB4LYKD.cjs → chunk-P6YN2POI.cjs} +143 -143
  20. package/dist/{chunk-T6EDJRLT.js → chunk-RDFL5QYE.js} +2 -2
  21. package/dist/{index-Cw4aNNMo.d.ts → index-ByMU8IC2.d.ts} +584 -198
  22. package/dist/{index-OkbCWcef.d.cts → index-Dx4-zpDo.d.cts} +584 -198
  23. package/dist/index.cjs +22 -22
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +4 -4
  27. package/dist/operations/index.cjs +165 -137
  28. package/dist/operations/index.d.cts +39 -25
  29. package/dist/operations/index.d.ts +39 -25
  30. package/dist/operations/index.js +48 -20
  31. package/dist/pool.cjs +9 -9
  32. package/dist/pool.d.cts +1 -1
  33. package/dist/pool.d.ts +1 -1
  34. package/dist/pool.js +4 -4
  35. package/dist/resources/index.cjs +4 -4
  36. package/dist/resources/index.d.cts +1 -1
  37. package/dist/resources/index.d.ts +1 -1
  38. package/dist/resources/index.js +3 -3
  39. package/docs/API.md +161 -36
  40. package/package.json +2 -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 _chunkDCTHO7CQcjs = require('./chunk-DCTHO7CQ.cjs');
5
+ var _chunkFOOHJBPPcjs = require('./chunk-FOOHJBPP.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.CAPABILITIES = _chunkDCTHO7CQcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkDCTHO7CQcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkDCTHO7CQcjs.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-M2EGFPGF.js";
5
+ } from "./chunk-4MUBUSTL.js";
6
6
  export {
7
7
  CAPABILITIES,
8
8
  CAPABILITY_GROUPS,