@r2wa-org/eden 0.0.71 → 0.0.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{src/admin → admin}/index.d.ts +2222 -181
- package/dist/{src/admin → admin-user}/admin/dto.schemas.d.ts +3 -5
- package/dist/{src/admin → admin-user}/admin/errors/index.d.ts +5 -0
- package/dist/{src/admin → admin-user}/admin/errors/locales/zh.d.ts +2 -0
- package/dist/{src/admin → admin-user}/admin/router.d.ts +1 -3
- package/dist/{src/admin → admin-user}/admin/service.d.ts +1 -1
- package/dist/app-version/admin/dto.schemas.d.ts +99 -0
- package/dist/app-version/admin/router.d.ts +756 -0
- 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/{src/asset → asset}/admin/dto.schemas.d.ts +8 -12
- package/dist/{src/asset → asset}/admin/router.d.ts +2 -8
- package/dist/{src/asset → asset}/admin/service.d.ts +1 -6
- package/dist/{src/asset → asset}/errors/index.d.ts +2 -0
- package/dist/{src/asset → asset}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/asset → asset}/user/dto.schemas.d.ts +2 -4
- package/dist/{src/asset → asset}/user/router.d.ts +0 -3
- package/dist/{src/asset → asset}/user/service.d.ts +0 -3
- package/dist/{src/asset-convert-product → asset-convert-product}/admin/service.d.ts +1 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/errors/index.d.ts +1 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/user/dto.schemas.d.ts +119 -84
- package/dist/{src/asset-convert-product → asset-convert-product}/user/router.d.ts +21 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/user/service.d.ts +39 -0
- package/dist/{src/asset-type → asset-type}/admin/dto.schemas.d.ts +0 -53
- package/dist/{src/asset-type → asset-type}/admin/router.d.ts +0 -6
- package/dist/{src/asset-type → asset-type}/admin/service.d.ts +0 -4
- package/dist/{src/asset-type → asset-type}/db.schemas.d.ts +0 -34
- package/dist/{src/asset-type → asset-type}/schema.d.ts +0 -17
- package/dist/{src/asset-type → asset-type}/seed.d.ts +0 -3
- package/dist/{src/asset-type → asset-type}/user/dto.schemas.d.ts +0 -2
- package/dist/{src/asset-type → asset-type}/user/router.d.ts +0 -1
- package/dist/{src/asset-type → asset-type}/user/service.d.ts +0 -1
- package/dist/{src/auth → auth}/better-auth.d.ts +33 -3
- package/dist/auth/better-hooks.d.ts +23 -0
- package/dist/{src/auth → auth}/db.schemas.d.ts +8 -8
- package/dist/{src/auth → auth}/schema.d.ts +4 -4
- package/dist/{src/bank-account → bank-account}/admin/dto.schemas.d.ts +47 -2
- package/dist/{src/bank-account → bank-account}/admin/router.d.ts +32 -0
- package/dist/{src/bank-account → bank-account}/admin/service.d.ts +88 -15
- package/dist/{src/check-in → check-in}/admin/dto.schemas.d.ts +1 -1
- package/dist/{src/check-in → check-in}/user/dto.schemas.d.ts +1 -1
- package/dist/{src/db → db}/schemas.d.ts +1 -0
- package/dist/{src/deposit → deposit}/admin/dto.schemas.d.ts +2 -2
- package/dist/{src/deposit → deposit}/user/dto.schemas.d.ts +2 -2
- package/dist/{src/env → env}/server.d.ts +1 -0
- package/dist/http-access-log.d.ts +30 -0
- package/dist/{src/index.d.ts → index.d.ts} +2596 -365
- package/dist/ledger/admin/dto.schemas.d.ts +461 -0
- package/dist/{src/ledger → ledger}/admin/router.d.ts +81 -0
- package/dist/ledger/admin/service.d.ts +22 -0
- package/dist/{src/ledger → ledger}/schema.d.ts +1 -0
- package/dist/ledger-account/admin/dto.schemas.d.ts +258 -0
- package/dist/{src/ledger-account → ledger-account}/admin/router.d.ts +69 -0
- package/dist/{src/ledger-account → ledger-account}/admin/service.d.ts +54 -0
- package/dist/{src/team → market-data}/admin/dto.schemas.d.ts +387 -336
- package/dist/{src/market-data → market-data}/admin/router.d.ts +30 -4
- package/dist/{src/market-data → market-data}/admin/service.d.ts +26 -0
- package/dist/{src/market-data → market-data}/errors/index.d.ts +1 -0
- package/dist/{src/market-data → market-data}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/market-data → market-data}/user/dto.schemas.d.ts +81 -0
- package/dist/{src/market-data → market-data}/user/router.d.ts +172 -0
- package/dist/market-data/user/service.d.ts +41 -0
- package/dist/market-pricing/admin/dto.schemas.d.ts +860 -0
- package/dist/{src/market-pricing → market-pricing}/admin/router.d.ts +173 -17
- package/dist/market-pricing/admin/service.d.ts +286 -0
- package/dist/{src/news → news}/admin/service.d.ts +1 -0
- package/dist/{src/news-category → news-category}/admin/dto.schemas.d.ts +4 -4
- package/dist/{src/news-category → news-category}/admin/router.d.ts +2 -2
- package/dist/{src/news-category → news-category}/admin/service.d.ts +1 -0
- package/dist/{src/news-category → news-category}/errors/index.d.ts +2 -0
- package/dist/{src/news-category → news-category}/errors/locales/zh.d.ts +1 -0
- package/dist/operations-overview/admin/dto.schemas.d.ts +41 -0
- package/dist/operations-overview/admin/router.d.ts +517 -0
- package/dist/operations-overview/admin/service.d.ts +4 -0
- package/dist/receipt-method/admin/dto.schemas.d.ts +62 -0
- package/dist/{src/receipt-method → receipt-method}/admin/router.d.ts +16 -0
- package/dist/{src/receipt-method → receipt-method}/admin/service.d.ts +36 -0
- package/dist/{src/referral → referral}/admin/dto.schemas.d.ts +6 -2
- package/dist/{src/referral → referral}/admin/router.d.ts +1 -6
- package/dist/{src/referral → referral}/admin/service.d.ts +1 -1
- package/dist/{src/referral → referral}/errors/index.d.ts +1 -0
- package/dist/{src/referral → referral}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/referral → referral}/user/dto.schemas.d.ts +2 -2
- package/dist/{src/team → team/admin}/dto.schemas.d.ts +952 -864
- package/dist/{src/team → team}/admin/router.d.ts +82 -1
- package/dist/team/admin/service.d.ts +6 -0
- package/dist/{src/team → team}/errors/index.d.ts +1 -0
- package/dist/{src/team → team}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/team → team}/user/dto.schemas.d.ts +5 -5
- package/dist/trade-market/admin/dto.schemas.d.ts +4764 -0
- package/dist/{src/trade-market → trade-market}/admin/router.d.ts +486 -0
- package/dist/trade-market/admin/service.d.ts +646 -0
- package/dist/{src/trade-market → trade-market}/errors/index.d.ts +1 -0
- package/dist/{src/trade-market → trade-market}/errors/locales/zh.d.ts +1 -0
- package/dist/trade-market/internal/service.d.ts +564 -0
- package/dist/trade-market/user/service.d.ts +471 -0
- package/dist/{src/user → user}/admin/dto.schemas.d.ts +5 -5
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +1242 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/admin/router.d.ts +760 -14
- package/dist/welfare-cycle/admin/service.d.ts +1031 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/errors/index.d.ts +2 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/errors/locales/zh.d.ts +2 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/internal/service.d.ts +4 -115
- package/dist/{src/welfare-cycle → welfare-cycle}/user/dto.schemas.d.ts +369 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/user/router.d.ts +1 -0
- package/dist/{src/welfare-cycle → welfare-cycle}/user/service.d.ts +8 -2
- package/dist/{src/withdraw → withdraw}/errors/index.d.ts +2 -0
- package/dist/{src/withdraw → withdraw}/errors/locales/zh.d.ts +1 -0
- package/dist/{src/withdraw → withdraw}/user/dto.schemas.d.ts +2 -2
- package/dist/{src/withdraw → withdraw}/user/router.d.ts +2 -2
- package/dist/{src/withdraw → withdraw}/user/service.d.ts +1 -0
- package/package.json +3 -3
- package/dist/src/account/admin.router.d.ts +0 -548
- package/dist/src/account/db.schemas.d.ts +0 -346
- 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/schema.d.ts +0 -190
- 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/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/auth/better-hooks.d.ts +0 -16
- 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/dto.schemas.d.ts +0 -796
- package/dist/src/ledger/admin/service.d.ts +0 -155
- 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/dto.schemas.d.ts +0 -642
- 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/market-data/admin/dto.schemas.d.ts +0 -291
- package/dist/src/market-data/user/service.d.ts +0 -30
- package/dist/src/market-pricing/admin/dto.schemas.d.ts +0 -322
- package/dist/src/market-pricing/admin/service.d.ts +0 -129
- 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/dto.schemas.d.ts +0 -392
- 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/admin.router.d.ts +0 -646
- 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/admin.router.d.ts +0 -507
- package/dist/src/shipping-address/router.d.ts +0 -621
- package/dist/src/shipping-address/service.d.ts +0 -109
- package/dist/src/shipping-address/user/dto.schemas.d.ts +0 -303
- 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/service.d.ts +0 -6
- package/dist/src/team/admin.router.d.ts +0 -569
- package/dist/src/team/router.d.ts +0 -737
- package/dist/src/team/service.d.ts +0 -40
- package/dist/src/trade-market/admin/dto.schemas.d.ts +0 -762
- package/dist/src/trade-market/admin/service.d.ts +0 -158
- package/dist/src/trade-market/internal/service.d.ts +0 -239
- package/dist/src/trade-market/user/service.d.ts +0 -147
- package/dist/src/transfer/admin.router.d.ts +0 -509
- 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/welfare-cycle/admin/dto.schemas.d.ts +0 -1354
- package/dist/src/welfare-cycle/admin/service.d.ts +0 -242
- 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/{src/asset → asset}/db.schemas.d.ts +0 -0
- package/dist/{src/asset → asset}/index.d.ts +0 -0
- package/dist/{src/asset → asset}/internal/service.d.ts +0 -0
- package/dist/{src/asset → asset}/permissions.d.ts +0 -0
- package/dist/{src/asset → asset}/schema.d.ts +0 -0
- package/dist/{src/asset → asset}/seed.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/admin/router.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/db.schemas.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/index.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/internal/service.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/permissions.d.ts +0 -0
- package/dist/{src/asset-convert-product → asset-convert-product}/schema.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/admin/router.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/admin/service.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/constants.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/db.schemas.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/errors/index.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/index.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/internal/service.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/permissions.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/schema.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/seed.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/user/router.d.ts +0 -0
- package/dist/{src/asset-price → asset-price}/user/service.d.ts +0 -0
- package/dist/{src/asset-type → asset-type}/errors/index.d.ts +0 -0
- package/dist/{src/asset-type → asset-type}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/asset-type → asset-type}/index.d.ts +0 -0
- package/dist/{src/asset-type → asset-type}/internal/service.d.ts +0 -0
- package/dist/{src/asset-type → asset-type}/permissions.d.ts +0 -0
- package/dist/{src/auth → auth}/permissions.d.ts +0 -0
- package/dist/{src/auth → auth}/roles.d.ts +0 -0
- package/dist/{src/auth → auth}/router.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/db.schemas.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/errors/index.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/index.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/internal/service.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/permissions.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/schema.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/seed.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/user/router.d.ts +0 -0
- package/dist/{src/bank-account → bank-account}/user/service.d.ts +0 -0
- package/dist/{src/check-in → check-in}/admin/router.d.ts +0 -0
- package/dist/{src/check-in → check-in}/admin/service.d.ts +0 -0
- package/dist/{src/check-in → check-in}/db.schemas.d.ts +0 -0
- package/dist/{src/check-in → check-in}/errors/index.d.ts +0 -0
- package/dist/{src/check-in → check-in}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/check-in → check-in}/index.d.ts +0 -0
- package/dist/{src/check-in → check-in}/internal/service.d.ts +0 -0
- package/dist/{src/check-in → check-in}/permissions.d.ts +0 -0
- package/dist/{src/check-in → check-in}/schema.d.ts +0 -0
- package/dist/{src/check-in → check-in}/user/router.d.ts +0 -0
- package/dist/{src/check-in → check-in}/user/service.d.ts +0 -0
- package/dist/{src/cors → cors}/index.d.ts +0 -0
- package/dist/{src/cron → cron}/index.d.ts +0 -0
- package/dist/{src/db → db}/columns.helpers.d.ts +0 -0
- package/dist/{src/db → db}/enums.d.ts +0 -0
- package/dist/{src/db → db}/index.d.ts +0 -0
- package/dist/{src/db → db}/transaction.d.ts +0 -0
- package/dist/{src/db → db}/typebox.d.ts +0 -0
- package/dist/{src/deposit → deposit}/admin/router.d.ts +0 -0
- package/dist/{src/deposit → deposit}/admin/service.d.ts +0 -0
- package/dist/{src/deposit → deposit}/db.schemas.d.ts +0 -0
- package/dist/{src/deposit → deposit}/errors/index.d.ts +0 -0
- package/dist/{src/deposit → deposit}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/deposit → deposit}/index.d.ts +0 -0
- package/dist/{src/deposit → deposit}/internal/service.d.ts +0 -0
- package/dist/{src/deposit → deposit}/permissions.d.ts +0 -0
- package/dist/{src/deposit → deposit}/schema.d.ts +0 -0
- package/dist/{src/deposit → deposit}/user/router.d.ts +0 -0
- package/dist/{src/deposit → deposit}/user/service.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/admin.router.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/cache.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/db.schemas.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/dto.schema.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/errors/index.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/index.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/schema.d.ts +0 -0
- package/dist/{src/dynamic-env → dynamic-env}/service.d.ts +0 -0
- package/dist/{src/email → email}/index.d.ts +0 -0
- package/dist/{src/env → env}/client.d.ts +0 -0
- package/dist/{src/env → env}/index.d.ts +0 -0
- package/dist/{src/env → env}/typebox-env.d.ts +0 -0
- package/dist/{src/error → error}/errorcode.d.ts +0 -0
- package/dist/{src/error → error}/index.d.ts +0 -0
- package/dist/{src/error → error}/locales/zh.d.ts +0 -0
- package/dist/{src/error → error}/messages.d.ts +0 -0
- package/dist/{src/external → external}/dto.schemas.d.ts +0 -0
- package/dist/{src/external → external}/errors/index.d.ts +0 -0
- package/dist/{src/external → external}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/external → external}/index.d.ts +0 -0
- package/dist/{src/external → external}/router.d.ts +0 -0
- package/dist/{src/external → external}/service.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/admin/router.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/admin/service.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/db.schemas.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/errors/index.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/index.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/internal/service.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/permissions.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/s3.client.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/schema.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/share/dto.schemas.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/share/router.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/user/router.d.ts +0 -0
- package/dist/{src/file-storage → file-storage}/user/service.d.ts +0 -0
- package/dist/{src/ledger → ledger}/db.schemas.d.ts +0 -0
- package/dist/{src/ledger → ledger}/errors/index.d.ts +0 -0
- package/dist/{src/ledger → ledger}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/ledger → ledger}/index.d.ts +0 -0
- package/dist/{src/ledger → ledger}/internal/service.d.ts +0 -0
- package/dist/{src/ledger → ledger}/permissions.d.ts +0 -0
- package/dist/{src/ledger → ledger}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger → ledger}/user/router.d.ts +0 -0
- package/dist/{src/ledger → ledger}/user/service.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/db.schemas.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/errors/index.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/index.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/internal/service.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/permissions.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/schema.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/user/router.d.ts +0 -0
- package/dist/{src/ledger-account → ledger-account}/user/service.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/admin/router.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/admin/service.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/db.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/errors/index.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/index.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/internal/service.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/permissions.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/schema.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/user/service.d.ts +0 -0
- package/dist/{src/ledger-account-import → ledger-account-import}/worker.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/admin/service.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/errors/index.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/index.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/internal/service.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/user/router.d.ts +0 -0
- package/dist/{src/ledger-account-transfer → ledger-account-transfer}/user/service.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/admin/router.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/admin/service.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/db.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/errors/index.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/index.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/internal/service.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/permissions.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/schema.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/seed.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/user/router.d.ts +0 -0
- package/dist/{src/ledger-account-type → ledger-account-type}/user/service.d.ts +0 -0
- package/dist/{src/market-data → market-data}/cron.d.ts +0 -0
- package/dist/{src/market-data → market-data}/db.schemas.d.ts +0 -0
- package/dist/{src/market-data → market-data}/index.d.ts +0 -0
- package/dist/{src/market-data → market-data}/internal/service.d.ts +0 -0
- package/dist/{src/market-data → market-data}/permissions.d.ts +0 -0
- package/dist/{src/market-data → market-data}/schema.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/cron.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/db.schemas.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/errors/index.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/internal/service.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/permissions.d.ts +0 -0
- package/dist/{src/market-pricing → market-pricing}/schema.d.ts +0 -0
- package/dist/{src/nanoid → nanoid}/index.d.ts +0 -0
- package/dist/{src/news → news}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/news → news}/admin/router.d.ts +0 -0
- package/dist/{src/news → news}/db.schemas.d.ts +0 -0
- package/dist/{src/news → news}/errors/index.d.ts +0 -0
- package/dist/{src/news → news}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/news → news}/index.d.ts +0 -0
- package/dist/{src/news → news}/internal/service.d.ts +0 -0
- package/dist/{src/news → news}/permissions.d.ts +0 -0
- package/dist/{src/news → news}/schema.d.ts +0 -0
- package/dist/{src/news → news}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/news → news}/user/router.d.ts +0 -0
- package/dist/{src/news → news}/user/service.d.ts +0 -0
- package/dist/{src/news-category → news-category}/constants.d.ts +0 -0
- package/dist/{src/news-category → news-category}/db.schemas.d.ts +0 -0
- package/dist/{src/news-category → news-category}/index.d.ts +0 -0
- package/dist/{src/news-category → news-category}/internal/service.d.ts +0 -0
- package/dist/{src/news-category → news-category}/permissions.d.ts +0 -0
- package/dist/{src/news-category → news-category}/schema.d.ts +0 -0
- package/dist/{src/news-category → news-category}/seed.d.ts +0 -0
- package/dist/{src/news-category → news-category}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/news-category → news-category}/user/router.d.ts +0 -0
- package/dist/{src/news-category → news-category}/user/service.d.ts +0 -0
- package/dist/{src/notification → notification}/admin/dto.schemas.d.ts +1 -1
- package/dist/{src/notification → notification}/admin/router.d.ts +0 -0
- package/dist/{src/notification → notification}/admin/service.d.ts +0 -0
- package/dist/{src/notification → notification}/db.schemas.d.ts +0 -0
- package/dist/{src/notification → notification}/errors/index.d.ts +0 -0
- package/dist/{src/notification → notification}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/notification → notification}/index.d.ts +0 -0
- package/dist/{src/notification → notification}/internal/service.d.ts +0 -0
- package/dist/{src/notification → notification}/permissions.d.ts +0 -0
- package/dist/{src/notification → notification}/schema.d.ts +0 -0
- package/dist/{src/notification → notification}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/notification → notification}/user/router.d.ts +0 -0
- package/dist/{src/notification → notification}/user/service.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/index.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/internal/index.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/internal/service.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/user/index.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/user/router.d.ts +0 -0
- package/dist/{src/portfolio → portfolio}/user/service.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/db.schemas.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/errors/index.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/index.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/internal/service.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/permissions.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/schema.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/user/router.d.ts +0 -0
- package/dist/{src/receipt-method → receipt-method}/user/service.d.ts +0 -0
- package/dist/{src/referral → referral}/db.schemas.d.ts +0 -0
- package/dist/{src/referral → referral}/index.d.ts +0 -0
- package/dist/{src/referral → referral}/internal/service.d.ts +0 -0
- package/dist/{src/referral → referral}/permissions.d.ts +0 -0
- package/dist/{src/referral → referral}/schema.d.ts +0 -0
- package/dist/{src/referral → referral}/user/router.d.ts +0 -0
- package/dist/{src/referral → referral}/user/service.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/admin/router.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/admin/service.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/db.schemas.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/errors/index.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/internal/service.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/permissions.d.ts +0 -0
- package/dist/{src/referral-depth-config → referral-depth-config}/schema.d.ts +0 -0
- package/dist/{src/server-test → server-test}/errors/index.d.ts +0 -0
- package/dist/{src/server-test → server-test}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/server-test → server-test}/index.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/admin/router.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/admin/service.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/db.schemas.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/errors/index.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/index.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/internal/service.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/permissions.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/schema.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address/user}/dto.schemas.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/user/router.d.ts +0 -0
- package/dist/{src/shipping-address → shipping-address}/user/service.d.ts +0 -0
- package/dist/{src/sms → sms}/index.d.ts +0 -0
- package/dist/{src/team → team}/index.d.ts +0 -0
- package/dist/{src/team → team}/internal/service.d.ts +0 -0
- package/dist/{src/team → team}/permissions.d.ts +0 -0
- package/dist/{src/team → team}/user/router.d.ts +0 -0
- package/dist/{src/team → team}/user/service.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/db.schemas.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/index.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/permissions.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/schema.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/trade-market → trade-market}/user/router.d.ts +0 -0
- package/dist/{src/transfer → transfer}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/transfer → transfer}/admin/router.d.ts +0 -0
- package/dist/{src/transfer → transfer}/admin/service.d.ts +0 -0
- package/dist/{src/transfer → transfer}/db.schemas.d.ts +0 -0
- package/dist/{src/transfer → transfer}/errors/index.d.ts +0 -0
- package/dist/{src/transfer → transfer}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/transfer → transfer}/index.d.ts +0 -0
- package/dist/{src/transfer → transfer}/internal/service.d.ts +0 -0
- package/dist/{src/transfer → transfer}/permissions.d.ts +0 -0
- package/dist/{src/transfer → transfer}/schema.d.ts +0 -0
- package/dist/{src/transfer → transfer}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/transfer → transfer}/user/router.d.ts +0 -0
- package/dist/{src/transfer → transfer}/user/service.d.ts +0 -0
- package/dist/{src/user → user}/admin/router.d.ts +0 -0
- package/dist/{src/user → user}/admin/service.d.ts +0 -0
- package/dist/{src/user → user}/db.schemas.d.ts +0 -0
- package/dist/{src/user → user}/errors/index.d.ts +0 -0
- package/dist/{src/user → user}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/user → user}/index.d.ts +0 -0
- package/dist/{src/user → user}/internal/service.d.ts +0 -0
- package/dist/{src/user → user}/permissions.d.ts +0 -0
- package/dist/{src/user → user}/schema.d.ts +0 -0
- package/dist/{src/user → user}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/user → user}/user/router.d.ts +0 -0
- package/dist/{src/user → user}/user/service.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/admin/router.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/admin/service.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/db.schemas.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/errors/index.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/index.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/internal/service.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/permissions.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/schema.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/user/router.d.ts +0 -0
- package/dist/{src/user-kyc → user-kyc}/user/service.d.ts +0 -0
- package/dist/{src/user-security → user-security}/admin/dto.schemas.d.ts +0 -0
- package/dist/{src/user-security → user-security}/admin/router.d.ts +0 -0
- package/dist/{src/user-security → user-security}/admin/service.d.ts +0 -0
- package/dist/{src/user-security → user-security}/db.schemas.d.ts +0 -0
- package/dist/{src/user-security → user-security}/index.d.ts +0 -0
- package/dist/{src/user-security → user-security}/internal/service.d.ts +0 -0
- package/dist/{src/user-security → user-security}/schema.d.ts +0 -0
- package/dist/{src/user-security → user-security}/user/dto.schemas.d.ts +0 -0
- package/dist/{src/user-security → user-security}/user/router.d.ts +0 -0
- package/dist/{src/user-security → user-security}/user/service.d.ts +0 -0
- package/dist/{src/utils → utils}/date.d.ts +0 -0
- package/dist/{src/utils → utils}/index.d.ts +0 -0
- package/dist/{src/utils → utils}/order.d.ts +0 -0
- package/dist/{src/utils → utils}/pagination.d.ts +0 -0
- package/dist/{src/utils → utils}/password.d.ts +0 -0
- package/dist/{src/wallet → wallet}/admin/dto.schemas.d.ts +3 -3
- package/dist/{src/wallet → wallet}/admin/router.d.ts +0 -0
- package/dist/{src/wallet → wallet}/admin/service.d.ts +0 -0
- package/dist/{src/wallet → wallet}/db.schemas.d.ts +0 -0
- package/dist/{src/wallet → wallet}/errors/index.d.ts +0 -0
- package/dist/{src/wallet → wallet}/errors/locales/zh.d.ts +0 -0
- package/dist/{src/wallet → wallet}/index.d.ts +0 -0
- package/dist/{src/wallet → wallet}/internal/service.d.ts +0 -0
- package/dist/{src/wallet → wallet}/permissions.d.ts +0 -0
- package/dist/{src/wallet → wallet}/schema.d.ts +0 -0
- package/dist/{src/wallet → wallet}/seed.d.ts +0 -0
- package/dist/{src/wallet → wallet}/user/dto.schemas.d.ts +2 -2
- /package/dist/{src/wallet → wallet}/user/router.d.ts +0 -0
- /package/dist/{src/wallet → wallet}/user/service.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/admin/dto.schemas.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/admin/router.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/admin/service.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/db.schemas.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/errors/index.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/errors/locales/zh.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/index.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/internal/service.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/permissions.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/schema.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/seed.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/user/dto.schemas.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/user/router.d.ts +0 -0
- /package/dist/{src/wallet-type → wallet-type}/user/service.d.ts +0 -0
- /package/dist/{src/welfare-cycle → welfare-cycle}/cron.d.ts +0 -0
- /package/dist/{src/welfare-cycle → welfare-cycle}/db.schemas.d.ts +0 -0
- /package/dist/{src/welfare-cycle → welfare-cycle}/index.d.ts +0 -0
- /package/dist/{src/welfare-cycle → welfare-cycle}/permissions.d.ts +0 -0
- /package/dist/{src/welfare-cycle → welfare-cycle}/schema.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/admin/dto.schemas.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/admin/router.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/admin/service.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/db.schemas.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/index.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/internal/index.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/internal/service.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/permissions.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/schema.d.ts +0 -0
- /package/dist/{src/withdraw → withdraw}/user/index.d.ts +0 -0
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
export declare const getLedgerEntriesAdminFilterDto: import("@sinclair/typebox").TObject<{
|
|
2
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
3
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
4
|
+
accountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
5
|
+
bizType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
6
|
+
deposit_credit: "deposit_credit";
|
|
7
|
+
withdraw_freeze: "withdraw_freeze";
|
|
8
|
+
withdraw_release: "withdraw_release";
|
|
9
|
+
withdraw_debit: "withdraw_debit";
|
|
10
|
+
transfer_out: "transfer_out";
|
|
11
|
+
transfer_in: "transfer_in";
|
|
12
|
+
internal_transfer_out: "internal_transfer_out";
|
|
13
|
+
internal_transfer_in: "internal_transfer_in";
|
|
14
|
+
manual_increase: "manual_increase";
|
|
15
|
+
manual_decrease: "manual_decrease";
|
|
16
|
+
welfare_cycle_subscribe_transfer: "welfare_cycle_subscribe_transfer";
|
|
17
|
+
welfare_cycle_daily_yield_payout: "welfare_cycle_daily_yield_payout";
|
|
18
|
+
welfare_cycle_maturity_yield_payout: "welfare_cycle_maturity_yield_payout";
|
|
19
|
+
welfare_cycle_maturity_principal_return: "welfare_cycle_maturity_principal_return";
|
|
20
|
+
asset_convert_order_pay_debit: "asset_convert_order_pay_debit";
|
|
21
|
+
asset_convert_order_target_credit: "asset_convert_order_target_credit";
|
|
22
|
+
trade_market_buy_quote_transfer: "trade_market_buy_quote_transfer";
|
|
23
|
+
trade_market_buy_base_transfer: "trade_market_buy_base_transfer";
|
|
24
|
+
trade_market_sell_base_transfer: "trade_market_sell_base_transfer";
|
|
25
|
+
trade_market_sell_quote_transfer: "trade_market_sell_quote_transfer";
|
|
26
|
+
}>>;
|
|
27
|
+
referenceType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
28
|
+
deposit_order: "deposit_order";
|
|
29
|
+
withdraw_order: "withdraw_order";
|
|
30
|
+
transfer_order: "transfer_order";
|
|
31
|
+
internal_transfer_order: "internal_transfer_order";
|
|
32
|
+
manual_adjustment: "manual_adjustment";
|
|
33
|
+
welfare_cycle_subscription: "welfare_cycle_subscription";
|
|
34
|
+
welfare_cycle_daily_payout: "welfare_cycle_daily_payout";
|
|
35
|
+
welfare_cycle_maturity_settlement: "welfare_cycle_maturity_settlement";
|
|
36
|
+
asset_convert_order: "asset_convert_order";
|
|
37
|
+
trade_market_order: "trade_market_order";
|
|
38
|
+
}>>;
|
|
39
|
+
referenceId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
40
|
+
operatorId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
41
|
+
changeDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"increase">, import("@sinclair/typebox").TLiteral<"decrease">]>>;
|
|
42
|
+
startDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
43
|
+
endDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const getLedgerEntriesAdminQueryDto: import("@sinclair/typebox").TObject<{
|
|
46
|
+
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
47
|
+
accountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
48
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
|
+
bizType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
50
|
+
deposit_credit: "deposit_credit";
|
|
51
|
+
withdraw_freeze: "withdraw_freeze";
|
|
52
|
+
withdraw_release: "withdraw_release";
|
|
53
|
+
withdraw_debit: "withdraw_debit";
|
|
54
|
+
transfer_out: "transfer_out";
|
|
55
|
+
transfer_in: "transfer_in";
|
|
56
|
+
internal_transfer_out: "internal_transfer_out";
|
|
57
|
+
internal_transfer_in: "internal_transfer_in";
|
|
58
|
+
manual_increase: "manual_increase";
|
|
59
|
+
manual_decrease: "manual_decrease";
|
|
60
|
+
welfare_cycle_subscribe_transfer: "welfare_cycle_subscribe_transfer";
|
|
61
|
+
welfare_cycle_daily_yield_payout: "welfare_cycle_daily_yield_payout";
|
|
62
|
+
welfare_cycle_maturity_yield_payout: "welfare_cycle_maturity_yield_payout";
|
|
63
|
+
welfare_cycle_maturity_principal_return: "welfare_cycle_maturity_principal_return";
|
|
64
|
+
asset_convert_order_pay_debit: "asset_convert_order_pay_debit";
|
|
65
|
+
asset_convert_order_target_credit: "asset_convert_order_target_credit";
|
|
66
|
+
trade_market_buy_quote_transfer: "trade_market_buy_quote_transfer";
|
|
67
|
+
trade_market_buy_base_transfer: "trade_market_buy_base_transfer";
|
|
68
|
+
trade_market_sell_base_transfer: "trade_market_sell_base_transfer";
|
|
69
|
+
trade_market_sell_quote_transfer: "trade_market_sell_quote_transfer";
|
|
70
|
+
}>>;
|
|
71
|
+
referenceId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
72
|
+
referenceType: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<{
|
|
73
|
+
deposit_order: "deposit_order";
|
|
74
|
+
withdraw_order: "withdraw_order";
|
|
75
|
+
transfer_order: "transfer_order";
|
|
76
|
+
internal_transfer_order: "internal_transfer_order";
|
|
77
|
+
manual_adjustment: "manual_adjustment";
|
|
78
|
+
welfare_cycle_subscription: "welfare_cycle_subscription";
|
|
79
|
+
welfare_cycle_daily_payout: "welfare_cycle_daily_payout";
|
|
80
|
+
welfare_cycle_maturity_settlement: "welfare_cycle_maturity_settlement";
|
|
81
|
+
asset_convert_order: "asset_convert_order";
|
|
82
|
+
trade_market_order: "trade_market_order";
|
|
83
|
+
}>>;
|
|
84
|
+
operatorId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>>;
|
|
85
|
+
startDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
86
|
+
endDate: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TDate>;
|
|
87
|
+
changeDirection: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"increase">, import("@sinclair/typebox").TLiteral<"decrease">]>>;
|
|
88
|
+
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
89
|
+
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
90
|
+
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
91
|
+
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
92
|
+
}>;
|
|
93
|
+
export type GetLedgerEntriesAdminQuery = typeof getLedgerEntriesAdminQueryDto.static;
|
|
94
|
+
export declare const ledgerAccountSnapshotSchema: import("@sinclair/typebox").TObject<{
|
|
95
|
+
id: import("@sinclair/typebox").TString;
|
|
96
|
+
userId: import("@sinclair/typebox").TString;
|
|
97
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
98
|
+
active: "active";
|
|
99
|
+
frozen: "frozen";
|
|
100
|
+
disabled: "disabled";
|
|
101
|
+
}>;
|
|
102
|
+
assetId: import("@sinclair/typebox").TString;
|
|
103
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
104
|
+
available: import("@sinclair/typebox").TString;
|
|
105
|
+
locked: import("@sinclair/typebox").TString;
|
|
106
|
+
user: import("@sinclair/typebox").TObject<{
|
|
107
|
+
email: import("@sinclair/typebox").TString;
|
|
108
|
+
id: import("@sinclair/typebox").TString;
|
|
109
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
110
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
111
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
112
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
113
|
+
}>;
|
|
114
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
115
|
+
symbol: import("@sinclair/typebox").TString;
|
|
116
|
+
id: import("@sinclair/typebox").TString;
|
|
117
|
+
name: import("@sinclair/typebox").TString;
|
|
118
|
+
code: import("@sinclair/typebox").TString;
|
|
119
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
120
|
+
FIAT: "FIAT";
|
|
121
|
+
CRYPTO: "CRYPTO";
|
|
122
|
+
POINT: "POINT";
|
|
123
|
+
RWA: "RWA";
|
|
124
|
+
}>;
|
|
125
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
126
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
127
|
+
}>;
|
|
128
|
+
ledgerAccountType: import("@sinclair/typebox").TObject<{
|
|
129
|
+
id: import("@sinclair/typebox").TString;
|
|
130
|
+
name: import("@sinclair/typebox").TString;
|
|
131
|
+
key: import("@sinclair/typebox").TString;
|
|
132
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
133
|
+
}>;
|
|
134
|
+
}>;
|
|
135
|
+
export declare const ledgerEntryAdminItemSchema: import("@sinclair/typebox").TObject<{
|
|
136
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
137
|
+
id: import("@sinclair/typebox").TString;
|
|
138
|
+
assetId: import("@sinclair/typebox").TString;
|
|
139
|
+
fromAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
140
|
+
toAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
141
|
+
bizType: import("@sinclair/typebox").TEnum<{
|
|
142
|
+
deposit_credit: "deposit_credit";
|
|
143
|
+
withdraw_freeze: "withdraw_freeze";
|
|
144
|
+
withdraw_release: "withdraw_release";
|
|
145
|
+
withdraw_debit: "withdraw_debit";
|
|
146
|
+
transfer_out: "transfer_out";
|
|
147
|
+
transfer_in: "transfer_in";
|
|
148
|
+
internal_transfer_out: "internal_transfer_out";
|
|
149
|
+
internal_transfer_in: "internal_transfer_in";
|
|
150
|
+
manual_increase: "manual_increase";
|
|
151
|
+
manual_decrease: "manual_decrease";
|
|
152
|
+
welfare_cycle_subscribe_transfer: "welfare_cycle_subscribe_transfer";
|
|
153
|
+
welfare_cycle_daily_yield_payout: "welfare_cycle_daily_yield_payout";
|
|
154
|
+
welfare_cycle_maturity_yield_payout: "welfare_cycle_maturity_yield_payout";
|
|
155
|
+
welfare_cycle_maturity_principal_return: "welfare_cycle_maturity_principal_return";
|
|
156
|
+
asset_convert_order_pay_debit: "asset_convert_order_pay_debit";
|
|
157
|
+
asset_convert_order_target_credit: "asset_convert_order_target_credit";
|
|
158
|
+
trade_market_buy_quote_transfer: "trade_market_buy_quote_transfer";
|
|
159
|
+
trade_market_buy_base_transfer: "trade_market_buy_base_transfer";
|
|
160
|
+
trade_market_sell_base_transfer: "trade_market_sell_base_transfer";
|
|
161
|
+
trade_market_sell_quote_transfer: "trade_market_sell_quote_transfer";
|
|
162
|
+
}>;
|
|
163
|
+
amount: import("@sinclair/typebox").TString;
|
|
164
|
+
fromAvailableBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
165
|
+
fromAvailableAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
166
|
+
fromLockedBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
167
|
+
fromLockedAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
168
|
+
toAvailableBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
169
|
+
toAvailableAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
170
|
+
toLockedBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
171
|
+
toLockedAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
172
|
+
referenceId: import("@sinclair/typebox").TString;
|
|
173
|
+
referenceType: import("@sinclair/typebox").TEnum<{
|
|
174
|
+
deposit_order: "deposit_order";
|
|
175
|
+
withdraw_order: "withdraw_order";
|
|
176
|
+
transfer_order: "transfer_order";
|
|
177
|
+
internal_transfer_order: "internal_transfer_order";
|
|
178
|
+
manual_adjustment: "manual_adjustment";
|
|
179
|
+
welfare_cycle_subscription: "welfare_cycle_subscription";
|
|
180
|
+
welfare_cycle_daily_payout: "welfare_cycle_daily_payout";
|
|
181
|
+
welfare_cycle_maturity_settlement: "welfare_cycle_maturity_settlement";
|
|
182
|
+
asset_convert_order: "asset_convert_order";
|
|
183
|
+
trade_market_order: "trade_market_order";
|
|
184
|
+
}>;
|
|
185
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
186
|
+
operatorId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
187
|
+
memo: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
188
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
189
|
+
symbol: import("@sinclair/typebox").TString;
|
|
190
|
+
id: import("@sinclair/typebox").TString;
|
|
191
|
+
name: import("@sinclair/typebox").TString;
|
|
192
|
+
code: import("@sinclair/typebox").TString;
|
|
193
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
194
|
+
FIAT: "FIAT";
|
|
195
|
+
CRYPTO: "CRYPTO";
|
|
196
|
+
POINT: "POINT";
|
|
197
|
+
RWA: "RWA";
|
|
198
|
+
}>;
|
|
199
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
200
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
201
|
+
}>;
|
|
202
|
+
fromAccount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
203
|
+
id: import("@sinclair/typebox").TString;
|
|
204
|
+
userId: import("@sinclair/typebox").TString;
|
|
205
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
206
|
+
active: "active";
|
|
207
|
+
frozen: "frozen";
|
|
208
|
+
disabled: "disabled";
|
|
209
|
+
}>;
|
|
210
|
+
assetId: import("@sinclair/typebox").TString;
|
|
211
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
212
|
+
available: import("@sinclair/typebox").TString;
|
|
213
|
+
locked: import("@sinclair/typebox").TString;
|
|
214
|
+
user: import("@sinclair/typebox").TObject<{
|
|
215
|
+
email: import("@sinclair/typebox").TString;
|
|
216
|
+
id: import("@sinclair/typebox").TString;
|
|
217
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
218
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
219
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
220
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
221
|
+
}>;
|
|
222
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
223
|
+
symbol: import("@sinclair/typebox").TString;
|
|
224
|
+
id: import("@sinclair/typebox").TString;
|
|
225
|
+
name: import("@sinclair/typebox").TString;
|
|
226
|
+
code: import("@sinclair/typebox").TString;
|
|
227
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
228
|
+
FIAT: "FIAT";
|
|
229
|
+
CRYPTO: "CRYPTO";
|
|
230
|
+
POINT: "POINT";
|
|
231
|
+
RWA: "RWA";
|
|
232
|
+
}>;
|
|
233
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
234
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
235
|
+
}>;
|
|
236
|
+
ledgerAccountType: import("@sinclair/typebox").TObject<{
|
|
237
|
+
id: import("@sinclair/typebox").TString;
|
|
238
|
+
name: import("@sinclair/typebox").TString;
|
|
239
|
+
key: import("@sinclair/typebox").TString;
|
|
240
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
241
|
+
}>;
|
|
242
|
+
}>>;
|
|
243
|
+
toAccount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
244
|
+
id: import("@sinclair/typebox").TString;
|
|
245
|
+
userId: import("@sinclair/typebox").TString;
|
|
246
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
247
|
+
active: "active";
|
|
248
|
+
frozen: "frozen";
|
|
249
|
+
disabled: "disabled";
|
|
250
|
+
}>;
|
|
251
|
+
assetId: import("@sinclair/typebox").TString;
|
|
252
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
253
|
+
available: import("@sinclair/typebox").TString;
|
|
254
|
+
locked: import("@sinclair/typebox").TString;
|
|
255
|
+
user: import("@sinclair/typebox").TObject<{
|
|
256
|
+
email: import("@sinclair/typebox").TString;
|
|
257
|
+
id: import("@sinclair/typebox").TString;
|
|
258
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
259
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
260
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
261
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
262
|
+
}>;
|
|
263
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
264
|
+
symbol: import("@sinclair/typebox").TString;
|
|
265
|
+
id: import("@sinclair/typebox").TString;
|
|
266
|
+
name: import("@sinclair/typebox").TString;
|
|
267
|
+
code: import("@sinclair/typebox").TString;
|
|
268
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
269
|
+
FIAT: "FIAT";
|
|
270
|
+
CRYPTO: "CRYPTO";
|
|
271
|
+
POINT: "POINT";
|
|
272
|
+
RWA: "RWA";
|
|
273
|
+
}>;
|
|
274
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
275
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
276
|
+
}>;
|
|
277
|
+
ledgerAccountType: import("@sinclair/typebox").TObject<{
|
|
278
|
+
id: import("@sinclair/typebox").TString;
|
|
279
|
+
name: import("@sinclair/typebox").TString;
|
|
280
|
+
key: import("@sinclair/typebox").TString;
|
|
281
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
282
|
+
}>;
|
|
283
|
+
}>>;
|
|
284
|
+
operator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
285
|
+
email: import("@sinclair/typebox").TString;
|
|
286
|
+
id: import("@sinclair/typebox").TString;
|
|
287
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
288
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
289
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
290
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
291
|
+
}>>;
|
|
292
|
+
}>;
|
|
293
|
+
export type LedgerEntryAdminItem = typeof ledgerEntryAdminItemSchema.static;
|
|
294
|
+
export declare const getLedgerEntriesAdminResponseDto: import("@sinclair/typebox").TObject<{
|
|
295
|
+
data: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
296
|
+
createdAt: import("@sinclair/typebox").TDate;
|
|
297
|
+
id: import("@sinclair/typebox").TString;
|
|
298
|
+
assetId: import("@sinclair/typebox").TString;
|
|
299
|
+
fromAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
300
|
+
toAccountId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
301
|
+
bizType: import("@sinclair/typebox").TEnum<{
|
|
302
|
+
deposit_credit: "deposit_credit";
|
|
303
|
+
withdraw_freeze: "withdraw_freeze";
|
|
304
|
+
withdraw_release: "withdraw_release";
|
|
305
|
+
withdraw_debit: "withdraw_debit";
|
|
306
|
+
transfer_out: "transfer_out";
|
|
307
|
+
transfer_in: "transfer_in";
|
|
308
|
+
internal_transfer_out: "internal_transfer_out";
|
|
309
|
+
internal_transfer_in: "internal_transfer_in";
|
|
310
|
+
manual_increase: "manual_increase";
|
|
311
|
+
manual_decrease: "manual_decrease";
|
|
312
|
+
welfare_cycle_subscribe_transfer: "welfare_cycle_subscribe_transfer";
|
|
313
|
+
welfare_cycle_daily_yield_payout: "welfare_cycle_daily_yield_payout";
|
|
314
|
+
welfare_cycle_maturity_yield_payout: "welfare_cycle_maturity_yield_payout";
|
|
315
|
+
welfare_cycle_maturity_principal_return: "welfare_cycle_maturity_principal_return";
|
|
316
|
+
asset_convert_order_pay_debit: "asset_convert_order_pay_debit";
|
|
317
|
+
asset_convert_order_target_credit: "asset_convert_order_target_credit";
|
|
318
|
+
trade_market_buy_quote_transfer: "trade_market_buy_quote_transfer";
|
|
319
|
+
trade_market_buy_base_transfer: "trade_market_buy_base_transfer";
|
|
320
|
+
trade_market_sell_base_transfer: "trade_market_sell_base_transfer";
|
|
321
|
+
trade_market_sell_quote_transfer: "trade_market_sell_quote_transfer";
|
|
322
|
+
}>;
|
|
323
|
+
amount: import("@sinclair/typebox").TString;
|
|
324
|
+
fromAvailableBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
325
|
+
fromAvailableAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
326
|
+
fromLockedBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
327
|
+
fromLockedAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
328
|
+
toAvailableBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
329
|
+
toAvailableAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
330
|
+
toLockedBefore: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
331
|
+
toLockedAfter: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
332
|
+
referenceId: import("@sinclair/typebox").TString;
|
|
333
|
+
referenceType: import("@sinclair/typebox").TEnum<{
|
|
334
|
+
deposit_order: "deposit_order";
|
|
335
|
+
withdraw_order: "withdraw_order";
|
|
336
|
+
transfer_order: "transfer_order";
|
|
337
|
+
internal_transfer_order: "internal_transfer_order";
|
|
338
|
+
manual_adjustment: "manual_adjustment";
|
|
339
|
+
welfare_cycle_subscription: "welfare_cycle_subscription";
|
|
340
|
+
welfare_cycle_daily_payout: "welfare_cycle_daily_payout";
|
|
341
|
+
welfare_cycle_maturity_settlement: "welfare_cycle_maturity_settlement";
|
|
342
|
+
asset_convert_order: "asset_convert_order";
|
|
343
|
+
trade_market_order: "trade_market_order";
|
|
344
|
+
}>;
|
|
345
|
+
idempotencyKey: import("@sinclair/typebox").TString;
|
|
346
|
+
operatorId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
347
|
+
memo: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
348
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
349
|
+
symbol: import("@sinclair/typebox").TString;
|
|
350
|
+
id: import("@sinclair/typebox").TString;
|
|
351
|
+
name: import("@sinclair/typebox").TString;
|
|
352
|
+
code: import("@sinclair/typebox").TString;
|
|
353
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
354
|
+
FIAT: "FIAT";
|
|
355
|
+
CRYPTO: "CRYPTO";
|
|
356
|
+
POINT: "POINT";
|
|
357
|
+
RWA: "RWA";
|
|
358
|
+
}>;
|
|
359
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
360
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
361
|
+
}>;
|
|
362
|
+
fromAccount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
363
|
+
id: import("@sinclair/typebox").TString;
|
|
364
|
+
userId: import("@sinclair/typebox").TString;
|
|
365
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
366
|
+
active: "active";
|
|
367
|
+
frozen: "frozen";
|
|
368
|
+
disabled: "disabled";
|
|
369
|
+
}>;
|
|
370
|
+
assetId: import("@sinclair/typebox").TString;
|
|
371
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
372
|
+
available: import("@sinclair/typebox").TString;
|
|
373
|
+
locked: import("@sinclair/typebox").TString;
|
|
374
|
+
user: import("@sinclair/typebox").TObject<{
|
|
375
|
+
email: import("@sinclair/typebox").TString;
|
|
376
|
+
id: import("@sinclair/typebox").TString;
|
|
377
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
378
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
379
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
380
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
381
|
+
}>;
|
|
382
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
383
|
+
symbol: import("@sinclair/typebox").TString;
|
|
384
|
+
id: import("@sinclair/typebox").TString;
|
|
385
|
+
name: import("@sinclair/typebox").TString;
|
|
386
|
+
code: import("@sinclair/typebox").TString;
|
|
387
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
388
|
+
FIAT: "FIAT";
|
|
389
|
+
CRYPTO: "CRYPTO";
|
|
390
|
+
POINT: "POINT";
|
|
391
|
+
RWA: "RWA";
|
|
392
|
+
}>;
|
|
393
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
394
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
395
|
+
}>;
|
|
396
|
+
ledgerAccountType: import("@sinclair/typebox").TObject<{
|
|
397
|
+
id: import("@sinclair/typebox").TString;
|
|
398
|
+
name: import("@sinclair/typebox").TString;
|
|
399
|
+
key: import("@sinclair/typebox").TString;
|
|
400
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
401
|
+
}>;
|
|
402
|
+
}>>;
|
|
403
|
+
toAccount: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
404
|
+
id: import("@sinclair/typebox").TString;
|
|
405
|
+
userId: import("@sinclair/typebox").TString;
|
|
406
|
+
status: import("@sinclair/typebox").TEnum<{
|
|
407
|
+
active: "active";
|
|
408
|
+
frozen: "frozen";
|
|
409
|
+
disabled: "disabled";
|
|
410
|
+
}>;
|
|
411
|
+
assetId: import("@sinclair/typebox").TString;
|
|
412
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
413
|
+
available: import("@sinclair/typebox").TString;
|
|
414
|
+
locked: import("@sinclair/typebox").TString;
|
|
415
|
+
user: import("@sinclair/typebox").TObject<{
|
|
416
|
+
email: import("@sinclair/typebox").TString;
|
|
417
|
+
id: import("@sinclair/typebox").TString;
|
|
418
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
419
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
420
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
421
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
422
|
+
}>;
|
|
423
|
+
asset: import("@sinclair/typebox").TObject<{
|
|
424
|
+
symbol: import("@sinclair/typebox").TString;
|
|
425
|
+
id: import("@sinclair/typebox").TString;
|
|
426
|
+
name: import("@sinclair/typebox").TString;
|
|
427
|
+
code: import("@sinclair/typebox").TString;
|
|
428
|
+
category: import("@sinclair/typebox").TEnum<{
|
|
429
|
+
FIAT: "FIAT";
|
|
430
|
+
CRYPTO: "CRYPTO";
|
|
431
|
+
POINT: "POINT";
|
|
432
|
+
RWA: "RWA";
|
|
433
|
+
}>;
|
|
434
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
435
|
+
precision: import("@sinclair/typebox").TInteger;
|
|
436
|
+
}>;
|
|
437
|
+
ledgerAccountType: import("@sinclair/typebox").TObject<{
|
|
438
|
+
id: import("@sinclair/typebox").TString;
|
|
439
|
+
name: import("@sinclair/typebox").TString;
|
|
440
|
+
key: import("@sinclair/typebox").TString;
|
|
441
|
+
isActive: import("@sinclair/typebox").TBoolean;
|
|
442
|
+
}>;
|
|
443
|
+
}>>;
|
|
444
|
+
operator: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TObject<{
|
|
445
|
+
email: import("@sinclair/typebox").TString;
|
|
446
|
+
id: import("@sinclair/typebox").TString;
|
|
447
|
+
username: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
448
|
+
displayUsername: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
449
|
+
phoneNumber: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
450
|
+
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
451
|
+
}>>;
|
|
452
|
+
}>>;
|
|
453
|
+
pagination: import("@sinclair/typebox").TObject<{
|
|
454
|
+
pageSize: import("@sinclair/typebox").TNumber;
|
|
455
|
+
pageIndex: import("@sinclair/typebox").TNumber;
|
|
456
|
+
total: import("@sinclair/typebox").TNumber;
|
|
457
|
+
totalPages: import("@sinclair/typebox").TNumber;
|
|
458
|
+
hasNextPage: import("@sinclair/typebox").TBoolean;
|
|
459
|
+
}>;
|
|
460
|
+
}>;
|
|
461
|
+
export type GetLedgerEntriesAdminResponse = typeof getLedgerEntriesAdminResponseDto.static;
|
|
@@ -405,8 +405,89 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
405
405
|
response: {
|
|
406
406
|
200: {
|
|
407
407
|
data: {
|
|
408
|
+
fromAccount?: {
|
|
409
|
+
user: {
|
|
410
|
+
email: string;
|
|
411
|
+
id: string;
|
|
412
|
+
username: string | null;
|
|
413
|
+
displayUsername: string | null;
|
|
414
|
+
phoneNumber: string | null;
|
|
415
|
+
banned: boolean | null;
|
|
416
|
+
};
|
|
417
|
+
id: string;
|
|
418
|
+
userId: string;
|
|
419
|
+
status: "active" | "frozen" | "disabled";
|
|
420
|
+
asset: {
|
|
421
|
+
symbol: string;
|
|
422
|
+
id: string;
|
|
423
|
+
name: string;
|
|
424
|
+
code: string;
|
|
425
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
426
|
+
isActive: boolean;
|
|
427
|
+
precision: number;
|
|
428
|
+
};
|
|
429
|
+
assetId: string;
|
|
430
|
+
ledgerAccountTypeId: string;
|
|
431
|
+
available: string;
|
|
432
|
+
locked: string;
|
|
433
|
+
ledgerAccountType: {
|
|
434
|
+
id: string;
|
|
435
|
+
name: string;
|
|
436
|
+
key: string;
|
|
437
|
+
isActive: boolean;
|
|
438
|
+
};
|
|
439
|
+
} | undefined;
|
|
440
|
+
toAccount?: {
|
|
441
|
+
user: {
|
|
442
|
+
email: string;
|
|
443
|
+
id: string;
|
|
444
|
+
username: string | null;
|
|
445
|
+
displayUsername: string | null;
|
|
446
|
+
phoneNumber: string | null;
|
|
447
|
+
banned: boolean | null;
|
|
448
|
+
};
|
|
449
|
+
id: string;
|
|
450
|
+
userId: string;
|
|
451
|
+
status: "active" | "frozen" | "disabled";
|
|
452
|
+
asset: {
|
|
453
|
+
symbol: string;
|
|
454
|
+
id: string;
|
|
455
|
+
name: string;
|
|
456
|
+
code: string;
|
|
457
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
458
|
+
isActive: boolean;
|
|
459
|
+
precision: number;
|
|
460
|
+
};
|
|
461
|
+
assetId: string;
|
|
462
|
+
ledgerAccountTypeId: string;
|
|
463
|
+
available: string;
|
|
464
|
+
locked: string;
|
|
465
|
+
ledgerAccountType: {
|
|
466
|
+
id: string;
|
|
467
|
+
name: string;
|
|
468
|
+
key: string;
|
|
469
|
+
isActive: boolean;
|
|
470
|
+
};
|
|
471
|
+
} | undefined;
|
|
472
|
+
operator?: {
|
|
473
|
+
email: string;
|
|
474
|
+
id: string;
|
|
475
|
+
username: string | null;
|
|
476
|
+
displayUsername: string | null;
|
|
477
|
+
phoneNumber: string | null;
|
|
478
|
+
banned: boolean | null;
|
|
479
|
+
} | undefined;
|
|
408
480
|
id: string;
|
|
409
481
|
createdAt: Date;
|
|
482
|
+
asset: {
|
|
483
|
+
symbol: string;
|
|
484
|
+
id: string;
|
|
485
|
+
name: string;
|
|
486
|
+
code: string;
|
|
487
|
+
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
488
|
+
isActive: boolean;
|
|
489
|
+
precision: number;
|
|
490
|
+
};
|
|
410
491
|
assetId: string;
|
|
411
492
|
fromAccountId: string | null;
|
|
412
493
|
toAccountId: string | null;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ledgerEntry } from "../schema";
|
|
2
|
+
export interface AdminLedgerEntryQueryOptions {
|
|
3
|
+
userId?: string;
|
|
4
|
+
assetId?: string;
|
|
5
|
+
accountId?: string;
|
|
6
|
+
bizType?: typeof ledgerEntry.$inferSelect.bizType;
|
|
7
|
+
referenceType?: typeof ledgerEntry.$inferSelect.referenceType;
|
|
8
|
+
referenceId?: string;
|
|
9
|
+
operatorId?: string | null;
|
|
10
|
+
changeDirection?: "increase" | "decrease";
|
|
11
|
+
startDate?: Date;
|
|
12
|
+
endDate?: Date;
|
|
13
|
+
limit?: number;
|
|
14
|
+
offset?: number;
|
|
15
|
+
}
|
|
16
|
+
export declare abstract class AdminLedgerService {
|
|
17
|
+
private static mapLedgerEntryResponse;
|
|
18
|
+
static getLedgerEntries(options?: AdminLedgerEntryQueryOptions): Promise<{
|
|
19
|
+
items: any[];
|
|
20
|
+
total: number;
|
|
21
|
+
}>;
|
|
22
|
+
}
|
|
@@ -361,4 +361,5 @@ export declare const ledgerEntryRelations: import("drizzle-orm").Relations<"ledg
|
|
|
361
361
|
asset: import("drizzle-orm").One<"asset", true>;
|
|
362
362
|
fromAccount: import("drizzle-orm").One<"ledger_account", false>;
|
|
363
363
|
toAccount: import("drizzle-orm").One<"ledger_account", false>;
|
|
364
|
+
operator: import("drizzle-orm").One<"user", false>;
|
|
364
365
|
}>;
|