@kl1/contracts 1.1.0-uat → 1.1.1-uat
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 +832 -957
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +832 -956
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +57 -57
- package/dist/src/chat/schema.d.ts +8 -8
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +15 -15
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +1260 -2103
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +12 -12
- package/dist/src/line/index.d.ts +12 -12
- package/dist/src/mail/account-contract.d.ts +132 -132
- package/dist/src/mail/index.d.ts +0 -10
- package/dist/src/mail/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1152 -1612
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server-contract.d.ts +18 -477
- package/dist/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +54 -54
- package/dist/src/mail/room-contract.d.ts +948 -951
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account-validation.schema.d.ts +140 -140
- package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +32 -32
- package/dist/src/mail/schemas/message.schema.d.ts +42 -42
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +316 -319
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +259 -683
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +12 -12
- package/dist/src/user/index.d.ts +4 -388
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +0 -7
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +12 -12
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"room.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/room.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC;
|
1
|
+
{"version":3,"file":"room.schema.d.ts","sourceRoot":"","sources":["../../../../src/mail/schemas/room.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;EAOzB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;EAOpB,CAAC;AAEH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUpB,CAAC;AAeH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyBzB,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC"}
|
@@ -224,7 +224,7 @@ export declare const messengerContract: {
|
|
224
224
|
phone: string | null;
|
225
225
|
} | undefined;
|
226
226
|
}>;
|
227
|
-
|
227
|
+
messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
229
229
|
id: string;
|
230
230
|
channel: {
|
@@ -252,7 +252,6 @@ export declare const messengerContract: {
|
|
252
252
|
} | undefined;
|
253
253
|
};
|
254
254
|
direction: "incoming" | "outgoing" | "system";
|
255
|
-
status: number;
|
256
255
|
createdAt: string;
|
257
256
|
updatedAt: string;
|
258
257
|
actor: {
|
@@ -290,6 +289,7 @@ export declare const messengerContract: {
|
|
290
289
|
} | null;
|
291
290
|
lastMessage?: string | undefined;
|
292
291
|
handleTime?: number | undefined;
|
292
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
293
293
|
}, {
|
294
294
|
id: string;
|
295
295
|
channel: {
|
@@ -317,7 +317,6 @@ export declare const messengerContract: {
|
|
317
317
|
} | undefined;
|
318
318
|
};
|
319
319
|
direction: "incoming" | "outgoing" | "system";
|
320
|
-
status: number;
|
321
320
|
createdAt: string;
|
322
321
|
updatedAt: string;
|
323
322
|
actor: {
|
@@ -355,6 +354,7 @@ export declare const messengerContract: {
|
|
355
354
|
} | null;
|
356
355
|
lastMessage?: string | undefined;
|
357
356
|
handleTime?: number | undefined;
|
357
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
358
358
|
}>;
|
359
359
|
message: z.ZodObject<{
|
360
360
|
message: z.ZodOptional<z.ZodString>;
|
@@ -516,7 +516,6 @@ export declare const messengerContract: {
|
|
516
516
|
} | undefined;
|
517
517
|
};
|
518
518
|
direction: "incoming" | "outgoing" | "system";
|
519
|
-
status: number;
|
520
519
|
createdAt: string;
|
521
520
|
updatedAt: string;
|
522
521
|
actor: {
|
@@ -554,6 +553,7 @@ export declare const messengerContract: {
|
|
554
553
|
} | null;
|
555
554
|
lastMessage?: string | undefined;
|
556
555
|
handleTime?: number | undefined;
|
556
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
557
557
|
};
|
558
558
|
}, {
|
559
559
|
message: {
|
@@ -611,7 +611,6 @@ export declare const messengerContract: {
|
|
611
611
|
} | undefined;
|
612
612
|
};
|
613
613
|
direction: "incoming" | "outgoing" | "system";
|
614
|
-
status: number;
|
615
614
|
createdAt: string;
|
616
615
|
updatedAt: string;
|
617
616
|
actor: {
|
@@ -649,6 +648,7 @@ export declare const messengerContract: {
|
|
649
648
|
} | null;
|
650
649
|
lastMessage?: string | undefined;
|
651
650
|
handleTime?: number | undefined;
|
651
|
+
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
652
652
|
};
|
653
653
|
}>;
|
654
654
|
method: "POST";
|
@@ -680,7 +680,7 @@ export declare const messengerContract: {
|
|
680
680
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
681
681
|
lastMessage: z.ZodString;
|
682
682
|
handleTime: z.ZodNumber;
|
683
|
-
|
683
|
+
closedAt: z.ZodDate;
|
684
684
|
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
685
685
|
status: z.ZodNumber;
|
686
686
|
unreadCount: z.ZodNumber;
|
@@ -2658,7 +2658,6 @@ export declare const messengerContract: {
|
|
2658
2658
|
firstResponseTime: number;
|
2659
2659
|
lastMessage: string;
|
2660
2660
|
handleTime: number;
|
2661
|
-
closeAt: Date;
|
2662
2661
|
unreadCount: number;
|
2663
2662
|
firstResponseAt: Date;
|
2664
2663
|
isLatest: boolean;
|
@@ -2818,6 +2817,7 @@ export declare const messengerContract: {
|
|
2818
2817
|
telephonySignature: string | null;
|
2819
2818
|
};
|
2820
2819
|
};
|
2820
|
+
closedAt: Date;
|
2821
2821
|
lastMessageAt: Date | null;
|
2822
2822
|
cxlog: {
|
2823
2823
|
id: string;
|
@@ -2972,7 +2972,6 @@ export declare const messengerContract: {
|
|
2972
2972
|
firstResponseTime: number;
|
2973
2973
|
lastMessage: string;
|
2974
2974
|
handleTime: number;
|
2975
|
-
closeAt: Date;
|
2976
2975
|
unreadCount: number;
|
2977
2976
|
firstResponseAt: Date;
|
2978
2977
|
isLatest: boolean;
|
@@ -3132,6 +3131,7 @@ export declare const messengerContract: {
|
|
3132
3131
|
telephonySignature: string | null;
|
3133
3132
|
};
|
3134
3133
|
};
|
3134
|
+
closedAt: Date;
|
3135
3135
|
lastMessageAt: Date | null;
|
3136
3136
|
cxlog: {
|
3137
3137
|
id: string;
|
@@ -5032,7 +5032,6 @@ export declare const messengerContract: {
|
|
5032
5032
|
firstResponseTime: number;
|
5033
5033
|
lastMessage: string;
|
5034
5034
|
handleTime: number;
|
5035
|
-
closeAt: Date;
|
5036
5035
|
unreadCount: number;
|
5037
5036
|
firstResponseAt: Date;
|
5038
5037
|
isLatest: boolean;
|
@@ -5192,6 +5191,7 @@ export declare const messengerContract: {
|
|
5192
5191
|
telephonySignature: string | null;
|
5193
5192
|
};
|
5194
5193
|
};
|
5194
|
+
closedAt: Date;
|
5195
5195
|
lastMessageAt: Date | null;
|
5196
5196
|
cxlog: {
|
5197
5197
|
id: string;
|
@@ -5672,7 +5672,6 @@ export declare const messengerContract: {
|
|
5672
5672
|
firstResponseTime: number;
|
5673
5673
|
lastMessage: string;
|
5674
5674
|
handleTime: number;
|
5675
|
-
closeAt: Date;
|
5676
5675
|
unreadCount: number;
|
5677
5676
|
firstResponseAt: Date;
|
5678
5677
|
isLatest: boolean;
|
@@ -5832,6 +5831,7 @@ export declare const messengerContract: {
|
|
5832
5831
|
telephonySignature: string | null;
|
5833
5832
|
};
|
5834
5833
|
};
|
5834
|
+
closedAt: Date;
|
5835
5835
|
lastMessageAt: Date | null;
|
5836
5836
|
cxlog: {
|
5837
5837
|
id: string;
|
@@ -6314,7 +6314,6 @@ export declare const messengerContract: {
|
|
6314
6314
|
firstResponseTime: number;
|
6315
6315
|
lastMessage: string;
|
6316
6316
|
handleTime: number;
|
6317
|
-
closeAt: Date;
|
6318
6317
|
unreadCount: number;
|
6319
6318
|
firstResponseAt: Date;
|
6320
6319
|
isLatest: boolean;
|
@@ -6474,6 +6473,7 @@ export declare const messengerContract: {
|
|
6474
6473
|
telephonySignature: string | null;
|
6475
6474
|
};
|
6476
6475
|
};
|
6476
|
+
closedAt: Date;
|
6477
6477
|
lastMessageAt: Date | null;
|
6478
6478
|
cxlog: {
|
6479
6479
|
id: string;
|
@@ -6957,7 +6957,6 @@ export declare const messengerContract: {
|
|
6957
6957
|
firstResponseTime: number;
|
6958
6958
|
lastMessage: string;
|
6959
6959
|
handleTime: number;
|
6960
|
-
closeAt: Date;
|
6961
6960
|
unreadCount: number;
|
6962
6961
|
firstResponseAt: Date;
|
6963
6962
|
isLatest: boolean;
|
@@ -7117,6 +7116,7 @@ export declare const messengerContract: {
|
|
7117
7116
|
telephonySignature: string | null;
|
7118
7117
|
};
|
7119
7118
|
};
|
7119
|
+
closedAt: Date;
|
7120
7120
|
lastMessageAt: Date | null;
|
7121
7121
|
cxlog: {
|
7122
7122
|
id: string;
|
package/dist/src/user/index.d.ts
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { UserSchema } from './schema';
|
3
|
-
import { CreateUserSchema,
|
3
|
+
import { CreateUserSchema, UpdateUserSchema } from './validation';
|
4
4
|
export type User = z.infer<typeof UserSchema>;
|
5
5
|
export type CreateUserRequest = z.infer<typeof CreateUserSchema>;
|
6
6
|
export type UpdateUserRequest = z.infer<typeof UpdateUserSchema>;
|
7
|
-
export type UpdateUserProfileRequest = z.infer<typeof UpdateUserProfileSchema>;
|
8
7
|
export declare const userContract: {
|
9
8
|
createUser: {
|
10
9
|
body: z.ZodObject<{
|
@@ -946,7 +945,7 @@ export declare const userContract: {
|
|
946
945
|
responses: {
|
947
946
|
201: z.ZodObject<{
|
948
947
|
requestId: z.ZodString;
|
949
|
-
|
948
|
+
role: z.ZodObject<{
|
950
949
|
id: z.ZodString;
|
951
950
|
createdAt: z.ZodDate;
|
952
951
|
updatedAt: z.ZodDate;
|
@@ -1151,7 +1150,7 @@ export declare const userContract: {
|
|
1151
1150
|
};
|
1152
1151
|
}>;
|
1153
1152
|
}, "strip", z.ZodTypeAny, {
|
1154
|
-
|
1153
|
+
role: {
|
1155
1154
|
id: string;
|
1156
1155
|
address: string | null;
|
1157
1156
|
name: string;
|
@@ -1197,7 +1196,7 @@ export declare const userContract: {
|
|
1197
1196
|
};
|
1198
1197
|
requestId: string;
|
1199
1198
|
}, {
|
1200
|
-
|
1199
|
+
role: {
|
1201
1200
|
id: string;
|
1202
1201
|
address: string | null;
|
1203
1202
|
name: string;
|
@@ -1309,389 +1308,6 @@ export declare const userContract: {
|
|
1309
1308
|
'x-client-timezone'?: string | undefined;
|
1310
1309
|
}>>>;
|
1311
1310
|
};
|
1312
|
-
updateUserProfile: {
|
1313
|
-
body: z.ZodObject<{
|
1314
|
-
password: z.ZodString;
|
1315
|
-
}, "strip", z.ZodTypeAny, {
|
1316
|
-
password: string;
|
1317
|
-
}, {
|
1318
|
-
password: string;
|
1319
|
-
}>;
|
1320
|
-
summary: "Update a user profile.";
|
1321
|
-
method: "PATCH";
|
1322
|
-
pathParams: z.ZodObject<{
|
1323
|
-
id: z.ZodString;
|
1324
|
-
}, "strip", z.ZodTypeAny, {
|
1325
|
-
id: string;
|
1326
|
-
}, {
|
1327
|
-
id: string;
|
1328
|
-
}>;
|
1329
|
-
responses: {
|
1330
|
-
201: z.ZodObject<{
|
1331
|
-
requestId: z.ZodString;
|
1332
|
-
user: z.ZodObject<{
|
1333
|
-
id: z.ZodString;
|
1334
|
-
createdAt: z.ZodDate;
|
1335
|
-
updatedAt: z.ZodDate;
|
1336
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1337
|
-
name: z.ZodString;
|
1338
|
-
email: z.ZodString;
|
1339
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
1340
|
-
password: z.ZodString;
|
1341
|
-
address: z.ZodNullable<z.ZodString>;
|
1342
|
-
phone: z.ZodNullable<z.ZodString>;
|
1343
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
1344
|
-
roles: z.ZodArray<z.ZodObject<{
|
1345
|
-
id: z.ZodString;
|
1346
|
-
createdAt: z.ZodDate;
|
1347
|
-
updatedAt: z.ZodDate;
|
1348
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1349
|
-
systemName: z.ZodString;
|
1350
|
-
displayName: z.ZodString;
|
1351
|
-
description: z.ZodNullable<z.ZodString>;
|
1352
|
-
permissions: z.ZodArray<z.ZodObject<{
|
1353
|
-
id: z.ZodString;
|
1354
|
-
createdAt: z.ZodDate;
|
1355
|
-
updatedAt: z.ZodDate;
|
1356
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1357
|
-
systemName: z.ZodString;
|
1358
|
-
displayName: z.ZodString;
|
1359
|
-
description: z.ZodNullable<z.ZodString>;
|
1360
|
-
}, "strip", z.ZodTypeAny, {
|
1361
|
-
id: string;
|
1362
|
-
description: string | null;
|
1363
|
-
createdAt: Date;
|
1364
|
-
updatedAt: Date;
|
1365
|
-
deletedAt: Date | null;
|
1366
|
-
systemName: string;
|
1367
|
-
displayName: string;
|
1368
|
-
}, {
|
1369
|
-
id: string;
|
1370
|
-
description: string | null;
|
1371
|
-
createdAt: Date;
|
1372
|
-
updatedAt: Date;
|
1373
|
-
deletedAt: Date | null;
|
1374
|
-
systemName: string;
|
1375
|
-
displayName: string;
|
1376
|
-
}>, "many">;
|
1377
|
-
}, "strip", z.ZodTypeAny, {
|
1378
|
-
id: string;
|
1379
|
-
description: string | null;
|
1380
|
-
createdAt: Date;
|
1381
|
-
updatedAt: Date;
|
1382
|
-
deletedAt: Date | null;
|
1383
|
-
systemName: string;
|
1384
|
-
displayName: string;
|
1385
|
-
permissions: {
|
1386
|
-
id: string;
|
1387
|
-
description: string | null;
|
1388
|
-
createdAt: Date;
|
1389
|
-
updatedAt: Date;
|
1390
|
-
deletedAt: Date | null;
|
1391
|
-
systemName: string;
|
1392
|
-
displayName: string;
|
1393
|
-
}[];
|
1394
|
-
}, {
|
1395
|
-
id: string;
|
1396
|
-
description: string | null;
|
1397
|
-
createdAt: Date;
|
1398
|
-
updatedAt: Date;
|
1399
|
-
deletedAt: Date | null;
|
1400
|
-
systemName: string;
|
1401
|
-
displayName: string;
|
1402
|
-
permissions: {
|
1403
|
-
id: string;
|
1404
|
-
description: string | null;
|
1405
|
-
createdAt: Date;
|
1406
|
-
updatedAt: Date;
|
1407
|
-
deletedAt: Date | null;
|
1408
|
-
systemName: string;
|
1409
|
-
displayName: string;
|
1410
|
-
}[];
|
1411
|
-
}>, "many">;
|
1412
|
-
extension: z.ZodObject<{
|
1413
|
-
id: z.ZodString;
|
1414
|
-
createdAt: z.ZodDate;
|
1415
|
-
updatedAt: z.ZodDate;
|
1416
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
1417
|
-
userId: z.ZodNullable<z.ZodString>;
|
1418
|
-
sipServerUrl: z.ZodString;
|
1419
|
-
sipUserName: z.ZodString;
|
1420
|
-
webphoneLoginUser: z.ZodString;
|
1421
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
1422
|
-
extensionName: z.ZodString;
|
1423
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
1424
|
-
}, "strip", z.ZodTypeAny, {
|
1425
|
-
id: string;
|
1426
|
-
createdAt: Date;
|
1427
|
-
updatedAt: Date;
|
1428
|
-
deletedAt: Date | null;
|
1429
|
-
userId: string | null;
|
1430
|
-
sipServerUrl: string;
|
1431
|
-
sipUserName: string;
|
1432
|
-
webphoneLoginUser: string;
|
1433
|
-
extensionId: string | null;
|
1434
|
-
extensionName: string;
|
1435
|
-
telephonySignature: string | null;
|
1436
|
-
}, {
|
1437
|
-
id: string;
|
1438
|
-
createdAt: Date;
|
1439
|
-
updatedAt: Date;
|
1440
|
-
deletedAt: Date | null;
|
1441
|
-
userId: string | null;
|
1442
|
-
sipServerUrl: string;
|
1443
|
-
sipUserName: string;
|
1444
|
-
webphoneLoginUser: string;
|
1445
|
-
extensionId: string | null;
|
1446
|
-
extensionName: string;
|
1447
|
-
telephonySignature: string | null;
|
1448
|
-
}>;
|
1449
|
-
}, "strip", z.ZodTypeAny, {
|
1450
|
-
id: string;
|
1451
|
-
address: string | null;
|
1452
|
-
name: string;
|
1453
|
-
email: string;
|
1454
|
-
createdAt: Date;
|
1455
|
-
updatedAt: Date;
|
1456
|
-
deletedAt: Date | null;
|
1457
|
-
emailVerifiedAt: Date | null;
|
1458
|
-
password: string;
|
1459
|
-
phone: string | null;
|
1460
|
-
notificationCount: number | null;
|
1461
|
-
roles: {
|
1462
|
-
id: string;
|
1463
|
-
description: string | null;
|
1464
|
-
createdAt: Date;
|
1465
|
-
updatedAt: Date;
|
1466
|
-
deletedAt: Date | null;
|
1467
|
-
systemName: string;
|
1468
|
-
displayName: string;
|
1469
|
-
permissions: {
|
1470
|
-
id: string;
|
1471
|
-
description: string | null;
|
1472
|
-
createdAt: Date;
|
1473
|
-
updatedAt: Date;
|
1474
|
-
deletedAt: Date | null;
|
1475
|
-
systemName: string;
|
1476
|
-
displayName: string;
|
1477
|
-
}[];
|
1478
|
-
}[];
|
1479
|
-
extension: {
|
1480
|
-
id: string;
|
1481
|
-
createdAt: Date;
|
1482
|
-
updatedAt: Date;
|
1483
|
-
deletedAt: Date | null;
|
1484
|
-
userId: string | null;
|
1485
|
-
sipServerUrl: string;
|
1486
|
-
sipUserName: string;
|
1487
|
-
webphoneLoginUser: string;
|
1488
|
-
extensionId: string | null;
|
1489
|
-
extensionName: string;
|
1490
|
-
telephonySignature: string | null;
|
1491
|
-
};
|
1492
|
-
}, {
|
1493
|
-
id: string;
|
1494
|
-
address: string | null;
|
1495
|
-
name: string;
|
1496
|
-
email: string;
|
1497
|
-
createdAt: Date;
|
1498
|
-
updatedAt: Date;
|
1499
|
-
deletedAt: Date | null;
|
1500
|
-
emailVerifiedAt: Date | null;
|
1501
|
-
password: string;
|
1502
|
-
phone: string | null;
|
1503
|
-
notificationCount: number | null;
|
1504
|
-
roles: {
|
1505
|
-
id: string;
|
1506
|
-
description: string | null;
|
1507
|
-
createdAt: Date;
|
1508
|
-
updatedAt: Date;
|
1509
|
-
deletedAt: Date | null;
|
1510
|
-
systemName: string;
|
1511
|
-
displayName: string;
|
1512
|
-
permissions: {
|
1513
|
-
id: string;
|
1514
|
-
description: string | null;
|
1515
|
-
createdAt: Date;
|
1516
|
-
updatedAt: Date;
|
1517
|
-
deletedAt: Date | null;
|
1518
|
-
systemName: string;
|
1519
|
-
displayName: string;
|
1520
|
-
}[];
|
1521
|
-
}[];
|
1522
|
-
extension: {
|
1523
|
-
id: string;
|
1524
|
-
createdAt: Date;
|
1525
|
-
updatedAt: Date;
|
1526
|
-
deletedAt: Date | null;
|
1527
|
-
userId: string | null;
|
1528
|
-
sipServerUrl: string;
|
1529
|
-
sipUserName: string;
|
1530
|
-
webphoneLoginUser: string;
|
1531
|
-
extensionId: string | null;
|
1532
|
-
extensionName: string;
|
1533
|
-
telephonySignature: string | null;
|
1534
|
-
};
|
1535
|
-
}>;
|
1536
|
-
}, "strip", z.ZodTypeAny, {
|
1537
|
-
user: {
|
1538
|
-
id: string;
|
1539
|
-
address: string | null;
|
1540
|
-
name: string;
|
1541
|
-
email: string;
|
1542
|
-
createdAt: Date;
|
1543
|
-
updatedAt: Date;
|
1544
|
-
deletedAt: Date | null;
|
1545
|
-
emailVerifiedAt: Date | null;
|
1546
|
-
password: string;
|
1547
|
-
phone: string | null;
|
1548
|
-
notificationCount: number | null;
|
1549
|
-
roles: {
|
1550
|
-
id: string;
|
1551
|
-
description: string | null;
|
1552
|
-
createdAt: Date;
|
1553
|
-
updatedAt: Date;
|
1554
|
-
deletedAt: Date | null;
|
1555
|
-
systemName: string;
|
1556
|
-
displayName: string;
|
1557
|
-
permissions: {
|
1558
|
-
id: string;
|
1559
|
-
description: string | null;
|
1560
|
-
createdAt: Date;
|
1561
|
-
updatedAt: Date;
|
1562
|
-
deletedAt: Date | null;
|
1563
|
-
systemName: string;
|
1564
|
-
displayName: string;
|
1565
|
-
}[];
|
1566
|
-
}[];
|
1567
|
-
extension: {
|
1568
|
-
id: string;
|
1569
|
-
createdAt: Date;
|
1570
|
-
updatedAt: Date;
|
1571
|
-
deletedAt: Date | null;
|
1572
|
-
userId: string | null;
|
1573
|
-
sipServerUrl: string;
|
1574
|
-
sipUserName: string;
|
1575
|
-
webphoneLoginUser: string;
|
1576
|
-
extensionId: string | null;
|
1577
|
-
extensionName: string;
|
1578
|
-
telephonySignature: string | null;
|
1579
|
-
};
|
1580
|
-
};
|
1581
|
-
requestId: string;
|
1582
|
-
}, {
|
1583
|
-
user: {
|
1584
|
-
id: string;
|
1585
|
-
address: string | null;
|
1586
|
-
name: string;
|
1587
|
-
email: string;
|
1588
|
-
createdAt: Date;
|
1589
|
-
updatedAt: Date;
|
1590
|
-
deletedAt: Date | null;
|
1591
|
-
emailVerifiedAt: Date | null;
|
1592
|
-
password: string;
|
1593
|
-
phone: string | null;
|
1594
|
-
notificationCount: number | null;
|
1595
|
-
roles: {
|
1596
|
-
id: string;
|
1597
|
-
description: string | null;
|
1598
|
-
createdAt: Date;
|
1599
|
-
updatedAt: Date;
|
1600
|
-
deletedAt: Date | null;
|
1601
|
-
systemName: string;
|
1602
|
-
displayName: string;
|
1603
|
-
permissions: {
|
1604
|
-
id: string;
|
1605
|
-
description: string | null;
|
1606
|
-
createdAt: Date;
|
1607
|
-
updatedAt: Date;
|
1608
|
-
deletedAt: Date | null;
|
1609
|
-
systemName: string;
|
1610
|
-
displayName: string;
|
1611
|
-
}[];
|
1612
|
-
}[];
|
1613
|
-
extension: {
|
1614
|
-
id: string;
|
1615
|
-
createdAt: Date;
|
1616
|
-
updatedAt: Date;
|
1617
|
-
deletedAt: Date | null;
|
1618
|
-
userId: string | null;
|
1619
|
-
sipServerUrl: string;
|
1620
|
-
sipUserName: string;
|
1621
|
-
webphoneLoginUser: string;
|
1622
|
-
extensionId: string | null;
|
1623
|
-
extensionName: string;
|
1624
|
-
telephonySignature: string | null;
|
1625
|
-
};
|
1626
|
-
};
|
1627
|
-
requestId: string;
|
1628
|
-
}>;
|
1629
|
-
400: z.ZodObject<{
|
1630
|
-
message: z.ZodString;
|
1631
|
-
}, "strip", z.ZodTypeAny, {
|
1632
|
-
message: string;
|
1633
|
-
}, {
|
1634
|
-
message: string;
|
1635
|
-
}>;
|
1636
|
-
401: z.ZodObject<{
|
1637
|
-
message: z.ZodString;
|
1638
|
-
error: z.ZodAny;
|
1639
|
-
}, "strip", z.ZodTypeAny, {
|
1640
|
-
message: string;
|
1641
|
-
error?: any;
|
1642
|
-
}, {
|
1643
|
-
message: string;
|
1644
|
-
error?: any;
|
1645
|
-
}>;
|
1646
|
-
404: z.ZodObject<{
|
1647
|
-
message: z.ZodString;
|
1648
|
-
error: z.ZodAny;
|
1649
|
-
}, "strip", z.ZodTypeAny, {
|
1650
|
-
message: string;
|
1651
|
-
error?: any;
|
1652
|
-
}, {
|
1653
|
-
message: string;
|
1654
|
-
error?: any;
|
1655
|
-
}>;
|
1656
|
-
422: z.ZodObject<{
|
1657
|
-
message: z.ZodString;
|
1658
|
-
error: z.ZodAny;
|
1659
|
-
}, "strip", z.ZodTypeAny, {
|
1660
|
-
message: string;
|
1661
|
-
error?: any;
|
1662
|
-
}, {
|
1663
|
-
message: string;
|
1664
|
-
error?: any;
|
1665
|
-
}>;
|
1666
|
-
500: z.ZodObject<{
|
1667
|
-
message: z.ZodString;
|
1668
|
-
error: z.ZodAny;
|
1669
|
-
}, "strip", z.ZodTypeAny, {
|
1670
|
-
message: string;
|
1671
|
-
error?: any;
|
1672
|
-
}, {
|
1673
|
-
message: string;
|
1674
|
-
error?: any;
|
1675
|
-
}>;
|
1676
|
-
};
|
1677
|
-
path: "user/profile/:id";
|
1678
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1679
|
-
'x-tenant': z.ZodString;
|
1680
|
-
authorization: z.ZodString;
|
1681
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
1682
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
1683
|
-
}, "strip", z.ZodTypeAny, {
|
1684
|
-
'x-tenant': string;
|
1685
|
-
authorization: string;
|
1686
|
-
'x-client-timezone': string;
|
1687
|
-
'x-code'?: string | undefined;
|
1688
|
-
}, {
|
1689
|
-
'x-tenant': string;
|
1690
|
-
authorization: string;
|
1691
|
-
'x-code'?: string | undefined;
|
1692
|
-
'x-client-timezone'?: string | undefined;
|
1693
|
-
}>>>;
|
1694
|
-
};
|
1695
1311
|
deleteUser: {
|
1696
1312
|
body: null;
|
1697
1313
|
summary: "Delete a user.";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/user/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAUpB,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGxB,CAAC"}
|
@@ -52,11 +52,4 @@ export declare const UpdateUserSchema: z.ZodObject<{
|
|
52
52
|
newPassword: string;
|
53
53
|
notificationCount?: number | null | undefined;
|
54
54
|
}>;
|
55
|
-
export declare const UpdateUserProfileSchema: z.ZodObject<{
|
56
|
-
password: z.ZodString;
|
57
|
-
}, "strip", z.ZodTypeAny, {
|
58
|
-
password: string;
|
59
|
-
}, {
|
60
|
-
password: string;
|
61
|
-
}>;
|
62
55
|
//# sourceMappingURL=validation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/user/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3B,CAAC
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/user/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;EAQ3B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE3B,CAAC"}
|