@curviate/sdk 0.33.0 → 0.34.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 +18 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/generated/types.ts +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,24 @@ Versioning: semantic. Minor for additive changes, patch for bug fixes; no stabil
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.34.0] - 2026-09-18
|
|
11
|
+
|
|
12
|
+
Fixture and types regenerated against the deployed production document
|
|
13
|
+
(`https://api.curviate.com`, 127 paths, server `dc4d3d9f0cce8159d7b6685a93291d71eec488c8`).
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- **Ordinary-message subject retention copy corrected.** The served subject
|
|
18
|
+
description previously read "...The InMail subject line, when the platform
|
|
19
|
+
carries one on this message. Ordinary messages have none. ...", which a live
|
|
20
|
+
round-trip disproved: a classic `start_chat` to a FIRST_DEGREE contact, sent
|
|
21
|
+
with a subject, reads it back on `message.specifics.subject` and stores it
|
|
22
|
+
on both sides. The description now reads "The message's subject line, when
|
|
23
|
+
the platform carries one on this message. Typically an InMail opener, but an
|
|
24
|
+
ordinary message sent with a subject carries one too. ...". No type shape
|
|
25
|
+
change: description string only, at the three sites the served document
|
|
26
|
+
carries it.
|
|
27
|
+
|
|
10
28
|
## [0.33.0] - 2026-09-17
|
|
11
29
|
|
|
12
30
|
The InMail subject on the message reads, now typed. Fixture and types
|
package/dist/index.d.ts
CHANGED
|
@@ -2922,7 +2922,7 @@ interface components {
|
|
|
2922
2922
|
provider?: string;
|
|
2923
2923
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
2924
2924
|
specifics?: {
|
|
2925
|
-
/** @description The
|
|
2925
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
2926
2926
|
subject?: string | null;
|
|
2927
2927
|
};
|
|
2928
2928
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|
|
@@ -11189,7 +11189,7 @@ interface operations {
|
|
|
11189
11189
|
provider?: string;
|
|
11190
11190
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
11191
11191
|
specifics?: {
|
|
11192
|
-
/** @description The
|
|
11192
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
11193
11193
|
subject?: string | null;
|
|
11194
11194
|
};
|
|
11195
11195
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|
|
@@ -11573,7 +11573,7 @@ interface operations {
|
|
|
11573
11573
|
provider?: string;
|
|
11574
11574
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
11575
11575
|
specifics?: {
|
|
11576
|
-
/** @description The
|
|
11576
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
11577
11577
|
subject?: string | null;
|
|
11578
11578
|
};
|
|
11579
11579
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|
|
@@ -33664,7 +33664,7 @@ declare class CompaniesResource {
|
|
|
33664
33664
|
* const result = await acc.companies.sendMessage("112013061", chats[0]!.id, {
|
|
33665
33665
|
* text: "Thanks for reaching out, happy to help!",
|
|
33666
33666
|
* });
|
|
33667
|
-
* console.log(result.sent_as); // { kind: "company", company_id: "112013061", name: "
|
|
33667
|
+
* console.log(result.sent_as); // { kind: "company", company_id: "112013061", name: "Northwind Talent" }
|
|
33668
33668
|
*/
|
|
33669
33669
|
sendMessage(identifier: string, chatId: string, body: CompanySendMessageBody): Promise<CompanySendMessageResult>;
|
|
33670
33670
|
}
|
package/dist/index.js
CHANGED
|
@@ -2829,7 +2829,7 @@ var CompaniesResource = class {
|
|
|
2829
2829
|
* const result = await acc.companies.sendMessage("112013061", chats[0]!.id, {
|
|
2830
2830
|
* text: "Thanks for reaching out, happy to help!",
|
|
2831
2831
|
* });
|
|
2832
|
-
* console.log(result.sent_as); // { kind: "company", company_id: "112013061", name: "
|
|
2832
|
+
* console.log(result.sent_as); // { kind: "company", company_id: "112013061", name: "Northwind Talent" }
|
|
2833
2833
|
*/
|
|
2834
2834
|
sendMessage(identifier, chatId, body) {
|
|
2835
2835
|
return this.ctx.request({
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -2825,7 +2825,7 @@ export interface components {
|
|
|
2825
2825
|
provider?: string;
|
|
2826
2826
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
2827
2827
|
specifics?: {
|
|
2828
|
-
/** @description The
|
|
2828
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
2829
2829
|
subject?: string | null;
|
|
2830
2830
|
};
|
|
2831
2831
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|
|
@@ -11093,7 +11093,7 @@ export interface operations {
|
|
|
11093
11093
|
provider?: string;
|
|
11094
11094
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
11095
11095
|
specifics?: {
|
|
11096
|
-
/** @description The
|
|
11096
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
11097
11097
|
subject?: string | null;
|
|
11098
11098
|
};
|
|
11099
11099
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|
|
@@ -11477,7 +11477,7 @@ export interface operations {
|
|
|
11477
11477
|
provider?: string;
|
|
11478
11478
|
/** @description Platform-specific detail on the message. Carries `subject` for an InMail, which is set on the thread's opening message; absent or empty for an ordinary message. */
|
|
11479
11479
|
specifics?: {
|
|
11480
|
-
/** @description The
|
|
11480
|
+
/** @description The message's subject line, when the platform carries one on this message. Typically an InMail opener, but an ordinary message sent with a subject carries one too. Reading a conversation back stores the subject in your tenant's inbox records alongside the body, with no expiry. */
|
|
11481
11481
|
subject?: string | null;
|
|
11482
11482
|
};
|
|
11483
11483
|
/** @description The sender's profile, when the platform returned one alongside the message. sender_id always carries the identifier; this object carries the rest of what is known about that person. */
|