@getlatedev/node 0.2.1126 → 0.2.1127
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/types.gen.ts +9 -1
package/dist/index.d.mts
CHANGED
|
@@ -6152,7 +6152,7 @@ type CtwaAdRequestBody = {
|
|
|
6152
6152
|
*/
|
|
6153
6153
|
pageId?: string;
|
|
6154
6154
|
/**
|
|
6155
|
-
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
6155
|
+
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Meta can accept the number yet create the ad set without it; the response then carries a `warnings` entry. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
6156
6156
|
*/
|
|
6157
6157
|
whatsappPhoneNumber?: string;
|
|
6158
6158
|
/**
|
|
@@ -6816,6 +6816,10 @@ type CtwaMultiResponse = {
|
|
|
6816
6816
|
platformCampaignId: string;
|
|
6817
6817
|
platformAdSetId: string;
|
|
6818
6818
|
message: string;
|
|
6819
|
+
/**
|
|
6820
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
6821
|
+
*/
|
|
6822
|
+
warnings?: Array<(string)>;
|
|
6819
6823
|
};
|
|
6820
6824
|
type adType2 = 'multi';
|
|
6821
6825
|
/**
|
|
@@ -6833,6 +6837,10 @@ type CtwaSingleResponse = {
|
|
|
6833
6837
|
[key: string]: unknown;
|
|
6834
6838
|
};
|
|
6835
6839
|
message: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
6842
|
+
*/
|
|
6843
|
+
warnings?: Array<(string)>;
|
|
6836
6844
|
};
|
|
6837
6845
|
type adType3 = 'single';
|
|
6838
6846
|
type CustomConversion = {
|
package/dist/index.d.ts
CHANGED
|
@@ -6152,7 +6152,7 @@ type CtwaAdRequestBody = {
|
|
|
6152
6152
|
*/
|
|
6153
6153
|
pageId?: string;
|
|
6154
6154
|
/**
|
|
6155
|
-
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
6155
|
+
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Meta can accept the number yet create the ad set without it; the response then carries a `warnings` entry. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
6156
6156
|
*/
|
|
6157
6157
|
whatsappPhoneNumber?: string;
|
|
6158
6158
|
/**
|
|
@@ -6816,6 +6816,10 @@ type CtwaMultiResponse = {
|
|
|
6816
6816
|
platformCampaignId: string;
|
|
6817
6817
|
platformAdSetId: string;
|
|
6818
6818
|
message: string;
|
|
6819
|
+
/**
|
|
6820
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
6821
|
+
*/
|
|
6822
|
+
warnings?: Array<(string)>;
|
|
6819
6823
|
};
|
|
6820
6824
|
type adType2 = 'multi';
|
|
6821
6825
|
/**
|
|
@@ -6833,6 +6837,10 @@ type CtwaSingleResponse = {
|
|
|
6833
6837
|
[key: string]: unknown;
|
|
6834
6838
|
};
|
|
6835
6839
|
message: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
6842
|
+
*/
|
|
6843
|
+
warnings?: Array<(string)>;
|
|
6836
6844
|
};
|
|
6837
6845
|
type adType3 = 'single';
|
|
6838
6846
|
type CustomConversion = {
|
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.1127",
|
|
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.1127",
|
|
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
|
@@ -4342,7 +4342,7 @@ export type CtwaAdRequestBody = {
|
|
|
4342
4342
|
*/
|
|
4343
4343
|
pageId?: string;
|
|
4344
4344
|
/**
|
|
4345
|
-
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
4345
|
+
* WhatsApp only. Optional E.164 number already paired with the Facebook Page. Omit to let Meta select the paired number. Sent to the creative CTA and, when creating a new ad set, its promoted_object. Meta can accept the number yet create the ad set without it; the response then carries a `warnings` entry. Attach requests do not change the existing ad set. Stored as creative.whatsappPhoneNumber on every created ad.
|
|
4346
4346
|
*/
|
|
4347
4347
|
whatsappPhoneNumber?: string;
|
|
4348
4348
|
/**
|
|
@@ -5016,6 +5016,10 @@ export type CtwaMultiResponse = {
|
|
|
5016
5016
|
platformCampaignId: string;
|
|
5017
5017
|
platformAdSetId: string;
|
|
5018
5018
|
message: string;
|
|
5019
|
+
/**
|
|
5020
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
5021
|
+
*/
|
|
5022
|
+
warnings?: Array<(string)>;
|
|
5019
5023
|
};
|
|
5020
5024
|
|
|
5021
5025
|
export type adType2 = 'multi';
|
|
@@ -5035,6 +5039,10 @@ export type CtwaSingleResponse = {
|
|
|
5035
5039
|
[key: string]: unknown;
|
|
5036
5040
|
};
|
|
5037
5041
|
message: string;
|
|
5042
|
+
/**
|
|
5043
|
+
* Present when Meta created the ad set differently from the request. Today: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button).
|
|
5044
|
+
*/
|
|
5045
|
+
warnings?: Array<(string)>;
|
|
5038
5046
|
};
|
|
5039
5047
|
|
|
5040
5048
|
export type adType3 = 'single';
|