evo360-types 1.3.146 → 1.3.147
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/apps/evo-chat/chatbee/zod-schemas.d.ts +36 -0
- package/dist/apps/evo-chat/chatbee/zod-schemas.js +1 -0
- package/dist/apps/evo-chat/chatbee/zod-schemas.ts +1 -0
- package/dist/types/evo-chat/chatbee/index.d.ts +1 -0
- package/dist/types/evo-chat/chatbee/index.ts +2 -1
- package/package.json +1 -1
|
@@ -520,6 +520,16 @@ export declare const zSendTemplateMessageRequestSchema: z.ZodObject<{
|
|
|
520
520
|
template_name: z.ZodString;
|
|
521
521
|
template_language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
522
522
|
waba_id: z.ZodOptional<z.ZodString>;
|
|
523
|
+
header_variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
524
|
+
parameter_name: z.ZodString;
|
|
525
|
+
value: z.ZodString;
|
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
|
527
|
+
value: string;
|
|
528
|
+
parameter_name: string;
|
|
529
|
+
}, {
|
|
530
|
+
value: string;
|
|
531
|
+
parameter_name: string;
|
|
532
|
+
}>, "many">>;
|
|
523
533
|
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
524
534
|
parameter_name: z.ZodString;
|
|
525
535
|
value: z.ZodString;
|
|
@@ -563,6 +573,10 @@ export declare const zSendTemplateMessageRequestSchema: z.ZodObject<{
|
|
|
563
573
|
template_language: string;
|
|
564
574
|
contact_custom_name?: string | undefined;
|
|
565
575
|
waba_id?: string | undefined;
|
|
576
|
+
header_variables?: {
|
|
577
|
+
value: string;
|
|
578
|
+
parameter_name: string;
|
|
579
|
+
}[] | undefined;
|
|
566
580
|
variables?: {
|
|
567
581
|
value: string;
|
|
568
582
|
parameter_name: string;
|
|
@@ -586,6 +600,10 @@ export declare const zSendTemplateMessageRequestSchema: z.ZodObject<{
|
|
|
586
600
|
contact_custom_name?: string | undefined;
|
|
587
601
|
template_language?: string | undefined;
|
|
588
602
|
waba_id?: string | undefined;
|
|
603
|
+
header_variables?: {
|
|
604
|
+
value: string;
|
|
605
|
+
parameter_name: string;
|
|
606
|
+
}[] | undefined;
|
|
589
607
|
variables?: {
|
|
590
608
|
value: string;
|
|
591
609
|
parameter_name: string;
|
|
@@ -637,6 +655,16 @@ export declare const zSendMessageRequestSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
637
655
|
template_name: z.ZodString;
|
|
638
656
|
template_language: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
639
657
|
waba_id: z.ZodOptional<z.ZodString>;
|
|
658
|
+
header_variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
659
|
+
parameter_name: z.ZodString;
|
|
660
|
+
value: z.ZodString;
|
|
661
|
+
}, "strip", z.ZodTypeAny, {
|
|
662
|
+
value: string;
|
|
663
|
+
parameter_name: string;
|
|
664
|
+
}, {
|
|
665
|
+
value: string;
|
|
666
|
+
parameter_name: string;
|
|
667
|
+
}>, "many">>;
|
|
640
668
|
variables: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
641
669
|
parameter_name: z.ZodString;
|
|
642
670
|
value: z.ZodString;
|
|
@@ -680,6 +708,10 @@ export declare const zSendMessageRequestSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
680
708
|
template_language: string;
|
|
681
709
|
contact_custom_name?: string | undefined;
|
|
682
710
|
waba_id?: string | undefined;
|
|
711
|
+
header_variables?: {
|
|
712
|
+
value: string;
|
|
713
|
+
parameter_name: string;
|
|
714
|
+
}[] | undefined;
|
|
683
715
|
variables?: {
|
|
684
716
|
value: string;
|
|
685
717
|
parameter_name: string;
|
|
@@ -703,6 +735,10 @@ export declare const zSendMessageRequestSchema: z.ZodDiscriminatedUnion<"type",
|
|
|
703
735
|
contact_custom_name?: string | undefined;
|
|
704
736
|
template_language?: string | undefined;
|
|
705
737
|
waba_id?: string | undefined;
|
|
738
|
+
header_variables?: {
|
|
739
|
+
value: string;
|
|
740
|
+
parameter_name: string;
|
|
741
|
+
}[] | undefined;
|
|
706
742
|
variables?: {
|
|
707
743
|
value: string;
|
|
708
744
|
parameter_name: string;
|
|
@@ -124,6 +124,7 @@ exports.zSendTemplateMessageRequestSchema = zod_1.z.object({
|
|
|
124
124
|
template_name: zod_1.z.string().min(1),
|
|
125
125
|
template_language: zod_1.z.string().optional().default('pt_BR'),
|
|
126
126
|
waba_id: zod_1.z.string().optional(),
|
|
127
|
+
header_variables: zod_1.z.array(exports.zTemplateVariableSchema).optional(),
|
|
127
128
|
variables: zod_1.z.array(exports.zTemplateVariableSchema).optional(),
|
|
128
129
|
header_media: exports.zTemplateHeaderMediaSchema.optional(),
|
|
129
130
|
button_payloads: zod_1.z.array(exports.zTemplateButtonPayloadSchema).optional(),
|
|
@@ -132,6 +132,7 @@ export const zSendTemplateMessageRequestSchema = z.object({
|
|
|
132
132
|
template_name: z.string().min(1),
|
|
133
133
|
template_language: z.string().optional().default('pt_BR'),
|
|
134
134
|
waba_id: z.string().optional(),
|
|
135
|
+
header_variables: z.array(zTemplateVariableSchema).optional(),
|
|
135
136
|
variables: z.array(zTemplateVariableSchema).optional(),
|
|
136
137
|
header_media: zTemplateHeaderMediaSchema.optional(),
|
|
137
138
|
button_payloads: z.array(zTemplateButtonPayloadSchema).optional(),
|
|
@@ -99,6 +99,7 @@ export interface ISendTemplateMessageRequest {
|
|
|
99
99
|
template_name: string;
|
|
100
100
|
template_language?: string;
|
|
101
101
|
waba_id?: string;
|
|
102
|
+
header_variables?: ITemplateVariable[];
|
|
102
103
|
variables?: ITemplateVariable[];
|
|
103
104
|
header_media?: ITemplateHeaderMedia;
|
|
104
105
|
button_payloads?: ITemplateButtonPayload[];
|
|
@@ -122,7 +122,8 @@ export interface ISendTemplateMessageRequest {
|
|
|
122
122
|
template_name: string;
|
|
123
123
|
template_language?: string; // padrão: 'pt_BR'
|
|
124
124
|
waba_id?: string; // opcional, será obtido do canal se não fornecido
|
|
125
|
-
|
|
125
|
+
header_variables?: ITemplateVariable[]; // variáveis para o HEADER (se aplicável)
|
|
126
|
+
variables?: ITemplateVariable[]; // variáveis para o BODY
|
|
126
127
|
header_media?: ITemplateHeaderMedia; // mídia para o HEADER (imagem, vídeo ou documento)
|
|
127
128
|
button_payloads?: ITemplateButtonPayload[]; // payloads para botões QUICK_REPLY
|
|
128
129
|
}
|