@zernio/node 0.2.647 → 0.2.649
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 +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -22608,6 +22608,10 @@ type GetWhatsAppLibraryTemplateData = {
|
|
|
22608
22608
|
* WhatsApp social account ID
|
|
22609
22609
|
*/
|
|
22610
22610
|
accountId: string;
|
|
22611
|
+
/**
|
|
22612
|
+
* Desired language variant (e.g. es, en_US). If the template is not offered in it, the first available variant is returned and named in the response language field.
|
|
22613
|
+
*/
|
|
22614
|
+
language?: string;
|
|
22611
22615
|
/**
|
|
22612
22616
|
* Exact library template name
|
|
22613
22617
|
*/
|
|
@@ -22621,6 +22625,7 @@ type GetWhatsAppLibraryTemplateResponse = ({
|
|
|
22621
22625
|
category?: string;
|
|
22622
22626
|
body?: string;
|
|
22623
22627
|
body_params?: Array<(string)>;
|
|
22628
|
+
availableLanguages?: Array<(string)>;
|
|
22624
22629
|
buttons?: Array<{
|
|
22625
22630
|
/**
|
|
22626
22631
|
* QUICK_REPLY, URL, PHONE_NUMBER, OTP, FLOW, ...
|
|
@@ -28842,7 +28847,7 @@ type UpdateAdCampaignError = (unknown | {
|
|
|
28842
28847
|
});
|
|
28843
28848
|
type DeleteAdCampaignData = {
|
|
28844
28849
|
body: {
|
|
28845
|
-
platform: 'facebook' | 'instagram';
|
|
28850
|
+
platform: 'facebook' | 'instagram' | 'google';
|
|
28846
28851
|
/**
|
|
28847
28852
|
* Zernio SocialAccount id owning the ad account. Required only to delete an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from.
|
|
28848
28853
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -22608,6 +22608,10 @@ type GetWhatsAppLibraryTemplateData = {
|
|
|
22608
22608
|
* WhatsApp social account ID
|
|
22609
22609
|
*/
|
|
22610
22610
|
accountId: string;
|
|
22611
|
+
/**
|
|
22612
|
+
* Desired language variant (e.g. es, en_US). If the template is not offered in it, the first available variant is returned and named in the response language field.
|
|
22613
|
+
*/
|
|
22614
|
+
language?: string;
|
|
22611
22615
|
/**
|
|
22612
22616
|
* Exact library template name
|
|
22613
22617
|
*/
|
|
@@ -22621,6 +22625,7 @@ type GetWhatsAppLibraryTemplateResponse = ({
|
|
|
22621
22625
|
category?: string;
|
|
22622
22626
|
body?: string;
|
|
22623
22627
|
body_params?: Array<(string)>;
|
|
22628
|
+
availableLanguages?: Array<(string)>;
|
|
22624
22629
|
buttons?: Array<{
|
|
22625
22630
|
/**
|
|
22626
22631
|
* QUICK_REPLY, URL, PHONE_NUMBER, OTP, FLOW, ...
|
|
@@ -28842,7 +28847,7 @@ type UpdateAdCampaignError = (unknown | {
|
|
|
28842
28847
|
});
|
|
28843
28848
|
type DeleteAdCampaignData = {
|
|
28844
28849
|
body: {
|
|
28845
|
-
platform: 'facebook' | 'instagram';
|
|
28850
|
+
platform: 'facebook' | 'instagram' | 'google';
|
|
28846
28851
|
/**
|
|
28847
28852
|
* Zernio SocialAccount id owning the ad account. Required only to delete an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from.
|
|
28848
28853
|
*/
|
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.649",
|
|
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.649",
|
|
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
|
@@ -22530,6 +22530,10 @@ export type GetWhatsAppLibraryTemplateData = {
|
|
|
22530
22530
|
* WhatsApp social account ID
|
|
22531
22531
|
*/
|
|
22532
22532
|
accountId: string;
|
|
22533
|
+
/**
|
|
22534
|
+
* Desired language variant (e.g. es, en_US). If the template is not offered in it, the first available variant is returned and named in the response language field.
|
|
22535
|
+
*/
|
|
22536
|
+
language?: string;
|
|
22533
22537
|
/**
|
|
22534
22538
|
* Exact library template name
|
|
22535
22539
|
*/
|
|
@@ -22544,6 +22548,7 @@ export type GetWhatsAppLibraryTemplateResponse = ({
|
|
|
22544
22548
|
category?: string;
|
|
22545
22549
|
body?: string;
|
|
22546
22550
|
body_params?: Array<(string)>;
|
|
22551
|
+
availableLanguages?: Array<(string)>;
|
|
22547
22552
|
buttons?: Array<{
|
|
22548
22553
|
/**
|
|
22549
22554
|
* QUICK_REPLY, URL, PHONE_NUMBER, OTP, FLOW, ...
|
|
@@ -29254,7 +29259,7 @@ export type UpdateAdCampaignError = (unknown | {
|
|
|
29254
29259
|
|
|
29255
29260
|
export type DeleteAdCampaignData = {
|
|
29256
29261
|
body: {
|
|
29257
|
-
platform: 'facebook' | 'instagram';
|
|
29262
|
+
platform: 'facebook' | 'instagram' | 'google';
|
|
29258
29263
|
/**
|
|
29259
29264
|
* Zernio SocialAccount id owning the ad account. Required only to delete an EMPTY campaign (zero ads), which has no local Ad documents to resolve a token from.
|
|
29260
29265
|
*/
|