evo360-types 1.2.30 → 1.3.2

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.
Files changed (32) hide show
  1. package/dist/apps/evo-activity/zod-schemas.d.ts +3 -3
  2. package/dist/apps/evo-crm/dic/zod-schemas.d.ts +233 -0
  3. package/dist/apps/evo-crm/dic/zod-schemas.js +45 -0
  4. package/dist/apps/evo-crm/dic/zod-schemas.ts +46 -0
  5. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +347 -0
  6. package/dist/apps/evo-crm/lead/zod-schemas.js +30 -0
  7. package/dist/apps/evo-crm/lead/zod-schemas.ts +35 -0
  8. package/dist/apps/evo-med/dic/zod-schemas.d.ts +0 -155
  9. package/dist/apps/evo-med/dic/zod-schemas.js +2 -19
  10. package/dist/apps/evo-med/dic/zod-schemas.ts +1 -20
  11. package/dist/apps/shared/zod-schemas.d.ts +1 -1
  12. package/dist/apps/shared/zod-schemas.js +2 -0
  13. package/dist/apps/shared/zod-schemas.ts +2 -0
  14. package/dist/types/evo-crm/dic/index.d.ts +50 -0
  15. package/dist/types/evo-crm/dic/index.js +31 -0
  16. package/dist/types/evo-crm/dic/index.ts +84 -0
  17. package/dist/types/evo-crm/fb_collections.d.ts +8 -0
  18. package/dist/types/evo-crm/fb_collections.js +14 -0
  19. package/dist/types/evo-crm/fb_collections.ts +15 -0
  20. package/dist/types/evo-crm/lead/index.d.ts +30 -0
  21. package/dist/types/evo-crm/lead/index.js +9 -0
  22. package/dist/types/evo-crm/lead/index.ts +40 -0
  23. package/dist/types/evo-med/dic/index.d.ts +1 -22
  24. package/dist/types/evo-med/dic/index.js +0 -6
  25. package/dist/types/evo-med/dic/index.ts +0 -29
  26. package/dist/types/evo-med/fb_collections.d.ts +0 -3
  27. package/dist/types/evo-med/fb_collections.js +1 -4
  28. package/dist/types/evo-med/fb_collections.ts +0 -4
  29. package/dist/types/evo-messages/fb_collections.d.ts +1 -0
  30. package/dist/types/evo-messages/fb_collections.js +2 -0
  31. package/dist/types/evo-messages/fb_collections.ts +0 -0
  32. package/package.json +1 -1
@@ -0,0 +1,347 @@
1
+ import { z } from "zod";
2
+ export declare const zLeadStatusSchema: z.ZodEnum<["active", "inactive", "draft"]>;
3
+ export declare const zLeadQualificationSchema: z.ZodObject<{
4
+ code: z.ZodString;
5
+ name: z.ZodString;
6
+ funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
7
+ ref: z.ZodAny;
8
+ }, "strip", z.ZodTypeAny, {
9
+ code: string;
10
+ name: string;
11
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
12
+ ref?: any;
13
+ }, {
14
+ code: string;
15
+ name: string;
16
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
17
+ ref?: any;
18
+ }>;
19
+ export declare const zLeadDistChannelSchema: z.ZodObject<{
20
+ code: z.ZodString;
21
+ name: z.ZodString;
22
+ ref: z.ZodAny;
23
+ }, "strip", z.ZodTypeAny, {
24
+ code: string;
25
+ name: string;
26
+ ref?: any;
27
+ }, {
28
+ code: string;
29
+ name: string;
30
+ ref?: any;
31
+ }>;
32
+ export declare const zLeadSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
33
+ id: z.ZodString;
34
+ ref: z.ZodAny;
35
+ tenant: z.ZodString;
36
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
37
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
38
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
39
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
40
+ }, {
41
+ display_name: z.ZodString;
42
+ last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
43
+ first_name: z.ZodNullable<z.ZodString>;
44
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
46
+ photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ }>, {
49
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
50
+ qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
51
+ code: z.ZodString;
52
+ name: z.ZodString;
53
+ funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
54
+ ref: z.ZodAny;
55
+ }, "strip", z.ZodTypeAny, {
56
+ code: string;
57
+ name: string;
58
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
59
+ ref?: any;
60
+ }, {
61
+ code: string;
62
+ name: string;
63
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
64
+ ref?: any;
65
+ }>>>;
66
+ distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
67
+ code: z.ZodString;
68
+ name: z.ZodString;
69
+ ref: z.ZodAny;
70
+ }, "strip", z.ZodTypeAny, {
71
+ code: string;
72
+ name: string;
73
+ ref?: any;
74
+ }, {
75
+ code: string;
76
+ name: string;
77
+ ref?: any;
78
+ }>>>;
79
+ address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
80
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
81
+ kind: z.ZodDefault<z.ZodOptional<z.ZodString>>;
82
+ line1: z.ZodDefault<z.ZodOptional<z.ZodString>>;
83
+ line2: z.ZodDefault<z.ZodOptional<z.ZodString>>;
84
+ city: z.ZodDefault<z.ZodOptional<z.ZodString>>;
85
+ state: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
+ zip: z.ZodDefault<z.ZodOptional<z.ZodString>>;
87
+ country: z.ZodDefault<z.ZodOptional<z.ZodString>>;
88
+ geo: z.ZodOptional<z.ZodAny>;
89
+ }, "strip", z.ZodTypeAny, {
90
+ name: string;
91
+ kind: string;
92
+ country: string;
93
+ line1: string;
94
+ line2: string;
95
+ city: string;
96
+ state: string;
97
+ zip: string;
98
+ geo?: any;
99
+ }, {
100
+ name?: string | undefined;
101
+ kind?: string | undefined;
102
+ country?: string | undefined;
103
+ line1?: string | undefined;
104
+ line2?: string | undefined;
105
+ city?: string | undefined;
106
+ state?: string | undefined;
107
+ zip?: string | undefined;
108
+ geo?: any;
109
+ }>>>;
110
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
111
+ email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
112
+ phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
113
+ mobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ email: string | null;
116
+ phone: string | null;
117
+ mobile: string | null;
118
+ }, {
119
+ email?: string | null | undefined;
120
+ phone?: string | null | undefined;
121
+ mobile?: string | null | undefined;
122
+ }>>>;
123
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
124
+ name: z.ZodString;
125
+ color: z.ZodOptional<z.ZodString>;
126
+ hidden: z.ZodBoolean;
127
+ }, "strip", z.ZodTypeAny, {
128
+ name: string;
129
+ hidden: boolean;
130
+ color?: string | undefined;
131
+ }, {
132
+ name: string;
133
+ hidden: boolean;
134
+ color?: string | undefined;
135
+ }>, "many">>>;
136
+ userRef: z.ZodAny;
137
+ }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
138
+ id: z.ZodString;
139
+ ref: z.ZodAny;
140
+ tenant: z.ZodString;
141
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
142
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
143
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
144
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
145
+ }, {
146
+ display_name: z.ZodString;
147
+ last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
148
+ first_name: z.ZodNullable<z.ZodString>;
149
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
151
+ photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
+ photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
153
+ }>, {
154
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
155
+ qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
156
+ code: z.ZodString;
157
+ name: z.ZodString;
158
+ funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
159
+ ref: z.ZodAny;
160
+ }, "strip", z.ZodTypeAny, {
161
+ code: string;
162
+ name: string;
163
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
164
+ ref?: any;
165
+ }, {
166
+ code: string;
167
+ name: string;
168
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
169
+ ref?: any;
170
+ }>>>;
171
+ distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
172
+ code: z.ZodString;
173
+ name: z.ZodString;
174
+ ref: z.ZodAny;
175
+ }, "strip", z.ZodTypeAny, {
176
+ code: string;
177
+ name: string;
178
+ ref?: any;
179
+ }, {
180
+ code: string;
181
+ name: string;
182
+ ref?: any;
183
+ }>>>;
184
+ address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
185
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
186
+ kind: z.ZodDefault<z.ZodOptional<z.ZodString>>;
187
+ line1: z.ZodDefault<z.ZodOptional<z.ZodString>>;
188
+ line2: z.ZodDefault<z.ZodOptional<z.ZodString>>;
189
+ city: z.ZodDefault<z.ZodOptional<z.ZodString>>;
190
+ state: z.ZodDefault<z.ZodOptional<z.ZodString>>;
191
+ zip: z.ZodDefault<z.ZodOptional<z.ZodString>>;
192
+ country: z.ZodDefault<z.ZodOptional<z.ZodString>>;
193
+ geo: z.ZodOptional<z.ZodAny>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ name: string;
196
+ kind: string;
197
+ country: string;
198
+ line1: string;
199
+ line2: string;
200
+ city: string;
201
+ state: string;
202
+ zip: string;
203
+ geo?: any;
204
+ }, {
205
+ name?: string | undefined;
206
+ kind?: string | undefined;
207
+ country?: string | undefined;
208
+ line1?: string | undefined;
209
+ line2?: string | undefined;
210
+ city?: string | undefined;
211
+ state?: string | undefined;
212
+ zip?: string | undefined;
213
+ geo?: any;
214
+ }>>>;
215
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
216
+ email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
217
+ phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
218
+ mobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ email: string | null;
221
+ phone: string | null;
222
+ mobile: string | null;
223
+ }, {
224
+ email?: string | null | undefined;
225
+ phone?: string | null | undefined;
226
+ mobile?: string | null | undefined;
227
+ }>>>;
228
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
229
+ name: z.ZodString;
230
+ color: z.ZodOptional<z.ZodString>;
231
+ hidden: z.ZodBoolean;
232
+ }, "strip", z.ZodTypeAny, {
233
+ name: string;
234
+ hidden: boolean;
235
+ color?: string | undefined;
236
+ }, {
237
+ name: string;
238
+ hidden: boolean;
239
+ color?: string | undefined;
240
+ }>, "many">>>;
241
+ userRef: z.ZodAny;
242
+ }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
243
+ id: z.ZodString;
244
+ ref: z.ZodAny;
245
+ tenant: z.ZodString;
246
+ model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
247
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
248
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
249
+ deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
250
+ }, {
251
+ display_name: z.ZodString;
252
+ last_name: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
253
+ first_name: z.ZodNullable<z.ZodString>;
254
+ gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ birthdate: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
256
+ photo_ref: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
+ photo_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ }>, {
259
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "draft"]>>;
260
+ qualification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
261
+ code: z.ZodString;
262
+ name: z.ZodString;
263
+ funnelLevel: z.ZodEnum<["new", "trying_contact", "contacted", "qualifying", "qualified", "disqualified", "presented", "proposal_sent", "negotiating", "won", "lost", "waiting_reply", "follow_up_later"]>;
264
+ ref: z.ZodAny;
265
+ }, "strip", z.ZodTypeAny, {
266
+ code: string;
267
+ name: string;
268
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
269
+ ref?: any;
270
+ }, {
271
+ code: string;
272
+ name: string;
273
+ funnelLevel: "new" | "trying_contact" | "contacted" | "qualifying" | "qualified" | "disqualified" | "presented" | "proposal_sent" | "negotiating" | "won" | "lost" | "waiting_reply" | "follow_up_later";
274
+ ref?: any;
275
+ }>>>;
276
+ distChannel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
277
+ code: z.ZodString;
278
+ name: z.ZodString;
279
+ ref: z.ZodAny;
280
+ }, "strip", z.ZodTypeAny, {
281
+ code: string;
282
+ name: string;
283
+ ref?: any;
284
+ }, {
285
+ code: string;
286
+ name: string;
287
+ ref?: any;
288
+ }>>>;
289
+ address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
290
+ name: z.ZodDefault<z.ZodOptional<z.ZodString>>;
291
+ kind: z.ZodDefault<z.ZodOptional<z.ZodString>>;
292
+ line1: z.ZodDefault<z.ZodOptional<z.ZodString>>;
293
+ line2: z.ZodDefault<z.ZodOptional<z.ZodString>>;
294
+ city: z.ZodDefault<z.ZodOptional<z.ZodString>>;
295
+ state: z.ZodDefault<z.ZodOptional<z.ZodString>>;
296
+ zip: z.ZodDefault<z.ZodOptional<z.ZodString>>;
297
+ country: z.ZodDefault<z.ZodOptional<z.ZodString>>;
298
+ geo: z.ZodOptional<z.ZodAny>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ name: string;
301
+ kind: string;
302
+ country: string;
303
+ line1: string;
304
+ line2: string;
305
+ city: string;
306
+ state: string;
307
+ zip: string;
308
+ geo?: any;
309
+ }, {
310
+ name?: string | undefined;
311
+ kind?: string | undefined;
312
+ country?: string | undefined;
313
+ line1?: string | undefined;
314
+ line2?: string | undefined;
315
+ city?: string | undefined;
316
+ state?: string | undefined;
317
+ zip?: string | undefined;
318
+ geo?: any;
319
+ }>>>;
320
+ contact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
321
+ email: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
322
+ phone: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
323
+ mobile: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
324
+ }, "strip", z.ZodTypeAny, {
325
+ email: string | null;
326
+ phone: string | null;
327
+ mobile: string | null;
328
+ }, {
329
+ email?: string | null | undefined;
330
+ phone?: string | null | undefined;
331
+ mobile?: string | null | undefined;
332
+ }>>>;
333
+ tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
334
+ name: z.ZodString;
335
+ color: z.ZodOptional<z.ZodString>;
336
+ hidden: z.ZodBoolean;
337
+ }, "strip", z.ZodTypeAny, {
338
+ name: string;
339
+ hidden: boolean;
340
+ color?: string | undefined;
341
+ }, {
342
+ name: string;
343
+ hidden: boolean;
344
+ color?: string | undefined;
345
+ }>, "many">>>;
346
+ userRef: z.ZodAny;
347
+ }>, z.ZodTypeAny, "passthrough">>;
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.zLeadSchema = exports.zLeadDistChannelSchema = exports.zLeadQualificationSchema = exports.zLeadStatusSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const zod_schemas_1 = require("../../shared/zod-schemas");
6
+ const zod_schemas_2 = require("../../evo-people/zod-schemas");
7
+ const zod_schemas_3 = require("../dic/zod-schemas");
8
+ exports.zLeadStatusSchema = zod_1.z.enum(["active", "inactive", "draft"]);
9
+ exports.zLeadQualificationSchema = zod_1.z.object({
10
+ code: zod_1.z.string().min(1).max(10),
11
+ name: zod_1.z.string().min(1).max(255),
12
+ funnelLevel: zod_schemas_3.zQualificationFunnelLevelSchema,
13
+ ref: zod_1.z.any(),
14
+ });
15
+ exports.zLeadDistChannelSchema = zod_1.z.object({
16
+ code: zod_1.z.string().min(1).max(10),
17
+ name: zod_1.z.string().min(1).max(255),
18
+ ref: zod_1.z.any(),
19
+ });
20
+ exports.zLeadSchema = zod_schemas_2.zProfileSchema // Extend from ProfileSchema
21
+ .extend({
22
+ status: exports.zLeadStatusSchema.optional(),
23
+ qualification: exports.zLeadQualificationSchema.nullable().optional(),
24
+ distChannel: exports.zLeadDistChannelSchema.nullable().optional(),
25
+ address: zod_schemas_1.zAddressSchema.nullable().optional(),
26
+ contact: zod_schemas_1.zContactSchema.nullable().optional(),
27
+ tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
28
+ userRef: zod_1.z.any(),
29
+ })
30
+ .passthrough();
@@ -0,0 +1,35 @@
1
+ import { z } from "zod";
2
+ import {
3
+ zAddressSchema,
4
+ zContactSchema,
5
+ zTagSchema,
6
+ } from "../../shared/zod-schemas";
7
+ import { zProfileSchema } from "../../evo-people/zod-schemas";
8
+ import { zQualificationFunnelLevelSchema } from "../dic/zod-schemas";
9
+
10
+ export const zLeadStatusSchema = z.enum(["active", "inactive", "draft"]);
11
+
12
+ export const zLeadQualificationSchema = z.object({
13
+ code: z.string().min(1).max(10),
14
+ name: z.string().min(1).max(255),
15
+ funnelLevel: zQualificationFunnelLevelSchema,
16
+ ref: z.any(),
17
+ });
18
+
19
+ export const zLeadDistChannelSchema = z.object({
20
+ code: z.string().min(1).max(10),
21
+ name: z.string().min(1).max(255),
22
+ ref: z.any(),
23
+ });
24
+
25
+ export const zLeadSchema = zProfileSchema // Extend from ProfileSchema
26
+ .extend({
27
+ status: zLeadStatusSchema.optional(),
28
+ qualification: zLeadQualificationSchema.nullable().optional(),
29
+ distChannel: zLeadDistChannelSchema.nullable().optional(),
30
+ address: zAddressSchema.nullable().optional(),
31
+ contact: zContactSchema.nullable().optional(),
32
+ tags: z.array(zTagSchema).nullable().optional(),
33
+ userRef: z.any(),
34
+ })
35
+ .passthrough();
@@ -118,161 +118,6 @@ export declare const zSpecialtySchema: z.ZodObject<z.objectUtil.extendShape<{
118
118
  color?: string | undefined;
119
119
  }>, "many">>>;
120
120
  }>, z.ZodTypeAny, "passthrough">>;
121
- export declare const zDistChannelTypeSchema: z.ZodObject<z.objectUtil.extendShape<{
122
- id: z.ZodString;
123
- ref: z.ZodAny;
124
- tenant: z.ZodString;
125
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
126
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
127
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
128
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
129
- }, {
130
- code: z.ZodString;
131
- name: z.ZodString;
132
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
133
- name: z.ZodString;
134
- color: z.ZodOptional<z.ZodString>;
135
- hidden: z.ZodBoolean;
136
- }, "strip", z.ZodTypeAny, {
137
- name: string;
138
- hidden: boolean;
139
- color?: string | undefined;
140
- }, {
141
- name: string;
142
- hidden: boolean;
143
- color?: string | undefined;
144
- }>, "many">>>;
145
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
146
- id: z.ZodString;
147
- ref: z.ZodAny;
148
- tenant: z.ZodString;
149
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
150
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
151
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
152
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
153
- }, {
154
- code: z.ZodString;
155
- name: z.ZodString;
156
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
157
- name: z.ZodString;
158
- color: z.ZodOptional<z.ZodString>;
159
- hidden: z.ZodBoolean;
160
- }, "strip", z.ZodTypeAny, {
161
- name: string;
162
- hidden: boolean;
163
- color?: string | undefined;
164
- }, {
165
- name: string;
166
- hidden: boolean;
167
- color?: string | undefined;
168
- }>, "many">>>;
169
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
170
- id: z.ZodString;
171
- ref: z.ZodAny;
172
- tenant: z.ZodString;
173
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
174
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
175
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
176
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
177
- }, {
178
- code: z.ZodString;
179
- name: z.ZodString;
180
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
181
- name: z.ZodString;
182
- color: z.ZodOptional<z.ZodString>;
183
- hidden: z.ZodBoolean;
184
- }, "strip", z.ZodTypeAny, {
185
- name: string;
186
- hidden: boolean;
187
- color?: string | undefined;
188
- }, {
189
- name: string;
190
- hidden: boolean;
191
- color?: string | undefined;
192
- }>, "many">>>;
193
- }>, z.ZodTypeAny, "passthrough">>;
194
- export declare const zDistChannelSchema: z.ZodObject<z.objectUtil.extendShape<{
195
- id: z.ZodString;
196
- ref: z.ZodAny;
197
- tenant: z.ZodString;
198
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
199
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
200
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
201
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
202
- }, {
203
- code: z.ZodString;
204
- name: z.ZodString;
205
- type_code: z.ZodString;
206
- type_name: z.ZodString;
207
- typeRef: z.ZodAny;
208
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
209
- name: z.ZodString;
210
- color: z.ZodOptional<z.ZodString>;
211
- hidden: z.ZodBoolean;
212
- }, "strip", z.ZodTypeAny, {
213
- name: string;
214
- hidden: boolean;
215
- color?: string | undefined;
216
- }, {
217
- name: string;
218
- hidden: boolean;
219
- color?: string | undefined;
220
- }>, "many">>>;
221
- }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
222
- id: z.ZodString;
223
- ref: z.ZodAny;
224
- tenant: z.ZodString;
225
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
226
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
227
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
228
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
229
- }, {
230
- code: z.ZodString;
231
- name: z.ZodString;
232
- type_code: z.ZodString;
233
- type_name: z.ZodString;
234
- typeRef: z.ZodAny;
235
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
236
- name: z.ZodString;
237
- color: z.ZodOptional<z.ZodString>;
238
- hidden: z.ZodBoolean;
239
- }, "strip", z.ZodTypeAny, {
240
- name: string;
241
- hidden: boolean;
242
- color?: string | undefined;
243
- }, {
244
- name: string;
245
- hidden: boolean;
246
- color?: string | undefined;
247
- }>, "many">>>;
248
- }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
249
- id: z.ZodString;
250
- ref: z.ZodAny;
251
- tenant: z.ZodString;
252
- model_ver: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
253
- created_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
254
- updated_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
255
- deleted_at: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
256
- }, {
257
- code: z.ZodString;
258
- name: z.ZodString;
259
- type_code: z.ZodString;
260
- type_name: z.ZodString;
261
- typeRef: z.ZodAny;
262
- tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
263
- name: z.ZodString;
264
- color: z.ZodOptional<z.ZodString>;
265
- hidden: z.ZodBoolean;
266
- }, "strip", z.ZodTypeAny, {
267
- name: string;
268
- hidden: boolean;
269
- color?: string | undefined;
270
- }, {
271
- name: string;
272
- hidden: boolean;
273
- color?: string | undefined;
274
- }>, "many">>>;
275
- }>, z.ZodTypeAny, "passthrough">>;
276
121
  export declare const zPatientSourceSchema: z.ZodObject<z.objectUtil.extendShape<{
277
122
  id: z.ZodString;
278
123
  ref: z.ZodAny;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zMedicalCouncilSchema = exports.zMedicalCouncilUFSchema = exports.zAllergySchema = exports.zAllergyKindSchema = exports.zChronicConditionSchema = exports.zSeveritySchema = exports.zMedicationSchema = exports.zAppointmentStatusSchema = exports.zAppointmentStatusTypeSchema = exports.zAppointmentRequestTypeSchema = exports.zAppointmentSourceSchema = exports.zPatientSourceSchema = exports.zDistChannelSchema = exports.zDistChannelTypeSchema = exports.zSpecialtySchema = exports.zSpecialtyTypeSchema = void 0;
3
+ exports.zMedicalCouncilSchema = exports.zMedicalCouncilUFSchema = exports.zAllergySchema = exports.zAllergyKindSchema = exports.zChronicConditionSchema = exports.zSeveritySchema = exports.zMedicationSchema = exports.zAppointmentStatusSchema = exports.zAppointmentStatusTypeSchema = exports.zAppointmentRequestTypeSchema = exports.zAppointmentSourceSchema = exports.zPatientSourceSchema = exports.zSpecialtySchema = exports.zSpecialtyTypeSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../../shared/zod-schemas");
6
6
  exports.zSpecialtyTypeSchema = zod_schemas_1.zFireDocSchema
@@ -13,24 +13,7 @@ exports.zSpecialtySchema = zod_schemas_1.zFireDocSchema
13
13
  .extend({
14
14
  code: zod_1.z.string().min(1).max(10),
15
15
  name: zod_1.z.string().min(1).max(255),
16
- tiss: zod_1.z.string().min(1).max(255).optional().default(""),
17
- type_code: zod_1.z.string().min(1).max(10),
18
- type_name: zod_1.z.string().min(1).max(255),
19
- typeRef: zod_1.z.any(),
20
- tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
21
- })
22
- .passthrough();
23
- exports.zDistChannelTypeSchema = zod_schemas_1.zFireDocSchema
24
- .extend({
25
- code: zod_1.z.string().min(1).max(10),
26
- name: zod_1.z.string().min(1).max(255),
27
- tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
28
- })
29
- .passthrough();
30
- exports.zDistChannelSchema = zod_schemas_1.zFireDocSchema
31
- .extend({
32
- code: zod_1.z.string().min(1).max(10),
33
- name: zod_1.z.string().min(1).max(255),
16
+ tiss: zod_1.z.string().max(255).optional().default(""),
34
17
  type_code: zod_1.z.string().min(1).max(10),
35
18
  type_name: zod_1.z.string().min(1).max(255),
36
19
  typeRef: zod_1.z.any(),
@@ -12,26 +12,7 @@ export const zSpecialtySchema = zFireDocSchema
12
12
  .extend({
13
13
  code: z.string().min(1).max(10),
14
14
  name: z.string().min(1).max(255),
15
- tiss: z.string().min(1).max(255).optional().default(""),
16
- type_code: z.string().min(1).max(10),
17
- type_name: z.string().min(1).max(255),
18
- typeRef: z.any(),
19
- tags: z.array(zTagSchema).nullable().optional(),
20
- })
21
- .passthrough();
22
-
23
- export const zDistChannelTypeSchema = zFireDocSchema
24
- .extend({
25
- code: z.string().min(1).max(10),
26
- name: z.string().min(1).max(255),
27
- tags: z.array(zTagSchema).nullable().optional(),
28
- })
29
- .passthrough();
30
-
31
- export const zDistChannelSchema = zFireDocSchema
32
- .extend({
33
- code: z.string().min(1).max(10),
34
- name: z.string().min(1).max(255),
15
+ tiss: z.string().max(255).optional().default(""),
35
16
  type_code: z.string().min(1).max(10),
36
17
  type_name: z.string().min(1).max(255),
37
18
  typeRef: z.any(),
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-meeting", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
2
+ export declare const zEvoAppSchema: z.ZodEnum<["evo-activity", "evo-calendar", "evo-core", "evo-crm", "evo-meeting", "evo-messages", "evo-people", "evo-survey", "evo-task", "evo-tenant"]>;
3
3
  export declare const zFireDocSchema: z.ZodObject<{
4
4
  id: z.ZodString;
5
5
  ref: z.ZodAny;
@@ -7,7 +7,9 @@ exports.zEvoAppSchema = zod_1.z.enum([
7
7
  "evo-activity",
8
8
  "evo-calendar",
9
9
  "evo-core",
10
+ "evo-crm",
10
11
  "evo-meeting",
12
+ "evo-messages",
11
13
  "evo-people",
12
14
  "evo-survey",
13
15
  "evo-task",
@@ -5,7 +5,9 @@ export const zEvoAppSchema = z.enum([
5
5
  "evo-activity",
6
6
  "evo-calendar",
7
7
  "evo-core",
8
+ "evo-crm",
8
9
  "evo-meeting",
10
+ "evo-messages",
9
11
  "evo-people",
10
12
  "evo-survey",
11
13
  "evo-task",