evo360-types 1.3.309 → 1.3.314
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 +6 -6
- package/dist/apps/evo-chat/contact/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/message/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-chat/quick-reply/zod-schemas.d.ts +1204 -0
- package/dist/apps/evo-chat/quick-reply/zod-schemas.js +67 -0
- package/dist/apps/evo-chat/quick-reply/zod-schemas.ts +70 -0
- package/dist/apps/evo-chat/waba-template/zod-schemas.d.ts +1557 -0
- package/dist/apps/evo-chat/waba-template/zod-schemas.js +55 -0
- package/dist/apps/evo-chat/waba-template/zod-schemas.ts +57 -0
- package/dist/apps/evo-crm/dic/zod-schemas.d.ts +18 -18
- package/dist/apps/evo-crm/lead/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/appointment/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/calendar/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/dic/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
- package/dist/apps/evo-med/people/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-med/procedure/zod-schemas.d.ts +12 -12
- package/dist/apps/evo-people/zod-schemas.d.ts +30 -24
- package/dist/apps/evo-people/zod-schemas.js +2 -0
- package/dist/apps/evo-people/zod-schemas.ts +2 -0
- package/dist/apps/evo-survey/zod-schemas.d.ts +58 -58
- package/dist/apps/evo-task/zod-schemas.d.ts +54 -54
- package/dist/apps/shared/zod-schemas.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.ts +2 -0
- package/dist/types/evo-chat/fb_collections.d.ts +4 -0
- package/dist/types/evo-chat/fb_collections.js +6 -1
- package/dist/types/evo-chat/fb_collections.ts +6 -0
- package/dist/types/evo-chat/index.d.ts +2 -0
- package/dist/types/evo-chat/index.js +2 -0
- package/dist/types/evo-chat/index.ts +2 -0
- package/dist/types/evo-chat/quick-reply/index.d.ts +43 -0
- package/dist/types/evo-chat/quick-reply/index.js +2 -0
- package/dist/types/evo-chat/quick-reply/index.ts +49 -0
- package/dist/types/evo-chat/waba-template/index.d.ts +93 -0
- package/dist/types/evo-chat/waba-template/index.js +39 -0
- package/dist/types/evo-chat/waba-template/index.ts +108 -0
- package/dist/types/evo-people/index.d.ts +4 -0
- package/dist/types/evo-people/index.ts +5 -0
- package/package.json +1 -1
|
@@ -22,14 +22,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
|
|
|
22
22
|
name: string;
|
|
23
23
|
hidden: boolean;
|
|
24
24
|
base?: boolean | undefined;
|
|
25
|
-
color?: string | undefined;
|
|
26
25
|
category?: string | null | undefined;
|
|
26
|
+
color?: string | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
name: string;
|
|
29
29
|
hidden: boolean;
|
|
30
30
|
base?: boolean | undefined;
|
|
31
|
-
color?: string | undefined;
|
|
32
31
|
category?: string | null | undefined;
|
|
32
|
+
color?: string | undefined;
|
|
33
33
|
}>, "many">>>;
|
|
34
34
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
35
35
|
id: z.ZodString;
|
|
@@ -52,14 +52,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
|
|
|
52
52
|
name: string;
|
|
53
53
|
hidden: boolean;
|
|
54
54
|
base?: boolean | undefined;
|
|
55
|
-
color?: string | undefined;
|
|
56
55
|
category?: string | null | undefined;
|
|
56
|
+
color?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
name: string;
|
|
59
59
|
hidden: boolean;
|
|
60
60
|
base?: boolean | undefined;
|
|
61
|
-
color?: string | undefined;
|
|
62
61
|
category?: string | null | undefined;
|
|
62
|
+
color?: string | undefined;
|
|
63
63
|
}>, "many">>>;
|
|
64
64
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
65
65
|
id: z.ZodString;
|
|
@@ -82,14 +82,14 @@ export declare const zProcedureTypeSchema: z.ZodObject<{
|
|
|
82
82
|
name: string;
|
|
83
83
|
hidden: boolean;
|
|
84
84
|
base?: boolean | undefined;
|
|
85
|
-
color?: string | undefined;
|
|
86
85
|
category?: string | null | undefined;
|
|
86
|
+
color?: string | undefined;
|
|
87
87
|
}, {
|
|
88
88
|
name: string;
|
|
89
89
|
hidden: boolean;
|
|
90
90
|
base?: boolean | undefined;
|
|
91
|
-
color?: string | undefined;
|
|
92
91
|
category?: string | null | undefined;
|
|
92
|
+
color?: string | undefined;
|
|
93
93
|
}>, "many">>>;
|
|
94
94
|
}, z.ZodTypeAny, "passthrough">>;
|
|
95
95
|
export declare const zProcedureSchema: z.ZodObject<{
|
|
@@ -125,14 +125,14 @@ export declare const zProcedureSchema: z.ZodObject<{
|
|
|
125
125
|
name: string;
|
|
126
126
|
hidden: boolean;
|
|
127
127
|
base?: boolean | undefined;
|
|
128
|
-
color?: string | undefined;
|
|
129
128
|
category?: string | null | undefined;
|
|
129
|
+
color?: string | undefined;
|
|
130
130
|
}, {
|
|
131
131
|
name: string;
|
|
132
132
|
hidden: boolean;
|
|
133
133
|
base?: boolean | undefined;
|
|
134
|
-
color?: string | undefined;
|
|
135
134
|
category?: string | null | undefined;
|
|
135
|
+
color?: string | undefined;
|
|
136
136
|
}>, "many">>>;
|
|
137
137
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
138
138
|
id: z.ZodString;
|
|
@@ -167,14 +167,14 @@ export declare const zProcedureSchema: z.ZodObject<{
|
|
|
167
167
|
name: string;
|
|
168
168
|
hidden: boolean;
|
|
169
169
|
base?: boolean | undefined;
|
|
170
|
-
color?: string | undefined;
|
|
171
170
|
category?: string | null | undefined;
|
|
171
|
+
color?: string | undefined;
|
|
172
172
|
}, {
|
|
173
173
|
name: string;
|
|
174
174
|
hidden: boolean;
|
|
175
175
|
base?: boolean | undefined;
|
|
176
|
-
color?: string | undefined;
|
|
177
176
|
category?: string | null | undefined;
|
|
177
|
+
color?: string | undefined;
|
|
178
178
|
}>, "many">>>;
|
|
179
179
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
180
180
|
id: z.ZodString;
|
|
@@ -209,13 +209,13 @@ export declare const zProcedureSchema: z.ZodObject<{
|
|
|
209
209
|
name: string;
|
|
210
210
|
hidden: boolean;
|
|
211
211
|
base?: boolean | undefined;
|
|
212
|
-
color?: string | undefined;
|
|
213
212
|
category?: string | null | undefined;
|
|
213
|
+
color?: string | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
name: string;
|
|
216
216
|
hidden: boolean;
|
|
217
217
|
base?: boolean | undefined;
|
|
218
|
-
color?: string | undefined;
|
|
219
218
|
category?: string | null | undefined;
|
|
219
|
+
color?: string | undefined;
|
|
220
220
|
}>, "many">>>;
|
|
221
221
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -93,14 +93,14 @@ export declare const zEmployeeSchema: z.ZodObject<{
|
|
|
93
93
|
name: string;
|
|
94
94
|
hidden: boolean;
|
|
95
95
|
base?: boolean | undefined;
|
|
96
|
-
color?: string | undefined;
|
|
97
96
|
category?: string | null | undefined;
|
|
97
|
+
color?: string | undefined;
|
|
98
98
|
}, {
|
|
99
99
|
name: string;
|
|
100
100
|
hidden: boolean;
|
|
101
101
|
base?: boolean | undefined;
|
|
102
|
-
color?: string | undefined;
|
|
103
102
|
category?: string | null | undefined;
|
|
103
|
+
color?: string | undefined;
|
|
104
104
|
}>, "many">>>;
|
|
105
105
|
userRef: z.ZodAny;
|
|
106
106
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -146,14 +146,14 @@ export declare const zEmployeeSchema: z.ZodObject<{
|
|
|
146
146
|
name: string;
|
|
147
147
|
hidden: boolean;
|
|
148
148
|
base?: boolean | undefined;
|
|
149
|
-
color?: string | undefined;
|
|
150
149
|
category?: string | null | undefined;
|
|
150
|
+
color?: string | undefined;
|
|
151
151
|
}, {
|
|
152
152
|
name: string;
|
|
153
153
|
hidden: boolean;
|
|
154
154
|
base?: boolean | undefined;
|
|
155
|
-
color?: string | undefined;
|
|
156
155
|
category?: string | null | undefined;
|
|
156
|
+
color?: string | undefined;
|
|
157
157
|
}>, "many">>>;
|
|
158
158
|
userRef: z.ZodAny;
|
|
159
159
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
@@ -199,14 +199,14 @@ export declare const zEmployeeSchema: z.ZodObject<{
|
|
|
199
199
|
name: string;
|
|
200
200
|
hidden: boolean;
|
|
201
201
|
base?: boolean | undefined;
|
|
202
|
-
color?: string | undefined;
|
|
203
202
|
category?: string | null | undefined;
|
|
203
|
+
color?: string | undefined;
|
|
204
204
|
}, {
|
|
205
205
|
name: string;
|
|
206
206
|
hidden: boolean;
|
|
207
207
|
base?: boolean | undefined;
|
|
208
|
-
color?: string | undefined;
|
|
209
208
|
category?: string | null | undefined;
|
|
209
|
+
color?: string | undefined;
|
|
210
210
|
}>, "many">>>;
|
|
211
211
|
userRef: z.ZodAny;
|
|
212
212
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -236,15 +236,17 @@ export declare const zDepartmentSchema: z.ZodObject<{
|
|
|
236
236
|
name: string;
|
|
237
237
|
hidden: boolean;
|
|
238
238
|
base?: boolean | undefined;
|
|
239
|
-
color?: string | undefined;
|
|
240
239
|
category?: string | null | undefined;
|
|
240
|
+
color?: string | undefined;
|
|
241
241
|
}, {
|
|
242
242
|
name: string;
|
|
243
243
|
hidden: boolean;
|
|
244
244
|
base?: boolean | undefined;
|
|
245
|
-
color?: string | undefined;
|
|
246
245
|
category?: string | null | undefined;
|
|
246
|
+
color?: string | undefined;
|
|
247
247
|
}>, "many">>>;
|
|
248
|
+
chat_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
249
|
+
chat_color: z.ZodOptional<z.ZodString>;
|
|
248
250
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
249
251
|
id: z.ZodString;
|
|
250
252
|
ref: z.ZodAny;
|
|
@@ -271,15 +273,17 @@ export declare const zDepartmentSchema: z.ZodObject<{
|
|
|
271
273
|
name: string;
|
|
272
274
|
hidden: boolean;
|
|
273
275
|
base?: boolean | undefined;
|
|
274
|
-
color?: string | undefined;
|
|
275
276
|
category?: string | null | undefined;
|
|
277
|
+
color?: string | undefined;
|
|
276
278
|
}, {
|
|
277
279
|
name: string;
|
|
278
280
|
hidden: boolean;
|
|
279
281
|
base?: boolean | undefined;
|
|
280
|
-
color?: string | undefined;
|
|
281
282
|
category?: string | null | undefined;
|
|
283
|
+
color?: string | undefined;
|
|
282
284
|
}>, "many">>>;
|
|
285
|
+
chat_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
chat_color: z.ZodOptional<z.ZodString>;
|
|
283
287
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
284
288
|
id: z.ZodString;
|
|
285
289
|
ref: z.ZodAny;
|
|
@@ -306,15 +310,17 @@ export declare const zDepartmentSchema: z.ZodObject<{
|
|
|
306
310
|
name: string;
|
|
307
311
|
hidden: boolean;
|
|
308
312
|
base?: boolean | undefined;
|
|
309
|
-
color?: string | undefined;
|
|
310
313
|
category?: string | null | undefined;
|
|
314
|
+
color?: string | undefined;
|
|
311
315
|
}, {
|
|
312
316
|
name: string;
|
|
313
317
|
hidden: boolean;
|
|
314
318
|
base?: boolean | undefined;
|
|
315
|
-
color?: string | undefined;
|
|
316
319
|
category?: string | null | undefined;
|
|
320
|
+
color?: string | undefined;
|
|
317
321
|
}>, "many">>>;
|
|
322
|
+
chat_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
323
|
+
chat_color: z.ZodOptional<z.ZodString>;
|
|
318
324
|
}, z.ZodTypeAny, "passthrough">>;
|
|
319
325
|
export declare const zOfficeSchema: z.ZodObject<{
|
|
320
326
|
id: z.ZodString;
|
|
@@ -353,14 +359,14 @@ export declare const zOfficeSchema: z.ZodObject<{
|
|
|
353
359
|
name: string;
|
|
354
360
|
hidden: boolean;
|
|
355
361
|
base?: boolean | undefined;
|
|
356
|
-
color?: string | undefined;
|
|
357
362
|
category?: string | null | undefined;
|
|
363
|
+
color?: string | undefined;
|
|
358
364
|
}, {
|
|
359
365
|
name: string;
|
|
360
366
|
hidden: boolean;
|
|
361
367
|
base?: boolean | undefined;
|
|
362
|
-
color?: string | undefined;
|
|
363
368
|
category?: string | null | undefined;
|
|
369
|
+
color?: string | undefined;
|
|
364
370
|
}>, "many">>>;
|
|
365
371
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
366
372
|
id: z.ZodString;
|
|
@@ -399,14 +405,14 @@ export declare const zOfficeSchema: z.ZodObject<{
|
|
|
399
405
|
name: string;
|
|
400
406
|
hidden: boolean;
|
|
401
407
|
base?: boolean | undefined;
|
|
402
|
-
color?: string | undefined;
|
|
403
408
|
category?: string | null | undefined;
|
|
409
|
+
color?: string | undefined;
|
|
404
410
|
}, {
|
|
405
411
|
name: string;
|
|
406
412
|
hidden: boolean;
|
|
407
413
|
base?: boolean | undefined;
|
|
408
|
-
color?: string | undefined;
|
|
409
414
|
category?: string | null | undefined;
|
|
415
|
+
color?: string | undefined;
|
|
410
416
|
}>, "many">>>;
|
|
411
417
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
412
418
|
id: z.ZodString;
|
|
@@ -445,14 +451,14 @@ export declare const zOfficeSchema: z.ZodObject<{
|
|
|
445
451
|
name: string;
|
|
446
452
|
hidden: boolean;
|
|
447
453
|
base?: boolean | undefined;
|
|
448
|
-
color?: string | undefined;
|
|
449
454
|
category?: string | null | undefined;
|
|
455
|
+
color?: string | undefined;
|
|
450
456
|
}, {
|
|
451
457
|
name: string;
|
|
452
458
|
hidden: boolean;
|
|
453
459
|
base?: boolean | undefined;
|
|
454
|
-
color?: string | undefined;
|
|
455
460
|
category?: string | null | undefined;
|
|
461
|
+
color?: string | undefined;
|
|
456
462
|
}>, "many">>>;
|
|
457
463
|
}, z.ZodTypeAny, "passthrough">>;
|
|
458
464
|
export declare const zCompanySchema: z.ZodObject<{
|
|
@@ -479,14 +485,14 @@ export declare const zCompanySchema: z.ZodObject<{
|
|
|
479
485
|
name: string;
|
|
480
486
|
hidden: boolean;
|
|
481
487
|
base?: boolean | undefined;
|
|
482
|
-
color?: string | undefined;
|
|
483
488
|
category?: string | null | undefined;
|
|
489
|
+
color?: string | undefined;
|
|
484
490
|
}, {
|
|
485
491
|
name: string;
|
|
486
492
|
hidden: boolean;
|
|
487
493
|
base?: boolean | undefined;
|
|
488
|
-
color?: string | undefined;
|
|
489
494
|
category?: string | null | undefined;
|
|
495
|
+
color?: string | undefined;
|
|
490
496
|
}>, "many">>>;
|
|
491
497
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
492
498
|
id: z.ZodString;
|
|
@@ -512,14 +518,14 @@ export declare const zCompanySchema: z.ZodObject<{
|
|
|
512
518
|
name: string;
|
|
513
519
|
hidden: boolean;
|
|
514
520
|
base?: boolean | undefined;
|
|
515
|
-
color?: string | undefined;
|
|
516
521
|
category?: string | null | undefined;
|
|
522
|
+
color?: string | undefined;
|
|
517
523
|
}, {
|
|
518
524
|
name: string;
|
|
519
525
|
hidden: boolean;
|
|
520
526
|
base?: boolean | undefined;
|
|
521
|
-
color?: string | undefined;
|
|
522
527
|
category?: string | null | undefined;
|
|
528
|
+
color?: string | undefined;
|
|
523
529
|
}>, "many">>>;
|
|
524
530
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
525
531
|
id: z.ZodString;
|
|
@@ -545,13 +551,13 @@ export declare const zCompanySchema: z.ZodObject<{
|
|
|
545
551
|
name: string;
|
|
546
552
|
hidden: boolean;
|
|
547
553
|
base?: boolean | undefined;
|
|
548
|
-
color?: string | undefined;
|
|
549
554
|
category?: string | null | undefined;
|
|
555
|
+
color?: string | undefined;
|
|
550
556
|
}, {
|
|
551
557
|
name: string;
|
|
552
558
|
hidden: boolean;
|
|
553
559
|
base?: boolean | undefined;
|
|
554
|
-
color?: string | undefined;
|
|
555
560
|
category?: string | null | undefined;
|
|
561
|
+
color?: string | undefined;
|
|
556
562
|
}>, "many">>>;
|
|
557
563
|
}, z.ZodTypeAny, "passthrough">>;
|
|
@@ -86,6 +86,8 @@ exports.zDepartmentSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocS
|
|
|
86
86
|
parent_departmentRef: zod_1.z.any(),
|
|
87
87
|
employee_counters: zod_1.z.any().optional(),
|
|
88
88
|
tags: zod_1.z.array(zod_schemas_1.zTagSchema).nullable().optional(),
|
|
89
|
+
chat_enabled: zod_1.z.boolean().optional(),
|
|
90
|
+
chat_color: zod_1.z.string().optional(),
|
|
89
91
|
})
|
|
90
92
|
.passthrough();
|
|
91
93
|
exports.zOfficeSchema = zod_schemas_1.zFireDocSchema // Extend from FireDocSchema
|
|
@@ -88,6 +88,8 @@ export const zDepartmentSchema = zFireDocSchema // Extend from FireDocSchema
|
|
|
88
88
|
parent_departmentRef: z.any(),
|
|
89
89
|
employee_counters: z.any().optional(),
|
|
90
90
|
tags: z.array(zTagSchema).nullable().optional(),
|
|
91
|
+
chat_enabled: z.boolean().optional(),
|
|
92
|
+
chat_color: z.string().optional(),
|
|
91
93
|
})
|
|
92
94
|
.passthrough();
|
|
93
95
|
|