@linqapp/sdk 0.55.1 → 0.55.2
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 +7 -0
- package/client.d.mts +7 -7
- package/client.d.ts +7 -7
- package/client.js +7 -7
- package/client.mjs +7 -7
- 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/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/src/client.ts +7 -7
- 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/messages/messages.ts +6 -6
- package/src/resources/messages/poll.ts +6 -6
- 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
|
@@ -28,7 +28,7 @@ import { path } from '../../internal/utils/path';
|
|
|
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 { path } from '../../internal/utils/path';
|
|
|
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 { path } from '../../internal/utils/path';
|
|
|
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:**
|
|
@@ -38,7 +38,7 @@ import { path } from '../../internal/utils/path';
|
|
|
38
38
|
*
|
|
39
39
|
* ## Ephemeral Messages (Privacy Tier)
|
|
40
40
|
*
|
|
41
|
-
* 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
|
|
41
|
+
* 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.
|
|
42
42
|
*
|
|
43
43
|
* 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.
|
|
44
44
|
*
|
|
@@ -46,16 +46,16 @@ import { path } from '../../internal/utils/path';
|
|
|
46
46
|
*
|
|
47
47
|
* | Scope | Effect |
|
|
48
48
|
* |---|---|
|
|
49
|
-
* | **Partner-wide** | Every outbound and inbound message on every phone number under your account
|
|
50
|
-
* | **Per phone number** | Only the specified phone numbers have
|
|
49
|
+
* | **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. |
|
|
50
|
+
* | **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. |
|
|
51
51
|
*
|
|
52
52
|
* **Behavioral differences vs the standard default:**
|
|
53
53
|
*
|
|
54
54
|
* | Aspect | Standard | Ephemeral |
|
|
55
55
|
* |---|---|---|
|
|
56
56
|
* | 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 |
|
|
57
|
-
* | After expiry | Message stays retrievable | Message is
|
|
58
|
-
* | Content on expiry | N/A | Text, formatting, and attachment references are
|
|
57
|
+
* | 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` |
|
|
58
|
+
* | 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 |
|
|
59
59
|
* | 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 |
|
|
60
60
|
* | Cross-partner isolation | Enforced | Enforced |
|
|
61
61
|
*
|
|
@@ -70,7 +70,7 @@ import { path } from '../../internal/utils/path';
|
|
|
70
70
|
*
|
|
71
71
|
* - **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.
|
|
72
72
|
* - **No deletion webhook is sent.** There is no `message.deleted` event — a message simply stops being retrievable once its window passes.
|
|
73
|
-
* - **The backstop
|
|
73
|
+
* - **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.
|
|
74
74
|
* - **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.
|
|
75
75
|
*
|
|
76
76
|
* **When to choose ephemeral:**
|
|
@@ -28,7 +28,7 @@ import { path } from '../../internal/utils/path';
|
|
|
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 { path } from '../../internal/utils/path';
|
|
|
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 { path } from '../../internal/utils/path';
|
|
|
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:**
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.55.
|
|
1
|
+
export const VERSION = '0.55.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.55.
|
|
1
|
+
export declare const VERSION = "0.55.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.55.
|
|
1
|
+
export declare const VERSION = "0.55.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.55.
|
|
1
|
+
export const VERSION = '0.55.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|