@kl1/contracts 1.0.80 → 1.0.81

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.
@@ -1,5 +1,9 @@
1
1
  import z from 'zod';
2
2
  import { GetNotificationsRequestSchema, ResetNotificationRequestSchema } from './validation';
3
+ import { NotificationChangeSchema, NotificationObjectSchema, NotificationSchema } from './schema';
4
+ export type Notification = z.infer<typeof NotificationSchema>;
5
+ export type NotificationChange = z.infer<typeof NotificationChangeSchema>;
6
+ export type NotificationObject = z.infer<typeof NotificationObjectSchema>;
3
7
  export type GetNotificationsRequest = z.infer<typeof GetNotificationsRequestSchema>;
4
8
  export type ResetNotificationsRequest = z.infer<typeof ResetNotificationRequestSchema>;
5
9
  export declare const userNotificationContract: {
@@ -19,33 +23,594 @@ export declare const userNotificationContract: {
19
23
  responses: {
20
24
  201: z.ZodObject<{
21
25
  requestId: z.ZodString;
22
- GetNotificationsResponseSchema: z.ZodObject<{
26
+ data: z.ZodObject<{
23
27
  notificationCount: z.ZodNumber;
24
28
  notifications: z.ZodObject<{
25
29
  data: z.ZodArray<z.ZodObject<{
30
+ id: z.ZodString;
31
+ createdAt: z.ZodDate;
32
+ updatedAt: z.ZodDate;
33
+ deletedAt: z.ZodNullable<z.ZodDate>;
26
34
  notificationObjectId: z.ZodString;
27
35
  notifierId: z.ZodString;
28
36
  notificationObject: z.ZodObject<{
37
+ id: z.ZodString;
38
+ createdAt: z.ZodDate;
39
+ updatedAt: z.ZodDate;
40
+ deletedAt: z.ZodNullable<z.ZodDate>;
29
41
  data: z.ZodString;
42
+ notificationChange: z.ZodObject<{
43
+ id: z.ZodString;
44
+ createdAt: z.ZodDate;
45
+ updatedAt: z.ZodDate;
46
+ deletedAt: z.ZodNullable<z.ZodDate>;
47
+ actorId: z.ZodString;
48
+ actor: z.ZodObject<{
49
+ id: z.ZodString;
50
+ createdAt: z.ZodDate;
51
+ updatedAt: z.ZodDate;
52
+ deletedAt: z.ZodNullable<z.ZodDate>;
53
+ name: z.ZodString;
54
+ email: z.ZodString;
55
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
56
+ password: z.ZodString;
57
+ address: z.ZodNullable<z.ZodString>;
58
+ phone: z.ZodNullable<z.ZodString>;
59
+ notificationCount: z.ZodNullable<z.ZodNumber>;
60
+ roles: z.ZodArray<z.ZodObject<{
61
+ id: z.ZodString;
62
+ createdAt: z.ZodDate;
63
+ updatedAt: z.ZodDate;
64
+ deletedAt: z.ZodNullable<z.ZodDate>;
65
+ systemName: z.ZodString;
66
+ displayName: z.ZodString;
67
+ description: z.ZodNullable<z.ZodString>;
68
+ permissions: z.ZodArray<z.ZodObject<{
69
+ id: z.ZodString;
70
+ createdAt: z.ZodDate;
71
+ updatedAt: z.ZodDate;
72
+ deletedAt: z.ZodNullable<z.ZodDate>;
73
+ systemName: z.ZodString;
74
+ displayName: z.ZodString;
75
+ description: z.ZodNullable<z.ZodString>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ id: string;
78
+ description: string | null;
79
+ createdAt: Date;
80
+ updatedAt: Date;
81
+ deletedAt: Date | null;
82
+ systemName: string;
83
+ displayName: string;
84
+ }, {
85
+ id: string;
86
+ description: string | null;
87
+ createdAt: Date;
88
+ updatedAt: Date;
89
+ deletedAt: Date | null;
90
+ systemName: string;
91
+ displayName: string;
92
+ }>, "many">;
93
+ }, "strip", z.ZodTypeAny, {
94
+ id: string;
95
+ description: string | null;
96
+ createdAt: Date;
97
+ updatedAt: Date;
98
+ deletedAt: Date | null;
99
+ systemName: string;
100
+ displayName: string;
101
+ permissions: {
102
+ id: string;
103
+ description: string | null;
104
+ createdAt: Date;
105
+ updatedAt: Date;
106
+ deletedAt: Date | null;
107
+ systemName: string;
108
+ displayName: string;
109
+ }[];
110
+ }, {
111
+ id: string;
112
+ description: string | null;
113
+ createdAt: Date;
114
+ updatedAt: Date;
115
+ deletedAt: Date | null;
116
+ systemName: string;
117
+ displayName: string;
118
+ permissions: {
119
+ id: string;
120
+ description: string | null;
121
+ createdAt: Date;
122
+ updatedAt: Date;
123
+ deletedAt: Date | null;
124
+ systemName: string;
125
+ displayName: string;
126
+ }[];
127
+ }>, "many">;
128
+ extension: z.ZodObject<{
129
+ id: z.ZodString;
130
+ createdAt: z.ZodDate;
131
+ updatedAt: z.ZodDate;
132
+ deletedAt: z.ZodNullable<z.ZodDate>;
133
+ userId: z.ZodNullable<z.ZodString>;
134
+ sipServerUrl: z.ZodString;
135
+ sipUserName: z.ZodString;
136
+ webphoneLoginUser: z.ZodString;
137
+ extensionId: z.ZodNullable<z.ZodString>;
138
+ extensionName: z.ZodString;
139
+ telephonySignature: z.ZodNullable<z.ZodString>;
140
+ }, "strip", z.ZodTypeAny, {
141
+ id: string;
142
+ createdAt: Date;
143
+ updatedAt: Date;
144
+ deletedAt: Date | null;
145
+ userId: string | null;
146
+ sipServerUrl: string;
147
+ sipUserName: string;
148
+ webphoneLoginUser: string;
149
+ extensionId: string | null;
150
+ extensionName: string;
151
+ telephonySignature: string | null;
152
+ }, {
153
+ id: string;
154
+ createdAt: Date;
155
+ updatedAt: Date;
156
+ deletedAt: Date | null;
157
+ userId: string | null;
158
+ sipServerUrl: string;
159
+ sipUserName: string;
160
+ webphoneLoginUser: string;
161
+ extensionId: string | null;
162
+ extensionName: string;
163
+ telephonySignature: string | null;
164
+ }>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ id: string;
167
+ address: string | null;
168
+ name: string;
169
+ email: string;
170
+ createdAt: Date;
171
+ updatedAt: Date;
172
+ deletedAt: Date | null;
173
+ emailVerifiedAt: Date | null;
174
+ password: string;
175
+ phone: string | null;
176
+ notificationCount: number | null;
177
+ roles: {
178
+ id: string;
179
+ description: string | null;
180
+ createdAt: Date;
181
+ updatedAt: Date;
182
+ deletedAt: Date | null;
183
+ systemName: string;
184
+ displayName: string;
185
+ permissions: {
186
+ id: string;
187
+ description: string | null;
188
+ createdAt: Date;
189
+ updatedAt: Date;
190
+ deletedAt: Date | null;
191
+ systemName: string;
192
+ displayName: string;
193
+ }[];
194
+ }[];
195
+ extension: {
196
+ id: string;
197
+ createdAt: Date;
198
+ updatedAt: Date;
199
+ deletedAt: Date | null;
200
+ userId: string | null;
201
+ sipServerUrl: string;
202
+ sipUserName: string;
203
+ webphoneLoginUser: string;
204
+ extensionId: string | null;
205
+ extensionName: string;
206
+ telephonySignature: string | null;
207
+ };
208
+ }, {
209
+ id: string;
210
+ address: string | null;
211
+ name: string;
212
+ email: string;
213
+ createdAt: Date;
214
+ updatedAt: Date;
215
+ deletedAt: Date | null;
216
+ emailVerifiedAt: Date | null;
217
+ password: string;
218
+ phone: string | null;
219
+ notificationCount: number | null;
220
+ roles: {
221
+ id: string;
222
+ description: string | null;
223
+ createdAt: Date;
224
+ updatedAt: Date;
225
+ deletedAt: Date | null;
226
+ systemName: string;
227
+ displayName: string;
228
+ permissions: {
229
+ id: string;
230
+ description: string | null;
231
+ createdAt: Date;
232
+ updatedAt: Date;
233
+ deletedAt: Date | null;
234
+ systemName: string;
235
+ displayName: string;
236
+ }[];
237
+ }[];
238
+ extension: {
239
+ id: string;
240
+ createdAt: Date;
241
+ updatedAt: Date;
242
+ deletedAt: Date | null;
243
+ userId: string | null;
244
+ sipServerUrl: string;
245
+ sipUserName: string;
246
+ webphoneLoginUser: string;
247
+ extensionId: string | null;
248
+ extensionName: string;
249
+ telephonySignature: string | null;
250
+ };
251
+ }>;
252
+ notificationObjectId: z.ZodString;
253
+ readAt: z.ZodDate;
254
+ }, "strip", z.ZodTypeAny, {
255
+ id: string;
256
+ createdAt: Date;
257
+ updatedAt: Date;
258
+ deletedAt: Date | null;
259
+ actor: {
260
+ id: string;
261
+ address: string | null;
262
+ name: string;
263
+ email: string;
264
+ createdAt: Date;
265
+ updatedAt: Date;
266
+ deletedAt: Date | null;
267
+ emailVerifiedAt: Date | null;
268
+ password: string;
269
+ phone: string | null;
270
+ notificationCount: number | null;
271
+ roles: {
272
+ id: string;
273
+ description: string | null;
274
+ createdAt: Date;
275
+ updatedAt: Date;
276
+ deletedAt: Date | null;
277
+ systemName: string;
278
+ displayName: string;
279
+ permissions: {
280
+ id: string;
281
+ description: string | null;
282
+ createdAt: Date;
283
+ updatedAt: Date;
284
+ deletedAt: Date | null;
285
+ systemName: string;
286
+ displayName: string;
287
+ }[];
288
+ }[];
289
+ extension: {
290
+ id: string;
291
+ createdAt: Date;
292
+ updatedAt: Date;
293
+ deletedAt: Date | null;
294
+ userId: string | null;
295
+ sipServerUrl: string;
296
+ sipUserName: string;
297
+ webphoneLoginUser: string;
298
+ extensionId: string | null;
299
+ extensionName: string;
300
+ telephonySignature: string | null;
301
+ };
302
+ };
303
+ readAt: Date;
304
+ actorId: string;
305
+ notificationObjectId: string;
306
+ }, {
307
+ id: string;
308
+ createdAt: Date;
309
+ updatedAt: Date;
310
+ deletedAt: Date | null;
311
+ actor: {
312
+ id: string;
313
+ address: string | null;
314
+ name: string;
315
+ email: string;
316
+ createdAt: Date;
317
+ updatedAt: Date;
318
+ deletedAt: Date | null;
319
+ emailVerifiedAt: Date | null;
320
+ password: string;
321
+ phone: string | null;
322
+ notificationCount: number | null;
323
+ roles: {
324
+ id: string;
325
+ description: string | null;
326
+ createdAt: Date;
327
+ updatedAt: Date;
328
+ deletedAt: Date | null;
329
+ systemName: string;
330
+ displayName: string;
331
+ permissions: {
332
+ id: string;
333
+ description: string | null;
334
+ createdAt: Date;
335
+ updatedAt: Date;
336
+ deletedAt: Date | null;
337
+ systemName: string;
338
+ displayName: string;
339
+ }[];
340
+ }[];
341
+ extension: {
342
+ id: string;
343
+ createdAt: Date;
344
+ updatedAt: Date;
345
+ deletedAt: Date | null;
346
+ userId: string | null;
347
+ sipServerUrl: string;
348
+ sipUserName: string;
349
+ webphoneLoginUser: string;
350
+ extensionId: string | null;
351
+ extensionName: string;
352
+ telephonySignature: string | null;
353
+ };
354
+ };
355
+ readAt: Date;
356
+ actorId: string;
357
+ notificationObjectId: string;
358
+ }>;
30
359
  }, "strip", z.ZodTypeAny, {
31
360
  data: string;
361
+ id: string;
362
+ createdAt: Date;
363
+ updatedAt: Date;
364
+ deletedAt: Date | null;
365
+ notificationChange: {
366
+ id: string;
367
+ createdAt: Date;
368
+ updatedAt: Date;
369
+ deletedAt: Date | null;
370
+ actor: {
371
+ id: string;
372
+ address: string | null;
373
+ name: string;
374
+ email: string;
375
+ createdAt: Date;
376
+ updatedAt: Date;
377
+ deletedAt: Date | null;
378
+ emailVerifiedAt: Date | null;
379
+ password: string;
380
+ phone: string | null;
381
+ notificationCount: number | null;
382
+ roles: {
383
+ id: string;
384
+ description: string | null;
385
+ createdAt: Date;
386
+ updatedAt: Date;
387
+ deletedAt: Date | null;
388
+ systemName: string;
389
+ displayName: string;
390
+ permissions: {
391
+ id: string;
392
+ description: string | null;
393
+ createdAt: Date;
394
+ updatedAt: Date;
395
+ deletedAt: Date | null;
396
+ systemName: string;
397
+ displayName: string;
398
+ }[];
399
+ }[];
400
+ extension: {
401
+ id: string;
402
+ createdAt: Date;
403
+ updatedAt: Date;
404
+ deletedAt: Date | null;
405
+ userId: string | null;
406
+ sipServerUrl: string;
407
+ sipUserName: string;
408
+ webphoneLoginUser: string;
409
+ extensionId: string | null;
410
+ extensionName: string;
411
+ telephonySignature: string | null;
412
+ };
413
+ };
414
+ readAt: Date;
415
+ actorId: string;
416
+ notificationObjectId: string;
417
+ };
32
418
  }, {
33
419
  data: string;
420
+ id: string;
421
+ createdAt: Date;
422
+ updatedAt: Date;
423
+ deletedAt: Date | null;
424
+ notificationChange: {
425
+ id: string;
426
+ createdAt: Date;
427
+ updatedAt: Date;
428
+ deletedAt: Date | null;
429
+ actor: {
430
+ id: string;
431
+ address: string | null;
432
+ name: string;
433
+ email: string;
434
+ createdAt: Date;
435
+ updatedAt: Date;
436
+ deletedAt: Date | null;
437
+ emailVerifiedAt: Date | null;
438
+ password: string;
439
+ phone: string | null;
440
+ notificationCount: number | null;
441
+ roles: {
442
+ id: string;
443
+ description: string | null;
444
+ createdAt: Date;
445
+ updatedAt: Date;
446
+ deletedAt: Date | null;
447
+ systemName: string;
448
+ displayName: string;
449
+ permissions: {
450
+ id: string;
451
+ description: string | null;
452
+ createdAt: Date;
453
+ updatedAt: Date;
454
+ deletedAt: Date | null;
455
+ systemName: string;
456
+ displayName: string;
457
+ }[];
458
+ }[];
459
+ extension: {
460
+ id: string;
461
+ createdAt: Date;
462
+ updatedAt: Date;
463
+ deletedAt: Date | null;
464
+ userId: string | null;
465
+ sipServerUrl: string;
466
+ sipUserName: string;
467
+ webphoneLoginUser: string;
468
+ extensionId: string | null;
469
+ extensionName: string;
470
+ telephonySignature: string | null;
471
+ };
472
+ };
473
+ readAt: Date;
474
+ actorId: string;
475
+ notificationObjectId: string;
476
+ };
34
477
  }>;
35
478
  readAt: z.ZodDate;
36
479
  }, "strip", z.ZodTypeAny, {
480
+ id: string;
481
+ createdAt: Date;
482
+ updatedAt: Date;
483
+ deletedAt: Date | null;
37
484
  readAt: Date;
38
485
  notificationObjectId: string;
39
486
  notifierId: string;
40
487
  notificationObject: {
41
488
  data: string;
489
+ id: string;
490
+ createdAt: Date;
491
+ updatedAt: Date;
492
+ deletedAt: Date | null;
493
+ notificationChange: {
494
+ id: string;
495
+ createdAt: Date;
496
+ updatedAt: Date;
497
+ deletedAt: Date | null;
498
+ actor: {
499
+ id: string;
500
+ address: string | null;
501
+ name: string;
502
+ email: string;
503
+ createdAt: Date;
504
+ updatedAt: Date;
505
+ deletedAt: Date | null;
506
+ emailVerifiedAt: Date | null;
507
+ password: string;
508
+ phone: string | null;
509
+ notificationCount: number | null;
510
+ roles: {
511
+ id: string;
512
+ description: string | null;
513
+ createdAt: Date;
514
+ updatedAt: Date;
515
+ deletedAt: Date | null;
516
+ systemName: string;
517
+ displayName: string;
518
+ permissions: {
519
+ id: string;
520
+ description: string | null;
521
+ createdAt: Date;
522
+ updatedAt: Date;
523
+ deletedAt: Date | null;
524
+ systemName: string;
525
+ displayName: string;
526
+ }[];
527
+ }[];
528
+ extension: {
529
+ id: string;
530
+ createdAt: Date;
531
+ updatedAt: Date;
532
+ deletedAt: Date | null;
533
+ userId: string | null;
534
+ sipServerUrl: string;
535
+ sipUserName: string;
536
+ webphoneLoginUser: string;
537
+ extensionId: string | null;
538
+ extensionName: string;
539
+ telephonySignature: string | null;
540
+ };
541
+ };
542
+ readAt: Date;
543
+ actorId: string;
544
+ notificationObjectId: string;
545
+ };
42
546
  };
43
547
  }, {
548
+ id: string;
549
+ createdAt: Date;
550
+ updatedAt: Date;
551
+ deletedAt: Date | null;
44
552
  readAt: Date;
45
553
  notificationObjectId: string;
46
554
  notifierId: string;
47
555
  notificationObject: {
48
556
  data: string;
557
+ id: string;
558
+ createdAt: Date;
559
+ updatedAt: Date;
560
+ deletedAt: Date | null;
561
+ notificationChange: {
562
+ id: string;
563
+ createdAt: Date;
564
+ updatedAt: Date;
565
+ deletedAt: Date | null;
566
+ actor: {
567
+ id: string;
568
+ address: string | null;
569
+ name: string;
570
+ email: string;
571
+ createdAt: Date;
572
+ updatedAt: Date;
573
+ deletedAt: Date | null;
574
+ emailVerifiedAt: Date | null;
575
+ password: string;
576
+ phone: string | null;
577
+ notificationCount: number | null;
578
+ roles: {
579
+ id: string;
580
+ description: string | null;
581
+ createdAt: Date;
582
+ updatedAt: Date;
583
+ deletedAt: Date | null;
584
+ systemName: string;
585
+ displayName: string;
586
+ permissions: {
587
+ id: string;
588
+ description: string | null;
589
+ createdAt: Date;
590
+ updatedAt: Date;
591
+ deletedAt: Date | null;
592
+ systemName: string;
593
+ displayName: string;
594
+ }[];
595
+ }[];
596
+ extension: {
597
+ id: string;
598
+ createdAt: Date;
599
+ updatedAt: Date;
600
+ deletedAt: Date | null;
601
+ userId: string | null;
602
+ sipServerUrl: string;
603
+ sipUserName: string;
604
+ webphoneLoginUser: string;
605
+ extensionId: string | null;
606
+ extensionName: string;
607
+ telephonySignature: string | null;
608
+ };
609
+ };
610
+ readAt: Date;
611
+ actorId: string;
612
+ notificationObjectId: string;
613
+ };
49
614
  };
50
615
  }>, "many">;
51
616
  total: z.ZodNumber;
@@ -66,11 +631,72 @@ export declare const userNotificationContract: {
66
631
  }>, "many">;
67
632
  }, "strip", z.ZodTypeAny, {
68
633
  data: {
634
+ id: string;
635
+ createdAt: Date;
636
+ updatedAt: Date;
637
+ deletedAt: Date | null;
69
638
  readAt: Date;
70
639
  notificationObjectId: string;
71
640
  notifierId: string;
72
641
  notificationObject: {
73
642
  data: string;
643
+ id: string;
644
+ createdAt: Date;
645
+ updatedAt: Date;
646
+ deletedAt: Date | null;
647
+ notificationChange: {
648
+ id: string;
649
+ createdAt: Date;
650
+ updatedAt: Date;
651
+ deletedAt: Date | null;
652
+ actor: {
653
+ id: string;
654
+ address: string | null;
655
+ name: string;
656
+ email: string;
657
+ createdAt: Date;
658
+ updatedAt: Date;
659
+ deletedAt: Date | null;
660
+ emailVerifiedAt: Date | null;
661
+ password: string;
662
+ phone: string | null;
663
+ notificationCount: number | null;
664
+ roles: {
665
+ id: string;
666
+ description: string | null;
667
+ createdAt: Date;
668
+ updatedAt: Date;
669
+ deletedAt: Date | null;
670
+ systemName: string;
671
+ displayName: string;
672
+ permissions: {
673
+ id: string;
674
+ description: string | null;
675
+ createdAt: Date;
676
+ updatedAt: Date;
677
+ deletedAt: Date | null;
678
+ systemName: string;
679
+ displayName: string;
680
+ }[];
681
+ }[];
682
+ extension: {
683
+ id: string;
684
+ createdAt: Date;
685
+ updatedAt: Date;
686
+ deletedAt: Date | null;
687
+ userId: string | null;
688
+ sipServerUrl: string;
689
+ sipUserName: string;
690
+ webphoneLoginUser: string;
691
+ extensionId: string | null;
692
+ extensionName: string;
693
+ telephonySignature: string | null;
694
+ };
695
+ };
696
+ readAt: Date;
697
+ actorId: string;
698
+ notificationObjectId: string;
699
+ };
74
700
  };
75
701
  }[];
76
702
  total: number;
@@ -85,11 +711,72 @@ export declare const userNotificationContract: {
85
711
  unreadRoomCount?: number | undefined;
86
712
  }, {
87
713
  data: {
714
+ id: string;
715
+ createdAt: Date;
716
+ updatedAt: Date;
717
+ deletedAt: Date | null;
88
718
  readAt: Date;
89
719
  notificationObjectId: string;
90
720
  notifierId: string;
91
721
  notificationObject: {
92
722
  data: string;
723
+ id: string;
724
+ createdAt: Date;
725
+ updatedAt: Date;
726
+ deletedAt: Date | null;
727
+ notificationChange: {
728
+ id: string;
729
+ createdAt: Date;
730
+ updatedAt: Date;
731
+ deletedAt: Date | null;
732
+ actor: {
733
+ id: string;
734
+ address: string | null;
735
+ name: string;
736
+ email: string;
737
+ createdAt: Date;
738
+ updatedAt: Date;
739
+ deletedAt: Date | null;
740
+ emailVerifiedAt: Date | null;
741
+ password: string;
742
+ phone: string | null;
743
+ notificationCount: number | null;
744
+ roles: {
745
+ id: string;
746
+ description: string | null;
747
+ createdAt: Date;
748
+ updatedAt: Date;
749
+ deletedAt: Date | null;
750
+ systemName: string;
751
+ displayName: string;
752
+ permissions: {
753
+ id: string;
754
+ description: string | null;
755
+ createdAt: Date;
756
+ updatedAt: Date;
757
+ deletedAt: Date | null;
758
+ systemName: string;
759
+ displayName: string;
760
+ }[];
761
+ }[];
762
+ extension: {
763
+ id: string;
764
+ createdAt: Date;
765
+ updatedAt: Date;
766
+ deletedAt: Date | null;
767
+ userId: string | null;
768
+ sipServerUrl: string;
769
+ sipUserName: string;
770
+ webphoneLoginUser: string;
771
+ extensionId: string | null;
772
+ extensionName: string;
773
+ telephonySignature: string | null;
774
+ };
775
+ };
776
+ readAt: Date;
777
+ actorId: string;
778
+ notificationObjectId: string;
779
+ };
93
780
  };
94
781
  }[];
95
782
  total: number;
@@ -106,11 +793,72 @@ export declare const userNotificationContract: {
106
793
  }, "strip", z.ZodTypeAny, {
107
794
  notifications: {
108
795
  data: {
796
+ id: string;
797
+ createdAt: Date;
798
+ updatedAt: Date;
799
+ deletedAt: Date | null;
109
800
  readAt: Date;
110
801
  notificationObjectId: string;
111
802
  notifierId: string;
112
803
  notificationObject: {
113
804
  data: string;
805
+ id: string;
806
+ createdAt: Date;
807
+ updatedAt: Date;
808
+ deletedAt: Date | null;
809
+ notificationChange: {
810
+ id: string;
811
+ createdAt: Date;
812
+ updatedAt: Date;
813
+ deletedAt: Date | null;
814
+ actor: {
815
+ id: string;
816
+ address: string | null;
817
+ name: string;
818
+ email: string;
819
+ createdAt: Date;
820
+ updatedAt: Date;
821
+ deletedAt: Date | null;
822
+ emailVerifiedAt: Date | null;
823
+ password: string;
824
+ phone: string | null;
825
+ notificationCount: number | null;
826
+ roles: {
827
+ id: string;
828
+ description: string | null;
829
+ createdAt: Date;
830
+ updatedAt: Date;
831
+ deletedAt: Date | null;
832
+ systemName: string;
833
+ displayName: string;
834
+ permissions: {
835
+ id: string;
836
+ description: string | null;
837
+ createdAt: Date;
838
+ updatedAt: Date;
839
+ deletedAt: Date | null;
840
+ systemName: string;
841
+ displayName: string;
842
+ }[];
843
+ }[];
844
+ extension: {
845
+ id: string;
846
+ createdAt: Date;
847
+ updatedAt: Date;
848
+ deletedAt: Date | null;
849
+ userId: string | null;
850
+ sipServerUrl: string;
851
+ sipUserName: string;
852
+ webphoneLoginUser: string;
853
+ extensionId: string | null;
854
+ extensionName: string;
855
+ telephonySignature: string | null;
856
+ };
857
+ };
858
+ readAt: Date;
859
+ actorId: string;
860
+ notificationObjectId: string;
861
+ };
114
862
  };
115
863
  }[];
116
864
  total: number;
@@ -128,11 +876,72 @@ export declare const userNotificationContract: {
128
876
  }, {
129
877
  notifications: {
130
878
  data: {
879
+ id: string;
880
+ createdAt: Date;
881
+ updatedAt: Date;
882
+ deletedAt: Date | null;
131
883
  readAt: Date;
132
884
  notificationObjectId: string;
133
885
  notifierId: string;
134
886
  notificationObject: {
135
887
  data: string;
888
+ id: string;
889
+ createdAt: Date;
890
+ updatedAt: Date;
891
+ deletedAt: Date | null;
892
+ notificationChange: {
893
+ id: string;
894
+ createdAt: Date;
895
+ updatedAt: Date;
896
+ deletedAt: Date | null;
897
+ actor: {
898
+ id: string;
899
+ address: string | null;
900
+ name: string;
901
+ email: string;
902
+ createdAt: Date;
903
+ updatedAt: Date;
904
+ deletedAt: Date | null;
905
+ emailVerifiedAt: Date | null;
906
+ password: string;
907
+ phone: string | null;
908
+ notificationCount: number | null;
909
+ roles: {
910
+ id: string;
911
+ description: string | null;
912
+ createdAt: Date;
913
+ updatedAt: Date;
914
+ deletedAt: Date | null;
915
+ systemName: string;
916
+ displayName: string;
917
+ permissions: {
918
+ id: string;
919
+ description: string | null;
920
+ createdAt: Date;
921
+ updatedAt: Date;
922
+ deletedAt: Date | null;
923
+ systemName: string;
924
+ displayName: string;
925
+ }[];
926
+ }[];
927
+ extension: {
928
+ id: string;
929
+ createdAt: Date;
930
+ updatedAt: Date;
931
+ deletedAt: Date | null;
932
+ userId: string | null;
933
+ sipServerUrl: string;
934
+ sipUserName: string;
935
+ webphoneLoginUser: string;
936
+ extensionId: string | null;
937
+ extensionName: string;
938
+ telephonySignature: string | null;
939
+ };
940
+ };
941
+ readAt: Date;
942
+ actorId: string;
943
+ notificationObjectId: string;
944
+ };
136
945
  };
137
946
  }[];
138
947
  total: number;
@@ -149,15 +958,75 @@ export declare const userNotificationContract: {
149
958
  notificationCount: number;
150
959
  }>;
151
960
  }, "strip", z.ZodTypeAny, {
152
- requestId: string;
153
- GetNotificationsResponseSchema: {
961
+ data: {
154
962
  notifications: {
155
963
  data: {
964
+ id: string;
965
+ createdAt: Date;
966
+ updatedAt: Date;
967
+ deletedAt: Date | null;
156
968
  readAt: Date;
157
969
  notificationObjectId: string;
158
970
  notifierId: string;
159
971
  notificationObject: {
160
972
  data: string;
973
+ id: string;
974
+ createdAt: Date;
975
+ updatedAt: Date;
976
+ deletedAt: Date | null;
977
+ notificationChange: {
978
+ id: string;
979
+ createdAt: Date;
980
+ updatedAt: Date;
981
+ deletedAt: Date | null;
982
+ actor: {
983
+ id: string;
984
+ address: string | null;
985
+ name: string;
986
+ email: string;
987
+ createdAt: Date;
988
+ updatedAt: Date;
989
+ deletedAt: Date | null;
990
+ emailVerifiedAt: Date | null;
991
+ password: string;
992
+ phone: string | null;
993
+ notificationCount: number | null;
994
+ roles: {
995
+ id: string;
996
+ description: string | null;
997
+ createdAt: Date;
998
+ updatedAt: Date;
999
+ deletedAt: Date | null;
1000
+ systemName: string;
1001
+ displayName: string;
1002
+ permissions: {
1003
+ id: string;
1004
+ description: string | null;
1005
+ createdAt: Date;
1006
+ updatedAt: Date;
1007
+ deletedAt: Date | null;
1008
+ systemName: string;
1009
+ displayName: string;
1010
+ }[];
1011
+ }[];
1012
+ extension: {
1013
+ id: string;
1014
+ createdAt: Date;
1015
+ updatedAt: Date;
1016
+ deletedAt: Date | null;
1017
+ userId: string | null;
1018
+ sipServerUrl: string;
1019
+ sipUserName: string;
1020
+ webphoneLoginUser: string;
1021
+ extensionId: string | null;
1022
+ extensionName: string;
1023
+ telephonySignature: string | null;
1024
+ };
1025
+ };
1026
+ readAt: Date;
1027
+ actorId: string;
1028
+ notificationObjectId: string;
1029
+ };
161
1030
  };
162
1031
  }[];
163
1032
  total: number;
@@ -173,16 +1042,77 @@ export declare const userNotificationContract: {
173
1042
  };
174
1043
  notificationCount: number;
175
1044
  };
176
- }, {
177
1045
  requestId: string;
178
- GetNotificationsResponseSchema: {
1046
+ }, {
1047
+ data: {
179
1048
  notifications: {
180
1049
  data: {
1050
+ id: string;
1051
+ createdAt: Date;
1052
+ updatedAt: Date;
1053
+ deletedAt: Date | null;
181
1054
  readAt: Date;
182
1055
  notificationObjectId: string;
183
1056
  notifierId: string;
184
1057
  notificationObject: {
185
1058
  data: string;
1059
+ id: string;
1060
+ createdAt: Date;
1061
+ updatedAt: Date;
1062
+ deletedAt: Date | null;
1063
+ notificationChange: {
1064
+ id: string;
1065
+ createdAt: Date;
1066
+ updatedAt: Date;
1067
+ deletedAt: Date | null;
1068
+ actor: {
1069
+ id: string;
1070
+ address: string | null;
1071
+ name: string;
1072
+ email: string;
1073
+ createdAt: Date;
1074
+ updatedAt: Date;
1075
+ deletedAt: Date | null;
1076
+ emailVerifiedAt: Date | null;
1077
+ password: string;
1078
+ phone: string | null;
1079
+ notificationCount: number | null;
1080
+ roles: {
1081
+ id: string;
1082
+ description: string | null;
1083
+ createdAt: Date;
1084
+ updatedAt: Date;
1085
+ deletedAt: Date | null;
1086
+ systemName: string;
1087
+ displayName: string;
1088
+ permissions: {
1089
+ id: string;
1090
+ description: string | null;
1091
+ createdAt: Date;
1092
+ updatedAt: Date;
1093
+ deletedAt: Date | null;
1094
+ systemName: string;
1095
+ displayName: string;
1096
+ }[];
1097
+ }[];
1098
+ extension: {
1099
+ id: string;
1100
+ createdAt: Date;
1101
+ updatedAt: Date;
1102
+ deletedAt: Date | null;
1103
+ userId: string | null;
1104
+ sipServerUrl: string;
1105
+ sipUserName: string;
1106
+ webphoneLoginUser: string;
1107
+ extensionId: string | null;
1108
+ extensionName: string;
1109
+ telephonySignature: string | null;
1110
+ };
1111
+ };
1112
+ readAt: Date;
1113
+ actorId: string;
1114
+ notificationObjectId: string;
1115
+ };
186
1116
  };
187
1117
  }[];
188
1118
  total: number;
@@ -198,6 +1128,7 @@ export declare const userNotificationContract: {
198
1128
  };
199
1129
  notificationCount: number;
200
1130
  };
1131
+ requestId: string;
201
1132
  }>;
202
1133
  400: z.ZodObject<{
203
1134
  message: z.ZodString;
@@ -638,48 +1569,731 @@ export declare const userNotificationContract: {
638
1569
  201: z.ZodObject<{
639
1570
  requestId: z.ZodString;
640
1571
  data: z.ZodObject<{
1572
+ id: z.ZodString;
1573
+ createdAt: z.ZodDate;
1574
+ updatedAt: z.ZodDate;
1575
+ deletedAt: z.ZodNullable<z.ZodDate>;
641
1576
  notificationObjectId: z.ZodString;
642
1577
  notifierId: z.ZodString;
643
1578
  notificationObject: z.ZodObject<{
1579
+ id: z.ZodString;
1580
+ createdAt: z.ZodDate;
1581
+ updatedAt: z.ZodDate;
1582
+ deletedAt: z.ZodNullable<z.ZodDate>;
644
1583
  data: z.ZodString;
1584
+ notificationChange: z.ZodObject<{
1585
+ id: z.ZodString;
1586
+ createdAt: z.ZodDate;
1587
+ updatedAt: z.ZodDate;
1588
+ deletedAt: z.ZodNullable<z.ZodDate>;
1589
+ actorId: z.ZodString;
1590
+ actor: z.ZodObject<{
1591
+ id: z.ZodString;
1592
+ createdAt: z.ZodDate;
1593
+ updatedAt: z.ZodDate;
1594
+ deletedAt: z.ZodNullable<z.ZodDate>;
1595
+ name: z.ZodString;
1596
+ email: z.ZodString;
1597
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1598
+ password: z.ZodString;
1599
+ address: z.ZodNullable<z.ZodString>;
1600
+ phone: z.ZodNullable<z.ZodString>;
1601
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1602
+ roles: z.ZodArray<z.ZodObject<{
1603
+ id: z.ZodString;
1604
+ createdAt: z.ZodDate;
1605
+ updatedAt: z.ZodDate;
1606
+ deletedAt: z.ZodNullable<z.ZodDate>;
1607
+ systemName: z.ZodString;
1608
+ displayName: z.ZodString;
1609
+ description: z.ZodNullable<z.ZodString>;
1610
+ permissions: z.ZodArray<z.ZodObject<{
1611
+ id: z.ZodString;
1612
+ createdAt: z.ZodDate;
1613
+ updatedAt: z.ZodDate;
1614
+ deletedAt: z.ZodNullable<z.ZodDate>;
1615
+ systemName: z.ZodString;
1616
+ displayName: z.ZodString;
1617
+ description: z.ZodNullable<z.ZodString>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ id: string;
1620
+ description: string | null;
1621
+ createdAt: Date;
1622
+ updatedAt: Date;
1623
+ deletedAt: Date | null;
1624
+ systemName: string;
1625
+ displayName: string;
1626
+ }, {
1627
+ id: string;
1628
+ description: string | null;
1629
+ createdAt: Date;
1630
+ updatedAt: Date;
1631
+ deletedAt: Date | null;
1632
+ systemName: string;
1633
+ displayName: string;
1634
+ }>, "many">;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ id: string;
1637
+ description: string | null;
1638
+ createdAt: Date;
1639
+ updatedAt: Date;
1640
+ deletedAt: Date | null;
1641
+ systemName: string;
1642
+ displayName: string;
1643
+ permissions: {
1644
+ id: string;
1645
+ description: string | null;
1646
+ createdAt: Date;
1647
+ updatedAt: Date;
1648
+ deletedAt: Date | null;
1649
+ systemName: string;
1650
+ displayName: string;
1651
+ }[];
1652
+ }, {
1653
+ id: string;
1654
+ description: string | null;
1655
+ createdAt: Date;
1656
+ updatedAt: Date;
1657
+ deletedAt: Date | null;
1658
+ systemName: string;
1659
+ displayName: string;
1660
+ permissions: {
1661
+ id: string;
1662
+ description: string | null;
1663
+ createdAt: Date;
1664
+ updatedAt: Date;
1665
+ deletedAt: Date | null;
1666
+ systemName: string;
1667
+ displayName: string;
1668
+ }[];
1669
+ }>, "many">;
1670
+ extension: z.ZodObject<{
1671
+ id: z.ZodString;
1672
+ createdAt: z.ZodDate;
1673
+ updatedAt: z.ZodDate;
1674
+ deletedAt: z.ZodNullable<z.ZodDate>;
1675
+ userId: z.ZodNullable<z.ZodString>;
1676
+ sipServerUrl: z.ZodString;
1677
+ sipUserName: z.ZodString;
1678
+ webphoneLoginUser: z.ZodString;
1679
+ extensionId: z.ZodNullable<z.ZodString>;
1680
+ extensionName: z.ZodString;
1681
+ telephonySignature: z.ZodNullable<z.ZodString>;
1682
+ }, "strip", z.ZodTypeAny, {
1683
+ id: string;
1684
+ createdAt: Date;
1685
+ updatedAt: Date;
1686
+ deletedAt: Date | null;
1687
+ userId: string | null;
1688
+ sipServerUrl: string;
1689
+ sipUserName: string;
1690
+ webphoneLoginUser: string;
1691
+ extensionId: string | null;
1692
+ extensionName: string;
1693
+ telephonySignature: string | null;
1694
+ }, {
1695
+ id: string;
1696
+ createdAt: Date;
1697
+ updatedAt: Date;
1698
+ deletedAt: Date | null;
1699
+ userId: string | null;
1700
+ sipServerUrl: string;
1701
+ sipUserName: string;
1702
+ webphoneLoginUser: string;
1703
+ extensionId: string | null;
1704
+ extensionName: string;
1705
+ telephonySignature: string | null;
1706
+ }>;
1707
+ }, "strip", z.ZodTypeAny, {
1708
+ id: string;
1709
+ address: string | null;
1710
+ name: string;
1711
+ email: string;
1712
+ createdAt: Date;
1713
+ updatedAt: Date;
1714
+ deletedAt: Date | null;
1715
+ emailVerifiedAt: Date | null;
1716
+ password: string;
1717
+ phone: string | null;
1718
+ notificationCount: number | null;
1719
+ roles: {
1720
+ id: string;
1721
+ description: string | null;
1722
+ createdAt: Date;
1723
+ updatedAt: Date;
1724
+ deletedAt: Date | null;
1725
+ systemName: string;
1726
+ displayName: string;
1727
+ permissions: {
1728
+ id: string;
1729
+ description: string | null;
1730
+ createdAt: Date;
1731
+ updatedAt: Date;
1732
+ deletedAt: Date | null;
1733
+ systemName: string;
1734
+ displayName: string;
1735
+ }[];
1736
+ }[];
1737
+ extension: {
1738
+ id: string;
1739
+ createdAt: Date;
1740
+ updatedAt: Date;
1741
+ deletedAt: Date | null;
1742
+ userId: string | null;
1743
+ sipServerUrl: string;
1744
+ sipUserName: string;
1745
+ webphoneLoginUser: string;
1746
+ extensionId: string | null;
1747
+ extensionName: string;
1748
+ telephonySignature: string | null;
1749
+ };
1750
+ }, {
1751
+ id: string;
1752
+ address: string | null;
1753
+ name: string;
1754
+ email: string;
1755
+ createdAt: Date;
1756
+ updatedAt: Date;
1757
+ deletedAt: Date | null;
1758
+ emailVerifiedAt: Date | null;
1759
+ password: string;
1760
+ phone: string | null;
1761
+ notificationCount: number | null;
1762
+ roles: {
1763
+ id: string;
1764
+ description: string | null;
1765
+ createdAt: Date;
1766
+ updatedAt: Date;
1767
+ deletedAt: Date | null;
1768
+ systemName: string;
1769
+ displayName: string;
1770
+ permissions: {
1771
+ id: string;
1772
+ description: string | null;
1773
+ createdAt: Date;
1774
+ updatedAt: Date;
1775
+ deletedAt: Date | null;
1776
+ systemName: string;
1777
+ displayName: string;
1778
+ }[];
1779
+ }[];
1780
+ extension: {
1781
+ id: string;
1782
+ createdAt: Date;
1783
+ updatedAt: Date;
1784
+ deletedAt: Date | null;
1785
+ userId: string | null;
1786
+ sipServerUrl: string;
1787
+ sipUserName: string;
1788
+ webphoneLoginUser: string;
1789
+ extensionId: string | null;
1790
+ extensionName: string;
1791
+ telephonySignature: string | null;
1792
+ };
1793
+ }>;
1794
+ notificationObjectId: z.ZodString;
1795
+ readAt: z.ZodDate;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ id: string;
1798
+ createdAt: Date;
1799
+ updatedAt: Date;
1800
+ deletedAt: Date | null;
1801
+ actor: {
1802
+ id: string;
1803
+ address: string | null;
1804
+ name: string;
1805
+ email: string;
1806
+ createdAt: Date;
1807
+ updatedAt: Date;
1808
+ deletedAt: Date | null;
1809
+ emailVerifiedAt: Date | null;
1810
+ password: string;
1811
+ phone: string | null;
1812
+ notificationCount: number | null;
1813
+ roles: {
1814
+ id: string;
1815
+ description: string | null;
1816
+ createdAt: Date;
1817
+ updatedAt: Date;
1818
+ deletedAt: Date | null;
1819
+ systemName: string;
1820
+ displayName: string;
1821
+ permissions: {
1822
+ id: string;
1823
+ description: string | null;
1824
+ createdAt: Date;
1825
+ updatedAt: Date;
1826
+ deletedAt: Date | null;
1827
+ systemName: string;
1828
+ displayName: string;
1829
+ }[];
1830
+ }[];
1831
+ extension: {
1832
+ id: string;
1833
+ createdAt: Date;
1834
+ updatedAt: Date;
1835
+ deletedAt: Date | null;
1836
+ userId: string | null;
1837
+ sipServerUrl: string;
1838
+ sipUserName: string;
1839
+ webphoneLoginUser: string;
1840
+ extensionId: string | null;
1841
+ extensionName: string;
1842
+ telephonySignature: string | null;
1843
+ };
1844
+ };
1845
+ readAt: Date;
1846
+ actorId: string;
1847
+ notificationObjectId: string;
1848
+ }, {
1849
+ id: string;
1850
+ createdAt: Date;
1851
+ updatedAt: Date;
1852
+ deletedAt: Date | null;
1853
+ actor: {
1854
+ id: string;
1855
+ address: string | null;
1856
+ name: string;
1857
+ email: string;
1858
+ createdAt: Date;
1859
+ updatedAt: Date;
1860
+ deletedAt: Date | null;
1861
+ emailVerifiedAt: Date | null;
1862
+ password: string;
1863
+ phone: string | null;
1864
+ notificationCount: number | null;
1865
+ roles: {
1866
+ id: string;
1867
+ description: string | null;
1868
+ createdAt: Date;
1869
+ updatedAt: Date;
1870
+ deletedAt: Date | null;
1871
+ systemName: string;
1872
+ displayName: string;
1873
+ permissions: {
1874
+ id: string;
1875
+ description: string | null;
1876
+ createdAt: Date;
1877
+ updatedAt: Date;
1878
+ deletedAt: Date | null;
1879
+ systemName: string;
1880
+ displayName: string;
1881
+ }[];
1882
+ }[];
1883
+ extension: {
1884
+ id: string;
1885
+ createdAt: Date;
1886
+ updatedAt: Date;
1887
+ deletedAt: Date | null;
1888
+ userId: string | null;
1889
+ sipServerUrl: string;
1890
+ sipUserName: string;
1891
+ webphoneLoginUser: string;
1892
+ extensionId: string | null;
1893
+ extensionName: string;
1894
+ telephonySignature: string | null;
1895
+ };
1896
+ };
1897
+ readAt: Date;
1898
+ actorId: string;
1899
+ notificationObjectId: string;
1900
+ }>;
645
1901
  }, "strip", z.ZodTypeAny, {
646
1902
  data: string;
1903
+ id: string;
1904
+ createdAt: Date;
1905
+ updatedAt: Date;
1906
+ deletedAt: Date | null;
1907
+ notificationChange: {
1908
+ id: string;
1909
+ createdAt: Date;
1910
+ updatedAt: Date;
1911
+ deletedAt: Date | null;
1912
+ actor: {
1913
+ id: string;
1914
+ address: string | null;
1915
+ name: string;
1916
+ email: string;
1917
+ createdAt: Date;
1918
+ updatedAt: Date;
1919
+ deletedAt: Date | null;
1920
+ emailVerifiedAt: Date | null;
1921
+ password: string;
1922
+ phone: string | null;
1923
+ notificationCount: number | null;
1924
+ roles: {
1925
+ id: string;
1926
+ description: string | null;
1927
+ createdAt: Date;
1928
+ updatedAt: Date;
1929
+ deletedAt: Date | null;
1930
+ systemName: string;
1931
+ displayName: string;
1932
+ permissions: {
1933
+ id: string;
1934
+ description: string | null;
1935
+ createdAt: Date;
1936
+ updatedAt: Date;
1937
+ deletedAt: Date | null;
1938
+ systemName: string;
1939
+ displayName: string;
1940
+ }[];
1941
+ }[];
1942
+ extension: {
1943
+ id: string;
1944
+ createdAt: Date;
1945
+ updatedAt: Date;
1946
+ deletedAt: Date | null;
1947
+ userId: string | null;
1948
+ sipServerUrl: string;
1949
+ sipUserName: string;
1950
+ webphoneLoginUser: string;
1951
+ extensionId: string | null;
1952
+ extensionName: string;
1953
+ telephonySignature: string | null;
1954
+ };
1955
+ };
1956
+ readAt: Date;
1957
+ actorId: string;
1958
+ notificationObjectId: string;
1959
+ };
647
1960
  }, {
648
1961
  data: string;
1962
+ id: string;
1963
+ createdAt: Date;
1964
+ updatedAt: Date;
1965
+ deletedAt: Date | null;
1966
+ notificationChange: {
1967
+ id: string;
1968
+ createdAt: Date;
1969
+ updatedAt: Date;
1970
+ deletedAt: Date | null;
1971
+ actor: {
1972
+ id: string;
1973
+ address: string | null;
1974
+ name: string;
1975
+ email: string;
1976
+ createdAt: Date;
1977
+ updatedAt: Date;
1978
+ deletedAt: Date | null;
1979
+ emailVerifiedAt: Date | null;
1980
+ password: string;
1981
+ phone: string | null;
1982
+ notificationCount: number | null;
1983
+ roles: {
1984
+ id: string;
1985
+ description: string | null;
1986
+ createdAt: Date;
1987
+ updatedAt: Date;
1988
+ deletedAt: Date | null;
1989
+ systemName: string;
1990
+ displayName: string;
1991
+ permissions: {
1992
+ id: string;
1993
+ description: string | null;
1994
+ createdAt: Date;
1995
+ updatedAt: Date;
1996
+ deletedAt: Date | null;
1997
+ systemName: string;
1998
+ displayName: string;
1999
+ }[];
2000
+ }[];
2001
+ extension: {
2002
+ id: string;
2003
+ createdAt: Date;
2004
+ updatedAt: Date;
2005
+ deletedAt: Date | null;
2006
+ userId: string | null;
2007
+ sipServerUrl: string;
2008
+ sipUserName: string;
2009
+ webphoneLoginUser: string;
2010
+ extensionId: string | null;
2011
+ extensionName: string;
2012
+ telephonySignature: string | null;
2013
+ };
2014
+ };
2015
+ readAt: Date;
2016
+ actorId: string;
2017
+ notificationObjectId: string;
2018
+ };
649
2019
  }>;
650
2020
  readAt: z.ZodDate;
651
2021
  }, "strip", z.ZodTypeAny, {
2022
+ id: string;
2023
+ createdAt: Date;
2024
+ updatedAt: Date;
2025
+ deletedAt: Date | null;
652
2026
  readAt: Date;
653
2027
  notificationObjectId: string;
654
2028
  notifierId: string;
655
2029
  notificationObject: {
656
2030
  data: string;
2031
+ id: string;
2032
+ createdAt: Date;
2033
+ updatedAt: Date;
2034
+ deletedAt: Date | null;
2035
+ notificationChange: {
2036
+ id: string;
2037
+ createdAt: Date;
2038
+ updatedAt: Date;
2039
+ deletedAt: Date | null;
2040
+ actor: {
2041
+ id: string;
2042
+ address: string | null;
2043
+ name: string;
2044
+ email: string;
2045
+ createdAt: Date;
2046
+ updatedAt: Date;
2047
+ deletedAt: Date | null;
2048
+ emailVerifiedAt: Date | null;
2049
+ password: string;
2050
+ phone: string | null;
2051
+ notificationCount: number | null;
2052
+ roles: {
2053
+ id: string;
2054
+ description: string | null;
2055
+ createdAt: Date;
2056
+ updatedAt: Date;
2057
+ deletedAt: Date | null;
2058
+ systemName: string;
2059
+ displayName: string;
2060
+ permissions: {
2061
+ id: string;
2062
+ description: string | null;
2063
+ createdAt: Date;
2064
+ updatedAt: Date;
2065
+ deletedAt: Date | null;
2066
+ systemName: string;
2067
+ displayName: string;
2068
+ }[];
2069
+ }[];
2070
+ extension: {
2071
+ id: string;
2072
+ createdAt: Date;
2073
+ updatedAt: Date;
2074
+ deletedAt: Date | null;
2075
+ userId: string | null;
2076
+ sipServerUrl: string;
2077
+ sipUserName: string;
2078
+ webphoneLoginUser: string;
2079
+ extensionId: string | null;
2080
+ extensionName: string;
2081
+ telephonySignature: string | null;
2082
+ };
2083
+ };
2084
+ readAt: Date;
2085
+ actorId: string;
2086
+ notificationObjectId: string;
2087
+ };
657
2088
  };
658
2089
  }, {
2090
+ id: string;
2091
+ createdAt: Date;
2092
+ updatedAt: Date;
2093
+ deletedAt: Date | null;
659
2094
  readAt: Date;
660
2095
  notificationObjectId: string;
661
2096
  notifierId: string;
662
2097
  notificationObject: {
663
2098
  data: string;
2099
+ id: string;
2100
+ createdAt: Date;
2101
+ updatedAt: Date;
2102
+ deletedAt: Date | null;
2103
+ notificationChange: {
2104
+ id: string;
2105
+ createdAt: Date;
2106
+ updatedAt: Date;
2107
+ deletedAt: Date | null;
2108
+ actor: {
2109
+ id: string;
2110
+ address: string | null;
2111
+ name: string;
2112
+ email: string;
2113
+ createdAt: Date;
2114
+ updatedAt: Date;
2115
+ deletedAt: Date | null;
2116
+ emailVerifiedAt: Date | null;
2117
+ password: string;
2118
+ phone: string | null;
2119
+ notificationCount: number | null;
2120
+ roles: {
2121
+ id: string;
2122
+ description: string | null;
2123
+ createdAt: Date;
2124
+ updatedAt: Date;
2125
+ deletedAt: Date | null;
2126
+ systemName: string;
2127
+ displayName: string;
2128
+ permissions: {
2129
+ id: string;
2130
+ description: string | null;
2131
+ createdAt: Date;
2132
+ updatedAt: Date;
2133
+ deletedAt: Date | null;
2134
+ systemName: string;
2135
+ displayName: string;
2136
+ }[];
2137
+ }[];
2138
+ extension: {
2139
+ id: string;
2140
+ createdAt: Date;
2141
+ updatedAt: Date;
2142
+ deletedAt: Date | null;
2143
+ userId: string | null;
2144
+ sipServerUrl: string;
2145
+ sipUserName: string;
2146
+ webphoneLoginUser: string;
2147
+ extensionId: string | null;
2148
+ extensionName: string;
2149
+ telephonySignature: string | null;
2150
+ };
2151
+ };
2152
+ readAt: Date;
2153
+ actorId: string;
2154
+ notificationObjectId: string;
2155
+ };
664
2156
  };
665
2157
  }>;
666
2158
  }, "strip", z.ZodTypeAny, {
667
2159
  data: {
2160
+ id: string;
2161
+ createdAt: Date;
2162
+ updatedAt: Date;
2163
+ deletedAt: Date | null;
668
2164
  readAt: Date;
669
2165
  notificationObjectId: string;
670
2166
  notifierId: string;
671
2167
  notificationObject: {
672
2168
  data: string;
2169
+ id: string;
2170
+ createdAt: Date;
2171
+ updatedAt: Date;
2172
+ deletedAt: Date | null;
2173
+ notificationChange: {
2174
+ id: string;
2175
+ createdAt: Date;
2176
+ updatedAt: Date;
2177
+ deletedAt: Date | null;
2178
+ actor: {
2179
+ id: string;
2180
+ address: string | null;
2181
+ name: string;
2182
+ email: string;
2183
+ createdAt: Date;
2184
+ updatedAt: Date;
2185
+ deletedAt: Date | null;
2186
+ emailVerifiedAt: Date | null;
2187
+ password: string;
2188
+ phone: string | null;
2189
+ notificationCount: number | null;
2190
+ roles: {
2191
+ id: string;
2192
+ description: string | null;
2193
+ createdAt: Date;
2194
+ updatedAt: Date;
2195
+ deletedAt: Date | null;
2196
+ systemName: string;
2197
+ displayName: string;
2198
+ permissions: {
2199
+ id: string;
2200
+ description: string | null;
2201
+ createdAt: Date;
2202
+ updatedAt: Date;
2203
+ deletedAt: Date | null;
2204
+ systemName: string;
2205
+ displayName: string;
2206
+ }[];
2207
+ }[];
2208
+ extension: {
2209
+ id: string;
2210
+ createdAt: Date;
2211
+ updatedAt: Date;
2212
+ deletedAt: Date | null;
2213
+ userId: string | null;
2214
+ sipServerUrl: string;
2215
+ sipUserName: string;
2216
+ webphoneLoginUser: string;
2217
+ extensionId: string | null;
2218
+ extensionName: string;
2219
+ telephonySignature: string | null;
2220
+ };
2221
+ };
2222
+ readAt: Date;
2223
+ actorId: string;
2224
+ notificationObjectId: string;
2225
+ };
673
2226
  };
674
2227
  };
675
2228
  requestId: string;
676
2229
  }, {
677
2230
  data: {
2231
+ id: string;
2232
+ createdAt: Date;
2233
+ updatedAt: Date;
2234
+ deletedAt: Date | null;
678
2235
  readAt: Date;
679
2236
  notificationObjectId: string;
680
2237
  notifierId: string;
681
2238
  notificationObject: {
682
2239
  data: string;
2240
+ id: string;
2241
+ createdAt: Date;
2242
+ updatedAt: Date;
2243
+ deletedAt: Date | null;
2244
+ notificationChange: {
2245
+ id: string;
2246
+ createdAt: Date;
2247
+ updatedAt: Date;
2248
+ deletedAt: Date | null;
2249
+ actor: {
2250
+ id: string;
2251
+ address: string | null;
2252
+ name: string;
2253
+ email: string;
2254
+ createdAt: Date;
2255
+ updatedAt: Date;
2256
+ deletedAt: Date | null;
2257
+ emailVerifiedAt: Date | null;
2258
+ password: string;
2259
+ phone: string | null;
2260
+ notificationCount: number | null;
2261
+ roles: {
2262
+ id: string;
2263
+ description: string | null;
2264
+ createdAt: Date;
2265
+ updatedAt: Date;
2266
+ deletedAt: Date | null;
2267
+ systemName: string;
2268
+ displayName: string;
2269
+ permissions: {
2270
+ id: string;
2271
+ description: string | null;
2272
+ createdAt: Date;
2273
+ updatedAt: Date;
2274
+ deletedAt: Date | null;
2275
+ systemName: string;
2276
+ displayName: string;
2277
+ }[];
2278
+ }[];
2279
+ extension: {
2280
+ id: string;
2281
+ createdAt: Date;
2282
+ updatedAt: Date;
2283
+ deletedAt: Date | null;
2284
+ userId: string | null;
2285
+ sipServerUrl: string;
2286
+ sipUserName: string;
2287
+ webphoneLoginUser: string;
2288
+ extensionId: string | null;
2289
+ extensionName: string;
2290
+ telephonySignature: string | null;
2291
+ };
2292
+ };
2293
+ readAt: Date;
2294
+ actorId: string;
2295
+ notificationObjectId: string;
2296
+ };
683
2297
  };
684
2298
  };
685
2299
  requestId: string;