@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.
@@ -1636,6 +1636,7 @@ declare const app: Elysia<"/api", {
1636
1636
  id: string;
1637
1637
  name: string;
1638
1638
  code: string;
1639
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1639
1640
  isActive: boolean;
1640
1641
  precision: number;
1641
1642
  };
@@ -1644,6 +1645,7 @@ declare const app: Elysia<"/api", {
1644
1645
  id: string;
1645
1646
  name: string;
1646
1647
  code: string;
1648
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1647
1649
  isActive: boolean;
1648
1650
  precision: number;
1649
1651
  };
@@ -1721,6 +1723,7 @@ declare const app: Elysia<"/api", {
1721
1723
  id: string;
1722
1724
  name: string;
1723
1725
  code: string;
1726
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1724
1727
  isActive: boolean;
1725
1728
  precision: number;
1726
1729
  };
@@ -1729,6 +1732,7 @@ declare const app: Elysia<"/api", {
1729
1732
  id: string;
1730
1733
  name: string;
1731
1734
  code: string;
1735
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1732
1736
  isActive: boolean;
1733
1737
  precision: number;
1734
1738
  };
@@ -1795,6 +1799,7 @@ declare const app: Elysia<"/api", {
1795
1799
  id: string;
1796
1800
  name: string;
1797
1801
  code: string;
1802
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1798
1803
  isActive: boolean;
1799
1804
  precision: number;
1800
1805
  };
@@ -1803,6 +1808,7 @@ declare const app: Elysia<"/api", {
1803
1808
  id: string;
1804
1809
  name: string;
1805
1810
  code: string;
1811
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1806
1812
  isActive: boolean;
1807
1813
  precision: number;
1808
1814
  };
@@ -1870,6 +1876,7 @@ declare const app: Elysia<"/api", {
1870
1876
  id: string;
1871
1877
  name: string;
1872
1878
  code: string;
1879
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1873
1880
  isActive: boolean;
1874
1881
  precision: number;
1875
1882
  };
@@ -1878,6 +1885,7 @@ declare const app: Elysia<"/api", {
1878
1885
  id: string;
1879
1886
  name: string;
1880
1887
  code: string;
1888
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1881
1889
  isActive: boolean;
1882
1890
  precision: number;
1883
1891
  };
@@ -1945,6 +1953,7 @@ declare const app: Elysia<"/api", {
1945
1953
  id: string;
1946
1954
  name: string;
1947
1955
  code: string;
1956
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1948
1957
  isActive: boolean;
1949
1958
  precision: number;
1950
1959
  };
@@ -1953,6 +1962,7 @@ declare const app: Elysia<"/api", {
1953
1962
  id: string;
1954
1963
  name: string;
1955
1964
  code: string;
1965
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
1956
1966
  isActive: boolean;
1957
1967
  precision: number;
1958
1968
  };
@@ -2019,6 +2029,7 @@ declare const app: Elysia<"/api", {
2019
2029
  id: string;
2020
2030
  name: string;
2021
2031
  code: string;
2032
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2022
2033
  isActive: boolean;
2023
2034
  precision: number;
2024
2035
  };
@@ -2027,6 +2038,7 @@ declare const app: Elysia<"/api", {
2027
2038
  id: string;
2028
2039
  name: string;
2029
2040
  code: string;
2041
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2030
2042
  isActive: boolean;
2031
2043
  precision: number;
2032
2044
  };
@@ -2110,6 +2122,7 @@ declare const app: Elysia<"/api", {
2110
2122
  id: string;
2111
2123
  name: string;
2112
2124
  code: string;
2125
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2113
2126
  isActive: boolean;
2114
2127
  precision: number;
2115
2128
  };
@@ -2118,6 +2131,7 @@ declare const app: Elysia<"/api", {
2118
2131
  id: string;
2119
2132
  name: string;
2120
2133
  code: string;
2134
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2121
2135
  isActive: boolean;
2122
2136
  precision: number;
2123
2137
  };
@@ -2188,12 +2202,16 @@ declare const app: Elysia<"/api", {
2188
2202
  createdAt: Date;
2189
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";
2190
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";
2191
2207
  } | undefined;
2192
2208
  creditLedgerEntry?: {
2193
2209
  id: string;
2194
2210
  createdAt: Date;
2195
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";
2196
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";
2197
2215
  } | undefined;
2198
2216
  user: {
2199
2217
  email: string;
@@ -2228,14 +2246,56 @@ declare const app: Elysia<"/api", {
2228
2246
  product: {
2229
2247
  id: string;
2230
2248
  name: string;
2249
+ createdAt: Date;
2250
+ updatedAt: Date;
2251
+ description: string | null;
2231
2252
  status: "active" | "draft" | "paused" | "ended";
2232
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
+ };
2233
2292
  };
2234
2293
  payAssetSnapshot: {
2235
2294
  symbol: string;
2236
2295
  id: string;
2237
2296
  name: string;
2238
2297
  code: string;
2298
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2239
2299
  isActive: boolean;
2240
2300
  precision: number;
2241
2301
  };
@@ -2244,6 +2304,7 @@ declare const app: Elysia<"/api", {
2244
2304
  id: string;
2245
2305
  name: string;
2246
2306
  code: string;
2307
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2247
2308
  isActive: boolean;
2248
2309
  precision: number;
2249
2310
  };
@@ -2252,17 +2313,20 @@ declare const app: Elysia<"/api", {
2252
2313
  id: string;
2253
2314
  name: string;
2254
2315
  code: string;
2316
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2255
2317
  isActive: boolean;
2256
2318
  precision: number;
2257
2319
  };
2258
2320
  sourcePayAccount: {
2259
2321
  id: string;
2322
+ userId: string;
2260
2323
  status: "active" | "frozen" | "disabled";
2261
2324
  assetId: string;
2262
2325
  ledgerAccountTypeId: string;
2263
2326
  };
2264
2327
  receiveAccount: {
2265
2328
  id: string;
2329
+ userId: string;
2266
2330
  status: "active" | "frozen" | "disabled";
2267
2331
  assetId: string;
2268
2332
  ledgerAccountTypeId: string;
@@ -2309,12 +2373,16 @@ declare const app: Elysia<"/api", {
2309
2373
  createdAt: Date;
2310
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";
2311
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";
2312
2378
  } | undefined;
2313
2379
  creditLedgerEntry?: {
2314
2380
  id: string;
2315
2381
  createdAt: Date;
2316
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";
2317
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";
2318
2386
  } | undefined;
2319
2387
  user: {
2320
2388
  email: string;
@@ -2349,14 +2417,56 @@ declare const app: Elysia<"/api", {
2349
2417
  product: {
2350
2418
  id: string;
2351
2419
  name: string;
2420
+ createdAt: Date;
2421
+ updatedAt: Date;
2422
+ description: string | null;
2352
2423
  status: "active" | "draft" | "paused" | "ended";
2353
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
+ };
2354
2463
  };
2355
2464
  payAssetSnapshot: {
2356
2465
  symbol: string;
2357
2466
  id: string;
2358
2467
  name: string;
2359
2468
  code: string;
2469
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2360
2470
  isActive: boolean;
2361
2471
  precision: number;
2362
2472
  };
@@ -2365,6 +2475,7 @@ declare const app: Elysia<"/api", {
2365
2475
  id: string;
2366
2476
  name: string;
2367
2477
  code: string;
2478
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2368
2479
  isActive: boolean;
2369
2480
  precision: number;
2370
2481
  };
@@ -2373,17 +2484,20 @@ declare const app: Elysia<"/api", {
2373
2484
  id: string;
2374
2485
  name: string;
2375
2486
  code: string;
2487
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2376
2488
  isActive: boolean;
2377
2489
  precision: number;
2378
2490
  };
2379
2491
  sourcePayAccount: {
2380
2492
  id: string;
2493
+ userId: string;
2381
2494
  status: "active" | "frozen" | "disabled";
2382
2495
  assetId: string;
2383
2496
  ledgerAccountTypeId: string;
2384
2497
  };
2385
2498
  receiveAccount: {
2386
2499
  id: string;
2500
+ userId: string;
2387
2501
  status: "active" | "frozen" | "disabled";
2388
2502
  assetId: string;
2389
2503
  ledgerAccountTypeId: string;
@@ -2424,12 +2538,16 @@ declare const app: Elysia<"/api", {
2424
2538
  createdAt: Date;
2425
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";
2426
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";
2427
2543
  } | undefined;
2428
2544
  creditLedgerEntry?: {
2429
2545
  id: string;
2430
2546
  createdAt: Date;
2431
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";
2432
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";
2433
2551
  } | undefined;
2434
2552
  user: {
2435
2553
  email: string;
@@ -2464,14 +2582,56 @@ declare const app: Elysia<"/api", {
2464
2582
  product: {
2465
2583
  id: string;
2466
2584
  name: string;
2585
+ createdAt: Date;
2586
+ updatedAt: Date;
2587
+ description: string | null;
2467
2588
  status: "active" | "draft" | "paused" | "ended";
2468
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
+ };
2469
2628
  };
2470
2629
  payAssetSnapshot: {
2471
2630
  symbol: string;
2472
2631
  id: string;
2473
2632
  name: string;
2474
2633
  code: string;
2634
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2475
2635
  isActive: boolean;
2476
2636
  precision: number;
2477
2637
  };
@@ -2480,6 +2640,7 @@ declare const app: Elysia<"/api", {
2480
2640
  id: string;
2481
2641
  name: string;
2482
2642
  code: string;
2643
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2483
2644
  isActive: boolean;
2484
2645
  precision: number;
2485
2646
  };
@@ -2488,17 +2649,20 @@ declare const app: Elysia<"/api", {
2488
2649
  id: string;
2489
2650
  name: string;
2490
2651
  code: string;
2652
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
2491
2653
  isActive: boolean;
2492
2654
  precision: number;
2493
2655
  };
2494
2656
  sourcePayAccount: {
2495
2657
  id: string;
2658
+ userId: string;
2496
2659
  status: "active" | "frozen" | "disabled";
2497
2660
  assetId: string;
2498
2661
  ledgerAccountTypeId: string;
2499
2662
  };
2500
2663
  receiveAccount: {
2501
2664
  id: string;
2665
+ userId: string;
2502
2666
  status: "active" | "frozen" | "disabled";
2503
2667
  assetId: string;
2504
2668
  ledgerAccountTypeId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@r2wa-org/eden",
3
- "version": "0.0.70",
3
+ "version": "0.0.71",
4
4
  "description": "Elysia API type definitions for Eden Treaty",
5
5
  "types": "./dist/src/index.d.ts",
6
6
  "files": [