@kl1/contracts 1.0.80 → 1.0.82

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: {
@@ -17,187 +21,913 @@ export declare const userNotificationContract: {
17
21
  pageSize?: number | undefined;
18
22
  }>;
19
23
  responses: {
20
- 201: z.ZodObject<{
24
+ 200: z.ZodObject<{
21
25
  requestId: z.ZodString;
22
- GetNotificationsResponseSchema: z.ZodObject<{
26
+ data: z.ZodObject<{
23
27
  notificationCount: z.ZodNumber;
24
- notifications: z.ZodObject<{
25
- data: z.ZodArray<z.ZodObject<{
26
- notificationObjectId: z.ZodString;
27
- notifierId: z.ZodString;
28
- notificationObject: z.ZodObject<{
29
- data: z.ZodString;
28
+ notifications: z.ZodArray<z.ZodObject<{
29
+ id: z.ZodString;
30
+ createdAt: z.ZodDate;
31
+ updatedAt: z.ZodDate;
32
+ deletedAt: z.ZodNullable<z.ZodDate>;
33
+ notificationObjectId: z.ZodString;
34
+ notifierId: z.ZodString;
35
+ notificationObject: z.ZodObject<{
36
+ id: z.ZodString;
37
+ createdAt: z.ZodDate;
38
+ updatedAt: z.ZodDate;
39
+ deletedAt: z.ZodNullable<z.ZodDate>;
40
+ data: z.ZodString;
41
+ notificationChange: z.ZodObject<{
42
+ id: z.ZodString;
43
+ createdAt: z.ZodDate;
44
+ updatedAt: z.ZodDate;
45
+ deletedAt: z.ZodNullable<z.ZodDate>;
46
+ actorId: z.ZodString;
47
+ actor: z.ZodObject<{
48
+ id: z.ZodString;
49
+ createdAt: z.ZodDate;
50
+ updatedAt: z.ZodDate;
51
+ deletedAt: z.ZodNullable<z.ZodDate>;
52
+ name: z.ZodString;
53
+ email: z.ZodString;
54
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
55
+ password: z.ZodString;
56
+ address: z.ZodNullable<z.ZodString>;
57
+ phone: z.ZodNullable<z.ZodString>;
58
+ notificationCount: z.ZodNullable<z.ZodNumber>;
59
+ roles: z.ZodArray<z.ZodObject<{
60
+ id: z.ZodString;
61
+ createdAt: z.ZodDate;
62
+ updatedAt: z.ZodDate;
63
+ deletedAt: z.ZodNullable<z.ZodDate>;
64
+ systemName: z.ZodString;
65
+ displayName: z.ZodString;
66
+ description: z.ZodNullable<z.ZodString>;
67
+ permissions: z.ZodArray<z.ZodObject<{
68
+ id: z.ZodString;
69
+ createdAt: z.ZodDate;
70
+ updatedAt: z.ZodDate;
71
+ deletedAt: z.ZodNullable<z.ZodDate>;
72
+ systemName: z.ZodString;
73
+ displayName: z.ZodString;
74
+ description: z.ZodNullable<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ description: string | null;
78
+ createdAt: Date;
79
+ updatedAt: Date;
80
+ deletedAt: Date | null;
81
+ systemName: string;
82
+ displayName: string;
83
+ }, {
84
+ id: string;
85
+ description: string | null;
86
+ createdAt: Date;
87
+ updatedAt: Date;
88
+ deletedAt: Date | null;
89
+ systemName: string;
90
+ displayName: string;
91
+ }>, "many">;
92
+ }, "strip", z.ZodTypeAny, {
93
+ id: string;
94
+ description: string | null;
95
+ createdAt: Date;
96
+ updatedAt: Date;
97
+ deletedAt: Date | null;
98
+ systemName: string;
99
+ displayName: string;
100
+ permissions: {
101
+ id: string;
102
+ description: string | null;
103
+ createdAt: Date;
104
+ updatedAt: Date;
105
+ deletedAt: Date | null;
106
+ systemName: string;
107
+ displayName: string;
108
+ }[];
109
+ }, {
110
+ id: string;
111
+ description: string | null;
112
+ createdAt: Date;
113
+ updatedAt: Date;
114
+ deletedAt: Date | null;
115
+ systemName: string;
116
+ displayName: string;
117
+ permissions: {
118
+ id: string;
119
+ description: string | null;
120
+ createdAt: Date;
121
+ updatedAt: Date;
122
+ deletedAt: Date | null;
123
+ systemName: string;
124
+ displayName: string;
125
+ }[];
126
+ }>, "many">;
127
+ extension: z.ZodObject<{
128
+ id: z.ZodString;
129
+ createdAt: z.ZodDate;
130
+ updatedAt: z.ZodDate;
131
+ deletedAt: z.ZodNullable<z.ZodDate>;
132
+ userId: z.ZodNullable<z.ZodString>;
133
+ sipServerUrl: z.ZodString;
134
+ sipUserName: z.ZodString;
135
+ webphoneLoginUser: z.ZodString;
136
+ extensionId: z.ZodNullable<z.ZodString>;
137
+ extensionName: z.ZodString;
138
+ telephonySignature: z.ZodNullable<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ id: string;
141
+ createdAt: Date;
142
+ updatedAt: Date;
143
+ deletedAt: Date | null;
144
+ userId: string | null;
145
+ sipServerUrl: string;
146
+ sipUserName: string;
147
+ webphoneLoginUser: string;
148
+ extensionId: string | null;
149
+ extensionName: string;
150
+ telephonySignature: string | null;
151
+ }, {
152
+ id: string;
153
+ createdAt: Date;
154
+ updatedAt: Date;
155
+ deletedAt: Date | null;
156
+ userId: string | null;
157
+ sipServerUrl: string;
158
+ sipUserName: string;
159
+ webphoneLoginUser: string;
160
+ extensionId: string | null;
161
+ extensionName: string;
162
+ telephonySignature: string | null;
163
+ }>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ id: string;
166
+ address: string | null;
167
+ name: string;
168
+ email: string;
169
+ createdAt: Date;
170
+ updatedAt: Date;
171
+ deletedAt: Date | null;
172
+ emailVerifiedAt: Date | null;
173
+ password: string;
174
+ phone: string | null;
175
+ notificationCount: number | null;
176
+ roles: {
177
+ id: string;
178
+ description: string | null;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ deletedAt: Date | null;
182
+ systemName: string;
183
+ displayName: string;
184
+ permissions: {
185
+ id: string;
186
+ description: string | null;
187
+ createdAt: Date;
188
+ updatedAt: Date;
189
+ deletedAt: Date | null;
190
+ systemName: string;
191
+ displayName: string;
192
+ }[];
193
+ }[];
194
+ extension: {
195
+ id: string;
196
+ createdAt: Date;
197
+ updatedAt: Date;
198
+ deletedAt: Date | null;
199
+ userId: string | null;
200
+ sipServerUrl: string;
201
+ sipUserName: string;
202
+ webphoneLoginUser: string;
203
+ extensionId: string | null;
204
+ extensionName: string;
205
+ telephonySignature: string | null;
206
+ };
207
+ }, {
208
+ id: string;
209
+ address: string | null;
210
+ name: string;
211
+ email: string;
212
+ createdAt: Date;
213
+ updatedAt: Date;
214
+ deletedAt: Date | null;
215
+ emailVerifiedAt: Date | null;
216
+ password: string;
217
+ phone: string | null;
218
+ notificationCount: number | null;
219
+ roles: {
220
+ id: string;
221
+ description: string | null;
222
+ createdAt: Date;
223
+ updatedAt: Date;
224
+ deletedAt: Date | null;
225
+ systemName: string;
226
+ displayName: string;
227
+ permissions: {
228
+ id: string;
229
+ description: string | null;
230
+ createdAt: Date;
231
+ updatedAt: Date;
232
+ deletedAt: Date | null;
233
+ systemName: string;
234
+ displayName: string;
235
+ }[];
236
+ }[];
237
+ extension: {
238
+ id: string;
239
+ createdAt: Date;
240
+ updatedAt: Date;
241
+ deletedAt: Date | null;
242
+ userId: string | null;
243
+ sipServerUrl: string;
244
+ sipUserName: string;
245
+ webphoneLoginUser: string;
246
+ extensionId: string | null;
247
+ extensionName: string;
248
+ telephonySignature: string | null;
249
+ };
250
+ }>;
251
+ notificationObjectId: z.ZodString;
252
+ readAt: z.ZodDate;
30
253
  }, "strip", z.ZodTypeAny, {
31
- data: string;
254
+ id: string;
255
+ createdAt: Date;
256
+ updatedAt: Date;
257
+ deletedAt: Date | null;
258
+ actor: {
259
+ id: string;
260
+ address: string | null;
261
+ name: string;
262
+ email: string;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ deletedAt: Date | null;
266
+ emailVerifiedAt: Date | null;
267
+ password: string;
268
+ phone: string | null;
269
+ notificationCount: number | null;
270
+ roles: {
271
+ id: string;
272
+ description: string | null;
273
+ createdAt: Date;
274
+ updatedAt: Date;
275
+ deletedAt: Date | null;
276
+ systemName: string;
277
+ displayName: string;
278
+ permissions: {
279
+ id: string;
280
+ description: string | null;
281
+ createdAt: Date;
282
+ updatedAt: Date;
283
+ deletedAt: Date | null;
284
+ systemName: string;
285
+ displayName: string;
286
+ }[];
287
+ }[];
288
+ extension: {
289
+ id: string;
290
+ createdAt: Date;
291
+ updatedAt: Date;
292
+ deletedAt: Date | null;
293
+ userId: string | null;
294
+ sipServerUrl: string;
295
+ sipUserName: string;
296
+ webphoneLoginUser: string;
297
+ extensionId: string | null;
298
+ extensionName: string;
299
+ telephonySignature: string | null;
300
+ };
301
+ };
302
+ readAt: Date;
303
+ actorId: string;
304
+ notificationObjectId: string;
32
305
  }, {
33
- data: string;
306
+ id: string;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
+ actor: {
311
+ id: string;
312
+ address: string | null;
313
+ name: string;
314
+ email: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
317
+ deletedAt: Date | null;
318
+ emailVerifiedAt: Date | null;
319
+ password: string;
320
+ phone: string | null;
321
+ notificationCount: number | null;
322
+ roles: {
323
+ id: string;
324
+ description: string | null;
325
+ createdAt: Date;
326
+ updatedAt: Date;
327
+ deletedAt: Date | null;
328
+ systemName: string;
329
+ displayName: string;
330
+ permissions: {
331
+ id: string;
332
+ description: string | null;
333
+ createdAt: Date;
334
+ updatedAt: Date;
335
+ deletedAt: Date | null;
336
+ systemName: string;
337
+ displayName: string;
338
+ }[];
339
+ }[];
340
+ extension: {
341
+ id: string;
342
+ createdAt: Date;
343
+ updatedAt: Date;
344
+ deletedAt: Date | null;
345
+ userId: string | null;
346
+ sipServerUrl: string;
347
+ sipUserName: string;
348
+ webphoneLoginUser: string;
349
+ extensionId: string | null;
350
+ extensionName: string;
351
+ telephonySignature: string | null;
352
+ };
353
+ };
354
+ readAt: Date;
355
+ actorId: string;
356
+ notificationObjectId: string;
34
357
  }>;
35
- readAt: z.ZodDate;
36
358
  }, "strip", z.ZodTypeAny, {
37
- readAt: Date;
38
- notificationObjectId: string;
39
- notifierId: string;
40
- notificationObject: {
41
- data: string;
359
+ data: string;
360
+ id: string;
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ deletedAt: Date | null;
364
+ notificationChange: {
365
+ id: string;
366
+ createdAt: Date;
367
+ updatedAt: Date;
368
+ deletedAt: Date | null;
369
+ actor: {
370
+ id: string;
371
+ address: string | null;
372
+ name: string;
373
+ email: string;
374
+ createdAt: Date;
375
+ updatedAt: Date;
376
+ deletedAt: Date | null;
377
+ emailVerifiedAt: Date | null;
378
+ password: string;
379
+ phone: string | null;
380
+ notificationCount: number | null;
381
+ roles: {
382
+ id: string;
383
+ description: string | null;
384
+ createdAt: Date;
385
+ updatedAt: Date;
386
+ deletedAt: Date | null;
387
+ systemName: string;
388
+ displayName: string;
389
+ permissions: {
390
+ id: string;
391
+ description: string | null;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ deletedAt: Date | null;
395
+ systemName: string;
396
+ displayName: string;
397
+ }[];
398
+ }[];
399
+ extension: {
400
+ id: string;
401
+ createdAt: Date;
402
+ updatedAt: Date;
403
+ deletedAt: Date | null;
404
+ userId: string | null;
405
+ sipServerUrl: string;
406
+ sipUserName: string;
407
+ webphoneLoginUser: string;
408
+ extensionId: string | null;
409
+ extensionName: string;
410
+ telephonySignature: string | null;
411
+ };
412
+ };
413
+ readAt: Date;
414
+ actorId: string;
415
+ notificationObjectId: string;
42
416
  };
43
417
  }, {
44
- readAt: Date;
45
- notificationObjectId: string;
46
- notifierId: string;
47
- notificationObject: {
48
- data: string;
418
+ data: string;
419
+ id: string;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
+ notificationChange: {
424
+ id: string;
425
+ createdAt: Date;
426
+ updatedAt: Date;
427
+ deletedAt: Date | null;
428
+ actor: {
429
+ id: string;
430
+ address: string | null;
431
+ name: string;
432
+ email: string;
433
+ createdAt: Date;
434
+ updatedAt: Date;
435
+ deletedAt: Date | null;
436
+ emailVerifiedAt: Date | null;
437
+ password: string;
438
+ phone: string | null;
439
+ notificationCount: number | null;
440
+ roles: {
441
+ id: string;
442
+ description: string | null;
443
+ createdAt: Date;
444
+ updatedAt: Date;
445
+ deletedAt: Date | null;
446
+ systemName: string;
447
+ displayName: string;
448
+ permissions: {
449
+ id: string;
450
+ description: string | null;
451
+ createdAt: Date;
452
+ updatedAt: Date;
453
+ deletedAt: Date | null;
454
+ systemName: string;
455
+ displayName: string;
456
+ }[];
457
+ }[];
458
+ extension: {
459
+ id: string;
460
+ createdAt: Date;
461
+ updatedAt: Date;
462
+ deletedAt: Date | null;
463
+ userId: string | null;
464
+ sipServerUrl: string;
465
+ sipUserName: string;
466
+ webphoneLoginUser: string;
467
+ extensionId: string | null;
468
+ extensionName: string;
469
+ telephonySignature: string | null;
470
+ };
471
+ };
472
+ readAt: Date;
473
+ actorId: string;
474
+ notificationObjectId: string;
49
475
  };
50
- }>, "many">;
51
- total: z.ZodNumber;
52
- page: z.ZodNumber;
53
- pageSize: z.ZodNumber;
54
- lastPage: z.ZodNumber;
55
- totalUnreadCount: z.ZodOptional<z.ZodNumber>;
56
- unreadRoomCount: z.ZodOptional<z.ZodNumber>;
57
- unreadCountsByAssigneeList: z.ZodArray<z.ZodObject<{
58
- assigneeId: z.ZodOptional<z.ZodString>;
59
- totalUnreadCount: z.ZodOptional<z.ZodString>;
60
- }, "strip", z.ZodTypeAny, {
61
- assigneeId?: string | undefined;
62
- totalUnreadCount?: string | undefined;
63
- }, {
64
- assigneeId?: string | undefined;
65
- totalUnreadCount?: string | undefined;
66
- }>, "many">;
476
+ }>;
477
+ readAt: z.ZodDate;
67
478
  }, "strip", z.ZodTypeAny, {
68
- data: {
69
- readAt: Date;
70
- notificationObjectId: string;
71
- notifierId: string;
72
- notificationObject: {
73
- data: string;
479
+ id: string;
480
+ createdAt: Date;
481
+ updatedAt: Date;
482
+ deletedAt: Date | null;
483
+ readAt: Date;
484
+ notificationObjectId: string;
485
+ notifierId: string;
486
+ notificationObject: {
487
+ data: string;
488
+ id: string;
489
+ createdAt: Date;
490
+ updatedAt: Date;
491
+ deletedAt: Date | null;
492
+ notificationChange: {
493
+ id: string;
494
+ createdAt: Date;
495
+ updatedAt: Date;
496
+ deletedAt: Date | null;
497
+ actor: {
498
+ id: string;
499
+ address: string | null;
500
+ name: string;
501
+ email: string;
502
+ createdAt: Date;
503
+ updatedAt: Date;
504
+ deletedAt: Date | null;
505
+ emailVerifiedAt: Date | null;
506
+ password: string;
507
+ phone: string | null;
508
+ notificationCount: number | null;
509
+ roles: {
510
+ id: string;
511
+ description: string | null;
512
+ createdAt: Date;
513
+ updatedAt: Date;
514
+ deletedAt: Date | null;
515
+ systemName: string;
516
+ displayName: string;
517
+ permissions: {
518
+ id: string;
519
+ description: string | null;
520
+ createdAt: Date;
521
+ updatedAt: Date;
522
+ deletedAt: Date | null;
523
+ systemName: string;
524
+ displayName: string;
525
+ }[];
526
+ }[];
527
+ extension: {
528
+ id: string;
529
+ createdAt: Date;
530
+ updatedAt: Date;
531
+ deletedAt: Date | null;
532
+ userId: string | null;
533
+ sipServerUrl: string;
534
+ sipUserName: string;
535
+ webphoneLoginUser: string;
536
+ extensionId: string | null;
537
+ extensionName: string;
538
+ telephonySignature: string | null;
539
+ };
540
+ };
541
+ readAt: Date;
542
+ actorId: string;
543
+ notificationObjectId: string;
74
544
  };
75
- }[];
76
- total: number;
77
- page: number;
78
- pageSize: number;
79
- lastPage: number;
80
- unreadCountsByAssigneeList: {
81
- assigneeId?: string | undefined;
82
- totalUnreadCount?: string | undefined;
83
- }[];
84
- totalUnreadCount?: number | undefined;
85
- unreadRoomCount?: number | undefined;
545
+ };
86
546
  }, {
87
- data: {
88
- readAt: Date;
89
- notificationObjectId: string;
90
- notifierId: string;
91
- notificationObject: {
92
- data: string;
547
+ id: string;
548
+ createdAt: Date;
549
+ updatedAt: Date;
550
+ deletedAt: Date | null;
551
+ readAt: Date;
552
+ notificationObjectId: string;
553
+ notifierId: string;
554
+ notificationObject: {
555
+ data: string;
556
+ id: string;
557
+ createdAt: Date;
558
+ updatedAt: Date;
559
+ deletedAt: Date | null;
560
+ notificationChange: {
561
+ id: string;
562
+ createdAt: Date;
563
+ updatedAt: Date;
564
+ deletedAt: Date | null;
565
+ actor: {
566
+ id: string;
567
+ address: string | null;
568
+ name: string;
569
+ email: string;
570
+ createdAt: Date;
571
+ updatedAt: Date;
572
+ deletedAt: Date | null;
573
+ emailVerifiedAt: Date | null;
574
+ password: string;
575
+ phone: string | null;
576
+ notificationCount: number | null;
577
+ roles: {
578
+ id: string;
579
+ description: string | null;
580
+ createdAt: Date;
581
+ updatedAt: Date;
582
+ deletedAt: Date | null;
583
+ systemName: string;
584
+ displayName: string;
585
+ permissions: {
586
+ id: string;
587
+ description: string | null;
588
+ createdAt: Date;
589
+ updatedAt: Date;
590
+ deletedAt: Date | null;
591
+ systemName: string;
592
+ displayName: string;
593
+ }[];
594
+ }[];
595
+ extension: {
596
+ id: string;
597
+ createdAt: Date;
598
+ updatedAt: Date;
599
+ deletedAt: Date | null;
600
+ userId: string | null;
601
+ sipServerUrl: string;
602
+ sipUserName: string;
603
+ webphoneLoginUser: string;
604
+ extensionId: string | null;
605
+ extensionName: string;
606
+ telephonySignature: string | null;
607
+ };
608
+ };
609
+ readAt: Date;
610
+ actorId: string;
611
+ notificationObjectId: string;
93
612
  };
94
- }[];
95
- total: number;
96
- page: number;
97
- pageSize: number;
98
- lastPage: number;
99
- unreadCountsByAssigneeList: {
100
- assigneeId?: string | undefined;
101
- totalUnreadCount?: string | undefined;
102
- }[];
103
- totalUnreadCount?: number | undefined;
104
- unreadRoomCount?: number | undefined;
105
- }>;
613
+ };
614
+ }>, "many">;
615
+ total: z.ZodNumber;
616
+ page: z.ZodNumber;
617
+ pageSize: z.ZodNumber;
618
+ lastPage: z.ZodNumber;
619
+ totalUnreadCount: z.ZodOptional<z.ZodNumber>;
106
620
  }, "strip", z.ZodTypeAny, {
621
+ total: number;
107
622
  notifications: {
108
- data: {
109
- readAt: Date;
110
- notificationObjectId: string;
111
- notifierId: string;
112
- notificationObject: {
113
- data: string;
623
+ id: string;
624
+ createdAt: Date;
625
+ updatedAt: Date;
626
+ deletedAt: Date | null;
627
+ readAt: Date;
628
+ notificationObjectId: string;
629
+ notifierId: string;
630
+ notificationObject: {
631
+ data: string;
632
+ id: string;
633
+ createdAt: Date;
634
+ updatedAt: Date;
635
+ deletedAt: Date | null;
636
+ notificationChange: {
637
+ id: string;
638
+ createdAt: Date;
639
+ updatedAt: Date;
640
+ deletedAt: Date | null;
641
+ actor: {
642
+ id: string;
643
+ address: string | null;
644
+ name: string;
645
+ email: string;
646
+ createdAt: Date;
647
+ updatedAt: Date;
648
+ deletedAt: Date | null;
649
+ emailVerifiedAt: Date | null;
650
+ password: string;
651
+ phone: string | null;
652
+ notificationCount: number | null;
653
+ roles: {
654
+ id: string;
655
+ description: string | null;
656
+ createdAt: Date;
657
+ updatedAt: Date;
658
+ deletedAt: Date | null;
659
+ systemName: string;
660
+ displayName: string;
661
+ permissions: {
662
+ id: string;
663
+ description: string | null;
664
+ createdAt: Date;
665
+ updatedAt: Date;
666
+ deletedAt: Date | null;
667
+ systemName: string;
668
+ displayName: string;
669
+ }[];
670
+ }[];
671
+ extension: {
672
+ id: string;
673
+ createdAt: Date;
674
+ updatedAt: Date;
675
+ deletedAt: Date | null;
676
+ userId: string | null;
677
+ sipServerUrl: string;
678
+ sipUserName: string;
679
+ webphoneLoginUser: string;
680
+ extensionId: string | null;
681
+ extensionName: string;
682
+ telephonySignature: string | null;
683
+ };
684
+ };
685
+ readAt: Date;
686
+ actorId: string;
687
+ notificationObjectId: string;
114
688
  };
115
- }[];
116
- total: number;
117
- page: number;
118
- pageSize: number;
119
- lastPage: number;
120
- unreadCountsByAssigneeList: {
121
- assigneeId?: string | undefined;
122
- totalUnreadCount?: string | undefined;
123
- }[];
124
- totalUnreadCount?: number | undefined;
125
- unreadRoomCount?: number | undefined;
126
- };
689
+ };
690
+ }[];
691
+ page: number;
692
+ pageSize: number;
693
+ lastPage: number;
127
694
  notificationCount: number;
695
+ totalUnreadCount?: number | undefined;
128
696
  }, {
697
+ total: number;
129
698
  notifications: {
130
- data: {
131
- readAt: Date;
132
- notificationObjectId: string;
133
- notifierId: string;
134
- notificationObject: {
135
- data: string;
699
+ id: string;
700
+ createdAt: Date;
701
+ updatedAt: Date;
702
+ deletedAt: Date | null;
703
+ readAt: Date;
704
+ notificationObjectId: string;
705
+ notifierId: string;
706
+ notificationObject: {
707
+ data: string;
708
+ id: string;
709
+ createdAt: Date;
710
+ updatedAt: Date;
711
+ deletedAt: Date | null;
712
+ notificationChange: {
713
+ id: string;
714
+ createdAt: Date;
715
+ updatedAt: Date;
716
+ deletedAt: Date | null;
717
+ actor: {
718
+ id: string;
719
+ address: string | null;
720
+ name: string;
721
+ email: string;
722
+ createdAt: Date;
723
+ updatedAt: Date;
724
+ deletedAt: Date | null;
725
+ emailVerifiedAt: Date | null;
726
+ password: string;
727
+ phone: string | null;
728
+ notificationCount: number | null;
729
+ roles: {
730
+ id: string;
731
+ description: string | null;
732
+ createdAt: Date;
733
+ updatedAt: Date;
734
+ deletedAt: Date | null;
735
+ systemName: string;
736
+ displayName: string;
737
+ permissions: {
738
+ id: string;
739
+ description: string | null;
740
+ createdAt: Date;
741
+ updatedAt: Date;
742
+ deletedAt: Date | null;
743
+ systemName: string;
744
+ displayName: string;
745
+ }[];
746
+ }[];
747
+ extension: {
748
+ id: string;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
+ userId: string | null;
753
+ sipServerUrl: string;
754
+ sipUserName: string;
755
+ webphoneLoginUser: string;
756
+ extensionId: string | null;
757
+ extensionName: string;
758
+ telephonySignature: string | null;
759
+ };
760
+ };
761
+ readAt: Date;
762
+ actorId: string;
763
+ notificationObjectId: string;
136
764
  };
137
- }[];
138
- total: number;
139
- page: number;
140
- pageSize: number;
141
- lastPage: number;
142
- unreadCountsByAssigneeList: {
143
- assigneeId?: string | undefined;
144
- totalUnreadCount?: string | undefined;
145
- }[];
146
- totalUnreadCount?: number | undefined;
147
- unreadRoomCount?: number | undefined;
148
- };
765
+ };
766
+ }[];
767
+ page: number;
768
+ pageSize: number;
769
+ lastPage: number;
149
770
  notificationCount: number;
771
+ totalUnreadCount?: number | undefined;
150
772
  }>;
151
773
  }, "strip", z.ZodTypeAny, {
152
- requestId: string;
153
- GetNotificationsResponseSchema: {
774
+ data: {
775
+ total: number;
154
776
  notifications: {
155
- data: {
156
- readAt: Date;
157
- notificationObjectId: string;
158
- notifierId: string;
159
- notificationObject: {
160
- data: string;
777
+ id: string;
778
+ createdAt: Date;
779
+ updatedAt: Date;
780
+ deletedAt: Date | null;
781
+ readAt: Date;
782
+ notificationObjectId: string;
783
+ notifierId: string;
784
+ notificationObject: {
785
+ data: string;
786
+ id: string;
787
+ createdAt: Date;
788
+ updatedAt: Date;
789
+ deletedAt: Date | null;
790
+ notificationChange: {
791
+ id: string;
792
+ createdAt: Date;
793
+ updatedAt: Date;
794
+ deletedAt: Date | null;
795
+ actor: {
796
+ id: string;
797
+ address: string | null;
798
+ name: string;
799
+ email: string;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
+ emailVerifiedAt: Date | null;
804
+ password: string;
805
+ phone: string | null;
806
+ notificationCount: number | null;
807
+ roles: {
808
+ id: string;
809
+ description: string | null;
810
+ createdAt: Date;
811
+ updatedAt: Date;
812
+ deletedAt: Date | null;
813
+ systemName: string;
814
+ displayName: string;
815
+ permissions: {
816
+ id: string;
817
+ description: string | null;
818
+ createdAt: Date;
819
+ updatedAt: Date;
820
+ deletedAt: Date | null;
821
+ systemName: string;
822
+ displayName: string;
823
+ }[];
824
+ }[];
825
+ extension: {
826
+ id: string;
827
+ createdAt: Date;
828
+ updatedAt: Date;
829
+ deletedAt: Date | null;
830
+ userId: string | null;
831
+ sipServerUrl: string;
832
+ sipUserName: string;
833
+ webphoneLoginUser: string;
834
+ extensionId: string | null;
835
+ extensionName: string;
836
+ telephonySignature: string | null;
837
+ };
838
+ };
839
+ readAt: Date;
840
+ actorId: string;
841
+ notificationObjectId: string;
161
842
  };
162
- }[];
163
- total: number;
164
- page: number;
165
- pageSize: number;
166
- lastPage: number;
167
- unreadCountsByAssigneeList: {
168
- assigneeId?: string | undefined;
169
- totalUnreadCount?: string | undefined;
170
- }[];
171
- totalUnreadCount?: number | undefined;
172
- unreadRoomCount?: number | undefined;
173
- };
843
+ };
844
+ }[];
845
+ page: number;
846
+ pageSize: number;
847
+ lastPage: number;
174
848
  notificationCount: number;
849
+ totalUnreadCount?: number | undefined;
175
850
  };
176
- }, {
177
851
  requestId: string;
178
- GetNotificationsResponseSchema: {
852
+ }, {
853
+ data: {
854
+ total: number;
179
855
  notifications: {
180
- data: {
181
- readAt: Date;
182
- notificationObjectId: string;
183
- notifierId: string;
184
- notificationObject: {
185
- data: string;
856
+ id: string;
857
+ createdAt: Date;
858
+ updatedAt: Date;
859
+ deletedAt: Date | null;
860
+ readAt: Date;
861
+ notificationObjectId: string;
862
+ notifierId: string;
863
+ notificationObject: {
864
+ data: string;
865
+ id: string;
866
+ createdAt: Date;
867
+ updatedAt: Date;
868
+ deletedAt: Date | null;
869
+ notificationChange: {
870
+ id: string;
871
+ createdAt: Date;
872
+ updatedAt: Date;
873
+ deletedAt: Date | null;
874
+ actor: {
875
+ id: string;
876
+ address: string | null;
877
+ name: string;
878
+ email: string;
879
+ createdAt: Date;
880
+ updatedAt: Date;
881
+ deletedAt: Date | null;
882
+ emailVerifiedAt: Date | null;
883
+ password: string;
884
+ phone: string | null;
885
+ notificationCount: number | null;
886
+ roles: {
887
+ id: string;
888
+ description: string | null;
889
+ createdAt: Date;
890
+ updatedAt: Date;
891
+ deletedAt: Date | null;
892
+ systemName: string;
893
+ displayName: string;
894
+ permissions: {
895
+ id: string;
896
+ description: string | null;
897
+ createdAt: Date;
898
+ updatedAt: Date;
899
+ deletedAt: Date | null;
900
+ systemName: string;
901
+ displayName: string;
902
+ }[];
903
+ }[];
904
+ extension: {
905
+ id: string;
906
+ createdAt: Date;
907
+ updatedAt: Date;
908
+ deletedAt: Date | null;
909
+ userId: string | null;
910
+ sipServerUrl: string;
911
+ sipUserName: string;
912
+ webphoneLoginUser: string;
913
+ extensionId: string | null;
914
+ extensionName: string;
915
+ telephonySignature: string | null;
916
+ };
917
+ };
918
+ readAt: Date;
919
+ actorId: string;
920
+ notificationObjectId: string;
186
921
  };
187
- }[];
188
- total: number;
189
- page: number;
190
- pageSize: number;
191
- lastPage: number;
192
- unreadCountsByAssigneeList: {
193
- assigneeId?: string | undefined;
194
- totalUnreadCount?: string | undefined;
195
- }[];
196
- totalUnreadCount?: number | undefined;
197
- unreadRoomCount?: number | undefined;
198
- };
922
+ };
923
+ }[];
924
+ page: number;
925
+ pageSize: number;
926
+ lastPage: number;
199
927
  notificationCount: number;
928
+ totalUnreadCount?: number | undefined;
200
929
  };
930
+ requestId: string;
201
931
  }>;
202
932
  400: z.ZodObject<{
203
933
  message: z.ZodString;
@@ -638,48 +1368,731 @@ export declare const userNotificationContract: {
638
1368
  201: z.ZodObject<{
639
1369
  requestId: z.ZodString;
640
1370
  data: z.ZodObject<{
1371
+ id: z.ZodString;
1372
+ createdAt: z.ZodDate;
1373
+ updatedAt: z.ZodDate;
1374
+ deletedAt: z.ZodNullable<z.ZodDate>;
641
1375
  notificationObjectId: z.ZodString;
642
1376
  notifierId: z.ZodString;
643
1377
  notificationObject: z.ZodObject<{
1378
+ id: z.ZodString;
1379
+ createdAt: z.ZodDate;
1380
+ updatedAt: z.ZodDate;
1381
+ deletedAt: z.ZodNullable<z.ZodDate>;
644
1382
  data: z.ZodString;
1383
+ notificationChange: z.ZodObject<{
1384
+ id: z.ZodString;
1385
+ createdAt: z.ZodDate;
1386
+ updatedAt: z.ZodDate;
1387
+ deletedAt: z.ZodNullable<z.ZodDate>;
1388
+ actorId: z.ZodString;
1389
+ actor: z.ZodObject<{
1390
+ id: z.ZodString;
1391
+ createdAt: z.ZodDate;
1392
+ updatedAt: z.ZodDate;
1393
+ deletedAt: z.ZodNullable<z.ZodDate>;
1394
+ name: z.ZodString;
1395
+ email: z.ZodString;
1396
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1397
+ password: z.ZodString;
1398
+ address: z.ZodNullable<z.ZodString>;
1399
+ phone: z.ZodNullable<z.ZodString>;
1400
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1401
+ roles: z.ZodArray<z.ZodObject<{
1402
+ id: z.ZodString;
1403
+ createdAt: z.ZodDate;
1404
+ updatedAt: z.ZodDate;
1405
+ deletedAt: z.ZodNullable<z.ZodDate>;
1406
+ systemName: z.ZodString;
1407
+ displayName: z.ZodString;
1408
+ description: z.ZodNullable<z.ZodString>;
1409
+ permissions: z.ZodArray<z.ZodObject<{
1410
+ id: z.ZodString;
1411
+ createdAt: z.ZodDate;
1412
+ updatedAt: z.ZodDate;
1413
+ deletedAt: z.ZodNullable<z.ZodDate>;
1414
+ systemName: z.ZodString;
1415
+ displayName: z.ZodString;
1416
+ description: z.ZodNullable<z.ZodString>;
1417
+ }, "strip", z.ZodTypeAny, {
1418
+ id: string;
1419
+ description: string | null;
1420
+ createdAt: Date;
1421
+ updatedAt: Date;
1422
+ deletedAt: Date | null;
1423
+ systemName: string;
1424
+ displayName: string;
1425
+ }, {
1426
+ id: string;
1427
+ description: string | null;
1428
+ createdAt: Date;
1429
+ updatedAt: Date;
1430
+ deletedAt: Date | null;
1431
+ systemName: string;
1432
+ displayName: string;
1433
+ }>, "many">;
1434
+ }, "strip", z.ZodTypeAny, {
1435
+ id: string;
1436
+ description: string | null;
1437
+ createdAt: Date;
1438
+ updatedAt: Date;
1439
+ deletedAt: Date | null;
1440
+ systemName: string;
1441
+ displayName: string;
1442
+ permissions: {
1443
+ id: string;
1444
+ description: string | null;
1445
+ createdAt: Date;
1446
+ updatedAt: Date;
1447
+ deletedAt: Date | null;
1448
+ systemName: string;
1449
+ displayName: string;
1450
+ }[];
1451
+ }, {
1452
+ id: string;
1453
+ description: string | null;
1454
+ createdAt: Date;
1455
+ updatedAt: Date;
1456
+ deletedAt: Date | null;
1457
+ systemName: string;
1458
+ displayName: string;
1459
+ permissions: {
1460
+ id: string;
1461
+ description: string | null;
1462
+ createdAt: Date;
1463
+ updatedAt: Date;
1464
+ deletedAt: Date | null;
1465
+ systemName: string;
1466
+ displayName: string;
1467
+ }[];
1468
+ }>, "many">;
1469
+ extension: z.ZodObject<{
1470
+ id: z.ZodString;
1471
+ createdAt: z.ZodDate;
1472
+ updatedAt: z.ZodDate;
1473
+ deletedAt: z.ZodNullable<z.ZodDate>;
1474
+ userId: z.ZodNullable<z.ZodString>;
1475
+ sipServerUrl: z.ZodString;
1476
+ sipUserName: z.ZodString;
1477
+ webphoneLoginUser: z.ZodString;
1478
+ extensionId: z.ZodNullable<z.ZodString>;
1479
+ extensionName: z.ZodString;
1480
+ telephonySignature: z.ZodNullable<z.ZodString>;
1481
+ }, "strip", z.ZodTypeAny, {
1482
+ id: string;
1483
+ createdAt: Date;
1484
+ updatedAt: Date;
1485
+ deletedAt: Date | null;
1486
+ userId: string | null;
1487
+ sipServerUrl: string;
1488
+ sipUserName: string;
1489
+ webphoneLoginUser: string;
1490
+ extensionId: string | null;
1491
+ extensionName: string;
1492
+ telephonySignature: string | null;
1493
+ }, {
1494
+ id: string;
1495
+ createdAt: Date;
1496
+ updatedAt: Date;
1497
+ deletedAt: Date | null;
1498
+ userId: string | null;
1499
+ sipServerUrl: string;
1500
+ sipUserName: string;
1501
+ webphoneLoginUser: string;
1502
+ extensionId: string | null;
1503
+ extensionName: string;
1504
+ telephonySignature: string | null;
1505
+ }>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ id: string;
1508
+ address: string | null;
1509
+ name: string;
1510
+ email: string;
1511
+ createdAt: Date;
1512
+ updatedAt: Date;
1513
+ deletedAt: Date | null;
1514
+ emailVerifiedAt: Date | null;
1515
+ password: string;
1516
+ phone: string | null;
1517
+ notificationCount: number | null;
1518
+ roles: {
1519
+ id: string;
1520
+ description: string | null;
1521
+ createdAt: Date;
1522
+ updatedAt: Date;
1523
+ deletedAt: Date | null;
1524
+ systemName: string;
1525
+ displayName: string;
1526
+ permissions: {
1527
+ id: string;
1528
+ description: string | null;
1529
+ createdAt: Date;
1530
+ updatedAt: Date;
1531
+ deletedAt: Date | null;
1532
+ systemName: string;
1533
+ displayName: string;
1534
+ }[];
1535
+ }[];
1536
+ extension: {
1537
+ id: string;
1538
+ createdAt: Date;
1539
+ updatedAt: Date;
1540
+ deletedAt: Date | null;
1541
+ userId: string | null;
1542
+ sipServerUrl: string;
1543
+ sipUserName: string;
1544
+ webphoneLoginUser: string;
1545
+ extensionId: string | null;
1546
+ extensionName: string;
1547
+ telephonySignature: string | null;
1548
+ };
1549
+ }, {
1550
+ id: string;
1551
+ address: string | null;
1552
+ name: string;
1553
+ email: string;
1554
+ createdAt: Date;
1555
+ updatedAt: Date;
1556
+ deletedAt: Date | null;
1557
+ emailVerifiedAt: Date | null;
1558
+ password: string;
1559
+ phone: string | null;
1560
+ notificationCount: number | null;
1561
+ roles: {
1562
+ id: string;
1563
+ description: string | null;
1564
+ createdAt: Date;
1565
+ updatedAt: Date;
1566
+ deletedAt: Date | null;
1567
+ systemName: string;
1568
+ displayName: string;
1569
+ permissions: {
1570
+ id: string;
1571
+ description: string | null;
1572
+ createdAt: Date;
1573
+ updatedAt: Date;
1574
+ deletedAt: Date | null;
1575
+ systemName: string;
1576
+ displayName: string;
1577
+ }[];
1578
+ }[];
1579
+ extension: {
1580
+ id: string;
1581
+ createdAt: Date;
1582
+ updatedAt: Date;
1583
+ deletedAt: Date | null;
1584
+ userId: string | null;
1585
+ sipServerUrl: string;
1586
+ sipUserName: string;
1587
+ webphoneLoginUser: string;
1588
+ extensionId: string | null;
1589
+ extensionName: string;
1590
+ telephonySignature: string | null;
1591
+ };
1592
+ }>;
1593
+ notificationObjectId: z.ZodString;
1594
+ readAt: z.ZodDate;
1595
+ }, "strip", z.ZodTypeAny, {
1596
+ id: string;
1597
+ createdAt: Date;
1598
+ updatedAt: Date;
1599
+ deletedAt: Date | null;
1600
+ actor: {
1601
+ id: string;
1602
+ address: string | null;
1603
+ name: string;
1604
+ email: string;
1605
+ createdAt: Date;
1606
+ updatedAt: Date;
1607
+ deletedAt: Date | null;
1608
+ emailVerifiedAt: Date | null;
1609
+ password: string;
1610
+ phone: string | null;
1611
+ notificationCount: number | null;
1612
+ roles: {
1613
+ id: string;
1614
+ description: string | null;
1615
+ createdAt: Date;
1616
+ updatedAt: Date;
1617
+ deletedAt: Date | null;
1618
+ systemName: string;
1619
+ displayName: string;
1620
+ permissions: {
1621
+ id: string;
1622
+ description: string | null;
1623
+ createdAt: Date;
1624
+ updatedAt: Date;
1625
+ deletedAt: Date | null;
1626
+ systemName: string;
1627
+ displayName: string;
1628
+ }[];
1629
+ }[];
1630
+ extension: {
1631
+ id: string;
1632
+ createdAt: Date;
1633
+ updatedAt: Date;
1634
+ deletedAt: Date | null;
1635
+ userId: string | null;
1636
+ sipServerUrl: string;
1637
+ sipUserName: string;
1638
+ webphoneLoginUser: string;
1639
+ extensionId: string | null;
1640
+ extensionName: string;
1641
+ telephonySignature: string | null;
1642
+ };
1643
+ };
1644
+ readAt: Date;
1645
+ actorId: string;
1646
+ notificationObjectId: string;
1647
+ }, {
1648
+ id: string;
1649
+ createdAt: Date;
1650
+ updatedAt: Date;
1651
+ deletedAt: Date | null;
1652
+ actor: {
1653
+ id: string;
1654
+ address: string | null;
1655
+ name: string;
1656
+ email: string;
1657
+ createdAt: Date;
1658
+ updatedAt: Date;
1659
+ deletedAt: Date | null;
1660
+ emailVerifiedAt: Date | null;
1661
+ password: string;
1662
+ phone: string | null;
1663
+ notificationCount: number | null;
1664
+ roles: {
1665
+ id: string;
1666
+ description: string | null;
1667
+ createdAt: Date;
1668
+ updatedAt: Date;
1669
+ deletedAt: Date | null;
1670
+ systemName: string;
1671
+ displayName: string;
1672
+ permissions: {
1673
+ id: string;
1674
+ description: string | null;
1675
+ createdAt: Date;
1676
+ updatedAt: Date;
1677
+ deletedAt: Date | null;
1678
+ systemName: string;
1679
+ displayName: string;
1680
+ }[];
1681
+ }[];
1682
+ extension: {
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
+ };
1696
+ readAt: Date;
1697
+ actorId: string;
1698
+ notificationObjectId: string;
1699
+ }>;
645
1700
  }, "strip", z.ZodTypeAny, {
646
1701
  data: string;
1702
+ id: string;
1703
+ createdAt: Date;
1704
+ updatedAt: Date;
1705
+ deletedAt: Date | null;
1706
+ notificationChange: {
1707
+ id: string;
1708
+ createdAt: Date;
1709
+ updatedAt: Date;
1710
+ deletedAt: Date | null;
1711
+ actor: {
1712
+ id: string;
1713
+ address: string | null;
1714
+ name: string;
1715
+ email: string;
1716
+ createdAt: Date;
1717
+ updatedAt: Date;
1718
+ deletedAt: Date | null;
1719
+ emailVerifiedAt: Date | null;
1720
+ password: string;
1721
+ phone: string | null;
1722
+ notificationCount: number | null;
1723
+ roles: {
1724
+ id: string;
1725
+ description: string | null;
1726
+ createdAt: Date;
1727
+ updatedAt: Date;
1728
+ deletedAt: Date | null;
1729
+ systemName: string;
1730
+ displayName: string;
1731
+ permissions: {
1732
+ id: string;
1733
+ description: string | null;
1734
+ createdAt: Date;
1735
+ updatedAt: Date;
1736
+ deletedAt: Date | null;
1737
+ systemName: string;
1738
+ displayName: string;
1739
+ }[];
1740
+ }[];
1741
+ extension: {
1742
+ id: string;
1743
+ createdAt: Date;
1744
+ updatedAt: Date;
1745
+ deletedAt: Date | null;
1746
+ userId: string | null;
1747
+ sipServerUrl: string;
1748
+ sipUserName: string;
1749
+ webphoneLoginUser: string;
1750
+ extensionId: string | null;
1751
+ extensionName: string;
1752
+ telephonySignature: string | null;
1753
+ };
1754
+ };
1755
+ readAt: Date;
1756
+ actorId: string;
1757
+ notificationObjectId: string;
1758
+ };
647
1759
  }, {
648
1760
  data: string;
1761
+ id: string;
1762
+ createdAt: Date;
1763
+ updatedAt: Date;
1764
+ deletedAt: Date | null;
1765
+ notificationChange: {
1766
+ id: string;
1767
+ createdAt: Date;
1768
+ updatedAt: Date;
1769
+ deletedAt: Date | null;
1770
+ actor: {
1771
+ id: string;
1772
+ address: string | null;
1773
+ name: string;
1774
+ email: string;
1775
+ createdAt: Date;
1776
+ updatedAt: Date;
1777
+ deletedAt: Date | null;
1778
+ emailVerifiedAt: Date | null;
1779
+ password: string;
1780
+ phone: string | null;
1781
+ notificationCount: number | null;
1782
+ roles: {
1783
+ id: string;
1784
+ description: string | null;
1785
+ createdAt: Date;
1786
+ updatedAt: Date;
1787
+ deletedAt: Date | null;
1788
+ systemName: string;
1789
+ displayName: string;
1790
+ permissions: {
1791
+ id: string;
1792
+ description: string | null;
1793
+ createdAt: Date;
1794
+ updatedAt: Date;
1795
+ deletedAt: Date | null;
1796
+ systemName: string;
1797
+ displayName: string;
1798
+ }[];
1799
+ }[];
1800
+ extension: {
1801
+ id: string;
1802
+ createdAt: Date;
1803
+ updatedAt: Date;
1804
+ deletedAt: Date | null;
1805
+ userId: string | null;
1806
+ sipServerUrl: string;
1807
+ sipUserName: string;
1808
+ webphoneLoginUser: string;
1809
+ extensionId: string | null;
1810
+ extensionName: string;
1811
+ telephonySignature: string | null;
1812
+ };
1813
+ };
1814
+ readAt: Date;
1815
+ actorId: string;
1816
+ notificationObjectId: string;
1817
+ };
649
1818
  }>;
650
1819
  readAt: z.ZodDate;
651
1820
  }, "strip", z.ZodTypeAny, {
1821
+ id: string;
1822
+ createdAt: Date;
1823
+ updatedAt: Date;
1824
+ deletedAt: Date | null;
652
1825
  readAt: Date;
653
1826
  notificationObjectId: string;
654
1827
  notifierId: string;
655
1828
  notificationObject: {
656
1829
  data: string;
1830
+ id: string;
1831
+ createdAt: Date;
1832
+ updatedAt: Date;
1833
+ deletedAt: Date | null;
1834
+ notificationChange: {
1835
+ id: string;
1836
+ createdAt: Date;
1837
+ updatedAt: Date;
1838
+ deletedAt: Date | null;
1839
+ actor: {
1840
+ id: string;
1841
+ address: string | null;
1842
+ name: string;
1843
+ email: string;
1844
+ createdAt: Date;
1845
+ updatedAt: Date;
1846
+ deletedAt: Date | null;
1847
+ emailVerifiedAt: Date | null;
1848
+ password: string;
1849
+ phone: string | null;
1850
+ notificationCount: number | null;
1851
+ roles: {
1852
+ id: string;
1853
+ description: string | null;
1854
+ createdAt: Date;
1855
+ updatedAt: Date;
1856
+ deletedAt: Date | null;
1857
+ systemName: string;
1858
+ displayName: string;
1859
+ permissions: {
1860
+ id: string;
1861
+ description: string | null;
1862
+ createdAt: Date;
1863
+ updatedAt: Date;
1864
+ deletedAt: Date | null;
1865
+ systemName: string;
1866
+ displayName: string;
1867
+ }[];
1868
+ }[];
1869
+ extension: {
1870
+ id: string;
1871
+ createdAt: Date;
1872
+ updatedAt: Date;
1873
+ deletedAt: Date | null;
1874
+ userId: string | null;
1875
+ sipServerUrl: string;
1876
+ sipUserName: string;
1877
+ webphoneLoginUser: string;
1878
+ extensionId: string | null;
1879
+ extensionName: string;
1880
+ telephonySignature: string | null;
1881
+ };
1882
+ };
1883
+ readAt: Date;
1884
+ actorId: string;
1885
+ notificationObjectId: string;
1886
+ };
657
1887
  };
658
1888
  }, {
1889
+ id: string;
1890
+ createdAt: Date;
1891
+ updatedAt: Date;
1892
+ deletedAt: Date | null;
659
1893
  readAt: Date;
660
1894
  notificationObjectId: string;
661
1895
  notifierId: string;
662
1896
  notificationObject: {
663
1897
  data: string;
1898
+ id: string;
1899
+ createdAt: Date;
1900
+ updatedAt: Date;
1901
+ deletedAt: Date | null;
1902
+ notificationChange: {
1903
+ id: string;
1904
+ createdAt: Date;
1905
+ updatedAt: Date;
1906
+ deletedAt: Date | null;
1907
+ actor: {
1908
+ id: string;
1909
+ address: string | null;
1910
+ name: string;
1911
+ email: string;
1912
+ createdAt: Date;
1913
+ updatedAt: Date;
1914
+ deletedAt: Date | null;
1915
+ emailVerifiedAt: Date | null;
1916
+ password: string;
1917
+ phone: string | null;
1918
+ notificationCount: number | null;
1919
+ roles: {
1920
+ id: string;
1921
+ description: string | null;
1922
+ createdAt: Date;
1923
+ updatedAt: Date;
1924
+ deletedAt: Date | null;
1925
+ systemName: string;
1926
+ displayName: string;
1927
+ permissions: {
1928
+ id: string;
1929
+ description: string | null;
1930
+ createdAt: Date;
1931
+ updatedAt: Date;
1932
+ deletedAt: Date | null;
1933
+ systemName: string;
1934
+ displayName: string;
1935
+ }[];
1936
+ }[];
1937
+ extension: {
1938
+ id: string;
1939
+ createdAt: Date;
1940
+ updatedAt: Date;
1941
+ deletedAt: Date | null;
1942
+ userId: string | null;
1943
+ sipServerUrl: string;
1944
+ sipUserName: string;
1945
+ webphoneLoginUser: string;
1946
+ extensionId: string | null;
1947
+ extensionName: string;
1948
+ telephonySignature: string | null;
1949
+ };
1950
+ };
1951
+ readAt: Date;
1952
+ actorId: string;
1953
+ notificationObjectId: string;
1954
+ };
664
1955
  };
665
1956
  }>;
666
1957
  }, "strip", z.ZodTypeAny, {
667
1958
  data: {
1959
+ id: string;
1960
+ createdAt: Date;
1961
+ updatedAt: Date;
1962
+ deletedAt: Date | null;
668
1963
  readAt: Date;
669
1964
  notificationObjectId: string;
670
1965
  notifierId: string;
671
1966
  notificationObject: {
672
1967
  data: string;
1968
+ id: string;
1969
+ createdAt: Date;
1970
+ updatedAt: Date;
1971
+ deletedAt: Date | null;
1972
+ notificationChange: {
1973
+ id: string;
1974
+ createdAt: Date;
1975
+ updatedAt: Date;
1976
+ deletedAt: Date | null;
1977
+ actor: {
1978
+ id: string;
1979
+ address: string | null;
1980
+ name: string;
1981
+ email: string;
1982
+ createdAt: Date;
1983
+ updatedAt: Date;
1984
+ deletedAt: Date | null;
1985
+ emailVerifiedAt: Date | null;
1986
+ password: string;
1987
+ phone: string | null;
1988
+ notificationCount: number | null;
1989
+ roles: {
1990
+ id: string;
1991
+ description: string | null;
1992
+ createdAt: Date;
1993
+ updatedAt: Date;
1994
+ deletedAt: Date | null;
1995
+ systemName: string;
1996
+ displayName: string;
1997
+ permissions: {
1998
+ id: string;
1999
+ description: string | null;
2000
+ createdAt: Date;
2001
+ updatedAt: Date;
2002
+ deletedAt: Date | null;
2003
+ systemName: string;
2004
+ displayName: string;
2005
+ }[];
2006
+ }[];
2007
+ extension: {
2008
+ id: string;
2009
+ createdAt: Date;
2010
+ updatedAt: Date;
2011
+ deletedAt: Date | null;
2012
+ userId: string | null;
2013
+ sipServerUrl: string;
2014
+ sipUserName: string;
2015
+ webphoneLoginUser: string;
2016
+ extensionId: string | null;
2017
+ extensionName: string;
2018
+ telephonySignature: string | null;
2019
+ };
2020
+ };
2021
+ readAt: Date;
2022
+ actorId: string;
2023
+ notificationObjectId: string;
2024
+ };
673
2025
  };
674
2026
  };
675
2027
  requestId: string;
676
2028
  }, {
677
2029
  data: {
2030
+ id: string;
2031
+ createdAt: Date;
2032
+ updatedAt: Date;
2033
+ deletedAt: Date | null;
678
2034
  readAt: Date;
679
2035
  notificationObjectId: string;
680
2036
  notifierId: string;
681
2037
  notificationObject: {
682
2038
  data: string;
2039
+ id: string;
2040
+ createdAt: Date;
2041
+ updatedAt: Date;
2042
+ deletedAt: Date | null;
2043
+ notificationChange: {
2044
+ id: string;
2045
+ createdAt: Date;
2046
+ updatedAt: Date;
2047
+ deletedAt: Date | null;
2048
+ actor: {
2049
+ id: string;
2050
+ address: string | null;
2051
+ name: string;
2052
+ email: string;
2053
+ createdAt: Date;
2054
+ updatedAt: Date;
2055
+ deletedAt: Date | null;
2056
+ emailVerifiedAt: Date | null;
2057
+ password: string;
2058
+ phone: string | null;
2059
+ notificationCount: number | null;
2060
+ roles: {
2061
+ id: string;
2062
+ description: string | null;
2063
+ createdAt: Date;
2064
+ updatedAt: Date;
2065
+ deletedAt: Date | null;
2066
+ systemName: string;
2067
+ displayName: string;
2068
+ permissions: {
2069
+ id: string;
2070
+ description: string | null;
2071
+ createdAt: Date;
2072
+ updatedAt: Date;
2073
+ deletedAt: Date | null;
2074
+ systemName: string;
2075
+ displayName: string;
2076
+ }[];
2077
+ }[];
2078
+ extension: {
2079
+ id: string;
2080
+ createdAt: Date;
2081
+ updatedAt: Date;
2082
+ deletedAt: Date | null;
2083
+ userId: string | null;
2084
+ sipServerUrl: string;
2085
+ sipUserName: string;
2086
+ webphoneLoginUser: string;
2087
+ extensionId: string | null;
2088
+ extensionName: string;
2089
+ telephonySignature: string | null;
2090
+ };
2091
+ };
2092
+ readAt: Date;
2093
+ actorId: string;
2094
+ notificationObjectId: string;
2095
+ };
683
2096
  };
684
2097
  };
685
2098
  requestId: string;