@kl1/contracts 1.0.10 → 1.0.11
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.
- package/dist/index.js +1328 -1062
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1325 -1061
- package/dist/index.mjs.map +1 -1
- package/dist/src/auth/index.d.ts +34 -24
- package/dist/src/auth/index.d.ts.map +1 -1
- package/dist/src/aws/index.d.ts +4 -4
- package/dist/src/aws/validation.d.ts +2 -2
- package/dist/src/category/index.d.ts +3 -3
- package/dist/src/channel/index.d.ts +1357 -0
- package/dist/src/channel/index.d.ts.map +1 -0
- package/dist/src/channel/schema.d.ts +385 -0
- package/dist/src/channel/schema.d.ts.map +1 -0
- package/dist/src/channel/validation.d.ts +337 -0
- package/dist/src/channel/validation.d.ts.map +1 -0
- package/dist/src/chat/index.d.ts +17033 -10471
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +1995 -900
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +3097 -461
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +197 -12
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +2539 -0
- package/dist/src/contact/index.d.ts.map +1 -0
- package/dist/src/contact/schema.d.ts +978 -6
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +981 -0
- package/dist/src/contact/validation.d.ts.map +1 -0
- package/dist/src/contract.d.ts +36388 -24411
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field-upload/schema.d.ts +2 -2
- package/dist/src/cx-log/index.d.ts +4 -4
- package/dist/src/cx-log/schema.d.ts +2 -2
- package/dist/src/extension/index.d.ts +226 -60
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/schema.d.ts +6 -6
- package/dist/src/extension/validation.d.ts +6 -12
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +2 -2
- package/dist/src/mail/mail-contract.d.ts +2871 -3707
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +18 -18
- package/dist/src/mail/room-contract.d.ts +2860 -3696
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +2 -2
- package/dist/src/mail/schemas/message-validation.schema.d.ts +12 -12
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +70 -70
- package/dist/src/mail/schemas/room.schema.d.ts +50 -50
- package/dist/src/messenger/index.d.ts +2977 -0
- package/dist/src/messenger/index.d.ts.map +1 -0
- package/dist/src/messenger/schema.d.ts +2 -0
- package/dist/src/messenger/schema.d.ts.map +1 -0
- package/dist/src/messenger/validation.d.ts +2 -0
- package/dist/src/messenger/validation.d.ts.map +1 -0
- package/dist/src/permission/index.d.ts +2 -0
- package/dist/src/permission/index.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +3 -3
- package/dist/src/telephony-agent-presence-status/index.d.ts +1376 -0
- package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -0
- package/dist/src/telephony-agent-presence-status/schema.d.ts +366 -0
- package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -0
- package/dist/src/telephony-agent-presence-status/validation.d.ts +18 -0
- package/dist/src/telephony-agent-presence-status/validation.d.ts.map +1 -0
- package/dist/src/telephony-extension/index.d.ts +5 -5
- package/dist/src/telephony-extension/schema.d.ts +5 -5
- package/dist/src/tenant/schema.d.ts +36 -0
- package/dist/src/tenant/schema.d.ts.map +1 -0
- package/dist/src/upload/schema.d.ts +4 -4
- package/dist/src/user/index.d.ts +128 -94
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/schema.d.ts +22 -16
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +11 -11
- package/dist/src/user-presence-status-log/index.d.ts +342 -0
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -0
- package/dist/src/user-presence-status-log/schema.d.ts +382 -0
- package/dist/src/user-presence-status-log/schema.d.ts.map +1 -0
- package/dist/src/user-presence-status-log/validation.d.ts +15 -0
- package/dist/src/user-presence-status-log/validation.d.ts.map +1 -0
- package/dist/src/widget/index.d.ts +31 -29
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/schema.d.ts +3 -3
- package/dist/src/wrap-up-form/index.d.ts +30 -30
- package/dist/src/wrap-up-form/validation.d.ts +27 -27
- package/dist/utils.d.ts +6 -6
- package/package.json +1 -1
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
package/dist/src/user/index.d.ts
CHANGED
@@ -10,24 +10,24 @@ export declare const userContract: {
|
|
10
10
|
address: z.ZodNullable<z.ZodString>;
|
11
11
|
phone: z.ZodNullable<z.ZodString>;
|
12
12
|
password: z.ZodString;
|
13
|
-
notificationCount: z.ZodOptional<z.
|
13
|
+
notificationCount: z.ZodOptional<z.ZodNumber>;
|
14
14
|
roles: z.ZodArray<z.ZodString, "many">;
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
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
|
-
|
22
|
-
notificationCount?: number | null | undefined;
|
22
|
+
notificationCount?: number | 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
|
-
|
30
|
-
notificationCount?: number | null | undefined;
|
30
|
+
notificationCount?: number | undefined;
|
31
31
|
}>;
|
32
32
|
summary: "Create a user.";
|
33
33
|
method: "POST";
|
@@ -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.
|
124
|
-
extensionName: z.
|
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
|
135
|
-
extensionName: string
|
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
|
146
|
-
extensionName: string
|
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
|
186
|
-
extensionName: string
|
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
|
226
|
-
extensionName: string
|
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
|
268
|
-
extensionName: string
|
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
|
311
|
-
extensionName: string
|
320
|
+
extensionId: number;
|
321
|
+
extensionName: string;
|
312
322
|
telephonySignature: string | null;
|
313
|
-
};
|
323
|
+
} | undefined;
|
314
324
|
};
|
315
325
|
requestId: string;
|
316
326
|
}>;
|
@@ -365,7 +375,7 @@ export declare const userContract: {
|
|
365
375
|
total: z.ZodNumber;
|
366
376
|
page: z.ZodDefault<z.ZodNumber>;
|
367
377
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
368
|
-
lastPage: z.
|
378
|
+
lastPage: z.ZodOptional<z.ZodNumber>;
|
369
379
|
data: z.ZodArray<z.ZodType<{
|
370
380
|
id: string;
|
371
381
|
address: string | null;
|
@@ -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
|
406
|
-
extensionName: string
|
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
|
446
|
-
extensionName: string
|
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,15 +500,15 @@ export declare const userContract: {
|
|
484
500
|
userId: string | null;
|
485
501
|
sipServerUrl: string;
|
486
502
|
sipUserName: string;
|
487
|
-
extensionId: number
|
488
|
-
extensionName: string
|
503
|
+
extensionId: number;
|
504
|
+
extensionName: string;
|
489
505
|
telephonySignature: string | null;
|
490
|
-
};
|
506
|
+
} | undefined;
|
491
507
|
}[];
|
492
508
|
total: number;
|
493
509
|
page: number;
|
494
510
|
pageSize: number;
|
495
|
-
lastPage?: number |
|
511
|
+
lastPage?: number | undefined;
|
496
512
|
}, {
|
497
513
|
data: {
|
498
514
|
id: string;
|
@@ -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,15 +548,15 @@ export declare const userContract: {
|
|
530
548
|
userId: string | null;
|
531
549
|
sipServerUrl: string;
|
532
550
|
sipUserName: string;
|
533
|
-
extensionId: number
|
534
|
-
extensionName: string
|
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;
|
540
558
|
pageSize?: number | undefined;
|
541
|
-
lastPage?: number |
|
559
|
+
lastPage?: number | undefined;
|
542
560
|
}>;
|
543
561
|
400: z.ZodObject<{
|
544
562
|
message: z.ZodString;
|
@@ -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.
|
681
|
-
extensionName: z.
|
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
|
692
|
-
extensionName: string
|
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
|
703
|
-
extensionName: string
|
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
|
743
|
-
extensionName: string
|
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
|
783
|
-
extensionName: string
|
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,29 +843,29 @@ 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
|
-
notificationCount: z.ZodOptional<z.
|
848
|
+
notificationCount: z.ZodOptional<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
|
-
notificationCount?: number |
|
859
|
+
notificationCount?: number | 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
|
-
notificationCount?: number |
|
868
|
+
notificationCount?: number | undefined;
|
845
869
|
}>;
|
846
870
|
summary: "Update a user.";
|
847
871
|
method: "PATCH";
|
@@ -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.
|
945
|
-
extensionName: z.
|
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
|
956
|
-
extensionName: string
|
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
|
967
|
-
extensionName: string
|
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
|
1007
|
-
extensionName: string
|
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
|
1047
|
-
extensionName: string
|
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
|
1089
|
-
extensionName: string
|
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
|
1132
|
-
extensionName: string
|
1165
|
+
extensionId: number;
|
1166
|
+
extensionName: string;
|
1133
1167
|
telephonySignature: string | null;
|
1134
|
-
};
|
1168
|
+
} | undefined;
|
1135
1169
|
};
|
1136
1170
|
requestId: string;
|
1137
1171
|
}>;
|