@getlatedev/node 0.2.367 → 0.2.369

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 CHANGED
@@ -1305,7 +1305,7 @@ type AdMetrics = {
1305
1305
  cpm?: number;
1306
1306
  engagement?: number;
1307
1307
  /**
1308
- * Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.) over the requested date range. 0 for non-conversion campaigns or when no events have fired. Meta-only at time of writing; other platforms return 0.
1308
+ * Count of conversion events over the requested date range. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
1309
1309
  */
1310
1310
  conversions?: number;
1311
1311
  /**
@@ -1313,7 +1313,7 @@ type AdMetrics = {
1313
1313
  */
1314
1314
  costPerConversion?: number;
1315
1315
  /**
1316
- * Raw per-action-type counts from Meta's Insights actions[] array, summed over the date range. Keys are Meta action_type strings (e.g. link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped). Use this to extract any conversion event (purchases, leads, add_to_cart, etc.) without relying on the derived conversions field. Empty object when no actions are reported.
1316
+ * Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
1317
1317
  */
1318
1318
  actions?: {
1319
1319
  [key: string]: (number);
@@ -17333,6 +17333,16 @@ type StartSmsRegistrationData = {
17333
17333
  */
17334
17334
  termsAndConditionsLink?: string;
17335
17335
  };
17336
+ /**
17337
+ * Raw dashboard-wizard answers, stored only to prefill edit-and-resubmit. API integrators can omit.
17338
+ */
17339
+ wizardValues?: {
17340
+ [key: string]: (string);
17341
+ };
17342
+ /**
17343
+ * Resubmit a registration that was returned for changes — updates it in place instead of creating a new one.
17344
+ */
17345
+ resubmitRequestId?: string;
17336
17346
  /**
17337
17347
  * Required for toll_free.
17338
17348
  */
@@ -17401,7 +17411,10 @@ type ListSmsRegistrationsResponse = ({
17401
17411
  id?: string;
17402
17412
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17403
17413
  displayName?: (string) | null;
17404
- status?: 'pending' | 'approved' | 'rejected';
17414
+ /**
17415
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17416
+ */
17417
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17405
17418
  /**
17406
17419
  * Carrier-registry brand status (e.g. VERIFIED).
17407
17420
  */
@@ -17457,7 +17470,10 @@ type GetSmsRegistrationData = {
17457
17470
  type GetSmsRegistrationResponse = ({
17458
17471
  id?: string;
17459
17472
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17460
- status?: 'pending' | 'approved' | 'rejected';
17473
+ /**
17474
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17475
+ */
17476
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17461
17477
  brandStatus?: string;
17462
17478
  campaignStatus?: string;
17463
17479
  declineReason?: (string) | null;
@@ -19588,7 +19604,10 @@ type ReuseSmsRegistrationForNumberData = {
19588
19604
  };
19589
19605
  type ReuseSmsRegistrationForNumberResponse = ({
19590
19606
  registrationId?: string;
19591
- status?: 'pending' | 'approved' | 'rejected';
19607
+ /**
19608
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
19609
+ */
19610
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
19592
19611
  });
19593
19612
  type ReuseSmsRegistrationForNumberError = ({
19594
19613
  error?: string;
@@ -22723,7 +22742,7 @@ type GetAdsTimelineResponse = ({
22723
22742
  */
22724
22743
  cpm?: number;
22725
22744
  /**
22726
- * Sum of conversion events matching the campaign optimization goal. Meta-only at time of writing.
22745
+ * Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
22727
22746
  */
22728
22747
  conversions?: number;
22729
22748
  costPerConversion?: number;
package/dist/index.d.ts CHANGED
@@ -1305,7 +1305,7 @@ type AdMetrics = {
1305
1305
  cpm?: number;
1306
1306
  engagement?: number;
1307
1307
  /**
1308
- * Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.) over the requested date range. 0 for non-conversion campaigns or when no events have fired. Meta-only at time of writing; other platforms return 0.
1308
+ * Count of conversion events over the requested date range. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
1309
1309
  */
1310
1310
  conversions?: number;
1311
1311
  /**
@@ -1313,7 +1313,7 @@ type AdMetrics = {
1313
1313
  */
1314
1314
  costPerConversion?: number;
1315
1315
  /**
1316
- * Raw per-action-type counts from Meta's Insights actions[] array, summed over the date range. Keys are Meta action_type strings (e.g. link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped). Use this to extract any conversion event (purchases, leads, add_to_cart, etc.) without relying on the derived conversions field. Empty object when no actions are reported.
1316
+ * Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
1317
1317
  */
1318
1318
  actions?: {
1319
1319
  [key: string]: (number);
@@ -17333,6 +17333,16 @@ type StartSmsRegistrationData = {
17333
17333
  */
17334
17334
  termsAndConditionsLink?: string;
17335
17335
  };
17336
+ /**
17337
+ * Raw dashboard-wizard answers, stored only to prefill edit-and-resubmit. API integrators can omit.
17338
+ */
17339
+ wizardValues?: {
17340
+ [key: string]: (string);
17341
+ };
17342
+ /**
17343
+ * Resubmit a registration that was returned for changes — updates it in place instead of creating a new one.
17344
+ */
17345
+ resubmitRequestId?: string;
17336
17346
  /**
17337
17347
  * Required for toll_free.
17338
17348
  */
@@ -17401,7 +17411,10 @@ type ListSmsRegistrationsResponse = ({
17401
17411
  id?: string;
17402
17412
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17403
17413
  displayName?: (string) | null;
17404
- status?: 'pending' | 'approved' | 'rejected';
17414
+ /**
17415
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17416
+ */
17417
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17405
17418
  /**
17406
17419
  * Carrier-registry brand status (e.g. VERIFIED).
17407
17420
  */
@@ -17457,7 +17470,10 @@ type GetSmsRegistrationData = {
17457
17470
  type GetSmsRegistrationResponse = ({
17458
17471
  id?: string;
17459
17472
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17460
- status?: 'pending' | 'approved' | 'rejected';
17473
+ /**
17474
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17475
+ */
17476
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17461
17477
  brandStatus?: string;
17462
17478
  campaignStatus?: string;
17463
17479
  declineReason?: (string) | null;
@@ -19588,7 +19604,10 @@ type ReuseSmsRegistrationForNumberData = {
19588
19604
  };
19589
19605
  type ReuseSmsRegistrationForNumberResponse = ({
19590
19606
  registrationId?: string;
19591
- status?: 'pending' | 'approved' | 'rejected';
19607
+ /**
19608
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
19609
+ */
19610
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
19592
19611
  });
19593
19612
  type ReuseSmsRegistrationForNumberError = ({
19594
19613
  error?: string;
@@ -22723,7 +22742,7 @@ type GetAdsTimelineResponse = ({
22723
22742
  */
22724
22743
  cpm?: number;
22725
22744
  /**
22726
- * Sum of conversion events matching the campaign optimization goal. Meta-only at time of writing.
22745
+ * Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
22727
22746
  */
22728
22747
  conversions?: number;
22729
22748
  costPerConversion?: 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.367",
39
+ version: "0.2.369",
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.367",
8
+ version: "0.2.369",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.367",
3
+ "version": "0.2.369",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -440,7 +440,7 @@ export type AdMetrics = {
440
440
  cpm?: number;
441
441
  engagement?: number;
442
442
  /**
443
- * Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.) over the requested date range. 0 for non-conversion campaigns or when no events have fired. Meta-only at time of writing; other platforms return 0.
443
+ * Count of conversion events over the requested date range. Meta: events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.). Google: the account's tracked conversions. X and LinkedIn: their reported website/lead conversions (added 2026-07). 0 for non-conversion campaigns or when no events have fired.
444
444
  */
445
445
  conversions?: number;
446
446
  /**
@@ -448,7 +448,7 @@ export type AdMetrics = {
448
448
  */
449
449
  costPerConversion?: number;
450
450
  /**
451
- * Raw per-action-type counts from Meta's Insights actions[] array, summed over the date range. Keys are Meta action_type strings (e.g. link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped). Use this to extract any conversion event (purchases, leads, add_to_cart, etc.) without relying on the derived conversions field. Empty object when no actions are reported.
451
+ * Per-action-type counts summed over the date range, keyed by the platform's action-type names. Meta: raw Insights action_type keys (link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped, ...) both engagement and conversion events. X: conversion types (purchase, sign_up, site_visit, download, custom). LinkedIn: conversion types (post_click, post_view, lead_gen). Google returns {} (its per-action names aren't synced per ad). Empty object when no actions are reported. NOTE: keys differ by platform, so branch on the ad's platform when interpreting them.
452
452
  */
453
453
  actions?: {
454
454
  [key: string]: (number);
@@ -17471,6 +17471,16 @@ export type StartSmsRegistrationData = {
17471
17471
  */
17472
17472
  termsAndConditionsLink?: string;
17473
17473
  };
17474
+ /**
17475
+ * Raw dashboard-wizard answers, stored only to prefill edit-and-resubmit. API integrators can omit.
17476
+ */
17477
+ wizardValues?: {
17478
+ [key: string]: (string);
17479
+ };
17480
+ /**
17481
+ * Resubmit a registration that was returned for changes — updates it in place instead of creating a new one.
17482
+ */
17483
+ resubmitRequestId?: string;
17474
17484
  /**
17475
17485
  * Required for toll_free.
17476
17486
  */
@@ -17543,7 +17553,10 @@ export type ListSmsRegistrationsResponse = ({
17543
17553
  id?: string;
17544
17554
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17545
17555
  displayName?: (string) | null;
17546
- status?: 'pending' | 'approved' | 'rejected';
17556
+ /**
17557
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17558
+ */
17559
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17547
17560
  /**
17548
17561
  * Carrier-registry brand status (e.g. VERIFIED).
17549
17562
  */
@@ -17605,7 +17618,10 @@ export type GetSmsRegistrationData = {
17605
17618
  export type GetSmsRegistrationResponse = ({
17606
17619
  id?: string;
17607
17620
  registrationType?: 'standard_10dlc' | 'sole_prop_10dlc' | 'toll_free';
17608
- status?: 'pending' | 'approved' | 'rejected';
17621
+ /**
17622
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
17623
+ */
17624
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
17609
17625
  brandStatus?: string;
17610
17626
  campaignStatus?: string;
17611
17627
  declineReason?: (string) | null;
@@ -19913,7 +19929,10 @@ export type ReuseSmsRegistrationForNumberData = {
19913
19929
 
19914
19930
  export type ReuseSmsRegistrationForNumberResponse = ({
19915
19931
  registrationId?: string;
19916
- status?: 'pending' | 'approved' | 'rejected';
19932
+ /**
19933
+ * requested/changes_requested = pre-submission review states; customers see them as pending / needs changes.
19934
+ */
19935
+ status?: 'pending' | 'approved' | 'rejected' | 'requested' | 'changes_requested' | 'deactivated';
19917
19936
  });
19918
19937
 
19919
19938
  export type ReuseSmsRegistrationForNumberError = ({
@@ -23338,7 +23357,7 @@ export type GetAdsTimelineResponse = ({
23338
23357
  */
23339
23358
  cpm?: number;
23340
23359
  /**
23341
- * Sum of conversion events matching the campaign optimization goal. Meta-only at time of writing.
23360
+ * Sum of conversion events over the range. Meta: events matching the campaign optimization goal. Google: tracked conversions. X / LinkedIn: reported website/lead conversions (added 2026-07).
23342
23361
  */
23343
23362
  conversions?: number;
23344
23363
  costPerConversion?: number;