node-autotask 0.39.2 → 0.39.4
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 +21 -0
- package/README.md +1 -1
- package/dist/{chunk-GSGP2B4I.js → chunk-DBLXPY4B.js} +1 -1
- package/dist/{chunk-HSBIVZGJ.cjs → chunk-DJCRQLQE.cjs} +283 -283
- package/dist/{chunk-UNOQESFU.js → chunk-GHRB46YN.js} +17 -11
- package/dist/{chunk-N2JOGUGI.cjs → chunk-H4S4KSXX.cjs} +143 -143
- package/dist/{chunk-I7IM342A.js → chunk-JBQ55HYG.js} +2 -2
- package/dist/{chunk-5QS3VT34.cjs → chunk-SGKGNJEI.cjs} +17 -11
- package/dist/{index-BsyWsYWi.d.cts → index-DkZVRMeW.d.cts} +5 -3
- package/dist/{index-BsyWsYWi.d.ts → index-DkZVRMeW.d.ts} +5 -3
- package/dist/index.cjs +21 -21
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/operations/index.cjs +173 -173
- package/dist/operations/index.d.cts +2 -2
- package/dist/operations/index.d.ts +2 -2
- package/dist/operations/index.js +1 -1
- package/dist/pool.cjs +8 -8
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +3 -3
- package/dist/resources/index.cjs +3 -3
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,27 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.39.4] - pending
|
|
11
|
+
|
|
12
|
+
Patch: label path fix (#306). No capability-plan change.
|
|
13
|
+
|
|
14
|
+
- **#306: `companyID: 0` now resolves to a name.** Id 0 is the tenant owner's own company (a real record, verified live: `GET /Companies/0` and `id eq 0` return it; none of 13 other FK targets probed has an id 0). Since 0.39.0 the row label path skipped every FK of 0, so `companyIDName` was `null` for internal tickets, projects and contracts. The 0-skip is now FK-specific: `companyID` 0 is read and named, every other FK of 0 (and every `*ResourceID` of 0) still serves `null` with no read. The composite paths never plan a company FK and are unchanged.
|
|
15
|
+
|
|
16
|
+
## [0.39.3] - 2026-10-30
|
|
17
|
+
|
|
18
|
+
Patch: standalone fixes (#263, #264, #265, #266, #306 part a). No capability-plan change.
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
- **#264:** `credentialShapeProblem` now reports an interior line feed (`'line feed'`), matching its "interior CR/LF always reported" doc; previously an LF-laden credential reached fetch and surfaced as an opaque `NETWORK_ERROR`.
|
|
22
|
+
- **#265:** `createIfNotExists` treats a dedup match with an all-digit string id (above 2^53) as existing, and the create dry-run `parent-exists` check accepts a string-id parent; both go through `parseIdentifier`.
|
|
23
|
+
- **#263:** a mutation sent with `idempotent: true` (for example `client.http.request`) now voids cached reads like any other write. `idempotent` governs retry only; the internal `/query`, `/query/count` and `/query/next` read POSTs still skip invalidation.
|
|
24
|
+
- **#306 (a):** the picklist-unavailable note now names the resource (`... unavailable for tickets.status (see reasons)`), matching the `<resource>.<field>` `reasons` keys; the `resolveCompositeNames` catch branch is covered by a test.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
- **#266 / #306 (a):** docs only. Pagination module headers now state that same-origin cursors are used and cross-origin cursors are refused with `ResponseRejectedError` (issue #54); the API.md note on id 0 is reworded as a node rule, not a vendor claim.
|
|
28
|
+
|
|
8
29
|
## [0.39.2] - 2026-10-30
|
|
9
30
|
|
|
10
31
|
Patch: follow-ups to the 0.39.0 / 0.39.1 label work (#302, #303, #304). The plan hash is unchanged (`9bb87de7...`); no capability-plan change, so the MCP server needs no re-pin.
|
package/README.md
CHANGED
|
@@ -120,7 +120,7 @@ code `INVALID_CREDENTIAL_SHAPE`) **before any request is built**. The three cano
|
|
|
120
120
|
`AUTOTASK_API_INTEGRATION_CODE` and `AUTOTASK_USER` are read as fall-backs, canonical first.
|
|
121
121
|
|
|
122
122
|
**What the SDK refuses at construction.** `apiIntegrationCode`, `userName`, `secret` and
|
|
123
|
-
`impersonationResourceId` reject a value with a surrounding quote pair or an interior CR (and refuse
|
|
123
|
+
`impersonationResourceId` reject a value with a surrounding quote pair or an interior CR or LF (and refuse
|
|
124
124
|
whitespace-only blank values exactly as before); padding-only whitespace is still trimmed as it
|
|
125
125
|
always was. The same gate runs at the wire boundary, so a value that reaches the transport by any
|
|
126
126
|
other route is refused before the request is sent. Errors are value-free: they name the field and
|