@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.
@@ -122,6 +122,7 @@ export declare abstract class AdminAssetConvertProductService {
122
122
  id: string;
123
123
  name: string;
124
124
  code: string;
125
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
125
126
  isActive: boolean;
126
127
  precision: number;
127
128
  };
@@ -130,6 +131,7 @@ export declare abstract class AdminAssetConvertProductService {
130
131
  id: string;
131
132
  name: string;
132
133
  code: string;
134
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
133
135
  isActive: boolean;
134
136
  precision: number;
135
137
  };
@@ -167,6 +169,7 @@ export declare abstract class AdminAssetConvertProductService {
167
169
  id: string;
168
170
  name: string;
169
171
  code: string;
172
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
170
173
  isActive: boolean;
171
174
  precision: number;
172
175
  };
@@ -175,6 +178,7 @@ export declare abstract class AdminAssetConvertProductService {
175
178
  id: string;
176
179
  name: string;
177
180
  code: string;
181
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
178
182
  isActive: boolean;
179
183
  precision: number;
180
184
  };
@@ -212,6 +216,7 @@ export declare abstract class AdminAssetConvertProductService {
212
216
  id: string;
213
217
  name: string;
214
218
  code: string;
219
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
215
220
  isActive: boolean;
216
221
  precision: number;
217
222
  };
@@ -220,6 +225,7 @@ export declare abstract class AdminAssetConvertProductService {
220
225
  id: string;
221
226
  name: string;
222
227
  code: string;
228
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
223
229
  isActive: boolean;
224
230
  precision: number;
225
231
  };
@@ -257,6 +263,7 @@ export declare abstract class AdminAssetConvertProductService {
257
263
  id: string;
258
264
  name: string;
259
265
  code: string;
266
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
260
267
  isActive: boolean;
261
268
  precision: number;
262
269
  };
@@ -265,6 +272,7 @@ export declare abstract class AdminAssetConvertProductService {
265
272
  id: string;
266
273
  name: string;
267
274
  code: string;
275
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
268
276
  isActive: boolean;
269
277
  precision: number;
270
278
  };
@@ -302,6 +310,7 @@ export declare abstract class AdminAssetConvertProductService {
302
310
  id: string;
303
311
  name: string;
304
312
  code: string;
313
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
305
314
  isActive: boolean;
306
315
  precision: number;
307
316
  };
@@ -310,6 +319,7 @@ export declare abstract class AdminAssetConvertProductService {
310
319
  id: string;
311
320
  name: string;
312
321
  code: string;
322
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
313
323
  isActive: boolean;
314
324
  precision: number;
315
325
  };
@@ -348,6 +358,7 @@ export declare abstract class AdminAssetConvertProductService {
348
358
  id: string;
349
359
  name: string;
350
360
  code: string;
361
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
351
362
  isActive: boolean;
352
363
  precision: number;
353
364
  };
@@ -356,6 +367,7 @@ export declare abstract class AdminAssetConvertProductService {
356
367
  id: string;
357
368
  name: string;
358
369
  code: string;
370
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
359
371
  isActive: boolean;
360
372
  precision: number;
361
373
  };
@@ -386,12 +398,16 @@ export declare abstract class AdminAssetConvertProductService {
386
398
  createdAt: Date;
387
399
  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";
388
400
  amount: string;
401
+ referenceId: string;
402
+ 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";
389
403
  } | undefined;
390
404
  creditLedgerEntry?: {
391
405
  id: string;
392
406
  createdAt: Date;
393
407
  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";
394
408
  amount: string;
409
+ referenceId: string;
410
+ 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";
395
411
  } | undefined;
396
412
  user: {
397
413
  email: string;
@@ -426,14 +442,56 @@ export declare abstract class AdminAssetConvertProductService {
426
442
  product: {
427
443
  id: string;
428
444
  name: string;
445
+ createdAt: Date;
446
+ updatedAt: Date;
447
+ description: string | null;
429
448
  status: "active" | "draft" | "paused" | "ended";
430
449
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
450
+ targetAssetId: string;
451
+ payAssetId: string;
452
+ payAccountTypeId: string;
453
+ receiveAccountTypeId: string;
454
+ minPayAmount: string;
455
+ settlementMode: "available" | "locked";
456
+ allowPurchase: boolean;
457
+ isHot: boolean;
458
+ targetAsset: {
459
+ symbol: string;
460
+ id: string;
461
+ name: string;
462
+ code: string;
463
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
464
+ isActive: boolean;
465
+ precision: number;
466
+ };
467
+ payAsset: {
468
+ symbol: string;
469
+ id: string;
470
+ name: string;
471
+ code: string;
472
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
473
+ isActive: boolean;
474
+ precision: number;
475
+ };
476
+ payAccountType: {
477
+ id: string;
478
+ name: string;
479
+ key: string;
480
+ isActive: boolean;
481
+ };
482
+ receiveAccountType: {
483
+ id: string;
484
+ name: string;
485
+ key: string;
486
+ isActive: boolean;
487
+ };
431
488
  };
432
489
  payAssetSnapshot: {
433
490
  symbol: string;
434
491
  id: string;
435
492
  name: string;
436
493
  code: string;
494
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
437
495
  isActive: boolean;
438
496
  precision: number;
439
497
  };
@@ -442,6 +500,7 @@ export declare abstract class AdminAssetConvertProductService {
442
500
  id: string;
443
501
  name: string;
444
502
  code: string;
503
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
445
504
  isActive: boolean;
446
505
  precision: number;
447
506
  };
@@ -450,17 +509,20 @@ export declare abstract class AdminAssetConvertProductService {
450
509
  id: string;
451
510
  name: string;
452
511
  code: string;
512
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
453
513
  isActive: boolean;
454
514
  precision: number;
455
515
  };
456
516
  sourcePayAccount: {
457
517
  id: string;
518
+ userId: string;
458
519
  status: "active" | "frozen" | "disabled";
459
520
  assetId: string;
460
521
  ledgerAccountTypeId: string;
461
522
  };
462
523
  receiveAccount: {
463
524
  id: string;
525
+ userId: string;
464
526
  status: "active" | "frozen" | "disabled";
465
527
  assetId: string;
466
528
  ledgerAccountTypeId: string;
@@ -472,12 +534,16 @@ export declare abstract class AdminAssetConvertProductService {
472
534
  createdAt: Date;
473
535
  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";
474
536
  amount: string;
537
+ referenceId: string;
538
+ 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";
475
539
  } | undefined;
476
540
  creditLedgerEntry?: {
477
541
  id: string;
478
542
  createdAt: Date;
479
543
  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";
480
544
  amount: string;
545
+ referenceId: string;
546
+ 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";
481
547
  } | undefined;
482
548
  user: {
483
549
  email: string;
@@ -512,14 +578,56 @@ export declare abstract class AdminAssetConvertProductService {
512
578
  product: {
513
579
  id: string;
514
580
  name: string;
581
+ createdAt: Date;
582
+ updatedAt: Date;
583
+ description: string | null;
515
584
  status: "active" | "draft" | "paused" | "ended";
516
585
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
586
+ targetAssetId: string;
587
+ payAssetId: string;
588
+ payAccountTypeId: string;
589
+ receiveAccountTypeId: string;
590
+ minPayAmount: string;
591
+ settlementMode: "available" | "locked";
592
+ allowPurchase: boolean;
593
+ isHot: boolean;
594
+ targetAsset: {
595
+ symbol: string;
596
+ id: string;
597
+ name: string;
598
+ code: string;
599
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
600
+ isActive: boolean;
601
+ precision: number;
602
+ };
603
+ payAsset: {
604
+ symbol: string;
605
+ id: string;
606
+ name: string;
607
+ code: string;
608
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
609
+ isActive: boolean;
610
+ precision: number;
611
+ };
612
+ payAccountType: {
613
+ id: string;
614
+ name: string;
615
+ key: string;
616
+ isActive: boolean;
617
+ };
618
+ receiveAccountType: {
619
+ id: string;
620
+ name: string;
621
+ key: string;
622
+ isActive: boolean;
623
+ };
517
624
  };
518
625
  payAssetSnapshot: {
519
626
  symbol: string;
520
627
  id: string;
521
628
  name: string;
522
629
  code: string;
630
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
523
631
  isActive: boolean;
524
632
  precision: number;
525
633
  };
@@ -528,6 +636,7 @@ export declare abstract class AdminAssetConvertProductService {
528
636
  id: string;
529
637
  name: string;
530
638
  code: string;
639
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
531
640
  isActive: boolean;
532
641
  precision: number;
533
642
  };
@@ -536,17 +645,20 @@ export declare abstract class AdminAssetConvertProductService {
536
645
  id: string;
537
646
  name: string;
538
647
  code: string;
648
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
539
649
  isActive: boolean;
540
650
  precision: number;
541
651
  };
542
652
  sourcePayAccount: {
543
653
  id: string;
654
+ userId: string;
544
655
  status: "active" | "frozen" | "disabled";
545
656
  assetId: string;
546
657
  ledgerAccountTypeId: string;
547
658
  };
548
659
  receiveAccount: {
549
660
  id: string;
661
+ userId: string;
550
662
  status: "active" | "frozen" | "disabled";
551
663
  assetId: string;
552
664
  ledgerAccountTypeId: string;
@@ -559,12 +671,16 @@ export declare abstract class AdminAssetConvertProductService {
559
671
  createdAt: Date;
560
672
  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";
561
673
  amount: string;
674
+ referenceId: string;
675
+ 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";
562
676
  } | undefined;
563
677
  creditLedgerEntry?: {
564
678
  id: string;
565
679
  createdAt: Date;
566
680
  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";
567
681
  amount: string;
682
+ referenceId: string;
683
+ 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";
568
684
  } | undefined;
569
685
  user: {
570
686
  email: string;
@@ -599,14 +715,56 @@ export declare abstract class AdminAssetConvertProductService {
599
715
  product: {
600
716
  id: string;
601
717
  name: string;
718
+ createdAt: Date;
719
+ updatedAt: Date;
720
+ description: string | null;
602
721
  status: "active" | "draft" | "paused" | "ended";
603
722
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
723
+ targetAssetId: string;
724
+ payAssetId: string;
725
+ payAccountTypeId: string;
726
+ receiveAccountTypeId: string;
727
+ minPayAmount: string;
728
+ settlementMode: "available" | "locked";
729
+ allowPurchase: boolean;
730
+ isHot: boolean;
731
+ targetAsset: {
732
+ symbol: string;
733
+ id: string;
734
+ name: string;
735
+ code: string;
736
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
737
+ isActive: boolean;
738
+ precision: number;
739
+ };
740
+ payAsset: {
741
+ symbol: string;
742
+ id: string;
743
+ name: string;
744
+ code: string;
745
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
746
+ isActive: boolean;
747
+ precision: number;
748
+ };
749
+ payAccountType: {
750
+ id: string;
751
+ name: string;
752
+ key: string;
753
+ isActive: boolean;
754
+ };
755
+ receiveAccountType: {
756
+ id: string;
757
+ name: string;
758
+ key: string;
759
+ isActive: boolean;
760
+ };
604
761
  };
605
762
  payAssetSnapshot: {
606
763
  symbol: string;
607
764
  id: string;
608
765
  name: string;
609
766
  code: string;
767
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
610
768
  isActive: boolean;
611
769
  precision: number;
612
770
  };
@@ -615,6 +773,7 @@ export declare abstract class AdminAssetConvertProductService {
615
773
  id: string;
616
774
  name: string;
617
775
  code: string;
776
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
618
777
  isActive: boolean;
619
778
  precision: number;
620
779
  };
@@ -623,17 +782,20 @@ export declare abstract class AdminAssetConvertProductService {
623
782
  id: string;
624
783
  name: string;
625
784
  code: string;
785
+ category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
626
786
  isActive: boolean;
627
787
  precision: number;
628
788
  };
629
789
  sourcePayAccount: {
630
790
  id: string;
791
+ userId: string;
631
792
  status: "active" | "frozen" | "disabled";
632
793
  assetId: string;
633
794
  ledgerAccountTypeId: string;
634
795
  };
635
796
  receiveAccount: {
636
797
  id: string;
798
+ userId: string;
637
799
  status: "active" | "frozen" | "disabled";
638
800
  assetId: string;
639
801
  ledgerAccountTypeId: string;