evo360-types 1.3.61 → 1.3.62
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-med/appointment/zod-schemas.d.ts +10 -4
- package/dist/apps/evo-med/appointment/zod-schemas.js +11 -0
- package/dist/apps/evo-med/appointment/zod-schemas.ts +11 -0
- package/dist/types/evo-med/appointment/index.d.ts +2 -0
- package/dist/types/evo-med/appointment/index.ts +2 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const zPaymentStatusSchema: z.ZodEnum<["paid", "partial", "pending", "not_informed"]>;
|
|
3
3
|
export declare const zMedAppointmentStatusSchema: z.ZodEnum<["scheduled", "confirmed", "completed", "pre_checkin", "waiting", "no_show", "cancelled", "extra_slot", "in_progress", "rescheduled"]>;
|
|
4
4
|
export declare const zAppointmentModeSchema: z.ZodEnum<["telemedicine", "in_person"]>;
|
|
5
|
-
export declare const zAppointmentTypeSchema: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up"]>;
|
|
5
|
+
export declare const zAppointmentTypeSchema: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up", "surgery", "exam", "evaluation", "emergency", "check_up", "vaccination", "fit_test", "therapy", "meeting"]>;
|
|
6
6
|
export declare const zAppointmentAddressSchema: z.ZodObject<{
|
|
7
7
|
address_name: z.ZodOptional<z.ZodString>;
|
|
8
8
|
address_line1: z.ZodOptional<z.ZodString>;
|
|
@@ -145,9 +145,11 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
145
145
|
startDate: z.ZodString;
|
|
146
146
|
endDate: z.ZodString;
|
|
147
147
|
status: z.ZodEnum<["scheduled", "confirmed", "completed", "pre_checkin", "waiting", "no_show", "cancelled", "extra_slot", "in_progress", "rescheduled"]>;
|
|
148
|
+
statusCaption: z.ZodString;
|
|
148
149
|
notes: z.ZodOptional<z.ZodString>;
|
|
149
150
|
appointmentMode: z.ZodEnum<["telemedicine", "in_person"]>;
|
|
150
|
-
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up"]>;
|
|
151
|
+
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up", "surgery", "exam", "evaluation", "emergency", "check_up", "vaccination", "fit_test", "therapy", "meeting"]>;
|
|
152
|
+
appointmentTypeCaption: z.ZodString;
|
|
151
153
|
specialty: z.ZodOptional<z.ZodString>;
|
|
152
154
|
address: z.ZodOptional<z.ZodObject<{
|
|
153
155
|
address_name: z.ZodOptional<z.ZodString>;
|
|
@@ -313,9 +315,11 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
313
315
|
startDate: z.ZodString;
|
|
314
316
|
endDate: z.ZodString;
|
|
315
317
|
status: z.ZodEnum<["scheduled", "confirmed", "completed", "pre_checkin", "waiting", "no_show", "cancelled", "extra_slot", "in_progress", "rescheduled"]>;
|
|
318
|
+
statusCaption: z.ZodString;
|
|
316
319
|
notes: z.ZodOptional<z.ZodString>;
|
|
317
320
|
appointmentMode: z.ZodEnum<["telemedicine", "in_person"]>;
|
|
318
|
-
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up"]>;
|
|
321
|
+
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up", "surgery", "exam", "evaluation", "emergency", "check_up", "vaccination", "fit_test", "therapy", "meeting"]>;
|
|
322
|
+
appointmentTypeCaption: z.ZodString;
|
|
319
323
|
specialty: z.ZodOptional<z.ZodString>;
|
|
320
324
|
address: z.ZodOptional<z.ZodObject<{
|
|
321
325
|
address_name: z.ZodOptional<z.ZodString>;
|
|
@@ -481,9 +485,11 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
481
485
|
startDate: z.ZodString;
|
|
482
486
|
endDate: z.ZodString;
|
|
483
487
|
status: z.ZodEnum<["scheduled", "confirmed", "completed", "pre_checkin", "waiting", "no_show", "cancelled", "extra_slot", "in_progress", "rescheduled"]>;
|
|
488
|
+
statusCaption: z.ZodString;
|
|
484
489
|
notes: z.ZodOptional<z.ZodString>;
|
|
485
490
|
appointmentMode: z.ZodEnum<["telemedicine", "in_person"]>;
|
|
486
|
-
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up"]>;
|
|
491
|
+
appointmentType: z.ZodEnum<["blocked", "consultation", "procedure", "follow_up", "surgery", "exam", "evaluation", "emergency", "check_up", "vaccination", "fit_test", "therapy", "meeting"]>;
|
|
492
|
+
appointmentTypeCaption: z.ZodString;
|
|
487
493
|
specialty: z.ZodOptional<z.ZodString>;
|
|
488
494
|
address: z.ZodOptional<z.ZodObject<{
|
|
489
495
|
address_name: z.ZodOptional<z.ZodString>;
|
|
@@ -28,6 +28,15 @@ exports.zAppointmentTypeSchema = zod_1.z.enum([
|
|
|
28
28
|
"consultation",
|
|
29
29
|
"procedure",
|
|
30
30
|
"follow_up",
|
|
31
|
+
"surgery",
|
|
32
|
+
"exam",
|
|
33
|
+
"evaluation",
|
|
34
|
+
"emergency",
|
|
35
|
+
"check_up",
|
|
36
|
+
"vaccination",
|
|
37
|
+
"fit_test",
|
|
38
|
+
"therapy",
|
|
39
|
+
"meeting",
|
|
31
40
|
]);
|
|
32
41
|
// Schema para endereço
|
|
33
42
|
exports.zAppointmentAddressSchema = zod_1.z.object({
|
|
@@ -97,9 +106,11 @@ exports.zAppointmentSchema = zod_schemas_1.zFireDocSchema
|
|
|
97
106
|
startDate: zod_1.z.string().datetime(), // ISO string
|
|
98
107
|
endDate: zod_1.z.string().datetime(), // ISO string
|
|
99
108
|
status: exports.zMedAppointmentStatusSchema,
|
|
109
|
+
statusCaption: zod_1.z.string(),
|
|
100
110
|
notes: zod_1.z.string().optional(),
|
|
101
111
|
appointmentMode: exports.zAppointmentModeSchema,
|
|
102
112
|
appointmentType: exports.zAppointmentTypeSchema,
|
|
113
|
+
appointmentTypeCaption: zod_1.z.string(),
|
|
103
114
|
specialty: zod_1.z.string().optional(),
|
|
104
115
|
address: exports.zAppointmentAddressSchema.optional(),
|
|
105
116
|
procedures: zod_1.z.array(exports.zProcedureSchema).optional(),
|
|
@@ -29,6 +29,15 @@ export const zAppointmentTypeSchema = z.enum([
|
|
|
29
29
|
"consultation",
|
|
30
30
|
"procedure",
|
|
31
31
|
"follow_up",
|
|
32
|
+
"surgery",
|
|
33
|
+
"exam",
|
|
34
|
+
"evaluation",
|
|
35
|
+
"emergency",
|
|
36
|
+
"check_up",
|
|
37
|
+
"vaccination",
|
|
38
|
+
"fit_test",
|
|
39
|
+
"therapy",
|
|
40
|
+
"meeting",
|
|
32
41
|
]);
|
|
33
42
|
|
|
34
43
|
// Schema para endereço
|
|
@@ -105,9 +114,11 @@ export const zAppointmentSchema = zFireDocSchema
|
|
|
105
114
|
startDate: z.string().datetime(), // ISO string
|
|
106
115
|
endDate: z.string().datetime(), // ISO string
|
|
107
116
|
status: zMedAppointmentStatusSchema,
|
|
117
|
+
statusCaption: z.string(),
|
|
108
118
|
notes: z.string().optional(),
|
|
109
119
|
appointmentMode: zAppointmentModeSchema,
|
|
110
120
|
appointmentType: zAppointmentTypeSchema,
|
|
121
|
+
appointmentTypeCaption: z.string(),
|
|
111
122
|
specialty: z.string().optional(),
|
|
112
123
|
address: zAppointmentAddressSchema.optional(),
|
|
113
124
|
procedures: z.array(zProcedureSchema).optional(),
|
|
@@ -96,9 +96,11 @@ export interface Appointment extends IFireDoc {
|
|
|
96
96
|
startDate: string;
|
|
97
97
|
endDate: string;
|
|
98
98
|
status: AppointmentStatus;
|
|
99
|
+
statusCaption: string;
|
|
99
100
|
notes?: string;
|
|
100
101
|
appointmentMode: AppointmentMode;
|
|
101
102
|
appointmentType: AppointmentType;
|
|
103
|
+
appointmentTypeCaption: string;
|
|
102
104
|
specialty?: string;
|
|
103
105
|
address?: Address;
|
|
104
106
|
procedures?: Procedure[];
|
|
@@ -125,9 +125,11 @@ export interface Appointment extends IFireDoc {
|
|
|
125
125
|
startDate: string; // ISO string
|
|
126
126
|
endDate: string; // ISO string
|
|
127
127
|
status: AppointmentStatus;
|
|
128
|
+
statusCaption: string;
|
|
128
129
|
notes?: string;
|
|
129
130
|
appointmentMode: AppointmentMode;
|
|
130
131
|
appointmentType: AppointmentType;
|
|
132
|
+
appointmentTypeCaption: string;
|
|
131
133
|
specialty?: string;
|
|
132
134
|
address?: Address;
|
|
133
135
|
procedures?: Procedure[];
|