@r2wa-org/eden 0.0.64 → 0.0.66

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.
@@ -1108,7 +1108,7 @@ declare const app: Elysia<"/api", {
1108
1108
  price: string;
1109
1109
  source: string;
1110
1110
  effectiveAt: Date;
1111
- quoteAssetInfo: {
1111
+ baseAssetInfo: {
1112
1112
  symbol: string;
1113
1113
  id: string;
1114
1114
  name: string;
@@ -1117,7 +1117,7 @@ declare const app: Elysia<"/api", {
1117
1117
  isActive: boolean;
1118
1118
  precision: number;
1119
1119
  };
1120
- baseAssetInfo: {
1120
+ quoteAssetInfo: {
1121
1121
  symbol: string;
1122
1122
  id: string;
1123
1123
  name: string;
@@ -1174,7 +1174,7 @@ declare const app: Elysia<"/api", {
1174
1174
  price: string;
1175
1175
  source: string;
1176
1176
  effectiveAt: Date;
1177
- quoteAssetInfo: {
1177
+ baseAssetInfo: {
1178
1178
  symbol: string;
1179
1179
  id: string;
1180
1180
  name: string;
@@ -1183,7 +1183,7 @@ declare const app: Elysia<"/api", {
1183
1183
  isActive: boolean;
1184
1184
  precision: number;
1185
1185
  };
1186
- baseAssetInfo: {
1186
+ quoteAssetInfo: {
1187
1187
  symbol: string;
1188
1188
  id: string;
1189
1189
  name: string;
@@ -1232,7 +1232,7 @@ declare const app: Elysia<"/api", {
1232
1232
  price: string;
1233
1233
  source: string;
1234
1234
  effectiveAt: Date;
1235
- quoteAssetInfo: {
1235
+ baseAssetInfo: {
1236
1236
  symbol: string;
1237
1237
  id: string;
1238
1238
  name: string;
@@ -1241,7 +1241,7 @@ declare const app: Elysia<"/api", {
1241
1241
  isActive: boolean;
1242
1242
  precision: number;
1243
1243
  };
1244
- baseAssetInfo: {
1244
+ quoteAssetInfo: {
1245
1245
  symbol: string;
1246
1246
  id: string;
1247
1247
  name: string;
@@ -1291,7 +1291,7 @@ declare const app: Elysia<"/api", {
1291
1291
  price: string;
1292
1292
  source: string;
1293
1293
  effectiveAt: Date;
1294
- quoteAssetInfo: {
1294
+ baseAssetInfo: {
1295
1295
  symbol: string;
1296
1296
  id: string;
1297
1297
  name: string;
@@ -1300,7 +1300,7 @@ declare const app: Elysia<"/api", {
1300
1300
  isActive: boolean;
1301
1301
  precision: number;
1302
1302
  };
1303
- baseAssetInfo: {
1303
+ quoteAssetInfo: {
1304
1304
  symbol: string;
1305
1305
  id: string;
1306
1306
  name: string;
@@ -1677,7 +1677,7 @@ declare const app: Elysia<"/api", {
1677
1677
  receiveAccountTypeId: string;
1678
1678
  minPayAmount: string;
1679
1679
  settlementMode: "available" | "locked";
1680
- targetAssetInfo: {
1680
+ targetAsset: {
1681
1681
  symbol: string;
1682
1682
  id: string;
1683
1683
  name: string;
@@ -1685,7 +1685,7 @@ declare const app: Elysia<"/api", {
1685
1685
  isActive: boolean;
1686
1686
  precision: number;
1687
1687
  };
1688
- payAssetInfo: {
1688
+ payAsset: {
1689
1689
  symbol: string;
1690
1690
  id: string;
1691
1691
  name: string;
@@ -1693,13 +1693,13 @@ declare const app: Elysia<"/api", {
1693
1693
  isActive: boolean;
1694
1694
  precision: number;
1695
1695
  };
1696
- payAccountTypeInfo: {
1696
+ payAccountType: {
1697
1697
  id: string;
1698
1698
  name: string;
1699
1699
  key: string;
1700
1700
  isActive: boolean;
1701
1701
  };
1702
- receiveAccountTypeInfo: {
1702
+ receiveAccountType: {
1703
1703
  id: string;
1704
1704
  name: string;
1705
1705
  key: string;
@@ -1758,7 +1758,7 @@ declare const app: Elysia<"/api", {
1758
1758
  receiveAccountTypeId: string;
1759
1759
  minPayAmount: string;
1760
1760
  settlementMode: "available" | "locked";
1761
- targetAssetInfo: {
1761
+ targetAsset: {
1762
1762
  symbol: string;
1763
1763
  id: string;
1764
1764
  name: string;
@@ -1766,7 +1766,7 @@ declare const app: Elysia<"/api", {
1766
1766
  isActive: boolean;
1767
1767
  precision: number;
1768
1768
  };
1769
- payAssetInfo: {
1769
+ payAsset: {
1770
1770
  symbol: string;
1771
1771
  id: string;
1772
1772
  name: string;
@@ -1774,13 +1774,13 @@ declare const app: Elysia<"/api", {
1774
1774
  isActive: boolean;
1775
1775
  precision: number;
1776
1776
  };
1777
- payAccountTypeInfo: {
1777
+ payAccountType: {
1778
1778
  id: string;
1779
1779
  name: string;
1780
1780
  key: string;
1781
1781
  isActive: boolean;
1782
1782
  };
1783
- receiveAccountTypeInfo: {
1783
+ receiveAccountType: {
1784
1784
  id: string;
1785
1785
  name: string;
1786
1786
  key: string;
@@ -1830,7 +1830,7 @@ declare const app: Elysia<"/api", {
1830
1830
  receiveAccountTypeId: string;
1831
1831
  minPayAmount: string;
1832
1832
  settlementMode: "available" | "locked";
1833
- targetAssetInfo: {
1833
+ targetAsset: {
1834
1834
  symbol: string;
1835
1835
  id: string;
1836
1836
  name: string;
@@ -1838,7 +1838,7 @@ declare const app: Elysia<"/api", {
1838
1838
  isActive: boolean;
1839
1839
  precision: number;
1840
1840
  };
1841
- payAssetInfo: {
1841
+ payAsset: {
1842
1842
  symbol: string;
1843
1843
  id: string;
1844
1844
  name: string;
@@ -1846,13 +1846,13 @@ declare const app: Elysia<"/api", {
1846
1846
  isActive: boolean;
1847
1847
  precision: number;
1848
1848
  };
1849
- payAccountTypeInfo: {
1849
+ payAccountType: {
1850
1850
  id: string;
1851
1851
  name: string;
1852
1852
  key: string;
1853
1853
  isActive: boolean;
1854
1854
  };
1855
- receiveAccountTypeInfo: {
1855
+ receiveAccountType: {
1856
1856
  id: string;
1857
1857
  name: string;
1858
1858
  key: string;
@@ -1903,7 +1903,7 @@ declare const app: Elysia<"/api", {
1903
1903
  receiveAccountTypeId: string;
1904
1904
  minPayAmount: string;
1905
1905
  settlementMode: "available" | "locked";
1906
- targetAssetInfo: {
1906
+ targetAsset: {
1907
1907
  symbol: string;
1908
1908
  id: string;
1909
1909
  name: string;
@@ -1911,7 +1911,7 @@ declare const app: Elysia<"/api", {
1911
1911
  isActive: boolean;
1912
1912
  precision: number;
1913
1913
  };
1914
- payAssetInfo: {
1914
+ payAsset: {
1915
1915
  symbol: string;
1916
1916
  id: string;
1917
1917
  name: string;
@@ -1919,13 +1919,13 @@ declare const app: Elysia<"/api", {
1919
1919
  isActive: boolean;
1920
1920
  precision: number;
1921
1921
  };
1922
- payAccountTypeInfo: {
1922
+ payAccountType: {
1923
1923
  id: string;
1924
1924
  name: string;
1925
1925
  key: string;
1926
1926
  isActive: boolean;
1927
1927
  };
1928
- receiveAccountTypeInfo: {
1928
+ receiveAccountType: {
1929
1929
  id: string;
1930
1930
  name: string;
1931
1931
  key: string;
@@ -1976,7 +1976,7 @@ declare const app: Elysia<"/api", {
1976
1976
  receiveAccountTypeId: string;
1977
1977
  minPayAmount: string;
1978
1978
  settlementMode: "available" | "locked";
1979
- targetAssetInfo: {
1979
+ targetAsset: {
1980
1980
  symbol: string;
1981
1981
  id: string;
1982
1982
  name: string;
@@ -1984,7 +1984,7 @@ declare const app: Elysia<"/api", {
1984
1984
  isActive: boolean;
1985
1985
  precision: number;
1986
1986
  };
1987
- payAssetInfo: {
1987
+ payAsset: {
1988
1988
  symbol: string;
1989
1989
  id: string;
1990
1990
  name: string;
@@ -1992,13 +1992,13 @@ declare const app: Elysia<"/api", {
1992
1992
  isActive: boolean;
1993
1993
  precision: number;
1994
1994
  };
1995
- payAccountTypeInfo: {
1995
+ payAccountType: {
1996
1996
  id: string;
1997
1997
  name: string;
1998
1998
  key: string;
1999
1999
  isActive: boolean;
2000
2000
  };
2001
- receiveAccountTypeInfo: {
2001
+ receiveAccountType: {
2002
2002
  id: string;
2003
2003
  name: string;
2004
2004
  key: string;
@@ -2048,7 +2048,7 @@ declare const app: Elysia<"/api", {
2048
2048
  receiveAccountTypeId: string;
2049
2049
  minPayAmount: string;
2050
2050
  settlementMode: "available" | "locked";
2051
- targetAssetInfo: {
2051
+ targetAsset: {
2052
2052
  symbol: string;
2053
2053
  id: string;
2054
2054
  name: string;
@@ -2056,7 +2056,7 @@ declare const app: Elysia<"/api", {
2056
2056
  isActive: boolean;
2057
2057
  precision: number;
2058
2058
  };
2059
- payAssetInfo: {
2059
+ payAsset: {
2060
2060
  symbol: string;
2061
2061
  id: string;
2062
2062
  name: string;
@@ -2064,13 +2064,13 @@ declare const app: Elysia<"/api", {
2064
2064
  isActive: boolean;
2065
2065
  precision: number;
2066
2066
  };
2067
- payAccountTypeInfo: {
2067
+ payAccountType: {
2068
2068
  id: string;
2069
2069
  name: string;
2070
2070
  key: string;
2071
2071
  isActive: boolean;
2072
2072
  };
2073
- receiveAccountTypeInfo: {
2073
+ receiveAccountType: {
2074
2074
  id: string;
2075
2075
  name: string;
2076
2076
  key: string;
@@ -2135,7 +2135,7 @@ declare const app: Elysia<"/api", {
2135
2135
  receiveAccountTypeId: string;
2136
2136
  minPayAmount: string;
2137
2137
  settlementMode: "available" | "locked";
2138
- targetAssetInfo: {
2138
+ targetAsset: {
2139
2139
  symbol: string;
2140
2140
  id: string;
2141
2141
  name: string;
@@ -2143,7 +2143,7 @@ declare const app: Elysia<"/api", {
2143
2143
  isActive: boolean;
2144
2144
  precision: number;
2145
2145
  };
2146
- payAssetInfo: {
2146
+ payAsset: {
2147
2147
  symbol: string;
2148
2148
  id: string;
2149
2149
  name: string;
@@ -2151,13 +2151,13 @@ declare const app: Elysia<"/api", {
2151
2151
  isActive: boolean;
2152
2152
  precision: number;
2153
2153
  };
2154
- payAccountTypeInfo: {
2154
+ payAccountType: {
2155
2155
  id: string;
2156
2156
  name: string;
2157
2157
  key: string;
2158
2158
  isActive: boolean;
2159
2159
  };
2160
- receiveAccountTypeInfo: {
2160
+ receiveAccountType: {
2161
2161
  id: string;
2162
2162
  name: string;
2163
2163
  key: string;
@@ -2213,18 +2213,26 @@ declare const app: Elysia<"/api", {
2213
2213
  response: {
2214
2214
  200: {
2215
2215
  data: {
2216
- debitLedgerEntryInfo?: {
2216
+ debitLedgerEntry?: {
2217
2217
  id: string;
2218
2218
  createdAt: Date;
2219
2219
  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";
2220
2220
  amount: string;
2221
2221
  } | undefined;
2222
- creditLedgerEntryInfo?: {
2222
+ creditLedgerEntry?: {
2223
2223
  id: string;
2224
2224
  createdAt: Date;
2225
2225
  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";
2226
2226
  amount: string;
2227
2227
  } | undefined;
2228
+ user: {
2229
+ email: string;
2230
+ id: string;
2231
+ username: string | null;
2232
+ displayUsername: string | null;
2233
+ phoneNumber: string | null;
2234
+ banned: boolean | null;
2235
+ };
2228
2236
  id: string;
2229
2237
  createdAt: Date;
2230
2238
  updatedAt: Date;
@@ -2247,7 +2255,13 @@ declare const app: Elysia<"/api", {
2247
2255
  creditLedgerEntryId: string | null;
2248
2256
  failureCode: string | null;
2249
2257
  failureReason: string | null;
2250
- targetAssetInfo: {
2258
+ product: {
2259
+ id: string;
2260
+ name: string;
2261
+ status: "active" | "draft" | "paused" | "ended";
2262
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2263
+ };
2264
+ payAssetSnapshot: {
2251
2265
  symbol: string;
2252
2266
  id: string;
2253
2267
  name: string;
@@ -2255,7 +2269,7 @@ declare const app: Elysia<"/api", {
2255
2269
  isActive: boolean;
2256
2270
  precision: number;
2257
2271
  };
2258
- payAssetInfo: {
2272
+ targetAssetSnapshot: {
2259
2273
  symbol: string;
2260
2274
  id: string;
2261
2275
  name: string;
@@ -2263,21 +2277,7 @@ declare const app: Elysia<"/api", {
2263
2277
  isActive: boolean;
2264
2278
  precision: number;
2265
2279
  };
2266
- userInfo: {
2267
- email: string;
2268
- id: string;
2269
- username: string | null;
2270
- displayUsername: string | null;
2271
- phoneNumber: string | null;
2272
- banned: boolean | null;
2273
- };
2274
- productInfo: {
2275
- id: string;
2276
- name: string;
2277
- status: "active" | "draft" | "paused" | "ended";
2278
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2279
- };
2280
- quoteAssetInfo: {
2280
+ quoteAssetSnapshot: {
2281
2281
  symbol: string;
2282
2282
  id: string;
2283
2283
  name: string;
@@ -2285,13 +2285,13 @@ declare const app: Elysia<"/api", {
2285
2285
  isActive: boolean;
2286
2286
  precision: number;
2287
2287
  };
2288
- sourcePayAccountInfo: {
2288
+ sourcePayAccount: {
2289
2289
  id: string;
2290
2290
  status: "active" | "frozen" | "disabled";
2291
2291
  assetId: string;
2292
2292
  ledgerAccountTypeId: string;
2293
2293
  };
2294
- receiveAccountInfo: {
2294
+ receiveAccount: {
2295
2295
  id: string;
2296
2296
  status: "active" | "frozen" | "disabled";
2297
2297
  assetId: string;
@@ -2334,18 +2334,26 @@ declare const app: Elysia<"/api", {
2334
2334
  headers: {};
2335
2335
  response: {
2336
2336
  200: {
2337
- debitLedgerEntryInfo?: {
2337
+ debitLedgerEntry?: {
2338
2338
  id: string;
2339
2339
  createdAt: Date;
2340
2340
  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";
2341
2341
  amount: string;
2342
2342
  } | undefined;
2343
- creditLedgerEntryInfo?: {
2343
+ creditLedgerEntry?: {
2344
2344
  id: string;
2345
2345
  createdAt: Date;
2346
2346
  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";
2347
2347
  amount: string;
2348
2348
  } | undefined;
2349
+ user: {
2350
+ email: string;
2351
+ id: string;
2352
+ username: string | null;
2353
+ displayUsername: string | null;
2354
+ phoneNumber: string | null;
2355
+ banned: boolean | null;
2356
+ };
2349
2357
  id: string;
2350
2358
  createdAt: Date;
2351
2359
  updatedAt: Date;
@@ -2368,7 +2376,13 @@ declare const app: Elysia<"/api", {
2368
2376
  creditLedgerEntryId: string | null;
2369
2377
  failureCode: string | null;
2370
2378
  failureReason: string | null;
2371
- targetAssetInfo: {
2379
+ product: {
2380
+ id: string;
2381
+ name: string;
2382
+ status: "active" | "draft" | "paused" | "ended";
2383
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2384
+ };
2385
+ payAssetSnapshot: {
2372
2386
  symbol: string;
2373
2387
  id: string;
2374
2388
  name: string;
@@ -2376,7 +2390,7 @@ declare const app: Elysia<"/api", {
2376
2390
  isActive: boolean;
2377
2391
  precision: number;
2378
2392
  };
2379
- payAssetInfo: {
2393
+ targetAssetSnapshot: {
2380
2394
  symbol: string;
2381
2395
  id: string;
2382
2396
  name: string;
@@ -2384,21 +2398,7 @@ declare const app: Elysia<"/api", {
2384
2398
  isActive: boolean;
2385
2399
  precision: number;
2386
2400
  };
2387
- userInfo: {
2388
- email: string;
2389
- id: string;
2390
- username: string | null;
2391
- displayUsername: string | null;
2392
- phoneNumber: string | null;
2393
- banned: boolean | null;
2394
- };
2395
- productInfo: {
2396
- id: string;
2397
- name: string;
2398
- status: "active" | "draft" | "paused" | "ended";
2399
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2400
- };
2401
- quoteAssetInfo: {
2401
+ quoteAssetSnapshot: {
2402
2402
  symbol: string;
2403
2403
  id: string;
2404
2404
  name: string;
@@ -2406,13 +2406,13 @@ declare const app: Elysia<"/api", {
2406
2406
  isActive: boolean;
2407
2407
  precision: number;
2408
2408
  };
2409
- sourcePayAccountInfo: {
2409
+ sourcePayAccount: {
2410
2410
  id: string;
2411
2411
  status: "active" | "frozen" | "disabled";
2412
2412
  assetId: string;
2413
2413
  ledgerAccountTypeId: string;
2414
2414
  };
2415
- receiveAccountInfo: {
2415
+ receiveAccount: {
2416
2416
  id: string;
2417
2417
  status: "active" | "frozen" | "disabled";
2418
2418
  assetId: string;
@@ -2449,18 +2449,26 @@ declare const app: Elysia<"/api", {
2449
2449
  headers: {};
2450
2450
  response: {
2451
2451
  200: {
2452
- debitLedgerEntryInfo?: {
2452
+ debitLedgerEntry?: {
2453
2453
  id: string;
2454
2454
  createdAt: Date;
2455
2455
  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";
2456
2456
  amount: string;
2457
2457
  } | undefined;
2458
- creditLedgerEntryInfo?: {
2458
+ creditLedgerEntry?: {
2459
2459
  id: string;
2460
2460
  createdAt: Date;
2461
2461
  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";
2462
2462
  amount: string;
2463
2463
  } | undefined;
2464
+ user: {
2465
+ email: string;
2466
+ id: string;
2467
+ username: string | null;
2468
+ displayUsername: string | null;
2469
+ phoneNumber: string | null;
2470
+ banned: boolean | null;
2471
+ };
2464
2472
  id: string;
2465
2473
  createdAt: Date;
2466
2474
  updatedAt: Date;
@@ -2483,7 +2491,13 @@ declare const app: Elysia<"/api", {
2483
2491
  creditLedgerEntryId: string | null;
2484
2492
  failureCode: string | null;
2485
2493
  failureReason: string | null;
2486
- targetAssetInfo: {
2494
+ product: {
2495
+ id: string;
2496
+ name: string;
2497
+ status: "active" | "draft" | "paused" | "ended";
2498
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2499
+ };
2500
+ payAssetSnapshot: {
2487
2501
  symbol: string;
2488
2502
  id: string;
2489
2503
  name: string;
@@ -2491,7 +2505,7 @@ declare const app: Elysia<"/api", {
2491
2505
  isActive: boolean;
2492
2506
  precision: number;
2493
2507
  };
2494
- payAssetInfo: {
2508
+ targetAssetSnapshot: {
2495
2509
  symbol: string;
2496
2510
  id: string;
2497
2511
  name: string;
@@ -2499,21 +2513,7 @@ declare const app: Elysia<"/api", {
2499
2513
  isActive: boolean;
2500
2514
  precision: number;
2501
2515
  };
2502
- userInfo: {
2503
- email: string;
2504
- id: string;
2505
- username: string | null;
2506
- displayUsername: string | null;
2507
- phoneNumber: string | null;
2508
- banned: boolean | null;
2509
- };
2510
- productInfo: {
2511
- id: string;
2512
- name: string;
2513
- status: "active" | "draft" | "paused" | "ended";
2514
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
2515
- };
2516
- quoteAssetInfo: {
2516
+ quoteAssetSnapshot: {
2517
2517
  symbol: string;
2518
2518
  id: string;
2519
2519
  name: string;
@@ -2521,13 +2521,13 @@ declare const app: Elysia<"/api", {
2521
2521
  isActive: boolean;
2522
2522
  precision: number;
2523
2523
  };
2524
- sourcePayAccountInfo: {
2524
+ sourcePayAccount: {
2525
2525
  id: string;
2526
2526
  status: "active" | "frozen" | "disabled";
2527
2527
  assetId: string;
2528
2528
  ledgerAccountTypeId: string;
2529
2529
  };
2530
- receiveAccountInfo: {
2530
+ receiveAccount: {
2531
2531
  id: string;
2532
2532
  status: "active" | "frozen" | "disabled";
2533
2533
  assetId: string;
@@ -9365,21 +9365,23 @@ declare const app: Elysia<"/api", {
9365
9365
  response: {
9366
9366
  200: {
9367
9367
  data: {
9368
- latestPriceInfo?: {
9369
- id: string;
9370
- baseAssetId: string;
9371
- quoteAssetId: string;
9372
- price: string;
9373
- source: string;
9374
- effectiveAt: Date;
9375
- } | undefined;
9376
- dailyChangeRate?: string | undefined;
9377
9368
  id: string;
9378
9369
  name: string;
9379
9370
  createdAt: Date;
9380
9371
  updatedAt: Date;
9381
9372
  description: string | null;
9382
9373
  status: "active" | "draft" | "paused" | "ended";
9374
+ price: {
9375
+ latest?: {
9376
+ id: string;
9377
+ baseAssetId: string;
9378
+ quoteAssetId: string;
9379
+ price: string;
9380
+ source: string;
9381
+ effectiveAt: Date;
9382
+ } | undefined;
9383
+ dailyChangeRate?: string | undefined;
9384
+ };
9383
9385
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
9384
9386
  targetAssetId: string;
9385
9387
  payAssetId: string;
@@ -9387,7 +9389,7 @@ declare const app: Elysia<"/api", {
9387
9389
  receiveAccountTypeId: string;
9388
9390
  minPayAmount: string;
9389
9391
  settlementMode: "available" | "locked";
9390
- targetAssetInfo: {
9392
+ targetAsset: {
9391
9393
  symbol: string;
9392
9394
  id: string;
9393
9395
  name: string;
@@ -9396,7 +9398,7 @@ declare const app: Elysia<"/api", {
9396
9398
  isActive: boolean;
9397
9399
  precision: number;
9398
9400
  };
9399
- payAssetInfo: {
9401
+ payAsset: {
9400
9402
  symbol: string;
9401
9403
  id: string;
9402
9404
  name: string;
@@ -9405,14 +9407,14 @@ declare const app: Elysia<"/api", {
9405
9407
  isActive: boolean;
9406
9408
  precision: number;
9407
9409
  };
9408
- payAccountTypeInfo: {
9410
+ payAccountType: {
9409
9411
  id: string;
9410
9412
  name: string;
9411
9413
  description: string | null;
9412
9414
  key: string;
9413
9415
  isActive: boolean;
9414
9416
  };
9415
- receiveAccountTypeInfo: {
9417
+ receiveAccountType: {
9416
9418
  id: string;
9417
9419
  name: string;
9418
9420
  description: string | null;
@@ -9455,21 +9457,23 @@ declare const app: Elysia<"/api", {
9455
9457
  headers: {};
9456
9458
  response: {
9457
9459
  200: {
9458
- latestPriceInfo?: {
9459
- id: string;
9460
- baseAssetId: string;
9461
- quoteAssetId: string;
9462
- price: string;
9463
- source: string;
9464
- effectiveAt: Date;
9465
- } | undefined;
9466
- dailyChangeRate?: string | undefined;
9467
9460
  id: string;
9468
9461
  name: string;
9469
9462
  createdAt: Date;
9470
9463
  updatedAt: Date;
9471
9464
  description: string | null;
9472
9465
  status: "active" | "draft" | "paused" | "ended";
9466
+ price: {
9467
+ latest?: {
9468
+ id: string;
9469
+ baseAssetId: string;
9470
+ quoteAssetId: string;
9471
+ price: string;
9472
+ source: string;
9473
+ effectiveAt: Date;
9474
+ } | undefined;
9475
+ dailyChangeRate?: string | undefined;
9476
+ };
9473
9477
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
9474
9478
  targetAssetId: string;
9475
9479
  payAssetId: string;
@@ -9477,7 +9481,7 @@ declare const app: Elysia<"/api", {
9477
9481
  receiveAccountTypeId: string;
9478
9482
  minPayAmount: string;
9479
9483
  settlementMode: "available" | "locked";
9480
- targetAssetInfo: {
9484
+ targetAsset: {
9481
9485
  symbol: string;
9482
9486
  id: string;
9483
9487
  name: string;
@@ -9486,7 +9490,7 @@ declare const app: Elysia<"/api", {
9486
9490
  isActive: boolean;
9487
9491
  precision: number;
9488
9492
  };
9489
- payAssetInfo: {
9493
+ payAsset: {
9490
9494
  symbol: string;
9491
9495
  id: string;
9492
9496
  name: string;
@@ -9495,14 +9499,14 @@ declare const app: Elysia<"/api", {
9495
9499
  isActive: boolean;
9496
9500
  precision: number;
9497
9501
  };
9498
- payAccountTypeInfo: {
9502
+ payAccountType: {
9499
9503
  id: string;
9500
9504
  name: string;
9501
9505
  description: string | null;
9502
9506
  key: string;
9503
9507
  isActive: boolean;
9504
9508
  };
9505
- receiveAccountTypeInfo: {
9509
+ receiveAccountType: {
9506
9510
  id: string;
9507
9511
  name: string;
9508
9512
  description: string | null;
@@ -10172,6 +10176,186 @@ declare const app: Elysia<"/api", {
10172
10176
  };
10173
10177
  };
10174
10178
  };
10179
+ } & {
10180
+ api: {
10181
+ ledger_accounts: {};
10182
+ } & {
10183
+ ledger_accounts: {
10184
+ "account-types": {
10185
+ ":accountTypeKey": {
10186
+ assets: {
10187
+ ":assetCode": {
10188
+ get: {
10189
+ body: {};
10190
+ params: {
10191
+ assetCode: string;
10192
+ accountTypeKey: string;
10193
+ };
10194
+ query: {};
10195
+ headers: {};
10196
+ response: {
10197
+ 200: {
10198
+ id: string;
10199
+ createdAt: Date;
10200
+ updatedAt: Date;
10201
+ userId: string;
10202
+ status: "active" | "frozen" | "disabled";
10203
+ asset: {
10204
+ symbol: string;
10205
+ id: string;
10206
+ name: string;
10207
+ code: string;
10208
+ iconUrl: string;
10209
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10210
+ isActive: boolean;
10211
+ precision: number;
10212
+ };
10213
+ assetId: string;
10214
+ ledgerAccountTypeId: string;
10215
+ available: string;
10216
+ locked: string;
10217
+ version: number;
10218
+ ledgerAccountType: {
10219
+ id: string;
10220
+ name: string;
10221
+ description: string | null;
10222
+ key: string;
10223
+ isActive: boolean;
10224
+ };
10225
+ };
10226
+ 422: {
10227
+ type: "validation";
10228
+ on: string;
10229
+ summary?: string;
10230
+ message?: string;
10231
+ found?: unknown;
10232
+ property?: string;
10233
+ expected?: string;
10234
+ };
10235
+ 401: "Unauthorized";
10236
+ };
10237
+ };
10238
+ };
10239
+ };
10240
+ };
10241
+ };
10242
+ };
10243
+ } & {
10244
+ ledger_accounts: {
10245
+ "account-type-ids": {
10246
+ ":ledgerAccountTypeId": {
10247
+ assets: {
10248
+ ":assetId": {
10249
+ get: {
10250
+ body: {};
10251
+ params: {
10252
+ assetId: string;
10253
+ ledgerAccountTypeId: string;
10254
+ };
10255
+ query: {};
10256
+ headers: {};
10257
+ response: {
10258
+ 200: {
10259
+ id: string;
10260
+ createdAt: Date;
10261
+ updatedAt: Date;
10262
+ userId: string;
10263
+ status: "active" | "frozen" | "disabled";
10264
+ asset: {
10265
+ symbol: string;
10266
+ id: string;
10267
+ name: string;
10268
+ code: string;
10269
+ iconUrl: string;
10270
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10271
+ isActive: boolean;
10272
+ precision: number;
10273
+ };
10274
+ assetId: string;
10275
+ ledgerAccountTypeId: string;
10276
+ available: string;
10277
+ locked: string;
10278
+ version: number;
10279
+ ledgerAccountType: {
10280
+ id: string;
10281
+ name: string;
10282
+ description: string | null;
10283
+ key: string;
10284
+ isActive: boolean;
10285
+ };
10286
+ };
10287
+ 422: {
10288
+ type: "validation";
10289
+ on: string;
10290
+ summary?: string;
10291
+ message?: string;
10292
+ found?: unknown;
10293
+ property?: string;
10294
+ expected?: string;
10295
+ };
10296
+ 401: "Unauthorized";
10297
+ };
10298
+ };
10299
+ };
10300
+ };
10301
+ };
10302
+ };
10303
+ };
10304
+ } & {
10305
+ ledger_accounts: {
10306
+ ":id": {
10307
+ get: {
10308
+ body: {};
10309
+ params: {
10310
+ id: string;
10311
+ };
10312
+ query: {};
10313
+ headers: {};
10314
+ response: {
10315
+ 200: {
10316
+ id: string;
10317
+ createdAt: Date;
10318
+ updatedAt: Date;
10319
+ userId: string;
10320
+ status: "active" | "frozen" | "disabled";
10321
+ asset: {
10322
+ symbol: string;
10323
+ id: string;
10324
+ name: string;
10325
+ code: string;
10326
+ iconUrl: string;
10327
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
10328
+ isActive: boolean;
10329
+ precision: number;
10330
+ };
10331
+ assetId: string;
10332
+ ledgerAccountTypeId: string;
10333
+ available: string;
10334
+ locked: string;
10335
+ version: number;
10336
+ ledgerAccountType: {
10337
+ id: string;
10338
+ name: string;
10339
+ description: string | null;
10340
+ key: string;
10341
+ isActive: boolean;
10342
+ };
10343
+ };
10344
+ 422: {
10345
+ type: "validation";
10346
+ on: string;
10347
+ summary?: string;
10348
+ message?: string;
10349
+ found?: unknown;
10350
+ property?: string;
10351
+ expected?: string;
10352
+ };
10353
+ 401: "Unauthorized";
10354
+ };
10355
+ };
10356
+ };
10357
+ };
10358
+ };
10175
10359
  } & {
10176
10360
  api: {
10177
10361
  bank_account: {};