evo360-types 1.3.757 → 1.3.759
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apps/evo-activity/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/dic/ticket-close/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +42 -42
- package/dist/apps/evo-finops/zod-schemas.d.ts +72 -72
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/people/zod-schemas.d.ts +192 -192
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-notifications/zod-schemas.d.ts +156 -156
- package/dist/apps/evo-people/zod-schemas.d.ts +24 -24
- package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
- package/dist/apps/evo-task/zod-schemas.d.ts +219 -117
- package/dist/apps/evo-task/zod-schemas.js +36 -5
- package/dist/apps/evo-task/zod-schemas.ts +38 -4
- package/dist/apps/hub-automation/zod-schemas.d.ts +184 -184
- package/dist/apps/shared/zod-schemas.d.ts +2 -2
- package/dist/types/shared/external-links.d.ts +27 -0
- package/dist/types/shared/external-links.js +12 -0
- package/dist/types/shared/external-links.ts +28 -0
- package/package.json +1 -1
|
@@ -192,14 +192,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
192
192
|
name: string;
|
|
193
193
|
hidden: boolean;
|
|
194
194
|
base?: boolean | undefined;
|
|
195
|
-
category?: string | null | undefined;
|
|
196
195
|
color?: string | undefined;
|
|
196
|
+
category?: string | null | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
name: string;
|
|
199
199
|
hidden: boolean;
|
|
200
200
|
base?: boolean | undefined;
|
|
201
|
-
category?: string | null | undefined;
|
|
202
201
|
color?: string | undefined;
|
|
202
|
+
category?: string | null | undefined;
|
|
203
203
|
}>, "many">>>;
|
|
204
204
|
userRef: z.ZodAny;
|
|
205
205
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -349,14 +349,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
349
349
|
name: string;
|
|
350
350
|
hidden: boolean;
|
|
351
351
|
base?: boolean | undefined;
|
|
352
|
-
category?: string | null | undefined;
|
|
353
352
|
color?: string | undefined;
|
|
353
|
+
category?: string | null | undefined;
|
|
354
354
|
}, {
|
|
355
355
|
name: string;
|
|
356
356
|
hidden: boolean;
|
|
357
357
|
base?: boolean | undefined;
|
|
358
|
-
category?: string | null | undefined;
|
|
359
358
|
color?: string | undefined;
|
|
359
|
+
category?: string | null | undefined;
|
|
360
360
|
}>, "many">>>;
|
|
361
361
|
userRef: z.ZodAny;
|
|
362
362
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -506,14 +506,14 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
506
506
|
name: string;
|
|
507
507
|
hidden: boolean;
|
|
508
508
|
base?: boolean | undefined;
|
|
509
|
-
category?: string | null | undefined;
|
|
510
509
|
color?: string | undefined;
|
|
510
|
+
category?: string | null | undefined;
|
|
511
511
|
}, {
|
|
512
512
|
name: string;
|
|
513
513
|
hidden: boolean;
|
|
514
514
|
base?: boolean | undefined;
|
|
515
|
-
category?: string | null | undefined;
|
|
516
515
|
color?: string | undefined;
|
|
516
|
+
category?: string | null | undefined;
|
|
517
517
|
}>, "many">>>;
|
|
518
518
|
userRef: z.ZodAny;
|
|
519
519
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -623,7 +623,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
623
623
|
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"]>;
|
|
624
624
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
625
625
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
626
|
-
type: z.
|
|
626
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
627
627
|
id: z.ZodString;
|
|
628
628
|
label: z.ZodOptional<z.ZodString>;
|
|
629
629
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -641,12 +641,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
641
641
|
}>>>;
|
|
642
642
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
643
643
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
644
|
-
created_source: z.ZodOptional<z.
|
|
644
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
645
645
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
646
646
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
647
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
647
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
648
648
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
649
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
649
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
650
650
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
651
651
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
652
652
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -654,7 +654,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
654
654
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
655
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
656
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
657
|
-
type: z.
|
|
657
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
658
658
|
id: z.ZodString;
|
|
659
659
|
label: z.ZodOptional<z.ZodString>;
|
|
660
660
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -672,12 +672,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
672
672
|
}>>>;
|
|
673
673
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
674
674
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
675
|
-
created_source: z.ZodOptional<z.
|
|
675
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
676
676
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
677
677
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
678
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
678
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
679
679
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
680
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
680
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
681
681
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
682
682
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
683
683
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -685,7 +685,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
685
685
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
686
686
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
687
687
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
688
|
-
type: z.
|
|
688
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
689
689
|
id: z.ZodString;
|
|
690
690
|
label: z.ZodOptional<z.ZodString>;
|
|
691
691
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -703,12 +703,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
703
703
|
}>>>;
|
|
704
704
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
705
705
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
706
|
-
created_source: z.ZodOptional<z.
|
|
706
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
707
707
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
708
708
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
709
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
709
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
710
710
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
711
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
711
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
712
712
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
713
713
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
714
714
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -740,7 +740,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
740
740
|
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"]>;
|
|
741
741
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
742
742
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
743
|
-
type: z.
|
|
743
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
744
744
|
id: z.ZodString;
|
|
745
745
|
label: z.ZodOptional<z.ZodString>;
|
|
746
746
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -758,12 +758,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
758
758
|
}>>>;
|
|
759
759
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
760
760
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
|
-
created_source: z.ZodOptional<z.
|
|
761
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
762
762
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
763
763
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
764
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
764
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
765
765
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
766
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
766
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
767
767
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
768
768
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
769
769
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -771,7 +771,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
771
771
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
772
772
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
773
773
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
774
|
-
type: z.
|
|
774
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
775
775
|
id: z.ZodString;
|
|
776
776
|
label: z.ZodOptional<z.ZodString>;
|
|
777
777
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -789,12 +789,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
789
789
|
}>>>;
|
|
790
790
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
791
791
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
792
|
-
created_source: z.ZodOptional<z.
|
|
792
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
793
793
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
794
794
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
795
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
795
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
796
796
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
797
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
797
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
798
798
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
799
799
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
800
800
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -802,7 +802,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
802
802
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
803
803
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
804
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
805
|
-
type: z.
|
|
805
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
806
806
|
id: z.ZodString;
|
|
807
807
|
label: z.ZodOptional<z.ZodString>;
|
|
808
808
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -820,12 +820,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
820
820
|
}>>>;
|
|
821
821
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
822
822
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
|
-
created_source: z.ZodOptional<z.
|
|
823
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
824
824
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
825
825
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
826
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
826
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
827
827
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
828
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
828
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
829
829
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
830
830
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
831
831
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -857,7 +857,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
857
857
|
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"]>;
|
|
858
858
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
859
859
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
860
|
-
type: z.
|
|
860
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
861
861
|
id: z.ZodString;
|
|
862
862
|
label: z.ZodOptional<z.ZodString>;
|
|
863
863
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -875,12 +875,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
875
875
|
}>>>;
|
|
876
876
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
877
877
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
878
|
-
created_source: z.ZodOptional<z.
|
|
878
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
879
879
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
880
880
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
881
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
881
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
882
882
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
883
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
883
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
884
884
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
885
885
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
886
886
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -888,7 +888,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
888
888
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
889
889
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
890
890
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
891
|
-
type: z.
|
|
891
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
892
892
|
id: z.ZodString;
|
|
893
893
|
label: z.ZodOptional<z.ZodString>;
|
|
894
894
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -906,12 +906,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
906
906
|
}>>>;
|
|
907
907
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
908
908
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
909
|
-
created_source: z.ZodOptional<z.
|
|
909
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
910
910
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
911
911
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
912
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
912
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
913
913
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
914
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
914
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
915
915
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
916
916
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
917
917
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -919,7 +919,7 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
919
919
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
920
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
921
921
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
922
|
-
type: z.
|
|
922
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
923
923
|
id: z.ZodString;
|
|
924
924
|
label: z.ZodOptional<z.ZodString>;
|
|
925
925
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -937,12 +937,12 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
937
937
|
}>>>;
|
|
938
938
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
939
939
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
940
|
-
created_source: z.ZodOptional<z.
|
|
940
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
941
941
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
942
942
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
943
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
943
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
944
944
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
945
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
945
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
946
946
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
947
947
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
948
948
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1065,7 +1065,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1065
1065
|
* um lead pode ter vários pacientes. feat-095.
|
|
1066
1066
|
*/
|
|
1067
1067
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1068
|
-
type: z.
|
|
1068
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1069
1069
|
id: z.ZodString;
|
|
1070
1070
|
label: z.ZodOptional<z.ZodString>;
|
|
1071
1071
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1083,12 +1083,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1083
1083
|
}>>>;
|
|
1084
1084
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1085
1085
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1086
|
-
created_source: z.ZodOptional<z.
|
|
1086
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1087
1087
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1088
1088
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1089
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1089
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1090
1090
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1091
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1091
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1092
1092
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1093
1093
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1094
1094
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1096,7 +1096,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1096
1096
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1097
1097
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1098
1098
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1099
|
-
type: z.
|
|
1099
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1100
1100
|
id: z.ZodString;
|
|
1101
1101
|
label: z.ZodOptional<z.ZodString>;
|
|
1102
1102
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1114,12 +1114,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1114
1114
|
}>>>;
|
|
1115
1115
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1116
1116
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1117
|
-
created_source: z.ZodOptional<z.
|
|
1117
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1118
1118
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1119
1119
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1120
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1120
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1121
1121
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1122
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1122
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1123
1123
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1124
1124
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1125
1125
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1127,7 +1127,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1127
1127
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1128
1128
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1129
1129
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1130
|
-
type: z.
|
|
1130
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1131
1131
|
id: z.ZodString;
|
|
1132
1132
|
label: z.ZodOptional<z.ZodString>;
|
|
1133
1133
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1145,12 +1145,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1145
1145
|
}>>>;
|
|
1146
1146
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1147
1147
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1148
|
-
created_source: z.ZodOptional<z.
|
|
1148
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1149
1149
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1150
1150
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1151
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1151
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1152
1152
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1153
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1153
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1154
1154
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1155
1155
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1156
1156
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1264,7 +1264,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1264
1264
|
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"]>;
|
|
1265
1265
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1266
1266
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1267
|
-
type: z.
|
|
1267
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1268
1268
|
id: z.ZodString;
|
|
1269
1269
|
label: z.ZodOptional<z.ZodString>;
|
|
1270
1270
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1282,12 +1282,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1282
1282
|
}>>>;
|
|
1283
1283
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1284
1284
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1285
|
-
created_source: z.ZodOptional<z.
|
|
1285
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1286
1286
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1287
1287
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1288
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1288
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1289
1289
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1290
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1290
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1291
1291
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1292
1292
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1293
1293
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1295,7 +1295,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1295
1295
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1296
1296
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1297
1297
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1298
|
-
type: z.
|
|
1298
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1299
1299
|
id: z.ZodString;
|
|
1300
1300
|
label: z.ZodOptional<z.ZodString>;
|
|
1301
1301
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1313,12 +1313,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1313
1313
|
}>>>;
|
|
1314
1314
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1315
1315
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
|
-
created_source: z.ZodOptional<z.
|
|
1316
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1317
1317
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1318
1318
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1319
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1319
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1320
1320
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1321
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1321
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1322
1322
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1323
1323
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1324
1324
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1326,7 +1326,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1326
1326
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1327
1327
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1328
1328
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1329
|
-
type: z.
|
|
1329
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1330
1330
|
id: z.ZodString;
|
|
1331
1331
|
label: z.ZodOptional<z.ZodString>;
|
|
1332
1332
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1344,12 +1344,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1344
1344
|
}>>>;
|
|
1345
1345
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1346
1346
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1347
|
-
created_source: z.ZodOptional<z.
|
|
1347
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1348
1348
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1349
1349
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1350
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1350
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1351
1351
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1352
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1352
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1353
1353
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1354
1354
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1355
1355
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1381,7 +1381,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1381
1381
|
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"]>;
|
|
1382
1382
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1383
1383
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1384
|
-
type: z.
|
|
1384
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1385
1385
|
id: z.ZodString;
|
|
1386
1386
|
label: z.ZodOptional<z.ZodString>;
|
|
1387
1387
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1399,12 +1399,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1399
1399
|
}>>>;
|
|
1400
1400
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1401
1401
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1402
|
-
created_source: z.ZodOptional<z.
|
|
1402
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1403
1403
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1404
1404
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1405
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1405
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1406
1406
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1407
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1407
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1408
1408
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1409
1409
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1410
1410
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1412,7 +1412,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1412
1412
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1413
1413
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1414
1414
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1415
|
-
type: z.
|
|
1415
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1416
1416
|
id: z.ZodString;
|
|
1417
1417
|
label: z.ZodOptional<z.ZodString>;
|
|
1418
1418
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1430,12 +1430,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1430
1430
|
}>>>;
|
|
1431
1431
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1432
1432
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
|
-
created_source: z.ZodOptional<z.
|
|
1433
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1434
1434
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1435
1435
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1436
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1436
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1437
1437
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1438
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1438
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1439
1439
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1440
1440
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1441
1441
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1443,7 +1443,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1443
1443
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
1444
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1445
1445
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1446
|
-
type: z.
|
|
1446
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1447
1447
|
id: z.ZodString;
|
|
1448
1448
|
label: z.ZodOptional<z.ZodString>;
|
|
1449
1449
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1461,12 +1461,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1461
1461
|
}>>>;
|
|
1462
1462
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1463
1463
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1464
|
-
created_source: z.ZodOptional<z.
|
|
1464
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1465
1465
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1466
1466
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1467
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1467
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1468
1468
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1469
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1469
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1470
1470
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1471
1471
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1472
1472
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1498,7 +1498,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1498
1498
|
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"]>;
|
|
1499
1499
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1500
1500
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1501
|
-
type: z.
|
|
1501
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1502
1502
|
id: z.ZodString;
|
|
1503
1503
|
label: z.ZodOptional<z.ZodString>;
|
|
1504
1504
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1516,12 +1516,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1516
1516
|
}>>>;
|
|
1517
1517
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1518
1518
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
|
-
created_source: z.ZodOptional<z.
|
|
1519
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1520
1520
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1521
1521
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1522
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1522
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1523
1523
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1524
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1524
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1525
1525
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1526
1526
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1527
1527
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1529,7 +1529,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1529
1529
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1530
1530
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1531
1531
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1532
|
-
type: z.
|
|
1532
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1533
1533
|
id: z.ZodString;
|
|
1534
1534
|
label: z.ZodOptional<z.ZodString>;
|
|
1535
1535
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1547,12 +1547,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1547
1547
|
}>>>;
|
|
1548
1548
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1549
1549
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1550
|
-
created_source: z.ZodOptional<z.
|
|
1550
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1551
1551
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1552
1552
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1553
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1553
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1554
1554
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1555
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1555
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1556
1556
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1557
1557
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1558
1558
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1560,7 +1560,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1560
1560
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1561
1561
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1562
1562
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1563
|
-
type: z.
|
|
1563
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1564
1564
|
id: z.ZodString;
|
|
1565
1565
|
label: z.ZodOptional<z.ZodString>;
|
|
1566
1566
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1578,12 +1578,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1578
1578
|
}>>>;
|
|
1579
1579
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1580
1580
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1581
|
-
created_source: z.ZodOptional<z.
|
|
1581
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1582
1582
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1583
1583
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1584
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1584
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1585
1585
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1586
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1586
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1587
1587
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1588
1588
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1589
1589
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1616,14 +1616,14 @@ export declare const zPatientSchema: 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
|
}, {
|
|
1622
1622
|
name: string;
|
|
1623
1623
|
hidden: boolean;
|
|
1624
1624
|
base?: boolean | undefined;
|
|
1625
|
-
category?: string | null | undefined;
|
|
1626
1625
|
color?: string | undefined;
|
|
1626
|
+
category?: string | null | undefined;
|
|
1627
1627
|
}>, "many">>>;
|
|
1628
1628
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
1629
1629
|
userRef: z.ZodAny;
|
|
@@ -1732,7 +1732,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1732
1732
|
* um lead pode ter vários pacientes. feat-095.
|
|
1733
1733
|
*/
|
|
1734
1734
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1735
|
-
type: z.
|
|
1735
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1736
1736
|
id: z.ZodString;
|
|
1737
1737
|
label: z.ZodOptional<z.ZodString>;
|
|
1738
1738
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1750,12 +1750,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1750
1750
|
}>>>;
|
|
1751
1751
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1752
1752
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1753
|
-
created_source: z.ZodOptional<z.
|
|
1753
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1754
1754
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1755
1755
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1756
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1756
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1757
1757
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1758
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1758
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1759
1759
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1760
1760
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1761
1761
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1763,7 +1763,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1763
1763
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1764
1764
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1765
1765
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1766
|
-
type: z.
|
|
1766
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1767
1767
|
id: z.ZodString;
|
|
1768
1768
|
label: z.ZodOptional<z.ZodString>;
|
|
1769
1769
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1781,12 +1781,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1781
1781
|
}>>>;
|
|
1782
1782
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1783
1783
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1784
|
-
created_source: z.ZodOptional<z.
|
|
1784
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1785
1785
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1786
1786
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1787
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1787
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1788
1788
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1789
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1789
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1790
1790
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1791
1791
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1792
1792
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1794,7 +1794,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1794
1794
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1795
1795
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1796
1796
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1797
|
-
type: z.
|
|
1797
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1798
1798
|
id: z.ZodString;
|
|
1799
1799
|
label: z.ZodOptional<z.ZodString>;
|
|
1800
1800
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1812,12 +1812,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1812
1812
|
}>>>;
|
|
1813
1813
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1814
1814
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1815
|
-
created_source: z.ZodOptional<z.
|
|
1815
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1816
1816
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1817
1817
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1818
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1818
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1819
1819
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1820
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1820
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1821
1821
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1822
1822
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1823
1823
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1931,7 +1931,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1931
1931
|
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"]>;
|
|
1932
1932
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1933
1933
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1934
|
-
type: z.
|
|
1934
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1935
1935
|
id: z.ZodString;
|
|
1936
1936
|
label: z.ZodOptional<z.ZodString>;
|
|
1937
1937
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1949,12 +1949,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1949
1949
|
}>>>;
|
|
1950
1950
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1951
1951
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1952
|
-
created_source: z.ZodOptional<z.
|
|
1952
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1953
1953
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1954
1954
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1955
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1955
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1956
1956
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1957
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1957
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1958
1958
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1959
1959
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1960
1960
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1962,7 +1962,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1962
1962
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1963
1963
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1964
1964
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1965
|
-
type: z.
|
|
1965
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1966
1966
|
id: z.ZodString;
|
|
1967
1967
|
label: z.ZodOptional<z.ZodString>;
|
|
1968
1968
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1980,12 +1980,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1980
1980
|
}>>>;
|
|
1981
1981
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
1982
1982
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1983
|
-
created_source: z.ZodOptional<z.
|
|
1983
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
1984
1984
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1985
1985
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1986
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1986
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1987
1987
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1988
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
1988
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
1989
1989
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1990
1990
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
1991
1991
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -1993,7 +1993,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1993
1993
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1994
1994
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1995
1995
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1996
|
-
type: z.
|
|
1996
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
1997
1997
|
id: z.ZodString;
|
|
1998
1998
|
label: z.ZodOptional<z.ZodString>;
|
|
1999
1999
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2011,12 +2011,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2011
2011
|
}>>>;
|
|
2012
2012
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2013
2013
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2014
|
-
created_source: z.ZodOptional<z.
|
|
2014
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2015
2015
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2016
2016
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2017
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2017
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2018
2018
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2019
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2019
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2020
2020
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2021
2021
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2022
2022
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2048,7 +2048,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2048
2048
|
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"]>;
|
|
2049
2049
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
2050
2050
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2051
|
-
type: z.
|
|
2051
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2052
2052
|
id: z.ZodString;
|
|
2053
2053
|
label: z.ZodOptional<z.ZodString>;
|
|
2054
2054
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2066,12 +2066,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2066
2066
|
}>>>;
|
|
2067
2067
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2068
2068
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2069
|
-
created_source: z.ZodOptional<z.
|
|
2069
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2070
2070
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2071
2071
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2072
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2072
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2073
2073
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2074
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2074
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2075
2075
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2076
2076
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2077
2077
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2079,7 +2079,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2079
2079
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2080
2080
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2081
2081
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2082
|
-
type: z.
|
|
2082
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2083
2083
|
id: z.ZodString;
|
|
2084
2084
|
label: z.ZodOptional<z.ZodString>;
|
|
2085
2085
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2097,12 +2097,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2097
2097
|
}>>>;
|
|
2098
2098
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2099
2099
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2100
|
-
created_source: z.ZodOptional<z.
|
|
2100
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2101
2101
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2102
2102
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2103
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2103
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2104
2104
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2105
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2105
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2106
2106
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2107
2107
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2108
2108
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2110,7 +2110,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2110
2110
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2111
2111
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2112
2112
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2113
|
-
type: z.
|
|
2113
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2114
2114
|
id: z.ZodString;
|
|
2115
2115
|
label: z.ZodOptional<z.ZodString>;
|
|
2116
2116
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2128,12 +2128,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2128
2128
|
}>>>;
|
|
2129
2129
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2130
2130
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2131
|
-
created_source: z.ZodOptional<z.
|
|
2131
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2132
2132
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2133
2133
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2134
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2134
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2135
2135
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2136
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2136
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2137
2137
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2138
2138
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2139
2139
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2165,7 +2165,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2165
2165
|
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"]>;
|
|
2166
2166
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
2167
2167
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2168
|
-
type: z.
|
|
2168
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2169
2169
|
id: z.ZodString;
|
|
2170
2170
|
label: z.ZodOptional<z.ZodString>;
|
|
2171
2171
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2183,12 +2183,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2183
2183
|
}>>>;
|
|
2184
2184
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2185
2185
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2186
|
-
created_source: z.ZodOptional<z.
|
|
2186
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2187
2187
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2188
2188
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2189
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2189
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2190
2190
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2191
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2191
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2192
2192
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2193
2193
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2194
2194
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2196,7 +2196,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2196
2196
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2197
2197
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2198
2198
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2199
|
-
type: z.
|
|
2199
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2200
2200
|
id: z.ZodString;
|
|
2201
2201
|
label: z.ZodOptional<z.ZodString>;
|
|
2202
2202
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2214,12 +2214,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2214
2214
|
}>>>;
|
|
2215
2215
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2216
2216
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
|
-
created_source: z.ZodOptional<z.
|
|
2217
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2218
2218
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2219
2219
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2220
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2220
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2221
2221
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2222
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2222
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2223
2223
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2224
2224
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2225
2225
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2227,7 +2227,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2227
2227
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2228
2228
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2229
2229
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2230
|
-
type: z.
|
|
2230
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2231
2231
|
id: z.ZodString;
|
|
2232
2232
|
label: z.ZodOptional<z.ZodString>;
|
|
2233
2233
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2245,12 +2245,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2245
2245
|
}>>>;
|
|
2246
2246
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2247
2247
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2248
|
-
created_source: z.ZodOptional<z.
|
|
2248
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2249
2249
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2250
2250
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2251
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2251
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2252
2252
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2253
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2253
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2254
2254
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2255
2255
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2256
2256
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2283,14 +2283,14 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2283
2283
|
name: string;
|
|
2284
2284
|
hidden: boolean;
|
|
2285
2285
|
base?: boolean | undefined;
|
|
2286
|
-
category?: string | null | undefined;
|
|
2287
2286
|
color?: string | undefined;
|
|
2287
|
+
category?: string | null | undefined;
|
|
2288
2288
|
}, {
|
|
2289
2289
|
name: string;
|
|
2290
2290
|
hidden: boolean;
|
|
2291
2291
|
base?: boolean | undefined;
|
|
2292
|
-
category?: string | null | undefined;
|
|
2293
2292
|
color?: string | undefined;
|
|
2293
|
+
category?: string | null | undefined;
|
|
2294
2294
|
}>, "many">>>;
|
|
2295
2295
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2296
2296
|
userRef: z.ZodAny;
|
|
@@ -2399,7 +2399,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2399
2399
|
* um lead pode ter vários pacientes. feat-095.
|
|
2400
2400
|
*/
|
|
2401
2401
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2402
|
-
type: z.
|
|
2402
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2403
2403
|
id: z.ZodString;
|
|
2404
2404
|
label: z.ZodOptional<z.ZodString>;
|
|
2405
2405
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2417,12 +2417,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2417
2417
|
}>>>;
|
|
2418
2418
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2419
2419
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
-
created_source: z.ZodOptional<z.
|
|
2420
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2421
2421
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2422
2422
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2423
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2423
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2424
2424
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2425
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2425
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2426
2426
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2427
2427
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2428
2428
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2430,7 +2430,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2430
2430
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
2431
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2432
2432
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2433
|
-
type: z.
|
|
2433
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2434
2434
|
id: z.ZodString;
|
|
2435
2435
|
label: z.ZodOptional<z.ZodString>;
|
|
2436
2436
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2448,12 +2448,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2448
2448
|
}>>>;
|
|
2449
2449
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2450
2450
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2451
|
-
created_source: z.ZodOptional<z.
|
|
2451
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2452
2452
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2453
2453
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2454
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2454
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2455
2455
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2456
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2456
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2457
2457
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2458
2458
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2459
2459
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2461,7 +2461,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2461
2461
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2462
2462
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2463
2463
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2464
|
-
type: z.
|
|
2464
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2465
2465
|
id: z.ZodString;
|
|
2466
2466
|
label: z.ZodOptional<z.ZodString>;
|
|
2467
2467
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2479,12 +2479,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2479
2479
|
}>>>;
|
|
2480
2480
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2481
2481
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2482
|
-
created_source: z.ZodOptional<z.
|
|
2482
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2483
2483
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2484
2484
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2485
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2485
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2486
2486
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2487
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2487
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2488
2488
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2489
2489
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2490
2490
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2598,7 +2598,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2598
2598
|
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"]>;
|
|
2599
2599
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
2600
2600
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2601
|
-
type: z.
|
|
2601
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2602
2602
|
id: z.ZodString;
|
|
2603
2603
|
label: z.ZodOptional<z.ZodString>;
|
|
2604
2604
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2616,12 +2616,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2616
2616
|
}>>>;
|
|
2617
2617
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2618
2618
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2619
|
-
created_source: z.ZodOptional<z.
|
|
2619
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2620
2620
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2621
2621
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2622
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2622
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2623
2623
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2624
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2624
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2625
2625
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2626
2626
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2627
2627
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2629,7 +2629,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2629
2629
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2630
2630
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2631
2631
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2632
|
-
type: z.
|
|
2632
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2633
2633
|
id: z.ZodString;
|
|
2634
2634
|
label: z.ZodOptional<z.ZodString>;
|
|
2635
2635
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2647,12 +2647,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2647
2647
|
}>>>;
|
|
2648
2648
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2649
2649
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2650
|
-
created_source: z.ZodOptional<z.
|
|
2650
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2651
2651
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2652
2652
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2653
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2653
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2654
2654
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2655
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2655
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2656
2656
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2657
2657
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2658
2658
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2660,7 +2660,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2660
2660
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2661
2661
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2662
2662
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2663
|
-
type: z.
|
|
2663
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2664
2664
|
id: z.ZodString;
|
|
2665
2665
|
label: z.ZodOptional<z.ZodString>;
|
|
2666
2666
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2678,12 +2678,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2678
2678
|
}>>>;
|
|
2679
2679
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2680
2680
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2681
|
-
created_source: z.ZodOptional<z.
|
|
2681
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2682
2682
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2683
2683
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2684
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2684
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2685
2685
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2686
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2686
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2687
2687
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2688
2688
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2689
2689
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2715,7 +2715,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2715
2715
|
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"]>;
|
|
2716
2716
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
2717
2717
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2718
|
-
type: z.
|
|
2718
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2719
2719
|
id: z.ZodString;
|
|
2720
2720
|
label: z.ZodOptional<z.ZodString>;
|
|
2721
2721
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2733,12 +2733,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2733
2733
|
}>>>;
|
|
2734
2734
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2735
2735
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2736
|
-
created_source: z.ZodOptional<z.
|
|
2736
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2737
2737
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2738
2738
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2739
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2739
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2740
2740
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2741
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2741
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2742
2742
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2743
2743
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2744
2744
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2746,7 +2746,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2746
2746
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2747
2747
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2748
2748
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2749
|
-
type: z.
|
|
2749
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2750
2750
|
id: z.ZodString;
|
|
2751
2751
|
label: z.ZodOptional<z.ZodString>;
|
|
2752
2752
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2764,12 +2764,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2764
2764
|
}>>>;
|
|
2765
2765
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2766
2766
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2767
|
-
created_source: z.ZodOptional<z.
|
|
2767
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2768
2768
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2769
2769
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2770
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2770
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2771
2771
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2772
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2772
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2773
2773
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2774
2774
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2775
2775
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2777,7 +2777,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2777
2777
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2778
2778
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2779
2779
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2780
|
-
type: z.
|
|
2780
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2781
2781
|
id: z.ZodString;
|
|
2782
2782
|
label: z.ZodOptional<z.ZodString>;
|
|
2783
2783
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2795,12 +2795,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2795
2795
|
}>>>;
|
|
2796
2796
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2797
2797
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2798
|
-
created_source: z.ZodOptional<z.
|
|
2798
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2799
2799
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2800
2800
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2801
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2801
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2802
2802
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2803
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2803
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2804
2804
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2805
2805
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2806
2806
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2832,7 +2832,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2832
2832
|
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"]>;
|
|
2833
2833
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
2834
2834
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2835
|
-
type: z.
|
|
2835
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2836
2836
|
id: z.ZodString;
|
|
2837
2837
|
label: z.ZodOptional<z.ZodString>;
|
|
2838
2838
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2850,12 +2850,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2850
2850
|
}>>>;
|
|
2851
2851
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2852
2852
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2853
|
-
created_source: z.ZodOptional<z.
|
|
2853
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2854
2854
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2855
2855
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2856
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2856
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2857
2857
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2858
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2858
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2859
2859
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2860
2860
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2861
2861
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2863,7 +2863,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2863
2863
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2864
2864
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2865
2865
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2866
|
-
type: z.
|
|
2866
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2867
2867
|
id: z.ZodString;
|
|
2868
2868
|
label: z.ZodOptional<z.ZodString>;
|
|
2869
2869
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2881,12 +2881,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2881
2881
|
}>>>;
|
|
2882
2882
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2883
2883
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2884
|
-
created_source: z.ZodOptional<z.
|
|
2884
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2885
2885
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2886
2886
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2887
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2887
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2888
2888
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2889
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2889
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2890
2890
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2891
2891
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2892
2892
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2894,7 +2894,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2894
2894
|
rejection_reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2895
2895
|
evidence_summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2896
2896
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2897
|
-
type: z.
|
|
2897
|
+
type: z.ZodType<"crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar", z.ZodTypeDef, "crm_lead" | "med_patient" | "med_professional" | "med_appointment" | "chat_contact" | "evo_task" | "campaign" | "nex_billing" | "nex_contract" | "nex_customer" | "teleconsultation" | "med_calendar">;
|
|
2898
2898
|
id: z.ZodString;
|
|
2899
2899
|
label: z.ZodOptional<z.ZodString>;
|
|
2900
2900
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -2912,12 +2912,12 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2912
2912
|
}>>>;
|
|
2913
2913
|
status: z.ZodOptional<z.ZodEnum<["suggested", "confirmed", "rejected"]>>;
|
|
2914
2914
|
evidence_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2915
|
-
created_source: z.ZodOptional<z.
|
|
2915
|
+
created_source: z.ZodOptional<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>;
|
|
2916
2916
|
created_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2917
2917
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2918
|
-
last_observed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2918
|
+
last_observed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2919
2919
|
last_observed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2920
|
-
confirmed_source: z.ZodOptional<z.ZodNullable<z.
|
|
2920
|
+
confirmed_source: z.ZodOptional<z.ZodNullable<z.ZodType<"ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication", z.ZodTypeDef, "ui_appointment" | "ui_manual" | "ui_family" | "sync_inferred" | "reminder_inferred" | "send_inferred" | "lead_autocreate" | "inherited" | "merge" | "legacy" | "family_discovery" | "name_rule" | "hubia" | "appointment_replication">>>;
|
|
2921
2921
|
confirmed_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2922
2922
|
confirmed_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
2923
2923
|
rejected_by: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
@@ -2950,14 +2950,14 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
2950
2950
|
name: string;
|
|
2951
2951
|
hidden: boolean;
|
|
2952
2952
|
base?: boolean | undefined;
|
|
2953
|
-
category?: string | null | undefined;
|
|
2954
2953
|
color?: string | undefined;
|
|
2954
|
+
category?: string | null | undefined;
|
|
2955
2955
|
}, {
|
|
2956
2956
|
name: string;
|
|
2957
2957
|
hidden: boolean;
|
|
2958
2958
|
base?: boolean | undefined;
|
|
2959
|
-
category?: string | null | undefined;
|
|
2960
2959
|
color?: string | undefined;
|
|
2960
|
+
category?: string | null | undefined;
|
|
2961
2961
|
}>, "many">>>;
|
|
2962
2962
|
capture_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>>>>;
|
|
2963
2963
|
userRef: z.ZodAny;
|