@getlatedev/node 0.2.239 → 0.2.241
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -5718,9 +5718,9 @@ type WhatsAppTemplateButton = {
|
|
|
5718
5718
|
*/
|
|
5719
5719
|
url?: string;
|
|
5720
5720
|
/**
|
|
5721
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5721
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5722
5722
|
*/
|
|
5723
|
-
example?:
|
|
5723
|
+
example?: unknown;
|
|
5724
5724
|
/**
|
|
5725
5725
|
* Required when type is phone_number
|
|
5726
5726
|
*/
|
|
@@ -12247,7 +12247,7 @@ type CreateInboxConversationData = {
|
|
|
12247
12247
|
*/
|
|
12248
12248
|
templateLanguage?: string;
|
|
12249
12249
|
/**
|
|
12250
|
-
* WhatsApp only. Body variable values, in order
|
|
12250
|
+
* WhatsApp only. Body variable values, in order. Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance.
|
|
12251
12251
|
*/
|
|
12252
12252
|
templateParams?: Array<(string)>;
|
|
12253
12253
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -5718,9 +5718,9 @@ type WhatsAppTemplateButton = {
|
|
|
5718
5718
|
*/
|
|
5719
5719
|
url?: string;
|
|
5720
5720
|
/**
|
|
5721
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5721
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5722
5722
|
*/
|
|
5723
|
-
example?:
|
|
5723
|
+
example?: unknown;
|
|
5724
5724
|
/**
|
|
5725
5725
|
* Required when type is phone_number
|
|
5726
5726
|
*/
|
|
@@ -12247,7 +12247,7 @@ type CreateInboxConversationData = {
|
|
|
12247
12247
|
*/
|
|
12248
12248
|
templateLanguage?: string;
|
|
12249
12249
|
/**
|
|
12250
|
-
* WhatsApp only. Body variable values, in order
|
|
12250
|
+
* WhatsApp only. Body variable values, in order. Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance.
|
|
12251
12251
|
*/
|
|
12252
12252
|
templateParams?: Array<(string)>;
|
|
12253
12253
|
};
|
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.241",
|
|
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.241",
|
|
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
|
@@ -5194,9 +5194,9 @@ export type WhatsAppTemplateButton = {
|
|
|
5194
5194
|
*/
|
|
5195
5195
|
url?: string;
|
|
5196
5196
|
/**
|
|
5197
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5197
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5198
5198
|
*/
|
|
5199
|
-
example?:
|
|
5199
|
+
example?: unknown;
|
|
5200
5200
|
/**
|
|
5201
5201
|
* Required when type is phone_number
|
|
5202
5202
|
*/
|
|
@@ -12214,7 +12214,7 @@ export type CreateInboxConversationData = {
|
|
|
12214
12214
|
*/
|
|
12215
12215
|
templateLanguage?: string;
|
|
12216
12216
|
/**
|
|
12217
|
-
* WhatsApp only. Body variable values, in order
|
|
12217
|
+
* WhatsApp only. Body variable values, in order. Works with positional placeholders ({{1}}, {{2}}, ...) and with named placeholders ({{name}}, {{company}} - how Meta Business Manager creates templates), where values fill the named slots in order of appearance.
|
|
12218
12218
|
*/
|
|
12219
12219
|
templateParams?: Array<(string)>;
|
|
12220
12220
|
};
|