@getlatedev/node 0.2.1152 → 0.2.1154
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 +3 -3
- package/dist/index.d.ts +3 -3
- 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 +3 -3
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);
|
|
@@ -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);
|
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);
|
|
@@ -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);
|
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.1154",
|
|
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.1154",
|
|
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
|
@@ -9055,7 +9055,7 @@ export const getWorkflow = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
9055
9055
|
|
|
9056
9056
|
/**
|
|
9057
9057
|
* Update workflow
|
|
9058
|
-
* Update name, description, the graph, or reassign to a different account. The graph can
|
|
9058
|
+
* Update name, description, the graph, or reassign to a different account. The graph can be modified in any status, including `active`: a run already in progress reloads the saved graph at its next step, and a run parked on a node the edit removed completes instead of failing. Every graph edit is re-validated and an invalid graph answers 400 regardless of status. `status` is not a field of this request; use the activate and pause endpoints. Account swaps re-validate the graph against the new platform (so e.g. moving from WhatsApp to Facebook surfaces a `start_call` node as an error instead of silently saving an unrunnable graph).
|
|
9059
9059
|
*
|
|
9060
9060
|
*/
|
|
9061
9061
|
export const updateWorkflow = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateWorkflowData, ThrowOnError>) => {
|
|
@@ -9182,7 +9182,7 @@ export const getWorkflowVersion = <ThrowOnError extends boolean = false>(options
|
|
|
9182
9182
|
|
|
9183
9183
|
/**
|
|
9184
9184
|
* Restore a workflow version
|
|
9185
|
-
* Replace the current graph with the named version's snapshot. Before the swap, the current graph is itself snapshotted as a new version, so a restore is reversible. The workflow must be
|
|
9185
|
+
* Replace the current graph with the named version's snapshot. Before the swap, the current graph is itself snapshotted as a new version, so a restore is reversible. The workflow must not be `active`: pause it first, then restore. The returned workflow carries `restoredFromVersion` so the UI can surface which version was rolled back to.
|
|
9186
9186
|
*
|
|
9187
9187
|
*/
|
|
9188
9188
|
export const restoreWorkflowVersion = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RestoreWorkflowVersionData, ThrowOnError>) => {
|
|
@@ -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);
|
|
@@ -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);
|