@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.
@@ -413,7 +413,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
413
413
  receiveAccountTypeId: string;
414
414
  minPayAmount: string;
415
415
  settlementMode: "available" | "locked";
416
- targetAssetInfo: {
416
+ targetAsset: {
417
417
  symbol: string;
418
418
  id: string;
419
419
  name: string;
@@ -421,7 +421,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
421
421
  isActive: boolean;
422
422
  precision: number;
423
423
  };
424
- payAssetInfo: {
424
+ payAsset: {
425
425
  symbol: string;
426
426
  id: string;
427
427
  name: string;
@@ -429,13 +429,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
429
429
  isActive: boolean;
430
430
  precision: number;
431
431
  };
432
- payAccountTypeInfo: {
432
+ payAccountType: {
433
433
  id: string;
434
434
  name: string;
435
435
  key: string;
436
436
  isActive: boolean;
437
437
  };
438
- receiveAccountTypeInfo: {
438
+ receiveAccountType: {
439
439
  id: string;
440
440
  name: string;
441
441
  key: string;
@@ -494,7 +494,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
494
494
  receiveAccountTypeId: string;
495
495
  minPayAmount: string;
496
496
  settlementMode: "available" | "locked";
497
- targetAssetInfo: {
497
+ targetAsset: {
498
498
  symbol: string;
499
499
  id: string;
500
500
  name: string;
@@ -502,7 +502,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
502
502
  isActive: boolean;
503
503
  precision: number;
504
504
  };
505
- payAssetInfo: {
505
+ payAsset: {
506
506
  symbol: string;
507
507
  id: string;
508
508
  name: string;
@@ -510,13 +510,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
510
510
  isActive: boolean;
511
511
  precision: number;
512
512
  };
513
- payAccountTypeInfo: {
513
+ payAccountType: {
514
514
  id: string;
515
515
  name: string;
516
516
  key: string;
517
517
  isActive: boolean;
518
518
  };
519
- receiveAccountTypeInfo: {
519
+ receiveAccountType: {
520
520
  id: string;
521
521
  name: string;
522
522
  key: string;
@@ -566,7 +566,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
566
566
  receiveAccountTypeId: string;
567
567
  minPayAmount: string;
568
568
  settlementMode: "available" | "locked";
569
- targetAssetInfo: {
569
+ targetAsset: {
570
570
  symbol: string;
571
571
  id: string;
572
572
  name: string;
@@ -574,7 +574,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
574
574
  isActive: boolean;
575
575
  precision: number;
576
576
  };
577
- payAssetInfo: {
577
+ payAsset: {
578
578
  symbol: string;
579
579
  id: string;
580
580
  name: string;
@@ -582,13 +582,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
582
582
  isActive: boolean;
583
583
  precision: number;
584
584
  };
585
- payAccountTypeInfo: {
585
+ payAccountType: {
586
586
  id: string;
587
587
  name: string;
588
588
  key: string;
589
589
  isActive: boolean;
590
590
  };
591
- receiveAccountTypeInfo: {
591
+ receiveAccountType: {
592
592
  id: string;
593
593
  name: string;
594
594
  key: string;
@@ -639,7 +639,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
639
639
  receiveAccountTypeId: string;
640
640
  minPayAmount: string;
641
641
  settlementMode: "available" | "locked";
642
- targetAssetInfo: {
642
+ targetAsset: {
643
643
  symbol: string;
644
644
  id: string;
645
645
  name: string;
@@ -647,7 +647,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
647
647
  isActive: boolean;
648
648
  precision: number;
649
649
  };
650
- payAssetInfo: {
650
+ payAsset: {
651
651
  symbol: string;
652
652
  id: string;
653
653
  name: string;
@@ -655,13 +655,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
655
655
  isActive: boolean;
656
656
  precision: number;
657
657
  };
658
- payAccountTypeInfo: {
658
+ payAccountType: {
659
659
  id: string;
660
660
  name: string;
661
661
  key: string;
662
662
  isActive: boolean;
663
663
  };
664
- receiveAccountTypeInfo: {
664
+ receiveAccountType: {
665
665
  id: string;
666
666
  name: string;
667
667
  key: string;
@@ -712,7 +712,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
712
712
  receiveAccountTypeId: string;
713
713
  minPayAmount: string;
714
714
  settlementMode: "available" | "locked";
715
- targetAssetInfo: {
715
+ targetAsset: {
716
716
  symbol: string;
717
717
  id: string;
718
718
  name: string;
@@ -720,7 +720,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
720
720
  isActive: boolean;
721
721
  precision: number;
722
722
  };
723
- payAssetInfo: {
723
+ payAsset: {
724
724
  symbol: string;
725
725
  id: string;
726
726
  name: string;
@@ -728,13 +728,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
728
728
  isActive: boolean;
729
729
  precision: number;
730
730
  };
731
- payAccountTypeInfo: {
731
+ payAccountType: {
732
732
  id: string;
733
733
  name: string;
734
734
  key: string;
735
735
  isActive: boolean;
736
736
  };
737
- receiveAccountTypeInfo: {
737
+ receiveAccountType: {
738
738
  id: string;
739
739
  name: string;
740
740
  key: string;
@@ -784,7 +784,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
784
784
  receiveAccountTypeId: string;
785
785
  minPayAmount: string;
786
786
  settlementMode: "available" | "locked";
787
- targetAssetInfo: {
787
+ targetAsset: {
788
788
  symbol: string;
789
789
  id: string;
790
790
  name: string;
@@ -792,7 +792,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
792
792
  isActive: boolean;
793
793
  precision: number;
794
794
  };
795
- payAssetInfo: {
795
+ payAsset: {
796
796
  symbol: string;
797
797
  id: string;
798
798
  name: string;
@@ -800,13 +800,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
800
800
  isActive: boolean;
801
801
  precision: number;
802
802
  };
803
- payAccountTypeInfo: {
803
+ payAccountType: {
804
804
  id: string;
805
805
  name: string;
806
806
  key: string;
807
807
  isActive: boolean;
808
808
  };
809
- receiveAccountTypeInfo: {
809
+ receiveAccountType: {
810
810
  id: string;
811
811
  name: string;
812
812
  key: string;
@@ -871,7 +871,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
871
871
  receiveAccountTypeId: string;
872
872
  minPayAmount: string;
873
873
  settlementMode: "available" | "locked";
874
- targetAssetInfo: {
874
+ targetAsset: {
875
875
  symbol: string;
876
876
  id: string;
877
877
  name: string;
@@ -879,7 +879,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
879
879
  isActive: boolean;
880
880
  precision: number;
881
881
  };
882
- payAssetInfo: {
882
+ payAsset: {
883
883
  symbol: string;
884
884
  id: string;
885
885
  name: string;
@@ -887,13 +887,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
887
887
  isActive: boolean;
888
888
  precision: number;
889
889
  };
890
- payAccountTypeInfo: {
890
+ payAccountType: {
891
891
  id: string;
892
892
  name: string;
893
893
  key: string;
894
894
  isActive: boolean;
895
895
  };
896
- receiveAccountTypeInfo: {
896
+ receiveAccountType: {
897
897
  id: string;
898
898
  name: string;
899
899
  key: string;
@@ -949,18 +949,26 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
949
949
  response: {
950
950
  200: {
951
951
  data: {
952
- debitLedgerEntryInfo?: {
952
+ debitLedgerEntry?: {
953
953
  id: string;
954
954
  createdAt: Date;
955
955
  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";
956
956
  amount: string;
957
957
  } | undefined;
958
- creditLedgerEntryInfo?: {
958
+ creditLedgerEntry?: {
959
959
  id: string;
960
960
  createdAt: Date;
961
961
  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";
962
962
  amount: string;
963
963
  } | undefined;
964
+ user: {
965
+ email: string;
966
+ id: string;
967
+ username: string | null;
968
+ displayUsername: string | null;
969
+ phoneNumber: string | null;
970
+ banned: boolean | null;
971
+ };
964
972
  id: string;
965
973
  createdAt: Date;
966
974
  updatedAt: Date;
@@ -983,7 +991,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
983
991
  creditLedgerEntryId: string | null;
984
992
  failureCode: string | null;
985
993
  failureReason: string | null;
986
- targetAssetInfo: {
994
+ product: {
995
+ id: string;
996
+ name: string;
997
+ status: "active" | "draft" | "paused" | "ended";
998
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
999
+ };
1000
+ payAssetSnapshot: {
987
1001
  symbol: string;
988
1002
  id: string;
989
1003
  name: string;
@@ -991,7 +1005,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
991
1005
  isActive: boolean;
992
1006
  precision: number;
993
1007
  };
994
- payAssetInfo: {
1008
+ targetAssetSnapshot: {
995
1009
  symbol: string;
996
1010
  id: string;
997
1011
  name: string;
@@ -999,21 +1013,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
999
1013
  isActive: boolean;
1000
1014
  precision: number;
1001
1015
  };
1002
- userInfo: {
1003
- email: string;
1004
- id: string;
1005
- username: string | null;
1006
- displayUsername: string | null;
1007
- phoneNumber: string | null;
1008
- banned: boolean | null;
1009
- };
1010
- productInfo: {
1011
- id: string;
1012
- name: string;
1013
- status: "active" | "draft" | "paused" | "ended";
1014
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1015
- };
1016
- quoteAssetInfo: {
1016
+ quoteAssetSnapshot: {
1017
1017
  symbol: string;
1018
1018
  id: string;
1019
1019
  name: string;
@@ -1021,13 +1021,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1021
1021
  isActive: boolean;
1022
1022
  precision: number;
1023
1023
  };
1024
- sourcePayAccountInfo: {
1024
+ sourcePayAccount: {
1025
1025
  id: string;
1026
1026
  status: "active" | "frozen" | "disabled";
1027
1027
  assetId: string;
1028
1028
  ledgerAccountTypeId: string;
1029
1029
  };
1030
- receiveAccountInfo: {
1030
+ receiveAccount: {
1031
1031
  id: string;
1032
1032
  status: "active" | "frozen" | "disabled";
1033
1033
  assetId: string;
@@ -1070,18 +1070,26 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1070
1070
  headers: {};
1071
1071
  response: {
1072
1072
  200: {
1073
- debitLedgerEntryInfo?: {
1073
+ debitLedgerEntry?: {
1074
1074
  id: string;
1075
1075
  createdAt: Date;
1076
1076
  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";
1077
1077
  amount: string;
1078
1078
  } | undefined;
1079
- creditLedgerEntryInfo?: {
1079
+ creditLedgerEntry?: {
1080
1080
  id: string;
1081
1081
  createdAt: Date;
1082
1082
  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";
1083
1083
  amount: string;
1084
1084
  } | undefined;
1085
+ user: {
1086
+ email: string;
1087
+ id: string;
1088
+ username: string | null;
1089
+ displayUsername: string | null;
1090
+ phoneNumber: string | null;
1091
+ banned: boolean | null;
1092
+ };
1085
1093
  id: string;
1086
1094
  createdAt: Date;
1087
1095
  updatedAt: Date;
@@ -1104,7 +1112,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1104
1112
  creditLedgerEntryId: string | null;
1105
1113
  failureCode: string | null;
1106
1114
  failureReason: string | null;
1107
- targetAssetInfo: {
1115
+ product: {
1116
+ id: string;
1117
+ name: string;
1118
+ status: "active" | "draft" | "paused" | "ended";
1119
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1120
+ };
1121
+ payAssetSnapshot: {
1108
1122
  symbol: string;
1109
1123
  id: string;
1110
1124
  name: string;
@@ -1112,7 +1126,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1112
1126
  isActive: boolean;
1113
1127
  precision: number;
1114
1128
  };
1115
- payAssetInfo: {
1129
+ targetAssetSnapshot: {
1116
1130
  symbol: string;
1117
1131
  id: string;
1118
1132
  name: string;
@@ -1120,21 +1134,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1120
1134
  isActive: boolean;
1121
1135
  precision: number;
1122
1136
  };
1123
- userInfo: {
1124
- email: string;
1125
- id: string;
1126
- username: string | null;
1127
- displayUsername: string | null;
1128
- phoneNumber: string | null;
1129
- banned: boolean | null;
1130
- };
1131
- productInfo: {
1132
- id: string;
1133
- name: string;
1134
- status: "active" | "draft" | "paused" | "ended";
1135
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1136
- };
1137
- quoteAssetInfo: {
1137
+ quoteAssetSnapshot: {
1138
1138
  symbol: string;
1139
1139
  id: string;
1140
1140
  name: string;
@@ -1142,13 +1142,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1142
1142
  isActive: boolean;
1143
1143
  precision: number;
1144
1144
  };
1145
- sourcePayAccountInfo: {
1145
+ sourcePayAccount: {
1146
1146
  id: string;
1147
1147
  status: "active" | "frozen" | "disabled";
1148
1148
  assetId: string;
1149
1149
  ledgerAccountTypeId: string;
1150
1150
  };
1151
- receiveAccountInfo: {
1151
+ receiveAccount: {
1152
1152
  id: string;
1153
1153
  status: "active" | "frozen" | "disabled";
1154
1154
  assetId: string;
@@ -1185,18 +1185,26 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1185
1185
  headers: {};
1186
1186
  response: {
1187
1187
  200: {
1188
- debitLedgerEntryInfo?: {
1188
+ debitLedgerEntry?: {
1189
1189
  id: string;
1190
1190
  createdAt: Date;
1191
1191
  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";
1192
1192
  amount: string;
1193
1193
  } | undefined;
1194
- creditLedgerEntryInfo?: {
1194
+ creditLedgerEntry?: {
1195
1195
  id: string;
1196
1196
  createdAt: Date;
1197
1197
  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";
1198
1198
  amount: string;
1199
1199
  } | undefined;
1200
+ user: {
1201
+ email: string;
1202
+ id: string;
1203
+ username: string | null;
1204
+ displayUsername: string | null;
1205
+ phoneNumber: string | null;
1206
+ banned: boolean | null;
1207
+ };
1200
1208
  id: string;
1201
1209
  createdAt: Date;
1202
1210
  updatedAt: Date;
@@ -1219,7 +1227,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1219
1227
  creditLedgerEntryId: string | null;
1220
1228
  failureCode: string | null;
1221
1229
  failureReason: string | null;
1222
- targetAssetInfo: {
1230
+ product: {
1231
+ id: string;
1232
+ name: string;
1233
+ status: "active" | "draft" | "paused" | "ended";
1234
+ productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1235
+ };
1236
+ payAssetSnapshot: {
1223
1237
  symbol: string;
1224
1238
  id: string;
1225
1239
  name: string;
@@ -1227,7 +1241,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1227
1241
  isActive: boolean;
1228
1242
  precision: number;
1229
1243
  };
1230
- payAssetInfo: {
1244
+ targetAssetSnapshot: {
1231
1245
  symbol: string;
1232
1246
  id: string;
1233
1247
  name: string;
@@ -1235,21 +1249,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1235
1249
  isActive: boolean;
1236
1250
  precision: number;
1237
1251
  };
1238
- userInfo: {
1239
- email: string;
1240
- id: string;
1241
- username: string | null;
1242
- displayUsername: string | null;
1243
- phoneNumber: string | null;
1244
- banned: boolean | null;
1245
- };
1246
- productInfo: {
1247
- id: string;
1248
- name: string;
1249
- status: "active" | "draft" | "paused" | "ended";
1250
- productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
1251
- };
1252
- quoteAssetInfo: {
1252
+ quoteAssetSnapshot: {
1253
1253
  symbol: string;
1254
1254
  id: string;
1255
1255
  name: string;
@@ -1257,13 +1257,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1257
1257
  isActive: boolean;
1258
1258
  precision: number;
1259
1259
  };
1260
- sourcePayAccountInfo: {
1260
+ sourcePayAccount: {
1261
1261
  id: string;
1262
1262
  status: "active" | "frozen" | "disabled";
1263
1263
  assetId: string;
1264
1264
  ledgerAccountTypeId: string;
1265
1265
  };
1266
- receiveAccountInfo: {
1266
+ receiveAccount: {
1267
1267
  id: string;
1268
1268
  status: "active" | "frozen" | "disabled";
1269
1269
  assetId: string;