@getlatedev/node 0.2.1801 → 0.2.1803

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.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.1801",
39
+ version: "0.2.1803",
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.1801",
8
+ version: "0.2.1803",
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.1801",
3
+ "version": "0.2.1803",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2153,6 +2153,10 @@ export const getXApiPricing = <ThrowOnError extends boolean = false>(options?: O
2153
2153
  *
2154
2154
  * A caller that sees the whole workspace gets `restricted: false` and the same `totals` as without `groupBy`. Shares are measured over everything the bill and its members carry, so `unattributed` can include spend outside the workspace, never named.
2155
2155
  *
2156
+ * Since 1.817.0 every billed account has one even price: the window's `accounts` total, after tiers and the monthly credit, divided by the billed accounts your members have connected now. Before, the oldest accounts took the credit and could show $0. Your invoice did not change.
2157
+ *
2158
+ * Example: 5 accounts cost $30 minus the $12 credit, $18, so $3.60 each. A profile with 2 of them shows $7.20. In a contract's first month, a credit carried over is unattributed instead, so they show $6.00 each.
2159
+ *
2156
2160
  * Since 1.630.0 a profile-scoped key or member never gets the team payload in metering mode: without `groupBy` or a filter, `days`, `totals` and `lineItems` are projected onto its visible profiles, `peaks`, `callUsage` and `tax` are `null`, and no `attribution` is returned. Full-access keys and sessions keep the team payload.
2157
2161
  *
2158
2162
  * ### Related endpoints
@@ -21573,13 +21573,17 @@ export type ReviewWebhookReview = {
21573
21573
  */
21574
21574
  id: string;
21575
21575
  /**
21576
- * Platform the review originated on. Currently Google Business Profile only.
21576
+ * Platform the review originated on (Google Business Profile or Facebook Pages).
21577
21577
  */
21578
- platform: 'googlebusiness';
21578
+ platform: 'googlebusiness' | 'facebook';
21579
21579
  /**
21580
- * Star rating the reviewer gave.
21580
+ * Star rating the reviewer gave. Null for a Facebook recommendation without stars.
21581
21581
  */
21582
- rating: number;
21582
+ rating: (number) | null;
21583
+ /**
21584
+ * Facebook only. Whether the reviewer recommended the Page.
21585
+ */
21586
+ recommendationType?: 'positive' | 'negative';
21583
21587
  /**
21584
21588
  * Review text content. May be empty if the reviewer left only a rating.
21585
21589
  */
@@ -21607,9 +21611,14 @@ export type ReviewWebhookReview = {
21607
21611
  };
21608
21612
 
21609
21613
  /**
21610
- * Platform the review originated on. Currently Google Business Profile only.
21614
+ * Platform the review originated on (Google Business Profile or Facebook Pages).
21611
21615
  */
21612
- export type platform16 = 'googlebusiness';
21616
+ export type platform16 = 'googlebusiness' | 'facebook';
21617
+
21618
+ /**
21619
+ * Facebook only. Whether the reviewer recommended the Page.
21620
+ */
21621
+ export type recommendationType = 'positive' | 'negative';
21613
21622
 
21614
21623
  /**
21615
21624
  * A Meta Reach & Frequency prediction. Money values in whole units of the ad account currency.
@@ -23614,6 +23623,14 @@ export type TrackingSitePeriodTotals = {
23614
23623
  * Purchases with ad consent for which no browser pixel fired, so only the server reported them.
23615
23624
  */
23616
23625
  recovered?: number;
23626
+ /**
23627
+ * Leads recorded on the site without bots.
23628
+ */
23629
+ leads?: number;
23630
+ /**
23631
+ * Checkouts started on the site without bots.
23632
+ */
23633
+ checkouts?: number;
23617
23634
  };
23618
23635
 
23619
23636
  export type TrackingSitePixel = {
@@ -30667,6 +30684,8 @@ export type WebhookPayloadReviewDeleted = {
30667
30684
 
30668
30685
  export type event83 = 'review.deleted';
30669
30686
 
30687
+ export type platform27 = 'googlebusiness';
30688
+
30670
30689
  /**
30671
30690
  * Webhook payload for the review.new event (new review posted on a connected account).
30672
30691
  */
@@ -30933,7 +30952,7 @@ export type WebhookPayloadWhatsAppAccountAlertReceived = {
30933
30952
 
30934
30953
  export type event91 = 'whatsapp.account.alert_received';
30935
30954
 
30936
- export type platform27 = 'whatsapp';
30955
+ export type platform28 = 'whatsapp';
30937
30956
 
30938
30957
  /**
30939
30958
  * Webhook payload for the `whatsapp.account.name_status_updated` event, fired when Meta finishes reviewing a WhatsApp display-name change on a connected number. Maps Meta's `phone_number_name_update` WABA webhook field onto our event envelope.
@@ -83010,6 +83029,10 @@ export type GetEventsOverviewResponse = ({
83010
83029
  '7d'?: TrackingSitePeriodTotals;
83011
83030
  '30d'?: TrackingSitePeriodTotals;
83012
83031
  };
83032
+ /**
83033
+ * Whether no forwarding rule of the profile to an ad platform uses the site (its own events, or server events its visits complete) and its tag fires no ad pixel in the browser.
83034
+ */
83035
+ sendsNowhere?: boolean;
83013
83036
  }>;
83014
83037
  /**
83015
83038
  * Each event name stored in the 30 days before today and where it comes from. When a name comes from both the website tag and a server source, only the server copies count (in this overview, the daily overview and campaign results).