evo360-types 1.3.191 → 1.3.193
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-activity/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-chat/chatbee/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-chat/contact/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-chat/message/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-core/zod-schemas.d.ts +14 -14
- package/dist/apps/evo-crm/dic/zod-schemas.d.ts +21 -21
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +10 -10
- package/dist/apps/evo-finops/zod-schemas.d.ts +35 -41
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +61 -61
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +7 -7
- package/dist/apps/evo-med/people/zod-schemas.d.ts +20 -20
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +14 -14
- package/dist/apps/evo-people/zod-schemas.d.ts +38 -38
- package/dist/apps/evo-survey/zod-schemas.d.ts +118 -118
- package/dist/apps/evo-task/zod-schemas.d.ts +28 -28
- package/dist/apps/evo-tenant/zod-schemas.d.ts +3 -3
- package/dist/index.d.ts +1 -4
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const zReadStatusSchema: z.ZodEnum<["new", "unread", "read", "archived", "dismissed", "snoozed"]>;
|
|
3
|
-
export declare const zIActivityEventSchema: z.ZodObject<
|
|
3
|
+
export declare const zIActivityEventSchema: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
ref: z.ZodAny;
|
|
6
6
|
tenant: z.ZodString;
|
|
@@ -8,7 +8,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
8
8
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
10
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
12
|
recipientIds: z.ZodArray<z.ZodString, "many">;
|
|
13
13
|
creatorName: z.ZodString;
|
|
14
14
|
creatorRef: z.ZodAny;
|
|
@@ -36,7 +36,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
36
36
|
color?: string | undefined;
|
|
37
37
|
category?: string | null | undefined;
|
|
38
38
|
}>, "many">>>;
|
|
39
|
-
}
|
|
39
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
40
40
|
id: z.ZodString;
|
|
41
41
|
ref: z.ZodAny;
|
|
42
42
|
tenant: z.ZodString;
|
|
@@ -44,7 +44,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
44
44
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
45
45
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
46
46
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
47
|
-
}
|
|
47
|
+
} & {
|
|
48
48
|
recipientIds: z.ZodArray<z.ZodString, "many">;
|
|
49
49
|
creatorName: z.ZodString;
|
|
50
50
|
creatorRef: z.ZodAny;
|
|
@@ -72,7 +72,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
72
72
|
color?: string | undefined;
|
|
73
73
|
category?: string | null | undefined;
|
|
74
74
|
}>, "many">>>;
|
|
75
|
-
}
|
|
75
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
76
76
|
id: z.ZodString;
|
|
77
77
|
ref: z.ZodAny;
|
|
78
78
|
tenant: z.ZodString;
|
|
@@ -80,7 +80,7 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
80
80
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
81
81
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
82
82
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
83
|
-
}
|
|
83
|
+
} & {
|
|
84
84
|
recipientIds: z.ZodArray<z.ZodString, "many">;
|
|
85
85
|
creatorName: z.ZodString;
|
|
86
86
|
creatorRef: z.ZodAny;
|
|
@@ -108,4 +108,4 @@ export declare const zIActivityEventSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
108
108
|
color?: string | undefined;
|
|
109
109
|
category?: string | null | undefined;
|
|
110
110
|
}>, "many">>>;
|
|
111
|
-
}
|
|
111
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const zChatBeeChannelConfigSchema: z.ZodObject<
|
|
2
|
+
export declare const zChatBeeChannelConfigSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
5
|
tenant: z.ZodString;
|
|
@@ -7,7 +7,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
name: z.ZodOptional<z.ZodString>;
|
|
12
12
|
channel_id: z.ZodOptional<z.ZodString>;
|
|
13
13
|
number: z.ZodOptional<z.ZodString>;
|
|
@@ -53,7 +53,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
53
53
|
company_id: z.ZodOptional<z.ZodString>;
|
|
54
54
|
default_department_id: z.ZodOptional<z.ZodString>;
|
|
55
55
|
waba_id: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}
|
|
56
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
57
57
|
id: z.ZodString;
|
|
58
58
|
ref: z.ZodAny;
|
|
59
59
|
tenant: z.ZodString;
|
|
@@ -61,7 +61,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
61
61
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
62
62
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
63
63
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
64
|
-
}
|
|
64
|
+
} & {
|
|
65
65
|
name: z.ZodOptional<z.ZodString>;
|
|
66
66
|
channel_id: z.ZodOptional<z.ZodString>;
|
|
67
67
|
number: z.ZodOptional<z.ZodString>;
|
|
@@ -107,7 +107,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
107
107
|
company_id: z.ZodOptional<z.ZodString>;
|
|
108
108
|
default_department_id: z.ZodOptional<z.ZodString>;
|
|
109
109
|
waba_id: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}
|
|
110
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
111
111
|
id: z.ZodString;
|
|
112
112
|
ref: z.ZodAny;
|
|
113
113
|
tenant: z.ZodString;
|
|
@@ -115,7 +115,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
115
115
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
116
116
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
117
117
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
118
|
-
}
|
|
118
|
+
} & {
|
|
119
119
|
name: z.ZodOptional<z.ZodString>;
|
|
120
120
|
channel_id: z.ZodOptional<z.ZodString>;
|
|
121
121
|
number: z.ZodOptional<z.ZodString>;
|
|
@@ -161,7 +161,7 @@ export declare const zChatBeeChannelConfigSchema: z.ZodObject<z.objectUtil.exten
|
|
|
161
161
|
company_id: z.ZodOptional<z.ZodString>;
|
|
162
162
|
default_department_id: z.ZodOptional<z.ZodString>;
|
|
163
163
|
waba_id: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}
|
|
164
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
165
165
|
export declare const zChatbeeChannelSchema: z.ZodObject<{
|
|
166
166
|
id: z.ZodOptional<z.ZodString>;
|
|
167
167
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const zChatContactSchema: z.ZodObject<
|
|
2
|
+
export declare const zChatContactSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
5
|
tenant: z.ZodString;
|
|
@@ -7,7 +7,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
channel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodString>;
|
|
13
13
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -220,7 +220,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
220
220
|
category?: string | null | undefined;
|
|
221
221
|
}>, "many">>>;
|
|
222
222
|
userRef: z.ZodAny;
|
|
223
|
-
}
|
|
223
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
224
224
|
id: z.ZodString;
|
|
225
225
|
ref: z.ZodAny;
|
|
226
226
|
tenant: z.ZodString;
|
|
@@ -228,7 +228,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
228
228
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
229
229
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
230
230
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
231
|
-
}
|
|
231
|
+
} & {
|
|
232
232
|
channel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
233
233
|
id: z.ZodOptional<z.ZodString>;
|
|
234
234
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -441,7 +441,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
441
441
|
category?: string | null | undefined;
|
|
442
442
|
}>, "many">>>;
|
|
443
443
|
userRef: z.ZodAny;
|
|
444
|
-
}
|
|
444
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
445
445
|
id: z.ZodString;
|
|
446
446
|
ref: z.ZodAny;
|
|
447
447
|
tenant: z.ZodString;
|
|
@@ -449,7 +449,7 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
449
449
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
450
450
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
451
451
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
452
|
-
}
|
|
452
|
+
} & {
|
|
453
453
|
channel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
454
454
|
id: z.ZodOptional<z.ZodString>;
|
|
455
455
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -662,4 +662,4 @@ export declare const zChatContactSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
662
662
|
category?: string | null | undefined;
|
|
663
663
|
}>, "many">>>;
|
|
664
664
|
userRef: z.ZodAny;
|
|
665
|
-
}
|
|
665
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const zHSMMessageSchema: z.ZodObject<
|
|
2
|
+
export declare const zHSMMessageSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
5
|
tenant: z.ZodString;
|
|
@@ -7,7 +7,7 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
contact_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,7 +33,7 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
33
33
|
category?: string | null | undefined;
|
|
34
34
|
}>, "many">>>;
|
|
35
35
|
userRef: z.ZodOptional<z.ZodAny>;
|
|
36
|
-
}
|
|
36
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
37
37
|
id: z.ZodString;
|
|
38
38
|
ref: z.ZodAny;
|
|
39
39
|
tenant: z.ZodString;
|
|
@@ -41,7 +41,7 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
41
41
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
42
42
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
43
43
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
|
-
}
|
|
44
|
+
} & {
|
|
45
45
|
contact_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -67,7 +67,7 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
67
67
|
category?: string | null | undefined;
|
|
68
68
|
}>, "many">>>;
|
|
69
69
|
userRef: z.ZodOptional<z.ZodAny>;
|
|
70
|
-
}
|
|
70
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
71
71
|
id: z.ZodString;
|
|
72
72
|
ref: z.ZodAny;
|
|
73
73
|
tenant: z.ZodString;
|
|
@@ -75,7 +75,7 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
75
75
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
76
76
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
77
77
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
78
|
-
}
|
|
78
|
+
} & {
|
|
79
79
|
contact_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
81
81
|
channel_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -101,4 +101,4 @@ export declare const zHSMMessageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
101
101
|
category?: string | null | undefined;
|
|
102
102
|
}>, "many">>>;
|
|
103
103
|
userRef: z.ZodOptional<z.ZodAny>;
|
|
104
|
-
}
|
|
104
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -28,7 +28,7 @@ export declare const zUserTenantIndexStatusSchema: z.ZodEnum<["active", "invited
|
|
|
28
28
|
* Schema for ITenantUser (membership document)
|
|
29
29
|
* Note: id, tenant, created_at, updated_at come from zFireDocSchema
|
|
30
30
|
*/
|
|
31
|
-
export declare const zTenantUserSchema: z.ZodObject<
|
|
31
|
+
export declare const zTenantUserSchema: z.ZodObject<{
|
|
32
32
|
id: z.ZodString;
|
|
33
33
|
ref: z.ZodAny;
|
|
34
34
|
tenant: z.ZodString;
|
|
@@ -36,13 +36,13 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
36
36
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
37
37
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
38
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
display_name: z.ZodString;
|
|
41
41
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
42
42
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
43
43
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
44
44
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
45
|
-
}
|
|
45
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
46
46
|
id: z.ZodString;
|
|
47
47
|
ref: z.ZodAny;
|
|
48
48
|
tenant: z.ZodString;
|
|
@@ -50,13 +50,13 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
50
50
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
51
51
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
52
52
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
53
|
-
}
|
|
53
|
+
} & {
|
|
54
54
|
display_name: z.ZodString;
|
|
55
55
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
56
56
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
57
57
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
58
58
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}
|
|
59
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
60
60
|
id: z.ZodString;
|
|
61
61
|
ref: z.ZodAny;
|
|
62
62
|
tenant: z.ZodString;
|
|
@@ -64,18 +64,18 @@ export declare const zTenantUserSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
64
64
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
65
65
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
66
66
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
67
|
-
}
|
|
67
|
+
} & {
|
|
68
68
|
display_name: z.ZodString;
|
|
69
69
|
status: z.ZodEnum<["active", "invited", "disabled", "removed"]>;
|
|
70
70
|
roles: z.ZodArray<z.ZodString, "many">;
|
|
71
71
|
perms: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
72
72
|
picture_url: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}
|
|
73
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
74
74
|
/**
|
|
75
75
|
* Schema for IUserTenantIndex (inverted index)
|
|
76
76
|
* Note: id, tenant, created_at, updated_at come from zFireDocSchema
|
|
77
77
|
*/
|
|
78
|
-
export declare const zUserTenantIndexSchema: z.ZodObject<
|
|
78
|
+
export declare const zUserTenantIndexSchema: z.ZodObject<{
|
|
79
79
|
id: z.ZodString;
|
|
80
80
|
ref: z.ZodAny;
|
|
81
81
|
tenant: z.ZodString;
|
|
@@ -83,12 +83,12 @@ export declare const zUserTenantIndexSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
83
83
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
84
84
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
85
85
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
86
|
-
}
|
|
86
|
+
} & {
|
|
87
87
|
status: z.ZodEnum<["active", "invited", "disabled"]>;
|
|
88
88
|
tenant_name: z.ZodString;
|
|
89
89
|
tenant_deleted_at: z.ZodNullable<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
90
90
|
tenant_status: z.ZodNullable<z.ZodEnum<["draft", "published", "archived"]>>;
|
|
91
|
-
}
|
|
91
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
92
92
|
id: z.ZodString;
|
|
93
93
|
ref: z.ZodAny;
|
|
94
94
|
tenant: z.ZodString;
|
|
@@ -96,12 +96,12 @@ export declare const zUserTenantIndexSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
96
96
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
97
97
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
98
98
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
99
|
-
}
|
|
99
|
+
} & {
|
|
100
100
|
status: z.ZodEnum<["active", "invited", "disabled"]>;
|
|
101
101
|
tenant_name: z.ZodString;
|
|
102
102
|
tenant_deleted_at: z.ZodNullable<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
103
103
|
tenant_status: z.ZodNullable<z.ZodEnum<["draft", "published", "archived"]>>;
|
|
104
|
-
}
|
|
104
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
105
105
|
id: z.ZodString;
|
|
106
106
|
ref: z.ZodAny;
|
|
107
107
|
tenant: z.ZodString;
|
|
@@ -109,12 +109,12 @@ export declare const zUserTenantIndexSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
109
109
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
110
110
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
111
111
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
112
|
-
}
|
|
112
|
+
} & {
|
|
113
113
|
status: z.ZodEnum<["active", "invited", "disabled"]>;
|
|
114
114
|
tenant_name: z.ZodString;
|
|
115
115
|
tenant_deleted_at: z.ZodNullable<z.ZodEffects<z.ZodDate, Date, unknown>>;
|
|
116
116
|
tenant_status: z.ZodNullable<z.ZodEnum<["draft", "published", "archived"]>>;
|
|
117
|
-
}
|
|
117
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
118
118
|
/**
|
|
119
119
|
* Schema for role permission mapping in IRbacGroup
|
|
120
120
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const zDistChannelTypeSchema: z.ZodObject<
|
|
2
|
+
export declare const zDistChannelTypeSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
ref: z.ZodAny;
|
|
5
5
|
tenant: z.ZodString;
|
|
@@ -7,7 +7,7 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
7
7
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
8
8
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
9
9
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
code: z.ZodString;
|
|
12
12
|
name: z.ZodString;
|
|
13
13
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -29,7 +29,7 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
29
29
|
color?: string | undefined;
|
|
30
30
|
category?: string | null | undefined;
|
|
31
31
|
}>, "many">>>;
|
|
32
|
-
}
|
|
32
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
33
33
|
id: z.ZodString;
|
|
34
34
|
ref: z.ZodAny;
|
|
35
35
|
tenant: z.ZodString;
|
|
@@ -37,7 +37,7 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
37
37
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
38
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
39
39
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
40
|
-
}
|
|
40
|
+
} & {
|
|
41
41
|
code: z.ZodString;
|
|
42
42
|
name: z.ZodString;
|
|
43
43
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -59,7 +59,7 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
59
59
|
color?: string | undefined;
|
|
60
60
|
category?: string | null | undefined;
|
|
61
61
|
}>, "many">>>;
|
|
62
|
-
}
|
|
62
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
63
63
|
id: z.ZodString;
|
|
64
64
|
ref: z.ZodAny;
|
|
65
65
|
tenant: z.ZodString;
|
|
@@ -67,7 +67,7 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
67
67
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
68
68
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
69
69
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
70
|
-
}
|
|
70
|
+
} & {
|
|
71
71
|
code: z.ZodString;
|
|
72
72
|
name: z.ZodString;
|
|
73
73
|
tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -89,8 +89,8 @@ export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShap
|
|
|
89
89
|
color?: string | undefined;
|
|
90
90
|
category?: string | null | undefined;
|
|
91
91
|
}>, "many">>>;
|
|
92
|
-
}
|
|
93
|
-
export declare const zDistChannelSchema: z.ZodObject<
|
|
92
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
93
|
+
export declare const zDistChannelSchema: z.ZodObject<{
|
|
94
94
|
id: z.ZodString;
|
|
95
95
|
ref: z.ZodAny;
|
|
96
96
|
tenant: z.ZodString;
|
|
@@ -98,7 +98,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
98
98
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
99
99
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
100
100
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
101
|
-
}
|
|
101
|
+
} & {
|
|
102
102
|
code: z.ZodString;
|
|
103
103
|
name: z.ZodString;
|
|
104
104
|
type_code: z.ZodString;
|
|
@@ -123,7 +123,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
123
123
|
color?: string | undefined;
|
|
124
124
|
category?: string | null | undefined;
|
|
125
125
|
}>, "many">>>;
|
|
126
|
-
}
|
|
126
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
127
127
|
id: z.ZodString;
|
|
128
128
|
ref: z.ZodAny;
|
|
129
129
|
tenant: z.ZodString;
|
|
@@ -131,7 +131,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
131
131
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
132
132
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
133
133
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
134
|
-
}
|
|
134
|
+
} & {
|
|
135
135
|
code: z.ZodString;
|
|
136
136
|
name: z.ZodString;
|
|
137
137
|
type_code: z.ZodString;
|
|
@@ -156,7 +156,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
156
156
|
color?: string | undefined;
|
|
157
157
|
category?: string | null | undefined;
|
|
158
158
|
}>, "many">>>;
|
|
159
|
-
}
|
|
159
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
160
160
|
id: z.ZodString;
|
|
161
161
|
ref: z.ZodAny;
|
|
162
162
|
tenant: z.ZodString;
|
|
@@ -164,7 +164,7 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
164
164
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
165
165
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
166
166
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
167
|
-
}
|
|
167
|
+
} & {
|
|
168
168
|
code: z.ZodString;
|
|
169
169
|
name: z.ZodString;
|
|
170
170
|
type_code: z.ZodString;
|
|
@@ -189,9 +189,9 @@ export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
189
189
|
color?: string | undefined;
|
|
190
190
|
category?: string | null | undefined;
|
|
191
191
|
}>, "many">>>;
|
|
192
|
-
}
|
|
192
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
193
193
|
export declare const zQualificationFunnelLevelSchema: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
194
|
-
export declare const zQualificationSchema: z.ZodObject<
|
|
194
|
+
export declare const zQualificationSchema: z.ZodObject<{
|
|
195
195
|
id: z.ZodString;
|
|
196
196
|
ref: z.ZodAny;
|
|
197
197
|
tenant: z.ZodString;
|
|
@@ -199,7 +199,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
199
199
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
200
200
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
201
201
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
202
|
-
}
|
|
202
|
+
} & {
|
|
203
203
|
code: z.ZodString;
|
|
204
204
|
name: z.ZodString;
|
|
205
205
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
@@ -222,7 +222,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
222
222
|
color?: string | undefined;
|
|
223
223
|
category?: string | null | undefined;
|
|
224
224
|
}>, "many">>>;
|
|
225
|
-
}
|
|
225
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
226
226
|
id: z.ZodString;
|
|
227
227
|
ref: z.ZodAny;
|
|
228
228
|
tenant: z.ZodString;
|
|
@@ -230,7 +230,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
230
230
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
231
231
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
232
232
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
233
|
-
}
|
|
233
|
+
} & {
|
|
234
234
|
code: z.ZodString;
|
|
235
235
|
name: z.ZodString;
|
|
236
236
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
@@ -253,7 +253,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
253
253
|
color?: string | undefined;
|
|
254
254
|
category?: string | null | undefined;
|
|
255
255
|
}>, "many">>>;
|
|
256
|
-
}
|
|
256
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
257
257
|
id: z.ZodString;
|
|
258
258
|
ref: z.ZodAny;
|
|
259
259
|
tenant: z.ZodString;
|
|
@@ -261,7 +261,7 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
261
261
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
262
262
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
263
263
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
264
|
-
}
|
|
264
|
+
} & {
|
|
265
265
|
code: z.ZodString;
|
|
266
266
|
name: z.ZodString;
|
|
267
267
|
funnelLevel: z.ZodEnum<["invalid", "new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
|
|
@@ -284,4 +284,4 @@ export declare const zQualificationSchema: z.ZodObject<z.objectUtil.extendShape<
|
|
|
284
284
|
color?: string | undefined;
|
|
285
285
|
category?: string | null | undefined;
|
|
286
286
|
}>, "many">>>;
|
|
287
|
-
}
|
|
287
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -35,7 +35,7 @@ export declare const zLeadDistChannelSchema: z.ZodObject<{
|
|
|
35
35
|
ref?: any;
|
|
36
36
|
updated_at?: Date | null | undefined;
|
|
37
37
|
}>;
|
|
38
|
-
export declare const zLeadSchema: z.ZodObject<
|
|
38
|
+
export declare const zLeadSchema: z.ZodObject<{
|
|
39
39
|
id: z.ZodString;
|
|
40
40
|
ref: z.ZodAny;
|
|
41
41
|
tenant: z.ZodString;
|
|
@@ -43,7 +43,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
43
43
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
44
44
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
45
45
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
46
|
-
}
|
|
46
|
+
} & {
|
|
47
47
|
display_name: z.ZodString;
|
|
48
48
|
last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
49
49
|
first_name: z.ZodNullable<z.ZodString>;
|
|
@@ -51,7 +51,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
51
51
|
birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
52
52
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
}
|
|
54
|
+
} & {
|
|
55
55
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
@@ -159,7 +159,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
159
159
|
category?: string | null | undefined;
|
|
160
160
|
}>, "many">>>;
|
|
161
161
|
userRef: z.ZodAny;
|
|
162
|
-
}
|
|
162
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
163
163
|
id: z.ZodString;
|
|
164
164
|
ref: z.ZodAny;
|
|
165
165
|
tenant: z.ZodString;
|
|
@@ -167,7 +167,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
167
167
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
168
168
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
169
169
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
170
|
-
}
|
|
170
|
+
} & {
|
|
171
171
|
display_name: z.ZodString;
|
|
172
172
|
last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
173
173
|
first_name: z.ZodNullable<z.ZodString>;
|
|
@@ -175,7 +175,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
175
175
|
birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
176
176
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
177
177
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
-
}
|
|
178
|
+
} & {
|
|
179
179
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
180
|
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
181
181
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
@@ -283,7 +283,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
283
283
|
category?: string | null | undefined;
|
|
284
284
|
}>, "many">>>;
|
|
285
285
|
userRef: z.ZodAny;
|
|
286
|
-
}
|
|
286
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
287
287
|
id: z.ZodString;
|
|
288
288
|
ref: z.ZodAny;
|
|
289
289
|
tenant: z.ZodString;
|
|
@@ -291,7 +291,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
291
291
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
292
292
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
293
293
|
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
294
|
-
}
|
|
294
|
+
} & {
|
|
295
295
|
display_name: z.ZodString;
|
|
296
296
|
last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
297
297
|
first_name: z.ZodNullable<z.ZodString>;
|
|
@@ -299,7 +299,7 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
299
299
|
birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
300
300
|
photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
301
301
|
photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
302
|
-
}
|
|
302
|
+
} & {
|
|
303
303
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
304
|
social_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
305
|
status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
|
|
@@ -407,4 +407,4 @@ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectU
|
|
|
407
407
|
category?: string | null | undefined;
|
|
408
408
|
}>, "many">>>;
|
|
409
409
|
userRef: z.ZodAny;
|
|
410
|
-
}
|
|
410
|
+
}, z.ZodTypeAny, "passthrough">>;
|