@getlatedev/node 0.2.439 → 0.2.441

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/dist/index.d.mts CHANGED
@@ -18445,9 +18445,9 @@ type StartSmsRegistrationData = {
18445
18445
  body: {
18446
18446
  registrationType: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
18447
18447
  /**
18448
- * Your numbers this registration covers.
18448
+ * Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.
18449
18449
  */
18450
- phoneNumbers: Array<(string)>;
18450
+ phoneNumbers?: Array<(string)>;
18451
18451
  /**
18452
18452
  * Required for 10DLC. The legal entity behind the traffic (TCR brand).
18453
18453
  */
package/dist/index.d.ts CHANGED
@@ -18445,9 +18445,9 @@ type StartSmsRegistrationData = {
18445
18445
  body: {
18446
18446
  registrationType: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
18447
18447
  /**
18448
- * Your numbers this registration covers.
18448
+ * Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.
18449
18449
  */
18450
- phoneNumbers: Array<(string)>;
18450
+ phoneNumbers?: Array<(string)>;
18451
18451
  /**
18452
18452
  * Required for 10DLC. The legal entity behind the traffic (TCR brand).
18453
18453
  */
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.439",
39
+ version: "0.2.441",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.439",
8
+ version: "0.2.441",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.439",
3
+ "version": "0.2.441",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2770,6 +2770,8 @@ export const listLogs = <ThrowOnError extends boolean = false>(options?: Options
2770
2770
  *
2771
2771
  * Twitter/X limitation: X has replaced traditional DMs with encrypted "X Chat" for many accounts. Messages sent or received through encrypted X Chat are not accessible via X's API (the /2/dm_events endpoint only returns legacy unencrypted DMs). This means some Twitter/X conversations may show only outgoing messages or appear empty. This is an X platform limitation that affects all third-party applications. See X's docs on encrypted messaging for more details.
2772
2772
  *
2773
+ * Instagram and Facebook pre-connect history: when one of these accounts is connected, Zernio replays the DM history the account already holds on Meta, so conversations that began before the account was connected appear here. Up to 500 conversations per account are replayed. The replay runs in the background and can finish after a listing you have already taken, and replayed conversations keep their original lastMessageAt, so they sort into date order rather than appearing at the top. If you mirror this endpoint into your own store, re-run the sweep rather than relying on a single pass at connect time. Replayed history emits no webhooks and is stored as already read, so it never affects unread counts. Threads that Meta refuses to serve are skipped, and an account whose Instagram "connected tools" message access is turned off is not replayed at all.
2774
+ *
2773
2775
  */
2774
2776
  export const listInboxConversations = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListInboxConversationsData, ThrowOnError>) => {
2775
2777
  return (options?.client ?? client).get<ListInboxConversationsResponse, ListInboxConversationsError, ThrowOnError>({
@@ -2864,6 +2866,13 @@ export const updateInboxConversation = <ThrowOnError extends boolean = false>(op
2864
2866
  * Reddit's inbox/sent windows (~100 most-recent items each); this is a
2865
2867
  * Reddit platform limitation.
2866
2868
  *
2869
+ * Instagram and Facebook conversations include history from before the
2870
+ * account was connected, replayed from Meta. That replay covers the 500
2871
+ * most recent messages per conversation: a longer thread keeps its newest
2872
+ * 500 and older messages are not retrievable. Messages that arrived after
2873
+ * the account was connected are unaffected. Replayed messages are stored
2874
+ * as already read and emit no webhooks.
2875
+ *
2867
2876
  * Twitter/X limitation: X's encrypted "X Chat" messages are not accessible via the API. Conversations where the other participant uses encrypted X Chat may only show your outgoing messages. See the list conversations endpoint for more details.
2868
2877
  *
2869
2878
  * This endpoint is read-only and does NOT mark messages as read or send
@@ -18340,9 +18340,9 @@ export type StartSmsRegistrationData = {
18340
18340
  body: {
18341
18341
  registrationType: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
18342
18342
  /**
18343
- * Your numbers this registration covers.
18343
+ * Your numbers this registration covers. When omitted or empty on a 10DLC registration, defaults to your active SMS-enabled US local numbers not already covered by another registration.
18344
18344
  */
18345
- phoneNumbers: Array<(string)>;
18345
+ phoneNumbers?: Array<(string)>;
18346
18346
  /**
18347
18347
  * Required for 10DLC. The legal entity behind the traffic (TCR brand).
18348
18348
  */