@r2wa-org/eden 0.0.57 → 0.0.60
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/src/admin/admin/dto.schemas.d.ts +8 -0
- package/dist/src/admin/admin/errors/index.d.ts +1 -0
- package/dist/src/admin/admin/errors/locales/zh.d.ts +1 -0
- package/dist/src/admin/admin/router.d.ts +31 -0
- package/dist/src/admin/admin/service.d.ts +3 -0
- package/dist/src/admin/index.d.ts +158 -34
- package/dist/src/asset/user/dto.schemas.d.ts +9 -83
- package/dist/src/asset/user/router.d.ts +60 -66
- package/dist/src/asset/user/service.d.ts +41 -41
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +44 -12
- package/dist/src/asset-convert-product/admin/router.d.ts +83 -23
- package/dist/src/asset-convert-product/admin/service.d.ts +73 -17
- package/dist/src/asset-convert-product/db.schemas.d.ts +76 -8
- package/dist/src/asset-convert-product/errors/index.d.ts +4 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +4 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +4 -3
- package/dist/src/asset-convert-product/schema.d.ts +41 -6
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +264 -14
- package/dist/src/asset-convert-product/user/router.d.ts +10 -8
- package/dist/src/asset-convert-product/user/service.d.ts +9 -5
- package/dist/src/asset-price/errors/index.d.ts +1 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +1 -0
- package/dist/src/asset-price/user/dto.schemas.d.ts +7 -3
- package/dist/src/asset-price/user/router.d.ts +43 -2
- package/dist/src/asset-price/user/service.d.ts +13 -1
- package/dist/src/index.d.ts +701 -291
- package/dist/src/ledger-account/admin/router.d.ts +1 -1
- package/dist/src/ledger-account/user/dto.schemas.d.ts +44 -193
- package/dist/src/ledger-account/user/router.d.ts +104 -42
- package/dist/src/ledger-account/user/service.d.ts +90 -40
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
- package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
- package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
- package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
- package/dist/src/ledger-account-import/schema.d.ts +2 -2
- package/dist/src/ledger-account-type/user/router.d.ts +48 -0
- package/dist/src/ledger-account-type/user/service.d.ts +25 -0
- package/dist/src/portfolio/index.d.ts +2 -0
- package/dist/src/portfolio/internal/index.d.ts +1 -0
- package/dist/src/portfolio/internal/service.d.ts +5 -0
- package/dist/src/portfolio/user/dto.schemas.d.ts +352 -0
- package/dist/src/portfolio/user/index.d.ts +3 -0
- package/dist/src/portfolio/user/router.d.ts +659 -0
- package/dist/src/portfolio/user/service.d.ts +143 -0
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -66
- package/dist/src/wallet/user/router.d.ts +1 -62
- package/dist/src/wallet/user/service.d.ts +3 -39
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +95 -2
- package/dist/src/welfare-cycle/admin/router.d.ts +34 -1
- package/dist/src/welfare-cycle/admin/service.d.ts +26 -1
- package/dist/src/welfare-cycle/db.schemas.d.ts +174 -4
- package/dist/src/welfare-cycle/errors/index.d.ts +6 -0
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +6 -0
- package/dist/src/welfare-cycle/internal/service.d.ts +41 -3
- package/dist/src/welfare-cycle/schema.d.ts +92 -3
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +106 -6
- package/dist/src/welfare-cycle/user/router.d.ts +14 -5
- package/dist/src/welfare-cycle/user/service.d.ts +14 -3
- package/dist/src/withdraw/user/dto.schemas.d.ts +599 -0
- package/dist/src/withdraw/user/router.d.ts +73 -0
- package/dist/src/withdraw/user/service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -870,3 +870,11 @@ export declare const adminUserBanResponseSchema: import("@sinclair/typebox").TOb
|
|
|
870
870
|
success: import("@sinclair/typebox").TBoolean;
|
|
871
871
|
}>;
|
|
872
872
|
export type AdminUserBanResponseType = typeof adminUserBanResponseSchema.static;
|
|
873
|
+
export declare const adminUserUnbanParamsSchema: import("@sinclair/typebox").TObject<{
|
|
874
|
+
userId: import("@sinclair/typebox").TString;
|
|
875
|
+
}>;
|
|
876
|
+
export type AdminUserUnbanParamsType = typeof adminUserUnbanParamsSchema.static;
|
|
877
|
+
export declare const adminUserUnbanResponseSchema: import("@sinclair/typebox").TObject<{
|
|
878
|
+
success: import("@sinclair/typebox").TBoolean;
|
|
879
|
+
}>;
|
|
880
|
+
export type AdminUserUnbanResponseType = typeof adminUserUnbanResponseSchema.static;
|
|
@@ -3,6 +3,7 @@ export declare const AdminManagerErrorCodes: {
|
|
|
3
3
|
readonly ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_CREATE: "ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_CREATE";
|
|
4
4
|
readonly ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_RESET_PASSWORD: "ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_RESET_PASSWORD";
|
|
5
5
|
readonly ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_BAN: "ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_BAN";
|
|
6
|
+
readonly ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_UNBAN: "ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_UNBAN";
|
|
6
7
|
readonly ADMIN_MANAGER_TARGET_NOT_ADMIN: "ADMIN_MANAGER_TARGET_NOT_ADMIN";
|
|
7
8
|
readonly ADMIN_MANAGER_CREATE_FAILED: "ADMIN_MANAGER_CREATE_FAILED";
|
|
8
9
|
};
|
|
@@ -2,6 +2,7 @@ export declare const zh: {
|
|
|
2
2
|
ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_CREATE: string;
|
|
3
3
|
ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_RESET_PASSWORD: string;
|
|
4
4
|
ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_BAN: string;
|
|
5
|
+
ADMIN_MANAGER_ONLY_SUPER_ADMIN_CAN_UNBAN: string;
|
|
5
6
|
ADMIN_MANAGER_TARGET_NOT_ADMIN: string;
|
|
6
7
|
ADMIN_MANAGER_CREATE_FAILED: string;
|
|
7
8
|
};
|
|
@@ -548,6 +548,37 @@ export declare const adminUserManagerRouter: Elysia<"/admin_users", {
|
|
|
548
548
|
};
|
|
549
549
|
};
|
|
550
550
|
};
|
|
551
|
+
} & {
|
|
552
|
+
admin_users: {
|
|
553
|
+
":userId": {
|
|
554
|
+
unban: {
|
|
555
|
+
post: {
|
|
556
|
+
body: {};
|
|
557
|
+
params: {
|
|
558
|
+
userId: string;
|
|
559
|
+
};
|
|
560
|
+
query: {};
|
|
561
|
+
headers: {};
|
|
562
|
+
response: {
|
|
563
|
+
200: {
|
|
564
|
+
success: boolean;
|
|
565
|
+
};
|
|
566
|
+
422: {
|
|
567
|
+
type: "validation";
|
|
568
|
+
on: string;
|
|
569
|
+
summary?: string;
|
|
570
|
+
message?: string;
|
|
571
|
+
found?: unknown;
|
|
572
|
+
property?: string;
|
|
573
|
+
expected?: string;
|
|
574
|
+
};
|
|
575
|
+
401: "Unauthorized";
|
|
576
|
+
403: "Forbidden: Admins only";
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
};
|
|
551
582
|
}, {
|
|
552
583
|
derive: {};
|
|
553
584
|
resolve: {};
|
|
@@ -3,6 +3,9 @@ export declare abstract class AdminAdminUserService {
|
|
|
3
3
|
static banAdmin(userId: string, input: AdminUserBanType, headers: Headers): Promise<{
|
|
4
4
|
success: boolean;
|
|
5
5
|
}>;
|
|
6
|
+
static unbanAdmin(userId: string, headers: Headers): Promise<{
|
|
7
|
+
success: boolean;
|
|
8
|
+
}>;
|
|
6
9
|
static resetAdminPassword(userId: string, headers: Headers): Promise<{
|
|
7
10
|
password: string;
|
|
8
11
|
}>;
|
|
@@ -551,6 +551,37 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
551
551
|
};
|
|
552
552
|
};
|
|
553
553
|
};
|
|
554
|
+
} & {
|
|
555
|
+
admin_users: {
|
|
556
|
+
":userId": {
|
|
557
|
+
unban: {
|
|
558
|
+
post: {
|
|
559
|
+
body: {};
|
|
560
|
+
params: {
|
|
561
|
+
userId: string;
|
|
562
|
+
};
|
|
563
|
+
query: {};
|
|
564
|
+
headers: {};
|
|
565
|
+
response: {
|
|
566
|
+
200: {
|
|
567
|
+
success: boolean;
|
|
568
|
+
};
|
|
569
|
+
422: {
|
|
570
|
+
type: "validation";
|
|
571
|
+
on: string;
|
|
572
|
+
summary?: string;
|
|
573
|
+
message?: string;
|
|
574
|
+
found?: unknown;
|
|
575
|
+
property?: string;
|
|
576
|
+
expected?: string;
|
|
577
|
+
};
|
|
578
|
+
401: "Unauthorized";
|
|
579
|
+
403: "Forbidden: Admins only";
|
|
580
|
+
};
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
};
|
|
554
585
|
};
|
|
555
586
|
} & {
|
|
556
587
|
admin: {
|
|
@@ -1305,8 +1336,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1305
1336
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1306
1337
|
targetAssetId: string;
|
|
1307
1338
|
payAssetId: string;
|
|
1308
|
-
|
|
1339
|
+
payAccountTypeId: string;
|
|
1340
|
+
receiveAccountTypeId: string;
|
|
1309
1341
|
minPayAmount: string;
|
|
1342
|
+
settlementMode: "available" | "locked";
|
|
1310
1343
|
};
|
|
1311
1344
|
params: {};
|
|
1312
1345
|
query: {};
|
|
@@ -1322,8 +1355,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1322
1355
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1323
1356
|
targetAssetId: string;
|
|
1324
1357
|
payAssetId: string;
|
|
1325
|
-
|
|
1358
|
+
payAccountTypeId: string;
|
|
1359
|
+
receiveAccountTypeId: string;
|
|
1326
1360
|
minPayAmount: string;
|
|
1361
|
+
settlementMode: "available" | "locked";
|
|
1327
1362
|
targetAssetInfo: {
|
|
1328
1363
|
symbol: string;
|
|
1329
1364
|
id: string;
|
|
@@ -1340,7 +1375,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1340
1375
|
isActive: boolean;
|
|
1341
1376
|
precision: number;
|
|
1342
1377
|
};
|
|
1343
|
-
|
|
1378
|
+
payAccountTypeInfo: {
|
|
1379
|
+
id: string;
|
|
1380
|
+
name: string;
|
|
1381
|
+
key: string;
|
|
1382
|
+
isActive: boolean;
|
|
1383
|
+
};
|
|
1384
|
+
receiveAccountTypeInfo: {
|
|
1344
1385
|
id: string;
|
|
1345
1386
|
name: string;
|
|
1346
1387
|
key: string;
|
|
@@ -1374,8 +1415,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1374
1415
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1375
1416
|
targetAssetId?: string | undefined;
|
|
1376
1417
|
payAssetId?: string | undefined;
|
|
1377
|
-
|
|
1418
|
+
payAccountTypeId?: string | undefined;
|
|
1419
|
+
receiveAccountTypeId?: string | undefined;
|
|
1378
1420
|
minPayAmount?: string | undefined;
|
|
1421
|
+
settlementMode?: "available" | "locked" | undefined;
|
|
1379
1422
|
};
|
|
1380
1423
|
params: {
|
|
1381
1424
|
id: string;
|
|
@@ -1393,8 +1436,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1393
1436
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1394
1437
|
targetAssetId: string;
|
|
1395
1438
|
payAssetId: string;
|
|
1396
|
-
|
|
1439
|
+
payAccountTypeId: string;
|
|
1440
|
+
receiveAccountTypeId: string;
|
|
1397
1441
|
minPayAmount: string;
|
|
1442
|
+
settlementMode: "available" | "locked";
|
|
1398
1443
|
targetAssetInfo: {
|
|
1399
1444
|
symbol: string;
|
|
1400
1445
|
id: string;
|
|
@@ -1411,7 +1456,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1411
1456
|
isActive: boolean;
|
|
1412
1457
|
precision: number;
|
|
1413
1458
|
};
|
|
1414
|
-
|
|
1459
|
+
payAccountTypeInfo: {
|
|
1460
|
+
id: string;
|
|
1461
|
+
name: string;
|
|
1462
|
+
key: string;
|
|
1463
|
+
isActive: boolean;
|
|
1464
|
+
};
|
|
1465
|
+
receiveAccountTypeInfo: {
|
|
1415
1466
|
id: string;
|
|
1416
1467
|
name: string;
|
|
1417
1468
|
key: string;
|
|
@@ -1457,8 +1508,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1457
1508
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1458
1509
|
targetAssetId: string;
|
|
1459
1510
|
payAssetId: string;
|
|
1460
|
-
|
|
1511
|
+
payAccountTypeId: string;
|
|
1512
|
+
receiveAccountTypeId: string;
|
|
1461
1513
|
minPayAmount: string;
|
|
1514
|
+
settlementMode: "available" | "locked";
|
|
1462
1515
|
targetAssetInfo: {
|
|
1463
1516
|
symbol: string;
|
|
1464
1517
|
id: string;
|
|
@@ -1475,7 +1528,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1475
1528
|
isActive: boolean;
|
|
1476
1529
|
precision: number;
|
|
1477
1530
|
};
|
|
1478
|
-
|
|
1531
|
+
payAccountTypeInfo: {
|
|
1532
|
+
id: string;
|
|
1533
|
+
name: string;
|
|
1534
|
+
key: string;
|
|
1535
|
+
isActive: boolean;
|
|
1536
|
+
};
|
|
1537
|
+
receiveAccountTypeInfo: {
|
|
1479
1538
|
id: string;
|
|
1480
1539
|
name: string;
|
|
1481
1540
|
key: string;
|
|
@@ -1522,8 +1581,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1522
1581
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1523
1582
|
targetAssetId: string;
|
|
1524
1583
|
payAssetId: string;
|
|
1525
|
-
|
|
1584
|
+
payAccountTypeId: string;
|
|
1585
|
+
receiveAccountTypeId: string;
|
|
1526
1586
|
minPayAmount: string;
|
|
1587
|
+
settlementMode: "available" | "locked";
|
|
1527
1588
|
targetAssetInfo: {
|
|
1528
1589
|
symbol: string;
|
|
1529
1590
|
id: string;
|
|
@@ -1540,7 +1601,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1540
1601
|
isActive: boolean;
|
|
1541
1602
|
precision: number;
|
|
1542
1603
|
};
|
|
1543
|
-
|
|
1604
|
+
payAccountTypeInfo: {
|
|
1605
|
+
id: string;
|
|
1606
|
+
name: string;
|
|
1607
|
+
key: string;
|
|
1608
|
+
isActive: boolean;
|
|
1609
|
+
};
|
|
1610
|
+
receiveAccountTypeInfo: {
|
|
1544
1611
|
id: string;
|
|
1545
1612
|
name: string;
|
|
1546
1613
|
key: string;
|
|
@@ -1587,8 +1654,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1587
1654
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1588
1655
|
targetAssetId: string;
|
|
1589
1656
|
payAssetId: string;
|
|
1590
|
-
|
|
1657
|
+
payAccountTypeId: string;
|
|
1658
|
+
receiveAccountTypeId: string;
|
|
1591
1659
|
minPayAmount: string;
|
|
1660
|
+
settlementMode: "available" | "locked";
|
|
1592
1661
|
targetAssetInfo: {
|
|
1593
1662
|
symbol: string;
|
|
1594
1663
|
id: string;
|
|
@@ -1605,7 +1674,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1605
1674
|
isActive: boolean;
|
|
1606
1675
|
precision: number;
|
|
1607
1676
|
};
|
|
1608
|
-
|
|
1677
|
+
payAccountTypeInfo: {
|
|
1678
|
+
id: string;
|
|
1679
|
+
name: string;
|
|
1680
|
+
key: string;
|
|
1681
|
+
isActive: boolean;
|
|
1682
|
+
};
|
|
1683
|
+
receiveAccountTypeInfo: {
|
|
1609
1684
|
id: string;
|
|
1610
1685
|
name: string;
|
|
1611
1686
|
key: string;
|
|
@@ -1651,8 +1726,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1651
1726
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1652
1727
|
targetAssetId: string;
|
|
1653
1728
|
payAssetId: string;
|
|
1654
|
-
|
|
1729
|
+
payAccountTypeId: string;
|
|
1730
|
+
receiveAccountTypeId: string;
|
|
1655
1731
|
minPayAmount: string;
|
|
1732
|
+
settlementMode: "available" | "locked";
|
|
1656
1733
|
targetAssetInfo: {
|
|
1657
1734
|
symbol: string;
|
|
1658
1735
|
id: string;
|
|
@@ -1669,7 +1746,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1669
1746
|
isActive: boolean;
|
|
1670
1747
|
precision: number;
|
|
1671
1748
|
};
|
|
1672
|
-
|
|
1749
|
+
payAccountTypeInfo: {
|
|
1750
|
+
id: string;
|
|
1751
|
+
name: string;
|
|
1752
|
+
key: string;
|
|
1753
|
+
isActive: boolean;
|
|
1754
|
+
};
|
|
1755
|
+
receiveAccountTypeInfo: {
|
|
1673
1756
|
id: string;
|
|
1674
1757
|
name: string;
|
|
1675
1758
|
key: string;
|
|
@@ -1705,7 +1788,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1705
1788
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1706
1789
|
targetAssetId?: string | undefined;
|
|
1707
1790
|
payAssetId?: string | undefined;
|
|
1708
|
-
|
|
1791
|
+
payAccountTypeId?: string | undefined;
|
|
1792
|
+
receiveAccountTypeId?: string | undefined;
|
|
1793
|
+
settlementMode?: "available" | "locked" | undefined;
|
|
1709
1794
|
limit?: number | undefined;
|
|
1710
1795
|
offset?: number | undefined;
|
|
1711
1796
|
pageSize?: number | undefined;
|
|
@@ -1728,8 +1813,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1728
1813
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1729
1814
|
targetAssetId: string;
|
|
1730
1815
|
payAssetId: string;
|
|
1731
|
-
|
|
1816
|
+
payAccountTypeId: string;
|
|
1817
|
+
receiveAccountTypeId: string;
|
|
1732
1818
|
minPayAmount: string;
|
|
1819
|
+
settlementMode: "available" | "locked";
|
|
1733
1820
|
targetAssetInfo: {
|
|
1734
1821
|
symbol: string;
|
|
1735
1822
|
id: string;
|
|
@@ -1746,7 +1833,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1746
1833
|
isActive: boolean;
|
|
1747
1834
|
precision: number;
|
|
1748
1835
|
};
|
|
1749
|
-
|
|
1836
|
+
payAccountTypeInfo: {
|
|
1837
|
+
id: string;
|
|
1838
|
+
name: string;
|
|
1839
|
+
key: string;
|
|
1840
|
+
isActive: boolean;
|
|
1841
|
+
};
|
|
1842
|
+
receiveAccountTypeInfo: {
|
|
1750
1843
|
id: string;
|
|
1751
1844
|
name: string;
|
|
1752
1845
|
key: string;
|
|
@@ -1785,13 +1878,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1785
1878
|
query: {
|
|
1786
1879
|
id?: string | undefined;
|
|
1787
1880
|
userId?: string | undefined;
|
|
1788
|
-
status?: "created" | "completed" |
|
|
1881
|
+
status?: "created" | "completed" | undefined;
|
|
1789
1882
|
idempotencyKey?: string | undefined;
|
|
1790
1883
|
orderNo?: string | undefined;
|
|
1791
1884
|
productId?: string | undefined;
|
|
1792
1885
|
sourcePayAccountId?: string | undefined;
|
|
1793
1886
|
receiveAccountId?: string | undefined;
|
|
1794
|
-
failureCode?: string | null | undefined;
|
|
1795
1887
|
limit?: number | undefined;
|
|
1796
1888
|
offset?: number | undefined;
|
|
1797
1889
|
pageSize?: number | undefined;
|
|
@@ -1819,7 +1911,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1819
1911
|
createdAt: Date;
|
|
1820
1912
|
updatedAt: Date;
|
|
1821
1913
|
userId: string;
|
|
1822
|
-
status: "created" | "completed"
|
|
1914
|
+
status: "created" | "completed";
|
|
1823
1915
|
idempotencyKey: string;
|
|
1824
1916
|
orderNo: string;
|
|
1825
1917
|
productId: string;
|
|
@@ -1940,7 +2032,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1940
2032
|
createdAt: Date;
|
|
1941
2033
|
updatedAt: Date;
|
|
1942
2034
|
userId: string;
|
|
1943
|
-
status: "created" | "completed"
|
|
2035
|
+
status: "created" | "completed";
|
|
1944
2036
|
idempotencyKey: string;
|
|
1945
2037
|
orderNo: string;
|
|
1946
2038
|
productId: string;
|
|
@@ -2055,7 +2147,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2055
2147
|
createdAt: Date;
|
|
2056
2148
|
updatedAt: Date;
|
|
2057
2149
|
userId: string;
|
|
2058
|
-
status: "created" | "completed"
|
|
2150
|
+
status: "created" | "completed";
|
|
2059
2151
|
idempotencyKey: string;
|
|
2060
2152
|
orderNo: string;
|
|
2061
2153
|
productId: string;
|
|
@@ -2159,7 +2251,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2159
2251
|
totalCount: number;
|
|
2160
2252
|
createdCount: number;
|
|
2161
2253
|
completedCount: number;
|
|
2162
|
-
failedCount: number;
|
|
2163
2254
|
totalPayAmount: string;
|
|
2164
2255
|
totalTargetAmount: string;
|
|
2165
2256
|
};
|
|
@@ -3228,8 +3319,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3228
3319
|
response: {
|
|
3229
3320
|
200: {
|
|
3230
3321
|
totalCount: number;
|
|
3231
|
-
failedCount: number;
|
|
3232
3322
|
successCount: number;
|
|
3323
|
+
failedCount: number;
|
|
3233
3324
|
results: {
|
|
3234
3325
|
accountId?: string | undefined;
|
|
3235
3326
|
ledgerEntryId?: string | undefined;
|
|
@@ -3772,9 +3863,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3772
3863
|
id: string;
|
|
3773
3864
|
createdAt: Date;
|
|
3774
3865
|
updatedAt: Date;
|
|
3775
|
-
status: "pending" | "
|
|
3776
|
-
failed: number;
|
|
3866
|
+
status: "pending" | "running" | "success" | "failed";
|
|
3777
3867
|
success: number;
|
|
3868
|
+
failed: number;
|
|
3778
3869
|
ignored: number;
|
|
3779
3870
|
fileId: string;
|
|
3780
3871
|
total: number;
|
|
@@ -3805,7 +3896,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3805
3896
|
body: {};
|
|
3806
3897
|
params: {};
|
|
3807
3898
|
query: {
|
|
3808
|
-
status?: "pending" | "
|
|
3899
|
+
status?: "pending" | "running" | "success" | "failed" | undefined;
|
|
3809
3900
|
limit?: number | undefined;
|
|
3810
3901
|
offset?: number | undefined;
|
|
3811
3902
|
pageSize?: number | undefined;
|
|
@@ -3819,9 +3910,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3819
3910
|
id: string;
|
|
3820
3911
|
createdAt: Date;
|
|
3821
3912
|
updatedAt: Date;
|
|
3822
|
-
status: "pending" | "
|
|
3823
|
-
failed: number;
|
|
3913
|
+
status: "pending" | "running" | "success" | "failed";
|
|
3824
3914
|
success: number;
|
|
3915
|
+
failed: number;
|
|
3825
3916
|
ignored: number;
|
|
3826
3917
|
fileId: string;
|
|
3827
3918
|
total: number;
|
|
@@ -3870,9 +3961,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3870
3961
|
id: string;
|
|
3871
3962
|
createdAt: Date;
|
|
3872
3963
|
updatedAt: Date;
|
|
3873
|
-
status: "pending" | "
|
|
3874
|
-
failed: number;
|
|
3964
|
+
status: "pending" | "running" | "success" | "failed";
|
|
3875
3965
|
success: number;
|
|
3966
|
+
failed: number;
|
|
3876
3967
|
ignored: number;
|
|
3877
3968
|
fileId: string;
|
|
3878
3969
|
total: number;
|
|
@@ -3908,7 +3999,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3908
3999
|
id: string;
|
|
3909
4000
|
};
|
|
3910
4001
|
query: {
|
|
3911
|
-
status?: "
|
|
4002
|
+
status?: "success" | "failed" | "ignored" | undefined;
|
|
3912
4003
|
limit?: number | undefined;
|
|
3913
4004
|
offset?: number | undefined;
|
|
3914
4005
|
pageSize?: number | undefined;
|
|
@@ -3924,7 +4015,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3924
4015
|
updatedAt: Date;
|
|
3925
4016
|
phoneNumber: string | null;
|
|
3926
4017
|
userId: string | null;
|
|
3927
|
-
status: "
|
|
4018
|
+
status: "success" | "failed" | "ignored";
|
|
3928
4019
|
assetId: string | null;
|
|
3929
4020
|
ledgerAccountTypeId: string | null;
|
|
3930
4021
|
amount: string | null;
|
|
@@ -6830,6 +6921,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6830
6921
|
body: {
|
|
6831
6922
|
description?: string | null | undefined;
|
|
6832
6923
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6924
|
+
coverImageUrl?: string | null | undefined;
|
|
6833
6925
|
minShares?: number | undefined;
|
|
6834
6926
|
maxSharesPerOrder?: number | null | undefined;
|
|
6835
6927
|
saleStartAt?: Date | null | undefined;
|
|
@@ -6837,6 +6929,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6837
6929
|
name: string;
|
|
6838
6930
|
rightsAssetId: string;
|
|
6839
6931
|
pricingAssetId: string;
|
|
6932
|
+
sourcePricingAccountTypeId: string;
|
|
6933
|
+
dailyPayoutAccountTypeId: string;
|
|
6934
|
+
maturitySettlementAccountTypeId: string;
|
|
6840
6935
|
pricePerShare: string;
|
|
6841
6936
|
rightsPerShare: string;
|
|
6842
6937
|
cycleDays: number;
|
|
@@ -6854,8 +6949,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6854
6949
|
updatedAt: Date;
|
|
6855
6950
|
description: string | null;
|
|
6856
6951
|
status: "active" | "draft" | "paused" | "ended";
|
|
6952
|
+
coverImageUrl: string | null;
|
|
6857
6953
|
rightsAssetId: string;
|
|
6858
6954
|
pricingAssetId: string;
|
|
6955
|
+
sourcePricingAccountTypeId: string;
|
|
6956
|
+
dailyPayoutAccountTypeId: string;
|
|
6957
|
+
maturitySettlementAccountTypeId: string;
|
|
6859
6958
|
pricePerShare: string;
|
|
6860
6959
|
rightsPerShare: string;
|
|
6861
6960
|
cycleDays: number;
|
|
@@ -6890,8 +6989,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6890
6989
|
name?: string | undefined;
|
|
6891
6990
|
description?: string | null | undefined;
|
|
6892
6991
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6992
|
+
coverImageUrl?: string | null | undefined;
|
|
6893
6993
|
rightsAssetId?: string | undefined;
|
|
6894
6994
|
pricingAssetId?: string | undefined;
|
|
6995
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
6996
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
6997
|
+
maturitySettlementAccountTypeId?: string | undefined;
|
|
6895
6998
|
pricePerShare?: string | undefined;
|
|
6896
6999
|
rightsPerShare?: string | undefined;
|
|
6897
7000
|
cycleDays?: number | undefined;
|
|
@@ -6914,8 +7017,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6914
7017
|
id: string;
|
|
6915
7018
|
name: string;
|
|
6916
7019
|
description: string | null;
|
|
7020
|
+
coverImageUrl: string | null;
|
|
6917
7021
|
rightsAssetId: string;
|
|
6918
7022
|
pricingAssetId: string;
|
|
7023
|
+
sourcePricingAccountTypeId: string;
|
|
7024
|
+
dailyPayoutAccountTypeId: string;
|
|
7025
|
+
maturitySettlementAccountTypeId: string;
|
|
6919
7026
|
pricePerShare: string;
|
|
6920
7027
|
rightsPerShare: string;
|
|
6921
7028
|
cycleDays: number;
|
|
@@ -6962,8 +7069,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6962
7069
|
id: string;
|
|
6963
7070
|
name: string;
|
|
6964
7071
|
description: string | null;
|
|
7072
|
+
coverImageUrl: string | null;
|
|
6965
7073
|
rightsAssetId: string;
|
|
6966
7074
|
pricingAssetId: string;
|
|
7075
|
+
sourcePricingAccountTypeId: string;
|
|
7076
|
+
dailyPayoutAccountTypeId: string;
|
|
7077
|
+
maturitySettlementAccountTypeId: string;
|
|
6967
7078
|
pricePerShare: string;
|
|
6968
7079
|
rightsPerShare: string;
|
|
6969
7080
|
cycleDays: number;
|
|
@@ -7011,8 +7122,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7011
7122
|
id: string;
|
|
7012
7123
|
name: string;
|
|
7013
7124
|
description: string | null;
|
|
7125
|
+
coverImageUrl: string | null;
|
|
7014
7126
|
rightsAssetId: string;
|
|
7015
7127
|
pricingAssetId: string;
|
|
7128
|
+
sourcePricingAccountTypeId: string;
|
|
7129
|
+
dailyPayoutAccountTypeId: string;
|
|
7130
|
+
maturitySettlementAccountTypeId: string;
|
|
7016
7131
|
pricePerShare: string;
|
|
7017
7132
|
rightsPerShare: string;
|
|
7018
7133
|
cycleDays: number;
|
|
@@ -7060,8 +7175,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7060
7175
|
id: string;
|
|
7061
7176
|
name: string;
|
|
7062
7177
|
description: string | null;
|
|
7178
|
+
coverImageUrl: string | null;
|
|
7063
7179
|
rightsAssetId: string;
|
|
7064
7180
|
pricingAssetId: string;
|
|
7181
|
+
sourcePricingAccountTypeId: string;
|
|
7182
|
+
dailyPayoutAccountTypeId: string;
|
|
7183
|
+
maturitySettlementAccountTypeId: string;
|
|
7065
7184
|
pricePerShare: string;
|
|
7066
7185
|
rightsPerShare: string;
|
|
7067
7186
|
cycleDays: number;
|
|
@@ -7113,8 +7232,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7113
7232
|
updatedAt: Date;
|
|
7114
7233
|
description: string | null;
|
|
7115
7234
|
status: "active" | "draft" | "paused" | "ended";
|
|
7235
|
+
coverImageUrl: string | null;
|
|
7116
7236
|
rightsAssetId: string;
|
|
7117
7237
|
pricingAssetId: string;
|
|
7238
|
+
sourcePricingAccountTypeId: string;
|
|
7239
|
+
dailyPayoutAccountTypeId: string;
|
|
7240
|
+
maturitySettlementAccountTypeId: string;
|
|
7118
7241
|
pricePerShare: string;
|
|
7119
7242
|
rightsPerShare: string;
|
|
7120
7243
|
cycleDays: number;
|
|
@@ -7176,7 +7299,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7176
7299
|
orderNo: string;
|
|
7177
7300
|
planId: string;
|
|
7178
7301
|
sourcePricingAccountId: string;
|
|
7179
|
-
|
|
7302
|
+
dailyPayoutReceiveAccountId: string;
|
|
7303
|
+
maturitySettlementReceiveAccountId: string;
|
|
7180
7304
|
shares: number;
|
|
7181
7305
|
totalPricingAmount: string;
|
|
7182
7306
|
totalRightsPrincipal: string;
|