@getlatedev/node 0.2.1125 → 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 +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +17 -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 = {
|
|
@@ -31383,6 +31391,10 @@ type CreateVoiceCallData = {
|
|
|
31383
31391
|
* Spoken to a detected machine, then hang up (implies `amd`). For outbound voicemail drops.
|
|
31384
31392
|
*/
|
|
31385
31393
|
voicemailDropMessage?: string;
|
|
31394
|
+
/**
|
|
31395
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31396
|
+
*/
|
|
31397
|
+
ringTimeoutSeconds?: number;
|
|
31386
31398
|
};
|
|
31387
31399
|
headers?: {
|
|
31388
31400
|
/**
|
|
@@ -31551,6 +31563,10 @@ type DialVoiceWebCallData = {
|
|
|
31551
31563
|
*/
|
|
31552
31564
|
fromNumber?: string;
|
|
31553
31565
|
recordOverride?: boolean;
|
|
31566
|
+
/**
|
|
31567
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31568
|
+
*/
|
|
31569
|
+
ringTimeoutSeconds?: number;
|
|
31554
31570
|
};
|
|
31555
31571
|
};
|
|
31556
31572
|
type DialVoiceWebCallResponse = ({
|
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 = {
|
|
@@ -31383,6 +31391,10 @@ type CreateVoiceCallData = {
|
|
|
31383
31391
|
* Spoken to a detected machine, then hang up (implies `amd`). For outbound voicemail drops.
|
|
31384
31392
|
*/
|
|
31385
31393
|
voicemailDropMessage?: string;
|
|
31394
|
+
/**
|
|
31395
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31396
|
+
*/
|
|
31397
|
+
ringTimeoutSeconds?: number;
|
|
31386
31398
|
};
|
|
31387
31399
|
headers?: {
|
|
31388
31400
|
/**
|
|
@@ -31551,6 +31563,10 @@ type DialVoiceWebCallData = {
|
|
|
31551
31563
|
*/
|
|
31552
31564
|
fromNumber?: string;
|
|
31553
31565
|
recordOverride?: boolean;
|
|
31566
|
+
/**
|
|
31567
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31568
|
+
*/
|
|
31569
|
+
ringTimeoutSeconds?: number;
|
|
31554
31570
|
};
|
|
31555
31571
|
};
|
|
31556
31572
|
type DialVoiceWebCallResponse = ({
|
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';
|
|
@@ -31003,6 +31011,10 @@ export type CreateVoiceCallData = {
|
|
|
31003
31011
|
* Spoken to a detected machine, then hang up (implies `amd`). For outbound voicemail drops.
|
|
31004
31012
|
*/
|
|
31005
31013
|
voicemailDropMessage?: string;
|
|
31014
|
+
/**
|
|
31015
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31016
|
+
*/
|
|
31017
|
+
ringTimeoutSeconds?: number;
|
|
31006
31018
|
};
|
|
31007
31019
|
headers?: {
|
|
31008
31020
|
/**
|
|
@@ -31194,6 +31206,10 @@ export type DialVoiceWebCallData = {
|
|
|
31194
31206
|
*/
|
|
31195
31207
|
fromNumber?: string;
|
|
31196
31208
|
recordOverride?: boolean;
|
|
31209
|
+
/**
|
|
31210
|
+
* Seconds to let the callee's phone ring before the call ends as no_answer. The destination carrier can end it sooner.
|
|
31211
|
+
*/
|
|
31212
|
+
ringTimeoutSeconds?: number;
|
|
31197
31213
|
};
|
|
31198
31214
|
};
|
|
31199
31215
|
|