evo360-types 1.3.363 → 1.3.365

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 (31) 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 -0
  23. package/dist/types/evo-med/dic/index.d.ts +40 -2
  24. package/dist/types/evo-med/dic/index.js +34 -1
  25. package/dist/types/evo-med/dic/index.ts +49 -1
  26. package/dist/types/evo-med/fb_collections.d.ts +2 -0
  27. package/dist/types/evo-med/fb_collections.js +3 -1
  28. package/dist/types/evo-med/fb_collections.ts +3 -0
  29. package/dist/types/evo-med/people/index.d.ts +23 -2
  30. package/dist/types/evo-med/people/index.ts +21 -1
  31. package/package.json +1 -1
@@ -177,14 +177,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
177
177
  name: string;
178
178
  hidden: boolean;
179
179
  base?: boolean | undefined;
180
- category?: string | null | undefined;
181
180
  color?: string | undefined;
181
+ category?: string | null | undefined;
182
182
  }, {
183
183
  name: string;
184
184
  hidden: boolean;
185
185
  base?: boolean | undefined;
186
- category?: string | null | undefined;
187
186
  color?: string | undefined;
187
+ category?: string | null | undefined;
188
188
  }>, "many">>>;
189
189
  userRef: z.ZodAny;
190
190
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -319,14 +319,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
319
319
  name: string;
320
320
  hidden: boolean;
321
321
  base?: boolean | undefined;
322
- category?: string | null | undefined;
323
322
  color?: string | undefined;
323
+ category?: string | null | undefined;
324
324
  }, {
325
325
  name: string;
326
326
  hidden: boolean;
327
327
  base?: boolean | undefined;
328
- category?: string | null | undefined;
329
328
  color?: string | undefined;
329
+ category?: string | null | undefined;
330
330
  }>, "many">>>;
331
331
  userRef: z.ZodAny;
332
332
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -461,14 +461,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
461
461
  name: string;
462
462
  hidden: boolean;
463
463
  base?: boolean | undefined;
464
- category?: string | null | undefined;
465
464
  color?: string | undefined;
465
+ category?: string | null | undefined;
466
466
  }, {
467
467
  name: string;
468
468
  hidden: boolean;
469
469
  base?: boolean | undefined;
470
- category?: string | null | undefined;
471
470
  color?: string | undefined;
471
+ category?: string | null | undefined;
472
472
  }>, "many">>>;
473
473
  userRef: z.ZodAny;
474
474
  }, z.ZodTypeAny, "passthrough">>;
@@ -557,6 +557,134 @@ export declare const zAppointmentCountersSchema: z.ZodObject<{
557
557
  total: z.ZodOptional<z.ZodNumber>;
558
558
  deleted: z.ZodOptional<z.ZodNumber>;
559
559
  }, z.ZodTypeAny, "passthrough">>;
560
+ export declare const zPatientAttachmentUploadedBySchema: z.ZodObject<{
561
+ userId: z.ZodString;
562
+ displayName: z.ZodString;
563
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
564
+ userId: z.ZodString;
565
+ displayName: z.ZodString;
566
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
567
+ userId: z.ZodString;
568
+ displayName: z.ZodString;
569
+ }, z.ZodTypeAny, "passthrough">>;
570
+ export declare const zPatientAttachmentSchema: z.ZodObject<{
571
+ id: z.ZodString;
572
+ filename: z.ZodString;
573
+ originalFilename: z.ZodString;
574
+ contentType: z.ZodString;
575
+ size: z.ZodNumber;
576
+ storagePath: z.ZodString;
577
+ category: z.ZodString;
578
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
579
+ categoryColor: z.ZodOptional<z.ZodString>;
580
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
582
+ id: z.ZodString;
583
+ label: z.ZodOptional<z.ZodString>;
584
+ ref: z.ZodOptional<z.ZodAny>;
585
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
586
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
587
+ id: z.ZodString;
588
+ label: z.ZodOptional<z.ZodString>;
589
+ ref: z.ZodOptional<z.ZodAny>;
590
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
591
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
592
+ id: z.ZodString;
593
+ label: z.ZodOptional<z.ZodString>;
594
+ ref: z.ZodOptional<z.ZodAny>;
595
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
596
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
597
+ uploadedBy: z.ZodOptional<z.ZodObject<{
598
+ userId: z.ZodString;
599
+ displayName: z.ZodString;
600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
601
+ userId: z.ZodString;
602
+ displayName: z.ZodString;
603
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
604
+ userId: z.ZodString;
605
+ displayName: z.ZodString;
606
+ }, z.ZodTypeAny, "passthrough">>>;
607
+ uploadedAt: z.ZodDate;
608
+ updatedAt: z.ZodOptional<z.ZodDate>;
609
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
610
+ id: z.ZodString;
611
+ filename: z.ZodString;
612
+ originalFilename: z.ZodString;
613
+ contentType: z.ZodString;
614
+ size: z.ZodNumber;
615
+ storagePath: z.ZodString;
616
+ category: z.ZodString;
617
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
618
+ categoryColor: z.ZodOptional<z.ZodString>;
619
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
620
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
621
+ id: z.ZodString;
622
+ label: z.ZodOptional<z.ZodString>;
623
+ ref: z.ZodOptional<z.ZodAny>;
624
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
625
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
626
+ id: z.ZodString;
627
+ label: z.ZodOptional<z.ZodString>;
628
+ ref: z.ZodOptional<z.ZodAny>;
629
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
630
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
631
+ id: z.ZodString;
632
+ label: z.ZodOptional<z.ZodString>;
633
+ ref: z.ZodOptional<z.ZodAny>;
634
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
635
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
636
+ uploadedBy: z.ZodOptional<z.ZodObject<{
637
+ userId: z.ZodString;
638
+ displayName: z.ZodString;
639
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
640
+ userId: z.ZodString;
641
+ displayName: z.ZodString;
642
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
643
+ userId: z.ZodString;
644
+ displayName: z.ZodString;
645
+ }, z.ZodTypeAny, "passthrough">>>;
646
+ uploadedAt: z.ZodDate;
647
+ updatedAt: z.ZodOptional<z.ZodDate>;
648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
649
+ id: z.ZodString;
650
+ filename: z.ZodString;
651
+ originalFilename: z.ZodString;
652
+ contentType: z.ZodString;
653
+ size: z.ZodNumber;
654
+ storagePath: z.ZodString;
655
+ category: z.ZodString;
656
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
657
+ categoryColor: z.ZodOptional<z.ZodString>;
658
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
659
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
660
+ id: z.ZodString;
661
+ label: z.ZodOptional<z.ZodString>;
662
+ ref: z.ZodOptional<z.ZodAny>;
663
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
664
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
665
+ id: z.ZodString;
666
+ label: z.ZodOptional<z.ZodString>;
667
+ ref: z.ZodOptional<z.ZodAny>;
668
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
669
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
670
+ id: z.ZodString;
671
+ label: z.ZodOptional<z.ZodString>;
672
+ ref: z.ZodOptional<z.ZodAny>;
673
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
674
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
675
+ uploadedBy: z.ZodOptional<z.ZodObject<{
676
+ userId: z.ZodString;
677
+ displayName: z.ZodString;
678
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
679
+ userId: z.ZodString;
680
+ displayName: z.ZodString;
681
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
682
+ userId: z.ZodString;
683
+ displayName: z.ZodString;
684
+ }, z.ZodTypeAny, "passthrough">>>;
685
+ uploadedAt: z.ZodDate;
686
+ updatedAt: z.ZodOptional<z.ZodDate>;
687
+ }, z.ZodTypeAny, "passthrough">>;
560
688
  export declare const zPatientSchema: z.ZodObject<{
561
689
  id: z.ZodString;
562
690
  ref: z.ZodAny;
@@ -716,6 +844,125 @@ export declare const zPatientSchema: z.ZodObject<{
716
844
  total: z.ZodOptional<z.ZodNumber>;
717
845
  deleted: z.ZodOptional<z.ZodNumber>;
718
846
  }, z.ZodTypeAny, "passthrough">>>>;
847
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
848
+ id: z.ZodString;
849
+ filename: z.ZodString;
850
+ originalFilename: z.ZodString;
851
+ contentType: z.ZodString;
852
+ size: z.ZodNumber;
853
+ storagePath: z.ZodString;
854
+ category: z.ZodString;
855
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
856
+ categoryColor: z.ZodOptional<z.ZodString>;
857
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
858
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
859
+ id: z.ZodString;
860
+ label: z.ZodOptional<z.ZodString>;
861
+ ref: z.ZodOptional<z.ZodAny>;
862
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
863
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
864
+ id: z.ZodString;
865
+ label: z.ZodOptional<z.ZodString>;
866
+ ref: z.ZodOptional<z.ZodAny>;
867
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
868
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
869
+ id: z.ZodString;
870
+ label: z.ZodOptional<z.ZodString>;
871
+ ref: z.ZodOptional<z.ZodAny>;
872
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
873
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
874
+ uploadedBy: z.ZodOptional<z.ZodObject<{
875
+ userId: z.ZodString;
876
+ displayName: z.ZodString;
877
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
878
+ userId: z.ZodString;
879
+ displayName: z.ZodString;
880
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
881
+ userId: z.ZodString;
882
+ displayName: z.ZodString;
883
+ }, z.ZodTypeAny, "passthrough">>>;
884
+ uploadedAt: z.ZodDate;
885
+ updatedAt: z.ZodOptional<z.ZodDate>;
886
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
887
+ id: z.ZodString;
888
+ filename: z.ZodString;
889
+ originalFilename: z.ZodString;
890
+ contentType: z.ZodString;
891
+ size: z.ZodNumber;
892
+ storagePath: z.ZodString;
893
+ category: z.ZodString;
894
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
895
+ categoryColor: z.ZodOptional<z.ZodString>;
896
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
897
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
898
+ id: z.ZodString;
899
+ label: z.ZodOptional<z.ZodString>;
900
+ ref: z.ZodOptional<z.ZodAny>;
901
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
902
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
903
+ id: z.ZodString;
904
+ label: z.ZodOptional<z.ZodString>;
905
+ ref: z.ZodOptional<z.ZodAny>;
906
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
907
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
908
+ id: z.ZodString;
909
+ label: z.ZodOptional<z.ZodString>;
910
+ ref: z.ZodOptional<z.ZodAny>;
911
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
912
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
913
+ uploadedBy: z.ZodOptional<z.ZodObject<{
914
+ userId: z.ZodString;
915
+ displayName: z.ZodString;
916
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
917
+ userId: z.ZodString;
918
+ displayName: z.ZodString;
919
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
920
+ userId: z.ZodString;
921
+ displayName: z.ZodString;
922
+ }, z.ZodTypeAny, "passthrough">>>;
923
+ uploadedAt: z.ZodDate;
924
+ updatedAt: z.ZodOptional<z.ZodDate>;
925
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
926
+ id: z.ZodString;
927
+ filename: z.ZodString;
928
+ originalFilename: z.ZodString;
929
+ contentType: z.ZodString;
930
+ size: z.ZodNumber;
931
+ storagePath: z.ZodString;
932
+ category: z.ZodString;
933
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
934
+ categoryColor: z.ZodOptional<z.ZodString>;
935
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
936
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
937
+ id: z.ZodString;
938
+ label: z.ZodOptional<z.ZodString>;
939
+ ref: z.ZodOptional<z.ZodAny>;
940
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
941
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
942
+ id: z.ZodString;
943
+ label: z.ZodOptional<z.ZodString>;
944
+ ref: z.ZodOptional<z.ZodAny>;
945
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
946
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
947
+ id: z.ZodString;
948
+ label: z.ZodOptional<z.ZodString>;
949
+ ref: z.ZodOptional<z.ZodAny>;
950
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
951
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
952
+ uploadedBy: z.ZodOptional<z.ZodObject<{
953
+ userId: z.ZodString;
954
+ displayName: z.ZodString;
955
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
956
+ userId: z.ZodString;
957
+ displayName: z.ZodString;
958
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
959
+ userId: z.ZodString;
960
+ displayName: z.ZodString;
961
+ }, z.ZodTypeAny, "passthrough">>>;
962
+ uploadedAt: z.ZodDate;
963
+ updatedAt: z.ZodOptional<z.ZodDate>;
964
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
965
+ attachmentExternalLinkKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
719
966
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
720
967
  name: z.ZodString;
721
968
  color: z.ZodOptional<z.ZodString>;
@@ -726,14 +973,14 @@ export declare const zPatientSchema: z.ZodObject<{
726
973
  name: string;
727
974
  hidden: boolean;
728
975
  base?: boolean | undefined;
729
- category?: string | null | undefined;
730
976
  color?: string | undefined;
977
+ category?: string | null | undefined;
731
978
  }, {
732
979
  name: string;
733
980
  hidden: boolean;
734
981
  base?: boolean | undefined;
735
- category?: string | null | undefined;
736
982
  color?: string | undefined;
983
+ category?: string | null | undefined;
737
984
  }>, "many">>>;
738
985
  userRef: z.ZodAny;
739
986
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -895,6 +1142,125 @@ export declare const zPatientSchema: z.ZodObject<{
895
1142
  total: z.ZodOptional<z.ZodNumber>;
896
1143
  deleted: z.ZodOptional<z.ZodNumber>;
897
1144
  }, z.ZodTypeAny, "passthrough">>>>;
1145
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1146
+ id: z.ZodString;
1147
+ filename: z.ZodString;
1148
+ originalFilename: z.ZodString;
1149
+ contentType: z.ZodString;
1150
+ size: z.ZodNumber;
1151
+ storagePath: z.ZodString;
1152
+ category: z.ZodString;
1153
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1154
+ categoryColor: z.ZodOptional<z.ZodString>;
1155
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1156
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1157
+ id: z.ZodString;
1158
+ label: z.ZodOptional<z.ZodString>;
1159
+ ref: z.ZodOptional<z.ZodAny>;
1160
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1161
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1162
+ id: z.ZodString;
1163
+ label: z.ZodOptional<z.ZodString>;
1164
+ ref: z.ZodOptional<z.ZodAny>;
1165
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1166
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1167
+ id: z.ZodString;
1168
+ label: z.ZodOptional<z.ZodString>;
1169
+ ref: z.ZodOptional<z.ZodAny>;
1170
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1171
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1172
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1173
+ userId: z.ZodString;
1174
+ displayName: z.ZodString;
1175
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1176
+ userId: z.ZodString;
1177
+ displayName: z.ZodString;
1178
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1179
+ userId: z.ZodString;
1180
+ displayName: z.ZodString;
1181
+ }, z.ZodTypeAny, "passthrough">>>;
1182
+ uploadedAt: z.ZodDate;
1183
+ updatedAt: z.ZodOptional<z.ZodDate>;
1184
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1185
+ id: z.ZodString;
1186
+ filename: z.ZodString;
1187
+ originalFilename: z.ZodString;
1188
+ contentType: z.ZodString;
1189
+ size: z.ZodNumber;
1190
+ storagePath: z.ZodString;
1191
+ category: z.ZodString;
1192
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1193
+ categoryColor: z.ZodOptional<z.ZodString>;
1194
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1195
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1196
+ id: z.ZodString;
1197
+ label: z.ZodOptional<z.ZodString>;
1198
+ ref: z.ZodOptional<z.ZodAny>;
1199
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1200
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1201
+ id: z.ZodString;
1202
+ label: z.ZodOptional<z.ZodString>;
1203
+ ref: z.ZodOptional<z.ZodAny>;
1204
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1205
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1206
+ id: z.ZodString;
1207
+ label: z.ZodOptional<z.ZodString>;
1208
+ ref: z.ZodOptional<z.ZodAny>;
1209
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1210
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1211
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1212
+ userId: z.ZodString;
1213
+ displayName: z.ZodString;
1214
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1215
+ userId: z.ZodString;
1216
+ displayName: z.ZodString;
1217
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1218
+ userId: z.ZodString;
1219
+ displayName: z.ZodString;
1220
+ }, z.ZodTypeAny, "passthrough">>>;
1221
+ uploadedAt: z.ZodDate;
1222
+ updatedAt: z.ZodOptional<z.ZodDate>;
1223
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1224
+ id: z.ZodString;
1225
+ filename: z.ZodString;
1226
+ originalFilename: z.ZodString;
1227
+ contentType: z.ZodString;
1228
+ size: z.ZodNumber;
1229
+ storagePath: z.ZodString;
1230
+ category: z.ZodString;
1231
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1232
+ categoryColor: z.ZodOptional<z.ZodString>;
1233
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1234
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1235
+ id: z.ZodString;
1236
+ label: z.ZodOptional<z.ZodString>;
1237
+ ref: z.ZodOptional<z.ZodAny>;
1238
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1239
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1240
+ id: z.ZodString;
1241
+ label: z.ZodOptional<z.ZodString>;
1242
+ ref: z.ZodOptional<z.ZodAny>;
1243
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1244
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1245
+ id: z.ZodString;
1246
+ label: z.ZodOptional<z.ZodString>;
1247
+ ref: z.ZodOptional<z.ZodAny>;
1248
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1249
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1250
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1251
+ userId: z.ZodString;
1252
+ displayName: z.ZodString;
1253
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1254
+ userId: z.ZodString;
1255
+ displayName: z.ZodString;
1256
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1257
+ userId: z.ZodString;
1258
+ displayName: z.ZodString;
1259
+ }, z.ZodTypeAny, "passthrough">>>;
1260
+ uploadedAt: z.ZodDate;
1261
+ updatedAt: z.ZodOptional<z.ZodDate>;
1262
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
1263
+ attachmentExternalLinkKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
898
1264
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
899
1265
  name: z.ZodString;
900
1266
  color: z.ZodOptional<z.ZodString>;
@@ -905,14 +1271,14 @@ export declare const zPatientSchema: z.ZodObject<{
905
1271
  name: string;
906
1272
  hidden: boolean;
907
1273
  base?: boolean | undefined;
908
- category?: string | null | undefined;
909
1274
  color?: string | undefined;
1275
+ category?: string | null | undefined;
910
1276
  }, {
911
1277
  name: string;
912
1278
  hidden: boolean;
913
1279
  base?: boolean | undefined;
914
- category?: string | null | undefined;
915
1280
  color?: string | undefined;
1281
+ category?: string | null | undefined;
916
1282
  }>, "many">>>;
917
1283
  userRef: z.ZodAny;
918
1284
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1074,6 +1440,125 @@ export declare const zPatientSchema: z.ZodObject<{
1074
1440
  total: z.ZodOptional<z.ZodNumber>;
1075
1441
  deleted: z.ZodOptional<z.ZodNumber>;
1076
1442
  }, z.ZodTypeAny, "passthrough">>>>;
1443
+ attachments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1444
+ id: z.ZodString;
1445
+ filename: z.ZodString;
1446
+ originalFilename: z.ZodString;
1447
+ contentType: z.ZodString;
1448
+ size: z.ZodNumber;
1449
+ storagePath: z.ZodString;
1450
+ category: z.ZodString;
1451
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1452
+ categoryColor: z.ZodOptional<z.ZodString>;
1453
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1454
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1455
+ id: z.ZodString;
1456
+ label: z.ZodOptional<z.ZodString>;
1457
+ ref: z.ZodOptional<z.ZodAny>;
1458
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1459
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1460
+ id: z.ZodString;
1461
+ label: z.ZodOptional<z.ZodString>;
1462
+ ref: z.ZodOptional<z.ZodAny>;
1463
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1464
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1465
+ id: z.ZodString;
1466
+ label: z.ZodOptional<z.ZodString>;
1467
+ ref: z.ZodOptional<z.ZodAny>;
1468
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1469
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1470
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1471
+ userId: z.ZodString;
1472
+ displayName: z.ZodString;
1473
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1474
+ userId: z.ZodString;
1475
+ displayName: z.ZodString;
1476
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1477
+ userId: z.ZodString;
1478
+ displayName: z.ZodString;
1479
+ }, z.ZodTypeAny, "passthrough">>>;
1480
+ uploadedAt: z.ZodDate;
1481
+ updatedAt: z.ZodOptional<z.ZodDate>;
1482
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1483
+ id: z.ZodString;
1484
+ filename: z.ZodString;
1485
+ originalFilename: z.ZodString;
1486
+ contentType: z.ZodString;
1487
+ size: z.ZodNumber;
1488
+ storagePath: z.ZodString;
1489
+ category: z.ZodString;
1490
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1491
+ categoryColor: z.ZodOptional<z.ZodString>;
1492
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1493
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1494
+ id: z.ZodString;
1495
+ label: z.ZodOptional<z.ZodString>;
1496
+ ref: z.ZodOptional<z.ZodAny>;
1497
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1498
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1499
+ id: z.ZodString;
1500
+ label: z.ZodOptional<z.ZodString>;
1501
+ ref: z.ZodOptional<z.ZodAny>;
1502
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1503
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1504
+ id: z.ZodString;
1505
+ label: z.ZodOptional<z.ZodString>;
1506
+ ref: z.ZodOptional<z.ZodAny>;
1507
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1508
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1509
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1510
+ userId: z.ZodString;
1511
+ displayName: z.ZodString;
1512
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1513
+ userId: z.ZodString;
1514
+ displayName: z.ZodString;
1515
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1516
+ userId: z.ZodString;
1517
+ displayName: z.ZodString;
1518
+ }, z.ZodTypeAny, "passthrough">>>;
1519
+ uploadedAt: z.ZodDate;
1520
+ updatedAt: z.ZodOptional<z.ZodDate>;
1521
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1522
+ id: z.ZodString;
1523
+ filename: z.ZodString;
1524
+ originalFilename: z.ZodString;
1525
+ contentType: z.ZodString;
1526
+ size: z.ZodNumber;
1527
+ storagePath: z.ZodString;
1528
+ category: z.ZodString;
1529
+ baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
1530
+ categoryColor: z.ZodOptional<z.ZodString>;
1531
+ externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1532
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1533
+ id: z.ZodString;
1534
+ label: z.ZodOptional<z.ZodString>;
1535
+ ref: z.ZodOptional<z.ZodAny>;
1536
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1537
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1538
+ id: z.ZodString;
1539
+ label: z.ZodOptional<z.ZodString>;
1540
+ ref: z.ZodOptional<z.ZodAny>;
1541
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1542
+ type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "nex_billing", "nex_contract", "nex_customer"]>;
1543
+ id: z.ZodString;
1544
+ label: z.ZodOptional<z.ZodString>;
1545
+ ref: z.ZodOptional<z.ZodAny>;
1546
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1547
+ externalLinkKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1548
+ uploadedBy: z.ZodOptional<z.ZodObject<{
1549
+ userId: z.ZodString;
1550
+ displayName: z.ZodString;
1551
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1552
+ userId: z.ZodString;
1553
+ displayName: z.ZodString;
1554
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1555
+ userId: z.ZodString;
1556
+ displayName: z.ZodString;
1557
+ }, z.ZodTypeAny, "passthrough">>>;
1558
+ uploadedAt: z.ZodDate;
1559
+ updatedAt: z.ZodOptional<z.ZodDate>;
1560
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
1561
+ attachmentExternalLinkKeys: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
1077
1562
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1078
1563
  name: z.ZodString;
1079
1564
  color: z.ZodOptional<z.ZodString>;
@@ -1084,14 +1569,14 @@ export declare const zPatientSchema: z.ZodObject<{
1084
1569
  name: string;
1085
1570
  hidden: boolean;
1086
1571
  base?: boolean | undefined;
1087
- category?: string | null | undefined;
1088
1572
  color?: string | undefined;
1573
+ category?: string | null | undefined;
1089
1574
  }, {
1090
1575
  name: string;
1091
1576
  hidden: boolean;
1092
1577
  base?: boolean | undefined;
1093
- category?: string | null | undefined;
1094
1578
  color?: string | undefined;
1579
+ category?: string | null | undefined;
1095
1580
  }>, "many">>>;
1096
1581
  userRef: z.ZodAny;
1097
1582
  }, z.ZodTypeAny, "passthrough">>;