@getlatedev/node 0.2.440 → 0.2.442
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +9 -0
- package/src/generated/types.gen.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -5546,7 +5546,7 @@ type kind = 'pixel' | 'tag' | 'insight_tag';
|
|
|
5546
5546
|
*/
|
|
5547
5547
|
type TwitterPlatformData = {
|
|
5548
5548
|
/**
|
|
5549
|
-
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
5549
|
+
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally. X only permits replying to your own posts or posts you are mentioned in; replying to an arbitrary other account's post is rejected by X.
|
|
5550
5550
|
*/
|
|
5551
5551
|
replyToTweetId?: string;
|
|
5552
5552
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -5546,7 +5546,7 @@ type kind = 'pixel' | 'tag' | 'insight_tag';
|
|
|
5546
5546
|
*/
|
|
5547
5547
|
type TwitterPlatformData = {
|
|
5548
5548
|
/**
|
|
5549
|
-
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
5549
|
+
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally. X only permits replying to your own posts or posts you are mentioned in; replying to an arbitrary other account's post is rejected by X.
|
|
5550
5550
|
*/
|
|
5551
5551
|
replyToTweetId?: string;
|
|
5552
5552
|
/**
|
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.
|
|
39
|
+
version: "0.2.442",
|
|
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.
|
|
8
|
+
version: "0.2.442",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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
|
|
@@ -4550,7 +4550,7 @@ export type kind = 'pixel' | 'tag' | 'insight_tag';
|
|
|
4550
4550
|
*/
|
|
4551
4551
|
export type TwitterPlatformData = {
|
|
4552
4552
|
/**
|
|
4553
|
-
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
|
|
4553
|
+
* ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally. X only permits replying to your own posts or posts you are mentioned in; replying to an arbitrary other account's post is rejected by X.
|
|
4554
4554
|
*/
|
|
4555
4555
|
replyToTweetId?: string;
|
|
4556
4556
|
/**
|