@kl1/contracts 1.0.27 → 1.0.28
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/index.js +151 -118
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +151 -118
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +113 -113
- package/dist/src/activity-log/schema.d.ts +122 -122
- package/dist/src/auth/index.d.ts +89 -89
- package/dist/src/channel/index.d.ts +319 -319
- package/dist/src/channel/schema.d.ts +89 -92
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +89 -89
- package/dist/src/chat/index.d.ts +8699 -8699
- package/dist/src/chat/schema.d.ts +1486 -1486
- package/dist/src/chat/validation.d.ts +2244 -2244
- package/dist/src/comment/index.d.ts +1005 -1005
- package/dist/src/comment/schema.d.ts +283 -283
- package/dist/src/company/index.d.ts +28 -28
- package/dist/src/company/schema.d.ts +8 -8
- package/dist/src/company/validation.d.ts +15 -15
- package/dist/src/contact/index.d.ts +960 -960
- package/dist/src/contact/schema.d.ts +161 -161
- package/dist/src/contact/validation.d.ts +690 -690
- package/dist/src/contract.d.ts +18366 -18196
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +3 -3
- package/dist/src/cx-log/index.d.ts +1023 -1023
- package/dist/src/cx-log/schema.d.ts +837 -837
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/extension/index.d.ts +115 -115
- package/dist/src/extension/schema.d.ts +9 -9
- package/dist/src/mail/account-contract.d.ts +168 -168
- package/dist/src/mail/mail-contract.d.ts +3336 -3336
- package/dist/src/mail/message-contract.d.ts +152 -152
- package/dist/src/mail/room-contract.d.ts +3015 -3015
- package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
- package/dist/src/mail/schemas/account.schema.d.ts +33 -33
- package/dist/src/mail/schemas/message.schema.d.ts +108 -108
- package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
- package/dist/src/mail/schemas/room.schema.d.ts +791 -791
- package/dist/src/messenger/index.d.ts +1078 -1078
- package/dist/src/permission/index.d.ts +15 -15
- package/dist/src/permission/schema.d.ts +9 -9
- package/dist/src/role/index.d.ts +96 -96
- package/dist/src/role/schema.d.ts +24 -24
- package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
- package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
- package/dist/src/ticket/index.d.ts +288 -187
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +77 -77
- package/dist/src/ticket/validation.d.ts +66 -0
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +293 -293
- package/dist/src/user/schema.d.ts +63 -63
- package/dist/src/user-presence-status-log/index.d.ts +52 -52
- package/dist/src/user-presence-status-log/schema.d.ts +89 -89
- package/dist/src/widget/index.d.ts +72 -1
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,57 +1,57 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
export declare const ContactPhonesSchema: z.ZodObject<{
|
3
3
|
id: z.ZodString;
|
4
|
-
createdAt: z.
|
5
|
-
updatedAt: z.
|
6
|
-
deletedAt: z.ZodNullable<z.
|
4
|
+
createdAt: z.ZodString;
|
5
|
+
updatedAt: z.ZodString;
|
6
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
7
7
|
phone: z.ZodString;
|
8
8
|
isPrimary: z.ZodBoolean;
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
10
10
|
id: string;
|
11
11
|
isPrimary: boolean;
|
12
|
-
createdAt:
|
13
|
-
updatedAt:
|
14
|
-
deletedAt:
|
12
|
+
createdAt: string;
|
13
|
+
updatedAt: string;
|
14
|
+
deletedAt: string | null;
|
15
15
|
phone: string;
|
16
16
|
}, {
|
17
17
|
id: string;
|
18
18
|
isPrimary: boolean;
|
19
|
-
createdAt:
|
20
|
-
updatedAt:
|
21
|
-
deletedAt:
|
19
|
+
createdAt: string;
|
20
|
+
updatedAt: string;
|
21
|
+
deletedAt: string | null;
|
22
22
|
phone: string;
|
23
23
|
}>;
|
24
24
|
export declare const ContactEmailsSchema: z.ZodObject<{
|
25
25
|
id: z.ZodString;
|
26
|
-
createdAt: z.
|
27
|
-
updatedAt: z.
|
28
|
-
deletedAt: z.ZodNullable<z.
|
26
|
+
createdAt: z.ZodString;
|
27
|
+
updatedAt: z.ZodString;
|
28
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
29
29
|
email: z.ZodString;
|
30
30
|
isPrimary: z.ZodBoolean;
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
32
32
|
id: string;
|
33
33
|
isPrimary: boolean;
|
34
34
|
email: string;
|
35
|
-
createdAt:
|
36
|
-
updatedAt:
|
37
|
-
deletedAt:
|
35
|
+
createdAt: string;
|
36
|
+
updatedAt: string;
|
37
|
+
deletedAt: string | null;
|
38
38
|
}, {
|
39
39
|
id: string;
|
40
40
|
isPrimary: boolean;
|
41
41
|
email: string;
|
42
|
-
createdAt:
|
43
|
-
updatedAt:
|
44
|
-
deletedAt:
|
42
|
+
createdAt: string;
|
43
|
+
updatedAt: string;
|
44
|
+
deletedAt: string | null;
|
45
45
|
}>;
|
46
46
|
export declare const ContactCustomFieldSchema: z.ZodObject<{
|
47
47
|
id: z.ZodString;
|
48
|
-
createdAt: z.
|
49
|
-
updatedAt: z.
|
50
|
-
deletedAt: z.ZodNullable<z.
|
48
|
+
createdAt: z.ZodString;
|
49
|
+
updatedAt: z.ZodString;
|
50
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
51
51
|
textValue: z.ZodNullable<z.ZodString>;
|
52
52
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
53
53
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
54
|
-
dateValue: z.ZodNullable<z.
|
54
|
+
dateValue: z.ZodNullable<z.ZodString>;
|
55
55
|
attribute: z.ZodObject<Omit<{
|
56
56
|
id: z.ZodString;
|
57
57
|
createdAt: z.ZodString;
|
@@ -202,9 +202,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
202
202
|
}>, "many">;
|
203
203
|
}, "strip", z.ZodTypeAny, {
|
204
204
|
id: string;
|
205
|
-
createdAt:
|
206
|
-
updatedAt:
|
207
|
-
deletedAt:
|
205
|
+
createdAt: string;
|
206
|
+
updatedAt: string;
|
207
|
+
deletedAt: string | null;
|
208
208
|
attribute: {
|
209
209
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
210
210
|
id: string;
|
@@ -222,7 +222,7 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
222
222
|
textValue: string | null;
|
223
223
|
booleanValue: boolean | null;
|
224
224
|
numberValue: number | null;
|
225
|
-
dateValue:
|
225
|
+
dateValue: string | null;
|
226
226
|
uploads: {
|
227
227
|
id: string;
|
228
228
|
createdAt: string;
|
@@ -242,9 +242,9 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
242
242
|
}[];
|
243
243
|
}, {
|
244
244
|
id: string;
|
245
|
-
createdAt:
|
246
|
-
updatedAt:
|
247
|
-
deletedAt:
|
245
|
+
createdAt: string;
|
246
|
+
updatedAt: string;
|
247
|
+
deletedAt: string | null;
|
248
248
|
attribute: {
|
249
249
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
250
250
|
id: string;
|
@@ -262,7 +262,7 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
262
262
|
textValue: string | null;
|
263
263
|
booleanValue: boolean | null;
|
264
264
|
numberValue: number | null;
|
265
|
-
dateValue:
|
265
|
+
dateValue: string | null;
|
266
266
|
uploads: {
|
267
267
|
id: string;
|
268
268
|
createdAt: string;
|
@@ -283,91 +283,91 @@ export declare const ContactCustomFieldSchema: z.ZodObject<{
|
|
283
283
|
}>;
|
284
284
|
export declare const ContactEntityTypesSchema: z.ZodObject<{
|
285
285
|
id: z.ZodString;
|
286
|
-
createdAt: z.
|
287
|
-
updatedAt: z.
|
288
|
-
deletedAt: z.ZodNullable<z.
|
286
|
+
createdAt: z.ZodString;
|
287
|
+
updatedAt: z.ZodString;
|
288
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
289
289
|
entity: z.ZodString;
|
290
290
|
description: z.ZodNullable<z.ZodString>;
|
291
291
|
}, "strip", z.ZodTypeAny, {
|
292
292
|
id: string;
|
293
293
|
description: string | null;
|
294
|
-
createdAt:
|
295
|
-
updatedAt:
|
296
|
-
deletedAt:
|
294
|
+
createdAt: string;
|
295
|
+
updatedAt: string;
|
296
|
+
deletedAt: string | null;
|
297
297
|
entity: string;
|
298
298
|
}, {
|
299
299
|
id: string;
|
300
300
|
description: string | null;
|
301
|
-
createdAt:
|
302
|
-
updatedAt:
|
303
|
-
deletedAt:
|
301
|
+
createdAt: string;
|
302
|
+
updatedAt: string;
|
303
|
+
deletedAt: string | null;
|
304
304
|
entity: string;
|
305
305
|
}>;
|
306
306
|
export declare const ContactActivitySchema: z.ZodObject<{
|
307
307
|
id: z.ZodString;
|
308
|
-
createdAt: z.
|
309
|
-
updatedAt: z.
|
310
|
-
deletedAt: z.ZodNullable<z.
|
308
|
+
createdAt: z.ZodString;
|
309
|
+
updatedAt: z.ZodString;
|
310
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
311
311
|
entityId: z.ZodString;
|
312
312
|
description: z.ZodString;
|
313
313
|
entityType: z.ZodObject<{
|
314
314
|
id: z.ZodString;
|
315
|
-
createdAt: z.
|
316
|
-
updatedAt: z.
|
317
|
-
deletedAt: z.ZodNullable<z.
|
315
|
+
createdAt: z.ZodString;
|
316
|
+
updatedAt: z.ZodString;
|
317
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
318
318
|
entity: z.ZodString;
|
319
319
|
description: z.ZodNullable<z.ZodString>;
|
320
320
|
}, "strip", z.ZodTypeAny, {
|
321
321
|
id: string;
|
322
322
|
description: string | null;
|
323
|
-
createdAt:
|
324
|
-
updatedAt:
|
325
|
-
deletedAt:
|
323
|
+
createdAt: string;
|
324
|
+
updatedAt: string;
|
325
|
+
deletedAt: string | null;
|
326
326
|
entity: string;
|
327
327
|
}, {
|
328
328
|
id: string;
|
329
329
|
description: string | null;
|
330
|
-
createdAt:
|
331
|
-
updatedAt:
|
332
|
-
deletedAt:
|
330
|
+
createdAt: string;
|
331
|
+
updatedAt: string;
|
332
|
+
deletedAt: string | null;
|
333
333
|
entity: string;
|
334
334
|
}>;
|
335
335
|
}, "strip", z.ZodTypeAny, {
|
336
336
|
id: string;
|
337
337
|
description: string;
|
338
|
-
createdAt:
|
339
|
-
updatedAt:
|
340
|
-
deletedAt:
|
338
|
+
createdAt: string;
|
339
|
+
updatedAt: string;
|
340
|
+
deletedAt: string | null;
|
341
341
|
entityId: string;
|
342
342
|
entityType: {
|
343
343
|
id: string;
|
344
344
|
description: string | null;
|
345
|
-
createdAt:
|
346
|
-
updatedAt:
|
347
|
-
deletedAt:
|
345
|
+
createdAt: string;
|
346
|
+
updatedAt: string;
|
347
|
+
deletedAt: string | null;
|
348
348
|
entity: string;
|
349
349
|
};
|
350
350
|
}, {
|
351
351
|
id: string;
|
352
352
|
description: string;
|
353
|
-
createdAt:
|
354
|
-
updatedAt:
|
355
|
-
deletedAt:
|
353
|
+
createdAt: string;
|
354
|
+
updatedAt: string;
|
355
|
+
deletedAt: string | null;
|
356
356
|
entityId: string;
|
357
357
|
entityType: {
|
358
358
|
id: string;
|
359
359
|
description: string | null;
|
360
|
-
createdAt:
|
361
|
-
updatedAt:
|
362
|
-
deletedAt:
|
360
|
+
createdAt: string;
|
361
|
+
updatedAt: string;
|
362
|
+
deletedAt: string | null;
|
363
363
|
entity: string;
|
364
364
|
};
|
365
365
|
}>;
|
366
366
|
export declare const ContactSchema: z.ZodObject<{
|
367
367
|
id: z.ZodString;
|
368
|
-
createdAt: z.
|
369
|
-
updatedAt: z.
|
370
|
-
deletedAt: z.ZodNullable<z.
|
368
|
+
createdAt: z.ZodString;
|
369
|
+
updatedAt: z.ZodString;
|
370
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
371
371
|
name: z.ZodString;
|
372
372
|
address: z.ZodNullable<z.ZodString>;
|
373
373
|
channel: z.ZodNullable<z.ZodString>;
|
@@ -410,7 +410,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
410
410
|
textValue: z.ZodNullable<z.ZodString>;
|
411
411
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
412
412
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
413
|
-
dateValue: z.ZodNullable<z.
|
413
|
+
dateValue: z.ZodNullable<z.ZodString>;
|
414
414
|
attribute: z.ZodObject<Omit<{
|
415
415
|
id: z.ZodString;
|
416
416
|
createdAt: z.ZodString;
|
@@ -514,7 +514,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
514
514
|
textValue: string | null;
|
515
515
|
booleanValue: boolean | null;
|
516
516
|
numberValue: number | null;
|
517
|
-
dateValue:
|
517
|
+
dateValue: string | null;
|
518
518
|
}, {
|
519
519
|
id: string;
|
520
520
|
createdAt: string;
|
@@ -537,7 +537,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
537
537
|
textValue: string | null;
|
538
538
|
booleanValue: boolean | null;
|
539
539
|
numberValue: number | null;
|
540
|
-
dateValue:
|
540
|
+
dateValue: string | null;
|
541
541
|
}>, "many">>;
|
542
542
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
543
543
|
id: string;
|
@@ -560,13 +560,13 @@ export declare const ContactSchema: z.ZodObject<{
|
|
560
560
|
}>>;
|
561
561
|
customFields: z.ZodArray<z.ZodObject<{
|
562
562
|
id: z.ZodString;
|
563
|
-
createdAt: z.
|
564
|
-
updatedAt: z.
|
565
|
-
deletedAt: z.ZodNullable<z.
|
563
|
+
createdAt: z.ZodString;
|
564
|
+
updatedAt: z.ZodString;
|
565
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
566
566
|
textValue: z.ZodNullable<z.ZodString>;
|
567
567
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
568
568
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
569
|
-
dateValue: z.ZodNullable<z.
|
569
|
+
dateValue: z.ZodNullable<z.ZodString>;
|
570
570
|
attribute: z.ZodObject<Omit<{
|
571
571
|
id: z.ZodString;
|
572
572
|
createdAt: z.ZodString;
|
@@ -717,9 +717,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
717
717
|
}>, "many">;
|
718
718
|
}, "strip", z.ZodTypeAny, {
|
719
719
|
id: string;
|
720
|
-
createdAt:
|
721
|
-
updatedAt:
|
722
|
-
deletedAt:
|
720
|
+
createdAt: string;
|
721
|
+
updatedAt: string;
|
722
|
+
deletedAt: string | null;
|
723
723
|
attribute: {
|
724
724
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
725
725
|
id: string;
|
@@ -737,7 +737,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
737
737
|
textValue: string | null;
|
738
738
|
booleanValue: boolean | null;
|
739
739
|
numberValue: number | null;
|
740
|
-
dateValue:
|
740
|
+
dateValue: string | null;
|
741
741
|
uploads: {
|
742
742
|
id: string;
|
743
743
|
createdAt: string;
|
@@ -757,9 +757,9 @@ export declare const ContactSchema: z.ZodObject<{
|
|
757
757
|
}[];
|
758
758
|
}, {
|
759
759
|
id: string;
|
760
|
-
createdAt:
|
761
|
-
updatedAt:
|
762
|
-
deletedAt:
|
760
|
+
createdAt: string;
|
761
|
+
updatedAt: string;
|
762
|
+
deletedAt: string | null;
|
763
763
|
attribute: {
|
764
764
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
765
765
|
id: string;
|
@@ -777,7 +777,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
777
777
|
textValue: string | null;
|
778
778
|
booleanValue: boolean | null;
|
779
779
|
numberValue: number | null;
|
780
|
-
dateValue:
|
780
|
+
dateValue: string | null;
|
781
781
|
uploads: {
|
782
782
|
id: string;
|
783
783
|
createdAt: string;
|
@@ -798,105 +798,105 @@ export declare const ContactSchema: z.ZodObject<{
|
|
798
798
|
}>, "many">;
|
799
799
|
contactEmails: z.ZodArray<z.ZodObject<{
|
800
800
|
id: z.ZodString;
|
801
|
-
createdAt: z.
|
802
|
-
updatedAt: z.
|
803
|
-
deletedAt: z.ZodNullable<z.
|
801
|
+
createdAt: z.ZodString;
|
802
|
+
updatedAt: z.ZodString;
|
803
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
804
804
|
email: z.ZodString;
|
805
805
|
isPrimary: z.ZodBoolean;
|
806
806
|
}, "strip", z.ZodTypeAny, {
|
807
807
|
id: string;
|
808
808
|
isPrimary: boolean;
|
809
809
|
email: string;
|
810
|
-
createdAt:
|
811
|
-
updatedAt:
|
812
|
-
deletedAt:
|
810
|
+
createdAt: string;
|
811
|
+
updatedAt: string;
|
812
|
+
deletedAt: string | null;
|
813
813
|
}, {
|
814
814
|
id: string;
|
815
815
|
isPrimary: boolean;
|
816
816
|
email: string;
|
817
|
-
createdAt:
|
818
|
-
updatedAt:
|
819
|
-
deletedAt:
|
817
|
+
createdAt: string;
|
818
|
+
updatedAt: string;
|
819
|
+
deletedAt: string | null;
|
820
820
|
}>, "many">;
|
821
821
|
contactPhones: z.ZodArray<z.ZodObject<{
|
822
822
|
id: z.ZodString;
|
823
|
-
createdAt: z.
|
824
|
-
updatedAt: z.
|
825
|
-
deletedAt: z.ZodNullable<z.
|
823
|
+
createdAt: z.ZodString;
|
824
|
+
updatedAt: z.ZodString;
|
825
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
826
826
|
phone: z.ZodString;
|
827
827
|
isPrimary: z.ZodBoolean;
|
828
828
|
}, "strip", z.ZodTypeAny, {
|
829
829
|
id: string;
|
830
830
|
isPrimary: boolean;
|
831
|
-
createdAt:
|
832
|
-
updatedAt:
|
833
|
-
deletedAt:
|
831
|
+
createdAt: string;
|
832
|
+
updatedAt: string;
|
833
|
+
deletedAt: string | null;
|
834
834
|
phone: string;
|
835
835
|
}, {
|
836
836
|
id: string;
|
837
837
|
isPrimary: boolean;
|
838
|
-
createdAt:
|
839
|
-
updatedAt:
|
840
|
-
deletedAt:
|
838
|
+
createdAt: string;
|
839
|
+
updatedAt: string;
|
840
|
+
deletedAt: string | null;
|
841
841
|
phone: string;
|
842
842
|
}>, "many">;
|
843
843
|
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
844
844
|
id: z.ZodString;
|
845
|
-
createdAt: z.
|
846
|
-
updatedAt: z.
|
847
|
-
deletedAt: z.ZodNullable<z.
|
845
|
+
createdAt: z.ZodString;
|
846
|
+
updatedAt: z.ZodString;
|
847
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
848
848
|
entityId: z.ZodString;
|
849
849
|
description: z.ZodString;
|
850
850
|
entityType: z.ZodObject<{
|
851
851
|
id: z.ZodString;
|
852
|
-
createdAt: z.
|
853
|
-
updatedAt: z.
|
854
|
-
deletedAt: z.ZodNullable<z.
|
852
|
+
createdAt: z.ZodString;
|
853
|
+
updatedAt: z.ZodString;
|
854
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
855
855
|
entity: z.ZodString;
|
856
856
|
description: z.ZodNullable<z.ZodString>;
|
857
857
|
}, "strip", z.ZodTypeAny, {
|
858
858
|
id: string;
|
859
859
|
description: string | null;
|
860
|
-
createdAt:
|
861
|
-
updatedAt:
|
862
|
-
deletedAt:
|
860
|
+
createdAt: string;
|
861
|
+
updatedAt: string;
|
862
|
+
deletedAt: string | null;
|
863
863
|
entity: string;
|
864
864
|
}, {
|
865
865
|
id: string;
|
866
866
|
description: string | null;
|
867
|
-
createdAt:
|
868
|
-
updatedAt:
|
869
|
-
deletedAt:
|
867
|
+
createdAt: string;
|
868
|
+
updatedAt: string;
|
869
|
+
deletedAt: string | null;
|
870
870
|
entity: string;
|
871
871
|
}>;
|
872
872
|
}, "strip", z.ZodTypeAny, {
|
873
873
|
id: string;
|
874
874
|
description: string;
|
875
|
-
createdAt:
|
876
|
-
updatedAt:
|
877
|
-
deletedAt:
|
875
|
+
createdAt: string;
|
876
|
+
updatedAt: string;
|
877
|
+
deletedAt: string | null;
|
878
878
|
entityId: string;
|
879
879
|
entityType: {
|
880
880
|
id: string;
|
881
881
|
description: string | null;
|
882
|
-
createdAt:
|
883
|
-
updatedAt:
|
884
|
-
deletedAt:
|
882
|
+
createdAt: string;
|
883
|
+
updatedAt: string;
|
884
|
+
deletedAt: string | null;
|
885
885
|
entity: string;
|
886
886
|
};
|
887
887
|
}, {
|
888
888
|
id: string;
|
889
889
|
description: string;
|
890
|
-
createdAt:
|
891
|
-
updatedAt:
|
892
|
-
deletedAt:
|
890
|
+
createdAt: string;
|
891
|
+
updatedAt: string;
|
892
|
+
deletedAt: string | null;
|
893
893
|
entityId: string;
|
894
894
|
entityType: {
|
895
895
|
id: string;
|
896
896
|
description: string | null;
|
897
|
-
createdAt:
|
898
|
-
updatedAt:
|
899
|
-
deletedAt:
|
897
|
+
createdAt: string;
|
898
|
+
updatedAt: string;
|
899
|
+
deletedAt: string | null;
|
900
900
|
entity: string;
|
901
901
|
};
|
902
902
|
}>, "many">>;
|
@@ -905,14 +905,14 @@ export declare const ContactSchema: z.ZodObject<{
|
|
905
905
|
channel: string | null;
|
906
906
|
address: string | null;
|
907
907
|
name: string;
|
908
|
-
createdAt:
|
909
|
-
updatedAt:
|
910
|
-
deletedAt:
|
908
|
+
createdAt: string;
|
909
|
+
updatedAt: string;
|
910
|
+
deletedAt: string | null;
|
911
911
|
customFields: {
|
912
912
|
id: string;
|
913
|
-
createdAt:
|
914
|
-
updatedAt:
|
915
|
-
deletedAt:
|
913
|
+
createdAt: string;
|
914
|
+
updatedAt: string;
|
915
|
+
deletedAt: string | null;
|
916
916
|
attribute: {
|
917
917
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
918
918
|
id: string;
|
@@ -930,7 +930,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
930
930
|
textValue: string | null;
|
931
931
|
booleanValue: boolean | null;
|
932
932
|
numberValue: number | null;
|
933
|
-
dateValue:
|
933
|
+
dateValue: string | null;
|
934
934
|
uploads: {
|
935
935
|
id: string;
|
936
936
|
createdAt: string;
|
@@ -973,31 +973,31 @@ export declare const ContactSchema: z.ZodObject<{
|
|
973
973
|
id: string;
|
974
974
|
isPrimary: boolean;
|
975
975
|
email: string;
|
976
|
-
createdAt:
|
977
|
-
updatedAt:
|
978
|
-
deletedAt:
|
976
|
+
createdAt: string;
|
977
|
+
updatedAt: string;
|
978
|
+
deletedAt: string | null;
|
979
979
|
}[];
|
980
980
|
contactPhones: {
|
981
981
|
id: string;
|
982
982
|
isPrimary: boolean;
|
983
|
-
createdAt:
|
984
|
-
updatedAt:
|
985
|
-
deletedAt:
|
983
|
+
createdAt: string;
|
984
|
+
updatedAt: string;
|
985
|
+
deletedAt: string | null;
|
986
986
|
phone: string;
|
987
987
|
}[];
|
988
988
|
activityLogs?: {
|
989
989
|
id: string;
|
990
990
|
description: string;
|
991
|
-
createdAt:
|
992
|
-
updatedAt:
|
993
|
-
deletedAt:
|
991
|
+
createdAt: string;
|
992
|
+
updatedAt: string;
|
993
|
+
deletedAt: string | null;
|
994
994
|
entityId: string;
|
995
995
|
entityType: {
|
996
996
|
id: string;
|
997
997
|
description: string | null;
|
998
|
-
createdAt:
|
999
|
-
updatedAt:
|
1000
|
-
deletedAt:
|
998
|
+
createdAt: string;
|
999
|
+
updatedAt: string;
|
1000
|
+
deletedAt: string | null;
|
1001
1001
|
entity: string;
|
1002
1002
|
};
|
1003
1003
|
}[] | undefined;
|
@@ -1006,14 +1006,14 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1006
1006
|
channel: string | null;
|
1007
1007
|
address: string | null;
|
1008
1008
|
name: string;
|
1009
|
-
createdAt:
|
1010
|
-
updatedAt:
|
1011
|
-
deletedAt:
|
1009
|
+
createdAt: string;
|
1010
|
+
updatedAt: string;
|
1011
|
+
deletedAt: string | null;
|
1012
1012
|
customFields: {
|
1013
1013
|
id: string;
|
1014
|
-
createdAt:
|
1015
|
-
updatedAt:
|
1016
|
-
deletedAt:
|
1014
|
+
createdAt: string;
|
1015
|
+
updatedAt: string;
|
1016
|
+
deletedAt: string | null;
|
1017
1017
|
attribute: {
|
1018
1018
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1019
1019
|
id: string;
|
@@ -1031,7 +1031,7 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1031
1031
|
textValue: string | null;
|
1032
1032
|
booleanValue: boolean | null;
|
1033
1033
|
numberValue: number | null;
|
1034
|
-
dateValue:
|
1034
|
+
dateValue: string | null;
|
1035
1035
|
uploads: {
|
1036
1036
|
id: string;
|
1037
1037
|
createdAt: string;
|
@@ -1074,31 +1074,31 @@ export declare const ContactSchema: z.ZodObject<{
|
|
1074
1074
|
id: string;
|
1075
1075
|
isPrimary: boolean;
|
1076
1076
|
email: string;
|
1077
|
-
createdAt:
|
1078
|
-
updatedAt:
|
1079
|
-
deletedAt:
|
1077
|
+
createdAt: string;
|
1078
|
+
updatedAt: string;
|
1079
|
+
deletedAt: string | null;
|
1080
1080
|
}[];
|
1081
1081
|
contactPhones: {
|
1082
1082
|
id: string;
|
1083
1083
|
isPrimary: boolean;
|
1084
|
-
createdAt:
|
1085
|
-
updatedAt:
|
1086
|
-
deletedAt:
|
1084
|
+
createdAt: string;
|
1085
|
+
updatedAt: string;
|
1086
|
+
deletedAt: string | null;
|
1087
1087
|
phone: string;
|
1088
1088
|
}[];
|
1089
1089
|
activityLogs?: {
|
1090
1090
|
id: string;
|
1091
1091
|
description: string;
|
1092
|
-
createdAt:
|
1093
|
-
updatedAt:
|
1094
|
-
deletedAt:
|
1092
|
+
createdAt: string;
|
1093
|
+
updatedAt: string;
|
1094
|
+
deletedAt: string | null;
|
1095
1095
|
entityId: string;
|
1096
1096
|
entityType: {
|
1097
1097
|
id: string;
|
1098
1098
|
description: string | null;
|
1099
|
-
createdAt:
|
1100
|
-
updatedAt:
|
1101
|
-
deletedAt:
|
1099
|
+
createdAt: string;
|
1100
|
+
updatedAt: string;
|
1101
|
+
deletedAt: string | null;
|
1102
1102
|
entity: string;
|
1103
1103
|
};
|
1104
1104
|
}[] | undefined;
|