@r2wa-org/eden 0.0.89 → 0.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/index.d.ts +2803 -2803
- package/dist/admin-user/admin/errors/index.d.ts +8 -8
- package/dist/admin-user/admin/router.d.ts +141 -141
- package/dist/admin-user/admin/service.d.ts +20 -20
- package/dist/app-version/admin/dto.schemas.d.ts +23 -23
- package/dist/app-version/admin/router.d.ts +160 -160
- package/dist/app-version/admin/service.d.ts +20 -20
- package/dist/app-version/db.schemas.d.ts +20 -20
- package/dist/app-version/index.d.ts +5 -0
- package/dist/app-version/schema.d.ts +11 -11
- package/dist/app-version/user/dto.schemas.d.ts +40 -0
- package/dist/app-version/user/router.d.ts +67 -0
- package/dist/app-version/user/service.d.ts +22 -0
- package/dist/asset/admin/dto.schemas.d.ts +70 -70
- package/dist/asset/admin/router.d.ts +215 -215
- package/dist/asset/admin/service.d.ts +66 -66
- package/dist/asset/db.schemas.d.ts +2 -2
- package/dist/asset/errors/index.d.ts +12 -12
- package/dist/asset/permissions.d.ts +1 -1
- package/dist/asset/schema.d.ts +2 -2
- package/dist/asset/user/dto.schemas.d.ts +31 -31
- package/dist/asset/user/router.d.ts +155 -155
- package/dist/asset/user/service.d.ts +33 -33
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +495 -495
- package/dist/asset-convert-product/admin/router.d.ts +598 -598
- package/dist/asset-convert-product/admin/service.d.ts +457 -457
- package/dist/asset-convert-product/db.schemas.d.ts +6 -6
- package/dist/asset-convert-product/errors/index.d.ts +23 -23
- package/dist/asset-convert-product/permissions.d.ts +2 -2
- package/dist/asset-convert-product/schema.d.ts +5 -5
- package/dist/asset-convert-product/user/dto.schemas.d.ts +127 -127
- package/dist/asset-convert-product/user/router.d.ts +209 -209
- package/dist/asset-convert-product/user/service.d.ts +186 -186
- package/dist/asset-price/admin/dto.schemas.d.ts +26 -26
- package/dist/asset-price/admin/router.d.ts +187 -187
- package/dist/asset-price/admin/service.d.ts +16 -16
- package/dist/asset-price/constants.d.ts +2 -2
- package/dist/asset-price/errors/index.d.ts +11 -11
- package/dist/asset-price/internal/service.d.ts +7 -7
- package/dist/asset-price/permissions.d.ts +2 -2
- package/dist/asset-price/schema.d.ts +1 -1
- package/dist/asset-price/user/dto.schemas.d.ts +4 -4
- package/dist/asset-price/user/router.d.ts +133 -133
- package/dist/asset-type/admin/dto.schemas.d.ts +4 -4
- package/dist/asset-type/admin/router.d.ts +155 -155
- package/dist/asset-type/admin/service.d.ts +16 -16
- package/dist/asset-type/errors/index.d.ts +9 -9
- package/dist/asset-type/permissions.d.ts +1 -1
- package/dist/asset-type/schema.d.ts +1 -1
- package/dist/asset-type/seed.d.ts +9 -9
- package/dist/asset-type/user/dto.schemas.d.ts +5 -5
- package/dist/asset-type/user/router.d.ts +130 -130
- package/dist/asset-type/user/service.d.ts +4 -4
- package/dist/auth/better-auth.d.ts +267 -300
- package/dist/auth/permissions.d.ts +216 -216
- package/dist/auth/roles.d.ts +665 -665
- package/dist/auth/router.d.ts +116 -116
- package/dist/auth/schema.d.ts +5 -5
- package/dist/bank-account/admin/dto.schemas.d.ts +75 -75
- package/dist/bank-account/admin/router.d.ts +241 -241
- package/dist/bank-account/admin/service.d.ts +112 -112
- package/dist/bank-account/db.schemas.d.ts +40 -40
- package/dist/bank-account/errors/index.d.ts +4 -4
- package/dist/bank-account/internal/service.d.ts +14 -14
- package/dist/bank-account/permissions.d.ts +3 -3
- package/dist/bank-account/schema.d.ts +22 -22
- package/dist/bank-account/user/dto.schemas.d.ts +38 -38
- package/dist/bank-account/user/router.d.ts +150 -150
- package/dist/bank-account/user/service.d.ts +36 -36
- package/dist/check-in/admin/dto.schemas.d.ts +11 -11
- package/dist/check-in/admin/router.d.ts +147 -147
- package/dist/check-in/admin/service.d.ts +20 -19
- package/dist/check-in/db.schemas.d.ts +248 -4
- package/dist/check-in/errors/index.d.ts +8 -2
- package/dist/check-in/errors/locales/zh.d.ts +3 -0
- package/dist/check-in/internal/service.d.ts +18 -18
- package/dist/check-in/permissions.d.ts +2 -2
- package/dist/check-in/schema.d.ts +135 -3
- package/dist/check-in/user/dto.schemas.d.ts +144 -15
- package/dist/check-in/user/router.d.ts +158 -182
- package/dist/check-in/user/service.d.ts +52 -28
- package/dist/db/columns.helpers.d.ts +1 -1
- package/dist/deposit/admin/dto.schemas.d.ts +40 -40
- package/dist/deposit/admin/router.d.ts +160 -160
- package/dist/deposit/admin/service.d.ts +46 -46
- package/dist/deposit/db.schemas.d.ts +2 -2
- package/dist/deposit/errors/index.d.ts +16 -16
- package/dist/deposit/permissions.d.ts +2 -2
- package/dist/deposit/schema.d.ts +2 -2
- package/dist/deposit/user/dto.schemas.d.ts +40 -40
- package/dist/deposit/user/router.d.ts +180 -180
- package/dist/deposit/user/service.d.ts +69 -69
- package/dist/dynamic-env/admin.router.d.ts +137 -137
- package/dist/dynamic-env/cache.d.ts +0 -6
- package/dist/dynamic-env/errors/index.d.ts +2 -2
- package/dist/dynamic-env/schema.d.ts +1 -1
- package/dist/env/server.d.ts +12 -12
- package/dist/error/index.d.ts +1 -1
- package/dist/external/dto.schemas.d.ts +2 -2
- package/dist/external/errors/index.d.ts +2 -2
- package/dist/external/router.d.ts +6 -6
- package/dist/external/service.d.ts +6 -6
- package/dist/file-storage/admin/dto.schemas.d.ts +106 -106
- package/dist/file-storage/admin/router.d.ts +183 -171
- package/dist/file-storage/admin/service.d.ts +27 -27
- package/dist/file-storage/db.schemas.d.ts +26 -26
- package/dist/file-storage/errors/index.d.ts +10 -10
- package/dist/file-storage/internal/service.d.ts +9 -9
- package/dist/file-storage/permissions.d.ts +2 -2
- package/dist/file-storage/s3.client.d.ts +48 -48
- package/dist/file-storage/schema.d.ts +14 -14
- package/dist/file-storage/share/dto.schemas.d.ts +8 -8
- package/dist/file-storage/share/router.d.ts +145 -145
- package/dist/file-storage/user/dto.schemas.d.ts +48 -48
- package/dist/file-storage/user/router.d.ts +141 -141
- package/dist/file-storage/user/service.d.ts +36 -36
- package/dist/index.d.ts +3807 -3791
- package/dist/ledger/admin/dto.schemas.d.ts +270 -270
- package/dist/ledger/admin/router.d.ts +207 -207
- package/dist/ledger/db.schemas.d.ts +4 -4
- package/dist/ledger/errors/index.d.ts +14 -14
- package/dist/ledger/permissions.d.ts +1 -1
- package/dist/ledger/schema.d.ts +3 -3
- package/dist/ledger/user/dto.schemas.d.ts +5 -5
- package/dist/ledger/user/router.d.ts +130 -130
- package/dist/ledger/user/service.d.ts +93 -93
- package/dist/ledger-account/admin/dto.schemas.d.ts +83 -83
- package/dist/ledger-account/admin/router.d.ts +222 -222
- package/dist/ledger-account/admin/service.d.ts +149 -149
- package/dist/ledger-account/db.schemas.d.ts +2 -2
- package/dist/ledger-account/errors/index.d.ts +9 -9
- package/dist/ledger-account/internal/service.d.ts +7 -7
- package/dist/ledger-account/permissions.d.ts +1 -1
- package/dist/ledger-account/schema.d.ts +2 -2
- package/dist/ledger-account/user/dto.schemas.d.ts +23 -23
- package/dist/ledger-account/user/router.d.ts +168 -168
- package/dist/ledger-account/user/service.d.ts +100 -100
- package/dist/ledger-account-import/admin/dto.schemas.d.ts +6 -6
- package/dist/ledger-account-import/admin/router.d.ts +169 -169
- package/dist/ledger-account-import/admin/service.d.ts +43 -43
- package/dist/ledger-account-import/db.schemas.d.ts +4 -4
- package/dist/ledger-account-import/errors/index.d.ts +9 -9
- package/dist/ledger-account-import/permissions.d.ts +1 -1
- package/dist/ledger-account-import/schema.d.ts +4 -4
- package/dist/ledger-account-transfer/errors/index.d.ts +7 -7
- package/dist/ledger-account-transfer/user/router.d.ts +132 -132
- package/dist/ledger-account-type/admin/dto.schemas.d.ts +9 -9
- package/dist/ledger-account-type/admin/router.d.ts +157 -157
- package/dist/ledger-account-type/admin/service.d.ts +68 -68
- package/dist/ledger-account-type/errors/index.d.ts +9 -9
- package/dist/ledger-account-type/permissions.d.ts +1 -1
- package/dist/ledger-account-type/schema.d.ts +1 -1
- package/dist/ledger-account-type/user/dto.schemas.d.ts +9 -9
- package/dist/ledger-account-type/user/router.d.ts +133 -133
- package/dist/ledger-account-type/user/service.d.ts +34 -34
- package/dist/market-data/admin/dto.schemas.d.ts +4 -4
- package/dist/market-data/admin/router.d.ts +150 -150
- package/dist/market-data/admin/service.d.ts +11 -11
- package/dist/market-data/errors/index.d.ts +4 -4
- package/dist/market-data/internal/service.d.ts +19 -19
- package/dist/market-data/permissions.d.ts +3 -3
- package/dist/market-data/resolutions.d.ts +2 -2
- package/dist/market-data/schema.d.ts +1 -1
- package/dist/market-pricing/admin/dto.schemas.d.ts +88 -88
- package/dist/market-pricing/admin/router.d.ts +332 -320
- package/dist/market-pricing/admin/service.d.ts +97 -97
- package/dist/market-pricing/db.schemas.d.ts +6 -6
- package/dist/market-pricing/defaults.d.ts +11 -11
- package/dist/market-pricing/errors/index.d.ts +26 -26
- package/dist/market-pricing/internal/service.d.ts +3 -3
- package/dist/market-pricing/permissions.d.ts +1 -1
- package/dist/market-pricing/schema.d.ts +5 -5
- package/dist/news/admin/dto.schemas.d.ts +67 -67
- package/dist/news/admin/router.d.ts +226 -226
- package/dist/news/admin/service.d.ts +89 -89
- package/dist/news/db.schemas.d.ts +28 -28
- package/dist/news/errors/index.d.ts +5 -5
- package/dist/news/permissions.d.ts +1 -1
- package/dist/news/schema.d.ts +17 -17
- package/dist/news/user/dto.schemas.d.ts +84 -84
- package/dist/news/user/router.d.ts +184 -184
- package/dist/news/user/service.d.ts +143 -143
- package/dist/news-category/admin/dto.schemas.d.ts +10 -10
- package/dist/news-category/admin/router.d.ts +24 -24
- package/dist/news-category/admin/service.d.ts +15 -15
- package/dist/news-category/errors/index.d.ts +6 -6
- package/dist/news-category/permissions.d.ts +1 -1
- package/dist/news-category/schema.d.ts +1 -1
- package/dist/news-category/seed.d.ts +3 -3
- package/dist/news-category/user/dto.schemas.d.ts +8 -8
- package/dist/news-category/user/router.d.ts +127 -127
- package/dist/news-category/user/service.d.ts +10 -10
- package/dist/notification/admin/dto.schemas.d.ts +45 -45
- package/dist/notification/admin/router.d.ts +155 -155
- package/dist/notification/admin/service.d.ts +13 -13
- package/dist/notification/db.schemas.d.ts +6 -6
- package/dist/notification/errors/index.d.ts +5 -5
- package/dist/notification/internal/service.d.ts +7 -7
- package/dist/notification/permissions.d.ts +2 -2
- package/dist/notification/schema.d.ts +5 -5
- package/dist/notification/user/dto.schemas.d.ts +34 -34
- package/dist/notification/user/router.d.ts +161 -161
- package/dist/notification/user/service.d.ts +38 -38
- package/dist/operations-overview/admin/router.d.ts +137 -137
- package/dist/portfolio/user/dto.schemas.d.ts +38 -38
- package/dist/portfolio/user/router.d.ts +173 -173
- package/dist/portfolio/user/service.d.ts +27 -27
- package/dist/receipt-method/admin/dto.schemas.d.ts +20 -20
- package/dist/receipt-method/admin/router.d.ts +160 -160
- package/dist/receipt-method/admin/service.d.ts +46 -46
- package/dist/receipt-method/db.schemas.d.ts +2 -2
- package/dist/receipt-method/errors/index.d.ts +8 -8
- package/dist/receipt-method/permissions.d.ts +1 -1
- package/dist/receipt-method/schema.d.ts +2 -2
- package/dist/receipt-method/user/dto.schemas.d.ts +6 -6
- package/dist/receipt-method/user/router.d.ts +138 -138
- package/dist/receipt-method/user/service.d.ts +33 -33
- package/dist/referral/admin/dto.schemas.d.ts +6 -6
- package/dist/referral/admin/router.d.ts +143 -143
- package/dist/referral/errors/index.d.ts +6 -6
- package/dist/referral/permissions.d.ts +1 -1
- package/dist/referral/schema.d.ts +2 -2
- package/dist/referral/user/dto.schemas.d.ts +2 -2
- package/dist/referral/user/router.d.ts +137 -137
- package/dist/referral-depth-config/admin/dto.schemas.d.ts +1 -1
- package/dist/referral-depth-config/admin/router.d.ts +156 -144
- package/dist/referral-depth-config/admin/service.d.ts +6 -6
- package/dist/referral-depth-config/errors/index.d.ts +2 -2
- package/dist/referral-depth-config/permissions.d.ts +1 -1
- package/dist/referral-depth-config/schema.d.ts +1 -1
- package/dist/server-test/errors/index.d.ts +1 -1
- package/dist/server-test/index.d.ts +117 -117
- package/dist/shipping-address/admin/router.d.ts +138 -138
- package/dist/shipping-address/admin/service.d.ts +5 -5
- package/dist/shipping-address/errors/index.d.ts +3 -3
- package/dist/shipping-address/permissions.d.ts +1 -1
- package/dist/shipping-address/schema.d.ts +1 -1
- package/dist/shipping-address/user/dto.schemas.d.ts +4 -4
- package/dist/shipping-address/user/router.d.ts +142 -142
- package/dist/shipping-address/user/service.d.ts +20 -20
- package/dist/team/admin/dto.schemas.d.ts +728 -728
- package/dist/team/admin/router.d.ts +187 -187
- package/dist/team/errors/index.d.ts +4 -4
- package/dist/team/permissions.d.ts +1 -1
- package/dist/team/user/dto.schemas.d.ts +206 -206
- package/dist/team/user/router.d.ts +170 -170
- package/dist/trade-market/admin/dto.schemas.d.ts +365 -365
- package/dist/trade-market/admin/router.d.ts +271 -271
- package/dist/trade-market/admin/service.d.ts +123 -123
- package/dist/trade-market/db.schemas.d.ts +4 -4
- package/dist/trade-market/errors/index.d.ts +15 -15
- package/dist/trade-market/internal/service.d.ts +141 -141
- package/dist/trade-market/permissions.d.ts +2 -2
- package/dist/trade-market/schema.d.ts +4 -4
- package/dist/trade-market/user/dto.schemas.d.ts +160 -160
- package/dist/trade-market/user/router.d.ts +232 -232
- package/dist/trade-market/user/service.d.ts +133 -133
- package/dist/transfer/admin/router.d.ts +140 -140
- package/dist/transfer/admin/service.d.ts +27 -27
- package/dist/transfer/errors/index.d.ts +11 -11
- package/dist/transfer/permissions.d.ts +1 -1
- package/dist/transfer/schema.d.ts +1 -1
- package/dist/transfer/user/router.d.ts +140 -140
- package/dist/transfer/user/service.d.ts +27 -27
- package/dist/udf/router.d.ts +136 -136
- package/dist/udf/service.d.ts +1 -1
- package/dist/user/admin/dto.schemas.d.ts +363 -363
- package/dist/user/admin/router.d.ts +256 -256
- package/dist/user/admin/service.d.ts +50 -50
- package/dist/user/db.schemas.d.ts +62 -62
- package/dist/user/errors/index.d.ts +15 -15
- package/dist/user/internal/service.d.ts +8 -8
- package/dist/user/permissions.d.ts +3 -3
- package/dist/user/schema.d.ts +34 -34
- package/dist/user/user/dto.schemas.d.ts +1 -1
- package/dist/user/user/router.d.ts +148 -148
- package/dist/user/user/service.d.ts +35 -35
- package/dist/user-kyc/admin/dto.schemas.d.ts +34 -34
- package/dist/user-kyc/admin/router.d.ts +157 -157
- package/dist/user-kyc/admin/service.d.ts +20 -20
- package/dist/user-kyc/db.schemas.d.ts +46 -46
- package/dist/user-kyc/errors/index.d.ts +6 -6
- package/dist/user-kyc/permissions.d.ts +2 -2
- package/dist/user-kyc/schema.d.ts +25 -25
- package/dist/user-kyc/user/dto.schemas.d.ts +13 -13
- package/dist/user-kyc/user/router.d.ts +146 -146
- package/dist/user-kyc/user/service.d.ts +14 -14
- package/dist/user-security/admin/router.d.ts +133 -133
- package/dist/user-security/db.schemas.d.ts +20 -20
- package/dist/user-security/schema.d.ts +11 -11
- package/dist/user-security/user/router.d.ts +129 -129
- package/dist/wallet/admin/dto.schemas.d.ts +15 -15
- package/dist/wallet/admin/router.d.ts +159 -159
- package/dist/wallet/admin/service.d.ts +18 -18
- package/dist/wallet/errors/index.d.ts +1 -1
- package/dist/wallet/internal/service.d.ts +45 -45
- package/dist/wallet/permissions.d.ts +1 -1
- package/dist/wallet/schema.d.ts +1 -1
- package/dist/wallet/user/dto.schemas.d.ts +10 -10
- package/dist/wallet/user/router.d.ts +147 -147
- package/dist/wallet/user/service.d.ts +10 -10
- package/dist/wallet-type/admin/dto.schemas.d.ts +27 -27
- package/dist/wallet-type/admin/router.d.ts +201 -201
- package/dist/wallet-type/admin/service.d.ts +22 -22
- package/dist/wallet-type/errors/index.d.ts +6 -6
- package/dist/wallet-type/internal/service.d.ts +111 -111
- package/dist/wallet-type/permissions.d.ts +1 -1
- package/dist/wallet-type/schema.d.ts +2 -2
- package/dist/wallet-type/user/dto.schemas.d.ts +21 -21
- package/dist/wallet-type/user/router.d.ts +137 -137
- package/dist/wallet-type/user/service.d.ts +7 -7
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +723 -723
- package/dist/welfare-cycle/admin/router.d.ts +788 -788
- package/dist/welfare-cycle/admin/service.d.ts +706 -706
- package/dist/welfare-cycle/db.schemas.d.ts +8 -8
- package/dist/welfare-cycle/errors/index.d.ts +18 -18
- package/dist/welfare-cycle/internal/service.d.ts +84 -84
- package/dist/welfare-cycle/permissions.d.ts +3 -3
- package/dist/welfare-cycle/schema.d.ts +8 -8
- package/dist/welfare-cycle/user/dto.schemas.d.ts +22 -22
- package/dist/welfare-cycle/user/router.d.ts +173 -173
- package/dist/welfare-cycle/user/service.d.ts +95 -95
- package/dist/withdraw/admin/dto.schemas.d.ts +3 -3
- package/dist/withdraw/admin/router.d.ts +171 -171
- package/dist/withdraw/admin/service.d.ts +15 -15
- package/dist/withdraw/db.schemas.d.ts +2 -2
- package/dist/withdraw/errors/index.d.ts +16 -16
- package/dist/withdraw/permissions.d.ts +2 -2
- package/dist/withdraw/schema.d.ts +2 -2
- package/dist/withdraw/user/dto.schemas.d.ts +18 -18
- package/dist/withdraw/user/router.d.ts +176 -176
- package/dist/withdraw/user/service.d.ts +36 -36
- package/package.json +7 -9
|
@@ -2,46 +2,46 @@ import type { DepositListQueryType, DirectCnyBalanceDepositCreateInputType, Ledg
|
|
|
2
2
|
import { BaseDepositService } from '../internal/service';
|
|
3
3
|
export declare abstract class UserDepositService extends BaseDepositService {
|
|
4
4
|
static createDirectCnyBalanceDeposit(userId: string, input: DirectCnyBalanceDepositCreateInputType): Promise<{
|
|
5
|
-
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
updatedAt: Date;
|
|
8
|
-
userId: string;
|
|
9
|
-
status: "pending" | "approved" | "rejected" | "completed" | "cancelled";
|
|
10
|
-
reviewedAt: Date | null;
|
|
11
|
-
reviewedBy: string | null;
|
|
12
|
-
assetId: string | null;
|
|
5
|
+
actualAmount: string | null;
|
|
13
6
|
amount: string;
|
|
7
|
+
assetId: string | null;
|
|
8
|
+
completedAt: Date | null;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
fee: string | null;
|
|
11
|
+
id: string;
|
|
14
12
|
idempotencyKey: string;
|
|
15
13
|
orderNo: string;
|
|
16
|
-
targetAccountId: string | null;
|
|
17
|
-
actualAmount: string | null;
|
|
18
|
-
fee: string | null;
|
|
19
14
|
paymentChannel: string | null;
|
|
20
15
|
paymentOrderNo: string | null;
|
|
21
16
|
paymentProof: string | null;
|
|
22
17
|
reviewNote: string | null;
|
|
23
|
-
completedAt: Date | null;
|
|
24
|
-
}>;
|
|
25
|
-
static createLedgerAccountDeposit(userId: string, input: LedgerAccountDepositCreateInputType): Promise<{
|
|
26
|
-
id: string;
|
|
27
|
-
createdAt: Date;
|
|
28
|
-
updatedAt: Date;
|
|
29
|
-
userId: string;
|
|
30
|
-
status: "pending" | "approved" | "rejected" | "completed" | "cancelled";
|
|
31
18
|
reviewedAt: Date | null;
|
|
32
19
|
reviewedBy: string | null;
|
|
33
|
-
|
|
34
|
-
amount: string;
|
|
35
|
-
idempotencyKey: string;
|
|
36
|
-
orderNo: string;
|
|
20
|
+
status: "approved" | "cancelled" | "completed" | "pending" | "rejected";
|
|
37
21
|
targetAccountId: string | null;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
userId: string;
|
|
24
|
+
}>;
|
|
25
|
+
static createLedgerAccountDeposit(userId: string, input: LedgerAccountDepositCreateInputType): Promise<{
|
|
38
26
|
actualAmount: string | null;
|
|
27
|
+
amount: string;
|
|
28
|
+
assetId: string | null;
|
|
29
|
+
completedAt: Date | null;
|
|
30
|
+
createdAt: Date;
|
|
39
31
|
fee: string | null;
|
|
32
|
+
id: string;
|
|
33
|
+
idempotencyKey: string;
|
|
34
|
+
orderNo: string;
|
|
40
35
|
paymentChannel: string | null;
|
|
41
36
|
paymentOrderNo: string | null;
|
|
42
37
|
paymentProof: string | null;
|
|
43
38
|
reviewNote: string | null;
|
|
44
|
-
|
|
39
|
+
reviewedAt: Date | null;
|
|
40
|
+
reviewedBy: string | null;
|
|
41
|
+
status: "approved" | "cancelled" | "completed" | "pending" | "rejected";
|
|
42
|
+
targetAccountId: string | null;
|
|
43
|
+
updatedAt: Date;
|
|
44
|
+
userId: string;
|
|
45
45
|
}>;
|
|
46
46
|
static cancelDeposit(orderId: string, userId: string): Promise<{
|
|
47
47
|
createdAt: Date;
|
|
@@ -55,7 +55,7 @@ export declare abstract class UserDepositService extends BaseDepositService {
|
|
|
55
55
|
targetAccountId: string | null;
|
|
56
56
|
actualAmount: string | null;
|
|
57
57
|
fee: string | null;
|
|
58
|
-
status: "
|
|
58
|
+
status: "approved" | "cancelled" | "completed" | "pending" | "rejected";
|
|
59
59
|
paymentChannel: string | null;
|
|
60
60
|
paymentOrderNo: string | null;
|
|
61
61
|
paymentProof: string | null;
|
|
@@ -66,83 +66,83 @@ export declare abstract class UserDepositService extends BaseDepositService {
|
|
|
66
66
|
}>;
|
|
67
67
|
static getUserDepositOrders(userId: string, options?: DepositListQueryType): Promise<{
|
|
68
68
|
orders: {
|
|
69
|
-
|
|
70
|
-
createdAt: Date;
|
|
71
|
-
updatedAt: Date;
|
|
72
|
-
userId: string;
|
|
73
|
-
status: "pending" | "approved" | "rejected" | "completed" | "cancelled";
|
|
74
|
-
reviewedAt: Date | null;
|
|
75
|
-
reviewedBy: string | null;
|
|
76
|
-
assetId: string | null;
|
|
69
|
+
actualAmount: string | null;
|
|
77
70
|
amount: string;
|
|
71
|
+
assetId: string | null;
|
|
72
|
+
completedAt: Date | null;
|
|
73
|
+
createdAt: Date;
|
|
74
|
+
fee: string | null;
|
|
75
|
+
id: string;
|
|
78
76
|
idempotencyKey: string;
|
|
79
77
|
orderNo: string;
|
|
80
|
-
targetAccountId: string | null;
|
|
81
|
-
actualAmount: string | null;
|
|
82
|
-
fee: string | null;
|
|
83
78
|
paymentChannel: string | null;
|
|
84
79
|
paymentOrderNo: string | null;
|
|
85
80
|
paymentProof: string | null;
|
|
86
81
|
reviewNote: string | null;
|
|
87
|
-
|
|
82
|
+
reviewedAt: Date | null;
|
|
83
|
+
reviewedBy: string | null;
|
|
84
|
+
status: "approved" | "cancelled" | "completed" | "pending" | "rejected";
|
|
85
|
+
targetAccountId: string | null;
|
|
86
|
+
updatedAt: Date;
|
|
88
87
|
user: {
|
|
88
|
+
banExpires: Date | null;
|
|
89
|
+
banReason: string | null;
|
|
90
|
+
banned: boolean | null;
|
|
91
|
+
createdAt: Date;
|
|
92
|
+
displayUsername: string | null;
|
|
89
93
|
email: string;
|
|
90
|
-
id: string;
|
|
91
|
-
name: string;
|
|
92
94
|
emailVerified: boolean;
|
|
95
|
+
id: string;
|
|
93
96
|
image: string | null;
|
|
94
|
-
|
|
95
|
-
updatedAt: Date;
|
|
96
|
-
twoFactorEnabled: boolean | null;
|
|
97
|
-
username: string | null;
|
|
98
|
-
displayUsername: string | null;
|
|
97
|
+
name: string;
|
|
99
98
|
phoneNumber: string | null;
|
|
100
99
|
phoneNumberVerified: boolean | null;
|
|
101
100
|
role: string | null;
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
twoFactorEnabled: boolean | null;
|
|
102
|
+
updatedAt: Date;
|
|
103
|
+
username: string | null;
|
|
105
104
|
};
|
|
105
|
+
userId: string;
|
|
106
106
|
}[];
|
|
107
107
|
total: number;
|
|
108
108
|
}>;
|
|
109
109
|
static getDepositOrder(orderId: string, userId: string): Promise<{
|
|
110
|
-
|
|
111
|
-
createdAt: Date;
|
|
112
|
-
updatedAt: Date;
|
|
113
|
-
userId: string;
|
|
114
|
-
status: "pending" | "approved" | "rejected" | "completed" | "cancelled";
|
|
115
|
-
reviewedAt: Date | null;
|
|
116
|
-
reviewedBy: string | null;
|
|
117
|
-
assetId: string | null;
|
|
110
|
+
actualAmount: string | null;
|
|
118
111
|
amount: string;
|
|
112
|
+
assetId: string | null;
|
|
113
|
+
completedAt: Date | null;
|
|
114
|
+
createdAt: Date;
|
|
115
|
+
fee: string | null;
|
|
116
|
+
id: string;
|
|
119
117
|
idempotencyKey: string;
|
|
120
118
|
orderNo: string;
|
|
121
|
-
targetAccountId: string | null;
|
|
122
|
-
actualAmount: string | null;
|
|
123
|
-
fee: string | null;
|
|
124
119
|
paymentChannel: string | null;
|
|
125
120
|
paymentOrderNo: string | null;
|
|
126
121
|
paymentProof: string | null;
|
|
127
122
|
reviewNote: string | null;
|
|
128
|
-
|
|
123
|
+
reviewedAt: Date | null;
|
|
124
|
+
reviewedBy: string | null;
|
|
125
|
+
status: "approved" | "cancelled" | "completed" | "pending" | "rejected";
|
|
126
|
+
targetAccountId: string | null;
|
|
127
|
+
updatedAt: Date;
|
|
129
128
|
user: {
|
|
129
|
+
banExpires: Date | null;
|
|
130
|
+
banReason: string | null;
|
|
131
|
+
banned: boolean | null;
|
|
132
|
+
createdAt: Date;
|
|
133
|
+
displayUsername: string | null;
|
|
130
134
|
email: string;
|
|
131
|
-
id: string;
|
|
132
|
-
name: string;
|
|
133
135
|
emailVerified: boolean;
|
|
136
|
+
id: string;
|
|
134
137
|
image: string | null;
|
|
135
|
-
|
|
136
|
-
updatedAt: Date;
|
|
137
|
-
twoFactorEnabled: boolean | null;
|
|
138
|
-
username: string | null;
|
|
139
|
-
displayUsername: string | null;
|
|
138
|
+
name: string;
|
|
140
139
|
phoneNumber: string | null;
|
|
141
140
|
phoneNumberVerified: boolean | null;
|
|
142
141
|
role: string | null;
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
twoFactorEnabled: boolean | null;
|
|
143
|
+
updatedAt: Date;
|
|
144
|
+
username: string | null;
|
|
146
145
|
};
|
|
146
|
+
userId: string;
|
|
147
147
|
} | undefined>;
|
|
148
148
|
}
|
|
@@ -44,7 +44,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
44
44
|
route: string;
|
|
45
45
|
request: Request;
|
|
46
46
|
store: {};
|
|
47
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
47
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
48
48
|
readonly 100: "Continue";
|
|
49
49
|
readonly 101: "Switching Protocols";
|
|
50
50
|
readonly 102: "Processing";
|
|
@@ -108,66 +108,66 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
108
108
|
readonly 511: "Network Authentication Required";
|
|
109
109
|
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
110
110
|
readonly Continue: 100;
|
|
111
|
-
readonly
|
|
111
|
+
readonly 'Switching Protocols': 101;
|
|
112
112
|
readonly Processing: 102;
|
|
113
|
-
readonly
|
|
113
|
+
readonly 'Early Hints': 103;
|
|
114
114
|
readonly OK: 200;
|
|
115
115
|
readonly Created: 201;
|
|
116
116
|
readonly Accepted: 202;
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
117
|
+
readonly 'Non-Authoritative Information': 203;
|
|
118
|
+
readonly 'No Content': 204;
|
|
119
|
+
readonly 'Reset Content': 205;
|
|
120
|
+
readonly 'Partial Content': 206;
|
|
121
|
+
readonly 'Multi-Status': 207;
|
|
122
|
+
readonly 'Already Reported': 208;
|
|
123
|
+
readonly 'Multiple Choices': 300;
|
|
124
|
+
readonly 'Moved Permanently': 301;
|
|
125
125
|
readonly Found: 302;
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
126
|
+
readonly 'See Other': 303;
|
|
127
|
+
readonly 'Not Modified': 304;
|
|
128
|
+
readonly 'Temporary Redirect': 307;
|
|
129
|
+
readonly 'Permanent Redirect': 308;
|
|
130
|
+
readonly 'Bad Request': 400;
|
|
131
131
|
readonly Unauthorized: 401;
|
|
132
|
-
readonly
|
|
132
|
+
readonly 'Payment Required': 402;
|
|
133
133
|
readonly Forbidden: 403;
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
136
|
-
readonly
|
|
137
|
-
readonly
|
|
138
|
-
readonly
|
|
134
|
+
readonly 'Not Found': 404;
|
|
135
|
+
readonly 'Method Not Allowed': 405;
|
|
136
|
+
readonly 'Not Acceptable': 406;
|
|
137
|
+
readonly 'Proxy Authentication Required': 407;
|
|
138
|
+
readonly 'Request Timeout': 408;
|
|
139
139
|
readonly Conflict: 409;
|
|
140
140
|
readonly Gone: 410;
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
141
|
+
readonly 'Length Required': 411;
|
|
142
|
+
readonly 'Precondition Failed': 412;
|
|
143
|
+
readonly 'Payload Too Large': 413;
|
|
144
|
+
readonly 'URI Too Long': 414;
|
|
145
|
+
readonly 'Unsupported Media Type': 415;
|
|
146
|
+
readonly 'Range Not Satisfiable': 416;
|
|
147
|
+
readonly 'Expectation Failed': 417;
|
|
148
148
|
readonly "I'm a teapot": 418;
|
|
149
|
-
readonly
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
149
|
+
readonly 'Enhance Your Calm': 420;
|
|
150
|
+
readonly 'Misdirected Request': 421;
|
|
151
|
+
readonly 'Unprocessable Content': 422;
|
|
152
152
|
readonly Locked: 423;
|
|
153
|
-
readonly
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
readonly
|
|
157
|
-
readonly
|
|
158
|
-
readonly
|
|
159
|
-
readonly
|
|
160
|
-
readonly
|
|
161
|
-
readonly
|
|
162
|
-
readonly
|
|
163
|
-
readonly
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
153
|
+
readonly 'Failed Dependency': 424;
|
|
154
|
+
readonly 'Too Early': 425;
|
|
155
|
+
readonly 'Upgrade Required': 426;
|
|
156
|
+
readonly 'Precondition Required': 428;
|
|
157
|
+
readonly 'Too Many Requests': 429;
|
|
158
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
159
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
160
|
+
readonly 'Internal Server Error': 500;
|
|
161
|
+
readonly 'Not Implemented': 501;
|
|
162
|
+
readonly 'Bad Gateway': 502;
|
|
163
|
+
readonly 'Service Unavailable': 503;
|
|
164
|
+
readonly 'Gateway Timeout': 504;
|
|
165
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
166
|
+
readonly 'Variant Also Negotiates': 506;
|
|
167
|
+
readonly 'Insufficient Storage': 507;
|
|
168
|
+
readonly 'Loop Detected': 508;
|
|
169
|
+
readonly 'Not Extended': 510;
|
|
170
|
+
readonly 'Network Authentication Required': 511;
|
|
171
171
|
}[Code] : Code>;
|
|
172
172
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
|
|
173
173
|
user: {
|
|
@@ -177,16 +177,16 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
177
177
|
email: string;
|
|
178
178
|
emailVerified: boolean;
|
|
179
179
|
name: string;
|
|
180
|
-
image?: string | null | undefined
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
image?: string | null | undefined;
|
|
181
|
+
banExpires?: Date | null | undefined;
|
|
182
|
+
banReason?: string | null | undefined;
|
|
183
|
+
banned: boolean | null | undefined;
|
|
183
184
|
displayUsername?: string | null | undefined;
|
|
184
185
|
phoneNumber?: string | null | undefined;
|
|
185
186
|
phoneNumberVerified?: boolean | null | undefined;
|
|
186
|
-
banned: boolean | null | undefined;
|
|
187
187
|
role?: string | null | undefined;
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
189
|
+
username?: string | null | undefined;
|
|
190
190
|
};
|
|
191
191
|
session: {
|
|
192
192
|
id: string;
|
|
@@ -195,8 +195,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
195
195
|
userId: string;
|
|
196
196
|
expiresAt: Date;
|
|
197
197
|
token: string;
|
|
198
|
-
ipAddress?: string | null | undefined
|
|
199
|
-
userAgent?: string | null | undefined
|
|
198
|
+
ipAddress?: string | null | undefined;
|
|
199
|
+
userAgent?: string | null | undefined;
|
|
200
200
|
impersonatedBy?: string | null | undefined;
|
|
201
201
|
};
|
|
202
202
|
}>;
|
|
@@ -220,7 +220,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
220
220
|
route: string;
|
|
221
221
|
request: Request;
|
|
222
222
|
store: {};
|
|
223
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
223
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
224
224
|
readonly 100: "Continue";
|
|
225
225
|
readonly 101: "Switching Protocols";
|
|
226
226
|
readonly 102: "Processing";
|
|
@@ -284,66 +284,66 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
284
284
|
readonly 511: "Network Authentication Required";
|
|
285
285
|
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaCustomStatusResponse<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
286
286
|
readonly Continue: 100;
|
|
287
|
-
readonly
|
|
287
|
+
readonly 'Switching Protocols': 101;
|
|
288
288
|
readonly Processing: 102;
|
|
289
|
-
readonly
|
|
289
|
+
readonly 'Early Hints': 103;
|
|
290
290
|
readonly OK: 200;
|
|
291
291
|
readonly Created: 201;
|
|
292
292
|
readonly Accepted: 202;
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
298
|
-
readonly
|
|
299
|
-
readonly
|
|
300
|
-
readonly
|
|
293
|
+
readonly 'Non-Authoritative Information': 203;
|
|
294
|
+
readonly 'No Content': 204;
|
|
295
|
+
readonly 'Reset Content': 205;
|
|
296
|
+
readonly 'Partial Content': 206;
|
|
297
|
+
readonly 'Multi-Status': 207;
|
|
298
|
+
readonly 'Already Reported': 208;
|
|
299
|
+
readonly 'Multiple Choices': 300;
|
|
300
|
+
readonly 'Moved Permanently': 301;
|
|
301
301
|
readonly Found: 302;
|
|
302
|
-
readonly
|
|
303
|
-
readonly
|
|
304
|
-
readonly
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
302
|
+
readonly 'See Other': 303;
|
|
303
|
+
readonly 'Not Modified': 304;
|
|
304
|
+
readonly 'Temporary Redirect': 307;
|
|
305
|
+
readonly 'Permanent Redirect': 308;
|
|
306
|
+
readonly 'Bad Request': 400;
|
|
307
307
|
readonly Unauthorized: 401;
|
|
308
|
-
readonly
|
|
308
|
+
readonly 'Payment Required': 402;
|
|
309
309
|
readonly Forbidden: 403;
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
310
|
+
readonly 'Not Found': 404;
|
|
311
|
+
readonly 'Method Not Allowed': 405;
|
|
312
|
+
readonly 'Not Acceptable': 406;
|
|
313
|
+
readonly 'Proxy Authentication Required': 407;
|
|
314
|
+
readonly 'Request Timeout': 408;
|
|
315
315
|
readonly Conflict: 409;
|
|
316
316
|
readonly Gone: 410;
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
317
|
+
readonly 'Length Required': 411;
|
|
318
|
+
readonly 'Precondition Failed': 412;
|
|
319
|
+
readonly 'Payload Too Large': 413;
|
|
320
|
+
readonly 'URI Too Long': 414;
|
|
321
|
+
readonly 'Unsupported Media Type': 415;
|
|
322
|
+
readonly 'Range Not Satisfiable': 416;
|
|
323
|
+
readonly 'Expectation Failed': 417;
|
|
324
324
|
readonly "I'm a teapot": 418;
|
|
325
|
-
readonly
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
325
|
+
readonly 'Enhance Your Calm': 420;
|
|
326
|
+
readonly 'Misdirected Request': 421;
|
|
327
|
+
readonly 'Unprocessable Content': 422;
|
|
328
328
|
readonly Locked: 423;
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
339
|
-
readonly
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
342
|
-
readonly
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
readonly
|
|
329
|
+
readonly 'Failed Dependency': 424;
|
|
330
|
+
readonly 'Too Early': 425;
|
|
331
|
+
readonly 'Upgrade Required': 426;
|
|
332
|
+
readonly 'Precondition Required': 428;
|
|
333
|
+
readonly 'Too Many Requests': 429;
|
|
334
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
335
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
336
|
+
readonly 'Internal Server Error': 500;
|
|
337
|
+
readonly 'Not Implemented': 501;
|
|
338
|
+
readonly 'Bad Gateway': 502;
|
|
339
|
+
readonly 'Service Unavailable': 503;
|
|
340
|
+
readonly 'Gateway Timeout': 504;
|
|
341
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
342
|
+
readonly 'Variant Also Negotiates': 506;
|
|
343
|
+
readonly 'Insufficient Storage': 507;
|
|
344
|
+
readonly 'Loop Detected': 508;
|
|
345
|
+
readonly 'Not Extended': 510;
|
|
346
|
+
readonly 'Network Authentication Required': 511;
|
|
347
347
|
}[Code] : Code>;
|
|
348
348
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
|
|
349
349
|
user: {
|
|
@@ -353,16 +353,16 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
353
353
|
email: string;
|
|
354
354
|
emailVerified: boolean;
|
|
355
355
|
name: string;
|
|
356
|
-
image?: string | null | undefined
|
|
357
|
-
|
|
358
|
-
|
|
356
|
+
image?: string | null | undefined;
|
|
357
|
+
banExpires?: Date | null | undefined;
|
|
358
|
+
banReason?: string | null | undefined;
|
|
359
|
+
banned: boolean | null | undefined;
|
|
359
360
|
displayUsername?: string | null | undefined;
|
|
360
361
|
phoneNumber?: string | null | undefined;
|
|
361
362
|
phoneNumberVerified?: boolean | null | undefined;
|
|
362
|
-
banned: boolean | null | undefined;
|
|
363
363
|
role?: string | null | undefined;
|
|
364
|
-
|
|
365
|
-
|
|
364
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
365
|
+
username?: string | null | undefined;
|
|
366
366
|
};
|
|
367
367
|
session: {
|
|
368
368
|
id: string;
|
|
@@ -371,8 +371,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
371
371
|
userId: string;
|
|
372
372
|
expiresAt: Date;
|
|
373
373
|
token: string;
|
|
374
|
-
ipAddress?: string | null | undefined
|
|
375
|
-
userAgent?: string | null | undefined
|
|
374
|
+
ipAddress?: string | null | undefined;
|
|
375
|
+
userAgent?: string | null | undefined;
|
|
376
376
|
impersonatedBy?: string | null | undefined;
|
|
377
377
|
};
|
|
378
378
|
}>;
|
|
@@ -393,14 +393,14 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
393
393
|
200: {
|
|
394
394
|
createdAt: Date;
|
|
395
395
|
updatedAt: Date;
|
|
396
|
+
key: string;
|
|
396
397
|
value: string | null;
|
|
397
398
|
description: string | null;
|
|
398
|
-
key: string;
|
|
399
399
|
}[];
|
|
400
400
|
401: "Unauthorized";
|
|
401
401
|
403: "Forbidden: Admins only";
|
|
402
402
|
422: {
|
|
403
|
-
type:
|
|
403
|
+
type: 'validation';
|
|
404
404
|
on: string;
|
|
405
405
|
summary?: string;
|
|
406
406
|
message?: string;
|
|
@@ -429,7 +429,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
429
429
|
401: "Unauthorized";
|
|
430
430
|
403: "Forbidden: Admins only";
|
|
431
431
|
422: {
|
|
432
|
-
type:
|
|
432
|
+
type: 'validation';
|
|
433
433
|
on: string;
|
|
434
434
|
summary?: string;
|
|
435
435
|
message?: string;
|
|
@@ -462,7 +462,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
462
462
|
401: "Unauthorized";
|
|
463
463
|
403: "Forbidden: Admins only";
|
|
464
464
|
422: {
|
|
465
|
-
type:
|
|
465
|
+
type: 'validation';
|
|
466
466
|
on: string;
|
|
467
467
|
summary?: string;
|
|
468
468
|
message?: string;
|
|
@@ -492,7 +492,7 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
492
492
|
401: "Unauthorized";
|
|
493
493
|
403: "Forbidden: Admins only";
|
|
494
494
|
422: {
|
|
495
|
-
type:
|
|
495
|
+
type: 'validation';
|
|
496
496
|
on: string;
|
|
497
497
|
summary?: string;
|
|
498
498
|
message?: string;
|
|
@@ -558,16 +558,16 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
558
558
|
email: string;
|
|
559
559
|
emailVerified: boolean;
|
|
560
560
|
name: string;
|
|
561
|
-
image?: string | null | undefined
|
|
562
|
-
|
|
563
|
-
|
|
561
|
+
image?: string | null | undefined;
|
|
562
|
+
banExpires?: Date | null | undefined;
|
|
563
|
+
banReason?: string | null | undefined;
|
|
564
|
+
banned: boolean | null | undefined;
|
|
564
565
|
displayUsername?: string | null | undefined;
|
|
565
566
|
phoneNumber?: string | null | undefined;
|
|
566
567
|
phoneNumberVerified?: boolean | null | undefined;
|
|
567
|
-
banned: boolean | null | undefined;
|
|
568
568
|
role?: string | null | undefined;
|
|
569
|
-
|
|
570
|
-
|
|
569
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
570
|
+
username?: string | null | undefined;
|
|
571
571
|
};
|
|
572
572
|
session: {
|
|
573
573
|
id: string;
|
|
@@ -576,8 +576,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
576
576
|
userId: string;
|
|
577
577
|
expiresAt: Date;
|
|
578
578
|
token: string;
|
|
579
|
-
ipAddress?: string | null | undefined
|
|
580
|
-
userAgent?: string | null | undefined
|
|
579
|
+
ipAddress?: string | null | undefined;
|
|
580
|
+
userAgent?: string | null | undefined;
|
|
581
581
|
impersonatedBy?: string | null | undefined;
|
|
582
582
|
};
|
|
583
583
|
} & {
|
|
@@ -588,16 +588,16 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
588
588
|
email: string;
|
|
589
589
|
emailVerified: boolean;
|
|
590
590
|
name: string;
|
|
591
|
-
image?: string | null | undefined
|
|
592
|
-
|
|
593
|
-
|
|
591
|
+
image?: string | null | undefined;
|
|
592
|
+
banExpires?: Date | null | undefined;
|
|
593
|
+
banReason?: string | null | undefined;
|
|
594
|
+
banned: boolean | null | undefined;
|
|
594
595
|
displayUsername?: string | null | undefined;
|
|
595
596
|
phoneNumber?: string | null | undefined;
|
|
596
597
|
phoneNumberVerified?: boolean | null | undefined;
|
|
597
|
-
banned: boolean | null | undefined;
|
|
598
598
|
role?: string | null | undefined;
|
|
599
|
-
|
|
600
|
-
|
|
599
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
600
|
+
username?: string | null | undefined;
|
|
601
601
|
};
|
|
602
602
|
session: {
|
|
603
603
|
id: string;
|
|
@@ -606,8 +606,8 @@ export declare const dynamicEnvAdminRouter: Elysia<"/dynamic-env", {
|
|
|
606
606
|
userId: string;
|
|
607
607
|
expiresAt: Date;
|
|
608
608
|
token: string;
|
|
609
|
-
ipAddress?: string | null | undefined
|
|
610
|
-
userAgent?: string | null | undefined
|
|
609
|
+
ipAddress?: string | null | undefined;
|
|
610
|
+
userAgent?: string | null | undefined;
|
|
611
611
|
impersonatedBy?: string | null | undefined;
|
|
612
612
|
};
|
|
613
613
|
};
|