node-autotask 0.12.0 → 0.12.1

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 (35) hide show
  1. package/MCP_TOOL_CATALOG.json +1 -1
  2. package/MCP_TOOL_MANIFEST.md +2 -2
  3. package/N8N_MCP_MANIFEST.json +2 -2
  4. package/N8N_MCP_MANIFEST.md +3 -3
  5. package/capabilities.json +5 -5
  6. package/dist/capabilities.cjs +2 -2
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-TELBX6HK.cjs → chunk-36PG2IU2.cjs} +767 -583
  9. package/dist/{chunk-JKZVCFRY.cjs → chunk-CSRCMBZ2.cjs} +4 -4
  10. package/dist/{chunk-5N6DYKXO.cjs → chunk-IHRXVIUU.cjs} +2 -2
  11. package/dist/{chunk-4A6XLQHE.js → chunk-NACI2NDF.js} +4 -4
  12. package/dist/{chunk-MY7ZSXY3.js → chunk-P35GFG2H.js} +357 -173
  13. package/dist/{chunk-SRJI5XUZ.cjs → chunk-PGQIGE63.cjs} +135 -135
  14. package/dist/{chunk-3WIDDEHP.js → chunk-PPTAMCFA.js} +2 -2
  15. package/dist/{chunk-GD4JRPYF.js → chunk-ZOA5HUFX.js} +1 -1
  16. package/dist/{index-D8I6taEo.d.cts → index-DZfd9Gt7.d.cts} +67 -16
  17. package/dist/{index-uAxAcRol.d.ts → index-UilX3PFL.d.ts} +67 -16
  18. package/dist/index.cjs +20 -20
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.ts +2 -2
  21. package/dist/index.js +5 -5
  22. package/dist/operations/index.cjs +103 -103
  23. package/dist/operations/index.d.cts +2 -2
  24. package/dist/operations/index.d.ts +2 -2
  25. package/dist/operations/index.js +2 -2
  26. package/dist/pool.cjs +8 -8
  27. package/dist/pool.d.cts +1 -1
  28. package/dist/pool.d.ts +1 -1
  29. package/dist/pool.js +4 -4
  30. package/dist/resources/index.cjs +4 -4
  31. package/dist/resources/index.d.cts +1 -1
  32. package/dist/resources/index.d.ts +1 -1
  33. package/dist/resources/index.js +3 -3
  34. package/docs/API.md +157 -48
  35. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  var CAPABILITY_GROUPS = {
3
3
  "B": {
4
4
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
5
- "builtAt": "2026-10-16T08:00:01.356Z",
5
+ "builtAt": "2026-10-16T10:11:27.970Z",
6
6
  "records": [
7
7
  {
8
8
  "id": "appointments.count",
@@ -56435,7 +56435,7 @@ var CAPABILITY_GROUPS = {
56435
56435
  },
56436
56436
  "A": {
56437
56437
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
56438
- "builtAt": "2026-10-16T08:00:01.356Z",
56438
+ "builtAt": "2026-10-16T10:11:27.971Z",
56439
56439
  "records": [
56440
56440
  {
56441
56441
  "id": "companies.count",
@@ -87494,7 +87494,7 @@ var CAPABILITY_GROUPS = {
87494
87494
  "opts": {
87495
87495
  "type": "object",
87496
87496
  "required": false,
87497
- "description": 'ProfitabilityOptions \u2014 { dateFrom?: string (YYYY-MM-DD, REQUIRED \u2014 the window start), dateTo?: string (YYYY-MM-DD, REQUIRED \u2014 the window end, >= dateFrom; window at most 36 months), labourCostMethod?: "billing_item_our_cost" | "contract_role_cost" | "resource_internal_cost" | "provided" (default billing_item_our_cost \u2014 the ladder rung rows start from; they always fall down toward the provided rate), labourRatePerHour?: number (finite >= 0; REQUIRED when labourCostMethod is "provided"; otherwise the optional final-rung catch-all), includeRecurringCosts?: boolean (default true \u2014 contract_charges + contract_service_units.cost), includeUnbilledRevenue?: boolean (default true \u2014 the expected-unbilled section), externalMonthlyCosts?: number[] (caller-supplied per-month tooling costs indexed from dateFrom \u2014 NOT vendor data, stamped as such), groupByActivity?: boolean (default true \u2014 the ticketCategory fold), staleAfterDays?: number (default 30 \u2014 the check-10 staleness horizon), maxTicketsForJoin?: number (default 500, 1..500 \u2014 the ticket-id in-filter join cap), limit?: number (default 50, clamped 1..500 \u2014 the per-part page cap AND capped-list cap) }. <=18 bounded reads (zero mutating; time_entries.getPosted/getUnposted are never called \u2014 the pinned vendor 500); the 10 of 11 data-quality checks are client-side folds (zero extra wire).'
87497
+ "description": 'ProfitabilityOptions \u2014 { dateFrom?: string (YYYY-MM-DD, REQUIRED \u2014 the window start), dateTo?: string (YYYY-MM-DD, REQUIRED \u2014 the window end, >= dateFrom; window at most 36 months), labourCostMethod?: "billing_item_our_cost" | "contract_role_cost" | "resource_internal_cost" | "provided" (default billing_item_our_cost \u2014 the ladder rung rows start from; they always fall down toward the provided rate), labourRatePerHour?: number (finite >= 0; REQUIRED when labourCostMethod is "provided"; otherwise the optional final-rung catch-all), includeRecurringCosts?: boolean (default true \u2014 contract_charges cost (extendedCost) + contract_service_units.cost, plus the reported-only CI subscriptions), includeUnbilledRevenue?: boolean (default true \u2014 the expected-unbilled section), externalMonthlyCosts?: number[] (caller-supplied per-month tooling costs indexed from dateFrom \u2014 NOT vendor data, stamped as such), groupByActivity?: boolean (default true \u2014 the ticketCategory fold), staleAfterDays?: number (default 30 \u2014 the check-10 staleness horizon), maxTicketsForJoin?: number (default 500, 1..500 \u2014 the ticket-id in-filter join cap, also the time-referenced ticket ids), limit?: number (default 50, clamped 1..500 \u2014 the per-part page cap AND capped-list cap) }. <=21 bounded reads (incl. the Contracts/Subscriptions field-catalog label reads and contract_blocks on Block Hours contracts; zero mutating; time_entries.getPosted/getUnposted are never called \u2014 the pinned vendor 500); a faulted part degrades to status absent + the typed code (only the contract read is fatal); the 10 of 11 data-quality checks are client-side folds (zero extra wire).'
87498
87498
  }
87499
87499
  },
87500
87500
  "inputSchemaStrict": true,
@@ -112994,7 +112994,7 @@ var CAPABILITY_GROUPS = {
112994
112994
  },
112995
112995
  "operations": {
112996
112996
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
112997
- "builtAt": "2026-10-16T08:00:01.356Z",
112997
+ "builtAt": "2026-10-16T10:11:27.971Z",
112998
112998
  "records": [
112999
112999
  {
113000
113000
  "id": "operations.aggregate",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class; var _class2; var _class3; var _class4; var _class5; var _class6;
2
2
 
3
- var _chunkJKZVCFRYcjs = require('./chunk-JKZVCFRY.cjs');
3
+ var _chunkCSRCMBZ2cjs = require('./chunk-CSRCMBZ2.cjs');
4
4
 
5
5
  // src/auth.ts
6
6
  var AUTH_HEADERS = {
@@ -15929,7 +15929,7 @@ function capabilitySets() {
15929
15929
  const fieldOps = /* @__PURE__ */ new Map();
15930
15930
  const udfOps = /* @__PURE__ */ new Map();
15931
15931
  const resources = /* @__PURE__ */ new Set();
15932
- for (const rec of _chunkJKZVCFRYcjs.CAPABILITIES) {
15932
+ for (const rec of _chunkCSRCMBZ2cjs.CAPABILITIES) {
15933
15933
  if (rec.resource === "operations") continue;
15934
15934
  resources.add(rec.resource);
15935
15935
  if (rec.operation === "getFieldInfo") fieldOps.set(rec.resource, rec);
@@ -2,7 +2,7 @@
2
2
  var CAPABILITY_GROUPS = {
3
3
  "B": {
4
4
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
5
- "builtAt": "2026-10-16T08:00:01.356Z",
5
+ "builtAt": "2026-10-16T10:11:27.970Z",
6
6
  "records": [
7
7
  {
8
8
  "id": "appointments.count",
@@ -56435,7 +56435,7 @@ var CAPABILITY_GROUPS = {
56435
56435
  },
56436
56436
  "A": {
56437
56437
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
56438
- "builtAt": "2026-10-16T08:00:01.356Z",
56438
+ "builtAt": "2026-10-16T10:11:27.971Z",
56439
56439
  "records": [
56440
56440
  {
56441
56441
  "id": "companies.count",
@@ -87494,7 +87494,7 @@ var CAPABILITY_GROUPS = {
87494
87494
  "opts": {
87495
87495
  "type": "object",
87496
87496
  "required": false,
87497
- "description": 'ProfitabilityOptions \u2014 { dateFrom?: string (YYYY-MM-DD, REQUIRED \u2014 the window start), dateTo?: string (YYYY-MM-DD, REQUIRED \u2014 the window end, >= dateFrom; window at most 36 months), labourCostMethod?: "billing_item_our_cost" | "contract_role_cost" | "resource_internal_cost" | "provided" (default billing_item_our_cost \u2014 the ladder rung rows start from; they always fall down toward the provided rate), labourRatePerHour?: number (finite >= 0; REQUIRED when labourCostMethod is "provided"; otherwise the optional final-rung catch-all), includeRecurringCosts?: boolean (default true \u2014 contract_charges + contract_service_units.cost), includeUnbilledRevenue?: boolean (default true \u2014 the expected-unbilled section), externalMonthlyCosts?: number[] (caller-supplied per-month tooling costs indexed from dateFrom \u2014 NOT vendor data, stamped as such), groupByActivity?: boolean (default true \u2014 the ticketCategory fold), staleAfterDays?: number (default 30 \u2014 the check-10 staleness horizon), maxTicketsForJoin?: number (default 500, 1..500 \u2014 the ticket-id in-filter join cap), limit?: number (default 50, clamped 1..500 \u2014 the per-part page cap AND capped-list cap) }. <=18 bounded reads (zero mutating; time_entries.getPosted/getUnposted are never called \u2014 the pinned vendor 500); the 10 of 11 data-quality checks are client-side folds (zero extra wire).'
87497
+ "description": 'ProfitabilityOptions \u2014 { dateFrom?: string (YYYY-MM-DD, REQUIRED \u2014 the window start), dateTo?: string (YYYY-MM-DD, REQUIRED \u2014 the window end, >= dateFrom; window at most 36 months), labourCostMethod?: "billing_item_our_cost" | "contract_role_cost" | "resource_internal_cost" | "provided" (default billing_item_our_cost \u2014 the ladder rung rows start from; they always fall down toward the provided rate), labourRatePerHour?: number (finite >= 0; REQUIRED when labourCostMethod is "provided"; otherwise the optional final-rung catch-all), includeRecurringCosts?: boolean (default true \u2014 contract_charges cost (extendedCost) + contract_service_units.cost, plus the reported-only CI subscriptions), includeUnbilledRevenue?: boolean (default true \u2014 the expected-unbilled section), externalMonthlyCosts?: number[] (caller-supplied per-month tooling costs indexed from dateFrom \u2014 NOT vendor data, stamped as such), groupByActivity?: boolean (default true \u2014 the ticketCategory fold), staleAfterDays?: number (default 30 \u2014 the check-10 staleness horizon), maxTicketsForJoin?: number (default 500, 1..500 \u2014 the ticket-id in-filter join cap, also the time-referenced ticket ids), limit?: number (default 50, clamped 1..500 \u2014 the per-part page cap AND capped-list cap) }. <=21 bounded reads (incl. the Contracts/Subscriptions field-catalog label reads and contract_blocks on Block Hours contracts; zero mutating; time_entries.getPosted/getUnposted are never called \u2014 the pinned vendor 500); a faulted part degrades to status absent + the typed code (only the contract read is fatal); the 10 of 11 data-quality checks are client-side folds (zero extra wire).'
87498
87498
  }
87499
87499
  },
87500
87500
  "inputSchemaStrict": true,
@@ -112994,7 +112994,7 @@ var CAPABILITY_GROUPS = {
112994
112994
  },
112995
112995
  "operations": {
112996
112996
  "planHash": "e4cf4228d5bad71cf762e31d4379ea9337633ededab68450b85f56bf3bc95fb9",
112997
- "builtAt": "2026-10-16T08:00:01.356Z",
112997
+ "builtAt": "2026-10-16T10:11:27.971Z",
112998
112998
  "records": [
112999
112999
  {
113000
113000
  "id": "operations.aggregate",