@r2wa-org/eden 0.0.89 → 0.0.91
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 +200 -188
- 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 +161 -157
- package/dist/check-in/user/service.d.ts +52 -25
- 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 +170 -170
- 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 +158 -146
- 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 +3812 -3768
- 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 +182 -170
- 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 +319 -319
- 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 +143 -143
- 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
|
@@ -35,13 +35,25 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
35
35
|
headers: import("elysia").HTTPHeaders;
|
|
36
36
|
status?: number | keyof import("elysia").StatusMap;
|
|
37
37
|
redirect?: string;
|
|
38
|
-
cookie?: Record<string,
|
|
38
|
+
cookie?: Record<string, {
|
|
39
|
+
domain?: string | undefined;
|
|
40
|
+
expires?: Date | undefined;
|
|
41
|
+
httpOnly?: boolean | undefined;
|
|
42
|
+
maxAge?: number | undefined;
|
|
43
|
+
path?: string | undefined;
|
|
44
|
+
priority?: 'low' | 'medium' | 'high' | undefined;
|
|
45
|
+
partitioned?: boolean | undefined;
|
|
46
|
+
sameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;
|
|
47
|
+
secure?: boolean | undefined;
|
|
48
|
+
secrets?: string | null | (string | null)[];
|
|
49
|
+
value?: unknown;
|
|
50
|
+
}>;
|
|
39
51
|
};
|
|
40
52
|
path: string;
|
|
41
53
|
route: string;
|
|
42
54
|
request: Request;
|
|
43
55
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
56
|
+
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 ? {
|
|
45
57
|
readonly 100: "Continue";
|
|
46
58
|
readonly 101: "Switching Protocols";
|
|
47
59
|
readonly 102: "Processing";
|
|
@@ -105,66 +117,66 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
105
117
|
readonly 511: "Network Authentication Required";
|
|
106
118
|
}[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" ? {
|
|
107
119
|
readonly Continue: 100;
|
|
108
|
-
readonly
|
|
120
|
+
readonly 'Switching Protocols': 101;
|
|
109
121
|
readonly Processing: 102;
|
|
110
|
-
readonly
|
|
122
|
+
readonly 'Early Hints': 103;
|
|
111
123
|
readonly OK: 200;
|
|
112
124
|
readonly Created: 201;
|
|
113
125
|
readonly Accepted: 202;
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
126
|
+
readonly 'Non-Authoritative Information': 203;
|
|
127
|
+
readonly 'No Content': 204;
|
|
128
|
+
readonly 'Reset Content': 205;
|
|
129
|
+
readonly 'Partial Content': 206;
|
|
130
|
+
readonly 'Multi-Status': 207;
|
|
131
|
+
readonly 'Already Reported': 208;
|
|
132
|
+
readonly 'Multiple Choices': 300;
|
|
133
|
+
readonly 'Moved Permanently': 301;
|
|
122
134
|
readonly Found: 302;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
135
|
+
readonly 'See Other': 303;
|
|
136
|
+
readonly 'Not Modified': 304;
|
|
137
|
+
readonly 'Temporary Redirect': 307;
|
|
138
|
+
readonly 'Permanent Redirect': 308;
|
|
139
|
+
readonly 'Bad Request': 400;
|
|
128
140
|
readonly Unauthorized: 401;
|
|
129
|
-
readonly
|
|
141
|
+
readonly 'Payment Required': 402;
|
|
130
142
|
readonly Forbidden: 403;
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
143
|
+
readonly 'Not Found': 404;
|
|
144
|
+
readonly 'Method Not Allowed': 405;
|
|
145
|
+
readonly 'Not Acceptable': 406;
|
|
146
|
+
readonly 'Proxy Authentication Required': 407;
|
|
147
|
+
readonly 'Request Timeout': 408;
|
|
136
148
|
readonly Conflict: 409;
|
|
137
149
|
readonly Gone: 410;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
150
|
+
readonly 'Length Required': 411;
|
|
151
|
+
readonly 'Precondition Failed': 412;
|
|
152
|
+
readonly 'Payload Too Large': 413;
|
|
153
|
+
readonly 'URI Too Long': 414;
|
|
154
|
+
readonly 'Unsupported Media Type': 415;
|
|
155
|
+
readonly 'Range Not Satisfiable': 416;
|
|
156
|
+
readonly 'Expectation Failed': 417;
|
|
145
157
|
readonly "I'm a teapot": 418;
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
158
|
+
readonly 'Enhance Your Calm': 420;
|
|
159
|
+
readonly 'Misdirected Request': 421;
|
|
160
|
+
readonly 'Unprocessable Content': 422;
|
|
149
161
|
readonly Locked: 423;
|
|
150
|
-
readonly
|
|
151
|
-
readonly
|
|
152
|
-
readonly
|
|
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
|
|
162
|
+
readonly 'Failed Dependency': 424;
|
|
163
|
+
readonly 'Too Early': 425;
|
|
164
|
+
readonly 'Upgrade Required': 426;
|
|
165
|
+
readonly 'Precondition Required': 428;
|
|
166
|
+
readonly 'Too Many Requests': 429;
|
|
167
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
168
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
169
|
+
readonly 'Internal Server Error': 500;
|
|
170
|
+
readonly 'Not Implemented': 501;
|
|
171
|
+
readonly 'Bad Gateway': 502;
|
|
172
|
+
readonly 'Service Unavailable': 503;
|
|
173
|
+
readonly 'Gateway Timeout': 504;
|
|
174
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
175
|
+
readonly 'Variant Also Negotiates': 506;
|
|
176
|
+
readonly 'Insufficient Storage': 507;
|
|
177
|
+
readonly 'Loop Detected': 508;
|
|
178
|
+
readonly 'Not Extended': 510;
|
|
179
|
+
readonly 'Network Authentication Required': 511;
|
|
168
180
|
}[Code] : Code>;
|
|
169
181
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
|
|
170
182
|
user: {
|
|
@@ -174,16 +186,16 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
174
186
|
email: string;
|
|
175
187
|
emailVerified: boolean;
|
|
176
188
|
name: string;
|
|
177
|
-
image?: string | null | undefined
|
|
178
|
-
|
|
179
|
-
|
|
189
|
+
image?: string | null | undefined;
|
|
190
|
+
banExpires?: Date | null | undefined;
|
|
191
|
+
banReason?: string | null | undefined;
|
|
192
|
+
banned: boolean | null | undefined;
|
|
180
193
|
displayUsername?: string | null | undefined;
|
|
181
194
|
phoneNumber?: string | null | undefined;
|
|
182
195
|
phoneNumberVerified?: boolean | null | undefined;
|
|
183
|
-
banned: boolean | null | undefined;
|
|
184
196
|
role?: string | null | undefined;
|
|
185
|
-
|
|
186
|
-
|
|
197
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
198
|
+
username?: string | null | undefined;
|
|
187
199
|
};
|
|
188
200
|
session: {
|
|
189
201
|
id: string;
|
|
@@ -192,8 +204,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
192
204
|
userId: string;
|
|
193
205
|
expiresAt: Date;
|
|
194
206
|
token: string;
|
|
195
|
-
ipAddress?: string | null | undefined
|
|
196
|
-
userAgent?: string | null | undefined
|
|
207
|
+
ipAddress?: string | null | undefined;
|
|
208
|
+
userAgent?: string | null | undefined;
|
|
197
209
|
impersonatedBy?: string | null | undefined;
|
|
198
210
|
};
|
|
199
211
|
}>;
|
|
@@ -217,7 +229,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
217
229
|
route: string;
|
|
218
230
|
request: Request;
|
|
219
231
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 |
|
|
232
|
+
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 ? {
|
|
221
233
|
readonly 100: "Continue";
|
|
222
234
|
readonly 101: "Switching Protocols";
|
|
223
235
|
readonly 102: "Processing";
|
|
@@ -281,66 +293,66 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
281
293
|
readonly 511: "Network Authentication Required";
|
|
282
294
|
}[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" ? {
|
|
283
295
|
readonly Continue: 100;
|
|
284
|
-
readonly
|
|
296
|
+
readonly 'Switching Protocols': 101;
|
|
285
297
|
readonly Processing: 102;
|
|
286
|
-
readonly
|
|
298
|
+
readonly 'Early Hints': 103;
|
|
287
299
|
readonly OK: 200;
|
|
288
300
|
readonly Created: 201;
|
|
289
301
|
readonly Accepted: 202;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
302
|
+
readonly 'Non-Authoritative Information': 203;
|
|
303
|
+
readonly 'No Content': 204;
|
|
304
|
+
readonly 'Reset Content': 205;
|
|
305
|
+
readonly 'Partial Content': 206;
|
|
306
|
+
readonly 'Multi-Status': 207;
|
|
307
|
+
readonly 'Already Reported': 208;
|
|
308
|
+
readonly 'Multiple Choices': 300;
|
|
309
|
+
readonly 'Moved Permanently': 301;
|
|
298
310
|
readonly Found: 302;
|
|
299
|
-
readonly
|
|
300
|
-
readonly
|
|
301
|
-
readonly
|
|
302
|
-
readonly
|
|
303
|
-
readonly
|
|
311
|
+
readonly 'See Other': 303;
|
|
312
|
+
readonly 'Not Modified': 304;
|
|
313
|
+
readonly 'Temporary Redirect': 307;
|
|
314
|
+
readonly 'Permanent Redirect': 308;
|
|
315
|
+
readonly 'Bad Request': 400;
|
|
304
316
|
readonly Unauthorized: 401;
|
|
305
|
-
readonly
|
|
317
|
+
readonly 'Payment Required': 402;
|
|
306
318
|
readonly Forbidden: 403;
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
319
|
+
readonly 'Not Found': 404;
|
|
320
|
+
readonly 'Method Not Allowed': 405;
|
|
321
|
+
readonly 'Not Acceptable': 406;
|
|
322
|
+
readonly 'Proxy Authentication Required': 407;
|
|
323
|
+
readonly 'Request Timeout': 408;
|
|
312
324
|
readonly Conflict: 409;
|
|
313
325
|
readonly Gone: 410;
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
326
|
+
readonly 'Length Required': 411;
|
|
327
|
+
readonly 'Precondition Failed': 412;
|
|
328
|
+
readonly 'Payload Too Large': 413;
|
|
329
|
+
readonly 'URI Too Long': 414;
|
|
330
|
+
readonly 'Unsupported Media Type': 415;
|
|
331
|
+
readonly 'Range Not Satisfiable': 416;
|
|
332
|
+
readonly 'Expectation Failed': 417;
|
|
321
333
|
readonly "I'm a teapot": 418;
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
334
|
+
readonly 'Enhance Your Calm': 420;
|
|
335
|
+
readonly 'Misdirected Request': 421;
|
|
336
|
+
readonly 'Unprocessable Content': 422;
|
|
325
337
|
readonly Locked: 423;
|
|
326
|
-
readonly
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
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
|
|
338
|
+
readonly 'Failed Dependency': 424;
|
|
339
|
+
readonly 'Too Early': 425;
|
|
340
|
+
readonly 'Upgrade Required': 426;
|
|
341
|
+
readonly 'Precondition Required': 428;
|
|
342
|
+
readonly 'Too Many Requests': 429;
|
|
343
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
344
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
345
|
+
readonly 'Internal Server Error': 500;
|
|
346
|
+
readonly 'Not Implemented': 501;
|
|
347
|
+
readonly 'Bad Gateway': 502;
|
|
348
|
+
readonly 'Service Unavailable': 503;
|
|
349
|
+
readonly 'Gateway Timeout': 504;
|
|
350
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
351
|
+
readonly 'Variant Also Negotiates': 506;
|
|
352
|
+
readonly 'Insufficient Storage': 507;
|
|
353
|
+
readonly 'Loop Detected': 508;
|
|
354
|
+
readonly 'Not Extended': 510;
|
|
355
|
+
readonly 'Network Authentication Required': 511;
|
|
344
356
|
}[Code] : Code>;
|
|
345
357
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
|
|
346
358
|
user: {
|
|
@@ -350,16 +362,16 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
350
362
|
email: string;
|
|
351
363
|
emailVerified: boolean;
|
|
352
364
|
name: string;
|
|
353
|
-
image?: string | null | undefined
|
|
354
|
-
|
|
355
|
-
|
|
365
|
+
image?: string | null | undefined;
|
|
366
|
+
banExpires?: Date | null | undefined;
|
|
367
|
+
banReason?: string | null | undefined;
|
|
368
|
+
banned: boolean | null | undefined;
|
|
356
369
|
displayUsername?: string | null | undefined;
|
|
357
370
|
phoneNumber?: string | null | undefined;
|
|
358
371
|
phoneNumberVerified?: boolean | null | undefined;
|
|
359
|
-
banned: boolean | null | undefined;
|
|
360
372
|
role?: string | null | undefined;
|
|
361
|
-
|
|
362
|
-
|
|
373
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
374
|
+
username?: string | null | undefined;
|
|
363
375
|
};
|
|
364
376
|
session: {
|
|
365
377
|
id: string;
|
|
@@ -368,8 +380,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
368
380
|
userId: string;
|
|
369
381
|
expiresAt: Date;
|
|
370
382
|
token: string;
|
|
371
|
-
ipAddress?: string | null | undefined
|
|
372
|
-
userAgent?: string | null | undefined
|
|
383
|
+
ipAddress?: string | null | undefined;
|
|
384
|
+
userAgent?: string | null | undefined;
|
|
373
385
|
impersonatedBy?: string | null | undefined;
|
|
374
386
|
};
|
|
375
387
|
}>;
|
|
@@ -385,45 +397,45 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
385
397
|
body: {};
|
|
386
398
|
params: {};
|
|
387
399
|
query: {
|
|
400
|
+
limit?: number | undefined;
|
|
401
|
+
offset?: number | undefined;
|
|
402
|
+
pageSize?: number | undefined;
|
|
403
|
+
pageIndex?: number | undefined;
|
|
388
404
|
id?: string | undefined;
|
|
389
405
|
baseAssetId?: string | undefined;
|
|
390
406
|
baseAsset?: string | undefined;
|
|
391
407
|
source?: string | undefined;
|
|
392
408
|
startDate?: Date | undefined;
|
|
393
|
-
|
|
394
|
-
offset?: number | undefined;
|
|
395
|
-
pageSize?: number | undefined;
|
|
396
|
-
pageIndex?: number | undefined;
|
|
409
|
+
endDate?: Date | undefined;
|
|
397
410
|
createdAtStart?: Date | undefined;
|
|
398
411
|
createdAtEnd?: Date | undefined;
|
|
399
|
-
endDate?: Date | undefined;
|
|
400
412
|
};
|
|
401
413
|
headers: {};
|
|
402
414
|
response: {
|
|
403
415
|
200: {
|
|
404
416
|
data: {
|
|
405
|
-
id: string;
|
|
406
|
-
createdAt: Date;
|
|
407
|
-
updatedAt: Date;
|
|
408
|
-
baseAssetId: string;
|
|
409
417
|
baseAsset: string;
|
|
410
|
-
price: string;
|
|
411
|
-
source: string;
|
|
412
|
-
effectiveAt: Date;
|
|
413
418
|
baseAssetEntity: {
|
|
414
|
-
symbol: string | null;
|
|
415
419
|
id: string;
|
|
416
|
-
name: string;
|
|
417
420
|
code: string;
|
|
418
|
-
|
|
419
|
-
|
|
421
|
+
name: string;
|
|
422
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
423
|
+
symbol: string | null;
|
|
420
424
|
precision: number;
|
|
425
|
+
isActive: boolean;
|
|
421
426
|
};
|
|
427
|
+
baseAssetId: string;
|
|
428
|
+
createdAt: Date;
|
|
429
|
+
effectiveAt: Date;
|
|
430
|
+
id: string;
|
|
431
|
+
price: string;
|
|
432
|
+
source: string;
|
|
433
|
+
updatedAt: Date;
|
|
422
434
|
}[];
|
|
423
435
|
pagination: {
|
|
424
|
-
total: number;
|
|
425
436
|
pageSize: number;
|
|
426
437
|
pageIndex: number;
|
|
438
|
+
total: number;
|
|
427
439
|
totalPages: number;
|
|
428
440
|
hasNextPage: boolean;
|
|
429
441
|
};
|
|
@@ -431,7 +443,7 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
431
443
|
401: "Unauthorized";
|
|
432
444
|
403: "Forbidden: Admins only";
|
|
433
445
|
422: {
|
|
434
|
-
type:
|
|
446
|
+
type: 'validation';
|
|
435
447
|
on: string;
|
|
436
448
|
summary?: string;
|
|
437
449
|
message?: string;
|
|
@@ -455,28 +467,28 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
455
467
|
headers: {};
|
|
456
468
|
response: {
|
|
457
469
|
200: {
|
|
458
|
-
id: string;
|
|
459
|
-
createdAt: Date;
|
|
460
|
-
updatedAt: Date;
|
|
461
|
-
baseAssetId: string;
|
|
462
470
|
baseAsset: string;
|
|
463
|
-
price: string;
|
|
464
|
-
source: string;
|
|
465
|
-
effectiveAt: Date;
|
|
466
471
|
baseAssetEntity: {
|
|
467
|
-
symbol: string | null;
|
|
468
472
|
id: string;
|
|
469
|
-
name: string;
|
|
470
473
|
code: string;
|
|
471
|
-
|
|
472
|
-
|
|
474
|
+
name: string;
|
|
475
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
476
|
+
symbol: string | null;
|
|
473
477
|
precision: number;
|
|
478
|
+
isActive: boolean;
|
|
474
479
|
};
|
|
480
|
+
baseAssetId: string;
|
|
481
|
+
createdAt: Date;
|
|
482
|
+
effectiveAt: Date;
|
|
483
|
+
id: string;
|
|
484
|
+
price: string;
|
|
485
|
+
source: string;
|
|
486
|
+
updatedAt: Date;
|
|
475
487
|
};
|
|
476
488
|
401: "Unauthorized";
|
|
477
489
|
403: "Forbidden: Admins only";
|
|
478
490
|
422: {
|
|
479
|
-
type:
|
|
491
|
+
type: 'validation';
|
|
480
492
|
on: string;
|
|
481
493
|
summary?: string;
|
|
482
494
|
message?: string;
|
|
@@ -501,28 +513,28 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
501
513
|
headers: {};
|
|
502
514
|
response: {
|
|
503
515
|
200: {
|
|
504
|
-
id: string;
|
|
505
|
-
createdAt: Date;
|
|
506
|
-
updatedAt: Date;
|
|
507
|
-
baseAssetId: string;
|
|
508
516
|
baseAsset: string;
|
|
509
|
-
price: string;
|
|
510
|
-
source: string;
|
|
511
|
-
effectiveAt: Date;
|
|
512
517
|
baseAssetEntity: {
|
|
513
|
-
symbol: string | null;
|
|
514
518
|
id: string;
|
|
515
|
-
name: string;
|
|
516
519
|
code: string;
|
|
517
|
-
|
|
518
|
-
|
|
520
|
+
name: string;
|
|
521
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
522
|
+
symbol: string | null;
|
|
519
523
|
precision: number;
|
|
524
|
+
isActive: boolean;
|
|
520
525
|
};
|
|
526
|
+
baseAssetId: string;
|
|
527
|
+
createdAt: Date;
|
|
528
|
+
effectiveAt: Date;
|
|
529
|
+
id: string;
|
|
530
|
+
price: string;
|
|
531
|
+
source: string;
|
|
532
|
+
updatedAt: Date;
|
|
521
533
|
};
|
|
522
534
|
401: "Unauthorized";
|
|
523
535
|
403: "Forbidden: Admins only";
|
|
524
536
|
422: {
|
|
525
|
-
type:
|
|
537
|
+
type: 'validation';
|
|
526
538
|
on: string;
|
|
527
539
|
summary?: string;
|
|
528
540
|
message?: string;
|
|
@@ -538,9 +550,9 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
538
550
|
asset_prices: {
|
|
539
551
|
post: {
|
|
540
552
|
body: {
|
|
541
|
-
source?: string | undefined;
|
|
542
553
|
baseAsset: string;
|
|
543
554
|
price: string;
|
|
555
|
+
source?: string | undefined;
|
|
544
556
|
effectiveAt: Date;
|
|
545
557
|
};
|
|
546
558
|
params: {};
|
|
@@ -548,28 +560,28 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
548
560
|
headers: {};
|
|
549
561
|
response: {
|
|
550
562
|
200: {
|
|
551
|
-
id: string;
|
|
552
|
-
createdAt: Date;
|
|
553
|
-
updatedAt: Date;
|
|
554
|
-
baseAssetId: string;
|
|
555
563
|
baseAsset: string;
|
|
556
|
-
price: string;
|
|
557
|
-
source: string;
|
|
558
|
-
effectiveAt: Date;
|
|
559
564
|
baseAssetEntity: {
|
|
560
|
-
symbol: string | null;
|
|
561
565
|
id: string;
|
|
562
|
-
name: string;
|
|
563
566
|
code: string;
|
|
564
|
-
|
|
565
|
-
|
|
567
|
+
name: string;
|
|
568
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
569
|
+
symbol: string | null;
|
|
566
570
|
precision: number;
|
|
571
|
+
isActive: boolean;
|
|
567
572
|
};
|
|
573
|
+
baseAssetId: string;
|
|
574
|
+
createdAt: Date;
|
|
575
|
+
effectiveAt: Date;
|
|
576
|
+
id: string;
|
|
577
|
+
price: string;
|
|
578
|
+
source: string;
|
|
579
|
+
updatedAt: Date;
|
|
568
580
|
};
|
|
569
581
|
401: "Unauthorized";
|
|
570
582
|
403: "Forbidden: Admins only";
|
|
571
583
|
422: {
|
|
572
|
-
type:
|
|
584
|
+
type: 'validation';
|
|
573
585
|
on: string;
|
|
574
586
|
summary?: string;
|
|
575
587
|
message?: string;
|
|
@@ -596,16 +608,16 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
596
608
|
email: string;
|
|
597
609
|
emailVerified: boolean;
|
|
598
610
|
name: string;
|
|
599
|
-
image?: string | null | undefined
|
|
600
|
-
|
|
601
|
-
|
|
611
|
+
image?: string | null | undefined;
|
|
612
|
+
banExpires?: Date | null | undefined;
|
|
613
|
+
banReason?: string | null | undefined;
|
|
614
|
+
banned: boolean | null | undefined;
|
|
602
615
|
displayUsername?: string | null | undefined;
|
|
603
616
|
phoneNumber?: string | null | undefined;
|
|
604
617
|
phoneNumberVerified?: boolean | null | undefined;
|
|
605
|
-
banned: boolean | null | undefined;
|
|
606
618
|
role?: string | null | undefined;
|
|
607
|
-
|
|
608
|
-
|
|
619
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
620
|
+
username?: string | null | undefined;
|
|
609
621
|
};
|
|
610
622
|
session: {
|
|
611
623
|
id: string;
|
|
@@ -614,8 +626,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
614
626
|
userId: string;
|
|
615
627
|
expiresAt: Date;
|
|
616
628
|
token: string;
|
|
617
|
-
ipAddress?: string | null | undefined
|
|
618
|
-
userAgent?: string | null | undefined
|
|
629
|
+
ipAddress?: string | null | undefined;
|
|
630
|
+
userAgent?: string | null | undefined;
|
|
619
631
|
impersonatedBy?: string | null | undefined;
|
|
620
632
|
};
|
|
621
633
|
} & {
|
|
@@ -626,16 +638,16 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
626
638
|
email: string;
|
|
627
639
|
emailVerified: boolean;
|
|
628
640
|
name: string;
|
|
629
|
-
image?: string | null | undefined
|
|
630
|
-
|
|
631
|
-
|
|
641
|
+
image?: string | null | undefined;
|
|
642
|
+
banExpires?: Date | null | undefined;
|
|
643
|
+
banReason?: string | null | undefined;
|
|
644
|
+
banned: boolean | null | undefined;
|
|
632
645
|
displayUsername?: string | null | undefined;
|
|
633
646
|
phoneNumber?: string | null | undefined;
|
|
634
647
|
phoneNumberVerified?: boolean | null | undefined;
|
|
635
|
-
banned: boolean | null | undefined;
|
|
636
648
|
role?: string | null | undefined;
|
|
637
|
-
|
|
638
|
-
|
|
649
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
650
|
+
username?: string | null | undefined;
|
|
639
651
|
};
|
|
640
652
|
session: {
|
|
641
653
|
id: string;
|
|
@@ -644,8 +656,8 @@ export declare const assetPriceAdminRouter: Elysia<"/asset_prices", {
|
|
|
644
656
|
userId: string;
|
|
645
657
|
expiresAt: Date;
|
|
646
658
|
token: string;
|
|
647
|
-
ipAddress?: string | null | undefined
|
|
648
|
-
userAgent?: string | null | undefined
|
|
659
|
+
ipAddress?: string | null | undefined;
|
|
660
|
+
userAgent?: string | null | undefined;
|
|
649
661
|
impersonatedBy?: string | null | undefined;
|
|
650
662
|
};
|
|
651
663
|
};
|