evo360-types 1.3.95 → 1.3.97

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.
@@ -189,6 +189,10 @@ export declare const zAppointmentRescheduleSchema: z.ZodObject<{
189
189
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
190
  userRef: z.ZodOptional<z.ZodAny>;
191
191
  created_at: z.ZodDate;
192
+ oldStartDate: z.ZodOptional<z.ZodDate>;
193
+ oldEndDate: z.ZodOptional<z.ZodDate>;
194
+ newStartDate: z.ZodOptional<z.ZodDate>;
195
+ newEndDate: z.ZodOptional<z.ZodDate>;
192
196
  }, "strip", z.ZodTypeAny, {
193
197
  created_at: Date;
194
198
  userRef?: any;
@@ -200,6 +204,10 @@ export declare const zAppointmentRescheduleSchema: z.ZodObject<{
200
204
  external_id?: string | null | undefined;
201
205
  } | undefined;
202
206
  reason?: string | undefined;
207
+ oldStartDate?: Date | undefined;
208
+ oldEndDate?: Date | undefined;
209
+ newStartDate?: Date | undefined;
210
+ newEndDate?: Date | undefined;
203
211
  }, {
204
212
  created_at: Date;
205
213
  userRef?: any;
@@ -211,6 +219,10 @@ export declare const zAppointmentRescheduleSchema: z.ZodObject<{
211
219
  external_id?: string | null | undefined;
212
220
  } | undefined;
213
221
  reason?: string | undefined;
222
+ oldStartDate?: Date | undefined;
223
+ oldEndDate?: Date | undefined;
224
+ newStartDate?: Date | undefined;
225
+ newEndDate?: Date | undefined;
214
226
  }>;
215
227
  export declare const zAppointmentSpecialtySchema: z.ZodObject<{
216
228
  code: z.ZodString;
@@ -471,6 +483,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
471
483
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
472
484
  userRef: z.ZodOptional<z.ZodAny>;
473
485
  created_at: z.ZodDate;
486
+ oldStartDate: z.ZodOptional<z.ZodDate>;
487
+ oldEndDate: z.ZodOptional<z.ZodDate>;
488
+ newStartDate: z.ZodOptional<z.ZodDate>;
489
+ newEndDate: z.ZodOptional<z.ZodDate>;
474
490
  }, "strip", z.ZodTypeAny, {
475
491
  created_at: Date;
476
492
  userRef?: any;
@@ -482,6 +498,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
482
498
  external_id?: string | null | undefined;
483
499
  } | undefined;
484
500
  reason?: string | undefined;
501
+ oldStartDate?: Date | undefined;
502
+ oldEndDate?: Date | undefined;
503
+ newStartDate?: Date | undefined;
504
+ newEndDate?: Date | undefined;
485
505
  }, {
486
506
  created_at: Date;
487
507
  userRef?: any;
@@ -493,6 +513,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
493
513
  external_id?: string | null | undefined;
494
514
  } | undefined;
495
515
  reason?: string | undefined;
516
+ oldStartDate?: Date | undefined;
517
+ oldEndDate?: Date | undefined;
518
+ newStartDate?: Date | undefined;
519
+ newEndDate?: Date | undefined;
496
520
  }>, "many">>>;
497
521
  isDraft: z.ZodBoolean;
498
522
  draftExpirationMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -747,6 +771,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
747
771
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
748
772
  userRef: z.ZodOptional<z.ZodAny>;
749
773
  created_at: z.ZodDate;
774
+ oldStartDate: z.ZodOptional<z.ZodDate>;
775
+ oldEndDate: z.ZodOptional<z.ZodDate>;
776
+ newStartDate: z.ZodOptional<z.ZodDate>;
777
+ newEndDate: z.ZodOptional<z.ZodDate>;
750
778
  }, "strip", z.ZodTypeAny, {
751
779
  created_at: Date;
752
780
  userRef?: any;
@@ -758,6 +786,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
758
786
  external_id?: string | null | undefined;
759
787
  } | undefined;
760
788
  reason?: string | undefined;
789
+ oldStartDate?: Date | undefined;
790
+ oldEndDate?: Date | undefined;
791
+ newStartDate?: Date | undefined;
792
+ newEndDate?: Date | undefined;
761
793
  }, {
762
794
  created_at: Date;
763
795
  userRef?: any;
@@ -769,6 +801,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
769
801
  external_id?: string | null | undefined;
770
802
  } | undefined;
771
803
  reason?: string | undefined;
804
+ oldStartDate?: Date | undefined;
805
+ oldEndDate?: Date | undefined;
806
+ newStartDate?: Date | undefined;
807
+ newEndDate?: Date | undefined;
772
808
  }>, "many">>>;
773
809
  isDraft: z.ZodBoolean;
774
810
  draftExpirationMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -1023,6 +1059,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
1023
1059
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1024
1060
  userRef: z.ZodOptional<z.ZodAny>;
1025
1061
  created_at: z.ZodDate;
1062
+ oldStartDate: z.ZodOptional<z.ZodDate>;
1063
+ oldEndDate: z.ZodOptional<z.ZodDate>;
1064
+ newStartDate: z.ZodOptional<z.ZodDate>;
1065
+ newEndDate: z.ZodOptional<z.ZodDate>;
1026
1066
  }, "strip", z.ZodTypeAny, {
1027
1067
  created_at: Date;
1028
1068
  userRef?: any;
@@ -1034,6 +1074,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
1034
1074
  external_id?: string | null | undefined;
1035
1075
  } | undefined;
1036
1076
  reason?: string | undefined;
1077
+ oldStartDate?: Date | undefined;
1078
+ oldEndDate?: Date | undefined;
1079
+ newStartDate?: Date | undefined;
1080
+ newEndDate?: Date | undefined;
1037
1081
  }, {
1038
1082
  created_at: Date;
1039
1083
  userRef?: any;
@@ -1045,6 +1089,10 @@ export declare const zAppointmentSchema: z.ZodObject<z.objectUtil.extendShape<{
1045
1089
  external_id?: string | null | undefined;
1046
1090
  } | undefined;
1047
1091
  reason?: string | undefined;
1092
+ oldStartDate?: Date | undefined;
1093
+ oldEndDate?: Date | undefined;
1094
+ newStartDate?: Date | undefined;
1095
+ newEndDate?: Date | undefined;
1048
1096
  }>, "many">>>;
1049
1097
  isDraft: z.ZodBoolean;
1050
1098
  draftExpirationMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -135,6 +135,10 @@ exports.zAppointmentRescheduleSchema = zod_1.z.object({
135
135
  external_id: zod_1.z.string().nullable().optional(), // ID externo do reagendamento
136
136
  userRef: zod_1.z.any().optional(), // Referência ao documento do usuário no Firestore
137
137
  created_at: zod_1.z.coerce.date(), // Data e hora em que o reagendamento foi realizado
138
+ oldStartDate: zod_1.z.coerce.date().optional(), // Data/hora de início anterior do agendamento
139
+ oldEndDate: zod_1.z.coerce.date().optional(), // Data/hora de término anterior do agendamento
140
+ newStartDate: zod_1.z.coerce.date().optional(), // Data/hora de início nova do agendamento
141
+ newEndDate: zod_1.z.coerce.date().optional(), // Data/hora de término nova do agendamento
138
142
  });
139
143
  // Schema para especialidade no contexto de agendamento
140
144
  exports.zAppointmentSpecialtySchema = zod_1.z
@@ -145,6 +145,10 @@ export const zAppointmentRescheduleSchema = z.object({
145
145
  external_id: z.string().nullable().optional(), // ID externo do reagendamento
146
146
  userRef: z.any().optional(), // Referência ao documento do usuário no Firestore
147
147
  created_at: z.coerce.date(), // Data e hora em que o reagendamento foi realizado
148
+ oldStartDate: z.coerce.date().optional(), // Data/hora de início anterior do agendamento
149
+ oldEndDate: z.coerce.date().optional(), // Data/hora de término anterior do agendamento
150
+ newStartDate: z.coerce.date().optional(), // Data/hora de início nova do agendamento
151
+ newEndDate: z.coerce.date().optional(), // Data/hora de término nova do agendamento
148
152
  });
149
153
 
150
154
  // Schema para especialidade no contexto de agendamento
@@ -83,6 +83,10 @@ export interface IAppointmentReschedule {
83
83
  appointmentSource?: IAppointmentAppointmentSource;
84
84
  user_name?: string;
85
85
  reason?: string;
86
+ oldStartDate?: Date;
87
+ oldEndDate?: Date;
88
+ newStartDate?: Date;
89
+ newEndDate?: Date;
86
90
  external_id?: string | null;
87
91
  userRef?: FirestoreDocumentReference;
88
92
  created_at: Date;
@@ -113,6 +113,10 @@ export interface IAppointmentReschedule {
113
113
  appointmentSource?: IAppointmentAppointmentSource; // Fonte/origem do reagendamento (por exemplo, canal do atendimento)
114
114
  user_name?: string; // Nome do usuário/responsável que realizou o reagendamento
115
115
  reason?: string; // Motivo do reagendamento (livre)
116
+ oldStartDate?: Date; // Data e hora em que o reagendamento foi realizado (ISO ou Date)
117
+ oldEndDate?: Date; // Data e hora em que o reagendamento foi realizado (ISO ou Date)
118
+ newStartDate?: Date; // Data e hora em que o reagendamento foi realizado (ISO ou Date)
119
+ newEndDate?: Date; // Data e hora em que o reagendamento foi realizado (ISO ou Date)
116
120
  external_id?: string | null; // ID externo do reagendamento (caso haja integração com outros sistemas)
117
121
  userRef?: FirestoreDocumentReference; // Referência ao documento do usuário no Firestore
118
122
  created_at: Date; // Data e hora em que o reagendamento foi realizado (ISO ou Date)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.95",
3
+ "version": "1.3.97",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",