@linqapp/sdk 0.7.1 → 0.8.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/README.md +2 -2
- package/package.json +7 -1
- package/resources/chats/chats.d.mts +95 -14
- package/resources/chats/chats.d.mts.map +1 -1
- package/resources/chats/chats.d.ts +95 -14
- package/resources/chats/chats.d.ts.map +1 -1
- package/resources/chats/chats.js +43 -10
- package/resources/chats/chats.js.map +1 -1
- package/resources/chats/chats.mjs +43 -10
- package/resources/chats/chats.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/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/webhooks.d.mts +22 -0
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +22 -0
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/chats/chats.ts +100 -14
- package/src/resources/chats/messages.ts +26 -0
- package/src/resources/shared.ts +26 -0
- package/src/resources/webhooks.ts +26 -0
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.0 (2026-03-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.7.1...v0.8.0](https://github.com/linq-team/linq-node/compare/v0.7.1...v0.8.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* make `from` optional on GET /v3/chats and add `to` filter ([b36752b](https://github.com/linq-team/linq-node/commit/b36752b991171ee984cc985e68dc8f82afc928e6))
|
|
10
|
+
* PDEV(Synapse): support markdown and text effects ([00dc922](https://github.com/linq-team/linq-node/commit/00dc922ef1cca534a50931d290c9b2e47b87772c))
|
|
11
|
+
* Plt 397 patch update contact card endpoint rename my cards endpoints ([4b64e37](https://github.com/linq-team/linq-node/commit/4b64e373c20408ebfb7a6ab8f9e32678115dd9de))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Chores
|
|
15
|
+
|
|
16
|
+
* **internal:** update dependencies to address dependabot vulnerabilities ([19ceba3](https://github.com/linq-team/linq-node/commit/19ceba365cab72a999a5305be2566f8cdd5e216b))
|
|
17
|
+
|
|
3
18
|
## 0.7.1 (2026-03-10)
|
|
4
19
|
|
|
5
20
|
Full Changelog: [v0.7.0...v0.7.1](https://github.com/linq-team/linq-node/compare/v0.7.0...v0.7.1)
|
package/README.md
CHANGED
|
@@ -154,7 +154,7 @@ You can use the `for await … of` syntax to iterate through items across all pa
|
|
|
154
154
|
async function fetchAllChats(params) {
|
|
155
155
|
const allChats = [];
|
|
156
156
|
// Automatically fetches more pages as needed.
|
|
157
|
-
for await (const chat of client.chats.listChats(
|
|
157
|
+
for await (const chat of client.chats.listChats()) {
|
|
158
158
|
allChats.push(chat);
|
|
159
159
|
}
|
|
160
160
|
return allChats;
|
|
@@ -164,7 +164,7 @@ async function fetchAllChats(params) {
|
|
|
164
164
|
Alternatively, you can request a single page at a time:
|
|
165
165
|
|
|
166
166
|
```ts
|
|
167
|
-
let page = await client.chats.listChats(
|
|
167
|
+
let page = await client.chats.listChats();
|
|
168
168
|
for (const chat of page.chats) {
|
|
169
169
|
console.log(chat);
|
|
170
170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linqapp/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "The official TypeScript library for the Linq API V3 API",
|
|
5
5
|
"author": "Linq API V3 <support@linq.com>",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {},
|
|
19
|
+
"overrides": {
|
|
20
|
+
"minimatch": "^9.0.5"
|
|
21
|
+
},
|
|
22
|
+
"resolutions": {
|
|
23
|
+
"minimatch": "^9.0.5"
|
|
24
|
+
},
|
|
19
25
|
"exports": {
|
|
20
26
|
".": {
|
|
21
27
|
"require": {
|
|
@@ -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({
|
|
@@ -73,9 +99,15 @@ export declare class Chats extends APIResource {
|
|
|
73
99
|
*/
|
|
74
100
|
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<Chat>;
|
|
75
101
|
/**
|
|
76
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
77
|
-
*
|
|
78
|
-
*
|
|
102
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
103
|
+
*
|
|
104
|
+
* **Filtering:**
|
|
105
|
+
*
|
|
106
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
107
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
108
|
+
* partner
|
|
109
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
110
|
+
* participant
|
|
79
111
|
*
|
|
80
112
|
* **Pagination:**
|
|
81
113
|
*
|
|
@@ -94,14 +126,12 @@ export declare class Chats extends APIResource {
|
|
|
94
126
|
* @example
|
|
95
127
|
* ```ts
|
|
96
128
|
* // Automatically fetches more pages as needed.
|
|
97
|
-
* for await (const chat of client.chats.listChats({
|
|
98
|
-
* from: '+13343284472',
|
|
99
|
-
* })) {
|
|
129
|
+
* for await (const chat of client.chats.listChats()) {
|
|
100
130
|
* // ...
|
|
101
131
|
* }
|
|
102
132
|
* ```
|
|
103
133
|
*/
|
|
104
|
-
listChats(query
|
|
134
|
+
listChats(query?: ChatListChatsParams | null | undefined, options?: RequestOptions): PagePromise<ChatsListChatsPagination, Chat>;
|
|
105
135
|
/**
|
|
106
136
|
* Mark all messages in a chat as read.
|
|
107
137
|
*
|
|
@@ -142,15 +172,18 @@ export declare class Chats extends APIResource {
|
|
|
142
172
|
*/
|
|
143
173
|
sendVoicememo(chatID: string, body: ChatSendVoicememoParams, options?: RequestOptions): APIPromise<ChatSendVoicememoResponse>;
|
|
144
174
|
/**
|
|
145
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
146
|
-
*
|
|
147
175
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
148
176
|
*
|
|
149
177
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
150
178
|
* contact card on the
|
|
151
179
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
152
180
|
*
|
|
153
|
-
* @
|
|
181
|
+
* @example
|
|
182
|
+
* ```ts
|
|
183
|
+
* await client.chats.shareContactCard(
|
|
184
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
185
|
+
* );
|
|
186
|
+
* ```
|
|
154
187
|
*/
|
|
155
188
|
shareContactCard(chatID: string, options?: RequestOptions): APIPromise<void>;
|
|
156
189
|
}
|
|
@@ -297,9 +330,49 @@ export interface TextPart {
|
|
|
297
330
|
*/
|
|
298
331
|
type: 'text';
|
|
299
332
|
/**
|
|
300
|
-
* The text content
|
|
333
|
+
* The text content of the message. This value is sent as-is with no parsing or
|
|
334
|
+
* transformation — Markdown syntax will be delivered as plain text. Use
|
|
335
|
+
* `text_decorations` to apply inline formatting and animations (iMessage only).
|
|
301
336
|
*/
|
|
302
337
|
value: string;
|
|
338
|
+
/**
|
|
339
|
+
* Optional array of text decorations applied to character ranges in the `value`
|
|
340
|
+
* field (iMessage only).
|
|
341
|
+
*
|
|
342
|
+
* Each decoration specifies a character range `[start, end)` and exactly one of
|
|
343
|
+
* `style` or `animation`.
|
|
344
|
+
*
|
|
345
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
346
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
347
|
+
*
|
|
348
|
+
* Style ranges may overlap (e.g. bold + italic on the same text), but animation
|
|
349
|
+
* ranges must not overlap with other animations or styles.
|
|
350
|
+
*
|
|
351
|
+
* _Characters are measured as UTF-16 code units. Most characters count as 1; some
|
|
352
|
+
* emoji count as 2._
|
|
353
|
+
*
|
|
354
|
+
* **Note:** Text decorations only render for iMessage recipients. For SMS/RCS,
|
|
355
|
+
* text decorations are not applied.
|
|
356
|
+
*/
|
|
357
|
+
text_decorations?: Array<TextPart.TextDecoration>;
|
|
358
|
+
}
|
|
359
|
+
export declare namespace TextPart {
|
|
360
|
+
interface TextDecoration {
|
|
361
|
+
/**
|
|
362
|
+
* Character range `[start, end)` in the `value` string where the decoration
|
|
363
|
+
* applies. `start` is inclusive, `end` is exclusive. _Characters are measured as
|
|
364
|
+
* UTF-16 code units. Most characters count as 1; some emoji count as 2._
|
|
365
|
+
*/
|
|
366
|
+
range: Array<number>;
|
|
367
|
+
/**
|
|
368
|
+
* Animated text effect to apply. Mutually exclusive with `style`.
|
|
369
|
+
*/
|
|
370
|
+
animation?: 'big' | 'small' | 'shake' | 'nod' | 'explode' | 'ripple' | 'bloom' | 'jitter';
|
|
371
|
+
/**
|
|
372
|
+
* Text style to apply. Mutually exclusive with `animation`.
|
|
373
|
+
*/
|
|
374
|
+
style?: 'bold' | 'italic' | 'strikethrough' | 'underline';
|
|
375
|
+
}
|
|
303
376
|
}
|
|
304
377
|
/**
|
|
305
378
|
* Response for creating a new chat with an initial message
|
|
@@ -453,11 +526,19 @@ export interface ChatUpdateParams {
|
|
|
453
526
|
}
|
|
454
527
|
export interface ChatListChatsParams extends ListChatsPaginationParams {
|
|
455
528
|
/**
|
|
456
|
-
* Phone number to filter chats by. Returns
|
|
457
|
-
*
|
|
529
|
+
* Phone number to filter chats by. Returns chats made from this phone number. Must
|
|
530
|
+
* be in E.164 format (e.g., `+13343284472`). The `+` is automatically URL-encoded
|
|
531
|
+
* by HTTP clients. If omitted, returns chats across all phone numbers owned by the
|
|
532
|
+
* partner.
|
|
533
|
+
*/
|
|
534
|
+
from?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Filter chats by a participant handle. Only returns chats where this handle is a
|
|
537
|
+
* participant. Can be an E.164 phone number (e.g., `+13343284472`) or an email
|
|
538
|
+
* address (e.g., `user@example.com`). For phone numbers, the `+` is automatically
|
|
458
539
|
* URL-encoded by HTTP clients.
|
|
459
540
|
*/
|
|
460
|
-
|
|
541
|
+
to?: string;
|
|
461
542
|
}
|
|
462
543
|
export interface ChatSendVoicememoParams {
|
|
463
544
|
/**
|
|
@@ -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,E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E;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;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,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({
|
|
@@ -73,9 +99,15 @@ export declare class Chats extends APIResource {
|
|
|
73
99
|
*/
|
|
74
100
|
update(chatID: string, body: ChatUpdateParams, options?: RequestOptions): APIPromise<Chat>;
|
|
75
101
|
/**
|
|
76
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
77
|
-
*
|
|
78
|
-
*
|
|
102
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
103
|
+
*
|
|
104
|
+
* **Filtering:**
|
|
105
|
+
*
|
|
106
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
107
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
108
|
+
* partner
|
|
109
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
110
|
+
* participant
|
|
79
111
|
*
|
|
80
112
|
* **Pagination:**
|
|
81
113
|
*
|
|
@@ -94,14 +126,12 @@ export declare class Chats extends APIResource {
|
|
|
94
126
|
* @example
|
|
95
127
|
* ```ts
|
|
96
128
|
* // Automatically fetches more pages as needed.
|
|
97
|
-
* for await (const chat of client.chats.listChats({
|
|
98
|
-
* from: '+13343284472',
|
|
99
|
-
* })) {
|
|
129
|
+
* for await (const chat of client.chats.listChats()) {
|
|
100
130
|
* // ...
|
|
101
131
|
* }
|
|
102
132
|
* ```
|
|
103
133
|
*/
|
|
104
|
-
listChats(query
|
|
134
|
+
listChats(query?: ChatListChatsParams | null | undefined, options?: RequestOptions): PagePromise<ChatsListChatsPagination, Chat>;
|
|
105
135
|
/**
|
|
106
136
|
* Mark all messages in a chat as read.
|
|
107
137
|
*
|
|
@@ -142,15 +172,18 @@ export declare class Chats extends APIResource {
|
|
|
142
172
|
*/
|
|
143
173
|
sendVoicememo(chatID: string, body: ChatSendVoicememoParams, options?: RequestOptions): APIPromise<ChatSendVoicememoResponse>;
|
|
144
174
|
/**
|
|
145
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
146
|
-
*
|
|
147
175
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
148
176
|
*
|
|
149
177
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
150
178
|
* contact card on the
|
|
151
179
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
152
180
|
*
|
|
153
|
-
* @
|
|
181
|
+
* @example
|
|
182
|
+
* ```ts
|
|
183
|
+
* await client.chats.shareContactCard(
|
|
184
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
185
|
+
* );
|
|
186
|
+
* ```
|
|
154
187
|
*/
|
|
155
188
|
shareContactCard(chatID: string, options?: RequestOptions): APIPromise<void>;
|
|
156
189
|
}
|
|
@@ -297,9 +330,49 @@ export interface TextPart {
|
|
|
297
330
|
*/
|
|
298
331
|
type: 'text';
|
|
299
332
|
/**
|
|
300
|
-
* The text content
|
|
333
|
+
* The text content of the message. This value is sent as-is with no parsing or
|
|
334
|
+
* transformation — Markdown syntax will be delivered as plain text. Use
|
|
335
|
+
* `text_decorations` to apply inline formatting and animations (iMessage only).
|
|
301
336
|
*/
|
|
302
337
|
value: string;
|
|
338
|
+
/**
|
|
339
|
+
* Optional array of text decorations applied to character ranges in the `value`
|
|
340
|
+
* field (iMessage only).
|
|
341
|
+
*
|
|
342
|
+
* Each decoration specifies a character range `[start, end)` and exactly one of
|
|
343
|
+
* `style` or `animation`.
|
|
344
|
+
*
|
|
345
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
346
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
347
|
+
*
|
|
348
|
+
* Style ranges may overlap (e.g. bold + italic on the same text), but animation
|
|
349
|
+
* ranges must not overlap with other animations or styles.
|
|
350
|
+
*
|
|
351
|
+
* _Characters are measured as UTF-16 code units. Most characters count as 1; some
|
|
352
|
+
* emoji count as 2._
|
|
353
|
+
*
|
|
354
|
+
* **Note:** Text decorations only render for iMessage recipients. For SMS/RCS,
|
|
355
|
+
* text decorations are not applied.
|
|
356
|
+
*/
|
|
357
|
+
text_decorations?: Array<TextPart.TextDecoration>;
|
|
358
|
+
}
|
|
359
|
+
export declare namespace TextPart {
|
|
360
|
+
interface TextDecoration {
|
|
361
|
+
/**
|
|
362
|
+
* Character range `[start, end)` in the `value` string where the decoration
|
|
363
|
+
* applies. `start` is inclusive, `end` is exclusive. _Characters are measured as
|
|
364
|
+
* UTF-16 code units. Most characters count as 1; some emoji count as 2._
|
|
365
|
+
*/
|
|
366
|
+
range: Array<number>;
|
|
367
|
+
/**
|
|
368
|
+
* Animated text effect to apply. Mutually exclusive with `style`.
|
|
369
|
+
*/
|
|
370
|
+
animation?: 'big' | 'small' | 'shake' | 'nod' | 'explode' | 'ripple' | 'bloom' | 'jitter';
|
|
371
|
+
/**
|
|
372
|
+
* Text style to apply. Mutually exclusive with `animation`.
|
|
373
|
+
*/
|
|
374
|
+
style?: 'bold' | 'italic' | 'strikethrough' | 'underline';
|
|
375
|
+
}
|
|
303
376
|
}
|
|
304
377
|
/**
|
|
305
378
|
* Response for creating a new chat with an initial message
|
|
@@ -453,11 +526,19 @@ export interface ChatUpdateParams {
|
|
|
453
526
|
}
|
|
454
527
|
export interface ChatListChatsParams extends ListChatsPaginationParams {
|
|
455
528
|
/**
|
|
456
|
-
* Phone number to filter chats by. Returns
|
|
457
|
-
*
|
|
529
|
+
* Phone number to filter chats by. Returns chats made from this phone number. Must
|
|
530
|
+
* be in E.164 format (e.g., `+13343284472`). The `+` is automatically URL-encoded
|
|
531
|
+
* by HTTP clients. If omitted, returns chats across all phone numbers owned by the
|
|
532
|
+
* partner.
|
|
533
|
+
*/
|
|
534
|
+
from?: string;
|
|
535
|
+
/**
|
|
536
|
+
* Filter chats by a participant handle. Only returns chats where this handle is a
|
|
537
|
+
* participant. Can be an E.164 phone number (e.g., `+13343284472`) or an email
|
|
538
|
+
* address (e.g., `user@example.com`). For phone numbers, the `+` is automatically
|
|
458
539
|
* URL-encoded by HTTP clients.
|
|
459
540
|
*/
|
|
460
|
-
|
|
541
|
+
to?: string;
|
|
461
542
|
}
|
|
462
543
|
export interface ChatSendVoicememoParams {
|
|
463
544
|
/**
|
|
@@ -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,E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,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"}
|
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({
|
|
@@ -85,9 +111,15 @@ class Chats extends resource_1.APIResource {
|
|
|
85
111
|
return this._client.put((0, path_1.path) `/v3/chats/${chatID}`, { body, ...options });
|
|
86
112
|
}
|
|
87
113
|
/**
|
|
88
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
89
|
-
*
|
|
90
|
-
*
|
|
114
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
115
|
+
*
|
|
116
|
+
* **Filtering:**
|
|
117
|
+
*
|
|
118
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
119
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
120
|
+
* partner
|
|
121
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
122
|
+
* participant
|
|
91
123
|
*
|
|
92
124
|
* **Pagination:**
|
|
93
125
|
*
|
|
@@ -106,14 +138,12 @@ class Chats extends resource_1.APIResource {
|
|
|
106
138
|
* @example
|
|
107
139
|
* ```ts
|
|
108
140
|
* // Automatically fetches more pages as needed.
|
|
109
|
-
* for await (const chat of client.chats.listChats({
|
|
110
|
-
* from: '+13343284472',
|
|
111
|
-
* })) {
|
|
141
|
+
* for await (const chat of client.chats.listChats()) {
|
|
112
142
|
* // ...
|
|
113
143
|
* }
|
|
114
144
|
* ```
|
|
115
145
|
*/
|
|
116
|
-
listChats(query, options) {
|
|
146
|
+
listChats(query = {}, options) {
|
|
117
147
|
return this._client.getAPIList('/v3/chats', (pagination_1.ListChatsPagination), { query, ...options });
|
|
118
148
|
}
|
|
119
149
|
/**
|
|
@@ -163,15 +193,18 @@ class Chats extends resource_1.APIResource {
|
|
|
163
193
|
return this._client.post((0, path_1.path) `/v3/chats/${chatID}/voicememo`, { body, ...options });
|
|
164
194
|
}
|
|
165
195
|
/**
|
|
166
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
167
|
-
*
|
|
168
196
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
169
197
|
*
|
|
170
198
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
171
199
|
* contact card on the
|
|
172
200
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
173
201
|
*
|
|
174
|
-
* @
|
|
202
|
+
* @example
|
|
203
|
+
* ```ts
|
|
204
|
+
* await client.chats.shareContactCard(
|
|
205
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
206
|
+
* );
|
|
207
|
+
* ```
|
|
175
208
|
*/
|
|
176
209
|
shareContactCard(chatID, options) {
|
|
177
210
|
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,KAAM,SAAQ,sBAAW;IAAtC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,aAAQ,GAA8B,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{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Resource {
|
|
|
34
34
|
*
|
|
35
35
|
* Only one effect type can be applied per message.
|
|
36
36
|
*
|
|
37
|
+
* ## Inline Text Decorations (iMessage only)
|
|
38
|
+
*
|
|
39
|
+
* Use the `text_decorations` array on a text part to apply styling and animations
|
|
40
|
+
* to character ranges.
|
|
41
|
+
*
|
|
42
|
+
* Each decoration specifies a `range: [start, end)` and exactly one of `style` or
|
|
43
|
+
* `animation`.
|
|
44
|
+
*
|
|
45
|
+
* **Styles:** `bold`, `italic`, `strikethrough`, `underline` **Animations:**
|
|
46
|
+
* `big`, `small`, `shake`, `nod`, `explode`, `ripple`, `bloom`, `jitter`
|
|
47
|
+
*
|
|
48
|
+
* ```json
|
|
49
|
+
* {
|
|
50
|
+
* "type": "text",
|
|
51
|
+
* "value": "Hello world",
|
|
52
|
+
* "text_decorations": [
|
|
53
|
+
* { "range": [0, 5], "style": "bold" },
|
|
54
|
+
* { "range": [6, 11], "animation": "shake" }
|
|
55
|
+
* ]
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* **Note:** Style ranges (bold, italic, etc.) may overlap, but animation ranges
|
|
60
|
+
* must not overlap with other animations or styles. Text decorations only render
|
|
61
|
+
* for iMessage recipients. For SMS/RCS, text decorations are not applied.
|
|
62
|
+
*
|
|
37
63
|
* @example
|
|
38
64
|
* ```ts
|
|
39
65
|
* const chat = await client.chats.create({
|
|
@@ -81,9 +107,15 @@ export class Chats extends APIResource {
|
|
|
81
107
|
return this._client.put(path `/v3/chats/${chatID}`, { body, ...options });
|
|
82
108
|
}
|
|
83
109
|
/**
|
|
84
|
-
* Retrieves a paginated list of chats for the authenticated partner
|
|
85
|
-
*
|
|
86
|
-
*
|
|
110
|
+
* Retrieves a paginated list of chats for the authenticated partner.
|
|
111
|
+
*
|
|
112
|
+
* **Filtering:**
|
|
113
|
+
*
|
|
114
|
+
* - If `from` is provided, returns chats for that specific phone number
|
|
115
|
+
* - If `from` is omitted, returns chats across all phone numbers owned by the
|
|
116
|
+
* partner
|
|
117
|
+
* - If `to` is provided, only returns chats where the specified handle is a
|
|
118
|
+
* participant
|
|
87
119
|
*
|
|
88
120
|
* **Pagination:**
|
|
89
121
|
*
|
|
@@ -102,14 +134,12 @@ export class Chats extends APIResource {
|
|
|
102
134
|
* @example
|
|
103
135
|
* ```ts
|
|
104
136
|
* // Automatically fetches more pages as needed.
|
|
105
|
-
* for await (const chat of client.chats.listChats({
|
|
106
|
-
* from: '+13343284472',
|
|
107
|
-
* })) {
|
|
137
|
+
* for await (const chat of client.chats.listChats()) {
|
|
108
138
|
* // ...
|
|
109
139
|
* }
|
|
110
140
|
* ```
|
|
111
141
|
*/
|
|
112
|
-
listChats(query, options) {
|
|
142
|
+
listChats(query = {}, options) {
|
|
113
143
|
return this._client.getAPIList('/v3/chats', (ListChatsPagination), { query, ...options });
|
|
114
144
|
}
|
|
115
145
|
/**
|
|
@@ -159,15 +189,18 @@ export class Chats extends APIResource {
|
|
|
159
189
|
return this._client.post(path `/v3/chats/${chatID}/voicememo`, { body, ...options });
|
|
160
190
|
}
|
|
161
191
|
/**
|
|
162
|
-
* **Deprecated:** Use `POST /v3/my_cards/{chatId}/share` instead.
|
|
163
|
-
*
|
|
164
192
|
* Share your contact information (Name and Photo Sharing) with a chat.
|
|
165
193
|
*
|
|
166
194
|
* **Note:** A contact card must be configured before sharing. You can set up your
|
|
167
195
|
* contact card on the
|
|
168
196
|
* [Linq dashboard](https://dashboard.linqapp.com/contact-cards).
|
|
169
197
|
*
|
|
170
|
-
* @
|
|
198
|
+
* @example
|
|
199
|
+
* ```ts
|
|
200
|
+
* await client.chats.shareContactCard(
|
|
201
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
202
|
+
* );
|
|
203
|
+
* ```
|
|
171
204
|
*/
|
|
172
205
|
shareContactCard(chatID, options) {
|
|
173
206
|
return this._client.post(path `/v3/chats/${chatID}/share_contact_card`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chats.mjs","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,gBAAgB;OACrB,EAA6D,QAAQ,EAAe;OACpF,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,mBAAmB,EAA+C;OACpE,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,aAAQ,GAA8B,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"chats.mjs","sourceRoot":"","sources":["../../src/resources/chats/chats.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,gBAAgB;OACrB,EAA6D,QAAQ,EAAe;OACpF,KAAK,eAAe;OACpB,EAKL,YAAY,GACb;OACM,KAAK,SAAS;OACd,EAAE,MAAM,EAAE;OAEV,EAAE,mBAAmB,EAA+C;OACpE,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,KAAM,SAAQ,WAAW;IAAtC;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,aAAQ,GAA8B,IAAI,gBAAgB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA+Mp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