node-autotask 0.88.1 → 0.89.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 CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.89.0] - 2026-11-21
11
+
12
+ ### Changed
13
+
14
+ - **Breaking:** Personal and business-sensitive fields now pass through by default in parsed responses, vendor errors and dry-run results. Set `redactPersonalData: true` to retain the previous redaction policy. Structured secret fields remain redacted under either policy (#498).
15
+
10
16
  ## [0.88.1] - 2026-11-21
11
17
 
12
18
  - Require own submitted and current InventoryLocations fields for create validation, inactivation guards and persisted verification. Validate the requested identity and response envelope, keep mutation IDs out of create bodies, and clarify the collection PATCH input comment (#504).
package/README.md CHANGED
@@ -6,10 +6,9 @@ dependencies. Built for building MCP servers and integrations.
6
6
  The SDK is also the **deterministic execution layer for agents**: a generated capability registry (one record per operation, across the entity
7
7
  registry in `capabilities.json`), a mechanical MCP substrate (registry → manifest → overrides → core tier +
8
8
  catalog meta-tool), and a write governor (dry-run-first, destructive
9
- confirmation). The SDK boundary also redacts response field values — the
10
- secret fields (`password`, `secretKey`, `secret`) always, personal and
11
- business-sensitive data by default (`redactPersonalData` opt-out; `authToken`
12
- exempt).
9
+ confirmation). The SDK always redacts structured secret fields
10
+ (`password`, `secretKey`, `secret`). Set `redactPersonalData: true` to also
11
+ redact personal and business-sensitive fields. `authToken` is exempt.
13
12
  It is MCP-import-free by design — the generated data and `operations.invoke` are the
14
13
  substrate; the integration layers (the MCP server
15
14
  [`iit-mcp-autotask`](https://github.com/msoukhomlinov/iit-mcp-autotask), the n8n thin importer) build
@@ -1,5 +1,5 @@
1
- import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-33UVHMFN.js';
2
- import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-KM7ITBOT.js';
1
+ import { ConfigurationItemsResource, ContactsResource, InventoryProductsResource, QuotesResource, ResourceTimeOffAdditionalResource, ResourceTimeOffBalancesResource, ResourcesResource, ServiceCallsResource, TicketChargesResource, TicketsResource, TimeOffRequestsResource, AuthenticateResource, EntityInformationResource, ModulesResource, ThresholdInformationResource, VersionResource, VersionInformationResource, ZoneInformationResource } from './chunk-4EIN7AZJ.js';
2
+ import { resolveConfig, HttpClient, SIMPLE_RESOURCES, GenericResource, CompaniesResource, ContractsResource, InvoicesResource, TimeEntriesResource, runWithSignal, runBounded } from './chunk-OVIYLMGB.js';
3
3
 
4
4
  // src/client.ts
5
5
  var AutotaskClient = class {
@@ -1,4 +1,4 @@
1
- import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-KM7ITBOT.js';
1
+ import { GenericResource, readTasks, OperationNotSupportedError, parseIdentifier, AutotaskConfigError, isRecord, isDateYMD, isAutotaskError, RateLimitError, MaintenanceError, AutotaskError, StaleObjectError, buildDryRunResult, createNamePlan, resolveCompositeNames, addNameSibling, NotFoundError, unwrapItems, ConflictError, clientOf, compositePartLimit, invokeRead, compositePart, openTicketsOfPart, unwrapOperation, unwrapItem, ResolutionError, joinedCompositePart, runMove, resolveTicketStatusSemantics, openStatusFilter, isClosedStatus, vendorId, resolveLineOfBusinessChain, cachedRecordGet, uiLinkFor, refuse, queryRows, mergePartialBody, TICKET_LABEL_FIELDS, addLabelSibling, parseVendorErrors, RELATIONSHIP_MAP, cursorToPath } from './chunk-OVIYLMGB.js';
2
2
  import { loadCapabilityRecords } from './chunk-ZADTVF6M.js';
3
3
 
4
4
  // src/resources/special/configuration_items.ts
@@ -423,7 +423,7 @@ async function stockedItems(_resource, kind, parentId, data, opts = {}) {
423
423
  checks: [{ name: "input-validation", ok: true }],
424
424
  impact: { affected: 1, scope: "single-record", reversible: kind !== "add" },
425
425
  data: { ...data }
426
- });
426
+ }, { redactPersonalData: http.redactPersonalData });
427
427
  }
428
428
  const res = await http.request({
429
429
  method: "POST",