@curviate/sdk 0.24.1 → 0.24.3

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
@@ -9,6 +9,65 @@ Versioning: semantic. Minor for additive changes, patch for bug fixes; no stabil
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.24.3] - 2026-08-27
13
+
14
+ Fixture regenerated against the deployed production document
15
+ (`https://api.curviate.com`, `git_sha cf4fc77e...`). Patch: no `ErrorCode`
16
+ change, no runtime change.
17
+
18
+ These are corrections, not changes. The wire has always sent these shapes;
19
+ the previous declarations described them wrongly, so consumer code that
20
+ type-checked against the old declaration was already failing at runtime.
21
+ Upgrading may turn a consumer's `tsc` red where it was previously green
22
+ against a declaration that did not match reality. That red is the bug
23
+ becoming visible, not a new one.
24
+
25
+ ### Sales Navigator response corrections
26
+
27
+ - `founded_on`: was an open object, is a `number`
28
+ (`sales-navigator/search/companies` and `sales-navigator/account-lists`).
29
+ - `websites`, `addresses`: were arrays of open objects, are `string[]`.
30
+ - `contact_info.phones`, `contact_info.emails`: were arrays of open objects,
31
+ are `string[]`.
32
+ - `specialties`: was `unknown`, is `string[]` on
33
+ `sales-navigator/search/companies`.
34
+ - Nested `school`, `company` and `organization` references on `education`,
35
+ `work_experience` and `volunteering` are now declared, each with a
36
+ nullable `id`.
37
+ - `job_title` and `role` are now required (non-optional) on
38
+ `work_experience` and `volunteering`.
39
+
40
+ ### Also reflected from production, first fixtured here
41
+
42
+ - `expand` removed from `GET /v1/{account_id}/chats/search`. The parameter
43
+ was inert: that endpoint's response is a strict subset that emits no user
44
+ object, so the expansion had nowhere to land. Its `notices` block goes
45
+ with it. Removed server-side before this release; every other
46
+ `expand`-accepting endpoint is unaffected.
47
+ - `quoted` on a message is now declared recursively as a `Message`, so a
48
+ quoted message carries the full message shape and may itself carry a
49
+ `quoted`.
50
+ - Wording only: "Provider-enriched detail about the sender" is now
51
+ "Platform-enriched detail about the sender" (5 occurrences).
52
+
53
+
54
+ ## [0.24.2] - 2026-08-24
55
+
56
+ Fixture regenerated against the deployed production document
57
+ (`https://api.curviate.com`, `git_sha bc7f42a2...`). Patch: no `ErrorCode`
58
+ change, no runtime change.
59
+
60
+ - `already_disconnected` (`type: boolean, enum: [true]`) declared on the
61
+ `200` response of `DELETE /v1/accounts/{account_id}`. Present and `true`
62
+ only when the account was already disconnected before the call, so a
63
+ retry (or an id superseded by a reconnect) is distinguishable from a
64
+ fresh disconnect. The endpoint's status code and idempotency are
65
+ unchanged.
66
+ - 404 descriptions across ~30 account-scoped operations reworded to note
67
+ that a superseded account id (one whose connection was replaced or
68
+ removed) also resolves as not-found here, with a pointer to re-read
69
+ `GET /v1/accounts` for the current id.
70
+
12
71
  ## [0.24.1] - 2026-08-24
13
72
 
14
73
  Fixture regenerated against the deployed production document