@getlatedev/node 0.2.1802 → 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.d.mts +17 -8
- package/dist/index.d.ts +17 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -0
- package/src/generated/types.gen.ts +18 -7
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.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.
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -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
|
|
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
|
|
21614
|
+
* Platform the review originated on (Google Business Profile or Facebook Pages).
|
|
21615
|
+
*/
|
|
21616
|
+
export type platform16 = 'googlebusiness' | 'facebook';
|
|
21617
|
+
|
|
21618
|
+
/**
|
|
21619
|
+
* Facebook only. Whether the reviewer recommended the Page.
|
|
21611
21620
|
*/
|
|
21612
|
-
export type
|
|
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.
|
|
@@ -30675,6 +30684,8 @@ export type WebhookPayloadReviewDeleted = {
|
|
|
30675
30684
|
|
|
30676
30685
|
export type event83 = 'review.deleted';
|
|
30677
30686
|
|
|
30687
|
+
export type platform27 = 'googlebusiness';
|
|
30688
|
+
|
|
30678
30689
|
/**
|
|
30679
30690
|
* Webhook payload for the review.new event (new review posted on a connected account).
|
|
30680
30691
|
*/
|
|
@@ -30941,7 +30952,7 @@ export type WebhookPayloadWhatsAppAccountAlertReceived = {
|
|
|
30941
30952
|
|
|
30942
30953
|
export type event91 = 'whatsapp.account.alert_received';
|
|
30943
30954
|
|
|
30944
|
-
export type
|
|
30955
|
+
export type platform28 = 'whatsapp';
|
|
30945
30956
|
|
|
30946
30957
|
/**
|
|
30947
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.
|