@r2wa-org/eden 0.0.69 → 0.0.71
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/index.d.ts +178 -4
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +235 -0
- package/dist/src/asset-convert-product/admin/router.d.ts +174 -0
- package/dist/src/asset-convert-product/admin/service.d.ts +170 -0
- package/dist/src/asset-convert-product/db.schemas.d.ts +34 -0
- package/dist/src/asset-convert-product/schema.d.ts +17 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +4 -0
- package/dist/src/asset-convert-product/user/router.d.ts +3 -0
- package/dist/src/asset-convert-product/user/service.d.ts +3 -0
- package/dist/src/index.d.ts +184 -7
- package/dist/src/news/admin/dto.schemas.d.ts +5 -5
- package/dist/src/news/admin/router.d.ts +4 -4
- package/dist/src/news/admin/service.d.ts +3 -3
- package/dist/src/news/user/dto.schemas.d.ts +5 -5
- package/dist/src/news/user/router.d.ts +3 -3
- package/dist/src/news/user/service.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1278,6 +1278,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1278
1278
|
description?: string | null | undefined;
|
|
1279
1279
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1280
1280
|
allowPurchase?: boolean | undefined;
|
|
1281
|
+
isHot?: boolean | undefined;
|
|
1281
1282
|
name: string;
|
|
1282
1283
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1283
1284
|
targetAssetId: string;
|
|
@@ -1306,11 +1307,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1306
1307
|
minPayAmount: string;
|
|
1307
1308
|
settlementMode: "available" | "locked";
|
|
1308
1309
|
allowPurchase: boolean;
|
|
1310
|
+
isHot: boolean;
|
|
1309
1311
|
targetAsset: {
|
|
1310
1312
|
symbol: string;
|
|
1311
1313
|
id: string;
|
|
1312
1314
|
name: string;
|
|
1313
1315
|
code: string;
|
|
1316
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1314
1317
|
isActive: boolean;
|
|
1315
1318
|
precision: number;
|
|
1316
1319
|
};
|
|
@@ -1319,6 +1322,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1319
1322
|
id: string;
|
|
1320
1323
|
name: string;
|
|
1321
1324
|
code: string;
|
|
1325
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1322
1326
|
isActive: boolean;
|
|
1323
1327
|
precision: number;
|
|
1324
1328
|
};
|
|
@@ -1367,6 +1371,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1367
1371
|
minPayAmount?: string | undefined;
|
|
1368
1372
|
settlementMode?: "available" | "locked" | undefined;
|
|
1369
1373
|
allowPurchase?: boolean | undefined;
|
|
1374
|
+
isHot?: boolean | undefined;
|
|
1370
1375
|
};
|
|
1371
1376
|
params: {
|
|
1372
1377
|
id: string;
|
|
@@ -1389,11 +1394,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1389
1394
|
minPayAmount: string;
|
|
1390
1395
|
settlementMode: "available" | "locked";
|
|
1391
1396
|
allowPurchase: boolean;
|
|
1397
|
+
isHot: boolean;
|
|
1392
1398
|
targetAsset: {
|
|
1393
1399
|
symbol: string;
|
|
1394
1400
|
id: string;
|
|
1395
1401
|
name: string;
|
|
1396
1402
|
code: string;
|
|
1403
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1397
1404
|
isActive: boolean;
|
|
1398
1405
|
precision: number;
|
|
1399
1406
|
};
|
|
@@ -1402,6 +1409,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1402
1409
|
id: string;
|
|
1403
1410
|
name: string;
|
|
1404
1411
|
code: string;
|
|
1412
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1405
1413
|
isActive: boolean;
|
|
1406
1414
|
precision: number;
|
|
1407
1415
|
};
|
|
@@ -1462,11 +1470,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1462
1470
|
minPayAmount: string;
|
|
1463
1471
|
settlementMode: "available" | "locked";
|
|
1464
1472
|
allowPurchase: boolean;
|
|
1473
|
+
isHot: boolean;
|
|
1465
1474
|
targetAsset: {
|
|
1466
1475
|
symbol: string;
|
|
1467
1476
|
id: string;
|
|
1468
1477
|
name: string;
|
|
1469
1478
|
code: string;
|
|
1479
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1470
1480
|
isActive: boolean;
|
|
1471
1481
|
precision: number;
|
|
1472
1482
|
};
|
|
@@ -1475,6 +1485,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1475
1485
|
id: string;
|
|
1476
1486
|
name: string;
|
|
1477
1487
|
code: string;
|
|
1488
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1478
1489
|
isActive: boolean;
|
|
1479
1490
|
precision: number;
|
|
1480
1491
|
};
|
|
@@ -1536,11 +1547,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1536
1547
|
minPayAmount: string;
|
|
1537
1548
|
settlementMode: "available" | "locked";
|
|
1538
1549
|
allowPurchase: boolean;
|
|
1550
|
+
isHot: boolean;
|
|
1539
1551
|
targetAsset: {
|
|
1540
1552
|
symbol: string;
|
|
1541
1553
|
id: string;
|
|
1542
1554
|
name: string;
|
|
1543
1555
|
code: string;
|
|
1556
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1544
1557
|
isActive: boolean;
|
|
1545
1558
|
precision: number;
|
|
1546
1559
|
};
|
|
@@ -1549,6 +1562,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1549
1562
|
id: string;
|
|
1550
1563
|
name: string;
|
|
1551
1564
|
code: string;
|
|
1565
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1552
1566
|
isActive: boolean;
|
|
1553
1567
|
precision: number;
|
|
1554
1568
|
};
|
|
@@ -1610,11 +1624,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1610
1624
|
minPayAmount: string;
|
|
1611
1625
|
settlementMode: "available" | "locked";
|
|
1612
1626
|
allowPurchase: boolean;
|
|
1627
|
+
isHot: boolean;
|
|
1613
1628
|
targetAsset: {
|
|
1614
1629
|
symbol: string;
|
|
1615
1630
|
id: string;
|
|
1616
1631
|
name: string;
|
|
1617
1632
|
code: string;
|
|
1633
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1618
1634
|
isActive: boolean;
|
|
1619
1635
|
precision: number;
|
|
1620
1636
|
};
|
|
@@ -1623,6 +1639,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1623
1639
|
id: string;
|
|
1624
1640
|
name: string;
|
|
1625
1641
|
code: string;
|
|
1642
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1626
1643
|
isActive: boolean;
|
|
1627
1644
|
precision: number;
|
|
1628
1645
|
};
|
|
@@ -1683,11 +1700,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1683
1700
|
minPayAmount: string;
|
|
1684
1701
|
settlementMode: "available" | "locked";
|
|
1685
1702
|
allowPurchase: boolean;
|
|
1703
|
+
isHot: boolean;
|
|
1686
1704
|
targetAsset: {
|
|
1687
1705
|
symbol: string;
|
|
1688
1706
|
id: string;
|
|
1689
1707
|
name: string;
|
|
1690
1708
|
code: string;
|
|
1709
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1691
1710
|
isActive: boolean;
|
|
1692
1711
|
precision: number;
|
|
1693
1712
|
};
|
|
@@ -1696,6 +1715,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1696
1715
|
id: string;
|
|
1697
1716
|
name: string;
|
|
1698
1717
|
code: string;
|
|
1718
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1699
1719
|
isActive: boolean;
|
|
1700
1720
|
precision: number;
|
|
1701
1721
|
};
|
|
@@ -1745,6 +1765,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1745
1765
|
receiveAccountTypeId?: string | undefined;
|
|
1746
1766
|
settlementMode?: "available" | "locked" | undefined;
|
|
1747
1767
|
allowPurchase?: boolean | undefined;
|
|
1768
|
+
isHot?: boolean | undefined;
|
|
1748
1769
|
limit?: number | undefined;
|
|
1749
1770
|
offset?: number | undefined;
|
|
1750
1771
|
pageSize?: number | undefined;
|
|
@@ -1772,11 +1793,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1772
1793
|
minPayAmount: string;
|
|
1773
1794
|
settlementMode: "available" | "locked";
|
|
1774
1795
|
allowPurchase: boolean;
|
|
1796
|
+
isHot: boolean;
|
|
1775
1797
|
targetAsset: {
|
|
1776
1798
|
symbol: string;
|
|
1777
1799
|
id: string;
|
|
1778
1800
|
name: string;
|
|
1779
1801
|
code: string;
|
|
1802
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1780
1803
|
isActive: boolean;
|
|
1781
1804
|
precision: number;
|
|
1782
1805
|
};
|
|
@@ -1785,6 +1808,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1785
1808
|
id: string;
|
|
1786
1809
|
name: string;
|
|
1787
1810
|
code: string;
|
|
1811
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1788
1812
|
isActive: boolean;
|
|
1789
1813
|
precision: number;
|
|
1790
1814
|
};
|
|
@@ -1855,12 +1879,16 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1855
1879
|
createdAt: Date;
|
|
1856
1880
|
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";
|
|
1857
1881
|
amount: string;
|
|
1882
|
+
referenceId: string;
|
|
1883
|
+
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";
|
|
1858
1884
|
} | undefined;
|
|
1859
1885
|
creditLedgerEntry?: {
|
|
1860
1886
|
id: string;
|
|
1861
1887
|
createdAt: Date;
|
|
1862
1888
|
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";
|
|
1863
1889
|
amount: string;
|
|
1890
|
+
referenceId: string;
|
|
1891
|
+
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";
|
|
1864
1892
|
} | undefined;
|
|
1865
1893
|
user: {
|
|
1866
1894
|
email: string;
|
|
@@ -1895,14 +1923,56 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1895
1923
|
product: {
|
|
1896
1924
|
id: string;
|
|
1897
1925
|
name: string;
|
|
1926
|
+
createdAt: Date;
|
|
1927
|
+
updatedAt: Date;
|
|
1928
|
+
description: string | null;
|
|
1898
1929
|
status: "active" | "draft" | "paused" | "ended";
|
|
1899
1930
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1931
|
+
targetAssetId: string;
|
|
1932
|
+
payAssetId: string;
|
|
1933
|
+
payAccountTypeId: string;
|
|
1934
|
+
receiveAccountTypeId: string;
|
|
1935
|
+
minPayAmount: string;
|
|
1936
|
+
settlementMode: "available" | "locked";
|
|
1937
|
+
allowPurchase: boolean;
|
|
1938
|
+
isHot: boolean;
|
|
1939
|
+
targetAsset: {
|
|
1940
|
+
symbol: string;
|
|
1941
|
+
id: string;
|
|
1942
|
+
name: string;
|
|
1943
|
+
code: string;
|
|
1944
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1945
|
+
isActive: boolean;
|
|
1946
|
+
precision: number;
|
|
1947
|
+
};
|
|
1948
|
+
payAsset: {
|
|
1949
|
+
symbol: string;
|
|
1950
|
+
id: string;
|
|
1951
|
+
name: string;
|
|
1952
|
+
code: string;
|
|
1953
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1954
|
+
isActive: boolean;
|
|
1955
|
+
precision: number;
|
|
1956
|
+
};
|
|
1957
|
+
payAccountType: {
|
|
1958
|
+
id: string;
|
|
1959
|
+
name: string;
|
|
1960
|
+
key: string;
|
|
1961
|
+
isActive: boolean;
|
|
1962
|
+
};
|
|
1963
|
+
receiveAccountType: {
|
|
1964
|
+
id: string;
|
|
1965
|
+
name: string;
|
|
1966
|
+
key: string;
|
|
1967
|
+
isActive: boolean;
|
|
1968
|
+
};
|
|
1900
1969
|
};
|
|
1901
1970
|
payAssetSnapshot: {
|
|
1902
1971
|
symbol: string;
|
|
1903
1972
|
id: string;
|
|
1904
1973
|
name: string;
|
|
1905
1974
|
code: string;
|
|
1975
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1906
1976
|
isActive: boolean;
|
|
1907
1977
|
precision: number;
|
|
1908
1978
|
};
|
|
@@ -1911,6 +1981,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1911
1981
|
id: string;
|
|
1912
1982
|
name: string;
|
|
1913
1983
|
code: string;
|
|
1984
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1914
1985
|
isActive: boolean;
|
|
1915
1986
|
precision: number;
|
|
1916
1987
|
};
|
|
@@ -1919,17 +1990,20 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1919
1990
|
id: string;
|
|
1920
1991
|
name: string;
|
|
1921
1992
|
code: string;
|
|
1993
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1922
1994
|
isActive: boolean;
|
|
1923
1995
|
precision: number;
|
|
1924
1996
|
};
|
|
1925
1997
|
sourcePayAccount: {
|
|
1926
1998
|
id: string;
|
|
1999
|
+
userId: string;
|
|
1927
2000
|
status: "active" | "frozen" | "disabled";
|
|
1928
2001
|
assetId: string;
|
|
1929
2002
|
ledgerAccountTypeId: string;
|
|
1930
2003
|
};
|
|
1931
2004
|
receiveAccount: {
|
|
1932
2005
|
id: string;
|
|
2006
|
+
userId: string;
|
|
1933
2007
|
status: "active" | "frozen" | "disabled";
|
|
1934
2008
|
assetId: string;
|
|
1935
2009
|
ledgerAccountTypeId: string;
|
|
@@ -1976,12 +2050,16 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1976
2050
|
createdAt: Date;
|
|
1977
2051
|
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";
|
|
1978
2052
|
amount: string;
|
|
2053
|
+
referenceId: string;
|
|
2054
|
+
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";
|
|
1979
2055
|
} | undefined;
|
|
1980
2056
|
creditLedgerEntry?: {
|
|
1981
2057
|
id: string;
|
|
1982
2058
|
createdAt: Date;
|
|
1983
2059
|
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";
|
|
1984
2060
|
amount: string;
|
|
2061
|
+
referenceId: string;
|
|
2062
|
+
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";
|
|
1985
2063
|
} | undefined;
|
|
1986
2064
|
user: {
|
|
1987
2065
|
email: string;
|
|
@@ -2016,14 +2094,56 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2016
2094
|
product: {
|
|
2017
2095
|
id: string;
|
|
2018
2096
|
name: string;
|
|
2097
|
+
createdAt: Date;
|
|
2098
|
+
updatedAt: Date;
|
|
2099
|
+
description: string | null;
|
|
2019
2100
|
status: "active" | "draft" | "paused" | "ended";
|
|
2020
2101
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2102
|
+
targetAssetId: string;
|
|
2103
|
+
payAssetId: string;
|
|
2104
|
+
payAccountTypeId: string;
|
|
2105
|
+
receiveAccountTypeId: string;
|
|
2106
|
+
minPayAmount: string;
|
|
2107
|
+
settlementMode: "available" | "locked";
|
|
2108
|
+
allowPurchase: boolean;
|
|
2109
|
+
isHot: boolean;
|
|
2110
|
+
targetAsset: {
|
|
2111
|
+
symbol: string;
|
|
2112
|
+
id: string;
|
|
2113
|
+
name: string;
|
|
2114
|
+
code: string;
|
|
2115
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2116
|
+
isActive: boolean;
|
|
2117
|
+
precision: number;
|
|
2118
|
+
};
|
|
2119
|
+
payAsset: {
|
|
2120
|
+
symbol: string;
|
|
2121
|
+
id: string;
|
|
2122
|
+
name: string;
|
|
2123
|
+
code: string;
|
|
2124
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2125
|
+
isActive: boolean;
|
|
2126
|
+
precision: number;
|
|
2127
|
+
};
|
|
2128
|
+
payAccountType: {
|
|
2129
|
+
id: string;
|
|
2130
|
+
name: string;
|
|
2131
|
+
key: string;
|
|
2132
|
+
isActive: boolean;
|
|
2133
|
+
};
|
|
2134
|
+
receiveAccountType: {
|
|
2135
|
+
id: string;
|
|
2136
|
+
name: string;
|
|
2137
|
+
key: string;
|
|
2138
|
+
isActive: boolean;
|
|
2139
|
+
};
|
|
2021
2140
|
};
|
|
2022
2141
|
payAssetSnapshot: {
|
|
2023
2142
|
symbol: string;
|
|
2024
2143
|
id: string;
|
|
2025
2144
|
name: string;
|
|
2026
2145
|
code: string;
|
|
2146
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2027
2147
|
isActive: boolean;
|
|
2028
2148
|
precision: number;
|
|
2029
2149
|
};
|
|
@@ -2032,6 +2152,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2032
2152
|
id: string;
|
|
2033
2153
|
name: string;
|
|
2034
2154
|
code: string;
|
|
2155
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2035
2156
|
isActive: boolean;
|
|
2036
2157
|
precision: number;
|
|
2037
2158
|
};
|
|
@@ -2040,17 +2161,20 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2040
2161
|
id: string;
|
|
2041
2162
|
name: string;
|
|
2042
2163
|
code: string;
|
|
2164
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2043
2165
|
isActive: boolean;
|
|
2044
2166
|
precision: number;
|
|
2045
2167
|
};
|
|
2046
2168
|
sourcePayAccount: {
|
|
2047
2169
|
id: string;
|
|
2170
|
+
userId: string;
|
|
2048
2171
|
status: "active" | "frozen" | "disabled";
|
|
2049
2172
|
assetId: string;
|
|
2050
2173
|
ledgerAccountTypeId: string;
|
|
2051
2174
|
};
|
|
2052
2175
|
receiveAccount: {
|
|
2053
2176
|
id: string;
|
|
2177
|
+
userId: string;
|
|
2054
2178
|
status: "active" | "frozen" | "disabled";
|
|
2055
2179
|
assetId: string;
|
|
2056
2180
|
ledgerAccountTypeId: string;
|
|
@@ -2091,12 +2215,16 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2091
2215
|
createdAt: Date;
|
|
2092
2216
|
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";
|
|
2093
2217
|
amount: string;
|
|
2218
|
+
referenceId: string;
|
|
2219
|
+
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";
|
|
2094
2220
|
} | undefined;
|
|
2095
2221
|
creditLedgerEntry?: {
|
|
2096
2222
|
id: string;
|
|
2097
2223
|
createdAt: Date;
|
|
2098
2224
|
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";
|
|
2099
2225
|
amount: string;
|
|
2226
|
+
referenceId: string;
|
|
2227
|
+
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";
|
|
2100
2228
|
} | undefined;
|
|
2101
2229
|
user: {
|
|
2102
2230
|
email: string;
|
|
@@ -2131,14 +2259,56 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2131
2259
|
product: {
|
|
2132
2260
|
id: string;
|
|
2133
2261
|
name: string;
|
|
2262
|
+
createdAt: Date;
|
|
2263
|
+
updatedAt: Date;
|
|
2264
|
+
description: string | null;
|
|
2134
2265
|
status: "active" | "draft" | "paused" | "ended";
|
|
2135
2266
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2267
|
+
targetAssetId: string;
|
|
2268
|
+
payAssetId: string;
|
|
2269
|
+
payAccountTypeId: string;
|
|
2270
|
+
receiveAccountTypeId: string;
|
|
2271
|
+
minPayAmount: string;
|
|
2272
|
+
settlementMode: "available" | "locked";
|
|
2273
|
+
allowPurchase: boolean;
|
|
2274
|
+
isHot: boolean;
|
|
2275
|
+
targetAsset: {
|
|
2276
|
+
symbol: string;
|
|
2277
|
+
id: string;
|
|
2278
|
+
name: string;
|
|
2279
|
+
code: string;
|
|
2280
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2281
|
+
isActive: boolean;
|
|
2282
|
+
precision: number;
|
|
2283
|
+
};
|
|
2284
|
+
payAsset: {
|
|
2285
|
+
symbol: string;
|
|
2286
|
+
id: string;
|
|
2287
|
+
name: string;
|
|
2288
|
+
code: string;
|
|
2289
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2290
|
+
isActive: boolean;
|
|
2291
|
+
precision: number;
|
|
2292
|
+
};
|
|
2293
|
+
payAccountType: {
|
|
2294
|
+
id: string;
|
|
2295
|
+
name: string;
|
|
2296
|
+
key: string;
|
|
2297
|
+
isActive: boolean;
|
|
2298
|
+
};
|
|
2299
|
+
receiveAccountType: {
|
|
2300
|
+
id: string;
|
|
2301
|
+
name: string;
|
|
2302
|
+
key: string;
|
|
2303
|
+
isActive: boolean;
|
|
2304
|
+
};
|
|
2136
2305
|
};
|
|
2137
2306
|
payAssetSnapshot: {
|
|
2138
2307
|
symbol: string;
|
|
2139
2308
|
id: string;
|
|
2140
2309
|
name: string;
|
|
2141
2310
|
code: string;
|
|
2311
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2142
2312
|
isActive: boolean;
|
|
2143
2313
|
precision: number;
|
|
2144
2314
|
};
|
|
@@ -2147,6 +2317,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2147
2317
|
id: string;
|
|
2148
2318
|
name: string;
|
|
2149
2319
|
code: string;
|
|
2320
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2150
2321
|
isActive: boolean;
|
|
2151
2322
|
precision: number;
|
|
2152
2323
|
};
|
|
@@ -2155,17 +2326,20 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2155
2326
|
id: string;
|
|
2156
2327
|
name: string;
|
|
2157
2328
|
code: string;
|
|
2329
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2158
2330
|
isActive: boolean;
|
|
2159
2331
|
precision: number;
|
|
2160
2332
|
};
|
|
2161
2333
|
sourcePayAccount: {
|
|
2162
2334
|
id: string;
|
|
2335
|
+
userId: string;
|
|
2163
2336
|
status: "active" | "frozen" | "disabled";
|
|
2164
2337
|
assetId: string;
|
|
2165
2338
|
ledgerAccountTypeId: string;
|
|
2166
2339
|
};
|
|
2167
2340
|
receiveAccount: {
|
|
2168
2341
|
id: string;
|
|
2342
|
+
userId: string;
|
|
2169
2343
|
status: "active" | "frozen" | "disabled";
|
|
2170
2344
|
assetId: string;
|
|
2171
2345
|
ledgerAccountTypeId: string;
|
|
@@ -6374,10 +6548,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6374
6548
|
scope?: string[] | undefined;
|
|
6375
6549
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6376
6550
|
sortOrder?: number | undefined;
|
|
6551
|
+
isHot?: boolean | undefined;
|
|
6377
6552
|
summary?: string | null | undefined;
|
|
6378
6553
|
categoryId?: string | undefined;
|
|
6379
6554
|
isPinned?: boolean | undefined;
|
|
6380
|
-
isHot?: boolean | undefined;
|
|
6381
6555
|
hasVideo?: boolean | undefined;
|
|
6382
6556
|
requireReadConfirmation?: boolean | undefined;
|
|
6383
6557
|
externalUrl?: string | null | undefined;
|
|
@@ -6432,13 +6606,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6432
6606
|
deletedAt: Date | null;
|
|
6433
6607
|
status: "archived" | "draft" | "published";
|
|
6434
6608
|
sortOrder: number;
|
|
6609
|
+
isHot: boolean;
|
|
6435
6610
|
createdBy: string;
|
|
6436
6611
|
title: string;
|
|
6437
6612
|
content: string;
|
|
6438
6613
|
summary: string | null;
|
|
6439
6614
|
categoryId: string;
|
|
6440
6615
|
isPinned: boolean;
|
|
6441
|
-
isHot: boolean;
|
|
6442
6616
|
hasVideo: boolean;
|
|
6443
6617
|
requireReadConfirmation: boolean;
|
|
6444
6618
|
externalUrl: string | null;
|
|
@@ -6500,13 +6674,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6500
6674
|
deletedAt: Date | null;
|
|
6501
6675
|
status: "archived" | "draft" | "published";
|
|
6502
6676
|
sortOrder: number;
|
|
6677
|
+
isHot: boolean;
|
|
6503
6678
|
createdBy: string;
|
|
6504
6679
|
title: string;
|
|
6505
6680
|
content: string;
|
|
6506
6681
|
summary: string | null;
|
|
6507
6682
|
categoryId: string;
|
|
6508
6683
|
isPinned: boolean;
|
|
6509
|
-
isHot: boolean;
|
|
6510
6684
|
hasVideo: boolean;
|
|
6511
6685
|
requireReadConfirmation: boolean;
|
|
6512
6686
|
externalUrl: string | null;
|
|
@@ -6582,12 +6756,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6582
6756
|
scope?: string[] | undefined;
|
|
6583
6757
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6584
6758
|
sortOrder?: number | undefined;
|
|
6759
|
+
isHot?: boolean | undefined;
|
|
6585
6760
|
title?: string | undefined;
|
|
6586
6761
|
content?: string | undefined;
|
|
6587
6762
|
summary?: string | null | undefined;
|
|
6588
6763
|
categoryId?: string | undefined;
|
|
6589
6764
|
isPinned?: boolean | undefined;
|
|
6590
|
-
isHot?: boolean | undefined;
|
|
6591
6765
|
hasVideo?: boolean | undefined;
|
|
6592
6766
|
requireReadConfirmation?: boolean | undefined;
|
|
6593
6767
|
externalUrl?: string | null | undefined;
|