evo360-types 1.3.309 → 1.3.314

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.
Files changed (41) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
  2. package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
  3. package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
  4. package/dist/apps/evo-chat/quick-reply/zod-schemas.d.ts +1204 -0
  5. package/dist/apps/evo-chat/quick-reply/zod-schemas.js +67 -0
  6. package/dist/apps/evo-chat/quick-reply/zod-schemas.ts +70 -0
  7. package/dist/apps/evo-chat/waba-template/zod-schemas.d.ts +1557 -0
  8. package/dist/apps/evo-chat/waba-template/zod-schemas.js +55 -0
  9. package/dist/apps/evo-chat/waba-template/zod-schemas.ts +57 -0
  10. package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
  11. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +6 -6
  12. package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
  13. package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
  14. package/dist/apps/evo-med/dic/zod-schemas.d.ts +6 -6
  15. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
  16. package/dist/apps/evo-med/people/zod-schemas.d.ts +12 -12
  17. package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
  18. package/dist/apps/evo-people/zod-schemas.d.ts +30 -24
  19. package/dist/apps/evo-people/zod-schemas.js +2 -0
  20. package/dist/apps/evo-people/zod-schemas.ts +2 -0
  21. package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
  22. package/dist/apps/evo-task/zod-schemas.d.ts +54 -54
  23. package/dist/apps/shared/zod-schemas.d.ts +2 -2
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.js +2 -0
  26. package/dist/index.ts +2 -0
  27. package/dist/types/evo-chat/fb_collections.d.ts +4 -0
  28. package/dist/types/evo-chat/fb_collections.js +6 -1
  29. package/dist/types/evo-chat/fb_collections.ts +6 -0
  30. package/dist/types/evo-chat/index.d.ts +2 -0
  31. package/dist/types/evo-chat/index.js +2 -0
  32. package/dist/types/evo-chat/index.ts +2 -0
  33. package/dist/types/evo-chat/quick-reply/index.d.ts +43 -0
  34. package/dist/types/evo-chat/quick-reply/index.js +2 -0
  35. package/dist/types/evo-chat/quick-reply/index.ts +49 -0
  36. package/dist/types/evo-chat/waba-template/index.d.ts +93 -0
  37. package/dist/types/evo-chat/waba-template/index.js +39 -0
  38. package/dist/types/evo-chat/waba-template/index.ts +108 -0
  39. package/dist/types/evo-people/index.d.ts +4 -0
  40. package/dist/types/evo-people/index.ts +5 -0
  41. package/package.json +1 -1
@@ -215,14 +215,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
215
215
  name: string;
216
216
  hidden: boolean;
217
217
  base?: boolean | undefined;
218
- color?: string | undefined;
219
218
  category?: string | null | undefined;
219
+ color?: string | undefined;
220
220
  }, {
221
221
  name: string;
222
222
  hidden: boolean;
223
223
  base?: boolean | undefined;
224
- color?: string | undefined;
225
224
  category?: string | null | undefined;
225
+ color?: string | undefined;
226
226
  }>, "many">>>;
227
227
  }, "strip", z.ZodTypeAny, {
228
228
  description?: string | undefined;
@@ -230,8 +230,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
230
230
  name: string;
231
231
  hidden: boolean;
232
232
  base?: boolean | undefined;
233
- color?: string | undefined;
234
233
  category?: string | null | undefined;
234
+ color?: string | undefined;
235
235
  }[] | null | undefined;
236
236
  title?: string | undefined;
237
237
  priority?: "low" | "medium" | "high" | undefined;
@@ -241,8 +241,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
241
241
  name: string;
242
242
  hidden: boolean;
243
243
  base?: boolean | undefined;
244
- color?: string | undefined;
245
244
  category?: string | null | undefined;
245
+ color?: string | undefined;
246
246
  }[] | null | undefined;
247
247
  title?: string | undefined;
248
248
  priority?: "low" | "medium" | "high" | undefined;
@@ -285,14 +285,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
285
285
  name: string;
286
286
  hidden: boolean;
287
287
  base?: boolean | undefined;
288
- color?: string | undefined;
289
288
  category?: string | null | undefined;
289
+ color?: string | undefined;
290
290
  }, {
291
291
  name: string;
292
292
  hidden: boolean;
293
293
  base?: boolean | undefined;
294
- color?: string | undefined;
295
294
  category?: string | null | undefined;
295
+ color?: string | undefined;
296
296
  }>, "many">>>;
297
297
  }, "strip", z.ZodTypeAny, {
298
298
  description?: string | undefined;
@@ -300,8 +300,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
300
300
  name: string;
301
301
  hidden: boolean;
302
302
  base?: boolean | undefined;
303
- color?: string | undefined;
304
303
  category?: string | null | undefined;
304
+ color?: string | undefined;
305
305
  }[] | null | undefined;
306
306
  title?: string | undefined;
307
307
  priority?: "low" | "medium" | "high" | undefined;
@@ -311,8 +311,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
311
311
  name: string;
312
312
  hidden: boolean;
313
313
  base?: boolean | undefined;
314
- color?: string | undefined;
315
314
  category?: string | null | undefined;
315
+ color?: string | undefined;
316
316
  }[] | null | undefined;
317
317
  title?: string | undefined;
318
318
  priority?: "low" | "medium" | "high" | undefined;
@@ -355,14 +355,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
355
355
  name: string;
356
356
  hidden: boolean;
357
357
  base?: boolean | undefined;
358
- color?: string | undefined;
359
358
  category?: string | null | undefined;
359
+ color?: string | undefined;
360
360
  }, {
361
361
  name: string;
362
362
  hidden: boolean;
363
363
  base?: boolean | undefined;
364
- color?: string | undefined;
365
364
  category?: string | null | undefined;
365
+ color?: string | undefined;
366
366
  }>, "many">>>;
367
367
  }, "strip", z.ZodTypeAny, {
368
368
  description?: string | undefined;
@@ -370,8 +370,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
370
370
  name: string;
371
371
  hidden: boolean;
372
372
  base?: boolean | undefined;
373
- color?: string | undefined;
374
373
  category?: string | null | undefined;
374
+ color?: string | undefined;
375
375
  }[] | null | undefined;
376
376
  title?: string | undefined;
377
377
  priority?: "low" | "medium" | "high" | undefined;
@@ -381,8 +381,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
381
381
  name: string;
382
382
  hidden: boolean;
383
383
  base?: boolean | undefined;
384
- color?: string | undefined;
385
384
  category?: string | null | undefined;
385
+ color?: string | undefined;
386
386
  }[] | null | undefined;
387
387
  title?: string | undefined;
388
388
  priority?: "low" | "medium" | "high" | undefined;
@@ -459,14 +459,14 @@ export declare const zTaskSchema: z.ZodObject<{
459
459
  name: string;
460
460
  hidden: boolean;
461
461
  base?: boolean | undefined;
462
- color?: string | undefined;
463
462
  category?: string | null | undefined;
463
+ color?: string | undefined;
464
464
  }, {
465
465
  name: string;
466
466
  hidden: boolean;
467
467
  base?: boolean | undefined;
468
- color?: string | undefined;
469
468
  category?: string | null | undefined;
469
+ color?: string | undefined;
470
470
  }>, "many">>>;
471
471
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
472
472
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -628,14 +628,14 @@ export declare const zTaskSchema: z.ZodObject<{
628
628
  name: string;
629
629
  hidden: boolean;
630
630
  base?: boolean | undefined;
631
- color?: string | undefined;
632
631
  category?: string | null | undefined;
632
+ color?: string | undefined;
633
633
  }, {
634
634
  name: string;
635
635
  hidden: boolean;
636
636
  base?: boolean | undefined;
637
- color?: string | undefined;
638
637
  category?: string | null | undefined;
638
+ color?: string | undefined;
639
639
  }>, "many">>>;
640
640
  }, "strip", z.ZodTypeAny, {
641
641
  description?: string | undefined;
@@ -643,8 +643,8 @@ export declare const zTaskSchema: z.ZodObject<{
643
643
  name: string;
644
644
  hidden: boolean;
645
645
  base?: boolean | undefined;
646
- color?: string | undefined;
647
646
  category?: string | null | undefined;
647
+ color?: string | undefined;
648
648
  }[] | null | undefined;
649
649
  title?: string | undefined;
650
650
  priority?: "low" | "medium" | "high" | undefined;
@@ -654,8 +654,8 @@ export declare const zTaskSchema: z.ZodObject<{
654
654
  name: string;
655
655
  hidden: boolean;
656
656
  base?: boolean | undefined;
657
- color?: string | undefined;
658
657
  category?: string | null | undefined;
658
+ color?: string | undefined;
659
659
  }[] | null | undefined;
660
660
  title?: string | undefined;
661
661
  priority?: "low" | "medium" | "high" | undefined;
@@ -698,14 +698,14 @@ export declare const zTaskSchema: z.ZodObject<{
698
698
  name: string;
699
699
  hidden: boolean;
700
700
  base?: boolean | undefined;
701
- color?: string | undefined;
702
701
  category?: string | null | undefined;
702
+ color?: string | undefined;
703
703
  }, {
704
704
  name: string;
705
705
  hidden: boolean;
706
706
  base?: boolean | undefined;
707
- color?: string | undefined;
708
707
  category?: string | null | undefined;
708
+ color?: string | undefined;
709
709
  }>, "many">>>;
710
710
  }, "strip", z.ZodTypeAny, {
711
711
  description?: string | undefined;
@@ -713,8 +713,8 @@ export declare const zTaskSchema: z.ZodObject<{
713
713
  name: string;
714
714
  hidden: boolean;
715
715
  base?: boolean | undefined;
716
- color?: string | undefined;
717
716
  category?: string | null | undefined;
717
+ color?: string | undefined;
718
718
  }[] | null | undefined;
719
719
  title?: string | undefined;
720
720
  priority?: "low" | "medium" | "high" | undefined;
@@ -724,8 +724,8 @@ export declare const zTaskSchema: z.ZodObject<{
724
724
  name: string;
725
725
  hidden: boolean;
726
726
  base?: boolean | undefined;
727
- color?: string | undefined;
728
727
  category?: string | null | undefined;
728
+ color?: string | undefined;
729
729
  }[] | null | undefined;
730
730
  title?: string | undefined;
731
731
  priority?: "low" | "medium" | "high" | undefined;
@@ -768,14 +768,14 @@ export declare const zTaskSchema: z.ZodObject<{
768
768
  name: string;
769
769
  hidden: boolean;
770
770
  base?: boolean | undefined;
771
- color?: string | undefined;
772
771
  category?: string | null | undefined;
772
+ color?: string | undefined;
773
773
  }, {
774
774
  name: string;
775
775
  hidden: boolean;
776
776
  base?: boolean | undefined;
777
- color?: string | undefined;
778
777
  category?: string | null | undefined;
778
+ color?: string | undefined;
779
779
  }>, "many">>>;
780
780
  }, "strip", z.ZodTypeAny, {
781
781
  description?: string | undefined;
@@ -783,8 +783,8 @@ export declare const zTaskSchema: z.ZodObject<{
783
783
  name: string;
784
784
  hidden: boolean;
785
785
  base?: boolean | undefined;
786
- color?: string | undefined;
787
786
  category?: string | null | undefined;
787
+ color?: string | undefined;
788
788
  }[] | null | undefined;
789
789
  title?: string | undefined;
790
790
  priority?: "low" | "medium" | "high" | undefined;
@@ -794,8 +794,8 @@ export declare const zTaskSchema: z.ZodObject<{
794
794
  name: string;
795
795
  hidden: boolean;
796
796
  base?: boolean | undefined;
797
- color?: string | undefined;
798
797
  category?: string | null | undefined;
798
+ color?: string | undefined;
799
799
  }[] | null | undefined;
800
800
  title?: string | undefined;
801
801
  priority?: "low" | "medium" | "high" | undefined;
@@ -881,14 +881,14 @@ export declare const zTaskSchema: z.ZodObject<{
881
881
  name: string;
882
882
  hidden: boolean;
883
883
  base?: boolean | undefined;
884
- color?: string | undefined;
885
884
  category?: string | null | undefined;
885
+ color?: string | undefined;
886
886
  }, {
887
887
  name: string;
888
888
  hidden: boolean;
889
889
  base?: boolean | undefined;
890
- color?: string | undefined;
891
890
  category?: string | null | undefined;
891
+ color?: string | undefined;
892
892
  }>, "many">>>;
893
893
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
894
894
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -1050,14 +1050,14 @@ export declare const zTaskSchema: z.ZodObject<{
1050
1050
  name: string;
1051
1051
  hidden: boolean;
1052
1052
  base?: boolean | undefined;
1053
- color?: string | undefined;
1054
1053
  category?: string | null | undefined;
1054
+ color?: string | undefined;
1055
1055
  }, {
1056
1056
  name: string;
1057
1057
  hidden: boolean;
1058
1058
  base?: boolean | undefined;
1059
- color?: string | undefined;
1060
1059
  category?: string | null | undefined;
1060
+ color?: string | undefined;
1061
1061
  }>, "many">>>;
1062
1062
  }, "strip", z.ZodTypeAny, {
1063
1063
  description?: string | undefined;
@@ -1065,8 +1065,8 @@ export declare const zTaskSchema: z.ZodObject<{
1065
1065
  name: string;
1066
1066
  hidden: boolean;
1067
1067
  base?: boolean | undefined;
1068
- color?: string | undefined;
1069
1068
  category?: string | null | undefined;
1069
+ color?: string | undefined;
1070
1070
  }[] | null | undefined;
1071
1071
  title?: string | undefined;
1072
1072
  priority?: "low" | "medium" | "high" | undefined;
@@ -1076,8 +1076,8 @@ export declare const zTaskSchema: z.ZodObject<{
1076
1076
  name: string;
1077
1077
  hidden: boolean;
1078
1078
  base?: boolean | undefined;
1079
- color?: string | undefined;
1080
1079
  category?: string | null | undefined;
1080
+ color?: string | undefined;
1081
1081
  }[] | null | undefined;
1082
1082
  title?: string | undefined;
1083
1083
  priority?: "low" | "medium" | "high" | undefined;
@@ -1120,14 +1120,14 @@ export declare const zTaskSchema: z.ZodObject<{
1120
1120
  name: string;
1121
1121
  hidden: boolean;
1122
1122
  base?: boolean | undefined;
1123
- color?: string | undefined;
1124
1123
  category?: string | null | undefined;
1124
+ color?: string | undefined;
1125
1125
  }, {
1126
1126
  name: string;
1127
1127
  hidden: boolean;
1128
1128
  base?: boolean | undefined;
1129
- color?: string | undefined;
1130
1129
  category?: string | null | undefined;
1130
+ color?: string | undefined;
1131
1131
  }>, "many">>>;
1132
1132
  }, "strip", z.ZodTypeAny, {
1133
1133
  description?: string | undefined;
@@ -1135,8 +1135,8 @@ export declare const zTaskSchema: z.ZodObject<{
1135
1135
  name: string;
1136
1136
  hidden: boolean;
1137
1137
  base?: boolean | undefined;
1138
- color?: string | undefined;
1139
1138
  category?: string | null | undefined;
1139
+ color?: string | undefined;
1140
1140
  }[] | null | undefined;
1141
1141
  title?: string | undefined;
1142
1142
  priority?: "low" | "medium" | "high" | undefined;
@@ -1146,8 +1146,8 @@ export declare const zTaskSchema: z.ZodObject<{
1146
1146
  name: string;
1147
1147
  hidden: boolean;
1148
1148
  base?: boolean | undefined;
1149
- color?: string | undefined;
1150
1149
  category?: string | null | undefined;
1150
+ color?: string | undefined;
1151
1151
  }[] | null | undefined;
1152
1152
  title?: string | undefined;
1153
1153
  priority?: "low" | "medium" | "high" | undefined;
@@ -1190,14 +1190,14 @@ export declare const zTaskSchema: z.ZodObject<{
1190
1190
  name: string;
1191
1191
  hidden: boolean;
1192
1192
  base?: boolean | undefined;
1193
- color?: string | undefined;
1194
1193
  category?: string | null | undefined;
1194
+ color?: string | undefined;
1195
1195
  }, {
1196
1196
  name: string;
1197
1197
  hidden: boolean;
1198
1198
  base?: boolean | undefined;
1199
- color?: string | undefined;
1200
1199
  category?: string | null | undefined;
1200
+ color?: string | undefined;
1201
1201
  }>, "many">>>;
1202
1202
  }, "strip", z.ZodTypeAny, {
1203
1203
  description?: string | undefined;
@@ -1205,8 +1205,8 @@ export declare const zTaskSchema: z.ZodObject<{
1205
1205
  name: string;
1206
1206
  hidden: boolean;
1207
1207
  base?: boolean | undefined;
1208
- color?: string | undefined;
1209
1208
  category?: string | null | undefined;
1209
+ color?: string | undefined;
1210
1210
  }[] | null | undefined;
1211
1211
  title?: string | undefined;
1212
1212
  priority?: "low" | "medium" | "high" | undefined;
@@ -1216,8 +1216,8 @@ export declare const zTaskSchema: z.ZodObject<{
1216
1216
  name: string;
1217
1217
  hidden: boolean;
1218
1218
  base?: boolean | undefined;
1219
- color?: string | undefined;
1220
1219
  category?: string | null | undefined;
1220
+ color?: string | undefined;
1221
1221
  }[] | null | undefined;
1222
1222
  title?: string | undefined;
1223
1223
  priority?: "low" | "medium" | "high" | undefined;
@@ -1303,14 +1303,14 @@ export declare const zTaskSchema: z.ZodObject<{
1303
1303
  name: string;
1304
1304
  hidden: boolean;
1305
1305
  base?: boolean | undefined;
1306
- color?: string | undefined;
1307
1306
  category?: string | null | undefined;
1307
+ color?: string | undefined;
1308
1308
  }, {
1309
1309
  name: string;
1310
1310
  hidden: boolean;
1311
1311
  base?: boolean | undefined;
1312
- color?: string | undefined;
1313
1312
  category?: string | null | undefined;
1313
+ color?: string | undefined;
1314
1314
  }>, "many">>>;
1315
1315
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1316
1316
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -1472,14 +1472,14 @@ export declare const zTaskSchema: z.ZodObject<{
1472
1472
  name: string;
1473
1473
  hidden: boolean;
1474
1474
  base?: boolean | undefined;
1475
- color?: string | undefined;
1476
1475
  category?: string | null | undefined;
1476
+ color?: string | undefined;
1477
1477
  }, {
1478
1478
  name: string;
1479
1479
  hidden: boolean;
1480
1480
  base?: boolean | undefined;
1481
- color?: string | undefined;
1482
1481
  category?: string | null | undefined;
1482
+ color?: string | undefined;
1483
1483
  }>, "many">>>;
1484
1484
  }, "strip", z.ZodTypeAny, {
1485
1485
  description?: string | undefined;
@@ -1487,8 +1487,8 @@ export declare const zTaskSchema: z.ZodObject<{
1487
1487
  name: string;
1488
1488
  hidden: boolean;
1489
1489
  base?: boolean | undefined;
1490
- color?: string | undefined;
1491
1490
  category?: string | null | undefined;
1491
+ color?: string | undefined;
1492
1492
  }[] | null | undefined;
1493
1493
  title?: string | undefined;
1494
1494
  priority?: "low" | "medium" | "high" | undefined;
@@ -1498,8 +1498,8 @@ export declare const zTaskSchema: z.ZodObject<{
1498
1498
  name: string;
1499
1499
  hidden: boolean;
1500
1500
  base?: boolean | undefined;
1501
- color?: string | undefined;
1502
1501
  category?: string | null | undefined;
1502
+ color?: string | undefined;
1503
1503
  }[] | null | undefined;
1504
1504
  title?: string | undefined;
1505
1505
  priority?: "low" | "medium" | "high" | undefined;
@@ -1542,14 +1542,14 @@ export declare const zTaskSchema: z.ZodObject<{
1542
1542
  name: string;
1543
1543
  hidden: boolean;
1544
1544
  base?: boolean | undefined;
1545
- color?: string | undefined;
1546
1545
  category?: string | null | undefined;
1546
+ color?: string | undefined;
1547
1547
  }, {
1548
1548
  name: string;
1549
1549
  hidden: boolean;
1550
1550
  base?: boolean | undefined;
1551
- color?: string | undefined;
1552
1551
  category?: string | null | undefined;
1552
+ color?: string | undefined;
1553
1553
  }>, "many">>>;
1554
1554
  }, "strip", z.ZodTypeAny, {
1555
1555
  description?: string | undefined;
@@ -1557,8 +1557,8 @@ export declare const zTaskSchema: z.ZodObject<{
1557
1557
  name: string;
1558
1558
  hidden: boolean;
1559
1559
  base?: boolean | undefined;
1560
- color?: string | undefined;
1561
1560
  category?: string | null | undefined;
1561
+ color?: string | undefined;
1562
1562
  }[] | null | undefined;
1563
1563
  title?: string | undefined;
1564
1564
  priority?: "low" | "medium" | "high" | undefined;
@@ -1568,8 +1568,8 @@ export declare const zTaskSchema: z.ZodObject<{
1568
1568
  name: string;
1569
1569
  hidden: boolean;
1570
1570
  base?: boolean | undefined;
1571
- color?: string | undefined;
1572
1571
  category?: string | null | undefined;
1572
+ color?: string | undefined;
1573
1573
  }[] | null | undefined;
1574
1574
  title?: string | undefined;
1575
1575
  priority?: "low" | "medium" | "high" | undefined;
@@ -1612,14 +1612,14 @@ export declare const zTaskSchema: z.ZodObject<{
1612
1612
  name: string;
1613
1613
  hidden: boolean;
1614
1614
  base?: boolean | undefined;
1615
- color?: string | undefined;
1616
1615
  category?: string | null | undefined;
1616
+ color?: string | undefined;
1617
1617
  }, {
1618
1618
  name: string;
1619
1619
  hidden: boolean;
1620
1620
  base?: boolean | undefined;
1621
- color?: string | undefined;
1622
1621
  category?: string | null | undefined;
1622
+ color?: string | undefined;
1623
1623
  }>, "many">>>;
1624
1624
  }, "strip", z.ZodTypeAny, {
1625
1625
  description?: string | undefined;
@@ -1627,8 +1627,8 @@ export declare const zTaskSchema: z.ZodObject<{
1627
1627
  name: string;
1628
1628
  hidden: boolean;
1629
1629
  base?: boolean | undefined;
1630
- color?: string | undefined;
1631
1630
  category?: string | null | undefined;
1631
+ color?: string | undefined;
1632
1632
  }[] | null | undefined;
1633
1633
  title?: string | undefined;
1634
1634
  priority?: "low" | "medium" | "high" | undefined;
@@ -1638,8 +1638,8 @@ export declare const zTaskSchema: z.ZodObject<{
1638
1638
  name: string;
1639
1639
  hidden: boolean;
1640
1640
  base?: boolean | undefined;
1641
- color?: string | undefined;
1642
1641
  category?: string | null | undefined;
1642
+ color?: string | undefined;
1643
1643
  }[] | null | undefined;
1644
1644
  title?: string | undefined;
1645
1645
  priority?: "low" | "medium" | "high" | undefined;
@@ -40,14 +40,14 @@ export declare const zTagSchema: z.ZodObject<{
40
40
  name: string;
41
41
  hidden: boolean;
42
42
  base?: boolean | undefined;
43
- color?: string | undefined;
44
43
  category?: string | null | undefined;
44
+ color?: string | undefined;
45
45
  }, {
46
46
  name: string;
47
47
  hidden: boolean;
48
48
  base?: boolean | undefined;
49
- color?: string | undefined;
50
49
  category?: string | null | undefined;
50
+ color?: string | undefined;
51
51
  }>;
52
52
  export declare const zAddressSchema: z.ZodObject<{
53
53
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.d.ts CHANGED
@@ -37,6 +37,8 @@ export * from "./apps/evo-chat/thread/zod-schemas";
37
37
  export * from "./apps/evo-chat/thread-message/zod-schemas";
38
38
  export * from "./apps/evo-chat/ticket/zod-schemas";
39
39
  export * from "./apps/evo-chat/inbox/zod-schemas";
40
+ export * from "./apps/evo-chat/waba-template/zod-schemas";
41
+ export * from "./apps/evo-chat/quick-reply/zod-schemas";
40
42
  export * from "./apps/evo-hub-ia/channel/zod-schemas";
41
43
  export * from "./apps/evo-med/calendar/zod-schemas";
42
44
  export * from "./apps/evo-med/appointment/zod-schemas";
package/dist/index.js CHANGED
@@ -55,6 +55,8 @@ __exportStar(require("./apps/evo-chat/thread/zod-schemas"), exports);
55
55
  __exportStar(require("./apps/evo-chat/thread-message/zod-schemas"), exports);
56
56
  __exportStar(require("./apps/evo-chat/ticket/zod-schemas"), exports);
57
57
  __exportStar(require("./apps/evo-chat/inbox/zod-schemas"), exports);
58
+ __exportStar(require("./apps/evo-chat/waba-template/zod-schemas"), exports);
59
+ __exportStar(require("./apps/evo-chat/quick-reply/zod-schemas"), exports);
58
60
  __exportStar(require("./apps/evo-hub-ia/channel/zod-schemas"), exports);
59
61
  __exportStar(require("./apps/evo-med/calendar/zod-schemas"), exports);
60
62
  __exportStar(require("./apps/evo-med/appointment/zod-schemas"), exports);
package/dist/index.ts CHANGED
@@ -40,6 +40,8 @@ export * from "./apps/evo-chat/thread/zod-schemas";
40
40
  export * from "./apps/evo-chat/thread-message/zod-schemas";
41
41
  export * from "./apps/evo-chat/ticket/zod-schemas";
42
42
  export * from "./apps/evo-chat/inbox/zod-schemas";
43
+ export * from "./apps/evo-chat/waba-template/zod-schemas";
44
+ export * from "./apps/evo-chat/quick-reply/zod-schemas";
43
45
  export * from "./apps/evo-hub-ia/channel/zod-schemas";
44
46
  export * from "./apps/evo-med/calendar/zod-schemas";
45
47
  export * from "./apps/evo-med/appointment/zod-schemas";
@@ -8,3 +8,7 @@ export declare const THREADS_COLLECTION = "threads";
8
8
  export declare const THREAD_MESSAGES_COLLECTION = "messages";
9
9
  export declare const TICKETS_COLLECTION = "tickets";
10
10
  export declare const INBOXES_COLLECTION = "inboxes";
11
+ export declare const HubWabaCollections: {
12
+ readonly TEMPLATES: "waba-templates";
13
+ readonly QUICK_REPLIES: "quick-replies";
14
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INBOXES_COLLECTION = exports.TICKETS_COLLECTION = exports.THREAD_MESSAGES_COLLECTION = exports.THREADS_COLLECTION = exports.CHANNELS_COLLECTION = exports.CHATBEE_CHANNELS_COLLECTION = exports.HSM_MESSAGES_COLLECTION = exports.PROTOCOLS_COLLECTION = exports.CONTACTS_COLLECTION = exports.EVO_CHAT_APP = void 0;
3
+ exports.HubWabaCollections = exports.INBOXES_COLLECTION = exports.TICKETS_COLLECTION = exports.THREAD_MESSAGES_COLLECTION = exports.THREADS_COLLECTION = exports.CHANNELS_COLLECTION = exports.CHATBEE_CHANNELS_COLLECTION = exports.HSM_MESSAGES_COLLECTION = exports.PROTOCOLS_COLLECTION = exports.CONTACTS_COLLECTION = exports.EVO_CHAT_APP = void 0;
4
4
  //EVO Chat Application Doc
5
5
  exports.EVO_CHAT_APP = "evo-chat";
6
6
  //contacts collection
@@ -17,3 +17,8 @@ exports.THREADS_COLLECTION = "threads";
17
17
  exports.THREAD_MESSAGES_COLLECTION = "messages"; // subcollection de threads
18
18
  exports.TICKETS_COLLECTION = "tickets";
19
19
  exports.INBOXES_COLLECTION = "inboxes";
20
+ // hub-waba template subcollection (under channels)
21
+ exports.HubWabaCollections = {
22
+ TEMPLATES: 'waba-templates',
23
+ QUICK_REPLIES: 'quick-replies',
24
+ };
@@ -19,3 +19,9 @@ export const THREADS_COLLECTION = "threads";
19
19
  export const THREAD_MESSAGES_COLLECTION = "messages"; // subcollection de threads
20
20
  export const TICKETS_COLLECTION = "tickets";
21
21
  export const INBOXES_COLLECTION = "inboxes";
22
+
23
+ // hub-waba template subcollection (under channels)
24
+ export const HubWabaCollections = {
25
+ TEMPLATES: 'waba-templates',
26
+ QUICK_REPLIES: 'quick-replies',
27
+ } as const;
@@ -7,6 +7,8 @@ export * from "./thread";
7
7
  export * from "./thread-message";
8
8
  export * from "./ticket";
9
9
  export * from "./inbox";
10
+ export * from "./waba-template";
11
+ export * from "./quick-reply";
10
12
  export declare const EvoChatPermissions: {
11
13
  readonly Read: "evo_chat_read";
12
14
  readonly Write: "evo_chat_write";
@@ -24,6 +24,8 @@ __exportStar(require("./thread"), exports);
24
24
  __exportStar(require("./thread-message"), exports);
25
25
  __exportStar(require("./ticket"), exports);
26
26
  __exportStar(require("./inbox"), exports);
27
+ __exportStar(require("./waba-template"), exports);
28
+ __exportStar(require("./quick-reply"), exports);
27
29
  // Permissões para o evo-chat
28
30
  exports.EvoChatPermissions = {
29
31
  Read: "evo_chat_read",
@@ -7,6 +7,8 @@ export * from "./thread";
7
7
  export * from "./thread-message";
8
8
  export * from "./ticket";
9
9
  export * from "./inbox";
10
+ export * from "./waba-template";
11
+ export * from "./quick-reply";
10
12
 
11
13
  // Permissões para o evo-chat
12
14
  export const EvoChatPermissions = {
@@ -0,0 +1,43 @@
1
+ import { IFireDoc } from '../../shared';
2
+ export type QuickReplyType = 'text' | 'image' | 'audio' | 'video' | 'document' | 'location' | 'contacts';
3
+ export type QuickReplyStatus = 'active' | 'paused';
4
+ export interface IQuickReplyMedia {
5
+ gcs_uri: string;
6
+ mime_type: string;
7
+ filename?: string;
8
+ caption?: string;
9
+ }
10
+ export interface IQuickReplyLocation {
11
+ latitude: number;
12
+ longitude: number;
13
+ name?: string;
14
+ address?: string;
15
+ }
16
+ export interface IQuickReplyContact {
17
+ name: {
18
+ formatted_name: string;
19
+ first_name?: string;
20
+ last_name?: string;
21
+ };
22
+ phones?: Array<{
23
+ phone: string;
24
+ type?: string;
25
+ }>;
26
+ }
27
+ export interface IQuickReply extends IFireDoc {
28
+ model_ver: number;
29
+ title: string;
30
+ shortcut?: string;
31
+ type: QuickReplyType;
32
+ body?: {
33
+ text: string;
34
+ };
35
+ media?: IQuickReplyMedia;
36
+ location?: IQuickReplyLocation;
37
+ contacts_payload?: IQuickReplyContact[];
38
+ department_ids: string[] | 'all';
39
+ status: QuickReplyStatus;
40
+ usage_count?: number;
41
+ last_used_at?: Date | null;
42
+ created_by?: string;
43
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });