@kl1/contracts 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/index.js +1474 -1068
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1470 -1067
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/auth/index.d.ts +34 -24
  6. package/dist/src/auth/index.d.ts.map +1 -1
  7. package/dist/src/aws/index.d.ts +4 -4
  8. package/dist/src/aws/validation.d.ts +2 -2
  9. package/dist/src/channel/index.d.ts +1357 -0
  10. package/dist/src/channel/index.d.ts.map +1 -0
  11. package/dist/src/channel/schema.d.ts +385 -0
  12. package/dist/src/channel/schema.d.ts.map +1 -0
  13. package/dist/src/channel/validation.d.ts +337 -0
  14. package/dist/src/channel/validation.d.ts.map +1 -0
  15. package/dist/src/chat/index.d.ts +25911 -10496
  16. package/dist/src/chat/index.d.ts.map +1 -1
  17. package/dist/src/chat/schema.d.ts +6196 -1168
  18. package/dist/src/chat/schema.d.ts.map +1 -1
  19. package/dist/src/chat/validation.d.ts +7755 -479
  20. package/dist/src/chat/validation.d.ts.map +1 -1
  21. package/dist/src/company/schema.d.ts +197 -12
  22. package/dist/src/company/schema.d.ts.map +1 -1
  23. package/dist/src/contact/index.d.ts +2667 -0
  24. package/dist/src/contact/index.d.ts.map +1 -0
  25. package/dist/src/contact/schema.d.ts +1070 -6
  26. package/dist/src/contact/schema.d.ts.map +1 -1
  27. package/dist/src/contact/validation.d.ts +1029 -0
  28. package/dist/src/contact/validation.d.ts.map +1 -0
  29. package/dist/src/contract.d.ts +51287 -23157
  30. package/dist/src/contract.d.ts.map +1 -1
  31. package/dist/src/custom-field-upload/schema.d.ts +2 -2
  32. package/dist/src/cx-log/index.d.ts +4 -4
  33. package/dist/src/cx-log/schema.d.ts +2 -2
  34. package/dist/src/extension/index.d.ts +220 -54
  35. package/dist/src/extension/index.d.ts.map +1 -1
  36. package/dist/src/extension/schema.d.ts +6 -6
  37. package/dist/src/extension/schema.d.ts.map +1 -1
  38. package/dist/src/extension/validation.d.ts +6 -12
  39. package/dist/src/extension/validation.d.ts.map +1 -1
  40. package/dist/src/index.d.ts +1 -0
  41. package/dist/src/index.d.ts.map +1 -1
  42. package/dist/src/mail/account-contract.d.ts +2 -2
  43. package/dist/src/mail/mail-contract.d.ts +2865 -3701
  44. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  45. package/dist/src/mail/message-contract.d.ts +18 -18
  46. package/dist/src/mail/room-contract.d.ts +2854 -3690
  47. package/dist/src/mail/room-contract.d.ts.map +1 -1
  48. package/dist/src/mail/schemas/account-validation.schema.d.ts +2 -2
  49. package/dist/src/mail/schemas/message-validation.schema.d.ts +12 -12
  50. package/dist/src/mail/schemas/message.schema.d.ts +4 -4
  51. package/dist/src/mail/schemas/room-validation.schema.d.ts +64 -64
  52. package/dist/src/mail/schemas/room.schema.d.ts +50 -50
  53. package/dist/src/messenger/index.d.ts +7617 -0
  54. package/dist/src/messenger/index.d.ts.map +1 -0
  55. package/dist/src/messenger/schema.d.ts +2 -0
  56. package/dist/src/messenger/schema.d.ts.map +1 -0
  57. package/dist/src/messenger/validation.d.ts +2 -0
  58. package/dist/src/messenger/validation.d.ts.map +1 -0
  59. package/dist/src/permission/index.d.ts +2 -0
  60. package/dist/src/permission/index.d.ts.map +1 -1
  61. package/dist/src/permission/schema.d.ts.map +1 -1
  62. package/dist/src/role/schema.d.ts.map +1 -1
  63. package/dist/src/telephony-agent-presence-status/index.d.ts +1376 -0
  64. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -0
  65. package/dist/src/telephony-agent-presence-status/schema.d.ts +366 -0
  66. package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -0
  67. package/dist/src/telephony-agent-presence-status/validation.d.ts +18 -0
  68. package/dist/src/telephony-agent-presence-status/validation.d.ts.map +1 -0
  69. package/dist/src/telephony-extension/index.d.ts +5 -5
  70. package/dist/src/telephony-extension/schema.d.ts +5 -5
  71. package/dist/src/tenant/schema.d.ts +36 -0
  72. package/dist/src/tenant/schema.d.ts.map +1 -0
  73. package/dist/src/upload/schema.d.ts +4 -4
  74. package/dist/src/user/index.d.ts +119 -85
  75. package/dist/src/user/index.d.ts.map +1 -1
  76. package/dist/src/user/schema.d.ts +22 -16
  77. package/dist/src/user/schema.d.ts.map +1 -1
  78. package/dist/src/user/validation.d.ts +5 -5
  79. package/dist/src/user-presence-status-log/index.d.ts +342 -0
  80. package/dist/src/user-presence-status-log/index.d.ts.map +1 -0
  81. package/dist/src/user-presence-status-log/schema.d.ts +382 -0
  82. package/dist/src/user-presence-status-log/schema.d.ts.map +1 -0
  83. package/dist/src/user-presence-status-log/validation.d.ts +15 -0
  84. package/dist/src/user-presence-status-log/validation.d.ts.map +1 -0
  85. package/dist/src/widget/index.d.ts +28 -26
  86. package/dist/src/widget/index.d.ts.map +1 -1
  87. package/dist/src/widget/schema.d.ts +3 -3
  88. package/dist/src/wrap-up-form/index.d.ts +3 -3
  89. package/dist/src/wrap-up-form/validation.d.ts +3 -3
  90. package/package.json +46 -46
  91. package/dist/src/app/index.d.ts +0 -17
  92. package/dist/src/app/index.d.ts.map +0 -1
  93. package/dist/src/mail/mail-server.d.ts +0 -216
  94. package/dist/src/mail/mail-server.d.ts.map +0 -1
@@ -16,17 +16,17 @@ export declare const userContract: {
16
16
  address: string | null;
17
17
  name: string;
18
18
  email: string;
19
+ password: string;
19
20
  phone: string | null;
20
21
  roles: string[];
21
- password: string;
22
22
  notificationCount?: number | null | undefined;
23
23
  }, {
24
24
  address: string | null;
25
25
  name: string;
26
26
  email: string;
27
+ password: string;
27
28
  phone: string | null;
28
29
  roles: string[];
29
- password: string;
30
30
  notificationCount?: number | null | undefined;
31
31
  }>;
32
32
  summary: "Create a user.";
@@ -41,6 +41,8 @@ export declare const userContract: {
41
41
  deletedAt: z.ZodNullable<z.ZodDate>;
42
42
  name: z.ZodString;
43
43
  email: z.ZodString;
44
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
45
+ password: z.ZodString;
44
46
  address: z.ZodNullable<z.ZodString>;
45
47
  phone: z.ZodNullable<z.ZodString>;
46
48
  notificationCount: z.ZodNullable<z.ZodNumber>;
@@ -112,7 +114,7 @@ export declare const userContract: {
112
114
  displayName: string;
113
115
  }[];
114
116
  }>, "many">;
115
- extension: z.ZodObject<{
117
+ extension: z.ZodOptional<z.ZodObject<{
116
118
  id: z.ZodString;
117
119
  createdAt: z.ZodDate;
118
120
  updatedAt: z.ZodDate;
@@ -120,8 +122,8 @@ export declare const userContract: {
120
122
  userId: z.ZodNullable<z.ZodString>;
121
123
  sipServerUrl: z.ZodString;
122
124
  sipUserName: z.ZodString;
123
- extensionId: z.ZodNullable<z.ZodNumber>;
124
- extensionName: z.ZodNullable<z.ZodString>;
125
+ extensionId: z.ZodNumber;
126
+ extensionName: z.ZodString;
125
127
  telephonySignature: z.ZodNullable<z.ZodString>;
126
128
  }, "strip", z.ZodTypeAny, {
127
129
  id: string;
@@ -131,8 +133,8 @@ export declare const userContract: {
131
133
  userId: string | null;
132
134
  sipServerUrl: string;
133
135
  sipUserName: string;
134
- extensionId: number | null;
135
- extensionName: string | null;
136
+ extensionId: number;
137
+ extensionName: string;
136
138
  telephonySignature: string | null;
137
139
  }, {
138
140
  id: string;
@@ -142,10 +144,10 @@ export declare const userContract: {
142
144
  userId: string | null;
143
145
  sipServerUrl: string;
144
146
  sipUserName: string;
145
- extensionId: number | null;
146
- extensionName: string | null;
147
+ extensionId: number;
148
+ extensionName: string;
147
149
  telephonySignature: string | null;
148
- }>;
150
+ }>>;
149
151
  }, "strip", z.ZodTypeAny, {
150
152
  id: string;
151
153
  address: string | null;
@@ -154,6 +156,8 @@ export declare const userContract: {
154
156
  createdAt: Date;
155
157
  updatedAt: Date;
156
158
  deletedAt: Date | null;
159
+ emailVerifiedAt: Date | null;
160
+ password: string;
157
161
  phone: string | null;
158
162
  notificationCount: number | null;
159
163
  roles: {
@@ -174,7 +178,7 @@ export declare const userContract: {
174
178
  displayName: string;
175
179
  }[];
176
180
  }[];
177
- extension: {
181
+ extension?: {
178
182
  id: string;
179
183
  createdAt: Date;
180
184
  updatedAt: Date;
@@ -182,10 +186,10 @@ export declare const userContract: {
182
186
  userId: string | null;
183
187
  sipServerUrl: string;
184
188
  sipUserName: string;
185
- extensionId: number | null;
186
- extensionName: string | null;
189
+ extensionId: number;
190
+ extensionName: string;
187
191
  telephonySignature: string | null;
188
- };
192
+ } | undefined;
189
193
  }, {
190
194
  id: string;
191
195
  address: string | null;
@@ -194,6 +198,8 @@ export declare const userContract: {
194
198
  createdAt: Date;
195
199
  updatedAt: Date;
196
200
  deletedAt: Date | null;
201
+ emailVerifiedAt: Date | null;
202
+ password: string;
197
203
  phone: string | null;
198
204
  notificationCount: number | null;
199
205
  roles: {
@@ -214,7 +220,7 @@ export declare const userContract: {
214
220
  displayName: string;
215
221
  }[];
216
222
  }[];
217
- extension: {
223
+ extension?: {
218
224
  id: string;
219
225
  createdAt: Date;
220
226
  updatedAt: Date;
@@ -222,10 +228,10 @@ export declare const userContract: {
222
228
  userId: string | null;
223
229
  sipServerUrl: string;
224
230
  sipUserName: string;
225
- extensionId: number | null;
226
- extensionName: string | null;
231
+ extensionId: number;
232
+ extensionName: string;
227
233
  telephonySignature: string | null;
228
- };
234
+ } | undefined;
229
235
  }>;
230
236
  }, "strip", z.ZodTypeAny, {
231
237
  user: {
@@ -236,6 +242,8 @@ export declare const userContract: {
236
242
  createdAt: Date;
237
243
  updatedAt: Date;
238
244
  deletedAt: Date | null;
245
+ emailVerifiedAt: Date | null;
246
+ password: string;
239
247
  phone: string | null;
240
248
  notificationCount: number | null;
241
249
  roles: {
@@ -256,7 +264,7 @@ export declare const userContract: {
256
264
  displayName: string;
257
265
  }[];
258
266
  }[];
259
- extension: {
267
+ extension?: {
260
268
  id: string;
261
269
  createdAt: Date;
262
270
  updatedAt: Date;
@@ -264,10 +272,10 @@ export declare const userContract: {
264
272
  userId: string | null;
265
273
  sipServerUrl: string;
266
274
  sipUserName: string;
267
- extensionId: number | null;
268
- extensionName: string | null;
275
+ extensionId: number;
276
+ extensionName: string;
269
277
  telephonySignature: string | null;
270
- };
278
+ } | undefined;
271
279
  };
272
280
  requestId: string;
273
281
  }, {
@@ -279,6 +287,8 @@ export declare const userContract: {
279
287
  createdAt: Date;
280
288
  updatedAt: Date;
281
289
  deletedAt: Date | null;
290
+ emailVerifiedAt: Date | null;
291
+ password: string;
282
292
  phone: string | null;
283
293
  notificationCount: number | null;
284
294
  roles: {
@@ -299,7 +309,7 @@ export declare const userContract: {
299
309
  displayName: string;
300
310
  }[];
301
311
  }[];
302
- extension: {
312
+ extension?: {
303
313
  id: string;
304
314
  createdAt: Date;
305
315
  updatedAt: Date;
@@ -307,10 +317,10 @@ export declare const userContract: {
307
317
  userId: string | null;
308
318
  sipServerUrl: string;
309
319
  sipUserName: string;
310
- extensionId: number | null;
311
- extensionName: string | null;
320
+ extensionId: number;
321
+ extensionName: string;
312
322
  telephonySignature: string | null;
313
- };
323
+ } | undefined;
314
324
  };
315
325
  requestId: string;
316
326
  }>;
@@ -374,6 +384,8 @@ export declare const userContract: {
374
384
  createdAt: Date;
375
385
  updatedAt: Date;
376
386
  deletedAt: Date | null;
387
+ emailVerifiedAt: Date | null;
388
+ password: string;
377
389
  phone: string | null;
378
390
  notificationCount: number | null;
379
391
  roles: {
@@ -394,7 +406,7 @@ export declare const userContract: {
394
406
  displayName: string;
395
407
  }[];
396
408
  }[];
397
- extension: {
409
+ extension?: {
398
410
  id: string;
399
411
  createdAt: Date;
400
412
  updatedAt: Date;
@@ -402,10 +414,10 @@ export declare const userContract: {
402
414
  userId: string | null;
403
415
  sipServerUrl: string;
404
416
  sipUserName: string;
405
- extensionId: number | null;
406
- extensionName: string | null;
417
+ extensionId: number;
418
+ extensionName: string;
407
419
  telephonySignature: string | null;
408
- };
420
+ } | undefined;
409
421
  }, z.ZodTypeDef, {
410
422
  id: string;
411
423
  address: string | null;
@@ -414,6 +426,8 @@ export declare const userContract: {
414
426
  createdAt: Date;
415
427
  updatedAt: Date;
416
428
  deletedAt: Date | null;
429
+ emailVerifiedAt: Date | null;
430
+ password: string;
417
431
  phone: string | null;
418
432
  notificationCount: number | null;
419
433
  roles: {
@@ -434,7 +448,7 @@ export declare const userContract: {
434
448
  displayName: string;
435
449
  }[];
436
450
  }[];
437
- extension: {
451
+ extension?: {
438
452
  id: string;
439
453
  createdAt: Date;
440
454
  updatedAt: Date;
@@ -442,10 +456,10 @@ export declare const userContract: {
442
456
  userId: string | null;
443
457
  sipServerUrl: string;
444
458
  sipUserName: string;
445
- extensionId: number | null;
446
- extensionName: string | null;
459
+ extensionId: number;
460
+ extensionName: string;
447
461
  telephonySignature: string | null;
448
- };
462
+ } | undefined;
449
463
  }>, "many">;
450
464
  }, "strip", z.ZodTypeAny, {
451
465
  data: {
@@ -456,6 +470,8 @@ export declare const userContract: {
456
470
  createdAt: Date;
457
471
  updatedAt: Date;
458
472
  deletedAt: Date | null;
473
+ emailVerifiedAt: Date | null;
474
+ password: string;
459
475
  phone: string | null;
460
476
  notificationCount: number | null;
461
477
  roles: {
@@ -476,7 +492,7 @@ export declare const userContract: {
476
492
  displayName: string;
477
493
  }[];
478
494
  }[];
479
- extension: {
495
+ extension?: {
480
496
  id: string;
481
497
  createdAt: Date;
482
498
  updatedAt: Date;
@@ -484,10 +500,10 @@ export declare const userContract: {
484
500
  userId: string | null;
485
501
  sipServerUrl: string;
486
502
  sipUserName: string;
487
- extensionId: number | null;
488
- extensionName: string | null;
503
+ extensionId: number;
504
+ extensionName: string;
489
505
  telephonySignature: string | null;
490
- };
506
+ } | undefined;
491
507
  }[];
492
508
  total: number;
493
509
  page: number;
@@ -502,6 +518,8 @@ export declare const userContract: {
502
518
  createdAt: Date;
503
519
  updatedAt: Date;
504
520
  deletedAt: Date | null;
521
+ emailVerifiedAt: Date | null;
522
+ password: string;
505
523
  phone: string | null;
506
524
  notificationCount: number | null;
507
525
  roles: {
@@ -522,7 +540,7 @@ export declare const userContract: {
522
540
  displayName: string;
523
541
  }[];
524
542
  }[];
525
- extension: {
543
+ extension?: {
526
544
  id: string;
527
545
  createdAt: Date;
528
546
  updatedAt: Date;
@@ -530,10 +548,10 @@ export declare const userContract: {
530
548
  userId: string | null;
531
549
  sipServerUrl: string;
532
550
  sipUserName: string;
533
- extensionId: number | null;
534
- extensionName: string | null;
551
+ extensionId: number;
552
+ extensionName: string;
535
553
  telephonySignature: string | null;
536
- };
554
+ } | undefined;
537
555
  }[];
538
556
  total: number;
539
557
  page?: number | undefined;
@@ -598,6 +616,8 @@ export declare const userContract: {
598
616
  deletedAt: z.ZodNullable<z.ZodDate>;
599
617
  name: z.ZodString;
600
618
  email: z.ZodString;
619
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
620
+ password: z.ZodString;
601
621
  address: z.ZodNullable<z.ZodString>;
602
622
  phone: z.ZodNullable<z.ZodString>;
603
623
  notificationCount: z.ZodNullable<z.ZodNumber>;
@@ -669,7 +689,7 @@ export declare const userContract: {
669
689
  displayName: string;
670
690
  }[];
671
691
  }>, "many">;
672
- extension: z.ZodObject<{
692
+ extension: z.ZodOptional<z.ZodObject<{
673
693
  id: z.ZodString;
674
694
  createdAt: z.ZodDate;
675
695
  updatedAt: z.ZodDate;
@@ -677,8 +697,8 @@ export declare const userContract: {
677
697
  userId: z.ZodNullable<z.ZodString>;
678
698
  sipServerUrl: z.ZodString;
679
699
  sipUserName: z.ZodString;
680
- extensionId: z.ZodNullable<z.ZodNumber>;
681
- extensionName: z.ZodNullable<z.ZodString>;
700
+ extensionId: z.ZodNumber;
701
+ extensionName: z.ZodString;
682
702
  telephonySignature: z.ZodNullable<z.ZodString>;
683
703
  }, "strip", z.ZodTypeAny, {
684
704
  id: string;
@@ -688,8 +708,8 @@ export declare const userContract: {
688
708
  userId: string | null;
689
709
  sipServerUrl: string;
690
710
  sipUserName: string;
691
- extensionId: number | null;
692
- extensionName: string | null;
711
+ extensionId: number;
712
+ extensionName: string;
693
713
  telephonySignature: string | null;
694
714
  }, {
695
715
  id: string;
@@ -699,10 +719,10 @@ export declare const userContract: {
699
719
  userId: string | null;
700
720
  sipServerUrl: string;
701
721
  sipUserName: string;
702
- extensionId: number | null;
703
- extensionName: string | null;
722
+ extensionId: number;
723
+ extensionName: string;
704
724
  telephonySignature: string | null;
705
- }>;
725
+ }>>;
706
726
  }, "strip", z.ZodTypeAny, {
707
727
  id: string;
708
728
  address: string | null;
@@ -711,6 +731,8 @@ export declare const userContract: {
711
731
  createdAt: Date;
712
732
  updatedAt: Date;
713
733
  deletedAt: Date | null;
734
+ emailVerifiedAt: Date | null;
735
+ password: string;
714
736
  phone: string | null;
715
737
  notificationCount: number | null;
716
738
  roles: {
@@ -731,7 +753,7 @@ export declare const userContract: {
731
753
  displayName: string;
732
754
  }[];
733
755
  }[];
734
- extension: {
756
+ extension?: {
735
757
  id: string;
736
758
  createdAt: Date;
737
759
  updatedAt: Date;
@@ -739,10 +761,10 @@ export declare const userContract: {
739
761
  userId: string | null;
740
762
  sipServerUrl: string;
741
763
  sipUserName: string;
742
- extensionId: number | null;
743
- extensionName: string | null;
764
+ extensionId: number;
765
+ extensionName: string;
744
766
  telephonySignature: string | null;
745
- };
767
+ } | undefined;
746
768
  }, {
747
769
  id: string;
748
770
  address: string | null;
@@ -751,6 +773,8 @@ export declare const userContract: {
751
773
  createdAt: Date;
752
774
  updatedAt: Date;
753
775
  deletedAt: Date | null;
776
+ emailVerifiedAt: Date | null;
777
+ password: string;
754
778
  phone: string | null;
755
779
  notificationCount: number | null;
756
780
  roles: {
@@ -771,7 +795,7 @@ export declare const userContract: {
771
795
  displayName: string;
772
796
  }[];
773
797
  }[];
774
- extension: {
798
+ extension?: {
775
799
  id: string;
776
800
  createdAt: Date;
777
801
  updatedAt: Date;
@@ -779,10 +803,10 @@ export declare const userContract: {
779
803
  userId: string | null;
780
804
  sipServerUrl: string;
781
805
  sipUserName: string;
782
- extensionId: number | null;
783
- extensionName: string | null;
806
+ extensionId: number;
807
+ extensionName: string;
784
808
  telephonySignature: string | null;
785
- };
809
+ } | undefined;
786
810
  }>;
787
811
  400: z.ZodObject<{
788
812
  message: z.ZodString;
@@ -819,27 +843,27 @@ export declare const userContract: {
819
843
  address: z.ZodNullable<z.ZodString>;
820
844
  name: z.ZodString;
821
845
  email: z.ZodString;
846
+ password: z.ZodString;
822
847
  phone: z.ZodNullable<z.ZodString>;
823
848
  notificationCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
824
849
  roles: z.ZodArray<z.ZodString, "many">;
825
- password: z.ZodString;
826
850
  newPassword: z.ZodString;
827
851
  }, "strip", z.ZodTypeAny, {
828
852
  address: string | null;
829
853
  name: string;
830
854
  email: string;
855
+ password: string;
831
856
  phone: string | null;
832
857
  roles: string[];
833
- password: string;
834
858
  newPassword: string;
835
859
  notificationCount?: number | null | undefined;
836
860
  }, {
837
861
  address: string | null;
838
862
  name: string;
839
863
  email: string;
864
+ password: string;
840
865
  phone: string | null;
841
866
  roles: string[];
842
- password: string;
843
867
  newPassword: string;
844
868
  notificationCount?: number | null | undefined;
845
869
  }>;
@@ -862,6 +886,8 @@ export declare const userContract: {
862
886
  deletedAt: z.ZodNullable<z.ZodDate>;
863
887
  name: z.ZodString;
864
888
  email: z.ZodString;
889
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
890
+ password: z.ZodString;
865
891
  address: z.ZodNullable<z.ZodString>;
866
892
  phone: z.ZodNullable<z.ZodString>;
867
893
  notificationCount: z.ZodNullable<z.ZodNumber>;
@@ -933,7 +959,7 @@ export declare const userContract: {
933
959
  displayName: string;
934
960
  }[];
935
961
  }>, "many">;
936
- extension: z.ZodObject<{
962
+ extension: z.ZodOptional<z.ZodObject<{
937
963
  id: z.ZodString;
938
964
  createdAt: z.ZodDate;
939
965
  updatedAt: z.ZodDate;
@@ -941,8 +967,8 @@ export declare const userContract: {
941
967
  userId: z.ZodNullable<z.ZodString>;
942
968
  sipServerUrl: z.ZodString;
943
969
  sipUserName: z.ZodString;
944
- extensionId: z.ZodNullable<z.ZodNumber>;
945
- extensionName: z.ZodNullable<z.ZodString>;
970
+ extensionId: z.ZodNumber;
971
+ extensionName: z.ZodString;
946
972
  telephonySignature: z.ZodNullable<z.ZodString>;
947
973
  }, "strip", z.ZodTypeAny, {
948
974
  id: string;
@@ -952,8 +978,8 @@ export declare const userContract: {
952
978
  userId: string | null;
953
979
  sipServerUrl: string;
954
980
  sipUserName: string;
955
- extensionId: number | null;
956
- extensionName: string | null;
981
+ extensionId: number;
982
+ extensionName: string;
957
983
  telephonySignature: string | null;
958
984
  }, {
959
985
  id: string;
@@ -963,10 +989,10 @@ export declare const userContract: {
963
989
  userId: string | null;
964
990
  sipServerUrl: string;
965
991
  sipUserName: string;
966
- extensionId: number | null;
967
- extensionName: string | null;
992
+ extensionId: number;
993
+ extensionName: string;
968
994
  telephonySignature: string | null;
969
- }>;
995
+ }>>;
970
996
  }, "strip", z.ZodTypeAny, {
971
997
  id: string;
972
998
  address: string | null;
@@ -975,6 +1001,8 @@ export declare const userContract: {
975
1001
  createdAt: Date;
976
1002
  updatedAt: Date;
977
1003
  deletedAt: Date | null;
1004
+ emailVerifiedAt: Date | null;
1005
+ password: string;
978
1006
  phone: string | null;
979
1007
  notificationCount: number | null;
980
1008
  roles: {
@@ -995,7 +1023,7 @@ export declare const userContract: {
995
1023
  displayName: string;
996
1024
  }[];
997
1025
  }[];
998
- extension: {
1026
+ extension?: {
999
1027
  id: string;
1000
1028
  createdAt: Date;
1001
1029
  updatedAt: Date;
@@ -1003,10 +1031,10 @@ export declare const userContract: {
1003
1031
  userId: string | null;
1004
1032
  sipServerUrl: string;
1005
1033
  sipUserName: string;
1006
- extensionId: number | null;
1007
- extensionName: string | null;
1034
+ extensionId: number;
1035
+ extensionName: string;
1008
1036
  telephonySignature: string | null;
1009
- };
1037
+ } | undefined;
1010
1038
  }, {
1011
1039
  id: string;
1012
1040
  address: string | null;
@@ -1015,6 +1043,8 @@ export declare const userContract: {
1015
1043
  createdAt: Date;
1016
1044
  updatedAt: Date;
1017
1045
  deletedAt: Date | null;
1046
+ emailVerifiedAt: Date | null;
1047
+ password: string;
1018
1048
  phone: string | null;
1019
1049
  notificationCount: number | null;
1020
1050
  roles: {
@@ -1035,7 +1065,7 @@ export declare const userContract: {
1035
1065
  displayName: string;
1036
1066
  }[];
1037
1067
  }[];
1038
- extension: {
1068
+ extension?: {
1039
1069
  id: string;
1040
1070
  createdAt: Date;
1041
1071
  updatedAt: Date;
@@ -1043,10 +1073,10 @@ export declare const userContract: {
1043
1073
  userId: string | null;
1044
1074
  sipServerUrl: string;
1045
1075
  sipUserName: string;
1046
- extensionId: number | null;
1047
- extensionName: string | null;
1076
+ extensionId: number;
1077
+ extensionName: string;
1048
1078
  telephonySignature: string | null;
1049
- };
1079
+ } | undefined;
1050
1080
  }>;
1051
1081
  }, "strip", z.ZodTypeAny, {
1052
1082
  role: {
@@ -1057,6 +1087,8 @@ export declare const userContract: {
1057
1087
  createdAt: Date;
1058
1088
  updatedAt: Date;
1059
1089
  deletedAt: Date | null;
1090
+ emailVerifiedAt: Date | null;
1091
+ password: string;
1060
1092
  phone: string | null;
1061
1093
  notificationCount: number | null;
1062
1094
  roles: {
@@ -1077,7 +1109,7 @@ export declare const userContract: {
1077
1109
  displayName: string;
1078
1110
  }[];
1079
1111
  }[];
1080
- extension: {
1112
+ extension?: {
1081
1113
  id: string;
1082
1114
  createdAt: Date;
1083
1115
  updatedAt: Date;
@@ -1085,10 +1117,10 @@ export declare const userContract: {
1085
1117
  userId: string | null;
1086
1118
  sipServerUrl: string;
1087
1119
  sipUserName: string;
1088
- extensionId: number | null;
1089
- extensionName: string | null;
1120
+ extensionId: number;
1121
+ extensionName: string;
1090
1122
  telephonySignature: string | null;
1091
- };
1123
+ } | undefined;
1092
1124
  };
1093
1125
  requestId: string;
1094
1126
  }, {
@@ -1100,6 +1132,8 @@ export declare const userContract: {
1100
1132
  createdAt: Date;
1101
1133
  updatedAt: Date;
1102
1134
  deletedAt: Date | null;
1135
+ emailVerifiedAt: Date | null;
1136
+ password: string;
1103
1137
  phone: string | null;
1104
1138
  notificationCount: number | null;
1105
1139
  roles: {
@@ -1120,7 +1154,7 @@ export declare const userContract: {
1120
1154
  displayName: string;
1121
1155
  }[];
1122
1156
  }[];
1123
- extension: {
1157
+ extension?: {
1124
1158
  id: string;
1125
1159
  createdAt: Date;
1126
1160
  updatedAt: Date;
@@ -1128,10 +1162,10 @@ export declare const userContract: {
1128
1162
  userId: string | null;
1129
1163
  sipServerUrl: string;
1130
1164
  sipUserName: string;
1131
- extensionId: number | null;
1132
- extensionName: string | null;
1165
+ extensionId: number;
1166
+ extensionName: string;
1133
1167
  telephonySignature: string | null;
1134
- };
1168
+ } | undefined;
1135
1169
  };
1136
1170
  requestId: string;
1137
1171
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGlE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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