evo360-types 1.3.570 → 1.3.578
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-crm/lead/zod-schemas.d.ts +18 -9
- package/dist/apps/evo-csq/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-finops/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +535 -0
- package/dist/apps/evo-med/calendar/zod-schemas.js +52 -1
- package/dist/apps/evo-med/calendar/zod-schemas.ts +55 -0
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +2 -2
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +9 -0
- package/dist/apps/evo-med/people/zod-schemas.d.ts +63 -45
- package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.js +3 -0
- package/dist/apps/evo-notifications/quick-reply-action/zod-schemas.ts +3 -0
- package/dist/apps/evo-notifications/zod-schemas.d.ts +69 -39
- package/dist/apps/evo-task/zod-schemas.d.ts +69 -69
- package/dist/apps/evo-task/zod-schemas.js +8 -0
- package/dist/apps/evo-task/zod-schemas.ts +8 -0
- package/dist/apps/evo-telemedicine/zod-schemas.d.ts +1567 -0
- package/dist/apps/evo-telemedicine/zod-schemas.js +709 -0
- package/dist/apps/evo-telemedicine/zod-schemas.ts +794 -0
- package/dist/apps/evo-tenant/zod-schemas.d.ts +94 -0
- package/dist/apps/evo-tenant/zod-schemas.js +29 -1
- package/dist/apps/evo-tenant/zod-schemas.ts +32 -1
- package/dist/apps/hub-automation/zod-schemas.d.ts +172 -172
- package/dist/apps/shared/zod-schemas.d.ts +3 -0
- package/dist/apps/shared/zod-schemas.js +2 -0
- package/dist/apps/shared/zod-schemas.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.ts +2 -0
- package/dist/types/evo-finops/common/contract.d.ts +8 -0
- package/dist/types/evo-finops/common/contract.js +7 -0
- package/dist/types/evo-finops/common/contract.ts +7 -0
- package/dist/types/evo-med/calendar/index.d.ts +104 -0
- package/dist/types/evo-med/calendar/index.js +66 -1
- package/dist/types/evo-med/calendar/index.ts +146 -0
- package/dist/types/evo-notifications/index.d.ts +13 -0
- package/dist/types/evo-notifications/index.js +6 -0
- package/dist/types/evo-notifications/index.ts +13 -0
- package/dist/types/evo-reports/index.d.ts +27 -0
- package/dist/types/evo-reports/index.ts +28 -0
- package/dist/types/evo-task/index.d.ts +1 -0
- package/dist/types/evo-task/index.js +8 -0
- package/dist/types/evo-task/index.ts +8 -0
- package/dist/types/evo-telemedicine/fb_collections.d.ts +16 -0
- package/dist/types/evo-telemedicine/fb_collections.js +38 -0
- package/dist/types/evo-telemedicine/fb_collections.ts +37 -0
- package/dist/types/evo-telemedicine/index.d.ts +1137 -0
- package/dist/types/evo-telemedicine/index.js +387 -0
- package/dist/types/evo-telemedicine/index.ts +1299 -0
- package/dist/types/evo-tenant/index.d.ts +45 -0
- package/dist/types/evo-tenant/index.js +20 -1
- package/dist/types/evo-tenant/index.ts +65 -0
- package/dist/types/shared/external-links.d.ts +6 -0
- package/dist/types/shared/external-links.js +6 -0
- package/dist/types/shared/external-links.ts +6 -0
- package/dist/types/shared/index.d.ts +1 -0
- package/dist/types/shared/index.ts +2 -0
- package/package.json +1 -1
|
@@ -161,6 +161,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
161
161
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
162
162
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
163
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
164
165
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
165
166
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
166
167
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -168,6 +169,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
168
169
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
169
170
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
170
171
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
172
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
171
173
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
172
174
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
173
175
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -175,6 +177,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
175
177
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
178
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
179
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
181
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
179
182
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
180
183
|
name: z.ZodString;
|
|
@@ -312,6 +315,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
312
315
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
313
316
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
314
317
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
315
319
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
316
320
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
317
321
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -319,6 +323,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
319
323
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
320
324
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
321
325
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
326
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
322
327
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
323
328
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
324
329
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -326,6 +331,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
326
331
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
327
332
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
328
333
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
329
335
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
330
336
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
331
337
|
name: z.ZodString;
|
|
@@ -463,6 +469,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
463
469
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
464
470
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
465
471
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
472
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
466
473
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
467
474
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
468
475
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -470,6 +477,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
470
477
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
471
478
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
472
479
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
473
481
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
474
482
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
475
483
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -477,6 +485,7 @@ export declare const zProfessionalSchema: z.ZodObject<{
|
|
|
477
485
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
478
486
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
479
487
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
488
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
480
489
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
481
490
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
482
491
|
name: z.ZodString;
|
|
@@ -605,19 +614,19 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
605
614
|
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"]>;
|
|
606
615
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
607
616
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
608
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
617
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
609
618
|
id: z.ZodString;
|
|
610
619
|
label: z.ZodOptional<z.ZodString>;
|
|
611
620
|
ref: z.ZodOptional<z.ZodAny>;
|
|
612
621
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
613
622
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
614
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
623
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
615
624
|
id: z.ZodString;
|
|
616
625
|
label: z.ZodOptional<z.ZodString>;
|
|
617
626
|
ref: z.ZodOptional<z.ZodAny>;
|
|
618
627
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
619
628
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
620
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
629
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
621
630
|
id: z.ZodString;
|
|
622
631
|
label: z.ZodOptional<z.ZodString>;
|
|
623
632
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -647,19 +656,19 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
647
656
|
baseCategory: z.ZodEnum<["identification_document", "insurance_card", "medical_exam", "prescription", "medical_report", "payment_receipt", "invoice", "referral_letter", "consent_form", "authorization_form", "sick_leave_certificate", "treatment_plan", "clinical_image", "anamnesis_form", "patient_form", "insurance_authorization", "lab_result", "imaging_exam", "surgical_document", "discharge_summary", "medication_list", "vaccination_record", "legal_document", "administrative_document", "other"]>;
|
|
648
657
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
649
658
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
650
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
659
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
651
660
|
id: z.ZodString;
|
|
652
661
|
label: z.ZodOptional<z.ZodString>;
|
|
653
662
|
ref: z.ZodOptional<z.ZodAny>;
|
|
654
663
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
655
664
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
656
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
665
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
657
666
|
id: z.ZodString;
|
|
658
667
|
label: z.ZodOptional<z.ZodString>;
|
|
659
668
|
ref: z.ZodOptional<z.ZodAny>;
|
|
660
669
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
661
670
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
662
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
671
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
663
672
|
id: z.ZodString;
|
|
664
673
|
label: z.ZodOptional<z.ZodString>;
|
|
665
674
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -689,19 +698,19 @@ export declare const zPatientAttachmentSchema: z.ZodObject<{
|
|
|
689
698
|
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"]>;
|
|
690
699
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
691
700
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
692
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
701
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
693
702
|
id: z.ZodString;
|
|
694
703
|
label: z.ZodOptional<z.ZodString>;
|
|
695
704
|
ref: z.ZodOptional<z.ZodAny>;
|
|
696
705
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
697
706
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
698
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
707
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
699
708
|
id: z.ZodString;
|
|
700
709
|
label: z.ZodOptional<z.ZodString>;
|
|
701
710
|
ref: z.ZodOptional<z.ZodAny>;
|
|
702
711
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
703
712
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
704
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
713
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
705
714
|
id: z.ZodString;
|
|
706
715
|
label: z.ZodOptional<z.ZodString>;
|
|
707
716
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -785,6 +794,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
785
794
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
795
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
787
796
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
797
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
788
798
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
789
799
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
790
800
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -792,6 +802,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
792
802
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
803
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
794
804
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
805
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
795
806
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
796
807
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
797
808
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -799,6 +810,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
799
810
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
811
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
801
812
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
813
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
802
814
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
803
815
|
/**
|
|
804
816
|
* @deprecated Vínculo escalar com o lead. Não representa o caso real de um
|
|
@@ -816,19 +828,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
816
828
|
* um lead pode ter vários pacientes. feat-095.
|
|
817
829
|
*/
|
|
818
830
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
819
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
831
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
820
832
|
id: z.ZodString;
|
|
821
833
|
label: z.ZodOptional<z.ZodString>;
|
|
822
834
|
ref: z.ZodOptional<z.ZodAny>;
|
|
823
835
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
824
836
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
825
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
837
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
826
838
|
id: z.ZodString;
|
|
827
839
|
label: z.ZodOptional<z.ZodString>;
|
|
828
840
|
ref: z.ZodOptional<z.ZodAny>;
|
|
829
841
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
830
842
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
831
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
843
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
832
844
|
id: z.ZodString;
|
|
833
845
|
label: z.ZodOptional<z.ZodString>;
|
|
834
846
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -934,19 +946,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
934
946
|
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"]>;
|
|
935
947
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
936
948
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
937
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
949
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
938
950
|
id: z.ZodString;
|
|
939
951
|
label: z.ZodOptional<z.ZodString>;
|
|
940
952
|
ref: z.ZodOptional<z.ZodAny>;
|
|
941
953
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
942
954
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
943
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
955
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
944
956
|
id: z.ZodString;
|
|
945
957
|
label: z.ZodOptional<z.ZodString>;
|
|
946
958
|
ref: z.ZodOptional<z.ZodAny>;
|
|
947
959
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
948
960
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
949
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
961
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
950
962
|
id: z.ZodString;
|
|
951
963
|
label: z.ZodOptional<z.ZodString>;
|
|
952
964
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -976,19 +988,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
976
988
|
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"]>;
|
|
977
989
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
978
990
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
979
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
991
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
980
992
|
id: z.ZodString;
|
|
981
993
|
label: z.ZodOptional<z.ZodString>;
|
|
982
994
|
ref: z.ZodOptional<z.ZodAny>;
|
|
983
995
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
984
996
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
985
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
997
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
986
998
|
id: z.ZodString;
|
|
987
999
|
label: z.ZodOptional<z.ZodString>;
|
|
988
1000
|
ref: z.ZodOptional<z.ZodAny>;
|
|
989
1001
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
990
1002
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
991
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1003
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
992
1004
|
id: z.ZodString;
|
|
993
1005
|
label: z.ZodOptional<z.ZodString>;
|
|
994
1006
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1018,19 +1030,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1018
1030
|
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"]>;
|
|
1019
1031
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1020
1032
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1021
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1033
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1022
1034
|
id: z.ZodString;
|
|
1023
1035
|
label: z.ZodOptional<z.ZodString>;
|
|
1024
1036
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1025
1037
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1026
1038
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1027
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1039
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1028
1040
|
id: z.ZodString;
|
|
1029
1041
|
label: z.ZodOptional<z.ZodString>;
|
|
1030
1042
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1031
1043
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1032
1044
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1033
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1045
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1034
1046
|
id: z.ZodString;
|
|
1035
1047
|
label: z.ZodOptional<z.ZodString>;
|
|
1036
1048
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1135,6 +1147,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1135
1147
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1136
1148
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1149
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1138
1151
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1139
1152
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1140
1153
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1142,6 +1155,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1142
1155
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1143
1156
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1144
1157
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1158
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1145
1159
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1146
1160
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1147
1161
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1149,6 +1163,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1149
1163
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1150
1164
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1151
1165
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1166
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1152
1167
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1153
1168
|
/**
|
|
1154
1169
|
* @deprecated Vínculo escalar com o lead. Não representa o caso real de um
|
|
@@ -1166,19 +1181,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1166
1181
|
* um lead pode ter vários pacientes. feat-095.
|
|
1167
1182
|
*/
|
|
1168
1183
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1169
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1184
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1170
1185
|
id: z.ZodString;
|
|
1171
1186
|
label: z.ZodOptional<z.ZodString>;
|
|
1172
1187
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1173
1188
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1174
1189
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1175
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1190
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1176
1191
|
id: z.ZodString;
|
|
1177
1192
|
label: z.ZodOptional<z.ZodString>;
|
|
1178
1193
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1179
1194
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1180
1195
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1181
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1196
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1182
1197
|
id: z.ZodString;
|
|
1183
1198
|
label: z.ZodOptional<z.ZodString>;
|
|
1184
1199
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1284,19 +1299,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1284
1299
|
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"]>;
|
|
1285
1300
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1286
1301
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1287
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1302
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1288
1303
|
id: z.ZodString;
|
|
1289
1304
|
label: z.ZodOptional<z.ZodString>;
|
|
1290
1305
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1291
1306
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1292
1307
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1293
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1308
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1294
1309
|
id: z.ZodString;
|
|
1295
1310
|
label: z.ZodOptional<z.ZodString>;
|
|
1296
1311
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1297
1312
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1298
1313
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1299
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1314
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1300
1315
|
id: z.ZodString;
|
|
1301
1316
|
label: z.ZodOptional<z.ZodString>;
|
|
1302
1317
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1326,19 +1341,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1326
1341
|
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"]>;
|
|
1327
1342
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1328
1343
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1329
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1344
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1330
1345
|
id: z.ZodString;
|
|
1331
1346
|
label: z.ZodOptional<z.ZodString>;
|
|
1332
1347
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1333
1348
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1334
1349
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1335
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1350
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1336
1351
|
id: z.ZodString;
|
|
1337
1352
|
label: z.ZodOptional<z.ZodString>;
|
|
1338
1353
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1339
1354
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1340
1355
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1341
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1356
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1342
1357
|
id: z.ZodString;
|
|
1343
1358
|
label: z.ZodOptional<z.ZodString>;
|
|
1344
1359
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1368,19 +1383,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1368
1383
|
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"]>;
|
|
1369
1384
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1370
1385
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1371
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1386
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1372
1387
|
id: z.ZodString;
|
|
1373
1388
|
label: z.ZodOptional<z.ZodString>;
|
|
1374
1389
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1375
1390
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1376
1391
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1377
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1392
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1378
1393
|
id: z.ZodString;
|
|
1379
1394
|
label: z.ZodOptional<z.ZodString>;
|
|
1380
1395
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1381
1396
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1382
1397
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1383
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1398
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1384
1399
|
id: z.ZodString;
|
|
1385
1400
|
label: z.ZodOptional<z.ZodString>;
|
|
1386
1401
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1485,6 +1500,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1485
1500
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1486
1501
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1487
1502
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1503
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1488
1504
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1489
1505
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1490
1506
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1492,6 +1508,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1492
1508
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1493
1509
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1494
1510
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1511
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
1512
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1496
1513
|
email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1497
1514
|
phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1499,6 +1516,7 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1499
1516
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1500
1517
|
instagram: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1501
1518
|
instagram_username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
|
+
bsuid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1502
1520
|
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1503
1521
|
/**
|
|
1504
1522
|
* @deprecated Vínculo escalar com o lead. Não representa o caso real de um
|
|
@@ -1516,19 +1534,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1516
1534
|
* um lead pode ter vários pacientes. feat-095.
|
|
1517
1535
|
*/
|
|
1518
1536
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1519
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1537
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1520
1538
|
id: z.ZodString;
|
|
1521
1539
|
label: z.ZodOptional<z.ZodString>;
|
|
1522
1540
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1523
1541
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1524
1542
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1525
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1543
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1526
1544
|
id: z.ZodString;
|
|
1527
1545
|
label: z.ZodOptional<z.ZodString>;
|
|
1528
1546
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1529
1547
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1530
1548
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1531
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1549
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1532
1550
|
id: z.ZodString;
|
|
1533
1551
|
label: z.ZodOptional<z.ZodString>;
|
|
1534
1552
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1634,19 +1652,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1634
1652
|
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"]>;
|
|
1635
1653
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1636
1654
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1637
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1655
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1638
1656
|
id: z.ZodString;
|
|
1639
1657
|
label: z.ZodOptional<z.ZodString>;
|
|
1640
1658
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1641
1659
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1642
1660
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1643
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1661
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1644
1662
|
id: z.ZodString;
|
|
1645
1663
|
label: z.ZodOptional<z.ZodString>;
|
|
1646
1664
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1647
1665
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1648
1666
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1649
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1667
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1650
1668
|
id: z.ZodString;
|
|
1651
1669
|
label: z.ZodOptional<z.ZodString>;
|
|
1652
1670
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1676,19 +1694,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1676
1694
|
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"]>;
|
|
1677
1695
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1678
1696
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1679
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1697
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1680
1698
|
id: z.ZodString;
|
|
1681
1699
|
label: z.ZodOptional<z.ZodString>;
|
|
1682
1700
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1683
1701
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1684
1702
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1685
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1703
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1686
1704
|
id: z.ZodString;
|
|
1687
1705
|
label: z.ZodOptional<z.ZodString>;
|
|
1688
1706
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1689
1707
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1690
1708
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1691
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1709
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1692
1710
|
id: z.ZodString;
|
|
1693
1711
|
label: z.ZodOptional<z.ZodString>;
|
|
1694
1712
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -1718,19 +1736,19 @@ export declare const zPatientSchema: z.ZodObject<{
|
|
|
1718
1736
|
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"]>;
|
|
1719
1737
|
categoryColor: z.ZodOptional<z.ZodString>;
|
|
1720
1738
|
externalLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1721
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1739
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1722
1740
|
id: z.ZodString;
|
|
1723
1741
|
label: z.ZodOptional<z.ZodString>;
|
|
1724
1742
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1725
1743
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1726
1744
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1727
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1745
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1728
1746
|
id: z.ZodString;
|
|
1729
1747
|
label: z.ZodOptional<z.ZodString>;
|
|
1730
1748
|
ref: z.ZodOptional<z.ZodAny>;
|
|
1731
1749
|
owner: z.ZodOptional<z.ZodEnum<["nexus"]>>;
|
|
1732
1750
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1733
|
-
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer"]>;
|
|
1751
|
+
type: z.ZodEnum<["crm_lead", "med_patient", "med_professional", "med_appointment", "chat_contact", "evo_task", "campaign", "nex_billing", "nex_contract", "nex_customer", "teleconsultation"]>;
|
|
1734
1752
|
id: z.ZodString;
|
|
1735
1753
|
label: z.ZodOptional<z.ZodString>;
|
|
1736
1754
|
ref: z.ZodOptional<z.ZodAny>;
|
|
@@ -333,16 +333,19 @@ export declare const zQuickReplyActionIntentSchema: z.ZodObject<{
|
|
|
333
333
|
button_index: z.ZodNumber;
|
|
334
334
|
button_label: z.ZodString;
|
|
335
335
|
expires_at: z.ZodOptional<z.ZodDate>;
|
|
336
|
+
url_secret: z.ZodOptional<z.ZodString>;
|
|
336
337
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
337
338
|
action_type: z.ZodString;
|
|
338
339
|
action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
339
340
|
button_index: z.ZodNumber;
|
|
340
341
|
button_label: z.ZodString;
|
|
341
342
|
expires_at: z.ZodOptional<z.ZodDate>;
|
|
343
|
+
url_secret: z.ZodOptional<z.ZodString>;
|
|
342
344
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
343
345
|
action_type: z.ZodString;
|
|
344
346
|
action_payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
345
347
|
button_index: z.ZodNumber;
|
|
346
348
|
button_label: z.ZodString;
|
|
347
349
|
expires_at: z.ZodOptional<z.ZodDate>;
|
|
350
|
+
url_secret: z.ZodOptional<z.ZodString>;
|
|
348
351
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -106,6 +106,9 @@ exports.zQuickReplyActionIntentSchema = zod_1.z
|
|
|
106
106
|
button_index: zod_1.z.number(),
|
|
107
107
|
button_label: zod_1.z.string(),
|
|
108
108
|
expires_at: zod_1.z.coerce.date().optional(),
|
|
109
|
+
// feat-160: segredo de URL da capability `/qr` — nunca persistido; só memória
|
|
110
|
+
// de envio. Espelha `IQuickReplyActionIntent.url_secret`.
|
|
111
|
+
url_secret: zod_1.z.string().min(16).max(128).optional(),
|
|
109
112
|
})
|
|
110
113
|
.passthrough();
|
|
111
114
|
// NB: the canonical TS interface `IQuickReplyActionIntent` lives in
|
|
@@ -123,6 +123,9 @@ export const zQuickReplyActionIntentSchema = z
|
|
|
123
123
|
button_index: z.number(),
|
|
124
124
|
button_label: z.string(),
|
|
125
125
|
expires_at: z.coerce.date().optional(),
|
|
126
|
+
// feat-160: segredo de URL da capability `/qr` — nunca persistido; só memória
|
|
127
|
+
// de envio. Espelha `IQuickReplyActionIntent.url_secret`.
|
|
128
|
+
url_secret: z.string().min(16).max(128).optional(),
|
|
126
129
|
})
|
|
127
130
|
.passthrough();
|
|
128
131
|
|