evo360-types 1.3.134 → 1.3.135

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.
@@ -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
@@ -128,6 +128,7 @@ export interface IAppointment extends IFireDoc {
128
128
  [key: string]: unknown;
129
129
  }
130
130
  export interface IPatientAppointment {
131
+ calendarId: string;
131
132
  appointmentId: string;
132
133
  startDate: Date;
133
134
  duration: number;
@@ -167,6 +167,7 @@ export interface IAppointment extends IFireDoc {
167
167
 
168
168
  // Interface da Replicação do Appointment para o Patient
169
169
  export interface IPatientAppointment {
170
+ calendarId: string;
170
171
  appointmentId: string;
171
172
  startDate: Date;
172
173
  duration: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.134",
3
+ "version": "1.3.135",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",