@r2wa-org/eden 0.0.59 → 0.0.62
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 +166 -35
- 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/index.d.ts +263 -48
- package/dist/src/ledger/admin/dto.schemas.d.ts +80 -1
- package/dist/src/ledger/admin/router.d.ts +8 -1
- package/dist/src/ledger/admin/service.d.ts +17 -4
- package/dist/src/ledger/internal/service.d.ts +0 -146
- package/dist/src/ledger/user/service.d.ts +8 -4
- package/dist/src/ledger-account/admin/router.d.ts +1 -1
- package/dist/src/ledger-account/user/dto.schemas.d.ts +5 -0
- package/dist/src/ledger-account/user/router.d.ts +61 -0
- package/dist/src/ledger-account/user/service.d.ts +51 -1
- 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/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;
|
|
@@ -4001,13 +4092,20 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4001
4092
|
body: {};
|
|
4002
4093
|
params: {};
|
|
4003
4094
|
query: {
|
|
4095
|
+
userId?: string | undefined;
|
|
4004
4096
|
accountId?: string | undefined;
|
|
4005
4097
|
assetId?: string | undefined;
|
|
4098
|
+
bizType?: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | undefined;
|
|
4099
|
+
referenceId?: string | undefined;
|
|
4100
|
+
referenceType?: "deposit_order" | "withdraw_order" | "transfer_order" | "internal_transfer_order" | "manual_adjustment" | "welfare_cycle_subscription" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "asset_convert_order" | "trade_market_order" | undefined;
|
|
4101
|
+
operatorId?: string | null | undefined;
|
|
4102
|
+
startDate?: Date | undefined;
|
|
4006
4103
|
limit?: number | undefined;
|
|
4007
4104
|
offset?: number | undefined;
|
|
4008
4105
|
pageSize?: number | undefined;
|
|
4009
4106
|
pageIndex?: number | undefined;
|
|
4010
|
-
|
|
4107
|
+
endDate?: Date | undefined;
|
|
4108
|
+
changeDirection?: "increase" | "decrease" | undefined;
|
|
4011
4109
|
};
|
|
4012
4110
|
headers: {};
|
|
4013
4111
|
response: {
|
|
@@ -6830,6 +6928,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6830
6928
|
body: {
|
|
6831
6929
|
description?: string | null | undefined;
|
|
6832
6930
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6931
|
+
coverImageUrl?: string | null | undefined;
|
|
6833
6932
|
minShares?: number | undefined;
|
|
6834
6933
|
maxSharesPerOrder?: number | null | undefined;
|
|
6835
6934
|
saleStartAt?: Date | null | undefined;
|
|
@@ -6837,6 +6936,9 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6837
6936
|
name: string;
|
|
6838
6937
|
rightsAssetId: string;
|
|
6839
6938
|
pricingAssetId: string;
|
|
6939
|
+
sourcePricingAccountTypeId: string;
|
|
6940
|
+
dailyPayoutAccountTypeId: string;
|
|
6941
|
+
maturitySettlementAccountTypeId: string;
|
|
6840
6942
|
pricePerShare: string;
|
|
6841
6943
|
rightsPerShare: string;
|
|
6842
6944
|
cycleDays: number;
|
|
@@ -6854,8 +6956,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6854
6956
|
updatedAt: Date;
|
|
6855
6957
|
description: string | null;
|
|
6856
6958
|
status: "active" | "draft" | "paused" | "ended";
|
|
6959
|
+
coverImageUrl: string | null;
|
|
6857
6960
|
rightsAssetId: string;
|
|
6858
6961
|
pricingAssetId: string;
|
|
6962
|
+
sourcePricingAccountTypeId: string;
|
|
6963
|
+
dailyPayoutAccountTypeId: string;
|
|
6964
|
+
maturitySettlementAccountTypeId: string;
|
|
6859
6965
|
pricePerShare: string;
|
|
6860
6966
|
rightsPerShare: string;
|
|
6861
6967
|
cycleDays: number;
|
|
@@ -6890,8 +6996,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6890
6996
|
name?: string | undefined;
|
|
6891
6997
|
description?: string | null | undefined;
|
|
6892
6998
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6999
|
+
coverImageUrl?: string | null | undefined;
|
|
6893
7000
|
rightsAssetId?: string | undefined;
|
|
6894
7001
|
pricingAssetId?: string | undefined;
|
|
7002
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
7003
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
7004
|
+
maturitySettlementAccountTypeId?: string | undefined;
|
|
6895
7005
|
pricePerShare?: string | undefined;
|
|
6896
7006
|
rightsPerShare?: string | undefined;
|
|
6897
7007
|
cycleDays?: number | undefined;
|
|
@@ -6914,8 +7024,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6914
7024
|
id: string;
|
|
6915
7025
|
name: string;
|
|
6916
7026
|
description: string | null;
|
|
7027
|
+
coverImageUrl: string | null;
|
|
6917
7028
|
rightsAssetId: string;
|
|
6918
7029
|
pricingAssetId: string;
|
|
7030
|
+
sourcePricingAccountTypeId: string;
|
|
7031
|
+
dailyPayoutAccountTypeId: string;
|
|
7032
|
+
maturitySettlementAccountTypeId: string;
|
|
6919
7033
|
pricePerShare: string;
|
|
6920
7034
|
rightsPerShare: string;
|
|
6921
7035
|
cycleDays: number;
|
|
@@ -6962,8 +7076,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6962
7076
|
id: string;
|
|
6963
7077
|
name: string;
|
|
6964
7078
|
description: string | null;
|
|
7079
|
+
coverImageUrl: string | null;
|
|
6965
7080
|
rightsAssetId: string;
|
|
6966
7081
|
pricingAssetId: string;
|
|
7082
|
+
sourcePricingAccountTypeId: string;
|
|
7083
|
+
dailyPayoutAccountTypeId: string;
|
|
7084
|
+
maturitySettlementAccountTypeId: string;
|
|
6967
7085
|
pricePerShare: string;
|
|
6968
7086
|
rightsPerShare: string;
|
|
6969
7087
|
cycleDays: number;
|
|
@@ -7011,8 +7129,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7011
7129
|
id: string;
|
|
7012
7130
|
name: string;
|
|
7013
7131
|
description: string | null;
|
|
7132
|
+
coverImageUrl: string | null;
|
|
7014
7133
|
rightsAssetId: string;
|
|
7015
7134
|
pricingAssetId: string;
|
|
7135
|
+
sourcePricingAccountTypeId: string;
|
|
7136
|
+
dailyPayoutAccountTypeId: string;
|
|
7137
|
+
maturitySettlementAccountTypeId: string;
|
|
7016
7138
|
pricePerShare: string;
|
|
7017
7139
|
rightsPerShare: string;
|
|
7018
7140
|
cycleDays: number;
|
|
@@ -7060,8 +7182,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7060
7182
|
id: string;
|
|
7061
7183
|
name: string;
|
|
7062
7184
|
description: string | null;
|
|
7185
|
+
coverImageUrl: string | null;
|
|
7063
7186
|
rightsAssetId: string;
|
|
7064
7187
|
pricingAssetId: string;
|
|
7188
|
+
sourcePricingAccountTypeId: string;
|
|
7189
|
+
dailyPayoutAccountTypeId: string;
|
|
7190
|
+
maturitySettlementAccountTypeId: string;
|
|
7065
7191
|
pricePerShare: string;
|
|
7066
7192
|
rightsPerShare: string;
|
|
7067
7193
|
cycleDays: number;
|
|
@@ -7113,8 +7239,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7113
7239
|
updatedAt: Date;
|
|
7114
7240
|
description: string | null;
|
|
7115
7241
|
status: "active" | "draft" | "paused" | "ended";
|
|
7242
|
+
coverImageUrl: string | null;
|
|
7116
7243
|
rightsAssetId: string;
|
|
7117
7244
|
pricingAssetId: string;
|
|
7245
|
+
sourcePricingAccountTypeId: string;
|
|
7246
|
+
dailyPayoutAccountTypeId: string;
|
|
7247
|
+
maturitySettlementAccountTypeId: string;
|
|
7118
7248
|
pricePerShare: string;
|
|
7119
7249
|
rightsPerShare: string;
|
|
7120
7250
|
cycleDays: number;
|
|
@@ -7176,7 +7306,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7176
7306
|
orderNo: string;
|
|
7177
7307
|
planId: string;
|
|
7178
7308
|
sourcePricingAccountId: string;
|
|
7179
|
-
|
|
7309
|
+
dailyPayoutReceiveAccountId: string;
|
|
7310
|
+
maturitySettlementReceiveAccountId: string;
|
|
7180
7311
|
shares: number;
|
|
7181
7312
|
totalPricingAmount: string;
|
|
7182
7313
|
totalRightsPrincipal: string;
|