node-autotask 0.34.0 → 0.37.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 (41) hide show
  1. package/CHANGELOG.md +50 -1
  2. package/MCP_TOOL_CATALOG.json +26 -9
  3. package/MCP_TOOL_MANIFEST.md +14 -13
  4. package/N8N_MCP_MANIFEST.json +5 -5
  5. package/N8N_MCP_MANIFEST.md +4 -4
  6. package/README.md +12 -5
  7. package/capabilities.json +3097 -1344
  8. package/capabilities.schema.json +4 -0
  9. package/dist/capabilities.cjs +2 -2
  10. package/dist/capabilities.d.cts +2 -0
  11. package/dist/capabilities.d.ts +2 -0
  12. package/dist/capabilities.js +1 -1
  13. package/dist/{chunk-RDFL5QYE.js → chunk-2PJCQGXZ.js} +12 -12
  14. package/dist/{chunk-DKJP73FX.cjs → chunk-4GHBN2AW.cjs} +4657 -9597
  15. package/dist/{chunk-6ADFCU3I.js → chunk-75WJS26D.js} +4456 -9396
  16. package/dist/{chunk-P6YN2POI.cjs → chunk-7WR5WUQT.cjs} +143 -143
  17. package/dist/{chunk-EZKM4HQ6.js → chunk-CH2WXTYD.js} +8426 -3099
  18. package/dist/{chunk-GDQ4QM7Q.cjs → chunk-FYF46OT3.cjs} +8403 -3076
  19. package/dist/{chunk-FOOHJBPP.cjs → chunk-HBYKTXN3.cjs} +3096 -1343
  20. package/dist/{chunk-4MUBUSTL.js → chunk-KQ6HMBB4.js} +3096 -1343
  21. package/dist/{index-ByMU8IC2.d.ts → index-DAFg_68I.d.ts} +88 -11
  22. package/dist/{index-Dx4-zpDo.d.cts → index-g8J6Qiu1.d.cts} +88 -11
  23. package/dist/index.cjs +23 -23
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +15 -15
  27. package/dist/operations/index.cjs +828 -137
  28. package/dist/operations/index.d.cts +145 -5
  29. package/dist/operations/index.d.ts +145 -5
  30. package/dist/operations/index.js +697 -6
  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 +5 -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 +14 -13
  39. package/docs/API.md +321 -11
  40. package/docs/LIVE-TESTING.md +11 -11
  41. package/package.json +1 -1
@@ -68,6 +68,7 @@
68
68
  "required": [
69
69
  "id",
70
70
  "resource",
71
+ "udfCapable",
71
72
  "operation",
72
73
  "kind",
73
74
  "effect",
@@ -94,6 +95,9 @@
94
95
  "resource": {
95
96
  "type": "string"
96
97
  },
98
+ "udfCapable": {
99
+ "type": "boolean"
100
+ },
97
101
  "operation": {
98
102
  "type": "string"
99
103
  },
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFOOHJBPPcjs = require('./chunk-FOOHJBPP.cjs');
5
+ var _chunkHBYKTXN3cjs = require('./chunk-HBYKTXN3.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.CAPABILITIES = _chunkFOOHJBPPcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkFOOHJBPPcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkFOOHJBPPcjs.CAPABILITY_PLAN_HASHES;
10
+ exports.CAPABILITIES = _chunkHBYKTXN3cjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkHBYKTXN3cjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkHBYKTXN3cjs.CAPABILITY_PLAN_HASHES;
@@ -42,6 +42,8 @@ interface CapabilityRecord {
42
42
  id: string;
43
43
  /** Resource key (plan key). */
44
44
  resource: string;
45
+ /** The plan resource's `udfCapable` flag (issue #254): true for the resources whose records carry `userDefinedFields` (a UDF filter needs the `udf: true` marker; a sent list is merged). Every vendor entity also has a `getUdfInfo` catalog endpoint, so that op's presence does NOT mean this. False for the `operations` helpers. */
46
+ udfCapable: boolean;
45
47
  /** Operation name within the resource. */
46
48
  operation: string;
47
49
  /** 'primitive' rows are the batch-gate surface; 'helper' rows land at the G6 registry. */
@@ -42,6 +42,8 @@ interface CapabilityRecord {
42
42
  id: string;
43
43
  /** Resource key (plan key). */
44
44
  resource: string;
45
+ /** The plan resource's `udfCapable` flag (issue #254): true for the resources whose records carry `userDefinedFields` (a UDF filter needs the `udf: true` marker; a sent list is merged). Every vendor entity also has a `getUdfInfo` catalog endpoint, so that op's presence does NOT mean this. False for the `operations` helpers. */
46
+ udfCapable: boolean;
45
47
  /** Operation name within the resource. */
46
48
  operation: string;
47
49
  /** 'primitive' rows are the batch-gate surface; 'helper' rows land at the G6 registry. */
@@ -2,7 +2,7 @@ import {
2
2
  CAPABILITIES,
3
3
  CAPABILITY_GROUPS,
4
4
  CAPABILITY_PLAN_HASHES
5
- } from "./chunk-4MUBUSTL.js";
5
+ } from "./chunk-KQ6HMBB4.js";
6
6
  export {
7
7
  CAPABILITIES,
8
8
  CAPABILITY_GROUPS,
@@ -1,14 +1,11 @@
1
1
  import {
2
2
  AppointmentsResource,
3
3
  AuthenticateResource,
4
- BillingCodesResource,
5
4
  BillingItemApprovalLevelsResource,
6
- BillingItemsResource,
7
5
  ChangeRequestLinksResource,
8
6
  ChecklistLibrariesResource,
9
7
  ChecklistLibraryChecklistItemsResource,
10
8
  ClassificationIconsResource,
11
- CompaniesResource,
12
9
  CompanyAlertsResource,
13
10
  CompanyLocationsResource,
14
11
  CompanyNotesResource,
@@ -49,7 +46,6 @@ import {
49
46
  ContractServiceUnitsResource,
50
47
  ContractServicesResource,
51
48
  ContractTicketPurchasesResource,
52
- ContractsResource,
53
49
  CountriesResource,
54
50
  CurrenciesResource,
55
51
  DepartmentsResource,
@@ -62,15 +58,11 @@ import {
62
58
  HolidaysResource,
63
59
  InventoryProductsResource,
64
60
  InvoiceTemplatesResource,
65
- InvoicesResource,
66
61
  ModulesResource,
67
62
  NotificationHistoryResource,
68
63
  OpportunitiesResource,
69
64
  OpportunityAttachmentsResource,
70
65
  OpportunityCategoriesResource,
71
- OrganizationalLevel1sResource,
72
- OrganizationalLevel2sResource,
73
- OrganizationalLevelAssociationsResource,
74
66
  PhasesResource,
75
67
  ProductVendorsResource,
76
68
  ProductsResource,
@@ -91,7 +83,6 @@ import {
91
83
  ResourceTimeOffAdditionalResource,
92
84
  ResourceTimeOffApproversResource,
93
85
  ResourceTimeOffBalancesResource,
94
- ResourcesResource,
95
86
  RolesResource,
96
87
  SalesOrdersResource,
97
88
  ServiceCallTaskResourcesResource,
@@ -129,19 +120,28 @@ import {
129
120
  TicketSecondaryResourcesResource,
130
121
  TicketWebhooksResource,
131
122
  TicketsResource,
132
- TimeEntriesResource,
133
123
  TimeEntryAttachmentsResource,
134
124
  TimeOffRequestsResource,
135
125
  VersionInformationResource,
136
126
  VersionResource,
137
127
  ZoneInformationResource
138
- } from "./chunk-6ADFCU3I.js";
128
+ } from "./chunk-75WJS26D.js";
139
129
  import {
140
130
  AutotaskConfigError,
131
+ BillingCodesResource,
132
+ BillingItemsResource,
133
+ CompaniesResource,
134
+ ContractsResource,
141
135
  HttpClient,
136
+ InvoicesResource,
137
+ OrganizationalLevel1sResource,
138
+ OrganizationalLevel2sResource,
139
+ OrganizationalLevelAssociationsResource,
140
+ ResourcesResource,
141
+ TimeEntriesResource,
142
142
  resolveConfig,
143
143
  runWithSignal
144
- } from "./chunk-EZKM4HQ6.js";
144
+ } from "./chunk-CH2WXTYD.js";
145
145
 
146
146
  // src/client.ts
147
147
  var AutotaskClient = class {