@r2wa-org/eden 0.0.79 → 0.0.80
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 +24 -10
- package/dist/admin/index.d.ts +831 -1163
- package/dist/admin-user/admin/errors/index.d.ts +2 -2
- package/dist/admin-user/admin/errors/locales/zh.d.ts +1 -1
- package/dist/admin-user/admin/router.d.ts +13 -13
- package/dist/admin-user/admin/service.d.ts +1 -1
- package/dist/app-version/admin/dto.schemas.d.ts +1 -1
- package/dist/app-version/admin/router.d.ts +17 -17
- package/dist/app-version/admin/service.d.ts +1 -1
- package/dist/asset/admin/dto.schemas.d.ts +21 -21
- package/dist/asset/admin/router.d.ts +38 -38
- package/dist/asset/admin/service.d.ts +20 -20
- package/dist/asset/db.schemas.d.ts +4 -4
- package/dist/asset/errors/index.d.ts +2 -2
- package/dist/asset/errors/locales/zh.d.ts +1 -1
- package/dist/asset/index.d.ts +11 -11
- package/dist/asset/internal/service.d.ts +6 -6
- package/dist/asset/permissions.d.ts +1 -1
- package/dist/asset/schema.d.ts +3 -3
- package/dist/asset/user/dto.schemas.d.ts +9 -9
- package/dist/asset/user/router.d.ts +16 -16
- package/dist/asset/user/service.d.ts +11 -11
- package/dist/asset-convert-product/admin/dto.schemas.d.ts +15 -15
- package/dist/asset-convert-product/admin/router.d.ts +54 -54
- package/dist/asset-convert-product/admin/service.d.ts +33 -33
- package/dist/asset-convert-product/errors/index.d.ts +2 -2
- package/dist/asset-convert-product/errors/locales/zh.d.ts +1 -1
- package/dist/asset-convert-product/index.d.ts +8 -8
- package/dist/asset-convert-product/permissions.d.ts +2 -2
- package/dist/asset-convert-product/user/dto.schemas.d.ts +6 -6
- package/dist/asset-convert-product/user/router.d.ts +12 -12
- package/dist/asset-convert-product/user/service.d.ts +12 -12
- package/dist/asset-price/admin/dto.schemas.d.ts +3 -3
- package/dist/asset-price/admin/router.d.ts +15 -15
- package/dist/asset-price/admin/service.d.ts +5 -5
- package/dist/asset-price/errors/index.d.ts +2 -2
- package/dist/asset-price/errors/locales/zh.d.ts +1 -1
- package/dist/asset-price/index.d.ts +12 -12
- package/dist/asset-price/permissions.d.ts +2 -2
- package/dist/asset-price/user/router.d.ts +5 -5
- package/dist/asset-price/user/service.d.ts +1 -1
- package/dist/asset-type/admin/router.d.ts +11 -11
- package/dist/asset-type/admin/service.d.ts +2 -2
- package/dist/asset-type/errors/index.d.ts +2 -2
- package/dist/asset-type/errors/locales/zh.d.ts +1 -1
- package/dist/asset-type/index.d.ts +11 -11
- package/dist/asset-type/permissions.d.ts +1 -1
- package/dist/asset-type/seed.d.ts +1 -1
- package/dist/asset-type/user/router.d.ts +4 -4
- package/dist/asset-type/user/service.d.ts +2 -2
- package/dist/auth/better-auth.d.ts +289 -290
- package/dist/auth/better-hooks.d.ts +1 -1
- package/dist/auth/permissions.d.ts +210 -210
- package/dist/auth/roles.d.ts +630 -630
- package/dist/auth/router.d.ts +3 -3
- package/dist/bank-account/admin/router.d.ts +21 -21
- package/dist/bank-account/admin/service.d.ts +5 -5
- package/dist/bank-account/errors/index.d.ts +2 -2
- package/dist/bank-account/errors/locales/zh.d.ts +1 -1
- package/dist/bank-account/index.d.ts +8 -8
- package/dist/bank-account/internal/service.d.ts +1 -1
- package/dist/bank-account/permissions.d.ts +3 -3
- package/dist/bank-account/user/router.d.ts +8 -8
- package/dist/bank-account/user/service.d.ts +3 -3
- package/dist/check-in/admin/router.d.ts +5 -5
- package/dist/check-in/admin/service.d.ts +2 -2
- package/dist/check-in/errors/index.d.ts +2 -2
- package/dist/check-in/errors/locales/zh.d.ts +1 -1
- package/dist/check-in/index.d.ts +7 -7
- package/dist/check-in/internal/service.d.ts +5 -5
- package/dist/check-in/permissions.d.ts +2 -2
- package/dist/check-in/user/router.d.ts +8 -8
- package/dist/check-in/user/service.d.ts +3 -3
- package/dist/db/index.d.ts +1 -1
- package/dist/db/schemas.d.ts +34 -34
- package/dist/db/transaction.d.ts +1 -1
- package/dist/db/typebox.d.ts +4 -4
- package/dist/deposit/admin/router.d.ts +9 -9
- package/dist/deposit/admin/service.d.ts +2 -2
- package/dist/deposit/errors/index.d.ts +2 -2
- package/dist/deposit/errors/locales/zh.d.ts +1 -1
- package/dist/deposit/index.d.ts +7 -7
- package/dist/deposit/internal/service.d.ts +1 -1
- package/dist/deposit/permissions.d.ts +2 -2
- package/dist/deposit/user/router.d.ts +8 -8
- package/dist/deposit/user/service.d.ts +2 -2
- package/dist/dynamic-env/admin.router.d.ts +11 -11
- package/dist/dynamic-env/cache.d.ts +1 -1
- package/dist/dynamic-env/errors/index.d.ts +2 -2
- package/dist/dynamic-env/errors/locales/zh.d.ts +1 -1
- package/dist/dynamic-env/index.d.ts +3 -3
- package/dist/dynamic-env/service.d.ts +1 -1
- package/dist/email/index.d.ts +1 -1
- package/dist/env/index.d.ts +2 -2
- package/dist/env/server.d.ts +0 -6
- package/dist/env/typebox-env.d.ts +1 -1
- package/dist/error/index.d.ts +4 -4
- package/dist/error/locales/zh.d.ts +1 -1
- package/dist/error/messages.d.ts +2 -2
- package/dist/external/errors/index.d.ts +2 -2
- package/dist/external/errors/locales/zh.d.ts +1 -1
- package/dist/external/index.d.ts +4 -4
- package/dist/external/router.d.ts +4 -4
- package/dist/external/service.d.ts +1 -1
- package/dist/file-storage/admin/dto.schemas.d.ts +2 -2
- package/dist/file-storage/admin/router.d.ts +9 -9
- package/dist/file-storage/admin/service.d.ts +2 -2
- package/dist/file-storage/errors/index.d.ts +2 -2
- package/dist/file-storage/errors/locales/zh.d.ts +1 -1
- package/dist/file-storage/index.d.ts +7 -7
- package/dist/file-storage/internal/service.d.ts +2 -2
- package/dist/file-storage/permissions.d.ts +2 -2
- package/dist/file-storage/s3.client.d.ts +11 -11
- package/dist/file-storage/share/router.d.ts +7 -7
- package/dist/file-storage/user/router.d.ts +6 -6
- package/dist/file-storage/user/service.d.ts +2 -2
- package/dist/http-access-log.d.ts +1 -1
- package/dist/index.d.ts +1132 -1566
- package/dist/ledger/admin/dto.schemas.d.ts +7 -7
- package/dist/ledger/admin/router.d.ts +8 -8
- package/dist/ledger/admin/service.d.ts +2 -2
- package/dist/ledger/errors/index.d.ts +2 -2
- package/dist/ledger/errors/locales/zh.d.ts +1 -1
- package/dist/ledger/index.d.ts +6 -6
- package/dist/ledger/internal/service.d.ts +5 -5
- package/dist/ledger/permissions.d.ts +1 -1
- package/dist/ledger/user/router.d.ts +4 -4
- package/dist/ledger/user/service.d.ts +6 -6
- package/dist/ledger-account/admin/dto.schemas.d.ts +42 -8
- package/dist/ledger-account/admin/router.d.ts +65 -16
- package/dist/ledger-account/admin/service.d.ts +22 -8
- package/dist/ledger-account/errors/index.d.ts +2 -2
- package/dist/ledger-account/errors/locales/zh.d.ts +1 -1
- package/dist/ledger-account/index.d.ts +8 -8
- package/dist/ledger-account/internal/service.d.ts +1 -1
- package/dist/ledger-account/permissions.d.ts +1 -1
- package/dist/ledger-account/user/dto.schemas.d.ts +2 -2
- package/dist/ledger-account/user/router.d.ts +9 -9
- package/dist/ledger-account/user/service.d.ts +8 -8
- package/dist/ledger-account-import/admin/router.d.ts +13 -13
- package/dist/ledger-account-import/admin/service.d.ts +2 -2
- package/dist/ledger-account-import/errors/index.d.ts +2 -2
- package/dist/ledger-account-import/errors/locales/zh.d.ts +1 -1
- package/dist/ledger-account-import/index.d.ts +8 -8
- package/dist/ledger-account-import/internal/service.d.ts +1 -1
- package/dist/ledger-account-import/permissions.d.ts +1 -1
- package/dist/ledger-account-import/user/service.d.ts +1 -1
- package/dist/ledger-account-transfer/admin/service.d.ts +1 -1
- package/dist/ledger-account-transfer/errors/index.d.ts +2 -2
- package/dist/ledger-account-transfer/errors/locales/zh.d.ts +1 -1
- package/dist/ledger-account-transfer/index.d.ts +6 -6
- package/dist/ledger-account-transfer/internal/service.d.ts +1 -1
- package/dist/ledger-account-transfer/user/router.d.ts +4 -4
- package/dist/ledger-account-transfer/user/service.d.ts +2 -2
- package/dist/ledger-account-type/admin/router.d.ts +11 -11
- package/dist/ledger-account-type/admin/service.d.ts +2 -2
- package/dist/ledger-account-type/errors/index.d.ts +2 -2
- package/dist/ledger-account-type/errors/locales/zh.d.ts +1 -1
- package/dist/ledger-account-type/index.d.ts +9 -9
- package/dist/ledger-account-type/permissions.d.ts +1 -1
- package/dist/ledger-account-type/user/router.d.ts +5 -5
- package/dist/ledger-account-type/user/service.d.ts +2 -2
- package/dist/market-data/admin/dto.schemas.d.ts +423 -647
- package/dist/market-data/admin/router.d.ts +105 -146
- package/dist/market-data/admin/service.d.ts +12 -46
- package/dist/market-data/cron.d.ts +2 -1
- package/dist/market-data/db.schemas.d.ts +40 -176
- package/dist/market-data/errors/index.d.ts +2 -2
- package/dist/market-data/errors/locales/zh.d.ts +1 -1
- package/dist/market-data/index.d.ts +8 -8
- package/dist/market-data/internal/service.d.ts +77 -46
- package/dist/market-data/permissions.d.ts +3 -3
- package/dist/market-data/resolutions.d.ts +9 -0
- package/dist/market-data/schema.d.ts +23 -94
- package/dist/market-data/user/router.d.ts +9 -9
- package/dist/market-data/user/service.d.ts +2 -2
- package/dist/market-pricing/admin/dto.schemas.d.ts +316 -429
- package/dist/market-pricing/admin/router.d.ts +243 -147
- package/dist/market-pricing/admin/service.d.ts +184 -103
- package/dist/market-pricing/cron.d.ts +2 -2
- package/dist/market-pricing/db.schemas.d.ts +661 -117
- package/dist/market-pricing/errors/index.d.ts +3 -2
- package/dist/market-pricing/errors/locales/zh.d.ts +2 -1
- package/dist/market-pricing/internal/service.d.ts +28 -5
- package/dist/market-pricing/permissions.d.ts +1 -1
- package/dist/market-pricing/schema.d.ts +304 -28
- package/dist/news/admin/dto.schemas.d.ts +2 -2
- package/dist/news/admin/router.d.ts +17 -17
- package/dist/news/admin/service.d.ts +2 -2
- package/dist/news/errors/index.d.ts +2 -2
- package/dist/news/errors/locales/zh.d.ts +1 -1
- package/dist/news/index.d.ts +7 -7
- package/dist/news/permissions.d.ts +1 -1
- package/dist/news/user/dto.schemas.d.ts +4 -4
- package/dist/news/user/router.d.ts +5 -5
- package/dist/news/user/service.d.ts +2 -2
- package/dist/news-category/admin/dto.schemas.d.ts +2 -2
- package/dist/news-category/admin/router.d.ts +1 -1
- package/dist/news-category/admin/service.d.ts +2 -2
- package/dist/news-category/errors/index.d.ts +2 -2
- package/dist/news-category/errors/locales/zh.d.ts +1 -1
- package/dist/news-category/index.d.ts +8 -8
- package/dist/news-category/permissions.d.ts +1 -1
- package/dist/news-category/user/router.d.ts +3 -3
- package/dist/news-category/user/service.d.ts +1 -1
- package/dist/notification/admin/router.d.ts +7 -7
- package/dist/notification/admin/service.d.ts +2 -2
- package/dist/notification/errors/index.d.ts +2 -2
- package/dist/notification/errors/locales/zh.d.ts +1 -1
- package/dist/notification/index.d.ts +7 -7
- package/dist/notification/internal/service.d.ts +4 -4
- package/dist/notification/permissions.d.ts +2 -2
- package/dist/notification/user/router.d.ts +8 -8
- package/dist/notification/user/service.d.ts +2 -2
- package/dist/operations-overview/admin/router.d.ts +8 -8
- package/dist/operations-overview/admin/service.d.ts +1 -1
- package/dist/portfolio/index.d.ts +2 -2
- package/dist/portfolio/internal/index.d.ts +1 -1
- package/dist/portfolio/user/dto.schemas.d.ts +1 -1
- package/dist/portfolio/user/index.d.ts +3 -3
- package/dist/portfolio/user/router.d.ts +8 -8
- package/dist/portfolio/user/service.d.ts +3 -3
- package/dist/receipt-method/admin/router.d.ts +9 -9
- package/dist/receipt-method/admin/service.d.ts +2 -2
- package/dist/receipt-method/errors/index.d.ts +2 -2
- package/dist/receipt-method/errors/locales/zh.d.ts +1 -1
- package/dist/receipt-method/index.d.ts +7 -7
- package/dist/receipt-method/internal/service.d.ts +3 -3
- package/dist/receipt-method/permissions.d.ts +1 -1
- package/dist/receipt-method/user/router.d.ts +8 -8
- package/dist/receipt-method/user/service.d.ts +3 -3
- package/dist/referral/admin/router.d.ts +7 -7
- package/dist/referral/admin/service.d.ts +2 -2
- package/dist/referral/errors/index.d.ts +2 -2
- package/dist/referral/errors/locales/zh.d.ts +1 -1
- package/dist/referral/index.d.ts +9 -9
- package/dist/referral/permissions.d.ts +1 -1
- package/dist/referral/user/router.d.ts +7 -7
- package/dist/referral/user/service.d.ts +2 -2
- package/dist/referral-depth-config/admin/router.d.ts +13 -13
- package/dist/referral-depth-config/admin/service.d.ts +2 -2
- package/dist/referral-depth-config/errors/index.d.ts +2 -2
- package/dist/referral-depth-config/errors/locales/zh.d.ts +1 -1
- package/dist/referral-depth-config/permissions.d.ts +1 -1
- package/dist/server-test/errors/index.d.ts +2 -2
- package/dist/server-test/errors/locales/zh.d.ts +1 -1
- package/dist/server-test/index.d.ts +3 -3
- package/dist/shipping-address/admin/router.d.ts +5 -5
- package/dist/shipping-address/admin/service.d.ts +2 -2
- package/dist/shipping-address/errors/index.d.ts +2 -2
- package/dist/shipping-address/errors/locales/zh.d.ts +1 -1
- package/dist/shipping-address/index.d.ts +7 -7
- package/dist/shipping-address/permissions.d.ts +1 -1
- package/dist/shipping-address/user/router.d.ts +9 -9
- package/dist/shipping-address/user/service.d.ts +3 -3
- package/dist/src/admin/index.d.ts +10428 -0
- package/dist/src/admin-user/admin/dto.schemas.d.ts +878 -0
- package/dist/src/admin-user/admin/errors/index.d.ts +20 -0
- package/dist/src/admin-user/admin/errors/locales/zh.d.ts +16 -0
- package/dist/src/admin-user/admin/router.d.ts +655 -0
- package/dist/src/admin-user/admin/service.d.ts +60 -0
- package/dist/src/app-version/admin/dto.schemas.d.ts +99 -0
- package/dist/src/app-version/admin/router.d.ts +756 -0
- package/dist/src/app-version/admin/service.d.ts +105 -0
- package/dist/src/app-version/db.schemas.d.ts +448 -0
- package/dist/src/app-version/schema.d.ts +236 -0
- package/dist/src/asset/admin/dto.schemas.d.ts +164 -0
- package/dist/src/asset/admin/router.d.ts +762 -0
- package/dist/src/asset/admin/service.d.ts +144 -0
- package/dist/src/asset/db.schemas.d.ts +380 -0
- package/dist/src/asset/errors/index.d.ts +33 -0
- package/dist/src/asset/errors/locales/zh.d.ts +20 -0
- package/dist/src/asset/index.d.ts +11 -0
- package/dist/src/asset/internal/service.d.ts +16 -0
- package/dist/src/asset/permissions.d.ts +4 -0
- package/dist/src/asset/schema.d.ts +209 -0
- package/dist/src/asset/seed.d.ts +1 -0
- package/dist/src/asset/user/dto.schemas.d.ts +78 -0
- package/dist/src/asset/user/router.d.ts +567 -0
- package/dist/src/asset/user/service.d.ts +75 -0
- package/dist/src/asset-convert-product/admin/dto.schemas.d.ts +823 -0
- package/dist/src/asset-convert-product/admin/router.d.ts +1586 -0
- package/dist/src/asset-convert-product/admin/service.d.ts +814 -0
- package/dist/src/asset-convert-product/db.schemas.d.ts +1270 -0
- package/dist/src/asset-convert-product/errors/index.d.ts +32 -0
- package/dist/src/asset-convert-product/errors/locales/zh.d.ts +31 -0
- package/dist/src/asset-convert-product/index.d.ts +8 -0
- package/dist/src/asset-convert-product/internal/service.d.ts +2 -0
- package/dist/src/asset-convert-product/permissions.d.ts +5 -0
- package/dist/src/asset-convert-product/schema.d.ts +688 -0
- package/dist/src/asset-convert-product/user/dto.schemas.d.ts +1089 -0
- package/dist/src/asset-convert-product/user/router.d.ts +797 -0
- package/dist/src/asset-convert-product/user/service.d.ts +413 -0
- package/dist/src/asset-price/admin/dto.schemas.d.ts +102 -0
- package/dist/src/asset-price/admin/router.d.ts +658 -0
- package/dist/src/asset-price/admin/service.d.ts +82 -0
- package/dist/src/asset-price/constants.d.ts +2 -0
- package/dist/src/asset-price/db.schemas.d.ts +358 -0
- package/dist/src/asset-price/errors/index.d.ts +20 -0
- package/dist/src/asset-price/errors/locales/zh.d.ts +19 -0
- package/dist/src/asset-price/index.d.ts +12 -0
- package/dist/src/asset-price/internal/service.d.ts +14 -0
- package/dist/src/asset-price/permissions.d.ts +6 -0
- package/dist/src/asset-price/schema.d.ts +191 -0
- package/dist/src/asset-price/seed.d.ts +1 -0
- package/dist/src/asset-price/user/dto.schemas.d.ts +45 -0
- package/dist/src/asset-price/user/router.d.ts +512 -0
- package/dist/src/asset-price/user/service.d.ts +26 -0
- package/dist/src/asset-type/admin/dto.schemas.d.ts +404 -0
- package/dist/src/asset-type/admin/router.d.ts +617 -0
- package/dist/src/asset-type/admin/service.d.ts +45 -0
- package/dist/src/asset-type/db.schemas.d.ts +244 -0
- package/dist/src/asset-type/errors/index.d.ts +27 -0
- package/dist/src/asset-type/errors/locales/zh.d.ts +17 -0
- package/dist/src/asset-type/index.d.ts +11 -0
- package/dist/src/asset-type/internal/service.d.ts +9 -0
- package/dist/src/asset-type/permissions.d.ts +4 -0
- package/dist/src/asset-type/schema.d.ts +133 -0
- package/dist/src/asset-type/seed.d.ts +19 -0
- package/dist/src/asset-type/user/dto.schemas.d.ts +35 -0
- package/dist/src/asset-type/user/router.d.ts +471 -0
- package/dist/src/asset-type/user/service.d.ts +18 -0
- package/dist/src/auth/better-auth.d.ts +3312 -0
- package/dist/src/auth/better-hooks.d.ts +23 -0
- package/dist/src/auth/db.schemas.d.ts +1696 -0
- package/dist/src/auth/permissions.d.ts +235 -0
- package/dist/src/auth/roles.d.ts +725 -0
- package/dist/src/auth/router.d.ts +385 -0
- package/dist/src/auth/schema.d.ts +882 -0
- package/dist/src/bank-account/admin/dto.schemas.d.ts +524 -0
- package/dist/src/bank-account/admin/router.d.ts +909 -0
- package/dist/src/bank-account/admin/service.d.ts +221 -0
- package/dist/src/bank-account/db.schemas.d.ts +1032 -0
- package/dist/src/bank-account/errors/index.d.ts +13 -0
- package/dist/src/bank-account/errors/locales/zh.d.ts +12 -0
- package/dist/src/bank-account/index.d.ts +8 -0
- package/dist/src/bank-account/internal/service.d.ts +51 -0
- package/dist/src/bank-account/permissions.d.ts +10 -0
- package/dist/src/bank-account/schema.d.ts +535 -0
- package/dist/src/bank-account/seed.d.ts +4 -0
- package/dist/src/bank-account/user/dto.schemas.d.ts +458 -0
- package/dist/src/bank-account/user/router.d.ts +680 -0
- package/dist/src/bank-account/user/service.d.ts +133 -0
- package/dist/src/check-in/admin/dto.schemas.d.ts +312 -0
- package/dist/src/check-in/admin/router.d.ts +526 -0
- package/dist/src/check-in/admin/service.d.ts +38 -0
- package/dist/src/check-in/db.schemas.d.ts +312 -0
- package/dist/src/check-in/errors/index.d.ts +13 -0
- package/dist/src/check-in/errors/locales/zh.d.ts +10 -0
- package/dist/src/check-in/index.d.ts +7 -0
- package/dist/src/check-in/internal/service.d.ts +51 -0
- package/dist/src/check-in/permissions.d.ts +6 -0
- package/dist/src/check-in/schema.d.ts +168 -0
- package/dist/src/check-in/user/dto.schemas.d.ts +503 -0
- package/dist/src/check-in/user/router.d.ts +615 -0
- package/dist/src/check-in/user/service.d.ts +49 -0
- package/dist/src/cors/index.d.ts +30 -0
- package/dist/src/cron/index.d.ts +10 -0
- package/dist/src/db/columns.helpers.d.ts +13 -0
- package/dist/src/db/enums.d.ts +1 -0
- package/dist/src/db/index.d.ts +4 -0
- package/dist/src/db/schemas.d.ts +34 -0
- package/dist/src/db/transaction.d.ts +3 -0
- package/dist/src/db/typebox.d.ts +19 -0
- package/dist/src/deposit/admin/dto.schemas.d.ts +649 -0
- package/dist/src/deposit/admin/router.d.ts +638 -0
- package/dist/src/deposit/admin/service.d.ts +127 -0
- package/dist/src/deposit/db.schemas.d.ts +652 -0
- package/dist/src/deposit/errors/index.d.ts +45 -0
- package/dist/src/deposit/errors/locales/zh.d.ts +24 -0
- package/dist/src/deposit/index.d.ts +7 -0
- package/dist/src/deposit/internal/service.d.ts +8 -0
- package/dist/src/deposit/permissions.d.ts +9 -0
- package/dist/src/deposit/schema.d.ts +340 -0
- package/dist/src/deposit/user/dto.schemas.d.ts +655 -0
- package/dist/src/deposit/user/router.d.ts +681 -0
- package/dist/src/deposit/user/service.d.ts +148 -0
- package/dist/src/dynamic-env/admin.router.d.ts +620 -0
- package/dist/src/dynamic-env/cache.d.ts +35 -0
- package/dist/src/dynamic-env/db.schemas.d.ts +182 -0
- package/dist/src/dynamic-env/dto.schema.d.ts +17 -0
- package/dist/src/dynamic-env/errors/index.d.ts +11 -0
- package/dist/src/dynamic-env/errors/locales/zh.d.ts +10 -0
- package/dist/src/dynamic-env/index.d.ts +3 -0
- package/dist/src/dynamic-env/schema.d.ts +96 -0
- package/dist/src/dynamic-env/service.d.ts +93 -0
- package/dist/src/email/index.d.ts +2 -0
- package/dist/src/env/client.d.ts +2 -0
- package/dist/src/env/index.d.ts +2 -0
- package/dist/src/env/server.d.ts +50 -0
- package/dist/src/env/typebox-env.d.ts +7 -0
- package/dist/src/error/errorcode.d.ts +9 -0
- package/dist/src/error/index.d.ts +120 -0
- package/dist/src/error/locales/zh.d.ts +2 -0
- package/dist/src/error/messages.d.ts +10 -0
- package/dist/src/external/dto.schemas.d.ts +173 -0
- package/dist/src/external/errors/index.d.ts +13 -0
- package/dist/src/external/errors/locales/zh.d.ts +10 -0
- package/dist/src/external/index.d.ts +4 -0
- package/dist/src/external/router.d.ts +105 -0
- package/dist/src/external/service.d.ts +31 -0
- package/dist/src/file-storage/admin/dto.schemas.d.ts +209 -0
- package/dist/src/file-storage/admin/router.d.ts +598 -0
- package/dist/src/file-storage/admin/service.d.ts +89 -0
- package/dist/src/file-storage/db.schemas.d.ts +1026 -0
- package/dist/src/file-storage/errors/index.d.ts +19 -0
- package/dist/src/file-storage/errors/locales/zh.d.ts +18 -0
- package/dist/src/file-storage/index.d.ts +7 -0
- package/dist/src/file-storage/internal/service.d.ts +66 -0
- package/dist/src/file-storage/permissions.d.ts +5 -0
- package/dist/src/file-storage/s3.client.d.ts +284 -0
- package/dist/src/file-storage/schema.d.ts +538 -0
- package/dist/src/file-storage/share/dto.schemas.d.ts +68 -0
- package/dist/src/file-storage/share/router.d.ts +561 -0
- package/dist/src/file-storage/user/dto.schemas.d.ts +1100 -0
- package/dist/src/file-storage/user/router.d.ts +585 -0
- package/dist/src/file-storage/user/service.d.ts +80 -0
- package/dist/src/http-access-log.d.ts +30 -0
- package/dist/src/index.d.ts +16262 -0
- package/dist/src/ledger/admin/dto.schemas.d.ts +461 -0
- package/dist/src/ledger/admin/router.d.ts +608 -0
- package/dist/src/ledger/admin/service.d.ts +22 -0
- package/dist/src/ledger/db.schemas.d.ts +694 -0
- package/dist/src/ledger/errors/index.d.ts +38 -0
- package/dist/src/ledger/errors/locales/zh.d.ts +22 -0
- package/dist/src/ledger/index.d.ts +6 -0
- package/dist/src/ledger/internal/service.d.ts +36 -0
- package/dist/src/ledger/permissions.d.ts +8 -0
- package/dist/src/ledger/schema.d.ts +365 -0
- package/dist/src/ledger/user/dto.schemas.d.ts +712 -0
- package/dist/src/ledger/user/router.d.ts +487 -0
- package/dist/src/ledger/user/service.d.ts +146 -0
- package/dist/src/ledger-account/admin/dto.schemas.d.ts +258 -0
- package/dist/src/ledger-account/admin/router.d.ts +757 -0
- package/dist/src/ledger-account/admin/service.d.ts +238 -0
- package/dist/src/ledger-account/db.schemas.d.ts +346 -0
- package/dist/src/ledger-account/errors/index.d.ts +18 -0
- package/dist/src/ledger-account/errors/locales/zh.d.ts +17 -0
- package/dist/src/ledger-account/index.d.ts +8 -0
- package/dist/src/ledger-account/internal/service.d.ts +44 -0
- package/dist/src/ledger-account/permissions.d.ts +4 -0
- package/dist/src/ledger-account/schema.d.ts +190 -0
- package/dist/src/ledger-account/user/dto.schemas.d.ts +590 -0
- package/dist/src/ledger-account/user/router.d.ts +602 -0
- package/dist/src/ledger-account/user/service.d.ts +154 -0
- package/dist/src/ledger-account-import/admin/dto.schemas.d.ts +1255 -0
- package/dist/src/ledger-account-import/admin/router.d.ts +691 -0
- package/dist/src/ledger-account-import/admin/service.d.ts +92 -0
- package/dist/src/ledger-account-import/db.schemas.d.ts +1206 -0
- package/dist/src/ledger-account-import/errors/index.d.ts +18 -0
- package/dist/src/ledger-account-import/errors/locales/zh.d.ts +17 -0
- package/dist/src/ledger-account-import/index.d.ts +8 -0
- package/dist/src/ledger-account-import/internal/service.d.ts +13 -0
- package/dist/src/ledger-account-import/permissions.d.ts +7 -0
- package/dist/src/ledger-account-import/schema.d.ts +636 -0
- package/dist/src/ledger-account-import/user/service.d.ts +3 -0
- package/dist/src/ledger-account-import/worker.d.ts +1 -0
- package/dist/src/ledger-account-transfer/admin/service.d.ts +3 -0
- package/dist/src/ledger-account-transfer/errors/index.d.ts +23 -0
- package/dist/src/ledger-account-transfer/errors/locales/zh.d.ts +15 -0
- package/dist/src/ledger-account-transfer/index.d.ts +6 -0
- package/dist/src/ledger-account-transfer/internal/service.d.ts +8 -0
- package/dist/src/ledger-account-transfer/user/dto.schemas.d.ts +20 -0
- package/dist/src/ledger-account-transfer/user/router.d.ts +466 -0
- package/dist/src/ledger-account-transfer/user/service.d.ts +16 -0
- package/dist/src/ledger-account-type/admin/dto.schemas.d.ts +509 -0
- package/dist/src/ledger-account-type/admin/router.d.ts +708 -0
- package/dist/src/ledger-account-type/admin/service.d.ts +109 -0
- package/dist/src/ledger-account-type/db.schemas.d.ts +788 -0
- package/dist/src/ledger-account-type/errors/index.d.ts +18 -0
- package/dist/src/ledger-account-type/errors/locales/zh.d.ts +17 -0
- package/dist/src/ledger-account-type/index.d.ts +9 -0
- package/dist/src/ledger-account-type/internal/service.d.ts +8 -0
- package/dist/src/ledger-account-type/permissions.d.ts +4 -0
- package/dist/src/ledger-account-type/schema.d.ts +405 -0
- package/dist/src/ledger-account-type/seed.d.ts +1 -0
- package/dist/src/ledger-account-type/user/dto.schemas.d.ts +509 -0
- package/dist/src/ledger-account-type/user/router.d.ts +534 -0
- package/dist/src/ledger-account-type/user/service.d.ts +59 -0
- package/dist/src/market-data/admin/dto.schemas.d.ts +824 -0
- package/dist/src/market-data/admin/router.d.ts +632 -0
- package/dist/src/market-data/admin/service.d.ts +78 -0
- package/dist/src/market-data/cron.d.ts +6 -0
- package/dist/src/market-data/db.schemas.d.ts +516 -0
- package/dist/src/market-data/errors/index.d.ts +13 -0
- package/dist/src/market-data/errors/locales/zh.d.ts +12 -0
- package/dist/src/market-data/index.d.ts +8 -0
- package/dist/src/market-data/internal/service.d.ts +77 -0
- package/dist/src/market-data/permissions.d.ts +6 -0
- package/dist/src/market-data/schema.d.ts +270 -0
- package/dist/src/market-data/user/dto.schemas.d.ts +370 -0
- package/dist/src/market-data/user/router.d.ts +693 -0
- package/dist/src/market-data/user/service.d.ts +41 -0
- package/dist/src/market-pricing/admin/dto.schemas.d.ts +860 -0
- package/dist/src/market-pricing/admin/router.d.ts +988 -0
- package/dist/src/market-pricing/admin/service.d.ts +286 -0
- package/dist/src/market-pricing/cron.d.ts +6 -0
- package/dist/src/market-pricing/db.schemas.d.ts +828 -0
- package/dist/src/market-pricing/errors/index.d.ts +14 -0
- package/dist/src/market-pricing/errors/locales/zh.d.ts +13 -0
- package/dist/src/market-pricing/internal/service.d.ts +35 -0
- package/dist/src/market-pricing/permissions.d.ts +4 -0
- package/dist/src/market-pricing/schema.d.ts +434 -0
- package/dist/src/nanoid/index.d.ts +2 -0
- package/dist/src/news/admin/dto.schemas.d.ts +159 -0
- package/dist/src/news/admin/router.d.ts +818 -0
- package/dist/src/news/admin/service.d.ts +221 -0
- package/dist/src/news/db.schemas.d.ts +1150 -0
- package/dist/src/news/errors/index.d.ts +20 -0
- package/dist/src/news/errors/locales/zh.d.ts +13 -0
- package/dist/src/news/index.d.ts +7 -0
- package/dist/src/news/internal/service.d.ts +7 -0
- package/dist/src/news/permissions.d.ts +4 -0
- package/dist/src/news/schema.d.ts +616 -0
- package/dist/src/news/user/dto.schemas.d.ts +178 -0
- package/dist/src/news/user/router.d.ts +617 -0
- package/dist/src/news/user/service.d.ts +228 -0
- package/dist/src/news-category/admin/dto.schemas.d.ts +52 -0
- package/dist/src/news-category/admin/router.d.ts +204 -0
- package/dist/src/news-category/admin/service.d.ts +55 -0
- package/dist/src/news-category/constants.d.ts +1 -0
- package/dist/src/news-category/db.schemas.d.ts +324 -0
- package/dist/src/news-category/errors/index.d.ts +21 -0
- package/dist/src/news-category/errors/locales/zh.d.ts +14 -0
- package/dist/src/news-category/index.d.ts +8 -0
- package/dist/src/news-category/internal/service.d.ts +5 -0
- package/dist/src/news-category/permissions.d.ts +4 -0
- package/dist/src/news-category/schema.d.ts +173 -0
- package/dist/src/news-category/seed.d.ts +12 -0
- package/dist/src/news-category/user/dto.schemas.d.ts +55 -0
- package/dist/src/news-category/user/router.d.ts +457 -0
- package/dist/src/news-category/user/service.d.ts +25 -0
- package/dist/src/notification/admin/dto.schemas.d.ts +432 -0
- package/dist/src/notification/admin/router.d.ts +576 -0
- package/dist/src/notification/admin/service.d.ts +43 -0
- package/dist/src/notification/db.schemas.d.ts +624 -0
- package/dist/src/notification/errors/index.d.ts +19 -0
- package/dist/src/notification/errors/locales/zh.d.ts +13 -0
- package/dist/src/notification/index.d.ts +7 -0
- package/dist/src/notification/internal/service.d.ts +28 -0
- package/dist/src/notification/permissions.d.ts +6 -0
- package/dist/src/notification/schema.d.ts +347 -0
- package/dist/src/notification/user/dto.schemas.d.ts +411 -0
- package/dist/src/notification/user/router.d.ts +632 -0
- package/dist/src/notification/user/service.d.ts +82 -0
- package/dist/src/operations-overview/admin/dto.schemas.d.ts +41 -0
- package/dist/src/operations-overview/admin/router.d.ts +517 -0
- package/dist/src/operations-overview/admin/service.d.ts +4 -0
- package/dist/src/portfolio/index.d.ts +2 -0
- package/dist/src/portfolio/internal/index.d.ts +1 -0
- package/dist/src/portfolio/internal/service.d.ts +5 -0
- package/dist/src/portfolio/user/dto.schemas.d.ts +352 -0
- package/dist/src/portfolio/user/index.d.ts +3 -0
- package/dist/src/portfolio/user/router.d.ts +659 -0
- package/dist/src/portfolio/user/service.d.ts +143 -0
- package/dist/src/receipt-method/admin/dto.schemas.d.ts +62 -0
- package/dist/src/receipt-method/admin/router.d.ts +592 -0
- package/dist/src/receipt-method/admin/service.d.ts +82 -0
- package/dist/src/receipt-method/db.schemas.d.ts +380 -0
- package/dist/src/receipt-method/errors/index.d.ts +17 -0
- package/dist/src/receipt-method/errors/locales/zh.d.ts +16 -0
- package/dist/src/receipt-method/index.d.ts +7 -0
- package/dist/src/receipt-method/internal/service.d.ts +33 -0
- package/dist/src/receipt-method/permissions.d.ts +4 -0
- package/dist/src/receipt-method/schema.d.ts +205 -0
- package/dist/src/receipt-method/user/dto.schemas.d.ts +417 -0
- package/dist/src/receipt-method/user/router.d.ts +602 -0
- package/dist/src/receipt-method/user/service.d.ts +73 -0
- package/dist/src/referral/admin/dto.schemas.d.ts +597 -0
- package/dist/src/referral/admin/router.d.ts +553 -0
- package/dist/src/referral/admin/service.d.ts +6 -0
- package/dist/src/referral/db.schemas.d.ts +420 -0
- package/dist/src/referral/errors/index.d.ts +15 -0
- package/dist/src/referral/errors/locales/zh.d.ts +14 -0
- package/dist/src/referral/index.d.ts +9 -0
- package/dist/src/referral/internal/service.d.ts +23 -0
- package/dist/src/referral/permissions.d.ts +8 -0
- package/dist/src/referral/schema.d.ts +235 -0
- package/dist/src/referral/user/dto.schemas.d.ts +602 -0
- package/dist/src/referral/user/router.d.ts +578 -0
- package/dist/src/referral/user/service.d.ts +21 -0
- package/dist/src/referral-depth-config/admin/dto.schemas.d.ts +203 -0
- package/dist/src/referral-depth-config/admin/router.d.ts +643 -0
- package/dist/src/referral-depth-config/admin/service.d.ts +38 -0
- package/dist/src/referral-depth-config/db.schemas.d.ts +176 -0
- package/dist/src/referral-depth-config/errors/index.d.ts +11 -0
- package/dist/src/referral-depth-config/errors/locales/zh.d.ts +10 -0
- package/dist/src/referral-depth-config/internal/service.d.ts +4 -0
- package/dist/src/referral-depth-config/permissions.d.ts +8 -0
- package/dist/src/referral-depth-config/schema.d.ts +99 -0
- package/dist/src/server-test/errors/index.d.ts +10 -0
- package/dist/src/server-test/errors/locales/zh.d.ts +9 -0
- package/dist/src/server-test/index.d.ts +486 -0
- package/dist/src/shipping-address/admin/dto.schemas.d.ts +289 -0
- package/dist/src/shipping-address/admin/router.d.ts +504 -0
- package/dist/src/shipping-address/admin/service.d.ts +17 -0
- package/dist/src/shipping-address/db.schemas.d.ts +278 -0
- package/dist/src/shipping-address/errors/index.d.ts +12 -0
- package/dist/src/shipping-address/errors/locales/zh.d.ts +11 -0
- package/dist/src/shipping-address/index.d.ts +7 -0
- package/dist/src/shipping-address/internal/service.d.ts +15 -0
- package/dist/src/shipping-address/permissions.d.ts +4 -0
- package/dist/src/shipping-address/schema.d.ts +150 -0
- package/dist/src/shipping-address/user/dto.schemas.d.ts +303 -0
- package/dist/src/shipping-address/user/router.d.ts +621 -0
- package/dist/src/shipping-address/user/service.d.ts +68 -0
- package/dist/src/sms/index.d.ts +5 -0
- package/dist/src/team/admin/dto.schemas.d.ts +2198 -0
- package/dist/src/team/admin/router.d.ts +646 -0
- package/dist/src/team/admin/service.d.ts +6 -0
- package/dist/src/team/errors/index.d.ts +13 -0
- package/dist/src/team/errors/locales/zh.d.ts +12 -0
- package/dist/src/team/index.d.ts +8 -0
- package/dist/src/team/internal/service.d.ts +6 -0
- package/dist/src/team/permissions.d.ts +7 -0
- package/dist/src/team/user/dto.schemas.d.ts +1987 -0
- package/dist/src/team/user/router.d.ts +734 -0
- package/dist/src/team/user/service.d.ts +10 -0
- package/dist/src/trade-market/admin/dto.schemas.d.ts +4764 -0
- package/dist/src/trade-market/admin/router.d.ts +1334 -0
- package/dist/src/trade-market/admin/service.d.ts +646 -0
- package/dist/src/trade-market/db.schemas.d.ts +1338 -0
- package/dist/src/trade-market/errors/index.d.ts +23 -0
- package/dist/src/trade-market/errors/locales/zh.d.ts +22 -0
- package/dist/src/trade-market/index.d.ts +8 -0
- package/dist/src/trade-market/internal/service.d.ts +564 -0
- package/dist/src/trade-market/permissions.d.ts +5 -0
- package/dist/src/trade-market/schema.d.ts +708 -0
- package/dist/src/trade-market/user/dto.schemas.d.ts +1394 -0
- package/dist/src/trade-market/user/router.d.ts +754 -0
- package/dist/src/trade-market/user/service.d.ts +471 -0
- package/dist/src/transfer/admin/dto.schemas.d.ts +396 -0
- package/dist/src/transfer/admin/router.d.ts +506 -0
- package/dist/src/transfer/admin/service.d.ts +56 -0
- package/dist/src/transfer/db.schemas.d.ts +386 -0
- package/dist/src/transfer/errors/index.d.ts +32 -0
- package/dist/src/transfer/errors/locales/zh.d.ts +19 -0
- package/dist/src/transfer/index.d.ts +11 -0
- package/dist/src/transfer/internal/service.d.ts +8 -0
- package/dist/src/transfer/permissions.d.ts +8 -0
- package/dist/src/transfer/schema.d.ts +204 -0
- package/dist/src/transfer/user/dto.schemas.d.ts +416 -0
- package/dist/src/transfer/user/router.d.ts +514 -0
- package/dist/src/transfer/user/service.d.ts +67 -0
- package/dist/src/user/admin/dto.schemas.d.ts +1439 -0
- package/dist/src/user/admin/router.d.ts +853 -0
- package/dist/src/user/admin/service.d.ts +164 -0
- package/dist/src/user/db.schemas.d.ts +1038 -0
- package/dist/src/user/errors/index.d.ts +40 -0
- package/dist/src/user/errors/locales/zh.d.ts +23 -0
- package/dist/src/user/index.d.ts +9 -0
- package/dist/src/user/internal/service.d.ts +22 -0
- package/dist/src/user/permissions.d.ts +7 -0
- package/dist/src/user/schema.d.ts +541 -0
- package/dist/src/user/user/dto.schemas.d.ts +14 -0
- package/dist/src/user/user/router.d.ts +558 -0
- package/dist/src/user/user/service.d.ts +89 -0
- package/dist/src/user-kyc/admin/dto.schemas.d.ts +625 -0
- package/dist/src/user-kyc/admin/router.d.ts +666 -0
- package/dist/src/user-kyc/admin/service.d.ts +89 -0
- package/dist/src/user-kyc/db.schemas.d.ts +896 -0
- package/dist/src/user-kyc/errors/index.d.ts +21 -0
- package/dist/src/user-kyc/errors/locales/zh.d.ts +14 -0
- package/dist/src/user-kyc/index.d.ts +10 -0
- package/dist/src/user-kyc/internal/service.d.ts +9 -0
- package/dist/src/user-kyc/permissions.d.ts +6 -0
- package/dist/src/user-kyc/schema.d.ts +474 -0
- package/dist/src/user-kyc/user/dto.schemas.d.ts +314 -0
- package/dist/src/user-kyc/user/router.d.ts +602 -0
- package/dist/src/user-kyc/user/service.d.ts +64 -0
- package/dist/src/user-security/admin/dto.schemas.d.ts +8 -0
- package/dist/src/user-security/admin/router.d.ts +490 -0
- package/dist/src/user-security/admin/service.d.ts +6 -0
- package/dist/src/user-security/db.schemas.d.ts +414 -0
- package/dist/src/user-security/index.d.ts +8 -0
- package/dist/src/user-security/internal/service.d.ts +15 -0
- package/dist/src/user-security/schema.d.ts +215 -0
- package/dist/src/user-security/user/dto.schemas.d.ts +21 -0
- package/dist/src/user-security/user/router.d.ts +547 -0
- package/dist/src/user-security/user/service.d.ts +15 -0
- package/dist/src/utils/date.d.ts +21 -0
- package/dist/src/utils/index.d.ts +4 -0
- package/dist/src/utils/order.d.ts +6 -0
- package/dist/src/utils/pagination.d.ts +113 -0
- package/dist/src/utils/password.d.ts +8 -0
- package/dist/src/wallet/admin/dto.schemas.d.ts +349 -0
- package/dist/src/wallet/admin/router.d.ts +581 -0
- package/dist/src/wallet/admin/service.d.ts +65 -0
- package/dist/src/wallet/db.schemas.d.ts +278 -0
- package/dist/src/wallet/errors/index.d.ts +10 -0
- package/dist/src/wallet/errors/locales/zh.d.ts +9 -0
- package/dist/src/wallet/index.d.ts +11 -0
- package/dist/src/wallet/internal/service.d.ts +177 -0
- package/dist/src/wallet/permissions.d.ts +8 -0
- package/dist/src/wallet/schema.d.ts +152 -0
- package/dist/src/wallet/seed.d.ts +1 -0
- package/dist/src/wallet/user/dto.schemas.d.ts +372 -0
- package/dist/src/wallet/user/router.d.ts +544 -0
- package/dist/src/wallet/user/service.d.ts +75 -0
- package/dist/src/wallet-type/admin/dto.schemas.d.ts +83 -0
- package/dist/src/wallet-type/admin/router.d.ts +741 -0
- package/dist/src/wallet-type/admin/service.d.ts +109 -0
- package/dist/src/wallet-type/db.schemas.d.ts +278 -0
- package/dist/src/wallet-type/errors/index.d.ts +15 -0
- package/dist/src/wallet-type/errors/locales/zh.d.ts +14 -0
- package/dist/src/wallet-type/index.d.ts +10 -0
- package/dist/src/wallet-type/internal/service.d.ts +256 -0
- package/dist/src/wallet-type/permissions.d.ts +4 -0
- package/dist/src/wallet-type/schema.d.ts +199 -0
- package/dist/src/wallet-type/seed.d.ts +1 -0
- package/dist/src/wallet-type/user/dto.schemas.d.ts +62 -0
- package/dist/src/wallet-type/user/router.d.ts +481 -0
- package/dist/src/wallet-type/user/service.d.ts +24 -0
- package/dist/src/welfare-cycle/admin/dto.schemas.d.ts +1242 -0
- package/dist/src/welfare-cycle/admin/router.d.ts +1805 -0
- package/dist/src/welfare-cycle/admin/service.d.ts +1031 -0
- package/dist/src/welfare-cycle/cron.d.ts +7 -0
- package/dist/src/welfare-cycle/db.schemas.d.ts +2404 -0
- package/dist/src/welfare-cycle/errors/index.d.ts +27 -0
- package/dist/src/welfare-cycle/errors/locales/zh.d.ts +26 -0
- package/dist/src/welfare-cycle/index.d.ts +7 -0
- package/dist/src/welfare-cycle/internal/service.d.ts +135 -0
- package/dist/src/welfare-cycle/permissions.d.ts +6 -0
- package/dist/src/welfare-cycle/schema.d.ts +1272 -0
- package/dist/src/welfare-cycle/user/dto.schemas.d.ts +2073 -0
- package/dist/src/welfare-cycle/user/router.d.ts +808 -0
- package/dist/src/welfare-cycle/user/service.d.ts +192 -0
- package/dist/src/withdraw/admin/dto.schemas.d.ts +902 -0
- package/dist/src/withdraw/admin/router.d.ts +659 -0
- package/dist/src/withdraw/admin/service.d.ts +83 -0
- package/dist/src/withdraw/db.schemas.d.ts +584 -0
- package/dist/src/withdraw/errors/index.d.ts +45 -0
- package/dist/src/withdraw/errors/locales/zh.d.ts +24 -0
- package/dist/src/withdraw/index.d.ts +8 -0
- package/dist/src/withdraw/internal/index.d.ts +1 -0
- package/dist/src/withdraw/internal/service.d.ts +10 -0
- package/dist/src/withdraw/permissions.d.ts +9 -0
- package/dist/src/withdraw/schema.d.ts +307 -0
- package/dist/src/withdraw/user/dto.schemas.d.ts +1508 -0
- package/dist/src/withdraw/user/index.d.ts +3 -0
- package/dist/src/withdraw/user/router.d.ts +649 -0
- package/dist/src/withdraw/user/service.d.ts +66 -0
- package/dist/team/admin/router.d.ts +7 -7
- package/dist/team/admin/service.d.ts +2 -2
- package/dist/team/errors/index.d.ts +2 -2
- package/dist/team/errors/locales/zh.d.ts +1 -1
- package/dist/team/index.d.ts +8 -8
- package/dist/team/permissions.d.ts +1 -1
- package/dist/team/user/dto.schemas.d.ts +1 -1
- package/dist/team/user/router.d.ts +9 -9
- package/dist/team/user/service.d.ts +2 -2
- package/dist/trade-market/admin/dto.schemas.d.ts +89 -3625
- package/dist/trade-market/admin/router.d.ts +29 -465
- package/dist/trade-market/admin/service.d.ts +15 -448
- package/dist/trade-market/db.schemas.d.ts +0 -170
- package/dist/trade-market/errors/index.d.ts +3 -2
- package/dist/trade-market/errors/locales/zh.d.ts +2 -1
- package/dist/trade-market/index.d.ts +9 -8
- package/dist/trade-market/internal/service.d.ts +25 -337
- package/dist/trade-market/permissions.d.ts +2 -2
- package/dist/trade-market/schema.d.ts +2 -91
- package/dist/trade-market/seed.d.ts +1 -0
- package/dist/trade-market/user/dto.schemas.d.ts +0 -172
- package/dist/trade-market/user/router.d.ts +9 -27
- package/dist/trade-market/user/service.d.ts +9 -295
- package/dist/transfer/admin/router.d.ts +5 -5
- package/dist/transfer/admin/service.d.ts +2 -2
- package/dist/transfer/errors/index.d.ts +2 -2
- package/dist/transfer/errors/locales/zh.d.ts +1 -1
- package/dist/transfer/index.d.ts +11 -11
- package/dist/transfer/internal/service.d.ts +1 -1
- package/dist/transfer/permissions.d.ts +1 -1
- package/dist/transfer/user/router.d.ts +5 -5
- package/dist/transfer/user/service.d.ts +2 -2
- package/dist/udf/dto.schemas.d.ts +134 -0
- package/dist/udf/index.d.ts +1 -0
- package/dist/udf/router.d.ts +577 -0
- package/dist/udf/service.d.ts +75 -0
- package/dist/user/admin/router.d.ts +15 -15
- package/dist/user/admin/service.d.ts +2 -2
- package/dist/user/errors/index.d.ts +2 -2
- package/dist/user/errors/locales/zh.d.ts +1 -1
- package/dist/user/index.d.ts +9 -9
- package/dist/user/internal/service.d.ts +1 -1
- package/dist/user/permissions.d.ts +3 -3
- package/dist/user/user/router.d.ts +6 -6
- package/dist/user/user/service.d.ts +2 -2
- package/dist/user-kyc/admin/router.d.ts +11 -11
- package/dist/user-kyc/admin/service.d.ts +2 -2
- package/dist/user-kyc/errors/index.d.ts +2 -2
- package/dist/user-kyc/errors/locales/zh.d.ts +1 -1
- package/dist/user-kyc/index.d.ts +10 -10
- package/dist/user-kyc/internal/service.d.ts +3 -3
- package/dist/user-kyc/permissions.d.ts +2 -2
- package/dist/user-kyc/user/router.d.ts +7 -7
- package/dist/user-kyc/user/service.d.ts +6 -6
- package/dist/user-security/admin/router.d.ts +5 -5
- package/dist/user-security/admin/service.d.ts +1 -1
- package/dist/user-security/index.d.ts +8 -8
- package/dist/user-security/internal/service.d.ts +2 -2
- package/dist/user-security/user/router.d.ts +7 -7
- package/dist/user-security/user/service.d.ts +1 -1
- package/dist/utils/date.d.ts +2 -2
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/pagination.d.ts +1 -1
- package/dist/wallet/admin/router.d.ts +7 -7
- package/dist/wallet/admin/service.d.ts +2 -2
- package/dist/wallet/errors/index.d.ts +2 -2
- package/dist/wallet/errors/locales/zh.d.ts +1 -1
- package/dist/wallet/index.d.ts +11 -11
- package/dist/wallet/internal/service.d.ts +2 -2
- package/dist/wallet/permissions.d.ts +1 -1
- package/dist/wallet/user/router.d.ts +5 -5
- package/dist/wallet/user/service.d.ts +3 -3
- package/dist/wallet-type/admin/dto.schemas.d.ts +4 -4
- package/dist/wallet-type/admin/router.d.ts +15 -15
- package/dist/wallet-type/admin/service.d.ts +2 -2
- package/dist/wallet-type/errors/index.d.ts +2 -2
- package/dist/wallet-type/errors/locales/zh.d.ts +1 -1
- package/dist/wallet-type/index.d.ts +10 -10
- package/dist/wallet-type/internal/service.d.ts +2 -2
- package/dist/wallet-type/permissions.d.ts +1 -1
- package/dist/wallet-type/user/dto.schemas.d.ts +2 -2
- package/dist/wallet-type/user/router.d.ts +4 -4
- package/dist/wallet-type/user/service.d.ts +2 -2
- package/dist/welfare-cycle/admin/dto.schemas.d.ts +24 -24
- package/dist/welfare-cycle/admin/router.d.ts +53 -53
- package/dist/welfare-cycle/admin/service.d.ts +33 -33
- package/dist/welfare-cycle/cron.d.ts +1 -1
- package/dist/welfare-cycle/errors/index.d.ts +2 -2
- package/dist/welfare-cycle/errors/locales/zh.d.ts +1 -1
- package/dist/welfare-cycle/index.d.ts +7 -7
- package/dist/welfare-cycle/internal/service.d.ts +2 -2
- package/dist/welfare-cycle/permissions.d.ts +3 -3
- package/dist/welfare-cycle/user/router.d.ts +10 -10
- package/dist/welfare-cycle/user/service.d.ts +1 -1
- package/dist/withdraw/admin/router.d.ts +11 -11
- package/dist/withdraw/admin/service.d.ts +2 -2
- package/dist/withdraw/errors/index.d.ts +2 -2
- package/dist/withdraw/errors/locales/zh.d.ts +1 -1
- package/dist/withdraw/index.d.ts +8 -8
- package/dist/withdraw/internal/index.d.ts +1 -1
- package/dist/withdraw/internal/service.d.ts +1 -1
- package/dist/withdraw/permissions.d.ts +2 -2
- package/dist/withdraw/user/dto.schemas.d.ts +3 -3
- package/dist/withdraw/user/index.d.ts +3 -3
- package/dist/withdraw/user/router.d.ts +9 -9
- package/dist/withdraw/user/service.d.ts +2 -2
- package/package.json +62 -7
|
@@ -112,7 +112,7 @@ export declare const ledgerAccountSnapshotSchema: import("@sinclair/typebox").TO
|
|
|
112
112
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
113
113
|
}>;
|
|
114
114
|
asset: import("@sinclair/typebox").TObject<{
|
|
115
|
-
symbol: import("@sinclair/typebox").TString
|
|
115
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
116
116
|
id: import("@sinclair/typebox").TString;
|
|
117
117
|
name: import("@sinclair/typebox").TString;
|
|
118
118
|
code: import("@sinclair/typebox").TString;
|
|
@@ -186,7 +186,7 @@ export declare const ledgerEntryAdminItemSchema: import("@sinclair/typebox").TOb
|
|
|
186
186
|
operatorId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
187
187
|
memo: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
188
188
|
asset: import("@sinclair/typebox").TObject<{
|
|
189
|
-
symbol: import("@sinclair/typebox").TString
|
|
189
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
190
190
|
id: import("@sinclair/typebox").TString;
|
|
191
191
|
name: import("@sinclair/typebox").TString;
|
|
192
192
|
code: import("@sinclair/typebox").TString;
|
|
@@ -220,7 +220,7 @@ export declare const ledgerEntryAdminItemSchema: import("@sinclair/typebox").TOb
|
|
|
220
220
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
221
221
|
}>;
|
|
222
222
|
asset: import("@sinclair/typebox").TObject<{
|
|
223
|
-
symbol: import("@sinclair/typebox").TString
|
|
223
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
224
224
|
id: import("@sinclair/typebox").TString;
|
|
225
225
|
name: import("@sinclair/typebox").TString;
|
|
226
226
|
code: import("@sinclair/typebox").TString;
|
|
@@ -261,7 +261,7 @@ export declare const ledgerEntryAdminItemSchema: import("@sinclair/typebox").TOb
|
|
|
261
261
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
262
262
|
}>;
|
|
263
263
|
asset: import("@sinclair/typebox").TObject<{
|
|
264
|
-
symbol: import("@sinclair/typebox").TString
|
|
264
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
265
265
|
id: import("@sinclair/typebox").TString;
|
|
266
266
|
name: import("@sinclair/typebox").TString;
|
|
267
267
|
code: import("@sinclair/typebox").TString;
|
|
@@ -346,7 +346,7 @@ export declare const getLedgerEntriesAdminResponseDto: import("@sinclair/typebox
|
|
|
346
346
|
operatorId: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
347
347
|
memo: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
348
348
|
asset: import("@sinclair/typebox").TObject<{
|
|
349
|
-
symbol: import("@sinclair/typebox").TString
|
|
349
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
350
350
|
id: import("@sinclair/typebox").TString;
|
|
351
351
|
name: import("@sinclair/typebox").TString;
|
|
352
352
|
code: import("@sinclair/typebox").TString;
|
|
@@ -380,7 +380,7 @@ export declare const getLedgerEntriesAdminResponseDto: import("@sinclair/typebox
|
|
|
380
380
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
381
381
|
}>;
|
|
382
382
|
asset: import("@sinclair/typebox").TObject<{
|
|
383
|
-
symbol: import("@sinclair/typebox").TString
|
|
383
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
384
384
|
id: import("@sinclair/typebox").TString;
|
|
385
385
|
name: import("@sinclair/typebox").TString;
|
|
386
386
|
code: import("@sinclair/typebox").TString;
|
|
@@ -421,7 +421,7 @@ export declare const getLedgerEntriesAdminResponseDto: import("@sinclair/typebox
|
|
|
421
421
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
422
422
|
}>;
|
|
423
423
|
asset: import("@sinclair/typebox").TObject<{
|
|
424
|
-
symbol: import("@sinclair/typebox").TString
|
|
424
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
425
425
|
id: import("@sinclair/typebox").TString;
|
|
426
426
|
name: import("@sinclair/typebox").TString;
|
|
427
427
|
code: import("@sinclair/typebox").TString;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Elysia } from
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
2
|
export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
3
3
|
decorator: {};
|
|
4
4
|
store: {};
|
|
@@ -41,7 +41,7 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -217,7 +217,7 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -418,7 +418,7 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
418
418
|
userId: string;
|
|
419
419
|
status: "active" | "frozen" | "disabled";
|
|
420
420
|
asset: {
|
|
421
|
-
symbol: string;
|
|
421
|
+
symbol: string | null;
|
|
422
422
|
id: string;
|
|
423
423
|
name: string;
|
|
424
424
|
code: string;
|
|
@@ -450,7 +450,7 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
450
450
|
userId: string;
|
|
451
451
|
status: "active" | "frozen" | "disabled";
|
|
452
452
|
asset: {
|
|
453
|
-
symbol: string;
|
|
453
|
+
symbol: string | null;
|
|
454
454
|
id: string;
|
|
455
455
|
name: string;
|
|
456
456
|
code: string;
|
|
@@ -480,7 +480,7 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
480
480
|
id: string;
|
|
481
481
|
createdAt: Date;
|
|
482
482
|
asset: {
|
|
483
|
-
symbol: string;
|
|
483
|
+
symbol: string | null;
|
|
484
484
|
id: string;
|
|
485
485
|
name: string;
|
|
486
486
|
code: string;
|
|
@@ -515,6 +515,8 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
515
515
|
hasNextPage: boolean;
|
|
516
516
|
};
|
|
517
517
|
};
|
|
518
|
+
401: "Unauthorized";
|
|
519
|
+
403: "Forbidden: Admins only";
|
|
518
520
|
422: {
|
|
519
521
|
type: "validation";
|
|
520
522
|
on: string;
|
|
@@ -524,8 +526,6 @@ export declare const ledgerAdminRouter: Elysia<"/ledger", {
|
|
|
524
526
|
property?: string;
|
|
525
527
|
expected?: string;
|
|
526
528
|
};
|
|
527
|
-
401: "Unauthorized";
|
|
528
|
-
403: "Forbidden: Admins only";
|
|
529
529
|
};
|
|
530
530
|
};
|
|
531
531
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ledgerEntry } from
|
|
1
|
+
import { ledgerEntry } from '../schema';
|
|
2
2
|
export interface AdminLedgerEntryQueryOptions {
|
|
3
3
|
userId?: string;
|
|
4
4
|
assetId?: string;
|
|
@@ -7,7 +7,7 @@ export interface AdminLedgerEntryQueryOptions {
|
|
|
7
7
|
referenceType?: typeof ledgerEntry.$inferSelect.referenceType;
|
|
8
8
|
referenceId?: string;
|
|
9
9
|
operatorId?: string | null;
|
|
10
|
-
changeDirection?:
|
|
10
|
+
changeDirection?: 'increase' | 'decrease';
|
|
11
11
|
startDate?: Date;
|
|
12
12
|
endDate?: Date;
|
|
13
13
|
limit?: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from './locales/zh';
|
|
2
2
|
/** Ledger 模块错误码 */
|
|
3
3
|
export declare const LedgerErrorCodes: {
|
|
4
4
|
/** 账户不存在 */
|
|
@@ -32,7 +32,7 @@ export declare const LedgerErrorCodes: {
|
|
|
32
32
|
};
|
|
33
33
|
type LedgerErrorCodesType = typeof LedgerErrorCodes;
|
|
34
34
|
export type LedgerErrorCode = keyof LedgerErrorCodesType;
|
|
35
|
-
declare module
|
|
35
|
+
declare module '../../error/errorcode' {
|
|
36
36
|
interface ErrorCodeRegistry extends LedgerErrorCodesType {
|
|
37
37
|
}
|
|
38
38
|
}
|
package/dist/ledger/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export type * from
|
|
3
|
-
export { AdminLedgerService } from
|
|
4
|
-
export { InternalLedgerService, type BalanceChangeResult, type CreateLedgerEntryParams } from
|
|
5
|
-
export { UserLedgerService } from
|
|
6
|
-
export { ledgerRouter } from
|
|
1
|
+
export * from './schema';
|
|
2
|
+
export type * from './db.schemas';
|
|
3
|
+
export { AdminLedgerService } from './admin/service';
|
|
4
|
+
export { InternalLedgerService, type BalanceChangeResult, type CreateLedgerEntryParams, } from './internal/service';
|
|
5
|
+
export { UserLedgerService } from './user/service';
|
|
6
|
+
export { ledgerRouter } from './user/router';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import Decimal from
|
|
2
|
-
import type { TransactionTx } from
|
|
3
|
-
import type { LedgerEntrySelectSchemaType } from
|
|
1
|
+
import Decimal from 'decimal.js';
|
|
2
|
+
import type { TransactionTx } from '../../db/transaction';
|
|
3
|
+
import type { LedgerEntrySelectSchemaType } from '../db.schemas';
|
|
4
4
|
export interface CreateLedgerEntryParams {
|
|
5
5
|
assetId: string;
|
|
6
6
|
fromAccountId?: string | undefined;
|
|
7
7
|
toAccountId?: string | undefined;
|
|
8
|
-
bizType: LedgerEntrySelectSchemaType[
|
|
8
|
+
bizType: LedgerEntrySelectSchemaType['bizType'];
|
|
9
9
|
amount: string | Decimal;
|
|
10
10
|
referenceId: string;
|
|
11
|
-
referenceType: LedgerEntrySelectSchemaType[
|
|
11
|
+
referenceType: LedgerEntrySelectSchemaType['referenceType'];
|
|
12
12
|
idempotencyKey: string;
|
|
13
13
|
memo?: string | undefined;
|
|
14
14
|
operatorId?: string | undefined;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
/** 账本权限 */
|
|
5
5
|
export declare const ledgerPermissions: {
|
|
6
|
-
readonly
|
|
6
|
+
readonly 'ledger:entry': readonly ["read", "list", "view_all", "adjust"];
|
|
7
7
|
};
|
|
8
8
|
export type LedgerPermission = keyof typeof ledgerPermissions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Elysia } from
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
2
|
export declare const ledgerRouter: Elysia<"/ledger", {
|
|
3
3
|
decorator: {};
|
|
4
4
|
store: {};
|
|
@@ -41,7 +41,7 @@ export declare const ledgerRouter: Elysia<"/ledger", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -217,7 +217,7 @@ export declare const ledgerRouter: Elysia<"/ledger", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -426,6 +426,7 @@ export declare const ledgerRouter: Elysia<"/ledger", {
|
|
|
426
426
|
hasNextPage: boolean;
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
|
+
401: "Unauthorized";
|
|
429
430
|
422: {
|
|
430
431
|
type: "validation";
|
|
431
432
|
on: string;
|
|
@@ -435,7 +436,6 @@ export declare const ledgerRouter: Elysia<"/ledger", {
|
|
|
435
436
|
property?: string;
|
|
436
437
|
expected?: string;
|
|
437
438
|
};
|
|
438
|
-
401: "Unauthorized";
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
441
|
};
|
|
@@ -28,7 +28,7 @@ export declare abstract class UserLedgerService {
|
|
|
28
28
|
operatorId: string | null;
|
|
29
29
|
memo: string | null;
|
|
30
30
|
asset: {
|
|
31
|
-
symbol: string;
|
|
31
|
+
symbol: string | null;
|
|
32
32
|
id: string;
|
|
33
33
|
name: string;
|
|
34
34
|
createdAt: Date;
|
|
@@ -37,7 +37,7 @@ export declare abstract class UserLedgerService {
|
|
|
37
37
|
iconUrl: string;
|
|
38
38
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
39
39
|
isActive: boolean;
|
|
40
|
-
typeId: string;
|
|
40
|
+
typeId: string | null;
|
|
41
41
|
precision: number;
|
|
42
42
|
};
|
|
43
43
|
fromAccount: {
|
|
@@ -52,7 +52,7 @@ export declare abstract class UserLedgerService {
|
|
|
52
52
|
locked: string;
|
|
53
53
|
version: number;
|
|
54
54
|
asset: {
|
|
55
|
-
symbol: string;
|
|
55
|
+
symbol: string | null;
|
|
56
56
|
id: string;
|
|
57
57
|
name: string;
|
|
58
58
|
createdAt: Date;
|
|
@@ -61,7 +61,7 @@ export declare abstract class UserLedgerService {
|
|
|
61
61
|
iconUrl: string;
|
|
62
62
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
63
63
|
isActive: boolean;
|
|
64
|
-
typeId: string;
|
|
64
|
+
typeId: string | null;
|
|
65
65
|
precision: number;
|
|
66
66
|
};
|
|
67
67
|
ledgerAccountType: {
|
|
@@ -102,7 +102,7 @@ export declare abstract class UserLedgerService {
|
|
|
102
102
|
locked: string;
|
|
103
103
|
version: number;
|
|
104
104
|
asset: {
|
|
105
|
-
symbol: string;
|
|
105
|
+
symbol: string | null;
|
|
106
106
|
id: string;
|
|
107
107
|
name: string;
|
|
108
108
|
createdAt: Date;
|
|
@@ -111,7 +111,7 @@ export declare abstract class UserLedgerService {
|
|
|
111
111
|
iconUrl: string;
|
|
112
112
|
category: "FIAT" | "CRYPTO" | "POINT" | "RWA";
|
|
113
113
|
isActive: boolean;
|
|
114
|
-
typeId: string;
|
|
114
|
+
typeId: string | null;
|
|
115
115
|
precision: number;
|
|
116
116
|
};
|
|
117
117
|
ledgerAccountType: {
|
|
@@ -9,12 +9,12 @@ export declare const ledgerAccountListQuerySchema: import("@sinclair/typebox").T
|
|
|
9
9
|
export type LedgerAccountListQueryType = typeof ledgerAccountListQuerySchema.static;
|
|
10
10
|
export declare const adminLedgerAccountListQuerySchema: import("@sinclair/typebox").TObject<{
|
|
11
11
|
userId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
12
|
-
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
13
|
-
ledgerAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
14
12
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
15
13
|
offset: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
16
14
|
pageSize: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
17
15
|
pageIndex: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
16
|
+
assetId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
17
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
18
18
|
}>;
|
|
19
19
|
export type AdminLedgerAccountListQueryType = typeof adminLedgerAccountListQuerySchema.static;
|
|
20
20
|
export declare const ledgerAccountItemResponseSchema: import("@sinclair/typebox").TObject<{
|
|
@@ -22,6 +22,7 @@ export declare const ledgerAccountItemResponseSchema: import("@sinclair/typebox"
|
|
|
22
22
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
23
23
|
id: import("@sinclair/typebox").TString;
|
|
24
24
|
userId: import("@sinclair/typebox").TString;
|
|
25
|
+
version: import("@sinclair/typebox").TInteger;
|
|
25
26
|
status: import("@sinclair/typebox").TEnum<{
|
|
26
27
|
active: "active";
|
|
27
28
|
frozen: "frozen";
|
|
@@ -31,7 +32,6 @@ export declare const ledgerAccountItemResponseSchema: import("@sinclair/typebox"
|
|
|
31
32
|
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
32
33
|
available: import("@sinclair/typebox").TString;
|
|
33
34
|
locked: import("@sinclair/typebox").TString;
|
|
34
|
-
version: import("@sinclair/typebox").TInteger;
|
|
35
35
|
user: import("@sinclair/typebox").TObject<{
|
|
36
36
|
email: import("@sinclair/typebox").TString;
|
|
37
37
|
id: import("@sinclair/typebox").TString;
|
|
@@ -41,7 +41,7 @@ export declare const ledgerAccountItemResponseSchema: import("@sinclair/typebox"
|
|
|
41
41
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
42
42
|
}>;
|
|
43
43
|
asset: import("@sinclair/typebox").TObject<{
|
|
44
|
-
symbol: import("@sinclair/typebox").TString
|
|
44
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
45
45
|
id: import("@sinclair/typebox").TString;
|
|
46
46
|
name: import("@sinclair/typebox").TString;
|
|
47
47
|
code: import("@sinclair/typebox").TString;
|
|
@@ -71,6 +71,7 @@ export declare const ledgerAccountResponseSchema: import("@sinclair/typebox").TO
|
|
|
71
71
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
72
72
|
id: import("@sinclair/typebox").TString;
|
|
73
73
|
userId: import("@sinclair/typebox").TString;
|
|
74
|
+
version: import("@sinclair/typebox").TInteger;
|
|
74
75
|
status: import("@sinclair/typebox").TEnum<{
|
|
75
76
|
active: "active";
|
|
76
77
|
frozen: "frozen";
|
|
@@ -80,7 +81,6 @@ export declare const ledgerAccountResponseSchema: import("@sinclair/typebox").TO
|
|
|
80
81
|
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
81
82
|
available: import("@sinclair/typebox").TString;
|
|
82
83
|
locked: import("@sinclair/typebox").TString;
|
|
83
|
-
version: import("@sinclair/typebox").TInteger;
|
|
84
84
|
user: import("@sinclair/typebox").TObject<{
|
|
85
85
|
email: import("@sinclair/typebox").TString;
|
|
86
86
|
id: import("@sinclair/typebox").TString;
|
|
@@ -90,7 +90,7 @@ export declare const ledgerAccountResponseSchema: import("@sinclair/typebox").TO
|
|
|
90
90
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
91
91
|
}>;
|
|
92
92
|
asset: import("@sinclair/typebox").TObject<{
|
|
93
|
-
symbol: import("@sinclair/typebox").TString
|
|
93
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
94
94
|
id: import("@sinclair/typebox").TString;
|
|
95
95
|
name: import("@sinclair/typebox").TString;
|
|
96
96
|
code: import("@sinclair/typebox").TString;
|
|
@@ -125,6 +125,7 @@ export declare const ledgerAccountListResponseSchema: import("@sinclair/typebox"
|
|
|
125
125
|
updatedAt: import("@sinclair/typebox").TDate;
|
|
126
126
|
id: import("@sinclair/typebox").TString;
|
|
127
127
|
userId: import("@sinclair/typebox").TString;
|
|
128
|
+
version: import("@sinclair/typebox").TInteger;
|
|
128
129
|
status: import("@sinclair/typebox").TEnum<{
|
|
129
130
|
active: "active";
|
|
130
131
|
frozen: "frozen";
|
|
@@ -134,7 +135,6 @@ export declare const ledgerAccountListResponseSchema: import("@sinclair/typebox"
|
|
|
134
135
|
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
135
136
|
available: import("@sinclair/typebox").TString;
|
|
136
137
|
locked: import("@sinclair/typebox").TString;
|
|
137
|
-
version: import("@sinclair/typebox").TInteger;
|
|
138
138
|
user: import("@sinclair/typebox").TObject<{
|
|
139
139
|
email: import("@sinclair/typebox").TString;
|
|
140
140
|
id: import("@sinclair/typebox").TString;
|
|
@@ -144,7 +144,7 @@ export declare const ledgerAccountListResponseSchema: import("@sinclair/typebox"
|
|
|
144
144
|
banned: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TBoolean, import("@sinclair/typebox").TNull]>;
|
|
145
145
|
}>;
|
|
146
146
|
asset: import("@sinclair/typebox").TObject<{
|
|
147
|
-
symbol: import("@sinclair/typebox").TString
|
|
147
|
+
symbol: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TNull]>;
|
|
148
148
|
id: import("@sinclair/typebox").TString;
|
|
149
149
|
name: import("@sinclair/typebox").TString;
|
|
150
150
|
code: import("@sinclair/typebox").TString;
|
|
@@ -233,6 +233,15 @@ export declare const adminManualAdjustLedgerAccountBatchInputSchema: import("@si
|
|
|
233
233
|
}>>;
|
|
234
234
|
}>;
|
|
235
235
|
export type AdminManualAdjustLedgerAccountBatchInputType = typeof adminManualAdjustLedgerAccountBatchInputSchema.static;
|
|
236
|
+
export declare const adminManualAdjustLedgerAccountByUsersBatchInputSchema: import("@sinclair/typebox").TObject<{
|
|
237
|
+
assetId: import("@sinclair/typebox").TString;
|
|
238
|
+
ledgerAccountTypeId: import("@sinclair/typebox").TString;
|
|
239
|
+
direction: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"increase">, import("@sinclair/typebox").TLiteral<"decrease">]>;
|
|
240
|
+
amount: import("@sinclair/typebox").TString;
|
|
241
|
+
memo: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
242
|
+
userIds: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
243
|
+
}>;
|
|
244
|
+
export type AdminManualAdjustLedgerAccountByUsersBatchInputType = typeof adminManualAdjustLedgerAccountByUsersBatchInputSchema.static;
|
|
236
245
|
export declare const adminManualAdjustLedgerAccountBatchResultItemSchema: import("@sinclair/typebox").TObject<{
|
|
237
246
|
referenceId: import("@sinclair/typebox").TString;
|
|
238
247
|
success: import("@sinclair/typebox").TBoolean;
|
|
@@ -242,6 +251,16 @@ export declare const adminManualAdjustLedgerAccountBatchResultItemSchema: import
|
|
|
242
251
|
errorMessage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
243
252
|
}>;
|
|
244
253
|
export type AdminManualAdjustLedgerAccountBatchResultItemType = typeof adminManualAdjustLedgerAccountBatchResultItemSchema.static;
|
|
254
|
+
export declare const adminManualAdjustLedgerAccountByUsersBatchResultItemSchema: import("@sinclair/typebox").TObject<{
|
|
255
|
+
userId: import("@sinclair/typebox").TString;
|
|
256
|
+
referenceId: import("@sinclair/typebox").TString;
|
|
257
|
+
success: import("@sinclair/typebox").TBoolean;
|
|
258
|
+
accountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
259
|
+
ledgerEntryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
260
|
+
errorCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
261
|
+
errorMessage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
262
|
+
}>;
|
|
263
|
+
export type AdminManualAdjustLedgerAccountByUsersBatchResultItemType = typeof adminManualAdjustLedgerAccountByUsersBatchResultItemSchema.static;
|
|
245
264
|
export declare const adminManualAdjustLedgerAccountBatchResponseSchema: import("@sinclair/typebox").TObject<{
|
|
246
265
|
totalCount: import("@sinclair/typebox").TNumber;
|
|
247
266
|
successCount: import("@sinclair/typebox").TNumber;
|
|
@@ -256,3 +275,18 @@ export declare const adminManualAdjustLedgerAccountBatchResponseSchema: import("
|
|
|
256
275
|
}>>;
|
|
257
276
|
}>;
|
|
258
277
|
export type AdminManualAdjustLedgerAccountBatchResponseType = typeof adminManualAdjustLedgerAccountBatchResponseSchema.static;
|
|
278
|
+
export declare const adminManualAdjustLedgerAccountByUsersBatchResponseSchema: import("@sinclair/typebox").TObject<{
|
|
279
|
+
totalCount: import("@sinclair/typebox").TNumber;
|
|
280
|
+
successCount: import("@sinclair/typebox").TNumber;
|
|
281
|
+
failedCount: import("@sinclair/typebox").TNumber;
|
|
282
|
+
results: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
283
|
+
userId: import("@sinclair/typebox").TString;
|
|
284
|
+
referenceId: import("@sinclair/typebox").TString;
|
|
285
|
+
success: import("@sinclair/typebox").TBoolean;
|
|
286
|
+
accountId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
287
|
+
ledgerEntryId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
288
|
+
errorCode: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
289
|
+
errorMessage: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
290
|
+
}>>;
|
|
291
|
+
}>;
|
|
292
|
+
export type AdminManualAdjustLedgerAccountByUsersBatchResponseType = typeof adminManualAdjustLedgerAccountByUsersBatchResponseSchema.static;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Elysia } from
|
|
1
|
+
import { Elysia } from 'elysia';
|
|
2
2
|
export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
3
3
|
decorator: {};
|
|
4
4
|
store: {};
|
|
@@ -41,7 +41,7 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
41
41
|
route: string;
|
|
42
42
|
request: Request;
|
|
43
43
|
store: {};
|
|
44
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
44
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
45
45
|
readonly 100: "Continue";
|
|
46
46
|
readonly 101: "Switching Protocols";
|
|
47
47
|
readonly 102: "Processing";
|
|
@@ -217,7 +217,7 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
217
217
|
route: string;
|
|
218
218
|
request: Request;
|
|
219
219
|
store: {};
|
|
220
|
-
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 |
|
|
220
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 100 | 500 | 418 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 | 420 ? {
|
|
221
221
|
readonly 100: "Continue";
|
|
222
222
|
readonly 101: "Switching Protocols";
|
|
223
223
|
readonly 102: "Processing";
|
|
@@ -411,7 +411,7 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
411
411
|
userId: string;
|
|
412
412
|
status: "active" | "frozen" | "disabled";
|
|
413
413
|
asset: {
|
|
414
|
-
symbol: string;
|
|
414
|
+
symbol: string | null;
|
|
415
415
|
id: string;
|
|
416
416
|
name: string;
|
|
417
417
|
code: string;
|
|
@@ -439,6 +439,8 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
439
439
|
hasNextPage: boolean;
|
|
440
440
|
};
|
|
441
441
|
};
|
|
442
|
+
401: "Unauthorized";
|
|
443
|
+
403: "Forbidden: Admins only";
|
|
442
444
|
422: {
|
|
443
445
|
type: "validation";
|
|
444
446
|
on: string;
|
|
@@ -448,8 +450,6 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
448
450
|
property?: string;
|
|
449
451
|
expected?: string;
|
|
450
452
|
};
|
|
451
|
-
401: "Unauthorized";
|
|
452
|
-
403: "Forbidden: Admins only";
|
|
453
453
|
};
|
|
454
454
|
};
|
|
455
455
|
};
|
|
@@ -479,7 +479,7 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
479
479
|
userId: string;
|
|
480
480
|
status: "active" | "frozen" | "disabled";
|
|
481
481
|
asset: {
|
|
482
|
-
symbol: string;
|
|
482
|
+
symbol: string | null;
|
|
483
483
|
id: string;
|
|
484
484
|
name: string;
|
|
485
485
|
code: string;
|
|
@@ -499,6 +499,8 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
499
499
|
isActive: boolean;
|
|
500
500
|
};
|
|
501
501
|
};
|
|
502
|
+
401: "Unauthorized";
|
|
503
|
+
403: "Forbidden: Admins only";
|
|
502
504
|
422: {
|
|
503
505
|
type: "validation";
|
|
504
506
|
on: string;
|
|
@@ -508,8 +510,6 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
508
510
|
property?: string;
|
|
509
511
|
expected?: string;
|
|
510
512
|
};
|
|
511
|
-
401: "Unauthorized";
|
|
512
|
-
403: "Forbidden: Admins only";
|
|
513
513
|
};
|
|
514
514
|
};
|
|
515
515
|
};
|
|
@@ -543,7 +543,7 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
543
543
|
userId: string;
|
|
544
544
|
status: "active" | "frozen" | "disabled";
|
|
545
545
|
asset: {
|
|
546
|
-
symbol: string;
|
|
546
|
+
symbol: string | null;
|
|
547
547
|
id: string;
|
|
548
548
|
name: string;
|
|
549
549
|
code: string;
|
|
@@ -563,6 +563,8 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
563
563
|
isActive: boolean;
|
|
564
564
|
};
|
|
565
565
|
};
|
|
566
|
+
401: "Unauthorized";
|
|
567
|
+
403: "Forbidden: Admins only";
|
|
566
568
|
422: {
|
|
567
569
|
type: "validation";
|
|
568
570
|
on: string;
|
|
@@ -572,8 +574,6 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
572
574
|
property?: string;
|
|
573
575
|
expected?: string;
|
|
574
576
|
};
|
|
575
|
-
401: "Unauthorized";
|
|
576
|
-
403: "Forbidden: Admins only";
|
|
577
577
|
};
|
|
578
578
|
};
|
|
579
579
|
};
|
|
@@ -611,6 +611,8 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
611
611
|
isIdempotent: boolean;
|
|
612
612
|
direction: "increase" | "decrease";
|
|
613
613
|
};
|
|
614
|
+
401: "Unauthorized";
|
|
615
|
+
403: "Forbidden: Admins only";
|
|
614
616
|
422: {
|
|
615
617
|
type: "validation";
|
|
616
618
|
on: string;
|
|
@@ -620,8 +622,6 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
620
622
|
property?: string;
|
|
621
623
|
expected?: string;
|
|
622
624
|
};
|
|
623
|
-
401: "Unauthorized";
|
|
624
|
-
403: "Forbidden: Admins only";
|
|
625
625
|
};
|
|
626
626
|
};
|
|
627
627
|
};
|
|
@@ -663,6 +663,8 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
663
663
|
success: boolean;
|
|
664
664
|
}[];
|
|
665
665
|
};
|
|
666
|
+
401: "Unauthorized";
|
|
667
|
+
403: "Forbidden: Admins only";
|
|
666
668
|
422: {
|
|
667
669
|
type: "validation";
|
|
668
670
|
on: string;
|
|
@@ -672,8 +674,55 @@ export declare const ledgerAccountAdminRouter: Elysia<"/ledger_accounts", {
|
|
|
672
674
|
property?: string;
|
|
673
675
|
expected?: string;
|
|
674
676
|
};
|
|
675
|
-
|
|
676
|
-
|
|
677
|
+
};
|
|
678
|
+
};
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
} & {
|
|
683
|
+
ledger_accounts: {
|
|
684
|
+
adjust: {
|
|
685
|
+
users: {
|
|
686
|
+
batch: {
|
|
687
|
+
post: {
|
|
688
|
+
body: {
|
|
689
|
+
memo?: string | undefined;
|
|
690
|
+
assetId: string;
|
|
691
|
+
ledgerAccountTypeId: string;
|
|
692
|
+
amount: string;
|
|
693
|
+
direction: "increase" | "decrease";
|
|
694
|
+
userIds: string[];
|
|
695
|
+
};
|
|
696
|
+
params: {};
|
|
697
|
+
query: {};
|
|
698
|
+
headers: {};
|
|
699
|
+
response: {
|
|
700
|
+
200: {
|
|
701
|
+
totalCount: number;
|
|
702
|
+
successCount: number;
|
|
703
|
+
failedCount: number;
|
|
704
|
+
results: {
|
|
705
|
+
accountId?: string | undefined;
|
|
706
|
+
ledgerEntryId?: string | undefined;
|
|
707
|
+
errorCode?: string | undefined;
|
|
708
|
+
errorMessage?: string | undefined;
|
|
709
|
+
userId: string;
|
|
710
|
+
referenceId: string;
|
|
711
|
+
success: boolean;
|
|
712
|
+
}[];
|
|
713
|
+
};
|
|
714
|
+
401: "Unauthorized";
|
|
715
|
+
403: "Forbidden: Admins only";
|
|
716
|
+
422: {
|
|
717
|
+
type: "validation";
|
|
718
|
+
on: string;
|
|
719
|
+
summary?: string;
|
|
720
|
+
message?: string;
|
|
721
|
+
found?: unknown;
|
|
722
|
+
property?: string;
|
|
723
|
+
expected?: string;
|
|
724
|
+
};
|
|
725
|
+
};
|
|
677
726
|
};
|
|
678
727
|
};
|
|
679
728
|
};
|