@linqapp/sdk 0.55.1 → 0.56.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 +14 -0
- package/client.d.mts +10 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -10
- package/client.d.ts.map +1 -1
- package/client.js +9 -9
- package/client.js.map +1 -1
- package/client.mjs +9 -9
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/attachments.d.mts +1 -1
- package/resources/attachments.d.ts +1 -1
- package/resources/attachments.js +1 -1
- package/resources/attachments.mjs +1 -1
- package/resources/chats/messages.d.mts +6 -6
- package/resources/chats/messages.d.ts +6 -6
- package/resources/chats/messages.js +6 -6
- package/resources/chats/messages.mjs +6 -6
- package/resources/chats/polls.d.mts +6 -6
- package/resources/chats/polls.d.ts +6 -6
- package/resources/chats/polls.js +6 -6
- package/resources/chats/polls.mjs +6 -6
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- 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/messages.d.mts +6 -6
- package/resources/messages/messages.d.ts +6 -6
- package/resources/messages/messages.js +6 -6
- package/resources/messages/messages.mjs +6 -6
- package/resources/messages/poll.d.mts +6 -6
- package/resources/messages/poll.d.ts +6 -6
- package/resources/messages/poll.js +6 -6
- package/resources/messages/poll.mjs +6 -6
- package/resources/webhooks.d.mts +1232 -2
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +1232 -2
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +35 -17
- package/src/resources/attachments.ts +1 -1
- package/src/resources/chats/messages.ts +6 -6
- package/src/resources/chats/polls.ts +6 -6
- package/src/resources/index.ts +9 -0
- package/src/resources/messages/messages.ts +6 -6
- package/src/resources/messages/poll.ts +6 -6
- package/src/resources/webhooks.ts +1927 -1
- 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/client.mjs
CHANGED
|
@@ -81,7 +81,7 @@ export class LinqAPIV3 {
|
|
|
81
81
|
*
|
|
82
82
|
* ## Ephemeral Messages (Privacy Tier)
|
|
83
83
|
*
|
|
84
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
84
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
85
85
|
*
|
|
86
86
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
87
87
|
*
|
|
@@ -89,16 +89,16 @@ export class LinqAPIV3 {
|
|
|
89
89
|
*
|
|
90
90
|
* | Scope | Effect |
|
|
91
91
|
* |---|---|
|
|
92
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
93
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
92
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
93
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
94
94
|
*
|
|
95
95
|
* **Behavioral differences vs the standard default:**
|
|
96
96
|
*
|
|
97
97
|
* | Aspect | Standard | Ephemeral |
|
|
98
98
|
* |---|---|---|
|
|
99
99
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
100
|
-
* | After expiry | Message stays retrievable | Message is
|
|
101
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
100
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
101
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
102
102
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
103
103
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
104
104
|
*
|
|
@@ -113,7 +113,7 @@ export class LinqAPIV3 {
|
|
|
113
113
|
*
|
|
114
114
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
115
115
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
116
|
-
* - **The backstop
|
|
116
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
117
117
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
118
118
|
*
|
|
119
119
|
* **When to choose ephemeral:**
|
|
@@ -305,7 +305,7 @@ export class LinqAPIV3 {
|
|
|
305
305
|
* |---|---|---|
|
|
306
306
|
* | Attachment bytes | Retained until you `DELETE` | **Auto-removed within roughly 24–48 hours** of upload, independently of any message window. Also removable via `DELETE` |
|
|
307
307
|
* | Attachment metadata (id, filename, mime type, size) | Retained until you `DELETE` | Removed alongside the bytes |
|
|
308
|
-
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message and
|
|
308
|
+
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message's text, formatting, and attachment references are no longer retrievable through the API after that account's configured retention window (60 minutes – 24 hours, default 24 hours) from creation. Metadata is retained; see the Messages page for details |
|
|
309
309
|
* | Audit log of deletions | Retained per platform retention policy | Retained per platform retention policy |
|
|
310
310
|
*
|
|
311
311
|
* **In transit:** TLS 1.2+ everywhere. **At rest:** AES-256 (server-side encryption).
|
|
@@ -917,12 +917,12 @@ export class LinqAPIV3 {
|
|
|
917
917
|
*
|
|
918
918
|
*/
|
|
919
919
|
this.webhookSubscriptions = new API.WebhookSubscriptions(this);
|
|
920
|
+
this.webhooks = new API.Webhooks(this);
|
|
920
921
|
/**
|
|
921
922
|
* Check whether a recipient address supports iMessage or RCS before sending a message.
|
|
922
923
|
*
|
|
923
924
|
*/
|
|
924
925
|
this.capability = new API.Capability(this);
|
|
925
|
-
this.webhooks = new API.Webhooks(this);
|
|
926
926
|
/**
|
|
927
927
|
* Contact Card lets you set and share your contact information (name and profile photo) with chat participants via iMessage Name and Photo Sharing.
|
|
928
928
|
*
|
|
@@ -1396,7 +1396,7 @@ LinqAPIV3.BlockedHandles = BlockedHandles;
|
|
|
1396
1396
|
LinqAPIV3.Experiences = Experiences;
|
|
1397
1397
|
LinqAPIV3.WebhookEvents = WebhookEvents;
|
|
1398
1398
|
LinqAPIV3.WebhookSubscriptions = WebhookSubscriptions;
|
|
1399
|
-
LinqAPIV3.Capability = Capability;
|
|
1400
1399
|
LinqAPIV3.Webhooks = Webhooks;
|
|
1400
|
+
LinqAPIV3.Capability = Capability;
|
|
1401
1401
|
LinqAPIV3.ContactCard = ContactCard;
|
|
1402
1402
|
//# sourceMappingURL=client.mjs.map
|
package/client.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.mjs","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"AAAA,sFAAsF;;;AAItF,OAAO,EAAE,KAAK,EAAE,kCAA8B;AAC9C,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,QAAQ,EAAE,oCAAgC;AAC3F,OAAO,EAAE,KAAK,EAAE,mCAA+B;AAE/C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,8BAA0B;AAE9D,OAAO,EAAE,kBAAkB,EAAE,uCAAmC;AAChE,OAAO,KAAK,KAAK,6BAAyB;AAC1C,OAAO,KAAK,IAAI,uCAAmC;AACnD,OAAO,EAAE,cAAc,EAAE,mCAA+B;AACxD,OAAO,EAAE,OAAO,EAAE,sBAAkB;AACpC,OAAO,KAAK,MAAM,yBAAqB;AACvC,OAAO,KAAK,UAAU,8BAA0B;AAQhD,OAAO,KAAK,OAAO,2BAAuB;AAC1C,OAAO,KAAK,GAAG,8BAA0B;AACzC,OAAO,EAAE,UAAU,EAAE,+BAA2B;AAChD,OAAO,EAIL,WAAW,GAEZ,oCAAgC;AACjC,OAAO,EACL,eAAe,GAGhB,yCAAqC;AACtC,OAAO,EAML,cAAc,GACf,wCAAoC;AACrC,OAAO,EACL,UAAU,GAKX,mCAA+B;AAChC,OAAO,EACL,WAAW,GAMZ,qCAAiC;AAClC,OAAO,EAAsD,WAAW,EAAE,oCAAgC;AAC1G,OAAO,EAAwB,eAAe,EAAE,yCAAqC;AACrF,OAAO,EAAe,YAAY,EAAE,sCAAkC;AACtE,OAAO,EAGL,cAAc,GACf,wCAAoC;AACrC,OAAO,EAIL,gBAAgB,GACjB,0CAAsC;AACvC,OAAO,EAKL,eAAe,GAChB,yCAAqC;AACtC,OAAO,EAA4D,QAAQ,EAAE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AAC,MAAM,AAAjB,CAAkB;AAg3BjC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;AACxB,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;AACtC,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;AACtC,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC;AAC5C,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC;AAC5C,SAAS,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;AAC9C,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC;AAC1C,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,eAAe,GAAG,eAAe,CAAC;AAC5C,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC;AACtC,SAAS,CAAC,cAAc,GAAG,cAAc,CAAC;AAC1C,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,SAAS,CAAC,aAAa,GAAG,aAAa,CAAC;AACxC,SAAS,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AACtD,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC9B,SAAS,CAAC,UAAU,GAAG,UAAU,CAAC;AAClC,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -180,7 +180,7 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
180
180
|
* |---|---|---|
|
|
181
181
|
* | Attachment bytes | Retained until you `DELETE` | **Auto-removed within roughly 24–48 hours** of upload, independently of any message window. Also removable via `DELETE` |
|
|
182
182
|
* | Attachment metadata (id, filename, mime type, size) | Retained until you `DELETE` | Removed alongside the bytes |
|
|
183
|
-
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message and
|
|
183
|
+
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message's text, formatting, and attachment references are no longer retrievable through the API after that account's configured retention window (60 minutes – 24 hours, default 24 hours) from creation. Metadata is retained; see the Messages page for details |
|
|
184
184
|
* | Audit log of deletions | Retained per platform retention policy | Retained per platform retention policy |
|
|
185
185
|
*
|
|
186
186
|
* **In transit:** TLS 1.2+ everywhere. **At rest:** AES-256 (server-side encryption).
|
|
@@ -180,7 +180,7 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
180
180
|
* |---|---|---|
|
|
181
181
|
* | Attachment bytes | Retained until you `DELETE` | **Auto-removed within roughly 24–48 hours** of upload, independently of any message window. Also removable via `DELETE` |
|
|
182
182
|
* | Attachment metadata (id, filename, mime type, size) | Retained until you `DELETE` | Removed alongside the bytes |
|
|
183
|
-
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message and
|
|
183
|
+
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message's text, formatting, and attachment references are no longer retrievable through the API after that account's configured retention window (60 minutes – 24 hours, default 24 hours) from creation. Metadata is retained; see the Messages page for details |
|
|
184
184
|
* | Audit log of deletions | Retained per platform retention policy | Retained per platform retention policy |
|
|
185
185
|
*
|
|
186
186
|
* **In transit:** TLS 1.2+ everywhere. **At rest:** AES-256 (server-side encryption).
|
package/resources/attachments.js
CHANGED
|
@@ -184,7 +184,7 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
184
184
|
* |---|---|---|
|
|
185
185
|
* | Attachment bytes | Retained until you `DELETE` | **Auto-removed within roughly 24–48 hours** of upload, independently of any message window. Also removable via `DELETE` |
|
|
186
186
|
* | Attachment metadata (id, filename, mime type, size) | Retained until you `DELETE` | Removed alongside the bytes |
|
|
187
|
-
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message and
|
|
187
|
+
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message's text, formatting, and attachment references are no longer retrievable through the API after that account's configured retention window (60 minutes – 24 hours, default 24 hours) from creation. Metadata is retained; see the Messages page for details |
|
|
188
188
|
* | Audit log of deletions | Retained per platform retention policy | Retained per platform retention policy |
|
|
189
189
|
*
|
|
190
190
|
* **In transit:** TLS 1.2+ everywhere. **At rest:** AES-256 (server-side encryption).
|
|
@@ -181,7 +181,7 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
181
181
|
* |---|---|---|
|
|
182
182
|
* | Attachment bytes | Retained until you `DELETE` | **Auto-removed within roughly 24–48 hours** of upload, independently of any message window. Also removable via `DELETE` |
|
|
183
183
|
* | Attachment metadata (id, filename, mime type, size) | Retained until you `DELETE` | Removed alongside the bytes |
|
|
184
|
-
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message and
|
|
184
|
+
* | Message body & parts | Retained per message-retention policy | Retained per message-retention policy — unless the line also has **ephemeral messages** enabled (see the Messages page), in which case the message's text, formatting, and attachment references are no longer retrievable through the API after that account's configured retention window (60 minutes – 24 hours, default 24 hours) from creation. Metadata is retained; see the Messages page for details |
|
|
185
185
|
* | Audit log of deletions | Retained per platform retention policy | Retained per platform retention policy |
|
|
186
186
|
*
|
|
187
187
|
* **In transit:** TLS 1.2+ everywhere. **At rest:** AES-256 (server-side encryption).
|
|
@@ -28,7 +28,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
28
28
|
*
|
|
29
29
|
* ## Ephemeral Messages (Privacy Tier)
|
|
30
30
|
*
|
|
31
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
31
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
32
32
|
*
|
|
33
33
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
34
34
|
*
|
|
@@ -36,16 +36,16 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
36
36
|
*
|
|
37
37
|
* | Scope | Effect |
|
|
38
38
|
* |---|---|
|
|
39
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
40
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
39
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
40
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
41
41
|
*
|
|
42
42
|
* **Behavioral differences vs the standard default:**
|
|
43
43
|
*
|
|
44
44
|
* | Aspect | Standard | Ephemeral |
|
|
45
45
|
* |---|---|---|
|
|
46
46
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
47
|
-
* | After expiry | Message stays retrievable | Message is
|
|
48
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
47
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
48
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
49
49
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
50
50
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
51
51
|
*
|
|
@@ -60,7 +60,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
60
60
|
*
|
|
61
61
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
62
62
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
63
|
-
* - **The backstop
|
|
63
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
64
64
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
65
65
|
*
|
|
66
66
|
* **When to choose ephemeral:**
|
|
@@ -28,7 +28,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
28
28
|
*
|
|
29
29
|
* ## Ephemeral Messages (Privacy Tier)
|
|
30
30
|
*
|
|
31
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
31
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
32
32
|
*
|
|
33
33
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
34
34
|
*
|
|
@@ -36,16 +36,16 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
36
36
|
*
|
|
37
37
|
* | Scope | Effect |
|
|
38
38
|
* |---|---|
|
|
39
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
40
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
39
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
40
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
41
41
|
*
|
|
42
42
|
* **Behavioral differences vs the standard default:**
|
|
43
43
|
*
|
|
44
44
|
* | Aspect | Standard | Ephemeral |
|
|
45
45
|
* |---|---|---|
|
|
46
46
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
47
|
-
* | After expiry | Message stays retrievable | Message is
|
|
48
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
47
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
48
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
49
49
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
50
50
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
51
51
|
*
|
|
@@ -60,7 +60,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
60
60
|
*
|
|
61
61
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
62
62
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
63
|
-
* - **The backstop
|
|
63
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
64
64
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
65
65
|
*
|
|
66
66
|
* **When to choose ephemeral:**
|
|
@@ -27,7 +27,7 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
27
27
|
*
|
|
28
28
|
* ## Ephemeral Messages (Privacy Tier)
|
|
29
29
|
*
|
|
30
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
30
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
31
31
|
*
|
|
32
32
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
33
33
|
*
|
|
@@ -35,16 +35,16 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
35
35
|
*
|
|
36
36
|
* | Scope | Effect |
|
|
37
37
|
* |---|---|
|
|
38
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
39
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
38
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
39
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
40
40
|
*
|
|
41
41
|
* **Behavioral differences vs the standard default:**
|
|
42
42
|
*
|
|
43
43
|
* | Aspect | Standard | Ephemeral |
|
|
44
44
|
* |---|---|---|
|
|
45
45
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
46
|
-
* | After expiry | Message stays retrievable | Message is
|
|
47
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
46
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
47
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
48
48
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
49
49
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
50
50
|
*
|
|
@@ -59,7 +59,7 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
59
59
|
*
|
|
60
60
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
61
61
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
62
|
-
* - **The backstop
|
|
62
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
63
63
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
64
64
|
*
|
|
65
65
|
* **When to choose ephemeral:**
|
|
@@ -24,7 +24,7 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
24
24
|
*
|
|
25
25
|
* ## Ephemeral Messages (Privacy Tier)
|
|
26
26
|
*
|
|
27
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
27
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
28
28
|
*
|
|
29
29
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
30
30
|
*
|
|
@@ -32,16 +32,16 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
32
32
|
*
|
|
33
33
|
* | Scope | Effect |
|
|
34
34
|
* |---|---|
|
|
35
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
36
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
35
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
36
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
37
37
|
*
|
|
38
38
|
* **Behavioral differences vs the standard default:**
|
|
39
39
|
*
|
|
40
40
|
* | Aspect | Standard | Ephemeral |
|
|
41
41
|
* |---|---|---|
|
|
42
42
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
43
|
-
* | After expiry | Message stays retrievable | Message is
|
|
44
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
43
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
44
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
45
45
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
46
46
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
47
47
|
*
|
|
@@ -56,7 +56,7 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
56
56
|
*
|
|
57
57
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
58
58
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
59
|
-
* - **The backstop
|
|
59
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
60
60
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
61
61
|
*
|
|
62
62
|
* **When to choose ephemeral:**
|
|
@@ -24,7 +24,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
24
24
|
*
|
|
25
25
|
* ## Ephemeral Messages (Privacy Tier)
|
|
26
26
|
*
|
|
27
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
27
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
28
28
|
*
|
|
29
29
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
30
30
|
*
|
|
@@ -32,16 +32,16 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
32
32
|
*
|
|
33
33
|
* | Scope | Effect |
|
|
34
34
|
* |---|---|
|
|
35
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
36
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
35
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
36
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
37
37
|
*
|
|
38
38
|
* **Behavioral differences vs the standard default:**
|
|
39
39
|
*
|
|
40
40
|
* | Aspect | Standard | Ephemeral |
|
|
41
41
|
* |---|---|---|
|
|
42
42
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
43
|
-
* | After expiry | Message stays retrievable | Message is
|
|
44
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
43
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
44
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
45
45
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
46
46
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
47
47
|
*
|
|
@@ -56,7 +56,7 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
56
56
|
*
|
|
57
57
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
58
58
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
59
|
-
* - **The backstop
|
|
59
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
60
60
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
61
61
|
*
|
|
62
62
|
* **When to choose ephemeral:**
|
|
@@ -24,7 +24,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
24
24
|
*
|
|
25
25
|
* ## Ephemeral Messages (Privacy Tier)
|
|
26
26
|
*
|
|
27
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
27
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
28
28
|
*
|
|
29
29
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
30
30
|
*
|
|
@@ -32,16 +32,16 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
32
32
|
*
|
|
33
33
|
* | Scope | Effect |
|
|
34
34
|
* |---|---|
|
|
35
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
36
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
35
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
36
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
37
37
|
*
|
|
38
38
|
* **Behavioral differences vs the standard default:**
|
|
39
39
|
*
|
|
40
40
|
* | Aspect | Standard | Ephemeral |
|
|
41
41
|
* |---|---|---|
|
|
42
42
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
43
|
-
* | After expiry | Message stays retrievable | Message is
|
|
44
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
43
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
44
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
45
45
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
46
46
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
47
47
|
*
|
|
@@ -56,7 +56,7 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
56
56
|
*
|
|
57
57
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
58
58
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
59
|
-
* - **The backstop
|
|
59
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
60
60
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
61
61
|
*
|
|
62
62
|
* **When to choose ephemeral:**
|
package/resources/chats/polls.js
CHANGED
|
@@ -26,7 +26,7 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
26
26
|
*
|
|
27
27
|
* ## Ephemeral Messages (Privacy Tier)
|
|
28
28
|
*
|
|
29
|
-
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account
|
|
29
|
+
* For regulated or sensitive conversations, opt in to the **ephemeral messages** tier by contacting your Linq support contact. When enabled, every message on the covered phone numbers is given a **retention window configured for your account**. After that window, the message's text, formatting, and attachment references are no longer retrievable through the API — see the Attachments row below for how the attachment media itself is handled. Metadata about the message is retained: message identifiers, timestamps, phone numbers, and delivery state. Metadata retention is not bounded by this window. Bounded operational copies, such as backups and delivery queues, expire on their own separate schedules. There is no per-message flag; ephemerality is applied automatically based on your configuration.
|
|
30
30
|
*
|
|
31
31
|
* The window can be set anywhere from **60 minutes to 24 hours**, and defaults to **24 hours**. Ask your Linq support contact to configure a shorter window; it cannot be changed through the API.
|
|
32
32
|
*
|
|
@@ -34,16 +34,16 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
34
34
|
*
|
|
35
35
|
* | Scope | Effect |
|
|
36
36
|
* |---|---|
|
|
37
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
38
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
37
|
+
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account has its content removed from the API surface after your configured window. Metadata is retained. |
|
|
38
|
+
* | **Per phone number** | Only the specified phone numbers have message content removed from the API surface this way. The rest follow the standard message-retention policy. |
|
|
39
39
|
*
|
|
40
40
|
* **Behavioral differences vs the standard default:**
|
|
41
41
|
*
|
|
42
42
|
* | Aspect | Standard | Ephemeral |
|
|
43
43
|
* |---|---|---|
|
|
44
44
|
* | Retention | Retained per the standard message-retention policy | **Hard backstop: your configured window** (60 minutes – 24 hours, default 24 hours) from when the message is created |
|
|
45
|
-
* | After expiry | Message stays retrievable | Message is
|
|
46
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
45
|
+
* | After expiry | Message stays retrievable | Message content is no longer retrievable — `GET /v3/messages/{messageId}` returns `404` and it no longer appears in `GET /v3/chats/{chatId}/messages` |
|
|
46
|
+
* | Content on expiry | N/A | Text, formatting, and attachment references are removed from the API surface, not blanked out in place. Metadata (identifiers, timestamps, phone numbers, delivery state) is retained; its retention is not bounded by this window |
|
|
47
47
|
* | Attachments | Retained | Media sent on the **ephemeral attachments tier** is removed on its own storage backstop — within roughly 24–48 hours of upload — independently of the message window, so it can outlast a window shorter than a day. Attachments on the persistent tier (including pre-uploads via `POST /v3/attachments`) are kept until you `DELETE` them |
|
|
48
48
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
49
49
|
*
|
|
@@ -58,7 +58,7 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
58
58
|
*
|
|
59
59
|
* - **No expiry timestamp is exposed.** API responses and webhook payloads do not include the deletion time, and they do not report your configured window either — so if you are on a window shorter than 24 hours you cannot derive a message's expiry from the API today. Track the window you agreed with your Linq support contact and compute `created_at + window` yourself.
|
|
60
60
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
61
|
-
* - **The backstop
|
|
61
|
+
* - **The attachment backstop is separate from the message window.** API retrievability (the `404` behavior above) ends at your configured window. Ephemeral-tier media objects are removed on their own storage backstop — within roughly 24–48 hours of upload — which is independent of the message window and can outlast a window shorter than a day. Removal of the corresponding entries from the sending device happens asynchronously and can complete after the backstop.
|
|
62
62
|
* - **Delivery is unaffected.** Ephemeral messages send, deliver, and fire the usual `message.sent` / `message.received` and status webhooks exactly like standard messages. Only retention changes.
|
|
63
63
|
*
|
|
64
64
|
* **When to choose ephemeral:**
|