@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
|
@@ -41,7 +41,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -175,11 +175,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
177
|
image?: string | null | undefined | undefined;
|
|
178
|
-
phoneNumber?: string | null | undefined;
|
|
179
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
180
178
|
twoFactorEnabled: boolean | null | undefined;
|
|
181
179
|
username?: string | null | undefined;
|
|
182
180
|
displayUsername?: string | null | undefined;
|
|
181
|
+
phoneNumber?: string | null | undefined;
|
|
182
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
183
183
|
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
185
|
banReason?: string | null | undefined;
|
|
@@ -217,7 +217,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 200 | 422 | 400 | 101 | 102 | 103 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -351,11 +351,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
353
|
image?: string | null | undefined | undefined;
|
|
354
|
-
phoneNumber?: string | null | undefined;
|
|
355
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
356
354
|
twoFactorEnabled: boolean | null | undefined;
|
|
357
355
|
username?: string | null | undefined;
|
|
358
356
|
displayUsername?: string | null | undefined;
|
|
357
|
+
phoneNumber?: string | null | undefined;
|
|
358
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
359
359
|
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
361
|
banReason?: string | null | undefined;
|
|
@@ -385,7 +385,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
385
385
|
} & {
|
|
386
386
|
admin_users: {
|
|
387
387
|
get: {
|
|
388
|
-
body:
|
|
388
|
+
body: {};
|
|
389
389
|
params: {};
|
|
390
390
|
query: {
|
|
391
391
|
limit?: number | undefined;
|
|
@@ -393,7 +393,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
393
393
|
pageSize?: number | undefined;
|
|
394
394
|
pageIndex?: number | undefined;
|
|
395
395
|
};
|
|
396
|
-
headers:
|
|
396
|
+
headers: {};
|
|
397
397
|
response: {
|
|
398
398
|
200: {
|
|
399
399
|
data: {
|
|
@@ -407,7 +407,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
407
407
|
twoFactorEnabled: boolean | null;
|
|
408
408
|
username: string | null;
|
|
409
409
|
displayUsername: string | null;
|
|
410
|
-
isAnonymous: boolean | null;
|
|
411
410
|
phoneNumber: string | null;
|
|
412
411
|
phoneNumberVerified: boolean | null;
|
|
413
412
|
role: string | null;
|
|
@@ -447,8 +446,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
447
446
|
username: string;
|
|
448
447
|
};
|
|
449
448
|
params: {};
|
|
450
|
-
query:
|
|
451
|
-
headers:
|
|
449
|
+
query: {};
|
|
450
|
+
headers: {};
|
|
452
451
|
response: {
|
|
453
452
|
200: {
|
|
454
453
|
user: {
|
|
@@ -462,7 +461,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
462
461
|
twoFactorEnabled: boolean | null;
|
|
463
462
|
username: string | null;
|
|
464
463
|
displayUsername: string | null;
|
|
465
|
-
isAnonymous: boolean | null;
|
|
466
464
|
phoneNumber: string | null;
|
|
467
465
|
phoneNumberVerified: boolean | null;
|
|
468
466
|
role: string | null;
|
|
@@ -492,12 +490,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
492
490
|
password: {
|
|
493
491
|
reset: {
|
|
494
492
|
post: {
|
|
495
|
-
body:
|
|
493
|
+
body: {};
|
|
496
494
|
params: {
|
|
497
495
|
userId: string;
|
|
498
496
|
};
|
|
499
|
-
query:
|
|
500
|
-
headers:
|
|
497
|
+
query: {};
|
|
498
|
+
headers: {};
|
|
501
499
|
response: {
|
|
502
500
|
200: {
|
|
503
501
|
password: string;
|
|
@@ -531,8 +529,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
531
529
|
params: {
|
|
532
530
|
userId: string;
|
|
533
531
|
};
|
|
534
|
-
query:
|
|
535
|
-
headers:
|
|
532
|
+
query: {};
|
|
533
|
+
headers: {};
|
|
536
534
|
response: {
|
|
537
535
|
200: {
|
|
538
536
|
success: boolean;
|
|
@@ -560,10 +558,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
560
558
|
} & {
|
|
561
559
|
"dynamic-env": {
|
|
562
560
|
get: {
|
|
563
|
-
body:
|
|
561
|
+
body: {};
|
|
564
562
|
params: {};
|
|
565
|
-
query:
|
|
566
|
-
headers:
|
|
563
|
+
query: {};
|
|
564
|
+
headers: {};
|
|
567
565
|
response: {
|
|
568
566
|
200: {
|
|
569
567
|
createdAt: Date;
|
|
@@ -590,12 +588,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
590
588
|
"dynamic-env": {
|
|
591
589
|
":key": {
|
|
592
590
|
get: {
|
|
593
|
-
body:
|
|
591
|
+
body: {};
|
|
594
592
|
params: {
|
|
595
593
|
key: string;
|
|
596
594
|
};
|
|
597
|
-
query:
|
|
598
|
-
headers:
|
|
595
|
+
query: {};
|
|
596
|
+
headers: {};
|
|
599
597
|
response: {
|
|
600
598
|
200: {
|
|
601
599
|
key: "FIXED_OTP_CODE" | "MAINTENANCE_MODE";
|
|
@@ -626,8 +624,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
626
624
|
params: {
|
|
627
625
|
key: string;
|
|
628
626
|
};
|
|
629
|
-
query:
|
|
630
|
-
headers:
|
|
627
|
+
query: {};
|
|
628
|
+
headers: {};
|
|
631
629
|
response: {
|
|
632
630
|
200: {
|
|
633
631
|
success: boolean;
|
|
@@ -653,12 +651,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
653
651
|
"dynamic-env": {
|
|
654
652
|
":key": {
|
|
655
653
|
delete: {
|
|
656
|
-
body:
|
|
654
|
+
body: {};
|
|
657
655
|
params: {
|
|
658
656
|
key: string;
|
|
659
657
|
};
|
|
660
|
-
query:
|
|
661
|
-
headers:
|
|
658
|
+
query: {};
|
|
659
|
+
headers: {};
|
|
662
660
|
response: {
|
|
663
661
|
200: {
|
|
664
662
|
success: boolean;
|
|
@@ -683,10 +681,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
683
681
|
"dynamic-env": {
|
|
684
682
|
"regenerate-otp": {
|
|
685
683
|
post: {
|
|
686
|
-
body:
|
|
684
|
+
body: {};
|
|
687
685
|
params: {};
|
|
688
|
-
query:
|
|
689
|
-
headers:
|
|
686
|
+
query: {};
|
|
687
|
+
headers: {};
|
|
690
688
|
response: {
|
|
691
689
|
200: {
|
|
692
690
|
success: boolean;
|
|
@@ -702,10 +700,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
702
700
|
"dynamic-env": {
|
|
703
701
|
reload: {
|
|
704
702
|
post: {
|
|
705
|
-
body:
|
|
703
|
+
body: {};
|
|
706
704
|
params: {};
|
|
707
|
-
query:
|
|
708
|
-
headers:
|
|
705
|
+
query: {};
|
|
706
|
+
headers: {};
|
|
709
707
|
response: {
|
|
710
708
|
200: {
|
|
711
709
|
success: boolean;
|
|
@@ -724,10 +722,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
724
722
|
} & {
|
|
725
723
|
asset_prices: {
|
|
726
724
|
get: {
|
|
727
|
-
body:
|
|
725
|
+
body: {};
|
|
728
726
|
params: {};
|
|
729
727
|
query: {
|
|
728
|
+
id?: string | undefined;
|
|
729
|
+
baseAssetId?: string | undefined;
|
|
730
730
|
baseAsset?: string | undefined;
|
|
731
|
+
quoteAssetId?: string | undefined;
|
|
731
732
|
quoteAsset?: string | undefined;
|
|
732
733
|
source?: string | undefined;
|
|
733
734
|
startDate?: Date | undefined;
|
|
@@ -735,9 +736,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
735
736
|
offset?: number | undefined;
|
|
736
737
|
pageSize?: number | undefined;
|
|
737
738
|
pageIndex?: number | undefined;
|
|
739
|
+
createdAtStart?: Date | undefined;
|
|
740
|
+
createdAtEnd?: Date | undefined;
|
|
738
741
|
endDate?: Date | undefined;
|
|
739
742
|
};
|
|
740
|
-
headers:
|
|
743
|
+
headers: {};
|
|
741
744
|
response: {
|
|
742
745
|
200: {
|
|
743
746
|
data: {
|
|
@@ -751,6 +754,24 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
751
754
|
price: string;
|
|
752
755
|
source: string;
|
|
753
756
|
effectiveAt: Date;
|
|
757
|
+
quoteAssetInfo: {
|
|
758
|
+
symbol: string;
|
|
759
|
+
id: string;
|
|
760
|
+
name: string;
|
|
761
|
+
code: string;
|
|
762
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
763
|
+
isActive: boolean;
|
|
764
|
+
precision: number;
|
|
765
|
+
};
|
|
766
|
+
baseAssetInfo: {
|
|
767
|
+
symbol: string;
|
|
768
|
+
id: string;
|
|
769
|
+
name: string;
|
|
770
|
+
code: string;
|
|
771
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
772
|
+
isActive: boolean;
|
|
773
|
+
precision: number;
|
|
774
|
+
};
|
|
754
775
|
}[];
|
|
755
776
|
pagination: {
|
|
756
777
|
total: number;
|
|
@@ -780,13 +801,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
780
801
|
":baseAsset": {
|
|
781
802
|
":quoteAsset": {
|
|
782
803
|
get: {
|
|
783
|
-
body:
|
|
804
|
+
body: {};
|
|
784
805
|
params: {
|
|
785
806
|
baseAsset: string;
|
|
786
807
|
quoteAsset: string;
|
|
787
808
|
};
|
|
788
|
-
query:
|
|
789
|
-
headers:
|
|
809
|
+
query: {};
|
|
810
|
+
headers: {};
|
|
790
811
|
response: {
|
|
791
812
|
200: {
|
|
792
813
|
id: string;
|
|
@@ -799,6 +820,24 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
799
820
|
price: string;
|
|
800
821
|
source: string;
|
|
801
822
|
effectiveAt: Date;
|
|
823
|
+
quoteAssetInfo: {
|
|
824
|
+
symbol: string;
|
|
825
|
+
id: string;
|
|
826
|
+
name: string;
|
|
827
|
+
code: string;
|
|
828
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
829
|
+
isActive: boolean;
|
|
830
|
+
precision: number;
|
|
831
|
+
};
|
|
832
|
+
baseAssetInfo: {
|
|
833
|
+
symbol: string;
|
|
834
|
+
id: string;
|
|
835
|
+
name: string;
|
|
836
|
+
code: string;
|
|
837
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
838
|
+
isActive: boolean;
|
|
839
|
+
precision: number;
|
|
840
|
+
};
|
|
802
841
|
};
|
|
803
842
|
422: {
|
|
804
843
|
type: "validation";
|
|
@@ -817,6 +856,62 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
817
856
|
};
|
|
818
857
|
};
|
|
819
858
|
};
|
|
859
|
+
} & {
|
|
860
|
+
asset_prices: {
|
|
861
|
+
":id": {
|
|
862
|
+
get: {
|
|
863
|
+
body: {};
|
|
864
|
+
params: {
|
|
865
|
+
id: string;
|
|
866
|
+
};
|
|
867
|
+
query: {};
|
|
868
|
+
headers: {};
|
|
869
|
+
response: {
|
|
870
|
+
200: {
|
|
871
|
+
id: string;
|
|
872
|
+
createdAt: Date;
|
|
873
|
+
updatedAt: Date;
|
|
874
|
+
baseAssetId: string;
|
|
875
|
+
baseAsset: string;
|
|
876
|
+
quoteAssetId: string;
|
|
877
|
+
quoteAsset: string;
|
|
878
|
+
price: string;
|
|
879
|
+
source: string;
|
|
880
|
+
effectiveAt: Date;
|
|
881
|
+
quoteAssetInfo: {
|
|
882
|
+
symbol: string;
|
|
883
|
+
id: string;
|
|
884
|
+
name: string;
|
|
885
|
+
code: string;
|
|
886
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
887
|
+
isActive: boolean;
|
|
888
|
+
precision: number;
|
|
889
|
+
};
|
|
890
|
+
baseAssetInfo: {
|
|
891
|
+
symbol: string;
|
|
892
|
+
id: string;
|
|
893
|
+
name: string;
|
|
894
|
+
code: string;
|
|
895
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
896
|
+
isActive: boolean;
|
|
897
|
+
precision: number;
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
422: {
|
|
901
|
+
type: "validation";
|
|
902
|
+
on: string;
|
|
903
|
+
summary?: string;
|
|
904
|
+
message?: string;
|
|
905
|
+
found?: unknown;
|
|
906
|
+
property?: string;
|
|
907
|
+
expected?: string;
|
|
908
|
+
};
|
|
909
|
+
401: "Unauthorized";
|
|
910
|
+
403: "Forbidden: Admins only";
|
|
911
|
+
};
|
|
912
|
+
};
|
|
913
|
+
};
|
|
914
|
+
};
|
|
820
915
|
} & {
|
|
821
916
|
asset_prices: {
|
|
822
917
|
post: {
|
|
@@ -828,8 +923,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
828
923
|
effectiveAt: Date;
|
|
829
924
|
};
|
|
830
925
|
params: {};
|
|
831
|
-
query:
|
|
832
|
-
headers:
|
|
926
|
+
query: {};
|
|
927
|
+
headers: {};
|
|
833
928
|
response: {
|
|
834
929
|
200: {
|
|
835
930
|
id: string;
|
|
@@ -842,6 +937,24 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
842
937
|
price: string;
|
|
843
938
|
source: string;
|
|
844
939
|
effectiveAt: Date;
|
|
940
|
+
quoteAssetInfo: {
|
|
941
|
+
symbol: string;
|
|
942
|
+
id: string;
|
|
943
|
+
name: string;
|
|
944
|
+
code: string;
|
|
945
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
946
|
+
isActive: boolean;
|
|
947
|
+
precision: number;
|
|
948
|
+
};
|
|
949
|
+
baseAssetInfo: {
|
|
950
|
+
symbol: string;
|
|
951
|
+
id: string;
|
|
952
|
+
name: string;
|
|
953
|
+
code: string;
|
|
954
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
955
|
+
isActive: boolean;
|
|
956
|
+
precision: number;
|
|
957
|
+
};
|
|
845
958
|
};
|
|
846
959
|
422: {
|
|
847
960
|
type: "validation";
|
|
@@ -864,17 +977,22 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
864
977
|
} & {
|
|
865
978
|
assets: {
|
|
866
979
|
get: {
|
|
867
|
-
body:
|
|
980
|
+
body: {};
|
|
868
981
|
params: {};
|
|
869
982
|
query: {
|
|
983
|
+
id?: string | undefined;
|
|
984
|
+
name?: string | undefined;
|
|
985
|
+
code?: string | undefined;
|
|
870
986
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
871
987
|
isActive?: boolean | undefined;
|
|
988
|
+
typeId?: string | undefined;
|
|
872
989
|
limit?: number | undefined;
|
|
873
990
|
offset?: number | undefined;
|
|
874
991
|
pageSize?: number | undefined;
|
|
875
992
|
pageIndex?: number | undefined;
|
|
993
|
+
keyword?: string | undefined;
|
|
876
994
|
};
|
|
877
|
-
headers:
|
|
995
|
+
headers: {};
|
|
878
996
|
response: {
|
|
879
997
|
200: {
|
|
880
998
|
data: {
|
|
@@ -882,12 +1000,14 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
882
1000
|
type: {
|
|
883
1001
|
id: string;
|
|
884
1002
|
name: string;
|
|
885
|
-
key:
|
|
1003
|
+
key: string;
|
|
886
1004
|
isGasAsset: boolean;
|
|
887
1005
|
isActive: boolean;
|
|
888
1006
|
};
|
|
889
1007
|
id: string;
|
|
890
1008
|
name: string;
|
|
1009
|
+
createdAt: Date;
|
|
1010
|
+
updatedAt: Date;
|
|
891
1011
|
code: string;
|
|
892
1012
|
iconUrl: string;
|
|
893
1013
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
@@ -921,19 +1041,19 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
921
1041
|
assets: {
|
|
922
1042
|
":code": {
|
|
923
1043
|
get: {
|
|
924
|
-
body:
|
|
1044
|
+
body: {};
|
|
925
1045
|
params: {
|
|
926
1046
|
code: string;
|
|
927
1047
|
};
|
|
928
|
-
query:
|
|
929
|
-
headers:
|
|
1048
|
+
query: {};
|
|
1049
|
+
headers: {};
|
|
930
1050
|
response: {
|
|
931
1051
|
200: {
|
|
932
1052
|
symbol: string;
|
|
933
1053
|
type: {
|
|
934
1054
|
id: string;
|
|
935
1055
|
name: string;
|
|
936
|
-
key:
|
|
1056
|
+
key: string;
|
|
937
1057
|
isGasAsset: boolean;
|
|
938
1058
|
isActive: boolean;
|
|
939
1059
|
};
|
|
@@ -968,6 +1088,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
968
1088
|
post: {
|
|
969
1089
|
body: {
|
|
970
1090
|
isActive?: boolean | undefined;
|
|
1091
|
+
initialPrice?: {
|
|
1092
|
+
quoteAsset?: string | undefined;
|
|
1093
|
+
source?: string | undefined;
|
|
1094
|
+
effectiveAt?: Date | undefined;
|
|
1095
|
+
price: string;
|
|
1096
|
+
} | undefined;
|
|
971
1097
|
symbol: string;
|
|
972
1098
|
name: string;
|
|
973
1099
|
code: string;
|
|
@@ -975,23 +1101,17 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
975
1101
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
976
1102
|
typeId: string;
|
|
977
1103
|
precision: number;
|
|
978
|
-
initialPrice: {
|
|
979
|
-
quoteAsset?: string | undefined;
|
|
980
|
-
source?: string | undefined;
|
|
981
|
-
effectiveAt?: Date | undefined;
|
|
982
|
-
price: string;
|
|
983
|
-
};
|
|
984
1104
|
};
|
|
985
1105
|
params: {};
|
|
986
|
-
query:
|
|
987
|
-
headers:
|
|
1106
|
+
query: {};
|
|
1107
|
+
headers: {};
|
|
988
1108
|
response: {
|
|
989
1109
|
200: {
|
|
990
1110
|
symbol: string;
|
|
991
1111
|
type: {
|
|
992
1112
|
id: string;
|
|
993
1113
|
name: string;
|
|
994
|
-
key:
|
|
1114
|
+
key: string;
|
|
995
1115
|
isGasAsset: boolean;
|
|
996
1116
|
isActive: boolean;
|
|
997
1117
|
};
|
|
@@ -1036,15 +1156,15 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1036
1156
|
params: {
|
|
1037
1157
|
code: string;
|
|
1038
1158
|
};
|
|
1039
|
-
query:
|
|
1040
|
-
headers:
|
|
1159
|
+
query: {};
|
|
1160
|
+
headers: {};
|
|
1041
1161
|
response: {
|
|
1042
1162
|
200: {
|
|
1043
1163
|
symbol: string;
|
|
1044
1164
|
type: {
|
|
1045
1165
|
id: string;
|
|
1046
1166
|
name: string;
|
|
1047
|
-
key:
|
|
1167
|
+
key: string;
|
|
1048
1168
|
isGasAsset: boolean;
|
|
1049
1169
|
isActive: boolean;
|
|
1050
1170
|
};
|
|
@@ -1074,6 +1194,102 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1074
1194
|
};
|
|
1075
1195
|
};
|
|
1076
1196
|
};
|
|
1197
|
+
} & {
|
|
1198
|
+
assets: {
|
|
1199
|
+
":code": {
|
|
1200
|
+
enable: {
|
|
1201
|
+
post: {
|
|
1202
|
+
body: {};
|
|
1203
|
+
params: {
|
|
1204
|
+
code: string;
|
|
1205
|
+
};
|
|
1206
|
+
query: {};
|
|
1207
|
+
headers: {};
|
|
1208
|
+
response: {
|
|
1209
|
+
200: {
|
|
1210
|
+
symbol: string;
|
|
1211
|
+
type: {
|
|
1212
|
+
id: string;
|
|
1213
|
+
name: string;
|
|
1214
|
+
key: string;
|
|
1215
|
+
isGasAsset: boolean;
|
|
1216
|
+
isActive: boolean;
|
|
1217
|
+
};
|
|
1218
|
+
id: string;
|
|
1219
|
+
name: string;
|
|
1220
|
+
createdAt: Date;
|
|
1221
|
+
updatedAt: Date;
|
|
1222
|
+
code: string;
|
|
1223
|
+
iconUrl: string;
|
|
1224
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1225
|
+
isActive: boolean;
|
|
1226
|
+
typeId: string;
|
|
1227
|
+
precision: number;
|
|
1228
|
+
};
|
|
1229
|
+
422: {
|
|
1230
|
+
type: "validation";
|
|
1231
|
+
on: string;
|
|
1232
|
+
summary?: string;
|
|
1233
|
+
message?: string;
|
|
1234
|
+
found?: unknown;
|
|
1235
|
+
property?: string;
|
|
1236
|
+
expected?: string;
|
|
1237
|
+
};
|
|
1238
|
+
401: "Unauthorized";
|
|
1239
|
+
403: "Forbidden: Admins only";
|
|
1240
|
+
};
|
|
1241
|
+
};
|
|
1242
|
+
};
|
|
1243
|
+
};
|
|
1244
|
+
};
|
|
1245
|
+
} & {
|
|
1246
|
+
assets: {
|
|
1247
|
+
":code": {
|
|
1248
|
+
disable: {
|
|
1249
|
+
post: {
|
|
1250
|
+
body: {};
|
|
1251
|
+
params: {
|
|
1252
|
+
code: string;
|
|
1253
|
+
};
|
|
1254
|
+
query: {};
|
|
1255
|
+
headers: {};
|
|
1256
|
+
response: {
|
|
1257
|
+
200: {
|
|
1258
|
+
symbol: string;
|
|
1259
|
+
type: {
|
|
1260
|
+
id: string;
|
|
1261
|
+
name: string;
|
|
1262
|
+
key: string;
|
|
1263
|
+
isGasAsset: boolean;
|
|
1264
|
+
isActive: boolean;
|
|
1265
|
+
};
|
|
1266
|
+
id: string;
|
|
1267
|
+
name: string;
|
|
1268
|
+
createdAt: Date;
|
|
1269
|
+
updatedAt: Date;
|
|
1270
|
+
code: string;
|
|
1271
|
+
iconUrl: string;
|
|
1272
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1273
|
+
isActive: boolean;
|
|
1274
|
+
typeId: string;
|
|
1275
|
+
precision: number;
|
|
1276
|
+
};
|
|
1277
|
+
422: {
|
|
1278
|
+
type: "validation";
|
|
1279
|
+
on: string;
|
|
1280
|
+
summary?: string;
|
|
1281
|
+
message?: string;
|
|
1282
|
+
found?: unknown;
|
|
1283
|
+
property?: string;
|
|
1284
|
+
expected?: string;
|
|
1285
|
+
};
|
|
1286
|
+
401: "Unauthorized";
|
|
1287
|
+
403: "Forbidden: Admins only";
|
|
1288
|
+
};
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
};
|
|
1077
1293
|
};
|
|
1078
1294
|
} & {
|
|
1079
1295
|
admin: {
|
|
@@ -1093,8 +1309,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1093
1309
|
minPayAmount: string;
|
|
1094
1310
|
};
|
|
1095
1311
|
params: {};
|
|
1096
|
-
query:
|
|
1097
|
-
headers:
|
|
1312
|
+
query: {};
|
|
1313
|
+
headers: {};
|
|
1098
1314
|
response: {
|
|
1099
1315
|
200: {
|
|
1100
1316
|
id: string;
|
|
@@ -1108,18 +1324,40 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1108
1324
|
payAssetId: string;
|
|
1109
1325
|
defaultReceiveAccountTypeId: string;
|
|
1110
1326
|
minPayAmount: string;
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1327
|
+
targetAssetInfo: {
|
|
1328
|
+
symbol: string;
|
|
1329
|
+
id: string;
|
|
1330
|
+
name: string;
|
|
1331
|
+
code: string;
|
|
1332
|
+
isActive: boolean;
|
|
1333
|
+
precision: number;
|
|
1334
|
+
};
|
|
1335
|
+
payAssetInfo: {
|
|
1336
|
+
symbol: string;
|
|
1337
|
+
id: string;
|
|
1338
|
+
name: string;
|
|
1339
|
+
code: string;
|
|
1340
|
+
isActive: boolean;
|
|
1341
|
+
precision: number;
|
|
1342
|
+
};
|
|
1343
|
+
defaultReceiveAccountTypeInfo: {
|
|
1344
|
+
id: string;
|
|
1345
|
+
name: string;
|
|
1346
|
+
key: string;
|
|
1347
|
+
isActive: boolean;
|
|
1348
|
+
};
|
|
1349
|
+
};
|
|
1350
|
+
422: {
|
|
1351
|
+
type: "validation";
|
|
1352
|
+
on: string;
|
|
1353
|
+
summary?: string;
|
|
1354
|
+
message?: string;
|
|
1355
|
+
found?: unknown;
|
|
1356
|
+
property?: string;
|
|
1357
|
+
expected?: string;
|
|
1358
|
+
};
|
|
1359
|
+
401: "Unauthorized";
|
|
1360
|
+
403: "Forbidden: Admins only";
|
|
1123
1361
|
};
|
|
1124
1362
|
};
|
|
1125
1363
|
};
|
|
@@ -1142,21 +1380,43 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1142
1380
|
params: {
|
|
1143
1381
|
id: string;
|
|
1144
1382
|
};
|
|
1145
|
-
query:
|
|
1146
|
-
headers:
|
|
1383
|
+
query: {};
|
|
1384
|
+
headers: {};
|
|
1147
1385
|
response: {
|
|
1148
1386
|
200: {
|
|
1149
|
-
createdAt: Date;
|
|
1150
|
-
updatedAt: Date;
|
|
1151
1387
|
id: string;
|
|
1152
1388
|
name: string;
|
|
1389
|
+
createdAt: Date;
|
|
1390
|
+
updatedAt: Date;
|
|
1153
1391
|
description: string | null;
|
|
1392
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1154
1393
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1155
1394
|
targetAssetId: string;
|
|
1156
1395
|
payAssetId: string;
|
|
1157
1396
|
defaultReceiveAccountTypeId: string;
|
|
1158
1397
|
minPayAmount: string;
|
|
1159
|
-
|
|
1398
|
+
targetAssetInfo: {
|
|
1399
|
+
symbol: string;
|
|
1400
|
+
id: string;
|
|
1401
|
+
name: string;
|
|
1402
|
+
code: string;
|
|
1403
|
+
isActive: boolean;
|
|
1404
|
+
precision: number;
|
|
1405
|
+
};
|
|
1406
|
+
payAssetInfo: {
|
|
1407
|
+
symbol: string;
|
|
1408
|
+
id: string;
|
|
1409
|
+
name: string;
|
|
1410
|
+
code: string;
|
|
1411
|
+
isActive: boolean;
|
|
1412
|
+
precision: number;
|
|
1413
|
+
};
|
|
1414
|
+
defaultReceiveAccountTypeInfo: {
|
|
1415
|
+
id: string;
|
|
1416
|
+
name: string;
|
|
1417
|
+
key: string;
|
|
1418
|
+
isActive: boolean;
|
|
1419
|
+
};
|
|
1160
1420
|
};
|
|
1161
1421
|
422: {
|
|
1162
1422
|
type: "validation";
|
|
@@ -1180,25 +1440,47 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1180
1440
|
":id": {
|
|
1181
1441
|
activate: {
|
|
1182
1442
|
post: {
|
|
1183
|
-
body:
|
|
1443
|
+
body: {};
|
|
1184
1444
|
params: {
|
|
1185
1445
|
id: string;
|
|
1186
1446
|
};
|
|
1187
|
-
query:
|
|
1188
|
-
headers:
|
|
1447
|
+
query: {};
|
|
1448
|
+
headers: {};
|
|
1189
1449
|
response: {
|
|
1190
1450
|
200: {
|
|
1191
|
-
createdAt: Date;
|
|
1192
|
-
updatedAt: Date;
|
|
1193
1451
|
id: string;
|
|
1194
1452
|
name: string;
|
|
1453
|
+
createdAt: Date;
|
|
1454
|
+
updatedAt: Date;
|
|
1195
1455
|
description: string | null;
|
|
1456
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1196
1457
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1197
1458
|
targetAssetId: string;
|
|
1198
1459
|
payAssetId: string;
|
|
1199
1460
|
defaultReceiveAccountTypeId: string;
|
|
1200
1461
|
minPayAmount: string;
|
|
1201
|
-
|
|
1462
|
+
targetAssetInfo: {
|
|
1463
|
+
symbol: string;
|
|
1464
|
+
id: string;
|
|
1465
|
+
name: string;
|
|
1466
|
+
code: string;
|
|
1467
|
+
isActive: boolean;
|
|
1468
|
+
precision: number;
|
|
1469
|
+
};
|
|
1470
|
+
payAssetInfo: {
|
|
1471
|
+
symbol: string;
|
|
1472
|
+
id: string;
|
|
1473
|
+
name: string;
|
|
1474
|
+
code: string;
|
|
1475
|
+
isActive: boolean;
|
|
1476
|
+
precision: number;
|
|
1477
|
+
};
|
|
1478
|
+
defaultReceiveAccountTypeInfo: {
|
|
1479
|
+
id: string;
|
|
1480
|
+
name: string;
|
|
1481
|
+
key: string;
|
|
1482
|
+
isActive: boolean;
|
|
1483
|
+
};
|
|
1202
1484
|
};
|
|
1203
1485
|
422: {
|
|
1204
1486
|
type: "validation";
|
|
@@ -1223,25 +1505,47 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1223
1505
|
":id": {
|
|
1224
1506
|
pause: {
|
|
1225
1507
|
post: {
|
|
1226
|
-
body:
|
|
1508
|
+
body: {};
|
|
1227
1509
|
params: {
|
|
1228
1510
|
id: string;
|
|
1229
1511
|
};
|
|
1230
|
-
query:
|
|
1231
|
-
headers:
|
|
1512
|
+
query: {};
|
|
1513
|
+
headers: {};
|
|
1232
1514
|
response: {
|
|
1233
1515
|
200: {
|
|
1234
|
-
createdAt: Date;
|
|
1235
|
-
updatedAt: Date;
|
|
1236
1516
|
id: string;
|
|
1237
1517
|
name: string;
|
|
1518
|
+
createdAt: Date;
|
|
1519
|
+
updatedAt: Date;
|
|
1238
1520
|
description: string | null;
|
|
1521
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1239
1522
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1240
1523
|
targetAssetId: string;
|
|
1241
1524
|
payAssetId: string;
|
|
1242
1525
|
defaultReceiveAccountTypeId: string;
|
|
1243
1526
|
minPayAmount: string;
|
|
1244
|
-
|
|
1527
|
+
targetAssetInfo: {
|
|
1528
|
+
symbol: string;
|
|
1529
|
+
id: string;
|
|
1530
|
+
name: string;
|
|
1531
|
+
code: string;
|
|
1532
|
+
isActive: boolean;
|
|
1533
|
+
precision: number;
|
|
1534
|
+
};
|
|
1535
|
+
payAssetInfo: {
|
|
1536
|
+
symbol: string;
|
|
1537
|
+
id: string;
|
|
1538
|
+
name: string;
|
|
1539
|
+
code: string;
|
|
1540
|
+
isActive: boolean;
|
|
1541
|
+
precision: number;
|
|
1542
|
+
};
|
|
1543
|
+
defaultReceiveAccountTypeInfo: {
|
|
1544
|
+
id: string;
|
|
1545
|
+
name: string;
|
|
1546
|
+
key: string;
|
|
1547
|
+
isActive: boolean;
|
|
1548
|
+
};
|
|
1245
1549
|
};
|
|
1246
1550
|
422: {
|
|
1247
1551
|
type: "validation";
|
|
@@ -1266,25 +1570,47 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1266
1570
|
":id": {
|
|
1267
1571
|
end: {
|
|
1268
1572
|
post: {
|
|
1269
|
-
body:
|
|
1573
|
+
body: {};
|
|
1270
1574
|
params: {
|
|
1271
1575
|
id: string;
|
|
1272
1576
|
};
|
|
1273
|
-
query:
|
|
1274
|
-
headers:
|
|
1577
|
+
query: {};
|
|
1578
|
+
headers: {};
|
|
1275
1579
|
response: {
|
|
1276
1580
|
200: {
|
|
1277
|
-
createdAt: Date;
|
|
1278
|
-
updatedAt: Date;
|
|
1279
1581
|
id: string;
|
|
1280
1582
|
name: string;
|
|
1583
|
+
createdAt: Date;
|
|
1584
|
+
updatedAt: Date;
|
|
1281
1585
|
description: string | null;
|
|
1586
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1282
1587
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1283
1588
|
targetAssetId: string;
|
|
1284
1589
|
payAssetId: string;
|
|
1285
1590
|
defaultReceiveAccountTypeId: string;
|
|
1286
1591
|
minPayAmount: string;
|
|
1287
|
-
|
|
1592
|
+
targetAssetInfo: {
|
|
1593
|
+
symbol: string;
|
|
1594
|
+
id: string;
|
|
1595
|
+
name: string;
|
|
1596
|
+
code: string;
|
|
1597
|
+
isActive: boolean;
|
|
1598
|
+
precision: number;
|
|
1599
|
+
};
|
|
1600
|
+
payAssetInfo: {
|
|
1601
|
+
symbol: string;
|
|
1602
|
+
id: string;
|
|
1603
|
+
name: string;
|
|
1604
|
+
code: string;
|
|
1605
|
+
isActive: boolean;
|
|
1606
|
+
precision: number;
|
|
1607
|
+
};
|
|
1608
|
+
defaultReceiveAccountTypeInfo: {
|
|
1609
|
+
id: string;
|
|
1610
|
+
name: string;
|
|
1611
|
+
key: string;
|
|
1612
|
+
isActive: boolean;
|
|
1613
|
+
};
|
|
1288
1614
|
};
|
|
1289
1615
|
422: {
|
|
1290
1616
|
type: "validation";
|
|
@@ -1303,21 +1629,93 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1303
1629
|
};
|
|
1304
1630
|
};
|
|
1305
1631
|
};
|
|
1632
|
+
} & {
|
|
1633
|
+
asset_convert_product: {
|
|
1634
|
+
products: {
|
|
1635
|
+
":id": {
|
|
1636
|
+
get: {
|
|
1637
|
+
body: {};
|
|
1638
|
+
params: {
|
|
1639
|
+
id: string;
|
|
1640
|
+
};
|
|
1641
|
+
query: {};
|
|
1642
|
+
headers: {};
|
|
1643
|
+
response: {
|
|
1644
|
+
200: {
|
|
1645
|
+
id: string;
|
|
1646
|
+
name: string;
|
|
1647
|
+
createdAt: Date;
|
|
1648
|
+
updatedAt: Date;
|
|
1649
|
+
description: string | null;
|
|
1650
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1651
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1652
|
+
targetAssetId: string;
|
|
1653
|
+
payAssetId: string;
|
|
1654
|
+
defaultReceiveAccountTypeId: string;
|
|
1655
|
+
minPayAmount: string;
|
|
1656
|
+
targetAssetInfo: {
|
|
1657
|
+
symbol: string;
|
|
1658
|
+
id: string;
|
|
1659
|
+
name: string;
|
|
1660
|
+
code: string;
|
|
1661
|
+
isActive: boolean;
|
|
1662
|
+
precision: number;
|
|
1663
|
+
};
|
|
1664
|
+
payAssetInfo: {
|
|
1665
|
+
symbol: string;
|
|
1666
|
+
id: string;
|
|
1667
|
+
name: string;
|
|
1668
|
+
code: string;
|
|
1669
|
+
isActive: boolean;
|
|
1670
|
+
precision: number;
|
|
1671
|
+
};
|
|
1672
|
+
defaultReceiveAccountTypeInfo: {
|
|
1673
|
+
id: string;
|
|
1674
|
+
name: string;
|
|
1675
|
+
key: string;
|
|
1676
|
+
isActive: boolean;
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
422: {
|
|
1680
|
+
type: "validation";
|
|
1681
|
+
on: string;
|
|
1682
|
+
summary?: string;
|
|
1683
|
+
message?: string;
|
|
1684
|
+
found?: unknown;
|
|
1685
|
+
property?: string;
|
|
1686
|
+
expected?: string;
|
|
1687
|
+
};
|
|
1688
|
+
401: "Unauthorized";
|
|
1689
|
+
403: "Forbidden: Admins only";
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
};
|
|
1306
1695
|
} & {
|
|
1307
1696
|
asset_convert_product: {
|
|
1308
1697
|
products: {
|
|
1309
1698
|
get: {
|
|
1310
|
-
body:
|
|
1699
|
+
body: {};
|
|
1311
1700
|
params: {};
|
|
1312
1701
|
query: {
|
|
1702
|
+
id?: string | undefined;
|
|
1703
|
+
name?: string | undefined;
|
|
1313
1704
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
1314
1705
|
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
1706
|
+
targetAssetId?: string | undefined;
|
|
1707
|
+
payAssetId?: string | undefined;
|
|
1708
|
+
defaultReceiveAccountTypeId?: string | undefined;
|
|
1315
1709
|
limit?: number | undefined;
|
|
1316
1710
|
offset?: number | undefined;
|
|
1317
1711
|
pageSize?: number | undefined;
|
|
1318
1712
|
pageIndex?: number | undefined;
|
|
1713
|
+
createdAtStart?: Date | undefined;
|
|
1714
|
+
createdAtEnd?: Date | undefined;
|
|
1715
|
+
updatedAtStart?: Date | undefined;
|
|
1716
|
+
updatedAtEnd?: Date | undefined;
|
|
1319
1717
|
};
|
|
1320
|
-
headers:
|
|
1718
|
+
headers: {};
|
|
1321
1719
|
response: {
|
|
1322
1720
|
200: {
|
|
1323
1721
|
data: {
|
|
@@ -1332,6 +1730,28 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1332
1730
|
payAssetId: string;
|
|
1333
1731
|
defaultReceiveAccountTypeId: string;
|
|
1334
1732
|
minPayAmount: string;
|
|
1733
|
+
targetAssetInfo: {
|
|
1734
|
+
symbol: string;
|
|
1735
|
+
id: string;
|
|
1736
|
+
name: string;
|
|
1737
|
+
code: string;
|
|
1738
|
+
isActive: boolean;
|
|
1739
|
+
precision: number;
|
|
1740
|
+
};
|
|
1741
|
+
payAssetInfo: {
|
|
1742
|
+
symbol: string;
|
|
1743
|
+
id: string;
|
|
1744
|
+
name: string;
|
|
1745
|
+
code: string;
|
|
1746
|
+
isActive: boolean;
|
|
1747
|
+
precision: number;
|
|
1748
|
+
};
|
|
1749
|
+
defaultReceiveAccountTypeInfo: {
|
|
1750
|
+
id: string;
|
|
1751
|
+
name: string;
|
|
1752
|
+
key: string;
|
|
1753
|
+
isActive: boolean;
|
|
1754
|
+
};
|
|
1335
1755
|
}[];
|
|
1336
1756
|
pagination: {
|
|
1337
1757
|
total: number;
|
|
@@ -1360,21 +1780,41 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1360
1780
|
asset_convert_product: {
|
|
1361
1781
|
orders: {
|
|
1362
1782
|
get: {
|
|
1363
|
-
body:
|
|
1783
|
+
body: {};
|
|
1364
1784
|
params: {};
|
|
1365
1785
|
query: {
|
|
1786
|
+
id?: string | undefined;
|
|
1366
1787
|
userId?: string | undefined;
|
|
1367
1788
|
status?: "created" | "completed" | "failed" | undefined;
|
|
1789
|
+
idempotencyKey?: string | undefined;
|
|
1790
|
+
orderNo?: string | undefined;
|
|
1368
1791
|
productId?: string | undefined;
|
|
1792
|
+
sourcePayAccountId?: string | undefined;
|
|
1793
|
+
receiveAccountId?: string | undefined;
|
|
1794
|
+
failureCode?: string | null | undefined;
|
|
1369
1795
|
limit?: number | undefined;
|
|
1370
1796
|
offset?: number | undefined;
|
|
1371
1797
|
pageSize?: number | undefined;
|
|
1372
1798
|
pageIndex?: number | undefined;
|
|
1799
|
+
createdAtStart?: Date | undefined;
|
|
1800
|
+
createdAtEnd?: Date | undefined;
|
|
1373
1801
|
};
|
|
1374
|
-
headers:
|
|
1802
|
+
headers: {};
|
|
1375
1803
|
response: {
|
|
1376
1804
|
200: {
|
|
1377
1805
|
data: {
|
|
1806
|
+
debitLedgerEntryInfo?: {
|
|
1807
|
+
id: string;
|
|
1808
|
+
createdAt: Date;
|
|
1809
|
+
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";
|
|
1810
|
+
amount: string;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
creditLedgerEntryInfo?: {
|
|
1813
|
+
id: string;
|
|
1814
|
+
createdAt: Date;
|
|
1815
|
+
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";
|
|
1816
|
+
amount: string;
|
|
1817
|
+
} | undefined;
|
|
1378
1818
|
id: string;
|
|
1379
1819
|
createdAt: Date;
|
|
1380
1820
|
updatedAt: Date;
|
|
@@ -1397,6 +1837,56 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1397
1837
|
creditLedgerEntryId: string | null;
|
|
1398
1838
|
failureCode: string | null;
|
|
1399
1839
|
failureReason: string | null;
|
|
1840
|
+
targetAssetInfo: {
|
|
1841
|
+
symbol: string;
|
|
1842
|
+
id: string;
|
|
1843
|
+
name: string;
|
|
1844
|
+
code: string;
|
|
1845
|
+
isActive: boolean;
|
|
1846
|
+
precision: number;
|
|
1847
|
+
};
|
|
1848
|
+
payAssetInfo: {
|
|
1849
|
+
symbol: string;
|
|
1850
|
+
id: string;
|
|
1851
|
+
name: string;
|
|
1852
|
+
code: string;
|
|
1853
|
+
isActive: boolean;
|
|
1854
|
+
precision: number;
|
|
1855
|
+
};
|
|
1856
|
+
userInfo: {
|
|
1857
|
+
email: string;
|
|
1858
|
+
id: string;
|
|
1859
|
+
username: string | null;
|
|
1860
|
+
displayUsername: string | null;
|
|
1861
|
+
phoneNumber: string | null;
|
|
1862
|
+
banned: boolean | null;
|
|
1863
|
+
};
|
|
1864
|
+
productInfo: {
|
|
1865
|
+
id: string;
|
|
1866
|
+
name: string;
|
|
1867
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1868
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1869
|
+
};
|
|
1870
|
+
quoteAssetInfo: {
|
|
1871
|
+
symbol: string;
|
|
1872
|
+
id: string;
|
|
1873
|
+
name: string;
|
|
1874
|
+
code: string;
|
|
1875
|
+
isActive: boolean;
|
|
1876
|
+
precision: number;
|
|
1877
|
+
};
|
|
1878
|
+
sourcePayAccountInfo: {
|
|
1879
|
+
id: string;
|
|
1880
|
+
status: "active" | "frozen" | "disabled";
|
|
1881
|
+
assetId: string;
|
|
1882
|
+
ledgerAccountTypeId: string;
|
|
1883
|
+
};
|
|
1884
|
+
receiveAccountInfo: {
|
|
1885
|
+
id: string;
|
|
1886
|
+
status: "active" | "frozen" | "disabled";
|
|
1887
|
+
assetId: string;
|
|
1888
|
+
ledgerAccountTypeId: string;
|
|
1889
|
+
};
|
|
1400
1890
|
}[];
|
|
1401
1891
|
pagination: {
|
|
1402
1892
|
total: number;
|
|
@@ -1421,6 +1911,274 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1421
1911
|
};
|
|
1422
1912
|
};
|
|
1423
1913
|
};
|
|
1914
|
+
} & {
|
|
1915
|
+
asset_convert_product: {
|
|
1916
|
+
orders: {
|
|
1917
|
+
":id": {
|
|
1918
|
+
get: {
|
|
1919
|
+
body: {};
|
|
1920
|
+
params: {
|
|
1921
|
+
id: string;
|
|
1922
|
+
};
|
|
1923
|
+
query: {};
|
|
1924
|
+
headers: {};
|
|
1925
|
+
response: {
|
|
1926
|
+
200: {
|
|
1927
|
+
debitLedgerEntryInfo?: {
|
|
1928
|
+
id: string;
|
|
1929
|
+
createdAt: Date;
|
|
1930
|
+
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";
|
|
1931
|
+
amount: string;
|
|
1932
|
+
} | undefined;
|
|
1933
|
+
creditLedgerEntryInfo?: {
|
|
1934
|
+
id: string;
|
|
1935
|
+
createdAt: Date;
|
|
1936
|
+
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";
|
|
1937
|
+
amount: string;
|
|
1938
|
+
} | undefined;
|
|
1939
|
+
id: string;
|
|
1940
|
+
createdAt: Date;
|
|
1941
|
+
updatedAt: Date;
|
|
1942
|
+
userId: string;
|
|
1943
|
+
status: "created" | "completed" | "failed";
|
|
1944
|
+
idempotencyKey: string;
|
|
1945
|
+
orderNo: string;
|
|
1946
|
+
productId: string;
|
|
1947
|
+
payAssetIdSnapshot: string;
|
|
1948
|
+
targetAssetIdSnapshot: string;
|
|
1949
|
+
quoteAssetIdSnapshot: string;
|
|
1950
|
+
priceSnapshot: string;
|
|
1951
|
+
priceEffectiveAtSnapshot: Date;
|
|
1952
|
+
payAmount: string;
|
|
1953
|
+
sourcePayAccountId: string;
|
|
1954
|
+
targetAmount: string;
|
|
1955
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1956
|
+
receiveAccountId: string;
|
|
1957
|
+
debitLedgerEntryId: string | null;
|
|
1958
|
+
creditLedgerEntryId: string | null;
|
|
1959
|
+
failureCode: string | null;
|
|
1960
|
+
failureReason: string | null;
|
|
1961
|
+
targetAssetInfo: {
|
|
1962
|
+
symbol: string;
|
|
1963
|
+
id: string;
|
|
1964
|
+
name: string;
|
|
1965
|
+
code: string;
|
|
1966
|
+
isActive: boolean;
|
|
1967
|
+
precision: number;
|
|
1968
|
+
};
|
|
1969
|
+
payAssetInfo: {
|
|
1970
|
+
symbol: string;
|
|
1971
|
+
id: string;
|
|
1972
|
+
name: string;
|
|
1973
|
+
code: string;
|
|
1974
|
+
isActive: boolean;
|
|
1975
|
+
precision: number;
|
|
1976
|
+
};
|
|
1977
|
+
userInfo: {
|
|
1978
|
+
email: string;
|
|
1979
|
+
id: string;
|
|
1980
|
+
username: string | null;
|
|
1981
|
+
displayUsername: string | null;
|
|
1982
|
+
phoneNumber: string | null;
|
|
1983
|
+
banned: boolean | null;
|
|
1984
|
+
};
|
|
1985
|
+
productInfo: {
|
|
1986
|
+
id: string;
|
|
1987
|
+
name: string;
|
|
1988
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
1989
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1990
|
+
};
|
|
1991
|
+
quoteAssetInfo: {
|
|
1992
|
+
symbol: string;
|
|
1993
|
+
id: string;
|
|
1994
|
+
name: string;
|
|
1995
|
+
code: string;
|
|
1996
|
+
isActive: boolean;
|
|
1997
|
+
precision: number;
|
|
1998
|
+
};
|
|
1999
|
+
sourcePayAccountInfo: {
|
|
2000
|
+
id: string;
|
|
2001
|
+
status: "active" | "frozen" | "disabled";
|
|
2002
|
+
assetId: string;
|
|
2003
|
+
ledgerAccountTypeId: string;
|
|
2004
|
+
};
|
|
2005
|
+
receiveAccountInfo: {
|
|
2006
|
+
id: string;
|
|
2007
|
+
status: "active" | "frozen" | "disabled";
|
|
2008
|
+
assetId: string;
|
|
2009
|
+
ledgerAccountTypeId: string;
|
|
2010
|
+
};
|
|
2011
|
+
};
|
|
2012
|
+
422: {
|
|
2013
|
+
type: "validation";
|
|
2014
|
+
on: string;
|
|
2015
|
+
summary?: string;
|
|
2016
|
+
message?: string;
|
|
2017
|
+
found?: unknown;
|
|
2018
|
+
property?: string;
|
|
2019
|
+
expected?: string;
|
|
2020
|
+
};
|
|
2021
|
+
401: "Unauthorized";
|
|
2022
|
+
403: "Forbidden: Admins only";
|
|
2023
|
+
};
|
|
2024
|
+
};
|
|
2025
|
+
};
|
|
2026
|
+
};
|
|
2027
|
+
};
|
|
2028
|
+
} & {
|
|
2029
|
+
asset_convert_product: {
|
|
2030
|
+
orders: {
|
|
2031
|
+
"by-order-no": {
|
|
2032
|
+
":orderNo": {
|
|
2033
|
+
get: {
|
|
2034
|
+
body: {};
|
|
2035
|
+
params: {
|
|
2036
|
+
orderNo: string;
|
|
2037
|
+
};
|
|
2038
|
+
query: {};
|
|
2039
|
+
headers: {};
|
|
2040
|
+
response: {
|
|
2041
|
+
200: {
|
|
2042
|
+
debitLedgerEntryInfo?: {
|
|
2043
|
+
id: string;
|
|
2044
|
+
createdAt: Date;
|
|
2045
|
+
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";
|
|
2046
|
+
amount: string;
|
|
2047
|
+
} | undefined;
|
|
2048
|
+
creditLedgerEntryInfo?: {
|
|
2049
|
+
id: string;
|
|
2050
|
+
createdAt: Date;
|
|
2051
|
+
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";
|
|
2052
|
+
amount: string;
|
|
2053
|
+
} | undefined;
|
|
2054
|
+
id: string;
|
|
2055
|
+
createdAt: Date;
|
|
2056
|
+
updatedAt: Date;
|
|
2057
|
+
userId: string;
|
|
2058
|
+
status: "created" | "completed" | "failed";
|
|
2059
|
+
idempotencyKey: string;
|
|
2060
|
+
orderNo: string;
|
|
2061
|
+
productId: string;
|
|
2062
|
+
payAssetIdSnapshot: string;
|
|
2063
|
+
targetAssetIdSnapshot: string;
|
|
2064
|
+
quoteAssetIdSnapshot: string;
|
|
2065
|
+
priceSnapshot: string;
|
|
2066
|
+
priceEffectiveAtSnapshot: Date;
|
|
2067
|
+
payAmount: string;
|
|
2068
|
+
sourcePayAccountId: string;
|
|
2069
|
+
targetAmount: string;
|
|
2070
|
+
settlementModeSnapshot: "available" | "locked";
|
|
2071
|
+
receiveAccountId: string;
|
|
2072
|
+
debitLedgerEntryId: string | null;
|
|
2073
|
+
creditLedgerEntryId: string | null;
|
|
2074
|
+
failureCode: string | null;
|
|
2075
|
+
failureReason: string | null;
|
|
2076
|
+
targetAssetInfo: {
|
|
2077
|
+
symbol: string;
|
|
2078
|
+
id: string;
|
|
2079
|
+
name: string;
|
|
2080
|
+
code: string;
|
|
2081
|
+
isActive: boolean;
|
|
2082
|
+
precision: number;
|
|
2083
|
+
};
|
|
2084
|
+
payAssetInfo: {
|
|
2085
|
+
symbol: string;
|
|
2086
|
+
id: string;
|
|
2087
|
+
name: string;
|
|
2088
|
+
code: string;
|
|
2089
|
+
isActive: boolean;
|
|
2090
|
+
precision: number;
|
|
2091
|
+
};
|
|
2092
|
+
userInfo: {
|
|
2093
|
+
email: string;
|
|
2094
|
+
id: string;
|
|
2095
|
+
username: string | null;
|
|
2096
|
+
displayUsername: string | null;
|
|
2097
|
+
phoneNumber: string | null;
|
|
2098
|
+
banned: boolean | null;
|
|
2099
|
+
};
|
|
2100
|
+
productInfo: {
|
|
2101
|
+
id: string;
|
|
2102
|
+
name: string;
|
|
2103
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
2104
|
+
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
2105
|
+
};
|
|
2106
|
+
quoteAssetInfo: {
|
|
2107
|
+
symbol: string;
|
|
2108
|
+
id: string;
|
|
2109
|
+
name: string;
|
|
2110
|
+
code: string;
|
|
2111
|
+
isActive: boolean;
|
|
2112
|
+
precision: number;
|
|
2113
|
+
};
|
|
2114
|
+
sourcePayAccountInfo: {
|
|
2115
|
+
id: string;
|
|
2116
|
+
status: "active" | "frozen" | "disabled";
|
|
2117
|
+
assetId: string;
|
|
2118
|
+
ledgerAccountTypeId: string;
|
|
2119
|
+
};
|
|
2120
|
+
receiveAccountInfo: {
|
|
2121
|
+
id: string;
|
|
2122
|
+
status: "active" | "frozen" | "disabled";
|
|
2123
|
+
assetId: string;
|
|
2124
|
+
ledgerAccountTypeId: string;
|
|
2125
|
+
};
|
|
2126
|
+
};
|
|
2127
|
+
422: {
|
|
2128
|
+
type: "validation";
|
|
2129
|
+
on: string;
|
|
2130
|
+
summary?: string;
|
|
2131
|
+
message?: string;
|
|
2132
|
+
found?: unknown;
|
|
2133
|
+
property?: string;
|
|
2134
|
+
expected?: string;
|
|
2135
|
+
};
|
|
2136
|
+
401: "Unauthorized";
|
|
2137
|
+
403: "Forbidden: Admins only";
|
|
2138
|
+
};
|
|
2139
|
+
};
|
|
2140
|
+
};
|
|
2141
|
+
};
|
|
2142
|
+
};
|
|
2143
|
+
};
|
|
2144
|
+
} & {
|
|
2145
|
+
asset_convert_product: {
|
|
2146
|
+
orders: {
|
|
2147
|
+
stats: {
|
|
2148
|
+
get: {
|
|
2149
|
+
body: {};
|
|
2150
|
+
params: {};
|
|
2151
|
+
query: {
|
|
2152
|
+
productId?: string | undefined;
|
|
2153
|
+
createdAtStart?: Date | undefined;
|
|
2154
|
+
createdAtEnd?: Date | undefined;
|
|
2155
|
+
};
|
|
2156
|
+
headers: {};
|
|
2157
|
+
response: {
|
|
2158
|
+
200: {
|
|
2159
|
+
totalCount: number;
|
|
2160
|
+
createdCount: number;
|
|
2161
|
+
completedCount: number;
|
|
2162
|
+
failedCount: number;
|
|
2163
|
+
totalPayAmount: string;
|
|
2164
|
+
totalTargetAmount: string;
|
|
2165
|
+
};
|
|
2166
|
+
422: {
|
|
2167
|
+
type: "validation";
|
|
2168
|
+
on: string;
|
|
2169
|
+
summary?: string;
|
|
2170
|
+
message?: string;
|
|
2171
|
+
found?: unknown;
|
|
2172
|
+
property?: string;
|
|
2173
|
+
expected?: string;
|
|
2174
|
+
};
|
|
2175
|
+
401: "Unauthorized";
|
|
2176
|
+
403: "Forbidden: Admins only";
|
|
2177
|
+
};
|
|
2178
|
+
};
|
|
2179
|
+
};
|
|
2180
|
+
};
|
|
2181
|
+
};
|
|
1424
2182
|
};
|
|
1425
2183
|
} & {
|
|
1426
2184
|
admin: {
|
|
@@ -1428,25 +2186,29 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1428
2186
|
} & {
|
|
1429
2187
|
asset_types: {
|
|
1430
2188
|
get: {
|
|
1431
|
-
body:
|
|
2189
|
+
body: {};
|
|
1432
2190
|
params: {};
|
|
1433
2191
|
query: {
|
|
2192
|
+
id?: string | undefined;
|
|
1434
2193
|
name?: string | undefined;
|
|
1435
|
-
key?:
|
|
2194
|
+
key?: string | undefined;
|
|
1436
2195
|
isActive?: boolean | undefined;
|
|
1437
2196
|
limit?: number | undefined;
|
|
1438
2197
|
offset?: number | undefined;
|
|
1439
2198
|
pageSize?: number | undefined;
|
|
1440
2199
|
pageIndex?: number | undefined;
|
|
2200
|
+
keyword?: string | undefined;
|
|
1441
2201
|
};
|
|
1442
|
-
headers:
|
|
2202
|
+
headers: {};
|
|
1443
2203
|
response: {
|
|
1444
2204
|
200: {
|
|
1445
2205
|
data: {
|
|
1446
2206
|
id: string;
|
|
1447
2207
|
name: string;
|
|
2208
|
+
createdAt: Date;
|
|
2209
|
+
updatedAt: Date;
|
|
1448
2210
|
description: string | null;
|
|
1449
|
-
key:
|
|
2211
|
+
key: string;
|
|
1450
2212
|
isGasAsset: boolean;
|
|
1451
2213
|
isActive: boolean;
|
|
1452
2214
|
}[];
|
|
@@ -1476,12 +2238,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1476
2238
|
asset_types: {
|
|
1477
2239
|
":id": {
|
|
1478
2240
|
get: {
|
|
1479
|
-
body:
|
|
2241
|
+
body: {};
|
|
1480
2242
|
params: {
|
|
1481
2243
|
id: string;
|
|
1482
2244
|
};
|
|
1483
|
-
query:
|
|
1484
|
-
headers:
|
|
2245
|
+
query: {};
|
|
2246
|
+
headers: {};
|
|
1485
2247
|
response: {
|
|
1486
2248
|
200: {
|
|
1487
2249
|
id: string;
|
|
@@ -1489,7 +2251,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1489
2251
|
createdAt: Date;
|
|
1490
2252
|
updatedAt: Date;
|
|
1491
2253
|
description: string | null;
|
|
1492
|
-
key:
|
|
2254
|
+
key: string;
|
|
1493
2255
|
isGasAsset: boolean;
|
|
1494
2256
|
isActive: boolean;
|
|
1495
2257
|
};
|
|
@@ -1508,32 +2270,70 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1508
2270
|
};
|
|
1509
2271
|
};
|
|
1510
2272
|
};
|
|
2273
|
+
} & {
|
|
2274
|
+
asset_types: {
|
|
2275
|
+
post: {
|
|
2276
|
+
body: {
|
|
2277
|
+
description?: string | null | undefined;
|
|
2278
|
+
isGasAsset?: boolean | undefined;
|
|
2279
|
+
isActive?: boolean | undefined;
|
|
2280
|
+
name: string;
|
|
2281
|
+
key: string;
|
|
2282
|
+
};
|
|
2283
|
+
params: {};
|
|
2284
|
+
query: {};
|
|
2285
|
+
headers: {};
|
|
2286
|
+
response: {
|
|
2287
|
+
200: {
|
|
2288
|
+
id: string;
|
|
2289
|
+
name: string;
|
|
2290
|
+
createdAt: Date;
|
|
2291
|
+
updatedAt: Date;
|
|
2292
|
+
description: string | null;
|
|
2293
|
+
key: string;
|
|
2294
|
+
isGasAsset: boolean;
|
|
2295
|
+
isActive: boolean;
|
|
2296
|
+
};
|
|
2297
|
+
422: {
|
|
2298
|
+
type: "validation";
|
|
2299
|
+
on: string;
|
|
2300
|
+
summary?: string;
|
|
2301
|
+
message?: string;
|
|
2302
|
+
found?: unknown;
|
|
2303
|
+
property?: string;
|
|
2304
|
+
expected?: string;
|
|
2305
|
+
};
|
|
2306
|
+
401: "Unauthorized";
|
|
2307
|
+
403: "Forbidden: Admins only";
|
|
2308
|
+
};
|
|
2309
|
+
};
|
|
2310
|
+
};
|
|
1511
2311
|
} & {
|
|
1512
2312
|
asset_types: {
|
|
1513
2313
|
":id": {
|
|
1514
2314
|
patch: {
|
|
1515
2315
|
body: {
|
|
2316
|
+
name?: string | undefined;
|
|
1516
2317
|
description?: string | null | undefined;
|
|
1517
2318
|
isGasAsset?: boolean | undefined;
|
|
1518
2319
|
isActive?: boolean | undefined;
|
|
1519
|
-
name: string;
|
|
1520
2320
|
};
|
|
1521
2321
|
params: {
|
|
1522
2322
|
id: string;
|
|
1523
2323
|
};
|
|
1524
|
-
query:
|
|
1525
|
-
headers:
|
|
2324
|
+
query: {};
|
|
2325
|
+
headers: {};
|
|
1526
2326
|
response: {
|
|
1527
2327
|
200: {
|
|
1528
|
-
createdAt: Date;
|
|
1529
|
-
updatedAt: Date;
|
|
1530
2328
|
id: string;
|
|
1531
|
-
key: "FIAT_CURRENCY" | "STABLE_COIN" | "RWA_VIRTUAL_COIN";
|
|
1532
2329
|
name: string;
|
|
2330
|
+
createdAt: Date;
|
|
2331
|
+
updatedAt: Date;
|
|
1533
2332
|
description: string | null;
|
|
2333
|
+
key: string;
|
|
1534
2334
|
isGasAsset: boolean;
|
|
1535
2335
|
isActive: boolean;
|
|
1536
|
-
}
|
|
2336
|
+
};
|
|
1537
2337
|
422: {
|
|
1538
2338
|
type: "validation";
|
|
1539
2339
|
on: string;
|
|
@@ -1556,7 +2356,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1556
2356
|
} & {
|
|
1557
2357
|
wallet_types: {
|
|
1558
2358
|
get: {
|
|
1559
|
-
body:
|
|
2359
|
+
body: {};
|
|
1560
2360
|
params: {};
|
|
1561
2361
|
query: {
|
|
1562
2362
|
key?: string | undefined;
|
|
@@ -1567,7 +2367,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1567
2367
|
pageSize?: number | undefined;
|
|
1568
2368
|
pageIndex?: number | undefined;
|
|
1569
2369
|
};
|
|
1570
|
-
headers:
|
|
2370
|
+
headers: {};
|
|
1571
2371
|
response: {
|
|
1572
2372
|
200: {
|
|
1573
2373
|
data: {
|
|
@@ -1621,8 +2421,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1621
2421
|
allowedLedgerAccountTypeIds: string[];
|
|
1622
2422
|
};
|
|
1623
2423
|
params: {};
|
|
1624
|
-
query:
|
|
1625
|
-
headers:
|
|
2424
|
+
query: {};
|
|
2425
|
+
headers: {};
|
|
1626
2426
|
response: {
|
|
1627
2427
|
200: {
|
|
1628
2428
|
id: string;
|
|
@@ -1655,6 +2455,49 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1655
2455
|
};
|
|
1656
2456
|
};
|
|
1657
2457
|
};
|
|
2458
|
+
} & {
|
|
2459
|
+
wallet_types: {
|
|
2460
|
+
":key": {
|
|
2461
|
+
get: {
|
|
2462
|
+
body: {};
|
|
2463
|
+
params: {
|
|
2464
|
+
key: string;
|
|
2465
|
+
};
|
|
2466
|
+
query: {};
|
|
2467
|
+
headers: {};
|
|
2468
|
+
response: {
|
|
2469
|
+
200: {
|
|
2470
|
+
id: string;
|
|
2471
|
+
name: string;
|
|
2472
|
+
createdAt: Date;
|
|
2473
|
+
updatedAt: Date;
|
|
2474
|
+
key: string;
|
|
2475
|
+
isActive: boolean;
|
|
2476
|
+
sortOrder: number;
|
|
2477
|
+
isSingleton: boolean;
|
|
2478
|
+
allowedLedgerAccountTypes: {
|
|
2479
|
+
id: string;
|
|
2480
|
+
name: string;
|
|
2481
|
+
description: string | null;
|
|
2482
|
+
key: string;
|
|
2483
|
+
isActive: boolean;
|
|
2484
|
+
}[];
|
|
2485
|
+
};
|
|
2486
|
+
422: {
|
|
2487
|
+
type: "validation";
|
|
2488
|
+
on: string;
|
|
2489
|
+
summary?: string;
|
|
2490
|
+
message?: string;
|
|
2491
|
+
found?: unknown;
|
|
2492
|
+
property?: string;
|
|
2493
|
+
expected?: string;
|
|
2494
|
+
};
|
|
2495
|
+
401: "Unauthorized";
|
|
2496
|
+
403: "Forbidden: Admins only";
|
|
2497
|
+
};
|
|
2498
|
+
};
|
|
2499
|
+
};
|
|
2500
|
+
};
|
|
1658
2501
|
} & {
|
|
1659
2502
|
wallet_types: {
|
|
1660
2503
|
":key": {
|
|
@@ -1669,8 +2512,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1669
2512
|
params: {
|
|
1670
2513
|
key: string;
|
|
1671
2514
|
};
|
|
1672
|
-
query:
|
|
1673
|
-
headers:
|
|
2515
|
+
query: {};
|
|
2516
|
+
headers: {};
|
|
1674
2517
|
response: {
|
|
1675
2518
|
200: {
|
|
1676
2519
|
id: string;
|
|
@@ -1704,6 +2547,96 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1704
2547
|
};
|
|
1705
2548
|
};
|
|
1706
2549
|
};
|
|
2550
|
+
} & {
|
|
2551
|
+
wallet_types: {
|
|
2552
|
+
":key": {
|
|
2553
|
+
enable: {
|
|
2554
|
+
post: {
|
|
2555
|
+
body: {};
|
|
2556
|
+
params: {
|
|
2557
|
+
key: string;
|
|
2558
|
+
};
|
|
2559
|
+
query: {};
|
|
2560
|
+
headers: {};
|
|
2561
|
+
response: {
|
|
2562
|
+
200: {
|
|
2563
|
+
id: string;
|
|
2564
|
+
name: string;
|
|
2565
|
+
createdAt: Date;
|
|
2566
|
+
updatedAt: Date;
|
|
2567
|
+
key: string;
|
|
2568
|
+
isActive: boolean;
|
|
2569
|
+
sortOrder: number;
|
|
2570
|
+
isSingleton: boolean;
|
|
2571
|
+
allowedLedgerAccountTypes: {
|
|
2572
|
+
id: string;
|
|
2573
|
+
name: string;
|
|
2574
|
+
description: string | null;
|
|
2575
|
+
key: string;
|
|
2576
|
+
isActive: boolean;
|
|
2577
|
+
}[];
|
|
2578
|
+
};
|
|
2579
|
+
422: {
|
|
2580
|
+
type: "validation";
|
|
2581
|
+
on: string;
|
|
2582
|
+
summary?: string;
|
|
2583
|
+
message?: string;
|
|
2584
|
+
found?: unknown;
|
|
2585
|
+
property?: string;
|
|
2586
|
+
expected?: string;
|
|
2587
|
+
};
|
|
2588
|
+
401: "Unauthorized";
|
|
2589
|
+
403: "Forbidden: Admins only";
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2593
|
+
};
|
|
2594
|
+
};
|
|
2595
|
+
} & {
|
|
2596
|
+
wallet_types: {
|
|
2597
|
+
":key": {
|
|
2598
|
+
disable: {
|
|
2599
|
+
post: {
|
|
2600
|
+
body: {};
|
|
2601
|
+
params: {
|
|
2602
|
+
key: string;
|
|
2603
|
+
};
|
|
2604
|
+
query: {};
|
|
2605
|
+
headers: {};
|
|
2606
|
+
response: {
|
|
2607
|
+
200: {
|
|
2608
|
+
id: string;
|
|
2609
|
+
name: string;
|
|
2610
|
+
createdAt: Date;
|
|
2611
|
+
updatedAt: Date;
|
|
2612
|
+
key: string;
|
|
2613
|
+
isActive: boolean;
|
|
2614
|
+
sortOrder: number;
|
|
2615
|
+
isSingleton: boolean;
|
|
2616
|
+
allowedLedgerAccountTypes: {
|
|
2617
|
+
id: string;
|
|
2618
|
+
name: string;
|
|
2619
|
+
description: string | null;
|
|
2620
|
+
key: string;
|
|
2621
|
+
isActive: boolean;
|
|
2622
|
+
}[];
|
|
2623
|
+
};
|
|
2624
|
+
422: {
|
|
2625
|
+
type: "validation";
|
|
2626
|
+
on: string;
|
|
2627
|
+
summary?: string;
|
|
2628
|
+
message?: string;
|
|
2629
|
+
found?: unknown;
|
|
2630
|
+
property?: string;
|
|
2631
|
+
expected?: string;
|
|
2632
|
+
};
|
|
2633
|
+
401: "Unauthorized";
|
|
2634
|
+
403: "Forbidden: Admins only";
|
|
2635
|
+
};
|
|
2636
|
+
};
|
|
2637
|
+
};
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
1707
2640
|
};
|
|
1708
2641
|
} & {
|
|
1709
2642
|
admin: {
|
|
@@ -1711,7 +2644,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1711
2644
|
} & {
|
|
1712
2645
|
wallets: {
|
|
1713
2646
|
get: {
|
|
1714
|
-
body:
|
|
2647
|
+
body: {};
|
|
1715
2648
|
params: {};
|
|
1716
2649
|
query: {
|
|
1717
2650
|
userId?: string | undefined;
|
|
@@ -1720,9 +2653,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1720
2653
|
offset?: number | undefined;
|
|
1721
2654
|
pageSize?: number | undefined;
|
|
1722
2655
|
pageIndex?: number | undefined;
|
|
2656
|
+
walletId?: string | undefined;
|
|
1723
2657
|
walletTypeKey?: string | undefined;
|
|
1724
2658
|
};
|
|
1725
|
-
headers:
|
|
2659
|
+
headers: {};
|
|
1726
2660
|
response: {
|
|
1727
2661
|
200: {
|
|
1728
2662
|
data: {
|
|
@@ -1744,6 +2678,15 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1744
2678
|
sortOrder: number;
|
|
1745
2679
|
isSingleton: boolean;
|
|
1746
2680
|
};
|
|
2681
|
+
userInfo: {
|
|
2682
|
+
email: string;
|
|
2683
|
+
id: string;
|
|
2684
|
+
username: string | null;
|
|
2685
|
+
displayUsername: string | null;
|
|
2686
|
+
phoneNumber: string | null;
|
|
2687
|
+
role: string | null;
|
|
2688
|
+
banned: boolean | null;
|
|
2689
|
+
};
|
|
1747
2690
|
}[];
|
|
1748
2691
|
pagination: {
|
|
1749
2692
|
total: number;
|
|
@@ -1767,6 +2710,61 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1767
2710
|
};
|
|
1768
2711
|
};
|
|
1769
2712
|
};
|
|
2713
|
+
} & {
|
|
2714
|
+
wallets: {
|
|
2715
|
+
":id": {
|
|
2716
|
+
get: {
|
|
2717
|
+
body: {};
|
|
2718
|
+
params: {
|
|
2719
|
+
id: string;
|
|
2720
|
+
};
|
|
2721
|
+
query: {};
|
|
2722
|
+
headers: {};
|
|
2723
|
+
response: {
|
|
2724
|
+
200: {
|
|
2725
|
+
id: string;
|
|
2726
|
+
name: string;
|
|
2727
|
+
createdAt: Date;
|
|
2728
|
+
updatedAt: Date;
|
|
2729
|
+
userId: string;
|
|
2730
|
+
isActive: boolean;
|
|
2731
|
+
walletTypeId: string;
|
|
2732
|
+
isPrimary: boolean;
|
|
2733
|
+
walletType: {
|
|
2734
|
+
id: string;
|
|
2735
|
+
name: string;
|
|
2736
|
+
createdAt: Date;
|
|
2737
|
+
updatedAt: Date;
|
|
2738
|
+
key: string;
|
|
2739
|
+
isActive: boolean;
|
|
2740
|
+
sortOrder: number;
|
|
2741
|
+
isSingleton: boolean;
|
|
2742
|
+
};
|
|
2743
|
+
userInfo: {
|
|
2744
|
+
email: string;
|
|
2745
|
+
id: string;
|
|
2746
|
+
username: string | null;
|
|
2747
|
+
displayUsername: string | null;
|
|
2748
|
+
phoneNumber: string | null;
|
|
2749
|
+
role: string | null;
|
|
2750
|
+
banned: boolean | null;
|
|
2751
|
+
};
|
|
2752
|
+
};
|
|
2753
|
+
422: {
|
|
2754
|
+
type: "validation";
|
|
2755
|
+
on: string;
|
|
2756
|
+
summary?: string;
|
|
2757
|
+
message?: string;
|
|
2758
|
+
found?: unknown;
|
|
2759
|
+
property?: string;
|
|
2760
|
+
expected?: string;
|
|
2761
|
+
};
|
|
2762
|
+
401: "Unauthorized";
|
|
2763
|
+
403: "Forbidden: Admins only";
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
1770
2768
|
};
|
|
1771
2769
|
} & {
|
|
1772
2770
|
admin: {
|
|
@@ -1774,7 +2772,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1774
2772
|
} & {
|
|
1775
2773
|
ledger_account_types: {
|
|
1776
2774
|
get: {
|
|
1777
|
-
body:
|
|
2775
|
+
body: {};
|
|
1778
2776
|
params: {};
|
|
1779
2777
|
query: {
|
|
1780
2778
|
key?: string | undefined;
|
|
@@ -1784,7 +2782,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1784
2782
|
pageSize?: number | undefined;
|
|
1785
2783
|
pageIndex?: number | undefined;
|
|
1786
2784
|
};
|
|
1787
|
-
headers:
|
|
2785
|
+
headers: {};
|
|
1788
2786
|
response: {
|
|
1789
2787
|
200: {
|
|
1790
2788
|
data: {
|
|
@@ -1836,12 +2834,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1836
2834
|
ledger_account_types: {
|
|
1837
2835
|
":key": {
|
|
1838
2836
|
get: {
|
|
1839
|
-
body:
|
|
2837
|
+
body: {};
|
|
1840
2838
|
params: {
|
|
1841
2839
|
key: string;
|
|
1842
2840
|
};
|
|
1843
|
-
query:
|
|
1844
|
-
headers:
|
|
2841
|
+
query: {};
|
|
2842
|
+
headers: {};
|
|
1845
2843
|
response: {
|
|
1846
2844
|
200: {
|
|
1847
2845
|
id: string;
|
|
@@ -1909,8 +2907,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1909
2907
|
key: string;
|
|
1910
2908
|
};
|
|
1911
2909
|
params: {};
|
|
1912
|
-
query:
|
|
1913
|
-
headers:
|
|
2910
|
+
query: {};
|
|
2911
|
+
headers: {};
|
|
1914
2912
|
response: {
|
|
1915
2913
|
200: {
|
|
1916
2914
|
id: string;
|
|
@@ -1979,8 +2977,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
1979
2977
|
params: {
|
|
1980
2978
|
key: string;
|
|
1981
2979
|
};
|
|
1982
|
-
query:
|
|
1983
|
-
headers:
|
|
2980
|
+
query: {};
|
|
2981
|
+
headers: {};
|
|
1984
2982
|
response: {
|
|
1985
2983
|
200: {
|
|
1986
2984
|
id: string;
|
|
@@ -2029,7 +3027,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2029
3027
|
} & {
|
|
2030
3028
|
ledger_accounts: {
|
|
2031
3029
|
get: {
|
|
2032
|
-
body:
|
|
3030
|
+
body: {};
|
|
2033
3031
|
params: {};
|
|
2034
3032
|
query: {
|
|
2035
3033
|
userId?: string | undefined;
|
|
@@ -2040,7 +3038,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2040
3038
|
pageSize?: number | undefined;
|
|
2041
3039
|
pageIndex?: number | undefined;
|
|
2042
3040
|
};
|
|
2043
|
-
headers:
|
|
3041
|
+
headers: {};
|
|
2044
3042
|
response: {
|
|
2045
3043
|
200: {
|
|
2046
3044
|
data: {
|
|
@@ -2081,12 +3079,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2081
3079
|
ledger_accounts: {
|
|
2082
3080
|
":id": {
|
|
2083
3081
|
get: {
|
|
2084
|
-
body:
|
|
3082
|
+
body: {};
|
|
2085
3083
|
params: {
|
|
2086
3084
|
id: string;
|
|
2087
3085
|
};
|
|
2088
|
-
query:
|
|
2089
|
-
headers:
|
|
3086
|
+
query: {};
|
|
3087
|
+
headers: {};
|
|
2090
3088
|
response: {
|
|
2091
3089
|
200: {
|
|
2092
3090
|
id: string;
|
|
@@ -2126,8 +3124,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2126
3124
|
params: {
|
|
2127
3125
|
id: string;
|
|
2128
3126
|
};
|
|
2129
|
-
query:
|
|
2130
|
-
headers:
|
|
3127
|
+
query: {};
|
|
3128
|
+
headers: {};
|
|
2131
3129
|
response: {
|
|
2132
3130
|
200: {
|
|
2133
3131
|
id: string;
|
|
@@ -2175,8 +3173,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2175
3173
|
direction: "increase" | "decrease";
|
|
2176
3174
|
};
|
|
2177
3175
|
params: {};
|
|
2178
|
-
query:
|
|
2179
|
-
headers:
|
|
3176
|
+
query: {};
|
|
3177
|
+
headers: {};
|
|
2180
3178
|
response: {
|
|
2181
3179
|
200: {
|
|
2182
3180
|
userId: string;
|
|
@@ -2225,13 +3223,13 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2225
3223
|
}[];
|
|
2226
3224
|
};
|
|
2227
3225
|
params: {};
|
|
2228
|
-
query:
|
|
2229
|
-
headers:
|
|
3226
|
+
query: {};
|
|
3227
|
+
headers: {};
|
|
2230
3228
|
response: {
|
|
2231
3229
|
200: {
|
|
2232
3230
|
totalCount: number;
|
|
2233
|
-
successCount: number;
|
|
2234
3231
|
failedCount: number;
|
|
3232
|
+
successCount: number;
|
|
2235
3233
|
results: {
|
|
2236
3234
|
accountId?: string | undefined;
|
|
2237
3235
|
ledgerEntryId?: string | undefined;
|
|
@@ -2688,7 +3686,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2688
3686
|
} & {
|
|
2689
3687
|
checkIns: {
|
|
2690
3688
|
get: {
|
|
2691
|
-
body:
|
|
3689
|
+
body: {};
|
|
2692
3690
|
params: {};
|
|
2693
3691
|
query: {
|
|
2694
3692
|
userId?: string | undefined;
|
|
@@ -2700,7 +3698,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2700
3698
|
pageIndex?: number | undefined;
|
|
2701
3699
|
endDate?: Date | undefined;
|
|
2702
3700
|
};
|
|
2703
|
-
headers:
|
|
3701
|
+
headers: {};
|
|
2704
3702
|
response: {
|
|
2705
3703
|
200: {
|
|
2706
3704
|
data: {
|
|
@@ -2715,7 +3713,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2715
3713
|
twoFactorEnabled: boolean | null;
|
|
2716
3714
|
username: string | null;
|
|
2717
3715
|
displayUsername: string | null;
|
|
2718
|
-
isAnonymous: boolean | null;
|
|
2719
3716
|
phoneNumber: string | null;
|
|
2720
3717
|
phoneNumberVerified: boolean | null;
|
|
2721
3718
|
role: string | null;
|
|
@@ -2767,8 +3764,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2767
3764
|
fileId: string;
|
|
2768
3765
|
};
|
|
2769
3766
|
params: {};
|
|
2770
|
-
query:
|
|
2771
|
-
headers:
|
|
3767
|
+
query: {};
|
|
3768
|
+
headers: {};
|
|
2772
3769
|
response: {
|
|
2773
3770
|
200: {
|
|
2774
3771
|
error: string | null;
|
|
@@ -2805,7 +3802,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2805
3802
|
ledger_account_import: {
|
|
2806
3803
|
jobs: {
|
|
2807
3804
|
get: {
|
|
2808
|
-
body:
|
|
3805
|
+
body: {};
|
|
2809
3806
|
params: {};
|
|
2810
3807
|
query: {
|
|
2811
3808
|
status?: "pending" | "failed" | "running" | "success" | undefined;
|
|
@@ -2814,7 +3811,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2814
3811
|
pageSize?: number | undefined;
|
|
2815
3812
|
pageIndex?: number | undefined;
|
|
2816
3813
|
};
|
|
2817
|
-
headers:
|
|
3814
|
+
headers: {};
|
|
2818
3815
|
response: {
|
|
2819
3816
|
200: {
|
|
2820
3817
|
data: {
|
|
@@ -2861,12 +3858,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2861
3858
|
jobs: {
|
|
2862
3859
|
":id": {
|
|
2863
3860
|
get: {
|
|
2864
|
-
body:
|
|
3861
|
+
body: {};
|
|
2865
3862
|
params: {
|
|
2866
3863
|
id: string;
|
|
2867
3864
|
};
|
|
2868
|
-
query:
|
|
2869
|
-
headers:
|
|
3865
|
+
query: {};
|
|
3866
|
+
headers: {};
|
|
2870
3867
|
response: {
|
|
2871
3868
|
200: {
|
|
2872
3869
|
error: string | null;
|
|
@@ -2906,7 +3903,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2906
3903
|
":id": {
|
|
2907
3904
|
items: {
|
|
2908
3905
|
get: {
|
|
2909
|
-
body:
|
|
3906
|
+
body: {};
|
|
2910
3907
|
params: {
|
|
2911
3908
|
id: string;
|
|
2912
3909
|
};
|
|
@@ -2917,7 +3914,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2917
3914
|
pageSize?: number | undefined;
|
|
2918
3915
|
pageIndex?: number | undefined;
|
|
2919
3916
|
};
|
|
2920
|
-
headers:
|
|
3917
|
+
headers: {};
|
|
2921
3918
|
response: {
|
|
2922
3919
|
200: {
|
|
2923
3920
|
data: {
|
|
@@ -2972,10 +3969,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
2972
3969
|
ledger_account_import: {
|
|
2973
3970
|
template: {
|
|
2974
3971
|
get: {
|
|
2975
|
-
body:
|
|
3972
|
+
body: {};
|
|
2976
3973
|
params: {};
|
|
2977
|
-
query:
|
|
2978
|
-
headers:
|
|
3974
|
+
query: {};
|
|
3975
|
+
headers: {};
|
|
2979
3976
|
response: {
|
|
2980
3977
|
200: ArrayBuffer;
|
|
2981
3978
|
422: {
|
|
@@ -3001,7 +3998,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3001
3998
|
ledger: {
|
|
3002
3999
|
entries: {
|
|
3003
4000
|
get: {
|
|
3004
|
-
body:
|
|
4001
|
+
body: {};
|
|
3005
4002
|
params: {};
|
|
3006
4003
|
query: {
|
|
3007
4004
|
accountId?: string | undefined;
|
|
@@ -3012,7 +4009,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3012
4009
|
pageIndex?: number | undefined;
|
|
3013
4010
|
userId: string;
|
|
3014
4011
|
};
|
|
3015
|
-
headers:
|
|
4012
|
+
headers: {};
|
|
3016
4013
|
response: {
|
|
3017
4014
|
200: {
|
|
3018
4015
|
data: {
|
|
@@ -3083,8 +4080,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3083
4080
|
quoteAssetId: string;
|
|
3084
4081
|
};
|
|
3085
4082
|
params: {};
|
|
3086
|
-
query:
|
|
3087
|
-
headers:
|
|
4083
|
+
query: {};
|
|
4084
|
+
headers: {};
|
|
3088
4085
|
response: {
|
|
3089
4086
|
200: {
|
|
3090
4087
|
id: string;
|
|
@@ -3140,8 +4137,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3140
4137
|
params: {
|
|
3141
4138
|
id: string;
|
|
3142
4139
|
};
|
|
3143
|
-
query:
|
|
3144
|
-
headers:
|
|
4140
|
+
query: {};
|
|
4141
|
+
headers: {};
|
|
3145
4142
|
response: {
|
|
3146
4143
|
200: {
|
|
3147
4144
|
createdAt: Date;
|
|
@@ -3182,12 +4179,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3182
4179
|
":id": {
|
|
3183
4180
|
enable: {
|
|
3184
4181
|
post: {
|
|
3185
|
-
body:
|
|
4182
|
+
body: {};
|
|
3186
4183
|
params: {
|
|
3187
4184
|
id: string;
|
|
3188
4185
|
};
|
|
3189
|
-
query:
|
|
3190
|
-
headers:
|
|
4186
|
+
query: {};
|
|
4187
|
+
headers: {};
|
|
3191
4188
|
response: {
|
|
3192
4189
|
200: {
|
|
3193
4190
|
createdAt: Date;
|
|
@@ -3229,12 +4226,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3229
4226
|
":id": {
|
|
3230
4227
|
disable: {
|
|
3231
4228
|
post: {
|
|
3232
|
-
body:
|
|
4229
|
+
body: {};
|
|
3233
4230
|
params: {
|
|
3234
4231
|
id: string;
|
|
3235
4232
|
};
|
|
3236
|
-
query:
|
|
3237
|
-
headers:
|
|
4233
|
+
query: {};
|
|
4234
|
+
headers: {};
|
|
3238
4235
|
response: {
|
|
3239
4236
|
200: {
|
|
3240
4237
|
createdAt: Date;
|
|
@@ -3274,7 +4271,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3274
4271
|
market_pricing: {
|
|
3275
4272
|
strategies: {
|
|
3276
4273
|
get: {
|
|
3277
|
-
body:
|
|
4274
|
+
body: {};
|
|
3278
4275
|
params: {};
|
|
3279
4276
|
query: {
|
|
3280
4277
|
baseAssetId?: string | undefined;
|
|
@@ -3285,7 +4282,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3285
4282
|
pageSize?: number | undefined;
|
|
3286
4283
|
pageIndex?: number | undefined;
|
|
3287
4284
|
};
|
|
3288
|
-
headers:
|
|
4285
|
+
headers: {};
|
|
3289
4286
|
response: {
|
|
3290
4287
|
200: {
|
|
3291
4288
|
data: {
|
|
@@ -3333,12 +4330,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3333
4330
|
strategies: {
|
|
3334
4331
|
":id": {
|
|
3335
4332
|
get: {
|
|
3336
|
-
body:
|
|
4333
|
+
body: {};
|
|
3337
4334
|
params: {
|
|
3338
4335
|
id: string;
|
|
3339
4336
|
};
|
|
3340
|
-
query:
|
|
3341
|
-
headers:
|
|
4337
|
+
query: {};
|
|
4338
|
+
headers: {};
|
|
3342
4339
|
response: {
|
|
3343
4340
|
200: {
|
|
3344
4341
|
id: string;
|
|
@@ -3379,12 +4376,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3379
4376
|
":id": {
|
|
3380
4377
|
"run-now": {
|
|
3381
4378
|
post: {
|
|
3382
|
-
body:
|
|
4379
|
+
body: {};
|
|
3383
4380
|
params: {
|
|
3384
4381
|
id: string;
|
|
3385
4382
|
};
|
|
3386
|
-
query:
|
|
3387
|
-
headers:
|
|
4383
|
+
query: {};
|
|
4384
|
+
headers: {};
|
|
3388
4385
|
response: {
|
|
3389
4386
|
200: {
|
|
3390
4387
|
price: string;
|
|
@@ -3414,10 +4411,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3414
4411
|
jobs: {
|
|
3415
4412
|
"run-enabled": {
|
|
3416
4413
|
post: {
|
|
3417
|
-
body:
|
|
4414
|
+
body: {};
|
|
3418
4415
|
params: {};
|
|
3419
|
-
query:
|
|
3420
|
-
headers:
|
|
4416
|
+
query: {};
|
|
4417
|
+
headers: {};
|
|
3421
4418
|
response: {
|
|
3422
4419
|
200: {
|
|
3423
4420
|
successCount: number;
|
|
@@ -3448,7 +4445,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3448
4445
|
klines: {
|
|
3449
4446
|
"1m": {
|
|
3450
4447
|
get: {
|
|
3451
|
-
body:
|
|
4448
|
+
body: {};
|
|
3452
4449
|
params: {};
|
|
3453
4450
|
query: {
|
|
3454
4451
|
source?: string | undefined;
|
|
@@ -3461,7 +4458,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3461
4458
|
baseAsset: string;
|
|
3462
4459
|
quoteAsset: string;
|
|
3463
4460
|
};
|
|
3464
|
-
headers:
|
|
4461
|
+
headers: {};
|
|
3465
4462
|
response: {
|
|
3466
4463
|
200: {
|
|
3467
4464
|
data: {
|
|
@@ -3519,8 +4516,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3519
4516
|
quoteAsset: string;
|
|
3520
4517
|
};
|
|
3521
4518
|
params: {};
|
|
3522
|
-
query:
|
|
3523
|
-
headers:
|
|
4519
|
+
query: {};
|
|
4520
|
+
headers: {};
|
|
3524
4521
|
response: {
|
|
3525
4522
|
200: {
|
|
3526
4523
|
id: string;
|
|
@@ -3564,10 +4561,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3564
4561
|
"1m": {
|
|
3565
4562
|
"run-enabled": {
|
|
3566
4563
|
post: {
|
|
3567
|
-
body:
|
|
4564
|
+
body: {};
|
|
3568
4565
|
params: {};
|
|
3569
|
-
query:
|
|
3570
|
-
headers:
|
|
4566
|
+
query: {};
|
|
4567
|
+
headers: {};
|
|
3571
4568
|
response: {
|
|
3572
4569
|
200: {
|
|
3573
4570
|
bucketAt: Date;
|
|
@@ -3599,7 +4596,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3599
4596
|
} & {
|
|
3600
4597
|
deposit: {
|
|
3601
4598
|
get: {
|
|
3602
|
-
body:
|
|
4599
|
+
body: {};
|
|
3603
4600
|
params: {};
|
|
3604
4601
|
query: {
|
|
3605
4602
|
userId?: string | undefined;
|
|
@@ -3610,7 +4607,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3610
4607
|
pageSize?: number | undefined;
|
|
3611
4608
|
pageIndex?: number | undefined;
|
|
3612
4609
|
};
|
|
3613
|
-
headers:
|
|
4610
|
+
headers: {};
|
|
3614
4611
|
response: {
|
|
3615
4612
|
200: {
|
|
3616
4613
|
data: {
|
|
@@ -3625,7 +4622,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3625
4622
|
twoFactorEnabled: boolean | null;
|
|
3626
4623
|
username: string | null;
|
|
3627
4624
|
displayUsername: string | null;
|
|
3628
|
-
isAnonymous: boolean | null;
|
|
3629
4625
|
phoneNumber: string | null;
|
|
3630
4626
|
phoneNumberVerified: boolean | null;
|
|
3631
4627
|
role: string | null;
|
|
@@ -3687,8 +4683,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3687
4683
|
params: {
|
|
3688
4684
|
orderId: string;
|
|
3689
4685
|
};
|
|
3690
|
-
query:
|
|
3691
|
-
headers:
|
|
4686
|
+
query: {};
|
|
4687
|
+
headers: {};
|
|
3692
4688
|
response: {
|
|
3693
4689
|
200: {
|
|
3694
4690
|
createdAt: Date;
|
|
@@ -3738,8 +4734,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3738
4734
|
params: {
|
|
3739
4735
|
orderId: string;
|
|
3740
4736
|
};
|
|
3741
|
-
query:
|
|
3742
|
-
headers:
|
|
4737
|
+
query: {};
|
|
4738
|
+
headers: {};
|
|
3743
4739
|
response: {
|
|
3744
4740
|
200: {
|
|
3745
4741
|
createdAt: Date;
|
|
@@ -3785,7 +4781,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3785
4781
|
} & {
|
|
3786
4782
|
withdraw: {
|
|
3787
4783
|
get: {
|
|
3788
|
-
body:
|
|
4784
|
+
body: {};
|
|
3789
4785
|
params: {};
|
|
3790
4786
|
query: {
|
|
3791
4787
|
userId?: string | undefined;
|
|
@@ -3795,7 +4791,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3795
4791
|
pageSize?: number | undefined;
|
|
3796
4792
|
pageIndex?: number | undefined;
|
|
3797
4793
|
};
|
|
3798
|
-
headers:
|
|
4794
|
+
headers: {};
|
|
3799
4795
|
response: {
|
|
3800
4796
|
200: {
|
|
3801
4797
|
data: {
|
|
@@ -3850,8 +4846,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3850
4846
|
params: {
|
|
3851
4847
|
orderId: string;
|
|
3852
4848
|
};
|
|
3853
|
-
query:
|
|
3854
|
-
headers:
|
|
4849
|
+
query: {};
|
|
4850
|
+
headers: {};
|
|
3855
4851
|
response: {
|
|
3856
4852
|
200: {
|
|
3857
4853
|
id: string;
|
|
@@ -3899,8 +4895,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3899
4895
|
params: {
|
|
3900
4896
|
orderId: string;
|
|
3901
4897
|
};
|
|
3902
|
-
query:
|
|
3903
|
-
headers:
|
|
4898
|
+
query: {};
|
|
4899
|
+
headers: {};
|
|
3904
4900
|
response: {
|
|
3905
4901
|
200: {
|
|
3906
4902
|
id: string;
|
|
@@ -3942,12 +4938,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
3942
4938
|
":orderId": {
|
|
3943
4939
|
paid: {
|
|
3944
4940
|
post: {
|
|
3945
|
-
body:
|
|
4941
|
+
body: {};
|
|
3946
4942
|
params: {
|
|
3947
4943
|
orderId: string;
|
|
3948
4944
|
};
|
|
3949
|
-
query:
|
|
3950
|
-
headers:
|
|
4945
|
+
query: {};
|
|
4946
|
+
headers: {};
|
|
3951
4947
|
response: {
|
|
3952
4948
|
200: {
|
|
3953
4949
|
id: string;
|
|
@@ -4002,8 +4998,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4002
4998
|
content: string;
|
|
4003
4999
|
};
|
|
4004
5000
|
params: {};
|
|
4005
|
-
query:
|
|
4006
|
-
headers:
|
|
5001
|
+
query: {};
|
|
5002
|
+
headers: {};
|
|
4007
5003
|
response: {
|
|
4008
5004
|
200: {
|
|
4009
5005
|
type: "system" | "transaction" | "activity" | "security";
|
|
@@ -4034,7 +5030,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4034
5030
|
} & {
|
|
4035
5031
|
notifications: {
|
|
4036
5032
|
get: {
|
|
4037
|
-
body:
|
|
5033
|
+
body: {};
|
|
4038
5034
|
params: {};
|
|
4039
5035
|
query: {
|
|
4040
5036
|
type?: "system" | "transaction" | "activity" | "security" | undefined;
|
|
@@ -4044,7 +5040,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4044
5040
|
pageSize?: number | undefined;
|
|
4045
5041
|
pageIndex?: number | undefined;
|
|
4046
5042
|
};
|
|
4047
|
-
headers:
|
|
5043
|
+
headers: {};
|
|
4048
5044
|
response: {
|
|
4049
5045
|
200: {
|
|
4050
5046
|
data: {
|
|
@@ -4089,10 +5085,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4089
5085
|
notifications: {
|
|
4090
5086
|
stats: {
|
|
4091
5087
|
get: {
|
|
4092
|
-
body:
|
|
5088
|
+
body: {};
|
|
4093
5089
|
params: {};
|
|
4094
|
-
query:
|
|
4095
|
-
headers:
|
|
5090
|
+
query: {};
|
|
5091
|
+
headers: {};
|
|
4096
5092
|
response: {
|
|
4097
5093
|
200: {
|
|
4098
5094
|
totalSent: number;
|
|
@@ -4289,7 +5285,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4289
5285
|
referrals: {
|
|
4290
5286
|
summary: {
|
|
4291
5287
|
get: {
|
|
4292
|
-
body:
|
|
5288
|
+
body: {};
|
|
4293
5289
|
params: {};
|
|
4294
5290
|
query: {
|
|
4295
5291
|
limit?: number | undefined;
|
|
@@ -4299,7 +5295,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4299
5295
|
maxDepth?: number | undefined;
|
|
4300
5296
|
referralCode: string;
|
|
4301
5297
|
};
|
|
4302
|
-
headers:
|
|
5298
|
+
headers: {};
|
|
4303
5299
|
response: {
|
|
4304
5300
|
200: {
|
|
4305
5301
|
referredBy?: string | undefined;
|
|
@@ -4329,7 +5325,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4329
5325
|
referrals: {
|
|
4330
5326
|
members: {
|
|
4331
5327
|
get: {
|
|
4332
|
-
body:
|
|
5328
|
+
body: {};
|
|
4333
5329
|
params: {};
|
|
4334
5330
|
query: {
|
|
4335
5331
|
limit?: number | undefined;
|
|
@@ -4339,7 +5335,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4339
5335
|
maxDepth?: number | undefined;
|
|
4340
5336
|
referralCode: string;
|
|
4341
5337
|
};
|
|
4342
|
-
headers:
|
|
5338
|
+
headers: {};
|
|
4343
5339
|
response: {
|
|
4344
5340
|
200: {
|
|
4345
5341
|
data: {
|
|
@@ -4354,7 +5350,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4354
5350
|
twoFactorEnabled: boolean | null;
|
|
4355
5351
|
username: string | null;
|
|
4356
5352
|
displayUsername: string | null;
|
|
4357
|
-
isAnonymous: boolean | null;
|
|
4358
5353
|
phoneNumber: string | null;
|
|
4359
5354
|
phoneNumberVerified: boolean | null;
|
|
4360
5355
|
role: string | null;
|
|
@@ -4402,8 +5397,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4402
5397
|
commissionRate: string;
|
|
4403
5398
|
};
|
|
4404
5399
|
params: {};
|
|
4405
|
-
query:
|
|
4406
|
-
headers:
|
|
5400
|
+
query: {};
|
|
5401
|
+
headers: {};
|
|
4407
5402
|
response: {
|
|
4408
5403
|
200: {
|
|
4409
5404
|
id: string;
|
|
@@ -4431,7 +5426,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4431
5426
|
referrals: {
|
|
4432
5427
|
"depth-configs": {
|
|
4433
5428
|
get: {
|
|
4434
|
-
body:
|
|
5429
|
+
body: {};
|
|
4435
5430
|
params: {};
|
|
4436
5431
|
query: {
|
|
4437
5432
|
depth?: number | undefined;
|
|
@@ -4440,7 +5435,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4440
5435
|
pageSize?: number | undefined;
|
|
4441
5436
|
pageIndex?: number | undefined;
|
|
4442
5437
|
};
|
|
4443
|
-
headers:
|
|
5438
|
+
headers: {};
|
|
4444
5439
|
response: {
|
|
4445
5440
|
200: {
|
|
4446
5441
|
data: {
|
|
@@ -4478,12 +5473,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4478
5473
|
"depth-configs": {
|
|
4479
5474
|
":id": {
|
|
4480
5475
|
get: {
|
|
4481
|
-
body:
|
|
5476
|
+
body: {};
|
|
4482
5477
|
params: {
|
|
4483
5478
|
id: string;
|
|
4484
5479
|
};
|
|
4485
|
-
query:
|
|
4486
|
-
headers:
|
|
5480
|
+
query: {};
|
|
5481
|
+
headers: {};
|
|
4487
5482
|
response: {
|
|
4488
5483
|
200: {
|
|
4489
5484
|
id: string;
|
|
@@ -4520,8 +5515,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4520
5515
|
params: {
|
|
4521
5516
|
id: string;
|
|
4522
5517
|
};
|
|
4523
|
-
query:
|
|
4524
|
-
headers:
|
|
5518
|
+
query: {};
|
|
5519
|
+
headers: {};
|
|
4525
5520
|
response: {
|
|
4526
5521
|
200: {
|
|
4527
5522
|
id: string;
|
|
@@ -4551,12 +5546,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4551
5546
|
"depth-configs": {
|
|
4552
5547
|
":id": {
|
|
4553
5548
|
delete: {
|
|
4554
|
-
body:
|
|
5549
|
+
body: {};
|
|
4555
5550
|
params: {
|
|
4556
5551
|
id: string;
|
|
4557
5552
|
};
|
|
4558
|
-
query:
|
|
4559
|
-
headers:
|
|
5553
|
+
query: {};
|
|
5554
|
+
headers: {};
|
|
4560
5555
|
response: {
|
|
4561
5556
|
200: {
|
|
4562
5557
|
success: boolean;
|
|
@@ -4585,12 +5580,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4585
5580
|
team: {
|
|
4586
5581
|
summary: {
|
|
4587
5582
|
get: {
|
|
4588
|
-
body:
|
|
5583
|
+
body: {};
|
|
4589
5584
|
params: {};
|
|
4590
5585
|
query: {
|
|
4591
5586
|
referralCode: string;
|
|
4592
5587
|
};
|
|
4593
|
-
headers:
|
|
5588
|
+
headers: {};
|
|
4594
5589
|
response: {
|
|
4595
5590
|
200: {
|
|
4596
5591
|
userId: string;
|
|
@@ -4619,7 +5614,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4619
5614
|
team: {
|
|
4620
5615
|
members: {
|
|
4621
5616
|
get: {
|
|
4622
|
-
body:
|
|
5617
|
+
body: {};
|
|
4623
5618
|
params: {};
|
|
4624
5619
|
query: {
|
|
4625
5620
|
depth?: number | undefined;
|
|
@@ -4629,7 +5624,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4629
5624
|
pageIndex?: number | undefined;
|
|
4630
5625
|
referralCode: string;
|
|
4631
5626
|
};
|
|
4632
|
-
headers:
|
|
5627
|
+
headers: {};
|
|
4633
5628
|
response: {
|
|
4634
5629
|
200: {
|
|
4635
5630
|
data: {
|
|
@@ -4650,7 +5645,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4650
5645
|
twoFactorEnabled: boolean | null;
|
|
4651
5646
|
username: string | null;
|
|
4652
5647
|
displayUsername: string | null;
|
|
4653
|
-
isAnonymous: boolean | null;
|
|
4654
5648
|
phoneNumber: string | null;
|
|
4655
5649
|
phoneNumberVerified: boolean | null;
|
|
4656
5650
|
role: string | null;
|
|
@@ -4697,7 +5691,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4697
5691
|
} & {
|
|
4698
5692
|
transfer: {
|
|
4699
5693
|
get: {
|
|
4700
|
-
body:
|
|
5694
|
+
body: {};
|
|
4701
5695
|
params: {};
|
|
4702
5696
|
query: {
|
|
4703
5697
|
limit?: number | undefined;
|
|
@@ -4705,7 +5699,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4705
5699
|
pageSize?: number | undefined;
|
|
4706
5700
|
pageIndex?: number | undefined;
|
|
4707
5701
|
};
|
|
4708
|
-
headers:
|
|
5702
|
+
headers: {};
|
|
4709
5703
|
response: {
|
|
4710
5704
|
200: {
|
|
4711
5705
|
data: {
|
|
@@ -4768,8 +5762,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4768
5762
|
minBaseAmount: string;
|
|
4769
5763
|
};
|
|
4770
5764
|
params: {};
|
|
4771
|
-
query:
|
|
4772
|
-
headers:
|
|
5765
|
+
query: {};
|
|
5766
|
+
headers: {};
|
|
4773
5767
|
response: {
|
|
4774
5768
|
200: {
|
|
4775
5769
|
id: string;
|
|
@@ -4829,8 +5823,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4829
5823
|
params: {
|
|
4830
5824
|
id: string;
|
|
4831
5825
|
};
|
|
4832
|
-
query:
|
|
4833
|
-
headers:
|
|
5826
|
+
query: {};
|
|
5827
|
+
headers: {};
|
|
4834
5828
|
response: {
|
|
4835
5829
|
200: {
|
|
4836
5830
|
id: string;
|
|
@@ -4873,12 +5867,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4873
5867
|
":id": {
|
|
4874
5868
|
activate: {
|
|
4875
5869
|
post: {
|
|
4876
|
-
body:
|
|
5870
|
+
body: {};
|
|
4877
5871
|
params: {
|
|
4878
5872
|
id: string;
|
|
4879
5873
|
};
|
|
4880
|
-
query:
|
|
4881
|
-
headers:
|
|
5874
|
+
query: {};
|
|
5875
|
+
headers: {};
|
|
4882
5876
|
response: {
|
|
4883
5877
|
200: {
|
|
4884
5878
|
createdAt: Date;
|
|
@@ -4922,12 +5916,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4922
5916
|
":id": {
|
|
4923
5917
|
pause: {
|
|
4924
5918
|
post: {
|
|
4925
|
-
body:
|
|
5919
|
+
body: {};
|
|
4926
5920
|
params: {
|
|
4927
5921
|
id: string;
|
|
4928
5922
|
};
|
|
4929
|
-
query:
|
|
4930
|
-
headers:
|
|
5923
|
+
query: {};
|
|
5924
|
+
headers: {};
|
|
4931
5925
|
response: {
|
|
4932
5926
|
200: {
|
|
4933
5927
|
createdAt: Date;
|
|
@@ -4971,12 +5965,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
4971
5965
|
":id": {
|
|
4972
5966
|
end: {
|
|
4973
5967
|
post: {
|
|
4974
|
-
body:
|
|
5968
|
+
body: {};
|
|
4975
5969
|
params: {
|
|
4976
5970
|
id: string;
|
|
4977
5971
|
};
|
|
4978
|
-
query:
|
|
4979
|
-
headers:
|
|
5972
|
+
query: {};
|
|
5973
|
+
headers: {};
|
|
4980
5974
|
response: {
|
|
4981
5975
|
200: {
|
|
4982
5976
|
createdAt: Date;
|
|
@@ -5018,7 +6012,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5018
6012
|
trade_market: {
|
|
5019
6013
|
markets: {
|
|
5020
6014
|
get: {
|
|
5021
|
-
body:
|
|
6015
|
+
body: {};
|
|
5022
6016
|
params: {};
|
|
5023
6017
|
query: {
|
|
5024
6018
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -5027,7 +6021,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5027
6021
|
pageSize?: number | undefined;
|
|
5028
6022
|
pageIndex?: number | undefined;
|
|
5029
6023
|
};
|
|
5030
|
-
headers:
|
|
6024
|
+
headers: {};
|
|
5031
6025
|
response: {
|
|
5032
6026
|
200: {
|
|
5033
6027
|
data: {
|
|
@@ -5076,7 +6070,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5076
6070
|
trade_market: {
|
|
5077
6071
|
orders: {
|
|
5078
6072
|
get: {
|
|
5079
|
-
body:
|
|
6073
|
+
body: {};
|
|
5080
6074
|
params: {};
|
|
5081
6075
|
query: {
|
|
5082
6076
|
userId?: string | undefined;
|
|
@@ -5088,7 +6082,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5088
6082
|
pageSize?: number | undefined;
|
|
5089
6083
|
pageIndex?: number | undefined;
|
|
5090
6084
|
};
|
|
5091
|
-
headers:
|
|
6085
|
+
headers: {};
|
|
5092
6086
|
response: {
|
|
5093
6087
|
200: {
|
|
5094
6088
|
data: {
|
|
@@ -5341,8 +6335,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5341
6335
|
content: string;
|
|
5342
6336
|
};
|
|
5343
6337
|
params: {};
|
|
5344
|
-
query:
|
|
5345
|
-
headers:
|
|
6338
|
+
query: {};
|
|
6339
|
+
headers: {};
|
|
5346
6340
|
response: {
|
|
5347
6341
|
422: {
|
|
5348
6342
|
type: "validation";
|
|
@@ -5361,7 +6355,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5361
6355
|
} & {
|
|
5362
6356
|
news: {
|
|
5363
6357
|
get: {
|
|
5364
|
-
body:
|
|
6358
|
+
body: {};
|
|
5365
6359
|
params: {};
|
|
5366
6360
|
query: {
|
|
5367
6361
|
status?: "archived" | "draft" | "published" | undefined;
|
|
@@ -5373,7 +6367,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5373
6367
|
pageSize?: number | undefined;
|
|
5374
6368
|
pageIndex?: number | undefined;
|
|
5375
6369
|
};
|
|
5376
|
-
headers:
|
|
6370
|
+
headers: {};
|
|
5377
6371
|
response: {
|
|
5378
6372
|
200: {
|
|
5379
6373
|
data: {
|
|
@@ -5437,12 +6431,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5437
6431
|
news: {
|
|
5438
6432
|
":id": {
|
|
5439
6433
|
get: {
|
|
5440
|
-
body:
|
|
6434
|
+
body: {};
|
|
5441
6435
|
params: {
|
|
5442
6436
|
id: string;
|
|
5443
6437
|
};
|
|
5444
|
-
query:
|
|
5445
|
-
headers:
|
|
6438
|
+
query: {};
|
|
6439
|
+
headers: {};
|
|
5446
6440
|
response: {
|
|
5447
6441
|
200: {
|
|
5448
6442
|
id: string;
|
|
@@ -5551,8 +6545,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5551
6545
|
params: {
|
|
5552
6546
|
id: string;
|
|
5553
6547
|
};
|
|
5554
|
-
query:
|
|
5555
|
-
headers:
|
|
6548
|
+
query: {};
|
|
6549
|
+
headers: {};
|
|
5556
6550
|
response: {
|
|
5557
6551
|
422: {
|
|
5558
6552
|
type: "validation";
|
|
@@ -5573,12 +6567,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5573
6567
|
news: {
|
|
5574
6568
|
":id": {
|
|
5575
6569
|
delete: {
|
|
5576
|
-
body:
|
|
6570
|
+
body: {};
|
|
5577
6571
|
params: {
|
|
5578
6572
|
id: string;
|
|
5579
6573
|
};
|
|
5580
|
-
query:
|
|
5581
|
-
headers:
|
|
6574
|
+
query: {};
|
|
6575
|
+
headers: {};
|
|
5582
6576
|
response: {
|
|
5583
6577
|
200: {
|
|
5584
6578
|
success: boolean;
|
|
@@ -5610,8 +6604,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5610
6604
|
params: {
|
|
5611
6605
|
id: string;
|
|
5612
6606
|
};
|
|
5613
|
-
query:
|
|
5614
|
-
headers:
|
|
6607
|
+
query: {};
|
|
6608
|
+
headers: {};
|
|
5615
6609
|
response: {
|
|
5616
6610
|
422: {
|
|
5617
6611
|
type: "validation";
|
|
@@ -5640,8 +6634,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5640
6634
|
params: {
|
|
5641
6635
|
id: string;
|
|
5642
6636
|
};
|
|
5643
|
-
query:
|
|
5644
|
-
headers:
|
|
6637
|
+
query: {};
|
|
6638
|
+
headers: {};
|
|
5645
6639
|
response: {
|
|
5646
6640
|
422: {
|
|
5647
6641
|
type: "validation";
|
|
@@ -5663,10 +6657,10 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5663
6657
|
news: {
|
|
5664
6658
|
stats: {
|
|
5665
6659
|
get: {
|
|
5666
|
-
body:
|
|
6660
|
+
body: {};
|
|
5667
6661
|
params: {};
|
|
5668
|
-
query:
|
|
5669
|
-
headers:
|
|
6662
|
+
query: {};
|
|
6663
|
+
headers: {};
|
|
5670
6664
|
response: {
|
|
5671
6665
|
200: {
|
|
5672
6666
|
total: number;
|
|
@@ -5694,8 +6688,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5694
6688
|
fileId: string;
|
|
5695
6689
|
};
|
|
5696
6690
|
params: {};
|
|
5697
|
-
query:
|
|
5698
|
-
headers:
|
|
6691
|
+
query: {};
|
|
6692
|
+
headers: {};
|
|
5699
6693
|
response: {
|
|
5700
6694
|
422: {
|
|
5701
6695
|
type: "validation";
|
|
@@ -5715,7 +6709,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5715
6709
|
} & {
|
|
5716
6710
|
file_storage: {
|
|
5717
6711
|
get: {
|
|
5718
|
-
body:
|
|
6712
|
+
body: {};
|
|
5719
6713
|
params: {};
|
|
5720
6714
|
query: {
|
|
5721
6715
|
businessType?: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment" | undefined;
|
|
@@ -5728,7 +6722,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5728
6722
|
pageSize?: number | undefined;
|
|
5729
6723
|
pageIndex?: number | undefined;
|
|
5730
6724
|
};
|
|
5731
|
-
headers:
|
|
6725
|
+
headers: {};
|
|
5732
6726
|
response: {
|
|
5733
6727
|
200: {
|
|
5734
6728
|
data: {
|
|
@@ -5799,12 +6793,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5799
6793
|
":id": {
|
|
5800
6794
|
permanent: {
|
|
5801
6795
|
delete: {
|
|
5802
|
-
body:
|
|
6796
|
+
body: {};
|
|
5803
6797
|
params: {
|
|
5804
6798
|
id: string;
|
|
5805
6799
|
};
|
|
5806
|
-
query:
|
|
5807
|
-
headers:
|
|
6800
|
+
query: {};
|
|
6801
|
+
headers: {};
|
|
5808
6802
|
response: {
|
|
5809
6803
|
200: {
|
|
5810
6804
|
success: boolean;
|
|
@@ -5850,8 +6844,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5850
6844
|
maturityYieldRate: string;
|
|
5851
6845
|
};
|
|
5852
6846
|
params: {};
|
|
5853
|
-
query:
|
|
5854
|
-
headers:
|
|
6847
|
+
query: {};
|
|
6848
|
+
headers: {};
|
|
5855
6849
|
response: {
|
|
5856
6850
|
200: {
|
|
5857
6851
|
id: string;
|
|
@@ -5911,8 +6905,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5911
6905
|
params: {
|
|
5912
6906
|
id: string;
|
|
5913
6907
|
};
|
|
5914
|
-
query:
|
|
5915
|
-
headers:
|
|
6908
|
+
query: {};
|
|
6909
|
+
headers: {};
|
|
5916
6910
|
response: {
|
|
5917
6911
|
200: {
|
|
5918
6912
|
createdAt: Date;
|
|
@@ -5955,12 +6949,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
5955
6949
|
":id": {
|
|
5956
6950
|
activate: {
|
|
5957
6951
|
post: {
|
|
5958
|
-
body:
|
|
6952
|
+
body: {};
|
|
5959
6953
|
params: {
|
|
5960
6954
|
id: string;
|
|
5961
6955
|
};
|
|
5962
|
-
query:
|
|
5963
|
-
headers:
|
|
6956
|
+
query: {};
|
|
6957
|
+
headers: {};
|
|
5964
6958
|
response: {
|
|
5965
6959
|
200: {
|
|
5966
6960
|
createdAt: Date;
|
|
@@ -6004,12 +6998,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6004
6998
|
":id": {
|
|
6005
6999
|
pause: {
|
|
6006
7000
|
post: {
|
|
6007
|
-
body:
|
|
7001
|
+
body: {};
|
|
6008
7002
|
params: {
|
|
6009
7003
|
id: string;
|
|
6010
7004
|
};
|
|
6011
|
-
query:
|
|
6012
|
-
headers:
|
|
7005
|
+
query: {};
|
|
7006
|
+
headers: {};
|
|
6013
7007
|
response: {
|
|
6014
7008
|
200: {
|
|
6015
7009
|
createdAt: Date;
|
|
@@ -6053,12 +7047,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6053
7047
|
":id": {
|
|
6054
7048
|
end: {
|
|
6055
7049
|
post: {
|
|
6056
|
-
body:
|
|
7050
|
+
body: {};
|
|
6057
7051
|
params: {
|
|
6058
7052
|
id: string;
|
|
6059
7053
|
};
|
|
6060
|
-
query:
|
|
6061
|
-
headers:
|
|
7054
|
+
query: {};
|
|
7055
|
+
headers: {};
|
|
6062
7056
|
response: {
|
|
6063
7057
|
200: {
|
|
6064
7058
|
createdAt: Date;
|
|
@@ -6100,7 +7094,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6100
7094
|
welfare_cycle: {
|
|
6101
7095
|
plans: {
|
|
6102
7096
|
get: {
|
|
6103
|
-
body:
|
|
7097
|
+
body: {};
|
|
6104
7098
|
params: {};
|
|
6105
7099
|
query: {
|
|
6106
7100
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
@@ -6109,7 +7103,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6109
7103
|
pageSize?: number | undefined;
|
|
6110
7104
|
pageIndex?: number | undefined;
|
|
6111
7105
|
};
|
|
6112
|
-
headers:
|
|
7106
|
+
headers: {};
|
|
6113
7107
|
response: {
|
|
6114
7108
|
200: {
|
|
6115
7109
|
data: {
|
|
@@ -6158,7 +7152,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6158
7152
|
welfare_cycle: {
|
|
6159
7153
|
subscriptions: {
|
|
6160
7154
|
get: {
|
|
6161
|
-
body:
|
|
7155
|
+
body: {};
|
|
6162
7156
|
params: {};
|
|
6163
7157
|
query: {
|
|
6164
7158
|
userId?: string | undefined;
|
|
@@ -6169,7 +7163,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6169
7163
|
pageSize?: number | undefined;
|
|
6170
7164
|
pageIndex?: number | undefined;
|
|
6171
7165
|
};
|
|
6172
|
-
headers:
|
|
7166
|
+
headers: {};
|
|
6173
7167
|
response: {
|
|
6174
7168
|
200: {
|
|
6175
7169
|
data: {
|
|
@@ -6225,7 +7219,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6225
7219
|
welfare_cycle: {
|
|
6226
7220
|
"daily-payouts": {
|
|
6227
7221
|
get: {
|
|
6228
|
-
body:
|
|
7222
|
+
body: {};
|
|
6229
7223
|
params: {};
|
|
6230
7224
|
query: {
|
|
6231
7225
|
userId?: string | undefined;
|
|
@@ -6236,7 +7230,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6236
7230
|
pageSize?: number | undefined;
|
|
6237
7231
|
pageIndex?: number | undefined;
|
|
6238
7232
|
};
|
|
6239
|
-
headers:
|
|
7233
|
+
headers: {};
|
|
6240
7234
|
response: {
|
|
6241
7235
|
200: {
|
|
6242
7236
|
data: {
|
|
@@ -6279,7 +7273,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6279
7273
|
welfare_cycle: {
|
|
6280
7274
|
"maturity-settlements": {
|
|
6281
7275
|
get: {
|
|
6282
|
-
body:
|
|
7276
|
+
body: {};
|
|
6283
7277
|
params: {};
|
|
6284
7278
|
query: {
|
|
6285
7279
|
userId?: string | undefined;
|
|
@@ -6290,7 +7284,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6290
7284
|
pageSize?: number | undefined;
|
|
6291
7285
|
pageIndex?: number | undefined;
|
|
6292
7286
|
};
|
|
6293
|
-
headers:
|
|
7287
|
+
headers: {};
|
|
6294
7288
|
response: {
|
|
6295
7289
|
200: {
|
|
6296
7290
|
data: {
|
|
@@ -6341,8 +7335,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6341
7335
|
subscriptionIds?: string[] | undefined;
|
|
6342
7336
|
};
|
|
6343
7337
|
params: {};
|
|
6344
|
-
query:
|
|
6345
|
-
headers:
|
|
7338
|
+
query: {};
|
|
7339
|
+
headers: {};
|
|
6346
7340
|
response: {
|
|
6347
7341
|
200: {
|
|
6348
7342
|
successCount: number;
|
|
@@ -6375,8 +7369,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6375
7369
|
subscriptionIds?: string[] | undefined;
|
|
6376
7370
|
};
|
|
6377
7371
|
params: {};
|
|
6378
|
-
query:
|
|
6379
|
-
headers:
|
|
7372
|
+
query: {};
|
|
7373
|
+
headers: {};
|
|
6380
7374
|
response: {
|
|
6381
7375
|
200: {
|
|
6382
7376
|
successCount: number;
|
|
@@ -6406,7 +7400,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6406
7400
|
kyc: {
|
|
6407
7401
|
methods: {
|
|
6408
7402
|
get: {
|
|
6409
|
-
body:
|
|
7403
|
+
body: {};
|
|
6410
7404
|
params: {};
|
|
6411
7405
|
query: {
|
|
6412
7406
|
userId?: string | undefined;
|
|
@@ -6417,7 +7411,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6417
7411
|
pageSize?: number | undefined;
|
|
6418
7412
|
pageIndex?: number | undefined;
|
|
6419
7413
|
};
|
|
6420
|
-
headers:
|
|
7414
|
+
headers: {};
|
|
6421
7415
|
response: {
|
|
6422
7416
|
200: {
|
|
6423
7417
|
data: {
|
|
@@ -6467,12 +7461,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6467
7461
|
methods: {
|
|
6468
7462
|
":id": {
|
|
6469
7463
|
get: {
|
|
6470
|
-
body:
|
|
7464
|
+
body: {};
|
|
6471
7465
|
params: {
|
|
6472
7466
|
id: string;
|
|
6473
7467
|
};
|
|
6474
|
-
query:
|
|
6475
|
-
headers:
|
|
7468
|
+
query: {};
|
|
7469
|
+
headers: {};
|
|
6476
7470
|
response: {
|
|
6477
7471
|
200: {
|
|
6478
7472
|
id: string;
|
|
@@ -6521,8 +7515,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6521
7515
|
params: {
|
|
6522
7516
|
id: string;
|
|
6523
7517
|
};
|
|
6524
|
-
query:
|
|
6525
|
-
headers:
|
|
7518
|
+
query: {};
|
|
7519
|
+
headers: {};
|
|
6526
7520
|
response: {
|
|
6527
7521
|
200: {
|
|
6528
7522
|
id: string;
|
|
@@ -6572,8 +7566,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6572
7566
|
params: {
|
|
6573
7567
|
id: string;
|
|
6574
7568
|
};
|
|
6575
|
-
query:
|
|
6576
|
-
headers:
|
|
7569
|
+
query: {};
|
|
7570
|
+
headers: {};
|
|
6577
7571
|
response: {
|
|
6578
7572
|
200: {
|
|
6579
7573
|
id: string;
|
|
@@ -6621,12 +7615,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6621
7615
|
"transaction-password": {
|
|
6622
7616
|
reset: {
|
|
6623
7617
|
post: {
|
|
6624
|
-
body:
|
|
7618
|
+
body: {};
|
|
6625
7619
|
params: {
|
|
6626
7620
|
userId: string;
|
|
6627
7621
|
};
|
|
6628
|
-
query:
|
|
6629
|
-
headers:
|
|
7622
|
+
query: {};
|
|
7623
|
+
headers: {};
|
|
6630
7624
|
response: {
|
|
6631
7625
|
200: {
|
|
6632
7626
|
password: string;
|
|
@@ -6656,12 +7650,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6656
7650
|
users: {
|
|
6657
7651
|
search: {
|
|
6658
7652
|
get: {
|
|
6659
|
-
body:
|
|
7653
|
+
body: {};
|
|
6660
7654
|
params: {};
|
|
6661
7655
|
query: {
|
|
6662
7656
|
keyword: string;
|
|
6663
7657
|
};
|
|
6664
|
-
headers:
|
|
7658
|
+
headers: {};
|
|
6665
7659
|
response: {
|
|
6666
7660
|
200: {
|
|
6667
7661
|
data: {
|
|
@@ -6675,7 +7669,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6675
7669
|
twoFactorEnabled: boolean | null;
|
|
6676
7670
|
username: string | null;
|
|
6677
7671
|
displayUsername: string | null;
|
|
6678
|
-
isAnonymous: boolean | null;
|
|
6679
7672
|
phoneNumber: string | null;
|
|
6680
7673
|
phoneNumberVerified: boolean | null;
|
|
6681
7674
|
role: string | null;
|
|
@@ -6709,7 +7702,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6709
7702
|
} & {
|
|
6710
7703
|
users: {
|
|
6711
7704
|
get: {
|
|
6712
|
-
body:
|
|
7705
|
+
body: {};
|
|
6713
7706
|
params: {};
|
|
6714
7707
|
query: {
|
|
6715
7708
|
email?: string | undefined;
|
|
@@ -6722,7 +7715,7 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6722
7715
|
pageSize?: number | undefined;
|
|
6723
7716
|
pageIndex?: number | undefined;
|
|
6724
7717
|
};
|
|
6725
|
-
headers:
|
|
7718
|
+
headers: {};
|
|
6726
7719
|
response: {
|
|
6727
7720
|
200: {
|
|
6728
7721
|
data: {
|
|
@@ -6770,7 +7763,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6770
7763
|
twoFactorEnabled: boolean | null;
|
|
6771
7764
|
username: string | null;
|
|
6772
7765
|
displayUsername: string | null;
|
|
6773
|
-
isAnonymous: boolean | null;
|
|
6774
7766
|
phoneNumber: string | null;
|
|
6775
7767
|
phoneNumberVerified: boolean | null;
|
|
6776
7768
|
role: string | null;
|
|
@@ -6805,12 +7797,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6805
7797
|
":userId": {
|
|
6806
7798
|
profile: {
|
|
6807
7799
|
get: {
|
|
6808
|
-
body:
|
|
7800
|
+
body: {};
|
|
6809
7801
|
params: {
|
|
6810
7802
|
userId: string;
|
|
6811
7803
|
};
|
|
6812
|
-
query:
|
|
6813
|
-
headers:
|
|
7804
|
+
query: {};
|
|
7805
|
+
headers: {};
|
|
6814
7806
|
response: {
|
|
6815
7807
|
200: {
|
|
6816
7808
|
userProfile?: {
|
|
@@ -6857,7 +7849,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6857
7849
|
twoFactorEnabled: boolean | null;
|
|
6858
7850
|
username: string | null;
|
|
6859
7851
|
displayUsername: string | null;
|
|
6860
|
-
isAnonymous: boolean | null;
|
|
6861
7852
|
phoneNumber: string | null;
|
|
6862
7853
|
phoneNumberVerified: boolean | null;
|
|
6863
7854
|
role: string | null;
|
|
@@ -6894,7 +7885,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6894
7885
|
twoFactorEnabled?: boolean | null | undefined;
|
|
6895
7886
|
username?: string | null | undefined;
|
|
6896
7887
|
displayUsername?: string | null | undefined;
|
|
6897
|
-
isAnonymous?: boolean | null | undefined;
|
|
6898
7888
|
phoneNumber?: string | null | undefined;
|
|
6899
7889
|
phoneNumberVerified?: boolean | null | undefined;
|
|
6900
7890
|
role?: string | null | undefined;
|
|
@@ -6914,8 +7904,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6914
7904
|
params: {
|
|
6915
7905
|
userId: string;
|
|
6916
7906
|
};
|
|
6917
|
-
query:
|
|
6918
|
-
headers:
|
|
7907
|
+
query: {};
|
|
7908
|
+
headers: {};
|
|
6919
7909
|
response: {
|
|
6920
7910
|
200: {
|
|
6921
7911
|
userProfile?: {
|
|
@@ -6962,7 +7952,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6962
7952
|
twoFactorEnabled: boolean | null;
|
|
6963
7953
|
username: string | null;
|
|
6964
7954
|
displayUsername: string | null;
|
|
6965
|
-
isAnonymous: boolean | null;
|
|
6966
7955
|
phoneNumber: string | null;
|
|
6967
7956
|
phoneNumberVerified: boolean | null;
|
|
6968
7957
|
role: string | null;
|
|
@@ -6992,12 +7981,12 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
6992
7981
|
password: {
|
|
6993
7982
|
reset: {
|
|
6994
7983
|
post: {
|
|
6995
|
-
body:
|
|
7984
|
+
body: {};
|
|
6996
7985
|
params: {
|
|
6997
7986
|
userId: string;
|
|
6998
7987
|
};
|
|
6999
|
-
query:
|
|
7000
|
-
headers:
|
|
7988
|
+
query: {};
|
|
7989
|
+
headers: {};
|
|
7001
7990
|
response: {
|
|
7002
7991
|
200: {
|
|
7003
7992
|
password: string;
|
|
@@ -7031,8 +8020,8 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7031
8020
|
params: {
|
|
7032
8021
|
userId: string;
|
|
7033
8022
|
};
|
|
7034
|
-
query:
|
|
7035
|
-
headers:
|
|
8023
|
+
query: {};
|
|
8024
|
+
headers: {};
|
|
7036
8025
|
response: {
|
|
7037
8026
|
200: {
|
|
7038
8027
|
success: boolean;
|
|
@@ -7071,11 +8060,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7071
8060
|
emailVerified: boolean;
|
|
7072
8061
|
name: string;
|
|
7073
8062
|
image?: string | null | undefined | undefined;
|
|
7074
|
-
phoneNumber?: string | null | undefined;
|
|
7075
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
7076
8063
|
twoFactorEnabled: boolean | null | undefined;
|
|
7077
8064
|
username?: string | null | undefined;
|
|
7078
8065
|
displayUsername?: string | null | undefined;
|
|
8066
|
+
phoneNumber?: string | null | undefined;
|
|
8067
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
7079
8068
|
banned: boolean | null | undefined;
|
|
7080
8069
|
role?: string | null | undefined;
|
|
7081
8070
|
banReason?: string | null | undefined;
|
|
@@ -7101,11 +8090,11 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7101
8090
|
emailVerified: boolean;
|
|
7102
8091
|
name: string;
|
|
7103
8092
|
image?: string | null | undefined | undefined;
|
|
7104
|
-
phoneNumber?: string | null | undefined;
|
|
7105
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
7106
8093
|
twoFactorEnabled: boolean | null | undefined;
|
|
7107
8094
|
username?: string | null | undefined;
|
|
7108
8095
|
displayUsername?: string | null | undefined;
|
|
8096
|
+
phoneNumber?: string | null | undefined;
|
|
8097
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
7109
8098
|
banned: boolean | null | undefined;
|
|
7110
8099
|
role?: string | null | undefined;
|
|
7111
8100
|
banReason?: string | null | undefined;
|
|
@@ -7127,9 +8116,6 @@ export declare const adminRouter: Elysia<"/admin", {
|
|
|
7127
8116
|
standaloneSchema: {};
|
|
7128
8117
|
response: {
|
|
7129
8118
|
401: "Unauthorized";
|
|
7130
|
-
} & {
|
|
7131
|
-
401: "Unauthorized";
|
|
7132
|
-
} & {
|
|
7133
8119
|
403: "Forbidden: Admins only";
|
|
7134
8120
|
};
|
|
7135
8121
|
} & {
|