evo360-types 1.3.122 → 1.3.124
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.
|
@@ -46,6 +46,8 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
46
46
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
}>, {
|
|
49
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
51
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
50
52
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
53
|
code: z.ZodString;
|
|
@@ -157,6 +159,8 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
157
159
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
158
160
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
161
|
}>, {
|
|
162
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
163
|
+
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
160
164
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
161
165
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
162
166
|
code: z.ZodString;
|
|
@@ -268,6 +272,8 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
268
272
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
269
273
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
270
274
|
}>, {
|
|
275
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
276
|
+
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
271
277
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
272
278
|
qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
273
279
|
code: z.ZodString;
|
|
@@ -19,6 +19,8 @@ exports.zLeadDistChannelSchema = zod_1.z.object({
|
|
|
19
19
|
});
|
|
20
20
|
exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
|
|
21
21
|
.extend({
|
|
22
|
+
external_id: zod_1.z.string().nullable().optional(),
|
|
23
|
+
social_id: zod_1.z.string().nullable().optional(),
|
|
22
24
|
status: exports.zLeadStatusSchema.optional(),
|
|
23
25
|
qualification: exports.zLeadQualificationSchema.nullable().optional(),
|
|
24
26
|
distChannel: exports.zLeadDistChannelSchema.nullable().optional(),
|
|
@@ -24,6 +24,8 @@ export const zLeadDistChannelSchema = z.object({
|
|
|
24
24
|
|
|
25
25
|
export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
|
|
26
26
|
.extend({
|
|
27
|
+
external_id: z.string().nullable().optional(),
|
|
28
|
+
social_id: z.string().nullable().optional(),
|
|
27
29
|
status: zLeadStatusSchema.optional(),
|
|
28
30
|
qualification: zLeadQualificationSchema.nullable().optional(),
|
|
29
31
|
distChannel: zLeadDistChannelSchema.nullable().optional(),
|
|
@@ -20,6 +20,8 @@ export interface ILeadDistChannel {
|
|
|
20
20
|
ref?: FirestoreDocumentReference;
|
|
21
21
|
}
|
|
22
22
|
export interface ILead extends IProfile {
|
|
23
|
+
external_id?: string | null;
|
|
24
|
+
social_id?: string | null;
|
|
23
25
|
status?: LeadStatus;
|
|
24
26
|
qualification?: ILeadQualification | null;
|
|
25
27
|
distChannel?: ILeadDistChannel | null;
|
|
@@ -31,6 +31,8 @@ export interface ILeadDistChannel {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export interface ILead extends IProfile {
|
|
34
|
+
external_id?: string | null; // ID externo do paciente
|
|
35
|
+
social_id?: string | null; //CPF
|
|
34
36
|
status?: LeadStatus;
|
|
35
37
|
qualification?: ILeadQualification | null;
|
|
36
38
|
distChannel?: ILeadDistChannel | null;
|