@r2wa-org/eden 0.0.56 → 0.0.59
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 +10 -12
- package/dist/src/admin/admin/service.d.ts +0 -2
- package/dist/src/admin/index.d.ts +1043 -54
- package/dist/src/asset/admin/dto.schemas.d.ts +49 -26
- package/dist/src/asset/admin/router.d.ts +123 -20
- package/dist/src/asset/admin/service.d.ts +52 -4
- package/dist/src/asset/user/dto.schemas.d.ts +16 -98
- package/dist/src/asset/user/router.d.ts +69 -75
- package/dist/src/asset/user/service.d.ts +42 -42
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +459 -566
- package/dist/src/asset-convert-product/admin/router.d.ts +564 -22
- 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 +8 -8
- package/dist/src/asset-price/admin/dto.schemas.d.ts +99 -352
- package/dist/src/asset-price/admin/router.d.ts +125 -10
- package/dist/src/asset-price/admin/service.d.ts +157 -0
- package/dist/src/asset-price/errors/index.d.ts +3 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +3 -0
- package/dist/src/asset-price/internal/service.d.ts +1 -0
- package/dist/src/asset-price/user/dto.schemas.d.ts +7 -3
- package/dist/src/asset-price/user/router.d.ts +51 -10
- package/dist/src/asset-price/user/service.d.ts +13 -1
- package/dist/src/asset-type/admin/dto.schemas.d.ts +291 -33
- package/dist/src/asset-type/admin/router.d.ts +60 -18
- 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 +10 -10
- 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 -10
- package/dist/src/bank-account/user/router.d.ts +6 -6
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -18
- package/dist/src/check-in/admin/router.d.ts +10 -11
- 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 +8 -9
- package/dist/src/check-in/user/service.d.ts +0 -1
- package/dist/src/deposit/admin/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/admin/router.d.ts +10 -11
- package/dist/src/deposit/admin/service.d.ts +0 -2
- package/dist/src/deposit/user/dto.schemas.d.ts +8 -42
- package/dist/src/deposit/user/router.d.ts +8 -9
- package/dist/src/deposit/user/service.d.ts +0 -2
- package/dist/src/dynamic-env/admin.router.d.ts +10 -10
- package/dist/src/env/server.d.ts +1 -1
- package/dist/src/file-storage/admin/router.d.ts +10 -10
- package/dist/src/file-storage/share/router.d.ts +8 -8
- package/dist/src/file-storage/user/router.d.ts +8 -8
- package/dist/src/index.d.ts +1578 -352
- package/dist/src/ledger/admin/router.d.ts +10 -10
- package/dist/src/ledger/user/router.d.ts +8 -8
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +2 -2
- package/dist/src/ledger-account/admin/router.d.ts +11 -11
- package/dist/src/ledger-account/user/dto.schemas.d.ts +39 -193
- package/dist/src/ledger-account/user/router.d.ts +51 -50
- package/dist/src/ledger-account/user/service.d.ts +41 -41
- package/dist/src/ledger-account-import/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-transfer/user/router.d.ts +8 -8
- package/dist/src/ledger-account-type/admin/router.d.ts +10 -10
- package/dist/src/ledger-account-type/user/router.d.ts +56 -8
- package/dist/src/ledger-account-type/user/service.d.ts +25 -0
- package/dist/src/market-data/admin/router.d.ts +10 -10
- package/dist/src/market-data/user/router.d.ts +8 -8
- package/dist/src/market-pricing/admin/router.d.ts +10 -10
- package/dist/src/news/admin/dto.schemas.d.ts +6 -6
- package/dist/src/news/admin/router.d.ts +10 -10
- package/dist/src/news/user/dto.schemas.d.ts +12 -12
- package/dist/src/news/user/router.d.ts +8 -8
- package/dist/src/news-category/user/router.d.ts +6 -6
- package/dist/src/notification/admin/dto.schemas.d.ts +3 -3
- package/dist/src/notification/admin/router.d.ts +10 -10
- package/dist/src/notification/user/dto.schemas.d.ts +2 -2
- package/dist/src/notification/user/router.d.ts +8 -8
- package/dist/src/portfolio/index.d.ts +2 -0
- package/dist/src/portfolio/internal/index.d.ts +1 -0
- package/dist/src/portfolio/internal/service.d.ts +5 -0
- package/dist/src/portfolio/user/dto.schemas.d.ts +352 -0
- package/dist/src/portfolio/user/index.d.ts +3 -0
- package/dist/src/portfolio/user/router.d.ts +659 -0
- package/dist/src/portfolio/user/service.d.ts +143 -0
- package/dist/src/receipt-method/admin/router.d.ts +10 -10
- 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 +10 -11
- package/dist/src/referral/user/dto.schemas.d.ts +2 -36
- package/dist/src/referral/user/router.d.ts +8 -9
- package/dist/src/referral-depth-config/admin/router.d.ts +10 -10
- package/dist/src/server-test/index.d.ts +6 -6
- package/dist/src/shipping-address/admin/router.d.ts +10 -10
- 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 +10 -11
- package/dist/src/team/user/dto.schemas.d.ts +5 -90
- package/dist/src/team/user/router.d.ts +8 -11
- package/dist/src/trade-market/admin/dto.schemas.d.ts +1 -1
- package/dist/src/trade-market/admin/router.d.ts +10 -10
- package/dist/src/trade-market/user/router.d.ts +8 -8
- package/dist/src/transfer/admin/router.d.ts +10 -10
- package/dist/src/transfer/admin/service.d.ts +0 -2
- package/dist/src/transfer/user/router.d.ts +8 -8
- 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 +10 -15
- 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 +10 -10
- package/dist/src/user-kyc/user/router.d.ts +8 -8
- package/dist/src/user-security/admin/router.d.ts +10 -10
- package/dist/src/user-security/user/router.d.ts +8 -8
- package/dist/src/wallet/admin/dto.schemas.d.ts +35 -3
- package/dist/src/wallet/admin/router.d.ts +75 -10
- 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 +6 -66
- package/dist/src/wallet/user/router.d.ts +9 -69
- package/dist/src/wallet/user/service.d.ts +20 -46
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +4 -0
- package/dist/src/wallet-type/admin/router.d.ts +143 -10
- 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 +8 -8
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +3 -3
- package/dist/src/welfare-cycle/admin/router.d.ts +10 -10
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +51 -56
- package/dist/src/welfare-cycle/user/service.d.ts +1 -1
- package/dist/src/withdraw/admin/router.d.ts +10 -10
- package/dist/src/withdraw/user/dto.schemas.d.ts +7 -0
- package/dist/src/withdraw/user/router.d.ts +55 -8
- package/dist/src/withdraw/user/service.d.ts +20 -1
- package/package.json +1 -1
|
@@ -41,7 +41,7 @@ export declare const userKycAdminRouter: Elysia<"/kyc", {
|
|
|
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 userKycAdminRouter: Elysia<"/kyc", {
|
|
|
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 userKycAdminRouter: Elysia<"/kyc", {
|
|
|
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 userKycAdminRouter: Elysia<"/kyc", {
|
|
|
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;
|
|
@@ -605,11 +605,11 @@ export declare const userKycAdminRouter: Elysia<"/kyc", {
|
|
|
605
605
|
emailVerified: boolean;
|
|
606
606
|
name: string;
|
|
607
607
|
image?: string | null | undefined | undefined;
|
|
608
|
-
phoneNumber?: string | null | undefined;
|
|
609
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
610
608
|
twoFactorEnabled: boolean | null | undefined;
|
|
611
609
|
username?: string | null | undefined;
|
|
612
610
|
displayUsername?: string | null | undefined;
|
|
611
|
+
phoneNumber?: string | null | undefined;
|
|
612
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
613
613
|
banned: boolean | null | undefined;
|
|
614
614
|
role?: string | null | undefined;
|
|
615
615
|
banReason?: string | null | undefined;
|
|
@@ -635,11 +635,11 @@ export declare const userKycAdminRouter: Elysia<"/kyc", {
|
|
|
635
635
|
emailVerified: boolean;
|
|
636
636
|
name: string;
|
|
637
637
|
image?: string | null | undefined | undefined;
|
|
638
|
-
phoneNumber?: string | null | undefined;
|
|
639
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
640
638
|
twoFactorEnabled: boolean | null | undefined;
|
|
641
639
|
username?: string | null | undefined;
|
|
642
640
|
displayUsername?: string | null | undefined;
|
|
641
|
+
phoneNumber?: string | null | undefined;
|
|
642
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
643
643
|
banned: boolean | null | undefined;
|
|
644
644
|
role?: string | null | undefined;
|
|
645
645
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const userKycRouter: Elysia<"/kyc", {
|
|
|
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 userKycRouter: Elysia<"/kyc", {
|
|
|
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 userKycRouter: Elysia<"/kyc", {
|
|
|
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 userKycRouter: Elysia<"/kyc", {
|
|
|
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;
|
|
@@ -572,11 +572,11 @@ export declare const userKycRouter: Elysia<"/kyc", {
|
|
|
572
572
|
emailVerified: boolean;
|
|
573
573
|
name: string;
|
|
574
574
|
image?: string | null | undefined | undefined;
|
|
575
|
-
phoneNumber?: string | null | undefined;
|
|
576
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
577
575
|
twoFactorEnabled: boolean | null | undefined;
|
|
578
576
|
username?: string | null | undefined;
|
|
579
577
|
displayUsername?: string | null | undefined;
|
|
578
|
+
phoneNumber?: string | null | undefined;
|
|
579
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
580
580
|
banned: boolean | null | undefined;
|
|
581
581
|
role?: string | null | undefined;
|
|
582
582
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
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 userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
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 userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
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 userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
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;
|
|
@@ -429,11 +429,11 @@ export declare const userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
429
429
|
emailVerified: boolean;
|
|
430
430
|
name: string;
|
|
431
431
|
image?: string | null | undefined | undefined;
|
|
432
|
-
phoneNumber?: string | null | undefined;
|
|
433
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
434
432
|
twoFactorEnabled: boolean | null | undefined;
|
|
435
433
|
username?: string | null | undefined;
|
|
436
434
|
displayUsername?: string | null | undefined;
|
|
435
|
+
phoneNumber?: string | null | undefined;
|
|
436
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
437
437
|
banned: boolean | null | undefined;
|
|
438
438
|
role?: string | null | undefined;
|
|
439
439
|
banReason?: string | null | undefined;
|
|
@@ -459,11 +459,11 @@ export declare const userSecurityAdminRouter: Elysia<"/user_security", {
|
|
|
459
459
|
emailVerified: boolean;
|
|
460
460
|
name: string;
|
|
461
461
|
image?: string | null | undefined | undefined;
|
|
462
|
-
phoneNumber?: string | null | undefined;
|
|
463
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
464
462
|
twoFactorEnabled: boolean | null | undefined;
|
|
465
463
|
username?: string | null | undefined;
|
|
466
464
|
displayUsername?: string | null | undefined;
|
|
465
|
+
phoneNumber?: string | null | undefined;
|
|
466
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
467
467
|
banned: boolean | null | undefined;
|
|
468
468
|
role?: string | null | undefined;
|
|
469
469
|
banReason?: string | null | undefined;
|
|
@@ -41,7 +41,7 @@ export declare const userSecurityRouter: Elysia<"/user", {
|
|
|
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 userSecurityRouter: Elysia<"/user", {
|
|
|
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 userSecurityRouter: Elysia<"/user", {
|
|
|
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 userSecurityRouter: Elysia<"/user", {
|
|
|
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;
|
|
@@ -517,11 +517,11 @@ export declare const userSecurityRouter: Elysia<"/user", {
|
|
|
517
517
|
emailVerified: boolean;
|
|
518
518
|
name: string;
|
|
519
519
|
image?: string | null | undefined | undefined;
|
|
520
|
-
phoneNumber?: string | null | undefined;
|
|
521
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
522
520
|
twoFactorEnabled: boolean | null | undefined;
|
|
523
521
|
username?: string | null | undefined;
|
|
524
522
|
displayUsername?: string | null | undefined;
|
|
523
|
+
phoneNumber?: string | null | undefined;
|
|
524
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
525
525
|
banned: boolean | null | undefined;
|
|
526
526
|
role?: string | null | undefined;
|
|
527
527
|
banReason?: string | null | undefined;
|
|
@@ -1,12 +1,34 @@
|
|
|
1
|
+
export declare const walletAdminIdParamsSchema: import("@sinclair/typebox").TObject<{
|
|
2
|
+
id: import("@sinclair/typebox").TString;
|
|
3
|
+
}>;
|
|
4
|
+
export type WalletAdminIdParamsType = typeof walletAdminIdParamsSchema.static;
|
|
5
|
+
export declare const walletAdminUserSnapshotSchema: import("@sinclair/typebox").TObject<{
|
|
6
|
+
email: import("@sinclair/typebox").TString;
|
|
7
|
+
id: import("@sinclair/typebox").TString;
|
|
8
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
9
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
10
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
11
|
+
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
12
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
13
|
+
}>;
|
|
1
14
|
export declare const walletAdminResponseSchema: import("@sinclair/typebox").TObject<{
|
|
2
15
|
createdAt: import("@sinclair/typebox").TDate;
|
|
3
16
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
4
17
|
id: import("@sinclair/typebox").TString;
|
|
5
18
|
name: import("@sinclair/typebox").TString;
|
|
6
|
-
userId: import("@sinclair/typebox").TString;
|
|
7
19
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
20
|
+
userId: import("@sinclair/typebox").TString;
|
|
8
21
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
9
22
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
23
|
+
userInfo: import("@sinclair/typebox").TObject<{
|
|
24
|
+
email: import("@sinclair/typebox").TString;
|
|
25
|
+
id: import("@sinclair/typebox").TString;
|
|
26
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
27
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
28
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
29
|
+
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
30
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
31
|
+
}>;
|
|
10
32
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
11
33
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
12
34
|
name: "created_at";
|
|
@@ -148,8 +170,9 @@ export declare const walletAdminResponseSchema: import("@sinclair/typebox").TObj
|
|
|
148
170
|
}>;
|
|
149
171
|
export type WalletAdminResponseType = typeof walletAdminResponseSchema.static;
|
|
150
172
|
export declare const walletAdminListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
151
|
-
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
152
173
|
isActive: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
|
174
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
175
|
+
walletId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
153
176
|
walletTypeKey: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
154
177
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
155
178
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
@@ -163,10 +186,19 @@ export declare const walletAdminListResponseSchema: import("@sinclair/typebox").
|
|
|
163
186
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
164
187
|
id: import("@sinclair/typebox").TString;
|
|
165
188
|
name: import("@sinclair/typebox").TString;
|
|
166
|
-
userId: import("@sinclair/typebox").TString;
|
|
167
189
|
isActive: import("@sinclair/typebox").TBoolean;
|
|
190
|
+
userId: import("@sinclair/typebox").TString;
|
|
168
191
|
walletTypeId: import("@sinclair/typebox").TString;
|
|
169
192
|
isPrimary: import("@sinclair/typebox").TBoolean;
|
|
193
|
+
userInfo: import("@sinclair/typebox").TObject<{
|
|
194
|
+
email: import("@sinclair/typebox").TString;
|
|
195
|
+
id: import("@sinclair/typebox").TString;
|
|
196
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
197
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
198
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
199
|
+
role: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
200
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
201
|
+
}>;
|
|
170
202
|
walletType: import("drizzle-typebox").BuildSchema<"select", {
|
|
171
203
|
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
172
204
|
name: "created_at";
|
|
@@ -41,7 +41,7 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
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 walletAdminRouter: Elysia<"/wallets", {
|
|
|
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 walletAdminRouter: Elysia<"/wallets", {
|
|
|
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 walletAdminRouter: Elysia<"/wallets", {
|
|
|
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;
|
|
@@ -391,6 +391,7 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
391
391
|
offset?: number | undefined;
|
|
392
392
|
pageSize?: number | undefined;
|
|
393
393
|
pageIndex?: number | undefined;
|
|
394
|
+
walletId?: string | undefined;
|
|
394
395
|
walletTypeKey?: string | undefined;
|
|
395
396
|
};
|
|
396
397
|
headers: {};
|
|
@@ -415,6 +416,15 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
415
416
|
sortOrder: number;
|
|
416
417
|
isSingleton: boolean;
|
|
417
418
|
};
|
|
419
|
+
userInfo: {
|
|
420
|
+
email: string;
|
|
421
|
+
id: string;
|
|
422
|
+
username: string | null;
|
|
423
|
+
displayUsername: string | null;
|
|
424
|
+
phoneNumber: string | null;
|
|
425
|
+
role: string | null;
|
|
426
|
+
banned: boolean | null;
|
|
427
|
+
};
|
|
418
428
|
}[];
|
|
419
429
|
pagination: {
|
|
420
430
|
total: number;
|
|
@@ -438,6 +448,61 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
438
448
|
};
|
|
439
449
|
};
|
|
440
450
|
};
|
|
451
|
+
} & {
|
|
452
|
+
wallets: {
|
|
453
|
+
":id": {
|
|
454
|
+
get: {
|
|
455
|
+
body: {};
|
|
456
|
+
params: {
|
|
457
|
+
id: string;
|
|
458
|
+
};
|
|
459
|
+
query: {};
|
|
460
|
+
headers: {};
|
|
461
|
+
response: {
|
|
462
|
+
200: {
|
|
463
|
+
id: string;
|
|
464
|
+
name: string;
|
|
465
|
+
createdAt: Date;
|
|
466
|
+
updatedAt: Date;
|
|
467
|
+
userId: string;
|
|
468
|
+
isActive: boolean;
|
|
469
|
+
walletTypeId: string;
|
|
470
|
+
isPrimary: boolean;
|
|
471
|
+
walletType: {
|
|
472
|
+
id: string;
|
|
473
|
+
name: string;
|
|
474
|
+
createdAt: Date;
|
|
475
|
+
updatedAt: Date;
|
|
476
|
+
key: string;
|
|
477
|
+
isActive: boolean;
|
|
478
|
+
sortOrder: number;
|
|
479
|
+
isSingleton: boolean;
|
|
480
|
+
};
|
|
481
|
+
userInfo: {
|
|
482
|
+
email: string;
|
|
483
|
+
id: string;
|
|
484
|
+
username: string | null;
|
|
485
|
+
displayUsername: string | null;
|
|
486
|
+
phoneNumber: string | null;
|
|
487
|
+
role: string | null;
|
|
488
|
+
banned: boolean | null;
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
422: {
|
|
492
|
+
type: "validation";
|
|
493
|
+
on: string;
|
|
494
|
+
summary?: string;
|
|
495
|
+
message?: string;
|
|
496
|
+
found?: unknown;
|
|
497
|
+
property?: string;
|
|
498
|
+
expected?: string;
|
|
499
|
+
};
|
|
500
|
+
401: "Unauthorized";
|
|
501
|
+
403: "Forbidden: Admins only";
|
|
502
|
+
};
|
|
503
|
+
};
|
|
504
|
+
};
|
|
505
|
+
};
|
|
441
506
|
}, {
|
|
442
507
|
derive: {};
|
|
443
508
|
resolve: {};
|
|
@@ -455,11 +520,11 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
455
520
|
emailVerified: boolean;
|
|
456
521
|
name: string;
|
|
457
522
|
image?: string | null | undefined | undefined;
|
|
458
|
-
phoneNumber?: string | null | undefined;
|
|
459
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
460
523
|
twoFactorEnabled: boolean | null | undefined;
|
|
461
524
|
username?: string | null | undefined;
|
|
462
525
|
displayUsername?: string | null | undefined;
|
|
526
|
+
phoneNumber?: string | null | undefined;
|
|
527
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
463
528
|
banned: boolean | null | undefined;
|
|
464
529
|
role?: string | null | undefined;
|
|
465
530
|
banReason?: string | null | undefined;
|
|
@@ -485,11 +550,11 @@ export declare const walletAdminRouter: Elysia<"/wallets", {
|
|
|
485
550
|
emailVerified: boolean;
|
|
486
551
|
name: string;
|
|
487
552
|
image?: string | null | undefined | undefined;
|
|
488
|
-
phoneNumber?: string | null | undefined;
|
|
489
|
-
phoneNumberVerified?: boolean | null | undefined;
|
|
490
553
|
twoFactorEnabled: boolean | null | undefined;
|
|
491
554
|
username?: string | null | undefined;
|
|
492
555
|
displayUsername?: string | null | undefined;
|
|
556
|
+
phoneNumber?: string | null | undefined;
|
|
557
|
+
phoneNumberVerified?: boolean | null | undefined;
|
|
493
558
|
banned: boolean | null | undefined;
|
|
494
559
|
role?: string | null | undefined;
|
|
495
560
|
banReason?: string | null | undefined;
|
|
@@ -3,25 +3,63 @@ import type { WalletAdminListQueryType } from "./dto.schemas";
|
|
|
3
3
|
export declare abstract class AdminWalletService extends InternalWalletService {
|
|
4
4
|
static listWallets(options?: WalletAdminListQueryType): Promise<{
|
|
5
5
|
items: {
|
|
6
|
+
userInfo: {
|
|
7
|
+
id: string;
|
|
8
|
+
username: string | null;
|
|
9
|
+
displayUsername: string | null;
|
|
10
|
+
email: string;
|
|
11
|
+
phoneNumber: string | null;
|
|
12
|
+
role: string | null;
|
|
13
|
+
banned: boolean | null;
|
|
14
|
+
};
|
|
6
15
|
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
createdAt: Date;
|
|
9
|
-
updatedAt: Date;
|
|
10
16
|
userId: string;
|
|
11
|
-
isActive: boolean;
|
|
12
17
|
walletTypeId: string;
|
|
18
|
+
name: string;
|
|
13
19
|
isPrimary: boolean;
|
|
20
|
+
isActive: boolean;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
14
23
|
walletType: {
|
|
15
24
|
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
updatedAt: Date;
|
|
19
25
|
key: string;
|
|
26
|
+
name: string;
|
|
27
|
+
isSingleton: boolean;
|
|
20
28
|
isActive: boolean;
|
|
21
29
|
sortOrder: number;
|
|
22
|
-
|
|
30
|
+
createdAt: Date;
|
|
31
|
+
updatedAt: Date;
|
|
23
32
|
};
|
|
24
33
|
}[];
|
|
25
34
|
total: number;
|
|
26
35
|
}>;
|
|
36
|
+
static getWalletById(walletId: string): Promise<{
|
|
37
|
+
userInfo: {
|
|
38
|
+
id: string;
|
|
39
|
+
username: string | null;
|
|
40
|
+
displayUsername: string | null;
|
|
41
|
+
email: string;
|
|
42
|
+
phoneNumber: string | null;
|
|
43
|
+
role: string | null;
|
|
44
|
+
banned: boolean | null;
|
|
45
|
+
};
|
|
46
|
+
id: string;
|
|
47
|
+
userId: string;
|
|
48
|
+
walletTypeId: string;
|
|
49
|
+
name: string;
|
|
50
|
+
isPrimary: boolean;
|
|
51
|
+
isActive: boolean;
|
|
52
|
+
createdAt: Date;
|
|
53
|
+
updatedAt: Date;
|
|
54
|
+
walletType: {
|
|
55
|
+
id: string;
|
|
56
|
+
key: string;
|
|
57
|
+
name: string;
|
|
58
|
+
isSingleton: boolean;
|
|
59
|
+
isActive: boolean;
|
|
60
|
+
sortOrder: number;
|
|
61
|
+
createdAt: Date;
|
|
62
|
+
updatedAt: Date;
|
|
63
|
+
};
|
|
64
|
+
}>;
|
|
27
65
|
}
|