lua-cli 3.17.4 → 3.17.6
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/api-exports.d.ts +10 -4
- package/dist/api-exports.js.map +1 -1
- package/dist/index.js +220 -128
- package/dist/index.js.map +1 -1
- package/docs/api/Templates.md +21 -3
- package/package.json +3 -3
- package/template/package.json +1 -1
package/dist/api-exports.d.ts
CHANGED
|
@@ -4513,7 +4513,12 @@ export declare interface SendTemplateResponse {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
|
|
4515
4515
|
export declare interface SendTemplateValues {
|
|
4516
|
-
header?: Record<string, string
|
|
4516
|
+
header?: Record<string, string> & {
|
|
4517
|
+
image_url?: string;
|
|
4518
|
+
video_url?: string;
|
|
4519
|
+
document_url?: string;
|
|
4520
|
+
document_filename?: string;
|
|
4521
|
+
};
|
|
4517
4522
|
body?: Record<string, string>;
|
|
4518
4523
|
buttons?: SendTemplateButtonValue[];
|
|
4519
4524
|
}
|
|
@@ -5085,13 +5090,14 @@ declare interface WhatsAppTemplateFooterComponent {
|
|
|
5085
5090
|
|
|
5086
5091
|
declare interface WhatsAppTemplateHeaderComponent {
|
|
5087
5092
|
type: 'HEADER';
|
|
5088
|
-
format: 'TEXT';
|
|
5089
|
-
text
|
|
5093
|
+
format: 'TEXT' | 'IMAGE' | 'VIDEO' | 'DOCUMENT';
|
|
5094
|
+
text?: string;
|
|
5090
5095
|
example?: {
|
|
5091
|
-
header_text_named_params
|
|
5096
|
+
header_text_named_params?: Array<{
|
|
5092
5097
|
param_name: string;
|
|
5093
5098
|
example: string;
|
|
5094
5099
|
}>;
|
|
5100
|
+
header_handle?: string[];
|
|
5095
5101
|
};
|
|
5096
5102
|
}
|
|
5097
5103
|
|