@getlatedev/node 0.2.1131 → 0.2.1133
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 +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -2
package/dist/index.d.mts
CHANGED
|
@@ -2693,8 +2693,11 @@ type AdDailyMetrics = AdMetrics & {
|
|
|
2693
2693
|
* Populated for Meta and, since 2026-08, TikTok (`reactions` = paid
|
|
2694
2694
|
* likes, `comments`, `shares`; TikTok's `follow` count lives in
|
|
2695
2695
|
* `actions.follow`, not here). Other platforms leave these at 0.
|
|
2696
|
-
* TikTok history note:
|
|
2697
|
-
*
|
|
2696
|
+
* TikTok history note: these splits were added in 2026-08 and only
|
|
2697
|
+
* the last 7 days are re-fetched on each sync (a stopped ad keeps
|
|
2698
|
+
* syncing until its last delivery day is 7 days old), so days
|
|
2699
|
+
* stored before the rollout keep 0s here. Spend, impressions,
|
|
2700
|
+
* clicks and conversions are not affected.
|
|
2698
2701
|
*
|
|
2699
2702
|
*/
|
|
2700
2703
|
type AdEngagementCounts = {
|
|
@@ -21172,6 +21175,10 @@ type GetConnectUrlData = {
|
|
|
21172
21175
|
* Only connect if the authorized account's handle is this one (case-insensitive, a leading @ is ignored); otherwise the flow ends with `error=account_mismatch`, `error_message` naming the handle that was authorized, and nothing is written. Same coverage and transport as expectedPlatformUserId; when both are sent both must match. Use this on a first connection, where you hold the handle the user typed but no Zernio id yet.
|
|
21173
21176
|
*/
|
|
21174
21177
|
expectedUsername?: string;
|
|
21178
|
+
/**
|
|
21179
|
+
* Instagram Login only (the default loginMethod); ignored elsewhere. Makes Instagram show its login page and ask for the credentials of the account to connect even when another Instagram account is logged in on the device or in the app, and hides the Facebook login option on that page. Use it when the person connecting manages several Instagram accounts on one phone: Instagram otherwise logs in, and converts to a professional account, whichever account is active, before any consent screen. Pair it with expectedUsername to also refuse a wrong account at the end.
|
|
21180
|
+
*/
|
|
21181
|
+
forceReauth?: boolean;
|
|
21175
21182
|
/**
|
|
21176
21183
|
* When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
|
|
21177
21184
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2693,8 +2693,11 @@ type AdDailyMetrics = AdMetrics & {
|
|
|
2693
2693
|
* Populated for Meta and, since 2026-08, TikTok (`reactions` = paid
|
|
2694
2694
|
* likes, `comments`, `shares`; TikTok's `follow` count lives in
|
|
2695
2695
|
* `actions.follow`, not here). Other platforms leave these at 0.
|
|
2696
|
-
* TikTok history note:
|
|
2697
|
-
*
|
|
2696
|
+
* TikTok history note: these splits were added in 2026-08 and only
|
|
2697
|
+
* the last 7 days are re-fetched on each sync (a stopped ad keeps
|
|
2698
|
+
* syncing until its last delivery day is 7 days old), so days
|
|
2699
|
+
* stored before the rollout keep 0s here. Spend, impressions,
|
|
2700
|
+
* clicks and conversions are not affected.
|
|
2698
2701
|
*
|
|
2699
2702
|
*/
|
|
2700
2703
|
type AdEngagementCounts = {
|
|
@@ -21172,6 +21175,10 @@ type GetConnectUrlData = {
|
|
|
21172
21175
|
* Only connect if the authorized account's handle is this one (case-insensitive, a leading @ is ignored); otherwise the flow ends with `error=account_mismatch`, `error_message` naming the handle that was authorized, and nothing is written. Same coverage and transport as expectedPlatformUserId; when both are sent both must match. Use this on a first connection, where you hold the handle the user typed but no Zernio id yet.
|
|
21173
21176
|
*/
|
|
21174
21177
|
expectedUsername?: string;
|
|
21178
|
+
/**
|
|
21179
|
+
* Instagram Login only (the default loginMethod); ignored elsewhere. Makes Instagram show its login page and ask for the credentials of the account to connect even when another Instagram account is logged in on the device or in the app, and hides the Facebook login option on that page. Use it when the person connecting manages several Instagram accounts on one phone: Instagram otherwise logs in, and converts to a professional account, whichever account is active, before any consent screen. Pair it with expectedUsername to also refuse a wrong account at the end.
|
|
21180
|
+
*/
|
|
21181
|
+
forceReauth?: boolean;
|
|
21175
21182
|
/**
|
|
21176
21183
|
* When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
|
|
21177
21184
|
*/
|
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.1133",
|
|
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.1133",
|
|
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
|
@@ -713,8 +713,11 @@ export type AdDailyMetrics = AdMetrics & {
|
|
|
713
713
|
* Populated for Meta and, since 2026-08, TikTok (`reactions` = paid
|
|
714
714
|
* likes, `comments`, `shares`; TikTok's `follow` count lives in
|
|
715
715
|
* `actions.follow`, not here). Other platforms leave these at 0.
|
|
716
|
-
* TikTok history note:
|
|
717
|
-
*
|
|
716
|
+
* TikTok history note: these splits were added in 2026-08 and only
|
|
717
|
+
* the last 7 days are re-fetched on each sync (a stopped ad keeps
|
|
718
|
+
* syncing until its last delivery day is 7 days old), so days
|
|
719
|
+
* stored before the rollout keep 0s here. Spend, impressions,
|
|
720
|
+
* clicks and conversions are not affected.
|
|
718
721
|
*
|
|
719
722
|
*/
|
|
720
723
|
export type AdEngagementCounts = {
|
|
@@ -20123,6 +20126,10 @@ export type GetConnectUrlData = {
|
|
|
20123
20126
|
* Only connect if the authorized account's handle is this one (case-insensitive, a leading @ is ignored); otherwise the flow ends with `error=account_mismatch`, `error_message` naming the handle that was authorized, and nothing is written. Same coverage and transport as expectedPlatformUserId; when both are sent both must match. Use this on a first connection, where you hold the handle the user typed but no Zernio id yet.
|
|
20124
20127
|
*/
|
|
20125
20128
|
expectedUsername?: string;
|
|
20129
|
+
/**
|
|
20130
|
+
* Instagram Login only (the default loginMethod); ignored elsewhere. Makes Instagram show its login page and ask for the credentials of the account to connect even when another Instagram account is logged in on the device or in the app, and hides the Facebook login option on that page. Use it when the person connecting manages several Instagram accounts on one phone: Instagram otherwise logs in, and converts to a professional account, whichever account is active, before any consent screen. Pair it with expectedUsername to also refuse a wrong account at the end.
|
|
20131
|
+
*/
|
|
20132
|
+
forceReauth?: boolean;
|
|
20126
20133
|
/**
|
|
20127
20134
|
* When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
|
|
20128
20135
|
*/
|