@curviate/sdk 0.5.0 → 0.6.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 +15 -0
- package/dist/index.d.ts +11 -22
- package/package.json +1 -1
- package/src/generated/types.ts +11 -22
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,21 @@ Versioning: semantic — minor for additive changes, patch for bug fixes; no sta
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.6.0] — 2026-07-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Recruiter start-chat response gains `object: "chat_started"` discriminator.** The 201 response from `recruiter.startChat` now includes `object: "chat_started"` as a required field. Type: `RecruiterStartChatResult`.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **Breaking (typed consumers):** `salesNavigator.syncMessages` and `recruiter.syncMessages` — the 200 response field `sync_status` is renamed to `status`. Enum values (`sync_started | running | done | error`) are unchanged. Types: `SNSyncMessagesResult`, `RecruiterSyncMessagesResult`.
|
|
19
|
+
- **Breaking (typed consumers):** `recruiter.startChat` request body field `attendee_ids` → `attendees_ids`. The **response** `attendee_ids` field is unchanged. Type: `RecruiterStartChatBody`.
|
|
20
|
+
- Recruiter start-chat 201 response no longer surfaces a separate `quota` field — remaining InMail capacity is read from `GET /v1/accounts/{account_id}`.
|
|
21
|
+
- Regenerated types from the updated API surface (SN/Recruiter messaging parity).
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
10
25
|
## [0.5.0] — 2026-07-01
|
|
11
26
|
|
|
12
27
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -9502,7 +9502,7 @@ interface paths {
|
|
|
9502
9502
|
};
|
|
9503
9503
|
/**
|
|
9504
9504
|
* Re-sync messages (Recruiter)
|
|
9505
|
-
* @description Trigger (or, on a repeat call, monitor) a full or windowed re-sync of the account's Recruiter message history. Returns a
|
|
9505
|
+
* @description Trigger (or, on a repeat call, monitor) a full or windowed re-sync of the account's Recruiter message history. Returns a status (200). No message content is returned or persisted. Requires a Recruiter seat.
|
|
9506
9506
|
*/
|
|
9507
9507
|
get: {
|
|
9508
9508
|
parameters: {
|
|
@@ -9540,7 +9540,7 @@ interface paths {
|
|
|
9540
9540
|
object?: "account_sync";
|
|
9541
9541
|
account_id?: string;
|
|
9542
9542
|
/** @enum {string} */
|
|
9543
|
-
|
|
9543
|
+
status?: "sync_started" | "running" | "done" | "error";
|
|
9544
9544
|
};
|
|
9545
9545
|
};
|
|
9546
9546
|
};
|
|
@@ -9673,7 +9673,7 @@ interface paths {
|
|
|
9673
9673
|
/** @description The operator account ID whose Recruiter session starts the chat. */
|
|
9674
9674
|
account_id: string;
|
|
9675
9675
|
/** @description One or more Recruiter member IDs (AE… format). Repeatable form field or a single value. */
|
|
9676
|
-
|
|
9676
|
+
attendees_ids: string[];
|
|
9677
9677
|
/** @description Opening message text. Passed to the platform and discarded — never stored or logged. */
|
|
9678
9678
|
text: string;
|
|
9679
9679
|
/** @description Optional InMail subject line. */
|
|
@@ -9736,23 +9736,7 @@ interface paths {
|
|
|
9736
9736
|
};
|
|
9737
9737
|
};
|
|
9738
9738
|
responses: {
|
|
9739
|
-
/** @description Recruiter chat
|
|
9740
|
-
200: {
|
|
9741
|
-
headers: {
|
|
9742
|
-
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
9743
|
-
RateLimit: components["headers"]["RateLimit"];
|
|
9744
|
-
[name: string]: unknown;
|
|
9745
|
-
};
|
|
9746
|
-
content: {
|
|
9747
|
-
"application/json": {
|
|
9748
|
-
/** @description The chat identifier. */
|
|
9749
|
-
chat_id: string | null;
|
|
9750
|
-
/** @description The Recruiter member IDs. */
|
|
9751
|
-
attendee_ids: string[];
|
|
9752
|
-
};
|
|
9753
|
-
};
|
|
9754
|
-
};
|
|
9755
|
-
/** @description Recruiter chat started. Returns the chat_id and the attendee_ids. Message content is never echoed back. The InMail daily quota is consumed; remaining capacity is read from GET /v1/accounts/{account_id}. Requires a Recruiter seat. */
|
|
9739
|
+
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the attendee_ids. 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. */
|
|
9756
9740
|
201: {
|
|
9757
9741
|
headers: {
|
|
9758
9742
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -9761,6 +9745,11 @@ interface paths {
|
|
|
9761
9745
|
};
|
|
9762
9746
|
content: {
|
|
9763
9747
|
"application/json": {
|
|
9748
|
+
/**
|
|
9749
|
+
* @description Response type discriminator.
|
|
9750
|
+
* @enum {string}
|
|
9751
|
+
*/
|
|
9752
|
+
object: "chat_started";
|
|
9764
9753
|
/** @description The newly created chat's identifier. */
|
|
9765
9754
|
chat_id: string | null;
|
|
9766
9755
|
/** @description The Recruiter member IDs the chat was started with. */
|
|
@@ -11487,7 +11476,7 @@ interface paths {
|
|
|
11487
11476
|
};
|
|
11488
11477
|
/**
|
|
11489
11478
|
* Re-sync messages (Sales Navigator)
|
|
11490
|
-
* @description Trigger (or monitor) a full or windowed re-sync of the account's Sales Navigator message history. Returns a
|
|
11479
|
+
* @description Trigger (or monitor) a full or windowed re-sync of the account's Sales Navigator message history. Returns a status (200). No message content is returned or persisted. Requires a Sales Navigator seat.
|
|
11491
11480
|
*/
|
|
11492
11481
|
get: {
|
|
11493
11482
|
parameters: {
|
|
@@ -11525,7 +11514,7 @@ interface paths {
|
|
|
11525
11514
|
object?: "account_sync";
|
|
11526
11515
|
account_id?: string;
|
|
11527
11516
|
/** @enum {string} */
|
|
11528
|
-
|
|
11517
|
+
status?: "sync_started" | "running" | "done" | "error";
|
|
11529
11518
|
};
|
|
11530
11519
|
};
|
|
11531
11520
|
};
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -9393,7 +9393,7 @@ export interface paths {
|
|
|
9393
9393
|
};
|
|
9394
9394
|
/**
|
|
9395
9395
|
* Re-sync messages (Recruiter)
|
|
9396
|
-
* @description Trigger (or, on a repeat call, monitor) a full or windowed re-sync of the account's Recruiter message history. Returns a
|
|
9396
|
+
* @description Trigger (or, on a repeat call, monitor) a full or windowed re-sync of the account's Recruiter message history. Returns a status (200). No message content is returned or persisted. Requires a Recruiter seat.
|
|
9397
9397
|
*/
|
|
9398
9398
|
get: {
|
|
9399
9399
|
parameters: {
|
|
@@ -9431,7 +9431,7 @@ export interface paths {
|
|
|
9431
9431
|
object?: "account_sync";
|
|
9432
9432
|
account_id?: string;
|
|
9433
9433
|
/** @enum {string} */
|
|
9434
|
-
|
|
9434
|
+
status?: "sync_started" | "running" | "done" | "error";
|
|
9435
9435
|
};
|
|
9436
9436
|
};
|
|
9437
9437
|
};
|
|
@@ -9564,7 +9564,7 @@ export interface paths {
|
|
|
9564
9564
|
/** @description The operator account ID whose Recruiter session starts the chat. */
|
|
9565
9565
|
account_id: string;
|
|
9566
9566
|
/** @description One or more Recruiter member IDs (AE… format). Repeatable form field or a single value. */
|
|
9567
|
-
|
|
9567
|
+
attendees_ids: string[];
|
|
9568
9568
|
/** @description Opening message text. Passed to the platform and discarded — never stored or logged. */
|
|
9569
9569
|
text: string;
|
|
9570
9570
|
/** @description Optional InMail subject line. */
|
|
@@ -9627,23 +9627,7 @@ export interface paths {
|
|
|
9627
9627
|
};
|
|
9628
9628
|
};
|
|
9629
9629
|
responses: {
|
|
9630
|
-
/** @description Recruiter chat
|
|
9631
|
-
200: {
|
|
9632
|
-
headers: {
|
|
9633
|
-
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
9634
|
-
RateLimit: components["headers"]["RateLimit"];
|
|
9635
|
-
[name: string]: unknown;
|
|
9636
|
-
};
|
|
9637
|
-
content: {
|
|
9638
|
-
"application/json": {
|
|
9639
|
-
/** @description The chat identifier. */
|
|
9640
|
-
chat_id: string | null;
|
|
9641
|
-
/** @description The Recruiter member IDs. */
|
|
9642
|
-
attendee_ids: string[];
|
|
9643
|
-
};
|
|
9644
|
-
};
|
|
9645
|
-
};
|
|
9646
|
-
/** @description Recruiter chat started. Returns the chat_id and the attendee_ids. Message content is never echoed back. The InMail daily quota is consumed; remaining capacity is read from GET /v1/accounts/{account_id}. Requires a Recruiter seat. */
|
|
9630
|
+
/** @description Recruiter chat started. Returns the object discriminator, the chat_id, and the attendee_ids. 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. */
|
|
9647
9631
|
201: {
|
|
9648
9632
|
headers: {
|
|
9649
9633
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -9652,6 +9636,11 @@ export interface paths {
|
|
|
9652
9636
|
};
|
|
9653
9637
|
content: {
|
|
9654
9638
|
"application/json": {
|
|
9639
|
+
/**
|
|
9640
|
+
* @description Response type discriminator.
|
|
9641
|
+
* @enum {string}
|
|
9642
|
+
*/
|
|
9643
|
+
object: "chat_started";
|
|
9655
9644
|
/** @description The newly created chat's identifier. */
|
|
9656
9645
|
chat_id: string | null;
|
|
9657
9646
|
/** @description The Recruiter member IDs the chat was started with. */
|
|
@@ -11378,7 +11367,7 @@ export interface paths {
|
|
|
11378
11367
|
};
|
|
11379
11368
|
/**
|
|
11380
11369
|
* Re-sync messages (Sales Navigator)
|
|
11381
|
-
* @description Trigger (or monitor) a full or windowed re-sync of the account's Sales Navigator message history. Returns a
|
|
11370
|
+
* @description Trigger (or monitor) a full or windowed re-sync of the account's Sales Navigator message history. Returns a status (200). No message content is returned or persisted. Requires a Sales Navigator seat.
|
|
11382
11371
|
*/
|
|
11383
11372
|
get: {
|
|
11384
11373
|
parameters: {
|
|
@@ -11416,7 +11405,7 @@ export interface paths {
|
|
|
11416
11405
|
object?: "account_sync";
|
|
11417
11406
|
account_id?: string;
|
|
11418
11407
|
/** @enum {string} */
|
|
11419
|
-
|
|
11408
|
+
status?: "sync_started" | "running" | "done" | "error";
|
|
11420
11409
|
};
|
|
11421
11410
|
};
|
|
11422
11411
|
};
|