evo360-types 1.3.25 → 1.3.27
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-chat/contact/zod-schemas.d.ts +3 -3
- package/dist/apps/evo-chat/contact/zod-schemas.js +1 -1
- package/dist/apps/evo-chat/contact/zod-schemas.ts +1 -1
- package/dist/apps/evo-crm/dic/zod-schemas.js +3 -3
- package/dist/apps/evo-crm/dic/zod-schemas.ts +3 -3
- package/dist/types/evo-chat/contact/index.d.ts +2 -2
- package/dist/types/evo-chat/contact/index.ts +2 -2
- package/package.json +1 -1
|
@@ -93,7 +93,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
93
93
|
hidden: boolean;
|
|
94
94
|
color?: string | undefined;
|
|
95
95
|
}>, "many">>>;
|
|
96
|
-
userRef: z.
|
|
96
|
+
userRef: z.ZodAny;
|
|
97
97
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
98
98
|
id: z.ZodString;
|
|
99
99
|
ref: z.ZodAny;
|
|
@@ -153,7 +153,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
153
153
|
hidden: boolean;
|
|
154
154
|
color?: string | undefined;
|
|
155
155
|
}>, "many">>>;
|
|
156
|
-
userRef: z.
|
|
156
|
+
userRef: z.ZodAny;
|
|
157
157
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
158
158
|
id: z.ZodString;
|
|
159
159
|
ref: z.ZodAny;
|
|
@@ -213,5 +213,5 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
213
213
|
hidden: boolean;
|
|
214
214
|
color?: string | undefined;
|
|
215
215
|
}>, "many">>>;
|
|
216
|
-
userRef: z.
|
|
216
|
+
userRef: z.ZodAny;
|
|
217
217
|
}>, z.ZodTypeAny, "passthrough">>;
|
|
@@ -23,6 +23,6 @@ exports.zChatContactSchema = zod_schemas_1.zFireDocSchema
|
|
|
23
23
|
lead_id: zod_1.z.string().nullable().optional(),
|
|
24
24
|
lead_ref: zod_1.z.any().nullable().optional(),
|
|
25
25
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
26
|
-
userRef: zod_1.z.any()
|
|
26
|
+
userRef: zod_1.z.any(),
|
|
27
27
|
})
|
|
28
28
|
.passthrough();
|
|
@@ -23,6 +23,6 @@ export const zChatContactSchema = zFireDocSchema
|
|
|
23
23
|
lead_id: z.string().nullable().optional(),
|
|
24
24
|
lead_ref: z.any().nullable().optional(),
|
|
25
25
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
26
|
-
userRef: z.any()
|
|
26
|
+
userRef: z.any(),
|
|
27
27
|
})
|
|
28
28
|
.passthrough();
|
|
@@ -5,14 +5,14 @@ const zod_1 = require("zod");
|
|
|
5
5
|
const zod_schemas_1 = require("../../shared/zod-schemas");
|
|
6
6
|
exports.zDistChannelTypeSchema = zod_schemas_1.zFireDocSchema
|
|
7
7
|
.extend({
|
|
8
|
-
code: zod_1.z.string().min(1).max(
|
|
8
|
+
code: zod_1.z.string().min(1).max(20),
|
|
9
9
|
name: zod_1.z.string().min(1).max(255),
|
|
10
10
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
11
11
|
})
|
|
12
12
|
.passthrough();
|
|
13
13
|
exports.zDistChannelSchema = zod_schemas_1.zFireDocSchema
|
|
14
14
|
.extend({
|
|
15
|
-
code: zod_1.z.string().min(1).max(
|
|
15
|
+
code: zod_1.z.string().min(1).max(20),
|
|
16
16
|
name: zod_1.z.string().min(1).max(255),
|
|
17
17
|
type_code: zod_1.z.string().min(1).max(10),
|
|
18
18
|
type_name: zod_1.z.string().min(1).max(255),
|
|
@@ -38,7 +38,7 @@ exports.zQualificationFunnelLevelSchema = zod_1.z.enum([
|
|
|
38
38
|
]);
|
|
39
39
|
exports.zQualificationSchema = zod_schemas_1.zFireDocSchema
|
|
40
40
|
.extend({
|
|
41
|
-
code: zod_1.z.string().min(1).max(
|
|
41
|
+
code: zod_1.z.string().min(1).max(20),
|
|
42
42
|
name: zod_1.z.string().min(1).max(255),
|
|
43
43
|
funnelLevel: exports.zQualificationFunnelLevelSchema,
|
|
44
44
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
@@ -3,7 +3,7 @@ import { zFireDocSchema, zTagSchema } from "../../shared/zod-schemas";
|
|
|
3
3
|
|
|
4
4
|
export const zDistChannelTypeSchema = zFireDocSchema
|
|
5
5
|
.extend({
|
|
6
|
-
code: z.string().min(1).max(
|
|
6
|
+
code: z.string().min(1).max(20),
|
|
7
7
|
name: z.string().min(1).max(255),
|
|
8
8
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
9
9
|
})
|
|
@@ -11,7 +11,7 @@ export const zDistChannelTypeSchema = zFireDocSchema
|
|
|
11
11
|
|
|
12
12
|
export const zDistChannelSchema = zFireDocSchema
|
|
13
13
|
.extend({
|
|
14
|
-
code: z.string().min(1).max(
|
|
14
|
+
code: z.string().min(1).max(20),
|
|
15
15
|
name: z.string().min(1).max(255),
|
|
16
16
|
type_code: z.string().min(1).max(10),
|
|
17
17
|
type_name: z.string().min(1).max(255),
|
|
@@ -39,7 +39,7 @@ export const zQualificationFunnelLevelSchema = z.enum([
|
|
|
39
39
|
|
|
40
40
|
export const zQualificationSchema = zFireDocSchema
|
|
41
41
|
.extend({
|
|
42
|
-
code: z.string().min(1).max(
|
|
42
|
+
code: z.string().min(1).max(20),
|
|
43
43
|
name: z.string().min(1).max(255),
|
|
44
44
|
funnelLevel: zQualificationFunnelLevelSchema,
|
|
45
45
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
@@ -15,8 +15,8 @@ export interface IChatbeeContact {
|
|
|
15
15
|
export interface IChatContact extends IFireDoc {
|
|
16
16
|
channel?: IChatbeeChannel | null;
|
|
17
17
|
contact?: IChatbeeContact | null;
|
|
18
|
-
lead_id?: string;
|
|
19
|
-
lead_ref?: FirestoreDocumentReference;
|
|
18
|
+
lead_id?: string | null;
|
|
19
|
+
lead_ref?: FirestoreDocumentReference | null;
|
|
20
20
|
tags?: ITag[] | null;
|
|
21
21
|
userRef?: FirestoreDocumentReference;
|
|
22
22
|
[key: string]: unknown;
|
|
@@ -18,8 +18,8 @@ export interface IChatbeeContact {
|
|
|
18
18
|
export interface IChatContact extends IFireDoc {
|
|
19
19
|
channel?: IChatbeeChannel | null;
|
|
20
20
|
contact?: IChatbeeContact | null;
|
|
21
|
-
lead_id?: string;
|
|
22
|
-
lead_ref?: FirestoreDocumentReference;
|
|
21
|
+
lead_id?: string | null;
|
|
22
|
+
lead_ref?: FirestoreDocumentReference | null;
|
|
23
23
|
tags?: ITag[] | null;
|
|
24
24
|
userRef?: FirestoreDocumentReference;
|
|
25
25
|
[key: string]: unknown; // index signature
|