@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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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 welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
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,92 +384,92 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
384
384
|
plans: {
|
|
385
385
|
post: {
|
|
386
386
|
body: {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
pricingAssetId?: string | undefined;
|
|
390
|
-
sourcePricingAccountTypeId?: string | undefined;
|
|
387
|
+
coverImageFileId: string;
|
|
388
|
+
cycleDays: number;
|
|
391
389
|
dailyPayoutAccountTypeId?: string | undefined;
|
|
390
|
+
dailyYieldRate: string;
|
|
391
|
+
description?: string | null | undefined;
|
|
392
392
|
maturitySettlementAccountTypeId?: string | undefined;
|
|
393
|
-
|
|
393
|
+
maturityYieldRate: string;
|
|
394
394
|
maxSharesPerOrder?: number | null | undefined;
|
|
395
|
-
|
|
396
|
-
saleEndAt?: Date | null | undefined;
|
|
395
|
+
minShares?: number | undefined;
|
|
397
396
|
name: string;
|
|
398
|
-
rightsAssetId: string;
|
|
399
397
|
pricePerShare: string;
|
|
398
|
+
pricingAssetId?: string | undefined;
|
|
399
|
+
rightsAssetId: string;
|
|
400
400
|
rightsPerShare: string;
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
401
|
+
saleEndAt?: Date | null | undefined;
|
|
402
|
+
saleStartAt?: Date | null | undefined;
|
|
403
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
404
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
405
405
|
};
|
|
406
406
|
params: {};
|
|
407
407
|
query: {};
|
|
408
408
|
headers: {};
|
|
409
409
|
response: {
|
|
410
410
|
200: {
|
|
411
|
-
id: string;
|
|
412
|
-
name: string;
|
|
413
|
-
createdAt: Date;
|
|
414
|
-
updatedAt: Date;
|
|
415
|
-
description: string | null;
|
|
416
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
417
411
|
coverImageUrl: string | null;
|
|
418
|
-
|
|
419
|
-
pricingAssetId: string;
|
|
420
|
-
sourcePricingAccountTypeId: string;
|
|
421
|
-
dailyPayoutAccountTypeId: string;
|
|
422
|
-
maturitySettlementAccountTypeId: string;
|
|
423
|
-
pricePerShare: string;
|
|
424
|
-
rightsPerShare: string;
|
|
412
|
+
createdAt: Date;
|
|
425
413
|
cycleDays: number;
|
|
426
|
-
|
|
427
|
-
maturityYieldRate: string;
|
|
428
|
-
minShares: number;
|
|
429
|
-
maxSharesPerOrder: number | null;
|
|
430
|
-
saleStartAt: Date | null;
|
|
431
|
-
saleEndAt: Date | null;
|
|
432
|
-
rightsAsset: {
|
|
433
|
-
symbol: string | null;
|
|
414
|
+
dailyPayoutAccountType: {
|
|
434
415
|
id: string;
|
|
416
|
+
key: string;
|
|
435
417
|
name: string;
|
|
436
|
-
code: string;
|
|
437
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
438
418
|
isActive: boolean;
|
|
439
|
-
precision: number;
|
|
440
419
|
};
|
|
441
|
-
|
|
442
|
-
|
|
420
|
+
dailyPayoutAccountTypeId: string;
|
|
421
|
+
dailyYieldRate: string;
|
|
422
|
+
description: string | null;
|
|
423
|
+
id: string;
|
|
424
|
+
maturitySettlementAccountType: {
|
|
443
425
|
id: string;
|
|
426
|
+
key: string;
|
|
444
427
|
name: string;
|
|
445
|
-
code: string;
|
|
446
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
447
428
|
isActive: boolean;
|
|
448
|
-
precision: number;
|
|
449
429
|
};
|
|
450
|
-
|
|
430
|
+
maturitySettlementAccountTypeId: string;
|
|
431
|
+
maturityYieldRate: string;
|
|
432
|
+
maxSharesPerOrder: number | null;
|
|
433
|
+
minShares: number;
|
|
434
|
+
name: string;
|
|
435
|
+
pricePerShare: string;
|
|
436
|
+
pricingAsset: {
|
|
451
437
|
id: string;
|
|
438
|
+
code: string;
|
|
452
439
|
name: string;
|
|
453
|
-
|
|
440
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
441
|
+
symbol: string | null;
|
|
442
|
+
precision: number;
|
|
454
443
|
isActive: boolean;
|
|
455
444
|
};
|
|
456
|
-
|
|
445
|
+
pricingAssetId: string;
|
|
446
|
+
rightsAsset: {
|
|
457
447
|
id: string;
|
|
448
|
+
code: string;
|
|
458
449
|
name: string;
|
|
459
|
-
|
|
450
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
451
|
+
symbol: string | null;
|
|
452
|
+
precision: number;
|
|
460
453
|
isActive: boolean;
|
|
461
454
|
};
|
|
462
|
-
|
|
455
|
+
rightsAssetId: string;
|
|
456
|
+
rightsPerShare: string;
|
|
457
|
+
saleEndAt: Date | null;
|
|
458
|
+
saleStartAt: Date | null;
|
|
459
|
+
sourcePricingAccountType: {
|
|
463
460
|
id: string;
|
|
464
|
-
name: string;
|
|
465
461
|
key: string;
|
|
462
|
+
name: string;
|
|
466
463
|
isActive: boolean;
|
|
467
464
|
};
|
|
465
|
+
sourcePricingAccountTypeId: string;
|
|
466
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
467
|
+
updatedAt: Date;
|
|
468
468
|
};
|
|
469
469
|
401: "Unauthorized";
|
|
470
470
|
403: "Forbidden: Admins only";
|
|
471
471
|
422: {
|
|
472
|
-
type:
|
|
472
|
+
type: 'validation';
|
|
473
473
|
on: string;
|
|
474
474
|
summary?: string;
|
|
475
475
|
message?: string;
|
|
@@ -487,24 +487,24 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
487
487
|
":id": {
|
|
488
488
|
patch: {
|
|
489
489
|
body: {
|
|
490
|
-
|
|
491
|
-
description?: string | null | undefined;
|
|
492
|
-
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
493
|
-
rightsAssetId?: string | undefined;
|
|
494
|
-
pricingAssetId?: string | undefined;
|
|
495
|
-
sourcePricingAccountTypeId?: string | undefined;
|
|
496
|
-
dailyPayoutAccountTypeId?: string | undefined;
|
|
497
|
-
maturitySettlementAccountTypeId?: string | undefined;
|
|
498
|
-
pricePerShare?: string | undefined;
|
|
499
|
-
rightsPerShare?: string | undefined;
|
|
490
|
+
coverImageFileId?: string | undefined;
|
|
500
491
|
cycleDays?: number | undefined;
|
|
492
|
+
dailyPayoutAccountTypeId?: string | undefined;
|
|
501
493
|
dailyYieldRate?: string | undefined;
|
|
494
|
+
description?: string | null | undefined;
|
|
495
|
+
maturitySettlementAccountTypeId?: string | undefined;
|
|
502
496
|
maturityYieldRate?: string | undefined;
|
|
503
|
-
minShares?: number | undefined;
|
|
504
497
|
maxSharesPerOrder?: number | null | undefined;
|
|
505
|
-
|
|
498
|
+
minShares?: number | undefined;
|
|
499
|
+
name?: string | undefined;
|
|
500
|
+
pricePerShare?: string | undefined;
|
|
501
|
+
pricingAssetId?: string | undefined;
|
|
502
|
+
rightsAssetId?: string | undefined;
|
|
503
|
+
rightsPerShare?: string | undefined;
|
|
506
504
|
saleEndAt?: Date | null | undefined;
|
|
507
|
-
|
|
505
|
+
saleStartAt?: Date | null | undefined;
|
|
506
|
+
sourcePricingAccountTypeId?: string | undefined;
|
|
507
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
508
508
|
};
|
|
509
509
|
params: {
|
|
510
510
|
id: string;
|
|
@@ -513,68 +513,68 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
513
513
|
headers: {};
|
|
514
514
|
response: {
|
|
515
515
|
200: {
|
|
516
|
-
id: string;
|
|
517
|
-
name: string;
|
|
518
|
-
createdAt: Date;
|
|
519
|
-
updatedAt: Date;
|
|
520
|
-
description: string | null;
|
|
521
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
522
516
|
coverImageUrl: string | null;
|
|
523
|
-
|
|
524
|
-
pricingAssetId: string;
|
|
525
|
-
sourcePricingAccountTypeId: string;
|
|
526
|
-
dailyPayoutAccountTypeId: string;
|
|
527
|
-
maturitySettlementAccountTypeId: string;
|
|
528
|
-
pricePerShare: string;
|
|
529
|
-
rightsPerShare: string;
|
|
517
|
+
createdAt: Date;
|
|
530
518
|
cycleDays: number;
|
|
531
|
-
|
|
532
|
-
maturityYieldRate: string;
|
|
533
|
-
minShares: number;
|
|
534
|
-
maxSharesPerOrder: number | null;
|
|
535
|
-
saleStartAt: Date | null;
|
|
536
|
-
saleEndAt: Date | null;
|
|
537
|
-
rightsAsset: {
|
|
538
|
-
symbol: string | null;
|
|
519
|
+
dailyPayoutAccountType: {
|
|
539
520
|
id: string;
|
|
521
|
+
key: string;
|
|
540
522
|
name: string;
|
|
541
|
-
code: string;
|
|
542
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
543
523
|
isActive: boolean;
|
|
544
|
-
precision: number;
|
|
545
524
|
};
|
|
546
|
-
|
|
547
|
-
|
|
525
|
+
dailyPayoutAccountTypeId: string;
|
|
526
|
+
dailyYieldRate: string;
|
|
527
|
+
description: string | null;
|
|
528
|
+
id: string;
|
|
529
|
+
maturitySettlementAccountType: {
|
|
548
530
|
id: string;
|
|
531
|
+
key: string;
|
|
549
532
|
name: string;
|
|
550
|
-
code: string;
|
|
551
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
552
533
|
isActive: boolean;
|
|
553
|
-
precision: number;
|
|
554
534
|
};
|
|
555
|
-
|
|
535
|
+
maturitySettlementAccountTypeId: string;
|
|
536
|
+
maturityYieldRate: string;
|
|
537
|
+
maxSharesPerOrder: number | null;
|
|
538
|
+
minShares: number;
|
|
539
|
+
name: string;
|
|
540
|
+
pricePerShare: string;
|
|
541
|
+
pricingAsset: {
|
|
556
542
|
id: string;
|
|
543
|
+
code: string;
|
|
557
544
|
name: string;
|
|
558
|
-
|
|
545
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
546
|
+
symbol: string | null;
|
|
547
|
+
precision: number;
|
|
559
548
|
isActive: boolean;
|
|
560
549
|
};
|
|
561
|
-
|
|
550
|
+
pricingAssetId: string;
|
|
551
|
+
rightsAsset: {
|
|
562
552
|
id: string;
|
|
553
|
+
code: string;
|
|
563
554
|
name: string;
|
|
564
|
-
|
|
555
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
556
|
+
symbol: string | null;
|
|
557
|
+
precision: number;
|
|
565
558
|
isActive: boolean;
|
|
566
559
|
};
|
|
567
|
-
|
|
560
|
+
rightsAssetId: string;
|
|
561
|
+
rightsPerShare: string;
|
|
562
|
+
saleEndAt: Date | null;
|
|
563
|
+
saleStartAt: Date | null;
|
|
564
|
+
sourcePricingAccountType: {
|
|
568
565
|
id: string;
|
|
569
|
-
name: string;
|
|
570
566
|
key: string;
|
|
567
|
+
name: string;
|
|
571
568
|
isActive: boolean;
|
|
572
569
|
};
|
|
570
|
+
sourcePricingAccountTypeId: string;
|
|
571
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
572
|
+
updatedAt: Date;
|
|
573
573
|
};
|
|
574
574
|
401: "Unauthorized";
|
|
575
575
|
403: "Forbidden: Admins only";
|
|
576
576
|
422: {
|
|
577
|
-
type:
|
|
577
|
+
type: 'validation';
|
|
578
578
|
on: string;
|
|
579
579
|
summary?: string;
|
|
580
580
|
message?: string;
|
|
@@ -601,68 +601,68 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
601
601
|
headers: {};
|
|
602
602
|
response: {
|
|
603
603
|
200: {
|
|
604
|
-
id: string;
|
|
605
|
-
name: string;
|
|
606
|
-
createdAt: Date;
|
|
607
|
-
updatedAt: Date;
|
|
608
|
-
description: string | null;
|
|
609
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
610
604
|
coverImageUrl: string | null;
|
|
611
|
-
|
|
612
|
-
pricingAssetId: string;
|
|
613
|
-
sourcePricingAccountTypeId: string;
|
|
614
|
-
dailyPayoutAccountTypeId: string;
|
|
615
|
-
maturitySettlementAccountTypeId: string;
|
|
616
|
-
pricePerShare: string;
|
|
617
|
-
rightsPerShare: string;
|
|
605
|
+
createdAt: Date;
|
|
618
606
|
cycleDays: number;
|
|
619
|
-
|
|
620
|
-
maturityYieldRate: string;
|
|
621
|
-
minShares: number;
|
|
622
|
-
maxSharesPerOrder: number | null;
|
|
623
|
-
saleStartAt: Date | null;
|
|
624
|
-
saleEndAt: Date | null;
|
|
625
|
-
rightsAsset: {
|
|
626
|
-
symbol: string | null;
|
|
607
|
+
dailyPayoutAccountType: {
|
|
627
608
|
id: string;
|
|
609
|
+
key: string;
|
|
628
610
|
name: string;
|
|
629
|
-
code: string;
|
|
630
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
631
611
|
isActive: boolean;
|
|
632
|
-
precision: number;
|
|
633
612
|
};
|
|
634
|
-
|
|
635
|
-
|
|
613
|
+
dailyPayoutAccountTypeId: string;
|
|
614
|
+
dailyYieldRate: string;
|
|
615
|
+
description: string | null;
|
|
616
|
+
id: string;
|
|
617
|
+
maturitySettlementAccountType: {
|
|
636
618
|
id: string;
|
|
619
|
+
key: string;
|
|
637
620
|
name: string;
|
|
638
|
-
code: string;
|
|
639
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
640
621
|
isActive: boolean;
|
|
641
|
-
precision: number;
|
|
642
622
|
};
|
|
643
|
-
|
|
623
|
+
maturitySettlementAccountTypeId: string;
|
|
624
|
+
maturityYieldRate: string;
|
|
625
|
+
maxSharesPerOrder: number | null;
|
|
626
|
+
minShares: number;
|
|
627
|
+
name: string;
|
|
628
|
+
pricePerShare: string;
|
|
629
|
+
pricingAsset: {
|
|
644
630
|
id: string;
|
|
631
|
+
code: string;
|
|
645
632
|
name: string;
|
|
646
|
-
|
|
633
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
634
|
+
symbol: string | null;
|
|
635
|
+
precision: number;
|
|
647
636
|
isActive: boolean;
|
|
648
637
|
};
|
|
649
|
-
|
|
638
|
+
pricingAssetId: string;
|
|
639
|
+
rightsAsset: {
|
|
650
640
|
id: string;
|
|
641
|
+
code: string;
|
|
651
642
|
name: string;
|
|
652
|
-
|
|
643
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
644
|
+
symbol: string | null;
|
|
645
|
+
precision: number;
|
|
653
646
|
isActive: boolean;
|
|
654
647
|
};
|
|
655
|
-
|
|
648
|
+
rightsAssetId: string;
|
|
649
|
+
rightsPerShare: string;
|
|
650
|
+
saleEndAt: Date | null;
|
|
651
|
+
saleStartAt: Date | null;
|
|
652
|
+
sourcePricingAccountType: {
|
|
656
653
|
id: string;
|
|
657
|
-
name: string;
|
|
658
654
|
key: string;
|
|
655
|
+
name: string;
|
|
659
656
|
isActive: boolean;
|
|
660
657
|
};
|
|
658
|
+
sourcePricingAccountTypeId: string;
|
|
659
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
660
|
+
updatedAt: Date;
|
|
661
661
|
};
|
|
662
662
|
401: "Unauthorized";
|
|
663
663
|
403: "Forbidden: Admins only";
|
|
664
664
|
422: {
|
|
665
|
-
type:
|
|
665
|
+
type: 'validation';
|
|
666
666
|
on: string;
|
|
667
667
|
summary?: string;
|
|
668
668
|
message?: string;
|
|
@@ -690,68 +690,68 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
690
690
|
headers: {};
|
|
691
691
|
response: {
|
|
692
692
|
200: {
|
|
693
|
-
id: string;
|
|
694
|
-
name: string;
|
|
695
|
-
createdAt: Date;
|
|
696
|
-
updatedAt: Date;
|
|
697
|
-
description: string | null;
|
|
698
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
699
693
|
coverImageUrl: string | null;
|
|
700
|
-
|
|
701
|
-
pricingAssetId: string;
|
|
702
|
-
sourcePricingAccountTypeId: string;
|
|
703
|
-
dailyPayoutAccountTypeId: string;
|
|
704
|
-
maturitySettlementAccountTypeId: string;
|
|
705
|
-
pricePerShare: string;
|
|
706
|
-
rightsPerShare: string;
|
|
694
|
+
createdAt: Date;
|
|
707
695
|
cycleDays: number;
|
|
708
|
-
|
|
709
|
-
maturityYieldRate: string;
|
|
710
|
-
minShares: number;
|
|
711
|
-
maxSharesPerOrder: number | null;
|
|
712
|
-
saleStartAt: Date | null;
|
|
713
|
-
saleEndAt: Date | null;
|
|
714
|
-
rightsAsset: {
|
|
715
|
-
symbol: string | null;
|
|
696
|
+
dailyPayoutAccountType: {
|
|
716
697
|
id: string;
|
|
698
|
+
key: string;
|
|
717
699
|
name: string;
|
|
718
|
-
code: string;
|
|
719
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
720
700
|
isActive: boolean;
|
|
721
|
-
precision: number;
|
|
722
701
|
};
|
|
723
|
-
|
|
724
|
-
|
|
702
|
+
dailyPayoutAccountTypeId: string;
|
|
703
|
+
dailyYieldRate: string;
|
|
704
|
+
description: string | null;
|
|
705
|
+
id: string;
|
|
706
|
+
maturitySettlementAccountType: {
|
|
725
707
|
id: string;
|
|
708
|
+
key: string;
|
|
726
709
|
name: string;
|
|
727
|
-
code: string;
|
|
728
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
729
710
|
isActive: boolean;
|
|
730
|
-
precision: number;
|
|
731
711
|
};
|
|
732
|
-
|
|
712
|
+
maturitySettlementAccountTypeId: string;
|
|
713
|
+
maturityYieldRate: string;
|
|
714
|
+
maxSharesPerOrder: number | null;
|
|
715
|
+
minShares: number;
|
|
716
|
+
name: string;
|
|
717
|
+
pricePerShare: string;
|
|
718
|
+
pricingAsset: {
|
|
733
719
|
id: string;
|
|
720
|
+
code: string;
|
|
734
721
|
name: string;
|
|
735
|
-
|
|
722
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
723
|
+
symbol: string | null;
|
|
724
|
+
precision: number;
|
|
736
725
|
isActive: boolean;
|
|
737
726
|
};
|
|
738
|
-
|
|
727
|
+
pricingAssetId: string;
|
|
728
|
+
rightsAsset: {
|
|
739
729
|
id: string;
|
|
730
|
+
code: string;
|
|
740
731
|
name: string;
|
|
741
|
-
|
|
732
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
733
|
+
symbol: string | null;
|
|
734
|
+
precision: number;
|
|
742
735
|
isActive: boolean;
|
|
743
736
|
};
|
|
744
|
-
|
|
737
|
+
rightsAssetId: string;
|
|
738
|
+
rightsPerShare: string;
|
|
739
|
+
saleEndAt: Date | null;
|
|
740
|
+
saleStartAt: Date | null;
|
|
741
|
+
sourcePricingAccountType: {
|
|
745
742
|
id: string;
|
|
746
|
-
name: string;
|
|
747
743
|
key: string;
|
|
744
|
+
name: string;
|
|
748
745
|
isActive: boolean;
|
|
749
746
|
};
|
|
747
|
+
sourcePricingAccountTypeId: string;
|
|
748
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
749
|
+
updatedAt: Date;
|
|
750
750
|
};
|
|
751
751
|
401: "Unauthorized";
|
|
752
752
|
403: "Forbidden: Admins only";
|
|
753
753
|
422: {
|
|
754
|
-
type:
|
|
754
|
+
type: 'validation';
|
|
755
755
|
on: string;
|
|
756
756
|
summary?: string;
|
|
757
757
|
message?: string;
|
|
@@ -779,68 +779,68 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
779
779
|
headers: {};
|
|
780
780
|
response: {
|
|
781
781
|
200: {
|
|
782
|
-
id: string;
|
|
783
|
-
name: string;
|
|
784
|
-
createdAt: Date;
|
|
785
|
-
updatedAt: Date;
|
|
786
|
-
description: string | null;
|
|
787
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
788
782
|
coverImageUrl: string | null;
|
|
789
|
-
|
|
790
|
-
pricingAssetId: string;
|
|
791
|
-
sourcePricingAccountTypeId: string;
|
|
792
|
-
dailyPayoutAccountTypeId: string;
|
|
793
|
-
maturitySettlementAccountTypeId: string;
|
|
794
|
-
pricePerShare: string;
|
|
795
|
-
rightsPerShare: string;
|
|
783
|
+
createdAt: Date;
|
|
796
784
|
cycleDays: number;
|
|
797
|
-
|
|
798
|
-
maturityYieldRate: string;
|
|
799
|
-
minShares: number;
|
|
800
|
-
maxSharesPerOrder: number | null;
|
|
801
|
-
saleStartAt: Date | null;
|
|
802
|
-
saleEndAt: Date | null;
|
|
803
|
-
rightsAsset: {
|
|
804
|
-
symbol: string | null;
|
|
785
|
+
dailyPayoutAccountType: {
|
|
805
786
|
id: string;
|
|
787
|
+
key: string;
|
|
806
788
|
name: string;
|
|
807
|
-
code: string;
|
|
808
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
809
789
|
isActive: boolean;
|
|
810
|
-
precision: number;
|
|
811
790
|
};
|
|
812
|
-
|
|
813
|
-
|
|
791
|
+
dailyPayoutAccountTypeId: string;
|
|
792
|
+
dailyYieldRate: string;
|
|
793
|
+
description: string | null;
|
|
794
|
+
id: string;
|
|
795
|
+
maturitySettlementAccountType: {
|
|
814
796
|
id: string;
|
|
797
|
+
key: string;
|
|
815
798
|
name: string;
|
|
816
|
-
code: string;
|
|
817
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
818
799
|
isActive: boolean;
|
|
819
|
-
precision: number;
|
|
820
800
|
};
|
|
821
|
-
|
|
801
|
+
maturitySettlementAccountTypeId: string;
|
|
802
|
+
maturityYieldRate: string;
|
|
803
|
+
maxSharesPerOrder: number | null;
|
|
804
|
+
minShares: number;
|
|
805
|
+
name: string;
|
|
806
|
+
pricePerShare: string;
|
|
807
|
+
pricingAsset: {
|
|
822
808
|
id: string;
|
|
809
|
+
code: string;
|
|
823
810
|
name: string;
|
|
824
|
-
|
|
811
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
812
|
+
symbol: string | null;
|
|
813
|
+
precision: number;
|
|
825
814
|
isActive: boolean;
|
|
826
815
|
};
|
|
827
|
-
|
|
816
|
+
pricingAssetId: string;
|
|
817
|
+
rightsAsset: {
|
|
828
818
|
id: string;
|
|
819
|
+
code: string;
|
|
829
820
|
name: string;
|
|
830
|
-
|
|
821
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
822
|
+
symbol: string | null;
|
|
823
|
+
precision: number;
|
|
831
824
|
isActive: boolean;
|
|
832
825
|
};
|
|
833
|
-
|
|
826
|
+
rightsAssetId: string;
|
|
827
|
+
rightsPerShare: string;
|
|
828
|
+
saleEndAt: Date | null;
|
|
829
|
+
saleStartAt: Date | null;
|
|
830
|
+
sourcePricingAccountType: {
|
|
834
831
|
id: string;
|
|
835
|
-
name: string;
|
|
836
832
|
key: string;
|
|
833
|
+
name: string;
|
|
837
834
|
isActive: boolean;
|
|
838
835
|
};
|
|
836
|
+
sourcePricingAccountTypeId: string;
|
|
837
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
838
|
+
updatedAt: Date;
|
|
839
839
|
};
|
|
840
840
|
401: "Unauthorized";
|
|
841
841
|
403: "Forbidden: Admins only";
|
|
842
842
|
422: {
|
|
843
|
-
type:
|
|
843
|
+
type: 'validation';
|
|
844
844
|
on: string;
|
|
845
845
|
summary?: string;
|
|
846
846
|
message?: string;
|
|
@@ -861,78 +861,78 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
861
861
|
body: {};
|
|
862
862
|
params: {};
|
|
863
863
|
query: {
|
|
864
|
-
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
865
864
|
limit?: number | undefined;
|
|
866
865
|
offset?: number | undefined;
|
|
867
|
-
pageSize?: number | undefined;
|
|
868
866
|
pageIndex?: number | undefined;
|
|
867
|
+
pageSize?: number | undefined;
|
|
868
|
+
status?: "active" | "draft" | "ended" | "paused" | undefined;
|
|
869
869
|
};
|
|
870
870
|
headers: {};
|
|
871
871
|
response: {
|
|
872
872
|
200: {
|
|
873
873
|
data: {
|
|
874
|
-
id: string;
|
|
875
|
-
name: string;
|
|
876
|
-
createdAt: Date;
|
|
877
|
-
updatedAt: Date;
|
|
878
|
-
description: string | null;
|
|
879
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
880
874
|
coverImageUrl: string | null;
|
|
881
|
-
|
|
882
|
-
pricingAssetId: string;
|
|
883
|
-
sourcePricingAccountTypeId: string;
|
|
884
|
-
dailyPayoutAccountTypeId: string;
|
|
885
|
-
maturitySettlementAccountTypeId: string;
|
|
886
|
-
pricePerShare: string;
|
|
887
|
-
rightsPerShare: string;
|
|
875
|
+
createdAt: Date;
|
|
888
876
|
cycleDays: number;
|
|
889
|
-
|
|
890
|
-
maturityYieldRate: string;
|
|
891
|
-
minShares: number;
|
|
892
|
-
maxSharesPerOrder: number | null;
|
|
893
|
-
saleStartAt: Date | null;
|
|
894
|
-
saleEndAt: Date | null;
|
|
895
|
-
rightsAsset: {
|
|
896
|
-
symbol: string | null;
|
|
877
|
+
dailyPayoutAccountType: {
|
|
897
878
|
id: string;
|
|
879
|
+
key: string;
|
|
898
880
|
name: string;
|
|
899
|
-
code: string;
|
|
900
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
901
881
|
isActive: boolean;
|
|
902
|
-
precision: number;
|
|
903
882
|
};
|
|
904
|
-
|
|
905
|
-
|
|
883
|
+
dailyPayoutAccountTypeId: string;
|
|
884
|
+
dailyYieldRate: string;
|
|
885
|
+
description: string | null;
|
|
886
|
+
id: string;
|
|
887
|
+
maturitySettlementAccountType: {
|
|
906
888
|
id: string;
|
|
889
|
+
key: string;
|
|
907
890
|
name: string;
|
|
908
|
-
code: string;
|
|
909
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
910
891
|
isActive: boolean;
|
|
911
|
-
precision: number;
|
|
912
892
|
};
|
|
913
|
-
|
|
893
|
+
maturitySettlementAccountTypeId: string;
|
|
894
|
+
maturityYieldRate: string;
|
|
895
|
+
maxSharesPerOrder: number | null;
|
|
896
|
+
minShares: number;
|
|
897
|
+
name: string;
|
|
898
|
+
pricePerShare: string;
|
|
899
|
+
pricingAsset: {
|
|
914
900
|
id: string;
|
|
901
|
+
code: string;
|
|
915
902
|
name: string;
|
|
916
|
-
|
|
903
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
904
|
+
symbol: string | null;
|
|
905
|
+
precision: number;
|
|
917
906
|
isActive: boolean;
|
|
918
907
|
};
|
|
919
|
-
|
|
908
|
+
pricingAssetId: string;
|
|
909
|
+
rightsAsset: {
|
|
920
910
|
id: string;
|
|
911
|
+
code: string;
|
|
921
912
|
name: string;
|
|
922
|
-
|
|
913
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
914
|
+
symbol: string | null;
|
|
915
|
+
precision: number;
|
|
923
916
|
isActive: boolean;
|
|
924
917
|
};
|
|
925
|
-
|
|
918
|
+
rightsAssetId: string;
|
|
919
|
+
rightsPerShare: string;
|
|
920
|
+
saleEndAt: Date | null;
|
|
921
|
+
saleStartAt: Date | null;
|
|
922
|
+
sourcePricingAccountType: {
|
|
926
923
|
id: string;
|
|
927
|
-
name: string;
|
|
928
924
|
key: string;
|
|
925
|
+
name: string;
|
|
929
926
|
isActive: boolean;
|
|
930
927
|
};
|
|
928
|
+
sourcePricingAccountTypeId: string;
|
|
929
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
930
|
+
updatedAt: Date;
|
|
931
931
|
}[];
|
|
932
932
|
pagination: {
|
|
933
|
-
total: number;
|
|
934
933
|
pageSize: number;
|
|
935
934
|
pageIndex: number;
|
|
935
|
+
total: number;
|
|
936
936
|
totalPages: number;
|
|
937
937
|
hasNextPage: boolean;
|
|
938
938
|
};
|
|
@@ -940,7 +940,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
940
940
|
401: "Unauthorized";
|
|
941
941
|
403: "Forbidden: Admins only";
|
|
942
942
|
422: {
|
|
943
|
-
type:
|
|
943
|
+
type: 'validation';
|
|
944
944
|
on: string;
|
|
945
945
|
summary?: string;
|
|
946
946
|
message?: string;
|
|
@@ -959,154 +959,154 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
959
959
|
body: {};
|
|
960
960
|
params: {};
|
|
961
961
|
query: {
|
|
962
|
-
userId?: string | undefined;
|
|
963
|
-
status?: "active" | "pending" | "cancelled" | "matured" | "settled" | undefined;
|
|
964
|
-
planId?: string | undefined;
|
|
965
962
|
limit?: number | undefined;
|
|
966
963
|
offset?: number | undefined;
|
|
967
|
-
pageSize?: number | undefined;
|
|
968
964
|
pageIndex?: number | undefined;
|
|
965
|
+
pageSize?: number | undefined;
|
|
966
|
+
planId?: string | undefined;
|
|
967
|
+
status?: "active" | "cancelled" | "matured" | "pending" | "settled" | undefined;
|
|
968
|
+
userId?: string | undefined;
|
|
969
969
|
};
|
|
970
970
|
headers: {};
|
|
971
971
|
response: {
|
|
972
972
|
200: {
|
|
973
973
|
data: {
|
|
974
|
-
|
|
975
|
-
|
|
974
|
+
createdAt: Date;
|
|
975
|
+
cycleDaysSnapshot: number;
|
|
976
|
+
dailyPayoutReceiveAccount: {
|
|
976
977
|
id: string;
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
978
|
+
userId: string;
|
|
979
|
+
assetId: string;
|
|
980
|
+
ledgerAccountTypeId: string;
|
|
981
|
+
status: "active" | "disabled" | "frozen";
|
|
981
982
|
};
|
|
983
|
+
dailyPayoutReceiveAccountId: string;
|
|
984
|
+
dailyYieldRateSnapshot: string;
|
|
982
985
|
id: string;
|
|
983
|
-
createdAt: Date;
|
|
984
|
-
updatedAt: Date;
|
|
985
|
-
userId: string;
|
|
986
|
-
status: "active" | "pending" | "cancelled" | "matured" | "settled";
|
|
987
986
|
idempotencyKey: string;
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
987
|
+
lastPayoutDate: Date | null;
|
|
988
|
+
maturityDate: Date;
|
|
989
|
+
maturitySettlementReceiveAccount: {
|
|
990
|
+
id: string;
|
|
991
|
+
userId: string;
|
|
992
|
+
assetId: string;
|
|
993
|
+
ledgerAccountTypeId: string;
|
|
994
|
+
status: "active" | "disabled" | "frozen";
|
|
995
|
+
};
|
|
992
996
|
maturitySettlementReceiveAccountId: string;
|
|
993
|
-
shares: number;
|
|
994
|
-
totalPricingAmount: string;
|
|
995
|
-
totalRightsPrincipal: string;
|
|
996
|
-
pricingAssetIdSnapshot: string;
|
|
997
|
-
rightsAssetIdSnapshot: string;
|
|
998
|
-
pricePerShareSnapshot: string;
|
|
999
|
-
rightsPerShareSnapshot: string;
|
|
1000
|
-
dailyYieldRateSnapshot: string;
|
|
1001
997
|
maturityYieldRateSnapshot: string;
|
|
1002
|
-
cycleDaysSnapshot: number;
|
|
1003
|
-
startDate: Date;
|
|
1004
|
-
maturityDate: Date;
|
|
1005
998
|
nextPayoutDate: Date | null;
|
|
1006
|
-
|
|
999
|
+
orderNo: string;
|
|
1007
1000
|
plan: {
|
|
1008
|
-
id: string;
|
|
1009
|
-
name: string;
|
|
1010
|
-
createdAt: Date;
|
|
1011
|
-
updatedAt: Date;
|
|
1012
|
-
description: string | null;
|
|
1013
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1014
1001
|
coverImageUrl: string | null;
|
|
1015
|
-
|
|
1016
|
-
pricingAssetId: string;
|
|
1017
|
-
sourcePricingAccountTypeId: string;
|
|
1018
|
-
dailyPayoutAccountTypeId: string;
|
|
1019
|
-
maturitySettlementAccountTypeId: string;
|
|
1020
|
-
pricePerShare: string;
|
|
1021
|
-
rightsPerShare: string;
|
|
1002
|
+
createdAt: Date;
|
|
1022
1003
|
cycleDays: number;
|
|
1023
|
-
|
|
1024
|
-
maturityYieldRate: string;
|
|
1025
|
-
minShares: number;
|
|
1026
|
-
maxSharesPerOrder: number | null;
|
|
1027
|
-
saleStartAt: Date | null;
|
|
1028
|
-
saleEndAt: Date | null;
|
|
1029
|
-
rightsAsset: {
|
|
1030
|
-
symbol: string | null;
|
|
1004
|
+
dailyPayoutAccountType: {
|
|
1031
1005
|
id: string;
|
|
1006
|
+
key: string;
|
|
1032
1007
|
name: string;
|
|
1033
|
-
code: string;
|
|
1034
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1035
1008
|
isActive: boolean;
|
|
1036
|
-
precision: number;
|
|
1037
1009
|
};
|
|
1038
|
-
|
|
1039
|
-
|
|
1010
|
+
dailyPayoutAccountTypeId: string;
|
|
1011
|
+
dailyYieldRate: string;
|
|
1012
|
+
description: string | null;
|
|
1013
|
+
id: string;
|
|
1014
|
+
maturitySettlementAccountType: {
|
|
1040
1015
|
id: string;
|
|
1016
|
+
key: string;
|
|
1041
1017
|
name: string;
|
|
1042
|
-
code: string;
|
|
1043
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1044
1018
|
isActive: boolean;
|
|
1045
|
-
precision: number;
|
|
1046
1019
|
};
|
|
1047
|
-
|
|
1020
|
+
maturitySettlementAccountTypeId: string;
|
|
1021
|
+
maturityYieldRate: string;
|
|
1022
|
+
maxSharesPerOrder: number | null;
|
|
1023
|
+
minShares: number;
|
|
1024
|
+
name: string;
|
|
1025
|
+
pricePerShare: string;
|
|
1026
|
+
pricingAsset: {
|
|
1048
1027
|
id: string;
|
|
1028
|
+
code: string;
|
|
1049
1029
|
name: string;
|
|
1050
|
-
|
|
1030
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1031
|
+
symbol: string | null;
|
|
1032
|
+
precision: number;
|
|
1051
1033
|
isActive: boolean;
|
|
1052
1034
|
};
|
|
1053
|
-
|
|
1035
|
+
pricingAssetId: string;
|
|
1036
|
+
rightsAsset: {
|
|
1054
1037
|
id: string;
|
|
1038
|
+
code: string;
|
|
1055
1039
|
name: string;
|
|
1056
|
-
|
|
1040
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1041
|
+
symbol: string | null;
|
|
1042
|
+
precision: number;
|
|
1057
1043
|
isActive: boolean;
|
|
1058
1044
|
};
|
|
1059
|
-
|
|
1045
|
+
rightsAssetId: string;
|
|
1046
|
+
rightsPerShare: string;
|
|
1047
|
+
saleEndAt: Date | null;
|
|
1048
|
+
saleStartAt: Date | null;
|
|
1049
|
+
sourcePricingAccountType: {
|
|
1060
1050
|
id: string;
|
|
1061
|
-
name: string;
|
|
1062
1051
|
key: string;
|
|
1052
|
+
name: string;
|
|
1063
1053
|
isActive: boolean;
|
|
1064
1054
|
};
|
|
1055
|
+
sourcePricingAccountTypeId: string;
|
|
1056
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1057
|
+
updatedAt: Date;
|
|
1065
1058
|
};
|
|
1066
|
-
|
|
1059
|
+
planId: string;
|
|
1060
|
+
pricePerShareSnapshot: string;
|
|
1061
|
+
pricingAssetIdSnapshot: string;
|
|
1062
|
+
pricingAssetSnapshot: {
|
|
1067
1063
|
id: string;
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1064
|
+
code: string;
|
|
1065
|
+
name: string;
|
|
1066
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1067
|
+
symbol: string | null;
|
|
1068
|
+
precision: number;
|
|
1069
|
+
isActive: boolean;
|
|
1072
1070
|
};
|
|
1073
|
-
|
|
1071
|
+
rightsAssetIdSnapshot: string;
|
|
1072
|
+
rightsAssetSnapshot: {
|
|
1074
1073
|
id: string;
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1074
|
+
code: string;
|
|
1075
|
+
name: string;
|
|
1076
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1077
|
+
symbol: string | null;
|
|
1078
|
+
precision: number;
|
|
1079
|
+
isActive: boolean;
|
|
1079
1080
|
};
|
|
1080
|
-
|
|
1081
|
+
rightsPerShareSnapshot: string;
|
|
1082
|
+
shares: number;
|
|
1083
|
+
sourcePricingAccount: {
|
|
1081
1084
|
id: string;
|
|
1082
1085
|
userId: string;
|
|
1083
|
-
status: "active" | "frozen" | "disabled";
|
|
1084
1086
|
assetId: string;
|
|
1085
1087
|
ledgerAccountTypeId: string;
|
|
1088
|
+
status: "active" | "disabled" | "frozen";
|
|
1086
1089
|
};
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
precision: number;
|
|
1095
|
-
};
|
|
1096
|
-
rightsAssetSnapshot: {
|
|
1097
|
-
symbol: string | null;
|
|
1090
|
+
sourcePricingAccountId: string;
|
|
1091
|
+
startDate: Date;
|
|
1092
|
+
status: "active" | "cancelled" | "matured" | "pending" | "settled";
|
|
1093
|
+
totalPricingAmount: string;
|
|
1094
|
+
totalRightsPrincipal: string;
|
|
1095
|
+
updatedAt: Date;
|
|
1096
|
+
user: {
|
|
1098
1097
|
id: string;
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1098
|
+
email: string;
|
|
1099
|
+
username: string | null;
|
|
1100
|
+
displayUsername: string | null;
|
|
1101
|
+
phoneNumber: string | null;
|
|
1102
|
+
banned: boolean | null;
|
|
1104
1103
|
};
|
|
1104
|
+
userId: string;
|
|
1105
1105
|
}[];
|
|
1106
1106
|
pagination: {
|
|
1107
|
-
total: number;
|
|
1108
1107
|
pageSize: number;
|
|
1109
1108
|
pageIndex: number;
|
|
1109
|
+
total: number;
|
|
1110
1110
|
totalPages: number;
|
|
1111
1111
|
hasNextPage: boolean;
|
|
1112
1112
|
};
|
|
@@ -1114,7 +1114,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1114
1114
|
401: "Unauthorized";
|
|
1115
1115
|
403: "Forbidden: Admins only";
|
|
1116
1116
|
422: {
|
|
1117
|
-
type:
|
|
1117
|
+
type: 'validation';
|
|
1118
1118
|
on: string;
|
|
1119
1119
|
summary?: string;
|
|
1120
1120
|
message?: string;
|
|
@@ -1133,242 +1133,242 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1133
1133
|
body: {};
|
|
1134
1134
|
params: {};
|
|
1135
1135
|
query: {
|
|
1136
|
-
userId?: string | undefined;
|
|
1137
|
-
status?: "pending" | "completed" | "failed" | undefined;
|
|
1138
|
-
planId?: string | undefined;
|
|
1139
1136
|
limit?: number | undefined;
|
|
1140
1137
|
offset?: number | undefined;
|
|
1141
|
-
pageSize?: number | undefined;
|
|
1142
1138
|
pageIndex?: number | undefined;
|
|
1139
|
+
pageSize?: number | undefined;
|
|
1140
|
+
planId?: string | undefined;
|
|
1141
|
+
status?: "completed" | "failed" | "pending" | undefined;
|
|
1142
|
+
userId?: string | undefined;
|
|
1143
1143
|
};
|
|
1144
1144
|
headers: {};
|
|
1145
1145
|
response: {
|
|
1146
1146
|
200: {
|
|
1147
1147
|
data: {
|
|
1148
|
+
amount: string;
|
|
1149
|
+
createdAt: Date;
|
|
1150
|
+
id: string;
|
|
1151
|
+
idempotencyKey: string;
|
|
1148
1152
|
ledgerEntry?: {
|
|
1149
1153
|
id: string;
|
|
1150
|
-
createdAt: Date;
|
|
1151
1154
|
bizType: string;
|
|
1152
1155
|
amount: string;
|
|
1153
1156
|
referenceId: string;
|
|
1154
1157
|
referenceType: string;
|
|
1158
|
+
createdAt: Date;
|
|
1155
1159
|
} | undefined;
|
|
1156
|
-
user: {
|
|
1157
|
-
email: string;
|
|
1158
|
-
id: string;
|
|
1159
|
-
username: string | null;
|
|
1160
|
-
displayUsername: string | null;
|
|
1161
|
-
phoneNumber: string | null;
|
|
1162
|
-
banned: boolean | null;
|
|
1163
|
-
};
|
|
1164
|
-
id: string;
|
|
1165
|
-
createdAt: Date;
|
|
1166
|
-
updatedAt: Date;
|
|
1167
|
-
userId: string;
|
|
1168
|
-
status: "pending" | "completed" | "failed";
|
|
1169
|
-
amount: string;
|
|
1170
|
-
idempotencyKey: string;
|
|
1171
1160
|
ledgerEntryId: string | null;
|
|
1172
|
-
planId: string;
|
|
1173
|
-
subscriptionId: string;
|
|
1174
1161
|
payoutDate: string;
|
|
1175
1162
|
plan: {
|
|
1176
|
-
id: string;
|
|
1177
|
-
name: string;
|
|
1178
|
-
createdAt: Date;
|
|
1179
|
-
updatedAt: Date;
|
|
1180
|
-
description: string | null;
|
|
1181
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1182
1163
|
coverImageUrl: string | null;
|
|
1183
|
-
|
|
1184
|
-
pricingAssetId: string;
|
|
1185
|
-
sourcePricingAccountTypeId: string;
|
|
1186
|
-
dailyPayoutAccountTypeId: string;
|
|
1187
|
-
maturitySettlementAccountTypeId: string;
|
|
1188
|
-
pricePerShare: string;
|
|
1189
|
-
rightsPerShare: string;
|
|
1164
|
+
createdAt: Date;
|
|
1190
1165
|
cycleDays: number;
|
|
1191
|
-
|
|
1192
|
-
maturityYieldRate: string;
|
|
1193
|
-
minShares: number;
|
|
1194
|
-
maxSharesPerOrder: number | null;
|
|
1195
|
-
saleStartAt: Date | null;
|
|
1196
|
-
saleEndAt: Date | null;
|
|
1197
|
-
rightsAsset: {
|
|
1198
|
-
symbol: string | null;
|
|
1166
|
+
dailyPayoutAccountType: {
|
|
1199
1167
|
id: string;
|
|
1168
|
+
key: string;
|
|
1200
1169
|
name: string;
|
|
1201
|
-
code: string;
|
|
1202
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1203
1170
|
isActive: boolean;
|
|
1204
|
-
precision: number;
|
|
1205
1171
|
};
|
|
1206
|
-
|
|
1207
|
-
|
|
1172
|
+
dailyPayoutAccountTypeId: string;
|
|
1173
|
+
dailyYieldRate: string;
|
|
1174
|
+
description: string | null;
|
|
1175
|
+
id: string;
|
|
1176
|
+
maturitySettlementAccountType: {
|
|
1208
1177
|
id: string;
|
|
1178
|
+
key: string;
|
|
1209
1179
|
name: string;
|
|
1210
|
-
code: string;
|
|
1211
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1212
1180
|
isActive: boolean;
|
|
1213
|
-
precision: number;
|
|
1214
1181
|
};
|
|
1215
|
-
|
|
1182
|
+
maturitySettlementAccountTypeId: string;
|
|
1183
|
+
maturityYieldRate: string;
|
|
1184
|
+
maxSharesPerOrder: number | null;
|
|
1185
|
+
minShares: number;
|
|
1186
|
+
name: string;
|
|
1187
|
+
pricePerShare: string;
|
|
1188
|
+
pricingAsset: {
|
|
1216
1189
|
id: string;
|
|
1190
|
+
code: string;
|
|
1217
1191
|
name: string;
|
|
1218
|
-
|
|
1192
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1193
|
+
symbol: string | null;
|
|
1194
|
+
precision: number;
|
|
1219
1195
|
isActive: boolean;
|
|
1220
1196
|
};
|
|
1221
|
-
|
|
1197
|
+
pricingAssetId: string;
|
|
1198
|
+
rightsAsset: {
|
|
1222
1199
|
id: string;
|
|
1200
|
+
code: string;
|
|
1223
1201
|
name: string;
|
|
1224
|
-
|
|
1202
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1203
|
+
symbol: string | null;
|
|
1204
|
+
precision: number;
|
|
1225
1205
|
isActive: boolean;
|
|
1226
1206
|
};
|
|
1227
|
-
|
|
1207
|
+
rightsAssetId: string;
|
|
1208
|
+
rightsPerShare: string;
|
|
1209
|
+
saleEndAt: Date | null;
|
|
1210
|
+
saleStartAt: Date | null;
|
|
1211
|
+
sourcePricingAccountType: {
|
|
1228
1212
|
id: string;
|
|
1229
|
-
name: string;
|
|
1230
1213
|
key: string;
|
|
1214
|
+
name: string;
|
|
1231
1215
|
isActive: boolean;
|
|
1232
1216
|
};
|
|
1217
|
+
sourcePricingAccountTypeId: string;
|
|
1218
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1219
|
+
updatedAt: Date;
|
|
1233
1220
|
};
|
|
1221
|
+
planId: string;
|
|
1222
|
+
status: "completed" | "failed" | "pending";
|
|
1234
1223
|
subscription: {
|
|
1235
|
-
|
|
1236
|
-
|
|
1224
|
+
createdAt: Date;
|
|
1225
|
+
cycleDaysSnapshot: number;
|
|
1226
|
+
dailyPayoutReceiveAccount: {
|
|
1237
1227
|
id: string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1228
|
+
userId: string;
|
|
1229
|
+
assetId: string;
|
|
1230
|
+
ledgerAccountTypeId: string;
|
|
1231
|
+
status: "active" | "disabled" | "frozen";
|
|
1242
1232
|
};
|
|
1233
|
+
dailyPayoutReceiveAccountId: string;
|
|
1234
|
+
dailyYieldRateSnapshot: string;
|
|
1243
1235
|
id: string;
|
|
1244
|
-
createdAt: Date;
|
|
1245
|
-
updatedAt: Date;
|
|
1246
|
-
userId: string;
|
|
1247
|
-
status: "active" | "pending" | "cancelled" | "matured" | "settled";
|
|
1248
1236
|
idempotencyKey: string;
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1237
|
+
lastPayoutDate: Date | null;
|
|
1238
|
+
maturityDate: Date;
|
|
1239
|
+
maturitySettlementReceiveAccount: {
|
|
1240
|
+
id: string;
|
|
1241
|
+
userId: string;
|
|
1242
|
+
assetId: string;
|
|
1243
|
+
ledgerAccountTypeId: string;
|
|
1244
|
+
status: "active" | "disabled" | "frozen";
|
|
1245
|
+
};
|
|
1253
1246
|
maturitySettlementReceiveAccountId: string;
|
|
1254
|
-
shares: number;
|
|
1255
|
-
totalPricingAmount: string;
|
|
1256
|
-
totalRightsPrincipal: string;
|
|
1257
|
-
pricingAssetIdSnapshot: string;
|
|
1258
|
-
rightsAssetIdSnapshot: string;
|
|
1259
|
-
pricePerShareSnapshot: string;
|
|
1260
|
-
rightsPerShareSnapshot: string;
|
|
1261
|
-
dailyYieldRateSnapshot: string;
|
|
1262
1247
|
maturityYieldRateSnapshot: string;
|
|
1263
|
-
cycleDaysSnapshot: number;
|
|
1264
|
-
startDate: Date;
|
|
1265
|
-
maturityDate: Date;
|
|
1266
1248
|
nextPayoutDate: Date | null;
|
|
1267
|
-
|
|
1249
|
+
orderNo: string;
|
|
1268
1250
|
plan: {
|
|
1269
|
-
id: string;
|
|
1270
|
-
name: string;
|
|
1271
|
-
createdAt: Date;
|
|
1272
|
-
updatedAt: Date;
|
|
1273
|
-
description: string | null;
|
|
1274
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1275
1251
|
coverImageUrl: string | null;
|
|
1276
|
-
|
|
1277
|
-
pricingAssetId: string;
|
|
1278
|
-
sourcePricingAccountTypeId: string;
|
|
1279
|
-
dailyPayoutAccountTypeId: string;
|
|
1280
|
-
maturitySettlementAccountTypeId: string;
|
|
1281
|
-
pricePerShare: string;
|
|
1282
|
-
rightsPerShare: string;
|
|
1252
|
+
createdAt: Date;
|
|
1283
1253
|
cycleDays: number;
|
|
1284
|
-
|
|
1285
|
-
maturityYieldRate: string;
|
|
1286
|
-
minShares: number;
|
|
1287
|
-
maxSharesPerOrder: number | null;
|
|
1288
|
-
saleStartAt: Date | null;
|
|
1289
|
-
saleEndAt: Date | null;
|
|
1290
|
-
rightsAsset: {
|
|
1291
|
-
symbol: string | null;
|
|
1254
|
+
dailyPayoutAccountType: {
|
|
1292
1255
|
id: string;
|
|
1256
|
+
key: string;
|
|
1293
1257
|
name: string;
|
|
1294
|
-
code: string;
|
|
1295
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1296
1258
|
isActive: boolean;
|
|
1297
|
-
precision: number;
|
|
1298
1259
|
};
|
|
1299
|
-
|
|
1300
|
-
|
|
1260
|
+
dailyPayoutAccountTypeId: string;
|
|
1261
|
+
dailyYieldRate: string;
|
|
1262
|
+
description: string | null;
|
|
1263
|
+
id: string;
|
|
1264
|
+
maturitySettlementAccountType: {
|
|
1301
1265
|
id: string;
|
|
1266
|
+
key: string;
|
|
1302
1267
|
name: string;
|
|
1303
|
-
code: string;
|
|
1304
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1305
1268
|
isActive: boolean;
|
|
1306
|
-
precision: number;
|
|
1307
1269
|
};
|
|
1308
|
-
|
|
1270
|
+
maturitySettlementAccountTypeId: string;
|
|
1271
|
+
maturityYieldRate: string;
|
|
1272
|
+
maxSharesPerOrder: number | null;
|
|
1273
|
+
minShares: number;
|
|
1274
|
+
name: string;
|
|
1275
|
+
pricePerShare: string;
|
|
1276
|
+
pricingAsset: {
|
|
1309
1277
|
id: string;
|
|
1278
|
+
code: string;
|
|
1310
1279
|
name: string;
|
|
1311
|
-
|
|
1280
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1281
|
+
symbol: string | null;
|
|
1282
|
+
precision: number;
|
|
1312
1283
|
isActive: boolean;
|
|
1313
1284
|
};
|
|
1314
|
-
|
|
1285
|
+
pricingAssetId: string;
|
|
1286
|
+
rightsAsset: {
|
|
1315
1287
|
id: string;
|
|
1288
|
+
code: string;
|
|
1316
1289
|
name: string;
|
|
1317
|
-
|
|
1290
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1291
|
+
symbol: string | null;
|
|
1292
|
+
precision: number;
|
|
1318
1293
|
isActive: boolean;
|
|
1319
1294
|
};
|
|
1320
|
-
|
|
1295
|
+
rightsAssetId: string;
|
|
1296
|
+
rightsPerShare: string;
|
|
1297
|
+
saleEndAt: Date | null;
|
|
1298
|
+
saleStartAt: Date | null;
|
|
1299
|
+
sourcePricingAccountType: {
|
|
1321
1300
|
id: string;
|
|
1322
|
-
name: string;
|
|
1323
1301
|
key: string;
|
|
1302
|
+
name: string;
|
|
1324
1303
|
isActive: boolean;
|
|
1325
1304
|
};
|
|
1305
|
+
sourcePricingAccountTypeId: string;
|
|
1306
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1307
|
+
updatedAt: Date;
|
|
1326
1308
|
};
|
|
1327
|
-
|
|
1309
|
+
planId: string;
|
|
1310
|
+
pricePerShareSnapshot: string;
|
|
1311
|
+
pricingAssetIdSnapshot: string;
|
|
1312
|
+
pricingAssetSnapshot: {
|
|
1328
1313
|
id: string;
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1314
|
+
code: string;
|
|
1315
|
+
name: string;
|
|
1316
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1317
|
+
symbol: string | null;
|
|
1318
|
+
precision: number;
|
|
1319
|
+
isActive: boolean;
|
|
1333
1320
|
};
|
|
1334
|
-
|
|
1321
|
+
rightsAssetIdSnapshot: string;
|
|
1322
|
+
rightsAssetSnapshot: {
|
|
1335
1323
|
id: string;
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1324
|
+
code: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1327
|
+
symbol: string | null;
|
|
1328
|
+
precision: number;
|
|
1329
|
+
isActive: boolean;
|
|
1340
1330
|
};
|
|
1341
|
-
|
|
1331
|
+
rightsPerShareSnapshot: string;
|
|
1332
|
+
shares: number;
|
|
1333
|
+
sourcePricingAccount: {
|
|
1342
1334
|
id: string;
|
|
1343
1335
|
userId: string;
|
|
1344
|
-
status: "active" | "frozen" | "disabled";
|
|
1345
1336
|
assetId: string;
|
|
1346
1337
|
ledgerAccountTypeId: string;
|
|
1338
|
+
status: "active" | "disabled" | "frozen";
|
|
1347
1339
|
};
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
precision: number;
|
|
1356
|
-
};
|
|
1357
|
-
rightsAssetSnapshot: {
|
|
1358
|
-
symbol: string | null;
|
|
1340
|
+
sourcePricingAccountId: string;
|
|
1341
|
+
startDate: Date;
|
|
1342
|
+
status: "active" | "cancelled" | "matured" | "pending" | "settled";
|
|
1343
|
+
totalPricingAmount: string;
|
|
1344
|
+
totalRightsPrincipal: string;
|
|
1345
|
+
updatedAt: Date;
|
|
1346
|
+
user: {
|
|
1359
1347
|
id: string;
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1348
|
+
email: string;
|
|
1349
|
+
username: string | null;
|
|
1350
|
+
displayUsername: string | null;
|
|
1351
|
+
phoneNumber: string | null;
|
|
1352
|
+
banned: boolean | null;
|
|
1365
1353
|
};
|
|
1354
|
+
userId: string;
|
|
1355
|
+
};
|
|
1356
|
+
subscriptionId: string;
|
|
1357
|
+
updatedAt: Date;
|
|
1358
|
+
user: {
|
|
1359
|
+
id: string;
|
|
1360
|
+
email: string;
|
|
1361
|
+
username: string | null;
|
|
1362
|
+
displayUsername: string | null;
|
|
1363
|
+
phoneNumber: string | null;
|
|
1364
|
+
banned: boolean | null;
|
|
1366
1365
|
};
|
|
1366
|
+
userId: string;
|
|
1367
1367
|
}[];
|
|
1368
1368
|
pagination: {
|
|
1369
|
-
total: number;
|
|
1370
1369
|
pageSize: number;
|
|
1371
1370
|
pageIndex: number;
|
|
1371
|
+
total: number;
|
|
1372
1372
|
totalPages: number;
|
|
1373
1373
|
hasNextPage: boolean;
|
|
1374
1374
|
};
|
|
@@ -1376,7 +1376,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1376
1376
|
401: "Unauthorized";
|
|
1377
1377
|
403: "Forbidden: Admins only";
|
|
1378
1378
|
422: {
|
|
1379
|
-
type:
|
|
1379
|
+
type: 'validation';
|
|
1380
1380
|
on: string;
|
|
1381
1381
|
summary?: string;
|
|
1382
1382
|
message?: string;
|
|
@@ -1395,252 +1395,252 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1395
1395
|
body: {};
|
|
1396
1396
|
params: {};
|
|
1397
1397
|
query: {
|
|
1398
|
-
userId?: string | undefined;
|
|
1399
|
-
status?: "pending" | "completed" | "failed" | undefined;
|
|
1400
|
-
planId?: string | undefined;
|
|
1401
1398
|
limit?: number | undefined;
|
|
1402
1399
|
offset?: number | undefined;
|
|
1403
|
-
pageSize?: number | undefined;
|
|
1404
1400
|
pageIndex?: number | undefined;
|
|
1401
|
+
pageSize?: number | undefined;
|
|
1402
|
+
planId?: string | undefined;
|
|
1403
|
+
status?: "completed" | "failed" | "pending" | undefined;
|
|
1404
|
+
userId?: string | undefined;
|
|
1405
1405
|
};
|
|
1406
1406
|
headers: {};
|
|
1407
1407
|
response: {
|
|
1408
1408
|
200: {
|
|
1409
1409
|
data: {
|
|
1410
|
-
yieldLedgerEntry?: {
|
|
1411
|
-
id: string;
|
|
1412
|
-
createdAt: Date;
|
|
1413
|
-
bizType: string;
|
|
1414
|
-
amount: string;
|
|
1415
|
-
referenceId: string;
|
|
1416
|
-
referenceType: string;
|
|
1417
|
-
} | undefined;
|
|
1418
|
-
principalLedgerEntry?: {
|
|
1419
|
-
id: string;
|
|
1420
|
-
createdAt: Date;
|
|
1421
|
-
bizType: string;
|
|
1422
|
-
amount: string;
|
|
1423
|
-
referenceId: string;
|
|
1424
|
-
referenceType: string;
|
|
1425
|
-
} | undefined;
|
|
1426
|
-
user: {
|
|
1427
|
-
email: string;
|
|
1428
|
-
id: string;
|
|
1429
|
-
username: string | null;
|
|
1430
|
-
displayUsername: string | null;
|
|
1431
|
-
phoneNumber: string | null;
|
|
1432
|
-
banned: boolean | null;
|
|
1433
|
-
};
|
|
1434
|
-
id: string;
|
|
1435
1410
|
createdAt: Date;
|
|
1436
|
-
|
|
1437
|
-
userId: string;
|
|
1438
|
-
status: "pending" | "completed" | "failed";
|
|
1411
|
+
id: string;
|
|
1439
1412
|
idempotencyKey: string;
|
|
1440
|
-
planId: string;
|
|
1441
|
-
subscriptionId: string;
|
|
1442
|
-
settlementDate: Date;
|
|
1443
1413
|
maturityYieldAmount: string;
|
|
1444
|
-
principalReturnAmount: string;
|
|
1445
|
-
yieldLedgerEntryId: string | null;
|
|
1446
|
-
principalLedgerEntryId: string | null;
|
|
1447
1414
|
plan: {
|
|
1448
|
-
id: string;
|
|
1449
|
-
name: string;
|
|
1450
|
-
createdAt: Date;
|
|
1451
|
-
updatedAt: Date;
|
|
1452
|
-
description: string | null;
|
|
1453
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1454
1415
|
coverImageUrl: string | null;
|
|
1455
|
-
|
|
1456
|
-
pricingAssetId: string;
|
|
1457
|
-
sourcePricingAccountTypeId: string;
|
|
1458
|
-
dailyPayoutAccountTypeId: string;
|
|
1459
|
-
maturitySettlementAccountTypeId: string;
|
|
1460
|
-
pricePerShare: string;
|
|
1461
|
-
rightsPerShare: string;
|
|
1416
|
+
createdAt: Date;
|
|
1462
1417
|
cycleDays: number;
|
|
1418
|
+
dailyPayoutAccountType: {
|
|
1419
|
+
id: string;
|
|
1420
|
+
key: string;
|
|
1421
|
+
name: string;
|
|
1422
|
+
isActive: boolean;
|
|
1423
|
+
};
|
|
1424
|
+
dailyPayoutAccountTypeId: string;
|
|
1463
1425
|
dailyYieldRate: string;
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
saleStartAt: Date | null;
|
|
1468
|
-
saleEndAt: Date | null;
|
|
1469
|
-
rightsAsset: {
|
|
1470
|
-
symbol: string | null;
|
|
1426
|
+
description: string | null;
|
|
1427
|
+
id: string;
|
|
1428
|
+
maturitySettlementAccountType: {
|
|
1471
1429
|
id: string;
|
|
1430
|
+
key: string;
|
|
1472
1431
|
name: string;
|
|
1473
|
-
code: string;
|
|
1474
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1475
1432
|
isActive: boolean;
|
|
1476
|
-
precision: number;
|
|
1477
1433
|
};
|
|
1434
|
+
maturitySettlementAccountTypeId: string;
|
|
1435
|
+
maturityYieldRate: string;
|
|
1436
|
+
maxSharesPerOrder: number | null;
|
|
1437
|
+
minShares: number;
|
|
1438
|
+
name: string;
|
|
1439
|
+
pricePerShare: string;
|
|
1478
1440
|
pricingAsset: {
|
|
1479
|
-
symbol: string | null;
|
|
1480
1441
|
id: string;
|
|
1481
|
-
name: string;
|
|
1482
1442
|
code: string;
|
|
1483
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1484
|
-
isActive: boolean;
|
|
1485
|
-
precision: number;
|
|
1486
|
-
};
|
|
1487
|
-
sourcePricingAccountType: {
|
|
1488
|
-
id: string;
|
|
1489
1443
|
name: string;
|
|
1490
|
-
|
|
1444
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1445
|
+
symbol: string | null;
|
|
1446
|
+
precision: number;
|
|
1491
1447
|
isActive: boolean;
|
|
1492
1448
|
};
|
|
1493
|
-
|
|
1449
|
+
pricingAssetId: string;
|
|
1450
|
+
rightsAsset: {
|
|
1494
1451
|
id: string;
|
|
1452
|
+
code: string;
|
|
1495
1453
|
name: string;
|
|
1496
|
-
|
|
1454
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1455
|
+
symbol: string | null;
|
|
1456
|
+
precision: number;
|
|
1497
1457
|
isActive: boolean;
|
|
1498
1458
|
};
|
|
1499
|
-
|
|
1459
|
+
rightsAssetId: string;
|
|
1460
|
+
rightsPerShare: string;
|
|
1461
|
+
saleEndAt: Date | null;
|
|
1462
|
+
saleStartAt: Date | null;
|
|
1463
|
+
sourcePricingAccountType: {
|
|
1500
1464
|
id: string;
|
|
1501
|
-
name: string;
|
|
1502
1465
|
key: string;
|
|
1466
|
+
name: string;
|
|
1503
1467
|
isActive: boolean;
|
|
1504
1468
|
};
|
|
1469
|
+
sourcePricingAccountTypeId: string;
|
|
1470
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1471
|
+
updatedAt: Date;
|
|
1505
1472
|
};
|
|
1473
|
+
planId: string;
|
|
1474
|
+
principalLedgerEntry?: {
|
|
1475
|
+
id: string;
|
|
1476
|
+
bizType: string;
|
|
1477
|
+
amount: string;
|
|
1478
|
+
referenceId: string;
|
|
1479
|
+
referenceType: string;
|
|
1480
|
+
createdAt: Date;
|
|
1481
|
+
} | undefined;
|
|
1482
|
+
principalLedgerEntryId: string | null;
|
|
1483
|
+
principalReturnAmount: string;
|
|
1484
|
+
settlementDate: Date;
|
|
1485
|
+
status: "completed" | "failed" | "pending";
|
|
1506
1486
|
subscription: {
|
|
1507
|
-
|
|
1508
|
-
|
|
1487
|
+
createdAt: Date;
|
|
1488
|
+
cycleDaysSnapshot: number;
|
|
1489
|
+
dailyPayoutReceiveAccount: {
|
|
1509
1490
|
id: string;
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1491
|
+
userId: string;
|
|
1492
|
+
assetId: string;
|
|
1493
|
+
ledgerAccountTypeId: string;
|
|
1494
|
+
status: "active" | "disabled" | "frozen";
|
|
1514
1495
|
};
|
|
1496
|
+
dailyPayoutReceiveAccountId: string;
|
|
1497
|
+
dailyYieldRateSnapshot: string;
|
|
1515
1498
|
id: string;
|
|
1516
|
-
createdAt: Date;
|
|
1517
|
-
updatedAt: Date;
|
|
1518
|
-
userId: string;
|
|
1519
|
-
status: "active" | "pending" | "cancelled" | "matured" | "settled";
|
|
1520
1499
|
idempotencyKey: string;
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1500
|
+
lastPayoutDate: Date | null;
|
|
1501
|
+
maturityDate: Date;
|
|
1502
|
+
maturitySettlementReceiveAccount: {
|
|
1503
|
+
id: string;
|
|
1504
|
+
userId: string;
|
|
1505
|
+
assetId: string;
|
|
1506
|
+
ledgerAccountTypeId: string;
|
|
1507
|
+
status: "active" | "disabled" | "frozen";
|
|
1508
|
+
};
|
|
1525
1509
|
maturitySettlementReceiveAccountId: string;
|
|
1526
|
-
shares: number;
|
|
1527
|
-
totalPricingAmount: string;
|
|
1528
|
-
totalRightsPrincipal: string;
|
|
1529
|
-
pricingAssetIdSnapshot: string;
|
|
1530
|
-
rightsAssetIdSnapshot: string;
|
|
1531
|
-
pricePerShareSnapshot: string;
|
|
1532
|
-
rightsPerShareSnapshot: string;
|
|
1533
|
-
dailyYieldRateSnapshot: string;
|
|
1534
1510
|
maturityYieldRateSnapshot: string;
|
|
1535
|
-
cycleDaysSnapshot: number;
|
|
1536
|
-
startDate: Date;
|
|
1537
|
-
maturityDate: Date;
|
|
1538
1511
|
nextPayoutDate: Date | null;
|
|
1539
|
-
|
|
1512
|
+
orderNo: string;
|
|
1540
1513
|
plan: {
|
|
1541
|
-
id: string;
|
|
1542
|
-
name: string;
|
|
1543
|
-
createdAt: Date;
|
|
1544
|
-
updatedAt: Date;
|
|
1545
|
-
description: string | null;
|
|
1546
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
1547
1514
|
coverImageUrl: string | null;
|
|
1548
|
-
|
|
1549
|
-
pricingAssetId: string;
|
|
1550
|
-
sourcePricingAccountTypeId: string;
|
|
1551
|
-
dailyPayoutAccountTypeId: string;
|
|
1552
|
-
maturitySettlementAccountTypeId: string;
|
|
1553
|
-
pricePerShare: string;
|
|
1554
|
-
rightsPerShare: string;
|
|
1515
|
+
createdAt: Date;
|
|
1555
1516
|
cycleDays: number;
|
|
1556
|
-
|
|
1557
|
-
maturityYieldRate: string;
|
|
1558
|
-
minShares: number;
|
|
1559
|
-
maxSharesPerOrder: number | null;
|
|
1560
|
-
saleStartAt: Date | null;
|
|
1561
|
-
saleEndAt: Date | null;
|
|
1562
|
-
rightsAsset: {
|
|
1563
|
-
symbol: string | null;
|
|
1517
|
+
dailyPayoutAccountType: {
|
|
1564
1518
|
id: string;
|
|
1519
|
+
key: string;
|
|
1565
1520
|
name: string;
|
|
1566
|
-
code: string;
|
|
1567
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1568
1521
|
isActive: boolean;
|
|
1569
|
-
precision: number;
|
|
1570
1522
|
};
|
|
1571
|
-
|
|
1572
|
-
|
|
1523
|
+
dailyPayoutAccountTypeId: string;
|
|
1524
|
+
dailyYieldRate: string;
|
|
1525
|
+
description: string | null;
|
|
1526
|
+
id: string;
|
|
1527
|
+
maturitySettlementAccountType: {
|
|
1573
1528
|
id: string;
|
|
1529
|
+
key: string;
|
|
1574
1530
|
name: string;
|
|
1575
|
-
code: string;
|
|
1576
|
-
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1577
1531
|
isActive: boolean;
|
|
1578
|
-
precision: number;
|
|
1579
1532
|
};
|
|
1580
|
-
|
|
1533
|
+
maturitySettlementAccountTypeId: string;
|
|
1534
|
+
maturityYieldRate: string;
|
|
1535
|
+
maxSharesPerOrder: number | null;
|
|
1536
|
+
minShares: number;
|
|
1537
|
+
name: string;
|
|
1538
|
+
pricePerShare: string;
|
|
1539
|
+
pricingAsset: {
|
|
1581
1540
|
id: string;
|
|
1541
|
+
code: string;
|
|
1582
1542
|
name: string;
|
|
1583
|
-
|
|
1543
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1544
|
+
symbol: string | null;
|
|
1545
|
+
precision: number;
|
|
1584
1546
|
isActive: boolean;
|
|
1585
1547
|
};
|
|
1586
|
-
|
|
1548
|
+
pricingAssetId: string;
|
|
1549
|
+
rightsAsset: {
|
|
1587
1550
|
id: string;
|
|
1551
|
+
code: string;
|
|
1588
1552
|
name: string;
|
|
1589
|
-
|
|
1553
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1554
|
+
symbol: string | null;
|
|
1555
|
+
precision: number;
|
|
1590
1556
|
isActive: boolean;
|
|
1591
1557
|
};
|
|
1592
|
-
|
|
1558
|
+
rightsAssetId: string;
|
|
1559
|
+
rightsPerShare: string;
|
|
1560
|
+
saleEndAt: Date | null;
|
|
1561
|
+
saleStartAt: Date | null;
|
|
1562
|
+
sourcePricingAccountType: {
|
|
1593
1563
|
id: string;
|
|
1594
|
-
name: string;
|
|
1595
1564
|
key: string;
|
|
1565
|
+
name: string;
|
|
1596
1566
|
isActive: boolean;
|
|
1597
1567
|
};
|
|
1568
|
+
sourcePricingAccountTypeId: string;
|
|
1569
|
+
status: "active" | "draft" | "ended" | "paused";
|
|
1570
|
+
updatedAt: Date;
|
|
1598
1571
|
};
|
|
1599
|
-
|
|
1572
|
+
planId: string;
|
|
1573
|
+
pricePerShareSnapshot: string;
|
|
1574
|
+
pricingAssetIdSnapshot: string;
|
|
1575
|
+
pricingAssetSnapshot: {
|
|
1600
1576
|
id: string;
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1577
|
+
code: string;
|
|
1578
|
+
name: string;
|
|
1579
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1580
|
+
symbol: string | null;
|
|
1581
|
+
precision: number;
|
|
1582
|
+
isActive: boolean;
|
|
1605
1583
|
};
|
|
1606
|
-
|
|
1584
|
+
rightsAssetIdSnapshot: string;
|
|
1585
|
+
rightsAssetSnapshot: {
|
|
1607
1586
|
id: string;
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1587
|
+
code: string;
|
|
1588
|
+
name: string;
|
|
1589
|
+
category: "CRYPTO" | "FIAT" | "POINT" | "RWA";
|
|
1590
|
+
symbol: string | null;
|
|
1591
|
+
precision: number;
|
|
1592
|
+
isActive: boolean;
|
|
1612
1593
|
};
|
|
1613
|
-
|
|
1594
|
+
rightsPerShareSnapshot: string;
|
|
1595
|
+
shares: number;
|
|
1596
|
+
sourcePricingAccount: {
|
|
1614
1597
|
id: string;
|
|
1615
1598
|
userId: string;
|
|
1616
|
-
status: "active" | "frozen" | "disabled";
|
|
1617
1599
|
assetId: string;
|
|
1618
1600
|
ledgerAccountTypeId: string;
|
|
1601
|
+
status: "active" | "disabled" | "frozen";
|
|
1619
1602
|
};
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
precision: number;
|
|
1628
|
-
};
|
|
1629
|
-
rightsAssetSnapshot: {
|
|
1630
|
-
symbol: string | null;
|
|
1603
|
+
sourcePricingAccountId: string;
|
|
1604
|
+
startDate: Date;
|
|
1605
|
+
status: "active" | "cancelled" | "matured" | "pending" | "settled";
|
|
1606
|
+
totalPricingAmount: string;
|
|
1607
|
+
totalRightsPrincipal: string;
|
|
1608
|
+
updatedAt: Date;
|
|
1609
|
+
user: {
|
|
1631
1610
|
id: string;
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1611
|
+
email: string;
|
|
1612
|
+
username: string | null;
|
|
1613
|
+
displayUsername: string | null;
|
|
1614
|
+
phoneNumber: string | null;
|
|
1615
|
+
banned: boolean | null;
|
|
1637
1616
|
};
|
|
1617
|
+
userId: string;
|
|
1618
|
+
};
|
|
1619
|
+
subscriptionId: string;
|
|
1620
|
+
updatedAt: Date;
|
|
1621
|
+
user: {
|
|
1622
|
+
id: string;
|
|
1623
|
+
email: string;
|
|
1624
|
+
username: string | null;
|
|
1625
|
+
displayUsername: string | null;
|
|
1626
|
+
phoneNumber: string | null;
|
|
1627
|
+
banned: boolean | null;
|
|
1638
1628
|
};
|
|
1629
|
+
userId: string;
|
|
1630
|
+
yieldLedgerEntry?: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
bizType: string;
|
|
1633
|
+
amount: string;
|
|
1634
|
+
referenceId: string;
|
|
1635
|
+
referenceType: string;
|
|
1636
|
+
createdAt: Date;
|
|
1637
|
+
} | undefined;
|
|
1638
|
+
yieldLedgerEntryId: string | null;
|
|
1639
1639
|
}[];
|
|
1640
1640
|
pagination: {
|
|
1641
|
-
total: number;
|
|
1642
1641
|
pageSize: number;
|
|
1643
1642
|
pageIndex: number;
|
|
1643
|
+
total: number;
|
|
1644
1644
|
totalPages: number;
|
|
1645
1645
|
hasNextPage: boolean;
|
|
1646
1646
|
};
|
|
@@ -1648,7 +1648,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1648
1648
|
401: "Unauthorized";
|
|
1649
1649
|
403: "Forbidden: Admins only";
|
|
1650
1650
|
422: {
|
|
1651
|
-
type:
|
|
1651
|
+
type: 'validation';
|
|
1652
1652
|
on: string;
|
|
1653
1653
|
summary?: string;
|
|
1654
1654
|
message?: string;
|
|
@@ -1666,8 +1666,8 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1666
1666
|
"run-daily-payout": {
|
|
1667
1667
|
post: {
|
|
1668
1668
|
body: {
|
|
1669
|
-
payoutDate?: Date | undefined;
|
|
1670
1669
|
subscriptionIds?: string[] | undefined;
|
|
1670
|
+
payoutDate?: Date | undefined;
|
|
1671
1671
|
};
|
|
1672
1672
|
params: {};
|
|
1673
1673
|
query: {};
|
|
@@ -1680,7 +1680,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1680
1680
|
401: "Unauthorized";
|
|
1681
1681
|
403: "Forbidden: Admins only";
|
|
1682
1682
|
422: {
|
|
1683
|
-
type:
|
|
1683
|
+
type: 'validation';
|
|
1684
1684
|
on: string;
|
|
1685
1685
|
summary?: string;
|
|
1686
1686
|
message?: string;
|
|
@@ -1699,9 +1699,9 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1699
1699
|
"run-maturity-settlement": {
|
|
1700
1700
|
post: {
|
|
1701
1701
|
body: {
|
|
1702
|
+
subscriptionIds?: string[] | undefined;
|
|
1702
1703
|
settlementDate?: Date | undefined;
|
|
1703
1704
|
limit?: number | undefined;
|
|
1704
|
-
subscriptionIds?: string[] | undefined;
|
|
1705
1705
|
};
|
|
1706
1706
|
params: {};
|
|
1707
1707
|
query: {};
|
|
@@ -1714,7 +1714,7 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1714
1714
|
401: "Unauthorized";
|
|
1715
1715
|
403: "Forbidden: Admins only";
|
|
1716
1716
|
422: {
|
|
1717
|
-
type:
|
|
1717
|
+
type: 'validation';
|
|
1718
1718
|
on: string;
|
|
1719
1719
|
summary?: string;
|
|
1720
1720
|
message?: string;
|
|
@@ -1743,16 +1743,16 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1743
1743
|
email: string;
|
|
1744
1744
|
emailVerified: boolean;
|
|
1745
1745
|
name: string;
|
|
1746
|
-
image?: string | null | undefined
|
|
1747
|
-
|
|
1748
|
-
|
|
1746
|
+
image?: string | null | undefined;
|
|
1747
|
+
banExpires?: Date | null | undefined;
|
|
1748
|
+
banReason?: string | null | undefined;
|
|
1749
|
+
banned: boolean | null | undefined;
|
|
1749
1750
|
displayUsername?: string | null | undefined;
|
|
1750
1751
|
phoneNumber?: string | null | undefined;
|
|
1751
1752
|
phoneNumberVerified?: boolean | null | undefined;
|
|
1752
|
-
banned: boolean | null | undefined;
|
|
1753
1753
|
role?: string | null | undefined;
|
|
1754
|
-
|
|
1755
|
-
|
|
1754
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
1755
|
+
username?: string | null | undefined;
|
|
1756
1756
|
};
|
|
1757
1757
|
session: {
|
|
1758
1758
|
id: string;
|
|
@@ -1761,8 +1761,8 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1761
1761
|
userId: string;
|
|
1762
1762
|
expiresAt: Date;
|
|
1763
1763
|
token: string;
|
|
1764
|
-
ipAddress?: string | null | undefined
|
|
1765
|
-
userAgent?: string | null | undefined
|
|
1764
|
+
ipAddress?: string | null | undefined;
|
|
1765
|
+
userAgent?: string | null | undefined;
|
|
1766
1766
|
impersonatedBy?: string | null | undefined;
|
|
1767
1767
|
};
|
|
1768
1768
|
} & {
|
|
@@ -1773,16 +1773,16 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1773
1773
|
email: string;
|
|
1774
1774
|
emailVerified: boolean;
|
|
1775
1775
|
name: string;
|
|
1776
|
-
image?: string | null | undefined
|
|
1777
|
-
|
|
1778
|
-
|
|
1776
|
+
image?: string | null | undefined;
|
|
1777
|
+
banExpires?: Date | null | undefined;
|
|
1778
|
+
banReason?: string | null | undefined;
|
|
1779
|
+
banned: boolean | null | undefined;
|
|
1779
1780
|
displayUsername?: string | null | undefined;
|
|
1780
1781
|
phoneNumber?: string | null | undefined;
|
|
1781
1782
|
phoneNumberVerified?: boolean | null | undefined;
|
|
1782
|
-
banned: boolean | null | undefined;
|
|
1783
1783
|
role?: string | null | undefined;
|
|
1784
|
-
|
|
1785
|
-
|
|
1784
|
+
twoFactorEnabled: boolean | null | undefined;
|
|
1785
|
+
username?: string | null | undefined;
|
|
1786
1786
|
};
|
|
1787
1787
|
session: {
|
|
1788
1788
|
id: string;
|
|
@@ -1791,8 +1791,8 @@ export declare const welfareCycleAdminRouter: Elysia<"/welfare_cycle", {
|
|
|
1791
1791
|
userId: string;
|
|
1792
1792
|
expiresAt: Date;
|
|
1793
1793
|
token: string;
|
|
1794
|
-
ipAddress?: string | null | undefined
|
|
1795
|
-
userAgent?: string | null | undefined
|
|
1794
|
+
ipAddress?: string | null | undefined;
|
|
1795
|
+
userAgent?: string | null | undefined;
|
|
1796
1796
|
impersonatedBy?: string | null | undefined;
|
|
1797
1797
|
};
|
|
1798
1798
|
};
|