evo360-types 1.3.362 → 1.3.364

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 (33) 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/dic/ticket-close/zod-schemas.d.ts +12 -12
  4. package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
  5. package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
  6. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +6 -6
  7. package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
  8. package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
  9. package/dist/apps/evo-med/dic/zod-schemas.d.ts +50 -6
  10. package/dist/apps/evo-med/dic/zod-schemas.js +40 -1
  11. package/dist/apps/evo-med/dic/zod-schemas.ts +41 -0
  12. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
  13. package/dist/apps/evo-med/people/zod-schemas.d.ts +497 -12
  14. package/dist/apps/evo-med/people/zod-schemas.js +34 -4
  15. package/dist/apps/evo-med/people/zod-schemas.ts +33 -0
  16. package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
  17. package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
  18. package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
  19. package/dist/apps/evo-task/zod-schemas.d.ts +54 -54
  20. package/dist/apps/shared/zod-schemas.d.ts +2 -2
  21. package/dist/types/evo-integrations/index.d.ts +1 -1
  22. package/dist/types/evo-integrations/index.ts +1 -1
  23. package/dist/types/evo-med/calendar/index.d.ts +3 -3
  24. package/dist/types/evo-med/calendar/index.ts +3 -3
  25. package/dist/types/evo-med/dic/index.d.ts +40 -2
  26. package/dist/types/evo-med/dic/index.js +34 -1
  27. package/dist/types/evo-med/dic/index.ts +49 -1
  28. package/dist/types/evo-med/fb_collections.d.ts +2 -0
  29. package/dist/types/evo-med/fb_collections.js +3 -1
  30. package/dist/types/evo-med/fb_collections.ts +3 -0
  31. package/dist/types/evo-med/people/index.d.ts +23 -2
  32. package/dist/types/evo-med/people/index.ts +21 -1
  33. package/package.json +1 -1
@@ -231,14 +231,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
231
231
  name: string;
232
232
  hidden: boolean;
233
233
  base?: boolean | undefined;
234
- category?: string | null | undefined;
235
234
  color?: string | undefined;
235
+ category?: string | null | undefined;
236
236
  }, {
237
237
  name: string;
238
238
  hidden: boolean;
239
239
  base?: boolean | undefined;
240
- category?: string | null | undefined;
241
240
  color?: string | undefined;
241
+ category?: string | null | undefined;
242
242
  }>, "many">>>;
243
243
  }, "strip", z.ZodTypeAny, {
244
244
  description?: string | undefined;
@@ -246,8 +246,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
246
246
  name: string;
247
247
  hidden: boolean;
248
248
  base?: boolean | undefined;
249
- category?: string | null | undefined;
250
249
  color?: string | undefined;
250
+ category?: string | null | undefined;
251
251
  }[] | null | undefined;
252
252
  title?: string | undefined;
253
253
  priority?: "low" | "medium" | "high" | undefined;
@@ -257,8 +257,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
257
257
  name: string;
258
258
  hidden: boolean;
259
259
  base?: boolean | undefined;
260
- category?: string | null | undefined;
261
260
  color?: string | undefined;
261
+ category?: string | null | undefined;
262
262
  }[] | null | undefined;
263
263
  title?: string | undefined;
264
264
  priority?: "low" | "medium" | "high" | undefined;
@@ -301,14 +301,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
301
301
  name: string;
302
302
  hidden: boolean;
303
303
  base?: boolean | undefined;
304
- category?: string | null | undefined;
305
304
  color?: string | undefined;
305
+ category?: string | null | undefined;
306
306
  }, {
307
307
  name: string;
308
308
  hidden: boolean;
309
309
  base?: boolean | undefined;
310
- category?: string | null | undefined;
311
310
  color?: string | undefined;
311
+ category?: string | null | undefined;
312
312
  }>, "many">>>;
313
313
  }, "strip", z.ZodTypeAny, {
314
314
  description?: string | undefined;
@@ -316,8 +316,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
316
316
  name: string;
317
317
  hidden: boolean;
318
318
  base?: boolean | undefined;
319
- category?: string | null | undefined;
320
319
  color?: string | undefined;
320
+ category?: string | null | undefined;
321
321
  }[] | null | undefined;
322
322
  title?: string | undefined;
323
323
  priority?: "low" | "medium" | "high" | undefined;
@@ -327,8 +327,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
327
327
  name: string;
328
328
  hidden: boolean;
329
329
  base?: boolean | undefined;
330
- category?: string | null | undefined;
331
330
  color?: string | undefined;
331
+ category?: string | null | undefined;
332
332
  }[] | null | undefined;
333
333
  title?: string | undefined;
334
334
  priority?: "low" | "medium" | "high" | undefined;
@@ -371,14 +371,14 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
371
371
  name: string;
372
372
  hidden: boolean;
373
373
  base?: boolean | undefined;
374
- category?: string | null | undefined;
375
374
  color?: string | undefined;
375
+ category?: string | null | undefined;
376
376
  }, {
377
377
  name: string;
378
378
  hidden: boolean;
379
379
  base?: boolean | undefined;
380
- category?: string | null | undefined;
381
380
  color?: string | undefined;
381
+ category?: string | null | undefined;
382
382
  }>, "many">>>;
383
383
  }, "strip", z.ZodTypeAny, {
384
384
  description?: string | undefined;
@@ -386,8 +386,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
386
386
  name: string;
387
387
  hidden: boolean;
388
388
  base?: boolean | undefined;
389
- category?: string | null | undefined;
390
389
  color?: string | undefined;
390
+ category?: string | null | undefined;
391
391
  }[] | null | undefined;
392
392
  title?: string | undefined;
393
393
  priority?: "low" | "medium" | "high" | undefined;
@@ -397,8 +397,8 @@ export declare const zTaskOnFailureSchema: z.ZodObject<{
397
397
  name: string;
398
398
  hidden: boolean;
399
399
  base?: boolean | undefined;
400
- category?: string | null | undefined;
401
400
  color?: string | undefined;
401
+ category?: string | null | undefined;
402
402
  }[] | null | undefined;
403
403
  title?: string | undefined;
404
404
  priority?: "low" | "medium" | "high" | undefined;
@@ -475,14 +475,14 @@ export declare const zTaskSchema: z.ZodObject<{
475
475
  name: string;
476
476
  hidden: boolean;
477
477
  base?: boolean | undefined;
478
- category?: string | null | undefined;
479
478
  color?: string | undefined;
479
+ category?: string | null | undefined;
480
480
  }, {
481
481
  name: string;
482
482
  hidden: boolean;
483
483
  base?: boolean | undefined;
484
- category?: string | null | undefined;
485
484
  color?: string | undefined;
485
+ category?: string | null | undefined;
486
486
  }>, "many">>>;
487
487
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
488
488
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -644,14 +644,14 @@ export declare const zTaskSchema: z.ZodObject<{
644
644
  name: string;
645
645
  hidden: boolean;
646
646
  base?: boolean | undefined;
647
- category?: string | null | undefined;
648
647
  color?: string | undefined;
648
+ category?: string | null | undefined;
649
649
  }, {
650
650
  name: string;
651
651
  hidden: boolean;
652
652
  base?: boolean | undefined;
653
- category?: string | null | undefined;
654
653
  color?: string | undefined;
654
+ category?: string | null | undefined;
655
655
  }>, "many">>>;
656
656
  }, "strip", z.ZodTypeAny, {
657
657
  description?: string | undefined;
@@ -659,8 +659,8 @@ export declare const zTaskSchema: z.ZodObject<{
659
659
  name: string;
660
660
  hidden: boolean;
661
661
  base?: boolean | undefined;
662
- category?: string | null | undefined;
663
662
  color?: string | undefined;
663
+ category?: string | null | undefined;
664
664
  }[] | null | undefined;
665
665
  title?: string | undefined;
666
666
  priority?: "low" | "medium" | "high" | undefined;
@@ -670,8 +670,8 @@ export declare const zTaskSchema: z.ZodObject<{
670
670
  name: string;
671
671
  hidden: boolean;
672
672
  base?: boolean | undefined;
673
- category?: string | null | undefined;
674
673
  color?: string | undefined;
674
+ category?: string | null | undefined;
675
675
  }[] | null | undefined;
676
676
  title?: string | undefined;
677
677
  priority?: "low" | "medium" | "high" | undefined;
@@ -714,14 +714,14 @@ export declare const zTaskSchema: z.ZodObject<{
714
714
  name: string;
715
715
  hidden: boolean;
716
716
  base?: boolean | undefined;
717
- category?: string | null | undefined;
718
717
  color?: string | undefined;
718
+ category?: string | null | undefined;
719
719
  }, {
720
720
  name: string;
721
721
  hidden: boolean;
722
722
  base?: boolean | undefined;
723
- category?: string | null | undefined;
724
723
  color?: string | undefined;
724
+ category?: string | null | undefined;
725
725
  }>, "many">>>;
726
726
  }, "strip", z.ZodTypeAny, {
727
727
  description?: string | undefined;
@@ -729,8 +729,8 @@ export declare const zTaskSchema: z.ZodObject<{
729
729
  name: string;
730
730
  hidden: boolean;
731
731
  base?: boolean | undefined;
732
- category?: string | null | undefined;
733
732
  color?: string | undefined;
733
+ category?: string | null | undefined;
734
734
  }[] | null | undefined;
735
735
  title?: string | undefined;
736
736
  priority?: "low" | "medium" | "high" | undefined;
@@ -740,8 +740,8 @@ export declare const zTaskSchema: z.ZodObject<{
740
740
  name: string;
741
741
  hidden: boolean;
742
742
  base?: boolean | undefined;
743
- category?: string | null | undefined;
744
743
  color?: string | undefined;
744
+ category?: string | null | undefined;
745
745
  }[] | null | undefined;
746
746
  title?: string | undefined;
747
747
  priority?: "low" | "medium" | "high" | undefined;
@@ -784,14 +784,14 @@ export declare const zTaskSchema: z.ZodObject<{
784
784
  name: string;
785
785
  hidden: boolean;
786
786
  base?: boolean | undefined;
787
- category?: string | null | undefined;
788
787
  color?: string | undefined;
788
+ category?: string | null | undefined;
789
789
  }, {
790
790
  name: string;
791
791
  hidden: boolean;
792
792
  base?: boolean | undefined;
793
- category?: string | null | undefined;
794
793
  color?: string | undefined;
794
+ category?: string | null | undefined;
795
795
  }>, "many">>>;
796
796
  }, "strip", z.ZodTypeAny, {
797
797
  description?: string | undefined;
@@ -799,8 +799,8 @@ export declare const zTaskSchema: z.ZodObject<{
799
799
  name: string;
800
800
  hidden: boolean;
801
801
  base?: boolean | undefined;
802
- category?: string | null | undefined;
803
802
  color?: string | undefined;
803
+ category?: string | null | undefined;
804
804
  }[] | null | undefined;
805
805
  title?: string | undefined;
806
806
  priority?: "low" | "medium" | "high" | undefined;
@@ -810,8 +810,8 @@ export declare const zTaskSchema: z.ZodObject<{
810
810
  name: string;
811
811
  hidden: boolean;
812
812
  base?: boolean | undefined;
813
- category?: string | null | undefined;
814
813
  color?: string | undefined;
814
+ category?: string | null | undefined;
815
815
  }[] | null | undefined;
816
816
  title?: string | undefined;
817
817
  priority?: "low" | "medium" | "high" | undefined;
@@ -913,14 +913,14 @@ export declare const zTaskSchema: z.ZodObject<{
913
913
  name: string;
914
914
  hidden: boolean;
915
915
  base?: boolean | undefined;
916
- category?: string | null | undefined;
917
916
  color?: string | undefined;
917
+ category?: string | null | undefined;
918
918
  }, {
919
919
  name: string;
920
920
  hidden: boolean;
921
921
  base?: boolean | undefined;
922
- category?: string | null | undefined;
923
922
  color?: string | undefined;
923
+ category?: string | null | undefined;
924
924
  }>, "many">>>;
925
925
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
926
926
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -1082,14 +1082,14 @@ export declare const zTaskSchema: z.ZodObject<{
1082
1082
  name: string;
1083
1083
  hidden: boolean;
1084
1084
  base?: boolean | undefined;
1085
- category?: string | null | undefined;
1086
1085
  color?: string | undefined;
1086
+ category?: string | null | undefined;
1087
1087
  }, {
1088
1088
  name: string;
1089
1089
  hidden: boolean;
1090
1090
  base?: boolean | undefined;
1091
- category?: string | null | undefined;
1092
1091
  color?: string | undefined;
1092
+ category?: string | null | undefined;
1093
1093
  }>, "many">>>;
1094
1094
  }, "strip", z.ZodTypeAny, {
1095
1095
  description?: string | undefined;
@@ -1097,8 +1097,8 @@ export declare const zTaskSchema: z.ZodObject<{
1097
1097
  name: string;
1098
1098
  hidden: boolean;
1099
1099
  base?: boolean | undefined;
1100
- category?: string | null | undefined;
1101
1100
  color?: string | undefined;
1101
+ category?: string | null | undefined;
1102
1102
  }[] | null | undefined;
1103
1103
  title?: string | undefined;
1104
1104
  priority?: "low" | "medium" | "high" | undefined;
@@ -1108,8 +1108,8 @@ export declare const zTaskSchema: z.ZodObject<{
1108
1108
  name: string;
1109
1109
  hidden: boolean;
1110
1110
  base?: boolean | undefined;
1111
- category?: string | null | undefined;
1112
1111
  color?: string | undefined;
1112
+ category?: string | null | undefined;
1113
1113
  }[] | null | undefined;
1114
1114
  title?: string | undefined;
1115
1115
  priority?: "low" | "medium" | "high" | undefined;
@@ -1152,14 +1152,14 @@ export declare const zTaskSchema: z.ZodObject<{
1152
1152
  name: string;
1153
1153
  hidden: boolean;
1154
1154
  base?: boolean | undefined;
1155
- category?: string | null | undefined;
1156
1155
  color?: string | undefined;
1156
+ category?: string | null | undefined;
1157
1157
  }, {
1158
1158
  name: string;
1159
1159
  hidden: boolean;
1160
1160
  base?: boolean | undefined;
1161
- category?: string | null | undefined;
1162
1161
  color?: string | undefined;
1162
+ category?: string | null | undefined;
1163
1163
  }>, "many">>>;
1164
1164
  }, "strip", z.ZodTypeAny, {
1165
1165
  description?: string | undefined;
@@ -1167,8 +1167,8 @@ export declare const zTaskSchema: z.ZodObject<{
1167
1167
  name: string;
1168
1168
  hidden: boolean;
1169
1169
  base?: boolean | undefined;
1170
- category?: string | null | undefined;
1171
1170
  color?: string | undefined;
1171
+ category?: string | null | undefined;
1172
1172
  }[] | null | undefined;
1173
1173
  title?: string | undefined;
1174
1174
  priority?: "low" | "medium" | "high" | undefined;
@@ -1178,8 +1178,8 @@ export declare const zTaskSchema: z.ZodObject<{
1178
1178
  name: string;
1179
1179
  hidden: boolean;
1180
1180
  base?: boolean | undefined;
1181
- category?: string | null | undefined;
1182
1181
  color?: string | undefined;
1182
+ category?: string | null | undefined;
1183
1183
  }[] | null | undefined;
1184
1184
  title?: string | undefined;
1185
1185
  priority?: "low" | "medium" | "high" | undefined;
@@ -1222,14 +1222,14 @@ export declare const zTaskSchema: z.ZodObject<{
1222
1222
  name: string;
1223
1223
  hidden: boolean;
1224
1224
  base?: boolean | undefined;
1225
- category?: string | null | undefined;
1226
1225
  color?: string | undefined;
1226
+ category?: string | null | undefined;
1227
1227
  }, {
1228
1228
  name: string;
1229
1229
  hidden: boolean;
1230
1230
  base?: boolean | undefined;
1231
- category?: string | null | undefined;
1232
1231
  color?: string | undefined;
1232
+ category?: string | null | undefined;
1233
1233
  }>, "many">>>;
1234
1234
  }, "strip", z.ZodTypeAny, {
1235
1235
  description?: string | undefined;
@@ -1237,8 +1237,8 @@ export declare const zTaskSchema: z.ZodObject<{
1237
1237
  name: string;
1238
1238
  hidden: boolean;
1239
1239
  base?: boolean | undefined;
1240
- category?: string | null | undefined;
1241
1240
  color?: string | undefined;
1241
+ category?: string | null | undefined;
1242
1242
  }[] | null | undefined;
1243
1243
  title?: string | undefined;
1244
1244
  priority?: "low" | "medium" | "high" | undefined;
@@ -1248,8 +1248,8 @@ export declare const zTaskSchema: z.ZodObject<{
1248
1248
  name: string;
1249
1249
  hidden: boolean;
1250
1250
  base?: boolean | undefined;
1251
- category?: string | null | undefined;
1252
1251
  color?: string | undefined;
1252
+ category?: string | null | undefined;
1253
1253
  }[] | null | undefined;
1254
1254
  title?: string | undefined;
1255
1255
  priority?: "low" | "medium" | "high" | undefined;
@@ -1351,14 +1351,14 @@ export declare const zTaskSchema: z.ZodObject<{
1351
1351
  name: string;
1352
1352
  hidden: boolean;
1353
1353
  base?: boolean | undefined;
1354
- category?: string | null | undefined;
1355
1354
  color?: string | undefined;
1355
+ category?: string | null | undefined;
1356
1356
  }, {
1357
1357
  name: string;
1358
1358
  hidden: boolean;
1359
1359
  base?: boolean | undefined;
1360
- category?: string | null | undefined;
1361
1360
  color?: string | undefined;
1361
+ category?: string | null | undefined;
1362
1362
  }>, "many">>>;
1363
1363
  externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1364
1364
  type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
@@ -1520,14 +1520,14 @@ export declare const zTaskSchema: z.ZodObject<{
1520
1520
  name: string;
1521
1521
  hidden: boolean;
1522
1522
  base?: boolean | undefined;
1523
- category?: string | null | undefined;
1524
1523
  color?: string | undefined;
1524
+ category?: string | null | undefined;
1525
1525
  }, {
1526
1526
  name: string;
1527
1527
  hidden: boolean;
1528
1528
  base?: boolean | undefined;
1529
- category?: string | null | undefined;
1530
1529
  color?: string | undefined;
1530
+ category?: string | null | undefined;
1531
1531
  }>, "many">>>;
1532
1532
  }, "strip", z.ZodTypeAny, {
1533
1533
  description?: string | undefined;
@@ -1535,8 +1535,8 @@ export declare const zTaskSchema: z.ZodObject<{
1535
1535
  name: string;
1536
1536
  hidden: boolean;
1537
1537
  base?: boolean | undefined;
1538
- category?: string | null | undefined;
1539
1538
  color?: string | undefined;
1539
+ category?: string | null | undefined;
1540
1540
  }[] | null | undefined;
1541
1541
  title?: string | undefined;
1542
1542
  priority?: "low" | "medium" | "high" | undefined;
@@ -1546,8 +1546,8 @@ export declare const zTaskSchema: z.ZodObject<{
1546
1546
  name: string;
1547
1547
  hidden: boolean;
1548
1548
  base?: boolean | undefined;
1549
- category?: string | null | undefined;
1550
1549
  color?: string | undefined;
1550
+ category?: string | null | undefined;
1551
1551
  }[] | null | undefined;
1552
1552
  title?: string | undefined;
1553
1553
  priority?: "low" | "medium" | "high" | undefined;
@@ -1590,14 +1590,14 @@ export declare const zTaskSchema: z.ZodObject<{
1590
1590
  name: string;
1591
1591
  hidden: boolean;
1592
1592
  base?: boolean | undefined;
1593
- category?: string | null | undefined;
1594
1593
  color?: string | undefined;
1594
+ category?: string | null | undefined;
1595
1595
  }, {
1596
1596
  name: string;
1597
1597
  hidden: boolean;
1598
1598
  base?: boolean | undefined;
1599
- category?: string | null | undefined;
1600
1599
  color?: string | undefined;
1600
+ category?: string | null | undefined;
1601
1601
  }>, "many">>>;
1602
1602
  }, "strip", z.ZodTypeAny, {
1603
1603
  description?: string | undefined;
@@ -1605,8 +1605,8 @@ export declare const zTaskSchema: z.ZodObject<{
1605
1605
  name: string;
1606
1606
  hidden: boolean;
1607
1607
  base?: boolean | undefined;
1608
- category?: string | null | undefined;
1609
1608
  color?: string | undefined;
1609
+ category?: string | null | undefined;
1610
1610
  }[] | null | undefined;
1611
1611
  title?: string | undefined;
1612
1612
  priority?: "low" | "medium" | "high" | undefined;
@@ -1616,8 +1616,8 @@ export declare const zTaskSchema: z.ZodObject<{
1616
1616
  name: string;
1617
1617
  hidden: boolean;
1618
1618
  base?: boolean | undefined;
1619
- category?: string | null | undefined;
1620
1619
  color?: string | undefined;
1620
+ category?: string | null | undefined;
1621
1621
  }[] | null | undefined;
1622
1622
  title?: string | undefined;
1623
1623
  priority?: "low" | "medium" | "high" | undefined;
@@ -1660,14 +1660,14 @@ export declare const zTaskSchema: z.ZodObject<{
1660
1660
  name: string;
1661
1661
  hidden: boolean;
1662
1662
  base?: boolean | undefined;
1663
- category?: string | null | undefined;
1664
1663
  color?: string | undefined;
1664
+ category?: string | null | undefined;
1665
1665
  }, {
1666
1666
  name: string;
1667
1667
  hidden: boolean;
1668
1668
  base?: boolean | undefined;
1669
- category?: string | null | undefined;
1670
1669
  color?: string | undefined;
1670
+ category?: string | null | undefined;
1671
1671
  }>, "many">>>;
1672
1672
  }, "strip", z.ZodTypeAny, {
1673
1673
  description?: string | undefined;
@@ -1675,8 +1675,8 @@ export declare const zTaskSchema: z.ZodObject<{
1675
1675
  name: string;
1676
1676
  hidden: boolean;
1677
1677
  base?: boolean | undefined;
1678
- category?: string | null | undefined;
1679
1678
  color?: string | undefined;
1679
+ category?: string | null | undefined;
1680
1680
  }[] | null | undefined;
1681
1681
  title?: string | undefined;
1682
1682
  priority?: "low" | "medium" | "high" | undefined;
@@ -1686,8 +1686,8 @@ export declare const zTaskSchema: z.ZodObject<{
1686
1686
  name: string;
1687
1687
  hidden: boolean;
1688
1688
  base?: boolean | undefined;
1689
- category?: string | null | undefined;
1690
1689
  color?: string | undefined;
1690
+ category?: string | null | undefined;
1691
1691
  }[] | null | undefined;
1692
1692
  title?: string | undefined;
1693
1693
  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
- category?: string | null | undefined;
44
43
  color?: string | undefined;
44
+ category?: string | null | undefined;
45
45
  }, {
46
46
  name: string;
47
47
  hidden: boolean;
48
48
  base?: boolean | undefined;
49
- category?: string | null | undefined;
50
49
  color?: string | undefined;
50
+ category?: string | null | undefined;
51
51
  }>;
52
52
  export declare const zAddressSchema: z.ZodObject<{
53
53
  name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -127,7 +127,7 @@ export interface IMedCalendarIntegration {
127
127
  credentials_id: string;
128
128
  /** Prefixo opcional pra namespacing de patient_id entre adapters/calendars. Default vazio. */
129
129
  patient_prefix?: string;
130
- sync_config: ISyncConfig;
130
+ sync_config?: ISyncConfig | null;
131
131
  /** Override por capability — precedência mais alta no resolver de URL. */
132
132
  workflow_overrides?: Partial<Record<CapabilityName, string>>;
133
133
  }
@@ -226,7 +226,7 @@ export interface IMedCalendarIntegration {
226
226
  credentials_id: string;
227
227
  /** Prefixo opcional pra namespacing de patient_id entre adapters/calendars. Default vazio. */
228
228
  patient_prefix?: string;
229
- sync_config: ISyncConfig;
229
+ sync_config?: ISyncConfig | null;
230
230
  /** Override por capability — precedência mais alta no resolver de URL. */
231
231
  workflow_overrides?: Partial<Record<CapabilityName, string>>;
232
232
  }
@@ -34,8 +34,8 @@ export interface IMedCalendar extends IFireDoc {
34
34
  tags?: ITag[] | null;
35
35
  userRef?: FirestoreDocumentReference;
36
36
  appointmentCounters?: IAppointmentCounters | null;
37
- available_weekdays?: number[];
38
- available_for_hubia?: boolean;
39
- integration?: IMedCalendarIntegration;
37
+ available_weekdays?: number[] | null;
38
+ available_for_hubia?: boolean | null;
39
+ integration?: IMedCalendarIntegration | null;
40
40
  [key: string]: unknown;
41
41
  }
@@ -42,10 +42,10 @@ export interface IMedCalendar extends IFireDoc {
42
42
  // Contadores de appointments
43
43
  appointmentCounters?: IAppointmentCounters | null;
44
44
  // Dias da semana em que a agenda atende (0=domingo ... 6=sábado)
45
- available_weekdays?: number[];
45
+ available_weekdays?: number[] | null;
46
46
  // Se true, a agenda é elegível para oferecer horários via HubIA
47
- available_for_hubia?: boolean;
47
+ available_for_hubia?: boolean | null;
48
48
  // Config de integração (feat-004 evo-integrations). Opcional — calendars legados mantêm n8n_wf/url/ext_urls.
49
- integration?: IMedCalendarIntegration;
49
+ integration?: IMedCalendarIntegration | null;
50
50
  [key: string]: unknown; // index signature
51
51
  }
@@ -8,7 +8,7 @@ export declare const EvoMedDicPermissions: {
8
8
  readonly Delete: "evo_med_dic_write";
9
9
  };
10
10
  export type EvoMedDicPermissions = (typeof EvoMedDicPermissions)[keyof typeof EvoMedDicPermissions];
11
- export type MedDicAction = "CREATE_SPECIALTY" | "DELETE_SPECIALTY" | "UPDATE_SPECIALTY" | "CREATE_PATIENT_SOURCE" | "DELETE_PATIENT_SOURCE" | "UPDATE_PATIENT_SOURCE" | "CREATE_APPOINTMENT_SOURCE" | "DELETE_APPOINTMENT_SOURCE" | "UPDATE_APPOINTMENT_SOURCE" | "CREATE_APPOINTMENT_REQUEST_TYPE" | "DELETE_APPOINTMENT_REQUEST_TYPE" | "UPDATE_APPOINTMENT_REQUEST_TYPE" | "CREATE_APPOINTMENT_STATUS" | "DELETE_APPOINTMENT_STATUS" | "UPDATE_APPOINTMENT_STATUS";
11
+ export type MedDicAction = "CREATE_SPECIALTY" | "DELETE_SPECIALTY" | "UPDATE_SPECIALTY" | "CREATE_PATIENT_SOURCE" | "DELETE_PATIENT_SOURCE" | "UPDATE_PATIENT_SOURCE" | "CREATE_APPOINTMENT_SOURCE" | "DELETE_APPOINTMENT_SOURCE" | "UPDATE_APPOINTMENT_SOURCE" | "CREATE_APPOINTMENT_REQUEST_TYPE" | "DELETE_APPOINTMENT_REQUEST_TYPE" | "UPDATE_APPOINTMENT_REQUEST_TYPE" | "CREATE_APPOINTMENT_STATUS" | "DELETE_APPOINTMENT_STATUS" | "UPDATE_APPOINTMENT_STATUS" | "CREATE_ATTACHMENT_CATEGORY" | "DELETE_ATTACHMENT_CATEGORY" | "UPDATE_ATTACHMENT_CATEGORY";
12
12
  export declare enum IMedDicAction {
13
13
  Create_specialty = "CREATE_SPECIALTY",
14
14
  Delete_specialty = "DELETE_SPECIALTY",
@@ -24,7 +24,10 @@ export declare enum IMedDicAction {
24
24
  Update_appointment_request_type = "UPDATE_APPOINTMENT_REQUEST_TYPE",
25
25
  Create_appointment_status = "CREATE_APPOINTMENT_STATUS",
26
26
  Delete_appointment_status = "DELETE_APPOINTMENT_STATUS",
27
- Update_appointment_status = "UPDATE_APPOINTMENT_STATUS"
27
+ Update_appointment_status = "UPDATE_APPOINTMENT_STATUS",
28
+ Create_attachment_category = "CREATE_ATTACHMENT_CATEGORY",
29
+ Delete_attachment_category = "DELETE_ATTACHMENT_CATEGORY",
30
+ Update_attachment_category = "UPDATE_ATTACHMENT_CATEGORY"
28
31
  }
29
32
  export interface ISpecialtyType extends IFireDoc {
30
33
  code: string;
@@ -147,3 +150,38 @@ export interface IMedicalCouncil extends IFireDoc {
147
150
  country?: string | null;
148
151
  [key: string]: unknown;
149
152
  }
153
+ export declare const PatientAttachmentBaseCategoryEnum: {
154
+ readonly IdentificationDocument: "identification_document";
155
+ readonly InsuranceCard: "insurance_card";
156
+ readonly MedicalExam: "medical_exam";
157
+ readonly Prescription: "prescription";
158
+ readonly MedicalReport: "medical_report";
159
+ readonly PaymentReceipt: "payment_receipt";
160
+ readonly Invoice: "invoice";
161
+ readonly ReferralLetter: "referral_letter";
162
+ readonly ConsentForm: "consent_form";
163
+ readonly AuthorizationForm: "authorization_form";
164
+ readonly SickLeaveCertificate: "sick_leave_certificate";
165
+ readonly TreatmentPlan: "treatment_plan";
166
+ readonly ClinicalImage: "clinical_image";
167
+ readonly AnamnesisForm: "anamnesis_form";
168
+ readonly PatientForm: "patient_form";
169
+ readonly InsuranceAuthorization: "insurance_authorization";
170
+ readonly LabResult: "lab_result";
171
+ readonly ImagingExam: "imaging_exam";
172
+ readonly SurgicalDocument: "surgical_document";
173
+ readonly DischargeSummary: "discharge_summary";
174
+ readonly MedicationList: "medication_list";
175
+ readonly VaccinationRecord: "vaccination_record";
176
+ readonly LegalDocument: "legal_document";
177
+ readonly AdministrativeDocument: "administrative_document";
178
+ readonly Other: "other";
179
+ };
180
+ export type PatientAttachmentBaseCategory = (typeof PatientAttachmentBaseCategoryEnum)[keyof typeof PatientAttachmentBaseCategoryEnum];
181
+ export interface IAttachmentCategory extends IFireDoc {
182
+ display_name: string;
183
+ base_category: PatientAttachmentBaseCategory;
184
+ color?: string;
185
+ order?: number;
186
+ external_id?: string | null;
187
+ }
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.IAllergyKind = exports.AppointmentTypeEnum = exports.AppointmentStatusTypeEnum = exports.IMedDicAction = exports.EvoMedDicPermissions = void 0;
17
+ exports.PatientAttachmentBaseCategoryEnum = exports.IAllergyKind = exports.AppointmentTypeEnum = exports.AppointmentStatusTypeEnum = exports.IMedDicAction = exports.EvoMedDicPermissions = void 0;
18
18
  __exportStar(require("../fb_collections"), exports);
19
19
  // Permissões para o dicionário
20
20
  exports.EvoMedDicPermissions = {
@@ -41,6 +41,9 @@ var IMedDicAction;
41
41
  IMedDicAction["Create_appointment_status"] = "CREATE_APPOINTMENT_STATUS";
42
42
  IMedDicAction["Delete_appointment_status"] = "DELETE_APPOINTMENT_STATUS";
43
43
  IMedDicAction["Update_appointment_status"] = "UPDATE_APPOINTMENT_STATUS";
44
+ IMedDicAction["Create_attachment_category"] = "CREATE_ATTACHMENT_CATEGORY";
45
+ IMedDicAction["Delete_attachment_category"] = "DELETE_ATTACHMENT_CATEGORY";
46
+ IMedDicAction["Update_attachment_category"] = "UPDATE_ATTACHMENT_CATEGORY";
44
47
  })(IMedDicAction || (exports.IMedDicAction = IMedDicAction = {}));
45
48
  // Enums para status do agendamento
46
49
  exports.AppointmentStatusTypeEnum = {
@@ -91,3 +94,33 @@ var IAllergyKind;
91
94
  IAllergyKind["Insect"] = "Insect";
92
95
  IAllergyKind["Other"] = "Other";
93
96
  })(IAllergyKind || (exports.IAllergyKind = IAllergyKind = {}));
97
+ // Categorias base (nível de sistema) para anexos de paciente.
98
+ // Imutáveis em código. Cada entrada do dicionário `attachment_categories`
99
+ // referencia uma destas via `base_category` (snapshot no upload do anexo).
100
+ exports.PatientAttachmentBaseCategoryEnum = {
101
+ IdentificationDocument: "identification_document",
102
+ InsuranceCard: "insurance_card",
103
+ MedicalExam: "medical_exam",
104
+ Prescription: "prescription",
105
+ MedicalReport: "medical_report",
106
+ PaymentReceipt: "payment_receipt",
107
+ Invoice: "invoice",
108
+ ReferralLetter: "referral_letter",
109
+ ConsentForm: "consent_form",
110
+ AuthorizationForm: "authorization_form",
111
+ SickLeaveCertificate: "sick_leave_certificate",
112
+ TreatmentPlan: "treatment_plan",
113
+ ClinicalImage: "clinical_image",
114
+ AnamnesisForm: "anamnesis_form",
115
+ PatientForm: "patient_form",
116
+ InsuranceAuthorization: "insurance_authorization",
117
+ LabResult: "lab_result",
118
+ ImagingExam: "imaging_exam",
119
+ SurgicalDocument: "surgical_document",
120
+ DischargeSummary: "discharge_summary",
121
+ MedicationList: "medication_list",
122
+ VaccinationRecord: "vaccination_record",
123
+ LegalDocument: "legal_document",
124
+ AdministrativeDocument: "administrative_document",
125
+ Other: "other",
126
+ };