@r2wa-org/eden 0.0.59 → 0.0.62

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.
Files changed (47) hide show
  1. package/dist/src/admin/admin/dto.schemas.d.ts +8 -0
  2. package/dist/src/admin/admin/errors/index.d.ts +1 -0
  3. package/dist/src/admin/admin/errors/locales/zh.d.ts +1 -0
  4. package/dist/src/admin/admin/router.d.ts +31 -0
  5. package/dist/src/admin/admin/service.d.ts +3 -0
  6. package/dist/src/admin/index.d.ts +166 -35
  7. package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +44 -12
  8. package/dist/src/asset-convert-product/admin/router.d.ts +83 -23
  9. package/dist/src/asset-convert-product/admin/service.d.ts +73 -17
  10. package/dist/src/asset-convert-product/db.schemas.d.ts +76 -8
  11. package/dist/src/asset-convert-product/errors/index.d.ts +4 -0
  12. package/dist/src/asset-convert-product/errors/locales/zh.d.ts +4 -0
  13. package/dist/src/asset-convert-product/internal/service.d.ts +4 -3
  14. package/dist/src/asset-convert-product/schema.d.ts +41 -6
  15. package/dist/src/asset-convert-product/user/dto.schemas.d.ts +264 -14
  16. package/dist/src/asset-convert-product/user/router.d.ts +10 -8
  17. package/dist/src/asset-convert-product/user/service.d.ts +9 -5
  18. package/dist/src/index.d.ts +263 -48
  19. package/dist/src/ledger/admin/dto.schemas.d.ts +80 -1
  20. package/dist/src/ledger/admin/router.d.ts +8 -1
  21. package/dist/src/ledger/admin/service.d.ts +17 -4
  22. package/dist/src/ledger/internal/service.d.ts +0 -146
  23. package/dist/src/ledger/user/service.d.ts +8 -4
  24. package/dist/src/ledger-account/admin/router.d.ts +1 -1
  25. package/dist/src/ledger-account/user/dto.schemas.d.ts +5 -0
  26. package/dist/src/ledger-account/user/router.d.ts +61 -0
  27. package/dist/src/ledger-account/user/service.d.ts +51 -1
  28. package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +6 -6
  29. package/dist/src/ledger-account-import/admin/router.d.ts +9 -9
  30. package/dist/src/ledger-account-import/admin/service.d.ts +7 -7
  31. package/dist/src/ledger-account-import/db.schemas.d.ts +4 -4
  32. package/dist/src/ledger-account-import/schema.d.ts +2 -2
  33. package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +95 -2
  34. package/dist/src/welfare-cycle/admin/router.d.ts +34 -1
  35. package/dist/src/welfare-cycle/admin/service.d.ts +26 -1
  36. package/dist/src/welfare-cycle/db.schemas.d.ts +174 -4
  37. package/dist/src/welfare-cycle/errors/index.d.ts +6 -0
  38. package/dist/src/welfare-cycle/errors/locales/zh.d.ts +6 -0
  39. package/dist/src/welfare-cycle/internal/service.d.ts +41 -3
  40. package/dist/src/welfare-cycle/schema.d.ts +92 -3
  41. package/dist/src/welfare-cycle/user/dto.schemas.d.ts +106 -6
  42. package/dist/src/welfare-cycle/user/router.d.ts +14 -5
  43. package/dist/src/welfare-cycle/user/service.d.ts +14 -3
  44. package/dist/src/withdraw/user/dto.schemas.d.ts +599 -0
  45. package/dist/src/withdraw/user/router.d.ts +73 -0
  46. package/dist/src/withdraw/user/service.d.ts +2 -1
  47. package/package.json +1 -1
@@ -46,8 +46,13 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
46
46
  }>;
47
47
  targetAssetId: import("@sinclair/typebox").TString;
48
48
  payAssetId: import("@sinclair/typebox").TString;
49
- defaultReceiveAccountTypeId: import("@sinclair/typebox").TString;
49
+ payAccountTypeId: import("@sinclair/typebox").TString;
50
+ receiveAccountTypeId: import("@sinclair/typebox").TString;
50
51
  minPayAmount: import("@sinclair/typebox").TString;
52
+ settlementMode: import("@sinclair/typebox").TEnum<{
53
+ available: "available";
54
+ locked: "locked";
55
+ }>;
51
56
  targetAssetInfo: import("@sinclair/typebox").TObject<{
52
57
  symbol: import("@sinclair/typebox").TString;
53
58
  id: import("@sinclair/typebox").TString;
@@ -64,7 +69,13 @@ export declare const assetConvertProductAdminResponseSchema: import("@sinclair/t
64
69
  isActive: import("@sinclair/typebox").TBoolean;
65
70
  precision: import("@sinclair/typebox").TInteger;
66
71
  }>;
67
- defaultReceiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
72
+ payAccountTypeInfo: import("@sinclair/typebox").TObject<{
73
+ id: import("@sinclair/typebox").TString;
74
+ name: import("@sinclair/typebox").TString;
75
+ key: import("@sinclair/typebox").TString;
76
+ isActive: import("@sinclair/typebox").TBoolean;
77
+ }>;
78
+ receiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
68
79
  id: import("@sinclair/typebox").TString;
69
80
  name: import("@sinclair/typebox").TString;
70
81
  key: import("@sinclair/typebox").TString;
@@ -80,7 +91,6 @@ export declare const assetConvertOrderAdminResponseSchema: import("@sinclair/typ
80
91
  status: import("@sinclair/typebox").TEnum<{
81
92
  created: "created";
82
93
  completed: "completed";
83
- failed: "failed";
84
94
  }>;
85
95
  idempotencyKey: import("@sinclair/typebox").TString;
86
96
  orderNo: import("@sinclair/typebox").TString;
@@ -237,8 +247,13 @@ export declare const assetConvertProductCreateSchema: import("@sinclair/typebox"
237
247
  }>;
238
248
  targetAssetId: import("@sinclair/typebox").TString;
239
249
  payAssetId: import("@sinclair/typebox").TString;
240
- defaultReceiveAccountTypeId: import("@sinclair/typebox").TString;
250
+ payAccountTypeId: import("@sinclair/typebox").TString;
251
+ receiveAccountTypeId: import("@sinclair/typebox").TString;
241
252
  minPayAmount: import("@sinclair/typebox").TString;
253
+ settlementMode: import("@sinclair/typebox").TEnum<{
254
+ available: "available";
255
+ locked: "locked";
256
+ }>;
242
257
  status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
243
258
  active: "active";
244
259
  draft: "draft";
@@ -258,8 +273,13 @@ export declare const assetConvertProductUpdateSchema: import("@sinclair/typebox"
258
273
  }>>;
259
274
  targetAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
260
275
  payAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
261
- defaultReceiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
276
+ payAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
277
+ receiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
262
278
  minPayAmount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
279
+ settlementMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
280
+ available: "available";
281
+ locked: "locked";
282
+ }>>;
263
283
  status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
264
284
  active: "active";
265
285
  draft: "draft";
@@ -285,7 +305,12 @@ export declare const assetConvertProductListQuerySchema: import("@sinclair/typeb
285
305
  }>>;
286
306
  targetAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
287
307
  payAssetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
288
- defaultReceiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
308
+ payAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
309
+ receiveAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
310
+ settlementMode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
311
+ available: "available";
312
+ locked: "locked";
313
+ }>>;
289
314
  createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
290
315
  createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
291
316
  updatedAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
@@ -317,8 +342,13 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
317
342
  }>;
318
343
  targetAssetId: import("@sinclair/typebox").TString;
319
344
  payAssetId: import("@sinclair/typebox").TString;
320
- defaultReceiveAccountTypeId: import("@sinclair/typebox").TString;
345
+ payAccountTypeId: import("@sinclair/typebox").TString;
346
+ receiveAccountTypeId: import("@sinclair/typebox").TString;
321
347
  minPayAmount: import("@sinclair/typebox").TString;
348
+ settlementMode: import("@sinclair/typebox").TEnum<{
349
+ available: "available";
350
+ locked: "locked";
351
+ }>;
322
352
  targetAssetInfo: import("@sinclair/typebox").TObject<{
323
353
  symbol: import("@sinclair/typebox").TString;
324
354
  id: import("@sinclair/typebox").TString;
@@ -335,7 +365,13 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
335
365
  isActive: import("@sinclair/typebox").TBoolean;
336
366
  precision: import("@sinclair/typebox").TInteger;
337
367
  }>;
338
- defaultReceiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
368
+ payAccountTypeInfo: import("@sinclair/typebox").TObject<{
369
+ id: import("@sinclair/typebox").TString;
370
+ name: import("@sinclair/typebox").TString;
371
+ key: import("@sinclair/typebox").TString;
372
+ isActive: import("@sinclair/typebox").TBoolean;
373
+ }>;
374
+ receiveAccountTypeInfo: import("@sinclair/typebox").TObject<{
339
375
  id: import("@sinclair/typebox").TString;
340
376
  name: import("@sinclair/typebox").TString;
341
377
  key: import("@sinclair/typebox").TString;
@@ -356,14 +392,12 @@ export declare const assetConvertOrderListQuerySchema: import("@sinclair/typebox
356
392
  status: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
357
393
  created: "created";
358
394
  completed: "completed";
359
- failed: "failed";
360
395
  }>>;
361
396
  idempotencyKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
362
397
  orderNo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
363
398
  productId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
364
399
  sourcePayAccountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
365
400
  receiveAccountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
366
- failureCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
367
401
  createdAtStart: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
368
402
  createdAtEnd: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
369
403
  limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
@@ -381,7 +415,6 @@ export declare const assetConvertOrderListResponseSchema: import("@sinclair/type
381
415
  status: import("@sinclair/typebox").TEnum<{
382
416
  created: "created";
383
417
  completed: "completed";
384
- failed: "failed";
385
418
  }>;
386
419
  idempotencyKey: import("@sinclair/typebox").TString;
387
420
  orderNo: import("@sinclair/typebox").TString;
@@ -544,7 +577,6 @@ export declare const assetConvertOrderStatsResponseSchema: import("@sinclair/typ
544
577
  totalCount: import("@sinclair/typebox").TNumber;
545
578
  createdCount: import("@sinclair/typebox").TNumber;
546
579
  completedCount: import("@sinclair/typebox").TNumber;
547
- failedCount: import("@sinclair/typebox").TNumber;
548
580
  totalPayAmount: import("@sinclair/typebox").TString;
549
581
  totalTargetAmount: import("@sinclair/typebox").TString;
550
582
  }>;
@@ -390,8 +390,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
390
390
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
391
391
  targetAssetId: string;
392
392
  payAssetId: string;
393
- defaultReceiveAccountTypeId: string;
393
+ payAccountTypeId: string;
394
+ receiveAccountTypeId: string;
394
395
  minPayAmount: string;
396
+ settlementMode: "available" | "locked";
395
397
  };
396
398
  params: {};
397
399
  query: {};
@@ -407,8 +409,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
407
409
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
408
410
  targetAssetId: string;
409
411
  payAssetId: string;
410
- defaultReceiveAccountTypeId: string;
412
+ payAccountTypeId: string;
413
+ receiveAccountTypeId: string;
411
414
  minPayAmount: string;
415
+ settlementMode: "available" | "locked";
412
416
  targetAssetInfo: {
413
417
  symbol: string;
414
418
  id: string;
@@ -425,7 +429,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
425
429
  isActive: boolean;
426
430
  precision: number;
427
431
  };
428
- defaultReceiveAccountTypeInfo: {
432
+ payAccountTypeInfo: {
433
+ id: string;
434
+ name: string;
435
+ key: string;
436
+ isActive: boolean;
437
+ };
438
+ receiveAccountTypeInfo: {
429
439
  id: string;
430
440
  name: string;
431
441
  key: string;
@@ -459,8 +469,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
459
469
  productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
460
470
  targetAssetId?: string | undefined;
461
471
  payAssetId?: string | undefined;
462
- defaultReceiveAccountTypeId?: string | undefined;
472
+ payAccountTypeId?: string | undefined;
473
+ receiveAccountTypeId?: string | undefined;
463
474
  minPayAmount?: string | undefined;
475
+ settlementMode?: "available" | "locked" | undefined;
464
476
  };
465
477
  params: {
466
478
  id: string;
@@ -478,8 +490,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
478
490
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
479
491
  targetAssetId: string;
480
492
  payAssetId: string;
481
- defaultReceiveAccountTypeId: string;
493
+ payAccountTypeId: string;
494
+ receiveAccountTypeId: string;
482
495
  minPayAmount: string;
496
+ settlementMode: "available" | "locked";
483
497
  targetAssetInfo: {
484
498
  symbol: string;
485
499
  id: string;
@@ -496,7 +510,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
496
510
  isActive: boolean;
497
511
  precision: number;
498
512
  };
499
- defaultReceiveAccountTypeInfo: {
513
+ payAccountTypeInfo: {
514
+ id: string;
515
+ name: string;
516
+ key: string;
517
+ isActive: boolean;
518
+ };
519
+ receiveAccountTypeInfo: {
500
520
  id: string;
501
521
  name: string;
502
522
  key: string;
@@ -542,8 +562,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
542
562
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
543
563
  targetAssetId: string;
544
564
  payAssetId: string;
545
- defaultReceiveAccountTypeId: string;
565
+ payAccountTypeId: string;
566
+ receiveAccountTypeId: string;
546
567
  minPayAmount: string;
568
+ settlementMode: "available" | "locked";
547
569
  targetAssetInfo: {
548
570
  symbol: string;
549
571
  id: string;
@@ -560,7 +582,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
560
582
  isActive: boolean;
561
583
  precision: number;
562
584
  };
563
- defaultReceiveAccountTypeInfo: {
585
+ payAccountTypeInfo: {
586
+ id: string;
587
+ name: string;
588
+ key: string;
589
+ isActive: boolean;
590
+ };
591
+ receiveAccountTypeInfo: {
564
592
  id: string;
565
593
  name: string;
566
594
  key: string;
@@ -607,8 +635,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
607
635
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
608
636
  targetAssetId: string;
609
637
  payAssetId: string;
610
- defaultReceiveAccountTypeId: string;
638
+ payAccountTypeId: string;
639
+ receiveAccountTypeId: string;
611
640
  minPayAmount: string;
641
+ settlementMode: "available" | "locked";
612
642
  targetAssetInfo: {
613
643
  symbol: string;
614
644
  id: string;
@@ -625,7 +655,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
625
655
  isActive: boolean;
626
656
  precision: number;
627
657
  };
628
- defaultReceiveAccountTypeInfo: {
658
+ payAccountTypeInfo: {
659
+ id: string;
660
+ name: string;
661
+ key: string;
662
+ isActive: boolean;
663
+ };
664
+ receiveAccountTypeInfo: {
629
665
  id: string;
630
666
  name: string;
631
667
  key: string;
@@ -672,8 +708,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
672
708
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
673
709
  targetAssetId: string;
674
710
  payAssetId: string;
675
- defaultReceiveAccountTypeId: string;
711
+ payAccountTypeId: string;
712
+ receiveAccountTypeId: string;
676
713
  minPayAmount: string;
714
+ settlementMode: "available" | "locked";
677
715
  targetAssetInfo: {
678
716
  symbol: string;
679
717
  id: string;
@@ -690,7 +728,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
690
728
  isActive: boolean;
691
729
  precision: number;
692
730
  };
693
- defaultReceiveAccountTypeInfo: {
731
+ payAccountTypeInfo: {
732
+ id: string;
733
+ name: string;
734
+ key: string;
735
+ isActive: boolean;
736
+ };
737
+ receiveAccountTypeInfo: {
694
738
  id: string;
695
739
  name: string;
696
740
  key: string;
@@ -736,8 +780,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
736
780
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
737
781
  targetAssetId: string;
738
782
  payAssetId: string;
739
- defaultReceiveAccountTypeId: string;
783
+ payAccountTypeId: string;
784
+ receiveAccountTypeId: string;
740
785
  minPayAmount: string;
786
+ settlementMode: "available" | "locked";
741
787
  targetAssetInfo: {
742
788
  symbol: string;
743
789
  id: string;
@@ -754,7 +800,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
754
800
  isActive: boolean;
755
801
  precision: number;
756
802
  };
757
- defaultReceiveAccountTypeInfo: {
803
+ payAccountTypeInfo: {
804
+ id: string;
805
+ name: string;
806
+ key: string;
807
+ isActive: boolean;
808
+ };
809
+ receiveAccountTypeInfo: {
758
810
  id: string;
759
811
  name: string;
760
812
  key: string;
@@ -790,7 +842,9 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
790
842
  productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
791
843
  targetAssetId?: string | undefined;
792
844
  payAssetId?: string | undefined;
793
- defaultReceiveAccountTypeId?: string | undefined;
845
+ payAccountTypeId?: string | undefined;
846
+ receiveAccountTypeId?: string | undefined;
847
+ settlementMode?: "available" | "locked" | undefined;
794
848
  limit?: number | undefined;
795
849
  offset?: number | undefined;
796
850
  pageSize?: number | undefined;
@@ -813,8 +867,10 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
813
867
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
814
868
  targetAssetId: string;
815
869
  payAssetId: string;
816
- defaultReceiveAccountTypeId: string;
870
+ payAccountTypeId: string;
871
+ receiveAccountTypeId: string;
817
872
  minPayAmount: string;
873
+ settlementMode: "available" | "locked";
818
874
  targetAssetInfo: {
819
875
  symbol: string;
820
876
  id: string;
@@ -831,7 +887,13 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
831
887
  isActive: boolean;
832
888
  precision: number;
833
889
  };
834
- defaultReceiveAccountTypeInfo: {
890
+ payAccountTypeInfo: {
891
+ id: string;
892
+ name: string;
893
+ key: string;
894
+ isActive: boolean;
895
+ };
896
+ receiveAccountTypeInfo: {
835
897
  id: string;
836
898
  name: string;
837
899
  key: string;
@@ -870,13 +932,12 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
870
932
  query: {
871
933
  id?: string | undefined;
872
934
  userId?: string | undefined;
873
- status?: "created" | "completed" | "failed" | undefined;
935
+ status?: "created" | "completed" | undefined;
874
936
  idempotencyKey?: string | undefined;
875
937
  orderNo?: string | undefined;
876
938
  productId?: string | undefined;
877
939
  sourcePayAccountId?: string | undefined;
878
940
  receiveAccountId?: string | undefined;
879
- failureCode?: string | null | undefined;
880
941
  limit?: number | undefined;
881
942
  offset?: number | undefined;
882
943
  pageSize?: number | undefined;
@@ -904,7 +965,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
904
965
  createdAt: Date;
905
966
  updatedAt: Date;
906
967
  userId: string;
907
- status: "created" | "completed" | "failed";
968
+ status: "created" | "completed";
908
969
  idempotencyKey: string;
909
970
  orderNo: string;
910
971
  productId: string;
@@ -1025,7 +1086,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1025
1086
  createdAt: Date;
1026
1087
  updatedAt: Date;
1027
1088
  userId: string;
1028
- status: "created" | "completed" | "failed";
1089
+ status: "created" | "completed";
1029
1090
  idempotencyKey: string;
1030
1091
  orderNo: string;
1031
1092
  productId: string;
@@ -1140,7 +1201,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1140
1201
  createdAt: Date;
1141
1202
  updatedAt: Date;
1142
1203
  userId: string;
1143
- status: "created" | "completed" | "failed";
1204
+ status: "created" | "completed";
1144
1205
  idempotencyKey: string;
1145
1206
  orderNo: string;
1146
1207
  productId: string;
@@ -1244,7 +1305,6 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
1244
1305
  totalCount: number;
1245
1306
  createdCount: number;
1246
1307
  completedCount: number;
1247
- failedCount: number;
1248
1308
  totalPayAmount: string;
1249
1309
  totalTargetAmount: string;
1250
1310
  };
@@ -16,8 +16,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
16
16
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
17
17
  targetAssetId: string;
18
18
  payAssetId: string;
19
- defaultReceiveAccountTypeId: string;
19
+ payAccountTypeId: string;
20
+ receiveAccountTypeId: string;
20
21
  minPayAmount: string;
22
+ settlementMode: "available" | "locked";
21
23
  targetAssetInfo: {
22
24
  symbol: string;
23
25
  id: string;
@@ -34,7 +36,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
34
36
  isActive: boolean;
35
37
  precision: number;
36
38
  };
37
- defaultReceiveAccountTypeInfo: {
39
+ payAccountTypeInfo: {
40
+ id: string;
41
+ name: string;
42
+ key: string;
43
+ isActive: boolean;
44
+ };
45
+ receiveAccountTypeInfo: {
38
46
  id: string;
39
47
  name: string;
40
48
  key: string;
@@ -51,8 +59,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
51
59
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
52
60
  targetAssetId: string;
53
61
  payAssetId: string;
54
- defaultReceiveAccountTypeId: string;
62
+ payAccountTypeId: string;
63
+ receiveAccountTypeId: string;
55
64
  minPayAmount: string;
65
+ settlementMode: "available" | "locked";
56
66
  targetAssetInfo: {
57
67
  symbol: string;
58
68
  id: string;
@@ -69,7 +79,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
69
79
  isActive: boolean;
70
80
  precision: number;
71
81
  };
72
- defaultReceiveAccountTypeInfo: {
82
+ payAccountTypeInfo: {
83
+ id: string;
84
+ name: string;
85
+ key: string;
86
+ isActive: boolean;
87
+ };
88
+ receiveAccountTypeInfo: {
73
89
  id: string;
74
90
  name: string;
75
91
  key: string;
@@ -86,8 +102,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
86
102
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
87
103
  targetAssetId: string;
88
104
  payAssetId: string;
89
- defaultReceiveAccountTypeId: string;
105
+ payAccountTypeId: string;
106
+ receiveAccountTypeId: string;
90
107
  minPayAmount: string;
108
+ settlementMode: "available" | "locked";
91
109
  targetAssetInfo: {
92
110
  symbol: string;
93
111
  id: string;
@@ -104,7 +122,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
104
122
  isActive: boolean;
105
123
  precision: number;
106
124
  };
107
- defaultReceiveAccountTypeInfo: {
125
+ payAccountTypeInfo: {
126
+ id: string;
127
+ name: string;
128
+ key: string;
129
+ isActive: boolean;
130
+ };
131
+ receiveAccountTypeInfo: {
108
132
  id: string;
109
133
  name: string;
110
134
  key: string;
@@ -121,8 +145,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
121
145
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
122
146
  targetAssetId: string;
123
147
  payAssetId: string;
124
- defaultReceiveAccountTypeId: string;
148
+ payAccountTypeId: string;
149
+ receiveAccountTypeId: string;
125
150
  minPayAmount: string;
151
+ settlementMode: "available" | "locked";
126
152
  targetAssetInfo: {
127
153
  symbol: string;
128
154
  id: string;
@@ -139,7 +165,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
139
165
  isActive: boolean;
140
166
  precision: number;
141
167
  };
142
- defaultReceiveAccountTypeInfo: {
168
+ payAccountTypeInfo: {
169
+ id: string;
170
+ name: string;
171
+ key: string;
172
+ isActive: boolean;
173
+ };
174
+ receiveAccountTypeInfo: {
143
175
  id: string;
144
176
  name: string;
145
177
  key: string;
@@ -156,8 +188,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
156
188
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
157
189
  targetAssetId: string;
158
190
  payAssetId: string;
159
- defaultReceiveAccountTypeId: string;
191
+ payAccountTypeId: string;
192
+ receiveAccountTypeId: string;
160
193
  minPayAmount: string;
194
+ settlementMode: "available" | "locked";
161
195
  targetAssetInfo: {
162
196
  symbol: string;
163
197
  id: string;
@@ -174,7 +208,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
174
208
  isActive: boolean;
175
209
  precision: number;
176
210
  };
177
- defaultReceiveAccountTypeInfo: {
211
+ payAccountTypeInfo: {
212
+ id: string;
213
+ name: string;
214
+ key: string;
215
+ isActive: boolean;
216
+ };
217
+ receiveAccountTypeInfo: {
178
218
  id: string;
179
219
  name: string;
180
220
  key: string;
@@ -192,8 +232,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
192
232
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
193
233
  targetAssetId: string;
194
234
  payAssetId: string;
195
- defaultReceiveAccountTypeId: string;
235
+ payAccountTypeId: string;
236
+ receiveAccountTypeId: string;
196
237
  minPayAmount: string;
238
+ settlementMode: "available" | "locked";
197
239
  targetAssetInfo: {
198
240
  symbol: string;
199
241
  id: string;
@@ -210,7 +252,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
210
252
  isActive: boolean;
211
253
  precision: number;
212
254
  };
213
- defaultReceiveAccountTypeInfo: {
255
+ payAccountTypeInfo: {
256
+ id: string;
257
+ name: string;
258
+ key: string;
259
+ isActive: boolean;
260
+ };
261
+ receiveAccountTypeInfo: {
214
262
  id: string;
215
263
  name: string;
216
264
  key: string;
@@ -228,8 +276,10 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
228
276
  productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
229
277
  targetAssetId: string;
230
278
  payAssetId: string;
231
- defaultReceiveAccountTypeId: string;
279
+ payAccountTypeId: string;
280
+ receiveAccountTypeId: string;
232
281
  minPayAmount: string;
282
+ settlementMode: "available" | "locked";
233
283
  targetAssetInfo: {
234
284
  symbol: string;
235
285
  id: string;
@@ -246,7 +296,13 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
246
296
  isActive: boolean;
247
297
  precision: number;
248
298
  };
249
- defaultReceiveAccountTypeInfo: {
299
+ payAccountTypeInfo: {
300
+ id: string;
301
+ name: string;
302
+ key: string;
303
+ isActive: boolean;
304
+ };
305
+ receiveAccountTypeInfo: {
250
306
  id: string;
251
307
  name: string;
252
308
  key: string;
@@ -278,7 +334,7 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
278
334
  createdAt: Date;
279
335
  updatedAt: Date;
280
336
  userId: string;
281
- status: "created" | "completed" | "failed";
337
+ status: "created" | "completed";
282
338
  idempotencyKey: string;
283
339
  orderNo: string;
284
340
  productId: string;
@@ -364,7 +420,7 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
364
420
  createdAt: Date;
365
421
  updatedAt: Date;
366
422
  userId: string;
367
- status: "created" | "completed" | "failed";
423
+ status: "created" | "completed";
368
424
  idempotencyKey: string;
369
425
  orderNo: string;
370
426
  productId: string;
@@ -451,7 +507,7 @@ export declare abstract class AdminAssetConvertProductService extends BaseAssetC
451
507
  createdAt: Date;
452
508
  updatedAt: Date;
453
509
  userId: string;
454
- status: "created" | "completed" | "failed";
510
+ status: "created" | "completed";
455
511
  idempotencyKey: string;
456
512
  orderNo: string;
457
513
  productId: string;