@curviate/sdk 0.6.0 → 0.7.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 +11 -0
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
- package/src/generated/types.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ Versioning: semantic — minor for additive changes, patch for bug fixes; no sta
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.7.0] — 2026-07-01
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- **Breaking (typed consumers):** `recruiter.startChat` 201 response — the `attendee_ids` field is removed and replaced by `message_id` (the opening message identifier). Final shape: `{ object: "chat_started", chat_id, message_id }`, matching `messaging.startChat` and `salesNavigator.startChat`. `chat_id` is now non-nullable on a 201. Type: `RecruiterStartChatResult`. Migration: read `res.message_id`.
|
|
15
|
+
- *Why:* product-API + core / Sales Navigator parity — the underlying LinkedIn start-chat operation returns an identical `{ object, chat_id, message_id }` for every product; the prior `attendee_ids` echo had no product-API basis.
|
|
16
|
+
- The `recruiter.startChat` request body is unchanged (`attendees_ids` plus all recruiter-specific params).
|
|
17
|
+
- Regenerated types from the updated API surface.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
10
21
|
## [0.6.0] — 2026-07-01
|
|
11
22
|
|
|
12
23
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -9736,7 +9736,7 @@ interface paths {
|
|
|
9736
9736
|
};
|
|
9737
9737
|
};
|
|
9738
9738
|
responses: {
|
|
9739
|
-
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the
|
|
9739
|
+
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the message_id of the opening message. Message content is never echoed back. The InMail daily quota is consumed; remaining capacity is read from GET /v1/accounts/{account_id}, never echoed here. Requires a Recruiter seat. */
|
|
9740
9740
|
201: {
|
|
9741
9741
|
headers: {
|
|
9742
9742
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -9751,9 +9751,9 @@ interface paths {
|
|
|
9751
9751
|
*/
|
|
9752
9752
|
object: "chat_started";
|
|
9753
9753
|
/** @description The newly created chat's identifier. */
|
|
9754
|
-
chat_id: string
|
|
9755
|
-
/** @description The
|
|
9756
|
-
|
|
9754
|
+
chat_id: string;
|
|
9755
|
+
/** @description The opening message identifier. */
|
|
9756
|
+
message_id: string;
|
|
9757
9757
|
};
|
|
9758
9758
|
};
|
|
9759
9759
|
};
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -9627,7 +9627,7 @@ export interface paths {
|
|
|
9627
9627
|
};
|
|
9628
9628
|
};
|
|
9629
9629
|
responses: {
|
|
9630
|
-
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the
|
|
9630
|
+
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the message_id of the opening message. Message content is never echoed back. The InMail daily quota is consumed; remaining capacity is read from GET /v1/accounts/{account_id}, never echoed here. Requires a Recruiter seat. */
|
|
9631
9631
|
201: {
|
|
9632
9632
|
headers: {
|
|
9633
9633
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -9642,9 +9642,9 @@ export interface paths {
|
|
|
9642
9642
|
*/
|
|
9643
9643
|
object: "chat_started";
|
|
9644
9644
|
/** @description The newly created chat's identifier. */
|
|
9645
|
-
chat_id: string
|
|
9646
|
-
/** @description The
|
|
9647
|
-
|
|
9645
|
+
chat_id: string;
|
|
9646
|
+
/** @description The opening message identifier. */
|
|
9647
|
+
message_id: string;
|
|
9648
9648
|
};
|
|
9649
9649
|
};
|
|
9650
9650
|
};
|