@kl1/contracts 1.0.9 → 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 +1331 -1064
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1325 -1060
- package/dist/index.mjs.map +1 -1
- package/dist/src/auth/index.d.ts +92 -0
- 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/call-log/schema.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 +18857 -8629
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +2170 -641
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +3078 -278
- 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 +37764 -21769
- 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/line/index.d.ts +2 -2
- package/dist/src/line/validation.d.ts +2 -2
- 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-cdr/schema.d.ts +2 -2
- 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 +318 -14
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/schema.d.ts +64 -0
- 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,6 +114,40 @@ export declare const userContract: {
|
|
112
114
|
displayName: string;
|
113
115
|
}[];
|
114
116
|
}>, "many">;
|
117
|
+
extension: z.ZodOptional<z.ZodObject<{
|
118
|
+
id: z.ZodString;
|
119
|
+
createdAt: z.ZodDate;
|
120
|
+
updatedAt: z.ZodDate;
|
121
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
122
|
+
userId: z.ZodNullable<z.ZodString>;
|
123
|
+
sipServerUrl: z.ZodString;
|
124
|
+
sipUserName: z.ZodString;
|
125
|
+
extensionId: z.ZodNumber;
|
126
|
+
extensionName: z.ZodString;
|
127
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
129
|
+
id: string;
|
130
|
+
createdAt: Date;
|
131
|
+
updatedAt: Date;
|
132
|
+
deletedAt: Date | null;
|
133
|
+
userId: string | null;
|
134
|
+
sipServerUrl: string;
|
135
|
+
sipUserName: string;
|
136
|
+
extensionId: number;
|
137
|
+
extensionName: string;
|
138
|
+
telephonySignature: string | null;
|
139
|
+
}, {
|
140
|
+
id: string;
|
141
|
+
createdAt: Date;
|
142
|
+
updatedAt: Date;
|
143
|
+
deletedAt: Date | null;
|
144
|
+
userId: string | null;
|
145
|
+
sipServerUrl: string;
|
146
|
+
sipUserName: string;
|
147
|
+
extensionId: number;
|
148
|
+
extensionName: string;
|
149
|
+
telephonySignature: string | null;
|
150
|
+
}>>;
|
115
151
|
}, "strip", z.ZodTypeAny, {
|
116
152
|
id: string;
|
117
153
|
address: string | null;
|
@@ -120,6 +156,8 @@ export declare const userContract: {
|
|
120
156
|
createdAt: Date;
|
121
157
|
updatedAt: Date;
|
122
158
|
deletedAt: Date | null;
|
159
|
+
emailVerifiedAt: Date | null;
|
160
|
+
password: string;
|
123
161
|
phone: string | null;
|
124
162
|
notificationCount: number | null;
|
125
163
|
roles: {
|
@@ -140,6 +178,18 @@ export declare const userContract: {
|
|
140
178
|
displayName: string;
|
141
179
|
}[];
|
142
180
|
}[];
|
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
|
+
extensionId: number;
|
190
|
+
extensionName: string;
|
191
|
+
telephonySignature: string | null;
|
192
|
+
} | undefined;
|
143
193
|
}, {
|
144
194
|
id: string;
|
145
195
|
address: string | null;
|
@@ -148,6 +198,8 @@ export declare const userContract: {
|
|
148
198
|
createdAt: Date;
|
149
199
|
updatedAt: Date;
|
150
200
|
deletedAt: Date | null;
|
201
|
+
emailVerifiedAt: Date | null;
|
202
|
+
password: string;
|
151
203
|
phone: string | null;
|
152
204
|
notificationCount: number | null;
|
153
205
|
roles: {
|
@@ -168,6 +220,18 @@ export declare const userContract: {
|
|
168
220
|
displayName: string;
|
169
221
|
}[];
|
170
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
|
+
extensionId: number;
|
232
|
+
extensionName: string;
|
233
|
+
telephonySignature: string | null;
|
234
|
+
} | undefined;
|
171
235
|
}>;
|
172
236
|
}, "strip", z.ZodTypeAny, {
|
173
237
|
user: {
|
@@ -178,6 +242,8 @@ export declare const userContract: {
|
|
178
242
|
createdAt: Date;
|
179
243
|
updatedAt: Date;
|
180
244
|
deletedAt: Date | null;
|
245
|
+
emailVerifiedAt: Date | null;
|
246
|
+
password: string;
|
181
247
|
phone: string | null;
|
182
248
|
notificationCount: number | null;
|
183
249
|
roles: {
|
@@ -198,6 +264,18 @@ export declare const userContract: {
|
|
198
264
|
displayName: string;
|
199
265
|
}[];
|
200
266
|
}[];
|
267
|
+
extension?: {
|
268
|
+
id: string;
|
269
|
+
createdAt: Date;
|
270
|
+
updatedAt: Date;
|
271
|
+
deletedAt: Date | null;
|
272
|
+
userId: string | null;
|
273
|
+
sipServerUrl: string;
|
274
|
+
sipUserName: string;
|
275
|
+
extensionId: number;
|
276
|
+
extensionName: string;
|
277
|
+
telephonySignature: string | null;
|
278
|
+
} | undefined;
|
201
279
|
};
|
202
280
|
requestId: string;
|
203
281
|
}, {
|
@@ -209,6 +287,8 @@ export declare const userContract: {
|
|
209
287
|
createdAt: Date;
|
210
288
|
updatedAt: Date;
|
211
289
|
deletedAt: Date | null;
|
290
|
+
emailVerifiedAt: Date | null;
|
291
|
+
password: string;
|
212
292
|
phone: string | null;
|
213
293
|
notificationCount: number | null;
|
214
294
|
roles: {
|
@@ -229,6 +309,18 @@ export declare const userContract: {
|
|
229
309
|
displayName: string;
|
230
310
|
}[];
|
231
311
|
}[];
|
312
|
+
extension?: {
|
313
|
+
id: string;
|
314
|
+
createdAt: Date;
|
315
|
+
updatedAt: Date;
|
316
|
+
deletedAt: Date | null;
|
317
|
+
userId: string | null;
|
318
|
+
sipServerUrl: string;
|
319
|
+
sipUserName: string;
|
320
|
+
extensionId: number;
|
321
|
+
extensionName: string;
|
322
|
+
telephonySignature: string | null;
|
323
|
+
} | undefined;
|
232
324
|
};
|
233
325
|
requestId: string;
|
234
326
|
}>;
|
@@ -283,7 +375,7 @@ export declare const userContract: {
|
|
283
375
|
total: z.ZodNumber;
|
284
376
|
page: z.ZodDefault<z.ZodNumber>;
|
285
377
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
286
|
-
lastPage: z.
|
378
|
+
lastPage: z.ZodOptional<z.ZodNumber>;
|
287
379
|
data: z.ZodArray<z.ZodType<{
|
288
380
|
id: string;
|
289
381
|
address: string | null;
|
@@ -292,6 +384,8 @@ export declare const userContract: {
|
|
292
384
|
createdAt: Date;
|
293
385
|
updatedAt: Date;
|
294
386
|
deletedAt: Date | null;
|
387
|
+
emailVerifiedAt: Date | null;
|
388
|
+
password: string;
|
295
389
|
phone: string | null;
|
296
390
|
notificationCount: number | null;
|
297
391
|
roles: {
|
@@ -312,6 +406,18 @@ export declare const userContract: {
|
|
312
406
|
displayName: string;
|
313
407
|
}[];
|
314
408
|
}[];
|
409
|
+
extension?: {
|
410
|
+
id: string;
|
411
|
+
createdAt: Date;
|
412
|
+
updatedAt: Date;
|
413
|
+
deletedAt: Date | null;
|
414
|
+
userId: string | null;
|
415
|
+
sipServerUrl: string;
|
416
|
+
sipUserName: string;
|
417
|
+
extensionId: number;
|
418
|
+
extensionName: string;
|
419
|
+
telephonySignature: string | null;
|
420
|
+
} | undefined;
|
315
421
|
}, z.ZodTypeDef, {
|
316
422
|
id: string;
|
317
423
|
address: string | null;
|
@@ -320,6 +426,8 @@ export declare const userContract: {
|
|
320
426
|
createdAt: Date;
|
321
427
|
updatedAt: Date;
|
322
428
|
deletedAt: Date | null;
|
429
|
+
emailVerifiedAt: Date | null;
|
430
|
+
password: string;
|
323
431
|
phone: string | null;
|
324
432
|
notificationCount: number | null;
|
325
433
|
roles: {
|
@@ -340,6 +448,18 @@ export declare const userContract: {
|
|
340
448
|
displayName: string;
|
341
449
|
}[];
|
342
450
|
}[];
|
451
|
+
extension?: {
|
452
|
+
id: string;
|
453
|
+
createdAt: Date;
|
454
|
+
updatedAt: Date;
|
455
|
+
deletedAt: Date | null;
|
456
|
+
userId: string | null;
|
457
|
+
sipServerUrl: string;
|
458
|
+
sipUserName: string;
|
459
|
+
extensionId: number;
|
460
|
+
extensionName: string;
|
461
|
+
telephonySignature: string | null;
|
462
|
+
} | undefined;
|
343
463
|
}>, "many">;
|
344
464
|
}, "strip", z.ZodTypeAny, {
|
345
465
|
data: {
|
@@ -350,6 +470,8 @@ export declare const userContract: {
|
|
350
470
|
createdAt: Date;
|
351
471
|
updatedAt: Date;
|
352
472
|
deletedAt: Date | null;
|
473
|
+
emailVerifiedAt: Date | null;
|
474
|
+
password: string;
|
353
475
|
phone: string | null;
|
354
476
|
notificationCount: number | null;
|
355
477
|
roles: {
|
@@ -370,11 +492,23 @@ export declare const userContract: {
|
|
370
492
|
displayName: string;
|
371
493
|
}[];
|
372
494
|
}[];
|
495
|
+
extension?: {
|
496
|
+
id: string;
|
497
|
+
createdAt: Date;
|
498
|
+
updatedAt: Date;
|
499
|
+
deletedAt: Date | null;
|
500
|
+
userId: string | null;
|
501
|
+
sipServerUrl: string;
|
502
|
+
sipUserName: string;
|
503
|
+
extensionId: number;
|
504
|
+
extensionName: string;
|
505
|
+
telephonySignature: string | null;
|
506
|
+
} | undefined;
|
373
507
|
}[];
|
374
508
|
total: number;
|
375
509
|
page: number;
|
376
510
|
pageSize: number;
|
377
|
-
lastPage?: number |
|
511
|
+
lastPage?: number | undefined;
|
378
512
|
}, {
|
379
513
|
data: {
|
380
514
|
id: string;
|
@@ -384,6 +518,8 @@ export declare const userContract: {
|
|
384
518
|
createdAt: Date;
|
385
519
|
updatedAt: Date;
|
386
520
|
deletedAt: Date | null;
|
521
|
+
emailVerifiedAt: Date | null;
|
522
|
+
password: string;
|
387
523
|
phone: string | null;
|
388
524
|
notificationCount: number | null;
|
389
525
|
roles: {
|
@@ -404,11 +540,23 @@ export declare const userContract: {
|
|
404
540
|
displayName: string;
|
405
541
|
}[];
|
406
542
|
}[];
|
543
|
+
extension?: {
|
544
|
+
id: string;
|
545
|
+
createdAt: Date;
|
546
|
+
updatedAt: Date;
|
547
|
+
deletedAt: Date | null;
|
548
|
+
userId: string | null;
|
549
|
+
sipServerUrl: string;
|
550
|
+
sipUserName: string;
|
551
|
+
extensionId: number;
|
552
|
+
extensionName: string;
|
553
|
+
telephonySignature: string | null;
|
554
|
+
} | undefined;
|
407
555
|
}[];
|
408
556
|
total: number;
|
409
557
|
page?: number | undefined;
|
410
558
|
pageSize?: number | undefined;
|
411
|
-
lastPage?: number |
|
559
|
+
lastPage?: number | undefined;
|
412
560
|
}>;
|
413
561
|
400: z.ZodObject<{
|
414
562
|
message: z.ZodString;
|
@@ -468,6 +616,8 @@ export declare const userContract: {
|
|
468
616
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
469
617
|
name: z.ZodString;
|
470
618
|
email: z.ZodString;
|
619
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
620
|
+
password: z.ZodString;
|
471
621
|
address: z.ZodNullable<z.ZodString>;
|
472
622
|
phone: z.ZodNullable<z.ZodString>;
|
473
623
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
@@ -539,6 +689,40 @@ export declare const userContract: {
|
|
539
689
|
displayName: string;
|
540
690
|
}[];
|
541
691
|
}>, "many">;
|
692
|
+
extension: z.ZodOptional<z.ZodObject<{
|
693
|
+
id: z.ZodString;
|
694
|
+
createdAt: z.ZodDate;
|
695
|
+
updatedAt: z.ZodDate;
|
696
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
697
|
+
userId: z.ZodNullable<z.ZodString>;
|
698
|
+
sipServerUrl: z.ZodString;
|
699
|
+
sipUserName: z.ZodString;
|
700
|
+
extensionId: z.ZodNumber;
|
701
|
+
extensionName: z.ZodString;
|
702
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
703
|
+
}, "strip", z.ZodTypeAny, {
|
704
|
+
id: string;
|
705
|
+
createdAt: Date;
|
706
|
+
updatedAt: Date;
|
707
|
+
deletedAt: Date | null;
|
708
|
+
userId: string | null;
|
709
|
+
sipServerUrl: string;
|
710
|
+
sipUserName: string;
|
711
|
+
extensionId: number;
|
712
|
+
extensionName: string;
|
713
|
+
telephonySignature: string | null;
|
714
|
+
}, {
|
715
|
+
id: string;
|
716
|
+
createdAt: Date;
|
717
|
+
updatedAt: Date;
|
718
|
+
deletedAt: Date | null;
|
719
|
+
userId: string | null;
|
720
|
+
sipServerUrl: string;
|
721
|
+
sipUserName: string;
|
722
|
+
extensionId: number;
|
723
|
+
extensionName: string;
|
724
|
+
telephonySignature: string | null;
|
725
|
+
}>>;
|
542
726
|
}, "strip", z.ZodTypeAny, {
|
543
727
|
id: string;
|
544
728
|
address: string | null;
|
@@ -547,6 +731,8 @@ export declare const userContract: {
|
|
547
731
|
createdAt: Date;
|
548
732
|
updatedAt: Date;
|
549
733
|
deletedAt: Date | null;
|
734
|
+
emailVerifiedAt: Date | null;
|
735
|
+
password: string;
|
550
736
|
phone: string | null;
|
551
737
|
notificationCount: number | null;
|
552
738
|
roles: {
|
@@ -567,6 +753,18 @@ export declare const userContract: {
|
|
567
753
|
displayName: string;
|
568
754
|
}[];
|
569
755
|
}[];
|
756
|
+
extension?: {
|
757
|
+
id: string;
|
758
|
+
createdAt: Date;
|
759
|
+
updatedAt: Date;
|
760
|
+
deletedAt: Date | null;
|
761
|
+
userId: string | null;
|
762
|
+
sipServerUrl: string;
|
763
|
+
sipUserName: string;
|
764
|
+
extensionId: number;
|
765
|
+
extensionName: string;
|
766
|
+
telephonySignature: string | null;
|
767
|
+
} | undefined;
|
570
768
|
}, {
|
571
769
|
id: string;
|
572
770
|
address: string | null;
|
@@ -575,6 +773,8 @@ export declare const userContract: {
|
|
575
773
|
createdAt: Date;
|
576
774
|
updatedAt: Date;
|
577
775
|
deletedAt: Date | null;
|
776
|
+
emailVerifiedAt: Date | null;
|
777
|
+
password: string;
|
578
778
|
phone: string | null;
|
579
779
|
notificationCount: number | null;
|
580
780
|
roles: {
|
@@ -595,6 +795,18 @@ export declare const userContract: {
|
|
595
795
|
displayName: string;
|
596
796
|
}[];
|
597
797
|
}[];
|
798
|
+
extension?: {
|
799
|
+
id: string;
|
800
|
+
createdAt: Date;
|
801
|
+
updatedAt: Date;
|
802
|
+
deletedAt: Date | null;
|
803
|
+
userId: string | null;
|
804
|
+
sipServerUrl: string;
|
805
|
+
sipUserName: string;
|
806
|
+
extensionId: number;
|
807
|
+
extensionName: string;
|
808
|
+
telephonySignature: string | null;
|
809
|
+
} | undefined;
|
598
810
|
}>;
|
599
811
|
400: z.ZodObject<{
|
600
812
|
message: z.ZodString;
|
@@ -631,29 +843,29 @@ export declare const userContract: {
|
|
631
843
|
address: z.ZodNullable<z.ZodString>;
|
632
844
|
name: z.ZodString;
|
633
845
|
email: z.ZodString;
|
846
|
+
password: z.ZodString;
|
634
847
|
phone: z.ZodNullable<z.ZodString>;
|
635
|
-
notificationCount: z.ZodOptional<z.
|
848
|
+
notificationCount: z.ZodOptional<z.ZodNumber>;
|
636
849
|
roles: z.ZodArray<z.ZodString, "many">;
|
637
|
-
password: z.ZodString;
|
638
850
|
newPassword: z.ZodString;
|
639
851
|
}, "strip", z.ZodTypeAny, {
|
640
852
|
address: string | null;
|
641
853
|
name: string;
|
642
854
|
email: string;
|
855
|
+
password: string;
|
643
856
|
phone: string | null;
|
644
857
|
roles: string[];
|
645
|
-
password: string;
|
646
858
|
newPassword: string;
|
647
|
-
notificationCount?: number |
|
859
|
+
notificationCount?: number | undefined;
|
648
860
|
}, {
|
649
861
|
address: string | null;
|
650
862
|
name: string;
|
651
863
|
email: string;
|
864
|
+
password: string;
|
652
865
|
phone: string | null;
|
653
866
|
roles: string[];
|
654
|
-
password: string;
|
655
867
|
newPassword: string;
|
656
|
-
notificationCount?: number |
|
868
|
+
notificationCount?: number | undefined;
|
657
869
|
}>;
|
658
870
|
summary: "Update a user.";
|
659
871
|
method: "PATCH";
|
@@ -674,6 +886,8 @@ export declare const userContract: {
|
|
674
886
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
675
887
|
name: z.ZodString;
|
676
888
|
email: z.ZodString;
|
889
|
+
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
890
|
+
password: z.ZodString;
|
677
891
|
address: z.ZodNullable<z.ZodString>;
|
678
892
|
phone: z.ZodNullable<z.ZodString>;
|
679
893
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
@@ -745,6 +959,40 @@ export declare const userContract: {
|
|
745
959
|
displayName: string;
|
746
960
|
}[];
|
747
961
|
}>, "many">;
|
962
|
+
extension: z.ZodOptional<z.ZodObject<{
|
963
|
+
id: z.ZodString;
|
964
|
+
createdAt: z.ZodDate;
|
965
|
+
updatedAt: z.ZodDate;
|
966
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
967
|
+
userId: z.ZodNullable<z.ZodString>;
|
968
|
+
sipServerUrl: z.ZodString;
|
969
|
+
sipUserName: z.ZodString;
|
970
|
+
extensionId: z.ZodNumber;
|
971
|
+
extensionName: z.ZodString;
|
972
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
973
|
+
}, "strip", z.ZodTypeAny, {
|
974
|
+
id: string;
|
975
|
+
createdAt: Date;
|
976
|
+
updatedAt: Date;
|
977
|
+
deletedAt: Date | null;
|
978
|
+
userId: string | null;
|
979
|
+
sipServerUrl: string;
|
980
|
+
sipUserName: string;
|
981
|
+
extensionId: number;
|
982
|
+
extensionName: string;
|
983
|
+
telephonySignature: string | null;
|
984
|
+
}, {
|
985
|
+
id: string;
|
986
|
+
createdAt: Date;
|
987
|
+
updatedAt: Date;
|
988
|
+
deletedAt: Date | null;
|
989
|
+
userId: string | null;
|
990
|
+
sipServerUrl: string;
|
991
|
+
sipUserName: string;
|
992
|
+
extensionId: number;
|
993
|
+
extensionName: string;
|
994
|
+
telephonySignature: string | null;
|
995
|
+
}>>;
|
748
996
|
}, "strip", z.ZodTypeAny, {
|
749
997
|
id: string;
|
750
998
|
address: string | null;
|
@@ -753,6 +1001,8 @@ export declare const userContract: {
|
|
753
1001
|
createdAt: Date;
|
754
1002
|
updatedAt: Date;
|
755
1003
|
deletedAt: Date | null;
|
1004
|
+
emailVerifiedAt: Date | null;
|
1005
|
+
password: string;
|
756
1006
|
phone: string | null;
|
757
1007
|
notificationCount: number | null;
|
758
1008
|
roles: {
|
@@ -773,6 +1023,18 @@ export declare const userContract: {
|
|
773
1023
|
displayName: string;
|
774
1024
|
}[];
|
775
1025
|
}[];
|
1026
|
+
extension?: {
|
1027
|
+
id: string;
|
1028
|
+
createdAt: Date;
|
1029
|
+
updatedAt: Date;
|
1030
|
+
deletedAt: Date | null;
|
1031
|
+
userId: string | null;
|
1032
|
+
sipServerUrl: string;
|
1033
|
+
sipUserName: string;
|
1034
|
+
extensionId: number;
|
1035
|
+
extensionName: string;
|
1036
|
+
telephonySignature: string | null;
|
1037
|
+
} | undefined;
|
776
1038
|
}, {
|
777
1039
|
id: string;
|
778
1040
|
address: string | null;
|
@@ -781,6 +1043,8 @@ export declare const userContract: {
|
|
781
1043
|
createdAt: Date;
|
782
1044
|
updatedAt: Date;
|
783
1045
|
deletedAt: Date | null;
|
1046
|
+
emailVerifiedAt: Date | null;
|
1047
|
+
password: string;
|
784
1048
|
phone: string | null;
|
785
1049
|
notificationCount: number | null;
|
786
1050
|
roles: {
|
@@ -801,6 +1065,18 @@ export declare const userContract: {
|
|
801
1065
|
displayName: string;
|
802
1066
|
}[];
|
803
1067
|
}[];
|
1068
|
+
extension?: {
|
1069
|
+
id: string;
|
1070
|
+
createdAt: Date;
|
1071
|
+
updatedAt: Date;
|
1072
|
+
deletedAt: Date | null;
|
1073
|
+
userId: string | null;
|
1074
|
+
sipServerUrl: string;
|
1075
|
+
sipUserName: string;
|
1076
|
+
extensionId: number;
|
1077
|
+
extensionName: string;
|
1078
|
+
telephonySignature: string | null;
|
1079
|
+
} | undefined;
|
804
1080
|
}>;
|
805
1081
|
}, "strip", z.ZodTypeAny, {
|
806
1082
|
role: {
|
@@ -811,6 +1087,8 @@ export declare const userContract: {
|
|
811
1087
|
createdAt: Date;
|
812
1088
|
updatedAt: Date;
|
813
1089
|
deletedAt: Date | null;
|
1090
|
+
emailVerifiedAt: Date | null;
|
1091
|
+
password: string;
|
814
1092
|
phone: string | null;
|
815
1093
|
notificationCount: number | null;
|
816
1094
|
roles: {
|
@@ -831,6 +1109,18 @@ export declare const userContract: {
|
|
831
1109
|
displayName: string;
|
832
1110
|
}[];
|
833
1111
|
}[];
|
1112
|
+
extension?: {
|
1113
|
+
id: string;
|
1114
|
+
createdAt: Date;
|
1115
|
+
updatedAt: Date;
|
1116
|
+
deletedAt: Date | null;
|
1117
|
+
userId: string | null;
|
1118
|
+
sipServerUrl: string;
|
1119
|
+
sipUserName: string;
|
1120
|
+
extensionId: number;
|
1121
|
+
extensionName: string;
|
1122
|
+
telephonySignature: string | null;
|
1123
|
+
} | undefined;
|
834
1124
|
};
|
835
1125
|
requestId: string;
|
836
1126
|
}, {
|
@@ -842,6 +1132,8 @@ export declare const userContract: {
|
|
842
1132
|
createdAt: Date;
|
843
1133
|
updatedAt: Date;
|
844
1134
|
deletedAt: Date | null;
|
1135
|
+
emailVerifiedAt: Date | null;
|
1136
|
+
password: string;
|
845
1137
|
phone: string | null;
|
846
1138
|
notificationCount: number | null;
|
847
1139
|
roles: {
|
@@ -862,6 +1154,18 @@ export declare const userContract: {
|
|
862
1154
|
displayName: string;
|
863
1155
|
}[];
|
864
1156
|
}[];
|
1157
|
+
extension?: {
|
1158
|
+
id: string;
|
1159
|
+
createdAt: Date;
|
1160
|
+
updatedAt: Date;
|
1161
|
+
deletedAt: Date | null;
|
1162
|
+
userId: string | null;
|
1163
|
+
sipServerUrl: string;
|
1164
|
+
sipUserName: string;
|
1165
|
+
extensionId: number;
|
1166
|
+
extensionName: string;
|
1167
|
+
telephonySignature: string | null;
|
1168
|
+
} | undefined;
|
865
1169
|
};
|
866
1170
|
requestId: string;
|
867
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
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFxB,CAAC"}
|