@r2wa-org/eden 0.0.78 → 0.0.80

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 (126) hide show
  1. package/dist/admin/index.d.ts +830 -1162
  2. package/dist/admin-user/admin/router.d.ts +12 -12
  3. package/dist/app-version/admin/router.d.ts +16 -16
  4. package/dist/asset/admin/dto.schemas.d.ts +21 -21
  5. package/dist/asset/admin/router.d.ts +37 -37
  6. package/dist/asset/admin/service.d.ts +18 -18
  7. package/dist/asset/db.schemas.d.ts +4 -4
  8. package/dist/asset/internal/service.d.ts +3 -3
  9. package/dist/asset/schema.d.ts +3 -3
  10. package/dist/asset/user/dto.schemas.d.ts +9 -9
  11. package/dist/asset/user/router.d.ts +15 -15
  12. package/dist/asset/user/service.d.ts +9 -9
  13. package/dist/asset-convert-product/admin/dto.schemas.d.ts +15 -15
  14. package/dist/asset-convert-product/admin/router.d.ts +53 -53
  15. package/dist/asset-convert-product/admin/service.d.ts +31 -31
  16. package/dist/asset-convert-product/user/dto.schemas.d.ts +6 -6
  17. package/dist/asset-convert-product/user/router.d.ts +11 -11
  18. package/dist/asset-convert-product/user/service.d.ts +8 -8
  19. package/dist/asset-price/admin/dto.schemas.d.ts +3 -3
  20. package/dist/asset-price/admin/router.d.ts +14 -14
  21. package/dist/asset-price/admin/service.d.ts +4 -4
  22. package/dist/asset-price/user/router.d.ts +4 -4
  23. package/dist/asset-type/admin/router.d.ts +10 -10
  24. package/dist/asset-type/user/router.d.ts +3 -3
  25. package/dist/auth/better-auth.d.ts +36 -37
  26. package/dist/auth/router.d.ts +2 -2
  27. package/dist/bank-account/admin/router.d.ts +20 -20
  28. package/dist/bank-account/user/router.d.ts +7 -7
  29. package/dist/check-in/admin/router.d.ts +4 -4
  30. package/dist/check-in/user/router.d.ts +7 -7
  31. package/dist/deposit/admin/router.d.ts +8 -8
  32. package/dist/deposit/user/router.d.ts +7 -7
  33. package/dist/dynamic-env/admin.router.d.ts +10 -10
  34. package/dist/env/server.d.ts +0 -6
  35. package/dist/file-storage/admin/router.d.ts +8 -8
  36. package/dist/file-storage/share/router.d.ts +6 -6
  37. package/dist/file-storage/user/router.d.ts +5 -5
  38. package/dist/index.d.ts +1128 -1562
  39. package/dist/ledger/admin/dto.schemas.d.ts +7 -7
  40. package/dist/ledger/admin/router.d.ts +7 -7
  41. package/dist/ledger/user/router.d.ts +3 -3
  42. package/dist/ledger/user/service.d.ts +6 -6
  43. package/dist/ledger-account/admin/dto.schemas.d.ts +37 -3
  44. package/dist/ledger-account/admin/router.d.ts +64 -15
  45. package/dist/ledger-account/admin/service.d.ts +21 -7
  46. package/dist/ledger-account/user/dto.schemas.d.ts +1 -1
  47. package/dist/ledger-account/user/router.d.ts +8 -8
  48. package/dist/ledger-account/user/service.d.ts +6 -6
  49. package/dist/ledger-account-import/admin/router.d.ts +12 -12
  50. package/dist/ledger-account-transfer/user/router.d.ts +3 -3
  51. package/dist/ledger-account-type/admin/router.d.ts +10 -10
  52. package/dist/ledger-account-type/user/router.d.ts +4 -4
  53. package/dist/market-data/admin/dto.schemas.d.ts +423 -647
  54. package/dist/market-data/admin/router.d.ts +104 -145
  55. package/dist/market-data/admin/service.d.ts +10 -44
  56. package/dist/market-data/cron.d.ts +1 -0
  57. package/dist/market-data/db.schemas.d.ts +40 -176
  58. package/dist/market-data/internal/service.d.ts +76 -45
  59. package/dist/market-data/resolutions.d.ts +9 -0
  60. package/dist/market-data/schema.d.ts +23 -94
  61. package/dist/market-data/user/router.d.ts +8 -8
  62. package/dist/market-pricing/admin/dto.schemas.d.ts +315 -428
  63. package/dist/market-pricing/admin/router.d.ts +242 -146
  64. package/dist/market-pricing/admin/service.d.ts +183 -102
  65. package/dist/market-pricing/cron.d.ts +1 -1
  66. package/dist/market-pricing/db.schemas.d.ts +661 -117
  67. package/dist/market-pricing/errors/index.d.ts +1 -0
  68. package/dist/market-pricing/errors/locales/zh.d.ts +1 -0
  69. package/dist/market-pricing/internal/service.d.ts +27 -4
  70. package/dist/market-pricing/schema.d.ts +304 -28
  71. package/dist/news/admin/router.d.ts +16 -16
  72. package/dist/news/user/router.d.ts +4 -4
  73. package/dist/news-category/user/router.d.ts +2 -2
  74. package/dist/notification/admin/router.d.ts +6 -6
  75. package/dist/notification/user/router.d.ts +7 -7
  76. package/dist/operations-overview/admin/router.d.ts +7 -7
  77. package/dist/portfolio/user/dto.schemas.d.ts +1 -1
  78. package/dist/portfolio/user/router.d.ts +7 -7
  79. package/dist/portfolio/user/service.d.ts +1 -1
  80. package/dist/receipt-method/admin/router.d.ts +8 -8
  81. package/dist/receipt-method/user/router.d.ts +7 -7
  82. package/dist/referral/admin/router.d.ts +6 -6
  83. package/dist/referral/user/router.d.ts +6 -6
  84. package/dist/referral-depth-config/admin/router.d.ts +12 -12
  85. package/dist/server-test/index.d.ts +2 -2
  86. package/dist/shipping-address/admin/router.d.ts +4 -4
  87. package/dist/shipping-address/user/router.d.ts +8 -8
  88. package/dist/team/admin/router.d.ts +6 -6
  89. package/dist/team/user/router.d.ts +8 -8
  90. package/dist/trade-market/admin/dto.schemas.d.ts +89 -3625
  91. package/dist/trade-market/admin/router.d.ts +28 -464
  92. package/dist/trade-market/admin/service.d.ts +13 -446
  93. package/dist/trade-market/db.schemas.d.ts +0 -170
  94. package/dist/trade-market/errors/index.d.ts +1 -0
  95. package/dist/trade-market/errors/locales/zh.d.ts +1 -0
  96. package/dist/trade-market/index.d.ts +1 -0
  97. package/dist/trade-market/internal/service.d.ts +14 -326
  98. package/dist/trade-market/schema.d.ts +2 -91
  99. package/dist/trade-market/seed.d.ts +1 -0
  100. package/dist/trade-market/user/dto.schemas.d.ts +0 -172
  101. package/dist/trade-market/user/router.d.ts +8 -26
  102. package/dist/trade-market/user/service.d.ts +8 -294
  103. package/dist/transfer/admin/router.d.ts +4 -4
  104. package/dist/transfer/user/router.d.ts +4 -4
  105. package/dist/udf/dto.schemas.d.ts +134 -0
  106. package/dist/udf/index.d.ts +1 -0
  107. package/dist/udf/router.d.ts +577 -0
  108. package/dist/udf/service.d.ts +75 -0
  109. package/dist/user/admin/router.d.ts +14 -14
  110. package/dist/user/user/router.d.ts +5 -5
  111. package/dist/user-kyc/admin/router.d.ts +10 -10
  112. package/dist/user-kyc/user/router.d.ts +6 -6
  113. package/dist/user-security/admin/router.d.ts +4 -4
  114. package/dist/user-security/user/router.d.ts +6 -6
  115. package/dist/wallet/admin/router.d.ts +6 -6
  116. package/dist/wallet/user/router.d.ts +4 -4
  117. package/dist/wallet-type/admin/router.d.ts +14 -14
  118. package/dist/wallet-type/user/router.d.ts +3 -3
  119. package/dist/welfare-cycle/admin/dto.schemas.d.ts +24 -24
  120. package/dist/welfare-cycle/admin/router.d.ts +52 -52
  121. package/dist/welfare-cycle/admin/service.d.ts +32 -32
  122. package/dist/welfare-cycle/user/router.d.ts +9 -9
  123. package/dist/withdraw/admin/router.d.ts +10 -10
  124. package/dist/withdraw/user/dto.schemas.d.ts +2 -2
  125. package/dist/withdraw/user/router.d.ts +8 -8
  126. package/package.json +4 -1
@@ -11,7 +11,7 @@ export declare abstract class AdminAssetConvertProductService {
11
11
  private static ensureProductPriceReadyForActivation;
12
12
  static createProduct(input: AssetConvertProductCreateInputType): Promise<{
13
13
  targetAsset: {
14
- symbol: string;
14
+ symbol: string | null;
15
15
  id: string;
16
16
  name: string;
17
17
  createdAt: Date;
@@ -20,11 +20,11 @@ export declare abstract class AdminAssetConvertProductService {
20
20
  iconUrl: string;
21
21
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
22
22
  isActive: boolean;
23
- typeId: string;
23
+ typeId: string | null;
24
24
  precision: number;
25
25
  };
26
26
  payAsset: {
27
- symbol: string;
27
+ symbol: string | null;
28
28
  id: string;
29
29
  name: string;
30
30
  createdAt: Date;
@@ -33,7 +33,7 @@ export declare abstract class AdminAssetConvertProductService {
33
33
  iconUrl: string;
34
34
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
35
35
  isActive: boolean;
36
- typeId: string;
36
+ typeId: string | null;
37
37
  precision: number;
38
38
  };
39
39
  payAccountType: {
@@ -119,7 +119,7 @@ export declare abstract class AdminAssetConvertProductService {
119
119
  allowPurchase: boolean;
120
120
  isHot: boolean;
121
121
  targetAsset: {
122
- symbol: string;
122
+ symbol: string | null;
123
123
  id: string;
124
124
  name: string;
125
125
  code: string;
@@ -128,7 +128,7 @@ export declare abstract class AdminAssetConvertProductService {
128
128
  precision: number;
129
129
  };
130
130
  payAsset: {
131
- symbol: string;
131
+ symbol: string | null;
132
132
  id: string;
133
133
  name: string;
134
134
  code: string;
@@ -166,7 +166,7 @@ export declare abstract class AdminAssetConvertProductService {
166
166
  allowPurchase: boolean;
167
167
  isHot: boolean;
168
168
  targetAsset: {
169
- symbol: string;
169
+ symbol: string | null;
170
170
  id: string;
171
171
  name: string;
172
172
  code: string;
@@ -175,7 +175,7 @@ export declare abstract class AdminAssetConvertProductService {
175
175
  precision: number;
176
176
  };
177
177
  payAsset: {
178
- symbol: string;
178
+ symbol: string | null;
179
179
  id: string;
180
180
  name: string;
181
181
  code: string;
@@ -213,7 +213,7 @@ export declare abstract class AdminAssetConvertProductService {
213
213
  allowPurchase: boolean;
214
214
  isHot: boolean;
215
215
  targetAsset: {
216
- symbol: string;
216
+ symbol: string | null;
217
217
  id: string;
218
218
  name: string;
219
219
  code: string;
@@ -222,7 +222,7 @@ export declare abstract class AdminAssetConvertProductService {
222
222
  precision: number;
223
223
  };
224
224
  payAsset: {
225
- symbol: string;
225
+ symbol: string | null;
226
226
  id: string;
227
227
  name: string;
228
228
  code: string;
@@ -260,7 +260,7 @@ export declare abstract class AdminAssetConvertProductService {
260
260
  allowPurchase: boolean;
261
261
  isHot: boolean;
262
262
  targetAsset: {
263
- symbol: string;
263
+ symbol: string | null;
264
264
  id: string;
265
265
  name: string;
266
266
  code: string;
@@ -269,7 +269,7 @@ export declare abstract class AdminAssetConvertProductService {
269
269
  precision: number;
270
270
  };
271
271
  payAsset: {
272
- symbol: string;
272
+ symbol: string | null;
273
273
  id: string;
274
274
  name: string;
275
275
  code: string;
@@ -307,7 +307,7 @@ export declare abstract class AdminAssetConvertProductService {
307
307
  allowPurchase: boolean;
308
308
  isHot: boolean;
309
309
  targetAsset: {
310
- symbol: string;
310
+ symbol: string | null;
311
311
  id: string;
312
312
  name: string;
313
313
  code: string;
@@ -316,7 +316,7 @@ export declare abstract class AdminAssetConvertProductService {
316
316
  precision: number;
317
317
  };
318
318
  payAsset: {
319
- symbol: string;
319
+ symbol: string | null;
320
320
  id: string;
321
321
  name: string;
322
322
  code: string;
@@ -355,7 +355,7 @@ export declare abstract class AdminAssetConvertProductService {
355
355
  allowPurchase: boolean;
356
356
  isHot: boolean;
357
357
  targetAsset: {
358
- symbol: string;
358
+ symbol: string | null;
359
359
  id: string;
360
360
  name: string;
361
361
  code: string;
@@ -364,7 +364,7 @@ export declare abstract class AdminAssetConvertProductService {
364
364
  precision: number;
365
365
  };
366
366
  payAsset: {
367
- symbol: string;
367
+ symbol: string | null;
368
368
  id: string;
369
369
  name: string;
370
370
  code: string;
@@ -457,7 +457,7 @@ export declare abstract class AdminAssetConvertProductService {
457
457
  allowPurchase: boolean;
458
458
  isHot: boolean;
459
459
  targetAsset: {
460
- symbol: string;
460
+ symbol: string | null;
461
461
  id: string;
462
462
  name: string;
463
463
  code: string;
@@ -466,7 +466,7 @@ export declare abstract class AdminAssetConvertProductService {
466
466
  precision: number;
467
467
  };
468
468
  payAsset: {
469
- symbol: string;
469
+ symbol: string | null;
470
470
  id: string;
471
471
  name: string;
472
472
  code: string;
@@ -488,7 +488,7 @@ export declare abstract class AdminAssetConvertProductService {
488
488
  };
489
489
  };
490
490
  payAssetSnapshot: {
491
- symbol: string;
491
+ symbol: string | null;
492
492
  id: string;
493
493
  name: string;
494
494
  code: string;
@@ -497,7 +497,7 @@ export declare abstract class AdminAssetConvertProductService {
497
497
  precision: number;
498
498
  };
499
499
  targetAssetSnapshot: {
500
- symbol: string;
500
+ symbol: string | null;
501
501
  id: string;
502
502
  name: string;
503
503
  code: string;
@@ -506,7 +506,7 @@ export declare abstract class AdminAssetConvertProductService {
506
506
  precision: number;
507
507
  };
508
508
  quoteAssetSnapshot: {
509
- symbol: string;
509
+ symbol: string | null;
510
510
  id: string;
511
511
  name: string;
512
512
  code: string;
@@ -593,7 +593,7 @@ export declare abstract class AdminAssetConvertProductService {
593
593
  allowPurchase: boolean;
594
594
  isHot: boolean;
595
595
  targetAsset: {
596
- symbol: string;
596
+ symbol: string | null;
597
597
  id: string;
598
598
  name: string;
599
599
  code: string;
@@ -602,7 +602,7 @@ export declare abstract class AdminAssetConvertProductService {
602
602
  precision: number;
603
603
  };
604
604
  payAsset: {
605
- symbol: string;
605
+ symbol: string | null;
606
606
  id: string;
607
607
  name: string;
608
608
  code: string;
@@ -624,7 +624,7 @@ export declare abstract class AdminAssetConvertProductService {
624
624
  };
625
625
  };
626
626
  payAssetSnapshot: {
627
- symbol: string;
627
+ symbol: string | null;
628
628
  id: string;
629
629
  name: string;
630
630
  code: string;
@@ -633,7 +633,7 @@ export declare abstract class AdminAssetConvertProductService {
633
633
  precision: number;
634
634
  };
635
635
  targetAssetSnapshot: {
636
- symbol: string;
636
+ symbol: string | null;
637
637
  id: string;
638
638
  name: string;
639
639
  code: string;
@@ -642,7 +642,7 @@ export declare abstract class AdminAssetConvertProductService {
642
642
  precision: number;
643
643
  };
644
644
  quoteAssetSnapshot: {
645
- symbol: string;
645
+ symbol: string | null;
646
646
  id: string;
647
647
  name: string;
648
648
  code: string;
@@ -730,7 +730,7 @@ export declare abstract class AdminAssetConvertProductService {
730
730
  allowPurchase: boolean;
731
731
  isHot: boolean;
732
732
  targetAsset: {
733
- symbol: string;
733
+ symbol: string | null;
734
734
  id: string;
735
735
  name: string;
736
736
  code: string;
@@ -739,7 +739,7 @@ export declare abstract class AdminAssetConvertProductService {
739
739
  precision: number;
740
740
  };
741
741
  payAsset: {
742
- symbol: string;
742
+ symbol: string | null;
743
743
  id: string;
744
744
  name: string;
745
745
  code: string;
@@ -761,7 +761,7 @@ export declare abstract class AdminAssetConvertProductService {
761
761
  };
762
762
  };
763
763
  payAssetSnapshot: {
764
- symbol: string;
764
+ symbol: string | null;
765
765
  id: string;
766
766
  name: string;
767
767
  code: string;
@@ -770,7 +770,7 @@ export declare abstract class AdminAssetConvertProductService {
770
770
  precision: number;
771
771
  };
772
772
  targetAssetSnapshot: {
773
- symbol: string;
773
+ symbol: string | null;
774
774
  id: string;
775
775
  name: string;
776
776
  code: string;
@@ -779,7 +779,7 @@ export declare abstract class AdminAssetConvertProductService {
779
779
  precision: number;
780
780
  };
781
781
  quoteAssetSnapshot: {
782
- symbol: string;
782
+ symbol: string | null;
783
783
  id: string;
784
784
  name: string;
785
785
  code: string;
@@ -15,7 +15,7 @@ export type AssetConvertProductListQueryType = typeof assetConvertProductListQue
15
15
  /** 单 Object,避免 Composite 与 Elysia 响应编码组合时丢掉嵌套字段(如 price.trend10d) */
16
16
  export declare const assetConvertProductListItemResponseSchema: import("@sinclair/typebox").TObject<{
17
17
  targetAsset: import("@sinclair/typebox").TObject<{
18
- symbol: import("@sinclair/typebox").TString;
18
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
19
19
  id: import("@sinclair/typebox").TString;
20
20
  name: import("@sinclair/typebox").TString;
21
21
  code: import("@sinclair/typebox").TString;
@@ -29,7 +29,7 @@ export declare const assetConvertProductListItemResponseSchema: import("@sinclai
29
29
  precision: import("@sinclair/typebox").TInteger;
30
30
  }>;
31
31
  payAsset: import("@sinclair/typebox").TObject<{
32
- symbol: import("@sinclair/typebox").TString;
32
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
33
33
  id: import("@sinclair/typebox").TString;
34
34
  name: import("@sinclair/typebox").TString;
35
35
  code: import("@sinclair/typebox").TString;
@@ -110,7 +110,7 @@ export declare const assetConvertProductListItemResponseSchema: import("@sinclai
110
110
  export declare const assetConvertProductListResponseSchema: import("@sinclair/typebox").TObject<{
111
111
  data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
112
112
  targetAsset: import("@sinclair/typebox").TObject<{
113
- symbol: import("@sinclair/typebox").TString;
113
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
114
114
  id: import("@sinclair/typebox").TString;
115
115
  name: import("@sinclair/typebox").TString;
116
116
  code: import("@sinclair/typebox").TString;
@@ -124,7 +124,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
124
124
  precision: import("@sinclair/typebox").TInteger;
125
125
  }>;
126
126
  payAsset: import("@sinclair/typebox").TObject<{
127
- symbol: import("@sinclair/typebox").TString;
127
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
128
128
  id: import("@sinclair/typebox").TString;
129
129
  name: import("@sinclair/typebox").TString;
130
130
  code: import("@sinclair/typebox").TString;
@@ -213,7 +213,7 @@ export declare const assetConvertProductListResponseSchema: import("@sinclair/ty
213
213
  export type AssetConvertProductListResponseType = typeof assetConvertProductListResponseSchema.static;
214
214
  export declare const assetConvertProductResponseSchema: import("@sinclair/typebox").TObject<{
215
215
  targetAsset: import("@sinclair/typebox").TObject<{
216
- symbol: import("@sinclair/typebox").TString;
216
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
217
217
  id: import("@sinclair/typebox").TString;
218
218
  name: import("@sinclair/typebox").TString;
219
219
  code: import("@sinclair/typebox").TString;
@@ -227,7 +227,7 @@ export declare const assetConvertProductResponseSchema: import("@sinclair/typebo
227
227
  precision: import("@sinclair/typebox").TInteger;
228
228
  }>;
229
229
  payAsset: import("@sinclair/typebox").TObject<{
230
- symbol: import("@sinclair/typebox").TString;
230
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
231
231
  id: import("@sinclair/typebox").TString;
232
232
  name: import("@sinclair/typebox").TString;
233
233
  code: import("@sinclair/typebox").TString;
@@ -41,7 +41,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
41
41
  route: string;
42
42
  request: Request;
43
43
  store: {};
44
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
44
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
217
217
  route: string;
218
218
  request: Request;
219
219
  store: {};
220
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
220
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -429,7 +429,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
429
429
  allowPurchase: boolean;
430
430
  isHot: boolean;
431
431
  targetAsset: {
432
- symbol: string;
432
+ symbol: string | null;
433
433
  id: string;
434
434
  name: string;
435
435
  code: string;
@@ -438,7 +438,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
438
438
  precision: number;
439
439
  };
440
440
  payAsset: {
441
- symbol: string;
441
+ symbol: string | null;
442
442
  id: string;
443
443
  name: string;
444
444
  code: string;
@@ -474,6 +474,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
474
474
  hasNextPage: boolean;
475
475
  };
476
476
  };
477
+ 401: "Unauthorized";
477
478
  422: {
478
479
  type: "validation";
479
480
  on: string;
@@ -483,7 +484,6 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
483
484
  property?: string;
484
485
  expected?: string;
485
486
  };
486
- 401: "Unauthorized";
487
487
  };
488
488
  };
489
489
  };
@@ -533,7 +533,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
533
533
  allowPurchase: boolean;
534
534
  isHot: boolean;
535
535
  targetAsset: {
536
- symbol: string;
536
+ symbol: string | null;
537
537
  id: string;
538
538
  name: string;
539
539
  code: string;
@@ -542,7 +542,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
542
542
  precision: number;
543
543
  };
544
544
  payAsset: {
545
- symbol: string;
545
+ symbol: string | null;
546
546
  id: string;
547
547
  name: string;
548
548
  code: string;
@@ -570,6 +570,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
570
570
  effectiveAt: string | Date;
571
571
  }[];
572
572
  };
573
+ 401: "Unauthorized";
573
574
  422: {
574
575
  type: "validation";
575
576
  on: string;
@@ -579,7 +580,6 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
579
580
  property?: string;
580
581
  expected?: string;
581
582
  };
582
- 401: "Unauthorized";
583
583
  };
584
584
  };
585
585
  };
@@ -623,6 +623,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
623
623
  failureCode: string | null;
624
624
  failureReason: string | null;
625
625
  };
626
+ 401: "Unauthorized";
626
627
  422: {
627
628
  type: "validation";
628
629
  on: string;
@@ -632,7 +633,6 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
632
633
  property?: string;
633
634
  expected?: string;
634
635
  };
635
- 401: "Unauthorized";
636
636
  };
637
637
  };
638
638
  };
@@ -685,6 +685,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
685
685
  hasNextPage: boolean;
686
686
  };
687
687
  };
688
+ 401: "Unauthorized";
688
689
  422: {
689
690
  type: "validation";
690
691
  on: string;
@@ -694,7 +695,6 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
694
695
  property?: string;
695
696
  expected?: string;
696
697
  };
697
- 401: "Unauthorized";
698
698
  };
699
699
  };
700
700
  };
@@ -735,6 +735,7 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
735
735
  failureCode: string | null;
736
736
  failureReason: string | null;
737
737
  };
738
+ 401: "Unauthorized";
738
739
  422: {
739
740
  type: "validation";
740
741
  on: string;
@@ -744,7 +745,6 @@ export declare const assetConvertProductRouter: Elysia<"/asset_convert_product",
744
745
  property?: string;
745
746
  expected?: string;
746
747
  };
747
- 401: "Unauthorized";
748
748
  };
749
749
  };
750
750
  };
@@ -90,7 +90,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
90
90
  static listProducts(filters?: AssetConvertProductListQueryType): Promise<{
91
91
  data: {
92
92
  targetAsset: {
93
- symbol: string;
93
+ symbol: string | null;
94
94
  id: string;
95
95
  name: string;
96
96
  createdAt: Date;
@@ -99,11 +99,11 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
99
99
  iconUrl: string;
100
100
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
101
101
  isActive: boolean;
102
- typeId: string;
102
+ typeId: string | null;
103
103
  precision: number;
104
104
  };
105
105
  payAsset: {
106
- symbol: string;
106
+ symbol: string | null;
107
107
  id: string;
108
108
  name: string;
109
109
  createdAt: Date;
@@ -112,7 +112,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
112
112
  iconUrl: string;
113
113
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
114
114
  isActive: boolean;
115
- typeId: string;
115
+ typeId: string | null;
116
116
  precision: number;
117
117
  };
118
118
  payAccountType: {
@@ -212,7 +212,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
212
212
  }>;
213
213
  static getProduct(productId: string): Promise<{
214
214
  targetAsset: {
215
- symbol: string;
215
+ symbol: string | null;
216
216
  id: string;
217
217
  name: string;
218
218
  createdAt: Date;
@@ -221,11 +221,11 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
221
221
  iconUrl: string;
222
222
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
223
223
  isActive: boolean;
224
- typeId: string;
224
+ typeId: string | null;
225
225
  precision: number;
226
226
  };
227
227
  payAsset: {
228
- symbol: string;
228
+ symbol: string | null;
229
229
  id: string;
230
230
  name: string;
231
231
  createdAt: Date;
@@ -234,7 +234,7 @@ export declare abstract class UserAssetConvertProductService extends BaseUserAss
234
234
  iconUrl: string;
235
235
  category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
236
236
  isActive: boolean;
237
- typeId: string;
237
+ typeId: string | null;
238
238
  precision: number;
239
239
  };
240
240
  payAccountType: {
@@ -1,5 +1,5 @@
1
1
  export declare const assetPriceAssetSnapshotSchema: import("@sinclair/typebox").TObject<{
2
- symbol: import("@sinclair/typebox").TString;
2
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
3
3
  id: import("@sinclair/typebox").TString;
4
4
  name: import("@sinclair/typebox").TString;
5
5
  code: import("@sinclair/typebox").TString;
@@ -22,7 +22,7 @@ export declare const assetPriceAdminResponseSchema: import("@sinclair/typebox").
22
22
  source: import("@sinclair/typebox").TString;
23
23
  effectiveAt: import("@sinclair/typebox").TDate;
24
24
  baseAssetEntity: import("@sinclair/typebox").TObject<{
25
- symbol: import("@sinclair/typebox").TString;
25
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
26
26
  id: import("@sinclair/typebox").TString;
27
27
  name: import("@sinclair/typebox").TString;
28
28
  code: import("@sinclair/typebox").TString;
@@ -78,7 +78,7 @@ export declare const assetPriceAdminListResponseSchema: import("@sinclair/typebo
78
78
  source: import("@sinclair/typebox").TString;
79
79
  effectiveAt: import("@sinclair/typebox").TDate;
80
80
  baseAssetEntity: import("@sinclair/typebox").TObject<{
81
- symbol: import("@sinclair/typebox").TString;
81
+ symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
82
82
  id: import("@sinclair/typebox").TString;
83
83
  name: import("@sinclair/typebox").TString;
84
84
  code: import("@sinclair/typebox").TString;
@@ -41,7 +41,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
41
41
  route: string;
42
42
  request: Request;
43
43
  store: {};
44
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
44
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
45
45
  readonly 100: "Continue";
46
46
  readonly 101: "Switching Protocols";
47
47
  readonly 102: "Processing";
@@ -217,7 +217,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
217
217
  route: string;
218
218
  request: Request;
219
219
  store: {};
220
- status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
220
+ status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
221
221
  readonly 100: "Continue";
222
222
  readonly 101: "Switching Protocols";
223
223
  readonly 102: "Processing";
@@ -411,7 +411,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
411
411
  source: string;
412
412
  effectiveAt: Date;
413
413
  baseAssetEntity: {
414
- symbol: string;
414
+ symbol: string | null;
415
415
  id: string;
416
416
  name: string;
417
417
  code: string;
@@ -428,6 +428,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
428
428
  hasNextPage: boolean;
429
429
  };
430
430
  };
431
+ 401: "Unauthorized";
432
+ 403: "Forbidden: Admins only";
431
433
  422: {
432
434
  type: "validation";
433
435
  on: string;
@@ -437,8 +439,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
437
439
  property?: string;
438
440
  expected?: string;
439
441
  };
440
- 401: "Unauthorized";
441
- 403: "Forbidden: Admins only";
442
442
  };
443
443
  };
444
444
  };
@@ -464,7 +464,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
464
464
  source: string;
465
465
  effectiveAt: Date;
466
466
  baseAssetEntity: {
467
- symbol: string;
467
+ symbol: string | null;
468
468
  id: string;
469
469
  name: string;
470
470
  code: string;
@@ -473,6 +473,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
473
473
  precision: number;
474
474
  };
475
475
  };
476
+ 401: "Unauthorized";
477
+ 403: "Forbidden: Admins only";
476
478
  422: {
477
479
  type: "validation";
478
480
  on: string;
@@ -482,8 +484,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
482
484
  property?: string;
483
485
  expected?: string;
484
486
  };
485
- 401: "Unauthorized";
486
- 403: "Forbidden: Admins only";
487
487
  };
488
488
  };
489
489
  };
@@ -510,7 +510,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
510
510
  source: string;
511
511
  effectiveAt: Date;
512
512
  baseAssetEntity: {
513
- symbol: string;
513
+ symbol: string | null;
514
514
  id: string;
515
515
  name: string;
516
516
  code: string;
@@ -519,6 +519,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
519
519
  precision: number;
520
520
  };
521
521
  };
522
+ 401: "Unauthorized";
523
+ 403: "Forbidden: Admins only";
522
524
  422: {
523
525
  type: "validation";
524
526
  on: string;
@@ -528,8 +530,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
528
530
  property?: string;
529
531
  expected?: string;
530
532
  };
531
- 401: "Unauthorized";
532
- 403: "Forbidden: Admins only";
533
533
  };
534
534
  };
535
535
  };
@@ -557,7 +557,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
557
557
  source: string;
558
558
  effectiveAt: Date;
559
559
  baseAssetEntity: {
560
- symbol: string;
560
+ symbol: string | null;
561
561
  id: string;
562
562
  name: string;
563
563
  code: string;
@@ -566,6 +566,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
566
566
  precision: number;
567
567
  };
568
568
  };
569
+ 401: "Unauthorized";
570
+ 403: "Forbidden: Admins only";
569
571
  422: {
570
572
  type: "validation";
571
573
  on: string;
@@ -575,8 +577,6 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
575
577
  property?: string;
576
578
  expected?: string;
577
579
  };
578
- 401: "Unauthorized";
579
- 403: "Forbidden: Admins only";
580
580
  };
581
581
  };
582
582
  };