@r2wa-org/eden 0.0.54 → 0.0.57
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/src/admin/admin/dto.schemas.d.ts +3 -54
- package/dist/src/admin/admin/router.d.ts +19 -24
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1329 -343
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +132 -32
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +7 -15
- package/dist/src/asset/user/router.d.ts +15 -15
- package/dist/src/asset/user/service.d.ts +1 -1
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +581 -42
- package/dist/src/asset-convert-product/admin/service.d.ts +419 -12
- package/dist/src/asset-convert-product/errors/index.d.ts +7 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +7 -0
- package/dist/src/asset-convert-product/permissions.d.ts +2 -2
- package/dist/src/asset-convert-product/user/router.d.ts +20 -20
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +132 -20
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +2 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +2 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/router.d.ts +13 -13
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +67 -28
- package/dist/src/asset-type/admin/service.d.ts +16 -6
- package/dist/src/asset-type/db.schemas.d.ts +6 -6
- package/dist/src/asset-type/errors/index.d.ts +6 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-type/internal/service.d.ts +4 -4
- package/dist/src/asset-type/permissions.d.ts +1 -1
- package/dist/src/asset-type/schema.d.ts +3 -5
- package/dist/src/asset-type/user/dto.schemas.d.ts +3 -15
- package/dist/src/asset-type/user/router.d.ts +12 -12
- package/dist/src/asset-type/user/service.d.ts +1 -1
- package/dist/src/auth/better-auth.d.ts +706 -451
- package/dist/src/auth/db.schemas.d.ts +27 -407
- package/dist/src/auth/permissions.d.ts +20 -20
- package/dist/src/auth/roles.d.ts +60 -60
- package/dist/src/auth/router.d.ts +6 -6
- package/dist/src/auth/schema.d.ts +8 -206
- package/dist/src/bank-account/admin/router.d.ts +10 -13
- package/dist/src/bank-account/user/router.d.ts +8 -8
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +12 -16
- package/dist/src/check-in/admin/service.d.ts +0 -1
- package/dist/src/check-in/internal/service.d.ts +0 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/user/router.d.ts +18 -19
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/cron/index.d.ts +8 -74
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +16 -20
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/errors/index.d.ts +4 -0
- package/dist/src/deposit/errors/locales/zh.d.ts +2 -0
- package/dist/src/deposit/user/dto.schemas.d.ts +16 -42
- package/dist/src/deposit/user/router.d.ts +68 -19
- package/dist/src/deposit/user/service.d.ts +22 -3
- package/dist/src/dynamic-env/admin.router.d.ts +27 -30
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +17 -20
- package/dist/src/file-storage/share/router.d.ts +16 -16
- package/dist/src/file-storage/user/router.d.ts +16 -16
- package/dist/src/index.d.ts +1688 -660
- package/dist/src/ledger/admin/router.d.ts +12 -15
- package/dist/src/ledger/user/router.d.ts +10 -10
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +22 -25
- package/dist/src/ledger-account/user/router.d.ts +10 -10
- package/dist/src/ledger-account-import/admin/router.d.ts +22 -25
- package/dist/src/ledger-account-transfer/user/router.d.ts +10 -10
- package/dist/src/ledger-account-type/admin/router.d.ts +19 -22
- package/dist/src/ledger-account-type/user/router.d.ts +10 -10
- package/dist/src/market-data/admin/router.d.ts +17 -20
- package/dist/src/market-data/cron.d.ts +3 -54
- package/dist/src/market-data/user/router.d.ts +12 -12
- package/dist/src/market-pricing/admin/router.d.ts +31 -34
- package/dist/src/market-pricing/cron.d.ts +2 -53
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +29 -32
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +19 -19
- package/dist/src/news-category/user/router.d.ts +12 -12
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +17 -20
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +21 -21
- package/dist/src/receipt-method/admin/router.d.ts +10 -13
- package/dist/src/receipt-method/user/router.d.ts +6 -6
- package/dist/src/referral/admin/dto.schemas.d.ts +2 -36
- package/dist/src/referral/admin/router.d.ts +14 -18
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +17 -18
- package/dist/src/referral-depth-config/admin/router.d.ts +22 -25
- package/dist/src/server-test/index.d.ts +15 -15
- package/dist/src/shipping-address/admin/router.d.ts +10 -13
- package/dist/src/shipping-address/user/router.d.ts +6 -6
- package/dist/src/team/admin/dto.schemas.d.ts +2 -36
- package/dist/src/team/admin/router.d.ts +14 -18
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +21 -24
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +27 -30
- package/dist/src/trade-market/user/router.d.ts +22 -22
- package/dist/src/transfer/admin/router.d.ts +12 -15
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +12 -12
- package/dist/src/transfer/user/service.d.ts +0 -2
- package/dist/src/user/admin/dto.schemas.d.ts +1 -21
- package/dist/src/user/admin/router.d.ts +24 -32
- package/dist/src/user/admin/service.d.ts +0 -4
- package/dist/src/user/user/router.d.ts +6 -8
- package/dist/src/user/user/service.d.ts +0 -2
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +1 -1
- package/dist/src/user-kyc/admin/router.d.ts +19 -22
- package/dist/src/user-kyc/user/router.d.ts +18 -18
- package/dist/src/user-security/admin/router.d.ts +13 -16
- package/dist/src/user-security/user/router.d.ts +17 -17
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +77 -15
- package/dist/src/wallet/admin/service.d.ts +46 -8
- package/dist/src/wallet/internal/service.d.ts +118 -14
- package/dist/src/wallet/user/dto.schemas.d.ts +4 -2
- package/dist/src/wallet/user/router.d.ts +16 -15
- package/dist/src/wallet/user/service.d.ts +18 -8
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +149 -19
- package/dist/src/wallet-type/admin/service.d.ts +51 -0
- package/dist/src/wallet-type/errors/index.d.ts +4 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +4 -0
- package/dist/src/wallet-type/internal/service.d.ts +37 -0
- package/dist/src/wallet-type/user/router.d.ts +10 -10
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +35 -38
- package/dist/src/welfare-cycle/cron.d.ts +2 -53
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +66 -71
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +19 -22
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +59 -12
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -13,9 +13,6 @@ declare const app: Elysia<"/api", {
|
|
|
13
13
|
} & {
|
|
14
14
|
typebox: {};
|
|
15
15
|
error: {};
|
|
16
|
-
} & {
|
|
17
|
-
typebox: {};
|
|
18
|
-
error: {};
|
|
19
16
|
}, {
|
|
20
17
|
schema: {};
|
|
21
18
|
standaloneSchema: {};
|
|
@@ -64,7 +61,7 @@ declare const app: Elysia<"/api", {
|
|
|
64
61
|
route: string;
|
|
65
62
|
request: Request;
|
|
66
63
|
store: {};
|
|
67
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
64
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
68
65
|
readonly 100: "Continue";
|
|
69
66
|
readonly 101: "Switching Protocols";
|
|
70
67
|
readonly 102: "Processing";
|
|
@@ -198,11 +195,11 @@ declare const app: Elysia<"/api", {
|
|
|
198
195
|
emailVerified: boolean;
|
|
199
196
|
name: string;
|
|
200
197
|
image?: string | null | undefined | undefined;
|
|
201
|
-
phoneNumber?: string | null | undefined;
|
|
202
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
203
198
|
twoFactorEnabled: boolean | null | undefined;
|
|
204
199
|
username?: string | null | undefined;
|
|
205
200
|
displayUsername?: string | null | undefined;
|
|
201
|
+
phoneNumber?: string | null | undefined;
|
|
202
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
206
203
|
banned: boolean | null | undefined;
|
|
207
204
|
role?: string | null | undefined;
|
|
208
205
|
banReason?: string | null | undefined;
|
|
@@ -240,7 +237,7 @@ declare const app: Elysia<"/api", {
|
|
|
240
237
|
route: string;
|
|
241
238
|
request: Request;
|
|
242
239
|
store: {};
|
|
243
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
240
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
244
241
|
readonly 100: "Continue";
|
|
245
242
|
readonly 101: "Switching Protocols";
|
|
246
243
|
readonly 102: "Processing";
|
|
@@ -374,11 +371,11 @@ declare const app: Elysia<"/api", {
|
|
|
374
371
|
emailVerified: boolean;
|
|
375
372
|
name: string;
|
|
376
373
|
image?: string | null | undefined | undefined;
|
|
377
|
-
phoneNumber?: string | null | undefined;
|
|
378
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
379
374
|
twoFactorEnabled: boolean | null | undefined;
|
|
380
375
|
username?: string | null | undefined;
|
|
381
376
|
displayUsername?: string | null | undefined;
|
|
377
|
+
phoneNumber?: string | null | undefined;
|
|
378
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
382
379
|
banned: boolean | null | undefined;
|
|
383
380
|
role?: string | null | undefined;
|
|
384
381
|
banReason?: string | null | undefined;
|
|
@@ -400,22 +397,15 @@ declare const app: Elysia<"/api", {
|
|
|
400
397
|
};
|
|
401
398
|
parser: {};
|
|
402
399
|
response: {};
|
|
403
|
-
} & {
|
|
404
|
-
schema: {};
|
|
405
|
-
standaloneSchema: {};
|
|
406
|
-
macro: {};
|
|
407
|
-
macroFn: {};
|
|
408
|
-
parser: {};
|
|
409
|
-
response: {};
|
|
410
400
|
}, {
|
|
411
401
|
api: {};
|
|
412
402
|
} & {
|
|
413
403
|
api: {
|
|
414
404
|
get: {
|
|
415
|
-
body:
|
|
405
|
+
body: {};
|
|
416
406
|
params: {};
|
|
417
|
-
query:
|
|
418
|
-
headers:
|
|
407
|
+
query: {};
|
|
408
|
+
headers: {};
|
|
419
409
|
response: {
|
|
420
410
|
200: string;
|
|
421
411
|
};
|
|
@@ -423,10 +413,10 @@ declare const app: Elysia<"/api", {
|
|
|
423
413
|
} & {
|
|
424
414
|
health: {
|
|
425
415
|
get: {
|
|
426
|
-
body:
|
|
416
|
+
body: {};
|
|
427
417
|
params: {};
|
|
428
|
-
query:
|
|
429
|
-
headers:
|
|
418
|
+
query: {};
|
|
419
|
+
headers: {};
|
|
430
420
|
response: {
|
|
431
421
|
200: {
|
|
432
422
|
status: string;
|
|
@@ -491,10 +481,10 @@ declare const app: Elysia<"/api", {
|
|
|
491
481
|
} & {
|
|
492
482
|
error: {
|
|
493
483
|
get: {
|
|
494
|
-
body:
|
|
484
|
+
body: {};
|
|
495
485
|
params: {};
|
|
496
|
-
query:
|
|
497
|
-
headers:
|
|
486
|
+
query: {};
|
|
487
|
+
headers: {};
|
|
498
488
|
response: {};
|
|
499
489
|
};
|
|
500
490
|
};
|
|
@@ -589,8 +579,8 @@ declare const app: Elysia<"/api", {
|
|
|
589
579
|
businessType: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment";
|
|
590
580
|
};
|
|
591
581
|
params: {};
|
|
592
|
-
query:
|
|
593
|
-
headers:
|
|
582
|
+
query: {};
|
|
583
|
+
headers: {};
|
|
594
584
|
response: {
|
|
595
585
|
200: {
|
|
596
586
|
publicUrl?: string | undefined;
|
|
@@ -627,8 +617,8 @@ declare const app: Elysia<"/api", {
|
|
|
627
617
|
fileId: string;
|
|
628
618
|
};
|
|
629
619
|
params: {};
|
|
630
|
-
query:
|
|
631
|
-
headers:
|
|
620
|
+
query: {};
|
|
621
|
+
headers: {};
|
|
632
622
|
response: {
|
|
633
623
|
422: {
|
|
634
624
|
type: "validation";
|
|
@@ -653,8 +643,8 @@ declare const app: Elysia<"/api", {
|
|
|
653
643
|
fileId: string;
|
|
654
644
|
};
|
|
655
645
|
params: {};
|
|
656
|
-
query:
|
|
657
|
-
headers:
|
|
646
|
+
query: {};
|
|
647
|
+
headers: {};
|
|
658
648
|
response: {
|
|
659
649
|
200: {
|
|
660
650
|
expiresAt?: number | undefined;
|
|
@@ -685,8 +675,8 @@ declare const app: Elysia<"/api", {
|
|
|
685
675
|
fileIds: string[];
|
|
686
676
|
};
|
|
687
677
|
params: {};
|
|
688
|
-
query:
|
|
689
|
-
headers:
|
|
678
|
+
query: {};
|
|
679
|
+
headers: {};
|
|
690
680
|
response: {
|
|
691
681
|
200: {
|
|
692
682
|
expiresAt?: number | undefined;
|
|
@@ -718,7 +708,7 @@ declare const app: Elysia<"/api", {
|
|
|
718
708
|
} & {
|
|
719
709
|
admin_users: {
|
|
720
710
|
get: {
|
|
721
|
-
body:
|
|
711
|
+
body: {};
|
|
722
712
|
params: {};
|
|
723
713
|
query: {
|
|
724
714
|
limit?: number | undefined;
|
|
@@ -726,7 +716,7 @@ declare const app: Elysia<"/api", {
|
|
|
726
716
|
pageSize?: number | undefined;
|
|
727
717
|
pageIndex?: number | undefined;
|
|
728
718
|
};
|
|
729
|
-
headers:
|
|
719
|
+
headers: {};
|
|
730
720
|
response: {
|
|
731
721
|
200: {
|
|
732
722
|
data: {
|
|
@@ -740,7 +730,6 @@ declare const app: Elysia<"/api", {
|
|
|
740
730
|
twoFactorEnabled: boolean | null;
|
|
741
731
|
username: string | null;
|
|
742
732
|
displayUsername: string | null;
|
|
743
|
-
isAnonymous: boolean | null;
|
|
744
733
|
phoneNumber: string | null;
|
|
745
734
|
phoneNumberVerified: boolean | null;
|
|
746
735
|
role: string | null;
|
|
@@ -780,8 +769,8 @@ declare const app: Elysia<"/api", {
|
|
|
780
769
|
username: string;
|
|
781
770
|
};
|
|
782
771
|
params: {};
|
|
783
|
-
query:
|
|
784
|
-
headers:
|
|
772
|
+
query: {};
|
|
773
|
+
headers: {};
|
|
785
774
|
response: {
|
|
786
775
|
200: {
|
|
787
776
|
user: {
|
|
@@ -795,7 +784,6 @@ declare const app: Elysia<"/api", {
|
|
|
795
784
|
twoFactorEnabled: boolean | null;
|
|
796
785
|
username: string | null;
|
|
797
786
|
displayUsername: string | null;
|
|
798
|
-
isAnonymous: boolean | null;
|
|
799
787
|
phoneNumber: string | null;
|
|
800
788
|
phoneNumberVerified: boolean | null;
|
|
801
789
|
role: string | null;
|
|
@@ -825,12 +813,12 @@ declare const app: Elysia<"/api", {
|
|
|
825
813
|
password: {
|
|
826
814
|
reset: {
|
|
827
815
|
post: {
|
|
828
|
-
body:
|
|
816
|
+
body: {};
|
|
829
817
|
params: {
|
|
830
818
|
userId: string;
|
|
831
819
|
};
|
|
832
|
-
query:
|
|
833
|
-
headers:
|
|
820
|
+
query: {};
|
|
821
|
+
headers: {};
|
|
834
822
|
response: {
|
|
835
823
|
200: {
|
|
836
824
|
password: string;
|
|
@@ -864,8 +852,8 @@ declare const app: Elysia<"/api", {
|
|
|
864
852
|
params: {
|
|
865
853
|
userId: string;
|
|
866
854
|
};
|
|
867
|
-
query:
|
|
868
|
-
headers:
|
|
855
|
+
query: {};
|
|
856
|
+
headers: {};
|
|
869
857
|
response: {
|
|
870
858
|
200: {
|
|
871
859
|
success: boolean;
|
|
@@ -893,10 +881,10 @@ declare const app: Elysia<"/api", {
|
|
|
893
881
|
} & {
|
|
894
882
|
"dynamic-env": {
|
|
895
883
|
get: {
|
|
896
|
-
body:
|
|
884
|
+
body: {};
|
|
897
885
|
params: {};
|
|
898
|
-
query:
|
|
899
|
-
headers:
|
|
886
|
+
query: {};
|
|
887
|
+
headers: {};
|
|
900
888
|
response: {
|
|
901
889
|
200: {
|
|
902
890
|
createdAt: Date;
|
|
@@ -923,12 +911,12 @@ declare const app: Elysia<"/api", {
|
|
|
923
911
|
"dynamic-env": {
|
|
924
912
|
":key": {
|
|
925
913
|
get: {
|
|
926
|
-
body:
|
|
914
|
+
body: {};
|
|
927
915
|
params: {
|
|
928
916
|
key: string;
|
|
929
917
|
};
|
|
930
|
-
query:
|
|
931
|
-
headers:
|
|
918
|
+
query: {};
|
|
919
|
+
headers: {};
|
|
932
920
|
response: {
|
|
933
921
|
200: {
|
|
934
922
|
key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
|
|
@@ -959,8 +947,8 @@ declare const app: Elysia<"/api", {
|
|
|
959
947
|
params: {
|
|
960
948
|
key: string;
|
|
961
949
|
};
|
|
962
|
-
query:
|
|
963
|
-
headers:
|
|
950
|
+
query: {};
|
|
951
|
+
headers: {};
|
|
964
952
|
response: {
|
|
965
953
|
200: {
|
|
966
954
|
success: boolean;
|
|
@@ -986,12 +974,12 @@ declare const app: Elysia<"/api", {
|
|
|
986
974
|
"dynamic-env": {
|
|
987
975
|
":key": {
|
|
988
976
|
delete: {
|
|
989
|
-
body:
|
|
977
|
+
body: {};
|
|
990
978
|
params: {
|
|
991
979
|
key: string;
|
|
992
980
|
};
|
|
993
|
-
query:
|
|
994
|
-
headers:
|
|
981
|
+
query: {};
|
|
982
|
+
headers: {};
|
|
995
983
|
response: {
|
|
996
984
|
200: {
|
|
997
985
|
success: boolean;
|
|
@@ -1016,10 +1004,10 @@ declare const app: Elysia<"/api", {
|
|
|
1016
1004
|
"dynamic-env": {
|
|
1017
1005
|
"regenerate-otp": {
|
|
1018
1006
|
post: {
|
|
1019
|
-
body:
|
|
1007
|
+
body: {};
|
|
1020
1008
|
params: {};
|
|
1021
|
-
query:
|
|
1022
|
-
headers:
|
|
1009
|
+
query: {};
|
|
1010
|
+
headers: {};
|
|
1023
1011
|
response: {
|
|
1024
1012
|
200: {
|
|
1025
1013
|
success: boolean;
|
|
@@ -1035,10 +1023,10 @@ declare const app: Elysia<"/api", {
|
|
|
1035
1023
|
"dynamic-env": {
|
|
1036
1024
|
reload: {
|
|
1037
1025
|
post: {
|
|
1038
|
-
body:
|
|
1026
|
+
body: {};
|
|
1039
1027
|
params: {};
|
|
1040
|
-
query:
|
|
1041
|
-
headers:
|
|
1028
|
+
query: {};
|
|
1029
|
+
headers: {};
|
|
1042
1030
|
response: {
|
|
1043
1031
|
200: {
|
|
1044
1032
|
success: boolean;
|
|
@@ -1057,10 +1045,13 @@ declare const app: Elysia<"/api", {
|
|
|
1057
1045
|
} & {
|
|
1058
1046
|
asset_prices: {
|
|
1059
1047
|
get: {
|
|
1060
|
-
body:
|
|
1048
|
+
body: {};
|
|
1061
1049
|
params: {};
|
|
1062
1050
|
query: {
|
|
1051
|
+
id?: string | undefined;
|
|
1052
|
+
baseAssetId?: string | undefined;
|
|
1063
1053
|
baseAsset?: string | undefined;
|
|
1054
|
+
quoteAssetId?: string | undefined;
|
|
1064
1055
|
quoteAsset?: string | undefined;
|
|
1065
1056
|
source?: string | undefined;
|
|
1066
1057
|
startDate?: Date | undefined;
|
|
@@ -1068,9 +1059,11 @@ declare const app: Elysia<"/api", {
|
|
|
1068
1059
|
offset?: number | undefined;
|
|
1069
1060
|
pageSize?: number | undefined;
|
|
1070
1061
|
pageIndex?: number | undefined;
|
|
1062
|
+
createdAtStart?: Date | undefined;
|
|
1063
|
+
createdAtEnd?: Date | undefined;
|
|
1071
1064
|
endDate?: Date | undefined;
|
|
1072
1065
|
};
|
|
1073
|
-
headers:
|
|
1066
|
+
headers: {};
|
|
1074
1067
|
response: {
|
|
1075
1068
|
200: {
|
|
1076
1069
|
data: {
|
|
@@ -1084,6 +1077,24 @@ declare const app: Elysia<"/api", {
|
|
|
1084
1077
|
price: string;
|
|
1085
1078
|
source: string;
|
|
1086
1079
|
effectiveAt: Date;
|
|
1080
|
+
quoteAssetInfo: {
|
|
1081
|
+
symbol: string;
|
|
1082
|
+
id: string;
|
|
1083
|
+
name: string;
|
|
1084
|
+
code: string;
|
|
1085
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1086
|
+
isActive: boolean;
|
|
1087
|
+
precision: number;
|
|
1088
|
+
};
|
|
1089
|
+
baseAssetInfo: {
|
|
1090
|
+
symbol: string;
|
|
1091
|
+
id: string;
|
|
1092
|
+
name: string;
|
|
1093
|
+
code: string;
|
|
1094
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1095
|
+
isActive: boolean;
|
|
1096
|
+
precision: number;
|
|
1097
|
+
};
|
|
1087
1098
|
}[];
|
|
1088
1099
|
pagination: {
|
|
1089
1100
|
total: number;
|
|
@@ -1113,13 +1124,13 @@ declare const app: Elysia<"/api", {
|
|
|
1113
1124
|
":baseAsset": {
|
|
1114
1125
|
":quoteAsset": {
|
|
1115
1126
|
get: {
|
|
1116
|
-
body:
|
|
1127
|
+
body: {};
|
|
1117
1128
|
params: {
|
|
1118
1129
|
baseAsset: string;
|
|
1119
1130
|
quoteAsset: string;
|
|
1120
1131
|
};
|
|
1121
|
-
query:
|
|
1122
|
-
headers:
|
|
1132
|
+
query: {};
|
|
1133
|
+
headers: {};
|
|
1123
1134
|
response: {
|
|
1124
1135
|
200: {
|
|
1125
1136
|
id: string;
|
|
@@ -1132,6 +1143,24 @@ declare const app: Elysia<"/api", {
|
|
|
1132
1143
|
price: string;
|
|
1133
1144
|
source: string;
|
|
1134
1145
|
effectiveAt: Date;
|
|
1146
|
+
quoteAssetInfo: {
|
|
1147
|
+
symbol: string;
|
|
1148
|
+
id: string;
|
|
1149
|
+
name: string;
|
|
1150
|
+
code: string;
|
|
1151
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1152
|
+
isActive: boolean;
|
|
1153
|
+
precision: number;
|
|
1154
|
+
};
|
|
1155
|
+
baseAssetInfo: {
|
|
1156
|
+
symbol: string;
|
|
1157
|
+
id: string;
|
|
1158
|
+
name: string;
|
|
1159
|
+
code: string;
|
|
1160
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1161
|
+
isActive: boolean;
|
|
1162
|
+
precision: number;
|
|
1163
|
+
};
|
|
1135
1164
|
};
|
|
1136
1165
|
422: {
|
|
1137
1166
|
type: "validation";
|
|
@@ -1150,6 +1179,62 @@ declare const app: Elysia<"/api", {
|
|
|
1150
1179
|
};
|
|
1151
1180
|
};
|
|
1152
1181
|
};
|
|
1182
|
+
} & {
|
|
1183
|
+
asset_prices: {
|
|
1184
|
+
":id": {
|
|
1185
|
+
get: {
|
|
1186
|
+
body: {};
|
|
1187
|
+
params: {
|
|
1188
|
+
id: string;
|
|
1189
|
+
};
|
|
1190
|
+
query: {};
|
|
1191
|
+
headers: {};
|
|
1192
|
+
response: {
|
|
1193
|
+
200: {
|
|
1194
|
+
id: string;
|
|
1195
|
+
createdAt: Date;
|
|
1196
|
+
updatedAt: Date;
|
|
1197
|
+
baseAssetId: string;
|
|
1198
|
+
baseAsset: string;
|
|
1199
|
+
quoteAssetId: string;
|
|
1200
|
+
quoteAsset: string;
|
|
1201
|
+
price: string;
|
|
1202
|
+
source: string;
|
|
1203
|
+
effectiveAt: Date;
|
|
1204
|
+
quoteAssetInfo: {
|
|
1205
|
+
symbol: string;
|
|
1206
|
+
id: string;
|
|
1207
|
+
name: string;
|
|
1208
|
+
code: string;
|
|
1209
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1210
|
+
isActive: boolean;
|
|
1211
|
+
precision: number;
|
|
1212
|
+
};
|
|
1213
|
+
baseAssetInfo: {
|
|
1214
|
+
symbol: string;
|
|
1215
|
+
id: string;
|
|
1216
|
+
name: string;
|
|
1217
|
+
code: string;
|
|
1218
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1219
|
+
isActive: boolean;
|
|
1220
|
+
precision: number;
|
|
1221
|
+
};
|
|
1222
|
+
};
|
|
1223
|
+
422: {
|
|
1224
|
+
type: "validation";
|
|
1225
|
+
on: string;
|
|
1226
|
+
summary?: string;
|
|
1227
|
+
message?: string;
|
|
1228
|
+
found?: unknown;
|
|
1229
|
+
property?: string;
|
|
1230
|
+
expected?: string;
|
|
1231
|
+
};
|
|
1232
|
+
401: "Unauthorized";
|
|
1233
|
+
403: "Forbidden: Admins only";
|
|
1234
|
+
};
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
};
|
|
1153
1238
|
} & {
|
|
1154
1239
|
asset_prices: {
|
|
1155
1240
|
post: {
|
|
@@ -1161,8 +1246,8 @@ declare const app: Elysia<"/api", {
|
|
|
1161
1246
|
effectiveAt: Date;
|
|
1162
1247
|
};
|
|
1163
1248
|
params: {};
|
|
1164
|
-
query:
|
|
1165
|
-
headers:
|
|
1249
|
+
query: {};
|
|
1250
|
+
headers: {};
|
|
1166
1251
|
response: {
|
|
1167
1252
|
200: {
|
|
1168
1253
|
id: string;
|
|
@@ -1175,6 +1260,24 @@ declare const app: Elysia<"/api", {
|
|
|
1175
1260
|
price: string;
|
|
1176
1261
|
source: string;
|
|
1177
1262
|
effectiveAt: Date;
|
|
1263
|
+
quoteAssetInfo: {
|
|
1264
|
+
symbol: string;
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string;
|
|
1267
|
+
code: string;
|
|
1268
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1269
|
+
isActive: boolean;
|
|
1270
|
+
precision: number;
|
|
1271
|
+
};
|
|
1272
|
+
baseAssetInfo: {
|
|
1273
|
+
symbol: string;
|
|
1274
|
+
id: string;
|
|
1275
|
+
name: string;
|
|
1276
|
+
code: string;
|
|
1277
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1278
|
+
isActive: boolean;
|
|
1279
|
+
precision: number;
|
|
1280
|
+
};
|
|
1178
1281
|
};
|
|
1179
1282
|
422: {
|
|
1180
1283
|
type: "validation";
|
|
@@ -1197,17 +1300,22 @@ declare const app: Elysia<"/api", {
|
|
|
1197
1300
|
} & {
|
|
1198
1301
|
assets: {
|
|
1199
1302
|
get: {
|
|
1200
|
-
body:
|
|
1303
|
+
body: {};
|
|
1201
1304
|
params: {};
|
|
1202
1305
|
query: {
|
|
1306
|
+
id?: string | undefined;
|
|
1307
|
+
name?: string | undefined;
|
|
1308
|
+
code?: string | undefined;
|
|
1203
1309
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
1204
1310
|
isActive?: boolean | undefined;
|
|
1311
|
+
typeId?: string | undefined;
|
|
1205
1312
|
limit?: number | undefined;
|
|
1206
1313
|
offset?: number | undefined;
|
|
1207
1314
|
pageSize?: number | undefined;
|
|
1208
1315
|
pageIndex?: number | undefined;
|
|
1316
|
+
keyword?: string | undefined;
|
|
1209
1317
|
};
|
|
1210
|
-
headers:
|
|
1318
|
+
headers: {};
|
|
1211
1319
|
response: {
|
|
1212
1320
|
200: {
|
|
1213
1321
|
data: {
|
|
@@ -1215,12 +1323,14 @@ declare const app: Elysia<"/api", {
|
|
|
1215
1323
|
type: {
|
|
1216
1324
|
id: string;
|
|
1217
1325
|
name: string;
|
|
1218
|
-
key:
|
|
1326
|
+
key: string;
|
|
1219
1327
|
isGasAsset: boolean;
|
|
1220
1328
|
isActive: boolean;
|
|
1221
1329
|
};
|
|
1222
1330
|
id: string;
|
|
1223
1331
|
name: string;
|
|
1332
|
+
createdAt: Date;
|
|
1333
|
+
updatedAt: Date;
|
|
1224
1334
|
code: string;
|
|
1225
1335
|
iconUrl: string;
|
|
1226
1336
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
@@ -1254,19 +1364,19 @@ declare const app: Elysia<"/api", {
|
|
|
1254
1364
|
assets: {
|
|
1255
1365
|
":code": {
|
|
1256
1366
|
get: {
|
|
1257
|
-
body:
|
|
1367
|
+
body: {};
|
|
1258
1368
|
params: {
|
|
1259
1369
|
code: string;
|
|
1260
1370
|
};
|
|
1261
|
-
query:
|
|
1262
|
-
headers:
|
|
1371
|
+
query: {};
|
|
1372
|
+
headers: {};
|
|
1263
1373
|
response: {
|
|
1264
1374
|
200: {
|
|
1265
1375
|
symbol: string;
|
|
1266
1376
|
type: {
|
|
1267
1377
|
id: string;
|
|
1268
1378
|
name: string;
|
|
1269
|
-
key:
|
|
1379
|
+
key: string;
|
|
1270
1380
|
isGasAsset: boolean;
|
|
1271
1381
|
isActive: boolean;
|
|
1272
1382
|
};
|
|
@@ -1301,6 +1411,12 @@ declare const app: Elysia<"/api", {
|
|
|
1301
1411
|
post: {
|
|
1302
1412
|
body: {
|
|
1303
1413
|
isActive?: boolean | undefined;
|
|
1414
|
+
initialPrice?: {
|
|
1415
|
+
quoteAsset?: string | undefined;
|
|
1416
|
+
source?: string | undefined;
|
|
1417
|
+
effectiveAt?: Date | undefined;
|
|
1418
|
+
price: string;
|
|
1419
|
+
} | undefined;
|
|
1304
1420
|
symbol: string;
|
|
1305
1421
|
name: string;
|
|
1306
1422
|
code: string;
|
|
@@ -1308,23 +1424,17 @@ declare const app: Elysia<"/api", {
|
|
|
1308
1424
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1309
1425
|
typeId: string;
|
|
1310
1426
|
precision: number;
|
|
1311
|
-
initialPrice: {
|
|
1312
|
-
quoteAsset?: string | undefined;
|
|
1313
|
-
source?: string | undefined;
|
|
1314
|
-
effectiveAt?: Date | undefined;
|
|
1315
|
-
price: string;
|
|
1316
|
-
};
|
|
1317
1427
|
};
|
|
1318
1428
|
params: {};
|
|
1319
|
-
query:
|
|
1320
|
-
headers:
|
|
1429
|
+
query: {};
|
|
1430
|
+
headers: {};
|
|
1321
1431
|
response: {
|
|
1322
1432
|
200: {
|
|
1323
1433
|
symbol: string;
|
|
1324
1434
|
type: {
|
|
1325
1435
|
id: string;
|
|
1326
1436
|
name: string;
|
|
1327
|
-
key:
|
|
1437
|
+
key: string;
|
|
1328
1438
|
isGasAsset: boolean;
|
|
1329
1439
|
isActive: boolean;
|
|
1330
1440
|
};
|
|
@@ -1369,15 +1479,15 @@ declare const app: Elysia<"/api", {
|
|
|
1369
1479
|
params: {
|
|
1370
1480
|
code: string;
|
|
1371
1481
|
};
|
|
1372
|
-
query:
|
|
1373
|
-
headers:
|
|
1482
|
+
query: {};
|
|
1483
|
+
headers: {};
|
|
1374
1484
|
response: {
|
|
1375
1485
|
200: {
|
|
1376
1486
|
symbol: string;
|
|
1377
1487
|
type: {
|
|
1378
1488
|
id: string;
|
|
1379
1489
|
name: string;
|
|
1380
|
-
key:
|
|
1490
|
+
key: string;
|
|
1381
1491
|
isGasAsset: boolean;
|
|
1382
1492
|
isActive: boolean;
|
|
1383
1493
|
};
|
|
@@ -1407,40 +1517,158 @@ declare const app: Elysia<"/api", {
|
|
|
1407
1517
|
};
|
|
1408
1518
|
};
|
|
1409
1519
|
};
|
|
1410
|
-
};
|
|
1411
|
-
} & {
|
|
1412
|
-
admin: {
|
|
1413
|
-
asset_convert_product: {};
|
|
1414
1520
|
} & {
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1521
|
+
assets: {
|
|
1522
|
+
":code": {
|
|
1523
|
+
enable: {
|
|
1524
|
+
post: {
|
|
1525
|
+
body: {};
|
|
1526
|
+
params: {
|
|
1527
|
+
code: string;
|
|
1528
|
+
};
|
|
1529
|
+
query: {};
|
|
1530
|
+
headers: {};
|
|
1531
|
+
response: {
|
|
1532
|
+
200: {
|
|
1533
|
+
symbol: string;
|
|
1534
|
+
type: {
|
|
1535
|
+
id: string;
|
|
1536
|
+
name: string;
|
|
1537
|
+
key: string;
|
|
1538
|
+
isGasAsset: boolean;
|
|
1539
|
+
isActive: boolean;
|
|
1540
|
+
};
|
|
1541
|
+
id: string;
|
|
1542
|
+
name: string;
|
|
1543
|
+
createdAt: Date;
|
|
1544
|
+
updatedAt: Date;
|
|
1545
|
+
code: string;
|
|
1546
|
+
iconUrl: string;
|
|
1547
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1548
|
+
isActive: boolean;
|
|
1549
|
+
typeId: string;
|
|
1550
|
+
precision: number;
|
|
1551
|
+
};
|
|
1552
|
+
422: {
|
|
1553
|
+
type: "validation";
|
|
1554
|
+
on: string;
|
|
1555
|
+
summary?: string;
|
|
1556
|
+
message?: string;
|
|
1557
|
+
found?: unknown;
|
|
1558
|
+
property?: string;
|
|
1559
|
+
expected?: string;
|
|
1560
|
+
};
|
|
1561
|
+
401: "Unauthorized";
|
|
1562
|
+
403: "Forbidden: Admins only";
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1565
|
+
};
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
} & {
|
|
1569
|
+
assets: {
|
|
1570
|
+
":code": {
|
|
1571
|
+
disable: {
|
|
1572
|
+
post: {
|
|
1573
|
+
body: {};
|
|
1574
|
+
params: {
|
|
1575
|
+
code: string;
|
|
1576
|
+
};
|
|
1577
|
+
query: {};
|
|
1578
|
+
headers: {};
|
|
1579
|
+
response: {
|
|
1580
|
+
200: {
|
|
1581
|
+
symbol: string;
|
|
1582
|
+
type: {
|
|
1583
|
+
id: string;
|
|
1584
|
+
name: string;
|
|
1585
|
+
key: string;
|
|
1586
|
+
isGasAsset: boolean;
|
|
1587
|
+
isActive: boolean;
|
|
1588
|
+
};
|
|
1589
|
+
id: string;
|
|
1590
|
+
name: string;
|
|
1591
|
+
createdAt: Date;
|
|
1592
|
+
updatedAt: Date;
|
|
1593
|
+
code: string;
|
|
1594
|
+
iconUrl: string;
|
|
1595
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1596
|
+
isActive: boolean;
|
|
1597
|
+
typeId: string;
|
|
1598
|
+
precision: number;
|
|
1599
|
+
};
|
|
1600
|
+
422: {
|
|
1601
|
+
type: "validation";
|
|
1602
|
+
on: string;
|
|
1603
|
+
summary?: string;
|
|
1604
|
+
message?: string;
|
|
1605
|
+
found?: unknown;
|
|
1606
|
+
property?: string;
|
|
1607
|
+
expected?: string;
|
|
1608
|
+
};
|
|
1609
|
+
401: "Unauthorized";
|
|
1610
|
+
403: "Forbidden: Admins only";
|
|
1611
|
+
};
|
|
1612
|
+
};
|
|
1613
|
+
};
|
|
1614
|
+
};
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
} & {
|
|
1618
|
+
admin: {
|
|
1619
|
+
asset_convert_product: {};
|
|
1620
|
+
} & {
|
|
1621
|
+
asset_convert_product: {
|
|
1622
|
+
products: {
|
|
1623
|
+
post: {
|
|
1624
|
+
body: {
|
|
1625
|
+
description?: string | null | undefined;
|
|
1626
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1627
|
+
name: string;
|
|
1628
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1629
|
+
targetAssetId: string;
|
|
1630
|
+
payAssetId: string;
|
|
1631
|
+
defaultReceiveAccountTypeId: string;
|
|
1632
|
+
minPayAmount: string;
|
|
1633
|
+
};
|
|
1634
|
+
params: {};
|
|
1635
|
+
query: {};
|
|
1636
|
+
headers: {};
|
|
1637
|
+
response: {
|
|
1638
|
+
200: {
|
|
1639
|
+
id: string;
|
|
1640
|
+
name: string;
|
|
1641
|
+
createdAt: Date;
|
|
1642
|
+
updatedAt: Date;
|
|
1643
|
+
description: string | null;
|
|
1644
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1645
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1646
|
+
targetAssetId: string;
|
|
1647
|
+
payAssetId: string;
|
|
1648
|
+
defaultReceiveAccountTypeId: string;
|
|
1443
1649
|
minPayAmount: string;
|
|
1650
|
+
targetAssetInfo: {
|
|
1651
|
+
symbol: string;
|
|
1652
|
+
id: string;
|
|
1653
|
+
name: string;
|
|
1654
|
+
code: string;
|
|
1655
|
+
isActive: boolean;
|
|
1656
|
+
precision: number;
|
|
1657
|
+
};
|
|
1658
|
+
payAssetInfo: {
|
|
1659
|
+
symbol: string;
|
|
1660
|
+
id: string;
|
|
1661
|
+
name: string;
|
|
1662
|
+
code: string;
|
|
1663
|
+
isActive: boolean;
|
|
1664
|
+
precision: number;
|
|
1665
|
+
};
|
|
1666
|
+
defaultReceiveAccountTypeInfo: {
|
|
1667
|
+
id: string;
|
|
1668
|
+
name: string;
|
|
1669
|
+
key: string;
|
|
1670
|
+
isActive: boolean;
|
|
1671
|
+
};
|
|
1444
1672
|
};
|
|
1445
1673
|
422: {
|
|
1446
1674
|
type: "validation";
|
|
@@ -1475,21 +1703,43 @@ declare const app: Elysia<"/api", {
|
|
|
1475
1703
|
params: {
|
|
1476
1704
|
id: string;
|
|
1477
1705
|
};
|
|
1478
|
-
query:
|
|
1479
|
-
headers:
|
|
1706
|
+
query: {};
|
|
1707
|
+
headers: {};
|
|
1480
1708
|
response: {
|
|
1481
1709
|
200: {
|
|
1482
|
-
createdAt: Date;
|
|
1483
|
-
updatedAt: Date;
|
|
1484
1710
|
id: string;
|
|
1485
1711
|
name: string;
|
|
1712
|
+
createdAt: Date;
|
|
1713
|
+
updatedAt: Date;
|
|
1486
1714
|
description: string | null;
|
|
1715
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1487
1716
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1488
1717
|
targetAssetId: string;
|
|
1489
1718
|
payAssetId: string;
|
|
1490
1719
|
defaultReceiveAccountTypeId: string;
|
|
1491
1720
|
minPayAmount: string;
|
|
1492
|
-
|
|
1721
|
+
targetAssetInfo: {
|
|
1722
|
+
symbol: string;
|
|
1723
|
+
id: string;
|
|
1724
|
+
name: string;
|
|
1725
|
+
code: string;
|
|
1726
|
+
isActive: boolean;
|
|
1727
|
+
precision: number;
|
|
1728
|
+
};
|
|
1729
|
+
payAssetInfo: {
|
|
1730
|
+
symbol: string;
|
|
1731
|
+
id: string;
|
|
1732
|
+
name: string;
|
|
1733
|
+
code: string;
|
|
1734
|
+
isActive: boolean;
|
|
1735
|
+
precision: number;
|
|
1736
|
+
};
|
|
1737
|
+
defaultReceiveAccountTypeInfo: {
|
|
1738
|
+
id: string;
|
|
1739
|
+
name: string;
|
|
1740
|
+
key: string;
|
|
1741
|
+
isActive: boolean;
|
|
1742
|
+
};
|
|
1493
1743
|
};
|
|
1494
1744
|
422: {
|
|
1495
1745
|
type: "validation";
|
|
@@ -1513,25 +1763,47 @@ declare const app: Elysia<"/api", {
|
|
|
1513
1763
|
":id": {
|
|
1514
1764
|
activate: {
|
|
1515
1765
|
post: {
|
|
1516
|
-
body:
|
|
1766
|
+
body: {};
|
|
1517
1767
|
params: {
|
|
1518
1768
|
id: string;
|
|
1519
1769
|
};
|
|
1520
|
-
query:
|
|
1521
|
-
headers:
|
|
1770
|
+
query: {};
|
|
1771
|
+
headers: {};
|
|
1522
1772
|
response: {
|
|
1523
1773
|
200: {
|
|
1524
|
-
createdAt: Date;
|
|
1525
|
-
updatedAt: Date;
|
|
1526
1774
|
id: string;
|
|
1527
1775
|
name: string;
|
|
1776
|
+
createdAt: Date;
|
|
1777
|
+
updatedAt: Date;
|
|
1528
1778
|
description: string | null;
|
|
1779
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1529
1780
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1530
1781
|
targetAssetId: string;
|
|
1531
1782
|
payAssetId: string;
|
|
1532
1783
|
defaultReceiveAccountTypeId: string;
|
|
1533
1784
|
minPayAmount: string;
|
|
1534
|
-
|
|
1785
|
+
targetAssetInfo: {
|
|
1786
|
+
symbol: string;
|
|
1787
|
+
id: string;
|
|
1788
|
+
name: string;
|
|
1789
|
+
code: string;
|
|
1790
|
+
isActive: boolean;
|
|
1791
|
+
precision: number;
|
|
1792
|
+
};
|
|
1793
|
+
payAssetInfo: {
|
|
1794
|
+
symbol: string;
|
|
1795
|
+
id: string;
|
|
1796
|
+
name: string;
|
|
1797
|
+
code: string;
|
|
1798
|
+
isActive: boolean;
|
|
1799
|
+
precision: number;
|
|
1800
|
+
};
|
|
1801
|
+
defaultReceiveAccountTypeInfo: {
|
|
1802
|
+
id: string;
|
|
1803
|
+
name: string;
|
|
1804
|
+
key: string;
|
|
1805
|
+
isActive: boolean;
|
|
1806
|
+
};
|
|
1535
1807
|
};
|
|
1536
1808
|
422: {
|
|
1537
1809
|
type: "validation";
|
|
@@ -1556,25 +1828,47 @@ declare const app: Elysia<"/api", {
|
|
|
1556
1828
|
":id": {
|
|
1557
1829
|
pause: {
|
|
1558
1830
|
post: {
|
|
1559
|
-
body:
|
|
1831
|
+
body: {};
|
|
1560
1832
|
params: {
|
|
1561
1833
|
id: string;
|
|
1562
1834
|
};
|
|
1563
|
-
query:
|
|
1564
|
-
headers:
|
|
1835
|
+
query: {};
|
|
1836
|
+
headers: {};
|
|
1565
1837
|
response: {
|
|
1566
1838
|
200: {
|
|
1567
|
-
createdAt: Date;
|
|
1568
|
-
updatedAt: Date;
|
|
1569
1839
|
id: string;
|
|
1570
1840
|
name: string;
|
|
1841
|
+
createdAt: Date;
|
|
1842
|
+
updatedAt: Date;
|
|
1571
1843
|
description: string | null;
|
|
1844
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1572
1845
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1573
1846
|
targetAssetId: string;
|
|
1574
1847
|
payAssetId: string;
|
|
1575
1848
|
defaultReceiveAccountTypeId: string;
|
|
1576
1849
|
minPayAmount: string;
|
|
1577
|
-
|
|
1850
|
+
targetAssetInfo: {
|
|
1851
|
+
symbol: string;
|
|
1852
|
+
id: string;
|
|
1853
|
+
name: string;
|
|
1854
|
+
code: string;
|
|
1855
|
+
isActive: boolean;
|
|
1856
|
+
precision: number;
|
|
1857
|
+
};
|
|
1858
|
+
payAssetInfo: {
|
|
1859
|
+
symbol: string;
|
|
1860
|
+
id: string;
|
|
1861
|
+
name: string;
|
|
1862
|
+
code: string;
|
|
1863
|
+
isActive: boolean;
|
|
1864
|
+
precision: number;
|
|
1865
|
+
};
|
|
1866
|
+
defaultReceiveAccountTypeInfo: {
|
|
1867
|
+
id: string;
|
|
1868
|
+
name: string;
|
|
1869
|
+
key: string;
|
|
1870
|
+
isActive: boolean;
|
|
1871
|
+
};
|
|
1578
1872
|
};
|
|
1579
1873
|
422: {
|
|
1580
1874
|
type: "validation";
|
|
@@ -1599,25 +1893,47 @@ declare const app: Elysia<"/api", {
|
|
|
1599
1893
|
":id": {
|
|
1600
1894
|
end: {
|
|
1601
1895
|
post: {
|
|
1602
|
-
body:
|
|
1896
|
+
body: {};
|
|
1603
1897
|
params: {
|
|
1604
1898
|
id: string;
|
|
1605
1899
|
};
|
|
1606
|
-
query:
|
|
1607
|
-
headers:
|
|
1900
|
+
query: {};
|
|
1901
|
+
headers: {};
|
|
1608
1902
|
response: {
|
|
1609
1903
|
200: {
|
|
1610
|
-
createdAt: Date;
|
|
1611
|
-
updatedAt: Date;
|
|
1612
1904
|
id: string;
|
|
1613
1905
|
name: string;
|
|
1906
|
+
createdAt: Date;
|
|
1907
|
+
updatedAt: Date;
|
|
1614
1908
|
description: string | null;
|
|
1909
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1615
1910
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1616
1911
|
targetAssetId: string;
|
|
1617
1912
|
payAssetId: string;
|
|
1618
1913
|
defaultReceiveAccountTypeId: string;
|
|
1619
1914
|
minPayAmount: string;
|
|
1620
|
-
|
|
1915
|
+
targetAssetInfo: {
|
|
1916
|
+
symbol: string;
|
|
1917
|
+
id: string;
|
|
1918
|
+
name: string;
|
|
1919
|
+
code: string;
|
|
1920
|
+
isActive: boolean;
|
|
1921
|
+
precision: number;
|
|
1922
|
+
};
|
|
1923
|
+
payAssetInfo: {
|
|
1924
|
+
symbol: string;
|
|
1925
|
+
id: string;
|
|
1926
|
+
name: string;
|
|
1927
|
+
code: string;
|
|
1928
|
+
isActive: boolean;
|
|
1929
|
+
precision: number;
|
|
1930
|
+
};
|
|
1931
|
+
defaultReceiveAccountTypeInfo: {
|
|
1932
|
+
id: string;
|
|
1933
|
+
name: string;
|
|
1934
|
+
key: string;
|
|
1935
|
+
isActive: boolean;
|
|
1936
|
+
};
|
|
1621
1937
|
};
|
|
1622
1938
|
422: {
|
|
1623
1939
|
type: "validation";
|
|
@@ -1636,21 +1952,93 @@ declare const app: Elysia<"/api", {
|
|
|
1636
1952
|
};
|
|
1637
1953
|
};
|
|
1638
1954
|
};
|
|
1955
|
+
} & {
|
|
1956
|
+
asset_convert_product: {
|
|
1957
|
+
products: {
|
|
1958
|
+
":id": {
|
|
1959
|
+
get: {
|
|
1960
|
+
body: {};
|
|
1961
|
+
params: {
|
|
1962
|
+
id: string;
|
|
1963
|
+
};
|
|
1964
|
+
query: {};
|
|
1965
|
+
headers: {};
|
|
1966
|
+
response: {
|
|
1967
|
+
200: {
|
|
1968
|
+
id: string;
|
|
1969
|
+
name: string;
|
|
1970
|
+
createdAt: Date;
|
|
1971
|
+
updatedAt: Date;
|
|
1972
|
+
description: string | null;
|
|
1973
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1974
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1975
|
+
targetAssetId: string;
|
|
1976
|
+
payAssetId: string;
|
|
1977
|
+
defaultReceiveAccountTypeId: string;
|
|
1978
|
+
minPayAmount: string;
|
|
1979
|
+
targetAssetInfo: {
|
|
1980
|
+
symbol: string;
|
|
1981
|
+
id: string;
|
|
1982
|
+
name: string;
|
|
1983
|
+
code: string;
|
|
1984
|
+
isActive: boolean;
|
|
1985
|
+
precision: number;
|
|
1986
|
+
};
|
|
1987
|
+
payAssetInfo: {
|
|
1988
|
+
symbol: string;
|
|
1989
|
+
id: string;
|
|
1990
|
+
name: string;
|
|
1991
|
+
code: string;
|
|
1992
|
+
isActive: boolean;
|
|
1993
|
+
precision: number;
|
|
1994
|
+
};
|
|
1995
|
+
defaultReceiveAccountTypeInfo: {
|
|
1996
|
+
id: string;
|
|
1997
|
+
name: string;
|
|
1998
|
+
key: string;
|
|
1999
|
+
isActive: boolean;
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
422: {
|
|
2003
|
+
type: "validation";
|
|
2004
|
+
on: string;
|
|
2005
|
+
summary?: string;
|
|
2006
|
+
message?: string;
|
|
2007
|
+
found?: unknown;
|
|
2008
|
+
property?: string;
|
|
2009
|
+
expected?: string;
|
|
2010
|
+
};
|
|
2011
|
+
401: "Unauthorized";
|
|
2012
|
+
403: "Forbidden: Admins only";
|
|
2013
|
+
};
|
|
2014
|
+
};
|
|
2015
|
+
};
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
1639
2018
|
} & {
|
|
1640
2019
|
asset_convert_product: {
|
|
1641
2020
|
products: {
|
|
1642
2021
|
get: {
|
|
1643
|
-
body:
|
|
2022
|
+
body: {};
|
|
1644
2023
|
params: {};
|
|
1645
2024
|
query: {
|
|
2025
|
+
id?: string | undefined;
|
|
2026
|
+
name?: string | undefined;
|
|
1646
2027
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1647
2028
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
2029
|
+
targetAssetId?: string | undefined;
|
|
2030
|
+
payAssetId?: string | undefined;
|
|
2031
|
+
defaultReceiveAccountTypeId?: string | undefined;
|
|
1648
2032
|
limit?: number | undefined;
|
|
1649
2033
|
offset?: number | undefined;
|
|
1650
2034
|
pageSize?: number | undefined;
|
|
1651
2035
|
pageIndex?: number | undefined;
|
|
2036
|
+
createdAtStart?: Date | undefined;
|
|
2037
|
+
createdAtEnd?: Date | undefined;
|
|
2038
|
+
updatedAtStart?: Date | undefined;
|
|
2039
|
+
updatedAtEnd?: Date | undefined;
|
|
1652
2040
|
};
|
|
1653
|
-
headers:
|
|
2041
|
+
headers: {};
|
|
1654
2042
|
response: {
|
|
1655
2043
|
200: {
|
|
1656
2044
|
data: {
|
|
@@ -1665,6 +2053,28 @@ declare const app: Elysia<"/api", {
|
|
|
1665
2053
|
payAssetId: string;
|
|
1666
2054
|
defaultReceiveAccountTypeId: string;
|
|
1667
2055
|
minPayAmount: string;
|
|
2056
|
+
targetAssetInfo: {
|
|
2057
|
+
symbol: string;
|
|
2058
|
+
id: string;
|
|
2059
|
+
name: string;
|
|
2060
|
+
code: string;
|
|
2061
|
+
isActive: boolean;
|
|
2062
|
+
precision: number;
|
|
2063
|
+
};
|
|
2064
|
+
payAssetInfo: {
|
|
2065
|
+
symbol: string;
|
|
2066
|
+
id: string;
|
|
2067
|
+
name: string;
|
|
2068
|
+
code: string;
|
|
2069
|
+
isActive: boolean;
|
|
2070
|
+
precision: number;
|
|
2071
|
+
};
|
|
2072
|
+
defaultReceiveAccountTypeInfo: {
|
|
2073
|
+
id: string;
|
|
2074
|
+
name: string;
|
|
2075
|
+
key: string;
|
|
2076
|
+
isActive: boolean;
|
|
2077
|
+
};
|
|
1668
2078
|
}[];
|
|
1669
2079
|
pagination: {
|
|
1670
2080
|
total: number;
|
|
@@ -1693,21 +2103,41 @@ declare const app: Elysia<"/api", {
|
|
|
1693
2103
|
asset_convert_product: {
|
|
1694
2104
|
orders: {
|
|
1695
2105
|
get: {
|
|
1696
|
-
body:
|
|
2106
|
+
body: {};
|
|
1697
2107
|
params: {};
|
|
1698
2108
|
query: {
|
|
2109
|
+
id?: string | undefined;
|
|
1699
2110
|
userId?: string | undefined;
|
|
1700
2111
|
status?: "created" | "completed" | "failed" | undefined;
|
|
2112
|
+
idempotencyKey?: string | undefined;
|
|
2113
|
+
orderNo?: string | undefined;
|
|
1701
2114
|
productId?: string | undefined;
|
|
2115
|
+
sourcePayAccountId?: string | undefined;
|
|
2116
|
+
receiveAccountId?: string | undefined;
|
|
2117
|
+
failureCode?: string | null | undefined;
|
|
1702
2118
|
limit?: number | undefined;
|
|
1703
2119
|
offset?: number | undefined;
|
|
1704
2120
|
pageSize?: number | undefined;
|
|
1705
2121
|
pageIndex?: number | undefined;
|
|
2122
|
+
createdAtStart?: Date | undefined;
|
|
2123
|
+
createdAtEnd?: Date | undefined;
|
|
1706
2124
|
};
|
|
1707
|
-
headers:
|
|
2125
|
+
headers: {};
|
|
1708
2126
|
response: {
|
|
1709
2127
|
200: {
|
|
1710
2128
|
data: {
|
|
2129
|
+
debitLedgerEntryInfo?: {
|
|
2130
|
+
id: string;
|
|
2131
|
+
createdAt: Date;
|
|
2132
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2133
|
+
amount: string;
|
|
2134
|
+
} | undefined;
|
|
2135
|
+
creditLedgerEntryInfo?: {
|
|
2136
|
+
id: string;
|
|
2137
|
+
createdAt: Date;
|
|
2138
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2139
|
+
amount: string;
|
|
2140
|
+
} | undefined;
|
|
1711
2141
|
id: string;
|
|
1712
2142
|
createdAt: Date;
|
|
1713
2143
|
updatedAt: Date;
|
|
@@ -1730,6 +2160,56 @@ declare const app: Elysia<"/api", {
|
|
|
1730
2160
|
creditLedgerEntryId: string | null;
|
|
1731
2161
|
failureCode: string | null;
|
|
1732
2162
|
failureReason: string | null;
|
|
2163
|
+
targetAssetInfo: {
|
|
2164
|
+
symbol: string;
|
|
2165
|
+
id: string;
|
|
2166
|
+
name: string;
|
|
2167
|
+
code: string;
|
|
2168
|
+
isActive: boolean;
|
|
2169
|
+
precision: number;
|
|
2170
|
+
};
|
|
2171
|
+
payAssetInfo: {
|
|
2172
|
+
symbol: string;
|
|
2173
|
+
id: string;
|
|
2174
|
+
name: string;
|
|
2175
|
+
code: string;
|
|
2176
|
+
isActive: boolean;
|
|
2177
|
+
precision: number;
|
|
2178
|
+
};
|
|
2179
|
+
userInfo: {
|
|
2180
|
+
email: string;
|
|
2181
|
+
id: string;
|
|
2182
|
+
username: string | null;
|
|
2183
|
+
displayUsername: string | null;
|
|
2184
|
+
phoneNumber: string | null;
|
|
2185
|
+
banned: boolean | null;
|
|
2186
|
+
};
|
|
2187
|
+
productInfo: {
|
|
2188
|
+
id: string;
|
|
2189
|
+
name: string;
|
|
2190
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2191
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2192
|
+
};
|
|
2193
|
+
quoteAssetInfo: {
|
|
2194
|
+
symbol: string;
|
|
2195
|
+
id: string;
|
|
2196
|
+
name: string;
|
|
2197
|
+
code: string;
|
|
2198
|
+
isActive: boolean;
|
|
2199
|
+
precision: number;
|
|
2200
|
+
};
|
|
2201
|
+
sourcePayAccountInfo: {
|
|
2202
|
+
id: string;
|
|
2203
|
+
status: "active" | "frozen" | "disabled";
|
|
2204
|
+
assetId: string;
|
|
2205
|
+
ledgerAccountTypeId: string;
|
|
2206
|
+
};
|
|
2207
|
+
receiveAccountInfo: {
|
|
2208
|
+
id: string;
|
|
2209
|
+
status: "active" | "frozen" | "disabled";
|
|
2210
|
+
assetId: string;
|
|
2211
|
+
ledgerAccountTypeId: string;
|
|
2212
|
+
};
|
|
1733
2213
|
}[];
|
|
1734
2214
|
pagination: {
|
|
1735
2215
|
total: number;
|
|
@@ -1754,6 +2234,274 @@ declare const app: Elysia<"/api", {
|
|
|
1754
2234
|
};
|
|
1755
2235
|
};
|
|
1756
2236
|
};
|
|
2237
|
+
} & {
|
|
2238
|
+
asset_convert_product: {
|
|
2239
|
+
orders: {
|
|
2240
|
+
":id": {
|
|
2241
|
+
get: {
|
|
2242
|
+
body: {};
|
|
2243
|
+
params: {
|
|
2244
|
+
id: string;
|
|
2245
|
+
};
|
|
2246
|
+
query: {};
|
|
2247
|
+
headers: {};
|
|
2248
|
+
response: {
|
|
2249
|
+
200: {
|
|
2250
|
+
debitLedgerEntryInfo?: {
|
|
2251
|
+
id: string;
|
|
2252
|
+
createdAt: Date;
|
|
2253
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2254
|
+
amount: string;
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
creditLedgerEntryInfo?: {
|
|
2257
|
+
id: string;
|
|
2258
|
+
createdAt: Date;
|
|
2259
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2260
|
+
amount: string;
|
|
2261
|
+
} | undefined;
|
|
2262
|
+
id: string;
|
|
2263
|
+
createdAt: Date;
|
|
2264
|
+
updatedAt: Date;
|
|
2265
|
+
userId: string;
|
|
2266
|
+
status: "created" | "completed" | "failed";
|
|
2267
|
+
idempotencyKey: string;
|
|
2268
|
+
orderNo: string;
|
|
2269
|
+
productId: string;
|
|
2270
|
+
payAssetIdSnapshot: string;
|
|
2271
|
+
targetAssetIdSnapshot: string;
|
|
2272
|
+
quoteAssetIdSnapshot: string;
|
|
2273
|
+
priceSnapshot: string;
|
|
2274
|
+
priceEffectiveAtSnapshot: Date;
|
|
2275
|
+
payAmount: string;
|
|
2276
|
+
sourcePayAccountId: string;
|
|
2277
|
+
targetAmount: string;
|
|
2278
|
+
settlementModeSnapshot: "available" | "locked";
|
|
2279
|
+
receiveAccountId: string;
|
|
2280
|
+
debitLedgerEntryId: string | null;
|
|
2281
|
+
creditLedgerEntryId: string | null;
|
|
2282
|
+
failureCode: string | null;
|
|
2283
|
+
failureReason: string | null;
|
|
2284
|
+
targetAssetInfo: {
|
|
2285
|
+
symbol: string;
|
|
2286
|
+
id: string;
|
|
2287
|
+
name: string;
|
|
2288
|
+
code: string;
|
|
2289
|
+
isActive: boolean;
|
|
2290
|
+
precision: number;
|
|
2291
|
+
};
|
|
2292
|
+
payAssetInfo: {
|
|
2293
|
+
symbol: string;
|
|
2294
|
+
id: string;
|
|
2295
|
+
name: string;
|
|
2296
|
+
code: string;
|
|
2297
|
+
isActive: boolean;
|
|
2298
|
+
precision: number;
|
|
2299
|
+
};
|
|
2300
|
+
userInfo: {
|
|
2301
|
+
email: string;
|
|
2302
|
+
id: string;
|
|
2303
|
+
username: string | null;
|
|
2304
|
+
displayUsername: string | null;
|
|
2305
|
+
phoneNumber: string | null;
|
|
2306
|
+
banned: boolean | null;
|
|
2307
|
+
};
|
|
2308
|
+
productInfo: {
|
|
2309
|
+
id: string;
|
|
2310
|
+
name: string;
|
|
2311
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2312
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2313
|
+
};
|
|
2314
|
+
quoteAssetInfo: {
|
|
2315
|
+
symbol: string;
|
|
2316
|
+
id: string;
|
|
2317
|
+
name: string;
|
|
2318
|
+
code: string;
|
|
2319
|
+
isActive: boolean;
|
|
2320
|
+
precision: number;
|
|
2321
|
+
};
|
|
2322
|
+
sourcePayAccountInfo: {
|
|
2323
|
+
id: string;
|
|
2324
|
+
status: "active" | "frozen" | "disabled";
|
|
2325
|
+
assetId: string;
|
|
2326
|
+
ledgerAccountTypeId: string;
|
|
2327
|
+
};
|
|
2328
|
+
receiveAccountInfo: {
|
|
2329
|
+
id: string;
|
|
2330
|
+
status: "active" | "frozen" | "disabled";
|
|
2331
|
+
assetId: string;
|
|
2332
|
+
ledgerAccountTypeId: string;
|
|
2333
|
+
};
|
|
2334
|
+
};
|
|
2335
|
+
422: {
|
|
2336
|
+
type: "validation";
|
|
2337
|
+
on: string;
|
|
2338
|
+
summary?: string;
|
|
2339
|
+
message?: string;
|
|
2340
|
+
found?: unknown;
|
|
2341
|
+
property?: string;
|
|
2342
|
+
expected?: string;
|
|
2343
|
+
};
|
|
2344
|
+
401: "Unauthorized";
|
|
2345
|
+
403: "Forbidden: Admins only";
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
};
|
|
2349
|
+
};
|
|
2350
|
+
};
|
|
2351
|
+
} & {
|
|
2352
|
+
asset_convert_product: {
|
|
2353
|
+
orders: {
|
|
2354
|
+
"by-order-no": {
|
|
2355
|
+
":orderNo": {
|
|
2356
|
+
get: {
|
|
2357
|
+
body: {};
|
|
2358
|
+
params: {
|
|
2359
|
+
orderNo: string;
|
|
2360
|
+
};
|
|
2361
|
+
query: {};
|
|
2362
|
+
headers: {};
|
|
2363
|
+
response: {
|
|
2364
|
+
200: {
|
|
2365
|
+
debitLedgerEntryInfo?: {
|
|
2366
|
+
id: string;
|
|
2367
|
+
createdAt: Date;
|
|
2368
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2369
|
+
amount: string;
|
|
2370
|
+
} | undefined;
|
|
2371
|
+
creditLedgerEntryInfo?: {
|
|
2372
|
+
id: string;
|
|
2373
|
+
createdAt: Date;
|
|
2374
|
+
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
2375
|
+
amount: string;
|
|
2376
|
+
} | undefined;
|
|
2377
|
+
id: string;
|
|
2378
|
+
createdAt: Date;
|
|
2379
|
+
updatedAt: Date;
|
|
2380
|
+
userId: string;
|
|
2381
|
+
status: "created" | "completed" | "failed";
|
|
2382
|
+
idempotencyKey: string;
|
|
2383
|
+
orderNo: string;
|
|
2384
|
+
productId: string;
|
|
2385
|
+
payAssetIdSnapshot: string;
|
|
2386
|
+
targetAssetIdSnapshot: string;
|
|
2387
|
+
quoteAssetIdSnapshot: string;
|
|
2388
|
+
priceSnapshot: string;
|
|
2389
|
+
priceEffectiveAtSnapshot: Date;
|
|
2390
|
+
payAmount: string;
|
|
2391
|
+
sourcePayAccountId: string;
|
|
2392
|
+
targetAmount: string;
|
|
2393
|
+
settlementModeSnapshot: "available" | "locked";
|
|
2394
|
+
receiveAccountId: string;
|
|
2395
|
+
debitLedgerEntryId: string | null;
|
|
2396
|
+
creditLedgerEntryId: string | null;
|
|
2397
|
+
failureCode: string | null;
|
|
2398
|
+
failureReason: string | null;
|
|
2399
|
+
targetAssetInfo: {
|
|
2400
|
+
symbol: string;
|
|
2401
|
+
id: string;
|
|
2402
|
+
name: string;
|
|
2403
|
+
code: string;
|
|
2404
|
+
isActive: boolean;
|
|
2405
|
+
precision: number;
|
|
2406
|
+
};
|
|
2407
|
+
payAssetInfo: {
|
|
2408
|
+
symbol: string;
|
|
2409
|
+
id: string;
|
|
2410
|
+
name: string;
|
|
2411
|
+
code: string;
|
|
2412
|
+
isActive: boolean;
|
|
2413
|
+
precision: number;
|
|
2414
|
+
};
|
|
2415
|
+
userInfo: {
|
|
2416
|
+
email: string;
|
|
2417
|
+
id: string;
|
|
2418
|
+
username: string | null;
|
|
2419
|
+
displayUsername: string | null;
|
|
2420
|
+
phoneNumber: string | null;
|
|
2421
|
+
banned: boolean | null;
|
|
2422
|
+
};
|
|
2423
|
+
productInfo: {
|
|
2424
|
+
id: string;
|
|
2425
|
+
name: string;
|
|
2426
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2427
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2428
|
+
};
|
|
2429
|
+
quoteAssetInfo: {
|
|
2430
|
+
symbol: string;
|
|
2431
|
+
id: string;
|
|
2432
|
+
name: string;
|
|
2433
|
+
code: string;
|
|
2434
|
+
isActive: boolean;
|
|
2435
|
+
precision: number;
|
|
2436
|
+
};
|
|
2437
|
+
sourcePayAccountInfo: {
|
|
2438
|
+
id: string;
|
|
2439
|
+
status: "active" | "frozen" | "disabled";
|
|
2440
|
+
assetId: string;
|
|
2441
|
+
ledgerAccountTypeId: string;
|
|
2442
|
+
};
|
|
2443
|
+
receiveAccountInfo: {
|
|
2444
|
+
id: string;
|
|
2445
|
+
status: "active" | "frozen" | "disabled";
|
|
2446
|
+
assetId: string;
|
|
2447
|
+
ledgerAccountTypeId: string;
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
422: {
|
|
2451
|
+
type: "validation";
|
|
2452
|
+
on: string;
|
|
2453
|
+
summary?: string;
|
|
2454
|
+
message?: string;
|
|
2455
|
+
found?: unknown;
|
|
2456
|
+
property?: string;
|
|
2457
|
+
expected?: string;
|
|
2458
|
+
};
|
|
2459
|
+
401: "Unauthorized";
|
|
2460
|
+
403: "Forbidden: Admins only";
|
|
2461
|
+
};
|
|
2462
|
+
};
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
};
|
|
2467
|
+
} & {
|
|
2468
|
+
asset_convert_product: {
|
|
2469
|
+
orders: {
|
|
2470
|
+
stats: {
|
|
2471
|
+
get: {
|
|
2472
|
+
body: {};
|
|
2473
|
+
params: {};
|
|
2474
|
+
query: {
|
|
2475
|
+
productId?: string | undefined;
|
|
2476
|
+
createdAtStart?: Date | undefined;
|
|
2477
|
+
createdAtEnd?: Date | undefined;
|
|
2478
|
+
};
|
|
2479
|
+
headers: {};
|
|
2480
|
+
response: {
|
|
2481
|
+
200: {
|
|
2482
|
+
totalCount: number;
|
|
2483
|
+
createdCount: number;
|
|
2484
|
+
completedCount: number;
|
|
2485
|
+
failedCount: number;
|
|
2486
|
+
totalPayAmount: string;
|
|
2487
|
+
totalTargetAmount: string;
|
|
2488
|
+
};
|
|
2489
|
+
422: {
|
|
2490
|
+
type: "validation";
|
|
2491
|
+
on: string;
|
|
2492
|
+
summary?: string;
|
|
2493
|
+
message?: string;
|
|
2494
|
+
found?: unknown;
|
|
2495
|
+
property?: string;
|
|
2496
|
+
expected?: string;
|
|
2497
|
+
};
|
|
2498
|
+
401: "Unauthorized";
|
|
2499
|
+
403: "Forbidden: Admins only";
|
|
2500
|
+
};
|
|
2501
|
+
};
|
|
2502
|
+
};
|
|
2503
|
+
};
|
|
2504
|
+
};
|
|
1757
2505
|
};
|
|
1758
2506
|
} & {
|
|
1759
2507
|
admin: {
|
|
@@ -1761,25 +2509,29 @@ declare const app: Elysia<"/api", {
|
|
|
1761
2509
|
} & {
|
|
1762
2510
|
asset_types: {
|
|
1763
2511
|
get: {
|
|
1764
|
-
body:
|
|
2512
|
+
body: {};
|
|
1765
2513
|
params: {};
|
|
1766
2514
|
query: {
|
|
2515
|
+
id?: string | undefined;
|
|
1767
2516
|
name?: string | undefined;
|
|
1768
|
-
key?:
|
|
2517
|
+
key?: string | undefined;
|
|
1769
2518
|
isActive?: boolean | undefined;
|
|
1770
2519
|
limit?: number | undefined;
|
|
1771
2520
|
offset?: number | undefined;
|
|
1772
2521
|
pageSize?: number | undefined;
|
|
1773
2522
|
pageIndex?: number | undefined;
|
|
2523
|
+
keyword?: string | undefined;
|
|
1774
2524
|
};
|
|
1775
|
-
headers:
|
|
2525
|
+
headers: {};
|
|
1776
2526
|
response: {
|
|
1777
2527
|
200: {
|
|
1778
2528
|
data: {
|
|
1779
2529
|
id: string;
|
|
1780
2530
|
name: string;
|
|
2531
|
+
createdAt: Date;
|
|
2532
|
+
updatedAt: Date;
|
|
1781
2533
|
description: string | null;
|
|
1782
|
-
key:
|
|
2534
|
+
key: string;
|
|
1783
2535
|
isGasAsset: boolean;
|
|
1784
2536
|
isActive: boolean;
|
|
1785
2537
|
}[];
|
|
@@ -1809,12 +2561,12 @@ declare const app: Elysia<"/api", {
|
|
|
1809
2561
|
asset_types: {
|
|
1810
2562
|
":id": {
|
|
1811
2563
|
get: {
|
|
1812
|
-
body:
|
|
2564
|
+
body: {};
|
|
1813
2565
|
params: {
|
|
1814
2566
|
id: string;
|
|
1815
2567
|
};
|
|
1816
|
-
query:
|
|
1817
|
-
headers:
|
|
2568
|
+
query: {};
|
|
2569
|
+
headers: {};
|
|
1818
2570
|
response: {
|
|
1819
2571
|
200: {
|
|
1820
2572
|
id: string;
|
|
@@ -1822,7 +2574,7 @@ declare const app: Elysia<"/api", {
|
|
|
1822
2574
|
createdAt: Date;
|
|
1823
2575
|
updatedAt: Date;
|
|
1824
2576
|
description: string | null;
|
|
1825
|
-
key:
|
|
2577
|
+
key: string;
|
|
1826
2578
|
isGasAsset: boolean;
|
|
1827
2579
|
isActive: boolean;
|
|
1828
2580
|
};
|
|
@@ -1841,32 +2593,70 @@ declare const app: Elysia<"/api", {
|
|
|
1841
2593
|
};
|
|
1842
2594
|
};
|
|
1843
2595
|
};
|
|
2596
|
+
} & {
|
|
2597
|
+
asset_types: {
|
|
2598
|
+
post: {
|
|
2599
|
+
body: {
|
|
2600
|
+
description?: string | null | undefined;
|
|
2601
|
+
isGasAsset?: boolean | undefined;
|
|
2602
|
+
isActive?: boolean | undefined;
|
|
2603
|
+
name: string;
|
|
2604
|
+
key: string;
|
|
2605
|
+
};
|
|
2606
|
+
params: {};
|
|
2607
|
+
query: {};
|
|
2608
|
+
headers: {};
|
|
2609
|
+
response: {
|
|
2610
|
+
200: {
|
|
2611
|
+
id: string;
|
|
2612
|
+
name: string;
|
|
2613
|
+
createdAt: Date;
|
|
2614
|
+
updatedAt: Date;
|
|
2615
|
+
description: string | null;
|
|
2616
|
+
key: string;
|
|
2617
|
+
isGasAsset: boolean;
|
|
2618
|
+
isActive: boolean;
|
|
2619
|
+
};
|
|
2620
|
+
422: {
|
|
2621
|
+
type: "validation";
|
|
2622
|
+
on: string;
|
|
2623
|
+
summary?: string;
|
|
2624
|
+
message?: string;
|
|
2625
|
+
found?: unknown;
|
|
2626
|
+
property?: string;
|
|
2627
|
+
expected?: string;
|
|
2628
|
+
};
|
|
2629
|
+
401: "Unauthorized";
|
|
2630
|
+
403: "Forbidden: Admins only";
|
|
2631
|
+
};
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
1844
2634
|
} & {
|
|
1845
2635
|
asset_types: {
|
|
1846
2636
|
":id": {
|
|
1847
2637
|
patch: {
|
|
1848
2638
|
body: {
|
|
2639
|
+
name?: string | undefined;
|
|
1849
2640
|
description?: string | null | undefined;
|
|
1850
2641
|
isGasAsset?: boolean | undefined;
|
|
1851
2642
|
isActive?: boolean | undefined;
|
|
1852
|
-
name: string;
|
|
1853
2643
|
};
|
|
1854
2644
|
params: {
|
|
1855
2645
|
id: string;
|
|
1856
2646
|
};
|
|
1857
|
-
query:
|
|
1858
|
-
headers:
|
|
2647
|
+
query: {};
|
|
2648
|
+
headers: {};
|
|
1859
2649
|
response: {
|
|
1860
2650
|
200: {
|
|
1861
|
-
createdAt: Date;
|
|
1862
|
-
updatedAt: Date;
|
|
1863
2651
|
id: string;
|
|
1864
|
-
key: "FIAT_CURRENCY" | "STABLE_COIN" | "RWA_VIRTUAL_COIN";
|
|
1865
2652
|
name: string;
|
|
2653
|
+
createdAt: Date;
|
|
2654
|
+
updatedAt: Date;
|
|
1866
2655
|
description: string | null;
|
|
2656
|
+
key: string;
|
|
1867
2657
|
isGasAsset: boolean;
|
|
1868
2658
|
isActive: boolean;
|
|
1869
|
-
}
|
|
2659
|
+
};
|
|
1870
2660
|
422: {
|
|
1871
2661
|
type: "validation";
|
|
1872
2662
|
on: string;
|
|
@@ -1889,7 +2679,7 @@ declare const app: Elysia<"/api", {
|
|
|
1889
2679
|
} & {
|
|
1890
2680
|
wallet_types: {
|
|
1891
2681
|
get: {
|
|
1892
|
-
body:
|
|
2682
|
+
body: {};
|
|
1893
2683
|
params: {};
|
|
1894
2684
|
query: {
|
|
1895
2685
|
key?: string | undefined;
|
|
@@ -1900,7 +2690,7 @@ declare const app: Elysia<"/api", {
|
|
|
1900
2690
|
pageSize?: number | undefined;
|
|
1901
2691
|
pageIndex?: number | undefined;
|
|
1902
2692
|
};
|
|
1903
|
-
headers:
|
|
2693
|
+
headers: {};
|
|
1904
2694
|
response: {
|
|
1905
2695
|
200: {
|
|
1906
2696
|
data: {
|
|
@@ -1954,8 +2744,8 @@ declare const app: Elysia<"/api", {
|
|
|
1954
2744
|
allowedLedgerAccountTypeIds: string[];
|
|
1955
2745
|
};
|
|
1956
2746
|
params: {};
|
|
1957
|
-
query:
|
|
1958
|
-
headers:
|
|
2747
|
+
query: {};
|
|
2748
|
+
headers: {};
|
|
1959
2749
|
response: {
|
|
1960
2750
|
200: {
|
|
1961
2751
|
id: string;
|
|
@@ -1988,6 +2778,49 @@ declare const app: Elysia<"/api", {
|
|
|
1988
2778
|
};
|
|
1989
2779
|
};
|
|
1990
2780
|
};
|
|
2781
|
+
} & {
|
|
2782
|
+
wallet_types: {
|
|
2783
|
+
":key": {
|
|
2784
|
+
get: {
|
|
2785
|
+
body: {};
|
|
2786
|
+
params: {
|
|
2787
|
+
key: string;
|
|
2788
|
+
};
|
|
2789
|
+
query: {};
|
|
2790
|
+
headers: {};
|
|
2791
|
+
response: {
|
|
2792
|
+
200: {
|
|
2793
|
+
id: string;
|
|
2794
|
+
name: string;
|
|
2795
|
+
createdAt: Date;
|
|
2796
|
+
updatedAt: Date;
|
|
2797
|
+
key: string;
|
|
2798
|
+
isActive: boolean;
|
|
2799
|
+
sortOrder: number;
|
|
2800
|
+
isSingleton: boolean;
|
|
2801
|
+
allowedLedgerAccountTypes: {
|
|
2802
|
+
id: string;
|
|
2803
|
+
name: string;
|
|
2804
|
+
description: string | null;
|
|
2805
|
+
key: string;
|
|
2806
|
+
isActive: boolean;
|
|
2807
|
+
}[];
|
|
2808
|
+
};
|
|
2809
|
+
422: {
|
|
2810
|
+
type: "validation";
|
|
2811
|
+
on: string;
|
|
2812
|
+
summary?: string;
|
|
2813
|
+
message?: string;
|
|
2814
|
+
found?: unknown;
|
|
2815
|
+
property?: string;
|
|
2816
|
+
expected?: string;
|
|
2817
|
+
};
|
|
2818
|
+
401: "Unauthorized";
|
|
2819
|
+
403: "Forbidden: Admins only";
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
1991
2824
|
} & {
|
|
1992
2825
|
wallet_types: {
|
|
1993
2826
|
":key": {
|
|
@@ -2002,8 +2835,8 @@ declare const app: Elysia<"/api", {
|
|
|
2002
2835
|
params: {
|
|
2003
2836
|
key: string;
|
|
2004
2837
|
};
|
|
2005
|
-
query:
|
|
2006
|
-
headers:
|
|
2838
|
+
query: {};
|
|
2839
|
+
headers: {};
|
|
2007
2840
|
response: {
|
|
2008
2841
|
200: {
|
|
2009
2842
|
id: string;
|
|
@@ -2037,6 +2870,96 @@ declare const app: Elysia<"/api", {
|
|
|
2037
2870
|
};
|
|
2038
2871
|
};
|
|
2039
2872
|
};
|
|
2873
|
+
} & {
|
|
2874
|
+
wallet_types: {
|
|
2875
|
+
":key": {
|
|
2876
|
+
enable: {
|
|
2877
|
+
post: {
|
|
2878
|
+
body: {};
|
|
2879
|
+
params: {
|
|
2880
|
+
key: string;
|
|
2881
|
+
};
|
|
2882
|
+
query: {};
|
|
2883
|
+
headers: {};
|
|
2884
|
+
response: {
|
|
2885
|
+
200: {
|
|
2886
|
+
id: string;
|
|
2887
|
+
name: string;
|
|
2888
|
+
createdAt: Date;
|
|
2889
|
+
updatedAt: Date;
|
|
2890
|
+
key: string;
|
|
2891
|
+
isActive: boolean;
|
|
2892
|
+
sortOrder: number;
|
|
2893
|
+
isSingleton: boolean;
|
|
2894
|
+
allowedLedgerAccountTypes: {
|
|
2895
|
+
id: string;
|
|
2896
|
+
name: string;
|
|
2897
|
+
description: string | null;
|
|
2898
|
+
key: string;
|
|
2899
|
+
isActive: boolean;
|
|
2900
|
+
}[];
|
|
2901
|
+
};
|
|
2902
|
+
422: {
|
|
2903
|
+
type: "validation";
|
|
2904
|
+
on: string;
|
|
2905
|
+
summary?: string;
|
|
2906
|
+
message?: string;
|
|
2907
|
+
found?: unknown;
|
|
2908
|
+
property?: string;
|
|
2909
|
+
expected?: string;
|
|
2910
|
+
};
|
|
2911
|
+
401: "Unauthorized";
|
|
2912
|
+
403: "Forbidden: Admins only";
|
|
2913
|
+
};
|
|
2914
|
+
};
|
|
2915
|
+
};
|
|
2916
|
+
};
|
|
2917
|
+
};
|
|
2918
|
+
} & {
|
|
2919
|
+
wallet_types: {
|
|
2920
|
+
":key": {
|
|
2921
|
+
disable: {
|
|
2922
|
+
post: {
|
|
2923
|
+
body: {};
|
|
2924
|
+
params: {
|
|
2925
|
+
key: string;
|
|
2926
|
+
};
|
|
2927
|
+
query: {};
|
|
2928
|
+
headers: {};
|
|
2929
|
+
response: {
|
|
2930
|
+
200: {
|
|
2931
|
+
id: string;
|
|
2932
|
+
name: string;
|
|
2933
|
+
createdAt: Date;
|
|
2934
|
+
updatedAt: Date;
|
|
2935
|
+
key: string;
|
|
2936
|
+
isActive: boolean;
|
|
2937
|
+
sortOrder: number;
|
|
2938
|
+
isSingleton: boolean;
|
|
2939
|
+
allowedLedgerAccountTypes: {
|
|
2940
|
+
id: string;
|
|
2941
|
+
name: string;
|
|
2942
|
+
description: string | null;
|
|
2943
|
+
key: string;
|
|
2944
|
+
isActive: boolean;
|
|
2945
|
+
}[];
|
|
2946
|
+
};
|
|
2947
|
+
422: {
|
|
2948
|
+
type: "validation";
|
|
2949
|
+
on: string;
|
|
2950
|
+
summary?: string;
|
|
2951
|
+
message?: string;
|
|
2952
|
+
found?: unknown;
|
|
2953
|
+
property?: string;
|
|
2954
|
+
expected?: string;
|
|
2955
|
+
};
|
|
2956
|
+
401: "Unauthorized";
|
|
2957
|
+
403: "Forbidden: Admins only";
|
|
2958
|
+
};
|
|
2959
|
+
};
|
|
2960
|
+
};
|
|
2961
|
+
};
|
|
2962
|
+
};
|
|
2040
2963
|
};
|
|
2041
2964
|
} & {
|
|
2042
2965
|
admin: {
|
|
@@ -2044,7 +2967,7 @@ declare const app: Elysia<"/api", {
|
|
|
2044
2967
|
} & {
|
|
2045
2968
|
wallets: {
|
|
2046
2969
|
get: {
|
|
2047
|
-
body:
|
|
2970
|
+
body: {};
|
|
2048
2971
|
params: {};
|
|
2049
2972
|
query: {
|
|
2050
2973
|
userId?: string | undefined;
|
|
@@ -2053,9 +2976,10 @@ declare const app: Elysia<"/api", {
|
|
|
2053
2976
|
offset?: number | undefined;
|
|
2054
2977
|
pageSize?: number | undefined;
|
|
2055
2978
|
pageIndex?: number | undefined;
|
|
2979
|
+
walletId?: string | undefined;
|
|
2056
2980
|
walletTypeKey?: string | undefined;
|
|
2057
2981
|
};
|
|
2058
|
-
headers:
|
|
2982
|
+
headers: {};
|
|
2059
2983
|
response: {
|
|
2060
2984
|
200: {
|
|
2061
2985
|
data: {
|
|
@@ -2077,6 +3001,15 @@ declare const app: Elysia<"/api", {
|
|
|
2077
3001
|
sortOrder: number;
|
|
2078
3002
|
isSingleton: boolean;
|
|
2079
3003
|
};
|
|
3004
|
+
userInfo: {
|
|
3005
|
+
email: string;
|
|
3006
|
+
id: string;
|
|
3007
|
+
username: string | null;
|
|
3008
|
+
displayUsername: string | null;
|
|
3009
|
+
phoneNumber: string | null;
|
|
3010
|
+
role: string | null;
|
|
3011
|
+
banned: boolean | null;
|
|
3012
|
+
};
|
|
2080
3013
|
}[];
|
|
2081
3014
|
pagination: {
|
|
2082
3015
|
total: number;
|
|
@@ -2100,6 +3033,61 @@ declare const app: Elysia<"/api", {
|
|
|
2100
3033
|
};
|
|
2101
3034
|
};
|
|
2102
3035
|
};
|
|
3036
|
+
} & {
|
|
3037
|
+
wallets: {
|
|
3038
|
+
":id": {
|
|
3039
|
+
get: {
|
|
3040
|
+
body: {};
|
|
3041
|
+
params: {
|
|
3042
|
+
id: string;
|
|
3043
|
+
};
|
|
3044
|
+
query: {};
|
|
3045
|
+
headers: {};
|
|
3046
|
+
response: {
|
|
3047
|
+
200: {
|
|
3048
|
+
id: string;
|
|
3049
|
+
name: string;
|
|
3050
|
+
createdAt: Date;
|
|
3051
|
+
updatedAt: Date;
|
|
3052
|
+
userId: string;
|
|
3053
|
+
isActive: boolean;
|
|
3054
|
+
walletTypeId: string;
|
|
3055
|
+
isPrimary: boolean;
|
|
3056
|
+
walletType: {
|
|
3057
|
+
id: string;
|
|
3058
|
+
name: string;
|
|
3059
|
+
createdAt: Date;
|
|
3060
|
+
updatedAt: Date;
|
|
3061
|
+
key: string;
|
|
3062
|
+
isActive: boolean;
|
|
3063
|
+
sortOrder: number;
|
|
3064
|
+
isSingleton: boolean;
|
|
3065
|
+
};
|
|
3066
|
+
userInfo: {
|
|
3067
|
+
email: string;
|
|
3068
|
+
id: string;
|
|
3069
|
+
username: string | null;
|
|
3070
|
+
displayUsername: string | null;
|
|
3071
|
+
phoneNumber: string | null;
|
|
3072
|
+
role: string | null;
|
|
3073
|
+
banned: boolean | null;
|
|
3074
|
+
};
|
|
3075
|
+
};
|
|
3076
|
+
422: {
|
|
3077
|
+
type: "validation";
|
|
3078
|
+
on: string;
|
|
3079
|
+
summary?: string;
|
|
3080
|
+
message?: string;
|
|
3081
|
+
found?: unknown;
|
|
3082
|
+
property?: string;
|
|
3083
|
+
expected?: string;
|
|
3084
|
+
};
|
|
3085
|
+
401: "Unauthorized";
|
|
3086
|
+
403: "Forbidden: Admins only";
|
|
3087
|
+
};
|
|
3088
|
+
};
|
|
3089
|
+
};
|
|
3090
|
+
};
|
|
2103
3091
|
};
|
|
2104
3092
|
} & {
|
|
2105
3093
|
admin: {
|
|
@@ -2107,7 +3095,7 @@ declare const app: Elysia<"/api", {
|
|
|
2107
3095
|
} & {
|
|
2108
3096
|
ledger_account_types: {
|
|
2109
3097
|
get: {
|
|
2110
|
-
body:
|
|
3098
|
+
body: {};
|
|
2111
3099
|
params: {};
|
|
2112
3100
|
query: {
|
|
2113
3101
|
key?: string | undefined;
|
|
@@ -2117,7 +3105,7 @@ declare const app: Elysia<"/api", {
|
|
|
2117
3105
|
pageSize?: number | undefined;
|
|
2118
3106
|
pageIndex?: number | undefined;
|
|
2119
3107
|
};
|
|
2120
|
-
headers:
|
|
3108
|
+
headers: {};
|
|
2121
3109
|
response: {
|
|
2122
3110
|
200: {
|
|
2123
3111
|
data: {
|
|
@@ -2169,12 +3157,12 @@ declare const app: Elysia<"/api", {
|
|
|
2169
3157
|
ledger_account_types: {
|
|
2170
3158
|
":key": {
|
|
2171
3159
|
get: {
|
|
2172
|
-
body:
|
|
3160
|
+
body: {};
|
|
2173
3161
|
params: {
|
|
2174
3162
|
key: string;
|
|
2175
3163
|
};
|
|
2176
|
-
query:
|
|
2177
|
-
headers:
|
|
3164
|
+
query: {};
|
|
3165
|
+
headers: {};
|
|
2178
3166
|
response: {
|
|
2179
3167
|
200: {
|
|
2180
3168
|
id: string;
|
|
@@ -2242,8 +3230,8 @@ declare const app: Elysia<"/api", {
|
|
|
2242
3230
|
key: string;
|
|
2243
3231
|
};
|
|
2244
3232
|
params: {};
|
|
2245
|
-
query:
|
|
2246
|
-
headers:
|
|
3233
|
+
query: {};
|
|
3234
|
+
headers: {};
|
|
2247
3235
|
response: {
|
|
2248
3236
|
200: {
|
|
2249
3237
|
id: string;
|
|
@@ -2312,8 +3300,8 @@ declare const app: Elysia<"/api", {
|
|
|
2312
3300
|
params: {
|
|
2313
3301
|
key: string;
|
|
2314
3302
|
};
|
|
2315
|
-
query:
|
|
2316
|
-
headers:
|
|
3303
|
+
query: {};
|
|
3304
|
+
headers: {};
|
|
2317
3305
|
response: {
|
|
2318
3306
|
200: {
|
|
2319
3307
|
id: string;
|
|
@@ -2362,7 +3350,7 @@ declare const app: Elysia<"/api", {
|
|
|
2362
3350
|
} & {
|
|
2363
3351
|
ledger_accounts: {
|
|
2364
3352
|
get: {
|
|
2365
|
-
body:
|
|
3353
|
+
body: {};
|
|
2366
3354
|
params: {};
|
|
2367
3355
|
query: {
|
|
2368
3356
|
userId?: string | undefined;
|
|
@@ -2373,7 +3361,7 @@ declare const app: Elysia<"/api", {
|
|
|
2373
3361
|
pageSize?: number | undefined;
|
|
2374
3362
|
pageIndex?: number | undefined;
|
|
2375
3363
|
};
|
|
2376
|
-
headers:
|
|
3364
|
+
headers: {};
|
|
2377
3365
|
response: {
|
|
2378
3366
|
200: {
|
|
2379
3367
|
data: {
|
|
@@ -2414,12 +3402,12 @@ declare const app: Elysia<"/api", {
|
|
|
2414
3402
|
ledger_accounts: {
|
|
2415
3403
|
":id": {
|
|
2416
3404
|
get: {
|
|
2417
|
-
body:
|
|
3405
|
+
body: {};
|
|
2418
3406
|
params: {
|
|
2419
3407
|
id: string;
|
|
2420
3408
|
};
|
|
2421
|
-
query:
|
|
2422
|
-
headers:
|
|
3409
|
+
query: {};
|
|
3410
|
+
headers: {};
|
|
2423
3411
|
response: {
|
|
2424
3412
|
200: {
|
|
2425
3413
|
id: string;
|
|
@@ -2459,8 +3447,8 @@ declare const app: Elysia<"/api", {
|
|
|
2459
3447
|
params: {
|
|
2460
3448
|
id: string;
|
|
2461
3449
|
};
|
|
2462
|
-
query:
|
|
2463
|
-
headers:
|
|
3450
|
+
query: {};
|
|
3451
|
+
headers: {};
|
|
2464
3452
|
response: {
|
|
2465
3453
|
200: {
|
|
2466
3454
|
id: string;
|
|
@@ -2508,8 +3496,8 @@ declare const app: Elysia<"/api", {
|
|
|
2508
3496
|
direction: "increase" | "decrease";
|
|
2509
3497
|
};
|
|
2510
3498
|
params: {};
|
|
2511
|
-
query:
|
|
2512
|
-
headers:
|
|
3499
|
+
query: {};
|
|
3500
|
+
headers: {};
|
|
2513
3501
|
response: {
|
|
2514
3502
|
200: {
|
|
2515
3503
|
userId: string;
|
|
@@ -2558,13 +3546,13 @@ declare const app: Elysia<"/api", {
|
|
|
2558
3546
|
}[];
|
|
2559
3547
|
};
|
|
2560
3548
|
params: {};
|
|
2561
|
-
query:
|
|
2562
|
-
headers:
|
|
3549
|
+
query: {};
|
|
3550
|
+
headers: {};
|
|
2563
3551
|
response: {
|
|
2564
3552
|
200: {
|
|
2565
3553
|
totalCount: number;
|
|
2566
|
-
successCount: number;
|
|
2567
3554
|
failedCount: number;
|
|
3555
|
+
successCount: number;
|
|
2568
3556
|
results: {
|
|
2569
3557
|
accountId?: string | undefined;
|
|
2570
3558
|
ledgerEntryId?: string | undefined;
|
|
@@ -3021,7 +4009,7 @@ declare const app: Elysia<"/api", {
|
|
|
3021
4009
|
} & {
|
|
3022
4010
|
checkIns: {
|
|
3023
4011
|
get: {
|
|
3024
|
-
body:
|
|
4012
|
+
body: {};
|
|
3025
4013
|
params: {};
|
|
3026
4014
|
query: {
|
|
3027
4015
|
userId?: string | undefined;
|
|
@@ -3033,7 +4021,7 @@ declare const app: Elysia<"/api", {
|
|
|
3033
4021
|
pageIndex?: number | undefined;
|
|
3034
4022
|
endDate?: Date | undefined;
|
|
3035
4023
|
};
|
|
3036
|
-
headers:
|
|
4024
|
+
headers: {};
|
|
3037
4025
|
response: {
|
|
3038
4026
|
200: {
|
|
3039
4027
|
data: {
|
|
@@ -3048,7 +4036,6 @@ declare const app: Elysia<"/api", {
|
|
|
3048
4036
|
twoFactorEnabled: boolean | null;
|
|
3049
4037
|
username: string | null;
|
|
3050
4038
|
displayUsername: string | null;
|
|
3051
|
-
isAnonymous: boolean | null;
|
|
3052
4039
|
phoneNumber: string | null;
|
|
3053
4040
|
phoneNumberVerified: boolean | null;
|
|
3054
4041
|
role: string | null;
|
|
@@ -3100,8 +4087,8 @@ declare const app: Elysia<"/api", {
|
|
|
3100
4087
|
fileId: string;
|
|
3101
4088
|
};
|
|
3102
4089
|
params: {};
|
|
3103
|
-
query:
|
|
3104
|
-
headers:
|
|
4090
|
+
query: {};
|
|
4091
|
+
headers: {};
|
|
3105
4092
|
response: {
|
|
3106
4093
|
200: {
|
|
3107
4094
|
error: string | null;
|
|
@@ -3138,7 +4125,7 @@ declare const app: Elysia<"/api", {
|
|
|
3138
4125
|
ledger_account_import: {
|
|
3139
4126
|
jobs: {
|
|
3140
4127
|
get: {
|
|
3141
|
-
body:
|
|
4128
|
+
body: {};
|
|
3142
4129
|
params: {};
|
|
3143
4130
|
query: {
|
|
3144
4131
|
status?: "pending" | "failed" | "running" | "success" | undefined;
|
|
@@ -3147,7 +4134,7 @@ declare const app: Elysia<"/api", {
|
|
|
3147
4134
|
pageSize?: number | undefined;
|
|
3148
4135
|
pageIndex?: number | undefined;
|
|
3149
4136
|
};
|
|
3150
|
-
headers:
|
|
4137
|
+
headers: {};
|
|
3151
4138
|
response: {
|
|
3152
4139
|
200: {
|
|
3153
4140
|
data: {
|
|
@@ -3194,12 +4181,12 @@ declare const app: Elysia<"/api", {
|
|
|
3194
4181
|
jobs: {
|
|
3195
4182
|
":id": {
|
|
3196
4183
|
get: {
|
|
3197
|
-
body:
|
|
4184
|
+
body: {};
|
|
3198
4185
|
params: {
|
|
3199
4186
|
id: string;
|
|
3200
4187
|
};
|
|
3201
|
-
query:
|
|
3202
|
-
headers:
|
|
4188
|
+
query: {};
|
|
4189
|
+
headers: {};
|
|
3203
4190
|
response: {
|
|
3204
4191
|
200: {
|
|
3205
4192
|
error: string | null;
|
|
@@ -3239,7 +4226,7 @@ declare const app: Elysia<"/api", {
|
|
|
3239
4226
|
":id": {
|
|
3240
4227
|
items: {
|
|
3241
4228
|
get: {
|
|
3242
|
-
body:
|
|
4229
|
+
body: {};
|
|
3243
4230
|
params: {
|
|
3244
4231
|
id: string;
|
|
3245
4232
|
};
|
|
@@ -3250,7 +4237,7 @@ declare const app: Elysia<"/api", {
|
|
|
3250
4237
|
pageSize?: number | undefined;
|
|
3251
4238
|
pageIndex?: number | undefined;
|
|
3252
4239
|
};
|
|
3253
|
-
headers:
|
|
4240
|
+
headers: {};
|
|
3254
4241
|
response: {
|
|
3255
4242
|
200: {
|
|
3256
4243
|
data: {
|
|
@@ -3305,10 +4292,10 @@ declare const app: Elysia<"/api", {
|
|
|
3305
4292
|
ledger_account_import: {
|
|
3306
4293
|
template: {
|
|
3307
4294
|
get: {
|
|
3308
|
-
body:
|
|
4295
|
+
body: {};
|
|
3309
4296
|
params: {};
|
|
3310
|
-
query:
|
|
3311
|
-
headers:
|
|
4297
|
+
query: {};
|
|
4298
|
+
headers: {};
|
|
3312
4299
|
response: {
|
|
3313
4300
|
200: ArrayBuffer;
|
|
3314
4301
|
422: {
|
|
@@ -3334,7 +4321,7 @@ declare const app: Elysia<"/api", {
|
|
|
3334
4321
|
ledger: {
|
|
3335
4322
|
entries: {
|
|
3336
4323
|
get: {
|
|
3337
|
-
body:
|
|
4324
|
+
body: {};
|
|
3338
4325
|
params: {};
|
|
3339
4326
|
query: {
|
|
3340
4327
|
accountId?: string | undefined;
|
|
@@ -3345,7 +4332,7 @@ declare const app: Elysia<"/api", {
|
|
|
3345
4332
|
pageIndex?: number | undefined;
|
|
3346
4333
|
userId: string;
|
|
3347
4334
|
};
|
|
3348
|
-
headers:
|
|
4335
|
+
headers: {};
|
|
3349
4336
|
response: {
|
|
3350
4337
|
200: {
|
|
3351
4338
|
data: {
|
|
@@ -3416,8 +4403,8 @@ declare const app: Elysia<"/api", {
|
|
|
3416
4403
|
quoteAssetId: string;
|
|
3417
4404
|
};
|
|
3418
4405
|
params: {};
|
|
3419
|
-
query:
|
|
3420
|
-
headers:
|
|
4406
|
+
query: {};
|
|
4407
|
+
headers: {};
|
|
3421
4408
|
response: {
|
|
3422
4409
|
200: {
|
|
3423
4410
|
id: string;
|
|
@@ -3473,8 +4460,8 @@ declare const app: Elysia<"/api", {
|
|
|
3473
4460
|
params: {
|
|
3474
4461
|
id: string;
|
|
3475
4462
|
};
|
|
3476
|
-
query:
|
|
3477
|
-
headers:
|
|
4463
|
+
query: {};
|
|
4464
|
+
headers: {};
|
|
3478
4465
|
response: {
|
|
3479
4466
|
200: {
|
|
3480
4467
|
createdAt: Date;
|
|
@@ -3515,12 +4502,12 @@ declare const app: Elysia<"/api", {
|
|
|
3515
4502
|
":id": {
|
|
3516
4503
|
enable: {
|
|
3517
4504
|
post: {
|
|
3518
|
-
body:
|
|
4505
|
+
body: {};
|
|
3519
4506
|
params: {
|
|
3520
4507
|
id: string;
|
|
3521
4508
|
};
|
|
3522
|
-
query:
|
|
3523
|
-
headers:
|
|
4509
|
+
query: {};
|
|
4510
|
+
headers: {};
|
|
3524
4511
|
response: {
|
|
3525
4512
|
200: {
|
|
3526
4513
|
createdAt: Date;
|
|
@@ -3562,12 +4549,12 @@ declare const app: Elysia<"/api", {
|
|
|
3562
4549
|
":id": {
|
|
3563
4550
|
disable: {
|
|
3564
4551
|
post: {
|
|
3565
|
-
body:
|
|
4552
|
+
body: {};
|
|
3566
4553
|
params: {
|
|
3567
4554
|
id: string;
|
|
3568
4555
|
};
|
|
3569
|
-
query:
|
|
3570
|
-
headers:
|
|
4556
|
+
query: {};
|
|
4557
|
+
headers: {};
|
|
3571
4558
|
response: {
|
|
3572
4559
|
200: {
|
|
3573
4560
|
createdAt: Date;
|
|
@@ -3607,7 +4594,7 @@ declare const app: Elysia<"/api", {
|
|
|
3607
4594
|
market_pricing: {
|
|
3608
4595
|
strategies: {
|
|
3609
4596
|
get: {
|
|
3610
|
-
body:
|
|
4597
|
+
body: {};
|
|
3611
4598
|
params: {};
|
|
3612
4599
|
query: {
|
|
3613
4600
|
baseAssetId?: string | undefined;
|
|
@@ -3618,7 +4605,7 @@ declare const app: Elysia<"/api", {
|
|
|
3618
4605
|
pageSize?: number | undefined;
|
|
3619
4606
|
pageIndex?: number | undefined;
|
|
3620
4607
|
};
|
|
3621
|
-
headers:
|
|
4608
|
+
headers: {};
|
|
3622
4609
|
response: {
|
|
3623
4610
|
200: {
|
|
3624
4611
|
data: {
|
|
@@ -3666,12 +4653,12 @@ declare const app: Elysia<"/api", {
|
|
|
3666
4653
|
strategies: {
|
|
3667
4654
|
":id": {
|
|
3668
4655
|
get: {
|
|
3669
|
-
body:
|
|
4656
|
+
body: {};
|
|
3670
4657
|
params: {
|
|
3671
4658
|
id: string;
|
|
3672
4659
|
};
|
|
3673
|
-
query:
|
|
3674
|
-
headers:
|
|
4660
|
+
query: {};
|
|
4661
|
+
headers: {};
|
|
3675
4662
|
response: {
|
|
3676
4663
|
200: {
|
|
3677
4664
|
id: string;
|
|
@@ -3712,12 +4699,12 @@ declare const app: Elysia<"/api", {
|
|
|
3712
4699
|
":id": {
|
|
3713
4700
|
"run-now": {
|
|
3714
4701
|
post: {
|
|
3715
|
-
body:
|
|
4702
|
+
body: {};
|
|
3716
4703
|
params: {
|
|
3717
4704
|
id: string;
|
|
3718
4705
|
};
|
|
3719
|
-
query:
|
|
3720
|
-
headers:
|
|
4706
|
+
query: {};
|
|
4707
|
+
headers: {};
|
|
3721
4708
|
response: {
|
|
3722
4709
|
200: {
|
|
3723
4710
|
price: string;
|
|
@@ -3747,10 +4734,10 @@ declare const app: Elysia<"/api", {
|
|
|
3747
4734
|
jobs: {
|
|
3748
4735
|
"run-enabled": {
|
|
3749
4736
|
post: {
|
|
3750
|
-
body:
|
|
4737
|
+
body: {};
|
|
3751
4738
|
params: {};
|
|
3752
|
-
query:
|
|
3753
|
-
headers:
|
|
4739
|
+
query: {};
|
|
4740
|
+
headers: {};
|
|
3754
4741
|
response: {
|
|
3755
4742
|
200: {
|
|
3756
4743
|
successCount: number;
|
|
@@ -3781,7 +4768,7 @@ declare const app: Elysia<"/api", {
|
|
|
3781
4768
|
klines: {
|
|
3782
4769
|
"1m": {
|
|
3783
4770
|
get: {
|
|
3784
|
-
body:
|
|
4771
|
+
body: {};
|
|
3785
4772
|
params: {};
|
|
3786
4773
|
query: {
|
|
3787
4774
|
source?: string | undefined;
|
|
@@ -3794,7 +4781,7 @@ declare const app: Elysia<"/api", {
|
|
|
3794
4781
|
baseAsset: string;
|
|
3795
4782
|
quoteAsset: string;
|
|
3796
4783
|
};
|
|
3797
|
-
headers:
|
|
4784
|
+
headers: {};
|
|
3798
4785
|
response: {
|
|
3799
4786
|
200: {
|
|
3800
4787
|
data: {
|
|
@@ -3852,8 +4839,8 @@ declare const app: Elysia<"/api", {
|
|
|
3852
4839
|
quoteAsset: string;
|
|
3853
4840
|
};
|
|
3854
4841
|
params: {};
|
|
3855
|
-
query:
|
|
3856
|
-
headers:
|
|
4842
|
+
query: {};
|
|
4843
|
+
headers: {};
|
|
3857
4844
|
response: {
|
|
3858
4845
|
200: {
|
|
3859
4846
|
id: string;
|
|
@@ -3897,10 +4884,10 @@ declare const app: Elysia<"/api", {
|
|
|
3897
4884
|
"1m": {
|
|
3898
4885
|
"run-enabled": {
|
|
3899
4886
|
post: {
|
|
3900
|
-
body:
|
|
4887
|
+
body: {};
|
|
3901
4888
|
params: {};
|
|
3902
|
-
query:
|
|
3903
|
-
headers:
|
|
4889
|
+
query: {};
|
|
4890
|
+
headers: {};
|
|
3904
4891
|
response: {
|
|
3905
4892
|
200: {
|
|
3906
4893
|
bucketAt: Date;
|
|
@@ -3932,7 +4919,7 @@ declare const app: Elysia<"/api", {
|
|
|
3932
4919
|
} & {
|
|
3933
4920
|
deposit: {
|
|
3934
4921
|
get: {
|
|
3935
|
-
body:
|
|
4922
|
+
body: {};
|
|
3936
4923
|
params: {};
|
|
3937
4924
|
query: {
|
|
3938
4925
|
userId?: string | undefined;
|
|
@@ -3943,7 +4930,7 @@ declare const app: Elysia<"/api", {
|
|
|
3943
4930
|
pageSize?: number | undefined;
|
|
3944
4931
|
pageIndex?: number | undefined;
|
|
3945
4932
|
};
|
|
3946
|
-
headers:
|
|
4933
|
+
headers: {};
|
|
3947
4934
|
response: {
|
|
3948
4935
|
200: {
|
|
3949
4936
|
data: {
|
|
@@ -3958,7 +4945,6 @@ declare const app: Elysia<"/api", {
|
|
|
3958
4945
|
twoFactorEnabled: boolean | null;
|
|
3959
4946
|
username: string | null;
|
|
3960
4947
|
displayUsername: string | null;
|
|
3961
|
-
isAnonymous: boolean | null;
|
|
3962
4948
|
phoneNumber: string | null;
|
|
3963
4949
|
phoneNumberVerified: boolean | null;
|
|
3964
4950
|
role: string | null;
|
|
@@ -4020,8 +5006,8 @@ declare const app: Elysia<"/api", {
|
|
|
4020
5006
|
params: {
|
|
4021
5007
|
orderId: string;
|
|
4022
5008
|
};
|
|
4023
|
-
query:
|
|
4024
|
-
headers:
|
|
5009
|
+
query: {};
|
|
5010
|
+
headers: {};
|
|
4025
5011
|
response: {
|
|
4026
5012
|
200: {
|
|
4027
5013
|
createdAt: Date;
|
|
@@ -4071,8 +5057,8 @@ declare const app: Elysia<"/api", {
|
|
|
4071
5057
|
params: {
|
|
4072
5058
|
orderId: string;
|
|
4073
5059
|
};
|
|
4074
|
-
query:
|
|
4075
|
-
headers:
|
|
5060
|
+
query: {};
|
|
5061
|
+
headers: {};
|
|
4076
5062
|
response: {
|
|
4077
5063
|
200: {
|
|
4078
5064
|
createdAt: Date;
|
|
@@ -4118,7 +5104,7 @@ declare const app: Elysia<"/api", {
|
|
|
4118
5104
|
} & {
|
|
4119
5105
|
withdraw: {
|
|
4120
5106
|
get: {
|
|
4121
|
-
body:
|
|
5107
|
+
body: {};
|
|
4122
5108
|
params: {};
|
|
4123
5109
|
query: {
|
|
4124
5110
|
userId?: string | undefined;
|
|
@@ -4128,7 +5114,7 @@ declare const app: Elysia<"/api", {
|
|
|
4128
5114
|
pageSize?: number | undefined;
|
|
4129
5115
|
pageIndex?: number | undefined;
|
|
4130
5116
|
};
|
|
4131
|
-
headers:
|
|
5117
|
+
headers: {};
|
|
4132
5118
|
response: {
|
|
4133
5119
|
200: {
|
|
4134
5120
|
data: {
|
|
@@ -4183,8 +5169,8 @@ declare const app: Elysia<"/api", {
|
|
|
4183
5169
|
params: {
|
|
4184
5170
|
orderId: string;
|
|
4185
5171
|
};
|
|
4186
|
-
query:
|
|
4187
|
-
headers:
|
|
5172
|
+
query: {};
|
|
5173
|
+
headers: {};
|
|
4188
5174
|
response: {
|
|
4189
5175
|
200: {
|
|
4190
5176
|
id: string;
|
|
@@ -4232,8 +5218,8 @@ declare const app: Elysia<"/api", {
|
|
|
4232
5218
|
params: {
|
|
4233
5219
|
orderId: string;
|
|
4234
5220
|
};
|
|
4235
|
-
query:
|
|
4236
|
-
headers:
|
|
5221
|
+
query: {};
|
|
5222
|
+
headers: {};
|
|
4237
5223
|
response: {
|
|
4238
5224
|
200: {
|
|
4239
5225
|
id: string;
|
|
@@ -4275,12 +5261,12 @@ declare const app: Elysia<"/api", {
|
|
|
4275
5261
|
":orderId": {
|
|
4276
5262
|
paid: {
|
|
4277
5263
|
post: {
|
|
4278
|
-
body:
|
|
5264
|
+
body: {};
|
|
4279
5265
|
params: {
|
|
4280
5266
|
orderId: string;
|
|
4281
5267
|
};
|
|
4282
|
-
query:
|
|
4283
|
-
headers:
|
|
5268
|
+
query: {};
|
|
5269
|
+
headers: {};
|
|
4284
5270
|
response: {
|
|
4285
5271
|
200: {
|
|
4286
5272
|
id: string;
|
|
@@ -4335,8 +5321,8 @@ declare const app: Elysia<"/api", {
|
|
|
4335
5321
|
content: string;
|
|
4336
5322
|
};
|
|
4337
5323
|
params: {};
|
|
4338
|
-
query:
|
|
4339
|
-
headers:
|
|
5324
|
+
query: {};
|
|
5325
|
+
headers: {};
|
|
4340
5326
|
response: {
|
|
4341
5327
|
200: {
|
|
4342
5328
|
type: "system" | "transaction" | "activity" | "security";
|
|
@@ -4367,7 +5353,7 @@ declare const app: Elysia<"/api", {
|
|
|
4367
5353
|
} & {
|
|
4368
5354
|
notifications: {
|
|
4369
5355
|
get: {
|
|
4370
|
-
body:
|
|
5356
|
+
body: {};
|
|
4371
5357
|
params: {};
|
|
4372
5358
|
query: {
|
|
4373
5359
|
type?: "system" | "transaction" | "activity" | "security" | undefined;
|
|
@@ -4377,7 +5363,7 @@ declare const app: Elysia<"/api", {
|
|
|
4377
5363
|
pageSize?: number | undefined;
|
|
4378
5364
|
pageIndex?: number | undefined;
|
|
4379
5365
|
};
|
|
4380
|
-
headers:
|
|
5366
|
+
headers: {};
|
|
4381
5367
|
response: {
|
|
4382
5368
|
200: {
|
|
4383
5369
|
data: {
|
|
@@ -4422,10 +5408,10 @@ declare const app: Elysia<"/api", {
|
|
|
4422
5408
|
notifications: {
|
|
4423
5409
|
stats: {
|
|
4424
5410
|
get: {
|
|
4425
|
-
body:
|
|
5411
|
+
body: {};
|
|
4426
5412
|
params: {};
|
|
4427
|
-
query:
|
|
4428
|
-
headers:
|
|
5413
|
+
query: {};
|
|
5414
|
+
headers: {};
|
|
4429
5415
|
response: {
|
|
4430
5416
|
200: {
|
|
4431
5417
|
totalSent: number;
|
|
@@ -4622,7 +5608,7 @@ declare const app: Elysia<"/api", {
|
|
|
4622
5608
|
referrals: {
|
|
4623
5609
|
summary: {
|
|
4624
5610
|
get: {
|
|
4625
|
-
body:
|
|
5611
|
+
body: {};
|
|
4626
5612
|
params: {};
|
|
4627
5613
|
query: {
|
|
4628
5614
|
limit?: number | undefined;
|
|
@@ -4632,7 +5618,7 @@ declare const app: Elysia<"/api", {
|
|
|
4632
5618
|
maxDepth?: number | undefined;
|
|
4633
5619
|
referralCode: string;
|
|
4634
5620
|
};
|
|
4635
|
-
headers:
|
|
5621
|
+
headers: {};
|
|
4636
5622
|
response: {
|
|
4637
5623
|
200: {
|
|
4638
5624
|
referredBy?: string | undefined;
|
|
@@ -4662,7 +5648,7 @@ declare const app: Elysia<"/api", {
|
|
|
4662
5648
|
referrals: {
|
|
4663
5649
|
members: {
|
|
4664
5650
|
get: {
|
|
4665
|
-
body:
|
|
5651
|
+
body: {};
|
|
4666
5652
|
params: {};
|
|
4667
5653
|
query: {
|
|
4668
5654
|
limit?: number | undefined;
|
|
@@ -4672,7 +5658,7 @@ declare const app: Elysia<"/api", {
|
|
|
4672
5658
|
maxDepth?: number | undefined;
|
|
4673
5659
|
referralCode: string;
|
|
4674
5660
|
};
|
|
4675
|
-
headers:
|
|
5661
|
+
headers: {};
|
|
4676
5662
|
response: {
|
|
4677
5663
|
200: {
|
|
4678
5664
|
data: {
|
|
@@ -4687,7 +5673,6 @@ declare const app: Elysia<"/api", {
|
|
|
4687
5673
|
twoFactorEnabled: boolean | null;
|
|
4688
5674
|
username: string | null;
|
|
4689
5675
|
displayUsername: string | null;
|
|
4690
|
-
isAnonymous: boolean | null;
|
|
4691
5676
|
phoneNumber: string | null;
|
|
4692
5677
|
phoneNumberVerified: boolean | null;
|
|
4693
5678
|
role: string | null;
|
|
@@ -4735,8 +5720,8 @@ declare const app: Elysia<"/api", {
|
|
|
4735
5720
|
commissionRate: string;
|
|
4736
5721
|
};
|
|
4737
5722
|
params: {};
|
|
4738
|
-
query:
|
|
4739
|
-
headers:
|
|
5723
|
+
query: {};
|
|
5724
|
+
headers: {};
|
|
4740
5725
|
response: {
|
|
4741
5726
|
200: {
|
|
4742
5727
|
id: string;
|
|
@@ -4764,7 +5749,7 @@ declare const app: Elysia<"/api", {
|
|
|
4764
5749
|
referrals: {
|
|
4765
5750
|
"depth-configs": {
|
|
4766
5751
|
get: {
|
|
4767
|
-
body:
|
|
5752
|
+
body: {};
|
|
4768
5753
|
params: {};
|
|
4769
5754
|
query: {
|
|
4770
5755
|
depth?: number | undefined;
|
|
@@ -4773,7 +5758,7 @@ declare const app: Elysia<"/api", {
|
|
|
4773
5758
|
pageSize?: number | undefined;
|
|
4774
5759
|
pageIndex?: number | undefined;
|
|
4775
5760
|
};
|
|
4776
|
-
headers:
|
|
5761
|
+
headers: {};
|
|
4777
5762
|
response: {
|
|
4778
5763
|
200: {
|
|
4779
5764
|
data: {
|
|
@@ -4811,12 +5796,12 @@ declare const app: Elysia<"/api", {
|
|
|
4811
5796
|
"depth-configs": {
|
|
4812
5797
|
":id": {
|
|
4813
5798
|
get: {
|
|
4814
|
-
body:
|
|
5799
|
+
body: {};
|
|
4815
5800
|
params: {
|
|
4816
5801
|
id: string;
|
|
4817
5802
|
};
|
|
4818
|
-
query:
|
|
4819
|
-
headers:
|
|
5803
|
+
query: {};
|
|
5804
|
+
headers: {};
|
|
4820
5805
|
response: {
|
|
4821
5806
|
200: {
|
|
4822
5807
|
id: string;
|
|
@@ -4853,8 +5838,8 @@ declare const app: Elysia<"/api", {
|
|
|
4853
5838
|
params: {
|
|
4854
5839
|
id: string;
|
|
4855
5840
|
};
|
|
4856
|
-
query:
|
|
4857
|
-
headers:
|
|
5841
|
+
query: {};
|
|
5842
|
+
headers: {};
|
|
4858
5843
|
response: {
|
|
4859
5844
|
200: {
|
|
4860
5845
|
id: string;
|
|
@@ -4884,12 +5869,12 @@ declare const app: Elysia<"/api", {
|
|
|
4884
5869
|
"depth-configs": {
|
|
4885
5870
|
":id": {
|
|
4886
5871
|
delete: {
|
|
4887
|
-
body:
|
|
5872
|
+
body: {};
|
|
4888
5873
|
params: {
|
|
4889
5874
|
id: string;
|
|
4890
5875
|
};
|
|
4891
|
-
query:
|
|
4892
|
-
headers:
|
|
5876
|
+
query: {};
|
|
5877
|
+
headers: {};
|
|
4893
5878
|
response: {
|
|
4894
5879
|
200: {
|
|
4895
5880
|
success: boolean;
|
|
@@ -4918,12 +5903,12 @@ declare const app: Elysia<"/api", {
|
|
|
4918
5903
|
team: {
|
|
4919
5904
|
summary: {
|
|
4920
5905
|
get: {
|
|
4921
|
-
body:
|
|
5906
|
+
body: {};
|
|
4922
5907
|
params: {};
|
|
4923
5908
|
query: {
|
|
4924
5909
|
referralCode: string;
|
|
4925
5910
|
};
|
|
4926
|
-
headers:
|
|
5911
|
+
headers: {};
|
|
4927
5912
|
response: {
|
|
4928
5913
|
200: {
|
|
4929
5914
|
userId: string;
|
|
@@ -4952,7 +5937,7 @@ declare const app: Elysia<"/api", {
|
|
|
4952
5937
|
team: {
|
|
4953
5938
|
members: {
|
|
4954
5939
|
get: {
|
|
4955
|
-
body:
|
|
5940
|
+
body: {};
|
|
4956
5941
|
params: {};
|
|
4957
5942
|
query: {
|
|
4958
5943
|
depth?: number | undefined;
|
|
@@ -4962,7 +5947,7 @@ declare const app: Elysia<"/api", {
|
|
|
4962
5947
|
pageIndex?: number | undefined;
|
|
4963
5948
|
referralCode: string;
|
|
4964
5949
|
};
|
|
4965
|
-
headers:
|
|
5950
|
+
headers: {};
|
|
4966
5951
|
response: {
|
|
4967
5952
|
200: {
|
|
4968
5953
|
data: {
|
|
@@ -4983,7 +5968,6 @@ declare const app: Elysia<"/api", {
|
|
|
4983
5968
|
twoFactorEnabled: boolean | null;
|
|
4984
5969
|
username: string | null;
|
|
4985
5970
|
displayUsername: string | null;
|
|
4986
|
-
isAnonymous: boolean | null;
|
|
4987
5971
|
phoneNumber: string | null;
|
|
4988
5972
|
phoneNumberVerified: boolean | null;
|
|
4989
5973
|
role: string | null;
|
|
@@ -5030,7 +6014,7 @@ declare const app: Elysia<"/api", {
|
|
|
5030
6014
|
} & {
|
|
5031
6015
|
transfer: {
|
|
5032
6016
|
get: {
|
|
5033
|
-
body:
|
|
6017
|
+
body: {};
|
|
5034
6018
|
params: {};
|
|
5035
6019
|
query: {
|
|
5036
6020
|
limit?: number | undefined;
|
|
@@ -5038,7 +6022,7 @@ declare const app: Elysia<"/api", {
|
|
|
5038
6022
|
pageSize?: number | undefined;
|
|
5039
6023
|
pageIndex?: number | undefined;
|
|
5040
6024
|
};
|
|
5041
|
-
headers:
|
|
6025
|
+
headers: {};
|
|
5042
6026
|
response: {
|
|
5043
6027
|
200: {
|
|
5044
6028
|
data: {
|
|
@@ -5101,8 +6085,8 @@ declare const app: Elysia<"/api", {
|
|
|
5101
6085
|
minBaseAmount: string;
|
|
5102
6086
|
};
|
|
5103
6087
|
params: {};
|
|
5104
|
-
query:
|
|
5105
|
-
headers:
|
|
6088
|
+
query: {};
|
|
6089
|
+
headers: {};
|
|
5106
6090
|
response: {
|
|
5107
6091
|
200: {
|
|
5108
6092
|
id: string;
|
|
@@ -5162,8 +6146,8 @@ declare const app: Elysia<"/api", {
|
|
|
5162
6146
|
params: {
|
|
5163
6147
|
id: string;
|
|
5164
6148
|
};
|
|
5165
|
-
query:
|
|
5166
|
-
headers:
|
|
6149
|
+
query: {};
|
|
6150
|
+
headers: {};
|
|
5167
6151
|
response: {
|
|
5168
6152
|
200: {
|
|
5169
6153
|
id: string;
|
|
@@ -5206,12 +6190,12 @@ declare const app: Elysia<"/api", {
|
|
|
5206
6190
|
":id": {
|
|
5207
6191
|
activate: {
|
|
5208
6192
|
post: {
|
|
5209
|
-
body:
|
|
6193
|
+
body: {};
|
|
5210
6194
|
params: {
|
|
5211
6195
|
id: string;
|
|
5212
6196
|
};
|
|
5213
|
-
query:
|
|
5214
|
-
headers:
|
|
6197
|
+
query: {};
|
|
6198
|
+
headers: {};
|
|
5215
6199
|
response: {
|
|
5216
6200
|
200: {
|
|
5217
6201
|
createdAt: Date;
|
|
@@ -5255,12 +6239,12 @@ declare const app: Elysia<"/api", {
|
|
|
5255
6239
|
":id": {
|
|
5256
6240
|
pause: {
|
|
5257
6241
|
post: {
|
|
5258
|
-
body:
|
|
6242
|
+
body: {};
|
|
5259
6243
|
params: {
|
|
5260
6244
|
id: string;
|
|
5261
6245
|
};
|
|
5262
|
-
query:
|
|
5263
|
-
headers:
|
|
6246
|
+
query: {};
|
|
6247
|
+
headers: {};
|
|
5264
6248
|
response: {
|
|
5265
6249
|
200: {
|
|
5266
6250
|
createdAt: Date;
|
|
@@ -5304,12 +6288,12 @@ declare const app: Elysia<"/api", {
|
|
|
5304
6288
|
":id": {
|
|
5305
6289
|
end: {
|
|
5306
6290
|
post: {
|
|
5307
|
-
body:
|
|
6291
|
+
body: {};
|
|
5308
6292
|
params: {
|
|
5309
6293
|
id: string;
|
|
5310
6294
|
};
|
|
5311
|
-
query:
|
|
5312
|
-
headers:
|
|
6295
|
+
query: {};
|
|
6296
|
+
headers: {};
|
|
5313
6297
|
response: {
|
|
5314
6298
|
200: {
|
|
5315
6299
|
createdAt: Date;
|
|
@@ -5351,7 +6335,7 @@ declare const app: Elysia<"/api", {
|
|
|
5351
6335
|
trade_market: {
|
|
5352
6336
|
markets: {
|
|
5353
6337
|
get: {
|
|
5354
|
-
body:
|
|
6338
|
+
body: {};
|
|
5355
6339
|
params: {};
|
|
5356
6340
|
query: {
|
|
5357
6341
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -5360,7 +6344,7 @@ declare const app: Elysia<"/api", {
|
|
|
5360
6344
|
pageSize?: number | undefined;
|
|
5361
6345
|
pageIndex?: number | undefined;
|
|
5362
6346
|
};
|
|
5363
|
-
headers:
|
|
6347
|
+
headers: {};
|
|
5364
6348
|
response: {
|
|
5365
6349
|
200: {
|
|
5366
6350
|
data: {
|
|
@@ -5409,7 +6393,7 @@ declare const app: Elysia<"/api", {
|
|
|
5409
6393
|
trade_market: {
|
|
5410
6394
|
orders: {
|
|
5411
6395
|
get: {
|
|
5412
|
-
body:
|
|
6396
|
+
body: {};
|
|
5413
6397
|
params: {};
|
|
5414
6398
|
query: {
|
|
5415
6399
|
userId?: string | undefined;
|
|
@@ -5421,7 +6405,7 @@ declare const app: Elysia<"/api", {
|
|
|
5421
6405
|
pageSize?: number | undefined;
|
|
5422
6406
|
pageIndex?: number | undefined;
|
|
5423
6407
|
};
|
|
5424
|
-
headers:
|
|
6408
|
+
headers: {};
|
|
5425
6409
|
response: {
|
|
5426
6410
|
200: {
|
|
5427
6411
|
data: {
|
|
@@ -5674,8 +6658,8 @@ declare const app: Elysia<"/api", {
|
|
|
5674
6658
|
content: string;
|
|
5675
6659
|
};
|
|
5676
6660
|
params: {};
|
|
5677
|
-
query:
|
|
5678
|
-
headers:
|
|
6661
|
+
query: {};
|
|
6662
|
+
headers: {};
|
|
5679
6663
|
response: {
|
|
5680
6664
|
422: {
|
|
5681
6665
|
type: "validation";
|
|
@@ -5694,7 +6678,7 @@ declare const app: Elysia<"/api", {
|
|
|
5694
6678
|
} & {
|
|
5695
6679
|
news: {
|
|
5696
6680
|
get: {
|
|
5697
|
-
body:
|
|
6681
|
+
body: {};
|
|
5698
6682
|
params: {};
|
|
5699
6683
|
query: {
|
|
5700
6684
|
status?: "archived" | "draft" | "published" | undefined;
|
|
@@ -5706,7 +6690,7 @@ declare const app: Elysia<"/api", {
|
|
|
5706
6690
|
pageSize?: number | undefined;
|
|
5707
6691
|
pageIndex?: number | undefined;
|
|
5708
6692
|
};
|
|
5709
|
-
headers:
|
|
6693
|
+
headers: {};
|
|
5710
6694
|
response: {
|
|
5711
6695
|
200: {
|
|
5712
6696
|
data: {
|
|
@@ -5770,12 +6754,12 @@ declare const app: Elysia<"/api", {
|
|
|
5770
6754
|
news: {
|
|
5771
6755
|
":id": {
|
|
5772
6756
|
get: {
|
|
5773
|
-
body:
|
|
6757
|
+
body: {};
|
|
5774
6758
|
params: {
|
|
5775
6759
|
id: string;
|
|
5776
6760
|
};
|
|
5777
|
-
query:
|
|
5778
|
-
headers:
|
|
6761
|
+
query: {};
|
|
6762
|
+
headers: {};
|
|
5779
6763
|
response: {
|
|
5780
6764
|
200: {
|
|
5781
6765
|
id: string;
|
|
@@ -5884,8 +6868,8 @@ declare const app: Elysia<"/api", {
|
|
|
5884
6868
|
params: {
|
|
5885
6869
|
id: string;
|
|
5886
6870
|
};
|
|
5887
|
-
query:
|
|
5888
|
-
headers:
|
|
6871
|
+
query: {};
|
|
6872
|
+
headers: {};
|
|
5889
6873
|
response: {
|
|
5890
6874
|
422: {
|
|
5891
6875
|
type: "validation";
|
|
@@ -5906,12 +6890,12 @@ declare const app: Elysia<"/api", {
|
|
|
5906
6890
|
news: {
|
|
5907
6891
|
":id": {
|
|
5908
6892
|
delete: {
|
|
5909
|
-
body:
|
|
6893
|
+
body: {};
|
|
5910
6894
|
params: {
|
|
5911
6895
|
id: string;
|
|
5912
6896
|
};
|
|
5913
|
-
query:
|
|
5914
|
-
headers:
|
|
6897
|
+
query: {};
|
|
6898
|
+
headers: {};
|
|
5915
6899
|
response: {
|
|
5916
6900
|
200: {
|
|
5917
6901
|
success: boolean;
|
|
@@ -5943,8 +6927,8 @@ declare const app: Elysia<"/api", {
|
|
|
5943
6927
|
params: {
|
|
5944
6928
|
id: string;
|
|
5945
6929
|
};
|
|
5946
|
-
query:
|
|
5947
|
-
headers:
|
|
6930
|
+
query: {};
|
|
6931
|
+
headers: {};
|
|
5948
6932
|
response: {
|
|
5949
6933
|
422: {
|
|
5950
6934
|
type: "validation";
|
|
@@ -5973,8 +6957,8 @@ declare const app: Elysia<"/api", {
|
|
|
5973
6957
|
params: {
|
|
5974
6958
|
id: string;
|
|
5975
6959
|
};
|
|
5976
|
-
query:
|
|
5977
|
-
headers:
|
|
6960
|
+
query: {};
|
|
6961
|
+
headers: {};
|
|
5978
6962
|
response: {
|
|
5979
6963
|
422: {
|
|
5980
6964
|
type: "validation";
|
|
@@ -5996,10 +6980,10 @@ declare const app: Elysia<"/api", {
|
|
|
5996
6980
|
news: {
|
|
5997
6981
|
stats: {
|
|
5998
6982
|
get: {
|
|
5999
|
-
body:
|
|
6983
|
+
body: {};
|
|
6000
6984
|
params: {};
|
|
6001
|
-
query:
|
|
6002
|
-
headers:
|
|
6985
|
+
query: {};
|
|
6986
|
+
headers: {};
|
|
6003
6987
|
response: {
|
|
6004
6988
|
200: {
|
|
6005
6989
|
total: number;
|
|
@@ -6027,8 +7011,8 @@ declare const app: Elysia<"/api", {
|
|
|
6027
7011
|
fileId: string;
|
|
6028
7012
|
};
|
|
6029
7013
|
params: {};
|
|
6030
|
-
query:
|
|
6031
|
-
headers:
|
|
7014
|
+
query: {};
|
|
7015
|
+
headers: {};
|
|
6032
7016
|
response: {
|
|
6033
7017
|
422: {
|
|
6034
7018
|
type: "validation";
|
|
@@ -6048,7 +7032,7 @@ declare const app: Elysia<"/api", {
|
|
|
6048
7032
|
} & {
|
|
6049
7033
|
file_storage: {
|
|
6050
7034
|
get: {
|
|
6051
|
-
body:
|
|
7035
|
+
body: {};
|
|
6052
7036
|
params: {};
|
|
6053
7037
|
query: {
|
|
6054
7038
|
businessType?: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment" | undefined;
|
|
@@ -6061,7 +7045,7 @@ declare const app: Elysia<"/api", {
|
|
|
6061
7045
|
pageSize?: number | undefined;
|
|
6062
7046
|
pageIndex?: number | undefined;
|
|
6063
7047
|
};
|
|
6064
|
-
headers:
|
|
7048
|
+
headers: {};
|
|
6065
7049
|
response: {
|
|
6066
7050
|
200: {
|
|
6067
7051
|
data: {
|
|
@@ -6132,12 +7116,12 @@ declare const app: Elysia<"/api", {
|
|
|
6132
7116
|
":id": {
|
|
6133
7117
|
permanent: {
|
|
6134
7118
|
delete: {
|
|
6135
|
-
body:
|
|
7119
|
+
body: {};
|
|
6136
7120
|
params: {
|
|
6137
7121
|
id: string;
|
|
6138
7122
|
};
|
|
6139
|
-
query:
|
|
6140
|
-
headers:
|
|
7123
|
+
query: {};
|
|
7124
|
+
headers: {};
|
|
6141
7125
|
response: {
|
|
6142
7126
|
200: {
|
|
6143
7127
|
success: boolean;
|
|
@@ -6183,8 +7167,8 @@ declare const app: Elysia<"/api", {
|
|
|
6183
7167
|
maturityYieldRate: string;
|
|
6184
7168
|
};
|
|
6185
7169
|
params: {};
|
|
6186
|
-
query:
|
|
6187
|
-
headers:
|
|
7170
|
+
query: {};
|
|
7171
|
+
headers: {};
|
|
6188
7172
|
response: {
|
|
6189
7173
|
200: {
|
|
6190
7174
|
id: string;
|
|
@@ -6244,8 +7228,8 @@ declare const app: Elysia<"/api", {
|
|
|
6244
7228
|
params: {
|
|
6245
7229
|
id: string;
|
|
6246
7230
|
};
|
|
6247
|
-
query:
|
|
6248
|
-
headers:
|
|
7231
|
+
query: {};
|
|
7232
|
+
headers: {};
|
|
6249
7233
|
response: {
|
|
6250
7234
|
200: {
|
|
6251
7235
|
createdAt: Date;
|
|
@@ -6288,12 +7272,12 @@ declare const app: Elysia<"/api", {
|
|
|
6288
7272
|
":id": {
|
|
6289
7273
|
activate: {
|
|
6290
7274
|
post: {
|
|
6291
|
-
body:
|
|
7275
|
+
body: {};
|
|
6292
7276
|
params: {
|
|
6293
7277
|
id: string;
|
|
6294
7278
|
};
|
|
6295
|
-
query:
|
|
6296
|
-
headers:
|
|
7279
|
+
query: {};
|
|
7280
|
+
headers: {};
|
|
6297
7281
|
response: {
|
|
6298
7282
|
200: {
|
|
6299
7283
|
createdAt: Date;
|
|
@@ -6337,12 +7321,12 @@ declare const app: Elysia<"/api", {
|
|
|
6337
7321
|
":id": {
|
|
6338
7322
|
pause: {
|
|
6339
7323
|
post: {
|
|
6340
|
-
body:
|
|
7324
|
+
body: {};
|
|
6341
7325
|
params: {
|
|
6342
7326
|
id: string;
|
|
6343
7327
|
};
|
|
6344
|
-
query:
|
|
6345
|
-
headers:
|
|
7328
|
+
query: {};
|
|
7329
|
+
headers: {};
|
|
6346
7330
|
response: {
|
|
6347
7331
|
200: {
|
|
6348
7332
|
createdAt: Date;
|
|
@@ -6386,12 +7370,12 @@ declare const app: Elysia<"/api", {
|
|
|
6386
7370
|
":id": {
|
|
6387
7371
|
end: {
|
|
6388
7372
|
post: {
|
|
6389
|
-
body:
|
|
7373
|
+
body: {};
|
|
6390
7374
|
params: {
|
|
6391
7375
|
id: string;
|
|
6392
7376
|
};
|
|
6393
|
-
query:
|
|
6394
|
-
headers:
|
|
7377
|
+
query: {};
|
|
7378
|
+
headers: {};
|
|
6395
7379
|
response: {
|
|
6396
7380
|
200: {
|
|
6397
7381
|
createdAt: Date;
|
|
@@ -6433,7 +7417,7 @@ declare const app: Elysia<"/api", {
|
|
|
6433
7417
|
welfare_cycle: {
|
|
6434
7418
|
plans: {
|
|
6435
7419
|
get: {
|
|
6436
|
-
body:
|
|
7420
|
+
body: {};
|
|
6437
7421
|
params: {};
|
|
6438
7422
|
query: {
|
|
6439
7423
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -6442,7 +7426,7 @@ declare const app: Elysia<"/api", {
|
|
|
6442
7426
|
pageSize?: number | undefined;
|
|
6443
7427
|
pageIndex?: number | undefined;
|
|
6444
7428
|
};
|
|
6445
|
-
headers:
|
|
7429
|
+
headers: {};
|
|
6446
7430
|
response: {
|
|
6447
7431
|
200: {
|
|
6448
7432
|
data: {
|
|
@@ -6491,7 +7475,7 @@ declare const app: Elysia<"/api", {
|
|
|
6491
7475
|
welfare_cycle: {
|
|
6492
7476
|
subscriptions: {
|
|
6493
7477
|
get: {
|
|
6494
|
-
body:
|
|
7478
|
+
body: {};
|
|
6495
7479
|
params: {};
|
|
6496
7480
|
query: {
|
|
6497
7481
|
userId?: string | undefined;
|
|
@@ -6502,7 +7486,7 @@ declare const app: Elysia<"/api", {
|
|
|
6502
7486
|
pageSize?: number | undefined;
|
|
6503
7487
|
pageIndex?: number | undefined;
|
|
6504
7488
|
};
|
|
6505
|
-
headers:
|
|
7489
|
+
headers: {};
|
|
6506
7490
|
response: {
|
|
6507
7491
|
200: {
|
|
6508
7492
|
data: {
|
|
@@ -6558,7 +7542,7 @@ declare const app: Elysia<"/api", {
|
|
|
6558
7542
|
welfare_cycle: {
|
|
6559
7543
|
"daily-payouts": {
|
|
6560
7544
|
get: {
|
|
6561
|
-
body:
|
|
7545
|
+
body: {};
|
|
6562
7546
|
params: {};
|
|
6563
7547
|
query: {
|
|
6564
7548
|
userId?: string | undefined;
|
|
@@ -6569,7 +7553,7 @@ declare const app: Elysia<"/api", {
|
|
|
6569
7553
|
pageSize?: number | undefined;
|
|
6570
7554
|
pageIndex?: number | undefined;
|
|
6571
7555
|
};
|
|
6572
|
-
headers:
|
|
7556
|
+
headers: {};
|
|
6573
7557
|
response: {
|
|
6574
7558
|
200: {
|
|
6575
7559
|
data: {
|
|
@@ -6612,7 +7596,7 @@ declare const app: Elysia<"/api", {
|
|
|
6612
7596
|
welfare_cycle: {
|
|
6613
7597
|
"maturity-settlements": {
|
|
6614
7598
|
get: {
|
|
6615
|
-
body:
|
|
7599
|
+
body: {};
|
|
6616
7600
|
params: {};
|
|
6617
7601
|
query: {
|
|
6618
7602
|
userId?: string | undefined;
|
|
@@ -6623,7 +7607,7 @@ declare const app: Elysia<"/api", {
|
|
|
6623
7607
|
pageSize?: number | undefined;
|
|
6624
7608
|
pageIndex?: number | undefined;
|
|
6625
7609
|
};
|
|
6626
|
-
headers:
|
|
7610
|
+
headers: {};
|
|
6627
7611
|
response: {
|
|
6628
7612
|
200: {
|
|
6629
7613
|
data: {
|
|
@@ -6674,8 +7658,8 @@ declare const app: Elysia<"/api", {
|
|
|
6674
7658
|
subscriptionIds?: string[] | undefined;
|
|
6675
7659
|
};
|
|
6676
7660
|
params: {};
|
|
6677
|
-
query:
|
|
6678
|
-
headers:
|
|
7661
|
+
query: {};
|
|
7662
|
+
headers: {};
|
|
6679
7663
|
response: {
|
|
6680
7664
|
200: {
|
|
6681
7665
|
successCount: number;
|
|
@@ -6708,8 +7692,8 @@ declare const app: Elysia<"/api", {
|
|
|
6708
7692
|
subscriptionIds?: string[] | undefined;
|
|
6709
7693
|
};
|
|
6710
7694
|
params: {};
|
|
6711
|
-
query:
|
|
6712
|
-
headers:
|
|
7695
|
+
query: {};
|
|
7696
|
+
headers: {};
|
|
6713
7697
|
response: {
|
|
6714
7698
|
200: {
|
|
6715
7699
|
successCount: number;
|
|
@@ -6739,7 +7723,7 @@ declare const app: Elysia<"/api", {
|
|
|
6739
7723
|
kyc: {
|
|
6740
7724
|
methods: {
|
|
6741
7725
|
get: {
|
|
6742
|
-
body:
|
|
7726
|
+
body: {};
|
|
6743
7727
|
params: {};
|
|
6744
7728
|
query: {
|
|
6745
7729
|
userId?: string | undefined;
|
|
@@ -6750,7 +7734,7 @@ declare const app: Elysia<"/api", {
|
|
|
6750
7734
|
pageSize?: number | undefined;
|
|
6751
7735
|
pageIndex?: number | undefined;
|
|
6752
7736
|
};
|
|
6753
|
-
headers:
|
|
7737
|
+
headers: {};
|
|
6754
7738
|
response: {
|
|
6755
7739
|
200: {
|
|
6756
7740
|
data: {
|
|
@@ -6800,12 +7784,12 @@ declare const app: Elysia<"/api", {
|
|
|
6800
7784
|
methods: {
|
|
6801
7785
|
":id": {
|
|
6802
7786
|
get: {
|
|
6803
|
-
body:
|
|
7787
|
+
body: {};
|
|
6804
7788
|
params: {
|
|
6805
7789
|
id: string;
|
|
6806
7790
|
};
|
|
6807
|
-
query:
|
|
6808
|
-
headers:
|
|
7791
|
+
query: {};
|
|
7792
|
+
headers: {};
|
|
6809
7793
|
response: {
|
|
6810
7794
|
200: {
|
|
6811
7795
|
id: string;
|
|
@@ -6854,8 +7838,8 @@ declare const app: Elysia<"/api", {
|
|
|
6854
7838
|
params: {
|
|
6855
7839
|
id: string;
|
|
6856
7840
|
};
|
|
6857
|
-
query:
|
|
6858
|
-
headers:
|
|
7841
|
+
query: {};
|
|
7842
|
+
headers: {};
|
|
6859
7843
|
response: {
|
|
6860
7844
|
200: {
|
|
6861
7845
|
id: string;
|
|
@@ -6905,8 +7889,8 @@ declare const app: Elysia<"/api", {
|
|
|
6905
7889
|
params: {
|
|
6906
7890
|
id: string;
|
|
6907
7891
|
};
|
|
6908
|
-
query:
|
|
6909
|
-
headers:
|
|
7892
|
+
query: {};
|
|
7893
|
+
headers: {};
|
|
6910
7894
|
response: {
|
|
6911
7895
|
200: {
|
|
6912
7896
|
id: string;
|
|
@@ -6954,12 +7938,12 @@ declare const app: Elysia<"/api", {
|
|
|
6954
7938
|
"transaction-password": {
|
|
6955
7939
|
reset: {
|
|
6956
7940
|
post: {
|
|
6957
|
-
body:
|
|
7941
|
+
body: {};
|
|
6958
7942
|
params: {
|
|
6959
7943
|
userId: string;
|
|
6960
7944
|
};
|
|
6961
|
-
query:
|
|
6962
|
-
headers:
|
|
7945
|
+
query: {};
|
|
7946
|
+
headers: {};
|
|
6963
7947
|
response: {
|
|
6964
7948
|
200: {
|
|
6965
7949
|
password: string;
|
|
@@ -6989,12 +7973,12 @@ declare const app: Elysia<"/api", {
|
|
|
6989
7973
|
users: {
|
|
6990
7974
|
search: {
|
|
6991
7975
|
get: {
|
|
6992
|
-
body:
|
|
7976
|
+
body: {};
|
|
6993
7977
|
params: {};
|
|
6994
7978
|
query: {
|
|
6995
7979
|
keyword: string;
|
|
6996
7980
|
};
|
|
6997
|
-
headers:
|
|
7981
|
+
headers: {};
|
|
6998
7982
|
response: {
|
|
6999
7983
|
200: {
|
|
7000
7984
|
data: {
|
|
@@ -7008,7 +7992,6 @@ declare const app: Elysia<"/api", {
|
|
|
7008
7992
|
twoFactorEnabled: boolean | null;
|
|
7009
7993
|
username: string | null;
|
|
7010
7994
|
displayUsername: string | null;
|
|
7011
|
-
isAnonymous: boolean | null;
|
|
7012
7995
|
phoneNumber: string | null;
|
|
7013
7996
|
phoneNumberVerified: boolean | null;
|
|
7014
7997
|
role: string | null;
|
|
@@ -7042,7 +8025,7 @@ declare const app: Elysia<"/api", {
|
|
|
7042
8025
|
} & {
|
|
7043
8026
|
users: {
|
|
7044
8027
|
get: {
|
|
7045
|
-
body:
|
|
8028
|
+
body: {};
|
|
7046
8029
|
params: {};
|
|
7047
8030
|
query: {
|
|
7048
8031
|
email?: string | undefined;
|
|
@@ -7055,7 +8038,7 @@ declare const app: Elysia<"/api", {
|
|
|
7055
8038
|
pageSize?: number | undefined;
|
|
7056
8039
|
pageIndex?: number | undefined;
|
|
7057
8040
|
};
|
|
7058
|
-
headers:
|
|
8041
|
+
headers: {};
|
|
7059
8042
|
response: {
|
|
7060
8043
|
200: {
|
|
7061
8044
|
data: {
|
|
@@ -7103,7 +8086,6 @@ declare const app: Elysia<"/api", {
|
|
|
7103
8086
|
twoFactorEnabled: boolean | null;
|
|
7104
8087
|
username: string | null;
|
|
7105
8088
|
displayUsername: string | null;
|
|
7106
|
-
isAnonymous: boolean | null;
|
|
7107
8089
|
phoneNumber: string | null;
|
|
7108
8090
|
phoneNumberVerified: boolean | null;
|
|
7109
8091
|
role: string | null;
|
|
@@ -7138,12 +8120,12 @@ declare const app: Elysia<"/api", {
|
|
|
7138
8120
|
":userId": {
|
|
7139
8121
|
profile: {
|
|
7140
8122
|
get: {
|
|
7141
|
-
body:
|
|
8123
|
+
body: {};
|
|
7142
8124
|
params: {
|
|
7143
8125
|
userId: string;
|
|
7144
8126
|
};
|
|
7145
|
-
query:
|
|
7146
|
-
headers:
|
|
8127
|
+
query: {};
|
|
8128
|
+
headers: {};
|
|
7147
8129
|
response: {
|
|
7148
8130
|
200: {
|
|
7149
8131
|
userProfile?: {
|
|
@@ -7190,7 +8172,6 @@ declare const app: Elysia<"/api", {
|
|
|
7190
8172
|
twoFactorEnabled: boolean | null;
|
|
7191
8173
|
username: string | null;
|
|
7192
8174
|
displayUsername: string | null;
|
|
7193
|
-
isAnonymous: boolean | null;
|
|
7194
8175
|
phoneNumber: string | null;
|
|
7195
8176
|
phoneNumberVerified: boolean | null;
|
|
7196
8177
|
role: string | null;
|
|
@@ -7227,7 +8208,6 @@ declare const app: Elysia<"/api", {
|
|
|
7227
8208
|
twoFactorEnabled?: boolean | null | undefined;
|
|
7228
8209
|
username?: string | null | undefined;
|
|
7229
8210
|
displayUsername?: string | null | undefined;
|
|
7230
|
-
isAnonymous?: boolean | null | undefined;
|
|
7231
8211
|
phoneNumber?: string | null | undefined;
|
|
7232
8212
|
phoneNumberVerified?: boolean | null | undefined;
|
|
7233
8213
|
role?: string | null | undefined;
|
|
@@ -7247,8 +8227,8 @@ declare const app: Elysia<"/api", {
|
|
|
7247
8227
|
params: {
|
|
7248
8228
|
userId: string;
|
|
7249
8229
|
};
|
|
7250
|
-
query:
|
|
7251
|
-
headers:
|
|
8230
|
+
query: {};
|
|
8231
|
+
headers: {};
|
|
7252
8232
|
response: {
|
|
7253
8233
|
200: {
|
|
7254
8234
|
userProfile?: {
|
|
@@ -7295,7 +8275,6 @@ declare const app: Elysia<"/api", {
|
|
|
7295
8275
|
twoFactorEnabled: boolean | null;
|
|
7296
8276
|
username: string | null;
|
|
7297
8277
|
displayUsername: string | null;
|
|
7298
|
-
isAnonymous: boolean | null;
|
|
7299
8278
|
phoneNumber: string | null;
|
|
7300
8279
|
phoneNumberVerified: boolean | null;
|
|
7301
8280
|
role: string | null;
|
|
@@ -7325,12 +8304,12 @@ declare const app: Elysia<"/api", {
|
|
|
7325
8304
|
password: {
|
|
7326
8305
|
reset: {
|
|
7327
8306
|
post: {
|
|
7328
|
-
body:
|
|
8307
|
+
body: {};
|
|
7329
8308
|
params: {
|
|
7330
8309
|
userId: string;
|
|
7331
8310
|
};
|
|
7332
|
-
query:
|
|
7333
|
-
headers:
|
|
8311
|
+
query: {};
|
|
8312
|
+
headers: {};
|
|
7334
8313
|
response: {
|
|
7335
8314
|
200: {
|
|
7336
8315
|
password: string;
|
|
@@ -7364,8 +8343,8 @@ declare const app: Elysia<"/api", {
|
|
|
7364
8343
|
params: {
|
|
7365
8344
|
userId: string;
|
|
7366
8345
|
};
|
|
7367
|
-
query:
|
|
7368
|
-
headers:
|
|
8346
|
+
query: {};
|
|
8347
|
+
headers: {};
|
|
7369
8348
|
response: {
|
|
7370
8349
|
200: {
|
|
7371
8350
|
success: boolean;
|
|
@@ -7396,12 +8375,12 @@ declare const app: Elysia<"/api", {
|
|
|
7396
8375
|
":kycMethod": {
|
|
7397
8376
|
verified: {
|
|
7398
8377
|
get: {
|
|
7399
|
-
body:
|
|
8378
|
+
body: {};
|
|
7400
8379
|
params: {
|
|
7401
8380
|
kycMethod: "passport" | "id_card" | "selfie" | "utility_bill";
|
|
7402
8381
|
};
|
|
7403
|
-
query:
|
|
7404
|
-
headers:
|
|
8382
|
+
query: {};
|
|
8383
|
+
headers: {};
|
|
7405
8384
|
response: {
|
|
7406
8385
|
200: {
|
|
7407
8386
|
verified: boolean;
|
|
@@ -7436,8 +8415,8 @@ declare const app: Elysia<"/api", {
|
|
|
7436
8415
|
params: {
|
|
7437
8416
|
kycMethod: "passport" | "id_card" | "selfie" | "utility_bill";
|
|
7438
8417
|
};
|
|
7439
|
-
query:
|
|
7440
|
-
headers:
|
|
8418
|
+
query: {};
|
|
8419
|
+
headers: {};
|
|
7441
8420
|
response: {
|
|
7442
8421
|
200: {
|
|
7443
8422
|
id: string;
|
|
@@ -7476,12 +8455,12 @@ declare const app: Elysia<"/api", {
|
|
|
7476
8455
|
kyc: {
|
|
7477
8456
|
":kycMethod": {
|
|
7478
8457
|
get: {
|
|
7479
|
-
body:
|
|
8458
|
+
body: {};
|
|
7480
8459
|
params: {
|
|
7481
8460
|
kycMethod: "passport" | "id_card" | "selfie" | "utility_bill";
|
|
7482
8461
|
};
|
|
7483
|
-
query:
|
|
7484
|
-
headers:
|
|
8462
|
+
query: {};
|
|
8463
|
+
headers: {};
|
|
7485
8464
|
response: {
|
|
7486
8465
|
200: {
|
|
7487
8466
|
id: string;
|
|
@@ -7531,8 +8510,8 @@ declare const app: Elysia<"/api", {
|
|
|
7531
8510
|
params: {
|
|
7532
8511
|
kycMethod: "passport" | "id_card" | "selfie" | "utility_bill";
|
|
7533
8512
|
};
|
|
7534
|
-
query:
|
|
7535
|
-
headers:
|
|
8513
|
+
query: {};
|
|
8514
|
+
headers: {};
|
|
7536
8515
|
response: {
|
|
7537
8516
|
200: {
|
|
7538
8517
|
id: string;
|
|
@@ -7580,8 +8559,8 @@ declare const app: Elysia<"/api", {
|
|
|
7580
8559
|
password: string;
|
|
7581
8560
|
};
|
|
7582
8561
|
params: {};
|
|
7583
|
-
query:
|
|
7584
|
-
headers:
|
|
8562
|
+
query: {};
|
|
8563
|
+
headers: {};
|
|
7585
8564
|
response: {
|
|
7586
8565
|
200: {
|
|
7587
8566
|
success: boolean;
|
|
@@ -7611,8 +8590,8 @@ declare const app: Elysia<"/api", {
|
|
|
7611
8590
|
oldPassword: string;
|
|
7612
8591
|
};
|
|
7613
8592
|
params: {};
|
|
7614
|
-
query:
|
|
7615
|
-
headers:
|
|
8593
|
+
query: {};
|
|
8594
|
+
headers: {};
|
|
7616
8595
|
response: {
|
|
7617
8596
|
200: {
|
|
7618
8597
|
success: boolean;
|
|
@@ -7641,8 +8620,8 @@ declare const app: Elysia<"/api", {
|
|
|
7641
8620
|
oldPassword: string;
|
|
7642
8621
|
};
|
|
7643
8622
|
params: {};
|
|
7644
|
-
query:
|
|
7645
|
-
headers:
|
|
8623
|
+
query: {};
|
|
8624
|
+
headers: {};
|
|
7646
8625
|
response: {
|
|
7647
8626
|
200: {
|
|
7648
8627
|
success: boolean;
|
|
@@ -7668,10 +8647,10 @@ declare const app: Elysia<"/api", {
|
|
|
7668
8647
|
"transaction-password": {
|
|
7669
8648
|
status: {
|
|
7670
8649
|
get: {
|
|
7671
|
-
body:
|
|
8650
|
+
body: {};
|
|
7672
8651
|
params: {};
|
|
7673
|
-
query:
|
|
7674
|
-
headers:
|
|
8652
|
+
query: {};
|
|
8653
|
+
headers: {};
|
|
7675
8654
|
response: {
|
|
7676
8655
|
200: {
|
|
7677
8656
|
enabled: boolean;
|
|
@@ -7716,7 +8695,6 @@ declare const app: Elysia<"/api", {
|
|
|
7716
8695
|
twoFactorEnabled: boolean | null;
|
|
7717
8696
|
username: string | null;
|
|
7718
8697
|
displayUsername: string | null;
|
|
7719
|
-
isAnonymous: boolean | null;
|
|
7720
8698
|
phoneNumber: string | null;
|
|
7721
8699
|
phoneNumberVerified: boolean | null;
|
|
7722
8700
|
role: string | null;
|
|
@@ -7774,7 +8752,6 @@ declare const app: Elysia<"/api", {
|
|
|
7774
8752
|
twoFactorEnabled: boolean | null;
|
|
7775
8753
|
username: string | null;
|
|
7776
8754
|
displayUsername: string | null;
|
|
7777
|
-
isAnonymous: boolean | null;
|
|
7778
8755
|
phoneNumber: string | null;
|
|
7779
8756
|
phoneNumberVerified: boolean | null;
|
|
7780
8757
|
role: string | null;
|
|
@@ -7863,7 +8840,7 @@ declare const app: Elysia<"/api", {
|
|
|
7863
8840
|
} & {
|
|
7864
8841
|
assets: {
|
|
7865
8842
|
get: {
|
|
7866
|
-
body:
|
|
8843
|
+
body: {};
|
|
7867
8844
|
params: {};
|
|
7868
8845
|
query: {
|
|
7869
8846
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
@@ -7873,7 +8850,7 @@ declare const app: Elysia<"/api", {
|
|
|
7873
8850
|
pageSize?: number | undefined;
|
|
7874
8851
|
pageIndex?: number | undefined;
|
|
7875
8852
|
};
|
|
7876
|
-
headers:
|
|
8853
|
+
headers: {};
|
|
7877
8854
|
response: {
|
|
7878
8855
|
200: {
|
|
7879
8856
|
data: {
|
|
@@ -7881,7 +8858,7 @@ declare const app: Elysia<"/api", {
|
|
|
7881
8858
|
type: {
|
|
7882
8859
|
id: string;
|
|
7883
8860
|
name: string;
|
|
7884
|
-
key:
|
|
8861
|
+
key: string;
|
|
7885
8862
|
isGasAsset: boolean;
|
|
7886
8863
|
isActive: boolean;
|
|
7887
8864
|
};
|
|
@@ -7919,14 +8896,14 @@ declare const app: Elysia<"/api", {
|
|
|
7919
8896
|
assets: {
|
|
7920
8897
|
holdings: {
|
|
7921
8898
|
get: {
|
|
7922
|
-
body:
|
|
8899
|
+
body: {};
|
|
7923
8900
|
params: {};
|
|
7924
8901
|
query: {
|
|
7925
8902
|
quoteAsset?: string | undefined;
|
|
7926
8903
|
ledgerAccountId?: string | undefined;
|
|
7927
8904
|
walletId?: string | undefined;
|
|
7928
8905
|
};
|
|
7929
|
-
headers:
|
|
8906
|
+
headers: {};
|
|
7930
8907
|
response: {
|
|
7931
8908
|
200: {
|
|
7932
8909
|
items: {
|
|
@@ -7957,7 +8934,7 @@ declare const app: Elysia<"/api", {
|
|
|
7957
8934
|
":assetId": {
|
|
7958
8935
|
overview: {
|
|
7959
8936
|
get: {
|
|
7960
|
-
body:
|
|
8937
|
+
body: {};
|
|
7961
8938
|
params: {
|
|
7962
8939
|
assetId: string;
|
|
7963
8940
|
};
|
|
@@ -7965,7 +8942,7 @@ declare const app: Elysia<"/api", {
|
|
|
7965
8942
|
quoteAsset?: string | undefined;
|
|
7966
8943
|
days?: number | undefined;
|
|
7967
8944
|
};
|
|
7968
|
-
headers:
|
|
8945
|
+
headers: {};
|
|
7969
8946
|
response: {
|
|
7970
8947
|
200: {
|
|
7971
8948
|
asset: {
|
|
@@ -8018,7 +8995,7 @@ declare const app: Elysia<"/api", {
|
|
|
8018
8995
|
asset_convert_product: {
|
|
8019
8996
|
products: {
|
|
8020
8997
|
get: {
|
|
8021
|
-
body:
|
|
8998
|
+
body: {};
|
|
8022
8999
|
params: {};
|
|
8023
9000
|
query: {
|
|
8024
9001
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -8028,7 +9005,7 @@ declare const app: Elysia<"/api", {
|
|
|
8028
9005
|
pageSize?: number | undefined;
|
|
8029
9006
|
pageIndex?: number | undefined;
|
|
8030
9007
|
};
|
|
8031
|
-
headers:
|
|
9008
|
+
headers: {};
|
|
8032
9009
|
response: {
|
|
8033
9010
|
200: {
|
|
8034
9011
|
data: {
|
|
@@ -8071,12 +9048,12 @@ declare const app: Elysia<"/api", {
|
|
|
8071
9048
|
products: {
|
|
8072
9049
|
":id": {
|
|
8073
9050
|
get: {
|
|
8074
|
-
body:
|
|
9051
|
+
body: {};
|
|
8075
9052
|
params: {
|
|
8076
9053
|
id: string;
|
|
8077
9054
|
};
|
|
8078
|
-
query:
|
|
8079
|
-
headers:
|
|
9055
|
+
query: {};
|
|
9056
|
+
headers: {};
|
|
8080
9057
|
response: {
|
|
8081
9058
|
200: {
|
|
8082
9059
|
id: string;
|
|
@@ -8117,8 +9094,8 @@ declare const app: Elysia<"/api", {
|
|
|
8117
9094
|
sourcePayAccountId: string;
|
|
8118
9095
|
};
|
|
8119
9096
|
params: {};
|
|
8120
|
-
query:
|
|
8121
|
-
headers:
|
|
9097
|
+
query: {};
|
|
9098
|
+
headers: {};
|
|
8122
9099
|
response: {
|
|
8123
9100
|
200: {
|
|
8124
9101
|
id: string;
|
|
@@ -8162,7 +9139,7 @@ declare const app: Elysia<"/api", {
|
|
|
8162
9139
|
asset_convert_product: {
|
|
8163
9140
|
orders: {
|
|
8164
9141
|
get: {
|
|
8165
|
-
body:
|
|
9142
|
+
body: {};
|
|
8166
9143
|
params: {};
|
|
8167
9144
|
query: {
|
|
8168
9145
|
status?: "created" | "completed" | "failed" | undefined;
|
|
@@ -8171,7 +9148,7 @@ declare const app: Elysia<"/api", {
|
|
|
8171
9148
|
pageSize?: number | undefined;
|
|
8172
9149
|
pageIndex?: number | undefined;
|
|
8173
9150
|
};
|
|
8174
|
-
headers:
|
|
9151
|
+
headers: {};
|
|
8175
9152
|
response: {
|
|
8176
9153
|
200: {
|
|
8177
9154
|
data: {
|
|
@@ -8225,12 +9202,12 @@ declare const app: Elysia<"/api", {
|
|
|
8225
9202
|
orders: {
|
|
8226
9203
|
":id": {
|
|
8227
9204
|
get: {
|
|
8228
|
-
body:
|
|
9205
|
+
body: {};
|
|
8229
9206
|
params: {
|
|
8230
9207
|
id: string;
|
|
8231
9208
|
};
|
|
8232
|
-
query:
|
|
8233
|
-
headers:
|
|
9209
|
+
query: {};
|
|
9210
|
+
headers: {};
|
|
8234
9211
|
response: {
|
|
8235
9212
|
200: {
|
|
8236
9213
|
id: string;
|
|
@@ -8278,7 +9255,7 @@ declare const app: Elysia<"/api", {
|
|
|
8278
9255
|
} & {
|
|
8279
9256
|
asset_prices: {
|
|
8280
9257
|
get: {
|
|
8281
|
-
body:
|
|
9258
|
+
body: {};
|
|
8282
9259
|
params: {};
|
|
8283
9260
|
query: {
|
|
8284
9261
|
baseAsset?: string | undefined;
|
|
@@ -8291,7 +9268,7 @@ declare const app: Elysia<"/api", {
|
|
|
8291
9268
|
pageIndex?: number | undefined;
|
|
8292
9269
|
endDate?: Date | undefined;
|
|
8293
9270
|
};
|
|
8294
|
-
headers:
|
|
9271
|
+
headers: {};
|
|
8295
9272
|
response: {
|
|
8296
9273
|
200: {
|
|
8297
9274
|
data: {
|
|
@@ -8333,13 +9310,13 @@ declare const app: Elysia<"/api", {
|
|
|
8333
9310
|
":baseAsset": {
|
|
8334
9311
|
":quoteAsset": {
|
|
8335
9312
|
get: {
|
|
8336
|
-
body:
|
|
9313
|
+
body: {};
|
|
8337
9314
|
params: {
|
|
8338
9315
|
baseAsset: string;
|
|
8339
9316
|
quoteAsset: string;
|
|
8340
9317
|
};
|
|
8341
|
-
query:
|
|
8342
|
-
headers:
|
|
9318
|
+
query: {};
|
|
9319
|
+
headers: {};
|
|
8343
9320
|
response: {
|
|
8344
9321
|
200: {
|
|
8345
9322
|
id: string;
|
|
@@ -8376,25 +9353,25 @@ declare const app: Elysia<"/api", {
|
|
|
8376
9353
|
} & {
|
|
8377
9354
|
asset_types: {
|
|
8378
9355
|
get: {
|
|
8379
|
-
body:
|
|
9356
|
+
body: {};
|
|
8380
9357
|
params: {};
|
|
8381
9358
|
query: {
|
|
8382
9359
|
name?: string | undefined;
|
|
8383
|
-
key?:
|
|
9360
|
+
key?: string | undefined;
|
|
8384
9361
|
isActive?: boolean | undefined;
|
|
8385
9362
|
limit?: number | undefined;
|
|
8386
9363
|
offset?: number | undefined;
|
|
8387
9364
|
pageSize?: number | undefined;
|
|
8388
9365
|
pageIndex?: number | undefined;
|
|
8389
9366
|
};
|
|
8390
|
-
headers:
|
|
9367
|
+
headers: {};
|
|
8391
9368
|
response: {
|
|
8392
9369
|
200: {
|
|
8393
9370
|
data: {
|
|
8394
9371
|
id: string;
|
|
8395
9372
|
name: string;
|
|
8396
9373
|
description: string | null;
|
|
8397
|
-
key:
|
|
9374
|
+
key: string;
|
|
8398
9375
|
isGasAsset: boolean;
|
|
8399
9376
|
isActive: boolean;
|
|
8400
9377
|
}[];
|
|
@@ -8426,7 +9403,7 @@ declare const app: Elysia<"/api", {
|
|
|
8426
9403
|
} & {
|
|
8427
9404
|
wallet_types: {
|
|
8428
9405
|
get: {
|
|
8429
|
-
body:
|
|
9406
|
+
body: {};
|
|
8430
9407
|
params: {};
|
|
8431
9408
|
query: {
|
|
8432
9409
|
key?: string | undefined;
|
|
@@ -8437,7 +9414,7 @@ declare const app: Elysia<"/api", {
|
|
|
8437
9414
|
pageSize?: number | undefined;
|
|
8438
9415
|
pageIndex?: number | undefined;
|
|
8439
9416
|
};
|
|
8440
|
-
headers:
|
|
9417
|
+
headers: {};
|
|
8441
9418
|
response: {
|
|
8442
9419
|
200: {
|
|
8443
9420
|
data: {
|
|
@@ -8483,7 +9460,7 @@ declare const app: Elysia<"/api", {
|
|
|
8483
9460
|
api: {
|
|
8484
9461
|
wallets: {
|
|
8485
9462
|
get: {
|
|
8486
|
-
body:
|
|
9463
|
+
body: {};
|
|
8487
9464
|
params: {};
|
|
8488
9465
|
query: {
|
|
8489
9466
|
isActive?: boolean | undefined;
|
|
@@ -8493,7 +9470,7 @@ declare const app: Elysia<"/api", {
|
|
|
8493
9470
|
pageIndex?: number | undefined;
|
|
8494
9471
|
walletTypeKey?: string | undefined;
|
|
8495
9472
|
};
|
|
8496
|
-
headers:
|
|
9473
|
+
headers: {};
|
|
8497
9474
|
response: {
|
|
8498
9475
|
200: {
|
|
8499
9476
|
data: {
|
|
@@ -8541,12 +9518,12 @@ declare const app: Elysia<"/api", {
|
|
|
8541
9518
|
finance: {
|
|
8542
9519
|
overview: {
|
|
8543
9520
|
get: {
|
|
8544
|
-
body:
|
|
9521
|
+
body: {};
|
|
8545
9522
|
params: {};
|
|
8546
9523
|
query: {
|
|
8547
9524
|
quoteAsset?: string | undefined;
|
|
8548
9525
|
};
|
|
8549
|
-
headers:
|
|
9526
|
+
headers: {};
|
|
8550
9527
|
response: {
|
|
8551
9528
|
200: {
|
|
8552
9529
|
quoteAsset: string;
|
|
@@ -8558,8 +9535,8 @@ declare const app: Elysia<"/api", {
|
|
|
8558
9535
|
walletTypeId: string;
|
|
8559
9536
|
isPrimary: boolean;
|
|
8560
9537
|
totalValuation: string;
|
|
8561
|
-
walletTypeKey: string;
|
|
8562
9538
|
walletId: string;
|
|
9539
|
+
walletTypeKey: string;
|
|
8563
9540
|
walletName: string;
|
|
8564
9541
|
walletTypeName: string;
|
|
8565
9542
|
}[];
|
|
@@ -8576,6 +9553,7 @@ declare const app: Elysia<"/api", {
|
|
|
8576
9553
|
ledgerAccountTypeName: string;
|
|
8577
9554
|
}[];
|
|
8578
9555
|
assetView: {
|
|
9556
|
+
iconUrl: string;
|
|
8579
9557
|
assetId: string;
|
|
8580
9558
|
assetCode: string;
|
|
8581
9559
|
totalValuation: string;
|
|
@@ -8602,14 +9580,14 @@ declare const app: Elysia<"/api", {
|
|
|
8602
9580
|
":walletId": {
|
|
8603
9581
|
overview: {
|
|
8604
9582
|
get: {
|
|
8605
|
-
body:
|
|
9583
|
+
body: {};
|
|
8606
9584
|
params: {
|
|
8607
9585
|
walletId: string;
|
|
8608
9586
|
};
|
|
8609
9587
|
query: {
|
|
8610
9588
|
quoteAsset?: string | undefined;
|
|
8611
9589
|
};
|
|
8612
|
-
headers:
|
|
9590
|
+
headers: {};
|
|
8613
9591
|
response: {
|
|
8614
9592
|
200: {
|
|
8615
9593
|
quoteAsset: string;
|
|
@@ -8667,7 +9645,7 @@ declare const app: Elysia<"/api", {
|
|
|
8667
9645
|
} & {
|
|
8668
9646
|
ledger_account_types: {
|
|
8669
9647
|
get: {
|
|
8670
|
-
body:
|
|
9648
|
+
body: {};
|
|
8671
9649
|
params: {};
|
|
8672
9650
|
query: {
|
|
8673
9651
|
key?: string | undefined;
|
|
@@ -8677,7 +9655,7 @@ declare const app: Elysia<"/api", {
|
|
|
8677
9655
|
pageSize?: number | undefined;
|
|
8678
9656
|
pageIndex?: number | undefined;
|
|
8679
9657
|
};
|
|
8680
|
-
headers:
|
|
9658
|
+
headers: {};
|
|
8681
9659
|
response: {
|
|
8682
9660
|
200: {
|
|
8683
9661
|
data: {
|
|
@@ -8733,14 +9711,14 @@ declare const app: Elysia<"/api", {
|
|
|
8733
9711
|
":id": {
|
|
8734
9712
|
overview: {
|
|
8735
9713
|
get: {
|
|
8736
|
-
body:
|
|
9714
|
+
body: {};
|
|
8737
9715
|
params: {
|
|
8738
9716
|
id: string;
|
|
8739
9717
|
};
|
|
8740
9718
|
query: {
|
|
8741
9719
|
quoteAsset?: string | undefined;
|
|
8742
9720
|
};
|
|
8743
|
-
headers:
|
|
9721
|
+
headers: {};
|
|
8744
9722
|
response: {
|
|
8745
9723
|
200: {
|
|
8746
9724
|
quoteAsset: string;
|
|
@@ -9021,7 +9999,7 @@ declare const app: Elysia<"/api", {
|
|
|
9021
9999
|
bank_account: {
|
|
9022
10000
|
banks: {
|
|
9023
10001
|
get: {
|
|
9024
|
-
body:
|
|
10002
|
+
body: {};
|
|
9025
10003
|
params: {};
|
|
9026
10004
|
query: {
|
|
9027
10005
|
limit?: number | undefined;
|
|
@@ -9029,7 +10007,7 @@ declare const app: Elysia<"/api", {
|
|
|
9029
10007
|
pageSize?: number | undefined;
|
|
9030
10008
|
pageIndex?: number | undefined;
|
|
9031
10009
|
};
|
|
9032
|
-
headers:
|
|
10010
|
+
headers: {};
|
|
9033
10011
|
response: {
|
|
9034
10012
|
200: {
|
|
9035
10013
|
data: {
|
|
@@ -9077,8 +10055,8 @@ declare const app: Elysia<"/api", {
|
|
|
9077
10055
|
checkInType?: "app" | "meeting" | undefined;
|
|
9078
10056
|
};
|
|
9079
10057
|
params: {};
|
|
9080
|
-
query:
|
|
9081
|
-
headers:
|
|
10058
|
+
query: {};
|
|
10059
|
+
headers: {};
|
|
9082
10060
|
response: {
|
|
9083
10061
|
200: {
|
|
9084
10062
|
id: string;
|
|
@@ -9107,7 +10085,7 @@ declare const app: Elysia<"/api", {
|
|
|
9107
10085
|
} & {
|
|
9108
10086
|
checkIns: {
|
|
9109
10087
|
get: {
|
|
9110
|
-
body:
|
|
10088
|
+
body: {};
|
|
9111
10089
|
params: {};
|
|
9112
10090
|
query: {
|
|
9113
10091
|
checkInType?: "app" | "meeting" | undefined;
|
|
@@ -9118,7 +10096,7 @@ declare const app: Elysia<"/api", {
|
|
|
9118
10096
|
pageIndex?: number | undefined;
|
|
9119
10097
|
endDate?: Date | undefined;
|
|
9120
10098
|
};
|
|
9121
|
-
headers:
|
|
10099
|
+
headers: {};
|
|
9122
10100
|
response: {
|
|
9123
10101
|
200: {
|
|
9124
10102
|
data: {
|
|
@@ -9133,7 +10111,6 @@ declare const app: Elysia<"/api", {
|
|
|
9133
10111
|
twoFactorEnabled: boolean | null;
|
|
9134
10112
|
username: string | null;
|
|
9135
10113
|
displayUsername: string | null;
|
|
9136
|
-
isAnonymous: boolean | null;
|
|
9137
10114
|
phoneNumber: string | null;
|
|
9138
10115
|
phoneNumberVerified: boolean | null;
|
|
9139
10116
|
role: string | null;
|
|
@@ -9176,13 +10153,13 @@ declare const app: Elysia<"/api", {
|
|
|
9176
10153
|
checkIns: {
|
|
9177
10154
|
total_days: {
|
|
9178
10155
|
get: {
|
|
9179
|
-
body:
|
|
10156
|
+
body: {};
|
|
9180
10157
|
params: {};
|
|
9181
10158
|
query: {
|
|
9182
10159
|
timezone?: string | undefined;
|
|
9183
10160
|
checkInType?: "app" | "meeting" | undefined;
|
|
9184
10161
|
};
|
|
9185
|
-
headers:
|
|
10162
|
+
headers: {};
|
|
9186
10163
|
response: {
|
|
9187
10164
|
200: {
|
|
9188
10165
|
totalDays: number;
|
|
@@ -9205,13 +10182,13 @@ declare const app: Elysia<"/api", {
|
|
|
9205
10182
|
checkIns: {
|
|
9206
10183
|
current_streak: {
|
|
9207
10184
|
get: {
|
|
9208
|
-
body:
|
|
10185
|
+
body: {};
|
|
9209
10186
|
params: {};
|
|
9210
10187
|
query: {
|
|
9211
10188
|
timezone?: string | undefined;
|
|
9212
10189
|
checkInType?: "app" | "meeting" | undefined;
|
|
9213
10190
|
};
|
|
9214
|
-
headers:
|
|
10191
|
+
headers: {};
|
|
9215
10192
|
response: {
|
|
9216
10193
|
200: {
|
|
9217
10194
|
currentStreakDays: number;
|
|
@@ -9234,13 +10211,13 @@ declare const app: Elysia<"/api", {
|
|
|
9234
10211
|
checkIns: {
|
|
9235
10212
|
today: {
|
|
9236
10213
|
get: {
|
|
9237
|
-
body:
|
|
10214
|
+
body: {};
|
|
9238
10215
|
params: {};
|
|
9239
10216
|
query: {
|
|
9240
10217
|
checkInType?: "app" | "meeting" | undefined;
|
|
9241
10218
|
timezone: string;
|
|
9242
10219
|
};
|
|
9243
|
-
headers:
|
|
10220
|
+
headers: {};
|
|
9244
10221
|
response: {
|
|
9245
10222
|
200: {
|
|
9246
10223
|
checkedInToday: boolean;
|
|
@@ -9274,8 +10251,8 @@ declare const app: Elysia<"/api", {
|
|
|
9274
10251
|
transactionPassword: string;
|
|
9275
10252
|
};
|
|
9276
10253
|
params: {};
|
|
9277
|
-
query:
|
|
9278
|
-
headers:
|
|
10254
|
+
query: {};
|
|
10255
|
+
headers: {};
|
|
9279
10256
|
response: {
|
|
9280
10257
|
200: {
|
|
9281
10258
|
isIdempotent?: boolean | undefined;
|
|
@@ -9310,7 +10287,7 @@ declare const app: Elysia<"/api", {
|
|
|
9310
10287
|
} & {
|
|
9311
10288
|
transfer: {
|
|
9312
10289
|
get: {
|
|
9313
|
-
body:
|
|
10290
|
+
body: {};
|
|
9314
10291
|
params: {};
|
|
9315
10292
|
query: {
|
|
9316
10293
|
limit?: number | undefined;
|
|
@@ -9318,7 +10295,7 @@ declare const app: Elysia<"/api", {
|
|
|
9318
10295
|
pageSize?: number | undefined;
|
|
9319
10296
|
pageIndex?: number | undefined;
|
|
9320
10297
|
};
|
|
9321
|
-
headers:
|
|
10298
|
+
headers: {};
|
|
9322
10299
|
response: {
|
|
9323
10300
|
200: {
|
|
9324
10301
|
data: {
|
|
@@ -9367,8 +10344,8 @@ declare const app: Elysia<"/api", {
|
|
|
9367
10344
|
transactionPassword: string;
|
|
9368
10345
|
};
|
|
9369
10346
|
params: {};
|
|
9370
|
-
query:
|
|
9371
|
-
headers:
|
|
10347
|
+
query: {};
|
|
10348
|
+
headers: {};
|
|
9372
10349
|
response: {
|
|
9373
10350
|
200: {
|
|
9374
10351
|
id: string;
|
|
@@ -9403,7 +10380,7 @@ declare const app: Elysia<"/api", {
|
|
|
9403
10380
|
trade_market: {
|
|
9404
10381
|
markets: {
|
|
9405
10382
|
get: {
|
|
9406
|
-
body:
|
|
10383
|
+
body: {};
|
|
9407
10384
|
params: {};
|
|
9408
10385
|
query: {
|
|
9409
10386
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -9412,7 +10389,7 @@ declare const app: Elysia<"/api", {
|
|
|
9412
10389
|
pageSize?: number | undefined;
|
|
9413
10390
|
pageIndex?: number | undefined;
|
|
9414
10391
|
};
|
|
9415
|
-
headers:
|
|
10392
|
+
headers: {};
|
|
9416
10393
|
response: {
|
|
9417
10394
|
200: {
|
|
9418
10395
|
data: {
|
|
@@ -9461,12 +10438,12 @@ declare const app: Elysia<"/api", {
|
|
|
9461
10438
|
markets: {
|
|
9462
10439
|
":id": {
|
|
9463
10440
|
get: {
|
|
9464
|
-
body:
|
|
10441
|
+
body: {};
|
|
9465
10442
|
params: {
|
|
9466
10443
|
id: string;
|
|
9467
10444
|
};
|
|
9468
|
-
query:
|
|
9469
|
-
headers:
|
|
10445
|
+
query: {};
|
|
10446
|
+
headers: {};
|
|
9470
10447
|
response: {
|
|
9471
10448
|
200: {
|
|
9472
10449
|
id: string;
|
|
@@ -9515,8 +10492,8 @@ declare const app: Elysia<"/api", {
|
|
|
9515
10492
|
userQuoteAccountId: string;
|
|
9516
10493
|
};
|
|
9517
10494
|
params: {};
|
|
9518
|
-
query:
|
|
9519
|
-
headers:
|
|
10495
|
+
query: {};
|
|
10496
|
+
headers: {};
|
|
9520
10497
|
response: {
|
|
9521
10498
|
200: {
|
|
9522
10499
|
id: string;
|
|
@@ -9570,8 +10547,8 @@ declare const app: Elysia<"/api", {
|
|
|
9570
10547
|
userQuoteAccountId: string;
|
|
9571
10548
|
};
|
|
9572
10549
|
params: {};
|
|
9573
|
-
query:
|
|
9574
|
-
headers:
|
|
10550
|
+
query: {};
|
|
10551
|
+
headers: {};
|
|
9575
10552
|
response: {
|
|
9576
10553
|
200: {
|
|
9577
10554
|
id: string;
|
|
@@ -9616,7 +10593,7 @@ declare const app: Elysia<"/api", {
|
|
|
9616
10593
|
trade_market: {
|
|
9617
10594
|
orders: {
|
|
9618
10595
|
get: {
|
|
9619
|
-
body:
|
|
10596
|
+
body: {};
|
|
9620
10597
|
params: {};
|
|
9621
10598
|
query: {
|
|
9622
10599
|
status?: "created" | "completed" | "failed" | undefined;
|
|
@@ -9627,7 +10604,7 @@ declare const app: Elysia<"/api", {
|
|
|
9627
10604
|
pageSize?: number | undefined;
|
|
9628
10605
|
pageIndex?: number | undefined;
|
|
9629
10606
|
};
|
|
9630
|
-
headers:
|
|
10607
|
+
headers: {};
|
|
9631
10608
|
response: {
|
|
9632
10609
|
200: {
|
|
9633
10610
|
data: {
|
|
@@ -9681,12 +10658,12 @@ declare const app: Elysia<"/api", {
|
|
|
9681
10658
|
orders: {
|
|
9682
10659
|
":id": {
|
|
9683
10660
|
get: {
|
|
9684
|
-
body:
|
|
10661
|
+
body: {};
|
|
9685
10662
|
params: {
|
|
9686
10663
|
id: string;
|
|
9687
10664
|
};
|
|
9688
|
-
query:
|
|
9689
|
-
headers:
|
|
10665
|
+
query: {};
|
|
10666
|
+
headers: {};
|
|
9690
10667
|
response: {
|
|
9691
10668
|
200: {
|
|
9692
10669
|
id: string;
|
|
@@ -9735,7 +10712,7 @@ declare const app: Elysia<"/api", {
|
|
|
9735
10712
|
ledger: {
|
|
9736
10713
|
entries: {
|
|
9737
10714
|
get: {
|
|
9738
|
-
body:
|
|
10715
|
+
body: {};
|
|
9739
10716
|
params: {};
|
|
9740
10717
|
query: {
|
|
9741
10718
|
accountId?: string | undefined;
|
|
@@ -9745,7 +10722,7 @@ declare const app: Elysia<"/api", {
|
|
|
9745
10722
|
pageSize?: number | undefined;
|
|
9746
10723
|
pageIndex?: number | undefined;
|
|
9747
10724
|
};
|
|
9748
|
-
headers:
|
|
10725
|
+
headers: {};
|
|
9749
10726
|
response: {
|
|
9750
10727
|
200: {
|
|
9751
10728
|
data: {
|
|
@@ -9802,7 +10779,7 @@ declare const app: Elysia<"/api", {
|
|
|
9802
10779
|
":baseAsset": {
|
|
9803
10780
|
":quoteAsset": {
|
|
9804
10781
|
get: {
|
|
9805
|
-
body:
|
|
10782
|
+
body: {};
|
|
9806
10783
|
params: {
|
|
9807
10784
|
baseAsset: string;
|
|
9808
10785
|
quoteAsset: string;
|
|
@@ -9810,7 +10787,7 @@ declare const app: Elysia<"/api", {
|
|
|
9810
10787
|
query: {
|
|
9811
10788
|
source?: string | undefined;
|
|
9812
10789
|
};
|
|
9813
|
-
headers:
|
|
10790
|
+
headers: {};
|
|
9814
10791
|
response: {
|
|
9815
10792
|
200: {
|
|
9816
10793
|
baseAssetId: string;
|
|
@@ -9844,7 +10821,7 @@ declare const app: Elysia<"/api", {
|
|
|
9844
10821
|
":baseAsset": {
|
|
9845
10822
|
":quoteAsset": {
|
|
9846
10823
|
get: {
|
|
9847
|
-
body:
|
|
10824
|
+
body: {};
|
|
9848
10825
|
params: {
|
|
9849
10826
|
baseAsset: string;
|
|
9850
10827
|
quoteAsset: string;
|
|
@@ -9855,7 +10832,7 @@ declare const app: Elysia<"/api", {
|
|
|
9855
10832
|
limit?: number | undefined;
|
|
9856
10833
|
endDate?: Date | undefined;
|
|
9857
10834
|
};
|
|
9858
|
-
headers:
|
|
10835
|
+
headers: {};
|
|
9859
10836
|
response: {
|
|
9860
10837
|
200: {
|
|
9861
10838
|
id: string;
|
|
@@ -9908,8 +10885,58 @@ declare const app: Elysia<"/api", {
|
|
|
9908
10885
|
targetAccountId: string;
|
|
9909
10886
|
};
|
|
9910
10887
|
params: {};
|
|
9911
|
-
query:
|
|
9912
|
-
headers:
|
|
10888
|
+
query: {};
|
|
10889
|
+
headers: {};
|
|
10890
|
+
response: {
|
|
10891
|
+
200: {
|
|
10892
|
+
id: string;
|
|
10893
|
+
createdAt: Date;
|
|
10894
|
+
updatedAt: Date;
|
|
10895
|
+
userId: string;
|
|
10896
|
+
status: "pending" | "approved" | "rejected" | "completed" | "cancelled";
|
|
10897
|
+
reviewedAt: Date | null;
|
|
10898
|
+
reviewedBy: string | null;
|
|
10899
|
+
assetId: string | null;
|
|
10900
|
+
amount: string;
|
|
10901
|
+
idempotencyKey: string;
|
|
10902
|
+
orderNo: string;
|
|
10903
|
+
targetAccountId: string | null;
|
|
10904
|
+
actualAmount: string | null;
|
|
10905
|
+
fee: string | null;
|
|
10906
|
+
paymentChannel: string | null;
|
|
10907
|
+
paymentOrderNo: string | null;
|
|
10908
|
+
paymentProof: string | null;
|
|
10909
|
+
reviewNote: string | null;
|
|
10910
|
+
completedAt: Date | null;
|
|
10911
|
+
};
|
|
10912
|
+
422: {
|
|
10913
|
+
type: "validation";
|
|
10914
|
+
on: string;
|
|
10915
|
+
summary?: string;
|
|
10916
|
+
message?: string;
|
|
10917
|
+
found?: unknown;
|
|
10918
|
+
property?: string;
|
|
10919
|
+
expected?: string;
|
|
10920
|
+
};
|
|
10921
|
+
401: "Unauthorized";
|
|
10922
|
+
};
|
|
10923
|
+
};
|
|
10924
|
+
};
|
|
10925
|
+
};
|
|
10926
|
+
} & {
|
|
10927
|
+
deposit: {
|
|
10928
|
+
direct_cny_balance: {
|
|
10929
|
+
post: {
|
|
10930
|
+
body: {
|
|
10931
|
+
paymentChannel?: string | undefined;
|
|
10932
|
+
paymentOrderNo?: string | undefined;
|
|
10933
|
+
paymentProof?: string | undefined;
|
|
10934
|
+
amount: string;
|
|
10935
|
+
idempotencyKey: string;
|
|
10936
|
+
};
|
|
10937
|
+
params: {};
|
|
10938
|
+
query: {};
|
|
10939
|
+
headers: {};
|
|
9913
10940
|
response: {
|
|
9914
10941
|
200: {
|
|
9915
10942
|
id: string;
|
|
@@ -9950,7 +10977,7 @@ declare const app: Elysia<"/api", {
|
|
|
9950
10977
|
deposit: {
|
|
9951
10978
|
orders: {
|
|
9952
10979
|
get: {
|
|
9953
|
-
body:
|
|
10980
|
+
body: {};
|
|
9954
10981
|
params: {};
|
|
9955
10982
|
query: {
|
|
9956
10983
|
status?: "pending" | "approved" | "rejected" | "completed" | "cancelled" | undefined;
|
|
@@ -9959,7 +10986,7 @@ declare const app: Elysia<"/api", {
|
|
|
9959
10986
|
pageSize?: number | undefined;
|
|
9960
10987
|
pageIndex?: number | undefined;
|
|
9961
10988
|
};
|
|
9962
|
-
headers:
|
|
10989
|
+
headers: {};
|
|
9963
10990
|
response: {
|
|
9964
10991
|
200: {
|
|
9965
10992
|
data: {
|
|
@@ -9974,7 +11001,6 @@ declare const app: Elysia<"/api", {
|
|
|
9974
11001
|
twoFactorEnabled: boolean | null;
|
|
9975
11002
|
username: string | null;
|
|
9976
11003
|
displayUsername: string | null;
|
|
9977
|
-
isAnonymous: boolean | null;
|
|
9978
11004
|
phoneNumber: string | null;
|
|
9979
11005
|
phoneNumberVerified: boolean | null;
|
|
9980
11006
|
role: string | null;
|
|
@@ -10029,12 +11055,12 @@ declare const app: Elysia<"/api", {
|
|
|
10029
11055
|
orders: {
|
|
10030
11056
|
":orderId": {
|
|
10031
11057
|
get: {
|
|
10032
|
-
body:
|
|
11058
|
+
body: {};
|
|
10033
11059
|
params: {
|
|
10034
11060
|
orderId: string;
|
|
10035
11061
|
};
|
|
10036
|
-
query:
|
|
10037
|
-
headers:
|
|
11062
|
+
query: {};
|
|
11063
|
+
headers: {};
|
|
10038
11064
|
response: {
|
|
10039
11065
|
422: {
|
|
10040
11066
|
type: "validation";
|
|
@@ -10057,12 +11083,12 @@ declare const app: Elysia<"/api", {
|
|
|
10057
11083
|
":orderId": {
|
|
10058
11084
|
cancel: {
|
|
10059
11085
|
post: {
|
|
10060
|
-
body:
|
|
11086
|
+
body: {};
|
|
10061
11087
|
params: {
|
|
10062
11088
|
orderId: string;
|
|
10063
11089
|
};
|
|
10064
|
-
query:
|
|
10065
|
-
headers:
|
|
11090
|
+
query: {};
|
|
11091
|
+
headers: {};
|
|
10066
11092
|
response: {
|
|
10067
11093
|
200: {
|
|
10068
11094
|
createdAt: Date;
|
|
@@ -10117,8 +11143,55 @@ declare const app: Elysia<"/api", {
|
|
|
10117
11143
|
transactionPassword: string;
|
|
10118
11144
|
};
|
|
10119
11145
|
params: {};
|
|
10120
|
-
query:
|
|
10121
|
-
headers:
|
|
11146
|
+
query: {};
|
|
11147
|
+
headers: {};
|
|
11148
|
+
response: {
|
|
11149
|
+
200: {
|
|
11150
|
+
id: string;
|
|
11151
|
+
createdAt: Date;
|
|
11152
|
+
updatedAt: Date;
|
|
11153
|
+
userId: string;
|
|
11154
|
+
status: "rejected" | "completed" | "pending_review" | "pending_payout";
|
|
11155
|
+
reviewedAt: Date | null;
|
|
11156
|
+
reviewedBy: string | null;
|
|
11157
|
+
assetId: string | null;
|
|
11158
|
+
amount: string;
|
|
11159
|
+
idempotencyKey: string;
|
|
11160
|
+
orderNo: string;
|
|
11161
|
+
reviewNote: string | null;
|
|
11162
|
+
sourceAccountId: string | null;
|
|
11163
|
+
receiptMethodId: string;
|
|
11164
|
+
rejectReason: string | null;
|
|
11165
|
+
paidBy: string | null;
|
|
11166
|
+
paidAt: Date | null;
|
|
11167
|
+
};
|
|
11168
|
+
422: {
|
|
11169
|
+
type: "validation";
|
|
11170
|
+
on: string;
|
|
11171
|
+
summary?: string;
|
|
11172
|
+
message?: string;
|
|
11173
|
+
found?: unknown;
|
|
11174
|
+
property?: string;
|
|
11175
|
+
expected?: string;
|
|
11176
|
+
};
|
|
11177
|
+
401: "Unauthorized";
|
|
11178
|
+
};
|
|
11179
|
+
};
|
|
11180
|
+
};
|
|
11181
|
+
};
|
|
11182
|
+
} & {
|
|
11183
|
+
withdraw: {
|
|
11184
|
+
direct_cny_balance: {
|
|
11185
|
+
post: {
|
|
11186
|
+
body: {
|
|
11187
|
+
amount: string;
|
|
11188
|
+
idempotencyKey: string;
|
|
11189
|
+
receiptMethodId: string;
|
|
11190
|
+
transactionPassword: string;
|
|
11191
|
+
};
|
|
11192
|
+
params: {};
|
|
11193
|
+
query: {};
|
|
11194
|
+
headers: {};
|
|
10122
11195
|
response: {
|
|
10123
11196
|
200: {
|
|
10124
11197
|
id: string;
|
|
@@ -10156,7 +11229,7 @@ declare const app: Elysia<"/api", {
|
|
|
10156
11229
|
} & {
|
|
10157
11230
|
withdraw: {
|
|
10158
11231
|
get: {
|
|
10159
|
-
body:
|
|
11232
|
+
body: {};
|
|
10160
11233
|
params: {};
|
|
10161
11234
|
query: {
|
|
10162
11235
|
status?: "rejected" | "completed" | "pending_review" | "pending_payout" | undefined;
|
|
@@ -10165,7 +11238,7 @@ declare const app: Elysia<"/api", {
|
|
|
10165
11238
|
pageSize?: number | undefined;
|
|
10166
11239
|
pageIndex?: number | undefined;
|
|
10167
11240
|
};
|
|
10168
|
-
headers:
|
|
11241
|
+
headers: {};
|
|
10169
11242
|
response: {
|
|
10170
11243
|
200: {
|
|
10171
11244
|
data: {
|
|
@@ -10215,7 +11288,7 @@ declare const app: Elysia<"/api", {
|
|
|
10215
11288
|
} & {
|
|
10216
11289
|
notifications: {
|
|
10217
11290
|
get: {
|
|
10218
|
-
body:
|
|
11291
|
+
body: {};
|
|
10219
11292
|
params: {};
|
|
10220
11293
|
query: {
|
|
10221
11294
|
type?: "system" | "transaction" | "activity" | "security" | undefined;
|
|
@@ -10225,7 +11298,7 @@ declare const app: Elysia<"/api", {
|
|
|
10225
11298
|
pageSize?: number | undefined;
|
|
10226
11299
|
pageIndex?: number | undefined;
|
|
10227
11300
|
};
|
|
10228
|
-
headers:
|
|
11301
|
+
headers: {};
|
|
10229
11302
|
response: {
|
|
10230
11303
|
200: {
|
|
10231
11304
|
data: {
|
|
@@ -10275,10 +11348,10 @@ declare const app: Elysia<"/api", {
|
|
|
10275
11348
|
notifications: {
|
|
10276
11349
|
"unread-count": {
|
|
10277
11350
|
get: {
|
|
10278
|
-
body:
|
|
11351
|
+
body: {};
|
|
10279
11352
|
params: {};
|
|
10280
|
-
query:
|
|
10281
|
-
headers:
|
|
11353
|
+
query: {};
|
|
11354
|
+
headers: {};
|
|
10282
11355
|
response: {
|
|
10283
11356
|
200: {
|
|
10284
11357
|
count: number;
|
|
@@ -10301,12 +11374,12 @@ declare const app: Elysia<"/api", {
|
|
|
10301
11374
|
notifications: {
|
|
10302
11375
|
":id": {
|
|
10303
11376
|
get: {
|
|
10304
|
-
body:
|
|
11377
|
+
body: {};
|
|
10305
11378
|
params: {
|
|
10306
11379
|
id: string;
|
|
10307
11380
|
};
|
|
10308
|
-
query:
|
|
10309
|
-
headers:
|
|
11381
|
+
query: {};
|
|
11382
|
+
headers: {};
|
|
10310
11383
|
response: {
|
|
10311
11384
|
200: {
|
|
10312
11385
|
id: string;
|
|
@@ -10349,12 +11422,12 @@ declare const app: Elysia<"/api", {
|
|
|
10349
11422
|
":id": {
|
|
10350
11423
|
read: {
|
|
10351
11424
|
post: {
|
|
10352
|
-
body:
|
|
11425
|
+
body: {};
|
|
10353
11426
|
params: {
|
|
10354
11427
|
id: string;
|
|
10355
11428
|
};
|
|
10356
|
-
query:
|
|
10357
|
-
headers:
|
|
11429
|
+
query: {};
|
|
11430
|
+
headers: {};
|
|
10358
11431
|
response: {
|
|
10359
11432
|
200: {
|
|
10360
11433
|
id: string;
|
|
@@ -10398,8 +11471,8 @@ declare const app: Elysia<"/api", {
|
|
|
10398
11471
|
ids?: string[] | undefined;
|
|
10399
11472
|
};
|
|
10400
11473
|
params: {};
|
|
10401
|
-
query:
|
|
10402
|
-
headers:
|
|
11474
|
+
query: {};
|
|
11475
|
+
headers: {};
|
|
10403
11476
|
response: {
|
|
10404
11477
|
200: {
|
|
10405
11478
|
count: number;
|
|
@@ -10858,12 +11931,12 @@ declare const app: Elysia<"/api", {
|
|
|
10858
11931
|
code: {
|
|
10859
11932
|
check: {
|
|
10860
11933
|
get: {
|
|
10861
|
-
body:
|
|
11934
|
+
body: {};
|
|
10862
11935
|
params: {};
|
|
10863
11936
|
query: {
|
|
10864
11937
|
referralCode: string;
|
|
10865
11938
|
};
|
|
10866
|
-
headers:
|
|
11939
|
+
headers: {};
|
|
10867
11940
|
response: {
|
|
10868
11941
|
200: {
|
|
10869
11942
|
exists: boolean;
|
|
@@ -10891,8 +11964,8 @@ declare const app: Elysia<"/api", {
|
|
|
10891
11964
|
referralCode: string;
|
|
10892
11965
|
};
|
|
10893
11966
|
params: {};
|
|
10894
|
-
query:
|
|
10895
|
-
headers:
|
|
11967
|
+
query: {};
|
|
11968
|
+
headers: {};
|
|
10896
11969
|
response: {
|
|
10897
11970
|
200: {
|
|
10898
11971
|
userId: string;
|
|
@@ -10919,10 +11992,10 @@ declare const app: Elysia<"/api", {
|
|
|
10919
11992
|
referrals: {
|
|
10920
11993
|
summary: {
|
|
10921
11994
|
get: {
|
|
10922
|
-
body:
|
|
11995
|
+
body: {};
|
|
10923
11996
|
params: {};
|
|
10924
|
-
query:
|
|
10925
|
-
headers:
|
|
11997
|
+
query: {};
|
|
11998
|
+
headers: {};
|
|
10926
11999
|
response: {
|
|
10927
12000
|
200: {
|
|
10928
12001
|
referredBy?: string | undefined;
|
|
@@ -10950,7 +12023,7 @@ declare const app: Elysia<"/api", {
|
|
|
10950
12023
|
referrals: {
|
|
10951
12024
|
members: {
|
|
10952
12025
|
get: {
|
|
10953
|
-
body:
|
|
12026
|
+
body: {};
|
|
10954
12027
|
params: {};
|
|
10955
12028
|
query: {
|
|
10956
12029
|
limit?: number | undefined;
|
|
@@ -10959,7 +12032,7 @@ declare const app: Elysia<"/api", {
|
|
|
10959
12032
|
pageIndex?: number | undefined;
|
|
10960
12033
|
maxDepth?: number | undefined;
|
|
10961
12034
|
};
|
|
10962
|
-
headers:
|
|
12035
|
+
headers: {};
|
|
10963
12036
|
response: {
|
|
10964
12037
|
200: {
|
|
10965
12038
|
data: {
|
|
@@ -10974,7 +12047,6 @@ declare const app: Elysia<"/api", {
|
|
|
10974
12047
|
twoFactorEnabled: boolean | null;
|
|
10975
12048
|
username: string | null;
|
|
10976
12049
|
displayUsername: string | null;
|
|
10977
|
-
isAnonymous: boolean | null;
|
|
10978
12050
|
phoneNumber: string | null;
|
|
10979
12051
|
phoneNumberVerified: boolean | null;
|
|
10980
12052
|
role: string | null;
|
|
@@ -11015,12 +12087,12 @@ declare const app: Elysia<"/api", {
|
|
|
11015
12087
|
dashboard: {
|
|
11016
12088
|
summary: {
|
|
11017
12089
|
get: {
|
|
11018
|
-
body:
|
|
12090
|
+
body: {};
|
|
11019
12091
|
params: {};
|
|
11020
12092
|
query: {
|
|
11021
12093
|
timezone?: string | undefined;
|
|
11022
12094
|
};
|
|
11023
|
-
headers:
|
|
12095
|
+
headers: {};
|
|
11024
12096
|
response: {
|
|
11025
12097
|
200: {
|
|
11026
12098
|
totalCount: number;
|
|
@@ -11051,10 +12123,10 @@ declare const app: Elysia<"/api", {
|
|
|
11051
12123
|
team: {
|
|
11052
12124
|
leader: {
|
|
11053
12125
|
get: {
|
|
11054
|
-
body:
|
|
12126
|
+
body: {};
|
|
11055
12127
|
params: {};
|
|
11056
|
-
query:
|
|
11057
|
-
headers:
|
|
12128
|
+
query: {};
|
|
12129
|
+
headers: {};
|
|
11058
12130
|
response: {
|
|
11059
12131
|
200: Partial<{
|
|
11060
12132
|
user: {
|
|
@@ -11068,7 +12140,6 @@ declare const app: Elysia<"/api", {
|
|
|
11068
12140
|
twoFactorEnabled: boolean | null;
|
|
11069
12141
|
username: string | null;
|
|
11070
12142
|
displayUsername: string | null;
|
|
11071
|
-
isAnonymous: boolean | null;
|
|
11072
12143
|
phoneNumber: string | null;
|
|
11073
12144
|
phoneNumberVerified: boolean | null;
|
|
11074
12145
|
role: string | null;
|
|
@@ -11108,7 +12179,7 @@ declare const app: Elysia<"/api", {
|
|
|
11108
12179
|
team: {
|
|
11109
12180
|
members: {
|
|
11110
12181
|
get: {
|
|
11111
|
-
body:
|
|
12182
|
+
body: {};
|
|
11112
12183
|
params: {};
|
|
11113
12184
|
query: {
|
|
11114
12185
|
limit?: number | undefined;
|
|
@@ -11117,7 +12188,7 @@ declare const app: Elysia<"/api", {
|
|
|
11117
12188
|
pageIndex?: number | undefined;
|
|
11118
12189
|
depth: number;
|
|
11119
12190
|
};
|
|
11120
|
-
headers:
|
|
12191
|
+
headers: {};
|
|
11121
12192
|
response: {
|
|
11122
12193
|
200: {
|
|
11123
12194
|
data: {
|
|
@@ -11138,7 +12209,6 @@ declare const app: Elysia<"/api", {
|
|
|
11138
12209
|
twoFactorEnabled: boolean | null;
|
|
11139
12210
|
username: string | null;
|
|
11140
12211
|
displayUsername: string | null;
|
|
11141
|
-
isAnonymous: boolean | null;
|
|
11142
12212
|
phoneNumber: string | null;
|
|
11143
12213
|
phoneNumberVerified: boolean | null;
|
|
11144
12214
|
role: string | null;
|
|
@@ -11181,12 +12251,12 @@ declare const app: Elysia<"/api", {
|
|
|
11181
12251
|
team: {
|
|
11182
12252
|
earnings: {
|
|
11183
12253
|
get: {
|
|
11184
|
-
body:
|
|
12254
|
+
body: {};
|
|
11185
12255
|
params: {};
|
|
11186
12256
|
query: {
|
|
11187
12257
|
timezone?: string | undefined;
|
|
11188
12258
|
};
|
|
11189
|
-
headers:
|
|
12259
|
+
headers: {};
|
|
11190
12260
|
response: {
|
|
11191
12261
|
200: {
|
|
11192
12262
|
totalAmount: string;
|
|
@@ -11217,13 +12287,13 @@ declare const app: Elysia<"/api", {
|
|
|
11217
12287
|
"check-ins": {
|
|
11218
12288
|
count: {
|
|
11219
12289
|
get: {
|
|
11220
|
-
body:
|
|
12290
|
+
body: {};
|
|
11221
12291
|
params: {};
|
|
11222
12292
|
query: {
|
|
11223
12293
|
timezone?: string | undefined;
|
|
11224
12294
|
depth?: number | undefined;
|
|
11225
12295
|
};
|
|
11226
|
-
headers:
|
|
12296
|
+
headers: {};
|
|
11227
12297
|
response: {
|
|
11228
12298
|
200: {
|
|
11229
12299
|
depth?: number | undefined;
|
|
@@ -11248,7 +12318,7 @@ declare const app: Elysia<"/api", {
|
|
|
11248
12318
|
team: {
|
|
11249
12319
|
"check-ins": {
|
|
11250
12320
|
get: {
|
|
11251
|
-
body:
|
|
12321
|
+
body: {};
|
|
11252
12322
|
params: {};
|
|
11253
12323
|
query: {
|
|
11254
12324
|
timezone?: string | undefined;
|
|
@@ -11258,7 +12328,7 @@ declare const app: Elysia<"/api", {
|
|
|
11258
12328
|
pageIndex?: number | undefined;
|
|
11259
12329
|
depth: number;
|
|
11260
12330
|
};
|
|
11261
|
-
headers:
|
|
12331
|
+
headers: {};
|
|
11262
12332
|
response: {
|
|
11263
12333
|
200: {
|
|
11264
12334
|
data: {
|
|
@@ -11279,7 +12349,6 @@ declare const app: Elysia<"/api", {
|
|
|
11279
12349
|
twoFactorEnabled: boolean | null;
|
|
11280
12350
|
username: string | null;
|
|
11281
12351
|
displayUsername: string | null;
|
|
11282
|
-
isAnonymous: boolean | null;
|
|
11283
12352
|
phoneNumber: string | null;
|
|
11284
12353
|
phoneNumberVerified: boolean | null;
|
|
11285
12354
|
role: string | null;
|
|
@@ -11328,10 +12397,10 @@ declare const app: Elysia<"/api", {
|
|
|
11328
12397
|
} & {
|
|
11329
12398
|
news_categories: {
|
|
11330
12399
|
get: {
|
|
11331
|
-
body:
|
|
12400
|
+
body: {};
|
|
11332
12401
|
params: {};
|
|
11333
|
-
query:
|
|
11334
|
-
headers:
|
|
12402
|
+
query: {};
|
|
12403
|
+
headers: {};
|
|
11335
12404
|
response: {
|
|
11336
12405
|
200: {
|
|
11337
12406
|
id: string;
|
|
@@ -11351,12 +12420,12 @@ declare const app: Elysia<"/api", {
|
|
|
11351
12420
|
news_categories: {
|
|
11352
12421
|
":slugOrId": {
|
|
11353
12422
|
get: {
|
|
11354
|
-
body:
|
|
12423
|
+
body: {};
|
|
11355
12424
|
params: {
|
|
11356
12425
|
slugOrId: string;
|
|
11357
12426
|
};
|
|
11358
|
-
query:
|
|
11359
|
-
headers:
|
|
12427
|
+
query: {};
|
|
12428
|
+
headers: {};
|
|
11360
12429
|
response: {
|
|
11361
12430
|
200: {
|
|
11362
12431
|
id: string;
|
|
@@ -11389,7 +12458,7 @@ declare const app: Elysia<"/api", {
|
|
|
11389
12458
|
} & {
|
|
11390
12459
|
news: {
|
|
11391
12460
|
get: {
|
|
11392
|
-
body:
|
|
12461
|
+
body: {};
|
|
11393
12462
|
params: {};
|
|
11394
12463
|
query: {
|
|
11395
12464
|
status?: "archived" | "draft" | "published" | undefined;
|
|
@@ -11401,7 +12470,7 @@ declare const app: Elysia<"/api", {
|
|
|
11401
12470
|
pageSize?: number | undefined;
|
|
11402
12471
|
pageIndex?: number | undefined;
|
|
11403
12472
|
};
|
|
11404
|
-
headers:
|
|
12473
|
+
headers: {};
|
|
11405
12474
|
response: {
|
|
11406
12475
|
200: {
|
|
11407
12476
|
data: {
|
|
@@ -11454,12 +12523,12 @@ declare const app: Elysia<"/api", {
|
|
|
11454
12523
|
news: {
|
|
11455
12524
|
":id": {
|
|
11456
12525
|
get: {
|
|
11457
|
-
body:
|
|
12526
|
+
body: {};
|
|
11458
12527
|
params: {
|
|
11459
12528
|
id: string;
|
|
11460
12529
|
};
|
|
11461
|
-
query:
|
|
11462
|
-
headers:
|
|
12530
|
+
query: {};
|
|
12531
|
+
headers: {};
|
|
11463
12532
|
response: {
|
|
11464
12533
|
200: {
|
|
11465
12534
|
category?: any;
|
|
@@ -11506,12 +12575,12 @@ declare const app: Elysia<"/api", {
|
|
|
11506
12575
|
":id": {
|
|
11507
12576
|
confirm: {
|
|
11508
12577
|
post: {
|
|
11509
|
-
body:
|
|
12578
|
+
body: {};
|
|
11510
12579
|
params: {
|
|
11511
12580
|
id: string;
|
|
11512
12581
|
};
|
|
11513
|
-
query:
|
|
11514
|
-
headers:
|
|
12582
|
+
query: {};
|
|
12583
|
+
headers: {};
|
|
11515
12584
|
response: {
|
|
11516
12585
|
422: {
|
|
11517
12586
|
type: "validation";
|
|
@@ -11533,10 +12602,10 @@ declare const app: Elysia<"/api", {
|
|
|
11533
12602
|
pending: {
|
|
11534
12603
|
confirmations: {
|
|
11535
12604
|
get: {
|
|
11536
|
-
body:
|
|
12605
|
+
body: {};
|
|
11537
12606
|
params: {};
|
|
11538
|
-
query:
|
|
11539
|
-
headers:
|
|
12607
|
+
query: {};
|
|
12608
|
+
headers: {};
|
|
11540
12609
|
response: {
|
|
11541
12610
|
200: {
|
|
11542
12611
|
category?: any;
|
|
@@ -11585,7 +12654,7 @@ declare const app: Elysia<"/api", {
|
|
|
11585
12654
|
file_storage: {
|
|
11586
12655
|
list: {
|
|
11587
12656
|
get: {
|
|
11588
|
-
body:
|
|
12657
|
+
body: {};
|
|
11589
12658
|
params: {};
|
|
11590
12659
|
query: {
|
|
11591
12660
|
businessType?: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment" | undefined;
|
|
@@ -11598,7 +12667,7 @@ declare const app: Elysia<"/api", {
|
|
|
11598
12667
|
pageSize?: number | undefined;
|
|
11599
12668
|
pageIndex?: number | undefined;
|
|
11600
12669
|
};
|
|
11601
|
-
headers:
|
|
12670
|
+
headers: {};
|
|
11602
12671
|
response: {
|
|
11603
12672
|
200: {
|
|
11604
12673
|
data: {
|
|
@@ -11659,12 +12728,12 @@ declare const app: Elysia<"/api", {
|
|
|
11659
12728
|
file_storage: {
|
|
11660
12729
|
":id": {
|
|
11661
12730
|
get: {
|
|
11662
|
-
body:
|
|
12731
|
+
body: {};
|
|
11663
12732
|
params: {
|
|
11664
12733
|
id: string;
|
|
11665
12734
|
};
|
|
11666
|
-
query:
|
|
11667
|
-
headers:
|
|
12735
|
+
query: {};
|
|
12736
|
+
headers: {};
|
|
11668
12737
|
response: {
|
|
11669
12738
|
200: {
|
|
11670
12739
|
id: string;
|
|
@@ -11716,12 +12785,12 @@ declare const app: Elysia<"/api", {
|
|
|
11716
12785
|
file_storage: {
|
|
11717
12786
|
":id": {
|
|
11718
12787
|
delete: {
|
|
11719
|
-
body:
|
|
12788
|
+
body: {};
|
|
11720
12789
|
params: {
|
|
11721
12790
|
id: string;
|
|
11722
12791
|
};
|
|
11723
|
-
query:
|
|
11724
|
-
headers:
|
|
12792
|
+
query: {};
|
|
12793
|
+
headers: {};
|
|
11725
12794
|
response: {
|
|
11726
12795
|
200: {
|
|
11727
12796
|
success: boolean;
|
|
@@ -11748,7 +12817,7 @@ declare const app: Elysia<"/api", {
|
|
|
11748
12817
|
welfare_cycle: {
|
|
11749
12818
|
plans: {
|
|
11750
12819
|
get: {
|
|
11751
|
-
body:
|
|
12820
|
+
body: {};
|
|
11752
12821
|
params: {};
|
|
11753
12822
|
query: {
|
|
11754
12823
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -11757,7 +12826,7 @@ declare const app: Elysia<"/api", {
|
|
|
11757
12826
|
pageSize?: number | undefined;
|
|
11758
12827
|
pageIndex?: number | undefined;
|
|
11759
12828
|
};
|
|
11760
|
-
headers:
|
|
12829
|
+
headers: {};
|
|
11761
12830
|
response: {
|
|
11762
12831
|
200: {
|
|
11763
12832
|
data: {
|
|
@@ -11806,12 +12875,12 @@ declare const app: Elysia<"/api", {
|
|
|
11806
12875
|
plans: {
|
|
11807
12876
|
":id": {
|
|
11808
12877
|
get: {
|
|
11809
|
-
body:
|
|
12878
|
+
body: {};
|
|
11810
12879
|
params: {
|
|
11811
12880
|
id: string;
|
|
11812
12881
|
};
|
|
11813
|
-
query:
|
|
11814
|
-
headers:
|
|
12882
|
+
query: {};
|
|
12883
|
+
headers: {};
|
|
11815
12884
|
response: {
|
|
11816
12885
|
200: {
|
|
11817
12886
|
id: string;
|
|
@@ -11859,8 +12928,8 @@ declare const app: Elysia<"/api", {
|
|
|
11859
12928
|
shares: number;
|
|
11860
12929
|
};
|
|
11861
12930
|
params: {};
|
|
11862
|
-
query:
|
|
11863
|
-
headers:
|
|
12931
|
+
query: {};
|
|
12932
|
+
headers: {};
|
|
11864
12933
|
response: {
|
|
11865
12934
|
200: {
|
|
11866
12935
|
id: string;
|
|
@@ -11906,7 +12975,7 @@ declare const app: Elysia<"/api", {
|
|
|
11906
12975
|
welfare_cycle: {
|
|
11907
12976
|
subscriptions: {
|
|
11908
12977
|
get: {
|
|
11909
|
-
body:
|
|
12978
|
+
body: {};
|
|
11910
12979
|
params: {};
|
|
11911
12980
|
query: {
|
|
11912
12981
|
status?: "active" | "pending" | "cancelled" | "matured" | "settled" | undefined;
|
|
@@ -11916,7 +12985,7 @@ declare const app: Elysia<"/api", {
|
|
|
11916
12985
|
pageSize?: number | undefined;
|
|
11917
12986
|
pageIndex?: number | undefined;
|
|
11918
12987
|
};
|
|
11919
|
-
headers:
|
|
12988
|
+
headers: {};
|
|
11920
12989
|
response: {
|
|
11921
12990
|
200: {
|
|
11922
12991
|
data: {
|
|
@@ -11972,12 +13041,12 @@ declare const app: Elysia<"/api", {
|
|
|
11972
13041
|
subscriptions: {
|
|
11973
13042
|
":id": {
|
|
11974
13043
|
get: {
|
|
11975
|
-
body:
|
|
13044
|
+
body: {};
|
|
11976
13045
|
params: {
|
|
11977
13046
|
id: string;
|
|
11978
13047
|
};
|
|
11979
|
-
query:
|
|
11980
|
-
headers:
|
|
13048
|
+
query: {};
|
|
13049
|
+
headers: {};
|
|
11981
13050
|
response: {
|
|
11982
13051
|
200: {
|
|
11983
13052
|
id: string;
|
|
@@ -12022,57 +13091,52 @@ declare const app: Elysia<"/api", {
|
|
|
12022
13091
|
};
|
|
12023
13092
|
} & {
|
|
12024
13093
|
welfare_cycle: {
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
13094
|
+
"daily-payouts": {
|
|
13095
|
+
get: {
|
|
13096
|
+
body: {};
|
|
13097
|
+
params: {};
|
|
13098
|
+
query: {
|
|
13099
|
+
status?: "pending" | "completed" | "failed" | undefined;
|
|
13100
|
+
subscriptionId?: string | undefined;
|
|
13101
|
+
limit?: number | undefined;
|
|
13102
|
+
offset?: number | undefined;
|
|
13103
|
+
pageSize?: number | undefined;
|
|
13104
|
+
pageIndex?: number | undefined;
|
|
13105
|
+
};
|
|
13106
|
+
headers: {};
|
|
13107
|
+
response: {
|
|
13108
|
+
200: {
|
|
13109
|
+
data: {
|
|
12031
13110
|
id: string;
|
|
13111
|
+
createdAt: Date;
|
|
13112
|
+
updatedAt: Date;
|
|
13113
|
+
userId: string;
|
|
13114
|
+
status: "pending" | "completed" | "failed";
|
|
13115
|
+
amount: string;
|
|
13116
|
+
idempotencyKey: string;
|
|
13117
|
+
ledgerEntryId: string | null;
|
|
13118
|
+
planId: string;
|
|
13119
|
+
subscriptionId: string;
|
|
13120
|
+
payoutDate: string;
|
|
13121
|
+
}[];
|
|
13122
|
+
pagination: {
|
|
13123
|
+
total: number;
|
|
13124
|
+
pageSize: number;
|
|
13125
|
+
pageIndex: number;
|
|
13126
|
+
totalPages: number;
|
|
13127
|
+
hasNextPage: boolean;
|
|
12032
13128
|
};
|
|
12033
|
-
query: {
|
|
12034
|
-
status?: "pending" | "completed" | "failed" | undefined;
|
|
12035
|
-
limit?: number | undefined;
|
|
12036
|
-
offset?: number | undefined;
|
|
12037
|
-
pageSize?: number | undefined;
|
|
12038
|
-
pageIndex?: number | undefined;
|
|
12039
|
-
};
|
|
12040
|
-
headers: unknown;
|
|
12041
|
-
response: {
|
|
12042
|
-
200: {
|
|
12043
|
-
data: {
|
|
12044
|
-
id: string;
|
|
12045
|
-
createdAt: Date;
|
|
12046
|
-
updatedAt: Date;
|
|
12047
|
-
userId: string;
|
|
12048
|
-
status: "pending" | "completed" | "failed";
|
|
12049
|
-
amount: string;
|
|
12050
|
-
idempotencyKey: string;
|
|
12051
|
-
ledgerEntryId: string | null;
|
|
12052
|
-
planId: string;
|
|
12053
|
-
subscriptionId: string;
|
|
12054
|
-
payoutDate: string;
|
|
12055
|
-
}[];
|
|
12056
|
-
pagination: {
|
|
12057
|
-
total: number;
|
|
12058
|
-
pageSize: number;
|
|
12059
|
-
pageIndex: number;
|
|
12060
|
-
totalPages: number;
|
|
12061
|
-
hasNextPage: boolean;
|
|
12062
|
-
};
|
|
12063
|
-
};
|
|
12064
|
-
422: {
|
|
12065
|
-
type: "validation";
|
|
12066
|
-
on: string;
|
|
12067
|
-
summary?: string;
|
|
12068
|
-
message?: string;
|
|
12069
|
-
found?: unknown;
|
|
12070
|
-
property?: string;
|
|
12071
|
-
expected?: string;
|
|
12072
|
-
};
|
|
12073
|
-
401: "Unauthorized";
|
|
12074
|
-
};
|
|
12075
13129
|
};
|
|
13130
|
+
422: {
|
|
13131
|
+
type: "validation";
|
|
13132
|
+
on: string;
|
|
13133
|
+
summary?: string;
|
|
13134
|
+
message?: string;
|
|
13135
|
+
found?: unknown;
|
|
13136
|
+
property?: string;
|
|
13137
|
+
expected?: string;
|
|
13138
|
+
};
|
|
13139
|
+
401: "Unauthorized";
|
|
12076
13140
|
};
|
|
12077
13141
|
};
|
|
12078
13142
|
};
|
|
@@ -12083,12 +13147,12 @@ declare const app: Elysia<"/api", {
|
|
|
12083
13147
|
":id": {
|
|
12084
13148
|
"maturity-settlement": {
|
|
12085
13149
|
get: {
|
|
12086
|
-
body:
|
|
13150
|
+
body: {};
|
|
12087
13151
|
params: {
|
|
12088
13152
|
id: string;
|
|
12089
13153
|
};
|
|
12090
|
-
query:
|
|
12091
|
-
headers:
|
|
13154
|
+
query: {};
|
|
13155
|
+
headers: {};
|
|
12092
13156
|
response: {
|
|
12093
13157
|
200: {
|
|
12094
13158
|
id: string;
|
|
@@ -12122,36 +13186,6 @@ declare const app: Elysia<"/api", {
|
|
|
12122
13186
|
};
|
|
12123
13187
|
};
|
|
12124
13188
|
};
|
|
12125
|
-
} & {
|
|
12126
|
-
api: {
|
|
12127
|
-
[x: `${string}-eden-${string}.tgz`]: {
|
|
12128
|
-
get: {
|
|
12129
|
-
body: unknown;
|
|
12130
|
-
params: {};
|
|
12131
|
-
query: unknown;
|
|
12132
|
-
headers: unknown;
|
|
12133
|
-
response: {
|
|
12134
|
-
200: Response;
|
|
12135
|
-
};
|
|
12136
|
-
};
|
|
12137
|
-
};
|
|
12138
|
-
} & {
|
|
12139
|
-
eden: {
|
|
12140
|
-
latest: {
|
|
12141
|
-
get: {
|
|
12142
|
-
body: unknown;
|
|
12143
|
-
params: {};
|
|
12144
|
-
query: unknown;
|
|
12145
|
-
headers: unknown;
|
|
12146
|
-
response: {
|
|
12147
|
-
200: {
|
|
12148
|
-
version: string;
|
|
12149
|
-
};
|
|
12150
|
-
};
|
|
12151
|
-
};
|
|
12152
|
-
};
|
|
12153
|
-
};
|
|
12154
|
-
};
|
|
12155
13189
|
} & {
|
|
12156
13190
|
api: {
|
|
12157
13191
|
error_messages: {
|
|
@@ -12224,12 +13258,6 @@ declare const app: Elysia<"/api", {
|
|
|
12224
13258
|
schema: {};
|
|
12225
13259
|
standaloneSchema: {};
|
|
12226
13260
|
response: {};
|
|
12227
|
-
} & {
|
|
12228
|
-
derive: {};
|
|
12229
|
-
resolve: {};
|
|
12230
|
-
schema: {};
|
|
12231
|
-
standaloneSchema: {};
|
|
12232
|
-
response: {};
|
|
12233
13261
|
}>;
|
|
12234
13262
|
export type App = typeof app;
|
|
12235
13263
|
export {};
|