evo360-types 1.3.125 → 1.3.126

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.
@@ -670,6 +670,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
670
670
  notes?: string | undefined;
671
671
  }>, "many">>>;
672
672
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ appointmentCounters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
673
674
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
674
675
  name: z.ZodString;
675
676
  color: z.ZodOptional<z.ZodString>;
@@ -828,6 +829,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
828
829
  notes?: string | undefined;
829
830
  }>, "many">>>;
830
831
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
832
+ appointmentCounters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
831
833
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
832
834
  name: z.ZodString;
833
835
  color: z.ZodOptional<z.ZodString>;
@@ -986,6 +988,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
986
988
  notes?: string | undefined;
987
989
  }>, "many">>>;
988
990
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
991
+ appointmentCounters: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>>;
989
992
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
990
993
  name: z.ZodString;
991
994
  color: z.ZodOptional<z.ZodString>;
@@ -97,6 +97,7 @@ exports.zPatientSchema = zod_schemas_3.zProfileSchema // Extend from ProfileSche
97
97
  .nullable()
98
98
  .optional(),
99
99
  notes: zod_1.z.string().nullable().optional(),
100
+ appointmentCounters: zod_1.z.record(zod_1.z.string(), zod_1.z.number()).nullable().optional(),
100
101
  tags: zod_1.z.array(zod_schemas_2.zTagSchema).nullable().optional(),
101
102
  userRef: zod_1.z.any(),
102
103
  })
@@ -114,6 +114,7 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
114
114
  .nullable()
115
115
  .optional(),
116
116
  notes: z.string().nullable().optional(),
117
+ appointmentCounters: z.record(z.string(), z.number()).nullable().optional(),
117
118
  tags: z.array(zTagSchema).nullable().optional(),
118
119
  userRef: z.any(),
119
120
  })
@@ -122,6 +122,7 @@ export interface IPatient extends IProfile {
122
122
  allergies?: IPatientAllergy[] | null;
123
123
  chronic_conditions?: IPatientChronicCondition[] | null;
124
124
  notes?: string | null;
125
+ appointmentCounters?: Record<string, number> | null;
125
126
  tags?: ITag[] | null;
126
127
  userRef?: FirestoreDocumentReference;
127
128
  [key: string]: unknown;
@@ -177,6 +177,8 @@ export interface IPatient extends IProfile {
177
177
  allergies?: IPatientAllergy[] | null; // Lista de alergias conhecidas
178
178
  chronic_conditions?: IPatientChronicCondition[] | null; // Lista de doenças crônicas do paciente
179
179
  notes?: string | null; // Anotações sobre o paciente
180
+ // Contadores de appointments por status
181
+ appointmentCounters?: Record<string, number> | null; // Map de status -> quantidade de appointments
180
182
  tags?: ITag[] | null;
181
183
  userRef?: FirestoreDocumentReference;
182
184
  [key: string]: unknown; // index signature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.125",
3
+ "version": "1.3.126",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",