evo360-types 1.3.137 → 1.3.139
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 +24 -24
- package/dist/apps/evo-crm/lead/zod-schemas.js +2 -2
- package/dist/apps/evo-crm/lead/zod-schemas.ts +2 -2
- package/dist/index.d.ts +4 -1
- package/dist/types/evo-crm/lead/index.d.ts +2 -2
- package/dist/types/evo-crm/lead/index.ts +2 -2
- package/package.json +1 -1
|
@@ -5,35 +5,35 @@ export declare const zLeadQualificationSchema: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
7
7
|
ref: z.ZodAny;
|
|
8
|
-
|
|
8
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
code: string;
|
|
11
11
|
name: string;
|
|
12
12
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
13
13
|
ref?: any;
|
|
14
|
-
|
|
14
|
+
updated_at?: Date | null | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
code: string;
|
|
17
17
|
name: string;
|
|
18
18
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
19
19
|
ref?: any;
|
|
20
|
-
|
|
20
|
+
updated_at?: Date | null | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const zLeadDistChannelSchema: z.ZodObject<{
|
|
23
23
|
code: z.ZodString;
|
|
24
24
|
name: z.ZodString;
|
|
25
25
|
ref: z.ZodAny;
|
|
26
|
-
|
|
26
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
code: string;
|
|
29
29
|
name: string;
|
|
30
30
|
ref?: any;
|
|
31
|
-
|
|
31
|
+
updated_at?: Date | null | undefined;
|
|
32
32
|
}, {
|
|
33
33
|
code: string;
|
|
34
34
|
name: string;
|
|
35
35
|
ref?: any;
|
|
36
|
-
|
|
36
|
+
updated_at?: Date | null | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
39
39
|
id: z.ZodString;
|
|
@@ -60,35 +60,35 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
60
60
|
name: z.ZodString;
|
|
61
61
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
62
62
|
ref: z.ZodAny;
|
|
63
|
-
|
|
63
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
65
|
code: string;
|
|
66
66
|
name: string;
|
|
67
67
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
68
68
|
ref?: any;
|
|
69
|
-
|
|
69
|
+
updated_at?: Date | null | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
code: string;
|
|
72
72
|
name: string;
|
|
73
73
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
74
74
|
ref?: any;
|
|
75
|
-
|
|
75
|
+
updated_at?: Date | null | undefined;
|
|
76
76
|
}>>>;
|
|
77
77
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
78
|
code: z.ZodString;
|
|
79
79
|
name: z.ZodString;
|
|
80
80
|
ref: z.ZodAny;
|
|
81
|
-
|
|
81
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
code: string;
|
|
84
84
|
name: string;
|
|
85
85
|
ref?: any;
|
|
86
|
-
|
|
86
|
+
updated_at?: Date | null | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
code: string;
|
|
89
89
|
name: string;
|
|
90
90
|
ref?: any;
|
|
91
|
-
|
|
91
|
+
updated_at?: Date | null | undefined;
|
|
92
92
|
}>>>;
|
|
93
93
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
94
94
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -183,35 +183,35 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
183
183
|
name: z.ZodString;
|
|
184
184
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
185
185
|
ref: z.ZodAny;
|
|
186
|
-
|
|
186
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
code: string;
|
|
189
189
|
name: string;
|
|
190
190
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
191
191
|
ref?: any;
|
|
192
|
-
|
|
192
|
+
updated_at?: Date | null | undefined;
|
|
193
193
|
}, {
|
|
194
194
|
code: string;
|
|
195
195
|
name: string;
|
|
196
196
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
197
197
|
ref?: any;
|
|
198
|
-
|
|
198
|
+
updated_at?: Date | null | undefined;
|
|
199
199
|
}>>>;
|
|
200
200
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
201
201
|
code: z.ZodString;
|
|
202
202
|
name: z.ZodString;
|
|
203
203
|
ref: z.ZodAny;
|
|
204
|
-
|
|
204
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
205
205
|
}, "strip", z.ZodTypeAny, {
|
|
206
206
|
code: string;
|
|
207
207
|
name: string;
|
|
208
208
|
ref?: any;
|
|
209
|
-
|
|
209
|
+
updated_at?: Date | null | undefined;
|
|
210
210
|
}, {
|
|
211
211
|
code: string;
|
|
212
212
|
name: string;
|
|
213
213
|
ref?: any;
|
|
214
|
-
|
|
214
|
+
updated_at?: Date | null | undefined;
|
|
215
215
|
}>>>;
|
|
216
216
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
217
217
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -306,35 +306,35 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
306
306
|
name: z.ZodString;
|
|
307
307
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
308
308
|
ref: z.ZodAny;
|
|
309
|
-
|
|
309
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
310
310
|
}, "strip", z.ZodTypeAny, {
|
|
311
311
|
code: string;
|
|
312
312
|
name: string;
|
|
313
313
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
314
314
|
ref?: any;
|
|
315
|
-
|
|
315
|
+
updated_at?: Date | null | undefined;
|
|
316
316
|
}, {
|
|
317
317
|
code: string;
|
|
318
318
|
name: string;
|
|
319
319
|
funnelLevel: "new" | "invalid" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
|
|
320
320
|
ref?: any;
|
|
321
|
-
|
|
321
|
+
updated_at?: Date | null | undefined;
|
|
322
322
|
}>>>;
|
|
323
323
|
distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
324
324
|
code: z.ZodString;
|
|
325
325
|
name: z.ZodString;
|
|
326
326
|
ref: z.ZodAny;
|
|
327
|
-
|
|
327
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
328
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
329
|
code: string;
|
|
330
330
|
name: string;
|
|
331
331
|
ref?: any;
|
|
332
|
-
|
|
332
|
+
updated_at?: Date | null | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
code: string;
|
|
335
335
|
name: string;
|
|
336
336
|
ref?: any;
|
|
337
|
-
|
|
337
|
+
updated_at?: Date | null | undefined;
|
|
338
338
|
}>>>;
|
|
339
339
|
address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
340
340
|
name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -11,13 +11,13 @@ exports.zLeadQualificationSchema = zod_1.z.object({
|
|
|
11
11
|
name: zod_1.z.string().min(1).max(255),
|
|
12
12
|
funnelLevel: zod_schemas_3.zQualificationFunnelLevelSchema,
|
|
13
13
|
ref: zod_1.z.any(),
|
|
14
|
-
|
|
14
|
+
updated_at: zod_1.z.date().nullable().optional(),
|
|
15
15
|
});
|
|
16
16
|
exports.zLeadDistChannelSchema = zod_1.z.object({
|
|
17
17
|
code: zod_1.z.string().min(1).max(20),
|
|
18
18
|
name: zod_1.z.string().min(1).max(255),
|
|
19
19
|
ref: zod_1.z.any(),
|
|
20
|
-
|
|
20
|
+
updated_at: zod_1.z.date().nullable().optional(),
|
|
21
21
|
});
|
|
22
22
|
exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
|
|
23
23
|
.extend({
|
|
@@ -14,14 +14,14 @@ export const zLeadQualificationSchema = z.object({
|
|
|
14
14
|
name: z.string().min(1).max(255),
|
|
15
15
|
funnelLevel: zQualificationFunnelLevelSchema,
|
|
16
16
|
ref: z.any(),
|
|
17
|
-
|
|
17
|
+
updated_at: z.date().nullable().optional(),
|
|
18
18
|
});
|
|
19
19
|
|
|
20
20
|
export const zLeadDistChannelSchema = z.object({
|
|
21
21
|
code: z.string().min(1).max(20),
|
|
22
22
|
name: z.string().min(1).max(255),
|
|
23
23
|
ref: z.any(),
|
|
24
|
-
|
|
24
|
+
updated_at: z.date().nullable().optional(),
|
|
25
25
|
});
|
|
26
26
|
|
|
27
27
|
export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// @evo360/types/index.ts
|
|
1
2
|
export * from "./types/shared";
|
|
2
3
|
export * from "./types/firebase/pubsub-sync";
|
|
3
4
|
export * from "./types/evo-core";
|
|
@@ -13,9 +14,11 @@ export * from "./types/evo-med/dic";
|
|
|
13
14
|
export * from "./types/evo-med/insurance";
|
|
14
15
|
export * from "./types/evo-med/people";
|
|
15
16
|
export * from "./types/evo-med/procedure";
|
|
16
|
-
export * from "./types/evo-tags";
|
|
17
17
|
export * from "./types/evo-task";
|
|
18
|
+
export * from "./types/evo-tags";
|
|
18
19
|
export * from "./types/evo-survey";
|
|
20
|
+
|
|
21
|
+
// zod schemas
|
|
19
22
|
export * from "./apps/shared/zod-schemas";
|
|
20
23
|
export * from "./apps/evo-core/zod-schemas";
|
|
21
24
|
export * from "./apps/evo-tenant/zod-schemas";
|
|
@@ -13,13 +13,13 @@ export interface ILeadQualification {
|
|
|
13
13
|
name: string;
|
|
14
14
|
funnelLevel: QualificationFunnelLevel;
|
|
15
15
|
ref?: FirestoreDocumentReference;
|
|
16
|
-
|
|
16
|
+
updated_at?: Date;
|
|
17
17
|
}
|
|
18
18
|
export interface ILeadDistChannel {
|
|
19
19
|
code: string;
|
|
20
20
|
name: string;
|
|
21
21
|
ref?: FirestoreDocumentReference;
|
|
22
|
-
|
|
22
|
+
updated_at?: Date;
|
|
23
23
|
}
|
|
24
24
|
export interface ILead extends IProfile {
|
|
25
25
|
external_id?: string | null;
|
|
@@ -22,14 +22,14 @@ export interface ILeadQualification {
|
|
|
22
22
|
name: string;
|
|
23
23
|
funnelLevel: QualificationFunnelLevel;
|
|
24
24
|
ref?: FirestoreDocumentReference;
|
|
25
|
-
|
|
25
|
+
updated_at?: Date;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export interface ILeadDistChannel {
|
|
29
29
|
code: string;
|
|
30
30
|
name: string;
|
|
31
31
|
ref?: FirestoreDocumentReference;
|
|
32
|
-
|
|
32
|
+
updated_at?: Date;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export interface ILead extends IProfile {
|