@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
|
@@ -387,6 +387,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
387
387
|
description?: string | null | undefined;
|
|
388
388
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
389
389
|
allowPurchase?: boolean | undefined;
|
|
390
|
+
isHot?: boolean | undefined;
|
|
390
391
|
name: string;
|
|
391
392
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
392
393
|
targetAssetId: string;
|
|
@@ -415,11 +416,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
415
416
|
minPayAmount: string;
|
|
416
417
|
settlementMode: "available" | "locked";
|
|
417
418
|
allowPurchase: boolean;
|
|
419
|
+
isHot: boolean;
|
|
418
420
|
targetAsset: {
|
|
419
421
|
symbol: string;
|
|
420
422
|
id: string;
|
|
421
423
|
name: string;
|
|
422
424
|
code: string;
|
|
425
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
423
426
|
isActive: boolean;
|
|
424
427
|
precision: number;
|
|
425
428
|
};
|
|
@@ -428,6 +431,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
428
431
|
id: string;
|
|
429
432
|
name: string;
|
|
430
433
|
code: string;
|
|
434
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
431
435
|
isActive: boolean;
|
|
432
436
|
precision: number;
|
|
433
437
|
};
|
|
@@ -476,6 +480,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
476
480
|
minPayAmount?: string | undefined;
|
|
477
481
|
settlementMode?: "available" | "locked" | undefined;
|
|
478
482
|
allowPurchase?: boolean | undefined;
|
|
483
|
+
isHot?: boolean | undefined;
|
|
479
484
|
};
|
|
480
485
|
params: {
|
|
481
486
|
id: string;
|
|
@@ -498,11 +503,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
498
503
|
minPayAmount: string;
|
|
499
504
|
settlementMode: "available" | "locked";
|
|
500
505
|
allowPurchase: boolean;
|
|
506
|
+
isHot: boolean;
|
|
501
507
|
targetAsset: {
|
|
502
508
|
symbol: string;
|
|
503
509
|
id: string;
|
|
504
510
|
name: string;
|
|
505
511
|
code: string;
|
|
512
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
506
513
|
isActive: boolean;
|
|
507
514
|
precision: number;
|
|
508
515
|
};
|
|
@@ -511,6 +518,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
511
518
|
id: string;
|
|
512
519
|
name: string;
|
|
513
520
|
code: string;
|
|
521
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
514
522
|
isActive: boolean;
|
|
515
523
|
precision: number;
|
|
516
524
|
};
|
|
@@ -571,11 +579,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
571
579
|
minPayAmount: string;
|
|
572
580
|
settlementMode: "available" | "locked";
|
|
573
581
|
allowPurchase: boolean;
|
|
582
|
+
isHot: boolean;
|
|
574
583
|
targetAsset: {
|
|
575
584
|
symbol: string;
|
|
576
585
|
id: string;
|
|
577
586
|
name: string;
|
|
578
587
|
code: string;
|
|
588
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
579
589
|
isActive: boolean;
|
|
580
590
|
precision: number;
|
|
581
591
|
};
|
|
@@ -584,6 +594,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
584
594
|
id: string;
|
|
585
595
|
name: string;
|
|
586
596
|
code: string;
|
|
597
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
587
598
|
isActive: boolean;
|
|
588
599
|
precision: number;
|
|
589
600
|
};
|
|
@@ -645,11 +656,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
645
656
|
minPayAmount: string;
|
|
646
657
|
settlementMode: "available" | "locked";
|
|
647
658
|
allowPurchase: boolean;
|
|
659
|
+
isHot: boolean;
|
|
648
660
|
targetAsset: {
|
|
649
661
|
symbol: string;
|
|
650
662
|
id: string;
|
|
651
663
|
name: string;
|
|
652
664
|
code: string;
|
|
665
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
653
666
|
isActive: boolean;
|
|
654
667
|
precision: number;
|
|
655
668
|
};
|
|
@@ -658,6 +671,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
658
671
|
id: string;
|
|
659
672
|
name: string;
|
|
660
673
|
code: string;
|
|
674
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
661
675
|
isActive: boolean;
|
|
662
676
|
precision: number;
|
|
663
677
|
};
|
|
@@ -719,11 +733,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
719
733
|
minPayAmount: string;
|
|
720
734
|
settlementMode: "available" | "locked";
|
|
721
735
|
allowPurchase: boolean;
|
|
736
|
+
isHot: boolean;
|
|
722
737
|
targetAsset: {
|
|
723
738
|
symbol: string;
|
|
724
739
|
id: string;
|
|
725
740
|
name: string;
|
|
726
741
|
code: string;
|
|
742
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
727
743
|
isActive: boolean;
|
|
728
744
|
precision: number;
|
|
729
745
|
};
|
|
@@ -732,6 +748,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
732
748
|
id: string;
|
|
733
749
|
name: string;
|
|
734
750
|
code: string;
|
|
751
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
735
752
|
isActive: boolean;
|
|
736
753
|
precision: number;
|
|
737
754
|
};
|
|
@@ -792,11 +809,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
792
809
|
minPayAmount: string;
|
|
793
810
|
settlementMode: "available" | "locked";
|
|
794
811
|
allowPurchase: boolean;
|
|
812
|
+
isHot: boolean;
|
|
795
813
|
targetAsset: {
|
|
796
814
|
symbol: string;
|
|
797
815
|
id: string;
|
|
798
816
|
name: string;
|
|
799
817
|
code: string;
|
|
818
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
800
819
|
isActive: boolean;
|
|
801
820
|
precision: number;
|
|
802
821
|
};
|
|
@@ -805,6 +824,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
805
824
|
id: string;
|
|
806
825
|
name: string;
|
|
807
826
|
code: string;
|
|
827
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
808
828
|
isActive: boolean;
|
|
809
829
|
precision: number;
|
|
810
830
|
};
|
|
@@ -854,6 +874,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
854
874
|
receiveAccountTypeId?: string | undefined;
|
|
855
875
|
settlementMode?: "available" | "locked" | undefined;
|
|
856
876
|
allowPurchase?: boolean | undefined;
|
|
877
|
+
isHot?: boolean | undefined;
|
|
857
878
|
limit?: number | undefined;
|
|
858
879
|
offset?: number | undefined;
|
|
859
880
|
pageSize?: number | undefined;
|
|
@@ -881,11 +902,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
881
902
|
minPayAmount: string;
|
|
882
903
|
settlementMode: "available" | "locked";
|
|
883
904
|
allowPurchase: boolean;
|
|
905
|
+
isHot: boolean;
|
|
884
906
|
targetAsset: {
|
|
885
907
|
symbol: string;
|
|
886
908
|
id: string;
|
|
887
909
|
name: string;
|
|
888
910
|
code: string;
|
|
911
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
889
912
|
isActive: boolean;
|
|
890
913
|
precision: number;
|
|
891
914
|
};
|
|
@@ -894,6 +917,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
894
917
|
id: string;
|
|
895
918
|
name: string;
|
|
896
919
|
code: string;
|
|
920
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
897
921
|
isActive: boolean;
|
|
898
922
|
precision: number;
|
|
899
923
|
};
|
|
@@ -964,12 +988,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
964
988
|
createdAt: Date;
|
|
965
989
|
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";
|
|
966
990
|
amount: string;
|
|
991
|
+
referenceId: string;
|
|
992
|
+
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";
|
|
967
993
|
} | undefined;
|
|
968
994
|
creditLedgerEntry?: {
|
|
969
995
|
id: string;
|
|
970
996
|
createdAt: Date;
|
|
971
997
|
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";
|
|
972
998
|
amount: string;
|
|
999
|
+
referenceId: string;
|
|
1000
|
+
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";
|
|
973
1001
|
} | undefined;
|
|
974
1002
|
user: {
|
|
975
1003
|
email: string;
|
|
@@ -1004,14 +1032,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1004
1032
|
product: {
|
|
1005
1033
|
id: string;
|
|
1006
1034
|
name: string;
|
|
1035
|
+
createdAt: Date;
|
|
1036
|
+
updatedAt: Date;
|
|
1037
|
+
description: string | null;
|
|
1007
1038
|
status: "active" | "draft" | "paused" | "ended";
|
|
1008
1039
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1040
|
+
targetAssetId: string;
|
|
1041
|
+
payAssetId: string;
|
|
1042
|
+
payAccountTypeId: string;
|
|
1043
|
+
receiveAccountTypeId: string;
|
|
1044
|
+
minPayAmount: string;
|
|
1045
|
+
settlementMode: "available" | "locked";
|
|
1046
|
+
allowPurchase: boolean;
|
|
1047
|
+
isHot: boolean;
|
|
1048
|
+
targetAsset: {
|
|
1049
|
+
symbol: string;
|
|
1050
|
+
id: string;
|
|
1051
|
+
name: string;
|
|
1052
|
+
code: string;
|
|
1053
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1054
|
+
isActive: boolean;
|
|
1055
|
+
precision: number;
|
|
1056
|
+
};
|
|
1057
|
+
payAsset: {
|
|
1058
|
+
symbol: string;
|
|
1059
|
+
id: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
code: string;
|
|
1062
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1063
|
+
isActive: boolean;
|
|
1064
|
+
precision: number;
|
|
1065
|
+
};
|
|
1066
|
+
payAccountType: {
|
|
1067
|
+
id: string;
|
|
1068
|
+
name: string;
|
|
1069
|
+
key: string;
|
|
1070
|
+
isActive: boolean;
|
|
1071
|
+
};
|
|
1072
|
+
receiveAccountType: {
|
|
1073
|
+
id: string;
|
|
1074
|
+
name: string;
|
|
1075
|
+
key: string;
|
|
1076
|
+
isActive: boolean;
|
|
1077
|
+
};
|
|
1009
1078
|
};
|
|
1010
1079
|
payAssetSnapshot: {
|
|
1011
1080
|
symbol: string;
|
|
1012
1081
|
id: string;
|
|
1013
1082
|
name: string;
|
|
1014
1083
|
code: string;
|
|
1084
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1015
1085
|
isActive: boolean;
|
|
1016
1086
|
precision: number;
|
|
1017
1087
|
};
|
|
@@ -1020,6 +1090,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1020
1090
|
id: string;
|
|
1021
1091
|
name: string;
|
|
1022
1092
|
code: string;
|
|
1093
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1023
1094
|
isActive: boolean;
|
|
1024
1095
|
precision: number;
|
|
1025
1096
|
};
|
|
@@ -1028,17 +1099,20 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1028
1099
|
id: string;
|
|
1029
1100
|
name: string;
|
|
1030
1101
|
code: string;
|
|
1102
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1031
1103
|
isActive: boolean;
|
|
1032
1104
|
precision: number;
|
|
1033
1105
|
};
|
|
1034
1106
|
sourcePayAccount: {
|
|
1035
1107
|
id: string;
|
|
1108
|
+
userId: string;
|
|
1036
1109
|
status: "active" | "frozen" | "disabled";
|
|
1037
1110
|
assetId: string;
|
|
1038
1111
|
ledgerAccountTypeId: string;
|
|
1039
1112
|
};
|
|
1040
1113
|
receiveAccount: {
|
|
1041
1114
|
id: string;
|
|
1115
|
+
userId: string;
|
|
1042
1116
|
status: "active" | "frozen" | "disabled";
|
|
1043
1117
|
assetId: string;
|
|
1044
1118
|
ledgerAccountTypeId: string;
|
|
@@ -1085,12 +1159,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1085
1159
|
createdAt: Date;
|
|
1086
1160
|
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";
|
|
1087
1161
|
amount: string;
|
|
1162
|
+
referenceId: string;
|
|
1163
|
+
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";
|
|
1088
1164
|
} | undefined;
|
|
1089
1165
|
creditLedgerEntry?: {
|
|
1090
1166
|
id: string;
|
|
1091
1167
|
createdAt: Date;
|
|
1092
1168
|
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";
|
|
1093
1169
|
amount: string;
|
|
1170
|
+
referenceId: string;
|
|
1171
|
+
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";
|
|
1094
1172
|
} | undefined;
|
|
1095
1173
|
user: {
|
|
1096
1174
|
email: string;
|
|
@@ -1125,14 +1203,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1125
1203
|
product: {
|
|
1126
1204
|
id: string;
|
|
1127
1205
|
name: string;
|
|
1206
|
+
createdAt: Date;
|
|
1207
|
+
updatedAt: Date;
|
|
1208
|
+
description: string | null;
|
|
1128
1209
|
status: "active" | "draft" | "paused" | "ended";
|
|
1129
1210
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1211
|
+
targetAssetId: string;
|
|
1212
|
+
payAssetId: string;
|
|
1213
|
+
payAccountTypeId: string;
|
|
1214
|
+
receiveAccountTypeId: string;
|
|
1215
|
+
minPayAmount: string;
|
|
1216
|
+
settlementMode: "available" | "locked";
|
|
1217
|
+
allowPurchase: boolean;
|
|
1218
|
+
isHot: boolean;
|
|
1219
|
+
targetAsset: {
|
|
1220
|
+
symbol: string;
|
|
1221
|
+
id: string;
|
|
1222
|
+
name: string;
|
|
1223
|
+
code: string;
|
|
1224
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1225
|
+
isActive: boolean;
|
|
1226
|
+
precision: number;
|
|
1227
|
+
};
|
|
1228
|
+
payAsset: {
|
|
1229
|
+
symbol: string;
|
|
1230
|
+
id: string;
|
|
1231
|
+
name: string;
|
|
1232
|
+
code: string;
|
|
1233
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1234
|
+
isActive: boolean;
|
|
1235
|
+
precision: number;
|
|
1236
|
+
};
|
|
1237
|
+
payAccountType: {
|
|
1238
|
+
id: string;
|
|
1239
|
+
name: string;
|
|
1240
|
+
key: string;
|
|
1241
|
+
isActive: boolean;
|
|
1242
|
+
};
|
|
1243
|
+
receiveAccountType: {
|
|
1244
|
+
id: string;
|
|
1245
|
+
name: string;
|
|
1246
|
+
key: string;
|
|
1247
|
+
isActive: boolean;
|
|
1248
|
+
};
|
|
1130
1249
|
};
|
|
1131
1250
|
payAssetSnapshot: {
|
|
1132
1251
|
symbol: string;
|
|
1133
1252
|
id: string;
|
|
1134
1253
|
name: string;
|
|
1135
1254
|
code: string;
|
|
1255
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1136
1256
|
isActive: boolean;
|
|
1137
1257
|
precision: number;
|
|
1138
1258
|
};
|
|
@@ -1141,6 +1261,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1141
1261
|
id: string;
|
|
1142
1262
|
name: string;
|
|
1143
1263
|
code: string;
|
|
1264
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1144
1265
|
isActive: boolean;
|
|
1145
1266
|
precision: number;
|
|
1146
1267
|
};
|
|
@@ -1149,17 +1270,20 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1149
1270
|
id: string;
|
|
1150
1271
|
name: string;
|
|
1151
1272
|
code: string;
|
|
1273
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1152
1274
|
isActive: boolean;
|
|
1153
1275
|
precision: number;
|
|
1154
1276
|
};
|
|
1155
1277
|
sourcePayAccount: {
|
|
1156
1278
|
id: string;
|
|
1279
|
+
userId: string;
|
|
1157
1280
|
status: "active" | "frozen" | "disabled";
|
|
1158
1281
|
assetId: string;
|
|
1159
1282
|
ledgerAccountTypeId: string;
|
|
1160
1283
|
};
|
|
1161
1284
|
receiveAccount: {
|
|
1162
1285
|
id: string;
|
|
1286
|
+
userId: string;
|
|
1163
1287
|
status: "active" | "frozen" | "disabled";
|
|
1164
1288
|
assetId: string;
|
|
1165
1289
|
ledgerAccountTypeId: string;
|
|
@@ -1200,12 +1324,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1200
1324
|
createdAt: Date;
|
|
1201
1325
|
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";
|
|
1202
1326
|
amount: string;
|
|
1327
|
+
referenceId: string;
|
|
1328
|
+
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";
|
|
1203
1329
|
} | undefined;
|
|
1204
1330
|
creditLedgerEntry?: {
|
|
1205
1331
|
id: string;
|
|
1206
1332
|
createdAt: Date;
|
|
1207
1333
|
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";
|
|
1208
1334
|
amount: string;
|
|
1335
|
+
referenceId: string;
|
|
1336
|
+
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";
|
|
1209
1337
|
} | undefined;
|
|
1210
1338
|
user: {
|
|
1211
1339
|
email: string;
|
|
@@ -1240,14 +1368,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1240
1368
|
product: {
|
|
1241
1369
|
id: string;
|
|
1242
1370
|
name: string;
|
|
1371
|
+
createdAt: Date;
|
|
1372
|
+
updatedAt: Date;
|
|
1373
|
+
description: string | null;
|
|
1243
1374
|
status: "active" | "draft" | "paused" | "ended";
|
|
1244
1375
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1376
|
+
targetAssetId: string;
|
|
1377
|
+
payAssetId: string;
|
|
1378
|
+
payAccountTypeId: string;
|
|
1379
|
+
receiveAccountTypeId: string;
|
|
1380
|
+
minPayAmount: string;
|
|
1381
|
+
settlementMode: "available" | "locked";
|
|
1382
|
+
allowPurchase: boolean;
|
|
1383
|
+
isHot: boolean;
|
|
1384
|
+
targetAsset: {
|
|
1385
|
+
symbol: string;
|
|
1386
|
+
id: string;
|
|
1387
|
+
name: string;
|
|
1388
|
+
code: string;
|
|
1389
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1390
|
+
isActive: boolean;
|
|
1391
|
+
precision: number;
|
|
1392
|
+
};
|
|
1393
|
+
payAsset: {
|
|
1394
|
+
symbol: string;
|
|
1395
|
+
id: string;
|
|
1396
|
+
name: string;
|
|
1397
|
+
code: string;
|
|
1398
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1399
|
+
isActive: boolean;
|
|
1400
|
+
precision: number;
|
|
1401
|
+
};
|
|
1402
|
+
payAccountType: {
|
|
1403
|
+
id: string;
|
|
1404
|
+
name: string;
|
|
1405
|
+
key: string;
|
|
1406
|
+
isActive: boolean;
|
|
1407
|
+
};
|
|
1408
|
+
receiveAccountType: {
|
|
1409
|
+
id: string;
|
|
1410
|
+
name: string;
|
|
1411
|
+
key: string;
|
|
1412
|
+
isActive: boolean;
|
|
1413
|
+
};
|
|
1245
1414
|
};
|
|
1246
1415
|
payAssetSnapshot: {
|
|
1247
1416
|
symbol: string;
|
|
1248
1417
|
id: string;
|
|
1249
1418
|
name: string;
|
|
1250
1419
|
code: string;
|
|
1420
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1251
1421
|
isActive: boolean;
|
|
1252
1422
|
precision: number;
|
|
1253
1423
|
};
|
|
@@ -1256,6 +1426,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1256
1426
|
id: string;
|
|
1257
1427
|
name: string;
|
|
1258
1428
|
code: string;
|
|
1429
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1259
1430
|
isActive: boolean;
|
|
1260
1431
|
precision: number;
|
|
1261
1432
|
};
|
|
@@ -1264,17 +1435,20 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1264
1435
|
id: string;
|
|
1265
1436
|
name: string;
|
|
1266
1437
|
code: string;
|
|
1438
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1267
1439
|
isActive: boolean;
|
|
1268
1440
|
precision: number;
|
|
1269
1441
|
};
|
|
1270
1442
|
sourcePayAccount: {
|
|
1271
1443
|
id: string;
|
|
1444
|
+
userId: string;
|
|
1272
1445
|
status: "active" | "frozen" | "disabled";
|
|
1273
1446
|
assetId: string;
|
|
1274
1447
|
ledgerAccountTypeId: string;
|
|
1275
1448
|
};
|
|
1276
1449
|
receiveAccount: {
|
|
1277
1450
|
id: string;
|
|
1451
|
+
userId: string;
|
|
1278
1452
|
status: "active" | "frozen" | "disabled";
|
|
1279
1453
|
assetId: string;
|
|
1280
1454
|
ledgerAccountTypeId: string;
|