@kl1/contracts 1.0.81 → 1.0.83

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.
@@ -11,39 +11,46 @@ export declare const GetNotificationsRequestSchema: z.ZodObject<{
11
11
  }>;
12
12
  export declare const GetNotificationsResponseSchema: z.ZodObject<{
13
13
  notificationCount: z.ZodNumber;
14
- notifications: z.ZodObject<{
15
- data: z.ZodArray<z.ZodObject<{
14
+ notifications: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodString;
16
+ createdAt: z.ZodDate;
17
+ updatedAt: z.ZodDate;
18
+ deletedAt: z.ZodNullable<z.ZodDate>;
19
+ notificationObjectId: z.ZodString;
20
+ notifierId: z.ZodString;
21
+ notificationObject: z.ZodObject<{
16
22
  id: z.ZodString;
17
23
  createdAt: z.ZodDate;
18
24
  updatedAt: z.ZodDate;
19
25
  deletedAt: z.ZodNullable<z.ZodDate>;
20
- notificationObjectId: z.ZodString;
21
- notifierId: z.ZodString;
22
- notificationObject: z.ZodObject<{
26
+ data: z.ZodString;
27
+ notificationChange: z.ZodObject<{
23
28
  id: z.ZodString;
24
29
  createdAt: z.ZodDate;
25
30
  updatedAt: z.ZodDate;
26
31
  deletedAt: z.ZodNullable<z.ZodDate>;
27
- data: z.ZodString;
28
- notificationChange: z.ZodObject<{
32
+ actorId: z.ZodString;
33
+ actor: z.ZodObject<{
29
34
  id: z.ZodString;
30
35
  createdAt: z.ZodDate;
31
36
  updatedAt: z.ZodDate;
32
37
  deletedAt: z.ZodNullable<z.ZodDate>;
33
- actorId: z.ZodString;
34
- actor: z.ZodObject<{
38
+ name: z.ZodString;
39
+ email: z.ZodString;
40
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
41
+ password: z.ZodString;
42
+ address: z.ZodNullable<z.ZodString>;
43
+ phone: z.ZodNullable<z.ZodString>;
44
+ notificationCount: z.ZodNullable<z.ZodNumber>;
45
+ roles: z.ZodArray<z.ZodObject<{
35
46
  id: z.ZodString;
36
47
  createdAt: z.ZodDate;
37
48
  updatedAt: z.ZodDate;
38
49
  deletedAt: z.ZodNullable<z.ZodDate>;
39
- name: z.ZodString;
40
- email: z.ZodString;
41
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
42
- password: z.ZodString;
43
- address: z.ZodNullable<z.ZodString>;
44
- phone: z.ZodNullable<z.ZodString>;
45
- notificationCount: z.ZodNullable<z.ZodNumber>;
46
- roles: z.ZodArray<z.ZodObject<{
50
+ systemName: z.ZodString;
51
+ displayName: z.ZodString;
52
+ description: z.ZodNullable<z.ZodString>;
53
+ permissions: z.ZodArray<z.ZodObject<{
47
54
  id: z.ZodString;
48
55
  createdAt: z.ZodDate;
49
56
  updatedAt: z.ZodDate;
@@ -51,31 +58,6 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
51
58
  systemName: z.ZodString;
52
59
  displayName: z.ZodString;
53
60
  description: z.ZodNullable<z.ZodString>;
54
- permissions: z.ZodArray<z.ZodObject<{
55
- id: z.ZodString;
56
- createdAt: z.ZodDate;
57
- updatedAt: z.ZodDate;
58
- deletedAt: z.ZodNullable<z.ZodDate>;
59
- systemName: z.ZodString;
60
- displayName: z.ZodString;
61
- description: z.ZodNullable<z.ZodString>;
62
- }, "strip", z.ZodTypeAny, {
63
- id: string;
64
- description: string | null;
65
- createdAt: Date;
66
- updatedAt: Date;
67
- deletedAt: Date | null;
68
- systemName: string;
69
- displayName: string;
70
- }, {
71
- id: string;
72
- description: string | null;
73
- createdAt: Date;
74
- updatedAt: Date;
75
- deletedAt: Date | null;
76
- systemName: string;
77
- displayName: string;
78
- }>, "many">;
79
61
  }, "strip", z.ZodTypeAny, {
80
62
  id: string;
81
63
  description: string | null;
@@ -84,15 +66,6 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
84
66
  deletedAt: Date | null;
85
67
  systemName: string;
86
68
  displayName: string;
87
- permissions: {
88
- id: string;
89
- description: string | null;
90
- createdAt: Date;
91
- updatedAt: Date;
92
- deletedAt: Date | null;
93
- systemName: string;
94
- displayName: string;
95
- }[];
96
69
  }, {
97
70
  id: string;
98
71
  description: string | null;
@@ -101,66 +74,16 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
101
74
  deletedAt: Date | null;
102
75
  systemName: string;
103
76
  displayName: string;
104
- permissions: {
105
- id: string;
106
- description: string | null;
107
- createdAt: Date;
108
- updatedAt: Date;
109
- deletedAt: Date | null;
110
- systemName: string;
111
- displayName: string;
112
- }[];
113
77
  }>, "many">;
114
- extension: z.ZodObject<{
115
- id: z.ZodString;
116
- createdAt: z.ZodDate;
117
- updatedAt: z.ZodDate;
118
- deletedAt: z.ZodNullable<z.ZodDate>;
119
- userId: z.ZodNullable<z.ZodString>;
120
- sipServerUrl: z.ZodString;
121
- sipUserName: z.ZodString;
122
- webphoneLoginUser: z.ZodString;
123
- extensionId: z.ZodNullable<z.ZodString>;
124
- extensionName: z.ZodString;
125
- telephonySignature: z.ZodNullable<z.ZodString>;
126
- }, "strip", z.ZodTypeAny, {
127
- id: string;
128
- createdAt: Date;
129
- updatedAt: Date;
130
- deletedAt: Date | null;
131
- userId: string | null;
132
- sipServerUrl: string;
133
- sipUserName: string;
134
- webphoneLoginUser: string;
135
- extensionId: string | null;
136
- extensionName: string;
137
- telephonySignature: string | null;
138
- }, {
139
- id: string;
140
- createdAt: Date;
141
- updatedAt: Date;
142
- deletedAt: Date | null;
143
- userId: string | null;
144
- sipServerUrl: string;
145
- sipUserName: string;
146
- webphoneLoginUser: string;
147
- extensionId: string | null;
148
- extensionName: string;
149
- telephonySignature: string | null;
150
- }>;
151
78
  }, "strip", z.ZodTypeAny, {
152
79
  id: string;
153
- address: string | null;
154
- name: string;
155
- email: string;
80
+ description: string | null;
156
81
  createdAt: Date;
157
82
  updatedAt: Date;
158
83
  deletedAt: Date | null;
159
- emailVerifiedAt: Date | null;
160
- password: string;
161
- phone: string | null;
162
- notificationCount: number | null;
163
- roles: {
84
+ systemName: string;
85
+ displayName: string;
86
+ permissions: {
164
87
  id: string;
165
88
  description: string | null;
166
89
  createdAt: Date;
@@ -168,42 +91,16 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
168
91
  deletedAt: Date | null;
169
92
  systemName: string;
170
93
  displayName: string;
171
- permissions: {
172
- id: string;
173
- description: string | null;
174
- createdAt: Date;
175
- updatedAt: Date;
176
- deletedAt: Date | null;
177
- systemName: string;
178
- displayName: string;
179
- }[];
180
94
  }[];
181
- extension: {
182
- id: string;
183
- createdAt: Date;
184
- updatedAt: Date;
185
- deletedAt: Date | null;
186
- userId: string | null;
187
- sipServerUrl: string;
188
- sipUserName: string;
189
- webphoneLoginUser: string;
190
- extensionId: string | null;
191
- extensionName: string;
192
- telephonySignature: string | null;
193
- };
194
95
  }, {
195
96
  id: string;
196
- address: string | null;
197
- name: string;
198
- email: string;
97
+ description: string | null;
199
98
  createdAt: Date;
200
99
  updatedAt: Date;
201
100
  deletedAt: Date | null;
202
- emailVerifiedAt: Date | null;
203
- password: string;
204
- phone: string | null;
205
- notificationCount: number | null;
206
- roles: {
101
+ systemName: string;
102
+ displayName: string;
103
+ permissions: {
207
104
  id: string;
208
105
  description: string | null;
209
106
  createdAt: Date;
@@ -211,50 +108,66 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
211
108
  deletedAt: Date | null;
212
109
  systemName: string;
213
110
  displayName: string;
214
- permissions: {
215
- id: string;
216
- description: string | null;
217
- createdAt: Date;
218
- updatedAt: Date;
219
- deletedAt: Date | null;
220
- systemName: string;
221
- displayName: string;
222
- }[];
223
111
  }[];
224
- extension: {
225
- id: string;
226
- createdAt: Date;
227
- updatedAt: Date;
228
- deletedAt: Date | null;
229
- userId: string | null;
230
- sipServerUrl: string;
231
- sipUserName: string;
232
- webphoneLoginUser: string;
233
- extensionId: string | null;
234
- extensionName: string;
235
- telephonySignature: string | null;
236
- };
112
+ }>, "many">;
113
+ extension: z.ZodObject<{
114
+ id: z.ZodString;
115
+ createdAt: z.ZodDate;
116
+ updatedAt: z.ZodDate;
117
+ deletedAt: z.ZodNullable<z.ZodDate>;
118
+ userId: z.ZodNullable<z.ZodString>;
119
+ sipServerUrl: z.ZodString;
120
+ sipUserName: z.ZodString;
121
+ webphoneLoginUser: z.ZodString;
122
+ extensionId: z.ZodNullable<z.ZodString>;
123
+ extensionName: z.ZodString;
124
+ telephonySignature: z.ZodNullable<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ id: string;
127
+ createdAt: Date;
128
+ updatedAt: Date;
129
+ deletedAt: Date | null;
130
+ userId: string | null;
131
+ sipServerUrl: string;
132
+ sipUserName: string;
133
+ webphoneLoginUser: string;
134
+ extensionId: string | null;
135
+ extensionName: string;
136
+ telephonySignature: string | null;
137
+ }, {
138
+ id: string;
139
+ createdAt: Date;
140
+ updatedAt: Date;
141
+ deletedAt: Date | null;
142
+ userId: string | null;
143
+ sipServerUrl: string;
144
+ sipUserName: string;
145
+ webphoneLoginUser: string;
146
+ extensionId: string | null;
147
+ extensionName: string;
148
+ telephonySignature: string | null;
237
149
  }>;
238
- notificationObjectId: z.ZodString;
239
- readAt: z.ZodDate;
240
150
  }, "strip", z.ZodTypeAny, {
241
151
  id: string;
152
+ address: string | null;
153
+ name: string;
154
+ email: string;
242
155
  createdAt: Date;
243
156
  updatedAt: Date;
244
157
  deletedAt: Date | null;
245
- actor: {
158
+ emailVerifiedAt: Date | null;
159
+ password: string;
160
+ phone: string | null;
161
+ notificationCount: number | null;
162
+ roles: {
246
163
  id: string;
247
- address: string | null;
248
- name: string;
249
- email: string;
164
+ description: string | null;
250
165
  createdAt: Date;
251
166
  updatedAt: Date;
252
167
  deletedAt: Date | null;
253
- emailVerifiedAt: Date | null;
254
- password: string;
255
- phone: string | null;
256
- notificationCount: number | null;
257
- roles: {
168
+ systemName: string;
169
+ displayName: string;
170
+ permissions: {
258
171
  id: string;
259
172
  description: string | null;
260
173
  createdAt: Date;
@@ -262,51 +175,42 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
262
175
  deletedAt: Date | null;
263
176
  systemName: string;
264
177
  displayName: string;
265
- permissions: {
266
- id: string;
267
- description: string | null;
268
- createdAt: Date;
269
- updatedAt: Date;
270
- deletedAt: Date | null;
271
- systemName: string;
272
- displayName: string;
273
- }[];
274
178
  }[];
275
- extension: {
276
- id: string;
277
- createdAt: Date;
278
- updatedAt: Date;
279
- deletedAt: Date | null;
280
- userId: string | null;
281
- sipServerUrl: string;
282
- sipUserName: string;
283
- webphoneLoginUser: string;
284
- extensionId: string | null;
285
- extensionName: string;
286
- telephonySignature: string | null;
287
- };
179
+ }[];
180
+ extension: {
181
+ id: string;
182
+ createdAt: Date;
183
+ updatedAt: Date;
184
+ deletedAt: Date | null;
185
+ userId: string | null;
186
+ sipServerUrl: string;
187
+ sipUserName: string;
188
+ webphoneLoginUser: string;
189
+ extensionId: string | null;
190
+ extensionName: string;
191
+ telephonySignature: string | null;
288
192
  };
289
- readAt: Date;
290
- actorId: string;
291
- notificationObjectId: string;
292
193
  }, {
293
194
  id: string;
195
+ address: string | null;
196
+ name: string;
197
+ email: string;
294
198
  createdAt: Date;
295
199
  updatedAt: Date;
296
200
  deletedAt: Date | null;
297
- actor: {
201
+ emailVerifiedAt: Date | null;
202
+ password: string;
203
+ phone: string | null;
204
+ notificationCount: number | null;
205
+ roles: {
298
206
  id: string;
299
- address: string | null;
300
- name: string;
301
- email: string;
207
+ description: string | null;
302
208
  createdAt: Date;
303
209
  updatedAt: Date;
304
210
  deletedAt: Date | null;
305
- emailVerifiedAt: Date | null;
306
- password: string;
307
- phone: string | null;
308
- notificationCount: number | null;
309
- roles: {
211
+ systemName: string;
212
+ displayName: string;
213
+ permissions: {
310
214
  id: string;
311
215
  description: string | null;
312
216
  createdAt: Date;
@@ -314,58 +218,50 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
314
218
  deletedAt: Date | null;
315
219
  systemName: string;
316
220
  displayName: string;
317
- permissions: {
318
- id: string;
319
- description: string | null;
320
- createdAt: Date;
321
- updatedAt: Date;
322
- deletedAt: Date | null;
323
- systemName: string;
324
- displayName: string;
325
- }[];
326
221
  }[];
327
- extension: {
328
- id: string;
329
- createdAt: Date;
330
- updatedAt: Date;
331
- deletedAt: Date | null;
332
- userId: string | null;
333
- sipServerUrl: string;
334
- sipUserName: string;
335
- webphoneLoginUser: string;
336
- extensionId: string | null;
337
- extensionName: string;
338
- telephonySignature: string | null;
339
- };
222
+ }[];
223
+ extension: {
224
+ id: string;
225
+ createdAt: Date;
226
+ updatedAt: Date;
227
+ deletedAt: Date | null;
228
+ userId: string | null;
229
+ sipServerUrl: string;
230
+ sipUserName: string;
231
+ webphoneLoginUser: string;
232
+ extensionId: string | null;
233
+ extensionName: string;
234
+ telephonySignature: string | null;
340
235
  };
341
- readAt: Date;
342
- actorId: string;
343
- notificationObjectId: string;
344
236
  }>;
237
+ notificationObjectId: z.ZodString;
238
+ readAt: z.ZodDate;
345
239
  }, "strip", z.ZodTypeAny, {
346
- data: string;
347
240
  id: string;
348
241
  createdAt: Date;
349
242
  updatedAt: Date;
350
243
  deletedAt: Date | null;
351
- notificationChange: {
244
+ actor: {
352
245
  id: string;
246
+ address: string | null;
247
+ name: string;
248
+ email: string;
353
249
  createdAt: Date;
354
250
  updatedAt: Date;
355
251
  deletedAt: Date | null;
356
- actor: {
252
+ emailVerifiedAt: Date | null;
253
+ password: string;
254
+ phone: string | null;
255
+ notificationCount: number | null;
256
+ roles: {
357
257
  id: string;
358
- address: string | null;
359
- name: string;
360
- email: string;
258
+ description: string | null;
361
259
  createdAt: Date;
362
260
  updatedAt: Date;
363
261
  deletedAt: Date | null;
364
- emailVerifiedAt: Date | null;
365
- password: string;
366
- phone: string | null;
367
- notificationCount: number | null;
368
- roles: {
262
+ systemName: string;
263
+ displayName: string;
264
+ permissions: {
369
265
  id: string;
370
266
  description: string | null;
371
267
  createdAt: Date;
@@ -373,58 +269,51 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
373
269
  deletedAt: Date | null;
374
270
  systemName: string;
375
271
  displayName: string;
376
- permissions: {
377
- id: string;
378
- description: string | null;
379
- createdAt: Date;
380
- updatedAt: Date;
381
- deletedAt: Date | null;
382
- systemName: string;
383
- displayName: string;
384
- }[];
385
272
  }[];
386
- extension: {
387
- id: string;
388
- createdAt: Date;
389
- updatedAt: Date;
390
- deletedAt: Date | null;
391
- userId: string | null;
392
- sipServerUrl: string;
393
- sipUserName: string;
394
- webphoneLoginUser: string;
395
- extensionId: string | null;
396
- extensionName: string;
397
- telephonySignature: string | null;
398
- };
273
+ }[];
274
+ extension: {
275
+ id: string;
276
+ createdAt: Date;
277
+ updatedAt: Date;
278
+ deletedAt: Date | null;
279
+ userId: string | null;
280
+ sipServerUrl: string;
281
+ sipUserName: string;
282
+ webphoneLoginUser: string;
283
+ extensionId: string | null;
284
+ extensionName: string;
285
+ telephonySignature: string | null;
399
286
  };
400
- readAt: Date;
401
- actorId: string;
402
- notificationObjectId: string;
403
287
  };
288
+ readAt: Date;
289
+ actorId: string;
290
+ notificationObjectId: string;
404
291
  }, {
405
- data: string;
406
292
  id: string;
407
293
  createdAt: Date;
408
294
  updatedAt: Date;
409
295
  deletedAt: Date | null;
410
- notificationChange: {
296
+ actor: {
411
297
  id: string;
298
+ address: string | null;
299
+ name: string;
300
+ email: string;
412
301
  createdAt: Date;
413
302
  updatedAt: Date;
414
303
  deletedAt: Date | null;
415
- actor: {
304
+ emailVerifiedAt: Date | null;
305
+ password: string;
306
+ phone: string | null;
307
+ notificationCount: number | null;
308
+ roles: {
416
309
  id: string;
417
- address: string | null;
418
- name: string;
419
- email: string;
310
+ description: string | null;
420
311
  createdAt: Date;
421
312
  updatedAt: Date;
422
313
  deletedAt: Date | null;
423
- emailVerifiedAt: Date | null;
424
- password: string;
425
- phone: string | null;
426
- notificationCount: number | null;
427
- roles: {
314
+ systemName: string;
315
+ displayName: string;
316
+ permissions: {
428
317
  id: string;
429
318
  description: string | null;
430
319
  createdAt: Date;
@@ -432,68 +321,58 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
432
321
  deletedAt: Date | null;
433
322
  systemName: string;
434
323
  displayName: string;
435
- permissions: {
436
- id: string;
437
- description: string | null;
438
- createdAt: Date;
439
- updatedAt: Date;
440
- deletedAt: Date | null;
441
- systemName: string;
442
- displayName: string;
443
- }[];
444
324
  }[];
445
- extension: {
446
- id: string;
447
- createdAt: Date;
448
- updatedAt: Date;
449
- deletedAt: Date | null;
450
- userId: string | null;
451
- sipServerUrl: string;
452
- sipUserName: string;
453
- webphoneLoginUser: string;
454
- extensionId: string | null;
455
- extensionName: string;
456
- telephonySignature: string | null;
457
- };
325
+ }[];
326
+ extension: {
327
+ id: string;
328
+ createdAt: Date;
329
+ updatedAt: Date;
330
+ deletedAt: Date | null;
331
+ userId: string | null;
332
+ sipServerUrl: string;
333
+ sipUserName: string;
334
+ webphoneLoginUser: string;
335
+ extensionId: string | null;
336
+ extensionName: string;
337
+ telephonySignature: string | null;
458
338
  };
459
- readAt: Date;
460
- actorId: string;
461
- notificationObjectId: string;
462
339
  };
340
+ readAt: Date;
341
+ actorId: string;
342
+ notificationObjectId: string;
463
343
  }>;
464
- readAt: z.ZodDate;
465
344
  }, "strip", z.ZodTypeAny, {
345
+ data: string;
466
346
  id: string;
467
347
  createdAt: Date;
468
348
  updatedAt: Date;
469
349
  deletedAt: Date | null;
470
- readAt: Date;
471
- notificationObjectId: string;
472
- notifierId: string;
473
- notificationObject: {
474
- data: string;
350
+ notificationChange: {
475
351
  id: string;
476
352
  createdAt: Date;
477
353
  updatedAt: Date;
478
354
  deletedAt: Date | null;
479
- notificationChange: {
355
+ actor: {
480
356
  id: string;
357
+ address: string | null;
358
+ name: string;
359
+ email: string;
481
360
  createdAt: Date;
482
361
  updatedAt: Date;
483
362
  deletedAt: Date | null;
484
- actor: {
363
+ emailVerifiedAt: Date | null;
364
+ password: string;
365
+ phone: string | null;
366
+ notificationCount: number | null;
367
+ roles: {
485
368
  id: string;
486
- address: string | null;
487
- name: string;
488
- email: string;
369
+ description: string | null;
489
370
  createdAt: Date;
490
371
  updatedAt: Date;
491
372
  deletedAt: Date | null;
492
- emailVerifiedAt: Date | null;
493
- password: string;
494
- phone: string | null;
495
- notificationCount: number | null;
496
- roles: {
373
+ systemName: string;
374
+ displayName: string;
375
+ permissions: {
497
376
  id: string;
498
377
  description: string | null;
499
378
  createdAt: Date;
@@ -501,67 +380,58 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
501
380
  deletedAt: Date | null;
502
381
  systemName: string;
503
382
  displayName: string;
504
- permissions: {
505
- id: string;
506
- description: string | null;
507
- createdAt: Date;
508
- updatedAt: Date;
509
- deletedAt: Date | null;
510
- systemName: string;
511
- displayName: string;
512
- }[];
513
383
  }[];
514
- extension: {
515
- id: string;
516
- createdAt: Date;
517
- updatedAt: Date;
518
- deletedAt: Date | null;
519
- userId: string | null;
520
- sipServerUrl: string;
521
- sipUserName: string;
522
- webphoneLoginUser: string;
523
- extensionId: string | null;
524
- extensionName: string;
525
- telephonySignature: string | null;
526
- };
384
+ }[];
385
+ extension: {
386
+ id: string;
387
+ createdAt: Date;
388
+ updatedAt: Date;
389
+ deletedAt: Date | null;
390
+ userId: string | null;
391
+ sipServerUrl: string;
392
+ sipUserName: string;
393
+ webphoneLoginUser: string;
394
+ extensionId: string | null;
395
+ extensionName: string;
396
+ telephonySignature: string | null;
527
397
  };
528
- readAt: Date;
529
- actorId: string;
530
- notificationObjectId: string;
531
398
  };
399
+ readAt: Date;
400
+ actorId: string;
401
+ notificationObjectId: string;
532
402
  };
533
403
  }, {
404
+ data: string;
534
405
  id: string;
535
406
  createdAt: Date;
536
407
  updatedAt: Date;
537
408
  deletedAt: Date | null;
538
- readAt: Date;
539
- notificationObjectId: string;
540
- notifierId: string;
541
- notificationObject: {
542
- data: string;
409
+ notificationChange: {
543
410
  id: string;
544
411
  createdAt: Date;
545
412
  updatedAt: Date;
546
413
  deletedAt: Date | null;
547
- notificationChange: {
414
+ actor: {
548
415
  id: string;
416
+ address: string | null;
417
+ name: string;
418
+ email: string;
549
419
  createdAt: Date;
550
420
  updatedAt: Date;
551
421
  deletedAt: Date | null;
552
- actor: {
422
+ emailVerifiedAt: Date | null;
423
+ password: string;
424
+ phone: string | null;
425
+ notificationCount: number | null;
426
+ roles: {
553
427
  id: string;
554
- address: string | null;
555
- name: string;
556
- email: string;
428
+ description: string | null;
557
429
  createdAt: Date;
558
430
  updatedAt: Date;
559
431
  deletedAt: Date | null;
560
- emailVerifiedAt: Date | null;
561
- password: string;
562
- phone: string | null;
563
- notificationCount: number | null;
564
- roles: {
432
+ systemName: string;
433
+ displayName: string;
434
+ permissions: {
565
435
  id: string;
566
436
  description: string | null;
567
437
  createdAt: Date;
@@ -569,85 +439,68 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
569
439
  deletedAt: Date | null;
570
440
  systemName: string;
571
441
  displayName: string;
572
- permissions: {
573
- id: string;
574
- description: string | null;
575
- createdAt: Date;
576
- updatedAt: Date;
577
- deletedAt: Date | null;
578
- systemName: string;
579
- displayName: string;
580
- }[];
581
442
  }[];
582
- extension: {
583
- id: string;
584
- createdAt: Date;
585
- updatedAt: Date;
586
- deletedAt: Date | null;
587
- userId: string | null;
588
- sipServerUrl: string;
589
- sipUserName: string;
590
- webphoneLoginUser: string;
591
- extensionId: string | null;
592
- extensionName: string;
593
- telephonySignature: string | null;
594
- };
443
+ }[];
444
+ extension: {
445
+ id: string;
446
+ createdAt: Date;
447
+ updatedAt: Date;
448
+ deletedAt: Date | null;
449
+ userId: string | null;
450
+ sipServerUrl: string;
451
+ sipUserName: string;
452
+ webphoneLoginUser: string;
453
+ extensionId: string | null;
454
+ extensionName: string;
455
+ telephonySignature: string | null;
595
456
  };
596
- readAt: Date;
597
- actorId: string;
598
- notificationObjectId: string;
599
457
  };
458
+ readAt: Date;
459
+ actorId: string;
460
+ notificationObjectId: string;
600
461
  };
601
- }>, "many">;
602
- total: z.ZodNumber;
603
- page: z.ZodNumber;
604
- pageSize: z.ZodNumber;
605
- lastPage: z.ZodNumber;
606
- totalUnreadCount: z.ZodOptional<z.ZodNumber>;
607
- unreadRoomCount: z.ZodOptional<z.ZodNumber>;
608
- unreadCountsByAssigneeList: z.ZodArray<z.ZodObject<{
609
- assigneeId: z.ZodOptional<z.ZodString>;
610
- totalUnreadCount: z.ZodOptional<z.ZodString>;
611
- }, "strip", z.ZodTypeAny, {
612
- assigneeId?: string | undefined;
613
- totalUnreadCount?: string | undefined;
614
- }, {
615
- assigneeId?: string | undefined;
616
- totalUnreadCount?: string | undefined;
617
- }>, "many">;
462
+ }>;
463
+ readAt: z.ZodDate;
618
464
  }, "strip", z.ZodTypeAny, {
619
- data: {
465
+ id: string;
466
+ createdAt: Date;
467
+ updatedAt: Date;
468
+ deletedAt: Date | null;
469
+ readAt: Date;
470
+ notificationObjectId: string;
471
+ notifierId: string;
472
+ notificationObject: {
473
+ data: string;
620
474
  id: string;
621
475
  createdAt: Date;
622
476
  updatedAt: Date;
623
477
  deletedAt: Date | null;
624
- readAt: Date;
625
- notificationObjectId: string;
626
- notifierId: string;
627
- notificationObject: {
628
- data: string;
478
+ notificationChange: {
629
479
  id: string;
630
480
  createdAt: Date;
631
481
  updatedAt: Date;
632
482
  deletedAt: Date | null;
633
- notificationChange: {
483
+ actor: {
634
484
  id: string;
485
+ address: string | null;
486
+ name: string;
487
+ email: string;
635
488
  createdAt: Date;
636
489
  updatedAt: Date;
637
490
  deletedAt: Date | null;
638
- actor: {
491
+ emailVerifiedAt: Date | null;
492
+ password: string;
493
+ phone: string | null;
494
+ notificationCount: number | null;
495
+ roles: {
639
496
  id: string;
640
- address: string | null;
641
- name: string;
642
- email: string;
497
+ description: string | null;
643
498
  createdAt: Date;
644
499
  updatedAt: Date;
645
500
  deletedAt: Date | null;
646
- emailVerifiedAt: Date | null;
647
- password: string;
648
- phone: string | null;
649
- notificationCount: number | null;
650
- roles: {
501
+ systemName: string;
502
+ displayName: string;
503
+ permissions: {
651
504
  id: string;
652
505
  description: string | null;
653
506
  createdAt: Date;
@@ -655,79 +508,67 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
655
508
  deletedAt: Date | null;
656
509
  systemName: string;
657
510
  displayName: string;
658
- permissions: {
659
- id: string;
660
- description: string | null;
661
- createdAt: Date;
662
- updatedAt: Date;
663
- deletedAt: Date | null;
664
- systemName: string;
665
- displayName: string;
666
- }[];
667
511
  }[];
668
- extension: {
669
- id: string;
670
- createdAt: Date;
671
- updatedAt: Date;
672
- deletedAt: Date | null;
673
- userId: string | null;
674
- sipServerUrl: string;
675
- sipUserName: string;
676
- webphoneLoginUser: string;
677
- extensionId: string | null;
678
- extensionName: string;
679
- telephonySignature: string | null;
680
- };
512
+ }[];
513
+ extension: {
514
+ id: string;
515
+ createdAt: Date;
516
+ updatedAt: Date;
517
+ deletedAt: Date | null;
518
+ userId: string | null;
519
+ sipServerUrl: string;
520
+ sipUserName: string;
521
+ webphoneLoginUser: string;
522
+ extensionId: string | null;
523
+ extensionName: string;
524
+ telephonySignature: string | null;
681
525
  };
682
- readAt: Date;
683
- actorId: string;
684
- notificationObjectId: string;
685
526
  };
527
+ readAt: Date;
528
+ actorId: string;
529
+ notificationObjectId: string;
686
530
  };
687
- }[];
688
- total: number;
689
- page: number;
690
- pageSize: number;
691
- lastPage: number;
692
- unreadCountsByAssigneeList: {
693
- assigneeId?: string | undefined;
694
- totalUnreadCount?: string | undefined;
695
- }[];
696
- totalUnreadCount?: number | undefined;
697
- unreadRoomCount?: number | undefined;
531
+ };
698
532
  }, {
699
- data: {
533
+ id: string;
534
+ createdAt: Date;
535
+ updatedAt: Date;
536
+ deletedAt: Date | null;
537
+ readAt: Date;
538
+ notificationObjectId: string;
539
+ notifierId: string;
540
+ notificationObject: {
541
+ data: string;
700
542
  id: string;
701
543
  createdAt: Date;
702
544
  updatedAt: Date;
703
545
  deletedAt: Date | null;
704
- readAt: Date;
705
- notificationObjectId: string;
706
- notifierId: string;
707
- notificationObject: {
708
- data: string;
546
+ notificationChange: {
709
547
  id: string;
710
548
  createdAt: Date;
711
549
  updatedAt: Date;
712
550
  deletedAt: Date | null;
713
- notificationChange: {
551
+ actor: {
714
552
  id: string;
553
+ address: string | null;
554
+ name: string;
555
+ email: string;
715
556
  createdAt: Date;
716
557
  updatedAt: Date;
717
558
  deletedAt: Date | null;
718
- actor: {
559
+ emailVerifiedAt: Date | null;
560
+ password: string;
561
+ phone: string | null;
562
+ notificationCount: number | null;
563
+ roles: {
719
564
  id: string;
720
- address: string | null;
721
- name: string;
722
- email: string;
565
+ description: string | null;
723
566
  createdAt: Date;
724
567
  updatedAt: Date;
725
568
  deletedAt: Date | null;
726
- emailVerifiedAt: Date | null;
727
- password: string;
728
- phone: string | null;
729
- notificationCount: number | null;
730
- roles: {
569
+ systemName: string;
570
+ displayName: string;
571
+ permissions: {
731
572
  id: string;
732
573
  description: string | null;
733
574
  createdAt: Date;
@@ -735,81 +576,75 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
735
576
  deletedAt: Date | null;
736
577
  systemName: string;
737
578
  displayName: string;
738
- permissions: {
739
- id: string;
740
- description: string | null;
741
- createdAt: Date;
742
- updatedAt: Date;
743
- deletedAt: Date | null;
744
- systemName: string;
745
- displayName: string;
746
- }[];
747
579
  }[];
748
- extension: {
749
- id: string;
750
- createdAt: Date;
751
- updatedAt: Date;
752
- deletedAt: Date | null;
753
- userId: string | null;
754
- sipServerUrl: string;
755
- sipUserName: string;
756
- webphoneLoginUser: string;
757
- extensionId: string | null;
758
- extensionName: string;
759
- telephonySignature: string | null;
760
- };
580
+ }[];
581
+ extension: {
582
+ id: string;
583
+ createdAt: Date;
584
+ updatedAt: Date;
585
+ deletedAt: Date | null;
586
+ userId: string | null;
587
+ sipServerUrl: string;
588
+ sipUserName: string;
589
+ webphoneLoginUser: string;
590
+ extensionId: string | null;
591
+ extensionName: string;
592
+ telephonySignature: string | null;
761
593
  };
762
- readAt: Date;
763
- actorId: string;
764
- notificationObjectId: string;
765
594
  };
595
+ readAt: Date;
596
+ actorId: string;
597
+ notificationObjectId: string;
766
598
  };
767
- }[];
768
- total: number;
769
- page: number;
770
- pageSize: number;
771
- lastPage: number;
772
- unreadCountsByAssigneeList: {
773
- assigneeId?: string | undefined;
774
- totalUnreadCount?: string | undefined;
775
- }[];
776
- totalUnreadCount?: number | undefined;
777
- unreadRoomCount?: number | undefined;
778
- }>;
599
+ };
600
+ }>, "many">;
601
+ total: z.ZodNumber;
602
+ page: z.ZodNumber;
603
+ pageSize: z.ZodNumber;
604
+ lastPage: z.ZodNumber;
605
+ totalUnreadCount: z.ZodOptional<z.ZodNumber>;
779
606
  }, "strip", z.ZodTypeAny, {
607
+ total: number;
780
608
  notifications: {
781
- data: {
609
+ id: string;
610
+ createdAt: Date;
611
+ updatedAt: Date;
612
+ deletedAt: Date | null;
613
+ readAt: Date;
614
+ notificationObjectId: string;
615
+ notifierId: string;
616
+ notificationObject: {
617
+ data: string;
782
618
  id: string;
783
619
  createdAt: Date;
784
620
  updatedAt: Date;
785
621
  deletedAt: Date | null;
786
- readAt: Date;
787
- notificationObjectId: string;
788
- notifierId: string;
789
- notificationObject: {
790
- data: string;
622
+ notificationChange: {
791
623
  id: string;
792
624
  createdAt: Date;
793
625
  updatedAt: Date;
794
626
  deletedAt: Date | null;
795
- notificationChange: {
627
+ actor: {
796
628
  id: string;
629
+ address: string | null;
630
+ name: string;
631
+ email: string;
797
632
  createdAt: Date;
798
633
  updatedAt: Date;
799
634
  deletedAt: Date | null;
800
- actor: {
635
+ emailVerifiedAt: Date | null;
636
+ password: string;
637
+ phone: string | null;
638
+ notificationCount: number | null;
639
+ roles: {
801
640
  id: string;
802
- address: string | null;
803
- name: string;
804
- email: string;
641
+ description: string | null;
805
642
  createdAt: Date;
806
643
  updatedAt: Date;
807
644
  deletedAt: Date | null;
808
- emailVerifiedAt: Date | null;
809
- password: string;
810
- phone: string | null;
811
- notificationCount: number | null;
812
- roles: {
645
+ systemName: string;
646
+ displayName: string;
647
+ permissions: {
813
648
  id: string;
814
649
  description: string | null;
815
650
  createdAt: Date;
@@ -817,82 +652,75 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
817
652
  deletedAt: Date | null;
818
653
  systemName: string;
819
654
  displayName: string;
820
- permissions: {
821
- id: string;
822
- description: string | null;
823
- createdAt: Date;
824
- updatedAt: Date;
825
- deletedAt: Date | null;
826
- systemName: string;
827
- displayName: string;
828
- }[];
829
655
  }[];
830
- extension: {
831
- id: string;
832
- createdAt: Date;
833
- updatedAt: Date;
834
- deletedAt: Date | null;
835
- userId: string | null;
836
- sipServerUrl: string;
837
- sipUserName: string;
838
- webphoneLoginUser: string;
839
- extensionId: string | null;
840
- extensionName: string;
841
- telephonySignature: string | null;
842
- };
656
+ }[];
657
+ extension: {
658
+ id: string;
659
+ createdAt: Date;
660
+ updatedAt: Date;
661
+ deletedAt: Date | null;
662
+ userId: string | null;
663
+ sipServerUrl: string;
664
+ sipUserName: string;
665
+ webphoneLoginUser: string;
666
+ extensionId: string | null;
667
+ extensionName: string;
668
+ telephonySignature: string | null;
843
669
  };
844
- readAt: Date;
845
- actorId: string;
846
- notificationObjectId: string;
847
670
  };
671
+ readAt: Date;
672
+ actorId: string;
673
+ notificationObjectId: string;
848
674
  };
849
- }[];
850
- total: number;
851
- page: number;
852
- pageSize: number;
853
- lastPage: number;
854
- unreadCountsByAssigneeList: {
855
- assigneeId?: string | undefined;
856
- totalUnreadCount?: string | undefined;
857
- }[];
858
- totalUnreadCount?: number | undefined;
859
- unreadRoomCount?: number | undefined;
860
- };
675
+ };
676
+ }[];
677
+ page: number;
678
+ pageSize: number;
679
+ lastPage: number;
861
680
  notificationCount: number;
681
+ totalUnreadCount?: number | undefined;
862
682
  }, {
683
+ total: number;
863
684
  notifications: {
864
- data: {
685
+ id: string;
686
+ createdAt: Date;
687
+ updatedAt: Date;
688
+ deletedAt: Date | null;
689
+ readAt: Date;
690
+ notificationObjectId: string;
691
+ notifierId: string;
692
+ notificationObject: {
693
+ data: string;
865
694
  id: string;
866
695
  createdAt: Date;
867
696
  updatedAt: Date;
868
697
  deletedAt: Date | null;
869
- readAt: Date;
870
- notificationObjectId: string;
871
- notifierId: string;
872
- notificationObject: {
873
- data: string;
698
+ notificationChange: {
874
699
  id: string;
875
700
  createdAt: Date;
876
701
  updatedAt: Date;
877
702
  deletedAt: Date | null;
878
- notificationChange: {
703
+ actor: {
879
704
  id: string;
705
+ address: string | null;
706
+ name: string;
707
+ email: string;
880
708
  createdAt: Date;
881
709
  updatedAt: Date;
882
710
  deletedAt: Date | null;
883
- actor: {
711
+ emailVerifiedAt: Date | null;
712
+ password: string;
713
+ phone: string | null;
714
+ notificationCount: number | null;
715
+ roles: {
884
716
  id: string;
885
- address: string | null;
886
- name: string;
887
- email: string;
717
+ description: string | null;
888
718
  createdAt: Date;
889
719
  updatedAt: Date;
890
720
  deletedAt: Date | null;
891
- emailVerifiedAt: Date | null;
892
- password: string;
893
- phone: string | null;
894
- notificationCount: number | null;
895
- roles: {
721
+ systemName: string;
722
+ displayName: string;
723
+ permissions: {
896
724
  id: string;
897
725
  description: string | null;
898
726
  createdAt: Date;
@@ -900,48 +728,33 @@ export declare const GetNotificationsResponseSchema: z.ZodObject<{
900
728
  deletedAt: Date | null;
901
729
  systemName: string;
902
730
  displayName: string;
903
- permissions: {
904
- id: string;
905
- description: string | null;
906
- createdAt: Date;
907
- updatedAt: Date;
908
- deletedAt: Date | null;
909
- systemName: string;
910
- displayName: string;
911
- }[];
912
731
  }[];
913
- extension: {
914
- id: string;
915
- createdAt: Date;
916
- updatedAt: Date;
917
- deletedAt: Date | null;
918
- userId: string | null;
919
- sipServerUrl: string;
920
- sipUserName: string;
921
- webphoneLoginUser: string;
922
- extensionId: string | null;
923
- extensionName: string;
924
- telephonySignature: string | null;
925
- };
732
+ }[];
733
+ extension: {
734
+ id: string;
735
+ createdAt: Date;
736
+ updatedAt: Date;
737
+ deletedAt: Date | null;
738
+ userId: string | null;
739
+ sipServerUrl: string;
740
+ sipUserName: string;
741
+ webphoneLoginUser: string;
742
+ extensionId: string | null;
743
+ extensionName: string;
744
+ telephonySignature: string | null;
926
745
  };
927
- readAt: Date;
928
- actorId: string;
929
- notificationObjectId: string;
930
746
  };
747
+ readAt: Date;
748
+ actorId: string;
749
+ notificationObjectId: string;
931
750
  };
932
- }[];
933
- total: number;
934
- page: number;
935
- pageSize: number;
936
- lastPage: number;
937
- unreadCountsByAssigneeList: {
938
- assigneeId?: string | undefined;
939
- totalUnreadCount?: string | undefined;
940
- }[];
941
- totalUnreadCount?: number | undefined;
942
- unreadRoomCount?: number | undefined;
943
- };
751
+ };
752
+ }[];
753
+ page: number;
754
+ pageSize: number;
755
+ lastPage: number;
944
756
  notificationCount: number;
757
+ totalUnreadCount?: number | undefined;
945
758
  }>;
946
759
  export declare const ResetNotificationRequestSchema: z.ZodObject<{
947
760
  userId: z.ZodString;