@r2wa-org/eden 0.0.64 → 0.0.65
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 +99 -99
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +54 -54
- package/dist/src/asset-convert-product/admin/router.d.ts +91 -91
- package/dist/src/asset-convert-product/admin/service.d.ts +91 -91
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +45 -39
- package/dist/src/asset-convert-product/user/router.d.ts +30 -26
- package/dist/src/asset-convert-product/user/service.d.ts +34 -30
- package/dist/src/asset-price/admin/dto.schemas.d.ts +4 -4
- package/dist/src/asset-price/admin/router.d.ts +8 -8
- package/dist/src/index.d.ts +129 -125
- package/dist/src/wallet/admin/dto.schemas.d.ts +18 -18
- package/package.json +1 -1
|
@@ -785,7 +785,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
785
785
|
price: string;
|
|
786
786
|
source: string;
|
|
787
787
|
effectiveAt: Date;
|
|
788
|
-
|
|
788
|
+
baseAssetInfo: {
|
|
789
789
|
symbol: string;
|
|
790
790
|
id: string;
|
|
791
791
|
name: string;
|
|
@@ -794,7 +794,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
794
794
|
isActive: boolean;
|
|
795
795
|
precision: number;
|
|
796
796
|
};
|
|
797
|
-
|
|
797
|
+
quoteAssetInfo: {
|
|
798
798
|
symbol: string;
|
|
799
799
|
id: string;
|
|
800
800
|
name: string;
|
|
@@ -851,7 +851,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
851
851
|
price: string;
|
|
852
852
|
source: string;
|
|
853
853
|
effectiveAt: Date;
|
|
854
|
-
|
|
854
|
+
baseAssetInfo: {
|
|
855
855
|
symbol: string;
|
|
856
856
|
id: string;
|
|
857
857
|
name: string;
|
|
@@ -860,7 +860,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
860
860
|
isActive: boolean;
|
|
861
861
|
precision: number;
|
|
862
862
|
};
|
|
863
|
-
|
|
863
|
+
quoteAssetInfo: {
|
|
864
864
|
symbol: string;
|
|
865
865
|
id: string;
|
|
866
866
|
name: string;
|
|
@@ -909,7 +909,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
909
909
|
price: string;
|
|
910
910
|
source: string;
|
|
911
911
|
effectiveAt: Date;
|
|
912
|
-
|
|
912
|
+
baseAssetInfo: {
|
|
913
913
|
symbol: string;
|
|
914
914
|
id: string;
|
|
915
915
|
name: string;
|
|
@@ -918,7 +918,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
918
918
|
isActive: boolean;
|
|
919
919
|
precision: number;
|
|
920
920
|
};
|
|
921
|
-
|
|
921
|
+
quoteAssetInfo: {
|
|
922
922
|
symbol: string;
|
|
923
923
|
id: string;
|
|
924
924
|
name: string;
|
|
@@ -968,7 +968,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
968
968
|
price: string;
|
|
969
969
|
source: string;
|
|
970
970
|
effectiveAt: Date;
|
|
971
|
-
|
|
971
|
+
baseAssetInfo: {
|
|
972
972
|
symbol: string;
|
|
973
973
|
id: string;
|
|
974
974
|
name: string;
|
|
@@ -977,7 +977,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
977
977
|
isActive: boolean;
|
|
978
978
|
precision: number;
|
|
979
979
|
};
|
|
980
|
-
|
|
980
|
+
quoteAssetInfo: {
|
|
981
981
|
symbol: string;
|
|
982
982
|
id: string;
|
|
983
983
|
name: string;
|
|
@@ -1354,7 +1354,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1354
1354
|
receiveAccountTypeId: string;
|
|
1355
1355
|
minPayAmount: string;
|
|
1356
1356
|
settlementMode: "available" | "locked";
|
|
1357
|
-
|
|
1357
|
+
targetAsset: {
|
|
1358
1358
|
symbol: string;
|
|
1359
1359
|
id: string;
|
|
1360
1360
|
name: string;
|
|
@@ -1362,7 +1362,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1362
1362
|
isActive: boolean;
|
|
1363
1363
|
precision: number;
|
|
1364
1364
|
};
|
|
1365
|
-
|
|
1365
|
+
payAsset: {
|
|
1366
1366
|
symbol: string;
|
|
1367
1367
|
id: string;
|
|
1368
1368
|
name: string;
|
|
@@ -1370,13 +1370,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1370
1370
|
isActive: boolean;
|
|
1371
1371
|
precision: number;
|
|
1372
1372
|
};
|
|
1373
|
-
|
|
1373
|
+
payAccountType: {
|
|
1374
1374
|
id: string;
|
|
1375
1375
|
name: string;
|
|
1376
1376
|
key: string;
|
|
1377
1377
|
isActive: boolean;
|
|
1378
1378
|
};
|
|
1379
|
-
|
|
1379
|
+
receiveAccountType: {
|
|
1380
1380
|
id: string;
|
|
1381
1381
|
name: string;
|
|
1382
1382
|
key: string;
|
|
@@ -1435,7 +1435,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1435
1435
|
receiveAccountTypeId: string;
|
|
1436
1436
|
minPayAmount: string;
|
|
1437
1437
|
settlementMode: "available" | "locked";
|
|
1438
|
-
|
|
1438
|
+
targetAsset: {
|
|
1439
1439
|
symbol: string;
|
|
1440
1440
|
id: string;
|
|
1441
1441
|
name: string;
|
|
@@ -1443,7 +1443,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1443
1443
|
isActive: boolean;
|
|
1444
1444
|
precision: number;
|
|
1445
1445
|
};
|
|
1446
|
-
|
|
1446
|
+
payAsset: {
|
|
1447
1447
|
symbol: string;
|
|
1448
1448
|
id: string;
|
|
1449
1449
|
name: string;
|
|
@@ -1451,13 +1451,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1451
1451
|
isActive: boolean;
|
|
1452
1452
|
precision: number;
|
|
1453
1453
|
};
|
|
1454
|
-
|
|
1454
|
+
payAccountType: {
|
|
1455
1455
|
id: string;
|
|
1456
1456
|
name: string;
|
|
1457
1457
|
key: string;
|
|
1458
1458
|
isActive: boolean;
|
|
1459
1459
|
};
|
|
1460
|
-
|
|
1460
|
+
receiveAccountType: {
|
|
1461
1461
|
id: string;
|
|
1462
1462
|
name: string;
|
|
1463
1463
|
key: string;
|
|
@@ -1507,7 +1507,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1507
1507
|
receiveAccountTypeId: string;
|
|
1508
1508
|
minPayAmount: string;
|
|
1509
1509
|
settlementMode: "available" | "locked";
|
|
1510
|
-
|
|
1510
|
+
targetAsset: {
|
|
1511
1511
|
symbol: string;
|
|
1512
1512
|
id: string;
|
|
1513
1513
|
name: string;
|
|
@@ -1515,7 +1515,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1515
1515
|
isActive: boolean;
|
|
1516
1516
|
precision: number;
|
|
1517
1517
|
};
|
|
1518
|
-
|
|
1518
|
+
payAsset: {
|
|
1519
1519
|
symbol: string;
|
|
1520
1520
|
id: string;
|
|
1521
1521
|
name: string;
|
|
@@ -1523,13 +1523,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1523
1523
|
isActive: boolean;
|
|
1524
1524
|
precision: number;
|
|
1525
1525
|
};
|
|
1526
|
-
|
|
1526
|
+
payAccountType: {
|
|
1527
1527
|
id: string;
|
|
1528
1528
|
name: string;
|
|
1529
1529
|
key: string;
|
|
1530
1530
|
isActive: boolean;
|
|
1531
1531
|
};
|
|
1532
|
-
|
|
1532
|
+
receiveAccountType: {
|
|
1533
1533
|
id: string;
|
|
1534
1534
|
name: string;
|
|
1535
1535
|
key: string;
|
|
@@ -1580,7 +1580,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1580
1580
|
receiveAccountTypeId: string;
|
|
1581
1581
|
minPayAmount: string;
|
|
1582
1582
|
settlementMode: "available" | "locked";
|
|
1583
|
-
|
|
1583
|
+
targetAsset: {
|
|
1584
1584
|
symbol: string;
|
|
1585
1585
|
id: string;
|
|
1586
1586
|
name: string;
|
|
@@ -1588,7 +1588,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1588
1588
|
isActive: boolean;
|
|
1589
1589
|
precision: number;
|
|
1590
1590
|
};
|
|
1591
|
-
|
|
1591
|
+
payAsset: {
|
|
1592
1592
|
symbol: string;
|
|
1593
1593
|
id: string;
|
|
1594
1594
|
name: string;
|
|
@@ -1596,13 +1596,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1596
1596
|
isActive: boolean;
|
|
1597
1597
|
precision: number;
|
|
1598
1598
|
};
|
|
1599
|
-
|
|
1599
|
+
payAccountType: {
|
|
1600
1600
|
id: string;
|
|
1601
1601
|
name: string;
|
|
1602
1602
|
key: string;
|
|
1603
1603
|
isActive: boolean;
|
|
1604
1604
|
};
|
|
1605
|
-
|
|
1605
|
+
receiveAccountType: {
|
|
1606
1606
|
id: string;
|
|
1607
1607
|
name: string;
|
|
1608
1608
|
key: string;
|
|
@@ -1653,7 +1653,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1653
1653
|
receiveAccountTypeId: string;
|
|
1654
1654
|
minPayAmount: string;
|
|
1655
1655
|
settlementMode: "available" | "locked";
|
|
1656
|
-
|
|
1656
|
+
targetAsset: {
|
|
1657
1657
|
symbol: string;
|
|
1658
1658
|
id: string;
|
|
1659
1659
|
name: string;
|
|
@@ -1661,7 +1661,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1661
1661
|
isActive: boolean;
|
|
1662
1662
|
precision: number;
|
|
1663
1663
|
};
|
|
1664
|
-
|
|
1664
|
+
payAsset: {
|
|
1665
1665
|
symbol: string;
|
|
1666
1666
|
id: string;
|
|
1667
1667
|
name: string;
|
|
@@ -1669,13 +1669,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1669
1669
|
isActive: boolean;
|
|
1670
1670
|
precision: number;
|
|
1671
1671
|
};
|
|
1672
|
-
|
|
1672
|
+
payAccountType: {
|
|
1673
1673
|
id: string;
|
|
1674
1674
|
name: string;
|
|
1675
1675
|
key: string;
|
|
1676
1676
|
isActive: boolean;
|
|
1677
1677
|
};
|
|
1678
|
-
|
|
1678
|
+
receiveAccountType: {
|
|
1679
1679
|
id: string;
|
|
1680
1680
|
name: string;
|
|
1681
1681
|
key: string;
|
|
@@ -1725,7 +1725,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1725
1725
|
receiveAccountTypeId: string;
|
|
1726
1726
|
minPayAmount: string;
|
|
1727
1727
|
settlementMode: "available" | "locked";
|
|
1728
|
-
|
|
1728
|
+
targetAsset: {
|
|
1729
1729
|
symbol: string;
|
|
1730
1730
|
id: string;
|
|
1731
1731
|
name: string;
|
|
@@ -1733,7 +1733,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1733
1733
|
isActive: boolean;
|
|
1734
1734
|
precision: number;
|
|
1735
1735
|
};
|
|
1736
|
-
|
|
1736
|
+
payAsset: {
|
|
1737
1737
|
symbol: string;
|
|
1738
1738
|
id: string;
|
|
1739
1739
|
name: string;
|
|
@@ -1741,13 +1741,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1741
1741
|
isActive: boolean;
|
|
1742
1742
|
precision: number;
|
|
1743
1743
|
};
|
|
1744
|
-
|
|
1744
|
+
payAccountType: {
|
|
1745
1745
|
id: string;
|
|
1746
1746
|
name: string;
|
|
1747
1747
|
key: string;
|
|
1748
1748
|
isActive: boolean;
|
|
1749
1749
|
};
|
|
1750
|
-
|
|
1750
|
+
receiveAccountType: {
|
|
1751
1751
|
id: string;
|
|
1752
1752
|
name: string;
|
|
1753
1753
|
key: string;
|
|
@@ -1812,7 +1812,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1812
1812
|
receiveAccountTypeId: string;
|
|
1813
1813
|
minPayAmount: string;
|
|
1814
1814
|
settlementMode: "available" | "locked";
|
|
1815
|
-
|
|
1815
|
+
targetAsset: {
|
|
1816
1816
|
symbol: string;
|
|
1817
1817
|
id: string;
|
|
1818
1818
|
name: string;
|
|
@@ -1820,7 +1820,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1820
1820
|
isActive: boolean;
|
|
1821
1821
|
precision: number;
|
|
1822
1822
|
};
|
|
1823
|
-
|
|
1823
|
+
payAsset: {
|
|
1824
1824
|
symbol: string;
|
|
1825
1825
|
id: string;
|
|
1826
1826
|
name: string;
|
|
@@ -1828,13 +1828,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1828
1828
|
isActive: boolean;
|
|
1829
1829
|
precision: number;
|
|
1830
1830
|
};
|
|
1831
|
-
|
|
1831
|
+
payAccountType: {
|
|
1832
1832
|
id: string;
|
|
1833
1833
|
name: string;
|
|
1834
1834
|
key: string;
|
|
1835
1835
|
isActive: boolean;
|
|
1836
1836
|
};
|
|
1837
|
-
|
|
1837
|
+
receiveAccountType: {
|
|
1838
1838
|
id: string;
|
|
1839
1839
|
name: string;
|
|
1840
1840
|
key: string;
|
|
@@ -1890,18 +1890,26 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1890
1890
|
response: {
|
|
1891
1891
|
200: {
|
|
1892
1892
|
data: {
|
|
1893
|
-
|
|
1893
|
+
debitLedgerEntry?: {
|
|
1894
1894
|
id: string;
|
|
1895
1895
|
createdAt: Date;
|
|
1896
1896
|
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";
|
|
1897
1897
|
amount: string;
|
|
1898
1898
|
} | undefined;
|
|
1899
|
-
|
|
1899
|
+
creditLedgerEntry?: {
|
|
1900
1900
|
id: string;
|
|
1901
1901
|
createdAt: Date;
|
|
1902
1902
|
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";
|
|
1903
1903
|
amount: string;
|
|
1904
1904
|
} | undefined;
|
|
1905
|
+
user: {
|
|
1906
|
+
email: string;
|
|
1907
|
+
id: string;
|
|
1908
|
+
username: string | null;
|
|
1909
|
+
displayUsername: string | null;
|
|
1910
|
+
phoneNumber: string | null;
|
|
1911
|
+
banned: boolean | null;
|
|
1912
|
+
};
|
|
1905
1913
|
id: string;
|
|
1906
1914
|
createdAt: Date;
|
|
1907
1915
|
updatedAt: Date;
|
|
@@ -1924,7 +1932,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1924
1932
|
creditLedgerEntryId: string | null;
|
|
1925
1933
|
failureCode: string | null;
|
|
1926
1934
|
failureReason: string | null;
|
|
1927
|
-
|
|
1935
|
+
product: {
|
|
1936
|
+
id: string;
|
|
1937
|
+
name: string;
|
|
1938
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1939
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1940
|
+
};
|
|
1941
|
+
payAssetSnapshot: {
|
|
1928
1942
|
symbol: string;
|
|
1929
1943
|
id: string;
|
|
1930
1944
|
name: string;
|
|
@@ -1932,7 +1946,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1932
1946
|
isActive: boolean;
|
|
1933
1947
|
precision: number;
|
|
1934
1948
|
};
|
|
1935
|
-
|
|
1949
|
+
targetAssetSnapshot: {
|
|
1936
1950
|
symbol: string;
|
|
1937
1951
|
id: string;
|
|
1938
1952
|
name: string;
|
|
@@ -1940,21 +1954,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1940
1954
|
isActive: boolean;
|
|
1941
1955
|
precision: number;
|
|
1942
1956
|
};
|
|
1943
|
-
|
|
1944
|
-
email: string;
|
|
1945
|
-
id: string;
|
|
1946
|
-
username: string | null;
|
|
1947
|
-
displayUsername: string | null;
|
|
1948
|
-
phoneNumber: string | null;
|
|
1949
|
-
banned: boolean | null;
|
|
1950
|
-
};
|
|
1951
|
-
productInfo: {
|
|
1952
|
-
id: string;
|
|
1953
|
-
name: string;
|
|
1954
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1955
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1956
|
-
};
|
|
1957
|
-
quoteAssetInfo: {
|
|
1957
|
+
quoteAssetSnapshot: {
|
|
1958
1958
|
symbol: string;
|
|
1959
1959
|
id: string;
|
|
1960
1960
|
name: string;
|
|
@@ -1962,13 +1962,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1962
1962
|
isActive: boolean;
|
|
1963
1963
|
precision: number;
|
|
1964
1964
|
};
|
|
1965
|
-
|
|
1965
|
+
sourcePayAccount: {
|
|
1966
1966
|
id: string;
|
|
1967
1967
|
status: "active" | "frozen" | "disabled";
|
|
1968
1968
|
assetId: string;
|
|
1969
1969
|
ledgerAccountTypeId: string;
|
|
1970
1970
|
};
|
|
1971
|
-
|
|
1971
|
+
receiveAccount: {
|
|
1972
1972
|
id: string;
|
|
1973
1973
|
status: "active" | "frozen" | "disabled";
|
|
1974
1974
|
assetId: string;
|
|
@@ -2011,18 +2011,26 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2011
2011
|
headers: {};
|
|
2012
2012
|
response: {
|
|
2013
2013
|
200: {
|
|
2014
|
-
|
|
2014
|
+
debitLedgerEntry?: {
|
|
2015
2015
|
id: string;
|
|
2016
2016
|
createdAt: Date;
|
|
2017
2017
|
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";
|
|
2018
2018
|
amount: string;
|
|
2019
2019
|
} | undefined;
|
|
2020
|
-
|
|
2020
|
+
creditLedgerEntry?: {
|
|
2021
2021
|
id: string;
|
|
2022
2022
|
createdAt: Date;
|
|
2023
2023
|
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";
|
|
2024
2024
|
amount: string;
|
|
2025
2025
|
} | undefined;
|
|
2026
|
+
user: {
|
|
2027
|
+
email: string;
|
|
2028
|
+
id: string;
|
|
2029
|
+
username: string | null;
|
|
2030
|
+
displayUsername: string | null;
|
|
2031
|
+
phoneNumber: string | null;
|
|
2032
|
+
banned: boolean | null;
|
|
2033
|
+
};
|
|
2026
2034
|
id: string;
|
|
2027
2035
|
createdAt: Date;
|
|
2028
2036
|
updatedAt: Date;
|
|
@@ -2045,7 +2053,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2045
2053
|
creditLedgerEntryId: string | null;
|
|
2046
2054
|
failureCode: string | null;
|
|
2047
2055
|
failureReason: string | null;
|
|
2048
|
-
|
|
2056
|
+
product: {
|
|
2057
|
+
id: string;
|
|
2058
|
+
name: string;
|
|
2059
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2060
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2061
|
+
};
|
|
2062
|
+
payAssetSnapshot: {
|
|
2049
2063
|
symbol: string;
|
|
2050
2064
|
id: string;
|
|
2051
2065
|
name: string;
|
|
@@ -2053,7 +2067,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2053
2067
|
isActive: boolean;
|
|
2054
2068
|
precision: number;
|
|
2055
2069
|
};
|
|
2056
|
-
|
|
2070
|
+
targetAssetSnapshot: {
|
|
2057
2071
|
symbol: string;
|
|
2058
2072
|
id: string;
|
|
2059
2073
|
name: string;
|
|
@@ -2061,21 +2075,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2061
2075
|
isActive: boolean;
|
|
2062
2076
|
precision: number;
|
|
2063
2077
|
};
|
|
2064
|
-
|
|
2065
|
-
email: string;
|
|
2066
|
-
id: string;
|
|
2067
|
-
username: string | null;
|
|
2068
|
-
displayUsername: string | null;
|
|
2069
|
-
phoneNumber: string | null;
|
|
2070
|
-
banned: boolean | null;
|
|
2071
|
-
};
|
|
2072
|
-
productInfo: {
|
|
2073
|
-
id: string;
|
|
2074
|
-
name: string;
|
|
2075
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
2076
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2077
|
-
};
|
|
2078
|
-
quoteAssetInfo: {
|
|
2078
|
+
quoteAssetSnapshot: {
|
|
2079
2079
|
symbol: string;
|
|
2080
2080
|
id: string;
|
|
2081
2081
|
name: string;
|
|
@@ -2083,13 +2083,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2083
2083
|
isActive: boolean;
|
|
2084
2084
|
precision: number;
|
|
2085
2085
|
};
|
|
2086
|
-
|
|
2086
|
+
sourcePayAccount: {
|
|
2087
2087
|
id: string;
|
|
2088
2088
|
status: "active" | "frozen" | "disabled";
|
|
2089
2089
|
assetId: string;
|
|
2090
2090
|
ledgerAccountTypeId: string;
|
|
2091
2091
|
};
|
|
2092
|
-
|
|
2092
|
+
receiveAccount: {
|
|
2093
2093
|
id: string;
|
|
2094
2094
|
status: "active" | "frozen" | "disabled";
|
|
2095
2095
|
assetId: string;
|
|
@@ -2126,18 +2126,26 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2126
2126
|
headers: {};
|
|
2127
2127
|
response: {
|
|
2128
2128
|
200: {
|
|
2129
|
-
|
|
2129
|
+
debitLedgerEntry?: {
|
|
2130
2130
|
id: string;
|
|
2131
2131
|
createdAt: Date;
|
|
2132
2132
|
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";
|
|
2133
2133
|
amount: string;
|
|
2134
2134
|
} | undefined;
|
|
2135
|
-
|
|
2135
|
+
creditLedgerEntry?: {
|
|
2136
2136
|
id: string;
|
|
2137
2137
|
createdAt: Date;
|
|
2138
2138
|
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";
|
|
2139
2139
|
amount: string;
|
|
2140
2140
|
} | undefined;
|
|
2141
|
+
user: {
|
|
2142
|
+
email: string;
|
|
2143
|
+
id: string;
|
|
2144
|
+
username: string | null;
|
|
2145
|
+
displayUsername: string | null;
|
|
2146
|
+
phoneNumber: string | null;
|
|
2147
|
+
banned: boolean | null;
|
|
2148
|
+
};
|
|
2141
2149
|
id: string;
|
|
2142
2150
|
createdAt: Date;
|
|
2143
2151
|
updatedAt: Date;
|
|
@@ -2160,7 +2168,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2160
2168
|
creditLedgerEntryId: string | null;
|
|
2161
2169
|
failureCode: string | null;
|
|
2162
2170
|
failureReason: string | null;
|
|
2163
|
-
|
|
2171
|
+
product: {
|
|
2172
|
+
id: string;
|
|
2173
|
+
name: string;
|
|
2174
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2175
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2176
|
+
};
|
|
2177
|
+
payAssetSnapshot: {
|
|
2164
2178
|
symbol: string;
|
|
2165
2179
|
id: string;
|
|
2166
2180
|
name: string;
|
|
@@ -2168,7 +2182,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2168
2182
|
isActive: boolean;
|
|
2169
2183
|
precision: number;
|
|
2170
2184
|
};
|
|
2171
|
-
|
|
2185
|
+
targetAssetSnapshot: {
|
|
2172
2186
|
symbol: string;
|
|
2173
2187
|
id: string;
|
|
2174
2188
|
name: string;
|
|
@@ -2176,21 +2190,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2176
2190
|
isActive: boolean;
|
|
2177
2191
|
precision: number;
|
|
2178
2192
|
};
|
|
2179
|
-
|
|
2180
|
-
email: string;
|
|
2181
|
-
id: string;
|
|
2182
|
-
username: string | null;
|
|
2183
|
-
displayUsername: string | null;
|
|
2184
|
-
phoneNumber: string | null;
|
|
2185
|
-
banned: boolean | null;
|
|
2186
|
-
};
|
|
2187
|
-
productInfo: {
|
|
2188
|
-
id: string;
|
|
2189
|
-
name: string;
|
|
2190
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
2191
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2192
|
-
};
|
|
2193
|
-
quoteAssetInfo: {
|
|
2193
|
+
quoteAssetSnapshot: {
|
|
2194
2194
|
symbol: string;
|
|
2195
2195
|
id: string;
|
|
2196
2196
|
name: string;
|
|
@@ -2198,13 +2198,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2198
2198
|
isActive: boolean;
|
|
2199
2199
|
precision: number;
|
|
2200
2200
|
};
|
|
2201
|
-
|
|
2201
|
+
sourcePayAccount: {
|
|
2202
2202
|
id: string;
|
|
2203
2203
|
status: "active" | "frozen" | "disabled";
|
|
2204
2204
|
assetId: string;
|
|
2205
2205
|
ledgerAccountTypeId: string;
|
|
2206
2206
|
};
|
|
2207
|
-
|
|
2207
|
+
receiveAccount: {
|
|
2208
2208
|
id: string;
|
|
2209
2209
|
status: "active" | "frozen" | "disabled";
|
|
2210
2210
|
assetId: string;
|