@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.
- package/dist/admin/index.d.ts +830 -1162
- package/dist/admin-user/admin/router.d.ts +12 -12
- package/dist/app-version/admin/router.d.ts +16 -16
- package/dist/asset/admin/dto.schemas.d.ts +21 -21
- package/dist/asset/admin/router.d.ts +37 -37
- package/dist/asset/admin/service.d.ts +18 -18
- package/dist/asset/db.schemas.d.ts +4 -4
- package/dist/asset/internal/service.d.ts +3 -3
- package/dist/asset/schema.d.ts +3 -3
- package/dist/asset/user/dto.schemas.d.ts +9 -9
- package/dist/asset/user/router.d.ts +15 -15
- package/dist/asset/user/service.d.ts +9 -9
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +15 -15
- package/dist/asset-convert-product/admin/router.d.ts +53 -53
- package/dist/asset-convert-product/admin/service.d.ts +31 -31
- package/dist/asset-convert-product/user/dto.schemas.d.ts +6 -6
- package/dist/asset-convert-product/user/router.d.ts +11 -11
- package/dist/asset-convert-product/user/service.d.ts +8 -8
- package/dist/asset-price/admin/dto.schemas.d.ts +3 -3
- package/dist/asset-price/admin/router.d.ts +14 -14
- package/dist/asset-price/admin/service.d.ts +4 -4
- package/dist/asset-price/user/router.d.ts +4 -4
- package/dist/asset-type/admin/router.d.ts +10 -10
- package/dist/asset-type/user/router.d.ts +3 -3
- package/dist/auth/better-auth.d.ts +36 -37
- package/dist/auth/router.d.ts +2 -2
- package/dist/bank-account/admin/router.d.ts +20 -20
- package/dist/bank-account/user/router.d.ts +7 -7
- package/dist/check-in/admin/router.d.ts +4 -4
- package/dist/check-in/user/router.d.ts +7 -7
- package/dist/deposit/admin/router.d.ts +8 -8
- package/dist/deposit/user/router.d.ts +7 -7
- package/dist/dynamic-env/admin.router.d.ts +10 -10
- package/dist/env/server.d.ts +0 -6
- package/dist/file-storage/admin/router.d.ts +8 -8
- package/dist/file-storage/share/router.d.ts +6 -6
- package/dist/file-storage/user/router.d.ts +5 -5
- package/dist/index.d.ts +1128 -1562
- package/dist/ledger/admin/dto.schemas.d.ts +7 -7
- package/dist/ledger/admin/router.d.ts +7 -7
- package/dist/ledger/user/router.d.ts +3 -3
- package/dist/ledger/user/service.d.ts +6 -6
- package/dist/ledger-account/admin/dto.schemas.d.ts +37 -3
- package/dist/ledger-account/admin/router.d.ts +64 -15
- package/dist/ledger-account/admin/service.d.ts +21 -7
- package/dist/ledger-account/user/dto.schemas.d.ts +1 -1
- package/dist/ledger-account/user/router.d.ts +8 -8
- package/dist/ledger-account/user/service.d.ts +6 -6
- package/dist/ledger-account-import/admin/router.d.ts +12 -12
- package/dist/ledger-account-transfer/user/router.d.ts +3 -3
- package/dist/ledger-account-type/admin/router.d.ts +10 -10
- package/dist/ledger-account-type/user/router.d.ts +4 -4
- package/dist/market-data/admin/dto.schemas.d.ts +423 -647
- package/dist/market-data/admin/router.d.ts +104 -145
- package/dist/market-data/admin/service.d.ts +10 -44
- package/dist/market-data/cron.d.ts +1 -0
- package/dist/market-data/db.schemas.d.ts +40 -176
- package/dist/market-data/internal/service.d.ts +76 -45
- package/dist/market-data/resolutions.d.ts +9 -0
- package/dist/market-data/schema.d.ts +23 -94
- package/dist/market-data/user/router.d.ts +8 -8
- package/dist/market-pricing/admin/dto.schemas.d.ts +315 -428
- package/dist/market-pricing/admin/router.d.ts +242 -146
- package/dist/market-pricing/admin/service.d.ts +183 -102
- package/dist/market-pricing/cron.d.ts +1 -1
- package/dist/market-pricing/db.schemas.d.ts +661 -117
- package/dist/market-pricing/errors/index.d.ts +1 -0
- package/dist/market-pricing/errors/locales/zh.d.ts +1 -0
- package/dist/market-pricing/internal/service.d.ts +27 -4
- package/dist/market-pricing/schema.d.ts +304 -28
- package/dist/news/admin/router.d.ts +16 -16
- package/dist/news/user/router.d.ts +4 -4
- package/dist/news-category/user/router.d.ts +2 -2
- package/dist/notification/admin/router.d.ts +6 -6
- package/dist/notification/user/router.d.ts +7 -7
- package/dist/operations-overview/admin/router.d.ts +7 -7
- package/dist/portfolio/user/dto.schemas.d.ts +1 -1
- package/dist/portfolio/user/router.d.ts +7 -7
- package/dist/portfolio/user/service.d.ts +1 -1
- package/dist/receipt-method/admin/router.d.ts +8 -8
- package/dist/receipt-method/user/router.d.ts +7 -7
- package/dist/referral/admin/router.d.ts +6 -6
- package/dist/referral/user/router.d.ts +6 -6
- package/dist/referral-depth-config/admin/router.d.ts +12 -12
- package/dist/server-test/index.d.ts +2 -2
- package/dist/shipping-address/admin/router.d.ts +4 -4
- package/dist/shipping-address/user/router.d.ts +8 -8
- package/dist/team/admin/router.d.ts +6 -6
- package/dist/team/user/router.d.ts +8 -8
- package/dist/trade-market/admin/dto.schemas.d.ts +89 -3625
- package/dist/trade-market/admin/router.d.ts +28 -464
- package/dist/trade-market/admin/service.d.ts +13 -446
- package/dist/trade-market/db.schemas.d.ts +0 -170
- package/dist/trade-market/errors/index.d.ts +1 -0
- package/dist/trade-market/errors/locales/zh.d.ts +1 -0
- package/dist/trade-market/index.d.ts +1 -0
- package/dist/trade-market/internal/service.d.ts +14 -326
- package/dist/trade-market/schema.d.ts +2 -91
- package/dist/trade-market/seed.d.ts +1 -0
- package/dist/trade-market/user/dto.schemas.d.ts +0 -172
- package/dist/trade-market/user/router.d.ts +8 -26
- package/dist/trade-market/user/service.d.ts +8 -294
- package/dist/transfer/admin/router.d.ts +4 -4
- package/dist/transfer/user/router.d.ts +4 -4
- package/dist/udf/dto.schemas.d.ts +134 -0
- package/dist/udf/index.d.ts +1 -0
- package/dist/udf/router.d.ts +577 -0
- package/dist/udf/service.d.ts +75 -0
- package/dist/user/admin/router.d.ts +14 -14
- package/dist/user/user/router.d.ts +5 -5
- package/dist/user-kyc/admin/router.d.ts +10 -10
- package/dist/user-kyc/user/router.d.ts +6 -6
- package/dist/user-security/admin/router.d.ts +4 -4
- package/dist/user-security/user/router.d.ts +6 -6
- package/dist/wallet/admin/router.d.ts +6 -6
- package/dist/wallet/user/router.d.ts +4 -4
- package/dist/wallet-type/admin/router.d.ts +14 -14
- package/dist/wallet-type/user/router.d.ts +3 -3
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +24 -24
- package/dist/welfare-cycle/admin/router.d.ts +52 -52
- package/dist/welfare-cycle/admin/service.d.ts +32 -32
- package/dist/welfare-cycle/user/router.d.ts +9 -9
- package/dist/withdraw/admin/router.d.ts +10 -10
- package/dist/withdraw/user/dto.schemas.d.ts +2 -2
- package/dist/withdraw/user/router.d.ts +8 -8
- package/package.json +4 -1
|
@@ -29,7 +29,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
29
29
|
saleStartAt: Date | null;
|
|
30
30
|
saleEndAt: Date | null;
|
|
31
31
|
rightsAsset: {
|
|
32
|
-
symbol: string;
|
|
32
|
+
symbol: string | null;
|
|
33
33
|
id: string;
|
|
34
34
|
name: string;
|
|
35
35
|
createdAt: Date;
|
|
@@ -38,11 +38,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
38
38
|
iconUrl: string;
|
|
39
39
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
40
40
|
isActive: boolean;
|
|
41
|
-
typeId: string;
|
|
41
|
+
typeId: string | null;
|
|
42
42
|
precision: number;
|
|
43
43
|
};
|
|
44
44
|
pricingAsset: {
|
|
45
|
-
symbol: string;
|
|
45
|
+
symbol: string | null;
|
|
46
46
|
id: string;
|
|
47
47
|
name: string;
|
|
48
48
|
createdAt: Date;
|
|
@@ -51,7 +51,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
51
51
|
iconUrl: string;
|
|
52
52
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
53
53
|
isActive: boolean;
|
|
54
|
-
typeId: string;
|
|
54
|
+
typeId: string | null;
|
|
55
55
|
precision: number;
|
|
56
56
|
};
|
|
57
57
|
sourcePricingAccountType: {
|
|
@@ -153,7 +153,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
153
153
|
saleStartAt: Date | null;
|
|
154
154
|
saleEndAt: Date | null;
|
|
155
155
|
rightsAsset: {
|
|
156
|
-
symbol: string;
|
|
156
|
+
symbol: string | null;
|
|
157
157
|
id: string;
|
|
158
158
|
name: string;
|
|
159
159
|
createdAt: Date;
|
|
@@ -162,11 +162,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
162
162
|
iconUrl: string;
|
|
163
163
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
164
164
|
isActive: boolean;
|
|
165
|
-
typeId: string;
|
|
165
|
+
typeId: string | null;
|
|
166
166
|
precision: number;
|
|
167
167
|
};
|
|
168
168
|
pricingAsset: {
|
|
169
|
-
symbol: string;
|
|
169
|
+
symbol: string | null;
|
|
170
170
|
id: string;
|
|
171
171
|
name: string;
|
|
172
172
|
createdAt: Date;
|
|
@@ -175,7 +175,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
175
175
|
iconUrl: string;
|
|
176
176
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
177
177
|
isActive: boolean;
|
|
178
|
-
typeId: string;
|
|
178
|
+
typeId: string | null;
|
|
179
179
|
precision: number;
|
|
180
180
|
};
|
|
181
181
|
sourcePricingAccountType: {
|
|
@@ -277,7 +277,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
277
277
|
saleStartAt: Date | null;
|
|
278
278
|
saleEndAt: Date | null;
|
|
279
279
|
rightsAsset: {
|
|
280
|
-
symbol: string;
|
|
280
|
+
symbol: string | null;
|
|
281
281
|
id: string;
|
|
282
282
|
name: string;
|
|
283
283
|
createdAt: Date;
|
|
@@ -286,11 +286,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
286
286
|
iconUrl: string;
|
|
287
287
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
288
288
|
isActive: boolean;
|
|
289
|
-
typeId: string;
|
|
289
|
+
typeId: string | null;
|
|
290
290
|
precision: number;
|
|
291
291
|
};
|
|
292
292
|
pricingAsset: {
|
|
293
|
-
symbol: string;
|
|
293
|
+
symbol: string | null;
|
|
294
294
|
id: string;
|
|
295
295
|
name: string;
|
|
296
296
|
createdAt: Date;
|
|
@@ -299,7 +299,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
299
299
|
iconUrl: string;
|
|
300
300
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
301
301
|
isActive: boolean;
|
|
302
|
-
typeId: string;
|
|
302
|
+
typeId: string | null;
|
|
303
303
|
precision: number;
|
|
304
304
|
};
|
|
305
305
|
sourcePricingAccountType: {
|
|
@@ -401,7 +401,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
401
401
|
saleStartAt: Date | null;
|
|
402
402
|
saleEndAt: Date | null;
|
|
403
403
|
rightsAsset: {
|
|
404
|
-
symbol: string;
|
|
404
|
+
symbol: string | null;
|
|
405
405
|
id: string;
|
|
406
406
|
name: string;
|
|
407
407
|
createdAt: Date;
|
|
@@ -410,11 +410,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
410
410
|
iconUrl: string;
|
|
411
411
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
412
412
|
isActive: boolean;
|
|
413
|
-
typeId: string;
|
|
413
|
+
typeId: string | null;
|
|
414
414
|
precision: number;
|
|
415
415
|
};
|
|
416
416
|
pricingAsset: {
|
|
417
|
-
symbol: string;
|
|
417
|
+
symbol: string | null;
|
|
418
418
|
id: string;
|
|
419
419
|
name: string;
|
|
420
420
|
createdAt: Date;
|
|
@@ -423,7 +423,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
423
423
|
iconUrl: string;
|
|
424
424
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
425
425
|
isActive: boolean;
|
|
426
|
-
typeId: string;
|
|
426
|
+
typeId: string | null;
|
|
427
427
|
precision: number;
|
|
428
428
|
};
|
|
429
429
|
sourcePricingAccountType: {
|
|
@@ -525,7 +525,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
525
525
|
saleStartAt: Date | null;
|
|
526
526
|
saleEndAt: Date | null;
|
|
527
527
|
rightsAsset: {
|
|
528
|
-
symbol: string;
|
|
528
|
+
symbol: string | null;
|
|
529
529
|
id: string;
|
|
530
530
|
name: string;
|
|
531
531
|
createdAt: Date;
|
|
@@ -534,11 +534,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
534
534
|
iconUrl: string;
|
|
535
535
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
536
536
|
isActive: boolean;
|
|
537
|
-
typeId: string;
|
|
537
|
+
typeId: string | null;
|
|
538
538
|
precision: number;
|
|
539
539
|
};
|
|
540
540
|
pricingAsset: {
|
|
541
|
-
symbol: string;
|
|
541
|
+
symbol: string | null;
|
|
542
542
|
id: string;
|
|
543
543
|
name: string;
|
|
544
544
|
createdAt: Date;
|
|
@@ -547,7 +547,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
547
547
|
iconUrl: string;
|
|
548
548
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
549
549
|
isActive: boolean;
|
|
550
|
-
typeId: string;
|
|
550
|
+
typeId: string | null;
|
|
551
551
|
precision: number;
|
|
552
552
|
};
|
|
553
553
|
sourcePricingAccountType: {
|
|
@@ -651,7 +651,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
651
651
|
saleStartAt: Date | null;
|
|
652
652
|
saleEndAt: Date | null;
|
|
653
653
|
rightsAsset: {
|
|
654
|
-
symbol: string;
|
|
654
|
+
symbol: string | null;
|
|
655
655
|
id: string;
|
|
656
656
|
name: string;
|
|
657
657
|
createdAt: Date;
|
|
@@ -660,11 +660,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
660
660
|
iconUrl: string;
|
|
661
661
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
662
662
|
isActive: boolean;
|
|
663
|
-
typeId: string;
|
|
663
|
+
typeId: string | null;
|
|
664
664
|
precision: number;
|
|
665
665
|
};
|
|
666
666
|
pricingAsset: {
|
|
667
|
-
symbol: string;
|
|
667
|
+
symbol: string | null;
|
|
668
668
|
id: string;
|
|
669
669
|
name: string;
|
|
670
670
|
createdAt: Date;
|
|
@@ -673,7 +673,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
673
673
|
iconUrl: string;
|
|
674
674
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
675
675
|
isActive: boolean;
|
|
676
|
-
typeId: string;
|
|
676
|
+
typeId: string | null;
|
|
677
677
|
precision: number;
|
|
678
678
|
};
|
|
679
679
|
sourcePricingAccountType: {
|
|
@@ -828,7 +828,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
828
828
|
saleStartAt: Date | null;
|
|
829
829
|
saleEndAt: Date | null;
|
|
830
830
|
rightsAsset: {
|
|
831
|
-
symbol: string;
|
|
831
|
+
symbol: string | null;
|
|
832
832
|
id: string;
|
|
833
833
|
name: string;
|
|
834
834
|
createdAt: Date;
|
|
@@ -837,11 +837,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
837
837
|
iconUrl: string;
|
|
838
838
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
839
839
|
isActive: boolean;
|
|
840
|
-
typeId: string;
|
|
840
|
+
typeId: string | null;
|
|
841
841
|
precision: number;
|
|
842
842
|
};
|
|
843
843
|
pricingAsset: {
|
|
844
|
-
symbol: string;
|
|
844
|
+
symbol: string | null;
|
|
845
845
|
id: string;
|
|
846
846
|
name: string;
|
|
847
847
|
createdAt: Date;
|
|
@@ -850,7 +850,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
850
850
|
iconUrl: string;
|
|
851
851
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
852
852
|
isActive: boolean;
|
|
853
|
-
typeId: string;
|
|
853
|
+
typeId: string | null;
|
|
854
854
|
precision: number;
|
|
855
855
|
};
|
|
856
856
|
sourcePricingAccountType: {
|
|
@@ -966,7 +966,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
966
966
|
version: number;
|
|
967
967
|
};
|
|
968
968
|
pricingAssetSnapshot: {
|
|
969
|
-
symbol: string;
|
|
969
|
+
symbol: string | null;
|
|
970
970
|
id: string;
|
|
971
971
|
name: string;
|
|
972
972
|
createdAt: Date;
|
|
@@ -975,11 +975,11 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
975
975
|
iconUrl: string;
|
|
976
976
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
977
977
|
isActive: boolean;
|
|
978
|
-
typeId: string;
|
|
978
|
+
typeId: string | null;
|
|
979
979
|
precision: number;
|
|
980
980
|
};
|
|
981
981
|
rightsAssetSnapshot: {
|
|
982
|
-
symbol: string;
|
|
982
|
+
symbol: string | null;
|
|
983
983
|
id: string;
|
|
984
984
|
name: string;
|
|
985
985
|
createdAt: Date;
|
|
@@ -988,7 +988,7 @@ export declare abstract class AdminWelfareCycleService {
|
|
|
988
988
|
iconUrl: string;
|
|
989
989
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
990
990
|
isActive: boolean;
|
|
991
|
-
typeId: string;
|
|
991
|
+
typeId: string | null;
|
|
992
992
|
precision: number;
|
|
993
993
|
};
|
|
994
994
|
}[];
|
|
@@ -41,7 +41,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
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 |
|
|
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 welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
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 |
|
|
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";
|
|
@@ -426,6 +426,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
426
426
|
hasNextPage: boolean;
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
|
+
401: "Unauthorized";
|
|
429
430
|
422: {
|
|
430
431
|
type: "validation";
|
|
431
432
|
on: string;
|
|
@@ -435,7 +436,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
435
436
|
property?: string;
|
|
436
437
|
expected?: string;
|
|
437
438
|
};
|
|
438
|
-
401: "Unauthorized";
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
441
|
};
|
|
@@ -475,6 +475,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
475
475
|
saleStartAt: Date | null;
|
|
476
476
|
saleEndAt: Date | null;
|
|
477
477
|
};
|
|
478
|
+
401: "Unauthorized";
|
|
478
479
|
422: {
|
|
479
480
|
type: "validation";
|
|
480
481
|
on: string;
|
|
@@ -484,7 +485,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
484
485
|
property?: string;
|
|
485
486
|
expected?: string;
|
|
486
487
|
};
|
|
487
|
-
401: "Unauthorized";
|
|
488
488
|
};
|
|
489
489
|
};
|
|
490
490
|
};
|
|
@@ -531,6 +531,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
531
531
|
nextPayoutDate: Date | null;
|
|
532
532
|
lastPayoutDate: Date | null;
|
|
533
533
|
};
|
|
534
|
+
401: "Unauthorized";
|
|
534
535
|
422: {
|
|
535
536
|
type: "validation";
|
|
536
537
|
on: string;
|
|
@@ -540,7 +541,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
540
541
|
property?: string;
|
|
541
542
|
expected?: string;
|
|
542
543
|
};
|
|
543
|
-
401: "Unauthorized";
|
|
544
544
|
};
|
|
545
545
|
};
|
|
546
546
|
};
|
|
@@ -597,6 +597,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
597
597
|
hasNextPage: boolean;
|
|
598
598
|
};
|
|
599
599
|
};
|
|
600
|
+
401: "Unauthorized";
|
|
600
601
|
422: {
|
|
601
602
|
type: "validation";
|
|
602
603
|
on: string;
|
|
@@ -606,7 +607,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
606
607
|
property?: string;
|
|
607
608
|
expected?: string;
|
|
608
609
|
};
|
|
609
|
-
401: "Unauthorized";
|
|
610
610
|
};
|
|
611
611
|
};
|
|
612
612
|
};
|
|
@@ -650,6 +650,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
650
650
|
nextPayoutDate: Date | null;
|
|
651
651
|
lastPayoutDate: Date | null;
|
|
652
652
|
};
|
|
653
|
+
401: "Unauthorized";
|
|
653
654
|
422: {
|
|
654
655
|
type: "validation";
|
|
655
656
|
on: string;
|
|
@@ -659,7 +660,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
659
660
|
property?: string;
|
|
660
661
|
expected?: string;
|
|
661
662
|
};
|
|
662
|
-
401: "Unauthorized";
|
|
663
663
|
};
|
|
664
664
|
};
|
|
665
665
|
};
|
|
@@ -703,6 +703,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
703
703
|
hasNextPage: boolean;
|
|
704
704
|
};
|
|
705
705
|
};
|
|
706
|
+
401: "Unauthorized";
|
|
706
707
|
422: {
|
|
707
708
|
type: "validation";
|
|
708
709
|
on: string;
|
|
@@ -712,7 +713,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
712
713
|
property?: string;
|
|
713
714
|
expected?: string;
|
|
714
715
|
};
|
|
715
|
-
401: "Unauthorized";
|
|
716
716
|
};
|
|
717
717
|
};
|
|
718
718
|
};
|
|
@@ -745,6 +745,7 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
745
745
|
yieldLedgerEntryId: string | null;
|
|
746
746
|
principalLedgerEntryId: string | null;
|
|
747
747
|
} | null;
|
|
748
|
+
401: "Unauthorized";
|
|
748
749
|
422: {
|
|
749
750
|
type: "validation";
|
|
750
751
|
on: string;
|
|
@@ -754,7 +755,6 @@ export declare const welfareCycleRouter: Elysia<"/welfare_cycle", {
|
|
|
754
755
|
property?: string;
|
|
755
756
|
expected?: string;
|
|
756
757
|
};
|
|
757
|
-
401: "Unauthorized";
|
|
758
758
|
};
|
|
759
759
|
};
|
|
760
760
|
};
|
|
@@ -41,7 +41,7 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
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 |
|
|
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 withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
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 |
|
|
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";
|
|
@@ -422,6 +422,8 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
422
422
|
hasNextPage: boolean;
|
|
423
423
|
};
|
|
424
424
|
};
|
|
425
|
+
401: "Unauthorized";
|
|
426
|
+
403: "Forbidden: Admins only";
|
|
425
427
|
422: {
|
|
426
428
|
type: "validation";
|
|
427
429
|
on: string;
|
|
@@ -431,8 +433,6 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
431
433
|
property?: string;
|
|
432
434
|
expected?: string;
|
|
433
435
|
};
|
|
434
|
-
401: "Unauthorized";
|
|
435
|
-
403: "Forbidden: Admins only";
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
438
|
};
|
|
@@ -469,6 +469,8 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
469
469
|
paidBy: string | null;
|
|
470
470
|
paidAt: Date | null;
|
|
471
471
|
};
|
|
472
|
+
401: "Unauthorized";
|
|
473
|
+
403: "Forbidden: Admins only";
|
|
472
474
|
422: {
|
|
473
475
|
type: "validation";
|
|
474
476
|
on: string;
|
|
@@ -478,8 +480,6 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
478
480
|
property?: string;
|
|
479
481
|
expected?: string;
|
|
480
482
|
};
|
|
481
|
-
401: "Unauthorized";
|
|
482
|
-
403: "Forbidden: Admins only";
|
|
483
483
|
};
|
|
484
484
|
};
|
|
485
485
|
};
|
|
@@ -518,6 +518,8 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
518
518
|
paidBy: string | null;
|
|
519
519
|
paidAt: Date | null;
|
|
520
520
|
};
|
|
521
|
+
401: "Unauthorized";
|
|
522
|
+
403: "Forbidden: Admins only";
|
|
521
523
|
422: {
|
|
522
524
|
type: "validation";
|
|
523
525
|
on: string;
|
|
@@ -527,8 +529,6 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
527
529
|
property?: string;
|
|
528
530
|
expected?: string;
|
|
529
531
|
};
|
|
530
|
-
401: "Unauthorized";
|
|
531
|
-
403: "Forbidden: Admins only";
|
|
532
532
|
};
|
|
533
533
|
};
|
|
534
534
|
};
|
|
@@ -565,6 +565,8 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
565
565
|
paidBy: string | null;
|
|
566
566
|
paidAt: Date | null;
|
|
567
567
|
};
|
|
568
|
+
401: "Unauthorized";
|
|
569
|
+
403: "Forbidden: Admins only";
|
|
568
570
|
422: {
|
|
569
571
|
type: "validation";
|
|
570
572
|
on: string;
|
|
@@ -574,8 +576,6 @@ export declare const withdrawAdminRouter: Elysia<"/withdraw", {
|
|
|
574
576
|
property?: string;
|
|
575
577
|
expected?: string;
|
|
576
578
|
};
|
|
577
|
-
401: "Unauthorized";
|
|
578
|
-
403: "Forbidden: Admins only";
|
|
579
579
|
};
|
|
580
580
|
};
|
|
581
581
|
};
|
|
@@ -749,7 +749,7 @@ export declare const directCnyWithdrawAccountInfoResponseSchema: import("@sincla
|
|
|
749
749
|
columnType: "PgUUID";
|
|
750
750
|
data: string;
|
|
751
751
|
driverParam: string;
|
|
752
|
-
notNull:
|
|
752
|
+
notNull: false;
|
|
753
753
|
hasDefault: false;
|
|
754
754
|
isPrimaryKey: false;
|
|
755
755
|
isAutoincrement: false;
|
|
@@ -766,7 +766,7 @@ export declare const directCnyWithdrawAccountInfoResponseSchema: import("@sincla
|
|
|
766
766
|
columnType: "PgText";
|
|
767
767
|
data: string;
|
|
768
768
|
driverParam: string;
|
|
769
|
-
notNull:
|
|
769
|
+
notNull: false;
|
|
770
770
|
hasDefault: false;
|
|
771
771
|
isPrimaryKey: false;
|
|
772
772
|
isAutoincrement: false;
|
|
@@ -41,7 +41,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
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 |
|
|
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 withdrawRouter: Elysia<"/withdraw", {
|
|
|
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 |
|
|
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";
|
|
@@ -395,7 +395,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
395
395
|
userId: string;
|
|
396
396
|
status: "active" | "frozen" | "disabled";
|
|
397
397
|
asset: {
|
|
398
|
-
symbol: string;
|
|
398
|
+
symbol: string | null;
|
|
399
399
|
id: string;
|
|
400
400
|
name: string;
|
|
401
401
|
createdAt: Date;
|
|
@@ -404,7 +404,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
404
404
|
iconUrl: string;
|
|
405
405
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
406
406
|
isActive: boolean;
|
|
407
|
-
typeId: string;
|
|
407
|
+
typeId: string | null;
|
|
408
408
|
precision: number;
|
|
409
409
|
};
|
|
410
410
|
assetId: string;
|
|
@@ -438,6 +438,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
438
438
|
sortOrder: number;
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
|
+
401: "Unauthorized";
|
|
441
442
|
422: {
|
|
442
443
|
type: "validation";
|
|
443
444
|
on: string;
|
|
@@ -447,7 +448,6 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
447
448
|
property?: string;
|
|
448
449
|
expected?: string;
|
|
449
450
|
};
|
|
450
|
-
401: "Unauthorized";
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
453
|
};
|
|
@@ -486,6 +486,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
486
486
|
paidBy: string | null;
|
|
487
487
|
paidAt: Date | null;
|
|
488
488
|
};
|
|
489
|
+
401: "Unauthorized";
|
|
489
490
|
422: {
|
|
490
491
|
type: "validation";
|
|
491
492
|
on: string;
|
|
@@ -495,7 +496,6 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
495
496
|
property?: string;
|
|
496
497
|
expected?: string;
|
|
497
498
|
};
|
|
498
|
-
401: "Unauthorized";
|
|
499
499
|
};
|
|
500
500
|
};
|
|
501
501
|
};
|
|
@@ -533,6 +533,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
533
533
|
paidBy: string | null;
|
|
534
534
|
paidAt: Date | null;
|
|
535
535
|
};
|
|
536
|
+
401: "Unauthorized";
|
|
536
537
|
422: {
|
|
537
538
|
type: "validation";
|
|
538
539
|
on: string;
|
|
@@ -542,7 +543,6 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
542
543
|
property?: string;
|
|
543
544
|
expected?: string;
|
|
544
545
|
};
|
|
545
|
-
401: "Unauthorized";
|
|
546
546
|
};
|
|
547
547
|
};
|
|
548
548
|
};
|
|
@@ -589,6 +589,7 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
589
589
|
hasNextPage: boolean;
|
|
590
590
|
};
|
|
591
591
|
};
|
|
592
|
+
401: "Unauthorized";
|
|
592
593
|
422: {
|
|
593
594
|
type: "validation";
|
|
594
595
|
on: string;
|
|
@@ -598,7 +599,6 @@ export declare const withdrawRouter: Elysia<"/withdraw", {
|
|
|
598
599
|
property?: string;
|
|
599
600
|
expected?: string;
|
|
600
601
|
};
|
|
601
|
-
401: "Unauthorized";
|
|
602
602
|
};
|
|
603
603
|
};
|
|
604
604
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@r2wa-org/eden",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.80",
|
|
4
4
|
"description": "Elysia API type definitions for Eden Treaty",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -16,8 +16,10 @@
|
|
|
16
16
|
"start": "NODE_ENV=production POSTGRES_PORT=5442 bun dist/index.js",
|
|
17
17
|
"build": "bun build src/index.ts --target bun --outdir ./.output/",
|
|
18
18
|
"build:types": "tsc -p tsconfig.eden.json && echo 'Eden build done.'",
|
|
19
|
+
"build:types:tsgo": "tsgo -p tsconfig.eden.json && echo 'Eden build done.'",
|
|
19
20
|
"fmt": "oxfmt",
|
|
20
21
|
"typecheck": "tsc --noEmit",
|
|
22
|
+
"typecheck:tsgo": "tsgo --noEmit",
|
|
21
23
|
"db:generate": "drizzle-kit generate",
|
|
22
24
|
"db:migrate": "drizzle-kit migrate",
|
|
23
25
|
"db:start": "docker compose up -d db",
|
|
@@ -54,6 +56,7 @@
|
|
|
54
56
|
"devDependencies": {
|
|
55
57
|
"@types/bun": "1.3.13",
|
|
56
58
|
"@types/nodemailer": "8.0.0",
|
|
59
|
+
"@typescript/native-preview": "7.0.0-dev.20260504.1",
|
|
57
60
|
"auth": "1.6.9",
|
|
58
61
|
"drizzle-kit": "0.31.10",
|
|
59
62
|
"husky": "9.1.7",
|