@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
package/dist/src/index.d.ts
CHANGED
|
@@ -1601,6 +1601,7 @@ declare const app: Elysia<"/api", {
|
|
|
1601
1601
|
description?: string | null | undefined;
|
|
1602
1602
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1603
1603
|
allowPurchase?: boolean | undefined;
|
|
1604
|
+
isHot?: boolean | undefined;
|
|
1604
1605
|
name: string;
|
|
1605
1606
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1606
1607
|
targetAssetId: string;
|
|
@@ -1629,11 +1630,13 @@ declare const app: Elysia<"/api", {
|
|
|
1629
1630
|
minPayAmount: string;
|
|
1630
1631
|
settlementMode: "available" | "locked";
|
|
1631
1632
|
allowPurchase: boolean;
|
|
1633
|
+
isHot: boolean;
|
|
1632
1634
|
targetAsset: {
|
|
1633
1635
|
symbol: string;
|
|
1634
1636
|
id: string;
|
|
1635
1637
|
name: string;
|
|
1636
1638
|
code: string;
|
|
1639
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1637
1640
|
isActive: boolean;
|
|
1638
1641
|
precision: number;
|
|
1639
1642
|
};
|
|
@@ -1642,6 +1645,7 @@ declare const app: Elysia<"/api", {
|
|
|
1642
1645
|
id: string;
|
|
1643
1646
|
name: string;
|
|
1644
1647
|
code: string;
|
|
1648
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1645
1649
|
isActive: boolean;
|
|
1646
1650
|
precision: number;
|
|
1647
1651
|
};
|
|
@@ -1690,6 +1694,7 @@ declare const app: Elysia<"/api", {
|
|
|
1690
1694
|
minPayAmount?: string | undefined;
|
|
1691
1695
|
settlementMode?: "available" | "locked" | undefined;
|
|
1692
1696
|
allowPurchase?: boolean | undefined;
|
|
1697
|
+
isHot?: boolean | undefined;
|
|
1693
1698
|
};
|
|
1694
1699
|
params: {
|
|
1695
1700
|
id: string;
|
|
@@ -1712,11 +1717,13 @@ declare const app: Elysia<"/api", {
|
|
|
1712
1717
|
minPayAmount: string;
|
|
1713
1718
|
settlementMode: "available" | "locked";
|
|
1714
1719
|
allowPurchase: boolean;
|
|
1720
|
+
isHot: boolean;
|
|
1715
1721
|
targetAsset: {
|
|
1716
1722
|
symbol: string;
|
|
1717
1723
|
id: string;
|
|
1718
1724
|
name: string;
|
|
1719
1725
|
code: string;
|
|
1726
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1720
1727
|
isActive: boolean;
|
|
1721
1728
|
precision: number;
|
|
1722
1729
|
};
|
|
@@ -1725,6 +1732,7 @@ declare const app: Elysia<"/api", {
|
|
|
1725
1732
|
id: string;
|
|
1726
1733
|
name: string;
|
|
1727
1734
|
code: string;
|
|
1735
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1728
1736
|
isActive: boolean;
|
|
1729
1737
|
precision: number;
|
|
1730
1738
|
};
|
|
@@ -1785,11 +1793,13 @@ declare const app: Elysia<"/api", {
|
|
|
1785
1793
|
minPayAmount: string;
|
|
1786
1794
|
settlementMode: "available" | "locked";
|
|
1787
1795
|
allowPurchase: boolean;
|
|
1796
|
+
isHot: boolean;
|
|
1788
1797
|
targetAsset: {
|
|
1789
1798
|
symbol: string;
|
|
1790
1799
|
id: string;
|
|
1791
1800
|
name: string;
|
|
1792
1801
|
code: string;
|
|
1802
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1793
1803
|
isActive: boolean;
|
|
1794
1804
|
precision: number;
|
|
1795
1805
|
};
|
|
@@ -1798,6 +1808,7 @@ declare const app: Elysia<"/api", {
|
|
|
1798
1808
|
id: string;
|
|
1799
1809
|
name: string;
|
|
1800
1810
|
code: string;
|
|
1811
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1801
1812
|
isActive: boolean;
|
|
1802
1813
|
precision: number;
|
|
1803
1814
|
};
|
|
@@ -1859,11 +1870,13 @@ declare const app: Elysia<"/api", {
|
|
|
1859
1870
|
minPayAmount: string;
|
|
1860
1871
|
settlementMode: "available" | "locked";
|
|
1861
1872
|
allowPurchase: boolean;
|
|
1873
|
+
isHot: boolean;
|
|
1862
1874
|
targetAsset: {
|
|
1863
1875
|
symbol: string;
|
|
1864
1876
|
id: string;
|
|
1865
1877
|
name: string;
|
|
1866
1878
|
code: string;
|
|
1879
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1867
1880
|
isActive: boolean;
|
|
1868
1881
|
precision: number;
|
|
1869
1882
|
};
|
|
@@ -1872,6 +1885,7 @@ declare const app: Elysia<"/api", {
|
|
|
1872
1885
|
id: string;
|
|
1873
1886
|
name: string;
|
|
1874
1887
|
code: string;
|
|
1888
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1875
1889
|
isActive: boolean;
|
|
1876
1890
|
precision: number;
|
|
1877
1891
|
};
|
|
@@ -1933,11 +1947,13 @@ declare const app: Elysia<"/api", {
|
|
|
1933
1947
|
minPayAmount: string;
|
|
1934
1948
|
settlementMode: "available" | "locked";
|
|
1935
1949
|
allowPurchase: boolean;
|
|
1950
|
+
isHot: boolean;
|
|
1936
1951
|
targetAsset: {
|
|
1937
1952
|
symbol: string;
|
|
1938
1953
|
id: string;
|
|
1939
1954
|
name: string;
|
|
1940
1955
|
code: string;
|
|
1956
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1941
1957
|
isActive: boolean;
|
|
1942
1958
|
precision: number;
|
|
1943
1959
|
};
|
|
@@ -1946,6 +1962,7 @@ declare const app: Elysia<"/api", {
|
|
|
1946
1962
|
id: string;
|
|
1947
1963
|
name: string;
|
|
1948
1964
|
code: string;
|
|
1965
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1949
1966
|
isActive: boolean;
|
|
1950
1967
|
precision: number;
|
|
1951
1968
|
};
|
|
@@ -2006,11 +2023,13 @@ declare const app: Elysia<"/api", {
|
|
|
2006
2023
|
minPayAmount: string;
|
|
2007
2024
|
settlementMode: "available" | "locked";
|
|
2008
2025
|
allowPurchase: boolean;
|
|
2026
|
+
isHot: boolean;
|
|
2009
2027
|
targetAsset: {
|
|
2010
2028
|
symbol: string;
|
|
2011
2029
|
id: string;
|
|
2012
2030
|
name: string;
|
|
2013
2031
|
code: string;
|
|
2032
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2014
2033
|
isActive: boolean;
|
|
2015
2034
|
precision: number;
|
|
2016
2035
|
};
|
|
@@ -2019,6 +2038,7 @@ declare const app: Elysia<"/api", {
|
|
|
2019
2038
|
id: string;
|
|
2020
2039
|
name: string;
|
|
2021
2040
|
code: string;
|
|
2041
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2022
2042
|
isActive: boolean;
|
|
2023
2043
|
precision: number;
|
|
2024
2044
|
};
|
|
@@ -2068,6 +2088,7 @@ declare const app: Elysia<"/api", {
|
|
|
2068
2088
|
receiveAccountTypeId?: string | undefined;
|
|
2069
2089
|
settlementMode?: "available" | "locked" | undefined;
|
|
2070
2090
|
allowPurchase?: boolean | undefined;
|
|
2091
|
+
isHot?: boolean | undefined;
|
|
2071
2092
|
limit?: number | undefined;
|
|
2072
2093
|
offset?: number | undefined;
|
|
2073
2094
|
pageSize?: number | undefined;
|
|
@@ -2095,11 +2116,13 @@ declare const app: Elysia<"/api", {
|
|
|
2095
2116
|
minPayAmount: string;
|
|
2096
2117
|
settlementMode: "available" | "locked";
|
|
2097
2118
|
allowPurchase: boolean;
|
|
2119
|
+
isHot: boolean;
|
|
2098
2120
|
targetAsset: {
|
|
2099
2121
|
symbol: string;
|
|
2100
2122
|
id: string;
|
|
2101
2123
|
name: string;
|
|
2102
2124
|
code: string;
|
|
2125
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2103
2126
|
isActive: boolean;
|
|
2104
2127
|
precision: number;
|
|
2105
2128
|
};
|
|
@@ -2108,6 +2131,7 @@ declare const app: Elysia<"/api", {
|
|
|
2108
2131
|
id: string;
|
|
2109
2132
|
name: string;
|
|
2110
2133
|
code: string;
|
|
2134
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2111
2135
|
isActive: boolean;
|
|
2112
2136
|
precision: number;
|
|
2113
2137
|
};
|
|
@@ -2178,12 +2202,16 @@ declare const app: Elysia<"/api", {
|
|
|
2178
2202
|
createdAt: Date;
|
|
2179
2203
|
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";
|
|
2180
2204
|
amount: string;
|
|
2205
|
+
referenceId: string;
|
|
2206
|
+
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";
|
|
2181
2207
|
} | undefined;
|
|
2182
2208
|
creditLedgerEntry?: {
|
|
2183
2209
|
id: string;
|
|
2184
2210
|
createdAt: Date;
|
|
2185
2211
|
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";
|
|
2186
2212
|
amount: string;
|
|
2213
|
+
referenceId: string;
|
|
2214
|
+
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";
|
|
2187
2215
|
} | undefined;
|
|
2188
2216
|
user: {
|
|
2189
2217
|
email: string;
|
|
@@ -2218,14 +2246,56 @@ declare const app: Elysia<"/api", {
|
|
|
2218
2246
|
product: {
|
|
2219
2247
|
id: string;
|
|
2220
2248
|
name: string;
|
|
2249
|
+
createdAt: Date;
|
|
2250
|
+
updatedAt: Date;
|
|
2251
|
+
description: string | null;
|
|
2221
2252
|
status: "active" | "draft" | "paused" | "ended";
|
|
2222
2253
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2254
|
+
targetAssetId: string;
|
|
2255
|
+
payAssetId: string;
|
|
2256
|
+
payAccountTypeId: string;
|
|
2257
|
+
receiveAccountTypeId: string;
|
|
2258
|
+
minPayAmount: string;
|
|
2259
|
+
settlementMode: "available" | "locked";
|
|
2260
|
+
allowPurchase: boolean;
|
|
2261
|
+
isHot: boolean;
|
|
2262
|
+
targetAsset: {
|
|
2263
|
+
symbol: string;
|
|
2264
|
+
id: string;
|
|
2265
|
+
name: string;
|
|
2266
|
+
code: string;
|
|
2267
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2268
|
+
isActive: boolean;
|
|
2269
|
+
precision: number;
|
|
2270
|
+
};
|
|
2271
|
+
payAsset: {
|
|
2272
|
+
symbol: string;
|
|
2273
|
+
id: string;
|
|
2274
|
+
name: string;
|
|
2275
|
+
code: string;
|
|
2276
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2277
|
+
isActive: boolean;
|
|
2278
|
+
precision: number;
|
|
2279
|
+
};
|
|
2280
|
+
payAccountType: {
|
|
2281
|
+
id: string;
|
|
2282
|
+
name: string;
|
|
2283
|
+
key: string;
|
|
2284
|
+
isActive: boolean;
|
|
2285
|
+
};
|
|
2286
|
+
receiveAccountType: {
|
|
2287
|
+
id: string;
|
|
2288
|
+
name: string;
|
|
2289
|
+
key: string;
|
|
2290
|
+
isActive: boolean;
|
|
2291
|
+
};
|
|
2223
2292
|
};
|
|
2224
2293
|
payAssetSnapshot: {
|
|
2225
2294
|
symbol: string;
|
|
2226
2295
|
id: string;
|
|
2227
2296
|
name: string;
|
|
2228
2297
|
code: string;
|
|
2298
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2229
2299
|
isActive: boolean;
|
|
2230
2300
|
precision: number;
|
|
2231
2301
|
};
|
|
@@ -2234,6 +2304,7 @@ declare const app: Elysia<"/api", {
|
|
|
2234
2304
|
id: string;
|
|
2235
2305
|
name: string;
|
|
2236
2306
|
code: string;
|
|
2307
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2237
2308
|
isActive: boolean;
|
|
2238
2309
|
precision: number;
|
|
2239
2310
|
};
|
|
@@ -2242,17 +2313,20 @@ declare const app: Elysia<"/api", {
|
|
|
2242
2313
|
id: string;
|
|
2243
2314
|
name: string;
|
|
2244
2315
|
code: string;
|
|
2316
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2245
2317
|
isActive: boolean;
|
|
2246
2318
|
precision: number;
|
|
2247
2319
|
};
|
|
2248
2320
|
sourcePayAccount: {
|
|
2249
2321
|
id: string;
|
|
2322
|
+
userId: string;
|
|
2250
2323
|
status: "active" | "frozen" | "disabled";
|
|
2251
2324
|
assetId: string;
|
|
2252
2325
|
ledgerAccountTypeId: string;
|
|
2253
2326
|
};
|
|
2254
2327
|
receiveAccount: {
|
|
2255
2328
|
id: string;
|
|
2329
|
+
userId: string;
|
|
2256
2330
|
status: "active" | "frozen" | "disabled";
|
|
2257
2331
|
assetId: string;
|
|
2258
2332
|
ledgerAccountTypeId: string;
|
|
@@ -2299,12 +2373,16 @@ declare const app: Elysia<"/api", {
|
|
|
2299
2373
|
createdAt: Date;
|
|
2300
2374
|
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";
|
|
2301
2375
|
amount: string;
|
|
2376
|
+
referenceId: string;
|
|
2377
|
+
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";
|
|
2302
2378
|
} | undefined;
|
|
2303
2379
|
creditLedgerEntry?: {
|
|
2304
2380
|
id: string;
|
|
2305
2381
|
createdAt: Date;
|
|
2306
2382
|
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";
|
|
2307
2383
|
amount: string;
|
|
2384
|
+
referenceId: string;
|
|
2385
|
+
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";
|
|
2308
2386
|
} | undefined;
|
|
2309
2387
|
user: {
|
|
2310
2388
|
email: string;
|
|
@@ -2339,14 +2417,56 @@ declare const app: Elysia<"/api", {
|
|
|
2339
2417
|
product: {
|
|
2340
2418
|
id: string;
|
|
2341
2419
|
name: string;
|
|
2420
|
+
createdAt: Date;
|
|
2421
|
+
updatedAt: Date;
|
|
2422
|
+
description: string | null;
|
|
2342
2423
|
status: "active" | "draft" | "paused" | "ended";
|
|
2343
2424
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2425
|
+
targetAssetId: string;
|
|
2426
|
+
payAssetId: string;
|
|
2427
|
+
payAccountTypeId: string;
|
|
2428
|
+
receiveAccountTypeId: string;
|
|
2429
|
+
minPayAmount: string;
|
|
2430
|
+
settlementMode: "available" | "locked";
|
|
2431
|
+
allowPurchase: boolean;
|
|
2432
|
+
isHot: boolean;
|
|
2433
|
+
targetAsset: {
|
|
2434
|
+
symbol: string;
|
|
2435
|
+
id: string;
|
|
2436
|
+
name: string;
|
|
2437
|
+
code: string;
|
|
2438
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2439
|
+
isActive: boolean;
|
|
2440
|
+
precision: number;
|
|
2441
|
+
};
|
|
2442
|
+
payAsset: {
|
|
2443
|
+
symbol: string;
|
|
2444
|
+
id: string;
|
|
2445
|
+
name: string;
|
|
2446
|
+
code: string;
|
|
2447
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2448
|
+
isActive: boolean;
|
|
2449
|
+
precision: number;
|
|
2450
|
+
};
|
|
2451
|
+
payAccountType: {
|
|
2452
|
+
id: string;
|
|
2453
|
+
name: string;
|
|
2454
|
+
key: string;
|
|
2455
|
+
isActive: boolean;
|
|
2456
|
+
};
|
|
2457
|
+
receiveAccountType: {
|
|
2458
|
+
id: string;
|
|
2459
|
+
name: string;
|
|
2460
|
+
key: string;
|
|
2461
|
+
isActive: boolean;
|
|
2462
|
+
};
|
|
2344
2463
|
};
|
|
2345
2464
|
payAssetSnapshot: {
|
|
2346
2465
|
symbol: string;
|
|
2347
2466
|
id: string;
|
|
2348
2467
|
name: string;
|
|
2349
2468
|
code: string;
|
|
2469
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2350
2470
|
isActive: boolean;
|
|
2351
2471
|
precision: number;
|
|
2352
2472
|
};
|
|
@@ -2355,6 +2475,7 @@ declare const app: Elysia<"/api", {
|
|
|
2355
2475
|
id: string;
|
|
2356
2476
|
name: string;
|
|
2357
2477
|
code: string;
|
|
2478
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2358
2479
|
isActive: boolean;
|
|
2359
2480
|
precision: number;
|
|
2360
2481
|
};
|
|
@@ -2363,17 +2484,20 @@ declare const app: Elysia<"/api", {
|
|
|
2363
2484
|
id: string;
|
|
2364
2485
|
name: string;
|
|
2365
2486
|
code: string;
|
|
2487
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2366
2488
|
isActive: boolean;
|
|
2367
2489
|
precision: number;
|
|
2368
2490
|
};
|
|
2369
2491
|
sourcePayAccount: {
|
|
2370
2492
|
id: string;
|
|
2493
|
+
userId: string;
|
|
2371
2494
|
status: "active" | "frozen" | "disabled";
|
|
2372
2495
|
assetId: string;
|
|
2373
2496
|
ledgerAccountTypeId: string;
|
|
2374
2497
|
};
|
|
2375
2498
|
receiveAccount: {
|
|
2376
2499
|
id: string;
|
|
2500
|
+
userId: string;
|
|
2377
2501
|
status: "active" | "frozen" | "disabled";
|
|
2378
2502
|
assetId: string;
|
|
2379
2503
|
ledgerAccountTypeId: string;
|
|
@@ -2414,12 +2538,16 @@ declare const app: Elysia<"/api", {
|
|
|
2414
2538
|
createdAt: Date;
|
|
2415
2539
|
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";
|
|
2416
2540
|
amount: string;
|
|
2541
|
+
referenceId: string;
|
|
2542
|
+
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";
|
|
2417
2543
|
} | undefined;
|
|
2418
2544
|
creditLedgerEntry?: {
|
|
2419
2545
|
id: string;
|
|
2420
2546
|
createdAt: Date;
|
|
2421
2547
|
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";
|
|
2422
2548
|
amount: string;
|
|
2549
|
+
referenceId: string;
|
|
2550
|
+
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";
|
|
2423
2551
|
} | undefined;
|
|
2424
2552
|
user: {
|
|
2425
2553
|
email: string;
|
|
@@ -2454,14 +2582,56 @@ declare const app: Elysia<"/api", {
|
|
|
2454
2582
|
product: {
|
|
2455
2583
|
id: string;
|
|
2456
2584
|
name: string;
|
|
2585
|
+
createdAt: Date;
|
|
2586
|
+
updatedAt: Date;
|
|
2587
|
+
description: string | null;
|
|
2457
2588
|
status: "active" | "draft" | "paused" | "ended";
|
|
2458
2589
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2590
|
+
targetAssetId: string;
|
|
2591
|
+
payAssetId: string;
|
|
2592
|
+
payAccountTypeId: string;
|
|
2593
|
+
receiveAccountTypeId: string;
|
|
2594
|
+
minPayAmount: string;
|
|
2595
|
+
settlementMode: "available" | "locked";
|
|
2596
|
+
allowPurchase: boolean;
|
|
2597
|
+
isHot: boolean;
|
|
2598
|
+
targetAsset: {
|
|
2599
|
+
symbol: string;
|
|
2600
|
+
id: string;
|
|
2601
|
+
name: string;
|
|
2602
|
+
code: string;
|
|
2603
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2604
|
+
isActive: boolean;
|
|
2605
|
+
precision: number;
|
|
2606
|
+
};
|
|
2607
|
+
payAsset: {
|
|
2608
|
+
symbol: string;
|
|
2609
|
+
id: string;
|
|
2610
|
+
name: string;
|
|
2611
|
+
code: string;
|
|
2612
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2613
|
+
isActive: boolean;
|
|
2614
|
+
precision: number;
|
|
2615
|
+
};
|
|
2616
|
+
payAccountType: {
|
|
2617
|
+
id: string;
|
|
2618
|
+
name: string;
|
|
2619
|
+
key: string;
|
|
2620
|
+
isActive: boolean;
|
|
2621
|
+
};
|
|
2622
|
+
receiveAccountType: {
|
|
2623
|
+
id: string;
|
|
2624
|
+
name: string;
|
|
2625
|
+
key: string;
|
|
2626
|
+
isActive: boolean;
|
|
2627
|
+
};
|
|
2459
2628
|
};
|
|
2460
2629
|
payAssetSnapshot: {
|
|
2461
2630
|
symbol: string;
|
|
2462
2631
|
id: string;
|
|
2463
2632
|
name: string;
|
|
2464
2633
|
code: string;
|
|
2634
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2465
2635
|
isActive: boolean;
|
|
2466
2636
|
precision: number;
|
|
2467
2637
|
};
|
|
@@ -2470,6 +2640,7 @@ declare const app: Elysia<"/api", {
|
|
|
2470
2640
|
id: string;
|
|
2471
2641
|
name: string;
|
|
2472
2642
|
code: string;
|
|
2643
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2473
2644
|
isActive: boolean;
|
|
2474
2645
|
precision: number;
|
|
2475
2646
|
};
|
|
@@ -2478,17 +2649,20 @@ declare const app: Elysia<"/api", {
|
|
|
2478
2649
|
id: string;
|
|
2479
2650
|
name: string;
|
|
2480
2651
|
code: string;
|
|
2652
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
2481
2653
|
isActive: boolean;
|
|
2482
2654
|
precision: number;
|
|
2483
2655
|
};
|
|
2484
2656
|
sourcePayAccount: {
|
|
2485
2657
|
id: string;
|
|
2658
|
+
userId: string;
|
|
2486
2659
|
status: "active" | "frozen" | "disabled";
|
|
2487
2660
|
assetId: string;
|
|
2488
2661
|
ledgerAccountTypeId: string;
|
|
2489
2662
|
};
|
|
2490
2663
|
receiveAccount: {
|
|
2491
2664
|
id: string;
|
|
2665
|
+
userId: string;
|
|
2492
2666
|
status: "active" | "frozen" | "disabled";
|
|
2493
2667
|
assetId: string;
|
|
2494
2668
|
ledgerAccountTypeId: string;
|
|
@@ -6697,10 +6871,10 @@ declare const app: Elysia<"/api", {
|
|
|
6697
6871
|
scope?: string[] | undefined;
|
|
6698
6872
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6699
6873
|
sortOrder?: number | undefined;
|
|
6874
|
+
isHot?: boolean | undefined;
|
|
6700
6875
|
summary?: string | null | undefined;
|
|
6701
6876
|
categoryId?: string | undefined;
|
|
6702
6877
|
isPinned?: boolean | undefined;
|
|
6703
|
-
isHot?: boolean | undefined;
|
|
6704
6878
|
hasVideo?: boolean | undefined;
|
|
6705
6879
|
requireReadConfirmation?: boolean | undefined;
|
|
6706
6880
|
externalUrl?: string | null | undefined;
|
|
@@ -6755,13 +6929,13 @@ declare const app: Elysia<"/api", {
|
|
|
6755
6929
|
deletedAt: Date | null;
|
|
6756
6930
|
status: "archived" | "draft" | "published";
|
|
6757
6931
|
sortOrder: number;
|
|
6932
|
+
isHot: boolean;
|
|
6758
6933
|
createdBy: string;
|
|
6759
6934
|
title: string;
|
|
6760
6935
|
content: string;
|
|
6761
6936
|
summary: string | null;
|
|
6762
6937
|
categoryId: string;
|
|
6763
6938
|
isPinned: boolean;
|
|
6764
|
-
isHot: boolean;
|
|
6765
6939
|
hasVideo: boolean;
|
|
6766
6940
|
requireReadConfirmation: boolean;
|
|
6767
6941
|
externalUrl: string | null;
|
|
@@ -6823,13 +6997,13 @@ declare const app: Elysia<"/api", {
|
|
|
6823
6997
|
deletedAt: Date | null;
|
|
6824
6998
|
status: "archived" | "draft" | "published";
|
|
6825
6999
|
sortOrder: number;
|
|
7000
|
+
isHot: boolean;
|
|
6826
7001
|
createdBy: string;
|
|
6827
7002
|
title: string;
|
|
6828
7003
|
content: string;
|
|
6829
7004
|
summary: string | null;
|
|
6830
7005
|
categoryId: string;
|
|
6831
7006
|
isPinned: boolean;
|
|
6832
|
-
isHot: boolean;
|
|
6833
7007
|
hasVideo: boolean;
|
|
6834
7008
|
requireReadConfirmation: boolean;
|
|
6835
7009
|
externalUrl: string | null;
|
|
@@ -6905,12 +7079,12 @@ declare const app: Elysia<"/api", {
|
|
|
6905
7079
|
scope?: string[] | undefined;
|
|
6906
7080
|
status?: "archived" | "draft" | "published" | undefined;
|
|
6907
7081
|
sortOrder?: number | undefined;
|
|
7082
|
+
isHot?: boolean | undefined;
|
|
6908
7083
|
title?: string | undefined;
|
|
6909
7084
|
content?: string | undefined;
|
|
6910
7085
|
summary?: string | null | undefined;
|
|
6911
7086
|
categoryId?: string | undefined;
|
|
6912
7087
|
isPinned?: boolean | undefined;
|
|
6913
|
-
isHot?: boolean | undefined;
|
|
6914
7088
|
hasVideo?: boolean | undefined;
|
|
6915
7089
|
requireReadConfirmation?: boolean | undefined;
|
|
6916
7090
|
externalUrl?: string | null | undefined;
|
|
@@ -9316,6 +9490,7 @@ declare const app: Elysia<"/api", {
|
|
|
9316
9490
|
params: {};
|
|
9317
9491
|
query: {
|
|
9318
9492
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
9493
|
+
isHot?: boolean | undefined;
|
|
9319
9494
|
limit?: number | undefined;
|
|
9320
9495
|
offset?: number | undefined;
|
|
9321
9496
|
pageSize?: number | undefined;
|
|
@@ -9350,6 +9525,7 @@ declare const app: Elysia<"/api", {
|
|
|
9350
9525
|
minPayAmount: string;
|
|
9351
9526
|
settlementMode: "available" | "locked";
|
|
9352
9527
|
allowPurchase: boolean;
|
|
9528
|
+
isHot: boolean;
|
|
9353
9529
|
targetAsset: {
|
|
9354
9530
|
symbol: string;
|
|
9355
9531
|
id: string;
|
|
@@ -9443,6 +9619,7 @@ declare const app: Elysia<"/api", {
|
|
|
9443
9619
|
minPayAmount: string;
|
|
9444
9620
|
settlementMode: "available" | "locked";
|
|
9445
9621
|
allowPurchase: boolean;
|
|
9622
|
+
isHot: boolean;
|
|
9446
9623
|
targetAsset: {
|
|
9447
9624
|
symbol: string;
|
|
9448
9625
|
id: string;
|
|
@@ -13066,13 +13243,13 @@ declare const app: Elysia<"/api", {
|
|
|
13066
13243
|
scope: string[];
|
|
13067
13244
|
status: "archived" | "draft" | "published";
|
|
13068
13245
|
sortOrder: number;
|
|
13246
|
+
isHot: boolean;
|
|
13069
13247
|
createdBy: string;
|
|
13070
13248
|
title: string;
|
|
13071
13249
|
content: string;
|
|
13072
13250
|
summary: string | null;
|
|
13073
13251
|
categoryId: string;
|
|
13074
13252
|
isPinned: boolean;
|
|
13075
|
-
isHot: boolean;
|
|
13076
13253
|
hasVideo: boolean;
|
|
13077
13254
|
requireReadConfirmation: boolean;
|
|
13078
13255
|
externalUrl: string | null;
|
|
@@ -13124,13 +13301,13 @@ declare const app: Elysia<"/api", {
|
|
|
13124
13301
|
scope: string[];
|
|
13125
13302
|
status: "archived" | "draft" | "published";
|
|
13126
13303
|
sortOrder: number;
|
|
13304
|
+
isHot: boolean;
|
|
13127
13305
|
createdBy: string;
|
|
13128
13306
|
title: string;
|
|
13129
13307
|
content: string;
|
|
13130
13308
|
summary: string | null;
|
|
13131
13309
|
categoryId: string;
|
|
13132
13310
|
isPinned: boolean;
|
|
13133
|
-
isHot: boolean;
|
|
13134
13311
|
hasVideo: boolean;
|
|
13135
13312
|
requireReadConfirmation: boolean;
|
|
13136
13313
|
externalUrl: string | null;
|
|
@@ -13198,13 +13375,13 @@ declare const app: Elysia<"/api", {
|
|
|
13198
13375
|
scope: string[];
|
|
13199
13376
|
status: "archived" | "draft" | "published";
|
|
13200
13377
|
sortOrder: number;
|
|
13378
|
+
isHot: boolean;
|
|
13201
13379
|
createdBy: string;
|
|
13202
13380
|
title: string;
|
|
13203
13381
|
content: string;
|
|
13204
13382
|
summary: string | null;
|
|
13205
13383
|
categoryId: string;
|
|
13206
13384
|
isPinned: boolean;
|
|
13207
|
-
isHot: boolean;
|
|
13208
13385
|
hasVideo: boolean;
|
|
13209
13386
|
requireReadConfirmation: boolean;
|
|
13210
13387
|
externalUrl: string | null;
|