evo360-types 1.3.176 → 1.3.177

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.
@@ -137,7 +137,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
137
137
  phone?: string | null | undefined;
138
138
  mobile?: string | null | undefined;
139
139
  }>>>;
140
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
141
141
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
142
142
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
143
143
  name: z.ZodString;
@@ -261,7 +261,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
261
261
  phone?: string | null | undefined;
262
262
  mobile?: string | null | undefined;
263
263
  }>>>;
264
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
264
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
265
265
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
266
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
267
267
  name: z.ZodString;
@@ -385,7 +385,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
385
385
  phone?: string | null | undefined;
386
386
  mobile?: string | null | undefined;
387
387
  }>>>;
388
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
388
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
389
389
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
390
  tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
391
391
  name: z.ZodString;
@@ -28,7 +28,7 @@ exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
28
28
  distChannel: exports.zLeadDistChannelSchema.nullable().optional(),
29
29
  address: zod_schemas_1.zAddressSchema.nullable().optional(),
30
30
  contact: zod_schemas_1.zContactSchema.nullable().optional(),
31
- chat_contact_id: zod_1.z.string().nullable().optional(),
31
+ chat_contact_id: zod_1.z.string().or(zod_1.z.number()).nullable().optional(),
32
32
  notes: zod_1.z.string().nullable().optional(),
33
33
  tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
34
34
  userRef: zod_1.z.any(),
@@ -33,7 +33,7 @@ export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
33
33
  distChannel: zLeadDistChannelSchema.nullable().optional(),
34
34
  address: zAddressSchema.nullable().optional(),
35
35
  contact: zContactSchema.nullable().optional(),
36
- chat_contact_id: z.string().nullable().optional(),
36
+ chat_contact_id: z.string().or(z.number()).nullable().optional(),
37
37
  notes: z.string().nullable().optional(),
38
38
  tags: z.array(zTagSchema).nullable().optional(),
39
39
  userRef: z.any(),
@@ -628,7 +628,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
628
628
  mobile?: string | null | undefined;
629
629
  }>>>;
630
630
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
632
632
  height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
633
633
  weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
634
634
  blood_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["A+", "A-", "B+", "B-", "AB+", "AB-", "O+", "O-", "Unknown"]>, z.ZodEffects<z.ZodLiteral<"unknown">, string, "unknown">]>>>;
@@ -807,7 +807,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
807
807
  mobile?: string | null | undefined;
808
808
  }>>>;
809
809
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
810
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
811
811
  height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
812
812
  weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
813
813
  blood_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["A+", "A-", "B+", "B-", "AB+", "AB-", "O+", "O-", "Unknown"]>, z.ZodEffects<z.ZodLiteral<"unknown">, string, "unknown">]>>>;
@@ -986,7 +986,7 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
986
986
  mobile?: string | null | undefined;
987
987
  }>>>;
988
988
  lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
989
- chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
989
+ chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
990
990
  height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
991
991
  weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
992
992
  blood_type: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodEnum<["A+", "A-", "B+", "B-", "AB+", "AB-", "O+", "O-", "Unknown"]>, z.ZodEffects<z.ZodLiteral<"unknown">, string, "unknown">]>>>;
@@ -98,7 +98,7 @@ exports.zPatientSchema = zod_schemas_3.zProfileSchema // Extend from ProfileSche
98
98
  address: zod_schemas_2.zAddressSchema.nullable().optional(),
99
99
  contact: zod_schemas_2.zContactSchema.nullable().optional(),
100
100
  lead_id: zod_1.z.string().nullable().optional(),
101
- chat_contact_id: zod_1.z.string().nullable().optional(),
101
+ chat_contact_id: zod_1.z.string().or(zod_1.z.number()).nullable().optional(),
102
102
  height_cm: zod_1.z.number().nullable().optional(),
103
103
  weight_kg: zod_1.z.number().nullable().optional(),
104
104
  blood_type: exports.zBloodTypeSchema.nullable().optional(),
@@ -116,7 +116,7 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
116
116
  address: zAddressSchema.nullable().optional(),
117
117
  contact: zContactSchema.nullable().optional(),
118
118
  lead_id: z.string().nullable().optional(),
119
- chat_contact_id: z.string().nullable().optional(),
119
+ chat_contact_id: z.string().or(z.number()).nullable().optional(),
120
120
  height_cm: z.number().nullable().optional(),
121
121
  weight_kg: z.number().nullable().optional(),
122
122
  blood_type: zBloodTypeSchema.nullable().optional(),
@@ -37,7 +37,7 @@ export interface ILead extends IProfile {
37
37
  distChannel?: ILeadDistChannel | null;
38
38
  address?: IAddress | null;
39
39
  contact?: IContact | null;
40
- chat_contact_id?: string | null;
40
+ chat_contact_id?: string | number | null;
41
41
  notes?: string | null;
42
42
  tags?: ITag[] | null;
43
43
  userRef?: FirestoreDocumentReference;
@@ -52,7 +52,7 @@ export interface ILead extends IProfile {
52
52
  distChannel?: ILeadDistChannel | null;
53
53
  address?: IAddress | null;
54
54
  contact?: IContact | null;
55
- chat_contact_id?: string | null;
55
+ chat_contact_id?: string | number | null;
56
56
  notes?: string | null; // Anotações sobre o lead
57
57
  tags?: ITag[] | null;
58
58
  userRef?: FirestoreDocumentReference;
@@ -139,7 +139,7 @@ export interface IPatient extends IProfile {
139
139
  address?: IAddress | null;
140
140
  contact?: IContact | null;
141
141
  lead_id?: string | null;
142
- chat_contact_id?: string | null;
142
+ chat_contact_id?: string | number | null;
143
143
  height_cm?: number | null;
144
144
  weight_kg?: number | null;
145
145
  blood_type?: BloodType | null;
@@ -203,7 +203,7 @@ export interface IPatient extends IProfile {
203
203
  address?: IAddress | null;
204
204
  contact?: IContact | null;
205
205
  lead_id?: string | null;
206
- chat_contact_id?: string | null;
206
+ chat_contact_id?: string | number | null;
207
207
  //informações médicas
208
208
  height_cm?: number | null; // Altura em centímetros
209
209
  weight_kg?: number | null; // Peso em kg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.176",
3
+ "version": "1.3.177",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",