@kl1/contracts 1.0.28 → 1.0.29

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 (92) hide show
  1. package/dist/index.js +179 -124
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +178 -124
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/app/index.d.ts +17 -0
  8. package/dist/src/app/index.d.ts.map +1 -0
  9. package/dist/src/attribute/index.d.ts +108 -108
  10. package/dist/src/attribute/schema.d.ts +24 -24
  11. package/dist/src/attribute-option/schema.d.ts +9 -9
  12. package/dist/src/auth/index.d.ts +89 -89
  13. package/dist/src/base-contract.d.ts +9 -9
  14. package/dist/src/call-log/schema.d.ts +9 -9
  15. package/dist/src/category/index.d.ts +42 -42
  16. package/dist/src/category/schema.d.ts +9 -9
  17. package/dist/src/channel/index.d.ts +357 -357
  18. package/dist/src/channel/schema.d.ts +101 -98
  19. package/dist/src/channel/schema.d.ts.map +1 -1
  20. package/dist/src/channel/validation.d.ts +89 -89
  21. package/dist/src/chat/index.d.ts +13187 -13187
  22. package/dist/src/chat/schema.d.ts +2360 -2360
  23. package/dist/src/chat/validation.d.ts +3251 -3251
  24. package/dist/src/comment/index.d.ts +1368 -1368
  25. package/dist/src/comment/schema.d.ts +388 -388
  26. package/dist/src/company/index.d.ts +316 -316
  27. package/dist/src/company/schema.d.ts +95 -95
  28. package/dist/src/company/validation.d.ts +177 -177
  29. package/dist/src/contact/index.d.ts +2171 -2171
  30. package/dist/src/contact/schema.d.ts +362 -362
  31. package/dist/src/contact/validation.d.ts +1685 -1685
  32. package/dist/src/contact-email/schema.d.ts +9 -9
  33. package/dist/src/contact-phone/schema.d.ts +9 -9
  34. package/dist/src/contract.d.ts +26474 -26668
  35. package/dist/src/contract.d.ts.map +1 -1
  36. package/dist/src/custom-field/schema.d.ts +12 -12
  37. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  38. package/dist/src/cx-log/index.d.ts +1644 -1644
  39. package/dist/src/cx-log/schema.d.ts +1400 -1400
  40. package/dist/src/evaluate-form/index.d.ts +47 -0
  41. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  42. package/dist/src/evaluate-form/schema.d.ts +9 -9
  43. package/dist/src/evaluate-form/validation.d.ts +28 -0
  44. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  45. package/dist/src/extension/index.d.ts +115 -115
  46. package/dist/src/extension/schema.d.ts +9 -9
  47. package/dist/src/group/schema.d.ts +9 -9
  48. package/dist/src/index.d.ts +1 -0
  49. package/dist/src/index.d.ts.map +1 -1
  50. package/dist/src/log-form/schema.d.ts +9 -9
  51. package/dist/src/mail/account-contract.d.ts +168 -168
  52. package/dist/src/mail/mail-contract.d.ts +3398 -3398
  53. package/dist/src/mail/mail-server.d.ts +216 -0
  54. package/dist/src/mail/mail-server.d.ts.map +1 -0
  55. package/dist/src/mail/message-contract.d.ts +152 -152
  56. package/dist/src/mail/room-contract.d.ts +3078 -3078
  57. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  58. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  59. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  60. package/dist/src/mail/schemas/room-validation.schema.d.ts +1014 -1014
  61. package/dist/src/mail/schemas/room.schema.d.ts +816 -816
  62. package/dist/src/messenger/index.d.ts +1569 -1569
  63. package/dist/src/permission/index.d.ts +15 -15
  64. package/dist/src/permission/schema.d.ts +9 -9
  65. package/dist/src/platform-contact/schema.d.ts +30 -0
  66. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  67. package/dist/src/role/index.d.ts +96 -96
  68. package/dist/src/role/schema.d.ts +24 -24
  69. package/dist/src/tag/index.d.ts +45 -45
  70. package/dist/src/tag/schema.d.ts +9 -9
  71. package/dist/src/tag-group/schema.d.ts +9 -9
  72. package/dist/src/telephony-agent-presence-status/index.d.ts +386 -386
  73. package/dist/src/telephony-agent-presence-status/schema.d.ts +122 -122
  74. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  75. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  76. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  77. package/dist/src/tenant/schema.d.ts +9 -9
  78. package/dist/src/ticket/index.d.ts +858 -1094
  79. package/dist/src/ticket/index.d.ts.map +1 -1
  80. package/dist/src/ticket/schema.d.ts +212 -212
  81. package/dist/src/ticket/validation.d.ts +102 -338
  82. package/dist/src/ticket/validation.d.ts.map +1 -1
  83. package/dist/src/upload/schema.d.ts +9 -9
  84. package/dist/src/user/index.d.ts +293 -293
  85. package/dist/src/user/schema.d.ts +63 -63
  86. package/dist/src/user-presence-status-log/index.d.ts +88 -88
  87. package/dist/src/user-presence-status-log/schema.d.ts +128 -128
  88. package/dist/src/widget/index.d.ts +78 -78
  89. package/dist/src/widget/schema.d.ts +9 -9
  90. package/dist/src/wrap-up-form/index.d.ts +96 -96
  91. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  92. package/package.json +10 -4
@@ -9,26 +9,26 @@ export declare const permissionContract: {
9
9
  200: z.ZodObject<{
10
10
  permissions: z.ZodArray<z.ZodObject<{
11
11
  id: z.ZodString;
12
- createdAt: z.ZodString;
13
- updatedAt: z.ZodString;
14
- deletedAt: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodDate;
13
+ updatedAt: z.ZodDate;
14
+ deletedAt: z.ZodNullable<z.ZodDate>;
15
15
  systemName: z.ZodString;
16
16
  displayName: z.ZodString;
17
17
  description: z.ZodNullable<z.ZodString>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  id: string;
20
20
  description: string | null;
21
- createdAt: string;
22
- updatedAt: string;
23
- deletedAt: string | null;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ deletedAt: Date | null;
24
24
  systemName: string;
25
25
  displayName: string;
26
26
  }, {
27
27
  id: string;
28
28
  description: string | null;
29
- createdAt: string;
30
- updatedAt: string;
31
- deletedAt: string | null;
29
+ createdAt: Date;
30
+ updatedAt: Date;
31
+ deletedAt: Date | null;
32
32
  systemName: string;
33
33
  displayName: string;
34
34
  }>, "many">;
@@ -36,9 +36,9 @@ export declare const permissionContract: {
36
36
  permissions: {
37
37
  id: string;
38
38
  description: string | null;
39
- createdAt: string;
40
- updatedAt: string;
41
- deletedAt: string | null;
39
+ createdAt: Date;
40
+ updatedAt: Date;
41
+ deletedAt: Date | null;
42
42
  systemName: string;
43
43
  displayName: string;
44
44
  }[];
@@ -46,9 +46,9 @@ export declare const permissionContract: {
46
46
  permissions: {
47
47
  id: string;
48
48
  description: string | null;
49
- createdAt: string;
50
- updatedAt: string;
51
- deletedAt: string | null;
49
+ createdAt: Date;
50
+ updatedAt: Date;
51
+ deletedAt: Date | null;
52
52
  systemName: string;
53
53
  displayName: string;
54
54
  }[];
@@ -1,26 +1,26 @@
1
1
  import z from 'zod';
2
2
  export declare const PermissionSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodString;
5
- updatedAt: z.ZodString;
6
- deletedAt: z.ZodNullable<z.ZodString>;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  systemName: z.ZodString;
8
8
  displayName: z.ZodString;
9
9
  description: z.ZodNullable<z.ZodString>;
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  id: string;
12
12
  description: string | null;
13
- createdAt: string;
14
- updatedAt: string;
15
- deletedAt: string | null;
13
+ createdAt: Date;
14
+ updatedAt: Date;
15
+ deletedAt: Date | null;
16
16
  systemName: string;
17
17
  displayName: string;
18
18
  }, {
19
19
  id: string;
20
20
  description: string | null;
21
- createdAt: string;
22
- updatedAt: string;
23
- deletedAt: string | null;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ deletedAt: Date | null;
24
24
  systemName: string;
25
25
  displayName: string;
26
26
  }>;
@@ -0,0 +1,30 @@
1
+ import z from 'zod';
2
+ export declare const PlatformContactSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
+ contactId: z.ZodString;
8
+ channelId: z.ZodString;
9
+ config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
10
+ type: z.ZodString;
11
+ }, "strip", z.ZodTypeAny, {
12
+ type: string;
13
+ id: string;
14
+ createdAt: Date;
15
+ updatedAt: Date;
16
+ deletedAt: Date | null;
17
+ contactId: string;
18
+ channelId: string;
19
+ config: {};
20
+ }, {
21
+ type: string;
22
+ id: string;
23
+ createdAt: Date;
24
+ updatedAt: Date;
25
+ deletedAt: Date | null;
26
+ contactId: string;
27
+ channelId: string;
28
+ config: {};
29
+ }>;
30
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/platform-contact/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC"}
@@ -27,68 +27,68 @@ export declare const roleContract: {
27
27
  requestId: z.ZodString;
28
28
  role: z.ZodObject<{
29
29
  id: z.ZodString;
30
- createdAt: z.ZodString;
31
- updatedAt: z.ZodString;
32
- deletedAt: z.ZodNullable<z.ZodString>;
30
+ createdAt: z.ZodDate;
31
+ updatedAt: z.ZodDate;
32
+ deletedAt: z.ZodNullable<z.ZodDate>;
33
33
  systemName: z.ZodString;
34
34
  displayName: z.ZodString;
35
35
  description: z.ZodNullable<z.ZodString>;
36
36
  permissions: z.ZodArray<z.ZodObject<{
37
37
  id: z.ZodString;
38
- createdAt: z.ZodString;
39
- updatedAt: z.ZodString;
40
- deletedAt: z.ZodNullable<z.ZodString>;
38
+ createdAt: z.ZodDate;
39
+ updatedAt: z.ZodDate;
40
+ deletedAt: z.ZodNullable<z.ZodDate>;
41
41
  systemName: z.ZodString;
42
42
  displayName: z.ZodString;
43
43
  description: z.ZodNullable<z.ZodString>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  id: string;
46
46
  description: string | null;
47
- createdAt: string;
48
- updatedAt: string;
49
- deletedAt: string | null;
47
+ createdAt: Date;
48
+ updatedAt: Date;
49
+ deletedAt: Date | null;
50
50
  systemName: string;
51
51
  displayName: string;
52
52
  }, {
53
53
  id: string;
54
54
  description: string | null;
55
- createdAt: string;
56
- updatedAt: string;
57
- deletedAt: string | null;
55
+ createdAt: Date;
56
+ updatedAt: Date;
57
+ deletedAt: Date | null;
58
58
  systemName: string;
59
59
  displayName: string;
60
60
  }>, "many">;
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  id: string;
63
63
  description: string | null;
64
- createdAt: string;
65
- updatedAt: string;
66
- deletedAt: string | null;
64
+ createdAt: Date;
65
+ updatedAt: Date;
66
+ deletedAt: Date | null;
67
67
  systemName: string;
68
68
  displayName: string;
69
69
  permissions: {
70
70
  id: string;
71
71
  description: string | null;
72
- createdAt: string;
73
- updatedAt: string;
74
- deletedAt: string | null;
72
+ createdAt: Date;
73
+ updatedAt: Date;
74
+ deletedAt: Date | null;
75
75
  systemName: string;
76
76
  displayName: string;
77
77
  }[];
78
78
  }, {
79
79
  id: string;
80
80
  description: string | null;
81
- createdAt: string;
82
- updatedAt: string;
83
- deletedAt: string | null;
81
+ createdAt: Date;
82
+ updatedAt: Date;
83
+ deletedAt: Date | null;
84
84
  systemName: string;
85
85
  displayName: string;
86
86
  permissions: {
87
87
  id: string;
88
88
  description: string | null;
89
- createdAt: string;
90
- updatedAt: string;
91
- deletedAt: string | null;
89
+ createdAt: Date;
90
+ updatedAt: Date;
91
+ deletedAt: Date | null;
92
92
  systemName: string;
93
93
  displayName: string;
94
94
  }[];
@@ -97,17 +97,17 @@ export declare const roleContract: {
97
97
  role: {
98
98
  id: string;
99
99
  description: string | null;
100
- createdAt: string;
101
- updatedAt: string;
102
- deletedAt: string | null;
100
+ createdAt: Date;
101
+ updatedAt: Date;
102
+ deletedAt: Date | null;
103
103
  systemName: string;
104
104
  displayName: string;
105
105
  permissions: {
106
106
  id: string;
107
107
  description: string | null;
108
- createdAt: string;
109
- updatedAt: string;
110
- deletedAt: string | null;
108
+ createdAt: Date;
109
+ updatedAt: Date;
110
+ deletedAt: Date | null;
111
111
  systemName: string;
112
112
  displayName: string;
113
113
  }[];
@@ -117,17 +117,17 @@ export declare const roleContract: {
117
117
  role: {
118
118
  id: string;
119
119
  description: string | null;
120
- createdAt: string;
121
- updatedAt: string;
122
- deletedAt: string | null;
120
+ createdAt: Date;
121
+ updatedAt: Date;
122
+ deletedAt: Date | null;
123
123
  systemName: string;
124
124
  displayName: string;
125
125
  permissions: {
126
126
  id: string;
127
127
  description: string | null;
128
- createdAt: string;
129
- updatedAt: string;
130
- deletedAt: string | null;
128
+ createdAt: Date;
129
+ updatedAt: Date;
130
+ deletedAt: Date | null;
131
131
  systemName: string;
132
132
  displayName: string;
133
133
  }[];
@@ -202,34 +202,34 @@ export declare const roleContract: {
202
202
  data: z.ZodArray<z.ZodType<{
203
203
  id: string;
204
204
  description: string | null;
205
- createdAt: string;
206
- updatedAt: string;
207
- deletedAt: string | null;
205
+ createdAt: Date;
206
+ updatedAt: Date;
207
+ deletedAt: Date | null;
208
208
  systemName: string;
209
209
  displayName: string;
210
210
  permissions: {
211
211
  id: string;
212
212
  description: string | null;
213
- createdAt: string;
214
- updatedAt: string;
215
- deletedAt: string | null;
213
+ createdAt: Date;
214
+ updatedAt: Date;
215
+ deletedAt: Date | null;
216
216
  systemName: string;
217
217
  displayName: string;
218
218
  }[];
219
219
  }, z.ZodTypeDef, {
220
220
  id: string;
221
221
  description: string | null;
222
- createdAt: string;
223
- updatedAt: string;
224
- deletedAt: string | null;
222
+ createdAt: Date;
223
+ updatedAt: Date;
224
+ deletedAt: Date | null;
225
225
  systemName: string;
226
226
  displayName: string;
227
227
  permissions: {
228
228
  id: string;
229
229
  description: string | null;
230
- createdAt: string;
231
- updatedAt: string;
232
- deletedAt: string | null;
230
+ createdAt: Date;
231
+ updatedAt: Date;
232
+ deletedAt: Date | null;
233
233
  systemName: string;
234
234
  displayName: string;
235
235
  }[];
@@ -238,17 +238,17 @@ export declare const roleContract: {
238
238
  data: {
239
239
  id: string;
240
240
  description: string | null;
241
- createdAt: string;
242
- updatedAt: string;
243
- deletedAt: string | null;
241
+ createdAt: Date;
242
+ updatedAt: Date;
243
+ deletedAt: Date | null;
244
244
  systemName: string;
245
245
  displayName: string;
246
246
  permissions: {
247
247
  id: string;
248
248
  description: string | null;
249
- createdAt: string;
250
- updatedAt: string;
251
- deletedAt: string | null;
249
+ createdAt: Date;
250
+ updatedAt: Date;
251
+ deletedAt: Date | null;
252
252
  systemName: string;
253
253
  displayName: string;
254
254
  }[];
@@ -261,17 +261,17 @@ export declare const roleContract: {
261
261
  data: {
262
262
  id: string;
263
263
  description: string | null;
264
- createdAt: string;
265
- updatedAt: string;
266
- deletedAt: string | null;
264
+ createdAt: Date;
265
+ updatedAt: Date;
266
+ deletedAt: Date | null;
267
267
  systemName: string;
268
268
  displayName: string;
269
269
  permissions: {
270
270
  id: string;
271
271
  description: string | null;
272
- createdAt: string;
273
- updatedAt: string;
274
- deletedAt: string | null;
272
+ createdAt: Date;
273
+ updatedAt: Date;
274
+ deletedAt: Date | null;
275
275
  systemName: string;
276
276
  displayName: string;
277
277
  }[];
@@ -358,68 +358,68 @@ export declare const roleContract: {
358
358
  requestId: z.ZodString;
359
359
  role: z.ZodObject<{
360
360
  id: z.ZodString;
361
- createdAt: z.ZodString;
362
- updatedAt: z.ZodString;
363
- deletedAt: z.ZodNullable<z.ZodString>;
361
+ createdAt: z.ZodDate;
362
+ updatedAt: z.ZodDate;
363
+ deletedAt: z.ZodNullable<z.ZodDate>;
364
364
  systemName: z.ZodString;
365
365
  displayName: z.ZodString;
366
366
  description: z.ZodNullable<z.ZodString>;
367
367
  permissions: z.ZodArray<z.ZodObject<{
368
368
  id: z.ZodString;
369
- createdAt: z.ZodString;
370
- updatedAt: z.ZodString;
371
- deletedAt: z.ZodNullable<z.ZodString>;
369
+ createdAt: z.ZodDate;
370
+ updatedAt: z.ZodDate;
371
+ deletedAt: z.ZodNullable<z.ZodDate>;
372
372
  systemName: z.ZodString;
373
373
  displayName: z.ZodString;
374
374
  description: z.ZodNullable<z.ZodString>;
375
375
  }, "strip", z.ZodTypeAny, {
376
376
  id: string;
377
377
  description: string | null;
378
- createdAt: string;
379
- updatedAt: string;
380
- deletedAt: string | null;
378
+ createdAt: Date;
379
+ updatedAt: Date;
380
+ deletedAt: Date | null;
381
381
  systemName: string;
382
382
  displayName: string;
383
383
  }, {
384
384
  id: string;
385
385
  description: string | null;
386
- createdAt: string;
387
- updatedAt: string;
388
- deletedAt: string | null;
386
+ createdAt: Date;
387
+ updatedAt: Date;
388
+ deletedAt: Date | null;
389
389
  systemName: string;
390
390
  displayName: string;
391
391
  }>, "many">;
392
392
  }, "strip", z.ZodTypeAny, {
393
393
  id: string;
394
394
  description: string | null;
395
- createdAt: string;
396
- updatedAt: string;
397
- deletedAt: string | null;
395
+ createdAt: Date;
396
+ updatedAt: Date;
397
+ deletedAt: Date | null;
398
398
  systemName: string;
399
399
  displayName: string;
400
400
  permissions: {
401
401
  id: string;
402
402
  description: string | null;
403
- createdAt: string;
404
- updatedAt: string;
405
- deletedAt: string | null;
403
+ createdAt: Date;
404
+ updatedAt: Date;
405
+ deletedAt: Date | null;
406
406
  systemName: string;
407
407
  displayName: string;
408
408
  }[];
409
409
  }, {
410
410
  id: string;
411
411
  description: string | null;
412
- createdAt: string;
413
- updatedAt: string;
414
- deletedAt: string | null;
412
+ createdAt: Date;
413
+ updatedAt: Date;
414
+ deletedAt: Date | null;
415
415
  systemName: string;
416
416
  displayName: string;
417
417
  permissions: {
418
418
  id: string;
419
419
  description: string | null;
420
- createdAt: string;
421
- updatedAt: string;
422
- deletedAt: string | null;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
423
  systemName: string;
424
424
  displayName: string;
425
425
  }[];
@@ -428,17 +428,17 @@ export declare const roleContract: {
428
428
  role: {
429
429
  id: string;
430
430
  description: string | null;
431
- createdAt: string;
432
- updatedAt: string;
433
- deletedAt: string | null;
431
+ createdAt: Date;
432
+ updatedAt: Date;
433
+ deletedAt: Date | null;
434
434
  systemName: string;
435
435
  displayName: string;
436
436
  permissions: {
437
437
  id: string;
438
438
  description: string | null;
439
- createdAt: string;
440
- updatedAt: string;
441
- deletedAt: string | null;
439
+ createdAt: Date;
440
+ updatedAt: Date;
441
+ deletedAt: Date | null;
442
442
  systemName: string;
443
443
  displayName: string;
444
444
  }[];
@@ -448,17 +448,17 @@ export declare const roleContract: {
448
448
  role: {
449
449
  id: string;
450
450
  description: string | null;
451
- createdAt: string;
452
- updatedAt: string;
453
- deletedAt: string | null;
451
+ createdAt: Date;
452
+ updatedAt: Date;
453
+ deletedAt: Date | null;
454
454
  systemName: string;
455
455
  displayName: string;
456
456
  permissions: {
457
457
  id: string;
458
458
  description: string | null;
459
- createdAt: string;
460
- updatedAt: string;
461
- deletedAt: string | null;
459
+ createdAt: Date;
460
+ updatedAt: Date;
461
+ deletedAt: Date | null;
462
462
  systemName: string;
463
463
  displayName: string;
464
464
  }[];
@@ -1,68 +1,68 @@
1
1
  import z from 'zod';
2
2
  export declare const RoleSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- createdAt: z.ZodString;
5
- updatedAt: z.ZodString;
6
- deletedAt: z.ZodNullable<z.ZodString>;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
7
7
  systemName: z.ZodString;
8
8
  displayName: z.ZodString;
9
9
  description: z.ZodNullable<z.ZodString>;
10
10
  permissions: z.ZodArray<z.ZodObject<{
11
11
  id: z.ZodString;
12
- createdAt: z.ZodString;
13
- updatedAt: z.ZodString;
14
- deletedAt: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodDate;
13
+ updatedAt: z.ZodDate;
14
+ deletedAt: z.ZodNullable<z.ZodDate>;
15
15
  systemName: z.ZodString;
16
16
  displayName: z.ZodString;
17
17
  description: z.ZodNullable<z.ZodString>;
18
18
  }, "strip", z.ZodTypeAny, {
19
19
  id: string;
20
20
  description: string | null;
21
- createdAt: string;
22
- updatedAt: string;
23
- deletedAt: string | null;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ deletedAt: Date | null;
24
24
  systemName: string;
25
25
  displayName: string;
26
26
  }, {
27
27
  id: string;
28
28
  description: string | null;
29
- createdAt: string;
30
- updatedAt: string;
31
- deletedAt: string | null;
29
+ createdAt: Date;
30
+ updatedAt: Date;
31
+ deletedAt: Date | null;
32
32
  systemName: string;
33
33
  displayName: string;
34
34
  }>, "many">;
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  id: string;
37
37
  description: string | null;
38
- createdAt: string;
39
- updatedAt: string;
40
- deletedAt: string | null;
38
+ createdAt: Date;
39
+ updatedAt: Date;
40
+ deletedAt: Date | null;
41
41
  systemName: string;
42
42
  displayName: string;
43
43
  permissions: {
44
44
  id: string;
45
45
  description: string | null;
46
- createdAt: string;
47
- updatedAt: string;
48
- deletedAt: string | null;
46
+ createdAt: Date;
47
+ updatedAt: Date;
48
+ deletedAt: Date | null;
49
49
  systemName: string;
50
50
  displayName: string;
51
51
  }[];
52
52
  }, {
53
53
  id: string;
54
54
  description: string | null;
55
- createdAt: string;
56
- updatedAt: string;
57
- deletedAt: string | null;
55
+ createdAt: Date;
56
+ updatedAt: Date;
57
+ deletedAt: Date | null;
58
58
  systemName: string;
59
59
  displayName: string;
60
60
  permissions: {
61
61
  id: string;
62
62
  description: string | null;
63
- createdAt: string;
64
- updatedAt: string;
65
- deletedAt: string | null;
63
+ createdAt: Date;
64
+ updatedAt: Date;
65
+ deletedAt: Date | null;
66
66
  systemName: string;
67
67
  displayName: string;
68
68
  }[];