evo360-types 1.3.124 → 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.
@@ -122,6 +122,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
122
122
  phone?: string | null | undefined;
123
123
  mobile?: string | null | undefined;
124
124
  }>>>;
125
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
126
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
126
127
  name: z.ZodString;
127
128
  color: z.ZodOptional<z.ZodString>;
@@ -235,6 +236,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
235
236
  phone?: string | null | undefined;
236
237
  mobile?: string | null | undefined;
237
238
  }>>>;
239
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
240
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
239
241
  name: z.ZodString;
240
242
  color: z.ZodOptional<z.ZodString>;
@@ -348,6 +350,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
348
350
  phone?: string | null | undefined;
349
351
  mobile?: string | null | undefined;
350
352
  }>>>;
353
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
351
354
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
352
355
  name: z.ZodString;
353
356
  color: z.ZodOptional<z.ZodString>;
@@ -26,6 +26,7 @@ exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
26
26
  distChannel: exports.zLeadDistChannelSchema.nullable().optional(),
27
27
  address: zod_schemas_1.zAddressSchema.nullable().optional(),
28
28
  contact: zod_schemas_1.zContactSchema.nullable().optional(),
29
+ notes: zod_1.z.string().nullable().optional(),
29
30
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
30
31
  userRef: zod_1.z.any(),
31
32
  })
@@ -31,6 +31,7 @@ export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
31
31
  distChannel: zLeadDistChannelSchema.nullable().optional(),
32
32
  address: zAddressSchema.nullable().optional(),
33
33
  contact: zContactSchema.nullable().optional(),
34
+ notes: z.string().nullable().optional(),
34
35
  tags: z.array(zTagSchema).nullable().optional(),
35
36
  userRef: z.any(),
36
37
  })
@@ -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
  })
@@ -27,6 +27,7 @@ export interface ILead extends IProfile {
27
27
  distChannel?: ILeadDistChannel | null;
28
28
  address?: IAddress | null;
29
29
  contact?: IContact | null;
30
+ notes?: string | null;
30
31
  tags?: ITag[] | null;
31
32
  userRef?: FirestoreDocumentReference;
32
33
  [key: string]: unknown;
@@ -38,6 +38,7 @@ export interface ILead extends IProfile {
38
38
  distChannel?: ILeadDistChannel | null;
39
39
  address?: IAddress | null;
40
40
  contact?: IContact | null;
41
+ notes?: string | null; // Anotações sobre o lead
41
42
  tags?: ITag[] | null;
42
43
  userRef?: FirestoreDocumentReference;
43
44
  [key: string]: unknown; // index signature
@@ -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.124",
3
+ "version": "1.3.126",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",