evo360-types 1.3.134 → 1.3.136
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 +3 -0
- package/dist/apps/evo-med/appointment/zod-schemas.js +1 -0
- package/dist/apps/evo-med/appointment/zod-schemas.ts +1 -0
- package/dist/apps/evo-tenant/zod-schemas.d.ts +6 -0
- package/dist/apps/evo-tenant/zod-schemas.js +2 -0
- package/dist/apps/evo-tenant/zod-schemas.ts +2 -0
- package/dist/types/evo-med/appointment/index.d.ts +1 -0
- package/dist/types/evo-med/appointment/index.ts +1 -0
- package/dist/types/evo-tenant/index.d.ts +2 -0
- package/dist/types/evo-tenant/index.ts +2 -0
- package/package.json +1 -1
|
@@ -1118,6 +1118,7 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1118
1118
|
}>, "many">>>;
|
|
1119
1119
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
1120
1120
|
export declare const zPatientAppointmentSchema: z.ZodObject<{
|
|
1121
|
+
calendarId: z.ZodString;
|
|
1121
1122
|
appointmentId: z.ZodString;
|
|
1122
1123
|
startDate: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
1123
1124
|
duration: z.ZodNumber;
|
|
@@ -1153,6 +1154,7 @@ export declare const zPatientAppointmentSchema: z.ZodObject<{
|
|
|
1153
1154
|
reschedule_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1154
1155
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1155
1156
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1157
|
+
calendarId: z.ZodString;
|
|
1156
1158
|
appointmentId: z.ZodString;
|
|
1157
1159
|
startDate: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
1158
1160
|
duration: z.ZodNumber;
|
|
@@ -1188,6 +1190,7 @@ export declare const zPatientAppointmentSchema: z.ZodObject<{
|
|
|
1188
1190
|
reschedule_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1189
1191
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1190
1192
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1193
|
+
calendarId: z.ZodString;
|
|
1191
1194
|
appointmentId: z.ZodString;
|
|
1192
1195
|
startDate: z.ZodEffects<z.ZodDate, Date, unknown>;
|
|
1193
1196
|
duration: z.ZodNumber;
|
|
@@ -190,6 +190,7 @@ exports.zAppointmentSchema = zod_schemas_1.zFireDocSchema
|
|
|
190
190
|
// Schema para a Replicação do Appointment para o Patient
|
|
191
191
|
exports.zPatientAppointmentSchema = zod_1.z
|
|
192
192
|
.object({
|
|
193
|
+
calendarId: zod_1.z.string().min(1), // ID do calendário
|
|
193
194
|
appointmentId: zod_1.z.string().min(1), // ID do agendamento
|
|
194
195
|
startDate: zod_schemas_1.zFirestoreDateSchema,
|
|
195
196
|
duration: zod_1.z.number(), // Duração em minutos
|
|
@@ -211,6 +211,7 @@ export const zAppointmentSchema = zFireDocSchema
|
|
|
211
211
|
// Schema para a Replicação do Appointment para o Patient
|
|
212
212
|
export const zPatientAppointmentSchema = z
|
|
213
213
|
.object({
|
|
214
|
+
calendarId: z.string().min(1), // ID do calendário
|
|
214
215
|
appointmentId: z.string().min(1), // ID do agendamento
|
|
215
216
|
startDate: zFirestoreDateSchema,
|
|
216
217
|
duration: z.number(), // Duração em minutos
|
|
@@ -14,6 +14,8 @@ export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14
14
|
name: z.ZodString;
|
|
15
15
|
url_alias: z.ZodString;
|
|
16
16
|
base_tenant: z.ZodOptional<z.ZodString>;
|
|
17
|
+
hidden: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
18
|
+
readonly: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
17
19
|
date_format: z.ZodOptional<z.ZodString>;
|
|
18
20
|
language: z.ZodOptional<z.ZodEnum<["ptBR", "en"]>>;
|
|
19
21
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
@@ -31,6 +33,8 @@ export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
31
33
|
updated_at?: Date | null | undefined;
|
|
32
34
|
deleted_at?: Date | null | undefined;
|
|
33
35
|
base_tenant?: string | undefined;
|
|
36
|
+
hidden?: boolean | undefined;
|
|
37
|
+
readonly?: boolean | undefined;
|
|
34
38
|
date_format?: string | undefined;
|
|
35
39
|
language?: "ptBR" | "en" | undefined;
|
|
36
40
|
timezone?: string | undefined;
|
|
@@ -47,6 +51,8 @@ export declare const zTenantSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
47
51
|
updated_at?: Date | null | undefined;
|
|
48
52
|
deleted_at?: Date | null | undefined;
|
|
49
53
|
base_tenant?: string | undefined;
|
|
54
|
+
hidden?: boolean | undefined;
|
|
55
|
+
readonly?: boolean | undefined;
|
|
50
56
|
date_format?: string | undefined;
|
|
51
57
|
language?: "ptBR" | "en" | undefined;
|
|
52
58
|
timezone?: string | undefined;
|
|
@@ -15,6 +15,8 @@ exports.zTenantSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchem
|
|
|
15
15
|
name: zod_1.z.string().min(1).max(255),
|
|
16
16
|
url_alias: zod_1.z.string().min(1).max(255),
|
|
17
17
|
base_tenant: zod_1.z.string().optional(),
|
|
18
|
+
hidden: zod_1.z.boolean().default(false).optional(),
|
|
19
|
+
readonly: zod_1.z.boolean().default(false).optional(),
|
|
18
20
|
date_format: zod_1.z.string().optional(),
|
|
19
21
|
language: exports.zTenantLanguageSchema.optional(),
|
|
20
22
|
status: exports.zTenantStatusSchema,
|
|
@@ -16,6 +16,8 @@ export const zTenantSchema = zFireDocSchema // Extend from FireDocSchema
|
|
|
16
16
|
name: z.string().min(1).max(255),
|
|
17
17
|
url_alias: z.string().min(1).max(255),
|
|
18
18
|
base_tenant: z.string().optional(),
|
|
19
|
+
hidden: z.boolean().default(false).optional(),
|
|
20
|
+
readonly: z.boolean().default(false).optional(),
|
|
19
21
|
date_format: z.string().optional(),
|
|
20
22
|
language: zTenantLanguageSchema.optional(),
|
|
21
23
|
status: zTenantStatusSchema,
|