@r2wa-org/eden 0.0.72 → 0.0.77
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/README.md +20 -6
- package/dist/admin/index.d.ts +2256 -213
- package/dist/admin-user/admin/dto.schemas.d.ts +3 -3
- package/dist/admin-user/admin/errors/index.d.ts +4 -0
- package/dist/admin-user/admin/errors/locales/zh.d.ts +1 -0
- package/dist/app-version/admin/dto.schemas.d.ts +99 -0
- package/dist/{src/admin → app-version}/admin/router.d.ts +182 -83
- package/dist/app-version/admin/service.d.ts +105 -0
- package/dist/{src/account-type → app-version}/db.schemas.d.ts +142 -74
- package/dist/{src/account-type → app-version}/schema.d.ts +76 -41
- package/dist/asset/admin/dto.schemas.d.ts +3 -7
- package/dist/asset/admin/router.d.ts +2 -8
- package/dist/asset/admin/service.d.ts +1 -6
- package/dist/asset/errors/index.d.ts +2 -0
- package/dist/asset/errors/locales/zh.d.ts +1 -0
- package/dist/asset/user/dto.schemas.d.ts +0 -2
- package/dist/asset/user/router.d.ts +0 -3
- package/dist/asset/user/service.d.ts +0 -3
- package/dist/asset-convert-product/admin/service.d.ts +1 -0
- package/dist/asset-convert-product/errors/index.d.ts +1 -0
- package/dist/asset-convert-product/errors/locales/zh.d.ts +1 -0
- package/dist/asset-convert-product/user/dto.schemas.d.ts +119 -84
- package/dist/asset-convert-product/user/router.d.ts +21 -0
- package/dist/asset-convert-product/user/service.d.ts +39 -0
- package/dist/asset-type/admin/dto.schemas.d.ts +0 -53
- package/dist/asset-type/admin/router.d.ts +0 -6
- package/dist/asset-type/admin/service.d.ts +0 -4
- package/dist/asset-type/db.schemas.d.ts +0 -34
- package/dist/asset-type/schema.d.ts +0 -17
- package/dist/asset-type/seed.d.ts +0 -3
- package/dist/asset-type/user/dto.schemas.d.ts +0 -2
- package/dist/asset-type/user/router.d.ts +0 -1
- package/dist/asset-type/user/service.d.ts +0 -1
- package/dist/auth/db.schemas.d.ts +8 -8
- package/dist/auth/schema.d.ts +4 -4
- package/dist/bank-account/admin/dto.schemas.d.ts +47 -2
- package/dist/bank-account/admin/router.d.ts +32 -0
- package/dist/bank-account/admin/service.d.ts +88 -15
- package/dist/check-in/admin/dto.schemas.d.ts +1 -1
- package/dist/check-in/user/dto.schemas.d.ts +1 -1
- package/dist/db/schemas.d.ts +1 -0
- package/dist/deposit/admin/dto.schemas.d.ts +2 -2
- package/dist/deposit/user/dto.schemas.d.ts +2 -2
- package/dist/env/server.d.ts +1 -0
- package/dist/http-access-log.d.ts +30 -0
- package/dist/index.d.ts +2591 -358
- package/dist/ledger/admin/dto.schemas.d.ts +353 -688
- package/dist/ledger/admin/router.d.ts +81 -0
- package/dist/ledger/admin/service.d.ts +2 -135
- package/dist/ledger/schema.d.ts +1 -0
- package/dist/ledger-account/admin/dto.schemas.d.ts +132 -516
- package/dist/ledger-account/admin/router.d.ts +69 -0
- package/dist/ledger-account/admin/service.d.ts +54 -0
- package/dist/market-data/admin/dto.schemas.d.ts +597 -64
- package/dist/market-data/admin/router.d.ts +30 -4
- package/dist/market-data/admin/service.d.ts +26 -0
- package/dist/market-data/errors/index.d.ts +1 -0
- package/dist/market-data/errors/locales/zh.d.ts +1 -0
- package/dist/market-data/user/dto.schemas.d.ts +81 -0
- package/dist/market-data/user/router.d.ts +172 -0
- package/dist/market-data/user/service.d.ts +12 -1
- package/dist/market-pricing/admin/dto.schemas.d.ts +602 -64
- package/dist/market-pricing/admin/router.d.ts +173 -17
- package/dist/market-pricing/admin/service.d.ts +172 -15
- package/dist/news/admin/service.d.ts +1 -0
- package/dist/news-category/admin/dto.schemas.d.ts +4 -4
- package/dist/news-category/admin/router.d.ts +2 -2
- package/dist/news-category/admin/service.d.ts +1 -0
- package/dist/news-category/errors/index.d.ts +2 -0
- package/dist/news-category/errors/locales/zh.d.ts +1 -0
- package/dist/operations-overview/admin/dto.schemas.d.ts +41 -0
- package/dist/{src/shipping-address/admin.router.d.ts → operations-overview/admin/router.d.ts} +47 -37
- package/dist/operations-overview/admin/service.d.ts +4 -0
- package/dist/receipt-method/admin/dto.schemas.d.ts +48 -378
- package/dist/receipt-method/admin/router.d.ts +16 -0
- package/dist/receipt-method/admin/service.d.ts +36 -0
- package/dist/referral/admin/dto.schemas.d.ts +6 -2
- package/dist/referral/admin/router.d.ts +1 -6
- package/dist/referral/admin/service.d.ts +1 -1
- package/dist/referral/errors/index.d.ts +1 -0
- package/dist/referral/errors/locales/zh.d.ts +1 -0
- package/dist/referral/user/dto.schemas.d.ts +2 -2
- package/dist/src/admin/index.d.ts +2256 -213
- package/dist/src/admin-user/admin/dto.schemas.d.ts +3 -3
- package/dist/src/admin-user/admin/errors/index.d.ts +4 -0
- package/dist/src/admin-user/admin/errors/locales/zh.d.ts +1 -0
- package/dist/src/app-version/admin/dto.schemas.d.ts +99 -0
- package/dist/src/{referral-depth-config/admin.router.d.ts → app-version/admin/router.d.ts} +211 -101
- package/dist/src/app-version/admin/service.d.ts +105 -0
- package/dist/src/{account → app-version}/db.schemas.d.ts +186 -84
- package/dist/src/{account → app-version}/schema.d.ts +98 -52
- package/dist/src/asset/admin/dto.schemas.d.ts +3 -7
- package/dist/src/asset/admin/router.d.ts +2 -8
- package/dist/src/asset/admin/service.d.ts +1 -6
- package/dist/src/asset/errors/index.d.ts +2 -0
- package/dist/src/asset/errors/locales/zh.d.ts +1 -0
- package/dist/src/asset/user/dto.schemas.d.ts +0 -2
- package/dist/src/asset/user/router.d.ts +0 -3
- package/dist/src/asset/user/service.d.ts +0 -3
- package/dist/src/asset-convert-product/admin/service.d.ts +1 -0
- package/dist/src/asset-convert-product/errors/index.d.ts +1 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +1 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +119 -84
- package/dist/src/asset-convert-product/user/router.d.ts +21 -0
- package/dist/src/asset-convert-product/user/service.d.ts +39 -0
- package/dist/src/asset-type/admin/dto.schemas.d.ts +0 -53
- package/dist/src/asset-type/admin/router.d.ts +0 -6
- package/dist/src/asset-type/admin/service.d.ts +0 -4
- package/dist/src/asset-type/db.schemas.d.ts +0 -34
- package/dist/src/asset-type/schema.d.ts +0 -17
- package/dist/src/asset-type/seed.d.ts +0 -3
- package/dist/src/asset-type/user/dto.schemas.d.ts +0 -2
- package/dist/src/asset-type/user/router.d.ts +0 -1
- package/dist/src/asset-type/user/service.d.ts +0 -1
- package/dist/src/auth/better-auth.d.ts +30 -0
- package/dist/src/auth/db.schemas.d.ts +8 -8
- package/dist/src/auth/schema.d.ts +4 -4
- package/dist/src/bank-account/admin/dto.schemas.d.ts +47 -2
- package/dist/src/bank-account/admin/router.d.ts +32 -0
- package/dist/src/bank-account/admin/service.d.ts +88 -15
- package/dist/src/check-in/admin/dto.schemas.d.ts +1 -1
- package/dist/src/check-in/user/dto.schemas.d.ts +1 -1
- package/dist/src/db/schemas.d.ts +1 -0
- package/dist/src/deposit/admin/dto.schemas.d.ts +2 -2
- package/dist/src/deposit/user/dto.schemas.d.ts +2 -2
- package/dist/src/env/server.d.ts +1 -0
- package/dist/src/http-access-log.d.ts +30 -0
- package/dist/src/index.d.ts +2591 -358
- package/dist/src/ledger/admin/dto.schemas.d.ts +353 -688
- package/dist/src/ledger/admin/router.d.ts +81 -0
- package/dist/src/ledger/admin/service.d.ts +2 -135
- package/dist/src/ledger/schema.d.ts +1 -0
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +132 -516
- package/dist/src/ledger-account/admin/router.d.ts +69 -0
- package/dist/src/ledger-account/admin/service.d.ts +54 -0
- package/dist/src/market-data/admin/dto.schemas.d.ts +597 -64
- package/dist/src/market-data/admin/router.d.ts +30 -4
- package/dist/src/market-data/admin/service.d.ts +26 -0
- package/dist/src/market-data/errors/index.d.ts +1 -0
- package/dist/src/market-data/errors/locales/zh.d.ts +1 -0
- package/dist/src/market-data/user/dto.schemas.d.ts +81 -0
- package/dist/src/market-data/user/router.d.ts +172 -0
- package/dist/src/market-data/user/service.d.ts +12 -1
- package/dist/src/market-pricing/admin/dto.schemas.d.ts +602 -64
- package/dist/src/market-pricing/admin/router.d.ts +173 -17
- package/dist/src/market-pricing/admin/service.d.ts +172 -15
- package/dist/src/news/admin/service.d.ts +1 -0
- package/dist/src/news-category/admin/dto.schemas.d.ts +4 -4
- package/dist/src/news-category/admin/router.d.ts +2 -2
- package/dist/src/news-category/admin/service.d.ts +1 -0
- package/dist/src/news-category/errors/index.d.ts +2 -0
- package/dist/src/news-category/errors/locales/zh.d.ts +1 -0
- package/dist/src/operations-overview/admin/dto.schemas.d.ts +41 -0
- package/dist/src/{transfer/admin.router.d.ts → operations-overview/admin/router.d.ts} +49 -41
- package/dist/src/operations-overview/admin/service.d.ts +4 -0
- package/dist/src/receipt-method/admin/dto.schemas.d.ts +48 -378
- package/dist/src/receipt-method/admin/router.d.ts +16 -0
- package/dist/src/receipt-method/admin/service.d.ts +36 -0
- package/dist/src/referral/admin/dto.schemas.d.ts +6 -2
- package/dist/src/referral/admin/router.d.ts +1 -6
- package/dist/src/referral/admin/service.d.ts +1 -1
- package/dist/src/referral/errors/index.d.ts +1 -0
- package/dist/src/referral/errors/locales/zh.d.ts +1 -0
- package/dist/src/referral/user/dto.schemas.d.ts +2 -2
- package/dist/src/team/admin/dto.schemas.d.ts +1678 -253
- package/dist/src/team/admin/router.d.ts +82 -1
- package/dist/src/team/admin/service.d.ts +2 -2
- package/dist/src/team/errors/index.d.ts +1 -0
- package/dist/src/team/errors/locales/zh.d.ts +1 -0
- package/dist/src/team/user/dto.schemas.d.ts +5 -5
- package/dist/src/trade-market/admin/dto.schemas.d.ts +4079 -77
- package/dist/src/trade-market/admin/router.d.ts +486 -0
- package/dist/src/trade-market/admin/service.d.ts +488 -0
- package/dist/src/trade-market/errors/index.d.ts +1 -0
- package/dist/src/trade-market/errors/locales/zh.d.ts +1 -0
- package/dist/src/trade-market/internal/service.d.ts +325 -0
- package/dist/src/trade-market/user/service.d.ts +324 -0
- package/dist/src/user/admin/dto.schemas.d.ts +1 -1
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +1080 -1561
- package/dist/src/welfare-cycle/admin/router.d.ts +748 -2
- package/dist/src/welfare-cycle/admin/service.d.ts +828 -40
- package/dist/src/welfare-cycle/errors/index.d.ts +2 -0
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +2 -0
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/src/welfare-cycle/user/router.d.ts +1 -0
- package/dist/src/welfare-cycle/user/service.d.ts +1 -0
- package/dist/src/withdraw/errors/index.d.ts +2 -0
- package/dist/src/withdraw/errors/locales/zh.d.ts +1 -0
- package/dist/src/withdraw/user/dto.schemas.d.ts +2 -2
- package/dist/src/withdraw/user/router.d.ts +2 -2
- package/dist/src/withdraw/user/service.d.ts +1 -0
- package/dist/team/admin/dto.schemas.d.ts +1678 -253
- package/dist/team/admin/router.d.ts +82 -1
- package/dist/team/admin/service.d.ts +2 -2
- package/dist/team/errors/index.d.ts +1 -0
- package/dist/team/errors/locales/zh.d.ts +1 -0
- package/dist/team/user/dto.schemas.d.ts +5 -5
- package/dist/trade-market/admin/dto.schemas.d.ts +4079 -77
- package/dist/trade-market/admin/router.d.ts +486 -0
- package/dist/trade-market/admin/service.d.ts +488 -0
- package/dist/trade-market/errors/index.d.ts +1 -0
- package/dist/trade-market/errors/locales/zh.d.ts +1 -0
- package/dist/trade-market/internal/service.d.ts +325 -0
- package/dist/trade-market/user/service.d.ts +324 -0
- package/dist/user/admin/dto.schemas.d.ts +1 -1
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +1080 -1561
- package/dist/welfare-cycle/admin/router.d.ts +748 -2
- package/dist/welfare-cycle/admin/service.d.ts +828 -40
- package/dist/welfare-cycle/errors/index.d.ts +2 -0
- package/dist/welfare-cycle/errors/locales/zh.d.ts +2 -0
- package/dist/welfare-cycle/user/dto.schemas.d.ts +1 -0
- package/dist/welfare-cycle/user/router.d.ts +1 -0
- package/dist/welfare-cycle/user/service.d.ts +1 -0
- package/dist/withdraw/errors/index.d.ts +2 -0
- package/dist/withdraw/errors/locales/zh.d.ts +1 -0
- package/dist/withdraw/user/dto.schemas.d.ts +2 -2
- package/dist/withdraw/user/router.d.ts +2 -2
- package/dist/withdraw/user/service.d.ts +1 -0
- package/package.json +56 -7
- package/dist/src/account/admin.router.d.ts +0 -548
- package/dist/src/account/dto.schemas.d.ts +0 -414
- package/dist/src/account/index.d.ts +0 -7
- package/dist/src/account/router.d.ts +0 -509
- package/dist/src/account/seed.d.ts +0 -1
- package/dist/src/account/service.d.ts +0 -139
- package/dist/src/account-type/admin.router.d.ts +0 -495
- package/dist/src/account-type/dto.schemas.d.ts +0 -28
- package/dist/src/account-type/index.d.ts +0 -7
- package/dist/src/account-type/router.d.ts +0 -460
- package/dist/src/account-type/seed.d.ts +0 -1
- package/dist/src/account-type/service.d.ts +0 -52
- package/dist/src/admin/admin/dto.schemas.d.ts +0 -880
- package/dist/src/admin/admin/errors/index.d.ts +0 -15
- package/dist/src/admin/admin/errors/locales/zh.d.ts +0 -14
- package/dist/src/admin/admin/service.d.ts +0 -60
- package/dist/src/admin/user/dto.schemas.d.ts +0 -600
- package/dist/src/admin/user/router.d.ts +0 -82
- package/dist/src/admin/user/service.d.ts +0 -31
- package/dist/src/asset/admin.router.d.ts +0 -661
- package/dist/src/asset/dto.schemas.d.ts +0 -139
- package/dist/src/asset/router.d.ts +0 -480
- package/dist/src/asset/service.d.ts +0 -160
- package/dist/src/asset-type/admin.router.d.ts +0 -584
- package/dist/src/asset-type/dto.schemas.d.ts +0 -178
- package/dist/src/asset-type/router.d.ts +0 -472
- package/dist/src/asset-type/service.d.ts +0 -59
- package/dist/src/asset-type/share/dto.schemas.d.ts +0 -178
- package/dist/src/bank-account/admin.router.d.ts +0 -880
- package/dist/src/bank-account/dto.schemas.d.ts +0 -572
- package/dist/src/bank-account/router.d.ts +0 -680
- package/dist/src/bank-account/service.d.ts +0 -359
- package/dist/src/check-in/admin.router.d.ts +0 -533
- package/dist/src/check-in/dto.schemas.d.ts +0 -544
- package/dist/src/check-in/router.d.ts +0 -619
- package/dist/src/check-in/service.d.ts +0 -99
- package/dist/src/deposit/admin.router.d.ts +0 -642
- package/dist/src/deposit/dto.schemas.d.ts +0 -715
- package/dist/src/deposit/router.d.ts +0 -632
- package/dist/src/deposit/service.d.ts +0 -298
- package/dist/src/eden/index.d.ts +0 -57
- package/dist/src/file-storage/admin.router.d.ts +0 -601
- package/dist/src/file-storage/dto.schemas.d.ts +0 -1238
- package/dist/src/file-storage/router.d.ts +0 -588
- package/dist/src/file-storage/service.d.ts +0 -264
- package/dist/src/file-storage/share.router.d.ts +0 -564
- package/dist/src/ledger/admin.router.d.ts +0 -527
- package/dist/src/ledger/dto.schemas.d.ts +0 -712
- package/dist/src/ledger/router.d.ts +0 -487
- package/dist/src/ledger/service.d.ts +0 -462
- package/dist/src/ledger-account/admin.router.d.ts +0 -591
- package/dist/src/ledger-account/dto.schemas.d.ts +0 -559
- package/dist/src/ledger-account/router.d.ts +0 -426
- package/dist/src/ledger-account/seed.d.ts +0 -1
- package/dist/src/ledger-account/service.d.ts +0 -200
- package/dist/src/ledger-account-import/admin.router.d.ts +0 -694
- package/dist/src/ledger-account-import/dto.schemas.d.ts +0 -1255
- package/dist/src/ledger-account-import/service.d.ts +0 -105
- package/dist/src/ledger-account-transfer/dto.schemas.d.ts +0 -22
- package/dist/src/ledger-account-transfer/router.d.ts +0 -469
- package/dist/src/ledger-account-transfer/service.d.ts +0 -26
- package/dist/src/ledger-account-type/admin.router.d.ts +0 -711
- package/dist/src/ledger-account-type/dto.schemas.d.ts +0 -509
- package/dist/src/ledger-account-type/router.d.ts +0 -486
- package/dist/src/ledger-account-type/service.d.ts +0 -147
- package/dist/src/news/admin.router.d.ts +0 -824
- package/dist/src/news/dto.schemas.d.ts +0 -233
- package/dist/src/news/router.d.ts +0 -620
- package/dist/src/news/service.d.ts +0 -495
- package/dist/src/news-category/admin.router.d.ts +0 -207
- package/dist/src/news-category/dto.schemas.d.ts +0 -57
- package/dist/src/news-category/router.d.ts +0 -460
- package/dist/src/news-category/service.d.ts +0 -105
- package/dist/src/notification/admin.router.d.ts +0 -582
- package/dist/src/notification/dto.schemas.d.ts +0 -457
- package/dist/src/notification/router.d.ts +0 -626
- package/dist/src/notification/service.d.ts +0 -195
- package/dist/src/receipt-method/admin.router.d.ts +0 -579
- package/dist/src/receipt-method/dto.schemas.d.ts +0 -418
- package/dist/src/receipt-method/router.d.ts +0 -602
- package/dist/src/receipt-method/service.d.ts +0 -152
- package/dist/src/referral/admin.router.d.ts +0 -562
- package/dist/src/referral/dto.schemas.d.ts +0 -665
- package/dist/src/referral/router.d.ts +0 -579
- package/dist/src/referral/service.d.ts +0 -42
- package/dist/src/referral-depth-config/dto.schemas.d.ts +0 -208
- package/dist/src/referral-depth-config/index.d.ts +0 -5
- package/dist/src/referral-depth-config/service.d.ts +0 -56
- package/dist/src/shipping-address/dto.schemas.d.ts +0 -303
- package/dist/src/shipping-address/router.d.ts +0 -621
- package/dist/src/shipping-address/service.d.ts +0 -109
- package/dist/src/subscription/admin.router.d.ts +0 -818
- package/dist/src/subscription/cron.d.ts +0 -53
- package/dist/src/subscription/db.schemas.d.ts +0 -896
- package/dist/src/subscription/dto.schemas.d.ts +0 -1942
- package/dist/src/subscription/errors/index.d.ts +0 -21
- package/dist/src/subscription/errors/locales/zh.d.ts +0 -20
- package/dist/src/subscription/index.d.ts +0 -7
- package/dist/src/subscription/permissions.d.ts +0 -5
- package/dist/src/subscription/router.d.ts +0 -625
- package/dist/src/subscription/schema.d.ts +0 -475
- package/dist/src/subscription/service.d.ts +0 -306
- package/dist/src/team/admin.router.d.ts +0 -569
- package/dist/src/team/dto.schemas.d.ts +0 -2110
- package/dist/src/team/router.d.ts +0 -737
- package/dist/src/team/service.d.ts +0 -40
- package/dist/src/transfer/dto.schemas.d.ts +0 -628
- package/dist/src/transfer/router.d.ts +0 -514
- package/dist/src/transfer/service.d.ts +0 -133
- package/dist/src/user/admin.router.d.ts +0 -827
- package/dist/src/user/dto.schemas.d.ts +0 -1446
- package/dist/src/user/router.d.ts +0 -560
- package/dist/src/user/service.d.ts +0 -294
- package/dist/src/user-kyc/admin.router.d.ts +0 -669
- package/dist/src/user-kyc/dto.schemas.d.ts +0 -939
- package/dist/src/user-kyc/router.d.ts +0 -602
- package/dist/src/user-kyc/service.d.ts +0 -170
- package/dist/src/user-security/admin.router.d.ts +0 -493
- package/dist/src/user-security/dto.schemas.d.ts +0 -36
- package/dist/src/user-security/router.d.ts +0 -547
- package/dist/src/user-security/service.d.ts +0 -51
- package/dist/src/wallet/admin.router.d.ts +0 -519
- package/dist/src/wallet/dto.schemas.d.ts +0 -317
- package/dist/src/wallet/ensure.d.ts +0 -11
- package/dist/src/wallet/router.d.ts +0 -484
- package/dist/src/wallet/service.d.ts +0 -100
- package/dist/src/wallet-import/admin.router.d.ts +0 -694
- package/dist/src/wallet-import/db.schemas.d.ts +0 -1206
- package/dist/src/wallet-import/dto.schemas.d.ts +0 -1255
- package/dist/src/wallet-import/errors/index.d.ts +0 -18
- package/dist/src/wallet-import/errors/locales/zh.d.ts +0 -17
- package/dist/src/wallet-import/index.d.ts +0 -8
- package/dist/src/wallet-import/permissions.d.ts +0 -7
- package/dist/src/wallet-import/schema.d.ts +0 -636
- package/dist/src/wallet-import/service.d.ts +0 -105
- package/dist/src/wallet-import/worker.d.ts +0 -1
- package/dist/src/wallet-transfer/dto.schemas.d.ts +0 -22
- package/dist/src/wallet-transfer/errors/index.d.ts +0 -23
- package/dist/src/wallet-transfer/errors/locales/zh.d.ts +0 -15
- package/dist/src/wallet-transfer/index.d.ts +0 -4
- package/dist/src/wallet-transfer/router.d.ts +0 -469
- package/dist/src/wallet-transfer/service.d.ts +0 -26
- package/dist/src/wallet-type/admin.router.d.ts +0 -611
- package/dist/src/wallet-type/constants.d.ts +0 -4
- package/dist/src/wallet-type/dto.schemas.d.ts +0 -79
- package/dist/src/wallet-type/router.d.ts +0 -481
- package/dist/src/wallet-type/service.d.ts +0 -243
- package/dist/src/withdraw/admin.router.d.ts +0 -662
- package/dist/src/withdraw/dto.schemas.d.ts +0 -919
- package/dist/src/withdraw/router.d.ts +0 -529
- package/dist/src/withdraw/service.d.ts +0 -153
package/dist/index.d.ts
CHANGED
|
@@ -1303,7 +1303,6 @@ declare const app: Elysia<"/api", {
|
|
|
1303
1303
|
id: string;
|
|
1304
1304
|
name: string;
|
|
1305
1305
|
key: string;
|
|
1306
|
-
isGasAsset: boolean;
|
|
1307
1306
|
isActive: boolean;
|
|
1308
1307
|
};
|
|
1309
1308
|
id: string;
|
|
@@ -1356,7 +1355,6 @@ declare const app: Elysia<"/api", {
|
|
|
1356
1355
|
id: string;
|
|
1357
1356
|
name: string;
|
|
1358
1357
|
key: string;
|
|
1359
|
-
isGasAsset: boolean;
|
|
1360
1358
|
isActive: boolean;
|
|
1361
1359
|
};
|
|
1362
1360
|
id: string;
|
|
@@ -1394,10 +1392,10 @@ declare const app: Elysia<"/api", {
|
|
|
1394
1392
|
symbol: string;
|
|
1395
1393
|
name: string;
|
|
1396
1394
|
code: string;
|
|
1397
|
-
iconUrl: string;
|
|
1398
1395
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
1399
1396
|
typeId: string;
|
|
1400
1397
|
precision: number;
|
|
1398
|
+
iconFileId: string;
|
|
1401
1399
|
};
|
|
1402
1400
|
params: {};
|
|
1403
1401
|
query: {};
|
|
@@ -1409,7 +1407,6 @@ declare const app: Elysia<"/api", {
|
|
|
1409
1407
|
id: string;
|
|
1410
1408
|
name: string;
|
|
1411
1409
|
key: string;
|
|
1412
|
-
isGasAsset: boolean;
|
|
1413
1410
|
isActive: boolean;
|
|
1414
1411
|
};
|
|
1415
1412
|
id: string;
|
|
@@ -1444,11 +1441,11 @@ declare const app: Elysia<"/api", {
|
|
|
1444
1441
|
body: {
|
|
1445
1442
|
symbol?: string | undefined;
|
|
1446
1443
|
name?: string | undefined;
|
|
1447
|
-
iconUrl?: string | undefined;
|
|
1448
1444
|
category?: "FIAT" | "CRYPTO" | "POINT" | "RWA" | undefined;
|
|
1449
1445
|
isActive?: boolean | undefined;
|
|
1450
1446
|
typeId?: string | undefined;
|
|
1451
1447
|
precision?: number | undefined;
|
|
1448
|
+
iconFileId?: string | undefined;
|
|
1452
1449
|
};
|
|
1453
1450
|
params: {
|
|
1454
1451
|
code: string;
|
|
@@ -1462,7 +1459,6 @@ declare const app: Elysia<"/api", {
|
|
|
1462
1459
|
id: string;
|
|
1463
1460
|
name: string;
|
|
1464
1461
|
key: string;
|
|
1465
|
-
isGasAsset: boolean;
|
|
1466
1462
|
isActive: boolean;
|
|
1467
1463
|
};
|
|
1468
1464
|
id: string;
|
|
@@ -1509,7 +1505,6 @@ declare const app: Elysia<"/api", {
|
|
|
1509
1505
|
id: string;
|
|
1510
1506
|
name: string;
|
|
1511
1507
|
key: string;
|
|
1512
|
-
isGasAsset: boolean;
|
|
1513
1508
|
isActive: boolean;
|
|
1514
1509
|
};
|
|
1515
1510
|
id: string;
|
|
@@ -1557,7 +1552,6 @@ declare const app: Elysia<"/api", {
|
|
|
1557
1552
|
id: string;
|
|
1558
1553
|
name: string;
|
|
1559
1554
|
key: string;
|
|
1560
|
-
isGasAsset: boolean;
|
|
1561
1555
|
isActive: boolean;
|
|
1562
1556
|
};
|
|
1563
1557
|
id: string;
|
|
@@ -2750,7 +2744,6 @@ declare const app: Elysia<"/api", {
|
|
|
2750
2744
|
updatedAt: Date;
|
|
2751
2745
|
description: string | null;
|
|
2752
2746
|
key: string;
|
|
2753
|
-
isGasAsset: boolean;
|
|
2754
2747
|
isActive: boolean;
|
|
2755
2748
|
}[];
|
|
2756
2749
|
pagination: {
|
|
@@ -2793,7 +2786,6 @@ declare const app: Elysia<"/api", {
|
|
|
2793
2786
|
updatedAt: Date;
|
|
2794
2787
|
description: string | null;
|
|
2795
2788
|
key: string;
|
|
2796
|
-
isGasAsset: boolean;
|
|
2797
2789
|
isActive: boolean;
|
|
2798
2790
|
};
|
|
2799
2791
|
422: {
|
|
@@ -2816,7 +2808,6 @@ declare const app: Elysia<"/api", {
|
|
|
2816
2808
|
post: {
|
|
2817
2809
|
body: {
|
|
2818
2810
|
description?: string | null | undefined;
|
|
2819
|
-
isGasAsset?: boolean | undefined;
|
|
2820
2811
|
isActive?: boolean | undefined;
|
|
2821
2812
|
name: string;
|
|
2822
2813
|
key: string;
|
|
@@ -2832,7 +2823,6 @@ declare const app: Elysia<"/api", {
|
|
|
2832
2823
|
updatedAt: Date;
|
|
2833
2824
|
description: string | null;
|
|
2834
2825
|
key: string;
|
|
2835
|
-
isGasAsset: boolean;
|
|
2836
2826
|
isActive: boolean;
|
|
2837
2827
|
};
|
|
2838
2828
|
422: {
|
|
@@ -2856,7 +2846,6 @@ declare const app: Elysia<"/api", {
|
|
|
2856
2846
|
body: {
|
|
2857
2847
|
name?: string | undefined;
|
|
2858
2848
|
description?: string | null | undefined;
|
|
2859
|
-
isGasAsset?: boolean | undefined;
|
|
2860
2849
|
isActive?: boolean | undefined;
|
|
2861
2850
|
};
|
|
2862
2851
|
params: {
|
|
@@ -2872,7 +2861,6 @@ declare const app: Elysia<"/api", {
|
|
|
2872
2861
|
updatedAt: Date;
|
|
2873
2862
|
description: string | null;
|
|
2874
2863
|
key: string;
|
|
2875
|
-
isGasAsset: boolean;
|
|
2876
2864
|
isActive: boolean;
|
|
2877
2865
|
};
|
|
2878
2866
|
422: {
|
|
@@ -3583,16 +3571,39 @@ declare const app: Elysia<"/api", {
|
|
|
3583
3571
|
response: {
|
|
3584
3572
|
200: {
|
|
3585
3573
|
data: {
|
|
3574
|
+
user: {
|
|
3575
|
+
email: string;
|
|
3576
|
+
id: string;
|
|
3577
|
+
username: string | null;
|
|
3578
|
+
displayUsername: string | null;
|
|
3579
|
+
phoneNumber: string | null;
|
|
3580
|
+
banned: boolean | null;
|
|
3581
|
+
};
|
|
3586
3582
|
id: string;
|
|
3587
3583
|
createdAt: Date;
|
|
3588
3584
|
updatedAt: Date;
|
|
3589
3585
|
userId: string;
|
|
3590
3586
|
status: "active" | "frozen" | "disabled";
|
|
3587
|
+
asset: {
|
|
3588
|
+
symbol: string;
|
|
3589
|
+
id: string;
|
|
3590
|
+
name: string;
|
|
3591
|
+
code: string;
|
|
3592
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
3593
|
+
isActive: boolean;
|
|
3594
|
+
precision: number;
|
|
3595
|
+
};
|
|
3591
3596
|
assetId: string;
|
|
3592
3597
|
ledgerAccountTypeId: string;
|
|
3593
3598
|
available: string;
|
|
3594
3599
|
locked: string;
|
|
3595
3600
|
version: number;
|
|
3601
|
+
ledgerAccountType: {
|
|
3602
|
+
id: string;
|
|
3603
|
+
name: string;
|
|
3604
|
+
key: string;
|
|
3605
|
+
isActive: boolean;
|
|
3606
|
+
};
|
|
3596
3607
|
}[];
|
|
3597
3608
|
pagination: {
|
|
3598
3609
|
total: number;
|
|
@@ -3628,16 +3639,39 @@ declare const app: Elysia<"/api", {
|
|
|
3628
3639
|
headers: {};
|
|
3629
3640
|
response: {
|
|
3630
3641
|
200: {
|
|
3642
|
+
user: {
|
|
3643
|
+
email: string;
|
|
3644
|
+
id: string;
|
|
3645
|
+
username: string | null;
|
|
3646
|
+
displayUsername: string | null;
|
|
3647
|
+
phoneNumber: string | null;
|
|
3648
|
+
banned: boolean | null;
|
|
3649
|
+
};
|
|
3631
3650
|
id: string;
|
|
3632
3651
|
createdAt: Date;
|
|
3633
3652
|
updatedAt: Date;
|
|
3634
3653
|
userId: string;
|
|
3635
3654
|
status: "active" | "frozen" | "disabled";
|
|
3655
|
+
asset: {
|
|
3656
|
+
symbol: string;
|
|
3657
|
+
id: string;
|
|
3658
|
+
name: string;
|
|
3659
|
+
code: string;
|
|
3660
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
3661
|
+
isActive: boolean;
|
|
3662
|
+
precision: number;
|
|
3663
|
+
};
|
|
3636
3664
|
assetId: string;
|
|
3637
3665
|
ledgerAccountTypeId: string;
|
|
3638
3666
|
available: string;
|
|
3639
3667
|
locked: string;
|
|
3640
3668
|
version: number;
|
|
3669
|
+
ledgerAccountType: {
|
|
3670
|
+
id: string;
|
|
3671
|
+
name: string;
|
|
3672
|
+
key: string;
|
|
3673
|
+
isActive: boolean;
|
|
3674
|
+
};
|
|
3641
3675
|
};
|
|
3642
3676
|
422: {
|
|
3643
3677
|
type: "validation";
|
|
@@ -3669,16 +3703,39 @@ declare const app: Elysia<"/api", {
|
|
|
3669
3703
|
headers: {};
|
|
3670
3704
|
response: {
|
|
3671
3705
|
200: {
|
|
3706
|
+
user: {
|
|
3707
|
+
email: string;
|
|
3708
|
+
id: string;
|
|
3709
|
+
username: string | null;
|
|
3710
|
+
displayUsername: string | null;
|
|
3711
|
+
phoneNumber: string | null;
|
|
3712
|
+
banned: boolean | null;
|
|
3713
|
+
};
|
|
3672
3714
|
id: string;
|
|
3673
3715
|
createdAt: Date;
|
|
3674
3716
|
updatedAt: Date;
|
|
3675
3717
|
userId: string;
|
|
3676
3718
|
status: "active" | "frozen" | "disabled";
|
|
3719
|
+
asset: {
|
|
3720
|
+
symbol: string;
|
|
3721
|
+
id: string;
|
|
3722
|
+
name: string;
|
|
3723
|
+
code: string;
|
|
3724
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
3725
|
+
isActive: boolean;
|
|
3726
|
+
precision: number;
|
|
3727
|
+
};
|
|
3677
3728
|
assetId: string;
|
|
3678
3729
|
ledgerAccountTypeId: string;
|
|
3679
3730
|
available: string;
|
|
3680
3731
|
locked: string;
|
|
3681
3732
|
version: number;
|
|
3733
|
+
ledgerAccountType: {
|
|
3734
|
+
id: string;
|
|
3735
|
+
name: string;
|
|
3736
|
+
key: string;
|
|
3737
|
+
isActive: boolean;
|
|
3738
|
+
};
|
|
3682
3739
|
};
|
|
3683
3740
|
422: {
|
|
3684
3741
|
type: "validation";
|
|
@@ -3818,6 +3875,14 @@ declare const app: Elysia<"/api", {
|
|
|
3818
3875
|
response: {
|
|
3819
3876
|
200: {
|
|
3820
3877
|
data: {
|
|
3878
|
+
user: {
|
|
3879
|
+
email: string;
|
|
3880
|
+
id: string;
|
|
3881
|
+
username: string | null;
|
|
3882
|
+
displayUsername: string | null;
|
|
3883
|
+
phoneNumber: string | null;
|
|
3884
|
+
banned: boolean | null;
|
|
3885
|
+
};
|
|
3821
3886
|
id: string;
|
|
3822
3887
|
createdAt: Date;
|
|
3823
3888
|
updatedAt: Date;
|
|
@@ -3883,6 +3948,14 @@ declare const app: Elysia<"/api", {
|
|
|
3883
3948
|
headers: {};
|
|
3884
3949
|
response: {
|
|
3885
3950
|
200: {
|
|
3951
|
+
user: {
|
|
3952
|
+
email: string;
|
|
3953
|
+
id: string;
|
|
3954
|
+
username: string | null;
|
|
3955
|
+
displayUsername: string | null;
|
|
3956
|
+
phoneNumber: string | null;
|
|
3957
|
+
banned: boolean | null;
|
|
3958
|
+
};
|
|
3886
3959
|
id: string;
|
|
3887
3960
|
createdAt: Date;
|
|
3888
3961
|
updatedAt: Date;
|
|
@@ -3932,6 +4005,14 @@ declare const app: Elysia<"/api", {
|
|
|
3932
4005
|
headers: {};
|
|
3933
4006
|
response: {
|
|
3934
4007
|
200: {
|
|
4008
|
+
user: {
|
|
4009
|
+
email: string;
|
|
4010
|
+
id: string;
|
|
4011
|
+
username: string | null;
|
|
4012
|
+
displayUsername: string | null;
|
|
4013
|
+
phoneNumber: string | null;
|
|
4014
|
+
banned: boolean | null;
|
|
4015
|
+
};
|
|
3935
4016
|
id: string;
|
|
3936
4017
|
createdAt: Date;
|
|
3937
4018
|
updatedAt: Date;
|
|
@@ -3982,6 +4063,14 @@ declare const app: Elysia<"/api", {
|
|
|
3982
4063
|
headers: {};
|
|
3983
4064
|
response: {
|
|
3984
4065
|
200: {
|
|
4066
|
+
user: {
|
|
4067
|
+
email: string;
|
|
4068
|
+
id: string;
|
|
4069
|
+
username: string | null;
|
|
4070
|
+
displayUsername: string | null;
|
|
4071
|
+
phoneNumber: string | null;
|
|
4072
|
+
banned: boolean | null;
|
|
4073
|
+
};
|
|
3985
4074
|
id: string;
|
|
3986
4075
|
createdAt: Date;
|
|
3987
4076
|
updatedAt: Date;
|
|
@@ -4561,8 +4650,89 @@ declare const app: Elysia<"/api", {
|
|
|
4561
4650
|
response: {
|
|
4562
4651
|
200: {
|
|
4563
4652
|
data: {
|
|
4653
|
+
fromAccount?: {
|
|
4654
|
+
user: {
|
|
4655
|
+
email: string;
|
|
4656
|
+
id: string;
|
|
4657
|
+
username: string | null;
|
|
4658
|
+
displayUsername: string | null;
|
|
4659
|
+
phoneNumber: string | null;
|
|
4660
|
+
banned: boolean | null;
|
|
4661
|
+
};
|
|
4662
|
+
id: string;
|
|
4663
|
+
userId: string;
|
|
4664
|
+
status: "active" | "frozen" | "disabled";
|
|
4665
|
+
asset: {
|
|
4666
|
+
symbol: string;
|
|
4667
|
+
id: string;
|
|
4668
|
+
name: string;
|
|
4669
|
+
code: string;
|
|
4670
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4671
|
+
isActive: boolean;
|
|
4672
|
+
precision: number;
|
|
4673
|
+
};
|
|
4674
|
+
assetId: string;
|
|
4675
|
+
ledgerAccountTypeId: string;
|
|
4676
|
+
available: string;
|
|
4677
|
+
locked: string;
|
|
4678
|
+
ledgerAccountType: {
|
|
4679
|
+
id: string;
|
|
4680
|
+
name: string;
|
|
4681
|
+
key: string;
|
|
4682
|
+
isActive: boolean;
|
|
4683
|
+
};
|
|
4684
|
+
} | undefined;
|
|
4685
|
+
toAccount?: {
|
|
4686
|
+
user: {
|
|
4687
|
+
email: string;
|
|
4688
|
+
id: string;
|
|
4689
|
+
username: string | null;
|
|
4690
|
+
displayUsername: string | null;
|
|
4691
|
+
phoneNumber: string | null;
|
|
4692
|
+
banned: boolean | null;
|
|
4693
|
+
};
|
|
4694
|
+
id: string;
|
|
4695
|
+
userId: string;
|
|
4696
|
+
status: "active" | "frozen" | "disabled";
|
|
4697
|
+
asset: {
|
|
4698
|
+
symbol: string;
|
|
4699
|
+
id: string;
|
|
4700
|
+
name: string;
|
|
4701
|
+
code: string;
|
|
4702
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4703
|
+
isActive: boolean;
|
|
4704
|
+
precision: number;
|
|
4705
|
+
};
|
|
4706
|
+
assetId: string;
|
|
4707
|
+
ledgerAccountTypeId: string;
|
|
4708
|
+
available: string;
|
|
4709
|
+
locked: string;
|
|
4710
|
+
ledgerAccountType: {
|
|
4711
|
+
id: string;
|
|
4712
|
+
name: string;
|
|
4713
|
+
key: string;
|
|
4714
|
+
isActive: boolean;
|
|
4715
|
+
};
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
operator?: {
|
|
4718
|
+
email: string;
|
|
4719
|
+
id: string;
|
|
4720
|
+
username: string | null;
|
|
4721
|
+
displayUsername: string | null;
|
|
4722
|
+
phoneNumber: string | null;
|
|
4723
|
+
banned: boolean | null;
|
|
4724
|
+
} | undefined;
|
|
4564
4725
|
id: string;
|
|
4565
4726
|
createdAt: Date;
|
|
4727
|
+
asset: {
|
|
4728
|
+
symbol: string;
|
|
4729
|
+
id: string;
|
|
4730
|
+
name: string;
|
|
4731
|
+
code: string;
|
|
4732
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4733
|
+
isActive: boolean;
|
|
4734
|
+
precision: number;
|
|
4735
|
+
};
|
|
4566
4736
|
assetId: string;
|
|
4567
4737
|
fromAccountId: string | null;
|
|
4568
4738
|
toAccountId: string | null;
|
|
@@ -4615,6 +4785,7 @@ declare const app: Elysia<"/api", {
|
|
|
4615
4785
|
post: {
|
|
4616
4786
|
body: {
|
|
4617
4787
|
source?: string | undefined;
|
|
4788
|
+
isEnabled?: boolean | undefined;
|
|
4618
4789
|
strategyType?: "random_walk" | undefined;
|
|
4619
4790
|
driftBps?: string | undefined;
|
|
4620
4791
|
minPrice?: string | null | undefined;
|
|
@@ -4622,7 +4793,6 @@ declare const app: Elysia<"/api", {
|
|
|
4622
4793
|
intervalSeconds?: number | undefined;
|
|
4623
4794
|
maxStepBps?: string | undefined;
|
|
4624
4795
|
fallbackPrice?: string | undefined;
|
|
4625
|
-
isEnabled?: boolean | undefined;
|
|
4626
4796
|
name: string;
|
|
4627
4797
|
baseAssetId: string;
|
|
4628
4798
|
quoteAssetId: string;
|
|
@@ -4639,6 +4809,7 @@ declare const app: Elysia<"/api", {
|
|
|
4639
4809
|
baseAssetId: string;
|
|
4640
4810
|
quoteAssetId: string;
|
|
4641
4811
|
source: string;
|
|
4812
|
+
isEnabled: boolean;
|
|
4642
4813
|
strategyType: "random_walk";
|
|
4643
4814
|
driftBps: string;
|
|
4644
4815
|
minPrice: string | null;
|
|
@@ -4646,7 +4817,32 @@ declare const app: Elysia<"/api", {
|
|
|
4646
4817
|
intervalSeconds: number;
|
|
4647
4818
|
maxStepBps: string;
|
|
4648
4819
|
fallbackPrice: string;
|
|
4649
|
-
|
|
4820
|
+
baseAsset: {
|
|
4821
|
+
symbol: string;
|
|
4822
|
+
id: string;
|
|
4823
|
+
name: string;
|
|
4824
|
+
createdAt: Date;
|
|
4825
|
+
updatedAt: Date;
|
|
4826
|
+
code: string;
|
|
4827
|
+
iconUrl: string;
|
|
4828
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4829
|
+
isActive: boolean;
|
|
4830
|
+
typeId: string;
|
|
4831
|
+
precision: number;
|
|
4832
|
+
};
|
|
4833
|
+
quoteAsset: {
|
|
4834
|
+
symbol: string;
|
|
4835
|
+
id: string;
|
|
4836
|
+
name: string;
|
|
4837
|
+
createdAt: Date;
|
|
4838
|
+
updatedAt: Date;
|
|
4839
|
+
code: string;
|
|
4840
|
+
iconUrl: string;
|
|
4841
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4842
|
+
isActive: boolean;
|
|
4843
|
+
typeId: string;
|
|
4844
|
+
precision: number;
|
|
4845
|
+
};
|
|
4650
4846
|
};
|
|
4651
4847
|
422: {
|
|
4652
4848
|
type: "validation";
|
|
@@ -4673,6 +4869,7 @@ declare const app: Elysia<"/api", {
|
|
|
4673
4869
|
baseAssetId?: string | undefined;
|
|
4674
4870
|
quoteAssetId?: string | undefined;
|
|
4675
4871
|
source?: string | undefined;
|
|
4872
|
+
isEnabled?: boolean | undefined;
|
|
4676
4873
|
strategyType?: "random_walk" | undefined;
|
|
4677
4874
|
driftBps?: string | undefined;
|
|
4678
4875
|
minPrice?: string | null | undefined;
|
|
@@ -4680,7 +4877,6 @@ declare const app: Elysia<"/api", {
|
|
|
4680
4877
|
intervalSeconds?: number | undefined;
|
|
4681
4878
|
maxStepBps?: string | undefined;
|
|
4682
4879
|
fallbackPrice?: string | undefined;
|
|
4683
|
-
isEnabled?: boolean | undefined;
|
|
4684
4880
|
};
|
|
4685
4881
|
params: {
|
|
4686
4882
|
id: string;
|
|
@@ -4689,21 +4885,47 @@ declare const app: Elysia<"/api", {
|
|
|
4689
4885
|
headers: {};
|
|
4690
4886
|
response: {
|
|
4691
4887
|
200: {
|
|
4692
|
-
createdAt: Date;
|
|
4693
|
-
updatedAt: Date;
|
|
4694
4888
|
id: string;
|
|
4695
4889
|
name: string;
|
|
4890
|
+
createdAt: Date;
|
|
4891
|
+
updatedAt: Date;
|
|
4696
4892
|
baseAssetId: string;
|
|
4697
4893
|
quoteAssetId: string;
|
|
4894
|
+
source: string;
|
|
4895
|
+
isEnabled: boolean;
|
|
4698
4896
|
strategyType: "random_walk";
|
|
4699
4897
|
driftBps: string;
|
|
4700
4898
|
minPrice: string | null;
|
|
4701
4899
|
maxPrice: string | null;
|
|
4702
|
-
source: string;
|
|
4703
4900
|
intervalSeconds: number;
|
|
4704
4901
|
maxStepBps: string;
|
|
4705
4902
|
fallbackPrice: string;
|
|
4706
|
-
|
|
4903
|
+
baseAsset: {
|
|
4904
|
+
symbol: string;
|
|
4905
|
+
id: string;
|
|
4906
|
+
name: string;
|
|
4907
|
+
createdAt: Date;
|
|
4908
|
+
updatedAt: Date;
|
|
4909
|
+
code: string;
|
|
4910
|
+
iconUrl: string;
|
|
4911
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4912
|
+
isActive: boolean;
|
|
4913
|
+
typeId: string;
|
|
4914
|
+
precision: number;
|
|
4915
|
+
};
|
|
4916
|
+
quoteAsset: {
|
|
4917
|
+
symbol: string;
|
|
4918
|
+
id: string;
|
|
4919
|
+
name: string;
|
|
4920
|
+
createdAt: Date;
|
|
4921
|
+
updatedAt: Date;
|
|
4922
|
+
code: string;
|
|
4923
|
+
iconUrl: string;
|
|
4924
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4925
|
+
isActive: boolean;
|
|
4926
|
+
typeId: string;
|
|
4927
|
+
precision: number;
|
|
4928
|
+
};
|
|
4707
4929
|
};
|
|
4708
4930
|
422: {
|
|
4709
4931
|
type: "validation";
|
|
@@ -4735,34 +4957,60 @@ declare const app: Elysia<"/api", {
|
|
|
4735
4957
|
headers: {};
|
|
4736
4958
|
response: {
|
|
4737
4959
|
200: {
|
|
4738
|
-
createdAt: Date;
|
|
4739
|
-
updatedAt: Date;
|
|
4740
4960
|
id: string;
|
|
4741
4961
|
name: string;
|
|
4962
|
+
createdAt: Date;
|
|
4963
|
+
updatedAt: Date;
|
|
4742
4964
|
baseAssetId: string;
|
|
4743
4965
|
quoteAssetId: string;
|
|
4966
|
+
source: string;
|
|
4967
|
+
isEnabled: boolean;
|
|
4744
4968
|
strategyType: "random_walk";
|
|
4745
4969
|
driftBps: string;
|
|
4746
4970
|
minPrice: string | null;
|
|
4747
4971
|
maxPrice: string | null;
|
|
4748
|
-
source: string;
|
|
4749
4972
|
intervalSeconds: number;
|
|
4750
4973
|
maxStepBps: string;
|
|
4751
4974
|
fallbackPrice: string;
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4975
|
+
baseAsset: {
|
|
4976
|
+
symbol: string;
|
|
4977
|
+
id: string;
|
|
4978
|
+
name: string;
|
|
4979
|
+
createdAt: Date;
|
|
4980
|
+
updatedAt: Date;
|
|
4981
|
+
code: string;
|
|
4982
|
+
iconUrl: string;
|
|
4983
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4984
|
+
isActive: boolean;
|
|
4985
|
+
typeId: string;
|
|
4986
|
+
precision: number;
|
|
4987
|
+
};
|
|
4988
|
+
quoteAsset: {
|
|
4989
|
+
symbol: string;
|
|
4990
|
+
id: string;
|
|
4991
|
+
name: string;
|
|
4992
|
+
createdAt: Date;
|
|
4993
|
+
updatedAt: Date;
|
|
4994
|
+
code: string;
|
|
4995
|
+
iconUrl: string;
|
|
4996
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
4997
|
+
isActive: boolean;
|
|
4998
|
+
typeId: string;
|
|
4999
|
+
precision: number;
|
|
5000
|
+
};
|
|
5001
|
+
};
|
|
5002
|
+
422: {
|
|
5003
|
+
type: "validation";
|
|
5004
|
+
on: string;
|
|
5005
|
+
summary?: string;
|
|
5006
|
+
message?: string;
|
|
5007
|
+
found?: unknown;
|
|
5008
|
+
property?: string;
|
|
5009
|
+
expected?: string;
|
|
5010
|
+
};
|
|
5011
|
+
401: "Unauthorized";
|
|
5012
|
+
403: "Forbidden: Admins only";
|
|
5013
|
+
};
|
|
4766
5014
|
};
|
|
4767
5015
|
};
|
|
4768
5016
|
};
|
|
@@ -4782,21 +5030,47 @@ declare const app: Elysia<"/api", {
|
|
|
4782
5030
|
headers: {};
|
|
4783
5031
|
response: {
|
|
4784
5032
|
200: {
|
|
4785
|
-
createdAt: Date;
|
|
4786
|
-
updatedAt: Date;
|
|
4787
5033
|
id: string;
|
|
4788
5034
|
name: string;
|
|
5035
|
+
createdAt: Date;
|
|
5036
|
+
updatedAt: Date;
|
|
4789
5037
|
baseAssetId: string;
|
|
4790
5038
|
quoteAssetId: string;
|
|
5039
|
+
source: string;
|
|
5040
|
+
isEnabled: boolean;
|
|
4791
5041
|
strategyType: "random_walk";
|
|
4792
5042
|
driftBps: string;
|
|
4793
5043
|
minPrice: string | null;
|
|
4794
5044
|
maxPrice: string | null;
|
|
4795
|
-
source: string;
|
|
4796
5045
|
intervalSeconds: number;
|
|
4797
5046
|
maxStepBps: string;
|
|
4798
5047
|
fallbackPrice: string;
|
|
4799
|
-
|
|
5048
|
+
baseAsset: {
|
|
5049
|
+
symbol: string;
|
|
5050
|
+
id: string;
|
|
5051
|
+
name: string;
|
|
5052
|
+
createdAt: Date;
|
|
5053
|
+
updatedAt: Date;
|
|
5054
|
+
code: string;
|
|
5055
|
+
iconUrl: string;
|
|
5056
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5057
|
+
isActive: boolean;
|
|
5058
|
+
typeId: string;
|
|
5059
|
+
precision: number;
|
|
5060
|
+
};
|
|
5061
|
+
quoteAsset: {
|
|
5062
|
+
symbol: string;
|
|
5063
|
+
id: string;
|
|
5064
|
+
name: string;
|
|
5065
|
+
createdAt: Date;
|
|
5066
|
+
updatedAt: Date;
|
|
5067
|
+
code: string;
|
|
5068
|
+
iconUrl: string;
|
|
5069
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5070
|
+
isActive: boolean;
|
|
5071
|
+
typeId: string;
|
|
5072
|
+
precision: number;
|
|
5073
|
+
};
|
|
4800
5074
|
};
|
|
4801
5075
|
422: {
|
|
4802
5076
|
type: "validation";
|
|
@@ -4839,8 +5113,35 @@ declare const app: Elysia<"/api", {
|
|
|
4839
5113
|
createdAt: Date;
|
|
4840
5114
|
updatedAt: Date;
|
|
4841
5115
|
baseAssetId: string;
|
|
5116
|
+
baseAsset: {
|
|
5117
|
+
symbol: string;
|
|
5118
|
+
id: string;
|
|
5119
|
+
name: string;
|
|
5120
|
+
createdAt: Date;
|
|
5121
|
+
updatedAt: Date;
|
|
5122
|
+
code: string;
|
|
5123
|
+
iconUrl: string;
|
|
5124
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5125
|
+
isActive: boolean;
|
|
5126
|
+
typeId: string;
|
|
5127
|
+
precision: number;
|
|
5128
|
+
};
|
|
4842
5129
|
quoteAssetId: string;
|
|
5130
|
+
quoteAsset: {
|
|
5131
|
+
symbol: string;
|
|
5132
|
+
id: string;
|
|
5133
|
+
name: string;
|
|
5134
|
+
createdAt: Date;
|
|
5135
|
+
updatedAt: Date;
|
|
5136
|
+
code: string;
|
|
5137
|
+
iconUrl: string;
|
|
5138
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5139
|
+
isActive: boolean;
|
|
5140
|
+
typeId: string;
|
|
5141
|
+
precision: number;
|
|
5142
|
+
};
|
|
4843
5143
|
source: string;
|
|
5144
|
+
isEnabled: boolean;
|
|
4844
5145
|
strategyType: "random_walk";
|
|
4845
5146
|
driftBps: string;
|
|
4846
5147
|
minPrice: string | null;
|
|
@@ -4848,7 +5149,6 @@ declare const app: Elysia<"/api", {
|
|
|
4848
5149
|
intervalSeconds: number;
|
|
4849
5150
|
maxStepBps: string;
|
|
4850
5151
|
fallbackPrice: string;
|
|
4851
|
-
isEnabled: boolean;
|
|
4852
5152
|
}[];
|
|
4853
5153
|
pagination: {
|
|
4854
5154
|
total: number;
|
|
@@ -4893,6 +5193,7 @@ declare const app: Elysia<"/api", {
|
|
|
4893
5193
|
baseAssetId: string;
|
|
4894
5194
|
quoteAssetId: string;
|
|
4895
5195
|
source: string;
|
|
5196
|
+
isEnabled: boolean;
|
|
4896
5197
|
strategyType: "random_walk";
|
|
4897
5198
|
driftBps: string;
|
|
4898
5199
|
minPrice: string | null;
|
|
@@ -4900,7 +5201,32 @@ declare const app: Elysia<"/api", {
|
|
|
4900
5201
|
intervalSeconds: number;
|
|
4901
5202
|
maxStepBps: string;
|
|
4902
5203
|
fallbackPrice: string;
|
|
4903
|
-
|
|
5204
|
+
baseAsset: {
|
|
5205
|
+
symbol: string;
|
|
5206
|
+
id: string;
|
|
5207
|
+
name: string;
|
|
5208
|
+
createdAt: Date;
|
|
5209
|
+
updatedAt: Date;
|
|
5210
|
+
code: string;
|
|
5211
|
+
iconUrl: string;
|
|
5212
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5213
|
+
isActive: boolean;
|
|
5214
|
+
typeId: string;
|
|
5215
|
+
precision: number;
|
|
5216
|
+
};
|
|
5217
|
+
quoteAsset: {
|
|
5218
|
+
symbol: string;
|
|
5219
|
+
id: string;
|
|
5220
|
+
name: string;
|
|
5221
|
+
createdAt: Date;
|
|
5222
|
+
updatedAt: Date;
|
|
5223
|
+
code: string;
|
|
5224
|
+
iconUrl: string;
|
|
5225
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5226
|
+
isActive: boolean;
|
|
5227
|
+
typeId: string;
|
|
5228
|
+
precision: number;
|
|
5229
|
+
};
|
|
4904
5230
|
};
|
|
4905
5231
|
422: {
|
|
4906
5232
|
type: "validation";
|
|
@@ -4996,20 +5322,46 @@ declare const app: Elysia<"/api", {
|
|
|
4996
5322
|
body: {};
|
|
4997
5323
|
params: {};
|
|
4998
5324
|
query: {
|
|
5325
|
+
baseAsset?: string | undefined;
|
|
5326
|
+
quoteAsset?: string | undefined;
|
|
4999
5327
|
source?: string | undefined;
|
|
5000
|
-
startDate?: Date | undefined;
|
|
5328
|
+
startDate?: number | Date | undefined;
|
|
5001
5329
|
limit?: number | undefined;
|
|
5002
5330
|
offset?: number | undefined;
|
|
5003
5331
|
pageSize?: number | undefined;
|
|
5004
5332
|
pageIndex?: number | undefined;
|
|
5005
|
-
endDate?: Date | undefined;
|
|
5006
|
-
baseAsset: string;
|
|
5007
|
-
quoteAsset: string;
|
|
5333
|
+
endDate?: number | Date | undefined;
|
|
5008
5334
|
};
|
|
5009
5335
|
headers: {};
|
|
5010
5336
|
response: {
|
|
5011
5337
|
200: {
|
|
5012
5338
|
data: {
|
|
5339
|
+
baseAssetEntity?: {
|
|
5340
|
+
symbol: string;
|
|
5341
|
+
id: string;
|
|
5342
|
+
name: string;
|
|
5343
|
+
createdAt: Date;
|
|
5344
|
+
updatedAt: Date;
|
|
5345
|
+
code: string;
|
|
5346
|
+
iconUrl: string;
|
|
5347
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5348
|
+
isActive: boolean;
|
|
5349
|
+
typeId: string;
|
|
5350
|
+
precision: number;
|
|
5351
|
+
} | undefined;
|
|
5352
|
+
quoteAssetEntity?: {
|
|
5353
|
+
symbol: string;
|
|
5354
|
+
id: string;
|
|
5355
|
+
name: string;
|
|
5356
|
+
createdAt: Date;
|
|
5357
|
+
updatedAt: Date;
|
|
5358
|
+
code: string;
|
|
5359
|
+
iconUrl: string;
|
|
5360
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
5361
|
+
isActive: boolean;
|
|
5362
|
+
typeId: string;
|
|
5363
|
+
precision: number;
|
|
5364
|
+
} | undefined;
|
|
5013
5365
|
id: string;
|
|
5014
5366
|
createdAt: Date;
|
|
5015
5367
|
updatedAt: Date;
|
|
@@ -5673,6 +6025,14 @@ declare const app: Elysia<"/api", {
|
|
|
5673
6025
|
200: {
|
|
5674
6026
|
data: {
|
|
5675
6027
|
type: "bank_card" | "alipay";
|
|
6028
|
+
user: {
|
|
6029
|
+
email: string;
|
|
6030
|
+
id: string;
|
|
6031
|
+
username: string | null;
|
|
6032
|
+
displayUsername: string | null;
|
|
6033
|
+
phoneNumber: string | null;
|
|
6034
|
+
banned: boolean | null;
|
|
6035
|
+
};
|
|
5676
6036
|
id: string;
|
|
5677
6037
|
createdAt: Date;
|
|
5678
6038
|
updatedAt: Date;
|
|
@@ -5748,6 +6108,14 @@ declare const app: Elysia<"/api", {
|
|
|
5748
6108
|
response: {
|
|
5749
6109
|
200: {
|
|
5750
6110
|
type: "bank_card" | "alipay";
|
|
6111
|
+
user: {
|
|
6112
|
+
email: string;
|
|
6113
|
+
id: string;
|
|
6114
|
+
username: string | null;
|
|
6115
|
+
displayUsername: string | null;
|
|
6116
|
+
phoneNumber: string | null;
|
|
6117
|
+
banned: boolean | null;
|
|
6118
|
+
};
|
|
5751
6119
|
id: string;
|
|
5752
6120
|
createdAt: Date;
|
|
5753
6121
|
updatedAt: Date;
|
|
@@ -5836,12 +6204,7 @@ declare const app: Elysia<"/api", {
|
|
|
5836
6204
|
body: {};
|
|
5837
6205
|
params: {};
|
|
5838
6206
|
query: {
|
|
5839
|
-
|
|
5840
|
-
offset?: number | undefined;
|
|
5841
|
-
pageSize?: number | undefined;
|
|
5842
|
-
pageIndex?: number | undefined;
|
|
5843
|
-
maxDepth?: number | undefined;
|
|
5844
|
-
referralCode: string;
|
|
6207
|
+
referralCode?: string | undefined;
|
|
5845
6208
|
};
|
|
5846
6209
|
headers: {};
|
|
5847
6210
|
response: {
|
|
@@ -6136,12 +6499,45 @@ declare const app: Elysia<"/api", {
|
|
|
6136
6499
|
headers: {};
|
|
6137
6500
|
response: {
|
|
6138
6501
|
200: {
|
|
6502
|
+
user: {
|
|
6503
|
+
email: string;
|
|
6504
|
+
id: string;
|
|
6505
|
+
name: string;
|
|
6506
|
+
emailVerified: boolean;
|
|
6507
|
+
image: string | null;
|
|
6508
|
+
createdAt: Date;
|
|
6509
|
+
updatedAt: Date;
|
|
6510
|
+
twoFactorEnabled: boolean | null;
|
|
6511
|
+
username: string | null;
|
|
6512
|
+
displayUsername: string | null;
|
|
6513
|
+
phoneNumber: string | null;
|
|
6514
|
+
phoneNumberVerified: boolean | null;
|
|
6515
|
+
role: string | null;
|
|
6516
|
+
banned: boolean | null;
|
|
6517
|
+
banReason: string | null;
|
|
6518
|
+
banExpires: Date | null;
|
|
6519
|
+
};
|
|
6139
6520
|
userId: string;
|
|
6140
6521
|
referralCode: string;
|
|
6141
6522
|
totalCount: number;
|
|
6142
6523
|
level1Count: number;
|
|
6143
6524
|
level2Count: number;
|
|
6144
6525
|
level3Count: number;
|
|
6526
|
+
profile: {
|
|
6527
|
+
createdAt: Date;
|
|
6528
|
+
updatedAt: Date;
|
|
6529
|
+
userId: string;
|
|
6530
|
+
gender: "male" | "female" | "other";
|
|
6531
|
+
uid: string;
|
|
6532
|
+
birthday: string | null;
|
|
6533
|
+
country: string | null;
|
|
6534
|
+
city: string | null;
|
|
6535
|
+
language: string | null;
|
|
6536
|
+
timezone: string | null;
|
|
6537
|
+
referralCode: string | null;
|
|
6538
|
+
referredBy: string | null;
|
|
6539
|
+
deletedAt: Date | null;
|
|
6540
|
+
};
|
|
6145
6541
|
};
|
|
6146
6542
|
422: {
|
|
6147
6543
|
type: "validation";
|
|
@@ -6165,12 +6561,12 @@ declare const app: Elysia<"/api", {
|
|
|
6165
6561
|
body: {};
|
|
6166
6562
|
params: {};
|
|
6167
6563
|
query: {
|
|
6564
|
+
referralCode?: string | undefined;
|
|
6168
6565
|
depth?: number | undefined;
|
|
6169
6566
|
limit?: number | undefined;
|
|
6170
6567
|
offset?: number | undefined;
|
|
6171
6568
|
pageSize?: number | undefined;
|
|
6172
6569
|
pageIndex?: number | undefined;
|
|
6173
|
-
referralCode: string;
|
|
6174
6570
|
};
|
|
6175
6571
|
headers: {};
|
|
6176
6572
|
response: {
|
|
@@ -6182,6 +6578,24 @@ declare const app: Elysia<"/api", {
|
|
|
6182
6578
|
depth: number;
|
|
6183
6579
|
ancestorId: string;
|
|
6184
6580
|
descendantId: string;
|
|
6581
|
+
ancestor: {
|
|
6582
|
+
email: string;
|
|
6583
|
+
id: string;
|
|
6584
|
+
name: string;
|
|
6585
|
+
emailVerified: boolean;
|
|
6586
|
+
image: string | null;
|
|
6587
|
+
createdAt: Date;
|
|
6588
|
+
updatedAt: Date;
|
|
6589
|
+
twoFactorEnabled: boolean | null;
|
|
6590
|
+
username: string | null;
|
|
6591
|
+
displayUsername: string | null;
|
|
6592
|
+
phoneNumber: string | null;
|
|
6593
|
+
phoneNumberVerified: boolean | null;
|
|
6594
|
+
role: string | null;
|
|
6595
|
+
banned: boolean | null;
|
|
6596
|
+
banReason: string | null;
|
|
6597
|
+
banExpires: Date | null;
|
|
6598
|
+
};
|
|
6185
6599
|
descendant: {
|
|
6186
6600
|
email: string;
|
|
6187
6601
|
id: string;
|
|
@@ -6199,6 +6613,21 @@ declare const app: Elysia<"/api", {
|
|
|
6199
6613
|
banned: boolean | null;
|
|
6200
6614
|
banReason: string | null;
|
|
6201
6615
|
banExpires: Date | null;
|
|
6616
|
+
profile: {
|
|
6617
|
+
createdAt: Date;
|
|
6618
|
+
updatedAt: Date;
|
|
6619
|
+
userId: string;
|
|
6620
|
+
gender: "male" | "female" | "other";
|
|
6621
|
+
uid: string;
|
|
6622
|
+
birthday: string | null;
|
|
6623
|
+
country: string | null;
|
|
6624
|
+
city: string | null;
|
|
6625
|
+
language: string | null;
|
|
6626
|
+
timezone: string | null;
|
|
6627
|
+
referralCode: string | null;
|
|
6628
|
+
referredBy: string | null;
|
|
6629
|
+
deletedAt: Date | null;
|
|
6630
|
+
};
|
|
6202
6631
|
};
|
|
6203
6632
|
depthConfig: {
|
|
6204
6633
|
id: string;
|
|
@@ -6207,6 +6636,21 @@ declare const app: Elysia<"/api", {
|
|
|
6207
6636
|
depth: number;
|
|
6208
6637
|
commissionRate: string;
|
|
6209
6638
|
} | null;
|
|
6639
|
+
ancestorProfile: {
|
|
6640
|
+
createdAt: Date;
|
|
6641
|
+
updatedAt: Date;
|
|
6642
|
+
userId: string;
|
|
6643
|
+
gender: "male" | "female" | "other";
|
|
6644
|
+
uid: string;
|
|
6645
|
+
birthday: string | null;
|
|
6646
|
+
country: string | null;
|
|
6647
|
+
city: string | null;
|
|
6648
|
+
language: string | null;
|
|
6649
|
+
timezone: string | null;
|
|
6650
|
+
referralCode: string | null;
|
|
6651
|
+
referredBy: string | null;
|
|
6652
|
+
deletedAt: Date | null;
|
|
6653
|
+
};
|
|
6210
6654
|
directCount: number;
|
|
6211
6655
|
}[];
|
|
6212
6656
|
pagination: {
|
|
@@ -6331,33 +6775,195 @@ declare const app: Elysia<"/api", {
|
|
|
6331
6775
|
dailyUserBuyBaseLimit: string | null;
|
|
6332
6776
|
dailyUserSellBaseLimit: string | null;
|
|
6333
6777
|
maxSlippageBps: string;
|
|
6334
|
-
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6778
|
+
baseAsset: {
|
|
6779
|
+
symbol: string;
|
|
6780
|
+
id: string;
|
|
6781
|
+
name: string;
|
|
6782
|
+
createdAt: Date;
|
|
6783
|
+
updatedAt: Date;
|
|
6784
|
+
code: string;
|
|
6785
|
+
iconUrl: string;
|
|
6786
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6787
|
+
isActive: boolean;
|
|
6788
|
+
typeId: string;
|
|
6789
|
+
precision: number;
|
|
6790
|
+
};
|
|
6791
|
+
quoteAsset: {
|
|
6792
|
+
symbol: string;
|
|
6793
|
+
id: string;
|
|
6794
|
+
name: string;
|
|
6795
|
+
createdAt: Date;
|
|
6796
|
+
updatedAt: Date;
|
|
6797
|
+
code: string;
|
|
6798
|
+
iconUrl: string;
|
|
6799
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6800
|
+
isActive: boolean;
|
|
6801
|
+
typeId: string;
|
|
6802
|
+
precision: number;
|
|
6803
|
+
};
|
|
6804
|
+
systemBaseAccount: {
|
|
6805
|
+
id: string;
|
|
6806
|
+
createdAt: Date;
|
|
6807
|
+
updatedAt: Date;
|
|
6808
|
+
userId: string;
|
|
6809
|
+
status: "active" | "frozen" | "disabled";
|
|
6810
|
+
assetId: string;
|
|
6811
|
+
ledgerAccountTypeId: string;
|
|
6812
|
+
available: string;
|
|
6813
|
+
locked: string;
|
|
6814
|
+
version: number;
|
|
6815
|
+
user: {
|
|
6816
|
+
email: string;
|
|
6817
|
+
id: string;
|
|
6818
|
+
name: string;
|
|
6819
|
+
emailVerified: boolean;
|
|
6820
|
+
image: string | null;
|
|
6821
|
+
createdAt: Date;
|
|
6822
|
+
updatedAt: Date;
|
|
6823
|
+
twoFactorEnabled: boolean | null;
|
|
6824
|
+
username: string | null;
|
|
6825
|
+
displayUsername: string | null;
|
|
6826
|
+
phoneNumber: string | null;
|
|
6827
|
+
phoneNumberVerified: boolean | null;
|
|
6828
|
+
role: string | null;
|
|
6829
|
+
banned: boolean | null;
|
|
6830
|
+
banReason: string | null;
|
|
6831
|
+
banExpires: Date | null;
|
|
6832
|
+
};
|
|
6833
|
+
asset: {
|
|
6834
|
+
symbol: string;
|
|
6835
|
+
id: string;
|
|
6836
|
+
name: string;
|
|
6837
|
+
createdAt: Date;
|
|
6838
|
+
updatedAt: Date;
|
|
6839
|
+
code: string;
|
|
6840
|
+
iconUrl: string;
|
|
6841
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6842
|
+
isActive: boolean;
|
|
6843
|
+
typeId: string;
|
|
6844
|
+
precision: number;
|
|
6845
|
+
};
|
|
6846
|
+
ledgerAccountType: {
|
|
6847
|
+
id: string;
|
|
6848
|
+
name: string;
|
|
6849
|
+
createdAt: Date;
|
|
6850
|
+
updatedAt: Date;
|
|
6851
|
+
description: string | null;
|
|
6852
|
+
key: string;
|
|
6853
|
+
isActive: boolean;
|
|
6854
|
+
allowDeposit: boolean;
|
|
6855
|
+
allowWithdraw: boolean;
|
|
6856
|
+
minWithdrawAmount: string;
|
|
6857
|
+
maxWithdrawAmount: string;
|
|
6858
|
+
allowTransfer: boolean;
|
|
6859
|
+
minTransferAmount: string;
|
|
6860
|
+
maxTransferAmount: string;
|
|
6861
|
+
allowInternalTransfer: boolean;
|
|
6862
|
+
allowInternalReceiveTransfer: boolean;
|
|
6863
|
+
minInternalTransferAmount: string;
|
|
6864
|
+
maxInternalTransferAmount: string;
|
|
6865
|
+
internalTransferRatio: string;
|
|
6866
|
+
allowTransaction: boolean;
|
|
6867
|
+
hasExpiry: boolean;
|
|
6868
|
+
expiryDays: number | null;
|
|
6869
|
+
sortOrder: number;
|
|
6870
|
+
};
|
|
6871
|
+
};
|
|
6872
|
+
systemQuoteAccount: {
|
|
6873
|
+
id: string;
|
|
6874
|
+
createdAt: Date;
|
|
6875
|
+
updatedAt: Date;
|
|
6876
|
+
userId: string;
|
|
6877
|
+
status: "active" | "frozen" | "disabled";
|
|
6878
|
+
assetId: string;
|
|
6879
|
+
ledgerAccountTypeId: string;
|
|
6880
|
+
available: string;
|
|
6881
|
+
locked: string;
|
|
6882
|
+
version: number;
|
|
6883
|
+
user: {
|
|
6884
|
+
email: string;
|
|
6885
|
+
id: string;
|
|
6886
|
+
name: string;
|
|
6887
|
+
emailVerified: boolean;
|
|
6888
|
+
image: string | null;
|
|
6889
|
+
createdAt: Date;
|
|
6890
|
+
updatedAt: Date;
|
|
6891
|
+
twoFactorEnabled: boolean | null;
|
|
6892
|
+
username: string | null;
|
|
6893
|
+
displayUsername: string | null;
|
|
6894
|
+
phoneNumber: string | null;
|
|
6895
|
+
phoneNumberVerified: boolean | null;
|
|
6896
|
+
role: string | null;
|
|
6897
|
+
banned: boolean | null;
|
|
6898
|
+
banReason: string | null;
|
|
6899
|
+
banExpires: Date | null;
|
|
6900
|
+
};
|
|
6901
|
+
asset: {
|
|
6902
|
+
symbol: string;
|
|
6903
|
+
id: string;
|
|
6904
|
+
name: string;
|
|
6905
|
+
createdAt: Date;
|
|
6906
|
+
updatedAt: Date;
|
|
6907
|
+
code: string;
|
|
6908
|
+
iconUrl: string;
|
|
6909
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
6910
|
+
isActive: boolean;
|
|
6911
|
+
typeId: string;
|
|
6912
|
+
precision: number;
|
|
6913
|
+
};
|
|
6914
|
+
ledgerAccountType: {
|
|
6915
|
+
id: string;
|
|
6916
|
+
name: string;
|
|
6917
|
+
createdAt: Date;
|
|
6918
|
+
updatedAt: Date;
|
|
6919
|
+
description: string | null;
|
|
6920
|
+
key: string;
|
|
6921
|
+
isActive: boolean;
|
|
6922
|
+
allowDeposit: boolean;
|
|
6923
|
+
allowWithdraw: boolean;
|
|
6924
|
+
minWithdrawAmount: string;
|
|
6925
|
+
maxWithdrawAmount: string;
|
|
6926
|
+
allowTransfer: boolean;
|
|
6927
|
+
minTransferAmount: string;
|
|
6928
|
+
maxTransferAmount: string;
|
|
6929
|
+
allowInternalTransfer: boolean;
|
|
6930
|
+
allowInternalReceiveTransfer: boolean;
|
|
6931
|
+
minInternalTransferAmount: string;
|
|
6932
|
+
maxInternalTransferAmount: string;
|
|
6933
|
+
internalTransferRatio: string;
|
|
6934
|
+
allowTransaction: boolean;
|
|
6935
|
+
hasExpiry: boolean;
|
|
6936
|
+
expiryDays: number | null;
|
|
6937
|
+
sortOrder: number;
|
|
6938
|
+
};
|
|
6939
|
+
};
|
|
6940
|
+
};
|
|
6941
|
+
422: {
|
|
6942
|
+
type: "validation";
|
|
6943
|
+
on: string;
|
|
6944
|
+
summary?: string;
|
|
6945
|
+
message?: string;
|
|
6946
|
+
found?: unknown;
|
|
6947
|
+
property?: string;
|
|
6948
|
+
expected?: string;
|
|
6949
|
+
};
|
|
6950
|
+
401: "Unauthorized";
|
|
6951
|
+
403: "Forbidden: Admins only";
|
|
6952
|
+
};
|
|
6953
|
+
};
|
|
6954
|
+
};
|
|
6955
|
+
};
|
|
6956
|
+
} & {
|
|
6957
|
+
trade_market: {
|
|
6958
|
+
markets: {
|
|
6959
|
+
":id": {
|
|
6960
|
+
patch: {
|
|
6961
|
+
body: {
|
|
6962
|
+
name?: string | undefined;
|
|
6963
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6964
|
+
baseAssetId?: string | undefined;
|
|
6965
|
+
quoteAssetId?: string | undefined;
|
|
6966
|
+
pricingSource?: string | undefined;
|
|
6361
6967
|
systemBaseAccountId?: string | undefined;
|
|
6362
6968
|
systemQuoteAccountId?: string | undefined;
|
|
6363
6969
|
isBuyEnabled?: boolean | undefined;
|
|
@@ -6392,6 +6998,168 @@ declare const app: Elysia<"/api", {
|
|
|
6392
6998
|
dailyUserBuyBaseLimit: string | null;
|
|
6393
6999
|
dailyUserSellBaseLimit: string | null;
|
|
6394
7000
|
maxSlippageBps: string;
|
|
7001
|
+
baseAsset: {
|
|
7002
|
+
symbol: string;
|
|
7003
|
+
id: string;
|
|
7004
|
+
name: string;
|
|
7005
|
+
createdAt: Date;
|
|
7006
|
+
updatedAt: Date;
|
|
7007
|
+
code: string;
|
|
7008
|
+
iconUrl: string;
|
|
7009
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7010
|
+
isActive: boolean;
|
|
7011
|
+
typeId: string;
|
|
7012
|
+
precision: number;
|
|
7013
|
+
};
|
|
7014
|
+
quoteAsset: {
|
|
7015
|
+
symbol: string;
|
|
7016
|
+
id: string;
|
|
7017
|
+
name: string;
|
|
7018
|
+
createdAt: Date;
|
|
7019
|
+
updatedAt: Date;
|
|
7020
|
+
code: string;
|
|
7021
|
+
iconUrl: string;
|
|
7022
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7023
|
+
isActive: boolean;
|
|
7024
|
+
typeId: string;
|
|
7025
|
+
precision: number;
|
|
7026
|
+
};
|
|
7027
|
+
systemBaseAccount: {
|
|
7028
|
+
id: string;
|
|
7029
|
+
createdAt: Date;
|
|
7030
|
+
updatedAt: Date;
|
|
7031
|
+
userId: string;
|
|
7032
|
+
status: "active" | "frozen" | "disabled";
|
|
7033
|
+
assetId: string;
|
|
7034
|
+
ledgerAccountTypeId: string;
|
|
7035
|
+
available: string;
|
|
7036
|
+
locked: string;
|
|
7037
|
+
version: number;
|
|
7038
|
+
user: {
|
|
7039
|
+
email: string;
|
|
7040
|
+
id: string;
|
|
7041
|
+
name: string;
|
|
7042
|
+
emailVerified: boolean;
|
|
7043
|
+
image: string | null;
|
|
7044
|
+
createdAt: Date;
|
|
7045
|
+
updatedAt: Date;
|
|
7046
|
+
twoFactorEnabled: boolean | null;
|
|
7047
|
+
username: string | null;
|
|
7048
|
+
displayUsername: string | null;
|
|
7049
|
+
phoneNumber: string | null;
|
|
7050
|
+
phoneNumberVerified: boolean | null;
|
|
7051
|
+
role: string | null;
|
|
7052
|
+
banned: boolean | null;
|
|
7053
|
+
banReason: string | null;
|
|
7054
|
+
banExpires: Date | null;
|
|
7055
|
+
};
|
|
7056
|
+
asset: {
|
|
7057
|
+
symbol: string;
|
|
7058
|
+
id: string;
|
|
7059
|
+
name: string;
|
|
7060
|
+
createdAt: Date;
|
|
7061
|
+
updatedAt: Date;
|
|
7062
|
+
code: string;
|
|
7063
|
+
iconUrl: string;
|
|
7064
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7065
|
+
isActive: boolean;
|
|
7066
|
+
typeId: string;
|
|
7067
|
+
precision: number;
|
|
7068
|
+
};
|
|
7069
|
+
ledgerAccountType: {
|
|
7070
|
+
id: string;
|
|
7071
|
+
name: string;
|
|
7072
|
+
createdAt: Date;
|
|
7073
|
+
updatedAt: Date;
|
|
7074
|
+
description: string | null;
|
|
7075
|
+
key: string;
|
|
7076
|
+
isActive: boolean;
|
|
7077
|
+
allowDeposit: boolean;
|
|
7078
|
+
allowWithdraw: boolean;
|
|
7079
|
+
minWithdrawAmount: string;
|
|
7080
|
+
maxWithdrawAmount: string;
|
|
7081
|
+
allowTransfer: boolean;
|
|
7082
|
+
minTransferAmount: string;
|
|
7083
|
+
maxTransferAmount: string;
|
|
7084
|
+
allowInternalTransfer: boolean;
|
|
7085
|
+
allowInternalReceiveTransfer: boolean;
|
|
7086
|
+
minInternalTransferAmount: string;
|
|
7087
|
+
maxInternalTransferAmount: string;
|
|
7088
|
+
internalTransferRatio: string;
|
|
7089
|
+
allowTransaction: boolean;
|
|
7090
|
+
hasExpiry: boolean;
|
|
7091
|
+
expiryDays: number | null;
|
|
7092
|
+
sortOrder: number;
|
|
7093
|
+
};
|
|
7094
|
+
};
|
|
7095
|
+
systemQuoteAccount: {
|
|
7096
|
+
id: string;
|
|
7097
|
+
createdAt: Date;
|
|
7098
|
+
updatedAt: Date;
|
|
7099
|
+
userId: string;
|
|
7100
|
+
status: "active" | "frozen" | "disabled";
|
|
7101
|
+
assetId: string;
|
|
7102
|
+
ledgerAccountTypeId: string;
|
|
7103
|
+
available: string;
|
|
7104
|
+
locked: string;
|
|
7105
|
+
version: number;
|
|
7106
|
+
user: {
|
|
7107
|
+
email: string;
|
|
7108
|
+
id: string;
|
|
7109
|
+
name: string;
|
|
7110
|
+
emailVerified: boolean;
|
|
7111
|
+
image: string | null;
|
|
7112
|
+
createdAt: Date;
|
|
7113
|
+
updatedAt: Date;
|
|
7114
|
+
twoFactorEnabled: boolean | null;
|
|
7115
|
+
username: string | null;
|
|
7116
|
+
displayUsername: string | null;
|
|
7117
|
+
phoneNumber: string | null;
|
|
7118
|
+
phoneNumberVerified: boolean | null;
|
|
7119
|
+
role: string | null;
|
|
7120
|
+
banned: boolean | null;
|
|
7121
|
+
banReason: string | null;
|
|
7122
|
+
banExpires: Date | null;
|
|
7123
|
+
};
|
|
7124
|
+
asset: {
|
|
7125
|
+
symbol: string;
|
|
7126
|
+
id: string;
|
|
7127
|
+
name: string;
|
|
7128
|
+
createdAt: Date;
|
|
7129
|
+
updatedAt: Date;
|
|
7130
|
+
code: string;
|
|
7131
|
+
iconUrl: string;
|
|
7132
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7133
|
+
isActive: boolean;
|
|
7134
|
+
typeId: string;
|
|
7135
|
+
precision: number;
|
|
7136
|
+
};
|
|
7137
|
+
ledgerAccountType: {
|
|
7138
|
+
id: string;
|
|
7139
|
+
name: string;
|
|
7140
|
+
createdAt: Date;
|
|
7141
|
+
updatedAt: Date;
|
|
7142
|
+
description: string | null;
|
|
7143
|
+
key: string;
|
|
7144
|
+
isActive: boolean;
|
|
7145
|
+
allowDeposit: boolean;
|
|
7146
|
+
allowWithdraw: boolean;
|
|
7147
|
+
minWithdrawAmount: string;
|
|
7148
|
+
maxWithdrawAmount: string;
|
|
7149
|
+
allowTransfer: boolean;
|
|
7150
|
+
minTransferAmount: string;
|
|
7151
|
+
maxTransferAmount: string;
|
|
7152
|
+
allowInternalTransfer: boolean;
|
|
7153
|
+
allowInternalReceiveTransfer: boolean;
|
|
7154
|
+
minInternalTransferAmount: string;
|
|
7155
|
+
maxInternalTransferAmount: string;
|
|
7156
|
+
internalTransferRatio: string;
|
|
7157
|
+
allowTransaction: boolean;
|
|
7158
|
+
hasExpiry: boolean;
|
|
7159
|
+
expiryDays: number | null;
|
|
7160
|
+
sortOrder: number;
|
|
7161
|
+
};
|
|
7162
|
+
};
|
|
6395
7163
|
};
|
|
6396
7164
|
422: {
|
|
6397
7165
|
type: "validation";
|
|
@@ -6548,48 +7316,210 @@ declare const app: Elysia<"/api", {
|
|
|
6548
7316
|
property?: string;
|
|
6549
7317
|
expected?: string;
|
|
6550
7318
|
};
|
|
6551
|
-
401: "Unauthorized";
|
|
6552
|
-
403: "Forbidden: Admins only";
|
|
6553
|
-
};
|
|
6554
|
-
};
|
|
6555
|
-
};
|
|
6556
|
-
};
|
|
6557
|
-
};
|
|
6558
|
-
};
|
|
6559
|
-
} & {
|
|
6560
|
-
trade_market: {
|
|
6561
|
-
markets: {
|
|
6562
|
-
get: {
|
|
6563
|
-
body: {};
|
|
6564
|
-
params: {};
|
|
6565
|
-
query: {
|
|
6566
|
-
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
6567
|
-
limit?: number | undefined;
|
|
6568
|
-
offset?: number | undefined;
|
|
6569
|
-
pageSize?: number | undefined;
|
|
6570
|
-
pageIndex?: number | undefined;
|
|
6571
|
-
};
|
|
6572
|
-
headers: {};
|
|
6573
|
-
response: {
|
|
6574
|
-
200: {
|
|
6575
|
-
data: {
|
|
6576
|
-
id: string;
|
|
6577
|
-
name: string;
|
|
6578
|
-
createdAt: Date;
|
|
6579
|
-
updatedAt: Date;
|
|
6580
|
-
status: "active" | "draft" | "paused" | "ended";
|
|
6581
|
-
baseAssetId: string;
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6585
|
-
|
|
6586
|
-
|
|
6587
|
-
|
|
6588
|
-
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
7319
|
+
401: "Unauthorized";
|
|
7320
|
+
403: "Forbidden: Admins only";
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
};
|
|
7324
|
+
};
|
|
7325
|
+
};
|
|
7326
|
+
};
|
|
7327
|
+
} & {
|
|
7328
|
+
trade_market: {
|
|
7329
|
+
markets: {
|
|
7330
|
+
get: {
|
|
7331
|
+
body: {};
|
|
7332
|
+
params: {};
|
|
7333
|
+
query: {
|
|
7334
|
+
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
7335
|
+
limit?: number | undefined;
|
|
7336
|
+
offset?: number | undefined;
|
|
7337
|
+
pageSize?: number | undefined;
|
|
7338
|
+
pageIndex?: number | undefined;
|
|
7339
|
+
};
|
|
7340
|
+
headers: {};
|
|
7341
|
+
response: {
|
|
7342
|
+
200: {
|
|
7343
|
+
data: {
|
|
7344
|
+
id: string;
|
|
7345
|
+
name: string;
|
|
7346
|
+
createdAt: Date;
|
|
7347
|
+
updatedAt: Date;
|
|
7348
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
7349
|
+
baseAssetId: string;
|
|
7350
|
+
baseAsset: {
|
|
7351
|
+
symbol: string;
|
|
7352
|
+
id: string;
|
|
7353
|
+
name: string;
|
|
7354
|
+
createdAt: Date;
|
|
7355
|
+
updatedAt: Date;
|
|
7356
|
+
code: string;
|
|
7357
|
+
iconUrl: string;
|
|
7358
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7359
|
+
isActive: boolean;
|
|
7360
|
+
typeId: string;
|
|
7361
|
+
precision: number;
|
|
7362
|
+
};
|
|
7363
|
+
quoteAssetId: string;
|
|
7364
|
+
quoteAsset: {
|
|
7365
|
+
symbol: string;
|
|
7366
|
+
id: string;
|
|
7367
|
+
name: string;
|
|
7368
|
+
createdAt: Date;
|
|
7369
|
+
updatedAt: Date;
|
|
7370
|
+
code: string;
|
|
7371
|
+
iconUrl: string;
|
|
7372
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7373
|
+
isActive: boolean;
|
|
7374
|
+
typeId: string;
|
|
7375
|
+
precision: number;
|
|
7376
|
+
};
|
|
7377
|
+
pricingSource: string;
|
|
7378
|
+
systemBaseAccountId: string;
|
|
7379
|
+
systemQuoteAccountId: string;
|
|
7380
|
+
isBuyEnabled: boolean;
|
|
7381
|
+
isSellEnabled: boolean;
|
|
7382
|
+
minBaseAmount: string;
|
|
7383
|
+
maxBaseAmount: string | null;
|
|
7384
|
+
dailyUserBuyBaseLimit: string | null;
|
|
7385
|
+
dailyUserSellBaseLimit: string | null;
|
|
7386
|
+
maxSlippageBps: string;
|
|
7387
|
+
systemBaseAccount: {
|
|
7388
|
+
user: {
|
|
7389
|
+
email: string;
|
|
7390
|
+
id: string;
|
|
7391
|
+
name: string;
|
|
7392
|
+
emailVerified: boolean;
|
|
7393
|
+
image: string | null;
|
|
7394
|
+
createdAt: Date;
|
|
7395
|
+
updatedAt: Date;
|
|
7396
|
+
twoFactorEnabled: boolean | null;
|
|
7397
|
+
username: string | null;
|
|
7398
|
+
displayUsername: string | null;
|
|
7399
|
+
phoneNumber: string | null;
|
|
7400
|
+
phoneNumberVerified: boolean | null;
|
|
7401
|
+
role: string | null;
|
|
7402
|
+
banned: boolean | null;
|
|
7403
|
+
banReason: string | null;
|
|
7404
|
+
banExpires: Date | null;
|
|
7405
|
+
};
|
|
7406
|
+
id: string;
|
|
7407
|
+
createdAt: Date;
|
|
7408
|
+
updatedAt: Date;
|
|
7409
|
+
userId: string;
|
|
7410
|
+
status: "active" | "frozen" | "disabled";
|
|
7411
|
+
asset: {
|
|
7412
|
+
symbol: string;
|
|
7413
|
+
id: string;
|
|
7414
|
+
name: string;
|
|
7415
|
+
createdAt: Date;
|
|
7416
|
+
updatedAt: Date;
|
|
7417
|
+
code: string;
|
|
7418
|
+
iconUrl: string;
|
|
7419
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7420
|
+
isActive: boolean;
|
|
7421
|
+
typeId: string;
|
|
7422
|
+
precision: number;
|
|
7423
|
+
};
|
|
7424
|
+
assetId: string;
|
|
7425
|
+
ledgerAccountTypeId: string;
|
|
7426
|
+
available: string;
|
|
7427
|
+
locked: string;
|
|
7428
|
+
version: number;
|
|
7429
|
+
ledgerAccountType: {
|
|
7430
|
+
id: string;
|
|
7431
|
+
name: string;
|
|
7432
|
+
createdAt: Date;
|
|
7433
|
+
updatedAt: Date;
|
|
7434
|
+
description: string | null;
|
|
7435
|
+
key: string;
|
|
7436
|
+
isActive: boolean;
|
|
7437
|
+
allowDeposit: boolean;
|
|
7438
|
+
allowWithdraw: boolean;
|
|
7439
|
+
minWithdrawAmount: string;
|
|
7440
|
+
maxWithdrawAmount: string;
|
|
7441
|
+
allowTransfer: boolean;
|
|
7442
|
+
minTransferAmount: string;
|
|
7443
|
+
maxTransferAmount: string;
|
|
7444
|
+
allowInternalTransfer: boolean;
|
|
7445
|
+
allowInternalReceiveTransfer: boolean;
|
|
7446
|
+
minInternalTransferAmount: string;
|
|
7447
|
+
maxInternalTransferAmount: string;
|
|
7448
|
+
internalTransferRatio: string;
|
|
7449
|
+
allowTransaction: boolean;
|
|
7450
|
+
hasExpiry: boolean;
|
|
7451
|
+
expiryDays: number | null;
|
|
7452
|
+
sortOrder: number;
|
|
7453
|
+
};
|
|
7454
|
+
};
|
|
7455
|
+
systemQuoteAccount: {
|
|
7456
|
+
user: {
|
|
7457
|
+
email: string;
|
|
7458
|
+
id: string;
|
|
7459
|
+
name: string;
|
|
7460
|
+
emailVerified: boolean;
|
|
7461
|
+
image: string | null;
|
|
7462
|
+
createdAt: Date;
|
|
7463
|
+
updatedAt: Date;
|
|
7464
|
+
twoFactorEnabled: boolean | null;
|
|
7465
|
+
username: string | null;
|
|
7466
|
+
displayUsername: string | null;
|
|
7467
|
+
phoneNumber: string | null;
|
|
7468
|
+
phoneNumberVerified: boolean | null;
|
|
7469
|
+
role: string | null;
|
|
7470
|
+
banned: boolean | null;
|
|
7471
|
+
banReason: string | null;
|
|
7472
|
+
banExpires: Date | null;
|
|
7473
|
+
};
|
|
7474
|
+
id: string;
|
|
7475
|
+
createdAt: Date;
|
|
7476
|
+
updatedAt: Date;
|
|
7477
|
+
userId: string;
|
|
7478
|
+
status: "active" | "frozen" | "disabled";
|
|
7479
|
+
asset: {
|
|
7480
|
+
symbol: string;
|
|
7481
|
+
id: string;
|
|
7482
|
+
name: string;
|
|
7483
|
+
createdAt: Date;
|
|
7484
|
+
updatedAt: Date;
|
|
7485
|
+
code: string;
|
|
7486
|
+
iconUrl: string;
|
|
7487
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
7488
|
+
isActive: boolean;
|
|
7489
|
+
typeId: string;
|
|
7490
|
+
precision: number;
|
|
7491
|
+
};
|
|
7492
|
+
assetId: string;
|
|
7493
|
+
ledgerAccountTypeId: string;
|
|
7494
|
+
available: string;
|
|
7495
|
+
locked: string;
|
|
7496
|
+
version: number;
|
|
7497
|
+
ledgerAccountType: {
|
|
7498
|
+
id: string;
|
|
7499
|
+
name: string;
|
|
7500
|
+
createdAt: Date;
|
|
7501
|
+
updatedAt: Date;
|
|
7502
|
+
description: string | null;
|
|
7503
|
+
key: string;
|
|
7504
|
+
isActive: boolean;
|
|
7505
|
+
allowDeposit: boolean;
|
|
7506
|
+
allowWithdraw: boolean;
|
|
7507
|
+
minWithdrawAmount: string;
|
|
7508
|
+
maxWithdrawAmount: string;
|
|
7509
|
+
allowTransfer: boolean;
|
|
7510
|
+
minTransferAmount: string;
|
|
7511
|
+
maxTransferAmount: string;
|
|
7512
|
+
allowInternalTransfer: boolean;
|
|
7513
|
+
allowInternalReceiveTransfer: boolean;
|
|
7514
|
+
minInternalTransferAmount: string;
|
|
7515
|
+
maxInternalTransferAmount: string;
|
|
7516
|
+
internalTransferRatio: string;
|
|
7517
|
+
allowTransaction: boolean;
|
|
7518
|
+
hasExpiry: boolean;
|
|
7519
|
+
expiryDays: number | null;
|
|
7520
|
+
sortOrder: number;
|
|
7521
|
+
};
|
|
7522
|
+
};
|
|
6593
7523
|
}[];
|
|
6594
7524
|
pagination: {
|
|
6595
7525
|
total: number;
|
|
@@ -6690,7 +7620,7 @@ declare const app: Elysia<"/api", {
|
|
|
6690
7620
|
isActive?: boolean | undefined;
|
|
6691
7621
|
sortOrder?: number | undefined;
|
|
6692
7622
|
slug?: string | null | undefined;
|
|
6693
|
-
|
|
7623
|
+
iconFileId?: string | undefined;
|
|
6694
7624
|
name: string;
|
|
6695
7625
|
};
|
|
6696
7626
|
params: {};
|
|
@@ -6732,22 +7662,231 @@ declare const app: Elysia<"/api", {
|
|
|
6732
7662
|
pageSize?: number | undefined;
|
|
6733
7663
|
pageIndex?: number | undefined;
|
|
6734
7664
|
};
|
|
6735
|
-
headers: unknown;
|
|
7665
|
+
headers: unknown;
|
|
7666
|
+
response: {
|
|
7667
|
+
200: {
|
|
7668
|
+
data: {
|
|
7669
|
+
id: string;
|
|
7670
|
+
name: string;
|
|
7671
|
+
description: string | null;
|
|
7672
|
+
isActive: boolean;
|
|
7673
|
+
sortOrder: number;
|
|
7674
|
+
slug: string | null;
|
|
7675
|
+
icon: string | null;
|
|
7676
|
+
}[];
|
|
7677
|
+
pagination: {
|
|
7678
|
+
total: number;
|
|
7679
|
+
pageSize: number;
|
|
7680
|
+
pageIndex: number;
|
|
7681
|
+
totalPages: number;
|
|
7682
|
+
hasNextPage: boolean;
|
|
7683
|
+
};
|
|
7684
|
+
};
|
|
7685
|
+
422: {
|
|
7686
|
+
type: "validation";
|
|
7687
|
+
on: string;
|
|
7688
|
+
summary?: string;
|
|
7689
|
+
message?: string;
|
|
7690
|
+
found?: unknown;
|
|
7691
|
+
property?: string;
|
|
7692
|
+
expected?: string;
|
|
7693
|
+
};
|
|
7694
|
+
};
|
|
7695
|
+
};
|
|
7696
|
+
};
|
|
7697
|
+
} & {
|
|
7698
|
+
news_categories: {
|
|
7699
|
+
":id": {
|
|
7700
|
+
get: {
|
|
7701
|
+
body: unknown;
|
|
7702
|
+
params: {
|
|
7703
|
+
id: string;
|
|
7704
|
+
};
|
|
7705
|
+
query: unknown;
|
|
7706
|
+
headers: unknown;
|
|
7707
|
+
response: {
|
|
7708
|
+
200: {
|
|
7709
|
+
id: string;
|
|
7710
|
+
name: string;
|
|
7711
|
+
createdAt: Date;
|
|
7712
|
+
updatedAt: Date;
|
|
7713
|
+
description: string | null;
|
|
7714
|
+
isActive: boolean;
|
|
7715
|
+
sortOrder: number;
|
|
7716
|
+
slug: string | null;
|
|
7717
|
+
icon: string | null;
|
|
7718
|
+
};
|
|
7719
|
+
422: {
|
|
7720
|
+
type: "validation";
|
|
7721
|
+
on: string;
|
|
7722
|
+
summary?: string;
|
|
7723
|
+
message?: string;
|
|
7724
|
+
found?: unknown;
|
|
7725
|
+
property?: string;
|
|
7726
|
+
expected?: string;
|
|
7727
|
+
};
|
|
7728
|
+
};
|
|
7729
|
+
};
|
|
7730
|
+
};
|
|
7731
|
+
};
|
|
7732
|
+
} & {
|
|
7733
|
+
news_categories: {
|
|
7734
|
+
":id": {
|
|
7735
|
+
patch: {
|
|
7736
|
+
body: {
|
|
7737
|
+
name?: string | undefined;
|
|
7738
|
+
description?: string | null | undefined;
|
|
7739
|
+
isActive?: boolean | undefined;
|
|
7740
|
+
sortOrder?: number | undefined;
|
|
7741
|
+
slug?: string | null | undefined;
|
|
7742
|
+
iconFileId?: string | undefined;
|
|
7743
|
+
};
|
|
7744
|
+
params: {
|
|
7745
|
+
id: string;
|
|
7746
|
+
};
|
|
7747
|
+
query: unknown;
|
|
7748
|
+
headers: unknown;
|
|
7749
|
+
response: {
|
|
7750
|
+
422: {
|
|
7751
|
+
type: "validation";
|
|
7752
|
+
on: string;
|
|
7753
|
+
summary?: string;
|
|
7754
|
+
message?: string;
|
|
7755
|
+
found?: unknown;
|
|
7756
|
+
property?: string;
|
|
7757
|
+
expected?: string;
|
|
7758
|
+
};
|
|
7759
|
+
};
|
|
7760
|
+
};
|
|
7761
|
+
};
|
|
7762
|
+
};
|
|
7763
|
+
} & {
|
|
7764
|
+
news_categories: {
|
|
7765
|
+
":id": {
|
|
7766
|
+
delete: {
|
|
7767
|
+
body: unknown;
|
|
7768
|
+
params: {
|
|
7769
|
+
id: string;
|
|
7770
|
+
};
|
|
7771
|
+
query: unknown;
|
|
7772
|
+
headers: unknown;
|
|
7773
|
+
response: {
|
|
7774
|
+
200: {
|
|
7775
|
+
success: boolean;
|
|
7776
|
+
};
|
|
7777
|
+
422: {
|
|
7778
|
+
type: "validation";
|
|
7779
|
+
on: string;
|
|
7780
|
+
summary?: string;
|
|
7781
|
+
message?: string;
|
|
7782
|
+
found?: unknown;
|
|
7783
|
+
property?: string;
|
|
7784
|
+
expected?: string;
|
|
7785
|
+
};
|
|
7786
|
+
};
|
|
7787
|
+
};
|
|
7788
|
+
};
|
|
7789
|
+
};
|
|
7790
|
+
};
|
|
7791
|
+
} & {
|
|
7792
|
+
admin: {
|
|
7793
|
+
news: {};
|
|
7794
|
+
} & {
|
|
7795
|
+
news: {
|
|
7796
|
+
post: {
|
|
7797
|
+
body: {
|
|
7798
|
+
expiresAt?: Date | null | undefined;
|
|
7799
|
+
scope?: string[] | undefined;
|
|
7800
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7801
|
+
sortOrder?: number | undefined;
|
|
7802
|
+
isHot?: boolean | undefined;
|
|
7803
|
+
summary?: string | null | undefined;
|
|
7804
|
+
categoryId?: string | undefined;
|
|
7805
|
+
isPinned?: boolean | undefined;
|
|
7806
|
+
hasVideo?: boolean | undefined;
|
|
7807
|
+
requireReadConfirmation?: boolean | undefined;
|
|
7808
|
+
externalUrl?: string | null | undefined;
|
|
7809
|
+
publishedAt?: Date | null | undefined;
|
|
7810
|
+
thumbnailId?: string | null | undefined;
|
|
7811
|
+
attachmentIds?: string[] | null | undefined;
|
|
7812
|
+
title: string;
|
|
7813
|
+
content: string;
|
|
7814
|
+
};
|
|
7815
|
+
params: {};
|
|
7816
|
+
query: {};
|
|
7817
|
+
headers: {};
|
|
7818
|
+
response: {
|
|
7819
|
+
422: {
|
|
7820
|
+
type: "validation";
|
|
7821
|
+
on: string;
|
|
7822
|
+
summary?: string;
|
|
7823
|
+
message?: string;
|
|
7824
|
+
found?: unknown;
|
|
7825
|
+
property?: string;
|
|
7826
|
+
expected?: string;
|
|
7827
|
+
};
|
|
7828
|
+
401: "Unauthorized";
|
|
7829
|
+
403: "Forbidden: Admins only";
|
|
7830
|
+
};
|
|
7831
|
+
};
|
|
7832
|
+
};
|
|
7833
|
+
} & {
|
|
7834
|
+
news: {
|
|
7835
|
+
get: {
|
|
7836
|
+
body: {};
|
|
7837
|
+
params: {};
|
|
7838
|
+
query: {
|
|
7839
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
7840
|
+
categoryId?: string | undefined;
|
|
7841
|
+
isPinned?: boolean | undefined;
|
|
7842
|
+
requireReadConfirmation?: boolean | undefined;
|
|
7843
|
+
limit?: number | undefined;
|
|
7844
|
+
offset?: number | undefined;
|
|
7845
|
+
pageSize?: number | undefined;
|
|
7846
|
+
pageIndex?: number | undefined;
|
|
7847
|
+
};
|
|
7848
|
+
headers: {};
|
|
6736
7849
|
response: {
|
|
6737
7850
|
200: {
|
|
6738
7851
|
data: {
|
|
6739
7852
|
id: string;
|
|
6740
|
-
|
|
6741
|
-
|
|
6742
|
-
|
|
7853
|
+
createdAt: Date;
|
|
7854
|
+
updatedAt: Date;
|
|
7855
|
+
expiresAt: Date | null;
|
|
7856
|
+
scope: string[];
|
|
7857
|
+
deletedAt: Date | null;
|
|
7858
|
+
status: "archived" | "draft" | "published";
|
|
6743
7859
|
sortOrder: number;
|
|
6744
|
-
|
|
6745
|
-
|
|
7860
|
+
isHot: boolean;
|
|
7861
|
+
createdBy: string;
|
|
7862
|
+
title: string;
|
|
7863
|
+
content: string;
|
|
7864
|
+
summary: string | null;
|
|
7865
|
+
categoryId: string;
|
|
7866
|
+
isPinned: boolean;
|
|
7867
|
+
hasVideo: boolean;
|
|
7868
|
+
requireReadConfirmation: boolean;
|
|
7869
|
+
externalUrl: string | null;
|
|
7870
|
+
viewCount: number;
|
|
7871
|
+
publishedAt: Date | null;
|
|
7872
|
+
thumbnailId: string | null;
|
|
7873
|
+
attachmentIds: string[] | null;
|
|
7874
|
+
category: {
|
|
7875
|
+
id: string;
|
|
7876
|
+
name: string;
|
|
7877
|
+
createdAt: Date;
|
|
7878
|
+
updatedAt: Date;
|
|
7879
|
+
description: string | null;
|
|
7880
|
+
isActive: boolean;
|
|
7881
|
+
sortOrder: number;
|
|
7882
|
+
slug: string | null;
|
|
7883
|
+
icon: string | null;
|
|
7884
|
+
};
|
|
6746
7885
|
}[];
|
|
6747
7886
|
pagination: {
|
|
6748
|
-
total: number;
|
|
6749
7887
|
pageSize: number;
|
|
6750
7888
|
pageIndex: number;
|
|
7889
|
+
total: number;
|
|
6751
7890
|
totalPages: number;
|
|
6752
7891
|
hasNextPage: boolean;
|
|
6753
7892
|
};
|
|
@@ -6761,30 +7900,88 @@ declare const app: Elysia<"/api", {
|
|
|
6761
7900
|
property?: string;
|
|
6762
7901
|
expected?: string;
|
|
6763
7902
|
};
|
|
7903
|
+
401: "Unauthorized";
|
|
7904
|
+
403: "Forbidden: Admins only";
|
|
6764
7905
|
};
|
|
6765
7906
|
};
|
|
6766
7907
|
};
|
|
6767
7908
|
} & {
|
|
6768
|
-
|
|
7909
|
+
news: {
|
|
6769
7910
|
":id": {
|
|
6770
7911
|
get: {
|
|
6771
|
-
body:
|
|
7912
|
+
body: {};
|
|
6772
7913
|
params: {
|
|
6773
7914
|
id: string;
|
|
6774
7915
|
};
|
|
6775
|
-
query:
|
|
6776
|
-
headers:
|
|
7916
|
+
query: {};
|
|
7917
|
+
headers: {};
|
|
6777
7918
|
response: {
|
|
6778
7919
|
200: {
|
|
6779
7920
|
id: string;
|
|
6780
|
-
name: string;
|
|
6781
7921
|
createdAt: Date;
|
|
6782
7922
|
updatedAt: Date;
|
|
6783
|
-
|
|
6784
|
-
|
|
7923
|
+
expiresAt: Date | null;
|
|
7924
|
+
scope: string[];
|
|
7925
|
+
deletedAt: Date | null;
|
|
7926
|
+
status: "archived" | "draft" | "published";
|
|
6785
7927
|
sortOrder: number;
|
|
6786
|
-
|
|
6787
|
-
|
|
7928
|
+
isHot: boolean;
|
|
7929
|
+
createdBy: string;
|
|
7930
|
+
title: string;
|
|
7931
|
+
content: string;
|
|
7932
|
+
summary: string | null;
|
|
7933
|
+
categoryId: string;
|
|
7934
|
+
isPinned: boolean;
|
|
7935
|
+
hasVideo: boolean;
|
|
7936
|
+
requireReadConfirmation: boolean;
|
|
7937
|
+
externalUrl: string | null;
|
|
7938
|
+
viewCount: number;
|
|
7939
|
+
publishedAt: Date | null;
|
|
7940
|
+
thumbnailId: string | null;
|
|
7941
|
+
attachmentIds: string[] | null;
|
|
7942
|
+
category: {
|
|
7943
|
+
id: string;
|
|
7944
|
+
name: string;
|
|
7945
|
+
createdAt: Date;
|
|
7946
|
+
updatedAt: Date;
|
|
7947
|
+
description: string | null;
|
|
7948
|
+
isActive: boolean;
|
|
7949
|
+
sortOrder: number;
|
|
7950
|
+
slug: string | null;
|
|
7951
|
+
icon: string | null;
|
|
7952
|
+
};
|
|
7953
|
+
thumbnail: {
|
|
7954
|
+
id: string;
|
|
7955
|
+
createdAt: Date;
|
|
7956
|
+
updatedAt: Date;
|
|
7957
|
+
deletedAt: Date | null;
|
|
7958
|
+
fileName: string | null;
|
|
7959
|
+
fileSize: number | null;
|
|
7960
|
+
mimeType: string | null;
|
|
7961
|
+
fileExtension: string | null;
|
|
7962
|
+
fileHash: string | null;
|
|
7963
|
+
s3Bucket: string;
|
|
7964
|
+
s3Key: string;
|
|
7965
|
+
s3Region: string;
|
|
7966
|
+
s3ETag: string | null;
|
|
7967
|
+
businessType: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment";
|
|
7968
|
+
businessId: string | null;
|
|
7969
|
+
businessMetadata: string | null;
|
|
7970
|
+
ownerId: string;
|
|
7971
|
+
accessControl: "private" | "restricted" | "public" | null;
|
|
7972
|
+
status: "uploading" | "active" | "archived" | "pending_deletion" | null;
|
|
7973
|
+
publicUrl: string | null;
|
|
7974
|
+
thumbnailUrl: string | null;
|
|
7975
|
+
archivedAt: Date | null;
|
|
7976
|
+
uploadCompletedAt: Date | null;
|
|
7977
|
+
uploadIpAddress: string | null;
|
|
7978
|
+
downloadCount: number | null;
|
|
7979
|
+
lastDownloadedAt: Date | null;
|
|
7980
|
+
isVerified: boolean | null;
|
|
7981
|
+
verifiedBy: string | null;
|
|
7982
|
+
verifiedAt: Date | null;
|
|
7983
|
+
verificationNote: string | null;
|
|
7984
|
+
} | null;
|
|
6788
7985
|
};
|
|
6789
7986
|
422: {
|
|
6790
7987
|
type: "validation";
|
|
@@ -6795,27 +7992,39 @@ declare const app: Elysia<"/api", {
|
|
|
6795
7992
|
property?: string;
|
|
6796
7993
|
expected?: string;
|
|
6797
7994
|
};
|
|
7995
|
+
401: "Unauthorized";
|
|
7996
|
+
403: "Forbidden: Admins only";
|
|
6798
7997
|
};
|
|
6799
7998
|
};
|
|
6800
7999
|
};
|
|
6801
8000
|
};
|
|
6802
8001
|
} & {
|
|
6803
|
-
|
|
8002
|
+
news: {
|
|
6804
8003
|
":id": {
|
|
6805
8004
|
patch: {
|
|
6806
8005
|
body: {
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
8006
|
+
expiresAt?: Date | null | undefined;
|
|
8007
|
+
scope?: string[] | undefined;
|
|
8008
|
+
status?: "archived" | "draft" | "published" | undefined;
|
|
6810
8009
|
sortOrder?: number | undefined;
|
|
6811
|
-
|
|
6812
|
-
|
|
8010
|
+
isHot?: boolean | undefined;
|
|
8011
|
+
title?: string | undefined;
|
|
8012
|
+
content?: string | undefined;
|
|
8013
|
+
summary?: string | null | undefined;
|
|
8014
|
+
categoryId?: string | undefined;
|
|
8015
|
+
isPinned?: boolean | undefined;
|
|
8016
|
+
hasVideo?: boolean | undefined;
|
|
8017
|
+
requireReadConfirmation?: boolean | undefined;
|
|
8018
|
+
externalUrl?: string | null | undefined;
|
|
8019
|
+
publishedAt?: Date | null | undefined;
|
|
8020
|
+
thumbnailId?: string | null | undefined;
|
|
8021
|
+
attachmentIds?: string[] | null | undefined;
|
|
6813
8022
|
};
|
|
6814
8023
|
params: {
|
|
6815
8024
|
id: string;
|
|
6816
8025
|
};
|
|
6817
|
-
query:
|
|
6818
|
-
headers:
|
|
8026
|
+
query: {};
|
|
8027
|
+
headers: {};
|
|
6819
8028
|
response: {
|
|
6820
8029
|
422: {
|
|
6821
8030
|
type: "validation";
|
|
@@ -6826,20 +8035,22 @@ declare const app: Elysia<"/api", {
|
|
|
6826
8035
|
property?: string;
|
|
6827
8036
|
expected?: string;
|
|
6828
8037
|
};
|
|
8038
|
+
401: "Unauthorized";
|
|
8039
|
+
403: "Forbidden: Admins only";
|
|
6829
8040
|
};
|
|
6830
8041
|
};
|
|
6831
8042
|
};
|
|
6832
8043
|
};
|
|
6833
8044
|
} & {
|
|
6834
|
-
|
|
8045
|
+
news: {
|
|
6835
8046
|
":id": {
|
|
6836
8047
|
delete: {
|
|
6837
|
-
body:
|
|
8048
|
+
body: {};
|
|
6838
8049
|
params: {
|
|
6839
8050
|
id: string;
|
|
6840
8051
|
};
|
|
6841
|
-
query:
|
|
6842
|
-
headers:
|
|
8052
|
+
query: {};
|
|
8053
|
+
headers: {};
|
|
6843
8054
|
response: {
|
|
6844
8055
|
200: {
|
|
6845
8056
|
success: boolean;
|
|
@@ -6853,39 +8064,141 @@ declare const app: Elysia<"/api", {
|
|
|
6853
8064
|
property?: string;
|
|
6854
8065
|
expected?: string;
|
|
6855
8066
|
};
|
|
8067
|
+
401: "Unauthorized";
|
|
8068
|
+
403: "Forbidden: Admins only";
|
|
6856
8069
|
};
|
|
6857
8070
|
};
|
|
6858
8071
|
};
|
|
6859
8072
|
};
|
|
6860
|
-
};
|
|
6861
|
-
} & {
|
|
6862
|
-
admin: {
|
|
6863
|
-
news: {};
|
|
6864
8073
|
} & {
|
|
6865
8074
|
news: {
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
|
|
6873
|
-
|
|
6874
|
-
|
|
6875
|
-
|
|
6876
|
-
|
|
6877
|
-
|
|
6878
|
-
|
|
6879
|
-
|
|
6880
|
-
|
|
6881
|
-
|
|
6882
|
-
|
|
6883
|
-
|
|
8075
|
+
":id": {
|
|
8076
|
+
pin: {
|
|
8077
|
+
post: {
|
|
8078
|
+
body: {
|
|
8079
|
+
sortOrder?: number | undefined;
|
|
8080
|
+
isPinned: boolean;
|
|
8081
|
+
};
|
|
8082
|
+
params: {
|
|
8083
|
+
id: string;
|
|
8084
|
+
};
|
|
8085
|
+
query: {};
|
|
8086
|
+
headers: {};
|
|
8087
|
+
response: {
|
|
8088
|
+
422: {
|
|
8089
|
+
type: "validation";
|
|
8090
|
+
on: string;
|
|
8091
|
+
summary?: string;
|
|
8092
|
+
message?: string;
|
|
8093
|
+
found?: unknown;
|
|
8094
|
+
property?: string;
|
|
8095
|
+
expected?: string;
|
|
8096
|
+
};
|
|
8097
|
+
401: "Unauthorized";
|
|
8098
|
+
403: "Forbidden: Admins only";
|
|
8099
|
+
};
|
|
8100
|
+
};
|
|
8101
|
+
};
|
|
8102
|
+
};
|
|
8103
|
+
};
|
|
8104
|
+
} & {
|
|
8105
|
+
news: {
|
|
8106
|
+
":id": {
|
|
8107
|
+
hot: {
|
|
8108
|
+
post: {
|
|
8109
|
+
body: {
|
|
8110
|
+
isHot: boolean;
|
|
8111
|
+
};
|
|
8112
|
+
params: {
|
|
8113
|
+
id: string;
|
|
8114
|
+
};
|
|
8115
|
+
query: {};
|
|
8116
|
+
headers: {};
|
|
8117
|
+
response: {
|
|
8118
|
+
422: {
|
|
8119
|
+
type: "validation";
|
|
8120
|
+
on: string;
|
|
8121
|
+
summary?: string;
|
|
8122
|
+
message?: string;
|
|
8123
|
+
found?: unknown;
|
|
8124
|
+
property?: string;
|
|
8125
|
+
expected?: string;
|
|
8126
|
+
};
|
|
8127
|
+
401: "Unauthorized";
|
|
8128
|
+
403: "Forbidden: Admins only";
|
|
8129
|
+
};
|
|
8130
|
+
};
|
|
8131
|
+
};
|
|
8132
|
+
};
|
|
8133
|
+
};
|
|
8134
|
+
} & {
|
|
8135
|
+
news: {
|
|
8136
|
+
stats: {
|
|
8137
|
+
get: {
|
|
8138
|
+
body: {};
|
|
8139
|
+
params: {};
|
|
8140
|
+
query: {};
|
|
8141
|
+
headers: {};
|
|
8142
|
+
response: {
|
|
8143
|
+
200: {
|
|
8144
|
+
total: number;
|
|
8145
|
+
published: number;
|
|
8146
|
+
pinned: number;
|
|
8147
|
+
requireConfirmation: number;
|
|
8148
|
+
};
|
|
8149
|
+
401: "Unauthorized";
|
|
8150
|
+
403: "Forbidden: Admins only";
|
|
8151
|
+
};
|
|
6884
8152
|
};
|
|
8153
|
+
};
|
|
8154
|
+
};
|
|
8155
|
+
};
|
|
8156
|
+
} & {
|
|
8157
|
+
admin: {
|
|
8158
|
+
operations_overview: {};
|
|
8159
|
+
} & {
|
|
8160
|
+
operations_overview: {
|
|
8161
|
+
get: {
|
|
8162
|
+
body: {};
|
|
6885
8163
|
params: {};
|
|
6886
|
-
query: {
|
|
8164
|
+
query: {
|
|
8165
|
+
startDate: string;
|
|
8166
|
+
endDate: string;
|
|
8167
|
+
};
|
|
6887
8168
|
headers: {};
|
|
6888
8169
|
response: {
|
|
8170
|
+
200: {
|
|
8171
|
+
summary: {
|
|
8172
|
+
onlineUserCount: number;
|
|
8173
|
+
onlineDeviceCount: number | null;
|
|
8174
|
+
loginUserCountInRange: number;
|
|
8175
|
+
totalRegisteredUserCount: number;
|
|
8176
|
+
totalDownloadCount: number | null;
|
|
8177
|
+
};
|
|
8178
|
+
range: {
|
|
8179
|
+
startDate: string;
|
|
8180
|
+
endDate: string;
|
|
8181
|
+
};
|
|
8182
|
+
neverLoggedInUserCount: number;
|
|
8183
|
+
loginUserTrend: {
|
|
8184
|
+
date: string;
|
|
8185
|
+
count: number;
|
|
8186
|
+
}[];
|
|
8187
|
+
newUserTrend: {
|
|
8188
|
+
date: string;
|
|
8189
|
+
count: number;
|
|
8190
|
+
}[];
|
|
8191
|
+
onlinePlatformDistribution: {
|
|
8192
|
+
platform: "android" | "ios" | "unknown" | "web";
|
|
8193
|
+
count: number;
|
|
8194
|
+
percent: number;
|
|
8195
|
+
}[];
|
|
8196
|
+
meta: {
|
|
8197
|
+
onlineDeviceCountAvailable: boolean;
|
|
8198
|
+
totalDownloadCountAvailable: boolean;
|
|
8199
|
+
loginTrendMetric: string;
|
|
8200
|
+
};
|
|
8201
|
+
};
|
|
6889
8202
|
422: {
|
|
6890
8203
|
type: "validation";
|
|
6891
8204
|
on: string;
|
|
@@ -6895,21 +8208,28 @@ declare const app: Elysia<"/api", {
|
|
|
6895
8208
|
property?: string;
|
|
6896
8209
|
expected?: string;
|
|
6897
8210
|
};
|
|
8211
|
+
400: {
|
|
8212
|
+
message: string;
|
|
8213
|
+
};
|
|
6898
8214
|
401: "Unauthorized";
|
|
6899
8215
|
403: "Forbidden: Admins only";
|
|
6900
8216
|
};
|
|
6901
8217
|
};
|
|
6902
8218
|
};
|
|
8219
|
+
};
|
|
8220
|
+
} & {
|
|
8221
|
+
admin: {
|
|
8222
|
+
app_versions: {};
|
|
6903
8223
|
} & {
|
|
6904
|
-
|
|
8224
|
+
app_versions: {
|
|
6905
8225
|
get: {
|
|
6906
8226
|
body: {};
|
|
6907
8227
|
params: {};
|
|
6908
8228
|
query: {
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
8229
|
+
version?: string | undefined;
|
|
8230
|
+
platform?: "android" | "ios" | undefined;
|
|
8231
|
+
isLatest?: boolean | undefined;
|
|
8232
|
+
isEnabled?: boolean | undefined;
|
|
6913
8233
|
limit?: number | undefined;
|
|
6914
8234
|
offset?: number | undefined;
|
|
6915
8235
|
pageSize?: number | undefined;
|
|
@@ -6922,41 +8242,20 @@ declare const app: Elysia<"/api", {
|
|
|
6922
8242
|
id: string;
|
|
6923
8243
|
createdAt: Date;
|
|
6924
8244
|
updatedAt: Date;
|
|
6925
|
-
|
|
6926
|
-
scope: string[];
|
|
6927
|
-
deletedAt: Date | null;
|
|
6928
|
-
status: "archived" | "draft" | "published";
|
|
8245
|
+
description: string | null;
|
|
6929
8246
|
sortOrder: number;
|
|
6930
|
-
|
|
8247
|
+
version: string;
|
|
6931
8248
|
createdBy: string;
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
hasVideo: boolean;
|
|
6938
|
-
requireReadConfirmation: boolean;
|
|
6939
|
-
externalUrl: string | null;
|
|
6940
|
-
viewCount: number;
|
|
6941
|
-
publishedAt: Date | null;
|
|
6942
|
-
thumbnailId: string | null;
|
|
6943
|
-
attachmentIds: string[] | null;
|
|
6944
|
-
category: {
|
|
6945
|
-
id: string;
|
|
6946
|
-
name: string;
|
|
6947
|
-
createdAt: Date;
|
|
6948
|
-
updatedAt: Date;
|
|
6949
|
-
description: string | null;
|
|
6950
|
-
isActive: boolean;
|
|
6951
|
-
sortOrder: number;
|
|
6952
|
-
slug: string | null;
|
|
6953
|
-
icon: string | null;
|
|
6954
|
-
};
|
|
8249
|
+
platform: "android" | "ios";
|
|
8250
|
+
downloadUrl: string;
|
|
8251
|
+
forceUpdate: boolean;
|
|
8252
|
+
isLatest: boolean;
|
|
8253
|
+
isEnabled: boolean;
|
|
6955
8254
|
}[];
|
|
6956
8255
|
pagination: {
|
|
8256
|
+
total: number;
|
|
6957
8257
|
pageSize: number;
|
|
6958
8258
|
pageIndex: number;
|
|
6959
|
-
total: number;
|
|
6960
8259
|
totalPages: number;
|
|
6961
8260
|
hasNextPage: boolean;
|
|
6962
8261
|
};
|
|
@@ -6976,119 +8275,49 @@ declare const app: Elysia<"/api", {
|
|
|
6976
8275
|
};
|
|
6977
8276
|
};
|
|
6978
8277
|
} & {
|
|
6979
|
-
|
|
6980
|
-
|
|
6981
|
-
|
|
6982
|
-
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
|
-
|
|
7003
|
-
categoryId: string;
|
|
7004
|
-
isPinned: boolean;
|
|
7005
|
-
hasVideo: boolean;
|
|
7006
|
-
requireReadConfirmation: boolean;
|
|
7007
|
-
externalUrl: string | null;
|
|
7008
|
-
viewCount: number;
|
|
7009
|
-
publishedAt: Date | null;
|
|
7010
|
-
thumbnailId: string | null;
|
|
7011
|
-
attachmentIds: string[] | null;
|
|
7012
|
-
category: {
|
|
7013
|
-
id: string;
|
|
7014
|
-
name: string;
|
|
7015
|
-
createdAt: Date;
|
|
7016
|
-
updatedAt: Date;
|
|
7017
|
-
description: string | null;
|
|
7018
|
-
isActive: boolean;
|
|
7019
|
-
sortOrder: number;
|
|
7020
|
-
slug: string | null;
|
|
7021
|
-
icon: string | null;
|
|
7022
|
-
};
|
|
7023
|
-
thumbnail: {
|
|
7024
|
-
id: string;
|
|
7025
|
-
createdAt: Date;
|
|
7026
|
-
updatedAt: Date;
|
|
7027
|
-
deletedAt: Date | null;
|
|
7028
|
-
fileName: string | null;
|
|
7029
|
-
fileSize: number | null;
|
|
7030
|
-
mimeType: string | null;
|
|
7031
|
-
fileExtension: string | null;
|
|
7032
|
-
fileHash: string | null;
|
|
7033
|
-
s3Bucket: string;
|
|
7034
|
-
s3Key: string;
|
|
7035
|
-
s3Region: string;
|
|
7036
|
-
s3ETag: string | null;
|
|
7037
|
-
businessType: "other" | "kyc_document" | "contract" | "financial_report" | "ledger_account_import" | "avatar" | "cover_image" | "notification_attachment" | "transaction_receipt" | "export_report" | "bank_verification" | "news_attachment";
|
|
7038
|
-
businessId: string | null;
|
|
7039
|
-
businessMetadata: string | null;
|
|
7040
|
-
ownerId: string;
|
|
7041
|
-
accessControl: "private" | "restricted" | "public" | null;
|
|
7042
|
-
status: "uploading" | "active" | "archived" | "pending_deletion" | null;
|
|
7043
|
-
publicUrl: string | null;
|
|
7044
|
-
thumbnailUrl: string | null;
|
|
7045
|
-
archivedAt: Date | null;
|
|
7046
|
-
uploadCompletedAt: Date | null;
|
|
7047
|
-
uploadIpAddress: string | null;
|
|
7048
|
-
downloadCount: number | null;
|
|
7049
|
-
lastDownloadedAt: Date | null;
|
|
7050
|
-
isVerified: boolean | null;
|
|
7051
|
-
verifiedBy: string | null;
|
|
7052
|
-
verifiedAt: Date | null;
|
|
7053
|
-
verificationNote: string | null;
|
|
7054
|
-
} | null;
|
|
7055
|
-
};
|
|
7056
|
-
422: {
|
|
7057
|
-
type: "validation";
|
|
7058
|
-
on: string;
|
|
7059
|
-
summary?: string;
|
|
7060
|
-
message?: string;
|
|
7061
|
-
found?: unknown;
|
|
7062
|
-
property?: string;
|
|
7063
|
-
expected?: string;
|
|
7064
|
-
};
|
|
7065
|
-
401: "Unauthorized";
|
|
7066
|
-
403: "Forbidden: Admins only";
|
|
8278
|
+
app_versions: {
|
|
8279
|
+
post: {
|
|
8280
|
+
body: {
|
|
8281
|
+
description?: string | null | undefined;
|
|
8282
|
+
sortOrder?: number | undefined;
|
|
8283
|
+
forceUpdate?: boolean | undefined;
|
|
8284
|
+
isLatest?: boolean | undefined;
|
|
8285
|
+
isEnabled?: boolean | undefined;
|
|
8286
|
+
version: string;
|
|
8287
|
+
platform: "android" | "ios";
|
|
8288
|
+
downloadUrl: string;
|
|
8289
|
+
};
|
|
8290
|
+
params: {};
|
|
8291
|
+
query: {};
|
|
8292
|
+
headers: {};
|
|
8293
|
+
response: {
|
|
8294
|
+
422: {
|
|
8295
|
+
type: "validation";
|
|
8296
|
+
on: string;
|
|
8297
|
+
summary?: string;
|
|
8298
|
+
message?: string;
|
|
8299
|
+
found?: unknown;
|
|
8300
|
+
property?: string;
|
|
8301
|
+
expected?: string;
|
|
7067
8302
|
};
|
|
8303
|
+
401: "Unauthorized";
|
|
8304
|
+
403: "Forbidden: Admins only";
|
|
7068
8305
|
};
|
|
7069
8306
|
};
|
|
7070
8307
|
};
|
|
7071
8308
|
} & {
|
|
7072
|
-
|
|
8309
|
+
app_versions: {
|
|
7073
8310
|
":id": {
|
|
7074
8311
|
patch: {
|
|
7075
8312
|
body: {
|
|
7076
|
-
|
|
7077
|
-
scope?: string[] | undefined;
|
|
7078
|
-
status?: "archived" | "draft" | "published" | undefined;
|
|
8313
|
+
description?: string | null | undefined;
|
|
7079
8314
|
sortOrder?: number | undefined;
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
hasVideo?: boolean | undefined;
|
|
7087
|
-
requireReadConfirmation?: boolean | undefined;
|
|
7088
|
-
externalUrl?: string | null | undefined;
|
|
7089
|
-
publishedAt?: Date | null | undefined;
|
|
7090
|
-
thumbnailId?: string | null | undefined;
|
|
7091
|
-
attachmentIds?: string[] | null | undefined;
|
|
8315
|
+
version?: string | undefined;
|
|
8316
|
+
platform?: "android" | "ios" | undefined;
|
|
8317
|
+
downloadUrl?: string | undefined;
|
|
8318
|
+
forceUpdate?: boolean | undefined;
|
|
8319
|
+
isLatest?: boolean | undefined;
|
|
8320
|
+
isEnabled?: boolean | undefined;
|
|
7092
8321
|
};
|
|
7093
8322
|
params: {
|
|
7094
8323
|
id: string;
|
|
@@ -7096,6 +8325,21 @@ declare const app: Elysia<"/api", {
|
|
|
7096
8325
|
query: {};
|
|
7097
8326
|
headers: {};
|
|
7098
8327
|
response: {
|
|
8328
|
+
200: {
|
|
8329
|
+
deletedAt: Date | null;
|
|
8330
|
+
createdAt: Date;
|
|
8331
|
+
updatedAt: Date;
|
|
8332
|
+
id: string;
|
|
8333
|
+
platform: "android" | "ios";
|
|
8334
|
+
version: string;
|
|
8335
|
+
downloadUrl: string;
|
|
8336
|
+
description: string | null;
|
|
8337
|
+
forceUpdate: boolean;
|
|
8338
|
+
isLatest: boolean;
|
|
8339
|
+
isEnabled: boolean;
|
|
8340
|
+
sortOrder: number;
|
|
8341
|
+
createdBy: string;
|
|
8342
|
+
} | null;
|
|
7099
8343
|
422: {
|
|
7100
8344
|
type: "validation";
|
|
7101
8345
|
on: string;
|
|
@@ -7112,42 +8356,57 @@ declare const app: Elysia<"/api", {
|
|
|
7112
8356
|
};
|
|
7113
8357
|
};
|
|
7114
8358
|
} & {
|
|
7115
|
-
|
|
8359
|
+
app_versions: {
|
|
7116
8360
|
":id": {
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
};
|
|
7122
|
-
query: {};
|
|
7123
|
-
headers: {};
|
|
7124
|
-
response: {
|
|
7125
|
-
200: {
|
|
7126
|
-
success: boolean;
|
|
8361
|
+
latest: {
|
|
8362
|
+
post: {
|
|
8363
|
+
body: {
|
|
8364
|
+
isLatest: boolean;
|
|
7127
8365
|
};
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7132
|
-
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
8366
|
+
params: {
|
|
8367
|
+
id: string;
|
|
8368
|
+
};
|
|
8369
|
+
query: {};
|
|
8370
|
+
headers: {};
|
|
8371
|
+
response: {
|
|
8372
|
+
200: {
|
|
8373
|
+
deletedAt: Date | null;
|
|
8374
|
+
createdAt: Date;
|
|
8375
|
+
updatedAt: Date;
|
|
8376
|
+
id: string;
|
|
8377
|
+
platform: "android" | "ios";
|
|
8378
|
+
version: string;
|
|
8379
|
+
downloadUrl: string;
|
|
8380
|
+
description: string | null;
|
|
8381
|
+
forceUpdate: boolean;
|
|
8382
|
+
isLatest: boolean;
|
|
8383
|
+
isEnabled: boolean;
|
|
8384
|
+
sortOrder: number;
|
|
8385
|
+
createdBy: string;
|
|
8386
|
+
} | null;
|
|
8387
|
+
422: {
|
|
8388
|
+
type: "validation";
|
|
8389
|
+
on: string;
|
|
8390
|
+
summary?: string;
|
|
8391
|
+
message?: string;
|
|
8392
|
+
found?: unknown;
|
|
8393
|
+
property?: string;
|
|
8394
|
+
expected?: string;
|
|
8395
|
+
};
|
|
8396
|
+
401: "Unauthorized";
|
|
8397
|
+
403: "Forbidden: Admins only";
|
|
7136
8398
|
};
|
|
7137
|
-
401: "Unauthorized";
|
|
7138
|
-
403: "Forbidden: Admins only";
|
|
7139
8399
|
};
|
|
7140
8400
|
};
|
|
7141
8401
|
};
|
|
7142
8402
|
};
|
|
7143
8403
|
} & {
|
|
7144
|
-
|
|
8404
|
+
app_versions: {
|
|
7145
8405
|
":id": {
|
|
7146
|
-
|
|
8406
|
+
force_update: {
|
|
7147
8407
|
post: {
|
|
7148
8408
|
body: {
|
|
7149
|
-
|
|
7150
|
-
isPinned: boolean;
|
|
8409
|
+
forceUpdate: boolean;
|
|
7151
8410
|
};
|
|
7152
8411
|
params: {
|
|
7153
8412
|
id: string;
|
|
@@ -7155,6 +8414,21 @@ declare const app: Elysia<"/api", {
|
|
|
7155
8414
|
query: {};
|
|
7156
8415
|
headers: {};
|
|
7157
8416
|
response: {
|
|
8417
|
+
200: {
|
|
8418
|
+
deletedAt: Date | null;
|
|
8419
|
+
createdAt: Date;
|
|
8420
|
+
updatedAt: Date;
|
|
8421
|
+
id: string;
|
|
8422
|
+
platform: "android" | "ios";
|
|
8423
|
+
version: string;
|
|
8424
|
+
downloadUrl: string;
|
|
8425
|
+
description: string | null;
|
|
8426
|
+
forceUpdate: boolean;
|
|
8427
|
+
isLatest: boolean;
|
|
8428
|
+
isEnabled: boolean;
|
|
8429
|
+
sortOrder: number;
|
|
8430
|
+
createdBy: string;
|
|
8431
|
+
} | null;
|
|
7158
8432
|
422: {
|
|
7159
8433
|
type: "validation";
|
|
7160
8434
|
on: string;
|
|
@@ -7172,12 +8446,12 @@ declare const app: Elysia<"/api", {
|
|
|
7172
8446
|
};
|
|
7173
8447
|
};
|
|
7174
8448
|
} & {
|
|
7175
|
-
|
|
8449
|
+
app_versions: {
|
|
7176
8450
|
":id": {
|
|
7177
|
-
|
|
8451
|
+
enabled: {
|
|
7178
8452
|
post: {
|
|
7179
8453
|
body: {
|
|
7180
|
-
|
|
8454
|
+
isEnabled: boolean;
|
|
7181
8455
|
};
|
|
7182
8456
|
params: {
|
|
7183
8457
|
id: string;
|
|
@@ -7185,6 +8459,21 @@ declare const app: Elysia<"/api", {
|
|
|
7185
8459
|
query: {};
|
|
7186
8460
|
headers: {};
|
|
7187
8461
|
response: {
|
|
8462
|
+
200: {
|
|
8463
|
+
deletedAt: Date | null;
|
|
8464
|
+
createdAt: Date;
|
|
8465
|
+
updatedAt: Date;
|
|
8466
|
+
id: string;
|
|
8467
|
+
platform: "android" | "ios";
|
|
8468
|
+
version: string;
|
|
8469
|
+
downloadUrl: string;
|
|
8470
|
+
description: string | null;
|
|
8471
|
+
forceUpdate: boolean;
|
|
8472
|
+
isLatest: boolean;
|
|
8473
|
+
isEnabled: boolean;
|
|
8474
|
+
sortOrder: number;
|
|
8475
|
+
createdBy: string;
|
|
8476
|
+
} | null;
|
|
7188
8477
|
422: {
|
|
7189
8478
|
type: "validation";
|
|
7190
8479
|
on: string;
|
|
@@ -7202,19 +8491,27 @@ declare const app: Elysia<"/api", {
|
|
|
7202
8491
|
};
|
|
7203
8492
|
};
|
|
7204
8493
|
} & {
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
8494
|
+
app_versions: {
|
|
8495
|
+
":id": {
|
|
8496
|
+
delete: {
|
|
7208
8497
|
body: {};
|
|
7209
|
-
params: {
|
|
8498
|
+
params: {
|
|
8499
|
+
id: string;
|
|
8500
|
+
};
|
|
7210
8501
|
query: {};
|
|
7211
8502
|
headers: {};
|
|
7212
8503
|
response: {
|
|
7213
8504
|
200: {
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
8505
|
+
success: boolean;
|
|
8506
|
+
};
|
|
8507
|
+
422: {
|
|
8508
|
+
type: "validation";
|
|
8509
|
+
on: string;
|
|
8510
|
+
summary?: string;
|
|
8511
|
+
message?: string;
|
|
8512
|
+
found?: unknown;
|
|
8513
|
+
property?: string;
|
|
8514
|
+
expected?: string;
|
|
7218
8515
|
};
|
|
7219
8516
|
401: "Unauthorized";
|
|
7220
8517
|
403: "Forbidden: Admins only";
|
|
@@ -7378,7 +8675,6 @@ declare const app: Elysia<"/api", {
|
|
|
7378
8675
|
body: {
|
|
7379
8676
|
description?: string | null | undefined;
|
|
7380
8677
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
7381
|
-
coverImageUrl?: string | null | undefined;
|
|
7382
8678
|
minShares?: number | undefined;
|
|
7383
8679
|
maxSharesPerOrder?: number | null | undefined;
|
|
7384
8680
|
saleStartAt?: Date | null | undefined;
|
|
@@ -7394,6 +8690,7 @@ declare const app: Elysia<"/api", {
|
|
|
7394
8690
|
cycleDays: number;
|
|
7395
8691
|
dailyYieldRate: string;
|
|
7396
8692
|
maturityYieldRate: string;
|
|
8693
|
+
coverImageFileId: string;
|
|
7397
8694
|
};
|
|
7398
8695
|
params: {};
|
|
7399
8696
|
query: {};
|
|
@@ -7421,6 +8718,42 @@ declare const app: Elysia<"/api", {
|
|
|
7421
8718
|
maxSharesPerOrder: number | null;
|
|
7422
8719
|
saleStartAt: Date | null;
|
|
7423
8720
|
saleEndAt: Date | null;
|
|
8721
|
+
rightsAsset: {
|
|
8722
|
+
symbol: string;
|
|
8723
|
+
id: string;
|
|
8724
|
+
name: string;
|
|
8725
|
+
code: string;
|
|
8726
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8727
|
+
isActive: boolean;
|
|
8728
|
+
precision: number;
|
|
8729
|
+
};
|
|
8730
|
+
pricingAsset: {
|
|
8731
|
+
symbol: string;
|
|
8732
|
+
id: string;
|
|
8733
|
+
name: string;
|
|
8734
|
+
code: string;
|
|
8735
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8736
|
+
isActive: boolean;
|
|
8737
|
+
precision: number;
|
|
8738
|
+
};
|
|
8739
|
+
sourcePricingAccountType: {
|
|
8740
|
+
id: string;
|
|
8741
|
+
name: string;
|
|
8742
|
+
key: string;
|
|
8743
|
+
isActive: boolean;
|
|
8744
|
+
};
|
|
8745
|
+
dailyPayoutAccountType: {
|
|
8746
|
+
id: string;
|
|
8747
|
+
name: string;
|
|
8748
|
+
key: string;
|
|
8749
|
+
isActive: boolean;
|
|
8750
|
+
};
|
|
8751
|
+
maturitySettlementAccountType: {
|
|
8752
|
+
id: string;
|
|
8753
|
+
name: string;
|
|
8754
|
+
key: string;
|
|
8755
|
+
isActive: boolean;
|
|
8756
|
+
};
|
|
7424
8757
|
};
|
|
7425
8758
|
422: {
|
|
7426
8759
|
type: "validation";
|
|
@@ -7446,7 +8779,6 @@ declare const app: Elysia<"/api", {
|
|
|
7446
8779
|
name?: string | undefined;
|
|
7447
8780
|
description?: string | null | undefined;
|
|
7448
8781
|
status?: "active" | "draft" | "paused" | "ended" | undefined;
|
|
7449
|
-
coverImageUrl?: string | null | undefined;
|
|
7450
8782
|
rightsAssetId?: string | undefined;
|
|
7451
8783
|
pricingAssetId?: string | undefined;
|
|
7452
8784
|
sourcePricingAccountTypeId?: string | undefined;
|
|
@@ -7461,6 +8793,7 @@ declare const app: Elysia<"/api", {
|
|
|
7461
8793
|
maxSharesPerOrder?: number | null | undefined;
|
|
7462
8794
|
saleStartAt?: Date | null | undefined;
|
|
7463
8795
|
saleEndAt?: Date | null | undefined;
|
|
8796
|
+
coverImageFileId?: string | undefined;
|
|
7464
8797
|
};
|
|
7465
8798
|
params: {
|
|
7466
8799
|
id: string;
|
|
@@ -7490,6 +8823,42 @@ declare const app: Elysia<"/api", {
|
|
|
7490
8823
|
maxSharesPerOrder: number | null;
|
|
7491
8824
|
saleStartAt: Date | null;
|
|
7492
8825
|
saleEndAt: Date | null;
|
|
8826
|
+
rightsAsset: {
|
|
8827
|
+
symbol: string;
|
|
8828
|
+
id: string;
|
|
8829
|
+
name: string;
|
|
8830
|
+
code: string;
|
|
8831
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8832
|
+
isActive: boolean;
|
|
8833
|
+
precision: number;
|
|
8834
|
+
};
|
|
8835
|
+
pricingAsset: {
|
|
8836
|
+
symbol: string;
|
|
8837
|
+
id: string;
|
|
8838
|
+
name: string;
|
|
8839
|
+
code: string;
|
|
8840
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8841
|
+
isActive: boolean;
|
|
8842
|
+
precision: number;
|
|
8843
|
+
};
|
|
8844
|
+
sourcePricingAccountType: {
|
|
8845
|
+
id: string;
|
|
8846
|
+
name: string;
|
|
8847
|
+
key: string;
|
|
8848
|
+
isActive: boolean;
|
|
8849
|
+
};
|
|
8850
|
+
dailyPayoutAccountType: {
|
|
8851
|
+
id: string;
|
|
8852
|
+
name: string;
|
|
8853
|
+
key: string;
|
|
8854
|
+
isActive: boolean;
|
|
8855
|
+
};
|
|
8856
|
+
maturitySettlementAccountType: {
|
|
8857
|
+
id: string;
|
|
8858
|
+
name: string;
|
|
8859
|
+
key: string;
|
|
8860
|
+
isActive: boolean;
|
|
8861
|
+
};
|
|
7493
8862
|
};
|
|
7494
8863
|
422: {
|
|
7495
8864
|
type: "validation";
|
|
@@ -7542,6 +8911,42 @@ declare const app: Elysia<"/api", {
|
|
|
7542
8911
|
maxSharesPerOrder: number | null;
|
|
7543
8912
|
saleStartAt: Date | null;
|
|
7544
8913
|
saleEndAt: Date | null;
|
|
8914
|
+
rightsAsset: {
|
|
8915
|
+
symbol: string;
|
|
8916
|
+
id: string;
|
|
8917
|
+
name: string;
|
|
8918
|
+
code: string;
|
|
8919
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8920
|
+
isActive: boolean;
|
|
8921
|
+
precision: number;
|
|
8922
|
+
};
|
|
8923
|
+
pricingAsset: {
|
|
8924
|
+
symbol: string;
|
|
8925
|
+
id: string;
|
|
8926
|
+
name: string;
|
|
8927
|
+
code: string;
|
|
8928
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
8929
|
+
isActive: boolean;
|
|
8930
|
+
precision: number;
|
|
8931
|
+
};
|
|
8932
|
+
sourcePricingAccountType: {
|
|
8933
|
+
id: string;
|
|
8934
|
+
name: string;
|
|
8935
|
+
key: string;
|
|
8936
|
+
isActive: boolean;
|
|
8937
|
+
};
|
|
8938
|
+
dailyPayoutAccountType: {
|
|
8939
|
+
id: string;
|
|
8940
|
+
name: string;
|
|
8941
|
+
key: string;
|
|
8942
|
+
isActive: boolean;
|
|
8943
|
+
};
|
|
8944
|
+
maturitySettlementAccountType: {
|
|
8945
|
+
id: string;
|
|
8946
|
+
name: string;
|
|
8947
|
+
key: string;
|
|
8948
|
+
isActive: boolean;
|
|
8949
|
+
};
|
|
7545
8950
|
};
|
|
7546
8951
|
422: {
|
|
7547
8952
|
type: "validation";
|
|
@@ -7595,6 +9000,42 @@ declare const app: Elysia<"/api", {
|
|
|
7595
9000
|
maxSharesPerOrder: number | null;
|
|
7596
9001
|
saleStartAt: Date | null;
|
|
7597
9002
|
saleEndAt: Date | null;
|
|
9003
|
+
rightsAsset: {
|
|
9004
|
+
symbol: string;
|
|
9005
|
+
id: string;
|
|
9006
|
+
name: string;
|
|
9007
|
+
code: string;
|
|
9008
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9009
|
+
isActive: boolean;
|
|
9010
|
+
precision: number;
|
|
9011
|
+
};
|
|
9012
|
+
pricingAsset: {
|
|
9013
|
+
symbol: string;
|
|
9014
|
+
id: string;
|
|
9015
|
+
name: string;
|
|
9016
|
+
code: string;
|
|
9017
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9018
|
+
isActive: boolean;
|
|
9019
|
+
precision: number;
|
|
9020
|
+
};
|
|
9021
|
+
sourcePricingAccountType: {
|
|
9022
|
+
id: string;
|
|
9023
|
+
name: string;
|
|
9024
|
+
key: string;
|
|
9025
|
+
isActive: boolean;
|
|
9026
|
+
};
|
|
9027
|
+
dailyPayoutAccountType: {
|
|
9028
|
+
id: string;
|
|
9029
|
+
name: string;
|
|
9030
|
+
key: string;
|
|
9031
|
+
isActive: boolean;
|
|
9032
|
+
};
|
|
9033
|
+
maturitySettlementAccountType: {
|
|
9034
|
+
id: string;
|
|
9035
|
+
name: string;
|
|
9036
|
+
key: string;
|
|
9037
|
+
isActive: boolean;
|
|
9038
|
+
};
|
|
7598
9039
|
};
|
|
7599
9040
|
422: {
|
|
7600
9041
|
type: "validation";
|
|
@@ -7648,6 +9089,42 @@ declare const app: Elysia<"/api", {
|
|
|
7648
9089
|
maxSharesPerOrder: number | null;
|
|
7649
9090
|
saleStartAt: Date | null;
|
|
7650
9091
|
saleEndAt: Date | null;
|
|
9092
|
+
rightsAsset: {
|
|
9093
|
+
symbol: string;
|
|
9094
|
+
id: string;
|
|
9095
|
+
name: string;
|
|
9096
|
+
code: string;
|
|
9097
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9098
|
+
isActive: boolean;
|
|
9099
|
+
precision: number;
|
|
9100
|
+
};
|
|
9101
|
+
pricingAsset: {
|
|
9102
|
+
symbol: string;
|
|
9103
|
+
id: string;
|
|
9104
|
+
name: string;
|
|
9105
|
+
code: string;
|
|
9106
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9107
|
+
isActive: boolean;
|
|
9108
|
+
precision: number;
|
|
9109
|
+
};
|
|
9110
|
+
sourcePricingAccountType: {
|
|
9111
|
+
id: string;
|
|
9112
|
+
name: string;
|
|
9113
|
+
key: string;
|
|
9114
|
+
isActive: boolean;
|
|
9115
|
+
};
|
|
9116
|
+
dailyPayoutAccountType: {
|
|
9117
|
+
id: string;
|
|
9118
|
+
name: string;
|
|
9119
|
+
key: string;
|
|
9120
|
+
isActive: boolean;
|
|
9121
|
+
};
|
|
9122
|
+
maturitySettlementAccountType: {
|
|
9123
|
+
id: string;
|
|
9124
|
+
name: string;
|
|
9125
|
+
key: string;
|
|
9126
|
+
isActive: boolean;
|
|
9127
|
+
};
|
|
7651
9128
|
};
|
|
7652
9129
|
422: {
|
|
7653
9130
|
type: "validation";
|
|
@@ -7704,6 +9181,42 @@ declare const app: Elysia<"/api", {
|
|
|
7704
9181
|
maxSharesPerOrder: number | null;
|
|
7705
9182
|
saleStartAt: Date | null;
|
|
7706
9183
|
saleEndAt: Date | null;
|
|
9184
|
+
rightsAsset: {
|
|
9185
|
+
symbol: string;
|
|
9186
|
+
id: string;
|
|
9187
|
+
name: string;
|
|
9188
|
+
code: string;
|
|
9189
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9190
|
+
isActive: boolean;
|
|
9191
|
+
precision: number;
|
|
9192
|
+
};
|
|
9193
|
+
pricingAsset: {
|
|
9194
|
+
symbol: string;
|
|
9195
|
+
id: string;
|
|
9196
|
+
name: string;
|
|
9197
|
+
code: string;
|
|
9198
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9199
|
+
isActive: boolean;
|
|
9200
|
+
precision: number;
|
|
9201
|
+
};
|
|
9202
|
+
sourcePricingAccountType: {
|
|
9203
|
+
id: string;
|
|
9204
|
+
name: string;
|
|
9205
|
+
key: string;
|
|
9206
|
+
isActive: boolean;
|
|
9207
|
+
};
|
|
9208
|
+
dailyPayoutAccountType: {
|
|
9209
|
+
id: string;
|
|
9210
|
+
name: string;
|
|
9211
|
+
key: string;
|
|
9212
|
+
isActive: boolean;
|
|
9213
|
+
};
|
|
9214
|
+
maturitySettlementAccountType: {
|
|
9215
|
+
id: string;
|
|
9216
|
+
name: string;
|
|
9217
|
+
key: string;
|
|
9218
|
+
isActive: boolean;
|
|
9219
|
+
};
|
|
7707
9220
|
}[];
|
|
7708
9221
|
pagination: {
|
|
7709
9222
|
total: number;
|
|
@@ -7747,6 +9260,14 @@ declare const app: Elysia<"/api", {
|
|
|
7747
9260
|
response: {
|
|
7748
9261
|
200: {
|
|
7749
9262
|
data: {
|
|
9263
|
+
user: {
|
|
9264
|
+
email: string;
|
|
9265
|
+
id: string;
|
|
9266
|
+
username: string | null;
|
|
9267
|
+
displayUsername: string | null;
|
|
9268
|
+
phoneNumber: string | null;
|
|
9269
|
+
banned: boolean | null;
|
|
9270
|
+
};
|
|
7750
9271
|
id: string;
|
|
7751
9272
|
createdAt: Date;
|
|
7752
9273
|
updatedAt: Date;
|
|
@@ -7772,6 +9293,104 @@ declare const app: Elysia<"/api", {
|
|
|
7772
9293
|
maturityDate: Date;
|
|
7773
9294
|
nextPayoutDate: Date | null;
|
|
7774
9295
|
lastPayoutDate: Date | null;
|
|
9296
|
+
plan: {
|
|
9297
|
+
id: string;
|
|
9298
|
+
name: string;
|
|
9299
|
+
createdAt: Date;
|
|
9300
|
+
updatedAt: Date;
|
|
9301
|
+
description: string | null;
|
|
9302
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
9303
|
+
coverImageUrl: string | null;
|
|
9304
|
+
rightsAssetId: string;
|
|
9305
|
+
pricingAssetId: string;
|
|
9306
|
+
sourcePricingAccountTypeId: string;
|
|
9307
|
+
dailyPayoutAccountTypeId: string;
|
|
9308
|
+
maturitySettlementAccountTypeId: string;
|
|
9309
|
+
pricePerShare: string;
|
|
9310
|
+
rightsPerShare: string;
|
|
9311
|
+
cycleDays: number;
|
|
9312
|
+
dailyYieldRate: string;
|
|
9313
|
+
maturityYieldRate: string;
|
|
9314
|
+
minShares: number;
|
|
9315
|
+
maxSharesPerOrder: number | null;
|
|
9316
|
+
saleStartAt: Date | null;
|
|
9317
|
+
saleEndAt: Date | null;
|
|
9318
|
+
rightsAsset: {
|
|
9319
|
+
symbol: string;
|
|
9320
|
+
id: string;
|
|
9321
|
+
name: string;
|
|
9322
|
+
code: string;
|
|
9323
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9324
|
+
isActive: boolean;
|
|
9325
|
+
precision: number;
|
|
9326
|
+
};
|
|
9327
|
+
pricingAsset: {
|
|
9328
|
+
symbol: string;
|
|
9329
|
+
id: string;
|
|
9330
|
+
name: string;
|
|
9331
|
+
code: string;
|
|
9332
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9333
|
+
isActive: boolean;
|
|
9334
|
+
precision: number;
|
|
9335
|
+
};
|
|
9336
|
+
sourcePricingAccountType: {
|
|
9337
|
+
id: string;
|
|
9338
|
+
name: string;
|
|
9339
|
+
key: string;
|
|
9340
|
+
isActive: boolean;
|
|
9341
|
+
};
|
|
9342
|
+
dailyPayoutAccountType: {
|
|
9343
|
+
id: string;
|
|
9344
|
+
name: string;
|
|
9345
|
+
key: string;
|
|
9346
|
+
isActive: boolean;
|
|
9347
|
+
};
|
|
9348
|
+
maturitySettlementAccountType: {
|
|
9349
|
+
id: string;
|
|
9350
|
+
name: string;
|
|
9351
|
+
key: string;
|
|
9352
|
+
isActive: boolean;
|
|
9353
|
+
};
|
|
9354
|
+
};
|
|
9355
|
+
sourcePricingAccount: {
|
|
9356
|
+
id: string;
|
|
9357
|
+
userId: string;
|
|
9358
|
+
status: "active" | "frozen" | "disabled";
|
|
9359
|
+
assetId: string;
|
|
9360
|
+
ledgerAccountTypeId: string;
|
|
9361
|
+
};
|
|
9362
|
+
dailyPayoutReceiveAccount: {
|
|
9363
|
+
id: string;
|
|
9364
|
+
userId: string;
|
|
9365
|
+
status: "active" | "frozen" | "disabled";
|
|
9366
|
+
assetId: string;
|
|
9367
|
+
ledgerAccountTypeId: string;
|
|
9368
|
+
};
|
|
9369
|
+
maturitySettlementReceiveAccount: {
|
|
9370
|
+
id: string;
|
|
9371
|
+
userId: string;
|
|
9372
|
+
status: "active" | "frozen" | "disabled";
|
|
9373
|
+
assetId: string;
|
|
9374
|
+
ledgerAccountTypeId: string;
|
|
9375
|
+
};
|
|
9376
|
+
pricingAssetSnapshot: {
|
|
9377
|
+
symbol: string;
|
|
9378
|
+
id: string;
|
|
9379
|
+
name: string;
|
|
9380
|
+
code: string;
|
|
9381
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9382
|
+
isActive: boolean;
|
|
9383
|
+
precision: number;
|
|
9384
|
+
};
|
|
9385
|
+
rightsAssetSnapshot: {
|
|
9386
|
+
symbol: string;
|
|
9387
|
+
id: string;
|
|
9388
|
+
name: string;
|
|
9389
|
+
code: string;
|
|
9390
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9391
|
+
isActive: boolean;
|
|
9392
|
+
precision: number;
|
|
9393
|
+
};
|
|
7775
9394
|
}[];
|
|
7776
9395
|
pagination: {
|
|
7777
9396
|
total: number;
|
|
@@ -7815,6 +9434,22 @@ declare const app: Elysia<"/api", {
|
|
|
7815
9434
|
response: {
|
|
7816
9435
|
200: {
|
|
7817
9436
|
data: {
|
|
9437
|
+
ledgerEntry?: {
|
|
9438
|
+
id: string;
|
|
9439
|
+
createdAt: Date;
|
|
9440
|
+
bizType: string;
|
|
9441
|
+
amount: string;
|
|
9442
|
+
referenceId: string;
|
|
9443
|
+
referenceType: string;
|
|
9444
|
+
} | undefined;
|
|
9445
|
+
user: {
|
|
9446
|
+
email: string;
|
|
9447
|
+
id: string;
|
|
9448
|
+
username: string | null;
|
|
9449
|
+
displayUsername: string | null;
|
|
9450
|
+
phoneNumber: string | null;
|
|
9451
|
+
banned: boolean | null;
|
|
9452
|
+
};
|
|
7818
9453
|
id: string;
|
|
7819
9454
|
createdAt: Date;
|
|
7820
9455
|
updatedAt: Date;
|
|
@@ -7826,6 +9461,198 @@ declare const app: Elysia<"/api", {
|
|
|
7826
9461
|
planId: string;
|
|
7827
9462
|
subscriptionId: string;
|
|
7828
9463
|
payoutDate: string;
|
|
9464
|
+
plan: {
|
|
9465
|
+
id: string;
|
|
9466
|
+
name: string;
|
|
9467
|
+
createdAt: Date;
|
|
9468
|
+
updatedAt: Date;
|
|
9469
|
+
description: string | null;
|
|
9470
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
9471
|
+
coverImageUrl: string | null;
|
|
9472
|
+
rightsAssetId: string;
|
|
9473
|
+
pricingAssetId: string;
|
|
9474
|
+
sourcePricingAccountTypeId: string;
|
|
9475
|
+
dailyPayoutAccountTypeId: string;
|
|
9476
|
+
maturitySettlementAccountTypeId: string;
|
|
9477
|
+
pricePerShare: string;
|
|
9478
|
+
rightsPerShare: string;
|
|
9479
|
+
cycleDays: number;
|
|
9480
|
+
dailyYieldRate: string;
|
|
9481
|
+
maturityYieldRate: string;
|
|
9482
|
+
minShares: number;
|
|
9483
|
+
maxSharesPerOrder: number | null;
|
|
9484
|
+
saleStartAt: Date | null;
|
|
9485
|
+
saleEndAt: Date | null;
|
|
9486
|
+
rightsAsset: {
|
|
9487
|
+
symbol: string;
|
|
9488
|
+
id: string;
|
|
9489
|
+
name: string;
|
|
9490
|
+
code: string;
|
|
9491
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9492
|
+
isActive: boolean;
|
|
9493
|
+
precision: number;
|
|
9494
|
+
};
|
|
9495
|
+
pricingAsset: {
|
|
9496
|
+
symbol: string;
|
|
9497
|
+
id: string;
|
|
9498
|
+
name: string;
|
|
9499
|
+
code: string;
|
|
9500
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9501
|
+
isActive: boolean;
|
|
9502
|
+
precision: number;
|
|
9503
|
+
};
|
|
9504
|
+
sourcePricingAccountType: {
|
|
9505
|
+
id: string;
|
|
9506
|
+
name: string;
|
|
9507
|
+
key: string;
|
|
9508
|
+
isActive: boolean;
|
|
9509
|
+
};
|
|
9510
|
+
dailyPayoutAccountType: {
|
|
9511
|
+
id: string;
|
|
9512
|
+
name: string;
|
|
9513
|
+
key: string;
|
|
9514
|
+
isActive: boolean;
|
|
9515
|
+
};
|
|
9516
|
+
maturitySettlementAccountType: {
|
|
9517
|
+
id: string;
|
|
9518
|
+
name: string;
|
|
9519
|
+
key: string;
|
|
9520
|
+
isActive: boolean;
|
|
9521
|
+
};
|
|
9522
|
+
};
|
|
9523
|
+
subscription: {
|
|
9524
|
+
user: {
|
|
9525
|
+
email: string;
|
|
9526
|
+
id: string;
|
|
9527
|
+
username: string | null;
|
|
9528
|
+
displayUsername: string | null;
|
|
9529
|
+
phoneNumber: string | null;
|
|
9530
|
+
banned: boolean | null;
|
|
9531
|
+
};
|
|
9532
|
+
id: string;
|
|
9533
|
+
createdAt: Date;
|
|
9534
|
+
updatedAt: Date;
|
|
9535
|
+
userId: string;
|
|
9536
|
+
status: "active" | "pending" | "cancelled" | "matured" | "settled";
|
|
9537
|
+
idempotencyKey: string;
|
|
9538
|
+
orderNo: string;
|
|
9539
|
+
planId: string;
|
|
9540
|
+
sourcePricingAccountId: string;
|
|
9541
|
+
dailyPayoutReceiveAccountId: string;
|
|
9542
|
+
maturitySettlementReceiveAccountId: string;
|
|
9543
|
+
shares: number;
|
|
9544
|
+
totalPricingAmount: string;
|
|
9545
|
+
totalRightsPrincipal: string;
|
|
9546
|
+
pricingAssetIdSnapshot: string;
|
|
9547
|
+
rightsAssetIdSnapshot: string;
|
|
9548
|
+
pricePerShareSnapshot: string;
|
|
9549
|
+
rightsPerShareSnapshot: string;
|
|
9550
|
+
dailyYieldRateSnapshot: string;
|
|
9551
|
+
maturityYieldRateSnapshot: string;
|
|
9552
|
+
cycleDaysSnapshot: number;
|
|
9553
|
+
startDate: Date;
|
|
9554
|
+
maturityDate: Date;
|
|
9555
|
+
nextPayoutDate: Date | null;
|
|
9556
|
+
lastPayoutDate: Date | null;
|
|
9557
|
+
plan: {
|
|
9558
|
+
id: string;
|
|
9559
|
+
name: string;
|
|
9560
|
+
createdAt: Date;
|
|
9561
|
+
updatedAt: Date;
|
|
9562
|
+
description: string | null;
|
|
9563
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
9564
|
+
coverImageUrl: string | null;
|
|
9565
|
+
rightsAssetId: string;
|
|
9566
|
+
pricingAssetId: string;
|
|
9567
|
+
sourcePricingAccountTypeId: string;
|
|
9568
|
+
dailyPayoutAccountTypeId: string;
|
|
9569
|
+
maturitySettlementAccountTypeId: string;
|
|
9570
|
+
pricePerShare: string;
|
|
9571
|
+
rightsPerShare: string;
|
|
9572
|
+
cycleDays: number;
|
|
9573
|
+
dailyYieldRate: string;
|
|
9574
|
+
maturityYieldRate: string;
|
|
9575
|
+
minShares: number;
|
|
9576
|
+
maxSharesPerOrder: number | null;
|
|
9577
|
+
saleStartAt: Date | null;
|
|
9578
|
+
saleEndAt: Date | null;
|
|
9579
|
+
rightsAsset: {
|
|
9580
|
+
symbol: string;
|
|
9581
|
+
id: string;
|
|
9582
|
+
name: string;
|
|
9583
|
+
code: string;
|
|
9584
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9585
|
+
isActive: boolean;
|
|
9586
|
+
precision: number;
|
|
9587
|
+
};
|
|
9588
|
+
pricingAsset: {
|
|
9589
|
+
symbol: string;
|
|
9590
|
+
id: string;
|
|
9591
|
+
name: string;
|
|
9592
|
+
code: string;
|
|
9593
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9594
|
+
isActive: boolean;
|
|
9595
|
+
precision: number;
|
|
9596
|
+
};
|
|
9597
|
+
sourcePricingAccountType: {
|
|
9598
|
+
id: string;
|
|
9599
|
+
name: string;
|
|
9600
|
+
key: string;
|
|
9601
|
+
isActive: boolean;
|
|
9602
|
+
};
|
|
9603
|
+
dailyPayoutAccountType: {
|
|
9604
|
+
id: string;
|
|
9605
|
+
name: string;
|
|
9606
|
+
key: string;
|
|
9607
|
+
isActive: boolean;
|
|
9608
|
+
};
|
|
9609
|
+
maturitySettlementAccountType: {
|
|
9610
|
+
id: string;
|
|
9611
|
+
name: string;
|
|
9612
|
+
key: string;
|
|
9613
|
+
isActive: boolean;
|
|
9614
|
+
};
|
|
9615
|
+
};
|
|
9616
|
+
sourcePricingAccount: {
|
|
9617
|
+
id: string;
|
|
9618
|
+
userId: string;
|
|
9619
|
+
status: "active" | "frozen" | "disabled";
|
|
9620
|
+
assetId: string;
|
|
9621
|
+
ledgerAccountTypeId: string;
|
|
9622
|
+
};
|
|
9623
|
+
dailyPayoutReceiveAccount: {
|
|
9624
|
+
id: string;
|
|
9625
|
+
userId: string;
|
|
9626
|
+
status: "active" | "frozen" | "disabled";
|
|
9627
|
+
assetId: string;
|
|
9628
|
+
ledgerAccountTypeId: string;
|
|
9629
|
+
};
|
|
9630
|
+
maturitySettlementReceiveAccount: {
|
|
9631
|
+
id: string;
|
|
9632
|
+
userId: string;
|
|
9633
|
+
status: "active" | "frozen" | "disabled";
|
|
9634
|
+
assetId: string;
|
|
9635
|
+
ledgerAccountTypeId: string;
|
|
9636
|
+
};
|
|
9637
|
+
pricingAssetSnapshot: {
|
|
9638
|
+
symbol: string;
|
|
9639
|
+
id: string;
|
|
9640
|
+
name: string;
|
|
9641
|
+
code: string;
|
|
9642
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9643
|
+
isActive: boolean;
|
|
9644
|
+
precision: number;
|
|
9645
|
+
};
|
|
9646
|
+
rightsAssetSnapshot: {
|
|
9647
|
+
symbol: string;
|
|
9648
|
+
id: string;
|
|
9649
|
+
name: string;
|
|
9650
|
+
code: string;
|
|
9651
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9652
|
+
isActive: boolean;
|
|
9653
|
+
precision: number;
|
|
9654
|
+
};
|
|
9655
|
+
};
|
|
7829
9656
|
}[];
|
|
7830
9657
|
pagination: {
|
|
7831
9658
|
total: number;
|
|
@@ -7869,6 +9696,30 @@ declare const app: Elysia<"/api", {
|
|
|
7869
9696
|
response: {
|
|
7870
9697
|
200: {
|
|
7871
9698
|
data: {
|
|
9699
|
+
yieldLedgerEntry?: {
|
|
9700
|
+
id: string;
|
|
9701
|
+
createdAt: Date;
|
|
9702
|
+
bizType: string;
|
|
9703
|
+
amount: string;
|
|
9704
|
+
referenceId: string;
|
|
9705
|
+
referenceType: string;
|
|
9706
|
+
} | undefined;
|
|
9707
|
+
principalLedgerEntry?: {
|
|
9708
|
+
id: string;
|
|
9709
|
+
createdAt: Date;
|
|
9710
|
+
bizType: string;
|
|
9711
|
+
amount: string;
|
|
9712
|
+
referenceId: string;
|
|
9713
|
+
referenceType: string;
|
|
9714
|
+
} | undefined;
|
|
9715
|
+
user: {
|
|
9716
|
+
email: string;
|
|
9717
|
+
id: string;
|
|
9718
|
+
username: string | null;
|
|
9719
|
+
displayUsername: string | null;
|
|
9720
|
+
phoneNumber: string | null;
|
|
9721
|
+
banned: boolean | null;
|
|
9722
|
+
};
|
|
7872
9723
|
id: string;
|
|
7873
9724
|
createdAt: Date;
|
|
7874
9725
|
updatedAt: Date;
|
|
@@ -7882,6 +9733,198 @@ declare const app: Elysia<"/api", {
|
|
|
7882
9733
|
principalReturnAmount: string;
|
|
7883
9734
|
yieldLedgerEntryId: string | null;
|
|
7884
9735
|
principalLedgerEntryId: string | null;
|
|
9736
|
+
plan: {
|
|
9737
|
+
id: string;
|
|
9738
|
+
name: string;
|
|
9739
|
+
createdAt: Date;
|
|
9740
|
+
updatedAt: Date;
|
|
9741
|
+
description: string | null;
|
|
9742
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
9743
|
+
coverImageUrl: string | null;
|
|
9744
|
+
rightsAssetId: string;
|
|
9745
|
+
pricingAssetId: string;
|
|
9746
|
+
sourcePricingAccountTypeId: string;
|
|
9747
|
+
dailyPayoutAccountTypeId: string;
|
|
9748
|
+
maturitySettlementAccountTypeId: string;
|
|
9749
|
+
pricePerShare: string;
|
|
9750
|
+
rightsPerShare: string;
|
|
9751
|
+
cycleDays: number;
|
|
9752
|
+
dailyYieldRate: string;
|
|
9753
|
+
maturityYieldRate: string;
|
|
9754
|
+
minShares: number;
|
|
9755
|
+
maxSharesPerOrder: number | null;
|
|
9756
|
+
saleStartAt: Date | null;
|
|
9757
|
+
saleEndAt: Date | null;
|
|
9758
|
+
rightsAsset: {
|
|
9759
|
+
symbol: string;
|
|
9760
|
+
id: string;
|
|
9761
|
+
name: string;
|
|
9762
|
+
code: string;
|
|
9763
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9764
|
+
isActive: boolean;
|
|
9765
|
+
precision: number;
|
|
9766
|
+
};
|
|
9767
|
+
pricingAsset: {
|
|
9768
|
+
symbol: string;
|
|
9769
|
+
id: string;
|
|
9770
|
+
name: string;
|
|
9771
|
+
code: string;
|
|
9772
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9773
|
+
isActive: boolean;
|
|
9774
|
+
precision: number;
|
|
9775
|
+
};
|
|
9776
|
+
sourcePricingAccountType: {
|
|
9777
|
+
id: string;
|
|
9778
|
+
name: string;
|
|
9779
|
+
key: string;
|
|
9780
|
+
isActive: boolean;
|
|
9781
|
+
};
|
|
9782
|
+
dailyPayoutAccountType: {
|
|
9783
|
+
id: string;
|
|
9784
|
+
name: string;
|
|
9785
|
+
key: string;
|
|
9786
|
+
isActive: boolean;
|
|
9787
|
+
};
|
|
9788
|
+
maturitySettlementAccountType: {
|
|
9789
|
+
id: string;
|
|
9790
|
+
name: string;
|
|
9791
|
+
key: string;
|
|
9792
|
+
isActive: boolean;
|
|
9793
|
+
};
|
|
9794
|
+
};
|
|
9795
|
+
subscription: {
|
|
9796
|
+
user: {
|
|
9797
|
+
email: string;
|
|
9798
|
+
id: string;
|
|
9799
|
+
username: string | null;
|
|
9800
|
+
displayUsername: string | null;
|
|
9801
|
+
phoneNumber: string | null;
|
|
9802
|
+
banned: boolean | null;
|
|
9803
|
+
};
|
|
9804
|
+
id: string;
|
|
9805
|
+
createdAt: Date;
|
|
9806
|
+
updatedAt: Date;
|
|
9807
|
+
userId: string;
|
|
9808
|
+
status: "active" | "pending" | "cancelled" | "matured" | "settled";
|
|
9809
|
+
idempotencyKey: string;
|
|
9810
|
+
orderNo: string;
|
|
9811
|
+
planId: string;
|
|
9812
|
+
sourcePricingAccountId: string;
|
|
9813
|
+
dailyPayoutReceiveAccountId: string;
|
|
9814
|
+
maturitySettlementReceiveAccountId: string;
|
|
9815
|
+
shares: number;
|
|
9816
|
+
totalPricingAmount: string;
|
|
9817
|
+
totalRightsPrincipal: string;
|
|
9818
|
+
pricingAssetIdSnapshot: string;
|
|
9819
|
+
rightsAssetIdSnapshot: string;
|
|
9820
|
+
pricePerShareSnapshot: string;
|
|
9821
|
+
rightsPerShareSnapshot: string;
|
|
9822
|
+
dailyYieldRateSnapshot: string;
|
|
9823
|
+
maturityYieldRateSnapshot: string;
|
|
9824
|
+
cycleDaysSnapshot: number;
|
|
9825
|
+
startDate: Date;
|
|
9826
|
+
maturityDate: Date;
|
|
9827
|
+
nextPayoutDate: Date | null;
|
|
9828
|
+
lastPayoutDate: Date | null;
|
|
9829
|
+
plan: {
|
|
9830
|
+
id: string;
|
|
9831
|
+
name: string;
|
|
9832
|
+
createdAt: Date;
|
|
9833
|
+
updatedAt: Date;
|
|
9834
|
+
description: string | null;
|
|
9835
|
+
status: "active" | "draft" | "paused" | "ended";
|
|
9836
|
+
coverImageUrl: string | null;
|
|
9837
|
+
rightsAssetId: string;
|
|
9838
|
+
pricingAssetId: string;
|
|
9839
|
+
sourcePricingAccountTypeId: string;
|
|
9840
|
+
dailyPayoutAccountTypeId: string;
|
|
9841
|
+
maturitySettlementAccountTypeId: string;
|
|
9842
|
+
pricePerShare: string;
|
|
9843
|
+
rightsPerShare: string;
|
|
9844
|
+
cycleDays: number;
|
|
9845
|
+
dailyYieldRate: string;
|
|
9846
|
+
maturityYieldRate: string;
|
|
9847
|
+
minShares: number;
|
|
9848
|
+
maxSharesPerOrder: number | null;
|
|
9849
|
+
saleStartAt: Date | null;
|
|
9850
|
+
saleEndAt: Date | null;
|
|
9851
|
+
rightsAsset: {
|
|
9852
|
+
symbol: string;
|
|
9853
|
+
id: string;
|
|
9854
|
+
name: string;
|
|
9855
|
+
code: string;
|
|
9856
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9857
|
+
isActive: boolean;
|
|
9858
|
+
precision: number;
|
|
9859
|
+
};
|
|
9860
|
+
pricingAsset: {
|
|
9861
|
+
symbol: string;
|
|
9862
|
+
id: string;
|
|
9863
|
+
name: string;
|
|
9864
|
+
code: string;
|
|
9865
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9866
|
+
isActive: boolean;
|
|
9867
|
+
precision: number;
|
|
9868
|
+
};
|
|
9869
|
+
sourcePricingAccountType: {
|
|
9870
|
+
id: string;
|
|
9871
|
+
name: string;
|
|
9872
|
+
key: string;
|
|
9873
|
+
isActive: boolean;
|
|
9874
|
+
};
|
|
9875
|
+
dailyPayoutAccountType: {
|
|
9876
|
+
id: string;
|
|
9877
|
+
name: string;
|
|
9878
|
+
key: string;
|
|
9879
|
+
isActive: boolean;
|
|
9880
|
+
};
|
|
9881
|
+
maturitySettlementAccountType: {
|
|
9882
|
+
id: string;
|
|
9883
|
+
name: string;
|
|
9884
|
+
key: string;
|
|
9885
|
+
isActive: boolean;
|
|
9886
|
+
};
|
|
9887
|
+
};
|
|
9888
|
+
sourcePricingAccount: {
|
|
9889
|
+
id: string;
|
|
9890
|
+
userId: string;
|
|
9891
|
+
status: "active" | "frozen" | "disabled";
|
|
9892
|
+
assetId: string;
|
|
9893
|
+
ledgerAccountTypeId: string;
|
|
9894
|
+
};
|
|
9895
|
+
dailyPayoutReceiveAccount: {
|
|
9896
|
+
id: string;
|
|
9897
|
+
userId: string;
|
|
9898
|
+
status: "active" | "frozen" | "disabled";
|
|
9899
|
+
assetId: string;
|
|
9900
|
+
ledgerAccountTypeId: string;
|
|
9901
|
+
};
|
|
9902
|
+
maturitySettlementReceiveAccount: {
|
|
9903
|
+
id: string;
|
|
9904
|
+
userId: string;
|
|
9905
|
+
status: "active" | "frozen" | "disabled";
|
|
9906
|
+
assetId: string;
|
|
9907
|
+
ledgerAccountTypeId: string;
|
|
9908
|
+
};
|
|
9909
|
+
pricingAssetSnapshot: {
|
|
9910
|
+
symbol: string;
|
|
9911
|
+
id: string;
|
|
9912
|
+
name: string;
|
|
9913
|
+
code: string;
|
|
9914
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9915
|
+
isActive: boolean;
|
|
9916
|
+
precision: number;
|
|
9917
|
+
};
|
|
9918
|
+
rightsAssetSnapshot: {
|
|
9919
|
+
symbol: string;
|
|
9920
|
+
id: string;
|
|
9921
|
+
name: string;
|
|
9922
|
+
code: string;
|
|
9923
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
9924
|
+
isActive: boolean;
|
|
9925
|
+
precision: number;
|
|
9926
|
+
};
|
|
9927
|
+
};
|
|
7885
9928
|
}[];
|
|
7886
9929
|
pagination: {
|
|
7887
9930
|
total: number;
|
|
@@ -9355,7 +11398,6 @@ declare const app: Elysia<"/api", {
|
|
|
9355
11398
|
id: string;
|
|
9356
11399
|
name: string;
|
|
9357
11400
|
key: string;
|
|
9358
|
-
isGasAsset: boolean;
|
|
9359
11401
|
isActive: boolean;
|
|
9360
11402
|
};
|
|
9361
11403
|
id: string;
|
|
@@ -9406,7 +11448,6 @@ declare const app: Elysia<"/api", {
|
|
|
9406
11448
|
id: string;
|
|
9407
11449
|
name: string;
|
|
9408
11450
|
key: string;
|
|
9409
|
-
isGasAsset: boolean;
|
|
9410
11451
|
isActive: boolean;
|
|
9411
11452
|
};
|
|
9412
11453
|
id: string;
|
|
@@ -9450,7 +11491,6 @@ declare const app: Elysia<"/api", {
|
|
|
9450
11491
|
id: string;
|
|
9451
11492
|
name: string;
|
|
9452
11493
|
key: string;
|
|
9453
|
-
isGasAsset: boolean;
|
|
9454
11494
|
isActive: boolean;
|
|
9455
11495
|
};
|
|
9456
11496
|
id: string;
|
|
@@ -9514,6 +11554,11 @@ declare const app: Elysia<"/api", {
|
|
|
9514
11554
|
effectiveAt: Date;
|
|
9515
11555
|
} | undefined;
|
|
9516
11556
|
dailyChangeRate?: string | undefined;
|
|
11557
|
+
trend10d: {
|
|
11558
|
+
date: string;
|
|
11559
|
+
price: string;
|
|
11560
|
+
effectiveAt: string | Date;
|
|
11561
|
+
}[];
|
|
9517
11562
|
};
|
|
9518
11563
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
9519
11564
|
targetAssetId: string;
|
|
@@ -9556,6 +11601,11 @@ declare const app: Elysia<"/api", {
|
|
|
9556
11601
|
key: string;
|
|
9557
11602
|
isActive: boolean;
|
|
9558
11603
|
};
|
|
11604
|
+
trend10d: {
|
|
11605
|
+
date: string;
|
|
11606
|
+
price: string;
|
|
11607
|
+
effectiveAt: string | Date;
|
|
11608
|
+
}[];
|
|
9559
11609
|
}[];
|
|
9560
11610
|
pagination: {
|
|
9561
11611
|
total: number;
|
|
@@ -9608,6 +11658,11 @@ declare const app: Elysia<"/api", {
|
|
|
9608
11658
|
effectiveAt: Date;
|
|
9609
11659
|
} | undefined;
|
|
9610
11660
|
dailyChangeRate?: string | undefined;
|
|
11661
|
+
trend10d: {
|
|
11662
|
+
date: string;
|
|
11663
|
+
price: string;
|
|
11664
|
+
effectiveAt: string | Date;
|
|
11665
|
+
}[];
|
|
9611
11666
|
};
|
|
9612
11667
|
productCategoryKey: "gold" | "gov_bond" | "real_estate" | "corporate_credit";
|
|
9613
11668
|
targetAssetId: string;
|
|
@@ -9650,6 +11705,11 @@ declare const app: Elysia<"/api", {
|
|
|
9650
11705
|
key: string;
|
|
9651
11706
|
isActive: boolean;
|
|
9652
11707
|
};
|
|
11708
|
+
trend10d: {
|
|
11709
|
+
date: string;
|
|
11710
|
+
price: string;
|
|
11711
|
+
effectiveAt: string | Date;
|
|
11712
|
+
}[];
|
|
9653
11713
|
};
|
|
9654
11714
|
422: {
|
|
9655
11715
|
type: "validation";
|
|
@@ -9671,6 +11731,7 @@ declare const app: Elysia<"/api", {
|
|
|
9671
11731
|
orders: {
|
|
9672
11732
|
post: {
|
|
9673
11733
|
body: {
|
|
11734
|
+
transactionPassword?: string | undefined;
|
|
9674
11735
|
idempotencyKey: string;
|
|
9675
11736
|
productId: string;
|
|
9676
11737
|
payAmount: string;
|
|
@@ -9946,7 +12007,6 @@ declare const app: Elysia<"/api", {
|
|
|
9946
12007
|
name: string;
|
|
9947
12008
|
description: string | null;
|
|
9948
12009
|
key: string;
|
|
9949
|
-
isGasAsset: boolean;
|
|
9950
12010
|
isActive: boolean;
|
|
9951
12011
|
}[];
|
|
9952
12012
|
pagination: {
|
|
@@ -11457,6 +13517,88 @@ declare const app: Elysia<"/api", {
|
|
|
11457
13517
|
} & {
|
|
11458
13518
|
api: {
|
|
11459
13519
|
market_data: {};
|
|
13520
|
+
} & {
|
|
13521
|
+
market_data: {
|
|
13522
|
+
klines: {
|
|
13523
|
+
tradingview: {
|
|
13524
|
+
config: {
|
|
13525
|
+
get: {
|
|
13526
|
+
body: {};
|
|
13527
|
+
params: {};
|
|
13528
|
+
query: {};
|
|
13529
|
+
headers: {};
|
|
13530
|
+
response: {
|
|
13531
|
+
200: {
|
|
13532
|
+
supported_resolutions: string[];
|
|
13533
|
+
supports_group_request: boolean;
|
|
13534
|
+
supports_marks: boolean;
|
|
13535
|
+
supports_search: boolean;
|
|
13536
|
+
supports_timescale_marks: boolean;
|
|
13537
|
+
};
|
|
13538
|
+
422: {
|
|
13539
|
+
type: "validation";
|
|
13540
|
+
on: string;
|
|
13541
|
+
summary?: string;
|
|
13542
|
+
message?: string;
|
|
13543
|
+
found?: unknown;
|
|
13544
|
+
property?: string;
|
|
13545
|
+
expected?: string;
|
|
13546
|
+
};
|
|
13547
|
+
401: "Unauthorized";
|
|
13548
|
+
};
|
|
13549
|
+
};
|
|
13550
|
+
};
|
|
13551
|
+
};
|
|
13552
|
+
};
|
|
13553
|
+
};
|
|
13554
|
+
} & {
|
|
13555
|
+
market_data: {
|
|
13556
|
+
history: {
|
|
13557
|
+
get: {
|
|
13558
|
+
body: {};
|
|
13559
|
+
params: {};
|
|
13560
|
+
query: {
|
|
13561
|
+
symbol?: string | undefined;
|
|
13562
|
+
baseAsset?: string | undefined;
|
|
13563
|
+
quoteAsset?: string | undefined;
|
|
13564
|
+
source?: string | undefined;
|
|
13565
|
+
startDate?: number | Date | undefined;
|
|
13566
|
+
limit?: number | undefined;
|
|
13567
|
+
offset?: number | undefined;
|
|
13568
|
+
endDate?: number | Date | undefined;
|
|
13569
|
+
resolution?: string | undefined;
|
|
13570
|
+
};
|
|
13571
|
+
headers: {};
|
|
13572
|
+
response: {
|
|
13573
|
+
200: {
|
|
13574
|
+
items: {
|
|
13575
|
+
symbol: string;
|
|
13576
|
+
low: number;
|
|
13577
|
+
high: number;
|
|
13578
|
+
bucketAt: Date;
|
|
13579
|
+
open: number;
|
|
13580
|
+
close: number;
|
|
13581
|
+
volume: number;
|
|
13582
|
+
resolution: string;
|
|
13583
|
+
}[];
|
|
13584
|
+
total: number;
|
|
13585
|
+
limit: number;
|
|
13586
|
+
offset: number;
|
|
13587
|
+
};
|
|
13588
|
+
422: {
|
|
13589
|
+
type: "validation";
|
|
13590
|
+
on: string;
|
|
13591
|
+
summary?: string;
|
|
13592
|
+
message?: string;
|
|
13593
|
+
found?: unknown;
|
|
13594
|
+
property?: string;
|
|
13595
|
+
expected?: string;
|
|
13596
|
+
};
|
|
13597
|
+
401: "Unauthorized";
|
|
13598
|
+
};
|
|
13599
|
+
};
|
|
13600
|
+
};
|
|
13601
|
+
};
|
|
11460
13602
|
} & {
|
|
11461
13603
|
market_data: {
|
|
11462
13604
|
latest: {
|
|
@@ -11552,6 +13694,96 @@ declare const app: Elysia<"/api", {
|
|
|
11552
13694
|
};
|
|
11553
13695
|
};
|
|
11554
13696
|
};
|
|
13697
|
+
} & {
|
|
13698
|
+
market_data: {
|
|
13699
|
+
klines: {
|
|
13700
|
+
tradingview: {
|
|
13701
|
+
":baseAsset": {
|
|
13702
|
+
":quoteAsset": {
|
|
13703
|
+
get: {
|
|
13704
|
+
body: {};
|
|
13705
|
+
params: {
|
|
13706
|
+
baseAsset: string;
|
|
13707
|
+
quoteAsset: string;
|
|
13708
|
+
};
|
|
13709
|
+
query: {
|
|
13710
|
+
source?: string | undefined;
|
|
13711
|
+
from?: number | undefined;
|
|
13712
|
+
to?: number | undefined;
|
|
13713
|
+
resolution?: string | undefined;
|
|
13714
|
+
countBack?: number | undefined;
|
|
13715
|
+
};
|
|
13716
|
+
headers: {};
|
|
13717
|
+
response: {
|
|
13718
|
+
200: {
|
|
13719
|
+
h: number[];
|
|
13720
|
+
s: "ok" | "no_data";
|
|
13721
|
+
c: number[];
|
|
13722
|
+
t: number[];
|
|
13723
|
+
o: number[];
|
|
13724
|
+
l: number[];
|
|
13725
|
+
v: number[];
|
|
13726
|
+
};
|
|
13727
|
+
422: {
|
|
13728
|
+
type: "validation";
|
|
13729
|
+
on: string;
|
|
13730
|
+
summary?: string;
|
|
13731
|
+
message?: string;
|
|
13732
|
+
found?: unknown;
|
|
13733
|
+
property?: string;
|
|
13734
|
+
expected?: string;
|
|
13735
|
+
};
|
|
13736
|
+
401: "Unauthorized";
|
|
13737
|
+
};
|
|
13738
|
+
};
|
|
13739
|
+
};
|
|
13740
|
+
};
|
|
13741
|
+
};
|
|
13742
|
+
};
|
|
13743
|
+
};
|
|
13744
|
+
} & {
|
|
13745
|
+
market_data: {
|
|
13746
|
+
klines: {
|
|
13747
|
+
tradingview: {
|
|
13748
|
+
get: {
|
|
13749
|
+
body: {};
|
|
13750
|
+
params: {};
|
|
13751
|
+
query: {
|
|
13752
|
+
symbol?: string | undefined;
|
|
13753
|
+
baseAsset?: string | undefined;
|
|
13754
|
+
quoteAsset?: string | undefined;
|
|
13755
|
+
source?: string | undefined;
|
|
13756
|
+
from?: number | undefined;
|
|
13757
|
+
to?: number | undefined;
|
|
13758
|
+
resolution?: string | undefined;
|
|
13759
|
+
countBack?: number | undefined;
|
|
13760
|
+
};
|
|
13761
|
+
headers: {};
|
|
13762
|
+
response: {
|
|
13763
|
+
200: {
|
|
13764
|
+
h: number[];
|
|
13765
|
+
s: "ok" | "no_data";
|
|
13766
|
+
c: number[];
|
|
13767
|
+
t: number[];
|
|
13768
|
+
o: number[];
|
|
13769
|
+
l: number[];
|
|
13770
|
+
v: number[];
|
|
13771
|
+
};
|
|
13772
|
+
422: {
|
|
13773
|
+
type: "validation";
|
|
13774
|
+
on: string;
|
|
13775
|
+
summary?: string;
|
|
13776
|
+
message?: string;
|
|
13777
|
+
found?: unknown;
|
|
13778
|
+
property?: string;
|
|
13779
|
+
expected?: string;
|
|
13780
|
+
};
|
|
13781
|
+
401: "Unauthorized";
|
|
13782
|
+
};
|
|
13783
|
+
};
|
|
13784
|
+
};
|
|
13785
|
+
};
|
|
13786
|
+
};
|
|
11555
13787
|
};
|
|
11556
13788
|
} & {
|
|
11557
13789
|
api: {
|
|
@@ -11893,11 +14125,11 @@ declare const app: Elysia<"/api", {
|
|
|
11893
14125
|
ledger_account: {
|
|
11894
14126
|
post: {
|
|
11895
14127
|
body: {
|
|
14128
|
+
transactionPassword?: string | undefined;
|
|
11896
14129
|
amount: string;
|
|
11897
14130
|
idempotencyKey: string;
|
|
11898
14131
|
sourceAccountId: string;
|
|
11899
14132
|
receiptMethodId: string;
|
|
11900
|
-
transactionPassword: string;
|
|
11901
14133
|
};
|
|
11902
14134
|
params: {};
|
|
11903
14135
|
query: {};
|
|
@@ -11941,10 +14173,10 @@ declare const app: Elysia<"/api", {
|
|
|
11941
14173
|
direct_cny_balance: {
|
|
11942
14174
|
post: {
|
|
11943
14175
|
body: {
|
|
14176
|
+
transactionPassword?: string | undefined;
|
|
11944
14177
|
amount: string;
|
|
11945
14178
|
idempotencyKey: string;
|
|
11946
14179
|
receiptMethodId: string;
|
|
11947
|
-
transactionPassword: string;
|
|
11948
14180
|
};
|
|
11949
14181
|
params: {};
|
|
11950
14182
|
query: {};
|
|
@@ -13686,6 +15918,7 @@ declare const app: Elysia<"/api", {
|
|
|
13686
15918
|
subscriptions: {
|
|
13687
15919
|
post: {
|
|
13688
15920
|
body: {
|
|
15921
|
+
transactionPassword?: string | undefined;
|
|
13689
15922
|
idempotencyKey: string;
|
|
13690
15923
|
planId: string;
|
|
13691
15924
|
shares: number;
|