@zernio/node 0.2.1853 → 0.2.1855
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 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -0
- package/src/generated/types.gen.ts +9 -1
package/dist/index.d.mts
CHANGED
|
@@ -60239,6 +60239,10 @@ type GetWhatsAppNumberInfoResponse = ({
|
|
|
60239
60239
|
* Meta integer timezone-enum id
|
|
60240
60240
|
*/
|
|
60241
60241
|
timezone_id?: string;
|
|
60242
|
+
/**
|
|
60243
|
+
* ISO 4217 currency of the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60244
|
+
*/
|
|
60245
|
+
currency?: (string) | null;
|
|
60242
60246
|
health_status?: {
|
|
60243
60247
|
[key: string]: unknown;
|
|
60244
60248
|
};
|
|
@@ -60297,6 +60301,10 @@ type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60297
60301
|
granularity: 'HALF_HOUR' | 'DAILY' | 'MONTHLY';
|
|
60298
60302
|
start: string;
|
|
60299
60303
|
end: string;
|
|
60304
|
+
/**
|
|
60305
|
+
* ISO 4217 currency every `cost` is in, from the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60306
|
+
*/
|
|
60307
|
+
currency: (string) | null;
|
|
60300
60308
|
dataPoints: Array<{
|
|
60301
60309
|
start: string;
|
|
60302
60310
|
end: string;
|
|
@@ -60325,7 +60333,7 @@ type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60325
60333
|
*/
|
|
60326
60334
|
volume: (number) | null;
|
|
60327
60335
|
/**
|
|
60328
|
-
* Approximate charge, in the currency
|
|
60336
|
+
* Approximate charge, in the currency given by `currency`.
|
|
60329
60337
|
*/
|
|
60330
60338
|
cost: (number) | null;
|
|
60331
60339
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -60239,6 +60239,10 @@ type GetWhatsAppNumberInfoResponse = ({
|
|
|
60239
60239
|
* Meta integer timezone-enum id
|
|
60240
60240
|
*/
|
|
60241
60241
|
timezone_id?: string;
|
|
60242
|
+
/**
|
|
60243
|
+
* ISO 4217 currency of the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60244
|
+
*/
|
|
60245
|
+
currency?: (string) | null;
|
|
60242
60246
|
health_status?: {
|
|
60243
60247
|
[key: string]: unknown;
|
|
60244
60248
|
};
|
|
@@ -60297,6 +60301,10 @@ type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60297
60301
|
granularity: 'HALF_HOUR' | 'DAILY' | 'MONTHLY';
|
|
60298
60302
|
start: string;
|
|
60299
60303
|
end: string;
|
|
60304
|
+
/**
|
|
60305
|
+
* ISO 4217 currency every `cost` is in, from the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60306
|
+
*/
|
|
60307
|
+
currency: (string) | null;
|
|
60300
60308
|
dataPoints: Array<{
|
|
60301
60309
|
start: string;
|
|
60302
60310
|
end: string;
|
|
@@ -60325,7 +60333,7 @@ type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60325
60333
|
*/
|
|
60326
60334
|
volume: (number) | null;
|
|
60327
60335
|
/**
|
|
60328
|
-
* Approximate charge, in the currency
|
|
60336
|
+
* Approximate charge, in the currency given by `currency`.
|
|
60329
60337
|
*/
|
|
60330
60338
|
cost: (number) | null;
|
|
60331
60339
|
}>;
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1855",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1855",
|
|
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
|
@@ -11906,6 +11906,7 @@ export const getWhatsappBusinessUsernameSuggestions = <ThrowOnError extends bool
|
|
|
11906
11906
|
* - name
|
|
11907
11907
|
* - business verification
|
|
11908
11908
|
* - timezone
|
|
11909
|
+
* - billing currency
|
|
11909
11910
|
* - health_status
|
|
11910
11911
|
*
|
|
11911
11912
|
* ### Why live
|
|
@@ -20098,6 +20099,8 @@ export const replaceGoogleListingGroupFilters = <ThrowOnError extends boolean =
|
|
|
20098
20099
|
* - Every shape that builds a new ad set (no `adSetId`, `existingCampaignId` or `buyingType: "RESERVED"`): `budgetAmount`. `budgetType` defaults to daily, and a lifetime budget without `endDate` ends 7 days after it starts (see `appliedDefaults`).
|
|
20099
20100
|
* - Single image or video (the default), also with `adSetId`: `headline` (max 255), `body`, `callToAction`, and exactly one of `imageUrl` / `video`. A catalog template creative takes none, and ignores and does not upload any sent.
|
|
20100
20101
|
* - Single image or video also needs `linkUrl`, unless the goal is `lead_generation` or `page_visits` or `leadGenFormId` is set.
|
|
20102
|
+
* - Goal `engagement` with `optimizationGoal: POST_ENGAGEMENT` and no `linkUrl` builds a post with no link and no button: `body` and one image or video only. `headline` is the video title.
|
|
20103
|
+
* - On that post ad, `callToAction`, `callToActionLink`, `description` and `caption` return 400. It does not apply with `adSetId`, `translations` or `leadGenFormId`.
|
|
20101
20104
|
* - `bodies[]` / `headlines[]` text variations: `body`, one list with 2+ items, `callToAction`, `imageUrl` or `video`, and `linkUrl` unless the goal is `lead_generation` or `leadGenFormId` is set. `headline` is not required.
|
|
20102
20105
|
* - `placementAssets`: `headline`, `body`, `callToAction`, and `linkUrl` with the same exemptions as the single shape; the media comes from `placementAssets`.
|
|
20103
20106
|
* - `carouselCards`, also with `adSetId`: `body`, `callToAction`, and `linkUrl` unless the goal is `lead_generation` or `leadGenFormId` is set. `headline` is not required. Each card takes `imageUrl` or `video`.
|
|
@@ -60910,6 +60910,10 @@ export type GetWhatsAppNumberInfoResponse = ({
|
|
|
60910
60910
|
* Meta integer timezone-enum id
|
|
60911
60911
|
*/
|
|
60912
60912
|
timezone_id?: string;
|
|
60913
|
+
/**
|
|
60914
|
+
* ISO 4217 currency of the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60915
|
+
*/
|
|
60916
|
+
currency?: (string) | null;
|
|
60913
60917
|
health_status?: {
|
|
60914
60918
|
[key: string]: unknown;
|
|
60915
60919
|
};
|
|
@@ -60971,6 +60975,10 @@ export type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60971
60975
|
granularity: 'HALF_HOUR' | 'DAILY' | 'MONTHLY';
|
|
60972
60976
|
start: string;
|
|
60973
60977
|
end: string;
|
|
60978
|
+
/**
|
|
60979
|
+
* ISO 4217 currency every `cost` is in, from the WABA's payment method (for example USD or BRL). Null when Meta does not return it.
|
|
60980
|
+
*/
|
|
60981
|
+
currency: (string) | null;
|
|
60974
60982
|
dataPoints: Array<{
|
|
60975
60983
|
start: string;
|
|
60976
60984
|
end: string;
|
|
@@ -60999,7 +61007,7 @@ export type GetWhatsAppPricingAnalyticsResponse = ({
|
|
|
60999
61007
|
*/
|
|
61000
61008
|
volume: (number) | null;
|
|
61001
61009
|
/**
|
|
61002
|
-
* Approximate charge, in the currency
|
|
61010
|
+
* Approximate charge, in the currency given by `currency`.
|
|
61003
61011
|
*/
|
|
61004
61012
|
cost: (number) | null;
|
|
61005
61013
|
}>;
|