evo360-types 1.3.156 → 1.3.158
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.
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +3 -0
- package/dist/apps/evo-crm/lead/zod-schemas.js +1 -0
- package/dist/apps/evo-crm/lead/zod-schemas.ts +1 -0
- package/dist/apps/evo-med/people/zod-schemas.d.ts +6 -0
- package/dist/apps/evo-med/people/zod-schemas.js +2 -0
- package/dist/apps/evo-med/people/zod-schemas.ts +2 -0
- package/dist/types/evo-core/index.d.ts +1 -0
- package/dist/types/evo-core/index.js +1 -0
- package/dist/types/evo-core/index.ts +1 -0
- package/dist/types/evo-core/rbac/index.ts +1 -1
- package/dist/types/evo-crm/lead/index.d.ts +1 -0
- package/dist/types/evo-crm/lead/index.ts +1 -0
- package/dist/types/evo-med/people/index.d.ts +2 -0
- package/dist/types/evo-med/people/index.ts +2 -0
- package/package.json +1 -1
|
@@ -137,6 +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
141
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
141
142
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
142
143
|
name: z.ZodString;
|
|
@@ -260,6 +261,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
260
261
|
phone?: string | null | undefined;
|
|
261
262
|
mobile?: string | null | undefined;
|
|
262
263
|
}>>>;
|
|
264
|
+
chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
263
265
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
264
266
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
265
267
|
name: z.ZodString;
|
|
@@ -383,6 +385,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
383
385
|
phone?: string | null | undefined;
|
|
384
386
|
mobile?: string | null | undefined;
|
|
385
387
|
}>>>;
|
|
388
|
+
chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
386
389
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
390
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
388
391
|
name: z.ZodString;
|
|
@@ -28,6 +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
32
|
notes: zod_1.z.string().nullable().optional(),
|
|
32
33
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
33
34
|
userRef: zod_1.z.any(),
|
|
@@ -33,6 +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
37
|
notes: z.string().nullable().optional(),
|
|
37
38
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
38
39
|
userRef: z.any(),
|
|
@@ -627,6 +627,8 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
627
627
|
phone?: string | null | undefined;
|
|
628
628
|
mobile?: string | null | undefined;
|
|
629
629
|
}>>>;
|
|
630
|
+
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
631
|
+
chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
630
632
|
height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
631
633
|
weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
632
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">]>>>;
|
|
@@ -804,6 +806,8 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
804
806
|
phone?: string | null | undefined;
|
|
805
807
|
mobile?: string | null | undefined;
|
|
806
808
|
}>>>;
|
|
809
|
+
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
810
|
+
chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
807
811
|
height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
808
812
|
weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
809
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">]>>>;
|
|
@@ -981,6 +985,8 @@ export declare const zPatientSchema: z.ZodObject<z.objectUtil.extendShape<z.obje
|
|
|
981
985
|
phone?: string | null | undefined;
|
|
982
986
|
mobile?: string | null | undefined;
|
|
983
987
|
}>>>;
|
|
988
|
+
lead_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
989
|
+
chat_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
984
990
|
height_cm: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
985
991
|
weight_kg: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
986
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">]>>>;
|
|
@@ -97,6 +97,8 @@ exports.zPatientSchema = zod_schemas_3.zProfileSchema // Extend from ProfileSche
|
|
|
97
97
|
sourceRef: zod_1.z.any().optional(),
|
|
98
98
|
address: zod_schemas_2.zAddressSchema.nullable().optional(),
|
|
99
99
|
contact: zod_schemas_2.zContactSchema.nullable().optional(),
|
|
100
|
+
lead_id: zod_1.z.string().nullable().optional(),
|
|
101
|
+
chat_contact_id: zod_1.z.string().nullable().optional(),
|
|
100
102
|
height_cm: zod_1.z.number().nullable().optional(),
|
|
101
103
|
weight_kg: zod_1.z.number().nullable().optional(),
|
|
102
104
|
blood_type: exports.zBloodTypeSchema.nullable().optional(),
|
|
@@ -115,6 +115,8 @@ export const zPatientSchema = zProfileSchema // Extend from ProfileSchema
|
|
|
115
115
|
sourceRef: z.any().optional(),
|
|
116
116
|
address: zAddressSchema.nullable().optional(),
|
|
117
117
|
contact: zContactSchema.nullable().optional(),
|
|
118
|
+
lead_id: z.string().nullable().optional(),
|
|
119
|
+
chat_contact_id: z.string().nullable().optional(),
|
|
118
120
|
height_cm: z.number().nullable().optional(),
|
|
119
121
|
weight_kg: z.number().nullable().optional(),
|
|
120
122
|
blood_type: zBloodTypeSchema.nullable().optional(),
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./fb_collections"), exports);
|
|
17
18
|
// RBAC Types
|
|
18
19
|
__exportStar(require("./rbac"), exports);
|
|
@@ -29,6 +29,7 @@ export interface ILead extends IProfile {
|
|
|
29
29
|
distChannel?: ILeadDistChannel | null;
|
|
30
30
|
address?: IAddress | null;
|
|
31
31
|
contact?: IContact | null;
|
|
32
|
+
chat_contact_id?: string | null;
|
|
32
33
|
notes?: string | null;
|
|
33
34
|
tags?: ITag[] | null;
|
|
34
35
|
userRef?: FirestoreDocumentReference;
|
|
@@ -40,6 +40,7 @@ export interface ILead extends IProfile {
|
|
|
40
40
|
distChannel?: ILeadDistChannel | null;
|
|
41
41
|
address?: IAddress | null;
|
|
42
42
|
contact?: IContact | null;
|
|
43
|
+
chat_contact_id?: string | null;
|
|
43
44
|
notes?: string | null; // Anotações sobre o lead
|
|
44
45
|
tags?: ITag[] | null;
|
|
45
46
|
userRef?: FirestoreDocumentReference;
|
|
@@ -122,6 +122,8 @@ export interface IPatient extends IProfile {
|
|
|
122
122
|
sourceRef?: FirestoreDocumentReference;
|
|
123
123
|
address?: IAddress | null;
|
|
124
124
|
contact?: IContact | null;
|
|
125
|
+
lead_id?: string | null;
|
|
126
|
+
chat_contact_id?: string | null;
|
|
125
127
|
height_cm?: number | null;
|
|
126
128
|
weight_kg?: number | null;
|
|
127
129
|
blood_type?: BloodType | null;
|
|
@@ -178,6 +178,8 @@ export interface IPatient extends IProfile {
|
|
|
178
178
|
sourceRef?: FirestoreDocumentReference;
|
|
179
179
|
address?: IAddress | null;
|
|
180
180
|
contact?: IContact | null;
|
|
181
|
+
lead_id?: string | null;
|
|
182
|
+
chat_contact_id?: string | null;
|
|
181
183
|
//informações médicas
|
|
182
184
|
height_cm?: number | null; // Altura em centímetros
|
|
183
185
|
weight_kg?: number | null; // Peso em kg
|