@getlatedev/node 0.2.1137 → 0.2.1139
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 +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +13 -1
package/dist/index.d.mts
CHANGED
|
@@ -799,7 +799,7 @@ declare class Zernio {
|
|
|
799
799
|
*/
|
|
800
800
|
phonenumbers: {
|
|
801
801
|
listPhoneNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPhoneNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPhoneNumbersResponse, ErrorResponse, ThrowOnError>;
|
|
802
|
-
getPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberResponse,
|
|
802
|
+
getPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberResponse, unknown, ThrowOnError>;
|
|
803
803
|
releasePhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReleasePhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReleasePhoneNumberResponse, unknown, ThrowOnError>;
|
|
804
804
|
purchasePhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PurchasePhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PurchasePhoneNumberResponse, unknown, ThrowOnError>;
|
|
805
805
|
getPhoneNumberClaim: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberClaimData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberClaimResponse, unknown, ThrowOnError>;
|
|
@@ -3038,6 +3038,18 @@ type AdMetrics = {
|
|
|
3038
3038
|
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
3039
3039
|
*/
|
|
3040
3040
|
videoP100WatchedActions?: number;
|
|
3041
|
+
/**
|
|
3042
|
+
* Plays of at least 2 seconds, replays excluded. Hook rate = video2SecWatchedActions / impressions. Sources: TikTok `video_watched_2s` (TikTok only; Meta's closest field, 2-second continuous plays, is not synced). TikTok history note: added 2026-10, and each sync re-fetches only the last 7 days, so older days read 0.
|
|
3043
|
+
*/
|
|
3044
|
+
video2SecWatchedActions?: number;
|
|
3045
|
+
/**
|
|
3046
|
+
* Plays of at least 6 seconds, replays excluded. Hold rate = video6SecWatchedActions / video2SecWatchedActions. Sources: TikTok `video_watched_6s` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
3047
|
+
*/
|
|
3048
|
+
video6SecWatchedActions?: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* TikTok's 6-second focused views: plays of at least 6 seconds (or to the end, for shorter videos) or with an interaction in the first 6 seconds, so it is at least `video6SecWatchedActions`. Sources: TikTok `engaged_view` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
3051
|
+
*/
|
|
3052
|
+
video6SecFocusedViews?: number;
|
|
3041
3053
|
/**
|
|
3042
3054
|
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
3043
3055
|
*/
|
|
@@ -34076,7 +34088,7 @@ type GetPhoneNumberResponse = ({
|
|
|
34076
34088
|
sipTrunkId?: (string) | null;
|
|
34077
34089
|
};
|
|
34078
34090
|
});
|
|
34079
|
-
type GetPhoneNumberError = (ErrorResponse | {
|
|
34091
|
+
type GetPhoneNumberError = (ErrorResponse | unknown | {
|
|
34080
34092
|
error?: string;
|
|
34081
34093
|
});
|
|
34082
34094
|
type ReleasePhoneNumberData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -799,7 +799,7 @@ declare class Zernio {
|
|
|
799
799
|
*/
|
|
800
800
|
phonenumbers: {
|
|
801
801
|
listPhoneNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPhoneNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPhoneNumbersResponse, ErrorResponse, ThrowOnError>;
|
|
802
|
-
getPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberResponse,
|
|
802
|
+
getPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberResponse, unknown, ThrowOnError>;
|
|
803
803
|
releasePhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReleasePhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReleasePhoneNumberResponse, unknown, ThrowOnError>;
|
|
804
804
|
purchasePhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PurchasePhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PurchasePhoneNumberResponse, unknown, ThrowOnError>;
|
|
805
805
|
getPhoneNumberClaim: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPhoneNumberClaimData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPhoneNumberClaimResponse, unknown, ThrowOnError>;
|
|
@@ -3038,6 +3038,18 @@ type AdMetrics = {
|
|
|
3038
3038
|
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
3039
3039
|
*/
|
|
3040
3040
|
videoP100WatchedActions?: number;
|
|
3041
|
+
/**
|
|
3042
|
+
* Plays of at least 2 seconds, replays excluded. Hook rate = video2SecWatchedActions / impressions. Sources: TikTok `video_watched_2s` (TikTok only; Meta's closest field, 2-second continuous plays, is not synced). TikTok history note: added 2026-10, and each sync re-fetches only the last 7 days, so older days read 0.
|
|
3043
|
+
*/
|
|
3044
|
+
video2SecWatchedActions?: number;
|
|
3045
|
+
/**
|
|
3046
|
+
* Plays of at least 6 seconds, replays excluded. Hold rate = video6SecWatchedActions / video2SecWatchedActions. Sources: TikTok `video_watched_6s` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
3047
|
+
*/
|
|
3048
|
+
video6SecWatchedActions?: number;
|
|
3049
|
+
/**
|
|
3050
|
+
* TikTok's 6-second focused views: plays of at least 6 seconds (or to the end, for shorter videos) or with an interaction in the first 6 seconds, so it is at least `video6SecWatchedActions`. Sources: TikTok `engaged_view` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
3051
|
+
*/
|
|
3052
|
+
video6SecFocusedViews?: number;
|
|
3041
3053
|
/**
|
|
3042
3054
|
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
3043
3055
|
*/
|
|
@@ -34076,7 +34088,7 @@ type GetPhoneNumberResponse = ({
|
|
|
34076
34088
|
sipTrunkId?: (string) | null;
|
|
34077
34089
|
};
|
|
34078
34090
|
});
|
|
34079
|
-
type GetPhoneNumberError = (ErrorResponse | {
|
|
34091
|
+
type GetPhoneNumberError = (ErrorResponse | unknown | {
|
|
34080
34092
|
error?: string;
|
|
34081
34093
|
});
|
|
34082
34094
|
type ReleasePhoneNumberData = {
|
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.1139",
|
|
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.1139",
|
|
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
|
@@ -1060,6 +1060,18 @@ export type AdMetrics = {
|
|
|
1060
1060
|
* Views reaching 100% of the video's length. Sources: Meta `video_p100_watched_actions`, TikTok `video_views_p100`.
|
|
1061
1061
|
*/
|
|
1062
1062
|
videoP100WatchedActions?: number;
|
|
1063
|
+
/**
|
|
1064
|
+
* Plays of at least 2 seconds, replays excluded. Hook rate = video2SecWatchedActions / impressions. Sources: TikTok `video_watched_2s` (TikTok only; Meta's closest field, 2-second continuous plays, is not synced). TikTok history note: added 2026-10, and each sync re-fetches only the last 7 days, so older days read 0.
|
|
1065
|
+
*/
|
|
1066
|
+
video2SecWatchedActions?: number;
|
|
1067
|
+
/**
|
|
1068
|
+
* Plays of at least 6 seconds, replays excluded. Hold rate = video6SecWatchedActions / video2SecWatchedActions. Sources: TikTok `video_watched_6s` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
1069
|
+
*/
|
|
1070
|
+
video6SecWatchedActions?: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* TikTok's 6-second focused views: plays of at least 6 seconds (or to the end, for shorter videos) or with an interaction in the first 6 seconds, so it is at least `video6SecWatchedActions`. Sources: TikTok `engaged_view` (TikTok only). Same history note as `video2SecWatchedActions`.
|
|
1073
|
+
*/
|
|
1074
|
+
video6SecFocusedViews?: number;
|
|
1063
1075
|
/**
|
|
1064
1076
|
* Average seconds watched per play. Aggregated over date ranges and across children as a play-weighted average (total watch time / total plays), never a plain average of averages. Sources: Meta `video_avg_time_watched_actions`, TikTok `average_video_play`.
|
|
1065
1077
|
*/
|
|
@@ -34010,7 +34022,7 @@ export type GetPhoneNumberResponse = ({
|
|
|
34010
34022
|
};
|
|
34011
34023
|
});
|
|
34012
34024
|
|
|
34013
|
-
export type GetPhoneNumberError = (ErrorResponse | {
|
|
34025
|
+
export type GetPhoneNumberError = (ErrorResponse | unknown | {
|
|
34014
34026
|
error?: string;
|
|
34015
34027
|
});
|
|
34016
34028
|
|