@getlatedev/node 0.2.1443 → 0.2.1444
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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +12 -0
package/dist/index.d.mts
CHANGED
|
@@ -3305,6 +3305,15 @@ type AdFunnelCounts = {
|
|
|
3305
3305
|
* Messaging threads where the person sent a first reply.
|
|
3306
3306
|
*/
|
|
3307
3307
|
messagingFirstReplies?: number;
|
|
3308
|
+
/**
|
|
3309
|
+
* Booked appointments (Meta `Schedule` pixel event). Pair with `spend` for cost per booked meeting.
|
|
3310
|
+
*
|
|
3311
|
+
* **Meta** reports Schedule in its `conversions` insight field, never in `actions`. This takes the FIRST present of `offsite_conversion.fb_pixel_schedule`, `omni_schedule`, `app_custom_event.fb_mobile_schedule`, `onsite_conversion.schedule`, `schedule`, `schedule_total`, `schedule_mobile_app`, `schedule_website`, `schedule_offline`. With none of those, a single `offsite_schedule_add_<dataset>` key counts. Two such keys (two datasets) leave it at 0, since one booking can reach both.
|
|
3312
|
+
*
|
|
3313
|
+
* Added 2026-11-03. Days synced before then read 0 until re-fetched: each sync restates the last 30 days.
|
|
3314
|
+
*
|
|
3315
|
+
*/
|
|
3316
|
+
schedules?: number;
|
|
3308
3317
|
};
|
|
3309
3318
|
type AdKeyword = {
|
|
3310
3319
|
/**
|
|
@@ -3547,6 +3556,9 @@ type AdMetrics = {
|
|
|
3547
3556
|
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Keys differ by platform, so branch on the ad's platform when interpreting them. Empty object when no actions are reported.
|
|
3548
3557
|
*
|
|
3549
3558
|
* - Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...), covering both engagement and conversion events.
|
|
3559
|
+
* - Meta newer standard events (Schedule, SubmitApplication, Contact, StartTrial, Subscribe and the like) come only from Meta's `conversions` insight field, under keys such as schedule_total, schedule_website or offsite_schedule_add_<dataset>.
|
|
3560
|
+
* - Since 2026-11-03 every `conversions` key that `actions` lacks is added here, rounded per key, and its `conversion_values` value to `actionValues`. A key both fields report keeps its `actions` value.
|
|
3561
|
+
* - Days synced before 2026-11-03 lack those keys until re-fetched. Each sync restates the last 30 days.
|
|
3550
3562
|
* - TikTok: conversion events plus the paid-engagement family (follow, post_reaction for paid likes, comment, share). Follow is how FOLLOWERS-goal campaigns report their result.
|
|
3551
3563
|
* - TikTok website (pixel) events: complete_payment (website purchase, counted in `conversions` by SHOPPING-optimised campaigns), place_order, initiate_checkout, add_to_cart, view_content, lead (website form submissions plus TikTok instant-form leads).
|
|
3552
3564
|
* - TikTok place_order is Place an Order, the website purchase of pixels set up with the legacy ON_WEB_ORDER event. It is absent from days synced before this metric was added until the ad is re-synced.
|
package/dist/index.d.ts
CHANGED
|
@@ -3305,6 +3305,15 @@ type AdFunnelCounts = {
|
|
|
3305
3305
|
* Messaging threads where the person sent a first reply.
|
|
3306
3306
|
*/
|
|
3307
3307
|
messagingFirstReplies?: number;
|
|
3308
|
+
/**
|
|
3309
|
+
* Booked appointments (Meta `Schedule` pixel event). Pair with `spend` for cost per booked meeting.
|
|
3310
|
+
*
|
|
3311
|
+
* **Meta** reports Schedule in its `conversions` insight field, never in `actions`. This takes the FIRST present of `offsite_conversion.fb_pixel_schedule`, `omni_schedule`, `app_custom_event.fb_mobile_schedule`, `onsite_conversion.schedule`, `schedule`, `schedule_total`, `schedule_mobile_app`, `schedule_website`, `schedule_offline`. With none of those, a single `offsite_schedule_add_<dataset>` key counts. Two such keys (two datasets) leave it at 0, since one booking can reach both.
|
|
3312
|
+
*
|
|
3313
|
+
* Added 2026-11-03. Days synced before then read 0 until re-fetched: each sync restates the last 30 days.
|
|
3314
|
+
*
|
|
3315
|
+
*/
|
|
3316
|
+
schedules?: number;
|
|
3308
3317
|
};
|
|
3309
3318
|
type AdKeyword = {
|
|
3310
3319
|
/**
|
|
@@ -3547,6 +3556,9 @@ type AdMetrics = {
|
|
|
3547
3556
|
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Keys differ by platform, so branch on the ad's platform when interpreting them. Empty object when no actions are reported.
|
|
3548
3557
|
*
|
|
3549
3558
|
* - Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...), covering both engagement and conversion events.
|
|
3559
|
+
* - Meta newer standard events (Schedule, SubmitApplication, Contact, StartTrial, Subscribe and the like) come only from Meta's `conversions` insight field, under keys such as schedule_total, schedule_website or offsite_schedule_add_<dataset>.
|
|
3560
|
+
* - Since 2026-11-03 every `conversions` key that `actions` lacks is added here, rounded per key, and its `conversion_values` value to `actionValues`. A key both fields report keeps its `actions` value.
|
|
3561
|
+
* - Days synced before 2026-11-03 lack those keys until re-fetched. Each sync restates the last 30 days.
|
|
3550
3562
|
* - TikTok: conversion events plus the paid-engagement family (follow, post_reaction for paid likes, comment, share). Follow is how FOLLOWERS-goal campaigns report their result.
|
|
3551
3563
|
* - TikTok website (pixel) events: complete_payment (website purchase, counted in `conversions` by SHOPPING-optimised campaigns), place_order, initiate_checkout, add_to_cart, view_content, lead (website form submissions plus TikTok instant-form leads).
|
|
3552
3564
|
* - TikTok place_order is Place an Order, the website purchase of pixels set up with the legacy ON_WEB_ORDER event. It is absent from days synced before this metric was added until the ad is re-synced.
|
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.1444",
|
|
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.1444",
|
|
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
|
@@ -1065,6 +1065,15 @@ export type AdFunnelCounts = {
|
|
|
1065
1065
|
* Messaging threads where the person sent a first reply.
|
|
1066
1066
|
*/
|
|
1067
1067
|
messagingFirstReplies?: number;
|
|
1068
|
+
/**
|
|
1069
|
+
* Booked appointments (Meta `Schedule` pixel event). Pair with `spend` for cost per booked meeting.
|
|
1070
|
+
*
|
|
1071
|
+
* **Meta** reports Schedule in its `conversions` insight field, never in `actions`. This takes the FIRST present of `offsite_conversion.fb_pixel_schedule`, `omni_schedule`, `app_custom_event.fb_mobile_schedule`, `onsite_conversion.schedule`, `schedule`, `schedule_total`, `schedule_mobile_app`, `schedule_website`, `schedule_offline`. With none of those, a single `offsite_schedule_add_<dataset>` key counts. Two such keys (two datasets) leave it at 0, since one booking can reach both.
|
|
1072
|
+
*
|
|
1073
|
+
* Added 2026-11-03. Days synced before then read 0 until re-fetched: each sync restates the last 30 days.
|
|
1074
|
+
*
|
|
1075
|
+
*/
|
|
1076
|
+
schedules?: number;
|
|
1068
1077
|
};
|
|
1069
1078
|
|
|
1070
1079
|
export type AdKeyword = {
|
|
@@ -1319,6 +1328,9 @@ export type AdMetrics = {
|
|
|
1319
1328
|
* Per-action-type counts summed over the date range, keyed by the platform's action-type names. Keys differ by platform, so branch on the ad's platform when interpreting them. Empty object when no actions are reported.
|
|
1320
1329
|
*
|
|
1321
1330
|
* - Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...), covering both engagement and conversion events.
|
|
1331
|
+
* - Meta newer standard events (Schedule, SubmitApplication, Contact, StartTrial, Subscribe and the like) come only from Meta's `conversions` insight field, under keys such as schedule_total, schedule_website or offsite_schedule_add_<dataset>.
|
|
1332
|
+
* - Since 2026-11-03 every `conversions` key that `actions` lacks is added here, rounded per key, and its `conversion_values` value to `actionValues`. A key both fields report keeps its `actions` value.
|
|
1333
|
+
* - Days synced before 2026-11-03 lack those keys until re-fetched. Each sync restates the last 30 days.
|
|
1322
1334
|
* - TikTok: conversion events plus the paid-engagement family (follow, post_reaction for paid likes, comment, share). Follow is how FOLLOWERS-goal campaigns report their result.
|
|
1323
1335
|
* - TikTok website (pixel) events: complete_payment (website purchase, counted in `conversions` by SHOPPING-optimised campaigns), place_order, initiate_checkout, add_to_cart, view_content, lead (website form submissions plus TikTok instant-form leads).
|
|
1324
1336
|
* - TikTok place_order is Place an Order, the website purchase of pixels set up with the legacy ON_WEB_ORDER event. It is absent from days synced before this metric was added until the ad is re-synced.
|