@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
package/dist/admin/index.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
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 adminRouter: Elysia<"/admin", {
|
|
|
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 adminRouter: Elysia<"/admin", {
|
|
|
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 adminRouter: Elysia<"/admin", {
|
|
|
431
433
|
property?: string;
|
|
432
434
|
expected?: string;
|
|
433
435
|
};
|
|
434
|
-
401: "Unauthorized";
|
|
435
|
-
403: "Forbidden: Admins only";
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
438
|
};
|
|
@@ -468,6 +468,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
468
468
|
};
|
|
469
469
|
password: string;
|
|
470
470
|
};
|
|
471
|
+
401: "Unauthorized";
|
|
472
|
+
403: "Forbidden: Admins only";
|
|
471
473
|
422: {
|
|
472
474
|
type: "validation";
|
|
473
475
|
on: string;
|
|
@@ -477,8 +479,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
477
479
|
property?: string;
|
|
478
480
|
expected?: string;
|
|
479
481
|
};
|
|
480
|
-
401: "Unauthorized";
|
|
481
|
-
403: "Forbidden: Admins only";
|
|
482
482
|
};
|
|
483
483
|
};
|
|
484
484
|
};
|
|
@@ -498,6 +498,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
498
498
|
200: {
|
|
499
499
|
password: string;
|
|
500
500
|
};
|
|
501
|
+
401: "Unauthorized";
|
|
502
|
+
403: "Forbidden: Admins only";
|
|
501
503
|
422: {
|
|
502
504
|
type: "validation";
|
|
503
505
|
on: string;
|
|
@@ -507,8 +509,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
507
509
|
property?: string;
|
|
508
510
|
expected?: string;
|
|
509
511
|
};
|
|
510
|
-
401: "Unauthorized";
|
|
511
|
-
403: "Forbidden: Admins only";
|
|
512
512
|
};
|
|
513
513
|
};
|
|
514
514
|
};
|
|
@@ -533,6 +533,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
533
533
|
200: {
|
|
534
534
|
success: boolean;
|
|
535
535
|
};
|
|
536
|
+
401: "Unauthorized";
|
|
537
|
+
403: "Forbidden: Admins only";
|
|
536
538
|
422: {
|
|
537
539
|
type: "validation";
|
|
538
540
|
on: string;
|
|
@@ -542,8 +544,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
542
544
|
property?: string;
|
|
543
545
|
expected?: string;
|
|
544
546
|
};
|
|
545
|
-
401: "Unauthorized";
|
|
546
|
-
403: "Forbidden: Admins only";
|
|
547
547
|
};
|
|
548
548
|
};
|
|
549
549
|
};
|
|
@@ -564,6 +564,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
564
564
|
200: {
|
|
565
565
|
success: boolean;
|
|
566
566
|
};
|
|
567
|
+
401: "Unauthorized";
|
|
568
|
+
403: "Forbidden: Admins only";
|
|
567
569
|
422: {
|
|
568
570
|
type: "validation";
|
|
569
571
|
on: string;
|
|
@@ -573,8 +575,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
573
575
|
property?: string;
|
|
574
576
|
expected?: string;
|
|
575
577
|
};
|
|
576
|
-
401: "Unauthorized";
|
|
577
|
-
403: "Forbidden: Admins only";
|
|
578
578
|
};
|
|
579
579
|
};
|
|
580
580
|
};
|
|
@@ -599,6 +599,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
599
599
|
description: string | null;
|
|
600
600
|
key: string;
|
|
601
601
|
}[];
|
|
602
|
+
401: "Unauthorized";
|
|
603
|
+
403: "Forbidden: Admins only";
|
|
602
604
|
422: {
|
|
603
605
|
type: "validation";
|
|
604
606
|
on: string;
|
|
@@ -608,8 +610,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
608
610
|
property?: string;
|
|
609
611
|
expected?: string;
|
|
610
612
|
};
|
|
611
|
-
401: "Unauthorized";
|
|
612
|
-
403: "Forbidden: Admins only";
|
|
613
613
|
};
|
|
614
614
|
};
|
|
615
615
|
};
|
|
@@ -628,6 +628,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
628
628
|
key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
|
|
629
629
|
value: string | null | undefined;
|
|
630
630
|
};
|
|
631
|
+
401: "Unauthorized";
|
|
632
|
+
403: "Forbidden: Admins only";
|
|
631
633
|
422: {
|
|
632
634
|
type: "validation";
|
|
633
635
|
on: string;
|
|
@@ -637,8 +639,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
637
639
|
property?: string;
|
|
638
640
|
expected?: string;
|
|
639
641
|
};
|
|
640
|
-
401: "Unauthorized";
|
|
641
|
-
403: "Forbidden: Admins only";
|
|
642
642
|
};
|
|
643
643
|
};
|
|
644
644
|
};
|
|
@@ -661,6 +661,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
661
661
|
key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
|
|
662
662
|
value: string;
|
|
663
663
|
};
|
|
664
|
+
401: "Unauthorized";
|
|
665
|
+
403: "Forbidden: Admins only";
|
|
664
666
|
422: {
|
|
665
667
|
type: "validation";
|
|
666
668
|
on: string;
|
|
@@ -670,8 +672,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
670
672
|
property?: string;
|
|
671
673
|
expected?: string;
|
|
672
674
|
};
|
|
673
|
-
401: "Unauthorized";
|
|
674
|
-
403: "Forbidden: Admins only";
|
|
675
675
|
};
|
|
676
676
|
};
|
|
677
677
|
};
|
|
@@ -691,6 +691,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
691
691
|
success: boolean;
|
|
692
692
|
key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
|
|
693
693
|
};
|
|
694
|
+
401: "Unauthorized";
|
|
695
|
+
403: "Forbidden: Admins only";
|
|
694
696
|
422: {
|
|
695
697
|
type: "validation";
|
|
696
698
|
on: string;
|
|
@@ -700,8 +702,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
700
702
|
property?: string;
|
|
701
703
|
expected?: string;
|
|
702
704
|
};
|
|
703
|
-
401: "Unauthorized";
|
|
704
|
-
403: "Forbidden: Admins only";
|
|
705
705
|
};
|
|
706
706
|
};
|
|
707
707
|
};
|
|
@@ -780,7 +780,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
780
780
|
source: string;
|
|
781
781
|
effectiveAt: Date;
|
|
782
782
|
baseAssetEntity: {
|
|
783
|
-
symbol: string;
|
|
783
|
+
symbol: string | null;
|
|
784
784
|
id: string;
|
|
785
785
|
name: string;
|
|
786
786
|
code: string;
|
|
@@ -797,6 +797,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
797
797
|
hasNextPage: boolean;
|
|
798
798
|
};
|
|
799
799
|
};
|
|
800
|
+
401: "Unauthorized";
|
|
801
|
+
403: "Forbidden: Admins only";
|
|
800
802
|
422: {
|
|
801
803
|
type: "validation";
|
|
802
804
|
on: string;
|
|
@@ -806,8 +808,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
806
808
|
property?: string;
|
|
807
809
|
expected?: string;
|
|
808
810
|
};
|
|
809
|
-
401: "Unauthorized";
|
|
810
|
-
403: "Forbidden: Admins only";
|
|
811
811
|
};
|
|
812
812
|
};
|
|
813
813
|
};
|
|
@@ -833,7 +833,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
833
833
|
source: string;
|
|
834
834
|
effectiveAt: Date;
|
|
835
835
|
baseAssetEntity: {
|
|
836
|
-
symbol: string;
|
|
836
|
+
symbol: string | null;
|
|
837
837
|
id: string;
|
|
838
838
|
name: string;
|
|
839
839
|
code: string;
|
|
@@ -842,6 +842,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
842
842
|
precision: number;
|
|
843
843
|
};
|
|
844
844
|
};
|
|
845
|
+
401: "Unauthorized";
|
|
846
|
+
403: "Forbidden: Admins only";
|
|
845
847
|
422: {
|
|
846
848
|
type: "validation";
|
|
847
849
|
on: string;
|
|
@@ -851,8 +853,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
851
853
|
property?: string;
|
|
852
854
|
expected?: string;
|
|
853
855
|
};
|
|
854
|
-
401: "Unauthorized";
|
|
855
|
-
403: "Forbidden: Admins only";
|
|
856
856
|
};
|
|
857
857
|
};
|
|
858
858
|
};
|
|
@@ -879,7 +879,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
879
879
|
source: string;
|
|
880
880
|
effectiveAt: Date;
|
|
881
881
|
baseAssetEntity: {
|
|
882
|
-
symbol: string;
|
|
882
|
+
symbol: string | null;
|
|
883
883
|
id: string;
|
|
884
884
|
name: string;
|
|
885
885
|
code: string;
|
|
@@ -888,6 +888,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
888
888
|
precision: number;
|
|
889
889
|
};
|
|
890
890
|
};
|
|
891
|
+
401: "Unauthorized";
|
|
892
|
+
403: "Forbidden: Admins only";
|
|
891
893
|
422: {
|
|
892
894
|
type: "validation";
|
|
893
895
|
on: string;
|
|
@@ -897,8 +899,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
897
899
|
property?: string;
|
|
898
900
|
expected?: string;
|
|
899
901
|
};
|
|
900
|
-
401: "Unauthorized";
|
|
901
|
-
403: "Forbidden: Admins only";
|
|
902
902
|
};
|
|
903
903
|
};
|
|
904
904
|
};
|
|
@@ -926,7 +926,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
926
926
|
source: string;
|
|
927
927
|
effectiveAt: Date;
|
|
928
928
|
baseAssetEntity: {
|
|
929
|
-
symbol: string;
|
|
929
|
+
symbol: string | null;
|
|
930
930
|
id: string;
|
|
931
931
|
name: string;
|
|
932
932
|
code: string;
|
|
@@ -935,6 +935,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
935
935
|
precision: number;
|
|
936
936
|
};
|
|
937
937
|
};
|
|
938
|
+
401: "Unauthorized";
|
|
939
|
+
403: "Forbidden: Admins only";
|
|
938
940
|
422: {
|
|
939
941
|
type: "validation";
|
|
940
942
|
on: string;
|
|
@@ -944,8 +946,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
944
946
|
property?: string;
|
|
945
947
|
expected?: string;
|
|
946
948
|
};
|
|
947
|
-
401: "Unauthorized";
|
|
948
|
-
403: "Forbidden: Admins only";
|
|
949
949
|
};
|
|
950
950
|
};
|
|
951
951
|
};
|
|
@@ -964,7 +964,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
964
964
|
code?: string | undefined;
|
|
965
965
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
966
966
|
isActive?: boolean | undefined;
|
|
967
|
-
typeId?: string | undefined;
|
|
967
|
+
typeId?: string | null | undefined;
|
|
968
968
|
limit?: number | undefined;
|
|
969
969
|
offset?: number | undefined;
|
|
970
970
|
pageSize?: number | undefined;
|
|
@@ -975,13 +975,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
975
975
|
response: {
|
|
976
976
|
200: {
|
|
977
977
|
data: {
|
|
978
|
-
symbol: string;
|
|
978
|
+
symbol: string | null;
|
|
979
979
|
type: {
|
|
980
980
|
id: string;
|
|
981
981
|
name: string;
|
|
982
982
|
key: string;
|
|
983
983
|
isActive: boolean;
|
|
984
|
-
};
|
|
984
|
+
} | null;
|
|
985
985
|
id: string;
|
|
986
986
|
name: string;
|
|
987
987
|
createdAt: Date;
|
|
@@ -990,7 +990,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
990
990
|
iconUrl: string;
|
|
991
991
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
992
992
|
isActive: boolean;
|
|
993
|
-
typeId: string;
|
|
993
|
+
typeId: string | null;
|
|
994
994
|
precision: number;
|
|
995
995
|
}[];
|
|
996
996
|
pagination: {
|
|
@@ -1001,6 +1001,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1001
1001
|
hasNextPage: boolean;
|
|
1002
1002
|
};
|
|
1003
1003
|
};
|
|
1004
|
+
401: "Unauthorized";
|
|
1005
|
+
403: "Forbidden: Admins only";
|
|
1004
1006
|
422: {
|
|
1005
1007
|
type: "validation";
|
|
1006
1008
|
on: string;
|
|
@@ -1010,8 +1012,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1010
1012
|
property?: string;
|
|
1011
1013
|
expected?: string;
|
|
1012
1014
|
};
|
|
1013
|
-
401: "Unauthorized";
|
|
1014
|
-
403: "Forbidden: Admins only";
|
|
1015
1015
|
};
|
|
1016
1016
|
};
|
|
1017
1017
|
};
|
|
@@ -1027,13 +1027,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1027
1027
|
headers: {};
|
|
1028
1028
|
response: {
|
|
1029
1029
|
200: {
|
|
1030
|
-
symbol: string;
|
|
1030
|
+
symbol: string | null;
|
|
1031
1031
|
type: {
|
|
1032
1032
|
id: string;
|
|
1033
1033
|
name: string;
|
|
1034
1034
|
key: string;
|
|
1035
1035
|
isActive: boolean;
|
|
1036
|
-
};
|
|
1036
|
+
} | null;
|
|
1037
1037
|
id: string;
|
|
1038
1038
|
name: string;
|
|
1039
1039
|
createdAt: Date;
|
|
@@ -1042,9 +1042,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1042
1042
|
iconUrl: string;
|
|
1043
1043
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1044
1044
|
isActive: boolean;
|
|
1045
|
-
typeId: string;
|
|
1045
|
+
typeId: string | null;
|
|
1046
1046
|
precision: number;
|
|
1047
1047
|
};
|
|
1048
|
+
401: "Unauthorized";
|
|
1049
|
+
403: "Forbidden: Admins only";
|
|
1048
1050
|
422: {
|
|
1049
1051
|
type: "validation";
|
|
1050
1052
|
on: string;
|
|
@@ -1054,8 +1056,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1054
1056
|
property?: string;
|
|
1055
1057
|
expected?: string;
|
|
1056
1058
|
};
|
|
1057
|
-
401: "Unauthorized";
|
|
1058
|
-
403: "Forbidden: Admins only";
|
|
1059
1059
|
};
|
|
1060
1060
|
};
|
|
1061
1061
|
};
|
|
@@ -1064,13 +1064,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1064
1064
|
assets: {
|
|
1065
1065
|
post: {
|
|
1066
1066
|
body: {
|
|
1067
|
+
symbol?: string | null | undefined;
|
|
1067
1068
|
isActive?: boolean | undefined;
|
|
1069
|
+
typeId?: string | null | undefined;
|
|
1068
1070
|
initialCnyPrice?: string | undefined;
|
|
1069
|
-
symbol: string;
|
|
1070
1071
|
name: string;
|
|
1071
1072
|
code: string;
|
|
1072
1073
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1073
|
-
typeId: string;
|
|
1074
1074
|
precision: number;
|
|
1075
1075
|
iconFileId: string;
|
|
1076
1076
|
};
|
|
@@ -1079,13 +1079,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1079
1079
|
headers: {};
|
|
1080
1080
|
response: {
|
|
1081
1081
|
200: {
|
|
1082
|
-
symbol: string;
|
|
1082
|
+
symbol: string | null;
|
|
1083
1083
|
type: {
|
|
1084
1084
|
id: string;
|
|
1085
1085
|
name: string;
|
|
1086
1086
|
key: string;
|
|
1087
1087
|
isActive: boolean;
|
|
1088
|
-
};
|
|
1088
|
+
} | null;
|
|
1089
1089
|
id: string;
|
|
1090
1090
|
name: string;
|
|
1091
1091
|
createdAt: Date;
|
|
@@ -1094,9 +1094,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1094
1094
|
iconUrl: string;
|
|
1095
1095
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1096
1096
|
isActive: boolean;
|
|
1097
|
-
typeId: string;
|
|
1097
|
+
typeId: string | null;
|
|
1098
1098
|
precision: number;
|
|
1099
1099
|
};
|
|
1100
|
+
401: "Unauthorized";
|
|
1101
|
+
403: "Forbidden: Admins only";
|
|
1100
1102
|
422: {
|
|
1101
1103
|
type: "validation";
|
|
1102
1104
|
on: string;
|
|
@@ -1106,8 +1108,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1106
1108
|
property?: string;
|
|
1107
1109
|
expected?: string;
|
|
1108
1110
|
};
|
|
1109
|
-
401: "Unauthorized";
|
|
1110
|
-
403: "Forbidden: Admins only";
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
1113
|
};
|
|
@@ -1116,11 +1116,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1116
1116
|
":code": {
|
|
1117
1117
|
patch: {
|
|
1118
1118
|
body: {
|
|
1119
|
-
symbol?: string | undefined;
|
|
1119
|
+
symbol?: string | null | undefined;
|
|
1120
1120
|
name?: string | undefined;
|
|
1121
1121
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
1122
1122
|
isActive?: boolean | undefined;
|
|
1123
|
-
typeId?: string | undefined;
|
|
1123
|
+
typeId?: string | null | undefined;
|
|
1124
1124
|
precision?: number | undefined;
|
|
1125
1125
|
iconFileId?: string | undefined;
|
|
1126
1126
|
};
|
|
@@ -1131,13 +1131,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1131
1131
|
headers: {};
|
|
1132
1132
|
response: {
|
|
1133
1133
|
200: {
|
|
1134
|
-
symbol: string;
|
|
1134
|
+
symbol: string | null;
|
|
1135
1135
|
type: {
|
|
1136
1136
|
id: string;
|
|
1137
1137
|
name: string;
|
|
1138
1138
|
key: string;
|
|
1139
1139
|
isActive: boolean;
|
|
1140
|
-
};
|
|
1140
|
+
} | null;
|
|
1141
1141
|
id: string;
|
|
1142
1142
|
name: string;
|
|
1143
1143
|
createdAt: Date;
|
|
@@ -1146,9 +1146,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1146
1146
|
iconUrl: string;
|
|
1147
1147
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1148
1148
|
isActive: boolean;
|
|
1149
|
-
typeId: string;
|
|
1149
|
+
typeId: string | null;
|
|
1150
1150
|
precision: number;
|
|
1151
1151
|
};
|
|
1152
|
+
401: "Unauthorized";
|
|
1153
|
+
403: "Forbidden: Admins only";
|
|
1152
1154
|
422: {
|
|
1153
1155
|
type: "validation";
|
|
1154
1156
|
on: string;
|
|
@@ -1158,8 +1160,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1158
1160
|
property?: string;
|
|
1159
1161
|
expected?: string;
|
|
1160
1162
|
};
|
|
1161
|
-
401: "Unauthorized";
|
|
1162
|
-
403: "Forbidden: Admins only";
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
1165
1165
|
};
|
|
@@ -1177,13 +1177,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1177
1177
|
headers: {};
|
|
1178
1178
|
response: {
|
|
1179
1179
|
200: {
|
|
1180
|
-
symbol: string;
|
|
1180
|
+
symbol: string | null;
|
|
1181
1181
|
type: {
|
|
1182
1182
|
id: string;
|
|
1183
1183
|
name: string;
|
|
1184
1184
|
key: string;
|
|
1185
1185
|
isActive: boolean;
|
|
1186
|
-
};
|
|
1186
|
+
} | null;
|
|
1187
1187
|
id: string;
|
|
1188
1188
|
name: string;
|
|
1189
1189
|
createdAt: Date;
|
|
@@ -1192,9 +1192,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1192
1192
|
iconUrl: string;
|
|
1193
1193
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1194
1194
|
isActive: boolean;
|
|
1195
|
-
typeId: string;
|
|
1195
|
+
typeId: string | null;
|
|
1196
1196
|
precision: number;
|
|
1197
1197
|
};
|
|
1198
|
+
401: "Unauthorized";
|
|
1199
|
+
403: "Forbidden: Admins only";
|
|
1198
1200
|
422: {
|
|
1199
1201
|
type: "validation";
|
|
1200
1202
|
on: string;
|
|
@@ -1204,8 +1206,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1204
1206
|
property?: string;
|
|
1205
1207
|
expected?: string;
|
|
1206
1208
|
};
|
|
1207
|
-
401: "Unauthorized";
|
|
1208
|
-
403: "Forbidden: Admins only";
|
|
1209
1209
|
};
|
|
1210
1210
|
};
|
|
1211
1211
|
};
|
|
@@ -1224,13 +1224,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1224
1224
|
headers: {};
|
|
1225
1225
|
response: {
|
|
1226
1226
|
200: {
|
|
1227
|
-
symbol: string;
|
|
1227
|
+
symbol: string | null;
|
|
1228
1228
|
type: {
|
|
1229
1229
|
id: string;
|
|
1230
1230
|
name: string;
|
|
1231
1231
|
key: string;
|
|
1232
1232
|
isActive: boolean;
|
|
1233
|
-
};
|
|
1233
|
+
} | null;
|
|
1234
1234
|
id: string;
|
|
1235
1235
|
name: string;
|
|
1236
1236
|
createdAt: Date;
|
|
@@ -1239,9 +1239,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1239
1239
|
iconUrl: string;
|
|
1240
1240
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1241
1241
|
isActive: boolean;
|
|
1242
|
-
typeId: string;
|
|
1242
|
+
typeId: string | null;
|
|
1243
1243
|
precision: number;
|
|
1244
1244
|
};
|
|
1245
|
+
401: "Unauthorized";
|
|
1246
|
+
403: "Forbidden: Admins only";
|
|
1245
1247
|
422: {
|
|
1246
1248
|
type: "validation";
|
|
1247
1249
|
on: string;
|
|
@@ -1251,8 +1253,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1251
1253
|
property?: string;
|
|
1252
1254
|
expected?: string;
|
|
1253
1255
|
};
|
|
1254
|
-
401: "Unauthorized";
|
|
1255
|
-
403: "Forbidden: Admins only";
|
|
1256
1256
|
};
|
|
1257
1257
|
};
|
|
1258
1258
|
};
|
|
@@ -1301,7 +1301,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1301
1301
|
allowPurchase: boolean;
|
|
1302
1302
|
isHot: boolean;
|
|
1303
1303
|
targetAsset: {
|
|
1304
|
-
symbol: string;
|
|
1304
|
+
symbol: string | null;
|
|
1305
1305
|
id: string;
|
|
1306
1306
|
name: string;
|
|
1307
1307
|
code: string;
|
|
@@ -1310,7 +1310,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1310
1310
|
precision: number;
|
|
1311
1311
|
};
|
|
1312
1312
|
payAsset: {
|
|
1313
|
-
symbol: string;
|
|
1313
|
+
symbol: string | null;
|
|
1314
1314
|
id: string;
|
|
1315
1315
|
name: string;
|
|
1316
1316
|
code: string;
|
|
@@ -1331,6 +1331,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1331
1331
|
isActive: boolean;
|
|
1332
1332
|
};
|
|
1333
1333
|
};
|
|
1334
|
+
401: "Unauthorized";
|
|
1335
|
+
403: "Forbidden: Admins only";
|
|
1334
1336
|
422: {
|
|
1335
1337
|
type: "validation";
|
|
1336
1338
|
on: string;
|
|
@@ -1340,8 +1342,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1340
1342
|
property?: string;
|
|
1341
1343
|
expected?: string;
|
|
1342
1344
|
};
|
|
1343
|
-
401: "Unauthorized";
|
|
1344
|
-
403: "Forbidden: Admins only";
|
|
1345
1345
|
};
|
|
1346
1346
|
};
|
|
1347
1347
|
};
|
|
@@ -1388,7 +1388,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1388
1388
|
allowPurchase: boolean;
|
|
1389
1389
|
isHot: boolean;
|
|
1390
1390
|
targetAsset: {
|
|
1391
|
-
symbol: string;
|
|
1391
|
+
symbol: string | null;
|
|
1392
1392
|
id: string;
|
|
1393
1393
|
name: string;
|
|
1394
1394
|
code: string;
|
|
@@ -1397,7 +1397,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1397
1397
|
precision: number;
|
|
1398
1398
|
};
|
|
1399
1399
|
payAsset: {
|
|
1400
|
-
symbol: string;
|
|
1400
|
+
symbol: string | null;
|
|
1401
1401
|
id: string;
|
|
1402
1402
|
name: string;
|
|
1403
1403
|
code: string;
|
|
@@ -1418,6 +1418,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1418
1418
|
isActive: boolean;
|
|
1419
1419
|
};
|
|
1420
1420
|
};
|
|
1421
|
+
401: "Unauthorized";
|
|
1422
|
+
403: "Forbidden: Admins only";
|
|
1421
1423
|
422: {
|
|
1422
1424
|
type: "validation";
|
|
1423
1425
|
on: string;
|
|
@@ -1427,8 +1429,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1427
1429
|
property?: string;
|
|
1428
1430
|
expected?: string;
|
|
1429
1431
|
};
|
|
1430
|
-
401: "Unauthorized";
|
|
1431
|
-
403: "Forbidden: Admins only";
|
|
1432
1432
|
};
|
|
1433
1433
|
};
|
|
1434
1434
|
};
|
|
@@ -1464,7 +1464,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1464
1464
|
allowPurchase: boolean;
|
|
1465
1465
|
isHot: boolean;
|
|
1466
1466
|
targetAsset: {
|
|
1467
|
-
symbol: string;
|
|
1467
|
+
symbol: string | null;
|
|
1468
1468
|
id: string;
|
|
1469
1469
|
name: string;
|
|
1470
1470
|
code: string;
|
|
@@ -1473,7 +1473,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1473
1473
|
precision: number;
|
|
1474
1474
|
};
|
|
1475
1475
|
payAsset: {
|
|
1476
|
-
symbol: string;
|
|
1476
|
+
symbol: string | null;
|
|
1477
1477
|
id: string;
|
|
1478
1478
|
name: string;
|
|
1479
1479
|
code: string;
|
|
@@ -1494,6 +1494,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1494
1494
|
isActive: boolean;
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
|
+
401: "Unauthorized";
|
|
1498
|
+
403: "Forbidden: Admins only";
|
|
1497
1499
|
422: {
|
|
1498
1500
|
type: "validation";
|
|
1499
1501
|
on: string;
|
|
@@ -1503,8 +1505,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1503
1505
|
property?: string;
|
|
1504
1506
|
expected?: string;
|
|
1505
1507
|
};
|
|
1506
|
-
401: "Unauthorized";
|
|
1507
|
-
403: "Forbidden: Admins only";
|
|
1508
1508
|
};
|
|
1509
1509
|
};
|
|
1510
1510
|
};
|
|
@@ -1541,7 +1541,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1541
1541
|
allowPurchase: boolean;
|
|
1542
1542
|
isHot: boolean;
|
|
1543
1543
|
targetAsset: {
|
|
1544
|
-
symbol: string;
|
|
1544
|
+
symbol: string | null;
|
|
1545
1545
|
id: string;
|
|
1546
1546
|
name: string;
|
|
1547
1547
|
code: string;
|
|
@@ -1550,7 +1550,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1550
1550
|
precision: number;
|
|
1551
1551
|
};
|
|
1552
1552
|
payAsset: {
|
|
1553
|
-
symbol: string;
|
|
1553
|
+
symbol: string | null;
|
|
1554
1554
|
id: string;
|
|
1555
1555
|
name: string;
|
|
1556
1556
|
code: string;
|
|
@@ -1571,6 +1571,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1571
1571
|
isActive: boolean;
|
|
1572
1572
|
};
|
|
1573
1573
|
};
|
|
1574
|
+
401: "Unauthorized";
|
|
1575
|
+
403: "Forbidden: Admins only";
|
|
1574
1576
|
422: {
|
|
1575
1577
|
type: "validation";
|
|
1576
1578
|
on: string;
|
|
@@ -1580,8 +1582,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1580
1582
|
property?: string;
|
|
1581
1583
|
expected?: string;
|
|
1582
1584
|
};
|
|
1583
|
-
401: "Unauthorized";
|
|
1584
|
-
403: "Forbidden: Admins only";
|
|
1585
1585
|
};
|
|
1586
1586
|
};
|
|
1587
1587
|
};
|
|
@@ -1618,7 +1618,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1618
1618
|
allowPurchase: boolean;
|
|
1619
1619
|
isHot: boolean;
|
|
1620
1620
|
targetAsset: {
|
|
1621
|
-
symbol: string;
|
|
1621
|
+
symbol: string | null;
|
|
1622
1622
|
id: string;
|
|
1623
1623
|
name: string;
|
|
1624
1624
|
code: string;
|
|
@@ -1627,7 +1627,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1627
1627
|
precision: number;
|
|
1628
1628
|
};
|
|
1629
1629
|
payAsset: {
|
|
1630
|
-
symbol: string;
|
|
1630
|
+
symbol: string | null;
|
|
1631
1631
|
id: string;
|
|
1632
1632
|
name: string;
|
|
1633
1633
|
code: string;
|
|
@@ -1648,6 +1648,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1648
1648
|
isActive: boolean;
|
|
1649
1649
|
};
|
|
1650
1650
|
};
|
|
1651
|
+
401: "Unauthorized";
|
|
1652
|
+
403: "Forbidden: Admins only";
|
|
1651
1653
|
422: {
|
|
1652
1654
|
type: "validation";
|
|
1653
1655
|
on: string;
|
|
@@ -1657,8 +1659,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1657
1659
|
property?: string;
|
|
1658
1660
|
expected?: string;
|
|
1659
1661
|
};
|
|
1660
|
-
401: "Unauthorized";
|
|
1661
|
-
403: "Forbidden: Admins only";
|
|
1662
1662
|
};
|
|
1663
1663
|
};
|
|
1664
1664
|
};
|
|
@@ -1694,7 +1694,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1694
1694
|
allowPurchase: boolean;
|
|
1695
1695
|
isHot: boolean;
|
|
1696
1696
|
targetAsset: {
|
|
1697
|
-
symbol: string;
|
|
1697
|
+
symbol: string | null;
|
|
1698
1698
|
id: string;
|
|
1699
1699
|
name: string;
|
|
1700
1700
|
code: string;
|
|
@@ -1703,7 +1703,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1703
1703
|
precision: number;
|
|
1704
1704
|
};
|
|
1705
1705
|
payAsset: {
|
|
1706
|
-
symbol: string;
|
|
1706
|
+
symbol: string | null;
|
|
1707
1707
|
id: string;
|
|
1708
1708
|
name: string;
|
|
1709
1709
|
code: string;
|
|
@@ -1724,6 +1724,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1724
1724
|
isActive: boolean;
|
|
1725
1725
|
};
|
|
1726
1726
|
};
|
|
1727
|
+
401: "Unauthorized";
|
|
1728
|
+
403: "Forbidden: Admins only";
|
|
1727
1729
|
422: {
|
|
1728
1730
|
type: "validation";
|
|
1729
1731
|
on: string;
|
|
@@ -1733,8 +1735,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1733
1735
|
property?: string;
|
|
1734
1736
|
expected?: string;
|
|
1735
1737
|
};
|
|
1736
|
-
401: "Unauthorized";
|
|
1737
|
-
403: "Forbidden: Admins only";
|
|
1738
1738
|
};
|
|
1739
1739
|
};
|
|
1740
1740
|
};
|
|
@@ -1787,7 +1787,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1787
1787
|
allowPurchase: boolean;
|
|
1788
1788
|
isHot: boolean;
|
|
1789
1789
|
targetAsset: {
|
|
1790
|
-
symbol: string;
|
|
1790
|
+
symbol: string | null;
|
|
1791
1791
|
id: string;
|
|
1792
1792
|
name: string;
|
|
1793
1793
|
code: string;
|
|
@@ -1796,7 +1796,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1796
1796
|
precision: number;
|
|
1797
1797
|
};
|
|
1798
1798
|
payAsset: {
|
|
1799
|
-
symbol: string;
|
|
1799
|
+
symbol: string | null;
|
|
1800
1800
|
id: string;
|
|
1801
1801
|
name: string;
|
|
1802
1802
|
code: string;
|
|
@@ -1825,6 +1825,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1825
1825
|
hasNextPage: boolean;
|
|
1826
1826
|
};
|
|
1827
1827
|
};
|
|
1828
|
+
401: "Unauthorized";
|
|
1829
|
+
403: "Forbidden: Admins only";
|
|
1828
1830
|
422: {
|
|
1829
1831
|
type: "validation";
|
|
1830
1832
|
on: string;
|
|
@@ -1834,8 +1836,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1834
1836
|
property?: string;
|
|
1835
1837
|
expected?: string;
|
|
1836
1838
|
};
|
|
1837
|
-
401: "Unauthorized";
|
|
1838
|
-
403: "Forbidden: Admins only";
|
|
1839
1839
|
};
|
|
1840
1840
|
};
|
|
1841
1841
|
};
|
|
@@ -1929,7 +1929,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1929
1929
|
allowPurchase: boolean;
|
|
1930
1930
|
isHot: boolean;
|
|
1931
1931
|
targetAsset: {
|
|
1932
|
-
symbol: string;
|
|
1932
|
+
symbol: string | null;
|
|
1933
1933
|
id: string;
|
|
1934
1934
|
name: string;
|
|
1935
1935
|
code: string;
|
|
@@ -1938,7 +1938,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1938
1938
|
precision: number;
|
|
1939
1939
|
};
|
|
1940
1940
|
payAsset: {
|
|
1941
|
-
symbol: string;
|
|
1941
|
+
symbol: string | null;
|
|
1942
1942
|
id: string;
|
|
1943
1943
|
name: string;
|
|
1944
1944
|
code: string;
|
|
@@ -1960,7 +1960,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1960
1960
|
};
|
|
1961
1961
|
};
|
|
1962
1962
|
payAssetSnapshot: {
|
|
1963
|
-
symbol: string;
|
|
1963
|
+
symbol: string | null;
|
|
1964
1964
|
id: string;
|
|
1965
1965
|
name: string;
|
|
1966
1966
|
code: string;
|
|
@@ -1969,7 +1969,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1969
1969
|
precision: number;
|
|
1970
1970
|
};
|
|
1971
1971
|
targetAssetSnapshot: {
|
|
1972
|
-
symbol: string;
|
|
1972
|
+
symbol: string | null;
|
|
1973
1973
|
id: string;
|
|
1974
1974
|
name: string;
|
|
1975
1975
|
code: string;
|
|
@@ -1978,7 +1978,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1978
1978
|
precision: number;
|
|
1979
1979
|
};
|
|
1980
1980
|
quoteAssetSnapshot: {
|
|
1981
|
-
symbol: string;
|
|
1981
|
+
symbol: string | null;
|
|
1982
1982
|
id: string;
|
|
1983
1983
|
name: string;
|
|
1984
1984
|
code: string;
|
|
@@ -2009,6 +2009,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2009
2009
|
hasNextPage: boolean;
|
|
2010
2010
|
};
|
|
2011
2011
|
};
|
|
2012
|
+
401: "Unauthorized";
|
|
2013
|
+
403: "Forbidden: Admins only";
|
|
2012
2014
|
422: {
|
|
2013
2015
|
type: "validation";
|
|
2014
2016
|
on: string;
|
|
@@ -2018,8 +2020,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2018
2020
|
property?: string;
|
|
2019
2021
|
expected?: string;
|
|
2020
2022
|
};
|
|
2021
|
-
401: "Unauthorized";
|
|
2022
|
-
403: "Forbidden: Admins only";
|
|
2023
2023
|
};
|
|
2024
2024
|
};
|
|
2025
2025
|
};
|
|
@@ -2100,7 +2100,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2100
2100
|
allowPurchase: boolean;
|
|
2101
2101
|
isHot: boolean;
|
|
2102
2102
|
targetAsset: {
|
|
2103
|
-
symbol: string;
|
|
2103
|
+
symbol: string | null;
|
|
2104
2104
|
id: string;
|
|
2105
2105
|
name: string;
|
|
2106
2106
|
code: string;
|
|
@@ -2109,7 +2109,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2109
2109
|
precision: number;
|
|
2110
2110
|
};
|
|
2111
2111
|
payAsset: {
|
|
2112
|
-
symbol: string;
|
|
2112
|
+
symbol: string | null;
|
|
2113
2113
|
id: string;
|
|
2114
2114
|
name: string;
|
|
2115
2115
|
code: string;
|
|
@@ -2131,7 +2131,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2131
2131
|
};
|
|
2132
2132
|
};
|
|
2133
2133
|
payAssetSnapshot: {
|
|
2134
|
-
symbol: string;
|
|
2134
|
+
symbol: string | null;
|
|
2135
2135
|
id: string;
|
|
2136
2136
|
name: string;
|
|
2137
2137
|
code: string;
|
|
@@ -2140,7 +2140,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2140
2140
|
precision: number;
|
|
2141
2141
|
};
|
|
2142
2142
|
targetAssetSnapshot: {
|
|
2143
|
-
symbol: string;
|
|
2143
|
+
symbol: string | null;
|
|
2144
2144
|
id: string;
|
|
2145
2145
|
name: string;
|
|
2146
2146
|
code: string;
|
|
@@ -2149,7 +2149,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2149
2149
|
precision: number;
|
|
2150
2150
|
};
|
|
2151
2151
|
quoteAssetSnapshot: {
|
|
2152
|
-
symbol: string;
|
|
2152
|
+
symbol: string | null;
|
|
2153
2153
|
id: string;
|
|
2154
2154
|
name: string;
|
|
2155
2155
|
code: string;
|
|
@@ -2172,6 +2172,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2172
2172
|
ledgerAccountTypeId: string;
|
|
2173
2173
|
};
|
|
2174
2174
|
};
|
|
2175
|
+
401: "Unauthorized";
|
|
2176
|
+
403: "Forbidden: Admins only";
|
|
2175
2177
|
422: {
|
|
2176
2178
|
type: "validation";
|
|
2177
2179
|
on: string;
|
|
@@ -2181,8 +2183,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2181
2183
|
property?: string;
|
|
2182
2184
|
expected?: string;
|
|
2183
2185
|
};
|
|
2184
|
-
401: "Unauthorized";
|
|
2185
|
-
403: "Forbidden: Admins only";
|
|
2186
2186
|
};
|
|
2187
2187
|
};
|
|
2188
2188
|
};
|
|
@@ -2265,7 +2265,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2265
2265
|
allowPurchase: boolean;
|
|
2266
2266
|
isHot: boolean;
|
|
2267
2267
|
targetAsset: {
|
|
2268
|
-
symbol: string;
|
|
2268
|
+
symbol: string | null;
|
|
2269
2269
|
id: string;
|
|
2270
2270
|
name: string;
|
|
2271
2271
|
code: string;
|
|
@@ -2274,7 +2274,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2274
2274
|
precision: number;
|
|
2275
2275
|
};
|
|
2276
2276
|
payAsset: {
|
|
2277
|
-
symbol: string;
|
|
2277
|
+
symbol: string | null;
|
|
2278
2278
|
id: string;
|
|
2279
2279
|
name: string;
|
|
2280
2280
|
code: string;
|
|
@@ -2296,7 +2296,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2296
2296
|
};
|
|
2297
2297
|
};
|
|
2298
2298
|
payAssetSnapshot: {
|
|
2299
|
-
symbol: string;
|
|
2299
|
+
symbol: string | null;
|
|
2300
2300
|
id: string;
|
|
2301
2301
|
name: string;
|
|
2302
2302
|
code: string;
|
|
@@ -2305,7 +2305,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2305
2305
|
precision: number;
|
|
2306
2306
|
};
|
|
2307
2307
|
targetAssetSnapshot: {
|
|
2308
|
-
symbol: string;
|
|
2308
|
+
symbol: string | null;
|
|
2309
2309
|
id: string;
|
|
2310
2310
|
name: string;
|
|
2311
2311
|
code: string;
|
|
@@ -2314,7 +2314,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2314
2314
|
precision: number;
|
|
2315
2315
|
};
|
|
2316
2316
|
quoteAssetSnapshot: {
|
|
2317
|
-
symbol: string;
|
|
2317
|
+
symbol: string | null;
|
|
2318
2318
|
id: string;
|
|
2319
2319
|
name: string;
|
|
2320
2320
|
code: string;
|
|
@@ -2337,6 +2337,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2337
2337
|
ledgerAccountTypeId: string;
|
|
2338
2338
|
};
|
|
2339
2339
|
};
|
|
2340
|
+
401: "Unauthorized";
|
|
2341
|
+
403: "Forbidden: Admins only";
|
|
2340
2342
|
422: {
|
|
2341
2343
|
type: "validation";
|
|
2342
2344
|
on: string;
|
|
@@ -2346,8 +2348,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2346
2348
|
property?: string;
|
|
2347
2349
|
expected?: string;
|
|
2348
2350
|
};
|
|
2349
|
-
401: "Unauthorized";
|
|
2350
|
-
403: "Forbidden: Admins only";
|
|
2351
2351
|
};
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
@@ -2375,6 +2375,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2375
2375
|
totalPayAmount: string;
|
|
2376
2376
|
totalTargetAmount: string;
|
|
2377
2377
|
};
|
|
2378
|
+
401: "Unauthorized";
|
|
2379
|
+
403: "Forbidden: Admins only";
|
|
2378
2380
|
422: {
|
|
2379
2381
|
type: "validation";
|
|
2380
2382
|
on: string;
|
|
@@ -2384,8 +2386,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2384
2386
|
property?: string;
|
|
2385
2387
|
expected?: string;
|
|
2386
2388
|
};
|
|
2387
|
-
401: "Unauthorized";
|
|
2388
|
-
403: "Forbidden: Admins only";
|
|
2389
2389
|
};
|
|
2390
2390
|
};
|
|
2391
2391
|
};
|
|
@@ -2431,6 +2431,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2431
2431
|
hasNextPage: boolean;
|
|
2432
2432
|
};
|
|
2433
2433
|
};
|
|
2434
|
+
401: "Unauthorized";
|
|
2435
|
+
403: "Forbidden: Admins only";
|
|
2434
2436
|
422: {
|
|
2435
2437
|
type: "validation";
|
|
2436
2438
|
on: string;
|
|
@@ -2440,8 +2442,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2440
2442
|
property?: string;
|
|
2441
2443
|
expected?: string;
|
|
2442
2444
|
};
|
|
2443
|
-
401: "Unauthorized";
|
|
2444
|
-
403: "Forbidden: Admins only";
|
|
2445
2445
|
};
|
|
2446
2446
|
};
|
|
2447
2447
|
};
|
|
@@ -2465,6 +2465,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2465
2465
|
key: string;
|
|
2466
2466
|
isActive: boolean;
|
|
2467
2467
|
};
|
|
2468
|
+
401: "Unauthorized";
|
|
2469
|
+
403: "Forbidden: Admins only";
|
|
2468
2470
|
422: {
|
|
2469
2471
|
type: "validation";
|
|
2470
2472
|
on: string;
|
|
@@ -2474,8 +2476,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2474
2476
|
property?: string;
|
|
2475
2477
|
expected?: string;
|
|
2476
2478
|
};
|
|
2477
|
-
401: "Unauthorized";
|
|
2478
|
-
403: "Forbidden: Admins only";
|
|
2479
2479
|
};
|
|
2480
2480
|
};
|
|
2481
2481
|
};
|
|
@@ -2502,6 +2502,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2502
2502
|
key: string;
|
|
2503
2503
|
isActive: boolean;
|
|
2504
2504
|
};
|
|
2505
|
+
401: "Unauthorized";
|
|
2506
|
+
403: "Forbidden: Admins only";
|
|
2505
2507
|
422: {
|
|
2506
2508
|
type: "validation";
|
|
2507
2509
|
on: string;
|
|
@@ -2511,8 +2513,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2511
2513
|
property?: string;
|
|
2512
2514
|
expected?: string;
|
|
2513
2515
|
};
|
|
2514
|
-
401: "Unauthorized";
|
|
2515
|
-
403: "Forbidden: Admins only";
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
2518
|
};
|
|
@@ -2540,6 +2540,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2540
2540
|
key: string;
|
|
2541
2541
|
isActive: boolean;
|
|
2542
2542
|
};
|
|
2543
|
+
401: "Unauthorized";
|
|
2544
|
+
403: "Forbidden: Admins only";
|
|
2543
2545
|
422: {
|
|
2544
2546
|
type: "validation";
|
|
2545
2547
|
on: string;
|
|
@@ -2549,8 +2551,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2549
2551
|
property?: string;
|
|
2550
2552
|
expected?: string;
|
|
2551
2553
|
};
|
|
2552
|
-
401: "Unauthorized";
|
|
2553
|
-
403: "Forbidden: Admins only";
|
|
2554
2554
|
};
|
|
2555
2555
|
};
|
|
2556
2556
|
};
|
|
@@ -2601,6 +2601,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2601
2601
|
hasNextPage: boolean;
|
|
2602
2602
|
};
|
|
2603
2603
|
};
|
|
2604
|
+
401: "Unauthorized";
|
|
2605
|
+
403: "Forbidden: Admins only";
|
|
2604
2606
|
422: {
|
|
2605
2607
|
type: "validation";
|
|
2606
2608
|
on: string;
|
|
@@ -2610,8 +2612,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2610
2612
|
property?: string;
|
|
2611
2613
|
expected?: string;
|
|
2612
2614
|
};
|
|
2613
|
-
401: "Unauthorized";
|
|
2614
|
-
403: "Forbidden: Admins only";
|
|
2615
2615
|
};
|
|
2616
2616
|
};
|
|
2617
2617
|
};
|
|
@@ -2647,6 +2647,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2647
2647
|
isActive: boolean;
|
|
2648
2648
|
}[];
|
|
2649
2649
|
};
|
|
2650
|
+
401: "Unauthorized";
|
|
2651
|
+
403: "Forbidden: Admins only";
|
|
2650
2652
|
422: {
|
|
2651
2653
|
type: "validation";
|
|
2652
2654
|
on: string;
|
|
@@ -2656,8 +2658,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2656
2658
|
property?: string;
|
|
2657
2659
|
expected?: string;
|
|
2658
2660
|
};
|
|
2659
|
-
401: "Unauthorized";
|
|
2660
|
-
403: "Forbidden: Admins only";
|
|
2661
2661
|
};
|
|
2662
2662
|
};
|
|
2663
2663
|
};
|
|
@@ -2689,6 +2689,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2689
2689
|
isActive: boolean;
|
|
2690
2690
|
}[];
|
|
2691
2691
|
};
|
|
2692
|
+
401: "Unauthorized";
|
|
2693
|
+
403: "Forbidden: Admins only";
|
|
2692
2694
|
422: {
|
|
2693
2695
|
type: "validation";
|
|
2694
2696
|
on: string;
|
|
@@ -2698,8 +2700,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2698
2700
|
property?: string;
|
|
2699
2701
|
expected?: string;
|
|
2700
2702
|
};
|
|
2701
|
-
401: "Unauthorized";
|
|
2702
|
-
403: "Forbidden: Admins only";
|
|
2703
2703
|
};
|
|
2704
2704
|
};
|
|
2705
2705
|
};
|
|
@@ -2738,6 +2738,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2738
2738
|
isActive: boolean;
|
|
2739
2739
|
}[];
|
|
2740
2740
|
};
|
|
2741
|
+
401: "Unauthorized";
|
|
2742
|
+
403: "Forbidden: Admins only";
|
|
2741
2743
|
422: {
|
|
2742
2744
|
type: "validation";
|
|
2743
2745
|
on: string;
|
|
@@ -2747,8 +2749,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2747
2749
|
property?: string;
|
|
2748
2750
|
expected?: string;
|
|
2749
2751
|
};
|
|
2750
|
-
401: "Unauthorized";
|
|
2751
|
-
403: "Forbidden: Admins only";
|
|
2752
2752
|
};
|
|
2753
2753
|
};
|
|
2754
2754
|
};
|
|
@@ -2782,6 +2782,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2782
2782
|
isActive: boolean;
|
|
2783
2783
|
}[];
|
|
2784
2784
|
};
|
|
2785
|
+
401: "Unauthorized";
|
|
2786
|
+
403: "Forbidden: Admins only";
|
|
2785
2787
|
422: {
|
|
2786
2788
|
type: "validation";
|
|
2787
2789
|
on: string;
|
|
@@ -2791,8 +2793,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2791
2793
|
property?: string;
|
|
2792
2794
|
expected?: string;
|
|
2793
2795
|
};
|
|
2794
|
-
401: "Unauthorized";
|
|
2795
|
-
403: "Forbidden: Admins only";
|
|
2796
2796
|
};
|
|
2797
2797
|
};
|
|
2798
2798
|
};
|
|
@@ -2827,6 +2827,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2827
2827
|
isActive: boolean;
|
|
2828
2828
|
}[];
|
|
2829
2829
|
};
|
|
2830
|
+
401: "Unauthorized";
|
|
2831
|
+
403: "Forbidden: Admins only";
|
|
2830
2832
|
422: {
|
|
2831
2833
|
type: "validation";
|
|
2832
2834
|
on: string;
|
|
@@ -2836,8 +2838,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2836
2838
|
property?: string;
|
|
2837
2839
|
expected?: string;
|
|
2838
2840
|
};
|
|
2839
|
-
401: "Unauthorized";
|
|
2840
|
-
403: "Forbidden: Admins only";
|
|
2841
2841
|
};
|
|
2842
2842
|
};
|
|
2843
2843
|
};
|
|
@@ -2902,6 +2902,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2902
2902
|
hasNextPage: boolean;
|
|
2903
2903
|
};
|
|
2904
2904
|
};
|
|
2905
|
+
401: "Unauthorized";
|
|
2906
|
+
403: "Forbidden: Admins only";
|
|
2905
2907
|
422: {
|
|
2906
2908
|
type: "validation";
|
|
2907
2909
|
on: string;
|
|
@@ -2911,8 +2913,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2911
2913
|
property?: string;
|
|
2912
2914
|
expected?: string;
|
|
2913
2915
|
};
|
|
2914
|
-
401: "Unauthorized";
|
|
2915
|
-
403: "Forbidden: Admins only";
|
|
2916
2916
|
};
|
|
2917
2917
|
};
|
|
2918
2918
|
};
|
|
@@ -2956,6 +2956,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2956
2956
|
isSingleton: boolean;
|
|
2957
2957
|
};
|
|
2958
2958
|
};
|
|
2959
|
+
401: "Unauthorized";
|
|
2960
|
+
403: "Forbidden: Admins only";
|
|
2959
2961
|
422: {
|
|
2960
2962
|
type: "validation";
|
|
2961
2963
|
on: string;
|
|
@@ -2965,8 +2967,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2965
2967
|
property?: string;
|
|
2966
2968
|
expected?: string;
|
|
2967
2969
|
};
|
|
2968
|
-
401: "Unauthorized";
|
|
2969
|
-
403: "Forbidden: Admins only";
|
|
2970
2970
|
};
|
|
2971
2971
|
};
|
|
2972
2972
|
};
|
|
@@ -3022,6 +3022,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3022
3022
|
hasNextPage: boolean;
|
|
3023
3023
|
};
|
|
3024
3024
|
};
|
|
3025
|
+
401: "Unauthorized";
|
|
3026
|
+
403: "Forbidden: Admins only";
|
|
3025
3027
|
422: {
|
|
3026
3028
|
type: "validation";
|
|
3027
3029
|
on: string;
|
|
@@ -3031,8 +3033,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3031
3033
|
property?: string;
|
|
3032
3034
|
expected?: string;
|
|
3033
3035
|
};
|
|
3034
|
-
401: "Unauthorized";
|
|
3035
|
-
403: "Forbidden: Admins only";
|
|
3036
3036
|
};
|
|
3037
3037
|
};
|
|
3038
3038
|
};
|
|
@@ -3072,6 +3072,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3072
3072
|
expiryDays: number | null;
|
|
3073
3073
|
sortOrder: number;
|
|
3074
3074
|
};
|
|
3075
|
+
401: "Unauthorized";
|
|
3076
|
+
403: "Forbidden: Admins only";
|
|
3075
3077
|
422: {
|
|
3076
3078
|
type: "validation";
|
|
3077
3079
|
on: string;
|
|
@@ -3081,8 +3083,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3081
3083
|
property?: string;
|
|
3082
3084
|
expected?: string;
|
|
3083
3085
|
};
|
|
3084
|
-
401: "Unauthorized";
|
|
3085
|
-
403: "Forbidden: Admins only";
|
|
3086
3086
|
};
|
|
3087
3087
|
};
|
|
3088
3088
|
};
|
|
@@ -3141,6 +3141,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3141
3141
|
expiryDays: number | null;
|
|
3142
3142
|
sortOrder: number;
|
|
3143
3143
|
};
|
|
3144
|
+
401: "Unauthorized";
|
|
3145
|
+
403: "Forbidden: Admins only";
|
|
3144
3146
|
422: {
|
|
3145
3147
|
type: "validation";
|
|
3146
3148
|
on: string;
|
|
@@ -3150,8 +3152,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3150
3152
|
property?: string;
|
|
3151
3153
|
expected?: string;
|
|
3152
3154
|
};
|
|
3153
|
-
401: "Unauthorized";
|
|
3154
|
-
403: "Forbidden: Admins only";
|
|
3155
3155
|
};
|
|
3156
3156
|
};
|
|
3157
3157
|
};
|
|
@@ -3211,6 +3211,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3211
3211
|
expiryDays: number | null;
|
|
3212
3212
|
sortOrder: number;
|
|
3213
3213
|
};
|
|
3214
|
+
401: "Unauthorized";
|
|
3215
|
+
403: "Forbidden: Admins only";
|
|
3214
3216
|
422: {
|
|
3215
3217
|
type: "validation";
|
|
3216
3218
|
on: string;
|
|
@@ -3220,8 +3222,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3220
3222
|
property?: string;
|
|
3221
3223
|
expected?: string;
|
|
3222
3224
|
};
|
|
3223
|
-
401: "Unauthorized";
|
|
3224
|
-
403: "Forbidden: Admins only";
|
|
3225
3225
|
};
|
|
3226
3226
|
};
|
|
3227
3227
|
};
|
|
@@ -3262,7 +3262,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3262
3262
|
userId: string;
|
|
3263
3263
|
status: "active" | "frozen" | "disabled";
|
|
3264
3264
|
asset: {
|
|
3265
|
-
symbol: string;
|
|
3265
|
+
symbol: string | null;
|
|
3266
3266
|
id: string;
|
|
3267
3267
|
name: string;
|
|
3268
3268
|
code: string;
|
|
@@ -3290,6 +3290,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3290
3290
|
hasNextPage: boolean;
|
|
3291
3291
|
};
|
|
3292
3292
|
};
|
|
3293
|
+
401: "Unauthorized";
|
|
3294
|
+
403: "Forbidden: Admins only";
|
|
3293
3295
|
422: {
|
|
3294
3296
|
type: "validation";
|
|
3295
3297
|
on: string;
|
|
@@ -3299,8 +3301,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3299
3301
|
property?: string;
|
|
3300
3302
|
expected?: string;
|
|
3301
3303
|
};
|
|
3302
|
-
401: "Unauthorized";
|
|
3303
|
-
403: "Forbidden: Admins only";
|
|
3304
3304
|
};
|
|
3305
3305
|
};
|
|
3306
3306
|
};
|
|
@@ -3330,7 +3330,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3330
3330
|
userId: string;
|
|
3331
3331
|
status: "active" | "frozen" | "disabled";
|
|
3332
3332
|
asset: {
|
|
3333
|
-
symbol: string;
|
|
3333
|
+
symbol: string | null;
|
|
3334
3334
|
id: string;
|
|
3335
3335
|
name: string;
|
|
3336
3336
|
code: string;
|
|
@@ -3350,6 +3350,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3350
3350
|
isActive: boolean;
|
|
3351
3351
|
};
|
|
3352
3352
|
};
|
|
3353
|
+
401: "Unauthorized";
|
|
3354
|
+
403: "Forbidden: Admins only";
|
|
3353
3355
|
422: {
|
|
3354
3356
|
type: "validation";
|
|
3355
3357
|
on: string;
|
|
@@ -3359,8 +3361,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3359
3361
|
property?: string;
|
|
3360
3362
|
expected?: string;
|
|
3361
3363
|
};
|
|
3362
|
-
401: "Unauthorized";
|
|
3363
|
-
403: "Forbidden: Admins only";
|
|
3364
3364
|
};
|
|
3365
3365
|
};
|
|
3366
3366
|
};
|
|
@@ -3394,7 +3394,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3394
3394
|
userId: string;
|
|
3395
3395
|
status: "active" | "frozen" | "disabled";
|
|
3396
3396
|
asset: {
|
|
3397
|
-
symbol: string;
|
|
3397
|
+
symbol: string | null;
|
|
3398
3398
|
id: string;
|
|
3399
3399
|
name: string;
|
|
3400
3400
|
code: string;
|
|
@@ -3414,6 +3414,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3414
3414
|
isActive: boolean;
|
|
3415
3415
|
};
|
|
3416
3416
|
};
|
|
3417
|
+
401: "Unauthorized";
|
|
3418
|
+
403: "Forbidden: Admins only";
|
|
3417
3419
|
422: {
|
|
3418
3420
|
type: "validation";
|
|
3419
3421
|
on: string;
|
|
@@ -3423,8 +3425,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3423
3425
|
property?: string;
|
|
3424
3426
|
expected?: string;
|
|
3425
3427
|
};
|
|
3426
|
-
401: "Unauthorized";
|
|
3427
|
-
403: "Forbidden: Admins only";
|
|
3428
3428
|
};
|
|
3429
3429
|
};
|
|
3430
3430
|
};
|
|
@@ -3462,6 +3462,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3462
3462
|
isIdempotent: boolean;
|
|
3463
3463
|
direction: "increase" | "decrease";
|
|
3464
3464
|
};
|
|
3465
|
+
401: "Unauthorized";
|
|
3466
|
+
403: "Forbidden: Admins only";
|
|
3465
3467
|
422: {
|
|
3466
3468
|
type: "validation";
|
|
3467
3469
|
on: string;
|
|
@@ -3471,8 +3473,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3471
3473
|
property?: string;
|
|
3472
3474
|
expected?: string;
|
|
3473
3475
|
};
|
|
3474
|
-
401: "Unauthorized";
|
|
3475
|
-
403: "Forbidden: Admins only";
|
|
3476
3476
|
};
|
|
3477
3477
|
};
|
|
3478
3478
|
};
|
|
@@ -3514,6 +3514,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3514
3514
|
success: boolean;
|
|
3515
3515
|
}[];
|
|
3516
3516
|
};
|
|
3517
|
+
401: "Unauthorized";
|
|
3518
|
+
403: "Forbidden: Admins only";
|
|
3517
3519
|
422: {
|
|
3518
3520
|
type: "validation";
|
|
3519
3521
|
on: string;
|
|
@@ -3523,31 +3525,78 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3523
3525
|
property?: string;
|
|
3524
3526
|
expected?: string;
|
|
3525
3527
|
};
|
|
3526
|
-
401: "Unauthorized";
|
|
3527
|
-
403: "Forbidden: Admins only";
|
|
3528
3528
|
};
|
|
3529
3529
|
};
|
|
3530
3530
|
};
|
|
3531
3531
|
};
|
|
3532
3532
|
};
|
|
3533
|
-
};
|
|
3534
|
-
} & {
|
|
3535
|
-
admin: {
|
|
3536
|
-
bank_account: {};
|
|
3537
3533
|
} & {
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3534
|
+
ledger_accounts: {
|
|
3535
|
+
adjust: {
|
|
3536
|
+
users: {
|
|
3537
|
+
batch: {
|
|
3538
|
+
post: {
|
|
3539
|
+
body: {
|
|
3540
|
+
memo?: string | undefined;
|
|
3541
|
+
assetId: string;
|
|
3542
|
+
ledgerAccountTypeId: string;
|
|
3543
|
+
amount: string;
|
|
3544
|
+
direction: "increase" | "decrease";
|
|
3545
|
+
userIds: string[];
|
|
3546
|
+
};
|
|
3547
|
+
params: {};
|
|
3548
|
+
query: {};
|
|
3549
|
+
headers: {};
|
|
3550
|
+
response: {
|
|
3551
|
+
200: {
|
|
3552
|
+
totalCount: number;
|
|
3553
|
+
successCount: number;
|
|
3554
|
+
failedCount: number;
|
|
3555
|
+
results: {
|
|
3556
|
+
accountId?: string | undefined;
|
|
3557
|
+
ledgerEntryId?: string | undefined;
|
|
3558
|
+
errorCode?: string | undefined;
|
|
3559
|
+
errorMessage?: string | undefined;
|
|
3560
|
+
userId: string;
|
|
3561
|
+
referenceId: string;
|
|
3562
|
+
success: boolean;
|
|
3563
|
+
}[];
|
|
3564
|
+
};
|
|
3565
|
+
401: "Unauthorized";
|
|
3566
|
+
403: "Forbidden: Admins only";
|
|
3567
|
+
422: {
|
|
3568
|
+
type: "validation";
|
|
3569
|
+
on: string;
|
|
3570
|
+
summary?: string;
|
|
3571
|
+
message?: string;
|
|
3572
|
+
found?: unknown;
|
|
3573
|
+
property?: string;
|
|
3574
|
+
expected?: string;
|
|
3575
|
+
};
|
|
3576
|
+
};
|
|
3577
|
+
};
|
|
3578
|
+
};
|
|
3579
|
+
};
|
|
3580
|
+
};
|
|
3581
|
+
};
|
|
3582
|
+
};
|
|
3583
|
+
} & {
|
|
3584
|
+
admin: {
|
|
3585
|
+
bank_account: {};
|
|
3586
|
+
} & {
|
|
3587
|
+
bank_account: {
|
|
3588
|
+
get: {
|
|
3589
|
+
body: {};
|
|
3590
|
+
params: {};
|
|
3591
|
+
query: {
|
|
3592
|
+
userId?: string | undefined;
|
|
3593
|
+
isVerified?: boolean | undefined;
|
|
3594
|
+
riskStatus?: string | undefined;
|
|
3595
|
+
limit?: number | undefined;
|
|
3596
|
+
offset?: number | undefined;
|
|
3597
|
+
pageSize?: number | undefined;
|
|
3598
|
+
pageIndex?: number | undefined;
|
|
3599
|
+
};
|
|
3551
3600
|
headers: {};
|
|
3552
3601
|
response: {
|
|
3553
3602
|
200: {
|
|
@@ -3587,6 +3636,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3587
3636
|
hasNextPage: boolean;
|
|
3588
3637
|
};
|
|
3589
3638
|
};
|
|
3639
|
+
401: "Unauthorized";
|
|
3640
|
+
403: "Forbidden: Admins only";
|
|
3590
3641
|
422: {
|
|
3591
3642
|
type: "validation";
|
|
3592
3643
|
on: string;
|
|
@@ -3596,8 +3647,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3596
3647
|
property?: string;
|
|
3597
3648
|
expected?: string;
|
|
3598
3649
|
};
|
|
3599
|
-
401: "Unauthorized";
|
|
3600
|
-
403: "Forbidden: Admins only";
|
|
3601
3650
|
};
|
|
3602
3651
|
};
|
|
3603
3652
|
};
|
|
@@ -3652,6 +3701,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3652
3701
|
verificationMethod: string | null;
|
|
3653
3702
|
riskStatus: string | null;
|
|
3654
3703
|
};
|
|
3704
|
+
401: "Unauthorized";
|
|
3705
|
+
403: "Forbidden: Admins only";
|
|
3655
3706
|
422: {
|
|
3656
3707
|
type: "validation";
|
|
3657
3708
|
on: string;
|
|
@@ -3661,8 +3712,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3661
3712
|
property?: string;
|
|
3662
3713
|
expected?: string;
|
|
3663
3714
|
};
|
|
3664
|
-
401: "Unauthorized";
|
|
3665
|
-
403: "Forbidden: Admins only";
|
|
3666
3715
|
};
|
|
3667
3716
|
};
|
|
3668
3717
|
};
|
|
@@ -3709,6 +3758,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3709
3758
|
verificationMethod: string | null;
|
|
3710
3759
|
riskStatus: string | null;
|
|
3711
3760
|
};
|
|
3761
|
+
401: "Unauthorized";
|
|
3762
|
+
403: "Forbidden: Admins only";
|
|
3712
3763
|
422: {
|
|
3713
3764
|
type: "validation";
|
|
3714
3765
|
on: string;
|
|
@@ -3718,8 +3769,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3718
3769
|
property?: string;
|
|
3719
3770
|
expected?: string;
|
|
3720
3771
|
};
|
|
3721
|
-
401: "Unauthorized";
|
|
3722
|
-
403: "Forbidden: Admins only";
|
|
3723
3772
|
};
|
|
3724
3773
|
};
|
|
3725
3774
|
};
|
|
@@ -3767,6 +3816,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3767
3816
|
verificationMethod: string | null;
|
|
3768
3817
|
riskStatus: string | null;
|
|
3769
3818
|
};
|
|
3819
|
+
401: "Unauthorized";
|
|
3820
|
+
403: "Forbidden: Admins only";
|
|
3770
3821
|
422: {
|
|
3771
3822
|
type: "validation";
|
|
3772
3823
|
on: string;
|
|
@@ -3776,8 +3827,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3776
3827
|
property?: string;
|
|
3777
3828
|
expected?: string;
|
|
3778
3829
|
};
|
|
3779
|
-
401: "Unauthorized";
|
|
3780
|
-
403: "Forbidden: Admins only";
|
|
3781
3830
|
};
|
|
3782
3831
|
};
|
|
3783
3832
|
};
|
|
@@ -3799,6 +3848,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3799
3848
|
200: {
|
|
3800
3849
|
success: boolean;
|
|
3801
3850
|
};
|
|
3851
|
+
401: "Unauthorized";
|
|
3852
|
+
403: "Forbidden: Admins only";
|
|
3802
3853
|
422: {
|
|
3803
3854
|
type: "validation";
|
|
3804
3855
|
on: string;
|
|
@@ -3808,8 +3859,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3808
3859
|
property?: string;
|
|
3809
3860
|
expected?: string;
|
|
3810
3861
|
};
|
|
3811
|
-
401: "Unauthorized";
|
|
3812
|
-
403: "Forbidden: Admins only";
|
|
3813
3862
|
};
|
|
3814
3863
|
};
|
|
3815
3864
|
};
|
|
@@ -3850,6 +3899,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3850
3899
|
hasNextPage: boolean;
|
|
3851
3900
|
};
|
|
3852
3901
|
};
|
|
3902
|
+
401: "Unauthorized";
|
|
3903
|
+
403: "Forbidden: Admins only";
|
|
3853
3904
|
422: {
|
|
3854
3905
|
type: "validation";
|
|
3855
3906
|
on: string;
|
|
@@ -3859,8 +3910,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3859
3910
|
property?: string;
|
|
3860
3911
|
expected?: string;
|
|
3861
3912
|
};
|
|
3862
|
-
401: "Unauthorized";
|
|
3863
|
-
403: "Forbidden: Admins only";
|
|
3864
3913
|
};
|
|
3865
3914
|
};
|
|
3866
3915
|
};
|
|
@@ -3893,6 +3942,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3893
3942
|
nameCn: string;
|
|
3894
3943
|
nameEn: string;
|
|
3895
3944
|
};
|
|
3945
|
+
401: "Unauthorized";
|
|
3946
|
+
403: "Forbidden: Admins only";
|
|
3896
3947
|
422: {
|
|
3897
3948
|
type: "validation";
|
|
3898
3949
|
on: string;
|
|
@@ -3902,8 +3953,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3902
3953
|
property?: string;
|
|
3903
3954
|
expected?: string;
|
|
3904
3955
|
};
|
|
3905
|
-
401: "Unauthorized";
|
|
3906
|
-
403: "Forbidden: Admins only";
|
|
3907
3956
|
};
|
|
3908
3957
|
};
|
|
3909
3958
|
};
|
|
@@ -3939,6 +3988,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3939
3988
|
nameCn: string;
|
|
3940
3989
|
nameEn: string;
|
|
3941
3990
|
};
|
|
3991
|
+
401: "Unauthorized";
|
|
3992
|
+
403: "Forbidden: Admins only";
|
|
3942
3993
|
422: {
|
|
3943
3994
|
type: "validation";
|
|
3944
3995
|
on: string;
|
|
@@ -3948,8 +3999,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3948
3999
|
property?: string;
|
|
3949
4000
|
expected?: string;
|
|
3950
4001
|
};
|
|
3951
|
-
401: "Unauthorized";
|
|
3952
|
-
403: "Forbidden: Admins only";
|
|
3953
4002
|
};
|
|
3954
4003
|
};
|
|
3955
4004
|
};
|
|
@@ -3970,6 +4019,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3970
4019
|
200: {
|
|
3971
4020
|
success: boolean;
|
|
3972
4021
|
};
|
|
4022
|
+
401: "Unauthorized";
|
|
4023
|
+
403: "Forbidden: Admins only";
|
|
3973
4024
|
422: {
|
|
3974
4025
|
type: "validation";
|
|
3975
4026
|
on: string;
|
|
@@ -3979,8 +4030,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3979
4030
|
property?: string;
|
|
3980
4031
|
expected?: string;
|
|
3981
4032
|
};
|
|
3982
|
-
401: "Unauthorized";
|
|
3983
|
-
403: "Forbidden: Admins only";
|
|
3984
4033
|
};
|
|
3985
4034
|
};
|
|
3986
4035
|
};
|
|
@@ -4045,6 +4094,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4045
4094
|
hasNextPage: boolean;
|
|
4046
4095
|
};
|
|
4047
4096
|
};
|
|
4097
|
+
401: "Unauthorized";
|
|
4098
|
+
403: "Forbidden: Admins only";
|
|
4048
4099
|
422: {
|
|
4049
4100
|
type: "validation";
|
|
4050
4101
|
on: string;
|
|
@@ -4054,8 +4105,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4054
4105
|
property?: string;
|
|
4055
4106
|
expected?: string;
|
|
4056
4107
|
};
|
|
4057
|
-
401: "Unauthorized";
|
|
4058
|
-
403: "Forbidden: Admins only";
|
|
4059
4108
|
};
|
|
4060
4109
|
};
|
|
4061
4110
|
};
|
|
@@ -4090,6 +4139,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4090
4139
|
startedAt: Date | null;
|
|
4091
4140
|
finishedAt: Date | null;
|
|
4092
4141
|
};
|
|
4142
|
+
401: "Unauthorized";
|
|
4143
|
+
403: "Forbidden: Admins only";
|
|
4093
4144
|
422: {
|
|
4094
4145
|
type: "validation";
|
|
4095
4146
|
on: string;
|
|
@@ -4099,8 +4150,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4099
4150
|
property?: string;
|
|
4100
4151
|
expected?: string;
|
|
4101
4152
|
};
|
|
4102
|
-
401: "Unauthorized";
|
|
4103
|
-
403: "Forbidden: Admins only";
|
|
4104
4153
|
};
|
|
4105
4154
|
};
|
|
4106
4155
|
};
|
|
@@ -4145,6 +4194,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4145
4194
|
hasNextPage: boolean;
|
|
4146
4195
|
};
|
|
4147
4196
|
};
|
|
4197
|
+
401: "Unauthorized";
|
|
4198
|
+
403: "Forbidden: Admins only";
|
|
4148
4199
|
422: {
|
|
4149
4200
|
type: "validation";
|
|
4150
4201
|
on: string;
|
|
@@ -4154,8 +4205,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4154
4205
|
property?: string;
|
|
4155
4206
|
expected?: string;
|
|
4156
4207
|
};
|
|
4157
|
-
401: "Unauthorized";
|
|
4158
|
-
403: "Forbidden: Admins only";
|
|
4159
4208
|
};
|
|
4160
4209
|
};
|
|
4161
4210
|
};
|
|
@@ -4188,6 +4237,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4188
4237
|
startedAt: Date | null;
|
|
4189
4238
|
finishedAt: Date | null;
|
|
4190
4239
|
};
|
|
4240
|
+
401: "Unauthorized";
|
|
4241
|
+
403: "Forbidden: Admins only";
|
|
4191
4242
|
422: {
|
|
4192
4243
|
type: "validation";
|
|
4193
4244
|
on: string;
|
|
@@ -4197,8 +4248,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4197
4248
|
property?: string;
|
|
4198
4249
|
expected?: string;
|
|
4199
4250
|
};
|
|
4200
|
-
401: "Unauthorized";
|
|
4201
|
-
403: "Forbidden: Admins only";
|
|
4202
4251
|
};
|
|
4203
4252
|
};
|
|
4204
4253
|
};
|
|
@@ -4255,6 +4304,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4255
4304
|
hasNextPage: boolean;
|
|
4256
4305
|
};
|
|
4257
4306
|
};
|
|
4307
|
+
401: "Unauthorized";
|
|
4308
|
+
403: "Forbidden: Admins only";
|
|
4258
4309
|
422: {
|
|
4259
4310
|
type: "validation";
|
|
4260
4311
|
on: string;
|
|
@@ -4264,8 +4315,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4264
4315
|
property?: string;
|
|
4265
4316
|
expected?: string;
|
|
4266
4317
|
};
|
|
4267
|
-
401: "Unauthorized";
|
|
4268
|
-
403: "Forbidden: Admins only";
|
|
4269
4318
|
};
|
|
4270
4319
|
};
|
|
4271
4320
|
};
|
|
@@ -4282,6 +4331,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4282
4331
|
headers: {};
|
|
4283
4332
|
response: {
|
|
4284
4333
|
200: ArrayBuffer;
|
|
4334
|
+
401: "Unauthorized";
|
|
4335
|
+
403: "Forbidden: Admins only";
|
|
4285
4336
|
422: {
|
|
4286
4337
|
type: "validation";
|
|
4287
4338
|
on: string;
|
|
@@ -4291,8 +4342,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4291
4342
|
property?: string;
|
|
4292
4343
|
expected?: string;
|
|
4293
4344
|
};
|
|
4294
|
-
401: "Unauthorized";
|
|
4295
|
-
403: "Forbidden: Admins only";
|
|
4296
4345
|
};
|
|
4297
4346
|
};
|
|
4298
4347
|
};
|
|
@@ -4340,7 +4389,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4340
4389
|
userId: string;
|
|
4341
4390
|
status: "active" | "frozen" | "disabled";
|
|
4342
4391
|
asset: {
|
|
4343
|
-
symbol: string;
|
|
4392
|
+
symbol: string | null;
|
|
4344
4393
|
id: string;
|
|
4345
4394
|
name: string;
|
|
4346
4395
|
code: string;
|
|
@@ -4372,7 +4421,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4372
4421
|
userId: string;
|
|
4373
4422
|
status: "active" | "frozen" | "disabled";
|
|
4374
4423
|
asset: {
|
|
4375
|
-
symbol: string;
|
|
4424
|
+
symbol: string | null;
|
|
4376
4425
|
id: string;
|
|
4377
4426
|
name: string;
|
|
4378
4427
|
code: string;
|
|
@@ -4402,7 +4451,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4402
4451
|
id: string;
|
|
4403
4452
|
createdAt: Date;
|
|
4404
4453
|
asset: {
|
|
4405
|
-
symbol: string;
|
|
4454
|
+
symbol: string | null;
|
|
4406
4455
|
id: string;
|
|
4407
4456
|
name: string;
|
|
4408
4457
|
code: string;
|
|
@@ -4437,6 +4486,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4437
4486
|
hasNextPage: boolean;
|
|
4438
4487
|
};
|
|
4439
4488
|
};
|
|
4489
|
+
401: "Unauthorized";
|
|
4490
|
+
403: "Forbidden: Admins only";
|
|
4440
4491
|
422: {
|
|
4441
4492
|
type: "validation";
|
|
4442
4493
|
on: string;
|
|
@@ -4446,8 +4497,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4446
4497
|
property?: string;
|
|
4447
4498
|
expected?: string;
|
|
4448
4499
|
};
|
|
4449
|
-
401: "Unauthorized";
|
|
4450
|
-
403: "Forbidden: Admins only";
|
|
4451
4500
|
};
|
|
4452
4501
|
};
|
|
4453
4502
|
};
|
|
@@ -4461,18 +4510,33 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4461
4510
|
strategies: {
|
|
4462
4511
|
post: {
|
|
4463
4512
|
body: {
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4513
|
+
advanced?: {
|
|
4514
|
+
trendDriftUpBps?: string | undefined;
|
|
4515
|
+
trendDriftFlatBps?: string | undefined;
|
|
4516
|
+
trendDriftDownBps?: string | undefined;
|
|
4517
|
+
trendSwitchMinTicks?: number | undefined;
|
|
4518
|
+
trendSwitchMaxTicks?: number | undefined;
|
|
4519
|
+
trendUpWeight?: number | undefined;
|
|
4520
|
+
trendFlatWeight?: number | undefined;
|
|
4521
|
+
trendDownWeight?: number | undefined;
|
|
4522
|
+
jumpMinBps?: string | undefined;
|
|
4523
|
+
jumpMaxBps?: string | undefined;
|
|
4524
|
+
meanReversionBps?: string | undefined;
|
|
4525
|
+
roundNumberMagnetBps?: string | undefined;
|
|
4526
|
+
} | undefined;
|
|
4527
|
+
basic: {
|
|
4528
|
+
quoteAssetId?: string | undefined;
|
|
4529
|
+
isEnabled?: boolean | undefined;
|
|
4530
|
+
trendMode?: "flat" | "up" | "down" | "auto" | undefined;
|
|
4531
|
+
noiseSigmaBps?: string | undefined;
|
|
4532
|
+
jumpChanceBps?: string | undefined;
|
|
4533
|
+
liquiditySession?: "normal" | "low" | "high" | undefined;
|
|
4534
|
+
minPrice?: string | null | undefined;
|
|
4535
|
+
maxPrice?: string | null | undefined;
|
|
4536
|
+
intervalSeconds?: number | undefined;
|
|
4537
|
+
name: string;
|
|
4538
|
+
baseAssetId: string;
|
|
4539
|
+
};
|
|
4476
4540
|
};
|
|
4477
4541
|
params: {};
|
|
4478
4542
|
query: {};
|
|
@@ -4480,22 +4544,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4480
4544
|
response: {
|
|
4481
4545
|
200: {
|
|
4482
4546
|
id: string;
|
|
4483
|
-
name: string;
|
|
4484
4547
|
createdAt: Date;
|
|
4485
4548
|
updatedAt: Date;
|
|
4486
|
-
baseAssetId: string;
|
|
4487
|
-
quoteAssetId: string;
|
|
4488
|
-
source: string;
|
|
4489
|
-
isEnabled: boolean;
|
|
4490
|
-
strategyType: "random_walk";
|
|
4491
|
-
driftBps: string;
|
|
4492
|
-
minPrice: string | null;
|
|
4493
|
-
maxPrice: string | null;
|
|
4494
|
-
intervalSeconds: number;
|
|
4495
|
-
maxStepBps: string;
|
|
4496
|
-
fallbackPrice: string;
|
|
4497
4549
|
baseAsset: {
|
|
4498
|
-
symbol: string;
|
|
4550
|
+
symbol: string | null;
|
|
4499
4551
|
id: string;
|
|
4500
4552
|
name: string;
|
|
4501
4553
|
createdAt: Date;
|
|
@@ -4504,11 +4556,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4504
4556
|
iconUrl: string;
|
|
4505
4557
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4506
4558
|
isActive: boolean;
|
|
4507
|
-
typeId: string;
|
|
4559
|
+
typeId: string | null;
|
|
4508
4560
|
precision: number;
|
|
4509
4561
|
};
|
|
4510
4562
|
quoteAsset: {
|
|
4511
|
-
symbol: string;
|
|
4563
|
+
symbol: string | null;
|
|
4512
4564
|
id: string;
|
|
4513
4565
|
name: string;
|
|
4514
4566
|
createdAt: Date;
|
|
@@ -4517,10 +4569,39 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4517
4569
|
iconUrl: string;
|
|
4518
4570
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4519
4571
|
isActive: boolean;
|
|
4520
|
-
typeId: string;
|
|
4572
|
+
typeId: string | null;
|
|
4521
4573
|
precision: number;
|
|
4522
4574
|
};
|
|
4575
|
+
advanced: {
|
|
4576
|
+
trendDriftUpBps: string;
|
|
4577
|
+
trendDriftFlatBps: string;
|
|
4578
|
+
trendDriftDownBps: string;
|
|
4579
|
+
trendSwitchMinTicks: number;
|
|
4580
|
+
trendSwitchMaxTicks: number;
|
|
4581
|
+
trendUpWeight: number;
|
|
4582
|
+
trendFlatWeight: number;
|
|
4583
|
+
trendDownWeight: number;
|
|
4584
|
+
jumpMinBps: string;
|
|
4585
|
+
jumpMaxBps: string;
|
|
4586
|
+
meanReversionBps: string;
|
|
4587
|
+
roundNumberMagnetBps: string;
|
|
4588
|
+
};
|
|
4589
|
+
basic: {
|
|
4590
|
+
name: string;
|
|
4591
|
+
baseAssetId: string;
|
|
4592
|
+
quoteAssetId: string;
|
|
4593
|
+
isEnabled: boolean;
|
|
4594
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
4595
|
+
noiseSigmaBps: string;
|
|
4596
|
+
jumpChanceBps: string;
|
|
4597
|
+
liquiditySession: "normal" | "low" | "high";
|
|
4598
|
+
minPrice: string | null;
|
|
4599
|
+
maxPrice: string | null;
|
|
4600
|
+
intervalSeconds: number;
|
|
4601
|
+
};
|
|
4523
4602
|
};
|
|
4603
|
+
401: "Unauthorized";
|
|
4604
|
+
403: "Forbidden: Admins only";
|
|
4524
4605
|
422: {
|
|
4525
4606
|
type: "validation";
|
|
4526
4607
|
on: string;
|
|
@@ -4530,8 +4611,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4530
4611
|
property?: string;
|
|
4531
4612
|
expected?: string;
|
|
4532
4613
|
};
|
|
4533
|
-
401: "Unauthorized";
|
|
4534
|
-
403: "Forbidden: Admins only";
|
|
4535
4614
|
};
|
|
4536
4615
|
};
|
|
4537
4616
|
};
|
|
@@ -4542,18 +4621,33 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4542
4621
|
":id": {
|
|
4543
4622
|
patch: {
|
|
4544
4623
|
body: {
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4624
|
+
advanced?: {
|
|
4625
|
+
trendDriftUpBps?: string | undefined;
|
|
4626
|
+
trendDriftFlatBps?: string | undefined;
|
|
4627
|
+
trendDriftDownBps?: string | undefined;
|
|
4628
|
+
trendSwitchMinTicks?: number | undefined;
|
|
4629
|
+
trendSwitchMaxTicks?: number | undefined;
|
|
4630
|
+
trendUpWeight?: number | undefined;
|
|
4631
|
+
trendFlatWeight?: number | undefined;
|
|
4632
|
+
trendDownWeight?: number | undefined;
|
|
4633
|
+
jumpMinBps?: string | undefined;
|
|
4634
|
+
jumpMaxBps?: string | undefined;
|
|
4635
|
+
meanReversionBps?: string | undefined;
|
|
4636
|
+
roundNumberMagnetBps?: string | undefined;
|
|
4637
|
+
} | undefined;
|
|
4638
|
+
basic?: {
|
|
4639
|
+
name?: string | undefined;
|
|
4640
|
+
baseAssetId?: string | undefined;
|
|
4641
|
+
quoteAssetId?: string | undefined;
|
|
4642
|
+
isEnabled?: boolean | undefined;
|
|
4643
|
+
trendMode?: "flat" | "up" | "down" | "auto" | undefined;
|
|
4644
|
+
noiseSigmaBps?: string | undefined;
|
|
4645
|
+
jumpChanceBps?: string | undefined;
|
|
4646
|
+
liquiditySession?: "normal" | "low" | "high" | undefined;
|
|
4647
|
+
minPrice?: string | null | undefined;
|
|
4648
|
+
maxPrice?: string | null | undefined;
|
|
4649
|
+
intervalSeconds?: number | undefined;
|
|
4650
|
+
} | undefined;
|
|
4557
4651
|
};
|
|
4558
4652
|
params: {
|
|
4559
4653
|
id: string;
|
|
@@ -4563,22 +4657,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4563
4657
|
response: {
|
|
4564
4658
|
200: {
|
|
4565
4659
|
id: string;
|
|
4566
|
-
name: string;
|
|
4567
4660
|
createdAt: Date;
|
|
4568
4661
|
updatedAt: Date;
|
|
4569
|
-
baseAssetId: string;
|
|
4570
|
-
quoteAssetId: string;
|
|
4571
|
-
source: string;
|
|
4572
|
-
isEnabled: boolean;
|
|
4573
|
-
strategyType: "random_walk";
|
|
4574
|
-
driftBps: string;
|
|
4575
|
-
minPrice: string | null;
|
|
4576
|
-
maxPrice: string | null;
|
|
4577
|
-
intervalSeconds: number;
|
|
4578
|
-
maxStepBps: string;
|
|
4579
|
-
fallbackPrice: string;
|
|
4580
4662
|
baseAsset: {
|
|
4581
|
-
symbol: string;
|
|
4663
|
+
symbol: string | null;
|
|
4582
4664
|
id: string;
|
|
4583
4665
|
name: string;
|
|
4584
4666
|
createdAt: Date;
|
|
@@ -4587,11 +4669,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4587
4669
|
iconUrl: string;
|
|
4588
4670
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4589
4671
|
isActive: boolean;
|
|
4590
|
-
typeId: string;
|
|
4672
|
+
typeId: string | null;
|
|
4591
4673
|
precision: number;
|
|
4592
4674
|
};
|
|
4593
4675
|
quoteAsset: {
|
|
4594
|
-
symbol: string;
|
|
4676
|
+
symbol: string | null;
|
|
4595
4677
|
id: string;
|
|
4596
4678
|
name: string;
|
|
4597
4679
|
createdAt: Date;
|
|
@@ -4600,10 +4682,39 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4600
4682
|
iconUrl: string;
|
|
4601
4683
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4602
4684
|
isActive: boolean;
|
|
4603
|
-
typeId: string;
|
|
4685
|
+
typeId: string | null;
|
|
4604
4686
|
precision: number;
|
|
4605
4687
|
};
|
|
4688
|
+
advanced: {
|
|
4689
|
+
trendDriftUpBps: string;
|
|
4690
|
+
trendDriftFlatBps: string;
|
|
4691
|
+
trendDriftDownBps: string;
|
|
4692
|
+
trendSwitchMinTicks: number;
|
|
4693
|
+
trendSwitchMaxTicks: number;
|
|
4694
|
+
trendUpWeight: number;
|
|
4695
|
+
trendFlatWeight: number;
|
|
4696
|
+
trendDownWeight: number;
|
|
4697
|
+
jumpMinBps: string;
|
|
4698
|
+
jumpMaxBps: string;
|
|
4699
|
+
meanReversionBps: string;
|
|
4700
|
+
roundNumberMagnetBps: string;
|
|
4701
|
+
};
|
|
4702
|
+
basic: {
|
|
4703
|
+
name: string;
|
|
4704
|
+
baseAssetId: string;
|
|
4705
|
+
quoteAssetId: string;
|
|
4706
|
+
isEnabled: boolean;
|
|
4707
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
4708
|
+
noiseSigmaBps: string;
|
|
4709
|
+
jumpChanceBps: string;
|
|
4710
|
+
liquiditySession: "normal" | "low" | "high";
|
|
4711
|
+
minPrice: string | null;
|
|
4712
|
+
maxPrice: string | null;
|
|
4713
|
+
intervalSeconds: number;
|
|
4714
|
+
};
|
|
4606
4715
|
};
|
|
4716
|
+
401: "Unauthorized";
|
|
4717
|
+
403: "Forbidden: Admins only";
|
|
4607
4718
|
422: {
|
|
4608
4719
|
type: "validation";
|
|
4609
4720
|
on: string;
|
|
@@ -4613,8 +4724,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4613
4724
|
property?: string;
|
|
4614
4725
|
expected?: string;
|
|
4615
4726
|
};
|
|
4616
|
-
401: "Unauthorized";
|
|
4617
|
-
403: "Forbidden: Admins only";
|
|
4618
4727
|
};
|
|
4619
4728
|
};
|
|
4620
4729
|
};
|
|
@@ -4635,22 +4744,37 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4635
4744
|
response: {
|
|
4636
4745
|
200: {
|
|
4637
4746
|
id: string;
|
|
4638
|
-
name: string;
|
|
4639
4747
|
createdAt: Date;
|
|
4640
4748
|
updatedAt: Date;
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4749
|
+
basic: {
|
|
4750
|
+
name: string;
|
|
4751
|
+
baseAssetId: string;
|
|
4752
|
+
quoteAssetId: string;
|
|
4753
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
4754
|
+
liquiditySession: "normal" | "low" | "high";
|
|
4755
|
+
noiseSigmaBps: string;
|
|
4756
|
+
jumpChanceBps: string;
|
|
4757
|
+
minPrice: string | null;
|
|
4758
|
+
maxPrice: string | null;
|
|
4759
|
+
intervalSeconds: number;
|
|
4760
|
+
isEnabled: boolean;
|
|
4761
|
+
};
|
|
4762
|
+
advanced: {
|
|
4763
|
+
trendDriftUpBps: string;
|
|
4764
|
+
trendDriftFlatBps: string;
|
|
4765
|
+
trendDriftDownBps: string;
|
|
4766
|
+
trendSwitchMinTicks: number;
|
|
4767
|
+
trendSwitchMaxTicks: number;
|
|
4768
|
+
trendUpWeight: number;
|
|
4769
|
+
trendFlatWeight: number;
|
|
4770
|
+
trendDownWeight: number;
|
|
4771
|
+
jumpMinBps: string;
|
|
4772
|
+
jumpMaxBps: string;
|
|
4773
|
+
meanReversionBps: string;
|
|
4774
|
+
roundNumberMagnetBps: string;
|
|
4775
|
+
};
|
|
4652
4776
|
baseAsset: {
|
|
4653
|
-
symbol: string;
|
|
4777
|
+
symbol: string | null;
|
|
4654
4778
|
id: string;
|
|
4655
4779
|
name: string;
|
|
4656
4780
|
createdAt: Date;
|
|
@@ -4659,11 +4783,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4659
4783
|
iconUrl: string;
|
|
4660
4784
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4661
4785
|
isActive: boolean;
|
|
4662
|
-
typeId: string;
|
|
4786
|
+
typeId: string | null;
|
|
4663
4787
|
precision: number;
|
|
4664
4788
|
};
|
|
4665
4789
|
quoteAsset: {
|
|
4666
|
-
symbol: string;
|
|
4790
|
+
symbol: string | null;
|
|
4667
4791
|
id: string;
|
|
4668
4792
|
name: string;
|
|
4669
4793
|
createdAt: Date;
|
|
@@ -4672,10 +4796,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4672
4796
|
iconUrl: string;
|
|
4673
4797
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4674
4798
|
isActive: boolean;
|
|
4675
|
-
typeId: string;
|
|
4799
|
+
typeId: string | null;
|
|
4676
4800
|
precision: number;
|
|
4677
4801
|
};
|
|
4678
4802
|
};
|
|
4803
|
+
401: "Unauthorized";
|
|
4804
|
+
403: "Forbidden: Admins only";
|
|
4679
4805
|
422: {
|
|
4680
4806
|
type: "validation";
|
|
4681
4807
|
on: string;
|
|
@@ -4685,8 +4811,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4685
4811
|
property?: string;
|
|
4686
4812
|
expected?: string;
|
|
4687
4813
|
};
|
|
4688
|
-
401: "Unauthorized";
|
|
4689
|
-
403: "Forbidden: Admins only";
|
|
4690
4814
|
};
|
|
4691
4815
|
};
|
|
4692
4816
|
};
|
|
@@ -4708,22 +4832,37 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4708
4832
|
response: {
|
|
4709
4833
|
200: {
|
|
4710
4834
|
id: string;
|
|
4711
|
-
name: string;
|
|
4712
4835
|
createdAt: Date;
|
|
4713
4836
|
updatedAt: Date;
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4837
|
+
basic: {
|
|
4838
|
+
name: string;
|
|
4839
|
+
baseAssetId: string;
|
|
4840
|
+
quoteAssetId: string;
|
|
4841
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
4842
|
+
liquiditySession: "normal" | "low" | "high";
|
|
4843
|
+
noiseSigmaBps: string;
|
|
4844
|
+
jumpChanceBps: string;
|
|
4845
|
+
minPrice: string | null;
|
|
4846
|
+
maxPrice: string | null;
|
|
4847
|
+
intervalSeconds: number;
|
|
4848
|
+
isEnabled: boolean;
|
|
4849
|
+
};
|
|
4850
|
+
advanced: {
|
|
4851
|
+
trendDriftUpBps: string;
|
|
4852
|
+
trendDriftFlatBps: string;
|
|
4853
|
+
trendDriftDownBps: string;
|
|
4854
|
+
trendSwitchMinTicks: number;
|
|
4855
|
+
trendSwitchMaxTicks: number;
|
|
4856
|
+
trendUpWeight: number;
|
|
4857
|
+
trendFlatWeight: number;
|
|
4858
|
+
trendDownWeight: number;
|
|
4859
|
+
jumpMinBps: string;
|
|
4860
|
+
jumpMaxBps: string;
|
|
4861
|
+
meanReversionBps: string;
|
|
4862
|
+
roundNumberMagnetBps: string;
|
|
4863
|
+
};
|
|
4725
4864
|
baseAsset: {
|
|
4726
|
-
symbol: string;
|
|
4865
|
+
symbol: string | null;
|
|
4727
4866
|
id: string;
|
|
4728
4867
|
name: string;
|
|
4729
4868
|
createdAt: Date;
|
|
@@ -4732,11 +4871,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4732
4871
|
iconUrl: string;
|
|
4733
4872
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4734
4873
|
isActive: boolean;
|
|
4735
|
-
typeId: string;
|
|
4874
|
+
typeId: string | null;
|
|
4736
4875
|
precision: number;
|
|
4737
4876
|
};
|
|
4738
4877
|
quoteAsset: {
|
|
4739
|
-
symbol: string;
|
|
4878
|
+
symbol: string | null;
|
|
4740
4879
|
id: string;
|
|
4741
4880
|
name: string;
|
|
4742
4881
|
createdAt: Date;
|
|
@@ -4745,10 +4884,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4745
4884
|
iconUrl: string;
|
|
4746
4885
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4747
4886
|
isActive: boolean;
|
|
4748
|
-
typeId: string;
|
|
4887
|
+
typeId: string | null;
|
|
4749
4888
|
precision: number;
|
|
4750
4889
|
};
|
|
4751
4890
|
};
|
|
4891
|
+
401: "Unauthorized";
|
|
4892
|
+
403: "Forbidden: Admins only";
|
|
4752
4893
|
422: {
|
|
4753
4894
|
type: "validation";
|
|
4754
4895
|
on: string;
|
|
@@ -4758,8 +4899,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4758
4899
|
property?: string;
|
|
4759
4900
|
expected?: string;
|
|
4760
4901
|
};
|
|
4761
|
-
401: "Unauthorized";
|
|
4762
|
-
403: "Forbidden: Admins only";
|
|
4763
4902
|
};
|
|
4764
4903
|
};
|
|
4765
4904
|
};
|
|
@@ -4786,46 +4925,37 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4786
4925
|
200: {
|
|
4787
4926
|
data: {
|
|
4788
4927
|
id: string;
|
|
4789
|
-
name: string;
|
|
4790
|
-
createdAt: Date;
|
|
4791
|
-
updatedAt: Date;
|
|
4792
|
-
baseAssetId: string;
|
|
4793
4928
|
baseAsset: {
|
|
4794
|
-
symbol: string;
|
|
4929
|
+
symbol: string | null;
|
|
4795
4930
|
id: string;
|
|
4796
4931
|
name: string;
|
|
4797
|
-
createdAt: Date;
|
|
4798
|
-
updatedAt: Date;
|
|
4799
4932
|
code: string;
|
|
4800
|
-
iconUrl: string;
|
|
4801
4933
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4802
4934
|
isActive: boolean;
|
|
4803
|
-
typeId: string;
|
|
4804
4935
|
precision: number;
|
|
4805
4936
|
};
|
|
4806
|
-
quoteAssetId: string;
|
|
4807
4937
|
quoteAsset: {
|
|
4808
|
-
symbol: string;
|
|
4938
|
+
symbol: string | null;
|
|
4809
4939
|
id: string;
|
|
4810
4940
|
name: string;
|
|
4811
|
-
createdAt: Date;
|
|
4812
|
-
updatedAt: Date;
|
|
4813
4941
|
code: string;
|
|
4814
|
-
iconUrl: string;
|
|
4815
4942
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4816
4943
|
isActive: boolean;
|
|
4817
|
-
typeId: string;
|
|
4818
4944
|
precision: number;
|
|
4819
4945
|
};
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4946
|
+
basic: {
|
|
4947
|
+
name: string;
|
|
4948
|
+
baseAssetId: string;
|
|
4949
|
+
quoteAssetId: string;
|
|
4950
|
+
isEnabled: boolean;
|
|
4951
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
4952
|
+
noiseSigmaBps: string;
|
|
4953
|
+
jumpChanceBps: string;
|
|
4954
|
+
liquiditySession: "normal" | "low" | "high";
|
|
4955
|
+
minPrice: string | null;
|
|
4956
|
+
maxPrice: string | null;
|
|
4957
|
+
intervalSeconds: number;
|
|
4958
|
+
};
|
|
4829
4959
|
}[];
|
|
4830
4960
|
pagination: {
|
|
4831
4961
|
total: number;
|
|
@@ -4835,6 +4965,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4835
4965
|
hasNextPage: boolean;
|
|
4836
4966
|
};
|
|
4837
4967
|
};
|
|
4968
|
+
401: "Unauthorized";
|
|
4969
|
+
403: "Forbidden: Admins only";
|
|
4838
4970
|
422: {
|
|
4839
4971
|
type: "validation";
|
|
4840
4972
|
on: string;
|
|
@@ -4844,8 +4976,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4844
4976
|
property?: string;
|
|
4845
4977
|
expected?: string;
|
|
4846
4978
|
};
|
|
4847
|
-
401: "Unauthorized";
|
|
4848
|
-
403: "Forbidden: Admins only";
|
|
4849
4979
|
};
|
|
4850
4980
|
};
|
|
4851
4981
|
};
|
|
@@ -4864,22 +4994,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4864
4994
|
response: {
|
|
4865
4995
|
200: {
|
|
4866
4996
|
id: string;
|
|
4867
|
-
name: string;
|
|
4868
4997
|
createdAt: Date;
|
|
4869
4998
|
updatedAt: Date;
|
|
4870
|
-
baseAssetId: string;
|
|
4871
|
-
quoteAssetId: string;
|
|
4872
|
-
source: string;
|
|
4873
|
-
isEnabled: boolean;
|
|
4874
|
-
strategyType: "random_walk";
|
|
4875
|
-
driftBps: string;
|
|
4876
|
-
minPrice: string | null;
|
|
4877
|
-
maxPrice: string | null;
|
|
4878
|
-
intervalSeconds: number;
|
|
4879
|
-
maxStepBps: string;
|
|
4880
|
-
fallbackPrice: string;
|
|
4881
4999
|
baseAsset: {
|
|
4882
|
-
symbol: string;
|
|
5000
|
+
symbol: string | null;
|
|
4883
5001
|
id: string;
|
|
4884
5002
|
name: string;
|
|
4885
5003
|
createdAt: Date;
|
|
@@ -4888,11 +5006,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4888
5006
|
iconUrl: string;
|
|
4889
5007
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4890
5008
|
isActive: boolean;
|
|
4891
|
-
typeId: string;
|
|
5009
|
+
typeId: string | null;
|
|
4892
5010
|
precision: number;
|
|
4893
5011
|
};
|
|
4894
5012
|
quoteAsset: {
|
|
4895
|
-
symbol: string;
|
|
5013
|
+
symbol: string | null;
|
|
4896
5014
|
id: string;
|
|
4897
5015
|
name: string;
|
|
4898
5016
|
createdAt: Date;
|
|
@@ -4901,21 +5019,48 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4901
5019
|
iconUrl: string;
|
|
4902
5020
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4903
5021
|
isActive: boolean;
|
|
4904
|
-
typeId: string;
|
|
5022
|
+
typeId: string | null;
|
|
4905
5023
|
precision: number;
|
|
4906
5024
|
};
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
5025
|
+
advanced: {
|
|
5026
|
+
trendDriftUpBps: string;
|
|
5027
|
+
trendDriftFlatBps: string;
|
|
5028
|
+
trendDriftDownBps: string;
|
|
5029
|
+
trendSwitchMinTicks: number;
|
|
5030
|
+
trendSwitchMaxTicks: number;
|
|
5031
|
+
trendUpWeight: number;
|
|
5032
|
+
trendFlatWeight: number;
|
|
5033
|
+
trendDownWeight: number;
|
|
5034
|
+
jumpMinBps: string;
|
|
5035
|
+
jumpMaxBps: string;
|
|
5036
|
+
meanReversionBps: string;
|
|
5037
|
+
roundNumberMagnetBps: string;
|
|
5038
|
+
};
|
|
5039
|
+
basic: {
|
|
5040
|
+
name: string;
|
|
5041
|
+
baseAssetId: string;
|
|
5042
|
+
quoteAssetId: string;
|
|
5043
|
+
isEnabled: boolean;
|
|
5044
|
+
trendMode: "flat" | "up" | "down" | "auto";
|
|
5045
|
+
noiseSigmaBps: string;
|
|
5046
|
+
jumpChanceBps: string;
|
|
5047
|
+
liquiditySession: "normal" | "low" | "high";
|
|
5048
|
+
minPrice: string | null;
|
|
5049
|
+
maxPrice: string | null;
|
|
5050
|
+
intervalSeconds: number;
|
|
5051
|
+
};
|
|
5052
|
+
};
|
|
5053
|
+
401: "Unauthorized";
|
|
5054
|
+
403: "Forbidden: Admins only";
|
|
5055
|
+
422: {
|
|
5056
|
+
type: "validation";
|
|
5057
|
+
on: string;
|
|
4911
5058
|
summary?: string;
|
|
4912
5059
|
message?: string;
|
|
4913
5060
|
found?: unknown;
|
|
4914
5061
|
property?: string;
|
|
4915
5062
|
expected?: string;
|
|
4916
5063
|
};
|
|
4917
|
-
401: "Unauthorized";
|
|
4918
|
-
403: "Forbidden: Admins only";
|
|
4919
5064
|
};
|
|
4920
5065
|
};
|
|
4921
5066
|
};
|
|
@@ -4940,6 +5085,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4940
5085
|
created: boolean;
|
|
4941
5086
|
strategyId: string;
|
|
4942
5087
|
};
|
|
5088
|
+
401: "Unauthorized";
|
|
5089
|
+
403: "Forbidden: Admins only";
|
|
4943
5090
|
422: {
|
|
4944
5091
|
type: "validation";
|
|
4945
5092
|
on: string;
|
|
@@ -4949,8 +5096,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4949
5096
|
property?: string;
|
|
4950
5097
|
expected?: string;
|
|
4951
5098
|
};
|
|
4952
|
-
401: "Unauthorized";
|
|
4953
|
-
403: "Forbidden: Admins only";
|
|
4954
5099
|
};
|
|
4955
5100
|
};
|
|
4956
5101
|
};
|
|
@@ -4971,6 +5116,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4971
5116
|
successCount: number;
|
|
4972
5117
|
failedStrategyIds: string[];
|
|
4973
5118
|
};
|
|
5119
|
+
401: "Unauthorized";
|
|
5120
|
+
403: "Forbidden: Admins only";
|
|
4974
5121
|
422: {
|
|
4975
5122
|
type: "validation";
|
|
4976
5123
|
on: string;
|
|
@@ -4980,8 +5127,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4980
5127
|
property?: string;
|
|
4981
5128
|
expected?: string;
|
|
4982
5129
|
};
|
|
4983
|
-
401: "Unauthorized";
|
|
4984
|
-
403: "Forbidden: Admins only";
|
|
4985
5130
|
};
|
|
4986
5131
|
};
|
|
4987
5132
|
};
|
|
@@ -4994,86 +5139,99 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4994
5139
|
} & {
|
|
4995
5140
|
market_data: {
|
|
4996
5141
|
klines: {
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5142
|
+
get: {
|
|
5143
|
+
body: {};
|
|
5144
|
+
params: {};
|
|
5145
|
+
query: {
|
|
5146
|
+
symbol?: string | undefined;
|
|
5147
|
+
resolution?: string | undefined;
|
|
5148
|
+
startDate?: number | Date | undefined;
|
|
5149
|
+
limit?: number | undefined;
|
|
5150
|
+
offset?: number | undefined;
|
|
5151
|
+
pageSize?: number | undefined;
|
|
5152
|
+
pageIndex?: number | undefined;
|
|
5153
|
+
endDate?: number | Date | undefined;
|
|
5154
|
+
};
|
|
5155
|
+
headers: {};
|
|
5156
|
+
response: {
|
|
5157
|
+
200: {
|
|
5158
|
+
data: {
|
|
5159
|
+
symbol: string;
|
|
5160
|
+
id: string;
|
|
5161
|
+
createdAt: Date;
|
|
5162
|
+
updatedAt: Date;
|
|
5163
|
+
low: string;
|
|
5164
|
+
high: string;
|
|
5165
|
+
resolution: string;
|
|
5166
|
+
openTime: Date;
|
|
5167
|
+
open: string;
|
|
5168
|
+
close: string;
|
|
5169
|
+
volume: string;
|
|
5170
|
+
}[];
|
|
5171
|
+
pagination: {
|
|
5172
|
+
total: number;
|
|
5173
|
+
pageSize: number;
|
|
5174
|
+
pageIndex: number;
|
|
5175
|
+
totalPages: number;
|
|
5176
|
+
hasNextPage: boolean;
|
|
5177
|
+
};
|
|
5011
5178
|
};
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5179
|
+
401: "Unauthorized";
|
|
5180
|
+
403: "Forbidden: Admins only";
|
|
5181
|
+
422: {
|
|
5182
|
+
type: "validation";
|
|
5183
|
+
on: string;
|
|
5184
|
+
summary?: string;
|
|
5185
|
+
message?: string;
|
|
5186
|
+
found?: unknown;
|
|
5187
|
+
property?: string;
|
|
5188
|
+
expected?: string;
|
|
5189
|
+
};
|
|
5190
|
+
};
|
|
5191
|
+
};
|
|
5192
|
+
};
|
|
5193
|
+
};
|
|
5194
|
+
} & {
|
|
5195
|
+
market_data: {
|
|
5196
|
+
jobs: {
|
|
5197
|
+
aggregate: {
|
|
5198
|
+
"run-one": {
|
|
5199
|
+
post: {
|
|
5200
|
+
body: {
|
|
5201
|
+
symbol?: string | undefined;
|
|
5202
|
+
resolution?: string | undefined;
|
|
5203
|
+
openTime?: Date | undefined;
|
|
5204
|
+
tradeMarketId?: string | undefined;
|
|
5205
|
+
};
|
|
5206
|
+
params: {};
|
|
5207
|
+
query: {};
|
|
5208
|
+
headers: {};
|
|
5209
|
+
response: {
|
|
5210
|
+
200: {
|
|
5211
|
+
symbol: string;
|
|
5042
5212
|
id: string;
|
|
5043
5213
|
createdAt: Date;
|
|
5044
5214
|
updatedAt: Date;
|
|
5045
|
-
baseAssetId: string;
|
|
5046
|
-
baseAsset: string;
|
|
5047
|
-
quoteAssetId: string;
|
|
5048
|
-
quoteAsset: string;
|
|
5049
|
-
source: string;
|
|
5050
5215
|
low: string;
|
|
5051
5216
|
high: string;
|
|
5052
|
-
|
|
5217
|
+
resolution: string;
|
|
5218
|
+
openTime: Date;
|
|
5053
5219
|
open: string;
|
|
5054
5220
|
close: string;
|
|
5055
|
-
tickCount: number;
|
|
5056
5221
|
volume: string;
|
|
5057
5222
|
}[];
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5223
|
+
401: "Unauthorized";
|
|
5224
|
+
403: "Forbidden: Admins only";
|
|
5225
|
+
422: {
|
|
5226
|
+
type: "validation";
|
|
5227
|
+
on: string;
|
|
5228
|
+
summary?: string;
|
|
5229
|
+
message?: string;
|
|
5230
|
+
found?: unknown;
|
|
5231
|
+
property?: string;
|
|
5232
|
+
expected?: string;
|
|
5064
5233
|
};
|
|
5065
5234
|
};
|
|
5066
|
-
422: {
|
|
5067
|
-
type: "validation";
|
|
5068
|
-
on: string;
|
|
5069
|
-
summary?: string;
|
|
5070
|
-
message?: string;
|
|
5071
|
-
found?: unknown;
|
|
5072
|
-
property?: string;
|
|
5073
|
-
expected?: string;
|
|
5074
|
-
};
|
|
5075
|
-
401: "Unauthorized";
|
|
5076
|
-
403: "Forbidden: Admins only";
|
|
5077
5235
|
};
|
|
5078
5236
|
};
|
|
5079
5237
|
};
|
|
@@ -5083,82 +5241,28 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5083
5241
|
market_data: {
|
|
5084
5242
|
jobs: {
|
|
5085
5243
|
aggregate: {
|
|
5086
|
-
"
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
headers: {};
|
|
5098
|
-
response: {
|
|
5099
|
-
200: {
|
|
5100
|
-
id: string;
|
|
5101
|
-
createdAt: Date;
|
|
5102
|
-
updatedAt: Date;
|
|
5103
|
-
baseAssetId: string;
|
|
5104
|
-
baseAsset: string;
|
|
5105
|
-
quoteAssetId: string;
|
|
5106
|
-
quoteAsset: string;
|
|
5107
|
-
source: string;
|
|
5108
|
-
low: string;
|
|
5109
|
-
high: string;
|
|
5110
|
-
bucketAt: Date;
|
|
5111
|
-
open: string;
|
|
5112
|
-
close: string;
|
|
5113
|
-
tickCount: number;
|
|
5114
|
-
volume: string;
|
|
5115
|
-
} | null;
|
|
5116
|
-
422: {
|
|
5117
|
-
type: "validation";
|
|
5118
|
-
on: string;
|
|
5119
|
-
summary?: string;
|
|
5120
|
-
message?: string;
|
|
5121
|
-
found?: unknown;
|
|
5122
|
-
property?: string;
|
|
5123
|
-
expected?: string;
|
|
5124
|
-
};
|
|
5125
|
-
401: "Unauthorized";
|
|
5126
|
-
403: "Forbidden: Admins only";
|
|
5244
|
+
"run-active-markets": {
|
|
5245
|
+
post: {
|
|
5246
|
+
body: {};
|
|
5247
|
+
params: {};
|
|
5248
|
+
query: {};
|
|
5249
|
+
headers: {};
|
|
5250
|
+
response: {
|
|
5251
|
+
200: {
|
|
5252
|
+
successCount: number;
|
|
5253
|
+
failedPairs: string[];
|
|
5254
|
+
runAt: Date;
|
|
5127
5255
|
};
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
"1m": {
|
|
5139
|
-
"run-enabled": {
|
|
5140
|
-
post: {
|
|
5141
|
-
body: {};
|
|
5142
|
-
params: {};
|
|
5143
|
-
query: {};
|
|
5144
|
-
headers: {};
|
|
5145
|
-
response: {
|
|
5146
|
-
200: {
|
|
5147
|
-
bucketAt: Date;
|
|
5148
|
-
successCount: number;
|
|
5149
|
-
failedPairs: string[];
|
|
5150
|
-
};
|
|
5151
|
-
422: {
|
|
5152
|
-
type: "validation";
|
|
5153
|
-
on: string;
|
|
5154
|
-
summary?: string;
|
|
5155
|
-
message?: string;
|
|
5156
|
-
found?: unknown;
|
|
5157
|
-
property?: string;
|
|
5158
|
-
expected?: string;
|
|
5159
|
-
};
|
|
5160
|
-
401: "Unauthorized";
|
|
5161
|
-
403: "Forbidden: Admins only";
|
|
5256
|
+
401: "Unauthorized";
|
|
5257
|
+
403: "Forbidden: Admins only";
|
|
5258
|
+
422: {
|
|
5259
|
+
type: "validation";
|
|
5260
|
+
on: string;
|
|
5261
|
+
summary?: string;
|
|
5262
|
+
message?: string;
|
|
5263
|
+
found?: unknown;
|
|
5264
|
+
property?: string;
|
|
5265
|
+
expected?: string;
|
|
5162
5266
|
};
|
|
5163
5267
|
};
|
|
5164
5268
|
};
|
|
@@ -5234,6 +5338,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5234
5338
|
hasNextPage: boolean;
|
|
5235
5339
|
};
|
|
5236
5340
|
};
|
|
5341
|
+
401: "Unauthorized";
|
|
5342
|
+
403: "Forbidden: Admins only";
|
|
5237
5343
|
422: {
|
|
5238
5344
|
type: "validation";
|
|
5239
5345
|
on: string;
|
|
@@ -5243,8 +5349,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5243
5349
|
property?: string;
|
|
5244
5350
|
expected?: string;
|
|
5245
5351
|
};
|
|
5246
|
-
401: "Unauthorized";
|
|
5247
|
-
403: "Forbidden: Admins only";
|
|
5248
5352
|
};
|
|
5249
5353
|
};
|
|
5250
5354
|
};
|
|
@@ -5284,6 +5388,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5284
5388
|
reviewNote: string | null;
|
|
5285
5389
|
completedAt: Date | null;
|
|
5286
5390
|
};
|
|
5391
|
+
401: "Unauthorized";
|
|
5392
|
+
403: "Forbidden: Admins only";
|
|
5287
5393
|
422: {
|
|
5288
5394
|
type: "validation";
|
|
5289
5395
|
on: string;
|
|
@@ -5293,8 +5399,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5293
5399
|
property?: string;
|
|
5294
5400
|
expected?: string;
|
|
5295
5401
|
};
|
|
5296
|
-
401: "Unauthorized";
|
|
5297
|
-
403: "Forbidden: Admins only";
|
|
5298
5402
|
};
|
|
5299
5403
|
};
|
|
5300
5404
|
};
|
|
@@ -5335,6 +5439,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5335
5439
|
reviewNote: string | null;
|
|
5336
5440
|
completedAt: Date | null;
|
|
5337
5441
|
};
|
|
5442
|
+
401: "Unauthorized";
|
|
5443
|
+
403: "Forbidden: Admins only";
|
|
5338
5444
|
422: {
|
|
5339
5445
|
type: "validation";
|
|
5340
5446
|
on: string;
|
|
@@ -5344,8 +5450,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5344
5450
|
property?: string;
|
|
5345
5451
|
expected?: string;
|
|
5346
5452
|
};
|
|
5347
|
-
401: "Unauthorized";
|
|
5348
|
-
403: "Forbidden: Admins only";
|
|
5349
5453
|
};
|
|
5350
5454
|
};
|
|
5351
5455
|
};
|
|
@@ -5398,6 +5502,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5398
5502
|
hasNextPage: boolean;
|
|
5399
5503
|
};
|
|
5400
5504
|
};
|
|
5505
|
+
401: "Unauthorized";
|
|
5506
|
+
403: "Forbidden: Admins only";
|
|
5401
5507
|
422: {
|
|
5402
5508
|
type: "validation";
|
|
5403
5509
|
on: string;
|
|
@@ -5407,8 +5513,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5407
5513
|
property?: string;
|
|
5408
5514
|
expected?: string;
|
|
5409
5515
|
};
|
|
5410
|
-
401: "Unauthorized";
|
|
5411
|
-
403: "Forbidden: Admins only";
|
|
5412
5516
|
};
|
|
5413
5517
|
};
|
|
5414
5518
|
};
|
|
@@ -5445,6 +5549,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5445
5549
|
paidBy: string | null;
|
|
5446
5550
|
paidAt: Date | null;
|
|
5447
5551
|
};
|
|
5552
|
+
401: "Unauthorized";
|
|
5553
|
+
403: "Forbidden: Admins only";
|
|
5448
5554
|
422: {
|
|
5449
5555
|
type: "validation";
|
|
5450
5556
|
on: string;
|
|
@@ -5454,8 +5560,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5454
5560
|
property?: string;
|
|
5455
5561
|
expected?: string;
|
|
5456
5562
|
};
|
|
5457
|
-
401: "Unauthorized";
|
|
5458
|
-
403: "Forbidden: Admins only";
|
|
5459
5563
|
};
|
|
5460
5564
|
};
|
|
5461
5565
|
};
|
|
@@ -5494,6 +5598,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5494
5598
|
paidBy: string | null;
|
|
5495
5599
|
paidAt: Date | null;
|
|
5496
5600
|
};
|
|
5601
|
+
401: "Unauthorized";
|
|
5602
|
+
403: "Forbidden: Admins only";
|
|
5497
5603
|
422: {
|
|
5498
5604
|
type: "validation";
|
|
5499
5605
|
on: string;
|
|
@@ -5503,8 +5609,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5503
5609
|
property?: string;
|
|
5504
5610
|
expected?: string;
|
|
5505
5611
|
};
|
|
5506
|
-
401: "Unauthorized";
|
|
5507
|
-
403: "Forbidden: Admins only";
|
|
5508
5612
|
};
|
|
5509
5613
|
};
|
|
5510
5614
|
};
|
|
@@ -5541,6 +5645,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5541
5645
|
paidBy: string | null;
|
|
5542
5646
|
paidAt: Date | null;
|
|
5543
5647
|
};
|
|
5648
|
+
401: "Unauthorized";
|
|
5649
|
+
403: "Forbidden: Admins only";
|
|
5544
5650
|
422: {
|
|
5545
5651
|
type: "validation";
|
|
5546
5652
|
on: string;
|
|
@@ -5550,8 +5656,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5550
5656
|
property?: string;
|
|
5551
5657
|
expected?: string;
|
|
5552
5658
|
};
|
|
5553
|
-
401: "Unauthorized";
|
|
5554
|
-
403: "Forbidden: Admins only";
|
|
5555
5659
|
};
|
|
5556
5660
|
};
|
|
5557
5661
|
};
|
|
@@ -5590,6 +5694,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5590
5694
|
priority: "normal" | "low" | "high" | "urgent";
|
|
5591
5695
|
isBroadcast: boolean;
|
|
5592
5696
|
};
|
|
5697
|
+
401: "Unauthorized";
|
|
5698
|
+
403: "Forbidden: Admins only";
|
|
5593
5699
|
422: {
|
|
5594
5700
|
type: "validation";
|
|
5595
5701
|
on: string;
|
|
@@ -5599,8 +5705,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5599
5705
|
property?: string;
|
|
5600
5706
|
expected?: string;
|
|
5601
5707
|
};
|
|
5602
|
-
401: "Unauthorized";
|
|
5603
|
-
403: "Forbidden: Admins only";
|
|
5604
5708
|
};
|
|
5605
5709
|
};
|
|
5606
5710
|
};
|
|
@@ -5644,6 +5748,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5644
5748
|
hasNextPage: boolean;
|
|
5645
5749
|
};
|
|
5646
5750
|
};
|
|
5751
|
+
401: "Unauthorized";
|
|
5752
|
+
403: "Forbidden: Admins only";
|
|
5647
5753
|
422: {
|
|
5648
5754
|
type: "validation";
|
|
5649
5755
|
on: string;
|
|
@@ -5653,8 +5759,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5653
5759
|
property?: string;
|
|
5654
5760
|
expected?: string;
|
|
5655
5761
|
};
|
|
5656
|
-
401: "Unauthorized";
|
|
5657
|
-
403: "Forbidden: Admins only";
|
|
5658
5762
|
};
|
|
5659
5763
|
};
|
|
5660
5764
|
};
|
|
@@ -5729,6 +5833,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5729
5833
|
hasNextPage: boolean;
|
|
5730
5834
|
};
|
|
5731
5835
|
};
|
|
5836
|
+
401: "Unauthorized";
|
|
5837
|
+
403: "Forbidden: Admins only";
|
|
5732
5838
|
422: {
|
|
5733
5839
|
type: "validation";
|
|
5734
5840
|
on: string;
|
|
@@ -5738,8 +5844,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5738
5844
|
property?: string;
|
|
5739
5845
|
expected?: string;
|
|
5740
5846
|
};
|
|
5741
|
-
401: "Unauthorized";
|
|
5742
|
-
403: "Forbidden: Admins only";
|
|
5743
5847
|
};
|
|
5744
5848
|
};
|
|
5745
5849
|
};
|
|
@@ -5757,6 +5861,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5757
5861
|
200: {
|
|
5758
5862
|
success: boolean;
|
|
5759
5863
|
};
|
|
5864
|
+
401: "Unauthorized";
|
|
5865
|
+
403: "Forbidden: Admins only";
|
|
5760
5866
|
422: {
|
|
5761
5867
|
type: "validation";
|
|
5762
5868
|
on: string;
|
|
@@ -5766,8 +5872,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5766
5872
|
property?: string;
|
|
5767
5873
|
expected?: string;
|
|
5768
5874
|
};
|
|
5769
|
-
401: "Unauthorized";
|
|
5770
|
-
403: "Forbidden: Admins only";
|
|
5771
5875
|
};
|
|
5772
5876
|
};
|
|
5773
5877
|
};
|
|
@@ -5804,6 +5908,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5804
5908
|
alipayName: string | null;
|
|
5805
5909
|
alipayAccount: string | null;
|
|
5806
5910
|
};
|
|
5911
|
+
401: "Unauthorized";
|
|
5912
|
+
403: "Forbidden: Admins only";
|
|
5807
5913
|
422: {
|
|
5808
5914
|
type: "validation";
|
|
5809
5915
|
on: string;
|
|
@@ -5813,8 +5919,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5813
5919
|
property?: string;
|
|
5814
5920
|
expected?: string;
|
|
5815
5921
|
};
|
|
5816
|
-
401: "Unauthorized";
|
|
5817
|
-
403: "Forbidden: Admins only";
|
|
5818
5922
|
};
|
|
5819
5923
|
};
|
|
5820
5924
|
};
|
|
@@ -5856,6 +5960,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5856
5960
|
hasNextPage: boolean;
|
|
5857
5961
|
};
|
|
5858
5962
|
};
|
|
5963
|
+
401: "Unauthorized";
|
|
5964
|
+
403: "Forbidden: Admins only";
|
|
5859
5965
|
422: {
|
|
5860
5966
|
type: "validation";
|
|
5861
5967
|
on: string;
|
|
@@ -5865,8 +5971,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5865
5971
|
property?: string;
|
|
5866
5972
|
expected?: string;
|
|
5867
5973
|
};
|
|
5868
|
-
401: "Unauthorized";
|
|
5869
|
-
403: "Forbidden: Admins only";
|
|
5870
5974
|
};
|
|
5871
5975
|
};
|
|
5872
5976
|
};
|
|
@@ -5894,6 +5998,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5894
5998
|
level2Count: number;
|
|
5895
5999
|
level3Count: number;
|
|
5896
6000
|
};
|
|
6001
|
+
401: "Unauthorized";
|
|
6002
|
+
403: "Forbidden: Admins only";
|
|
5897
6003
|
422: {
|
|
5898
6004
|
type: "validation";
|
|
5899
6005
|
on: string;
|
|
@@ -5903,8 +6009,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5903
6009
|
property?: string;
|
|
5904
6010
|
expected?: string;
|
|
5905
6011
|
};
|
|
5906
|
-
401: "Unauthorized";
|
|
5907
|
-
403: "Forbidden: Admins only";
|
|
5908
6012
|
};
|
|
5909
6013
|
};
|
|
5910
6014
|
};
|
|
@@ -5955,6 +6059,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5955
6059
|
hasNextPage: boolean;
|
|
5956
6060
|
};
|
|
5957
6061
|
};
|
|
6062
|
+
401: "Unauthorized";
|
|
6063
|
+
403: "Forbidden: Admins only";
|
|
5958
6064
|
422: {
|
|
5959
6065
|
type: "validation";
|
|
5960
6066
|
on: string;
|
|
@@ -5964,8 +6070,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5964
6070
|
property?: string;
|
|
5965
6071
|
expected?: string;
|
|
5966
6072
|
};
|
|
5967
|
-
401: "Unauthorized";
|
|
5968
|
-
403: "Forbidden: Admins only";
|
|
5969
6073
|
};
|
|
5970
6074
|
};
|
|
5971
6075
|
};
|
|
@@ -5995,6 +6099,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5995
6099
|
depth: number;
|
|
5996
6100
|
commissionRate: string;
|
|
5997
6101
|
};
|
|
6102
|
+
401: "Unauthorized";
|
|
6103
|
+
403: "Forbidden: Admins only";
|
|
5998
6104
|
422: {
|
|
5999
6105
|
type: "validation";
|
|
6000
6106
|
on: string;
|
|
@@ -6004,8 +6110,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6004
6110
|
property?: string;
|
|
6005
6111
|
expected?: string;
|
|
6006
6112
|
};
|
|
6007
|
-
401: "Unauthorized";
|
|
6008
|
-
403: "Forbidden: Admins only";
|
|
6009
6113
|
};
|
|
6010
6114
|
};
|
|
6011
6115
|
};
|
|
@@ -6041,6 +6145,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6041
6145
|
hasNextPage: boolean;
|
|
6042
6146
|
};
|
|
6043
6147
|
};
|
|
6148
|
+
401: "Unauthorized";
|
|
6149
|
+
403: "Forbidden: Admins only";
|
|
6044
6150
|
422: {
|
|
6045
6151
|
type: "validation";
|
|
6046
6152
|
on: string;
|
|
@@ -6050,8 +6156,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6050
6156
|
property?: string;
|
|
6051
6157
|
expected?: string;
|
|
6052
6158
|
};
|
|
6053
|
-
401: "Unauthorized";
|
|
6054
|
-
403: "Forbidden: Admins only";
|
|
6055
6159
|
};
|
|
6056
6160
|
};
|
|
6057
6161
|
};
|
|
@@ -6075,6 +6179,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6075
6179
|
depth: number;
|
|
6076
6180
|
commissionRate: string;
|
|
6077
6181
|
};
|
|
6182
|
+
401: "Unauthorized";
|
|
6183
|
+
403: "Forbidden: Admins only";
|
|
6078
6184
|
422: {
|
|
6079
6185
|
type: "validation";
|
|
6080
6186
|
on: string;
|
|
@@ -6084,8 +6190,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6084
6190
|
property?: string;
|
|
6085
6191
|
expected?: string;
|
|
6086
6192
|
};
|
|
6087
|
-
401: "Unauthorized";
|
|
6088
|
-
403: "Forbidden: Admins only";
|
|
6089
6193
|
};
|
|
6090
6194
|
};
|
|
6091
6195
|
};
|
|
@@ -6113,6 +6217,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6113
6217
|
depth: number;
|
|
6114
6218
|
commissionRate: string;
|
|
6115
6219
|
};
|
|
6220
|
+
401: "Unauthorized";
|
|
6221
|
+
403: "Forbidden: Admins only";
|
|
6116
6222
|
422: {
|
|
6117
6223
|
type: "validation";
|
|
6118
6224
|
on: string;
|
|
@@ -6122,8 +6228,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6122
6228
|
property?: string;
|
|
6123
6229
|
expected?: string;
|
|
6124
6230
|
};
|
|
6125
|
-
401: "Unauthorized";
|
|
6126
|
-
403: "Forbidden: Admins only";
|
|
6127
6231
|
};
|
|
6128
6232
|
};
|
|
6129
6233
|
};
|
|
@@ -6144,6 +6248,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6144
6248
|
200: {
|
|
6145
6249
|
success: boolean;
|
|
6146
6250
|
};
|
|
6251
|
+
401: "Unauthorized";
|
|
6252
|
+
403: "Forbidden: Admins only";
|
|
6147
6253
|
422: {
|
|
6148
6254
|
type: "validation";
|
|
6149
6255
|
on: string;
|
|
@@ -6153,8 +6259,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6153
6259
|
property?: string;
|
|
6154
6260
|
expected?: string;
|
|
6155
6261
|
};
|
|
6156
|
-
401: "Unauthorized";
|
|
6157
|
-
403: "Forbidden: Admins only";
|
|
6158
6262
|
};
|
|
6159
6263
|
};
|
|
6160
6264
|
};
|
|
@@ -6216,6 +6320,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6216
6320
|
deletedAt: Date | null;
|
|
6217
6321
|
};
|
|
6218
6322
|
};
|
|
6323
|
+
401: "Unauthorized";
|
|
6324
|
+
403: "Forbidden: Admins only";
|
|
6219
6325
|
422: {
|
|
6220
6326
|
type: "validation";
|
|
6221
6327
|
on: string;
|
|
@@ -6225,8 +6331,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6225
6331
|
property?: string;
|
|
6226
6332
|
expected?: string;
|
|
6227
6333
|
};
|
|
6228
|
-
401: "Unauthorized";
|
|
6229
|
-
403: "Forbidden: Admins only";
|
|
6230
6334
|
};
|
|
6231
6335
|
};
|
|
6232
6336
|
};
|
|
@@ -6338,6 +6442,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6338
6442
|
hasNextPage: boolean;
|
|
6339
6443
|
};
|
|
6340
6444
|
};
|
|
6445
|
+
401: "Unauthorized";
|
|
6446
|
+
403: "Forbidden: Admins only";
|
|
6341
6447
|
422: {
|
|
6342
6448
|
type: "validation";
|
|
6343
6449
|
on: string;
|
|
@@ -6347,8 +6453,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6347
6453
|
property?: string;
|
|
6348
6454
|
expected?: string;
|
|
6349
6455
|
};
|
|
6350
|
-
401: "Unauthorized";
|
|
6351
|
-
403: "Forbidden: Admins only";
|
|
6352
6456
|
};
|
|
6353
6457
|
};
|
|
6354
6458
|
};
|
|
@@ -6392,6 +6496,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6392
6496
|
hasNextPage: boolean;
|
|
6393
6497
|
};
|
|
6394
6498
|
};
|
|
6499
|
+
401: "Unauthorized";
|
|
6500
|
+
403: "Forbidden: Admins only";
|
|
6395
6501
|
422: {
|
|
6396
6502
|
type: "validation";
|
|
6397
6503
|
on: string;
|
|
@@ -6401,8 +6507,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6401
6507
|
property?: string;
|
|
6402
6508
|
expected?: string;
|
|
6403
6509
|
};
|
|
6404
|
-
401: "Unauthorized";
|
|
6405
|
-
403: "Forbidden: Admins only";
|
|
6406
6510
|
};
|
|
6407
6511
|
};
|
|
6408
6512
|
};
|
|
@@ -6416,7 +6520,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6416
6520
|
post: {
|
|
6417
6521
|
body: {
|
|
6418
6522
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6419
|
-
pricingSource?: string | undefined;
|
|
6420
6523
|
isBuyEnabled?: boolean | undefined;
|
|
6421
6524
|
isSellEnabled?: boolean | undefined;
|
|
6422
6525
|
maxBaseAmount?: string | null | undefined;
|
|
@@ -6425,9 +6528,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6425
6528
|
maxSlippageBps?: string | undefined;
|
|
6426
6529
|
name: string;
|
|
6427
6530
|
baseAssetId: string;
|
|
6428
|
-
quoteAssetId: string;
|
|
6429
|
-
systemBaseAccountId: string;
|
|
6430
|
-
systemQuoteAccountId: string;
|
|
6431
6531
|
minBaseAmount: string;
|
|
6432
6532
|
};
|
|
6433
6533
|
params: {};
|
|
@@ -6442,9 +6542,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6442
6542
|
status: "active" | "draft" | "paused" | "ended";
|
|
6443
6543
|
baseAssetId: string;
|
|
6444
6544
|
quoteAssetId: string;
|
|
6445
|
-
pricingSource: string;
|
|
6446
|
-
systemBaseAccountId: string;
|
|
6447
|
-
systemQuoteAccountId: string;
|
|
6448
6545
|
isBuyEnabled: boolean;
|
|
6449
6546
|
isSellEnabled: boolean;
|
|
6450
6547
|
minBaseAmount: string;
|
|
@@ -6453,7 +6550,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6453
6550
|
dailyUserSellBaseLimit: string | null;
|
|
6454
6551
|
maxSlippageBps: string;
|
|
6455
6552
|
baseAsset: {
|
|
6456
|
-
symbol: string;
|
|
6553
|
+
symbol: string | null;
|
|
6457
6554
|
id: string;
|
|
6458
6555
|
name: string;
|
|
6459
6556
|
createdAt: Date;
|
|
@@ -6462,11 +6559,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6462
6559
|
iconUrl: string;
|
|
6463
6560
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6464
6561
|
isActive: boolean;
|
|
6465
|
-
typeId: string;
|
|
6562
|
+
typeId: string | null;
|
|
6466
6563
|
precision: number;
|
|
6467
6564
|
};
|
|
6468
6565
|
quoteAsset: {
|
|
6469
|
-
symbol: string;
|
|
6566
|
+
symbol: string | null;
|
|
6470
6567
|
id: string;
|
|
6471
6568
|
name: string;
|
|
6472
6569
|
createdAt: Date;
|
|
@@ -6475,146 +6572,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6475
6572
|
iconUrl: string;
|
|
6476
6573
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6477
6574
|
isActive: boolean;
|
|
6478
|
-
typeId: string;
|
|
6575
|
+
typeId: string | null;
|
|
6479
6576
|
precision: number;
|
|
6480
6577
|
};
|
|
6481
|
-
systemBaseAccount: {
|
|
6482
|
-
id: string;
|
|
6483
|
-
createdAt: Date;
|
|
6484
|
-
updatedAt: Date;
|
|
6485
|
-
userId: string;
|
|
6486
|
-
status: "active" | "frozen" | "disabled";
|
|
6487
|
-
assetId: string;
|
|
6488
|
-
ledgerAccountTypeId: string;
|
|
6489
|
-
available: string;
|
|
6490
|
-
locked: string;
|
|
6491
|
-
version: number;
|
|
6492
|
-
user: {
|
|
6493
|
-
email: string;
|
|
6494
|
-
id: string;
|
|
6495
|
-
name: string;
|
|
6496
|
-
emailVerified: boolean;
|
|
6497
|
-
image: string | null;
|
|
6498
|
-
createdAt: Date;
|
|
6499
|
-
updatedAt: Date;
|
|
6500
|
-
twoFactorEnabled: boolean | null;
|
|
6501
|
-
username: string | null;
|
|
6502
|
-
displayUsername: string | null;
|
|
6503
|
-
phoneNumber: string | null;
|
|
6504
|
-
phoneNumberVerified: boolean | null;
|
|
6505
|
-
role: string | null;
|
|
6506
|
-
banned: boolean | null;
|
|
6507
|
-
banReason: string | null;
|
|
6508
|
-
banExpires: Date | null;
|
|
6509
|
-
};
|
|
6510
|
-
asset: {
|
|
6511
|
-
symbol: string;
|
|
6512
|
-
id: string;
|
|
6513
|
-
name: string;
|
|
6514
|
-
createdAt: Date;
|
|
6515
|
-
updatedAt: Date;
|
|
6516
|
-
code: string;
|
|
6517
|
-
iconUrl: string;
|
|
6518
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6519
|
-
isActive: boolean;
|
|
6520
|
-
typeId: string;
|
|
6521
|
-
precision: number;
|
|
6522
|
-
};
|
|
6523
|
-
ledgerAccountType: {
|
|
6524
|
-
id: string;
|
|
6525
|
-
name: string;
|
|
6526
|
-
createdAt: Date;
|
|
6527
|
-
updatedAt: Date;
|
|
6528
|
-
description: string | null;
|
|
6529
|
-
key: string;
|
|
6530
|
-
isActive: boolean;
|
|
6531
|
-
allowDeposit: boolean;
|
|
6532
|
-
allowWithdraw: boolean;
|
|
6533
|
-
minWithdrawAmount: string;
|
|
6534
|
-
maxWithdrawAmount: string;
|
|
6535
|
-
allowTransfer: boolean;
|
|
6536
|
-
minTransferAmount: string;
|
|
6537
|
-
maxTransferAmount: string;
|
|
6538
|
-
allowInternalTransfer: boolean;
|
|
6539
|
-
allowInternalReceiveTransfer: boolean;
|
|
6540
|
-
minInternalTransferAmount: string;
|
|
6541
|
-
maxInternalTransferAmount: string;
|
|
6542
|
-
internalTransferRatio: string;
|
|
6543
|
-
allowTransaction: boolean;
|
|
6544
|
-
hasExpiry: boolean;
|
|
6545
|
-
expiryDays: number | null;
|
|
6546
|
-
sortOrder: number;
|
|
6547
|
-
};
|
|
6548
|
-
};
|
|
6549
|
-
systemQuoteAccount: {
|
|
6550
|
-
id: string;
|
|
6551
|
-
createdAt: Date;
|
|
6552
|
-
updatedAt: Date;
|
|
6553
|
-
userId: string;
|
|
6554
|
-
status: "active" | "frozen" | "disabled";
|
|
6555
|
-
assetId: string;
|
|
6556
|
-
ledgerAccountTypeId: string;
|
|
6557
|
-
available: string;
|
|
6558
|
-
locked: string;
|
|
6559
|
-
version: number;
|
|
6560
|
-
user: {
|
|
6561
|
-
email: string;
|
|
6562
|
-
id: string;
|
|
6563
|
-
name: string;
|
|
6564
|
-
emailVerified: boolean;
|
|
6565
|
-
image: string | null;
|
|
6566
|
-
createdAt: Date;
|
|
6567
|
-
updatedAt: Date;
|
|
6568
|
-
twoFactorEnabled: boolean | null;
|
|
6569
|
-
username: string | null;
|
|
6570
|
-
displayUsername: string | null;
|
|
6571
|
-
phoneNumber: string | null;
|
|
6572
|
-
phoneNumberVerified: boolean | null;
|
|
6573
|
-
role: string | null;
|
|
6574
|
-
banned: boolean | null;
|
|
6575
|
-
banReason: string | null;
|
|
6576
|
-
banExpires: Date | null;
|
|
6577
|
-
};
|
|
6578
|
-
asset: {
|
|
6579
|
-
symbol: string;
|
|
6580
|
-
id: string;
|
|
6581
|
-
name: string;
|
|
6582
|
-
createdAt: Date;
|
|
6583
|
-
updatedAt: Date;
|
|
6584
|
-
code: string;
|
|
6585
|
-
iconUrl: string;
|
|
6586
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6587
|
-
isActive: boolean;
|
|
6588
|
-
typeId: string;
|
|
6589
|
-
precision: number;
|
|
6590
|
-
};
|
|
6591
|
-
ledgerAccountType: {
|
|
6592
|
-
id: string;
|
|
6593
|
-
name: string;
|
|
6594
|
-
createdAt: Date;
|
|
6595
|
-
updatedAt: Date;
|
|
6596
|
-
description: string | null;
|
|
6597
|
-
key: string;
|
|
6598
|
-
isActive: boolean;
|
|
6599
|
-
allowDeposit: boolean;
|
|
6600
|
-
allowWithdraw: boolean;
|
|
6601
|
-
minWithdrawAmount: string;
|
|
6602
|
-
maxWithdrawAmount: string;
|
|
6603
|
-
allowTransfer: boolean;
|
|
6604
|
-
minTransferAmount: string;
|
|
6605
|
-
maxTransferAmount: string;
|
|
6606
|
-
allowInternalTransfer: boolean;
|
|
6607
|
-
allowInternalReceiveTransfer: boolean;
|
|
6608
|
-
minInternalTransferAmount: string;
|
|
6609
|
-
maxInternalTransferAmount: string;
|
|
6610
|
-
internalTransferRatio: string;
|
|
6611
|
-
allowTransaction: boolean;
|
|
6612
|
-
hasExpiry: boolean;
|
|
6613
|
-
expiryDays: number | null;
|
|
6614
|
-
sortOrder: number;
|
|
6615
|
-
};
|
|
6616
|
-
};
|
|
6617
6578
|
};
|
|
6579
|
+
401: "Unauthorized";
|
|
6580
|
+
403: "Forbidden: Admins only";
|
|
6618
6581
|
422: {
|
|
6619
6582
|
type: "validation";
|
|
6620
6583
|
on: string;
|
|
@@ -6624,8 +6587,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6624
6587
|
property?: string;
|
|
6625
6588
|
expected?: string;
|
|
6626
6589
|
};
|
|
6627
|
-
401: "Unauthorized";
|
|
6628
|
-
403: "Forbidden: Admins only";
|
|
6629
6590
|
};
|
|
6630
6591
|
};
|
|
6631
6592
|
};
|
|
@@ -6639,10 +6600,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6639
6600
|
name?: string | undefined;
|
|
6640
6601
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6641
6602
|
baseAssetId?: string | undefined;
|
|
6642
|
-
quoteAssetId?: string | undefined;
|
|
6643
|
-
pricingSource?: string | undefined;
|
|
6644
|
-
systemBaseAccountId?: string | undefined;
|
|
6645
|
-
systemQuoteAccountId?: string | undefined;
|
|
6646
6603
|
isBuyEnabled?: boolean | undefined;
|
|
6647
6604
|
isSellEnabled?: boolean | undefined;
|
|
6648
6605
|
minBaseAmount?: string | undefined;
|
|
@@ -6665,9 +6622,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6665
6622
|
status: "active" | "draft" | "paused" | "ended";
|
|
6666
6623
|
baseAssetId: string;
|
|
6667
6624
|
quoteAssetId: string;
|
|
6668
|
-
pricingSource: string;
|
|
6669
|
-
systemBaseAccountId: string;
|
|
6670
|
-
systemQuoteAccountId: string;
|
|
6671
6625
|
isBuyEnabled: boolean;
|
|
6672
6626
|
isSellEnabled: boolean;
|
|
6673
6627
|
minBaseAmount: string;
|
|
@@ -6676,7 +6630,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6676
6630
|
dailyUserSellBaseLimit: string | null;
|
|
6677
6631
|
maxSlippageBps: string;
|
|
6678
6632
|
baseAsset: {
|
|
6679
|
-
symbol: string;
|
|
6633
|
+
symbol: string | null;
|
|
6680
6634
|
id: string;
|
|
6681
6635
|
name: string;
|
|
6682
6636
|
createdAt: Date;
|
|
@@ -6685,11 +6639,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6685
6639
|
iconUrl: string;
|
|
6686
6640
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6687
6641
|
isActive: boolean;
|
|
6688
|
-
typeId: string;
|
|
6642
|
+
typeId: string | null;
|
|
6689
6643
|
precision: number;
|
|
6690
6644
|
};
|
|
6691
6645
|
quoteAsset: {
|
|
6692
|
-
symbol: string;
|
|
6646
|
+
symbol: string | null;
|
|
6693
6647
|
id: string;
|
|
6694
6648
|
name: string;
|
|
6695
6649
|
createdAt: Date;
|
|
@@ -6698,146 +6652,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6698
6652
|
iconUrl: string;
|
|
6699
6653
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6700
6654
|
isActive: boolean;
|
|
6701
|
-
typeId: string;
|
|
6655
|
+
typeId: string | null;
|
|
6702
6656
|
precision: number;
|
|
6703
6657
|
};
|
|
6704
|
-
systemBaseAccount: {
|
|
6705
|
-
id: string;
|
|
6706
|
-
createdAt: Date;
|
|
6707
|
-
updatedAt: Date;
|
|
6708
|
-
userId: string;
|
|
6709
|
-
status: "active" | "frozen" | "disabled";
|
|
6710
|
-
assetId: string;
|
|
6711
|
-
ledgerAccountTypeId: string;
|
|
6712
|
-
available: string;
|
|
6713
|
-
locked: string;
|
|
6714
|
-
version: number;
|
|
6715
|
-
user: {
|
|
6716
|
-
email: string;
|
|
6717
|
-
id: string;
|
|
6718
|
-
name: string;
|
|
6719
|
-
emailVerified: boolean;
|
|
6720
|
-
image: string | null;
|
|
6721
|
-
createdAt: Date;
|
|
6722
|
-
updatedAt: Date;
|
|
6723
|
-
twoFactorEnabled: boolean | null;
|
|
6724
|
-
username: string | null;
|
|
6725
|
-
displayUsername: string | null;
|
|
6726
|
-
phoneNumber: string | null;
|
|
6727
|
-
phoneNumberVerified: boolean | null;
|
|
6728
|
-
role: string | null;
|
|
6729
|
-
banned: boolean | null;
|
|
6730
|
-
banReason: string | null;
|
|
6731
|
-
banExpires: Date | null;
|
|
6732
|
-
};
|
|
6733
|
-
asset: {
|
|
6734
|
-
symbol: string;
|
|
6735
|
-
id: string;
|
|
6736
|
-
name: string;
|
|
6737
|
-
createdAt: Date;
|
|
6738
|
-
updatedAt: Date;
|
|
6739
|
-
code: string;
|
|
6740
|
-
iconUrl: string;
|
|
6741
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6742
|
-
isActive: boolean;
|
|
6743
|
-
typeId: string;
|
|
6744
|
-
precision: number;
|
|
6745
|
-
};
|
|
6746
|
-
ledgerAccountType: {
|
|
6747
|
-
id: string;
|
|
6748
|
-
name: string;
|
|
6749
|
-
createdAt: Date;
|
|
6750
|
-
updatedAt: Date;
|
|
6751
|
-
description: string | null;
|
|
6752
|
-
key: string;
|
|
6753
|
-
isActive: boolean;
|
|
6754
|
-
allowDeposit: boolean;
|
|
6755
|
-
allowWithdraw: boolean;
|
|
6756
|
-
minWithdrawAmount: string;
|
|
6757
|
-
maxWithdrawAmount: string;
|
|
6758
|
-
allowTransfer: boolean;
|
|
6759
|
-
minTransferAmount: string;
|
|
6760
|
-
maxTransferAmount: string;
|
|
6761
|
-
allowInternalTransfer: boolean;
|
|
6762
|
-
allowInternalReceiveTransfer: boolean;
|
|
6763
|
-
minInternalTransferAmount: string;
|
|
6764
|
-
maxInternalTransferAmount: string;
|
|
6765
|
-
internalTransferRatio: string;
|
|
6766
|
-
allowTransaction: boolean;
|
|
6767
|
-
hasExpiry: boolean;
|
|
6768
|
-
expiryDays: number | null;
|
|
6769
|
-
sortOrder: number;
|
|
6770
|
-
};
|
|
6771
|
-
};
|
|
6772
|
-
systemQuoteAccount: {
|
|
6773
|
-
id: string;
|
|
6774
|
-
createdAt: Date;
|
|
6775
|
-
updatedAt: Date;
|
|
6776
|
-
userId: string;
|
|
6777
|
-
status: "active" | "frozen" | "disabled";
|
|
6778
|
-
assetId: string;
|
|
6779
|
-
ledgerAccountTypeId: string;
|
|
6780
|
-
available: string;
|
|
6781
|
-
locked: string;
|
|
6782
|
-
version: number;
|
|
6783
|
-
user: {
|
|
6784
|
-
email: string;
|
|
6785
|
-
id: string;
|
|
6786
|
-
name: string;
|
|
6787
|
-
emailVerified: boolean;
|
|
6788
|
-
image: string | null;
|
|
6789
|
-
createdAt: Date;
|
|
6790
|
-
updatedAt: Date;
|
|
6791
|
-
twoFactorEnabled: boolean | null;
|
|
6792
|
-
username: string | null;
|
|
6793
|
-
displayUsername: string | null;
|
|
6794
|
-
phoneNumber: string | null;
|
|
6795
|
-
phoneNumberVerified: boolean | null;
|
|
6796
|
-
role: string | null;
|
|
6797
|
-
banned: boolean | null;
|
|
6798
|
-
banReason: string | null;
|
|
6799
|
-
banExpires: Date | null;
|
|
6800
|
-
};
|
|
6801
|
-
asset: {
|
|
6802
|
-
symbol: string;
|
|
6803
|
-
id: string;
|
|
6804
|
-
name: string;
|
|
6805
|
-
createdAt: Date;
|
|
6806
|
-
updatedAt: Date;
|
|
6807
|
-
code: string;
|
|
6808
|
-
iconUrl: string;
|
|
6809
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6810
|
-
isActive: boolean;
|
|
6811
|
-
typeId: string;
|
|
6812
|
-
precision: number;
|
|
6813
|
-
};
|
|
6814
|
-
ledgerAccountType: {
|
|
6815
|
-
id: string;
|
|
6816
|
-
name: string;
|
|
6817
|
-
createdAt: Date;
|
|
6818
|
-
updatedAt: Date;
|
|
6819
|
-
description: string | null;
|
|
6820
|
-
key: string;
|
|
6821
|
-
isActive: boolean;
|
|
6822
|
-
allowDeposit: boolean;
|
|
6823
|
-
allowWithdraw: boolean;
|
|
6824
|
-
minWithdrawAmount: string;
|
|
6825
|
-
maxWithdrawAmount: string;
|
|
6826
|
-
allowTransfer: boolean;
|
|
6827
|
-
minTransferAmount: string;
|
|
6828
|
-
maxTransferAmount: string;
|
|
6829
|
-
allowInternalTransfer: boolean;
|
|
6830
|
-
allowInternalReceiveTransfer: boolean;
|
|
6831
|
-
minInternalTransferAmount: string;
|
|
6832
|
-
maxInternalTransferAmount: string;
|
|
6833
|
-
internalTransferRatio: string;
|
|
6834
|
-
allowTransaction: boolean;
|
|
6835
|
-
hasExpiry: boolean;
|
|
6836
|
-
expiryDays: number | null;
|
|
6837
|
-
sortOrder: number;
|
|
6838
|
-
};
|
|
6839
|
-
};
|
|
6840
6658
|
};
|
|
6659
|
+
401: "Unauthorized";
|
|
6660
|
+
403: "Forbidden: Admins only";
|
|
6841
6661
|
422: {
|
|
6842
6662
|
type: "validation";
|
|
6843
6663
|
on: string;
|
|
@@ -6847,8 +6667,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6847
6667
|
property?: string;
|
|
6848
6668
|
expected?: string;
|
|
6849
6669
|
};
|
|
6850
|
-
401: "Unauthorized";
|
|
6851
|
-
403: "Forbidden: Admins only";
|
|
6852
6670
|
};
|
|
6853
6671
|
};
|
|
6854
6672
|
};
|
|
@@ -6874,9 +6692,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6874
6692
|
name: string;
|
|
6875
6693
|
baseAssetId: string;
|
|
6876
6694
|
quoteAssetId: string;
|
|
6877
|
-
pricingSource: string;
|
|
6878
|
-
systemBaseAccountId: string;
|
|
6879
|
-
systemQuoteAccountId: string;
|
|
6880
6695
|
isBuyEnabled: boolean;
|
|
6881
6696
|
isSellEnabled: boolean;
|
|
6882
6697
|
minBaseAmount: string;
|
|
@@ -6886,6 +6701,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6886
6701
|
maxSlippageBps: string;
|
|
6887
6702
|
status: "active" | "draft" | "paused" | "ended";
|
|
6888
6703
|
};
|
|
6704
|
+
401: "Unauthorized";
|
|
6705
|
+
403: "Forbidden: Admins only";
|
|
6889
6706
|
422: {
|
|
6890
6707
|
type: "validation";
|
|
6891
6708
|
on: string;
|
|
@@ -6895,8 +6712,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6895
6712
|
property?: string;
|
|
6896
6713
|
expected?: string;
|
|
6897
6714
|
};
|
|
6898
|
-
401: "Unauthorized";
|
|
6899
|
-
403: "Forbidden: Admins only";
|
|
6900
6715
|
};
|
|
6901
6716
|
};
|
|
6902
6717
|
};
|
|
@@ -6923,9 +6738,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6923
6738
|
name: string;
|
|
6924
6739
|
baseAssetId: string;
|
|
6925
6740
|
quoteAssetId: string;
|
|
6926
|
-
pricingSource: string;
|
|
6927
|
-
systemBaseAccountId: string;
|
|
6928
|
-
systemQuoteAccountId: string;
|
|
6929
6741
|
isBuyEnabled: boolean;
|
|
6930
6742
|
isSellEnabled: boolean;
|
|
6931
6743
|
minBaseAmount: string;
|
|
@@ -6935,6 +6747,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6935
6747
|
maxSlippageBps: string;
|
|
6936
6748
|
status: "active" | "draft" | "paused" | "ended";
|
|
6937
6749
|
};
|
|
6750
|
+
401: "Unauthorized";
|
|
6751
|
+
403: "Forbidden: Admins only";
|
|
6938
6752
|
422: {
|
|
6939
6753
|
type: "validation";
|
|
6940
6754
|
on: string;
|
|
@@ -6944,8 +6758,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6944
6758
|
property?: string;
|
|
6945
6759
|
expected?: string;
|
|
6946
6760
|
};
|
|
6947
|
-
401: "Unauthorized";
|
|
6948
|
-
403: "Forbidden: Admins only";
|
|
6949
6761
|
};
|
|
6950
6762
|
};
|
|
6951
6763
|
};
|
|
@@ -6972,9 +6784,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6972
6784
|
name: string;
|
|
6973
6785
|
baseAssetId: string;
|
|
6974
6786
|
quoteAssetId: string;
|
|
6975
|
-
pricingSource: string;
|
|
6976
|
-
systemBaseAccountId: string;
|
|
6977
|
-
systemQuoteAccountId: string;
|
|
6978
6787
|
isBuyEnabled: boolean;
|
|
6979
6788
|
isSellEnabled: boolean;
|
|
6980
6789
|
minBaseAmount: string;
|
|
@@ -6984,6 +6793,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6984
6793
|
maxSlippageBps: string;
|
|
6985
6794
|
status: "active" | "draft" | "paused" | "ended";
|
|
6986
6795
|
};
|
|
6796
|
+
401: "Unauthorized";
|
|
6797
|
+
403: "Forbidden: Admins only";
|
|
6987
6798
|
422: {
|
|
6988
6799
|
type: "validation";
|
|
6989
6800
|
on: string;
|
|
@@ -6993,8 +6804,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6993
6804
|
property?: string;
|
|
6994
6805
|
expected?: string;
|
|
6995
6806
|
};
|
|
6996
|
-
401: "Unauthorized";
|
|
6997
|
-
403: "Forbidden: Admins only";
|
|
6998
6807
|
};
|
|
6999
6808
|
};
|
|
7000
6809
|
};
|
|
@@ -7012,191 +6821,52 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7012
6821
|
limit?: number | undefined;
|
|
7013
6822
|
offset?: number | undefined;
|
|
7014
6823
|
pageSize?: number | undefined;
|
|
7015
|
-
pageIndex?: number | undefined;
|
|
7016
|
-
};
|
|
7017
|
-
headers: {};
|
|
7018
|
-
response: {
|
|
7019
|
-
200: {
|
|
7020
|
-
data: {
|
|
7021
|
-
id: string;
|
|
7022
|
-
name: string;
|
|
7023
|
-
createdAt: Date;
|
|
7024
|
-
updatedAt: Date;
|
|
7025
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
7026
|
-
baseAssetId: string;
|
|
7027
|
-
baseAsset: {
|
|
7028
|
-
symbol: string;
|
|
7029
|
-
id: string;
|
|
7030
|
-
name: string;
|
|
7031
|
-
createdAt: Date;
|
|
7032
|
-
updatedAt: Date;
|
|
7033
|
-
code: string;
|
|
7034
|
-
iconUrl: string;
|
|
7035
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7036
|
-
isActive: boolean;
|
|
7037
|
-
typeId: string;
|
|
7038
|
-
precision: number;
|
|
7039
|
-
};
|
|
7040
|
-
quoteAssetId: string;
|
|
7041
|
-
quoteAsset: {
|
|
7042
|
-
symbol: string;
|
|
7043
|
-
id: string;
|
|
7044
|
-
name: string;
|
|
7045
|
-
createdAt: Date;
|
|
7046
|
-
updatedAt: Date;
|
|
7047
|
-
code: string;
|
|
7048
|
-
iconUrl: string;
|
|
7049
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7050
|
-
isActive: boolean;
|
|
7051
|
-
typeId: string;
|
|
7052
|
-
precision: number;
|
|
7053
|
-
};
|
|
7054
|
-
pricingSource: string;
|
|
7055
|
-
systemBaseAccountId: string;
|
|
7056
|
-
systemQuoteAccountId: string;
|
|
7057
|
-
isBuyEnabled: boolean;
|
|
7058
|
-
isSellEnabled: boolean;
|
|
7059
|
-
minBaseAmount: string;
|
|
7060
|
-
maxBaseAmount: string | null;
|
|
7061
|
-
dailyUserBuyBaseLimit: string | null;
|
|
7062
|
-
dailyUserSellBaseLimit: string | null;
|
|
7063
|
-
maxSlippageBps: string;
|
|
7064
|
-
systemBaseAccount: {
|
|
7065
|
-
user: {
|
|
7066
|
-
email: string;
|
|
7067
|
-
id: string;
|
|
7068
|
-
name: string;
|
|
7069
|
-
emailVerified: boolean;
|
|
7070
|
-
image: string | null;
|
|
7071
|
-
createdAt: Date;
|
|
7072
|
-
updatedAt: Date;
|
|
7073
|
-
twoFactorEnabled: boolean | null;
|
|
7074
|
-
username: string | null;
|
|
7075
|
-
displayUsername: string | null;
|
|
7076
|
-
phoneNumber: string | null;
|
|
7077
|
-
phoneNumberVerified: boolean | null;
|
|
7078
|
-
role: string | null;
|
|
7079
|
-
banned: boolean | null;
|
|
7080
|
-
banReason: string | null;
|
|
7081
|
-
banExpires: Date | null;
|
|
7082
|
-
};
|
|
7083
|
-
id: string;
|
|
7084
|
-
createdAt: Date;
|
|
7085
|
-
updatedAt: Date;
|
|
7086
|
-
userId: string;
|
|
7087
|
-
status: "active" | "frozen" | "disabled";
|
|
7088
|
-
asset: {
|
|
7089
|
-
symbol: string;
|
|
7090
|
-
id: string;
|
|
7091
|
-
name: string;
|
|
7092
|
-
createdAt: Date;
|
|
7093
|
-
updatedAt: Date;
|
|
7094
|
-
code: string;
|
|
7095
|
-
iconUrl: string;
|
|
7096
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7097
|
-
isActive: boolean;
|
|
7098
|
-
typeId: string;
|
|
7099
|
-
precision: number;
|
|
7100
|
-
};
|
|
7101
|
-
assetId: string;
|
|
7102
|
-
ledgerAccountTypeId: string;
|
|
7103
|
-
available: string;
|
|
7104
|
-
locked: string;
|
|
7105
|
-
version: number;
|
|
7106
|
-
ledgerAccountType: {
|
|
7107
|
-
id: string;
|
|
7108
|
-
name: string;
|
|
7109
|
-
createdAt: Date;
|
|
7110
|
-
updatedAt: Date;
|
|
7111
|
-
description: string | null;
|
|
7112
|
-
key: string;
|
|
7113
|
-
isActive: boolean;
|
|
7114
|
-
allowDeposit: boolean;
|
|
7115
|
-
allowWithdraw: boolean;
|
|
7116
|
-
minWithdrawAmount: string;
|
|
7117
|
-
maxWithdrawAmount: string;
|
|
7118
|
-
allowTransfer: boolean;
|
|
7119
|
-
minTransferAmount: string;
|
|
7120
|
-
maxTransferAmount: string;
|
|
7121
|
-
allowInternalTransfer: boolean;
|
|
7122
|
-
allowInternalReceiveTransfer: boolean;
|
|
7123
|
-
minInternalTransferAmount: string;
|
|
7124
|
-
maxInternalTransferAmount: string;
|
|
7125
|
-
internalTransferRatio: string;
|
|
7126
|
-
allowTransaction: boolean;
|
|
7127
|
-
hasExpiry: boolean;
|
|
7128
|
-
expiryDays: number | null;
|
|
7129
|
-
sortOrder: number;
|
|
7130
|
-
};
|
|
6824
|
+
pageIndex?: number | undefined;
|
|
6825
|
+
};
|
|
6826
|
+
headers: {};
|
|
6827
|
+
response: {
|
|
6828
|
+
200: {
|
|
6829
|
+
data: {
|
|
6830
|
+
id: string;
|
|
6831
|
+
name: string;
|
|
6832
|
+
createdAt: Date;
|
|
6833
|
+
updatedAt: Date;
|
|
6834
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
6835
|
+
baseAssetId: string;
|
|
6836
|
+
baseAsset: {
|
|
6837
|
+
symbol: string | null;
|
|
6838
|
+
id: string;
|
|
6839
|
+
name: string;
|
|
6840
|
+
createdAt: Date;
|
|
6841
|
+
updatedAt: Date;
|
|
6842
|
+
code: string;
|
|
6843
|
+
iconUrl: string;
|
|
6844
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6845
|
+
isActive: boolean;
|
|
6846
|
+
typeId: string | null;
|
|
6847
|
+
precision: number;
|
|
7131
6848
|
};
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
id: string;
|
|
7136
|
-
name: string;
|
|
7137
|
-
emailVerified: boolean;
|
|
7138
|
-
image: string | null;
|
|
7139
|
-
createdAt: Date;
|
|
7140
|
-
updatedAt: Date;
|
|
7141
|
-
twoFactorEnabled: boolean | null;
|
|
7142
|
-
username: string | null;
|
|
7143
|
-
displayUsername: string | null;
|
|
7144
|
-
phoneNumber: string | null;
|
|
7145
|
-
phoneNumberVerified: boolean | null;
|
|
7146
|
-
role: string | null;
|
|
7147
|
-
banned: boolean | null;
|
|
7148
|
-
banReason: string | null;
|
|
7149
|
-
banExpires: Date | null;
|
|
7150
|
-
};
|
|
6849
|
+
quoteAssetId: string;
|
|
6850
|
+
quoteAsset: {
|
|
6851
|
+
symbol: string | null;
|
|
7151
6852
|
id: string;
|
|
6853
|
+
name: string;
|
|
7152
6854
|
createdAt: Date;
|
|
7153
6855
|
updatedAt: Date;
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
createdAt: Date;
|
|
7161
|
-
updatedAt: Date;
|
|
7162
|
-
code: string;
|
|
7163
|
-
iconUrl: string;
|
|
7164
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7165
|
-
isActive: boolean;
|
|
7166
|
-
typeId: string;
|
|
7167
|
-
precision: number;
|
|
7168
|
-
};
|
|
7169
|
-
assetId: string;
|
|
7170
|
-
ledgerAccountTypeId: string;
|
|
7171
|
-
available: string;
|
|
7172
|
-
locked: string;
|
|
7173
|
-
version: number;
|
|
7174
|
-
ledgerAccountType: {
|
|
7175
|
-
id: string;
|
|
7176
|
-
name: string;
|
|
7177
|
-
createdAt: Date;
|
|
7178
|
-
updatedAt: Date;
|
|
7179
|
-
description: string | null;
|
|
7180
|
-
key: string;
|
|
7181
|
-
isActive: boolean;
|
|
7182
|
-
allowDeposit: boolean;
|
|
7183
|
-
allowWithdraw: boolean;
|
|
7184
|
-
minWithdrawAmount: string;
|
|
7185
|
-
maxWithdrawAmount: string;
|
|
7186
|
-
allowTransfer: boolean;
|
|
7187
|
-
minTransferAmount: string;
|
|
7188
|
-
maxTransferAmount: string;
|
|
7189
|
-
allowInternalTransfer: boolean;
|
|
7190
|
-
allowInternalReceiveTransfer: boolean;
|
|
7191
|
-
minInternalTransferAmount: string;
|
|
7192
|
-
maxInternalTransferAmount: string;
|
|
7193
|
-
internalTransferRatio: string;
|
|
7194
|
-
allowTransaction: boolean;
|
|
7195
|
-
hasExpiry: boolean;
|
|
7196
|
-
expiryDays: number | null;
|
|
7197
|
-
sortOrder: number;
|
|
7198
|
-
};
|
|
6856
|
+
code: string;
|
|
6857
|
+
iconUrl: string;
|
|
6858
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6859
|
+
isActive: boolean;
|
|
6860
|
+
typeId: string | null;
|
|
6861
|
+
precision: number;
|
|
7199
6862
|
};
|
|
6863
|
+
isBuyEnabled: boolean;
|
|
6864
|
+
isSellEnabled: boolean;
|
|
6865
|
+
minBaseAmount: string;
|
|
6866
|
+
maxBaseAmount: string | null;
|
|
6867
|
+
dailyUserBuyBaseLimit: string | null;
|
|
6868
|
+
dailyUserSellBaseLimit: string | null;
|
|
6869
|
+
maxSlippageBps: string;
|
|
7200
6870
|
}[];
|
|
7201
6871
|
pagination: {
|
|
7202
6872
|
total: number;
|
|
@@ -7206,6 +6876,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7206
6876
|
hasNextPage: boolean;
|
|
7207
6877
|
};
|
|
7208
6878
|
};
|
|
6879
|
+
401: "Unauthorized";
|
|
6880
|
+
403: "Forbidden: Admins only";
|
|
7209
6881
|
422: {
|
|
7210
6882
|
type: "validation";
|
|
7211
6883
|
on: string;
|
|
@@ -7215,8 +6887,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7215
6887
|
property?: string;
|
|
7216
6888
|
expected?: string;
|
|
7217
6889
|
};
|
|
7218
|
-
401: "Unauthorized";
|
|
7219
|
-
403: "Forbidden: Admins only";
|
|
7220
6890
|
};
|
|
7221
6891
|
};
|
|
7222
6892
|
};
|
|
@@ -7259,8 +6929,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7259
6929
|
pricingSourceSnapshot: string;
|
|
7260
6930
|
userBaseAccountId: string;
|
|
7261
6931
|
userQuoteAccountId: string;
|
|
7262
|
-
systemBaseAccountIdSnapshot: string;
|
|
7263
|
-
systemQuoteAccountIdSnapshot: string;
|
|
7264
6932
|
userDebitLedgerEntryId: string | null;
|
|
7265
6933
|
userCreditLedgerEntryId: string | null;
|
|
7266
6934
|
}[];
|
|
@@ -7272,6 +6940,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7272
6940
|
hasNextPage: boolean;
|
|
7273
6941
|
};
|
|
7274
6942
|
};
|
|
6943
|
+
401: "Unauthorized";
|
|
6944
|
+
403: "Forbidden: Admins only";
|
|
7275
6945
|
422: {
|
|
7276
6946
|
type: "validation";
|
|
7277
6947
|
on: string;
|
|
@@ -7281,8 +6951,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7281
6951
|
property?: string;
|
|
7282
6952
|
expected?: string;
|
|
7283
6953
|
};
|
|
7284
|
-
401: "Unauthorized";
|
|
7285
|
-
403: "Forbidden: Admins only";
|
|
7286
6954
|
};
|
|
7287
6955
|
};
|
|
7288
6956
|
};
|
|
@@ -7493,6 +7161,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7493
7161
|
query: {};
|
|
7494
7162
|
headers: {};
|
|
7495
7163
|
response: {
|
|
7164
|
+
401: "Unauthorized";
|
|
7165
|
+
403: "Forbidden: Admins only";
|
|
7496
7166
|
422: {
|
|
7497
7167
|
type: "validation";
|
|
7498
7168
|
on: string;
|
|
@@ -7502,8 +7172,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7502
7172
|
property?: string;
|
|
7503
7173
|
expected?: string;
|
|
7504
7174
|
};
|
|
7505
|
-
401: "Unauthorized";
|
|
7506
|
-
403: "Forbidden: Admins only";
|
|
7507
7175
|
};
|
|
7508
7176
|
};
|
|
7509
7177
|
};
|
|
@@ -7568,6 +7236,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7568
7236
|
hasNextPage: boolean;
|
|
7569
7237
|
};
|
|
7570
7238
|
};
|
|
7239
|
+
401: "Unauthorized";
|
|
7240
|
+
403: "Forbidden: Admins only";
|
|
7571
7241
|
422: {
|
|
7572
7242
|
type: "validation";
|
|
7573
7243
|
on: string;
|
|
@@ -7577,8 +7247,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7577
7247
|
property?: string;
|
|
7578
7248
|
expected?: string;
|
|
7579
7249
|
};
|
|
7580
|
-
401: "Unauthorized";
|
|
7581
|
-
403: "Forbidden: Admins only";
|
|
7582
7250
|
};
|
|
7583
7251
|
};
|
|
7584
7252
|
};
|
|
@@ -7660,6 +7328,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7660
7328
|
verificationNote: string | null;
|
|
7661
7329
|
} | null;
|
|
7662
7330
|
};
|
|
7331
|
+
401: "Unauthorized";
|
|
7332
|
+
403: "Forbidden: Admins only";
|
|
7663
7333
|
422: {
|
|
7664
7334
|
type: "validation";
|
|
7665
7335
|
on: string;
|
|
@@ -7669,8 +7339,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7669
7339
|
property?: string;
|
|
7670
7340
|
expected?: string;
|
|
7671
7341
|
};
|
|
7672
|
-
401: "Unauthorized";
|
|
7673
|
-
403: "Forbidden: Admins only";
|
|
7674
7342
|
};
|
|
7675
7343
|
};
|
|
7676
7344
|
};
|
|
@@ -7703,6 +7371,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7703
7371
|
query: {};
|
|
7704
7372
|
headers: {};
|
|
7705
7373
|
response: {
|
|
7374
|
+
401: "Unauthorized";
|
|
7375
|
+
403: "Forbidden: Admins only";
|
|
7706
7376
|
422: {
|
|
7707
7377
|
type: "validation";
|
|
7708
7378
|
on: string;
|
|
@@ -7712,8 +7382,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7712
7382
|
property?: string;
|
|
7713
7383
|
expected?: string;
|
|
7714
7384
|
};
|
|
7715
|
-
401: "Unauthorized";
|
|
7716
|
-
403: "Forbidden: Admins only";
|
|
7717
7385
|
};
|
|
7718
7386
|
};
|
|
7719
7387
|
};
|
|
@@ -7732,6 +7400,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7732
7400
|
200: {
|
|
7733
7401
|
success: boolean;
|
|
7734
7402
|
};
|
|
7403
|
+
401: "Unauthorized";
|
|
7404
|
+
403: "Forbidden: Admins only";
|
|
7735
7405
|
422: {
|
|
7736
7406
|
type: "validation";
|
|
7737
7407
|
on: string;
|
|
@@ -7741,8 +7411,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7741
7411
|
property?: string;
|
|
7742
7412
|
expected?: string;
|
|
7743
7413
|
};
|
|
7744
|
-
401: "Unauthorized";
|
|
7745
|
-
403: "Forbidden: Admins only";
|
|
7746
7414
|
};
|
|
7747
7415
|
};
|
|
7748
7416
|
};
|
|
@@ -7762,6 +7430,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7762
7430
|
query: {};
|
|
7763
7431
|
headers: {};
|
|
7764
7432
|
response: {
|
|
7433
|
+
401: "Unauthorized";
|
|
7434
|
+
403: "Forbidden: Admins only";
|
|
7765
7435
|
422: {
|
|
7766
7436
|
type: "validation";
|
|
7767
7437
|
on: string;
|
|
@@ -7771,8 +7441,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7771
7441
|
property?: string;
|
|
7772
7442
|
expected?: string;
|
|
7773
7443
|
};
|
|
7774
|
-
401: "Unauthorized";
|
|
7775
|
-
403: "Forbidden: Admins only";
|
|
7776
7444
|
};
|
|
7777
7445
|
};
|
|
7778
7446
|
};
|
|
@@ -7792,6 +7460,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7792
7460
|
query: {};
|
|
7793
7461
|
headers: {};
|
|
7794
7462
|
response: {
|
|
7463
|
+
401: "Unauthorized";
|
|
7464
|
+
403: "Forbidden: Admins only";
|
|
7795
7465
|
422: {
|
|
7796
7466
|
type: "validation";
|
|
7797
7467
|
on: string;
|
|
@@ -7801,8 +7471,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7801
7471
|
property?: string;
|
|
7802
7472
|
expected?: string;
|
|
7803
7473
|
};
|
|
7804
|
-
401: "Unauthorized";
|
|
7805
|
-
403: "Forbidden: Admins only";
|
|
7806
7474
|
};
|
|
7807
7475
|
};
|
|
7808
7476
|
};
|
|
@@ -7876,6 +7544,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7876
7544
|
loginTrendMetric: string;
|
|
7877
7545
|
};
|
|
7878
7546
|
};
|
|
7547
|
+
400: {
|
|
7548
|
+
message: string;
|
|
7549
|
+
};
|
|
7550
|
+
401: "Unauthorized";
|
|
7551
|
+
403: "Forbidden: Admins only";
|
|
7879
7552
|
422: {
|
|
7880
7553
|
type: "validation";
|
|
7881
7554
|
on: string;
|
|
@@ -7885,11 +7558,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7885
7558
|
property?: string;
|
|
7886
7559
|
expected?: string;
|
|
7887
7560
|
};
|
|
7888
|
-
400: {
|
|
7889
|
-
message: string;
|
|
7890
|
-
};
|
|
7891
|
-
401: "Unauthorized";
|
|
7892
|
-
403: "Forbidden: Admins only";
|
|
7893
7561
|
};
|
|
7894
7562
|
};
|
|
7895
7563
|
};
|
|
@@ -7937,6 +7605,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7937
7605
|
hasNextPage: boolean;
|
|
7938
7606
|
};
|
|
7939
7607
|
};
|
|
7608
|
+
401: "Unauthorized";
|
|
7609
|
+
403: "Forbidden: Admins only";
|
|
7940
7610
|
422: {
|
|
7941
7611
|
type: "validation";
|
|
7942
7612
|
on: string;
|
|
@@ -7946,8 +7616,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7946
7616
|
property?: string;
|
|
7947
7617
|
expected?: string;
|
|
7948
7618
|
};
|
|
7949
|
-
401: "Unauthorized";
|
|
7950
|
-
403: "Forbidden: Admins only";
|
|
7951
7619
|
};
|
|
7952
7620
|
};
|
|
7953
7621
|
};
|
|
@@ -7968,6 +7636,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7968
7636
|
query: {};
|
|
7969
7637
|
headers: {};
|
|
7970
7638
|
response: {
|
|
7639
|
+
401: "Unauthorized";
|
|
7640
|
+
403: "Forbidden: Admins only";
|
|
7971
7641
|
422: {
|
|
7972
7642
|
type: "validation";
|
|
7973
7643
|
on: string;
|
|
@@ -7977,8 +7647,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7977
7647
|
property?: string;
|
|
7978
7648
|
expected?: string;
|
|
7979
7649
|
};
|
|
7980
|
-
401: "Unauthorized";
|
|
7981
|
-
403: "Forbidden: Admins only";
|
|
7982
7650
|
};
|
|
7983
7651
|
};
|
|
7984
7652
|
};
|
|
@@ -8017,6 +7685,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8017
7685
|
sortOrder: number;
|
|
8018
7686
|
createdBy: string;
|
|
8019
7687
|
} | null;
|
|
7688
|
+
401: "Unauthorized";
|
|
7689
|
+
403: "Forbidden: Admins only";
|
|
8020
7690
|
422: {
|
|
8021
7691
|
type: "validation";
|
|
8022
7692
|
on: string;
|
|
@@ -8026,8 +7696,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8026
7696
|
property?: string;
|
|
8027
7697
|
expected?: string;
|
|
8028
7698
|
};
|
|
8029
|
-
401: "Unauthorized";
|
|
8030
|
-
403: "Forbidden: Admins only";
|
|
8031
7699
|
};
|
|
8032
7700
|
};
|
|
8033
7701
|
};
|
|
@@ -8061,6 +7729,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8061
7729
|
sortOrder: number;
|
|
8062
7730
|
createdBy: string;
|
|
8063
7731
|
} | null;
|
|
7732
|
+
401: "Unauthorized";
|
|
7733
|
+
403: "Forbidden: Admins only";
|
|
8064
7734
|
422: {
|
|
8065
7735
|
type: "validation";
|
|
8066
7736
|
on: string;
|
|
@@ -8070,8 +7740,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8070
7740
|
property?: string;
|
|
8071
7741
|
expected?: string;
|
|
8072
7742
|
};
|
|
8073
|
-
401: "Unauthorized";
|
|
8074
|
-
403: "Forbidden: Admins only";
|
|
8075
7743
|
};
|
|
8076
7744
|
};
|
|
8077
7745
|
};
|
|
@@ -8106,6 +7774,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8106
7774
|
sortOrder: number;
|
|
8107
7775
|
createdBy: string;
|
|
8108
7776
|
} | null;
|
|
7777
|
+
401: "Unauthorized";
|
|
7778
|
+
403: "Forbidden: Admins only";
|
|
8109
7779
|
422: {
|
|
8110
7780
|
type: "validation";
|
|
8111
7781
|
on: string;
|
|
@@ -8115,8 +7785,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8115
7785
|
property?: string;
|
|
8116
7786
|
expected?: string;
|
|
8117
7787
|
};
|
|
8118
|
-
401: "Unauthorized";
|
|
8119
|
-
403: "Forbidden: Admins only";
|
|
8120
7788
|
};
|
|
8121
7789
|
};
|
|
8122
7790
|
};
|
|
@@ -8151,6 +7819,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8151
7819
|
sortOrder: number;
|
|
8152
7820
|
createdBy: string;
|
|
8153
7821
|
} | null;
|
|
7822
|
+
401: "Unauthorized";
|
|
7823
|
+
403: "Forbidden: Admins only";
|
|
8154
7824
|
422: {
|
|
8155
7825
|
type: "validation";
|
|
8156
7826
|
on: string;
|
|
@@ -8160,8 +7830,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8160
7830
|
property?: string;
|
|
8161
7831
|
expected?: string;
|
|
8162
7832
|
};
|
|
8163
|
-
401: "Unauthorized";
|
|
8164
|
-
403: "Forbidden: Admins only";
|
|
8165
7833
|
};
|
|
8166
7834
|
};
|
|
8167
7835
|
};
|
|
@@ -8181,6 +7849,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8181
7849
|
200: {
|
|
8182
7850
|
success: boolean;
|
|
8183
7851
|
};
|
|
7852
|
+
401: "Unauthorized";
|
|
7853
|
+
403: "Forbidden: Admins only";
|
|
8184
7854
|
422: {
|
|
8185
7855
|
type: "validation";
|
|
8186
7856
|
on: string;
|
|
@@ -8190,8 +7860,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8190
7860
|
property?: string;
|
|
8191
7861
|
expected?: string;
|
|
8192
7862
|
};
|
|
8193
|
-
401: "Unauthorized";
|
|
8194
|
-
403: "Forbidden: Admins only";
|
|
8195
7863
|
};
|
|
8196
7864
|
};
|
|
8197
7865
|
};
|
|
@@ -8213,6 +7881,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8213
7881
|
query: {};
|
|
8214
7882
|
headers: {};
|
|
8215
7883
|
response: {
|
|
7884
|
+
401: "Unauthorized";
|
|
7885
|
+
403: "Forbidden: Admins only";
|
|
8216
7886
|
422: {
|
|
8217
7887
|
type: "validation";
|
|
8218
7888
|
on: string;
|
|
@@ -8222,8 +7892,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8222
7892
|
property?: string;
|
|
8223
7893
|
expected?: string;
|
|
8224
7894
|
};
|
|
8225
|
-
401: "Unauthorized";
|
|
8226
|
-
403: "Forbidden: Admins only";
|
|
8227
7895
|
};
|
|
8228
7896
|
};
|
|
8229
7897
|
};
|
|
@@ -8296,6 +7964,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8296
7964
|
hasNextPage: boolean;
|
|
8297
7965
|
};
|
|
8298
7966
|
};
|
|
7967
|
+
401: "Unauthorized";
|
|
7968
|
+
403: "Forbidden: Admins only";
|
|
8299
7969
|
422: {
|
|
8300
7970
|
type: "validation";
|
|
8301
7971
|
on: string;
|
|
@@ -8305,8 +7975,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8305
7975
|
property?: string;
|
|
8306
7976
|
expected?: string;
|
|
8307
7977
|
};
|
|
8308
|
-
401: "Unauthorized";
|
|
8309
|
-
403: "Forbidden: Admins only";
|
|
8310
7978
|
};
|
|
8311
7979
|
};
|
|
8312
7980
|
};
|
|
@@ -8325,6 +7993,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8325
7993
|
200: {
|
|
8326
7994
|
success: boolean;
|
|
8327
7995
|
};
|
|
7996
|
+
401: "Unauthorized";
|
|
7997
|
+
403: "Forbidden: Admins only";
|
|
8328
7998
|
422: {
|
|
8329
7999
|
type: "validation";
|
|
8330
8000
|
on: string;
|
|
@@ -8334,8 +8004,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8334
8004
|
property?: string;
|
|
8335
8005
|
expected?: string;
|
|
8336
8006
|
};
|
|
8337
|
-
401: "Unauthorized";
|
|
8338
|
-
403: "Forbidden: Admins only";
|
|
8339
8007
|
};
|
|
8340
8008
|
};
|
|
8341
8009
|
};
|
|
@@ -8396,7 +8064,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8396
8064
|
saleStartAt: Date | null;
|
|
8397
8065
|
saleEndAt: Date | null;
|
|
8398
8066
|
rightsAsset: {
|
|
8399
|
-
symbol: string;
|
|
8067
|
+
symbol: string | null;
|
|
8400
8068
|
id: string;
|
|
8401
8069
|
name: string;
|
|
8402
8070
|
code: string;
|
|
@@ -8405,7 +8073,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8405
8073
|
precision: number;
|
|
8406
8074
|
};
|
|
8407
8075
|
pricingAsset: {
|
|
8408
|
-
symbol: string;
|
|
8076
|
+
symbol: string | null;
|
|
8409
8077
|
id: string;
|
|
8410
8078
|
name: string;
|
|
8411
8079
|
code: string;
|
|
@@ -8432,6 +8100,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8432
8100
|
isActive: boolean;
|
|
8433
8101
|
};
|
|
8434
8102
|
};
|
|
8103
|
+
401: "Unauthorized";
|
|
8104
|
+
403: "Forbidden: Admins only";
|
|
8435
8105
|
422: {
|
|
8436
8106
|
type: "validation";
|
|
8437
8107
|
on: string;
|
|
@@ -8441,8 +8111,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8441
8111
|
property?: string;
|
|
8442
8112
|
expected?: string;
|
|
8443
8113
|
};
|
|
8444
|
-
401: "Unauthorized";
|
|
8445
|
-
403: "Forbidden: Admins only";
|
|
8446
8114
|
};
|
|
8447
8115
|
};
|
|
8448
8116
|
};
|
|
@@ -8501,7 +8169,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8501
8169
|
saleStartAt: Date | null;
|
|
8502
8170
|
saleEndAt: Date | null;
|
|
8503
8171
|
rightsAsset: {
|
|
8504
|
-
symbol: string;
|
|
8172
|
+
symbol: string | null;
|
|
8505
8173
|
id: string;
|
|
8506
8174
|
name: string;
|
|
8507
8175
|
code: string;
|
|
@@ -8510,7 +8178,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8510
8178
|
precision: number;
|
|
8511
8179
|
};
|
|
8512
8180
|
pricingAsset: {
|
|
8513
|
-
symbol: string;
|
|
8181
|
+
symbol: string | null;
|
|
8514
8182
|
id: string;
|
|
8515
8183
|
name: string;
|
|
8516
8184
|
code: string;
|
|
@@ -8537,6 +8205,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8537
8205
|
isActive: boolean;
|
|
8538
8206
|
};
|
|
8539
8207
|
};
|
|
8208
|
+
401: "Unauthorized";
|
|
8209
|
+
403: "Forbidden: Admins only";
|
|
8540
8210
|
422: {
|
|
8541
8211
|
type: "validation";
|
|
8542
8212
|
on: string;
|
|
@@ -8546,8 +8216,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8546
8216
|
property?: string;
|
|
8547
8217
|
expected?: string;
|
|
8548
8218
|
};
|
|
8549
|
-
401: "Unauthorized";
|
|
8550
|
-
403: "Forbidden: Admins only";
|
|
8551
8219
|
};
|
|
8552
8220
|
};
|
|
8553
8221
|
};
|
|
@@ -8589,7 +8257,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8589
8257
|
saleStartAt: Date | null;
|
|
8590
8258
|
saleEndAt: Date | null;
|
|
8591
8259
|
rightsAsset: {
|
|
8592
|
-
symbol: string;
|
|
8260
|
+
symbol: string | null;
|
|
8593
8261
|
id: string;
|
|
8594
8262
|
name: string;
|
|
8595
8263
|
code: string;
|
|
@@ -8598,7 +8266,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8598
8266
|
precision: number;
|
|
8599
8267
|
};
|
|
8600
8268
|
pricingAsset: {
|
|
8601
|
-
symbol: string;
|
|
8269
|
+
symbol: string | null;
|
|
8602
8270
|
id: string;
|
|
8603
8271
|
name: string;
|
|
8604
8272
|
code: string;
|
|
@@ -8625,6 +8293,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8625
8293
|
isActive: boolean;
|
|
8626
8294
|
};
|
|
8627
8295
|
};
|
|
8296
|
+
401: "Unauthorized";
|
|
8297
|
+
403: "Forbidden: Admins only";
|
|
8628
8298
|
422: {
|
|
8629
8299
|
type: "validation";
|
|
8630
8300
|
on: string;
|
|
@@ -8634,8 +8304,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8634
8304
|
property?: string;
|
|
8635
8305
|
expected?: string;
|
|
8636
8306
|
};
|
|
8637
|
-
401: "Unauthorized";
|
|
8638
|
-
403: "Forbidden: Admins only";
|
|
8639
8307
|
};
|
|
8640
8308
|
};
|
|
8641
8309
|
};
|
|
@@ -8678,7 +8346,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8678
8346
|
saleStartAt: Date | null;
|
|
8679
8347
|
saleEndAt: Date | null;
|
|
8680
8348
|
rightsAsset: {
|
|
8681
|
-
symbol: string;
|
|
8349
|
+
symbol: string | null;
|
|
8682
8350
|
id: string;
|
|
8683
8351
|
name: string;
|
|
8684
8352
|
code: string;
|
|
@@ -8687,7 +8355,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8687
8355
|
precision: number;
|
|
8688
8356
|
};
|
|
8689
8357
|
pricingAsset: {
|
|
8690
|
-
symbol: string;
|
|
8358
|
+
symbol: string | null;
|
|
8691
8359
|
id: string;
|
|
8692
8360
|
name: string;
|
|
8693
8361
|
code: string;
|
|
@@ -8714,6 +8382,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8714
8382
|
isActive: boolean;
|
|
8715
8383
|
};
|
|
8716
8384
|
};
|
|
8385
|
+
401: "Unauthorized";
|
|
8386
|
+
403: "Forbidden: Admins only";
|
|
8717
8387
|
422: {
|
|
8718
8388
|
type: "validation";
|
|
8719
8389
|
on: string;
|
|
@@ -8723,8 +8393,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8723
8393
|
property?: string;
|
|
8724
8394
|
expected?: string;
|
|
8725
8395
|
};
|
|
8726
|
-
401: "Unauthorized";
|
|
8727
|
-
403: "Forbidden: Admins only";
|
|
8728
8396
|
};
|
|
8729
8397
|
};
|
|
8730
8398
|
};
|
|
@@ -8767,7 +8435,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8767
8435
|
saleStartAt: Date | null;
|
|
8768
8436
|
saleEndAt: Date | null;
|
|
8769
8437
|
rightsAsset: {
|
|
8770
|
-
symbol: string;
|
|
8438
|
+
symbol: string | null;
|
|
8771
8439
|
id: string;
|
|
8772
8440
|
name: string;
|
|
8773
8441
|
code: string;
|
|
@@ -8776,7 +8444,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8776
8444
|
precision: number;
|
|
8777
8445
|
};
|
|
8778
8446
|
pricingAsset: {
|
|
8779
|
-
symbol: string;
|
|
8447
|
+
symbol: string | null;
|
|
8780
8448
|
id: string;
|
|
8781
8449
|
name: string;
|
|
8782
8450
|
code: string;
|
|
@@ -8803,6 +8471,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8803
8471
|
isActive: boolean;
|
|
8804
8472
|
};
|
|
8805
8473
|
};
|
|
8474
|
+
401: "Unauthorized";
|
|
8475
|
+
403: "Forbidden: Admins only";
|
|
8806
8476
|
422: {
|
|
8807
8477
|
type: "validation";
|
|
8808
8478
|
on: string;
|
|
@@ -8812,8 +8482,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8812
8482
|
property?: string;
|
|
8813
8483
|
expected?: string;
|
|
8814
8484
|
};
|
|
8815
|
-
401: "Unauthorized";
|
|
8816
|
-
403: "Forbidden: Admins only";
|
|
8817
8485
|
};
|
|
8818
8486
|
};
|
|
8819
8487
|
};
|
|
@@ -8859,7 +8527,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8859
8527
|
saleStartAt: Date | null;
|
|
8860
8528
|
saleEndAt: Date | null;
|
|
8861
8529
|
rightsAsset: {
|
|
8862
|
-
symbol: string;
|
|
8530
|
+
symbol: string | null;
|
|
8863
8531
|
id: string;
|
|
8864
8532
|
name: string;
|
|
8865
8533
|
code: string;
|
|
@@ -8868,7 +8536,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8868
8536
|
precision: number;
|
|
8869
8537
|
};
|
|
8870
8538
|
pricingAsset: {
|
|
8871
|
-
symbol: string;
|
|
8539
|
+
symbol: string | null;
|
|
8872
8540
|
id: string;
|
|
8873
8541
|
name: string;
|
|
8874
8542
|
code: string;
|
|
@@ -8903,6 +8571,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8903
8571
|
hasNextPage: boolean;
|
|
8904
8572
|
};
|
|
8905
8573
|
};
|
|
8574
|
+
401: "Unauthorized";
|
|
8575
|
+
403: "Forbidden: Admins only";
|
|
8906
8576
|
422: {
|
|
8907
8577
|
type: "validation";
|
|
8908
8578
|
on: string;
|
|
@@ -8912,8 +8582,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8912
8582
|
property?: string;
|
|
8913
8583
|
expected?: string;
|
|
8914
8584
|
};
|
|
8915
|
-
401: "Unauthorized";
|
|
8916
|
-
403: "Forbidden: Admins only";
|
|
8917
8585
|
};
|
|
8918
8586
|
};
|
|
8919
8587
|
};
|
|
@@ -8993,7 +8661,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
8993
8661
|
saleStartAt: Date | null;
|
|
8994
8662
|
saleEndAt: Date | null;
|
|
8995
8663
|
rightsAsset: {
|
|
8996
|
-
symbol: string;
|
|
8664
|
+
symbol: string | null;
|
|
8997
8665
|
id: string;
|
|
8998
8666
|
name: string;
|
|
8999
8667
|
code: string;
|
|
@@ -9002,7 +8670,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9002
8670
|
precision: number;
|
|
9003
8671
|
};
|
|
9004
8672
|
pricingAsset: {
|
|
9005
|
-
symbol: string;
|
|
8673
|
+
symbol: string | null;
|
|
9006
8674
|
id: string;
|
|
9007
8675
|
name: string;
|
|
9008
8676
|
code: string;
|
|
@@ -9051,7 +8719,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9051
8719
|
ledgerAccountTypeId: string;
|
|
9052
8720
|
};
|
|
9053
8721
|
pricingAssetSnapshot: {
|
|
9054
|
-
symbol: string;
|
|
8722
|
+
symbol: string | null;
|
|
9055
8723
|
id: string;
|
|
9056
8724
|
name: string;
|
|
9057
8725
|
code: string;
|
|
@@ -9060,7 +8728,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9060
8728
|
precision: number;
|
|
9061
8729
|
};
|
|
9062
8730
|
rightsAssetSnapshot: {
|
|
9063
|
-
symbol: string;
|
|
8731
|
+
symbol: string | null;
|
|
9064
8732
|
id: string;
|
|
9065
8733
|
name: string;
|
|
9066
8734
|
code: string;
|
|
@@ -9077,6 +8745,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9077
8745
|
hasNextPage: boolean;
|
|
9078
8746
|
};
|
|
9079
8747
|
};
|
|
8748
|
+
401: "Unauthorized";
|
|
8749
|
+
403: "Forbidden: Admins only";
|
|
9080
8750
|
422: {
|
|
9081
8751
|
type: "validation";
|
|
9082
8752
|
on: string;
|
|
@@ -9086,8 +8756,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9086
8756
|
property?: string;
|
|
9087
8757
|
expected?: string;
|
|
9088
8758
|
};
|
|
9089
|
-
401: "Unauthorized";
|
|
9090
|
-
403: "Forbidden: Admins only";
|
|
9091
8759
|
};
|
|
9092
8760
|
};
|
|
9093
8761
|
};
|
|
@@ -9161,7 +8829,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9161
8829
|
saleStartAt: Date | null;
|
|
9162
8830
|
saleEndAt: Date | null;
|
|
9163
8831
|
rightsAsset: {
|
|
9164
|
-
symbol: string;
|
|
8832
|
+
symbol: string | null;
|
|
9165
8833
|
id: string;
|
|
9166
8834
|
name: string;
|
|
9167
8835
|
code: string;
|
|
@@ -9170,7 +8838,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9170
8838
|
precision: number;
|
|
9171
8839
|
};
|
|
9172
8840
|
pricingAsset: {
|
|
9173
|
-
symbol: string;
|
|
8841
|
+
symbol: string | null;
|
|
9174
8842
|
id: string;
|
|
9175
8843
|
name: string;
|
|
9176
8844
|
code: string;
|
|
@@ -9254,7 +8922,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9254
8922
|
saleStartAt: Date | null;
|
|
9255
8923
|
saleEndAt: Date | null;
|
|
9256
8924
|
rightsAsset: {
|
|
9257
|
-
symbol: string;
|
|
8925
|
+
symbol: string | null;
|
|
9258
8926
|
id: string;
|
|
9259
8927
|
name: string;
|
|
9260
8928
|
code: string;
|
|
@@ -9263,7 +8931,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9263
8931
|
precision: number;
|
|
9264
8932
|
};
|
|
9265
8933
|
pricingAsset: {
|
|
9266
|
-
symbol: string;
|
|
8934
|
+
symbol: string | null;
|
|
9267
8935
|
id: string;
|
|
9268
8936
|
name: string;
|
|
9269
8937
|
code: string;
|
|
@@ -9312,7 +8980,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9312
8980
|
ledgerAccountTypeId: string;
|
|
9313
8981
|
};
|
|
9314
8982
|
pricingAssetSnapshot: {
|
|
9315
|
-
symbol: string;
|
|
8983
|
+
symbol: string | null;
|
|
9316
8984
|
id: string;
|
|
9317
8985
|
name: string;
|
|
9318
8986
|
code: string;
|
|
@@ -9321,7 +8989,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9321
8989
|
precision: number;
|
|
9322
8990
|
};
|
|
9323
8991
|
rightsAssetSnapshot: {
|
|
9324
|
-
symbol: string;
|
|
8992
|
+
symbol: string | null;
|
|
9325
8993
|
id: string;
|
|
9326
8994
|
name: string;
|
|
9327
8995
|
code: string;
|
|
@@ -9339,6 +9007,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9339
9007
|
hasNextPage: boolean;
|
|
9340
9008
|
};
|
|
9341
9009
|
};
|
|
9010
|
+
401: "Unauthorized";
|
|
9011
|
+
403: "Forbidden: Admins only";
|
|
9342
9012
|
422: {
|
|
9343
9013
|
type: "validation";
|
|
9344
9014
|
on: string;
|
|
@@ -9348,8 +9018,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9348
9018
|
property?: string;
|
|
9349
9019
|
expected?: string;
|
|
9350
9020
|
};
|
|
9351
|
-
401: "Unauthorized";
|
|
9352
|
-
403: "Forbidden: Admins only";
|
|
9353
9021
|
};
|
|
9354
9022
|
};
|
|
9355
9023
|
};
|
|
@@ -9433,7 +9101,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9433
9101
|
saleStartAt: Date | null;
|
|
9434
9102
|
saleEndAt: Date | null;
|
|
9435
9103
|
rightsAsset: {
|
|
9436
|
-
symbol: string;
|
|
9104
|
+
symbol: string | null;
|
|
9437
9105
|
id: string;
|
|
9438
9106
|
name: string;
|
|
9439
9107
|
code: string;
|
|
@@ -9442,7 +9110,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9442
9110
|
precision: number;
|
|
9443
9111
|
};
|
|
9444
9112
|
pricingAsset: {
|
|
9445
|
-
symbol: string;
|
|
9113
|
+
symbol: string | null;
|
|
9446
9114
|
id: string;
|
|
9447
9115
|
name: string;
|
|
9448
9116
|
code: string;
|
|
@@ -9526,7 +9194,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9526
9194
|
saleStartAt: Date | null;
|
|
9527
9195
|
saleEndAt: Date | null;
|
|
9528
9196
|
rightsAsset: {
|
|
9529
|
-
symbol: string;
|
|
9197
|
+
symbol: string | null;
|
|
9530
9198
|
id: string;
|
|
9531
9199
|
name: string;
|
|
9532
9200
|
code: string;
|
|
@@ -9535,7 +9203,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9535
9203
|
precision: number;
|
|
9536
9204
|
};
|
|
9537
9205
|
pricingAsset: {
|
|
9538
|
-
symbol: string;
|
|
9206
|
+
symbol: string | null;
|
|
9539
9207
|
id: string;
|
|
9540
9208
|
name: string;
|
|
9541
9209
|
code: string;
|
|
@@ -9584,7 +9252,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9584
9252
|
ledgerAccountTypeId: string;
|
|
9585
9253
|
};
|
|
9586
9254
|
pricingAssetSnapshot: {
|
|
9587
|
-
symbol: string;
|
|
9255
|
+
symbol: string | null;
|
|
9588
9256
|
id: string;
|
|
9589
9257
|
name: string;
|
|
9590
9258
|
code: string;
|
|
@@ -9593,7 +9261,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9593
9261
|
precision: number;
|
|
9594
9262
|
};
|
|
9595
9263
|
rightsAssetSnapshot: {
|
|
9596
|
-
symbol: string;
|
|
9264
|
+
symbol: string | null;
|
|
9597
9265
|
id: string;
|
|
9598
9266
|
name: string;
|
|
9599
9267
|
code: string;
|
|
@@ -9611,6 +9279,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9611
9279
|
hasNextPage: boolean;
|
|
9612
9280
|
};
|
|
9613
9281
|
};
|
|
9282
|
+
401: "Unauthorized";
|
|
9283
|
+
403: "Forbidden: Admins only";
|
|
9614
9284
|
422: {
|
|
9615
9285
|
type: "validation";
|
|
9616
9286
|
on: string;
|
|
@@ -9620,8 +9290,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9620
9290
|
property?: string;
|
|
9621
9291
|
expected?: string;
|
|
9622
9292
|
};
|
|
9623
|
-
401: "Unauthorized";
|
|
9624
|
-
403: "Forbidden: Admins only";
|
|
9625
9293
|
};
|
|
9626
9294
|
};
|
|
9627
9295
|
};
|
|
@@ -9643,6 +9311,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9643
9311
|
successCount: number;
|
|
9644
9312
|
processedIds: string[];
|
|
9645
9313
|
};
|
|
9314
|
+
401: "Unauthorized";
|
|
9315
|
+
403: "Forbidden: Admins only";
|
|
9646
9316
|
422: {
|
|
9647
9317
|
type: "validation";
|
|
9648
9318
|
on: string;
|
|
@@ -9652,8 +9322,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9652
9322
|
property?: string;
|
|
9653
9323
|
expected?: string;
|
|
9654
9324
|
};
|
|
9655
|
-
401: "Unauthorized";
|
|
9656
|
-
403: "Forbidden: Admins only";
|
|
9657
9325
|
};
|
|
9658
9326
|
};
|
|
9659
9327
|
};
|
|
@@ -9677,6 +9345,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9677
9345
|
successCount: number;
|
|
9678
9346
|
processedIds: string[];
|
|
9679
9347
|
};
|
|
9348
|
+
401: "Unauthorized";
|
|
9349
|
+
403: "Forbidden: Admins only";
|
|
9680
9350
|
422: {
|
|
9681
9351
|
type: "validation";
|
|
9682
9352
|
on: string;
|
|
@@ -9686,8 +9356,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9686
9356
|
property?: string;
|
|
9687
9357
|
expected?: string;
|
|
9688
9358
|
};
|
|
9689
|
-
401: "Unauthorized";
|
|
9690
|
-
403: "Forbidden: Admins only";
|
|
9691
9359
|
};
|
|
9692
9360
|
};
|
|
9693
9361
|
};
|
|
@@ -9742,6 +9410,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9742
9410
|
hasNextPage: boolean;
|
|
9743
9411
|
};
|
|
9744
9412
|
};
|
|
9413
|
+
401: "Unauthorized";
|
|
9414
|
+
403: "Forbidden: Admins only";
|
|
9745
9415
|
422: {
|
|
9746
9416
|
type: "validation";
|
|
9747
9417
|
on: string;
|
|
@@ -9751,8 +9421,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9751
9421
|
property?: string;
|
|
9752
9422
|
expected?: string;
|
|
9753
9423
|
};
|
|
9754
|
-
401: "Unauthorized";
|
|
9755
|
-
403: "Forbidden: Admins only";
|
|
9756
9424
|
};
|
|
9757
9425
|
};
|
|
9758
9426
|
};
|
|
@@ -9788,6 +9456,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9788
9456
|
reviewedBy: string | null;
|
|
9789
9457
|
rejectionReason: string | null;
|
|
9790
9458
|
};
|
|
9459
|
+
401: "Unauthorized";
|
|
9460
|
+
403: "Forbidden: Admins only";
|
|
9791
9461
|
422: {
|
|
9792
9462
|
type: "validation";
|
|
9793
9463
|
on: string;
|
|
@@ -9797,8 +9467,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9797
9467
|
property?: string;
|
|
9798
9468
|
expected?: string;
|
|
9799
9469
|
};
|
|
9800
|
-
401: "Unauthorized";
|
|
9801
|
-
403: "Forbidden: Admins only";
|
|
9802
9470
|
};
|
|
9803
9471
|
};
|
|
9804
9472
|
};
|
|
@@ -9838,6 +9506,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9838
9506
|
reviewedBy: string | null;
|
|
9839
9507
|
rejectionReason: string | null;
|
|
9840
9508
|
};
|
|
9509
|
+
401: "Unauthorized";
|
|
9510
|
+
403: "Forbidden: Admins only";
|
|
9841
9511
|
422: {
|
|
9842
9512
|
type: "validation";
|
|
9843
9513
|
on: string;
|
|
@@ -9847,8 +9517,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9847
9517
|
property?: string;
|
|
9848
9518
|
expected?: string;
|
|
9849
9519
|
};
|
|
9850
|
-
401: "Unauthorized";
|
|
9851
|
-
403: "Forbidden: Admins only";
|
|
9852
9520
|
};
|
|
9853
9521
|
};
|
|
9854
9522
|
};
|
|
@@ -9889,6 +9557,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9889
9557
|
reviewedBy: string | null;
|
|
9890
9558
|
rejectionReason: string | null;
|
|
9891
9559
|
};
|
|
9560
|
+
401: "Unauthorized";
|
|
9561
|
+
403: "Forbidden: Admins only";
|
|
9892
9562
|
422: {
|
|
9893
9563
|
type: "validation";
|
|
9894
9564
|
on: string;
|
|
@@ -9898,8 +9568,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9898
9568
|
property?: string;
|
|
9899
9569
|
expected?: string;
|
|
9900
9570
|
};
|
|
9901
|
-
401: "Unauthorized";
|
|
9902
|
-
403: "Forbidden: Admins only";
|
|
9903
9571
|
};
|
|
9904
9572
|
};
|
|
9905
9573
|
};
|
|
@@ -9926,6 +9594,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9926
9594
|
200: {
|
|
9927
9595
|
password: string;
|
|
9928
9596
|
};
|
|
9597
|
+
401: "Unauthorized";
|
|
9598
|
+
403: "Forbidden: Admins only";
|
|
9929
9599
|
422: {
|
|
9930
9600
|
type: "validation";
|
|
9931
9601
|
on: string;
|
|
@@ -9935,8 +9605,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9935
9605
|
property?: string;
|
|
9936
9606
|
expected?: string;
|
|
9937
9607
|
};
|
|
9938
|
-
401: "Unauthorized";
|
|
9939
|
-
403: "Forbidden: Admins only";
|
|
9940
9608
|
};
|
|
9941
9609
|
};
|
|
9942
9610
|
};
|
|
@@ -9985,6 +9653,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9985
9653
|
hasNextPage: boolean;
|
|
9986
9654
|
};
|
|
9987
9655
|
};
|
|
9656
|
+
401: "Unauthorized";
|
|
9657
|
+
403: "Forbidden: Admins only";
|
|
9988
9658
|
422: {
|
|
9989
9659
|
type: "validation";
|
|
9990
9660
|
on: string;
|
|
@@ -9994,8 +9664,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
9994
9664
|
property?: string;
|
|
9995
9665
|
expected?: string;
|
|
9996
9666
|
};
|
|
9997
|
-
401: "Unauthorized";
|
|
9998
|
-
403: "Forbidden: Admins only";
|
|
9999
9667
|
};
|
|
10000
9668
|
};
|
|
10001
9669
|
};
|
|
@@ -10079,6 +9747,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10079
9747
|
hasNextPage: boolean;
|
|
10080
9748
|
};
|
|
10081
9749
|
};
|
|
9750
|
+
401: "Unauthorized";
|
|
9751
|
+
403: "Forbidden: Admins only";
|
|
10082
9752
|
422: {
|
|
10083
9753
|
type: "validation";
|
|
10084
9754
|
on: string;
|
|
@@ -10088,8 +9758,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10088
9758
|
property?: string;
|
|
10089
9759
|
expected?: string;
|
|
10090
9760
|
};
|
|
10091
|
-
401: "Unauthorized";
|
|
10092
|
-
403: "Forbidden: Admins only";
|
|
10093
9761
|
};
|
|
10094
9762
|
};
|
|
10095
9763
|
};
|
|
@@ -10157,6 +9825,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10157
9825
|
banReason: string | null;
|
|
10158
9826
|
banExpires: Date | null;
|
|
10159
9827
|
};
|
|
9828
|
+
401: "Unauthorized";
|
|
9829
|
+
403: "Forbidden: Admins only";
|
|
10160
9830
|
422: {
|
|
10161
9831
|
type: "validation";
|
|
10162
9832
|
on: string;
|
|
@@ -10166,8 +9836,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10166
9836
|
property?: string;
|
|
10167
9837
|
expected?: string;
|
|
10168
9838
|
};
|
|
10169
|
-
401: "Unauthorized";
|
|
10170
|
-
403: "Forbidden: Admins only";
|
|
10171
9839
|
};
|
|
10172
9840
|
};
|
|
10173
9841
|
};
|
|
@@ -10260,6 +9928,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10260
9928
|
banReason: string | null;
|
|
10261
9929
|
banExpires: Date | null;
|
|
10262
9930
|
};
|
|
9931
|
+
401: "Unauthorized";
|
|
9932
|
+
403: "Forbidden: Admins only";
|
|
10263
9933
|
422: {
|
|
10264
9934
|
type: "validation";
|
|
10265
9935
|
on: string;
|
|
@@ -10269,8 +9939,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10269
9939
|
property?: string;
|
|
10270
9940
|
expected?: string;
|
|
10271
9941
|
};
|
|
10272
|
-
401: "Unauthorized";
|
|
10273
|
-
403: "Forbidden: Admins only";
|
|
10274
9942
|
};
|
|
10275
9943
|
};
|
|
10276
9944
|
};
|
|
@@ -10292,6 +9960,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10292
9960
|
200: {
|
|
10293
9961
|
password: string;
|
|
10294
9962
|
};
|
|
9963
|
+
401: "Unauthorized";
|
|
9964
|
+
403: "Forbidden: Admins only";
|
|
10295
9965
|
422: {
|
|
10296
9966
|
type: "validation";
|
|
10297
9967
|
on: string;
|
|
@@ -10301,8 +9971,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10301
9971
|
property?: string;
|
|
10302
9972
|
expected?: string;
|
|
10303
9973
|
};
|
|
10304
|
-
401: "Unauthorized";
|
|
10305
|
-
403: "Forbidden: Admins only";
|
|
10306
9974
|
};
|
|
10307
9975
|
};
|
|
10308
9976
|
};
|
|
@@ -10327,6 +9995,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10327
9995
|
200: {
|
|
10328
9996
|
success: boolean;
|
|
10329
9997
|
};
|
|
9998
|
+
401: "Unauthorized";
|
|
9999
|
+
403: "Forbidden: Admins only";
|
|
10330
10000
|
422: {
|
|
10331
10001
|
type: "validation";
|
|
10332
10002
|
on: string;
|
|
@@ -10336,8 +10006,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
10336
10006
|
property?: string;
|
|
10337
10007
|
expected?: string;
|
|
10338
10008
|
};
|
|
10339
|
-
401: "Unauthorized";
|
|
10340
|
-
403: "Forbidden: Admins only";
|
|
10341
10009
|
};
|
|
10342
10010
|
};
|
|
10343
10011
|
};
|