@r2wa-org/eden 0.0.70 → 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.
@@ -1313,6 +1313,7 @@ export declare const adminRouter: Elysia<"/admin", {
1313
1313
  id: string;
1314
1314
  name: string;
1315
1315
  code: string;
1316
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1316
1317
  isActive: boolean;
1317
1318
  precision: number;
1318
1319
  };
@@ -1321,6 +1322,7 @@ export declare const adminRouter: Elysia<"/admin", {
1321
1322
  id: string;
1322
1323
  name: string;
1323
1324
  code: string;
1325
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1324
1326
  isActive: boolean;
1325
1327
  precision: number;
1326
1328
  };
@@ -1398,6 +1400,7 @@ export declare const adminRouter: Elysia<"/admin", {
1398
1400
  id: string;
1399
1401
  name: string;
1400
1402
  code: string;
1403
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1401
1404
  isActive: boolean;
1402
1405
  precision: number;
1403
1406
  };
@@ -1406,6 +1409,7 @@ export declare const adminRouter: Elysia<"/admin", {
1406
1409
  id: string;
1407
1410
  name: string;
1408
1411
  code: string;
1412
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1409
1413
  isActive: boolean;
1410
1414
  precision: number;
1411
1415
  };
@@ -1472,6 +1476,7 @@ export declare const adminRouter: Elysia<"/admin", {
1472
1476
  id: string;
1473
1477
  name: string;
1474
1478
  code: string;
1479
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1475
1480
  isActive: boolean;
1476
1481
  precision: number;
1477
1482
  };
@@ -1480,6 +1485,7 @@ export declare const adminRouter: Elysia<"/admin", {
1480
1485
  id: string;
1481
1486
  name: string;
1482
1487
  code: string;
1488
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1483
1489
  isActive: boolean;
1484
1490
  precision: number;
1485
1491
  };
@@ -1547,6 +1553,7 @@ export declare const adminRouter: Elysia<"/admin", {
1547
1553
  id: string;
1548
1554
  name: string;
1549
1555
  code: string;
1556
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1550
1557
  isActive: boolean;
1551
1558
  precision: number;
1552
1559
  };
@@ -1555,6 +1562,7 @@ export declare const adminRouter: Elysia<"/admin", {
1555
1562
  id: string;
1556
1563
  name: string;
1557
1564
  code: string;
1565
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1558
1566
  isActive: boolean;
1559
1567
  precision: number;
1560
1568
  };
@@ -1622,6 +1630,7 @@ export declare const adminRouter: Elysia<"/admin", {
1622
1630
  id: string;
1623
1631
  name: string;
1624
1632
  code: string;
1633
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1625
1634
  isActive: boolean;
1626
1635
  precision: number;
1627
1636
  };
@@ -1630,6 +1639,7 @@ export declare const adminRouter: Elysia<"/admin", {
1630
1639
  id: string;
1631
1640
  name: string;
1632
1641
  code: string;
1642
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1633
1643
  isActive: boolean;
1634
1644
  precision: number;
1635
1645
  };
@@ -1696,6 +1706,7 @@ export declare const adminRouter: Elysia<"/admin", {
1696
1706
  id: string;
1697
1707
  name: string;
1698
1708
  code: string;
1709
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1699
1710
  isActive: boolean;
1700
1711
  precision: number;
1701
1712
  };
@@ -1704,6 +1715,7 @@ export declare const adminRouter: Elysia<"/admin", {
1704
1715
  id: string;
1705
1716
  name: string;
1706
1717
  code: string;
1718
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1707
1719
  isActive: boolean;
1708
1720
  precision: number;
1709
1721
  };
@@ -1787,6 +1799,7 @@ export declare const adminRouter: Elysia<"/admin", {
1787
1799
  id: string;
1788
1800
  name: string;
1789
1801
  code: string;
1802
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1790
1803
  isActive: boolean;
1791
1804
  precision: number;
1792
1805
  };
@@ -1795,6 +1808,7 @@ export declare const adminRouter: Elysia<"/admin", {
1795
1808
  id: string;
1796
1809
  name: string;
1797
1810
  code: string;
1811
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1798
1812
  isActive: boolean;
1799
1813
  precision: number;
1800
1814
  };
@@ -1865,12 +1879,16 @@ export declare const adminRouter: Elysia<"/admin", {
1865
1879
  createdAt: Date;
1866
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";
1867
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";
1868
1884
  } | undefined;
1869
1885
  creditLedgerEntry?: {
1870
1886
  id: string;
1871
1887
  createdAt: Date;
1872
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";
1873
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";
1874
1892
  } | undefined;
1875
1893
  user: {
1876
1894
  email: string;
@@ -1905,14 +1923,56 @@ export declare const adminRouter: Elysia<"/admin", {
1905
1923
  product: {
1906
1924
  id: string;
1907
1925
  name: string;
1926
+ createdAt: Date;
1927
+ updatedAt: Date;
1928
+ description: string | null;
1908
1929
  status: "active" | "draft" | "paused" | "ended";
1909
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
+ };
1910
1969
  };
1911
1970
  payAssetSnapshot: {
1912
1971
  symbol: string;
1913
1972
  id: string;
1914
1973
  name: string;
1915
1974
  code: string;
1975
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1916
1976
  isActive: boolean;
1917
1977
  precision: number;
1918
1978
  };
@@ -1921,6 +1981,7 @@ export declare const adminRouter: Elysia<"/admin", {
1921
1981
  id: string;
1922
1982
  name: string;
1923
1983
  code: string;
1984
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1924
1985
  isActive: boolean;
1925
1986
  precision: number;
1926
1987
  };
@@ -1929,17 +1990,20 @@ export declare const adminRouter: Elysia<"/admin", {
1929
1990
  id: string;
1930
1991
  name: string;
1931
1992
  code: string;
1993
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1932
1994
  isActive: boolean;
1933
1995
  precision: number;
1934
1996
  };
1935
1997
  sourcePayAccount: {
1936
1998
  id: string;
1999
+ userId: string;
1937
2000
  status: "active" | "frozen" | "disabled";
1938
2001
  assetId: string;
1939
2002
  ledgerAccountTypeId: string;
1940
2003
  };
1941
2004
  receiveAccount: {
1942
2005
  id: string;
2006
+ userId: string;
1943
2007
  status: "active" | "frozen" | "disabled";
1944
2008
  assetId: string;
1945
2009
  ledgerAccountTypeId: string;
@@ -1986,12 +2050,16 @@ export declare const adminRouter: Elysia<"/admin", {
1986
2050
  createdAt: Date;
1987
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";
1988
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";
1989
2055
  } | undefined;
1990
2056
  creditLedgerEntry?: {
1991
2057
  id: string;
1992
2058
  createdAt: Date;
1993
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";
1994
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";
1995
2063
  } | undefined;
1996
2064
  user: {
1997
2065
  email: string;
@@ -2026,14 +2094,56 @@ export declare const adminRouter: Elysia<"/admin", {
2026
2094
  product: {
2027
2095
  id: string;
2028
2096
  name: string;
2097
+ createdAt: Date;
2098
+ updatedAt: Date;
2099
+ description: string | null;
2029
2100
  status: "active" | "draft" | "paused" | "ended";
2030
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
+ };
2031
2140
  };
2032
2141
  payAssetSnapshot: {
2033
2142
  symbol: string;
2034
2143
  id: string;
2035
2144
  name: string;
2036
2145
  code: string;
2146
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2037
2147
  isActive: boolean;
2038
2148
  precision: number;
2039
2149
  };
@@ -2042,6 +2152,7 @@ export declare const adminRouter: Elysia<"/admin", {
2042
2152
  id: string;
2043
2153
  name: string;
2044
2154
  code: string;
2155
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2045
2156
  isActive: boolean;
2046
2157
  precision: number;
2047
2158
  };
@@ -2050,17 +2161,20 @@ export declare const adminRouter: Elysia<"/admin", {
2050
2161
  id: string;
2051
2162
  name: string;
2052
2163
  code: string;
2164
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2053
2165
  isActive: boolean;
2054
2166
  precision: number;
2055
2167
  };
2056
2168
  sourcePayAccount: {
2057
2169
  id: string;
2170
+ userId: string;
2058
2171
  status: "active" | "frozen" | "disabled";
2059
2172
  assetId: string;
2060
2173
  ledgerAccountTypeId: string;
2061
2174
  };
2062
2175
  receiveAccount: {
2063
2176
  id: string;
2177
+ userId: string;
2064
2178
  status: "active" | "frozen" | "disabled";
2065
2179
  assetId: string;
2066
2180
  ledgerAccountTypeId: string;
@@ -2101,12 +2215,16 @@ export declare const adminRouter: Elysia<"/admin", {
2101
2215
  createdAt: Date;
2102
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";
2103
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";
2104
2220
  } | undefined;
2105
2221
  creditLedgerEntry?: {
2106
2222
  id: string;
2107
2223
  createdAt: Date;
2108
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";
2109
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";
2110
2228
  } | undefined;
2111
2229
  user: {
2112
2230
  email: string;
@@ -2141,14 +2259,56 @@ export declare const adminRouter: Elysia<"/admin", {
2141
2259
  product: {
2142
2260
  id: string;
2143
2261
  name: string;
2262
+ createdAt: Date;
2263
+ updatedAt: Date;
2264
+ description: string | null;
2144
2265
  status: "active" | "draft" | "paused" | "ended";
2145
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
+ };
2146
2305
  };
2147
2306
  payAssetSnapshot: {
2148
2307
  symbol: string;
2149
2308
  id: string;
2150
2309
  name: string;
2151
2310
  code: string;
2311
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2152
2312
  isActive: boolean;
2153
2313
  precision: number;
2154
2314
  };
@@ -2157,6 +2317,7 @@ export declare const adminRouter: Elysia<"/admin", {
2157
2317
  id: string;
2158
2318
  name: string;
2159
2319
  code: string;
2320
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2160
2321
  isActive: boolean;
2161
2322
  precision: number;
2162
2323
  };
@@ -2165,17 +2326,20 @@ export declare const adminRouter: Elysia<"/admin", {
2165
2326
  id: string;
2166
2327
  name: string;
2167
2328
  code: string;
2329
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2168
2330
  isActive: boolean;
2169
2331
  precision: number;
2170
2332
  };
2171
2333
  sourcePayAccount: {
2172
2334
  id: string;
2335
+ userId: string;
2173
2336
  status: "active" | "frozen" | "disabled";
2174
2337
  assetId: string;
2175
2338
  ledgerAccountTypeId: string;
2176
2339
  };
2177
2340
  receiveAccount: {
2178
2341
  id: string;
2342
+ userId: string;
2179
2343
  status: "active" | "frozen" | "disabled";
2180
2344
  assetId: string;
2181
2345
  ledgerAccountTypeId: string;