@linqapp/sdk 0.7.1 → 0.8.1
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 +29 -0
- package/README.md +2 -2
- package/client.d.mts +6 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -6
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +7 -1
- package/resources/attachments.d.mts +7 -5
- package/resources/attachments.d.mts.map +1 -1
- package/resources/attachments.d.ts +7 -5
- package/resources/attachments.d.ts.map +1 -1
- package/resources/attachments.js +7 -5
- package/resources/attachments.js.map +1 -1
- package/resources/attachments.mjs +7 -5
- package/resources/attachments.mjs.map +1 -1
- package/resources/chats/chats.d.mts +106 -24
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +106 -24
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js +48 -14
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs +48 -14
- package/resources/chats/chats.mjs.map +1 -1
- package/resources/chats/index.d.mts +1 -1
- package/resources/chats/index.d.mts.map +1 -1
- package/resources/chats/index.d.ts +1 -1
- package/resources/chats/index.d.ts.map +1 -1
- package/resources/chats/index.js.map +1 -1
- package/resources/chats/index.mjs.map +1 -1
- package/resources/chats/messages.d.mts +26 -0
- package/resources/chats/messages.d.mts.map +1 -1
- package/resources/chats/messages.d.ts +26 -0
- package/resources/chats/messages.d.ts.map +1 -1
- package/resources/chats/messages.js +26 -0
- package/resources/chats/messages.js.map +1 -1
- package/resources/chats/messages.mjs +26 -0
- package/resources/chats/messages.mjs.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages.d.mts +2 -9
- package/resources/messages.d.mts.map +1 -1
- package/resources/messages.d.ts +2 -9
- package/resources/messages.d.ts.map +1 -1
- package/resources/messages.js +1 -3
- package/resources/messages.js.map +1 -1
- package/resources/messages.mjs +1 -3
- package/resources/messages.mjs.map +1 -1
- package/resources/phonenumbers.d.mts +1 -1
- package/resources/phonenumbers.d.mts.map +1 -1
- package/resources/phonenumbers.d.ts +1 -1
- package/resources/phonenumbers.d.ts.map +1 -1
- package/resources/shared.d.mts +22 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +22 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/webhook-events.d.mts +5 -1
- package/resources/webhook-events.d.mts.map +1 -1
- package/resources/webhook-events.d.ts +5 -1
- package/resources/webhook-events.d.ts.map +1 -1
- package/resources/webhooks.d.mts +296 -34
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +296 -34
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +4 -2
- package/src/resources/attachments.ts +7 -5
- package/src/resources/chats/chats.ts +113 -24
- package/src/resources/chats/index.ts +1 -0
- package/src/resources/chats/messages.ts +26 -0
- package/src/resources/index.ts +2 -1
- package/src/resources/messages.ts +1 -11
- package/src/resources/phonenumbers.ts +1 -1
- package/src/resources/shared.ts +26 -0
- package/src/resources/webhook-events.ts +5 -1
- package/src/resources/webhooks.ts +319 -32
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachments.mjs","sourceRoot":"","sources":["../src/resources/attachments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C
|
|
1
|
+
{"version":3,"file":"attachments.mjs","sourceRoot":"","sources":["../src/resources/attachments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4EG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF"}
|
|
@@ -32,6 +32,32 @@ export declare class Chats extends APIResource {
|
|
|
32
32
|
*
|
|
33
33
|
* Only one effect type can be applied per message.
|
|
34
34
|
*
|
|
35
|
+
* ## Inline Text Decorations (iMessage only)
|
|
36
|
+
*
|
|
37
|
+
* Use the `text_decorations` array on a text part to apply styling and animations
|
|
38
|
+
* to character ranges.
|
|
39
|
+
*
|
|
40
|
+
* Each decoration specifies a `range: [start, end)` and exactly one of `style` or
|
|
41
|
+
* `animation`.
|
|
42
|
+
*
|
|
43
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
44
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
45
|
+
*
|
|
46
|
+
* ```json
|
|
47
|
+
* {
|
|
48
|
+
* "type": "text",
|
|
49
|
+
* "value": "Hello world",
|
|
50
|
+
* "text_decorations": [
|
|
51
|
+
* { "range": [0, 5], "style": "bold" },
|
|
52
|
+
* { "range": [6, 11], "animation": "shake" }
|
|
53
|
+
* ]
|
|
54
|
+
* }
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* **Note:** Style ranges (bold, italic, etc.) may overlap, but animation ranges
|
|
58
|
+
* must not overlap with other animations or styles. Text decorations only render
|
|
59
|
+
* for iMessage recipients. For SMS/RCS, text decorations are not applied.
|
|
60
|
+
*
|
|
35
61
|
* @example
|
|
36
62
|
* ```ts
|
|
37
63
|
* const chat = await client.chats.create({
|
|
@@ -63,6 +89,10 @@ export declare class Chats extends APIResource {
|
|
|
63
89
|
/**
|
|
64
90
|
* Update chat properties such as display name and group chat icon.
|
|
65
91
|
*
|
|
92
|
+
* Listen for `chat.group_name_updated`, `chat.group_icon_updated`,
|
|
93
|
+
* `chat.group_name_update_failed`, or `chat.group_icon_update_failed` webhook
|
|
94
|
+
* events to confirm the outcome.
|
|
95
|
+
*
|
|
66
96
|
* @example
|
|
67
97
|
* ```ts
|
|
68
98
|
* const chat = await client.chats.update(
|
|
@@ -71,11 +101,17 @@ export declare class Chats extends APIResource {
|
|
|
71
101
|
* );
|
|
72
102
|
* ```
|
|
73
103
|
*/
|
|
74
|
-
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<
|
|
104
|
+
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<ChatUpdateResponse>;
|
|
75
105
|
/**
|
|
76
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
77
|
-
*
|
|
78
|
-
*
|
|
106
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
107
|
+
*
|
|
108
|
+
* **Filtering:**
|
|
109
|
+
*
|
|
110
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
111
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
112
|
+
* partner
|
|
113
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
114
|
+
* participant
|
|
79
115
|
*
|
|
80
116
|
* **Pagination:**
|
|
81
117
|
*
|
|
@@ -94,14 +130,12 @@ export declare class Chats extends APIResource {
|
|
|
94
130
|
* @example
|
|
95
131
|
* ```ts
|
|
96
132
|
* // Automatically fetches more pages as needed.
|
|
97
|
-
* for await (const chat of client.chats.listChats({
|
|
98
|
-
* from: '+13343284472',
|
|
99
|
-
* })) {
|
|
133
|
+
* for await (const chat of client.chats.listChats()) {
|
|
100
134
|
* // ...
|
|
101
135
|
* }
|
|
102
136
|
* ```
|
|
103
137
|
*/
|
|
104
|
-
listChats(query
|
|
138
|
+
listChats(query?: ChatListChatsParams | null | undefined, options?: RequestOptions): PagePromise<ChatsListChatsPagination, Chat>;
|
|
105
139
|
/**
|
|
106
140
|
* Mark all messages in a chat as read.
|
|
107
141
|
*
|
|
@@ -133,24 +167,24 @@ export declare class Chats extends APIResource {
|
|
|
133
167
|
* ```ts
|
|
134
168
|
* const response = await client.chats.sendVoicememo(
|
|
135
169
|
* 'f19ee7b8-8533-4c5c-83ec-4ef8d6d1ddbd',
|
|
136
|
-
* {
|
|
137
|
-
* from: '+12052535597',
|
|
138
|
-
* voice_memo_url: 'https://example.com/voice-memo.m4a',
|
|
139
|
-
* },
|
|
170
|
+
* { voice_memo_url: 'https://example.com/voice-memo.m4a' },
|
|
140
171
|
* );
|
|
141
172
|
* ```
|
|
142
173
|
*/
|
|
143
174
|
sendVoicememo(chatID: string, body: ChatSendVoicememoParams, options?: RequestOptions): APIPromise<ChatSendVoicememoResponse>;
|
|
144
175
|
/**
|
|
145
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
146
|
-
*
|
|
147
176
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
148
177
|
*
|
|
149
178
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
150
179
|
* contact card on the
|
|
151
180
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
152
181
|
*
|
|
153
|
-
* @
|
|
182
|
+
* @example
|
|
183
|
+
* ```ts
|
|
184
|
+
* await client.chats.shareContactCard(
|
|
185
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
186
|
+
* );
|
|
187
|
+
* ```
|
|
154
188
|
*/
|
|
155
189
|
shareContactCard(chatID: string, options?: RequestOptions): APIPromise<void>;
|
|
156
190
|
}
|
|
@@ -297,9 +331,49 @@ export interface TextPart {
|
|
|
297
331
|
*/
|
|
298
332
|
type: 'text';
|
|
299
333
|
/**
|
|
300
|
-
* The text content
|
|
334
|
+
* The text content of the message. This value is sent as-is with no parsing or
|
|
335
|
+
* transformation — Markdown syntax will be delivered as plain text. Use
|
|
336
|
+
* `text_decorations` to apply inline formatting and animations (iMessage only).
|
|
301
337
|
*/
|
|
302
338
|
value: string;
|
|
339
|
+
/**
|
|
340
|
+
* Optional array of text decorations applied to character ranges in the `value`
|
|
341
|
+
* field (iMessage only).
|
|
342
|
+
*
|
|
343
|
+
* Each decoration specifies a character range `[start, end)` and exactly one of
|
|
344
|
+
* `style` or `animation`.
|
|
345
|
+
*
|
|
346
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
347
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
348
|
+
*
|
|
349
|
+
* Style ranges may overlap (e.g. bold + italic on the same text), but animation
|
|
350
|
+
* ranges must not overlap with other animations or styles.
|
|
351
|
+
*
|
|
352
|
+
* _Characters are measured as UTF-16 code units. Most characters count as 1; some
|
|
353
|
+
* emoji count as 2._
|
|
354
|
+
*
|
|
355
|
+
* **Note:** Text decorations only render for iMessage recipients. For SMS/RCS,
|
|
356
|
+
* text decorations are not applied.
|
|
357
|
+
*/
|
|
358
|
+
text_decorations?: Array<TextPart.TextDecoration>;
|
|
359
|
+
}
|
|
360
|
+
export declare namespace TextPart {
|
|
361
|
+
interface TextDecoration {
|
|
362
|
+
/**
|
|
363
|
+
* Character range `[start, end)` in the `value` string where the decoration
|
|
364
|
+
* applies. `start` is inclusive, `end` is exclusive. _Characters are measured as
|
|
365
|
+
* UTF-16 code units. Most characters count as 1; some emoji count as 2._
|
|
366
|
+
*/
|
|
367
|
+
range: Array<number>;
|
|
368
|
+
/**
|
|
369
|
+
* Animated text effect to apply. Mutually exclusive with `style`.
|
|
370
|
+
*/
|
|
371
|
+
animation?: 'big' | 'small' | 'shake' | 'nod' | 'explode' | 'ripple' | 'bloom' | 'jitter';
|
|
372
|
+
/**
|
|
373
|
+
* Text style to apply. Mutually exclusive with `animation`.
|
|
374
|
+
*/
|
|
375
|
+
style?: 'bold' | 'italic' | 'strikethrough' | 'underline';
|
|
376
|
+
}
|
|
303
377
|
}
|
|
304
378
|
/**
|
|
305
379
|
* Response for creating a new chat with an initial message
|
|
@@ -337,6 +411,10 @@ export declare namespace ChatCreateResponse {
|
|
|
337
411
|
service: Shared.ServiceType;
|
|
338
412
|
}
|
|
339
413
|
}
|
|
414
|
+
export interface ChatUpdateResponse {
|
|
415
|
+
chat_id?: string;
|
|
416
|
+
status?: string;
|
|
417
|
+
}
|
|
340
418
|
/**
|
|
341
419
|
* Response for sending a voice memo to a chat
|
|
342
420
|
*/
|
|
@@ -453,24 +531,28 @@ export interface ChatUpdateParams {
|
|
|
453
531
|
}
|
|
454
532
|
export interface ChatListChatsParams extends ListChatsPaginationParams {
|
|
455
533
|
/**
|
|
456
|
-
* Phone number to filter chats by. Returns
|
|
457
|
-
*
|
|
534
|
+
* Phone number to filter chats by. Returns chats made from this phone number. Must
|
|
535
|
+
* be in E.164 format (e.g., `+13343284472`). The `+` is automatically URL-encoded
|
|
536
|
+
* by HTTP clients. If omitted, returns chats across all phone numbers owned by the
|
|
537
|
+
* partner.
|
|
538
|
+
*/
|
|
539
|
+
from?: string;
|
|
540
|
+
/**
|
|
541
|
+
* Filter chats by a participant handle. Only returns chats where this handle is a
|
|
542
|
+
* participant. Can be an E.164 phone number (e.g., `+13343284472`) or an email
|
|
543
|
+
* address (e.g., `user@example.com`). For phone numbers, the `+` is automatically
|
|
458
544
|
* URL-encoded by HTTP clients.
|
|
459
545
|
*/
|
|
460
|
-
|
|
546
|
+
to?: string;
|
|
461
547
|
}
|
|
462
548
|
export interface ChatSendVoicememoParams {
|
|
463
|
-
/**
|
|
464
|
-
* Sender phone number in E.164 format
|
|
465
|
-
*/
|
|
466
|
-
from: string;
|
|
467
549
|
/**
|
|
468
550
|
* URL of the voice memo audio file. Must be a publicly accessible HTTPS URL.
|
|
469
551
|
*/
|
|
470
552
|
voice_memo_url: string;
|
|
471
553
|
}
|
|
472
554
|
export declare namespace Chats {
|
|
473
|
-
export { type Chat as Chat, type MediaPart as MediaPart, type MessageContent as MessageContent, type TextPart as TextPart, type ChatCreateResponse as ChatCreateResponse, type ChatSendVoicememoResponse as ChatSendVoicememoResponse, type ChatsListChatsPagination as ChatsListChatsPagination, type ChatCreateParams as ChatCreateParams, type ChatUpdateParams as ChatUpdateParams, type ChatListChatsParams as ChatListChatsParams, type ChatSendVoicememoParams as ChatSendVoicememoParams, };
|
|
555
|
+
export { type Chat as Chat, type MediaPart as MediaPart, type MessageContent as MessageContent, type TextPart as TextPart, type ChatCreateResponse as ChatCreateResponse, type ChatUpdateResponse as ChatUpdateResponse, type ChatSendVoicememoResponse as ChatSendVoicememoResponse, type ChatsListChatsPagination as ChatsListChatsPagination, type ChatCreateParams as ChatCreateParams, type ChatUpdateParams as ChatUpdateParams, type ChatListChatsParams as ChatListChatsParams, type ChatSendVoicememoParams as ChatSendVoicememoParams, };
|
|
474
556
|
export { Participants as Participants, type ParticipantAddResponse as ParticipantAddResponse, type ParticipantRemoveResponse as ParticipantRemoveResponse, type ParticipantAddParams as ParticipantAddParams, type ParticipantRemoveParams as ParticipantRemoveParams, };
|
|
475
557
|
export { Typing as Typing };
|
|
476
558
|
export { Messages as Messages, type SentMessage as SentMessage, type MessageSendResponse as MessageSendResponse, type MessageListParams as MessageListParams, type MessageSendParams as MessageSendParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chats.d.mts","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,WAAW,EAAE;OACpF,KAAK,eAAe;OACpB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACb;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OACd,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE;OAEpE,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAA+C;IAElF
|
|
1
|
+
{"version":3,"file":"chats.d.mts","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,WAAW,EAAE;OACpF,KAAK,eAAe;OACpB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACb;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OACd,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE;OAEpE,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,YAAY,EAAE,eAAe,CAAC,YAAY,CA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AC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAMD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,CAAC;IAE5B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -32,6 +32,32 @@ export declare class Chats extends APIResource {
|
|
|
32
32
|
*
|
|
33
33
|
* Only one effect type can be applied per message.
|
|
34
34
|
*
|
|
35
|
+
* ## Inline Text Decorations (iMessage only)
|
|
36
|
+
*
|
|
37
|
+
* Use the `text_decorations` array on a text part to apply styling and animations
|
|
38
|
+
* to character ranges.
|
|
39
|
+
*
|
|
40
|
+
* Each decoration specifies a `range: [start, end)` and exactly one of `style` or
|
|
41
|
+
* `animation`.
|
|
42
|
+
*
|
|
43
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
44
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
45
|
+
*
|
|
46
|
+
* ```json
|
|
47
|
+
* {
|
|
48
|
+
* "type": "text",
|
|
49
|
+
* "value": "Hello world",
|
|
50
|
+
* "text_decorations": [
|
|
51
|
+
* { "range": [0, 5], "style": "bold" },
|
|
52
|
+
* { "range": [6, 11], "animation": "shake" }
|
|
53
|
+
* ]
|
|
54
|
+
* }
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* **Note:** Style ranges (bold, italic, etc.) may overlap, but animation ranges
|
|
58
|
+
* must not overlap with other animations or styles. Text decorations only render
|
|
59
|
+
* for iMessage recipients. For SMS/RCS, text decorations are not applied.
|
|
60
|
+
*
|
|
35
61
|
* @example
|
|
36
62
|
* ```ts
|
|
37
63
|
* const chat = await client.chats.create({
|
|
@@ -63,6 +89,10 @@ export declare class Chats extends APIResource {
|
|
|
63
89
|
/**
|
|
64
90
|
* Update chat properties such as display name and group chat icon.
|
|
65
91
|
*
|
|
92
|
+
* Listen for `chat.group_name_updated`, `chat.group_icon_updated`,
|
|
93
|
+
* `chat.group_name_update_failed`, or `chat.group_icon_update_failed` webhook
|
|
94
|
+
* events to confirm the outcome.
|
|
95
|
+
*
|
|
66
96
|
* @example
|
|
67
97
|
* ```ts
|
|
68
98
|
* const chat = await client.chats.update(
|
|
@@ -71,11 +101,17 @@ export declare class Chats extends APIResource {
|
|
|
71
101
|
* );
|
|
72
102
|
* ```
|
|
73
103
|
*/
|
|
74
|
-
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<
|
|
104
|
+
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<ChatUpdateResponse>;
|
|
75
105
|
/**
|
|
76
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
77
|
-
*
|
|
78
|
-
*
|
|
106
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
107
|
+
*
|
|
108
|
+
* **Filtering:**
|
|
109
|
+
*
|
|
110
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
111
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
112
|
+
* partner
|
|
113
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
114
|
+
* participant
|
|
79
115
|
*
|
|
80
116
|
* **Pagination:**
|
|
81
117
|
*
|
|
@@ -94,14 +130,12 @@ export declare class Chats extends APIResource {
|
|
|
94
130
|
* @example
|
|
95
131
|
* ```ts
|
|
96
132
|
* // Automatically fetches more pages as needed.
|
|
97
|
-
* for await (const chat of client.chats.listChats({
|
|
98
|
-
* from: '+13343284472',
|
|
99
|
-
* })) {
|
|
133
|
+
* for await (const chat of client.chats.listChats()) {
|
|
100
134
|
* // ...
|
|
101
135
|
* }
|
|
102
136
|
* ```
|
|
103
137
|
*/
|
|
104
|
-
listChats(query
|
|
138
|
+
listChats(query?: ChatListChatsParams | null | undefined, options?: RequestOptions): PagePromise<ChatsListChatsPagination, Chat>;
|
|
105
139
|
/**
|
|
106
140
|
* Mark all messages in a chat as read.
|
|
107
141
|
*
|
|
@@ -133,24 +167,24 @@ export declare class Chats extends APIResource {
|
|
|
133
167
|
* ```ts
|
|
134
168
|
* const response = await client.chats.sendVoicememo(
|
|
135
169
|
* 'f19ee7b8-8533-4c5c-83ec-4ef8d6d1ddbd',
|
|
136
|
-
* {
|
|
137
|
-
* from: '+12052535597',
|
|
138
|
-
* voice_memo_url: 'https://example.com/voice-memo.m4a',
|
|
139
|
-
* },
|
|
170
|
+
* { voice_memo_url: 'https://example.com/voice-memo.m4a' },
|
|
140
171
|
* );
|
|
141
172
|
* ```
|
|
142
173
|
*/
|
|
143
174
|
sendVoicememo(chatID: string, body: ChatSendVoicememoParams, options?: RequestOptions): APIPromise<ChatSendVoicememoResponse>;
|
|
144
175
|
/**
|
|
145
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
146
|
-
*
|
|
147
176
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
148
177
|
*
|
|
149
178
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
150
179
|
* contact card on the
|
|
151
180
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
152
181
|
*
|
|
153
|
-
* @
|
|
182
|
+
* @example
|
|
183
|
+
* ```ts
|
|
184
|
+
* await client.chats.shareContactCard(
|
|
185
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
186
|
+
* );
|
|
187
|
+
* ```
|
|
154
188
|
*/
|
|
155
189
|
shareContactCard(chatID: string, options?: RequestOptions): APIPromise<void>;
|
|
156
190
|
}
|
|
@@ -297,9 +331,49 @@ export interface TextPart {
|
|
|
297
331
|
*/
|
|
298
332
|
type: 'text';
|
|
299
333
|
/**
|
|
300
|
-
* The text content
|
|
334
|
+
* The text content of the message. This value is sent as-is with no parsing or
|
|
335
|
+
* transformation — Markdown syntax will be delivered as plain text. Use
|
|
336
|
+
* `text_decorations` to apply inline formatting and animations (iMessage only).
|
|
301
337
|
*/
|
|
302
338
|
value: string;
|
|
339
|
+
/**
|
|
340
|
+
* Optional array of text decorations applied to character ranges in the `value`
|
|
341
|
+
* field (iMessage only).
|
|
342
|
+
*
|
|
343
|
+
* Each decoration specifies a character range `[start, end)` and exactly one of
|
|
344
|
+
* `style` or `animation`.
|
|
345
|
+
*
|
|
346
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
347
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
348
|
+
*
|
|
349
|
+
* Style ranges may overlap (e.g. bold + italic on the same text), but animation
|
|
350
|
+
* ranges must not overlap with other animations or styles.
|
|
351
|
+
*
|
|
352
|
+
* _Characters are measured as UTF-16 code units. Most characters count as 1; some
|
|
353
|
+
* emoji count as 2._
|
|
354
|
+
*
|
|
355
|
+
* **Note:** Text decorations only render for iMessage recipients. For SMS/RCS,
|
|
356
|
+
* text decorations are not applied.
|
|
357
|
+
*/
|
|
358
|
+
text_decorations?: Array<TextPart.TextDecoration>;
|
|
359
|
+
}
|
|
360
|
+
export declare namespace TextPart {
|
|
361
|
+
interface TextDecoration {
|
|
362
|
+
/**
|
|
363
|
+
* Character range `[start, end)` in the `value` string where the decoration
|
|
364
|
+
* applies. `start` is inclusive, `end` is exclusive. _Characters are measured as
|
|
365
|
+
* UTF-16 code units. Most characters count as 1; some emoji count as 2._
|
|
366
|
+
*/
|
|
367
|
+
range: Array<number>;
|
|
368
|
+
/**
|
|
369
|
+
* Animated text effect to apply. Mutually exclusive with `style`.
|
|
370
|
+
*/
|
|
371
|
+
animation?: 'big' | 'small' | 'shake' | 'nod' | 'explode' | 'ripple' | 'bloom' | 'jitter';
|
|
372
|
+
/**
|
|
373
|
+
* Text style to apply. Mutually exclusive with `animation`.
|
|
374
|
+
*/
|
|
375
|
+
style?: 'bold' | 'italic' | 'strikethrough' | 'underline';
|
|
376
|
+
}
|
|
303
377
|
}
|
|
304
378
|
/**
|
|
305
379
|
* Response for creating a new chat with an initial message
|
|
@@ -337,6 +411,10 @@ export declare namespace ChatCreateResponse {
|
|
|
337
411
|
service: Shared.ServiceType;
|
|
338
412
|
}
|
|
339
413
|
}
|
|
414
|
+
export interface ChatUpdateResponse {
|
|
415
|
+
chat_id?: string;
|
|
416
|
+
status?: string;
|
|
417
|
+
}
|
|
340
418
|
/**
|
|
341
419
|
* Response for sending a voice memo to a chat
|
|
342
420
|
*/
|
|
@@ -453,24 +531,28 @@ export interface ChatUpdateParams {
|
|
|
453
531
|
}
|
|
454
532
|
export interface ChatListChatsParams extends ListChatsPaginationParams {
|
|
455
533
|
/**
|
|
456
|
-
* Phone number to filter chats by. Returns
|
|
457
|
-
*
|
|
534
|
+
* Phone number to filter chats by. Returns chats made from this phone number. Must
|
|
535
|
+
* be in E.164 format (e.g., `+13343284472`). The `+` is automatically URL-encoded
|
|
536
|
+
* by HTTP clients. If omitted, returns chats across all phone numbers owned by the
|
|
537
|
+
* partner.
|
|
538
|
+
*/
|
|
539
|
+
from?: string;
|
|
540
|
+
/**
|
|
541
|
+
* Filter chats by a participant handle. Only returns chats where this handle is a
|
|
542
|
+
* participant. Can be an E.164 phone number (e.g., `+13343284472`) or an email
|
|
543
|
+
* address (e.g., `user@example.com`). For phone numbers, the `+` is automatically
|
|
458
544
|
* URL-encoded by HTTP clients.
|
|
459
545
|
*/
|
|
460
|
-
|
|
546
|
+
to?: string;
|
|
461
547
|
}
|
|
462
548
|
export interface ChatSendVoicememoParams {
|
|
463
|
-
/**
|
|
464
|
-
* Sender phone number in E.164 format
|
|
465
|
-
*/
|
|
466
|
-
from: string;
|
|
467
549
|
/**
|
|
468
550
|
* URL of the voice memo audio file. Must be a publicly accessible HTTPS URL.
|
|
469
551
|
*/
|
|
470
552
|
voice_memo_url: string;
|
|
471
553
|
}
|
|
472
554
|
export declare namespace Chats {
|
|
473
|
-
export { type Chat as Chat, type MediaPart as MediaPart, type MessageContent as MessageContent, type TextPart as TextPart, type ChatCreateResponse as ChatCreateResponse, type ChatSendVoicememoResponse as ChatSendVoicememoResponse, type ChatsListChatsPagination as ChatsListChatsPagination, type ChatCreateParams as ChatCreateParams, type ChatUpdateParams as ChatUpdateParams, type ChatListChatsParams as ChatListChatsParams, type ChatSendVoicememoParams as ChatSendVoicememoParams, };
|
|
555
|
+
export { type Chat as Chat, type MediaPart as MediaPart, type MessageContent as MessageContent, type TextPart as TextPart, type ChatCreateResponse as ChatCreateResponse, type ChatUpdateResponse as ChatUpdateResponse, type ChatSendVoicememoResponse as ChatSendVoicememoResponse, type ChatsListChatsPagination as ChatsListChatsPagination, type ChatCreateParams as ChatCreateParams, type ChatUpdateParams as ChatUpdateParams, type ChatListChatsParams as ChatListChatsParams, type ChatSendVoicememoParams as ChatSendVoicememoParams, };
|
|
474
556
|
export { Participants as Participants, type ParticipantAddResponse as ParticipantAddResponse, type ParticipantRemoveResponse as ParticipantRemoveResponse, type ParticipantAddParams as ParticipantAddParams, type ParticipantRemoveParams as ParticipantRemoveParams, };
|
|
475
557
|
export { Typing as Typing };
|
|
476
558
|
export { Messages as Messages, type SentMessage as SentMessage, type MessageSendResponse as MessageSendResponse, type MessageListParams as MessageListParams, type MessageSendParams as MessageSendParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chats.d.ts","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,QAAQ,EAAE,WAAW,EAAE;OACpF,KAAK,eAAe;OACpB,EACL,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACb;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OACV,EAAE,UAAU,EAAE;OACd,EAAE,mBAAmB,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE;OAEpE,EAAE,cAAc,EAAE;AAGzB,qBAAa,KAAM,SAAQ,WAAW;IACpC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,QAAQ,EAAE,gBAAgB,CAAC,QAAQ,CAA+C;IAElF
|
|
1
|
+
{"version":3,"file":"chats.d.ts","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,KAAK,MAAM;OACX,KAAK,gBAAgB;OACrB,EAAE,iBAAiB,EAAE,iBA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5B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/resources/chats/chats.js
CHANGED
|
@@ -38,6 +38,32 @@ class Chats extends resource_1.APIResource {
|
|
|
38
38
|
*
|
|
39
39
|
* Only one effect type can be applied per message.
|
|
40
40
|
*
|
|
41
|
+
* ## Inline Text Decorations (iMessage only)
|
|
42
|
+
*
|
|
43
|
+
* Use the `text_decorations` array on a text part to apply styling and animations
|
|
44
|
+
* to character ranges.
|
|
45
|
+
*
|
|
46
|
+
* Each decoration specifies a `range: [start, end)` and exactly one of `style` or
|
|
47
|
+
* `animation`.
|
|
48
|
+
*
|
|
49
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
50
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
51
|
+
*
|
|
52
|
+
* ```json
|
|
53
|
+
* {
|
|
54
|
+
* "type": "text",
|
|
55
|
+
* "value": "Hello world",
|
|
56
|
+
* "text_decorations": [
|
|
57
|
+
* { "range": [0, 5], "style": "bold" },
|
|
58
|
+
* { "range": [6, 11], "animation": "shake" }
|
|
59
|
+
* ]
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* **Note:** Style ranges (bold, italic, etc.) may overlap, but animation ranges
|
|
64
|
+
* must not overlap with other animations or styles. Text decorations only render
|
|
65
|
+
* for iMessage recipients. For SMS/RCS, text decorations are not applied.
|
|
66
|
+
*
|
|
41
67
|
* @example
|
|
42
68
|
* ```ts
|
|
43
69
|
* const chat = await client.chats.create({
|
|
@@ -73,6 +99,10 @@ class Chats extends resource_1.APIResource {
|
|
|
73
99
|
/**
|
|
74
100
|
* Update chat properties such as display name and group chat icon.
|
|
75
101
|
*
|
|
102
|
+
* Listen for `chat.group_name_updated`, `chat.group_icon_updated`,
|
|
103
|
+
* `chat.group_name_update_failed`, or `chat.group_icon_update_failed` webhook
|
|
104
|
+
* events to confirm the outcome.
|
|
105
|
+
*
|
|
76
106
|
* @example
|
|
77
107
|
* ```ts
|
|
78
108
|
* const chat = await client.chats.update(
|
|
@@ -85,9 +115,15 @@ class Chats extends resource_1.APIResource {
|
|
|
85
115
|
return this._client.put((0, path_1.path) `/v3/chats/${chatID}`, { body, ...options });
|
|
86
116
|
}
|
|
87
117
|
/**
|
|
88
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
89
|
-
*
|
|
90
|
-
*
|
|
118
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
119
|
+
*
|
|
120
|
+
* **Filtering:**
|
|
121
|
+
*
|
|
122
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
123
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
124
|
+
* partner
|
|
125
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
126
|
+
* participant
|
|
91
127
|
*
|
|
92
128
|
* **Pagination:**
|
|
93
129
|
*
|
|
@@ -106,14 +142,12 @@ class Chats extends resource_1.APIResource {
|
|
|
106
142
|
* @example
|
|
107
143
|
* ```ts
|
|
108
144
|
* // Automatically fetches more pages as needed.
|
|
109
|
-
* for await (const chat of client.chats.listChats({
|
|
110
|
-
* from: '+13343284472',
|
|
111
|
-
* })) {
|
|
145
|
+
* for await (const chat of client.chats.listChats()) {
|
|
112
146
|
* // ...
|
|
113
147
|
* }
|
|
114
148
|
* ```
|
|
115
149
|
*/
|
|
116
|
-
listChats(query, options) {
|
|
150
|
+
listChats(query = {}, options) {
|
|
117
151
|
return this._client.getAPIList('/v3/chats', (pagination_1.ListChatsPagination), { query, ...options });
|
|
118
152
|
}
|
|
119
153
|
/**
|
|
@@ -152,10 +186,7 @@ class Chats extends resource_1.APIResource {
|
|
|
152
186
|
* ```ts
|
|
153
187
|
* const response = await client.chats.sendVoicememo(
|
|
154
188
|
* 'f19ee7b8-8533-4c5c-83ec-4ef8d6d1ddbd',
|
|
155
|
-
* {
|
|
156
|
-
* from: '+12052535597',
|
|
157
|
-
* voice_memo_url: 'https://example.com/voice-memo.m4a',
|
|
158
|
-
* },
|
|
189
|
+
* { voice_memo_url: 'https://example.com/voice-memo.m4a' },
|
|
159
190
|
* );
|
|
160
191
|
* ```
|
|
161
192
|
*/
|
|
@@ -163,15 +194,18 @@ class Chats extends resource_1.APIResource {
|
|
|
163
194
|
return this._client.post((0, path_1.path) `/v3/chats/${chatID}/voicememo`, { body, ...options });
|
|
164
195
|
}
|
|
165
196
|
/**
|
|
166
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
167
|
-
*
|
|
168
197
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
169
198
|
*
|
|
170
199
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
171
200
|
* contact card on the
|
|
172
201
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
173
202
|
*
|
|
174
|
-
* @
|
|
203
|
+
* @example
|
|
204
|
+
* ```ts
|
|
205
|
+
* await client.chats.shareContactCard(
|
|
206
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
207
|
+
* );
|
|
208
|
+
* ```
|
|
175
209
|
*/
|
|
176
210
|
shareContactCard(chatID, options) {
|
|
177
211
|
return this._client.post((0, path_1.path) `/v3/chats/${chatID}/share_contact_card`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chats.js","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAGlD,wEAA+C;AAC/C,4CAA8G;AAC9G,2EAAkD;AAClD,oDAMwB;AACxB,+DAAsC;AACtC,wCAAkC;AAElC,yDAAyG;AACzG,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,K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