@kl1/contracts 1.0.99-uat → 1.0.99
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 +80 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +80 -23
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +54 -165
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +8 -24
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +7 -76
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +655 -647
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +7 -73
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +7 -73
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +7 -73
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +388 -4
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +7 -0
- package/dist/src/user/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +7 -73
- package/dist/src/viber/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/src/user/index.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { UserSchema } from './schema';
|
3
|
-
import { CreateUserSchema, UpdateUserSchema } from './validation';
|
3
|
+
import { CreateUserSchema, UpdateUserProfileSchema, 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>;
|
7
8
|
export declare const userContract: {
|
8
9
|
createUser: {
|
9
10
|
body: z.ZodObject<{
|
@@ -945,7 +946,7 @@ export declare const userContract: {
|
|
945
946
|
responses: {
|
946
947
|
201: z.ZodObject<{
|
947
948
|
requestId: z.ZodString;
|
948
|
-
|
949
|
+
user: z.ZodObject<{
|
949
950
|
id: z.ZodString;
|
950
951
|
createdAt: z.ZodDate;
|
951
952
|
updatedAt: z.ZodDate;
|
@@ -1150,7 +1151,7 @@ export declare const userContract: {
|
|
1150
1151
|
};
|
1151
1152
|
}>;
|
1152
1153
|
}, "strip", z.ZodTypeAny, {
|
1153
|
-
|
1154
|
+
user: {
|
1154
1155
|
id: string;
|
1155
1156
|
address: string | null;
|
1156
1157
|
name: string;
|
@@ -1196,7 +1197,7 @@ export declare const userContract: {
|
|
1196
1197
|
};
|
1197
1198
|
requestId: string;
|
1198
1199
|
}, {
|
1199
|
-
|
1200
|
+
user: {
|
1200
1201
|
id: string;
|
1201
1202
|
address: string | null;
|
1202
1203
|
name: string;
|
@@ -1308,6 +1309,389 @@ export declare const userContract: {
|
|
1308
1309
|
'x-client-timezone'?: string | undefined;
|
1309
1310
|
}>>>;
|
1310
1311
|
};
|
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
|
+
};
|
1311
1695
|
deleteUser: {
|
1312
1696
|
body: null;
|
1313
1697
|
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,EACL,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAC9C,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;AACjE,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAC/E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqHxB,CAAC"}
|
@@ -52,4 +52,11 @@ 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
|
+
}>;
|
55
62
|
//# 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;AAEH,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC"}
|