@getlatedev/node 0.2.1151 → 0.2.1153
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -2
- package/src/generated/types.gen.ts +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -3719,7 +3719,7 @@ type AnalyticsDeltaEntry = {
|
|
|
3719
3719
|
*/
|
|
3720
3720
|
replays?: number;
|
|
3721
3721
|
/**
|
|
3722
|
-
* Facebook Reels
|
|
3722
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms.
|
|
3723
3723
|
*/
|
|
3724
3724
|
retentionCurve?: {
|
|
3725
3725
|
[key: string]: (number);
|
|
@@ -11034,7 +11034,7 @@ type PostAnalytics = {
|
|
|
11034
11034
|
*/
|
|
11035
11035
|
replays?: number;
|
|
11036
11036
|
/**
|
|
11037
|
-
* Facebook Reels
|
|
11037
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose, on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays; loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app (TikTok video_view_retention): one point per whole second, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms. On a cross-posted post this is the curve of the account with the most views among those reporting one, never a blend: curves from different platforms and accounts measure different audiences and different seconds. Each platformAnalytics entry keeps its own curve.
|
|
11038
11038
|
*/
|
|
11039
11039
|
retentionCurve?: {
|
|
11040
11040
|
[key: string]: (number);
|
|
@@ -15152,7 +15152,7 @@ type WebhookPayloadMessage = {
|
|
|
15152
15152
|
*/
|
|
15153
15153
|
metadata?: {
|
|
15154
15154
|
/**
|
|
15155
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
15155
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
15156
15156
|
*/
|
|
15157
15157
|
standby?: boolean;
|
|
15158
15158
|
/**
|
|
@@ -19037,7 +19037,7 @@ type GetPostTimelineResponse = ({
|
|
|
19037
19037
|
*/
|
|
19038
19038
|
replays?: number;
|
|
19039
19039
|
/**
|
|
19040
|
-
* Facebook Reels
|
|
19040
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Values are as of this date; empty object for other media and platforms.
|
|
19041
19041
|
*/
|
|
19042
19042
|
retentionCurve?: {
|
|
19043
19043
|
[key: string]: (number);
|
|
@@ -29409,7 +29409,7 @@ type SetConversationThreadControlData = {
|
|
|
29409
29409
|
*/
|
|
29410
29410
|
accountId: string;
|
|
29411
29411
|
/**
|
|
29412
|
-
* `request` is Facebook and Instagram only.
|
|
29412
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
29413
29413
|
*/
|
|
29414
29414
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
29415
29415
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3719,7 +3719,7 @@ type AnalyticsDeltaEntry = {
|
|
|
3719
3719
|
*/
|
|
3720
3720
|
replays?: number;
|
|
3721
3721
|
/**
|
|
3722
|
-
* Facebook Reels
|
|
3722
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms.
|
|
3723
3723
|
*/
|
|
3724
3724
|
retentionCurve?: {
|
|
3725
3725
|
[key: string]: (number);
|
|
@@ -11034,7 +11034,7 @@ type PostAnalytics = {
|
|
|
11034
11034
|
*/
|
|
11035
11035
|
replays?: number;
|
|
11036
11036
|
/**
|
|
11037
|
-
* Facebook Reels
|
|
11037
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose, on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays; loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app (TikTok video_view_retention): one point per whole second, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms. On a cross-posted post this is the curve of the account with the most views among those reporting one, never a blend: curves from different platforms and accounts measure different audiences and different seconds. Each platformAnalytics entry keeps its own curve.
|
|
11038
11038
|
*/
|
|
11039
11039
|
retentionCurve?: {
|
|
11040
11040
|
[key: string]: (number);
|
|
@@ -15152,7 +15152,7 @@ type WebhookPayloadMessage = {
|
|
|
15152
15152
|
*/
|
|
15153
15153
|
metadata?: {
|
|
15154
15154
|
/**
|
|
15155
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
15155
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
15156
15156
|
*/
|
|
15157
15157
|
standby?: boolean;
|
|
15158
15158
|
/**
|
|
@@ -19037,7 +19037,7 @@ type GetPostTimelineResponse = ({
|
|
|
19037
19037
|
*/
|
|
19038
19038
|
replays?: number;
|
|
19039
19039
|
/**
|
|
19040
|
-
* Facebook Reels
|
|
19040
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Values are as of this date; empty object for other media and platforms.
|
|
19041
19041
|
*/
|
|
19042
19042
|
retentionCurve?: {
|
|
19043
19043
|
[key: string]: (number);
|
|
@@ -29409,7 +29409,7 @@ type SetConversationThreadControlData = {
|
|
|
29409
29409
|
*/
|
|
29410
29410
|
accountId: string;
|
|
29411
29411
|
/**
|
|
29412
|
-
* `request` is Facebook and Instagram only.
|
|
29412
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
29413
29413
|
*/
|
|
29414
29414
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
29415
29415
|
/**
|
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.1153",
|
|
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.1153",
|
|
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
|
@@ -4244,8 +4244,8 @@ export const sendTypingIndicator = <ThrowOnError extends boolean = false>(option
|
|
|
4244
4244
|
*
|
|
4245
4245
|
* **Facebook and Instagram** (Messenger Platform handover between the apps on the Page, such as Page Inbox):
|
|
4246
4246
|
* - `pass` with `targetAppId`: give the thread to another app (`pass_thread_control`). Page Inbox is 263902037430900.
|
|
4247
|
-
* - `take`: take the thread back (`take_thread_control`); Meta allows it only to the Page's primary receiver.
|
|
4248
|
-
* - `request`: ask the current owner to pass the thread (`request_thread_control`); nothing changes until it does.
|
|
4247
|
+
* - `take`: take the thread back (`take_thread_control`); Meta allows it only to the Page's primary receiver, and only on accounts connected through a Facebook Page. On an Instagram Login connection it answers 400 `platform_not_supported`.
|
|
4248
|
+
* - `request`: ask the current owner to pass the thread (`request_thread_control`); nothing changes until it does. Not available on Instagram Login connections (400 `platform_not_supported`).
|
|
4249
4249
|
* - `release`: give the thread back to the primary receiver (`release_thread_control`).
|
|
4250
4250
|
*
|
|
4251
4251
|
* While another app owns a Facebook or Instagram thread, inbound arrive with `metadata.standby: true` and a send answers 409 `not_thread_owner`. The conversation's `threadControl` follows the result; a `conversation.control_changed` webhook fires when Meta later reports the change.
|
|
@@ -1758,7 +1758,7 @@ export type AnalyticsDeltaEntry = {
|
|
|
1758
1758
|
*/
|
|
1759
1759
|
replays?: number;
|
|
1760
1760
|
/**
|
|
1761
|
-
* Facebook Reels
|
|
1761
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms.
|
|
1762
1762
|
*/
|
|
1763
1763
|
retentionCurve?: {
|
|
1764
1764
|
[key: string]: (number);
|
|
@@ -9423,7 +9423,7 @@ export type PostAnalytics = {
|
|
|
9423
9423
|
*/
|
|
9424
9424
|
replays?: number;
|
|
9425
9425
|
/**
|
|
9426
|
-
* Facebook Reels
|
|
9426
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose, on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays; loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app (TikTok video_view_retention): one point per whole second, at most 61 points, thinned evenly on videos longer than 60 s. Empty object for other media and platforms. On a cross-posted post this is the curve of the account with the most views among those reporting one, never a blend: curves from different platforms and accounts measure different audiences and different seconds. Each platformAnalytics entry keeps its own curve.
|
|
9427
9427
|
*/
|
|
9428
9428
|
retentionCurve?: {
|
|
9429
9429
|
[key: string]: (number);
|
|
@@ -13727,7 +13727,7 @@ export type WebhookPayloadMessage = {
|
|
|
13727
13727
|
*/
|
|
13728
13728
|
metadata?: {
|
|
13729
13729
|
/**
|
|
13730
|
-
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook and Instagram take control first with POST /v1/inbox/conversations/{conversationId}/thread-control. See conversation.control_changed.
|
|
13730
|
+
* true when this inbound arrived on Meta's standby path because another app owned the conversation: Meta Business Agent on WhatsApp, another handover receiver (such as Page Inbox) on Facebook and Instagram. That app answers it, Zernio only observes, and no automation runs. On WhatsApp sending a reply takes control back; on Facebook, and on Instagram accounts connected through a Facebook Page, take control first with POST /v1/inbox/conversations/{conversationId}/thread-control; an Instagram Login connection cannot take or request and waits for the owner to pass it. See conversation.control_changed.
|
|
13731
13731
|
*/
|
|
13732
13732
|
standby?: boolean;
|
|
13733
13733
|
/**
|
|
@@ -17798,7 +17798,7 @@ export type GetPostTimelineResponse = ({
|
|
|
17798
17798
|
*/
|
|
17799
17799
|
replays?: number;
|
|
17800
17800
|
/**
|
|
17801
|
-
* Facebook Reels
|
|
17801
|
+
* Facebook Reels and TikTok business lane: share still watching at each second of playback, fractions 0 to 1. Facebook Reels (Meta post_video_retention_graph): the base is a subset of plays that Meta selects and does not expose: on small Reels it can be far below views (6 of 51 measured), so a value is a share of that subset, not of all plays. Keys are whole seconds from the start of a play ("3" is the share still watching at 3 s). Loops count as continued playback, so a short Reels curve runs past its length (an 8 s Reel has keys "0" to "12"); Meta returns at most 41 points, so a long Reel covers only its first 40 s. TikTok accounts connected through the TikTok for Business app also fill it from TikTok video_view_retention: share still watching at each whole second, fractions 0 to 1, at most 61 points, thinned evenly on videos longer than 60 s. Values are as of this date; empty object for other media and platforms.
|
|
17802
17802
|
*/
|
|
17803
17803
|
retentionCurve?: {
|
|
17804
17804
|
[key: string]: (number);
|
|
@@ -28807,7 +28807,7 @@ export type SetConversationThreadControlData = {
|
|
|
28807
28807
|
*/
|
|
28808
28808
|
accountId: string;
|
|
28809
28809
|
/**
|
|
28810
|
-
* `request` is Facebook and Instagram only.
|
|
28810
|
+
* `request` is Facebook and Instagram only. `take` and `request` are refused with `platform_not_supported` on Instagram accounts connected with Instagram Login.
|
|
28811
28811
|
*/
|
|
28812
28812
|
action: 'release' | 'take' | 'pass' | 'request';
|
|
28813
28813
|
/**
|