@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
|
@@ -41,7 +41,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
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 |
|
|
44
|
+
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
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -105,66 +105,66 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
105
105
|
readonly 511: "Network Authentication Required";
|
|
106
106
|
}[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
107
|
readonly Continue: 100;
|
|
108
|
-
readonly
|
|
108
|
+
readonly 'Switching Protocols': 101;
|
|
109
109
|
readonly Processing: 102;
|
|
110
|
-
readonly
|
|
110
|
+
readonly 'Early Hints': 103;
|
|
111
111
|
readonly OK: 200;
|
|
112
112
|
readonly Created: 201;
|
|
113
113
|
readonly Accepted: 202;
|
|
114
|
-
readonly
|
|
115
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
-
readonly
|
|
120
|
-
readonly
|
|
121
|
-
readonly
|
|
114
|
+
readonly 'Non-Authoritative Information': 203;
|
|
115
|
+
readonly 'No Content': 204;
|
|
116
|
+
readonly 'Reset Content': 205;
|
|
117
|
+
readonly 'Partial Content': 206;
|
|
118
|
+
readonly 'Multi-Status': 207;
|
|
119
|
+
readonly 'Already Reported': 208;
|
|
120
|
+
readonly 'Multiple Choices': 300;
|
|
121
|
+
readonly 'Moved Permanently': 301;
|
|
122
122
|
readonly Found: 302;
|
|
123
|
-
readonly
|
|
124
|
-
readonly
|
|
125
|
-
readonly
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
123
|
+
readonly 'See Other': 303;
|
|
124
|
+
readonly 'Not Modified': 304;
|
|
125
|
+
readonly 'Temporary Redirect': 307;
|
|
126
|
+
readonly 'Permanent Redirect': 308;
|
|
127
|
+
readonly 'Bad Request': 400;
|
|
128
128
|
readonly Unauthorized: 401;
|
|
129
|
-
readonly
|
|
129
|
+
readonly 'Payment Required': 402;
|
|
130
130
|
readonly Forbidden: 403;
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly
|
|
134
|
-
readonly
|
|
135
|
-
readonly
|
|
131
|
+
readonly 'Not Found': 404;
|
|
132
|
+
readonly 'Method Not Allowed': 405;
|
|
133
|
+
readonly 'Not Acceptable': 406;
|
|
134
|
+
readonly 'Proxy Authentication Required': 407;
|
|
135
|
+
readonly 'Request Timeout': 408;
|
|
136
136
|
readonly Conflict: 409;
|
|
137
137
|
readonly Gone: 410;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
140
|
-
readonly
|
|
141
|
-
readonly
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
138
|
+
readonly 'Length Required': 411;
|
|
139
|
+
readonly 'Precondition Failed': 412;
|
|
140
|
+
readonly 'Payload Too Large': 413;
|
|
141
|
+
readonly 'URI Too Long': 414;
|
|
142
|
+
readonly 'Unsupported Media Type': 415;
|
|
143
|
+
readonly 'Range Not Satisfiable': 416;
|
|
144
|
+
readonly 'Expectation Failed': 417;
|
|
145
145
|
readonly "I'm a teapot": 418;
|
|
146
|
-
readonly
|
|
147
|
-
readonly
|
|
148
|
-
readonly
|
|
146
|
+
readonly 'Enhance Your Calm': 420;
|
|
147
|
+
readonly 'Misdirected Request': 421;
|
|
148
|
+
readonly 'Unprocessable Content': 422;
|
|
149
149
|
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
|
|
150
|
+
readonly 'Failed Dependency': 424;
|
|
151
|
+
readonly 'Too Early': 425;
|
|
152
|
+
readonly 'Upgrade Required': 426;
|
|
153
|
+
readonly 'Precondition Required': 428;
|
|
154
|
+
readonly 'Too Many Requests': 429;
|
|
155
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
156
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
157
|
+
readonly 'Internal Server Error': 500;
|
|
158
|
+
readonly 'Not Implemented': 501;
|
|
159
|
+
readonly 'Bad Gateway': 502;
|
|
160
|
+
readonly 'Service Unavailable': 503;
|
|
161
|
+
readonly 'Gateway Timeout': 504;
|
|
162
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
163
|
+
readonly 'Variant Also Negotiates': 506;
|
|
164
|
+
readonly 'Insufficient Storage': 507;
|
|
165
|
+
readonly 'Loop Detected': 508;
|
|
166
|
+
readonly 'Not Extended': 510;
|
|
167
|
+
readonly 'Network Authentication Required': 511;
|
|
168
168
|
}[Code] : Code>;
|
|
169
169
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | {
|
|
170
170
|
user: {
|
|
@@ -174,16 +174,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
174
174
|
email: string;
|
|
175
175
|
emailVerified: boolean;
|
|
176
176
|
name: string;
|
|
177
|
-
image?: string | null | undefined
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
image?: string | null | undefined;
|
|
178
|
+
banExpires?: Date | null | undefined;
|
|
179
|
+
banReason?: string | null | undefined;
|
|
180
|
+
banned: boolean | null | undefined;
|
|
180
181
|
displayUsername?: string | null | undefined;
|
|
181
182
|
phoneNumber?: string | null | undefined;
|
|
182
183
|
phoneNumberVerified?: boolean | null | undefined;
|
|
183
|
-
banned: boolean | null | undefined;
|
|
184
184
|
role?: string | null | undefined;
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
186
|
+
username?: string | null | undefined;
|
|
187
187
|
};
|
|
188
188
|
session: {
|
|
189
189
|
id: string;
|
|
@@ -192,8 +192,8 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
192
192
|
userId: string;
|
|
193
193
|
expiresAt: Date;
|
|
194
194
|
token: string;
|
|
195
|
-
ipAddress?: string | null | undefined
|
|
196
|
-
userAgent?: string | null | undefined
|
|
195
|
+
ipAddress?: string | null | undefined;
|
|
196
|
+
userAgent?: string | null | undefined;
|
|
197
197
|
impersonatedBy?: string | null | undefined;
|
|
198
198
|
};
|
|
199
199
|
}>;
|
|
@@ -217,7 +217,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
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 |
|
|
220
|
+
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
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -281,66 +281,66 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
281
281
|
readonly 511: "Network Authentication Required";
|
|
282
282
|
}[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
283
|
readonly Continue: 100;
|
|
284
|
-
readonly
|
|
284
|
+
readonly 'Switching Protocols': 101;
|
|
285
285
|
readonly Processing: 102;
|
|
286
|
-
readonly
|
|
286
|
+
readonly 'Early Hints': 103;
|
|
287
287
|
readonly OK: 200;
|
|
288
288
|
readonly Created: 201;
|
|
289
289
|
readonly Accepted: 202;
|
|
290
|
-
readonly
|
|
291
|
-
readonly
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
290
|
+
readonly 'Non-Authoritative Information': 203;
|
|
291
|
+
readonly 'No Content': 204;
|
|
292
|
+
readonly 'Reset Content': 205;
|
|
293
|
+
readonly 'Partial Content': 206;
|
|
294
|
+
readonly 'Multi-Status': 207;
|
|
295
|
+
readonly 'Already Reported': 208;
|
|
296
|
+
readonly 'Multiple Choices': 300;
|
|
297
|
+
readonly 'Moved Permanently': 301;
|
|
298
298
|
readonly Found: 302;
|
|
299
|
-
readonly
|
|
300
|
-
readonly
|
|
301
|
-
readonly
|
|
302
|
-
readonly
|
|
303
|
-
readonly
|
|
299
|
+
readonly 'See Other': 303;
|
|
300
|
+
readonly 'Not Modified': 304;
|
|
301
|
+
readonly 'Temporary Redirect': 307;
|
|
302
|
+
readonly 'Permanent Redirect': 308;
|
|
303
|
+
readonly 'Bad Request': 400;
|
|
304
304
|
readonly Unauthorized: 401;
|
|
305
|
-
readonly
|
|
305
|
+
readonly 'Payment Required': 402;
|
|
306
306
|
readonly Forbidden: 403;
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
311
|
-
readonly
|
|
307
|
+
readonly 'Not Found': 404;
|
|
308
|
+
readonly 'Method Not Allowed': 405;
|
|
309
|
+
readonly 'Not Acceptable': 406;
|
|
310
|
+
readonly 'Proxy Authentication Required': 407;
|
|
311
|
+
readonly 'Request Timeout': 408;
|
|
312
312
|
readonly Conflict: 409;
|
|
313
313
|
readonly Gone: 410;
|
|
314
|
-
readonly
|
|
315
|
-
readonly
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
319
|
-
readonly
|
|
320
|
-
readonly
|
|
314
|
+
readonly 'Length Required': 411;
|
|
315
|
+
readonly 'Precondition Failed': 412;
|
|
316
|
+
readonly 'Payload Too Large': 413;
|
|
317
|
+
readonly 'URI Too Long': 414;
|
|
318
|
+
readonly 'Unsupported Media Type': 415;
|
|
319
|
+
readonly 'Range Not Satisfiable': 416;
|
|
320
|
+
readonly 'Expectation Failed': 417;
|
|
321
321
|
readonly "I'm a teapot": 418;
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
322
|
+
readonly 'Enhance Your Calm': 420;
|
|
323
|
+
readonly 'Misdirected Request': 421;
|
|
324
|
+
readonly 'Unprocessable Content': 422;
|
|
325
325
|
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
|
|
326
|
+
readonly 'Failed Dependency': 424;
|
|
327
|
+
readonly 'Too Early': 425;
|
|
328
|
+
readonly 'Upgrade Required': 426;
|
|
329
|
+
readonly 'Precondition Required': 428;
|
|
330
|
+
readonly 'Too Many Requests': 429;
|
|
331
|
+
readonly 'Request Header Fields Too Large': 431;
|
|
332
|
+
readonly 'Unavailable For Legal Reasons': 451;
|
|
333
|
+
readonly 'Internal Server Error': 500;
|
|
334
|
+
readonly 'Not Implemented': 501;
|
|
335
|
+
readonly 'Bad Gateway': 502;
|
|
336
|
+
readonly 'Service Unavailable': 503;
|
|
337
|
+
readonly 'Gateway Timeout': 504;
|
|
338
|
+
readonly 'HTTP Version Not Supported': 505;
|
|
339
|
+
readonly 'Variant Also Negotiates': 506;
|
|
340
|
+
readonly 'Insufficient Storage': 507;
|
|
341
|
+
readonly 'Loop Detected': 508;
|
|
342
|
+
readonly 'Not Extended': 510;
|
|
343
|
+
readonly 'Network Authentication Required': 511;
|
|
344
344
|
}[Code] : Code>;
|
|
345
345
|
}) => Promise<import("elysia").ElysiaCustomStatusResponse<401, any, 401> | import("elysia").ElysiaCustomStatusResponse<403, "Forbidden: Admins only", 403> | {
|
|
346
346
|
user: {
|
|
@@ -350,16 +350,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
350
350
|
email: string;
|
|
351
351
|
emailVerified: boolean;
|
|
352
352
|
name: string;
|
|
353
|
-
image?: string | null | undefined
|
|
354
|
-
|
|
355
|
-
|
|
353
|
+
image?: string | null | undefined;
|
|
354
|
+
banExpires?: Date | null | undefined;
|
|
355
|
+
banReason?: string | null | undefined;
|
|
356
|
+
banned: boolean | null | undefined;
|
|
356
357
|
displayUsername?: string | null | undefined;
|
|
357
358
|
phoneNumber?: string | null | undefined;
|
|
358
359
|
phoneNumberVerified?: boolean | null | undefined;
|
|
359
|
-
banned: boolean | null | undefined;
|
|
360
360
|
role?: string | null | undefined;
|
|
361
|
-
|
|
362
|
-
|
|
361
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
362
|
+
username?: string | null | undefined;
|
|
363
363
|
};
|
|
364
364
|
session: {
|
|
365
365
|
id: string;
|
|
@@ -368,8 +368,8 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
368
368
|
userId: string;
|
|
369
369
|
expiresAt: Date;
|
|
370
370
|
token: string;
|
|
371
|
-
ipAddress?: string | null | undefined
|
|
372
|
-
userAgent?: string | null | undefined
|
|
371
|
+
ipAddress?: string | null | undefined;
|
|
372
|
+
userAgent?: string | null | undefined;
|
|
373
373
|
impersonatedBy?: string | null | undefined;
|
|
374
374
|
};
|
|
375
375
|
}>;
|
|
@@ -384,74 +384,74 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
384
384
|
products: {
|
|
385
385
|
post: {
|
|
386
386
|
body: {
|
|
387
|
+
name: string;
|
|
387
388
|
description?: string | null | undefined;
|
|
388
|
-
|
|
389
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
390
|
+
targetAssetId: string;
|
|
389
391
|
payAssetId?: string | undefined;
|
|
390
392
|
payAccountTypeId?: string | undefined;
|
|
391
393
|
receiveAccountTypeId?: string | undefined;
|
|
394
|
+
minPayAmount: string;
|
|
392
395
|
settlementMode?: "available" | "locked" | undefined;
|
|
396
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
393
397
|
allowPurchase?: boolean | undefined;
|
|
394
398
|
isHot?: boolean | undefined;
|
|
395
|
-
name: string;
|
|
396
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
397
|
-
targetAssetId: string;
|
|
398
|
-
minPayAmount: string;
|
|
399
399
|
};
|
|
400
400
|
params: {};
|
|
401
401
|
query: {};
|
|
402
402
|
headers: {};
|
|
403
403
|
response: {
|
|
404
404
|
200: {
|
|
405
|
-
|
|
406
|
-
name: string;
|
|
405
|
+
allowPurchase: boolean;
|
|
407
406
|
createdAt: Date;
|
|
408
|
-
updatedAt: Date;
|
|
409
407
|
description: string | null;
|
|
410
|
-
|
|
411
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
412
|
-
targetAssetId: string;
|
|
413
|
-
payAssetId: string;
|
|
414
|
-
payAccountTypeId: string;
|
|
415
|
-
receiveAccountTypeId: string;
|
|
416
|
-
minPayAmount: string;
|
|
417
|
-
settlementMode: "available" | "locked";
|
|
418
|
-
allowPurchase: boolean;
|
|
408
|
+
id: string;
|
|
419
409
|
isHot: boolean;
|
|
420
|
-
|
|
421
|
-
|
|
410
|
+
minPayAmount: string;
|
|
411
|
+
name: string;
|
|
412
|
+
payAccountType: {
|
|
422
413
|
id: string;
|
|
414
|
+
key: string;
|
|
423
415
|
name: string;
|
|
424
|
-
code: string;
|
|
425
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
426
416
|
isActive: boolean;
|
|
427
|
-
precision: number;
|
|
428
417
|
};
|
|
418
|
+
payAccountTypeId: string;
|
|
429
419
|
payAsset: {
|
|
430
|
-
symbol: string | null;
|
|
431
420
|
id: string;
|
|
432
|
-
name: string;
|
|
433
421
|
code: string;
|
|
434
|
-
|
|
435
|
-
|
|
422
|
+
name: string;
|
|
423
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
424
|
+
symbol: string | null;
|
|
436
425
|
precision: number;
|
|
426
|
+
isActive: boolean;
|
|
437
427
|
};
|
|
438
|
-
|
|
428
|
+
payAssetId: string;
|
|
429
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
430
|
+
receiveAccountType: {
|
|
439
431
|
id: string;
|
|
440
|
-
name: string;
|
|
441
432
|
key: string;
|
|
433
|
+
name: string;
|
|
442
434
|
isActive: boolean;
|
|
443
435
|
};
|
|
444
|
-
|
|
436
|
+
receiveAccountTypeId: string;
|
|
437
|
+
settlementMode: "available" | "locked";
|
|
438
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
439
|
+
targetAsset: {
|
|
445
440
|
id: string;
|
|
441
|
+
code: string;
|
|
446
442
|
name: string;
|
|
447
|
-
|
|
443
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
444
|
+
symbol: string | null;
|
|
445
|
+
precision: number;
|
|
448
446
|
isActive: boolean;
|
|
449
447
|
};
|
|
448
|
+
targetAssetId: string;
|
|
449
|
+
updatedAt: Date;
|
|
450
450
|
};
|
|
451
451
|
401: "Unauthorized";
|
|
452
452
|
403: "Forbidden: Admins only";
|
|
453
453
|
422: {
|
|
454
|
-
type:
|
|
454
|
+
type: 'validation';
|
|
455
455
|
on: string;
|
|
456
456
|
summary?: string;
|
|
457
457
|
message?: string;
|
|
@@ -471,14 +471,14 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
471
471
|
body: {
|
|
472
472
|
name?: string | undefined;
|
|
473
473
|
description?: string | null | undefined;
|
|
474
|
-
|
|
475
|
-
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
474
|
+
productCategoryKey?: "corporate_credit" | "gold" | "gov_bond" | "real_estate" | undefined;
|
|
476
475
|
targetAssetId?: string | undefined;
|
|
477
476
|
payAssetId?: string | undefined;
|
|
478
477
|
payAccountTypeId?: string | undefined;
|
|
479
478
|
receiveAccountTypeId?: string | undefined;
|
|
480
479
|
minPayAmount?: string | undefined;
|
|
481
480
|
settlementMode?: "available" | "locked" | undefined;
|
|
481
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
482
482
|
allowPurchase?: boolean | undefined;
|
|
483
483
|
isHot?: boolean | undefined;
|
|
484
484
|
};
|
|
@@ -489,56 +489,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
489
489
|
headers: {};
|
|
490
490
|
response: {
|
|
491
491
|
200: {
|
|
492
|
-
|
|
493
|
-
name: string;
|
|
492
|
+
allowPurchase: boolean;
|
|
494
493
|
createdAt: Date;
|
|
495
|
-
updatedAt: Date;
|
|
496
494
|
description: string | null;
|
|
497
|
-
|
|
498
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
499
|
-
targetAssetId: string;
|
|
500
|
-
payAssetId: string;
|
|
501
|
-
payAccountTypeId: string;
|
|
502
|
-
receiveAccountTypeId: string;
|
|
503
|
-
minPayAmount: string;
|
|
504
|
-
settlementMode: "available" | "locked";
|
|
505
|
-
allowPurchase: boolean;
|
|
495
|
+
id: string;
|
|
506
496
|
isHot: boolean;
|
|
507
|
-
|
|
508
|
-
|
|
497
|
+
minPayAmount: string;
|
|
498
|
+
name: string;
|
|
499
|
+
payAccountType: {
|
|
509
500
|
id: string;
|
|
501
|
+
key: string;
|
|
510
502
|
name: string;
|
|
511
|
-
code: string;
|
|
512
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
513
503
|
isActive: boolean;
|
|
514
|
-
precision: number;
|
|
515
504
|
};
|
|
505
|
+
payAccountTypeId: string;
|
|
516
506
|
payAsset: {
|
|
517
|
-
symbol: string | null;
|
|
518
507
|
id: string;
|
|
519
|
-
name: string;
|
|
520
508
|
code: string;
|
|
521
|
-
|
|
522
|
-
|
|
509
|
+
name: string;
|
|
510
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
511
|
+
symbol: string | null;
|
|
523
512
|
precision: number;
|
|
513
|
+
isActive: boolean;
|
|
524
514
|
};
|
|
525
|
-
|
|
515
|
+
payAssetId: string;
|
|
516
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
517
|
+
receiveAccountType: {
|
|
526
518
|
id: string;
|
|
527
|
-
name: string;
|
|
528
519
|
key: string;
|
|
520
|
+
name: string;
|
|
529
521
|
isActive: boolean;
|
|
530
522
|
};
|
|
531
|
-
|
|
523
|
+
receiveAccountTypeId: string;
|
|
524
|
+
settlementMode: "available" | "locked";
|
|
525
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
526
|
+
targetAsset: {
|
|
532
527
|
id: string;
|
|
528
|
+
code: string;
|
|
533
529
|
name: string;
|
|
534
|
-
|
|
530
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
531
|
+
symbol: string | null;
|
|
532
|
+
precision: number;
|
|
535
533
|
isActive: boolean;
|
|
536
534
|
};
|
|
535
|
+
targetAssetId: string;
|
|
536
|
+
updatedAt: Date;
|
|
537
537
|
};
|
|
538
538
|
401: "Unauthorized";
|
|
539
539
|
403: "Forbidden: Admins only";
|
|
540
540
|
422: {
|
|
541
|
-
type:
|
|
541
|
+
type: 'validation';
|
|
542
542
|
on: string;
|
|
543
543
|
summary?: string;
|
|
544
544
|
message?: string;
|
|
@@ -565,56 +565,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
565
565
|
headers: {};
|
|
566
566
|
response: {
|
|
567
567
|
200: {
|
|
568
|
-
|
|
569
|
-
name: string;
|
|
568
|
+
allowPurchase: boolean;
|
|
570
569
|
createdAt: Date;
|
|
571
|
-
updatedAt: Date;
|
|
572
570
|
description: string | null;
|
|
573
|
-
|
|
574
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
575
|
-
targetAssetId: string;
|
|
576
|
-
payAssetId: string;
|
|
577
|
-
payAccountTypeId: string;
|
|
578
|
-
receiveAccountTypeId: string;
|
|
579
|
-
minPayAmount: string;
|
|
580
|
-
settlementMode: "available" | "locked";
|
|
581
|
-
allowPurchase: boolean;
|
|
571
|
+
id: string;
|
|
582
572
|
isHot: boolean;
|
|
583
|
-
|
|
584
|
-
|
|
573
|
+
minPayAmount: string;
|
|
574
|
+
name: string;
|
|
575
|
+
payAccountType: {
|
|
585
576
|
id: string;
|
|
577
|
+
key: string;
|
|
586
578
|
name: string;
|
|
587
|
-
code: string;
|
|
588
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
589
579
|
isActive: boolean;
|
|
590
|
-
precision: number;
|
|
591
580
|
};
|
|
581
|
+
payAccountTypeId: string;
|
|
592
582
|
payAsset: {
|
|
593
|
-
symbol: string | null;
|
|
594
583
|
id: string;
|
|
595
|
-
name: string;
|
|
596
584
|
code: string;
|
|
597
|
-
|
|
598
|
-
|
|
585
|
+
name: string;
|
|
586
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
587
|
+
symbol: string | null;
|
|
599
588
|
precision: number;
|
|
589
|
+
isActive: boolean;
|
|
600
590
|
};
|
|
601
|
-
|
|
591
|
+
payAssetId: string;
|
|
592
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
593
|
+
receiveAccountType: {
|
|
602
594
|
id: string;
|
|
603
|
-
name: string;
|
|
604
595
|
key: string;
|
|
596
|
+
name: string;
|
|
605
597
|
isActive: boolean;
|
|
606
598
|
};
|
|
607
|
-
|
|
599
|
+
receiveAccountTypeId: string;
|
|
600
|
+
settlementMode: "available" | "locked";
|
|
601
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
602
|
+
targetAsset: {
|
|
608
603
|
id: string;
|
|
604
|
+
code: string;
|
|
609
605
|
name: string;
|
|
610
|
-
|
|
606
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
607
|
+
symbol: string | null;
|
|
608
|
+
precision: number;
|
|
611
609
|
isActive: boolean;
|
|
612
610
|
};
|
|
611
|
+
targetAssetId: string;
|
|
612
|
+
updatedAt: Date;
|
|
613
613
|
};
|
|
614
614
|
401: "Unauthorized";
|
|
615
615
|
403: "Forbidden: Admins only";
|
|
616
616
|
422: {
|
|
617
|
-
type:
|
|
617
|
+
type: 'validation';
|
|
618
618
|
on: string;
|
|
619
619
|
summary?: string;
|
|
620
620
|
message?: string;
|
|
@@ -642,56 +642,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
642
642
|
headers: {};
|
|
643
643
|
response: {
|
|
644
644
|
200: {
|
|
645
|
-
|
|
646
|
-
name: string;
|
|
645
|
+
allowPurchase: boolean;
|
|
647
646
|
createdAt: Date;
|
|
648
|
-
updatedAt: Date;
|
|
649
647
|
description: string | null;
|
|
650
|
-
|
|
651
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
652
|
-
targetAssetId: string;
|
|
653
|
-
payAssetId: string;
|
|
654
|
-
payAccountTypeId: string;
|
|
655
|
-
receiveAccountTypeId: string;
|
|
656
|
-
minPayAmount: string;
|
|
657
|
-
settlementMode: "available" | "locked";
|
|
658
|
-
allowPurchase: boolean;
|
|
648
|
+
id: string;
|
|
659
649
|
isHot: boolean;
|
|
660
|
-
|
|
661
|
-
|
|
650
|
+
minPayAmount: string;
|
|
651
|
+
name: string;
|
|
652
|
+
payAccountType: {
|
|
662
653
|
id: string;
|
|
654
|
+
key: string;
|
|
663
655
|
name: string;
|
|
664
|
-
code: string;
|
|
665
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
666
656
|
isActive: boolean;
|
|
667
|
-
precision: number;
|
|
668
657
|
};
|
|
658
|
+
payAccountTypeId: string;
|
|
669
659
|
payAsset: {
|
|
670
|
-
symbol: string | null;
|
|
671
660
|
id: string;
|
|
672
|
-
name: string;
|
|
673
661
|
code: string;
|
|
674
|
-
|
|
675
|
-
|
|
662
|
+
name: string;
|
|
663
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
664
|
+
symbol: string | null;
|
|
676
665
|
precision: number;
|
|
666
|
+
isActive: boolean;
|
|
677
667
|
};
|
|
678
|
-
|
|
668
|
+
payAssetId: string;
|
|
669
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
670
|
+
receiveAccountType: {
|
|
679
671
|
id: string;
|
|
680
|
-
name: string;
|
|
681
672
|
key: string;
|
|
673
|
+
name: string;
|
|
682
674
|
isActive: boolean;
|
|
683
675
|
};
|
|
684
|
-
|
|
676
|
+
receiveAccountTypeId: string;
|
|
677
|
+
settlementMode: "available" | "locked";
|
|
678
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
679
|
+
targetAsset: {
|
|
685
680
|
id: string;
|
|
681
|
+
code: string;
|
|
686
682
|
name: string;
|
|
687
|
-
|
|
683
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
684
|
+
symbol: string | null;
|
|
685
|
+
precision: number;
|
|
688
686
|
isActive: boolean;
|
|
689
687
|
};
|
|
688
|
+
targetAssetId: string;
|
|
689
|
+
updatedAt: Date;
|
|
690
690
|
};
|
|
691
691
|
401: "Unauthorized";
|
|
692
692
|
403: "Forbidden: Admins only";
|
|
693
693
|
422: {
|
|
694
|
-
type:
|
|
694
|
+
type: 'validation';
|
|
695
695
|
on: string;
|
|
696
696
|
summary?: string;
|
|
697
697
|
message?: string;
|
|
@@ -719,56 +719,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
719
719
|
headers: {};
|
|
720
720
|
response: {
|
|
721
721
|
200: {
|
|
722
|
-
|
|
723
|
-
name: string;
|
|
722
|
+
allowPurchase: boolean;
|
|
724
723
|
createdAt: Date;
|
|
725
|
-
updatedAt: Date;
|
|
726
724
|
description: string | null;
|
|
727
|
-
|
|
728
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
729
|
-
targetAssetId: string;
|
|
730
|
-
payAssetId: string;
|
|
731
|
-
payAccountTypeId: string;
|
|
732
|
-
receiveAccountTypeId: string;
|
|
733
|
-
minPayAmount: string;
|
|
734
|
-
settlementMode: "available" | "locked";
|
|
735
|
-
allowPurchase: boolean;
|
|
725
|
+
id: string;
|
|
736
726
|
isHot: boolean;
|
|
737
|
-
|
|
738
|
-
|
|
727
|
+
minPayAmount: string;
|
|
728
|
+
name: string;
|
|
729
|
+
payAccountType: {
|
|
739
730
|
id: string;
|
|
731
|
+
key: string;
|
|
740
732
|
name: string;
|
|
741
|
-
code: string;
|
|
742
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
743
733
|
isActive: boolean;
|
|
744
|
-
precision: number;
|
|
745
734
|
};
|
|
735
|
+
payAccountTypeId: string;
|
|
746
736
|
payAsset: {
|
|
747
|
-
symbol: string | null;
|
|
748
737
|
id: string;
|
|
749
|
-
name: string;
|
|
750
738
|
code: string;
|
|
751
|
-
|
|
752
|
-
|
|
739
|
+
name: string;
|
|
740
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
741
|
+
symbol: string | null;
|
|
753
742
|
precision: number;
|
|
743
|
+
isActive: boolean;
|
|
754
744
|
};
|
|
755
|
-
|
|
745
|
+
payAssetId: string;
|
|
746
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
747
|
+
receiveAccountType: {
|
|
756
748
|
id: string;
|
|
757
|
-
name: string;
|
|
758
749
|
key: string;
|
|
750
|
+
name: string;
|
|
759
751
|
isActive: boolean;
|
|
760
752
|
};
|
|
761
|
-
|
|
753
|
+
receiveAccountTypeId: string;
|
|
754
|
+
settlementMode: "available" | "locked";
|
|
755
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
756
|
+
targetAsset: {
|
|
762
757
|
id: string;
|
|
758
|
+
code: string;
|
|
763
759
|
name: string;
|
|
764
|
-
|
|
760
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
761
|
+
symbol: string | null;
|
|
762
|
+
precision: number;
|
|
765
763
|
isActive: boolean;
|
|
766
764
|
};
|
|
765
|
+
targetAssetId: string;
|
|
766
|
+
updatedAt: Date;
|
|
767
767
|
};
|
|
768
768
|
401: "Unauthorized";
|
|
769
769
|
403: "Forbidden: Admins only";
|
|
770
770
|
422: {
|
|
771
|
-
type:
|
|
771
|
+
type: 'validation';
|
|
772
772
|
on: string;
|
|
773
773
|
summary?: string;
|
|
774
774
|
message?: string;
|
|
@@ -795,56 +795,56 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
795
795
|
headers: {};
|
|
796
796
|
response: {
|
|
797
797
|
200: {
|
|
798
|
-
|
|
799
|
-
name: string;
|
|
798
|
+
allowPurchase: boolean;
|
|
800
799
|
createdAt: Date;
|
|
801
|
-
updatedAt: Date;
|
|
802
800
|
description: string | null;
|
|
803
|
-
|
|
804
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
805
|
-
targetAssetId: string;
|
|
806
|
-
payAssetId: string;
|
|
807
|
-
payAccountTypeId: string;
|
|
808
|
-
receiveAccountTypeId: string;
|
|
809
|
-
minPayAmount: string;
|
|
810
|
-
settlementMode: "available" | "locked";
|
|
811
|
-
allowPurchase: boolean;
|
|
801
|
+
id: string;
|
|
812
802
|
isHot: boolean;
|
|
813
|
-
|
|
814
|
-
|
|
803
|
+
minPayAmount: string;
|
|
804
|
+
name: string;
|
|
805
|
+
payAccountType: {
|
|
815
806
|
id: string;
|
|
807
|
+
key: string;
|
|
816
808
|
name: string;
|
|
817
|
-
code: string;
|
|
818
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
819
809
|
isActive: boolean;
|
|
820
|
-
precision: number;
|
|
821
810
|
};
|
|
811
|
+
payAccountTypeId: string;
|
|
822
812
|
payAsset: {
|
|
823
|
-
symbol: string | null;
|
|
824
813
|
id: string;
|
|
825
|
-
name: string;
|
|
826
814
|
code: string;
|
|
827
|
-
|
|
828
|
-
|
|
815
|
+
name: string;
|
|
816
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
817
|
+
symbol: string | null;
|
|
829
818
|
precision: number;
|
|
819
|
+
isActive: boolean;
|
|
830
820
|
};
|
|
831
|
-
|
|
821
|
+
payAssetId: string;
|
|
822
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
823
|
+
receiveAccountType: {
|
|
832
824
|
id: string;
|
|
833
|
-
name: string;
|
|
834
825
|
key: string;
|
|
826
|
+
name: string;
|
|
835
827
|
isActive: boolean;
|
|
836
828
|
};
|
|
837
|
-
|
|
829
|
+
receiveAccountTypeId: string;
|
|
830
|
+
settlementMode: "available" | "locked";
|
|
831
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
832
|
+
targetAsset: {
|
|
838
833
|
id: string;
|
|
834
|
+
code: string;
|
|
839
835
|
name: string;
|
|
840
|
-
|
|
836
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
837
|
+
symbol: string | null;
|
|
838
|
+
precision: number;
|
|
841
839
|
isActive: boolean;
|
|
842
840
|
};
|
|
841
|
+
targetAssetId: string;
|
|
842
|
+
updatedAt: Date;
|
|
843
843
|
};
|
|
844
844
|
401: "Unauthorized";
|
|
845
845
|
403: "Forbidden: Admins only";
|
|
846
846
|
422: {
|
|
847
|
-
type:
|
|
847
|
+
type: 'validation';
|
|
848
848
|
on: string;
|
|
849
849
|
summary?: string;
|
|
850
850
|
message?: string;
|
|
@@ -864,80 +864,80 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
864
864
|
body: {};
|
|
865
865
|
params: {};
|
|
866
866
|
query: {
|
|
867
|
-
id?: string | undefined;
|
|
868
|
-
name?: string | undefined;
|
|
869
|
-
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
870
|
-
productCategoryKey?: "gold" | "gov_bond" | "real_estate" | "corporate_credit" | undefined;
|
|
871
|
-
targetAssetId?: string | undefined;
|
|
872
|
-
payAssetId?: string | undefined;
|
|
873
|
-
payAccountTypeId?: string | undefined;
|
|
874
|
-
receiveAccountTypeId?: string | undefined;
|
|
875
|
-
settlementMode?: "available" | "locked" | undefined;
|
|
876
867
|
allowPurchase?: boolean | undefined;
|
|
868
|
+
createdAtEnd?: Date | undefined;
|
|
869
|
+
createdAtStart?: Date | undefined;
|
|
870
|
+
id?: string | undefined;
|
|
877
871
|
isHot?: boolean | undefined;
|
|
878
872
|
limit?: number | undefined;
|
|
873
|
+
name?: string | undefined;
|
|
879
874
|
offset?: number | undefined;
|
|
880
|
-
pageSize?: number | undefined;
|
|
881
875
|
pageIndex?: number | undefined;
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
876
|
+
pageSize?: number | undefined;
|
|
877
|
+
payAccountTypeId?: string | undefined;
|
|
878
|
+
payAssetId?: string | undefined;
|
|
879
|
+
productCategoryKey?: "corporate_credit" | "gold" | "gov_bond" | "real_estate" | undefined;
|
|
880
|
+
receiveAccountTypeId?: string | undefined;
|
|
881
|
+
settlementMode?: "available" | "locked" | undefined;
|
|
882
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
883
|
+
targetAssetId?: string | undefined;
|
|
885
884
|
updatedAtEnd?: Date | undefined;
|
|
885
|
+
updatedAtStart?: Date | undefined;
|
|
886
886
|
};
|
|
887
887
|
headers: {};
|
|
888
888
|
response: {
|
|
889
889
|
200: {
|
|
890
890
|
data: {
|
|
891
|
-
|
|
892
|
-
name: string;
|
|
891
|
+
allowPurchase: boolean;
|
|
893
892
|
createdAt: Date;
|
|
894
|
-
updatedAt: Date;
|
|
895
893
|
description: string | null;
|
|
896
|
-
|
|
897
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
898
|
-
targetAssetId: string;
|
|
899
|
-
payAssetId: string;
|
|
900
|
-
payAccountTypeId: string;
|
|
901
|
-
receiveAccountTypeId: string;
|
|
902
|
-
minPayAmount: string;
|
|
903
|
-
settlementMode: "available" | "locked";
|
|
904
|
-
allowPurchase: boolean;
|
|
894
|
+
id: string;
|
|
905
895
|
isHot: boolean;
|
|
906
|
-
|
|
907
|
-
|
|
896
|
+
minPayAmount: string;
|
|
897
|
+
name: string;
|
|
898
|
+
payAccountType: {
|
|
908
899
|
id: string;
|
|
900
|
+
key: string;
|
|
909
901
|
name: string;
|
|
910
|
-
code: string;
|
|
911
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
912
902
|
isActive: boolean;
|
|
913
|
-
precision: number;
|
|
914
903
|
};
|
|
904
|
+
payAccountTypeId: string;
|
|
915
905
|
payAsset: {
|
|
916
|
-
symbol: string | null;
|
|
917
906
|
id: string;
|
|
918
|
-
name: string;
|
|
919
907
|
code: string;
|
|
920
|
-
|
|
921
|
-
|
|
908
|
+
name: string;
|
|
909
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
910
|
+
symbol: string | null;
|
|
922
911
|
precision: number;
|
|
912
|
+
isActive: boolean;
|
|
923
913
|
};
|
|
924
|
-
|
|
914
|
+
payAssetId: string;
|
|
915
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
916
|
+
receiveAccountType: {
|
|
925
917
|
id: string;
|
|
926
|
-
name: string;
|
|
927
918
|
key: string;
|
|
919
|
+
name: string;
|
|
928
920
|
isActive: boolean;
|
|
929
921
|
};
|
|
930
|
-
|
|
922
|
+
receiveAccountTypeId: string;
|
|
923
|
+
settlementMode: "available" | "locked";
|
|
924
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
925
|
+
targetAsset: {
|
|
931
926
|
id: string;
|
|
927
|
+
code: string;
|
|
932
928
|
name: string;
|
|
933
|
-
|
|
929
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
930
|
+
symbol: string | null;
|
|
931
|
+
precision: number;
|
|
934
932
|
isActive: boolean;
|
|
935
933
|
};
|
|
934
|
+
targetAssetId: string;
|
|
935
|
+
updatedAt: Date;
|
|
936
936
|
}[];
|
|
937
937
|
pagination: {
|
|
938
|
-
total: number;
|
|
939
938
|
pageSize: number;
|
|
940
939
|
pageIndex: number;
|
|
940
|
+
total: number;
|
|
941
941
|
totalPages: number;
|
|
942
942
|
hasNextPage: boolean;
|
|
943
943
|
};
|
|
@@ -945,7 +945,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
945
945
|
401: "Unauthorized";
|
|
946
946
|
403: "Forbidden: Admins only";
|
|
947
947
|
422: {
|
|
948
|
-
type:
|
|
948
|
+
type: 'validation';
|
|
949
949
|
on: string;
|
|
950
950
|
summary?: string;
|
|
951
951
|
message?: string;
|
|
@@ -964,164 +964,164 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
964
964
|
body: {};
|
|
965
965
|
params: {};
|
|
966
966
|
query: {
|
|
967
|
+
createdAtEnd?: Date | undefined;
|
|
968
|
+
createdAtStart?: Date | undefined;
|
|
967
969
|
id?: string | undefined;
|
|
968
|
-
userId?: string | undefined;
|
|
969
|
-
status?: "created" | "completed" | undefined;
|
|
970
970
|
idempotencyKey?: string | undefined;
|
|
971
|
-
orderNo?: string | undefined;
|
|
972
|
-
productId?: string | undefined;
|
|
973
|
-
sourcePayAccountId?: string | undefined;
|
|
974
|
-
receiveAccountId?: string | undefined;
|
|
975
971
|
limit?: number | undefined;
|
|
976
972
|
offset?: number | undefined;
|
|
977
|
-
|
|
973
|
+
orderNo?: string | undefined;
|
|
978
974
|
pageIndex?: number | undefined;
|
|
979
|
-
|
|
980
|
-
|
|
975
|
+
pageSize?: number | undefined;
|
|
976
|
+
productId?: string | undefined;
|
|
977
|
+
receiveAccountId?: string | undefined;
|
|
978
|
+
sourcePayAccountId?: string | undefined;
|
|
979
|
+
status?: "completed" | "created" | undefined;
|
|
980
|
+
userId?: string | undefined;
|
|
981
981
|
};
|
|
982
982
|
headers: {};
|
|
983
983
|
response: {
|
|
984
984
|
200: {
|
|
985
985
|
data: {
|
|
986
|
-
|
|
986
|
+
createdAt: Date;
|
|
987
|
+
creditLedgerEntry?: {
|
|
987
988
|
id: string;
|
|
988
|
-
|
|
989
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
989
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
990
990
|
amount: string;
|
|
991
991
|
referenceId: string;
|
|
992
|
-
referenceType: "
|
|
992
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
993
|
+
createdAt: Date;
|
|
993
994
|
} | undefined;
|
|
994
|
-
|
|
995
|
+
creditLedgerEntryId: string | null;
|
|
996
|
+
debitLedgerEntry?: {
|
|
995
997
|
id: string;
|
|
996
|
-
|
|
997
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
998
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
998
999
|
amount: string;
|
|
999
1000
|
referenceId: string;
|
|
1000
|
-
referenceType: "
|
|
1001
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1002
|
+
createdAt: Date;
|
|
1001
1003
|
} | undefined;
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
username: string | null;
|
|
1006
|
-
displayUsername: string | null;
|
|
1007
|
-
phoneNumber: string | null;
|
|
1008
|
-
banned: boolean | null;
|
|
1009
|
-
};
|
|
1004
|
+
debitLedgerEntryId: string | null;
|
|
1005
|
+
failureCode: string | null;
|
|
1006
|
+
failureReason: string | null;
|
|
1010
1007
|
id: string;
|
|
1011
|
-
createdAt: Date;
|
|
1012
|
-
updatedAt: Date;
|
|
1013
|
-
userId: string;
|
|
1014
|
-
status: "created" | "completed";
|
|
1015
1008
|
idempotencyKey: string;
|
|
1016
1009
|
orderNo: string;
|
|
1017
|
-
productId: string;
|
|
1018
|
-
payAssetIdSnapshot: string;
|
|
1019
|
-
targetAssetIdSnapshot: string;
|
|
1020
|
-
quoteAssetIdSnapshot: string;
|
|
1021
|
-
priceSnapshot: string;
|
|
1022
|
-
priceEffectiveAtSnapshot: Date;
|
|
1023
1010
|
payAmount: string;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
settlementModeSnapshot: "available" | "locked";
|
|
1027
|
-
receiveAccountId: string;
|
|
1028
|
-
debitLedgerEntryId: string | null;
|
|
1029
|
-
creditLedgerEntryId: string | null;
|
|
1030
|
-
failureCode: string | null;
|
|
1031
|
-
failureReason: string | null;
|
|
1032
|
-
product: {
|
|
1011
|
+
payAssetIdSnapshot: string;
|
|
1012
|
+
payAssetSnapshot: {
|
|
1033
1013
|
id: string;
|
|
1014
|
+
code: string;
|
|
1034
1015
|
name: string;
|
|
1016
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1017
|
+
symbol: string | null;
|
|
1018
|
+
precision: number;
|
|
1019
|
+
isActive: boolean;
|
|
1020
|
+
};
|
|
1021
|
+
priceEffectiveAtSnapshot: Date;
|
|
1022
|
+
priceSnapshot: string;
|
|
1023
|
+
product: {
|
|
1024
|
+
allowPurchase: boolean;
|
|
1035
1025
|
createdAt: Date;
|
|
1036
|
-
updatedAt: Date;
|
|
1037
1026
|
description: string | null;
|
|
1038
|
-
|
|
1039
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1040
|
-
targetAssetId: string;
|
|
1041
|
-
payAssetId: string;
|
|
1042
|
-
payAccountTypeId: string;
|
|
1043
|
-
receiveAccountTypeId: string;
|
|
1044
|
-
minPayAmount: string;
|
|
1045
|
-
settlementMode: "available" | "locked";
|
|
1046
|
-
allowPurchase: boolean;
|
|
1027
|
+
id: string;
|
|
1047
1028
|
isHot: boolean;
|
|
1048
|
-
|
|
1049
|
-
|
|
1029
|
+
minPayAmount: string;
|
|
1030
|
+
name: string;
|
|
1031
|
+
payAccountType: {
|
|
1050
1032
|
id: string;
|
|
1033
|
+
key: string;
|
|
1051
1034
|
name: string;
|
|
1052
|
-
code: string;
|
|
1053
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1054
1035
|
isActive: boolean;
|
|
1055
|
-
precision: number;
|
|
1056
1036
|
};
|
|
1037
|
+
payAccountTypeId: string;
|
|
1057
1038
|
payAsset: {
|
|
1058
|
-
symbol: string | null;
|
|
1059
1039
|
id: string;
|
|
1060
|
-
name: string;
|
|
1061
1040
|
code: string;
|
|
1062
|
-
|
|
1063
|
-
|
|
1041
|
+
name: string;
|
|
1042
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1043
|
+
symbol: string | null;
|
|
1064
1044
|
precision: number;
|
|
1045
|
+
isActive: boolean;
|
|
1065
1046
|
};
|
|
1066
|
-
|
|
1047
|
+
payAssetId: string;
|
|
1048
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
1049
|
+
receiveAccountType: {
|
|
1067
1050
|
id: string;
|
|
1068
|
-
name: string;
|
|
1069
1051
|
key: string;
|
|
1052
|
+
name: string;
|
|
1070
1053
|
isActive: boolean;
|
|
1071
1054
|
};
|
|
1072
|
-
|
|
1055
|
+
receiveAccountTypeId: string;
|
|
1056
|
+
settlementMode: "available" | "locked";
|
|
1057
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1058
|
+
targetAsset: {
|
|
1073
1059
|
id: string;
|
|
1060
|
+
code: string;
|
|
1074
1061
|
name: string;
|
|
1075
|
-
|
|
1062
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1063
|
+
symbol: string | null;
|
|
1064
|
+
precision: number;
|
|
1076
1065
|
isActive: boolean;
|
|
1077
1066
|
};
|
|
1067
|
+
targetAssetId: string;
|
|
1068
|
+
updatedAt: Date;
|
|
1078
1069
|
};
|
|
1079
|
-
|
|
1080
|
-
|
|
1070
|
+
productId: string;
|
|
1071
|
+
quoteAssetIdSnapshot: string;
|
|
1072
|
+
quoteAssetSnapshot: {
|
|
1081
1073
|
id: string;
|
|
1082
|
-
name: string;
|
|
1083
1074
|
code: string;
|
|
1084
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1085
|
-
isActive: boolean;
|
|
1086
|
-
precision: number;
|
|
1087
|
-
};
|
|
1088
|
-
targetAssetSnapshot: {
|
|
1089
|
-
symbol: string | null;
|
|
1090
|
-
id: string;
|
|
1091
1075
|
name: string;
|
|
1092
|
-
|
|
1093
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1094
|
-
isActive: boolean;
|
|
1095
|
-
precision: number;
|
|
1096
|
-
};
|
|
1097
|
-
quoteAssetSnapshot: {
|
|
1076
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1098
1077
|
symbol: string | null;
|
|
1099
|
-
id: string;
|
|
1100
|
-
name: string;
|
|
1101
|
-
code: string;
|
|
1102
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1103
|
-
isActive: boolean;
|
|
1104
1078
|
precision: number;
|
|
1079
|
+
isActive: boolean;
|
|
1105
1080
|
};
|
|
1106
|
-
|
|
1081
|
+
receiveAccount: {
|
|
1107
1082
|
id: string;
|
|
1108
1083
|
userId: string;
|
|
1109
|
-
status: "active" | "frozen" | "disabled";
|
|
1110
1084
|
assetId: string;
|
|
1111
1085
|
ledgerAccountTypeId: string;
|
|
1086
|
+
status: "active" | "disabled" | "frozen";
|
|
1112
1087
|
};
|
|
1113
|
-
|
|
1088
|
+
receiveAccountId: string;
|
|
1089
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1090
|
+
sourcePayAccount: {
|
|
1114
1091
|
id: string;
|
|
1115
1092
|
userId: string;
|
|
1116
|
-
status: "active" | "frozen" | "disabled";
|
|
1117
1093
|
assetId: string;
|
|
1118
1094
|
ledgerAccountTypeId: string;
|
|
1095
|
+
status: "active" | "disabled" | "frozen";
|
|
1096
|
+
};
|
|
1097
|
+
sourcePayAccountId: string;
|
|
1098
|
+
status: "completed" | "created";
|
|
1099
|
+
targetAmount: string;
|
|
1100
|
+
targetAssetIdSnapshot: string;
|
|
1101
|
+
targetAssetSnapshot: {
|
|
1102
|
+
id: string;
|
|
1103
|
+
code: string;
|
|
1104
|
+
name: string;
|
|
1105
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1106
|
+
symbol: string | null;
|
|
1107
|
+
precision: number;
|
|
1108
|
+
isActive: boolean;
|
|
1109
|
+
};
|
|
1110
|
+
updatedAt: Date;
|
|
1111
|
+
user: {
|
|
1112
|
+
id: string;
|
|
1113
|
+
email: string;
|
|
1114
|
+
username: string | null;
|
|
1115
|
+
displayUsername: string | null;
|
|
1116
|
+
phoneNumber: string | null;
|
|
1117
|
+
banned: boolean | null;
|
|
1119
1118
|
};
|
|
1119
|
+
userId: string;
|
|
1120
1120
|
}[];
|
|
1121
1121
|
pagination: {
|
|
1122
|
-
total: number;
|
|
1123
1122
|
pageSize: number;
|
|
1124
1123
|
pageIndex: number;
|
|
1124
|
+
total: number;
|
|
1125
1125
|
totalPages: number;
|
|
1126
1126
|
hasNextPage: boolean;
|
|
1127
1127
|
};
|
|
@@ -1129,7 +1129,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1129
1129
|
401: "Unauthorized";
|
|
1130
1130
|
403: "Forbidden: Admins only";
|
|
1131
1131
|
422: {
|
|
1132
|
-
type:
|
|
1132
|
+
type: 'validation';
|
|
1133
1133
|
on: string;
|
|
1134
1134
|
summary?: string;
|
|
1135
1135
|
message?: string;
|
|
@@ -1154,145 +1154,145 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1154
1154
|
headers: {};
|
|
1155
1155
|
response: {
|
|
1156
1156
|
200: {
|
|
1157
|
-
|
|
1157
|
+
createdAt: Date;
|
|
1158
|
+
creditLedgerEntry?: {
|
|
1158
1159
|
id: string;
|
|
1159
|
-
|
|
1160
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1160
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1161
1161
|
amount: string;
|
|
1162
1162
|
referenceId: string;
|
|
1163
|
-
referenceType: "
|
|
1163
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1164
|
+
createdAt: Date;
|
|
1164
1165
|
} | undefined;
|
|
1165
|
-
|
|
1166
|
+
creditLedgerEntryId: string | null;
|
|
1167
|
+
debitLedgerEntry?: {
|
|
1166
1168
|
id: string;
|
|
1167
|
-
|
|
1168
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1169
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1169
1170
|
amount: string;
|
|
1170
1171
|
referenceId: string;
|
|
1171
|
-
referenceType: "
|
|
1172
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1173
|
+
createdAt: Date;
|
|
1172
1174
|
} | undefined;
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
username: string | null;
|
|
1177
|
-
displayUsername: string | null;
|
|
1178
|
-
phoneNumber: string | null;
|
|
1179
|
-
banned: boolean | null;
|
|
1180
|
-
};
|
|
1175
|
+
debitLedgerEntryId: string | null;
|
|
1176
|
+
failureCode: string | null;
|
|
1177
|
+
failureReason: string | null;
|
|
1181
1178
|
id: string;
|
|
1182
|
-
createdAt: Date;
|
|
1183
|
-
updatedAt: Date;
|
|
1184
|
-
userId: string;
|
|
1185
|
-
status: "created" | "completed";
|
|
1186
1179
|
idempotencyKey: string;
|
|
1187
1180
|
orderNo: string;
|
|
1188
|
-
productId: string;
|
|
1189
|
-
payAssetIdSnapshot: string;
|
|
1190
|
-
targetAssetIdSnapshot: string;
|
|
1191
|
-
quoteAssetIdSnapshot: string;
|
|
1192
|
-
priceSnapshot: string;
|
|
1193
|
-
priceEffectiveAtSnapshot: Date;
|
|
1194
1181
|
payAmount: string;
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
settlementModeSnapshot: "available" | "locked";
|
|
1198
|
-
receiveAccountId: string;
|
|
1199
|
-
debitLedgerEntryId: string | null;
|
|
1200
|
-
creditLedgerEntryId: string | null;
|
|
1201
|
-
failureCode: string | null;
|
|
1202
|
-
failureReason: string | null;
|
|
1203
|
-
product: {
|
|
1182
|
+
payAssetIdSnapshot: string;
|
|
1183
|
+
payAssetSnapshot: {
|
|
1204
1184
|
id: string;
|
|
1185
|
+
code: string;
|
|
1205
1186
|
name: string;
|
|
1187
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1188
|
+
symbol: string | null;
|
|
1189
|
+
precision: number;
|
|
1190
|
+
isActive: boolean;
|
|
1191
|
+
};
|
|
1192
|
+
priceEffectiveAtSnapshot: Date;
|
|
1193
|
+
priceSnapshot: string;
|
|
1194
|
+
product: {
|
|
1195
|
+
allowPurchase: boolean;
|
|
1206
1196
|
createdAt: Date;
|
|
1207
|
-
updatedAt: Date;
|
|
1208
1197
|
description: string | null;
|
|
1209
|
-
|
|
1210
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1211
|
-
targetAssetId: string;
|
|
1212
|
-
payAssetId: string;
|
|
1213
|
-
payAccountTypeId: string;
|
|
1214
|
-
receiveAccountTypeId: string;
|
|
1215
|
-
minPayAmount: string;
|
|
1216
|
-
settlementMode: "available" | "locked";
|
|
1217
|
-
allowPurchase: boolean;
|
|
1198
|
+
id: string;
|
|
1218
1199
|
isHot: boolean;
|
|
1219
|
-
|
|
1220
|
-
|
|
1200
|
+
minPayAmount: string;
|
|
1201
|
+
name: string;
|
|
1202
|
+
payAccountType: {
|
|
1221
1203
|
id: string;
|
|
1204
|
+
key: string;
|
|
1222
1205
|
name: string;
|
|
1223
|
-
code: string;
|
|
1224
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1225
1206
|
isActive: boolean;
|
|
1226
|
-
precision: number;
|
|
1227
1207
|
};
|
|
1208
|
+
payAccountTypeId: string;
|
|
1228
1209
|
payAsset: {
|
|
1229
|
-
symbol: string | null;
|
|
1230
1210
|
id: string;
|
|
1231
|
-
name: string;
|
|
1232
1211
|
code: string;
|
|
1233
|
-
|
|
1234
|
-
|
|
1212
|
+
name: string;
|
|
1213
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1214
|
+
symbol: string | null;
|
|
1235
1215
|
precision: number;
|
|
1216
|
+
isActive: boolean;
|
|
1236
1217
|
};
|
|
1237
|
-
|
|
1218
|
+
payAssetId: string;
|
|
1219
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
1220
|
+
receiveAccountType: {
|
|
1238
1221
|
id: string;
|
|
1239
|
-
name: string;
|
|
1240
1222
|
key: string;
|
|
1223
|
+
name: string;
|
|
1241
1224
|
isActive: boolean;
|
|
1242
1225
|
};
|
|
1243
|
-
|
|
1226
|
+
receiveAccountTypeId: string;
|
|
1227
|
+
settlementMode: "available" | "locked";
|
|
1228
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1229
|
+
targetAsset: {
|
|
1244
1230
|
id: string;
|
|
1231
|
+
code: string;
|
|
1245
1232
|
name: string;
|
|
1246
|
-
|
|
1233
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1234
|
+
symbol: string | null;
|
|
1235
|
+
precision: number;
|
|
1247
1236
|
isActive: boolean;
|
|
1248
1237
|
};
|
|
1238
|
+
targetAssetId: string;
|
|
1239
|
+
updatedAt: Date;
|
|
1249
1240
|
};
|
|
1250
|
-
|
|
1251
|
-
|
|
1241
|
+
productId: string;
|
|
1242
|
+
quoteAssetIdSnapshot: string;
|
|
1243
|
+
quoteAssetSnapshot: {
|
|
1252
1244
|
id: string;
|
|
1253
|
-
name: string;
|
|
1254
1245
|
code: string;
|
|
1255
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1256
|
-
isActive: boolean;
|
|
1257
|
-
precision: number;
|
|
1258
|
-
};
|
|
1259
|
-
targetAssetSnapshot: {
|
|
1260
|
-
symbol: string | null;
|
|
1261
|
-
id: string;
|
|
1262
1246
|
name: string;
|
|
1263
|
-
|
|
1264
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1265
|
-
isActive: boolean;
|
|
1266
|
-
precision: number;
|
|
1267
|
-
};
|
|
1268
|
-
quoteAssetSnapshot: {
|
|
1247
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1269
1248
|
symbol: string | null;
|
|
1270
|
-
id: string;
|
|
1271
|
-
name: string;
|
|
1272
|
-
code: string;
|
|
1273
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1274
|
-
isActive: boolean;
|
|
1275
1249
|
precision: number;
|
|
1250
|
+
isActive: boolean;
|
|
1276
1251
|
};
|
|
1277
|
-
|
|
1252
|
+
receiveAccount: {
|
|
1278
1253
|
id: string;
|
|
1279
1254
|
userId: string;
|
|
1280
|
-
status: "active" | "frozen" | "disabled";
|
|
1281
1255
|
assetId: string;
|
|
1282
1256
|
ledgerAccountTypeId: string;
|
|
1257
|
+
status: "active" | "disabled" | "frozen";
|
|
1283
1258
|
};
|
|
1284
|
-
|
|
1259
|
+
receiveAccountId: string;
|
|
1260
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1261
|
+
sourcePayAccount: {
|
|
1285
1262
|
id: string;
|
|
1286
1263
|
userId: string;
|
|
1287
|
-
status: "active" | "frozen" | "disabled";
|
|
1288
1264
|
assetId: string;
|
|
1289
1265
|
ledgerAccountTypeId: string;
|
|
1266
|
+
status: "active" | "disabled" | "frozen";
|
|
1267
|
+
};
|
|
1268
|
+
sourcePayAccountId: string;
|
|
1269
|
+
status: "completed" | "created";
|
|
1270
|
+
targetAmount: string;
|
|
1271
|
+
targetAssetIdSnapshot: string;
|
|
1272
|
+
targetAssetSnapshot: {
|
|
1273
|
+
id: string;
|
|
1274
|
+
code: string;
|
|
1275
|
+
name: string;
|
|
1276
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1277
|
+
symbol: string | null;
|
|
1278
|
+
precision: number;
|
|
1279
|
+
isActive: boolean;
|
|
1280
|
+
};
|
|
1281
|
+
updatedAt: Date;
|
|
1282
|
+
user: {
|
|
1283
|
+
id: string;
|
|
1284
|
+
email: string;
|
|
1285
|
+
username: string | null;
|
|
1286
|
+
displayUsername: string | null;
|
|
1287
|
+
phoneNumber: string | null;
|
|
1288
|
+
banned: boolean | null;
|
|
1290
1289
|
};
|
|
1290
|
+
userId: string;
|
|
1291
1291
|
};
|
|
1292
1292
|
401: "Unauthorized";
|
|
1293
1293
|
403: "Forbidden: Admins only";
|
|
1294
1294
|
422: {
|
|
1295
|
-
type:
|
|
1295
|
+
type: 'validation';
|
|
1296
1296
|
on: string;
|
|
1297
1297
|
summary?: string;
|
|
1298
1298
|
message?: string;
|
|
@@ -1319,145 +1319,145 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1319
1319
|
headers: {};
|
|
1320
1320
|
response: {
|
|
1321
1321
|
200: {
|
|
1322
|
-
|
|
1322
|
+
createdAt: Date;
|
|
1323
|
+
creditLedgerEntry?: {
|
|
1323
1324
|
id: string;
|
|
1324
|
-
|
|
1325
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1325
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1326
1326
|
amount: string;
|
|
1327
1327
|
referenceId: string;
|
|
1328
|
-
referenceType: "
|
|
1328
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1329
|
+
createdAt: Date;
|
|
1329
1330
|
} | undefined;
|
|
1330
|
-
|
|
1331
|
+
creditLedgerEntryId: string | null;
|
|
1332
|
+
debitLedgerEntry?: {
|
|
1331
1333
|
id: string;
|
|
1332
|
-
|
|
1333
|
-
bizType: "deposit_credit" | "withdraw_freeze" | "withdraw_release" | "withdraw_debit" | "transfer_out" | "transfer_in" | "internal_transfer_out" | "internal_transfer_in" | "manual_increase" | "manual_decrease" | "welfare_cycle_subscribe_transfer" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_maturity_principal_return" | "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "trade_market_buy_quote_transfer" | "trade_market_buy_base_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer";
|
|
1334
|
+
bizType: "asset_convert_order_pay_debit" | "asset_convert_order_target_credit" | "deposit_credit" | "internal_transfer_in" | "internal_transfer_out" | "manual_decrease" | "manual_increase" | "trade_market_buy_base_transfer" | "trade_market_buy_quote_transfer" | "trade_market_sell_base_transfer" | "trade_market_sell_quote_transfer" | "transfer_in" | "transfer_out" | "welfare_cycle_daily_yield_payout" | "welfare_cycle_maturity_principal_return" | "welfare_cycle_maturity_yield_payout" | "welfare_cycle_subscribe_transfer" | "withdraw_debit" | "withdraw_freeze" | "withdraw_release";
|
|
1334
1335
|
amount: string;
|
|
1335
1336
|
referenceId: string;
|
|
1336
|
-
referenceType: "
|
|
1337
|
+
referenceType: "asset_convert_order" | "deposit_order" | "internal_transfer_order" | "manual_adjustment" | "trade_market_order" | "transfer_order" | "welfare_cycle_daily_payout" | "welfare_cycle_maturity_settlement" | "welfare_cycle_subscription" | "withdraw_order";
|
|
1338
|
+
createdAt: Date;
|
|
1337
1339
|
} | undefined;
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
username: string | null;
|
|
1342
|
-
displayUsername: string | null;
|
|
1343
|
-
phoneNumber: string | null;
|
|
1344
|
-
banned: boolean | null;
|
|
1345
|
-
};
|
|
1340
|
+
debitLedgerEntryId: string | null;
|
|
1341
|
+
failureCode: string | null;
|
|
1342
|
+
failureReason: string | null;
|
|
1346
1343
|
id: string;
|
|
1347
|
-
createdAt: Date;
|
|
1348
|
-
updatedAt: Date;
|
|
1349
|
-
userId: string;
|
|
1350
|
-
status: "created" | "completed";
|
|
1351
1344
|
idempotencyKey: string;
|
|
1352
1345
|
orderNo: string;
|
|
1353
|
-
productId: string;
|
|
1354
|
-
payAssetIdSnapshot: string;
|
|
1355
|
-
targetAssetIdSnapshot: string;
|
|
1356
|
-
quoteAssetIdSnapshot: string;
|
|
1357
|
-
priceSnapshot: string;
|
|
1358
|
-
priceEffectiveAtSnapshot: Date;
|
|
1359
1346
|
payAmount: string;
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
settlementModeSnapshot: "available" | "locked";
|
|
1363
|
-
receiveAccountId: string;
|
|
1364
|
-
debitLedgerEntryId: string | null;
|
|
1365
|
-
creditLedgerEntryId: string | null;
|
|
1366
|
-
failureCode: string | null;
|
|
1367
|
-
failureReason: string | null;
|
|
1368
|
-
product: {
|
|
1347
|
+
payAssetIdSnapshot: string;
|
|
1348
|
+
payAssetSnapshot: {
|
|
1369
1349
|
id: string;
|
|
1350
|
+
code: string;
|
|
1370
1351
|
name: string;
|
|
1352
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1353
|
+
symbol: string | null;
|
|
1354
|
+
precision: number;
|
|
1355
|
+
isActive: boolean;
|
|
1356
|
+
};
|
|
1357
|
+
priceEffectiveAtSnapshot: Date;
|
|
1358
|
+
priceSnapshot: string;
|
|
1359
|
+
product: {
|
|
1360
|
+
allowPurchase: boolean;
|
|
1371
1361
|
createdAt: Date;
|
|
1372
|
-
updatedAt: Date;
|
|
1373
1362
|
description: string | null;
|
|
1374
|
-
|
|
1375
|
-
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
1376
|
-
targetAssetId: string;
|
|
1377
|
-
payAssetId: string;
|
|
1378
|
-
payAccountTypeId: string;
|
|
1379
|
-
receiveAccountTypeId: string;
|
|
1380
|
-
minPayAmount: string;
|
|
1381
|
-
settlementMode: "available" | "locked";
|
|
1382
|
-
allowPurchase: boolean;
|
|
1363
|
+
id: string;
|
|
1383
1364
|
isHot: boolean;
|
|
1384
|
-
|
|
1385
|
-
|
|
1365
|
+
minPayAmount: string;
|
|
1366
|
+
name: string;
|
|
1367
|
+
payAccountType: {
|
|
1386
1368
|
id: string;
|
|
1369
|
+
key: string;
|
|
1387
1370
|
name: string;
|
|
1388
|
-
code: string;
|
|
1389
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1390
1371
|
isActive: boolean;
|
|
1391
|
-
precision: number;
|
|
1392
1372
|
};
|
|
1373
|
+
payAccountTypeId: string;
|
|
1393
1374
|
payAsset: {
|
|
1394
|
-
symbol: string | null;
|
|
1395
1375
|
id: string;
|
|
1396
|
-
name: string;
|
|
1397
1376
|
code: string;
|
|
1398
|
-
|
|
1399
|
-
|
|
1377
|
+
name: string;
|
|
1378
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1379
|
+
symbol: string | null;
|
|
1400
1380
|
precision: number;
|
|
1381
|
+
isActive: boolean;
|
|
1401
1382
|
};
|
|
1402
|
-
|
|
1383
|
+
payAssetId: string;
|
|
1384
|
+
productCategoryKey: "corporate_credit" | "gold" | "gov_bond" | "real_estate";
|
|
1385
|
+
receiveAccountType: {
|
|
1403
1386
|
id: string;
|
|
1404
|
-
name: string;
|
|
1405
1387
|
key: string;
|
|
1388
|
+
name: string;
|
|
1406
1389
|
isActive: boolean;
|
|
1407
1390
|
};
|
|
1408
|
-
|
|
1391
|
+
receiveAccountTypeId: string;
|
|
1392
|
+
settlementMode: "available" | "locked";
|
|
1393
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1394
|
+
targetAsset: {
|
|
1409
1395
|
id: string;
|
|
1396
|
+
code: string;
|
|
1410
1397
|
name: string;
|
|
1411
|
-
|
|
1398
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1399
|
+
symbol: string | null;
|
|
1400
|
+
precision: number;
|
|
1412
1401
|
isActive: boolean;
|
|
1413
1402
|
};
|
|
1403
|
+
targetAssetId: string;
|
|
1404
|
+
updatedAt: Date;
|
|
1414
1405
|
};
|
|
1415
|
-
|
|
1416
|
-
|
|
1406
|
+
productId: string;
|
|
1407
|
+
quoteAssetIdSnapshot: string;
|
|
1408
|
+
quoteAssetSnapshot: {
|
|
1417
1409
|
id: string;
|
|
1418
|
-
name: string;
|
|
1419
1410
|
code: string;
|
|
1420
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1421
|
-
isActive: boolean;
|
|
1422
|
-
precision: number;
|
|
1423
|
-
};
|
|
1424
|
-
targetAssetSnapshot: {
|
|
1425
|
-
symbol: string | null;
|
|
1426
|
-
id: string;
|
|
1427
1411
|
name: string;
|
|
1428
|
-
|
|
1429
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1430
|
-
isActive: boolean;
|
|
1431
|
-
precision: number;
|
|
1432
|
-
};
|
|
1433
|
-
quoteAssetSnapshot: {
|
|
1412
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1434
1413
|
symbol: string | null;
|
|
1435
|
-
id: string;
|
|
1436
|
-
name: string;
|
|
1437
|
-
code: string;
|
|
1438
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1439
|
-
isActive: boolean;
|
|
1440
1414
|
precision: number;
|
|
1415
|
+
isActive: boolean;
|
|
1441
1416
|
};
|
|
1442
|
-
|
|
1417
|
+
receiveAccount: {
|
|
1443
1418
|
id: string;
|
|
1444
1419
|
userId: string;
|
|
1445
|
-
status: "active" | "frozen" | "disabled";
|
|
1446
1420
|
assetId: string;
|
|
1447
1421
|
ledgerAccountTypeId: string;
|
|
1422
|
+
status: "active" | "disabled" | "frozen";
|
|
1448
1423
|
};
|
|
1449
|
-
|
|
1424
|
+
receiveAccountId: string;
|
|
1425
|
+
settlementModeSnapshot: "available" | "locked";
|
|
1426
|
+
sourcePayAccount: {
|
|
1450
1427
|
id: string;
|
|
1451
1428
|
userId: string;
|
|
1452
|
-
status: "active" | "frozen" | "disabled";
|
|
1453
1429
|
assetId: string;
|
|
1454
1430
|
ledgerAccountTypeId: string;
|
|
1431
|
+
status: "active" | "disabled" | "frozen";
|
|
1432
|
+
};
|
|
1433
|
+
sourcePayAccountId: string;
|
|
1434
|
+
status: "completed" | "created";
|
|
1435
|
+
targetAmount: string;
|
|
1436
|
+
targetAssetIdSnapshot: string;
|
|
1437
|
+
targetAssetSnapshot: {
|
|
1438
|
+
id: string;
|
|
1439
|
+
code: string;
|
|
1440
|
+
name: string;
|
|
1441
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1442
|
+
symbol: string | null;
|
|
1443
|
+
precision: number;
|
|
1444
|
+
isActive: boolean;
|
|
1445
|
+
};
|
|
1446
|
+
updatedAt: Date;
|
|
1447
|
+
user: {
|
|
1448
|
+
id: string;
|
|
1449
|
+
email: string;
|
|
1450
|
+
username: string | null;
|
|
1451
|
+
displayUsername: string | null;
|
|
1452
|
+
phoneNumber: string | null;
|
|
1453
|
+
banned: boolean | null;
|
|
1455
1454
|
};
|
|
1455
|
+
userId: string;
|
|
1456
1456
|
};
|
|
1457
1457
|
401: "Unauthorized";
|
|
1458
1458
|
403: "Forbidden: Admins only";
|
|
1459
1459
|
422: {
|
|
1460
|
-
type:
|
|
1460
|
+
type: 'validation';
|
|
1461
1461
|
on: string;
|
|
1462
1462
|
summary?: string;
|
|
1463
1463
|
message?: string;
|
|
@@ -1495,7 +1495,7 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1495
1495
|
401: "Unauthorized";
|
|
1496
1496
|
403: "Forbidden: Admins only";
|
|
1497
1497
|
422: {
|
|
1498
|
-
type:
|
|
1498
|
+
type: 'validation';
|
|
1499
1499
|
on: string;
|
|
1500
1500
|
summary?: string;
|
|
1501
1501
|
message?: string;
|
|
@@ -1524,16 +1524,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1524
1524
|
email: string;
|
|
1525
1525
|
emailVerified: boolean;
|
|
1526
1526
|
name: string;
|
|
1527
|
-
image?: string | null | undefined
|
|
1528
|
-
|
|
1529
|
-
|
|
1527
|
+
image?: string | null | undefined;
|
|
1528
|
+
banExpires?: Date | null | undefined;
|
|
1529
|
+
banReason?: string | null | undefined;
|
|
1530
|
+
banned: boolean | null | undefined;
|
|
1530
1531
|
displayUsername?: string | null | undefined;
|
|
1531
1532
|
phoneNumber?: string | null | undefined;
|
|
1532
1533
|
phoneNumberVerified?: boolean | null | undefined;
|
|
1533
|
-
banned: boolean | null | undefined;
|
|
1534
1534
|
role?: string | null | undefined;
|
|
1535
|
-
|
|
1536
|
-
|
|
1535
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
1536
|
+
username?: string | null | undefined;
|
|
1537
1537
|
};
|
|
1538
1538
|
session: {
|
|
1539
1539
|
id: string;
|
|
@@ -1542,8 +1542,8 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1542
1542
|
userId: string;
|
|
1543
1543
|
expiresAt: Date;
|
|
1544
1544
|
token: string;
|
|
1545
|
-
ipAddress?: string | null | undefined
|
|
1546
|
-
userAgent?: string | null | undefined
|
|
1545
|
+
ipAddress?: string | null | undefined;
|
|
1546
|
+
userAgent?: string | null | undefined;
|
|
1547
1547
|
impersonatedBy?: string | null | undefined;
|
|
1548
1548
|
};
|
|
1549
1549
|
} & {
|
|
@@ -1554,16 +1554,16 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1554
1554
|
email: string;
|
|
1555
1555
|
emailVerified: boolean;
|
|
1556
1556
|
name: string;
|
|
1557
|
-
image?: string | null | undefined
|
|
1558
|
-
|
|
1559
|
-
|
|
1557
|
+
image?: string | null | undefined;
|
|
1558
|
+
banExpires?: Date | null | undefined;
|
|
1559
|
+
banReason?: string | null | undefined;
|
|
1560
|
+
banned: boolean | null | undefined;
|
|
1560
1561
|
displayUsername?: string | null | undefined;
|
|
1561
1562
|
phoneNumber?: string | null | undefined;
|
|
1562
1563
|
phoneNumberVerified?: boolean | null | undefined;
|
|
1563
|
-
banned: boolean | null | undefined;
|
|
1564
1564
|
role?: string | null | undefined;
|
|
1565
|
-
|
|
1566
|
-
|
|
1565
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
1566
|
+
username?: string | null | undefined;
|
|
1567
1567
|
};
|
|
1568
1568
|
session: {
|
|
1569
1569
|
id: string;
|
|
@@ -1572,8 +1572,8 @@ export declare const assetConvertProductAdminRouter: Elysia<"/asset_convert_prod
|
|
|
1572
1572
|
userId: string;
|
|
1573
1573
|
expiresAt: Date;
|
|
1574
1574
|
token: string;
|
|
1575
|
-
ipAddress?: string | null | undefined
|
|
1576
|
-
userAgent?: string | null | undefined
|
|
1575
|
+
ipAddress?: string | null | undefined;
|
|
1576
|
+
userAgent?: string | null | undefined;
|
|
1577
1577
|
impersonatedBy?: string | null | undefined;
|
|
1578
1578
|
};
|
|
1579
1579
|
};
|