@veruna/api-contracts 6.0.0 → 6.2.0
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/build/controllers/auth-admin.controllers.d.ts +1 -0
- package/build/controllers/auth-admin.controllers.js +5 -0
- package/build/controllers/auth-admin.controllers.js.map +1 -0
- package/build/controllers/client-file.controllers.d.ts +2 -0
- package/build/controllers/client-file.controllers.js +4 -2
- package/build/controllers/client-file.controllers.js.map +1 -1
- package/build/controllers/email-profile-admin.controllers.d.ts +1 -0
- package/build/controllers/email-profile-admin.controllers.js +5 -0
- package/build/controllers/email-profile-admin.controllers.js.map +1 -0
- package/build/controllers/index.d.ts +8 -1
- package/build/controllers/index.js +18 -2
- package/build/controllers/index.js.map +1 -1
- package/build/controllers/telegram-profile-admin.controllers.d.ts +1 -0
- package/build/controllers/telegram-profile-admin.controllers.js +5 -0
- package/build/controllers/telegram-profile-admin.controllers.js.map +1 -0
- package/build/controllers/users-admin.controllers.d.ts +1 -0
- package/build/controllers/users-admin.controllers.js +5 -0
- package/build/controllers/users-admin.controllers.js.map +1 -0
- package/build/controllers/vk-profile-admin.controllers.d.ts +1 -0
- package/build/controllers/vk-profile-admin.controllers.js +5 -0
- package/build/controllers/vk-profile-admin.controllers.js.map +1 -0
- package/build/controllers/wallet-admin.controllers.d.ts +1 -0
- package/build/controllers/wallet-admin.controllers.js +5 -0
- package/build/controllers/wallet-admin.controllers.js.map +1 -0
- package/build/controllers/yandex-profile-admin.controllers.d.ts +1 -0
- package/build/controllers/yandex-profile-admin.controllers.js +5 -0
- package/build/controllers/yandex-profile-admin.controllers.js.map +1 -0
- package/build/locales/en.d.ts +4 -0
- package/build/locales/en.js +4 -0
- package/build/locales/en.js.map +1 -1
- package/build/locales/index.d.ts +8 -0
- package/build/locales/ru.d.ts +4 -0
- package/build/locales/ru.js +4 -0
- package/build/locales/ru.js.map +1 -1
- package/build/locales/validation.d.ts +150 -0
- package/build/locales/validation.js +126 -0
- package/build/locales/validation.js.map +1 -1
- package/build/rest-api.d.ts +111 -60
- package/build/rest-api.js +111 -60
- package/build/rest-api.js.map +1 -1
- package/build/routes/auth-admin.routes.d.ts +5 -0
- package/build/routes/auth-admin.routes.js +9 -0
- package/build/routes/auth-admin.routes.js.map +1 -0
- package/build/routes/client-file.routes.d.ts +15 -4
- package/build/routes/client-file.routes.js +8 -2
- package/build/routes/client-file.routes.js.map +1 -1
- package/build/routes/email-profile-admin.routes.d.ts +5 -0
- package/build/routes/email-profile-admin.routes.js +9 -0
- package/build/routes/email-profile-admin.routes.js.map +1 -0
- package/build/routes/index.d.ts +5 -1
- package/build/routes/index.js +12 -2
- package/build/routes/index.js.map +1 -1
- package/build/routes/s2s.routes.d.ts +3 -0
- package/build/routes/s2s.routes.js +3 -0
- package/build/routes/s2s.routes.js.map +1 -1
- package/build/routes/users-admin.routes.d.ts +6 -0
- package/build/routes/users-admin.routes.js +10 -0
- package/build/routes/users-admin.routes.js.map +1 -0
- package/build/routes/wallet-admin.routes.d.ts +5 -0
- package/build/routes/wallet-admin.routes.js +9 -0
- package/build/routes/wallet-admin.routes.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1/auth/admin/commands/admin-terminate-sessions.command.d.ts +22 -0
- package/build/v1/auth/admin/commands/admin-terminate-sessions.command.js +22 -0
- package/build/v1/auth/admin/commands/admin-terminate-sessions.command.js.map +1 -0
- package/build/v1/auth/admin/commands/index.d.ts +1 -0
- package/build/v1/auth/admin/commands/index.js +18 -0
- package/build/v1/auth/admin/commands/index.js.map +1 -0
- package/build/v1/auth/admin/index.d.ts +5 -0
- package/build/v1/auth/admin/index.js +25 -0
- package/build/v1/auth/admin/index.js.map +1 -0
- package/build/v1/auth/admin/queries/admin-get-user-sessions.query.d.ts +19 -0
- package/build/v1/auth/admin/queries/admin-get-user-sessions.query.js +15 -0
- package/build/v1/auth/admin/queries/admin-get-user-sessions.query.js.map +1 -0
- package/build/v1/auth/admin/queries/index.d.ts +1 -0
- package/build/v1/auth/admin/queries/index.js +18 -0
- package/build/v1/auth/admin/queries/index.js.map +1 -0
- package/build/v1/auth/admin/schemas/admin-sessions.schema.d.ts +29 -0
- package/build/v1/auth/admin/schemas/admin-sessions.schema.js +23 -0
- package/build/v1/auth/admin/schemas/admin-sessions.schema.js.map +1 -0
- package/build/v1/auth/admin/schemas/index.d.ts +1 -0
- package/build/v1/auth/admin/schemas/index.js +18 -0
- package/build/v1/auth/admin/schemas/index.js.map +1 -0
- package/build/v1/auth/commands/delete-session.command.js +1 -1
- package/build/v1/auth/commands/delete-session.command.js.map +1 -1
- package/build/v1/auth/commands/logout-all.command.js +1 -1
- package/build/v1/auth/commands/logout-all.command.js.map +1 -1
- package/build/v1/auth/commands/logout.command.js +1 -1
- package/build/v1/auth/commands/logout.command.js.map +1 -1
- package/build/v1/auth/commands/signin.command.js +1 -1
- package/build/v1/auth/commands/signin.command.js.map +1 -1
- package/build/v1/auth/commands/signup.command.d.ts +1 -0
- package/build/v1/auth/commands/signup.command.js +1 -1
- package/build/v1/auth/commands/signup.command.js.map +1 -1
- package/build/v1/auth/index.d.ts +1 -0
- package/build/v1/auth/index.js +1 -0
- package/build/v1/auth/index.js.map +1 -1
- package/build/v1/auth/queries/get-sessions.query.js +1 -1
- package/build/v1/auth/queries/get-sessions.query.js.map +1 -1
- package/build/v1/auth/schemas/signup-request.schema.d.ts +1 -0
- package/build/v1/auth/schemas/signup-request.schema.js +4 -0
- package/build/v1/auth/schemas/signup-request.schema.js.map +1 -1
- package/build/v1/client-file/commands/client-file-attach.command.d.ts +2 -0
- package/build/v1/client-file/queries/user-files-stats.query.d.ts +2 -0
- package/build/v1/client-file/schemas/client-file-attach-request.schema.d.ts +3 -0
- package/build/v1/client-file/schemas/client-file-attach-request.schema.js +17 -1
- package/build/v1/client-file/schemas/client-file-attach-request.schema.js.map +1 -1
- package/build/v1/client-file/schemas/client-file-status.enum.d.ts +1 -0
- package/build/v1/client-file/schemas/client-file-status.enum.js +1 -0
- package/build/v1/client-file/schemas/client-file-status.enum.js.map +1 -1
- package/build/v1/client-file/schemas/user-files-stats-response.schema.d.ts +2 -0
- package/build/v1/client-file/schemas/user-files-stats-response.schema.js +2 -0
- package/build/v1/client-file/schemas/user-files-stats-response.schema.js.map +1 -1
- package/build/v1/email-profile/admin/commands/admin-set-email.command.d.ts +15 -0
- package/build/v1/email-profile/admin/commands/admin-set-email.command.js +14 -0
- package/build/v1/email-profile/admin/commands/admin-set-email.command.js.map +1 -0
- package/build/v1/email-profile/admin/commands/admin-set-password.command.d.ts +24 -0
- package/build/v1/email-profile/admin/commands/admin-set-password.command.js +22 -0
- package/build/v1/email-profile/admin/commands/admin-set-password.command.js.map +1 -0
- package/build/v1/email-profile/admin/commands/index.d.ts +2 -0
- package/build/v1/email-profile/admin/commands/index.js +19 -0
- package/build/v1/email-profile/admin/commands/index.js.map +1 -0
- package/build/v1/email-profile/admin/index.d.ts +4 -0
- package/build/v1/email-profile/admin/index.js +24 -0
- package/build/v1/email-profile/admin/index.js.map +1 -0
- package/build/v1/email-profile/admin/schemas/admin-set-email.schema.d.ts +10 -0
- package/build/v1/email-profile/admin/schemas/admin-set-email.schema.js +15 -0
- package/build/v1/email-profile/admin/schemas/admin-set-email.schema.js.map +1 -0
- package/build/v1/email-profile/admin/schemas/admin-set-password.schema.d.ts +13 -0
- package/build/v1/email-profile/admin/schemas/admin-set-password.schema.js +17 -0
- package/build/v1/email-profile/admin/schemas/admin-set-password.schema.js.map +1 -0
- package/build/v1/email-profile/admin/schemas/index.d.ts +2 -0
- package/build/v1/email-profile/admin/schemas/index.js +19 -0
- package/build/v1/email-profile/admin/schemas/index.js.map +1 -0
- package/build/v1/email-profile/index.d.ts +1 -0
- package/build/v1/email-profile/index.js +18 -0
- package/build/v1/email-profile/index.js.map +1 -0
- package/build/v1/file/file.errors.d.ts +3 -0
- package/build/v1/file/file.errors.js +16 -1
- package/build/v1/file/file.errors.js.map +1 -1
- package/build/v1/index.d.ts +1 -0
- package/build/v1/index.js +1 -0
- package/build/v1/index.js.map +1 -1
- package/build/v1/s2s/commands/index.d.ts +1 -0
- package/build/v1/s2s/commands/index.js +1 -0
- package/build/v1/s2s/commands/index.js.map +1 -1
- package/build/v1/s2s/commands/migrate-client-file-owner.command.d.ts +15 -0
- package/build/v1/s2s/commands/migrate-client-file-owner.command.js +14 -0
- package/build/v1/s2s/commands/migrate-client-file-owner.command.js.map +1 -0
- package/build/v1/s2s/queries/check-client-file-quota.query.d.ts +18 -0
- package/build/v1/s2s/queries/check-client-file-quota.query.js +15 -0
- package/build/v1/s2s/queries/check-client-file-quota.query.js.map +1 -0
- package/build/v1/s2s/queries/index.d.ts +2 -0
- package/build/v1/s2s/queries/index.js +2 -0
- package/build/v1/s2s/queries/index.js.map +1 -1
- package/build/v1/s2s/queries/verify-unreg-token.query.d.ts +16 -0
- package/build/v1/s2s/queries/verify-unreg-token.query.js +15 -0
- package/build/v1/s2s/queries/verify-unreg-token.query.js.map +1 -0
- package/build/v1/s2s/schemas/index.d.ts +6 -0
- package/build/v1/s2s/schemas/index.js +6 -0
- package/build/v1/s2s/schemas/index.js.map +1 -1
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.d.ts +8 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.js +13 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-request.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.d.ts +9 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js +12 -0
- package/build/v1/s2s/schemas/s2s-check-client-file-quota-response.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.d.ts +6 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.js +14 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-request.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.d.ts +5 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.js +8 -0
- package/build/v1/s2s/schemas/s2s-migrate-client-file-owner-response.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.d.ts +5 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.js +9 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-request.schema.js.map +1 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.d.ts +5 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.js +9 -0
- package/build/v1/s2s/schemas/s2s-verify-unreg-token-response.schema.js.map +1 -0
- package/build/v1/shared/index.d.ts +1 -0
- package/build/v1/shared/index.js +1 -0
- package/build/v1/shared/index.js.map +1 -1
- package/build/v1/shared/owner-type.enum.d.ts +4 -0
- package/build/v1/shared/owner-type.enum.js +9 -0
- package/build/v1/shared/owner-type.enum.js.map +1 -0
- package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.d.ts +12 -0
- package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.js +15 -0
- package/build/v1/telegram-profile/admin/commands/admin-unlink-telegram.command.js.map +1 -0
- package/build/v1/telegram-profile/admin/commands/index.d.ts +1 -0
- package/build/v1/telegram-profile/admin/commands/index.js +18 -0
- package/build/v1/telegram-profile/admin/commands/index.js.map +1 -0
- package/build/v1/telegram-profile/admin/index.d.ts +3 -0
- package/build/v1/telegram-profile/admin/index.js +22 -0
- package/build/v1/telegram-profile/admin/index.js.map +1 -0
- package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
- package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.js +9 -0
- package/build/v1/telegram-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
- package/build/v1/telegram-profile/admin/schemas/index.d.ts +1 -0
- package/build/v1/telegram-profile/admin/schemas/index.js +18 -0
- package/build/v1/telegram-profile/admin/schemas/index.js.map +1 -0
- package/build/v1/telegram-profile/commands/link-telegram.command.js +1 -1
- package/build/v1/telegram-profile/commands/link-telegram.command.js.map +1 -1
- package/build/v1/telegram-profile/commands/unlink-telegram.command.js +1 -1
- package/build/v1/telegram-profile/commands/unlink-telegram.command.js.map +1 -1
- package/build/v1/telegram-profile/index.d.ts +1 -0
- package/build/v1/telegram-profile/index.js +1 -0
- package/build/v1/telegram-profile/index.js.map +1 -1
- package/build/v1/telegram-profile/queries/get-telegram-link-status.query.js +1 -1
- package/build/v1/telegram-profile/queries/get-telegram-link-status.query.js.map +1 -1
- package/build/v1/telegram-profile/queries/get-telegram-profile.query.js +1 -1
- package/build/v1/telegram-profile/queries/get-telegram-profile.query.js.map +1 -1
- package/build/v1/users/admin/commands/admin-delete-user.command.d.ts +12 -0
- package/build/v1/users/admin/commands/admin-delete-user.command.js +17 -0
- package/build/v1/users/admin/commands/admin-delete-user.command.js.map +1 -0
- package/build/v1/users/admin/commands/admin-update-user.command.d.ts +26 -0
- package/build/v1/users/admin/commands/admin-update-user.command.js +14 -0
- package/build/v1/users/admin/commands/admin-update-user.command.js.map +1 -0
- package/build/v1/users/admin/commands/index.d.ts +2 -0
- package/build/v1/users/admin/commands/index.js +19 -0
- package/build/v1/users/admin/commands/index.js.map +1 -0
- package/build/v1/users/admin/index.d.ts +6 -0
- package/build/v1/users/admin/index.js +26 -0
- package/build/v1/users/admin/index.js.map +1 -0
- package/build/v1/users/admin/queries/admin-get-user-details.query.d.ts +146 -0
- package/build/v1/users/admin/queries/admin-get-user-details.query.js +15 -0
- package/build/v1/users/admin/queries/admin-get-user-details.query.js.map +1 -0
- package/build/v1/users/admin/queries/admin-list-users.query.d.ts +40 -0
- package/build/v1/users/admin/queries/admin-list-users.query.js +14 -0
- package/build/v1/users/admin/queries/admin-list-users.query.js.map +1 -0
- package/build/v1/users/admin/queries/index.d.ts +2 -0
- package/build/v1/users/admin/queries/index.js +19 -0
- package/build/v1/users/admin/queries/index.js.map +1 -0
- package/build/v1/users/admin/schemas/admin-update-user.schema.d.ts +23 -0
- package/build/v1/users/admin/schemas/admin-update-user.schema.js +18 -0
- package/build/v1/users/admin/schemas/admin-update-user.schema.js.map +1 -0
- package/build/v1/users/admin/schemas/admin-user-details.schema.d.ts +404 -0
- package/build/v1/users/admin/schemas/admin-user-details.schema.js +77 -0
- package/build/v1/users/admin/schemas/admin-user-details.schema.js.map +1 -0
- package/build/v1/users/admin/schemas/admin-user-list.schema.d.ts +52 -0
- package/build/v1/users/admin/schemas/admin-user-list.schema.js +58 -0
- package/build/v1/users/admin/schemas/admin-user-list.schema.js.map +1 -0
- package/build/v1/users/admin/schemas/admin-user-sort.enum.d.ts +9 -0
- package/build/v1/users/admin/schemas/admin-user-sort.enum.js +15 -0
- package/build/v1/users/admin/schemas/admin-user-sort.enum.js.map +1 -0
- package/build/v1/users/admin/schemas/index.d.ts +4 -0
- package/build/v1/users/admin/schemas/index.js +21 -0
- package/build/v1/users/admin/schemas/index.js.map +1 -0
- package/build/v1/users/admin/users-admin.errors.d.ts +5 -0
- package/build/v1/users/admin/users-admin.errors.js +14 -0
- package/build/v1/users/admin/users-admin.errors.js.map +1 -0
- package/build/v1/users/commands/confirm-email-verification.command.js +1 -1
- package/build/v1/users/commands/confirm-email-verification.command.js.map +1 -1
- package/build/v1/users/commands/delete-account-complete.command.js +1 -1
- package/build/v1/users/commands/delete-account-complete.command.js.map +1 -1
- package/build/v1/users/commands/delete-account-start.command.js +1 -1
- package/build/v1/users/commands/delete-account-start.command.js.map +1 -1
- package/build/v1/users/commands/delete-account-verify.command.js +1 -1
- package/build/v1/users/commands/delete-account-verify.command.js.map +1 -1
- package/build/v1/users/commands/email-change-complete.command.js +1 -1
- package/build/v1/users/commands/email-change-complete.command.js.map +1 -1
- package/build/v1/users/commands/email-change-start.command.js +1 -1
- package/build/v1/users/commands/email-change-start.command.js.map +1 -1
- package/build/v1/users/commands/email-change-verify.command.js +1 -1
- package/build/v1/users/commands/email-change-verify.command.js.map +1 -1
- package/build/v1/users/commands/password-change-complete.command.js +1 -1
- package/build/v1/users/commands/password-change-complete.command.js.map +1 -1
- package/build/v1/users/commands/password-change-start.command.js +1 -1
- package/build/v1/users/commands/password-change-start.command.js.map +1 -1
- package/build/v1/users/commands/password-change-verify.command.js +1 -1
- package/build/v1/users/commands/password-change-verify.command.js.map +1 -1
- package/build/v1/users/commands/password-reset-confirm.command.js +1 -1
- package/build/v1/users/commands/password-reset-confirm.command.js.map +1 -1
- package/build/v1/users/commands/password-reset-request.command.js +1 -1
- package/build/v1/users/commands/password-reset-request.command.js.map +1 -1
- package/build/v1/users/commands/resend-email-verification.command.js +1 -1
- package/build/v1/users/commands/resend-email-verification.command.js.map +1 -1
- package/build/v1/users/commands/setup-email-complete.command.js +1 -1
- package/build/v1/users/commands/setup-email-complete.command.js.map +1 -1
- package/build/v1/users/commands/setup-email-verify.command.js +1 -1
- package/build/v1/users/commands/setup-email-verify.command.js.map +1 -1
- package/build/v1/users/commands/setup-email.command.js +1 -1
- package/build/v1/users/commands/setup-email.command.js.map +1 -1
- package/build/v1/users/commands/setup-password-complete.command.js +1 -1
- package/build/v1/users/commands/setup-password-complete.command.js.map +1 -1
- package/build/v1/users/commands/setup-password-verify.command.js +1 -1
- package/build/v1/users/commands/setup-password-verify.command.js.map +1 -1
- package/build/v1/users/commands/setup-password.command.js +1 -1
- package/build/v1/users/commands/setup-password.command.js.map +1 -1
- package/build/v1/users/commands/update-profile.command.js +1 -1
- package/build/v1/users/commands/update-profile.command.js.map +1 -1
- package/build/v1/users/index.d.ts +1 -0
- package/build/v1/users/index.js +1 -0
- package/build/v1/users/index.js.map +1 -1
- package/build/v1/users/queries/delete-account-status.query.js +1 -1
- package/build/v1/users/queries/delete-account-status.query.js.map +1 -1
- package/build/v1/users/queries/email-change-status.query.js +1 -1
- package/build/v1/users/queries/email-change-status.query.js.map +1 -1
- package/build/v1/users/queries/get-current-user.query.js +1 -1
- package/build/v1/users/queries/get-current-user.query.js.map +1 -1
- package/build/v1/users/queries/get-setup-status.query.js +1 -1
- package/build/v1/users/queries/get-setup-status.query.js.map +1 -1
- package/build/v1/users/queries/password-change-status.query.js +1 -1
- package/build/v1/users/queries/password-change-status.query.js.map +1 -1
- package/build/v1/users/queries/setup-email-status.query.js +1 -1
- package/build/v1/users/queries/setup-email-status.query.js.map +1 -1
- package/build/v1/users/queries/setup-password-status.query.js +1 -1
- package/build/v1/users/queries/setup-password-status.query.js.map +1 -1
- package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.d.ts +12 -0
- package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.js +15 -0
- package/build/v1/vk-profile/admin/commands/admin-unlink-vk.command.js.map +1 -0
- package/build/v1/vk-profile/admin/commands/index.d.ts +1 -0
- package/build/v1/vk-profile/admin/commands/index.js +18 -0
- package/build/v1/vk-profile/admin/commands/index.js.map +1 -0
- package/build/v1/vk-profile/admin/index.d.ts +3 -0
- package/build/v1/vk-profile/admin/index.js +22 -0
- package/build/v1/vk-profile/admin/index.js.map +1 -0
- package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
- package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.js +9 -0
- package/build/v1/vk-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
- package/build/v1/vk-profile/admin/schemas/index.d.ts +1 -0
- package/build/v1/vk-profile/admin/schemas/index.js +18 -0
- package/build/v1/vk-profile/admin/schemas/index.js.map +1 -0
- package/build/v1/vk-profile/commands/link-vk.command.js +1 -1
- package/build/v1/vk-profile/commands/link-vk.command.js.map +1 -1
- package/build/v1/vk-profile/commands/unlink-vk.command.js +1 -1
- package/build/v1/vk-profile/commands/unlink-vk.command.js.map +1 -1
- package/build/v1/vk-profile/index.d.ts +1 -0
- package/build/v1/vk-profile/index.js +1 -0
- package/build/v1/vk-profile/index.js.map +1 -1
- package/build/v1/vk-profile/queries/get-vk-link-status.query.js +1 -1
- package/build/v1/vk-profile/queries/get-vk-link-status.query.js.map +1 -1
- package/build/v1/vk-profile/queries/get-vk-profile.query.js +1 -1
- package/build/v1/vk-profile/queries/get-vk-profile.query.js.map +1 -1
- package/build/v1/wallet/admin/commands/admin-adjust-balance.command.d.ts +21 -0
- package/build/v1/wallet/admin/commands/admin-adjust-balance.command.js +14 -0
- package/build/v1/wallet/admin/commands/admin-adjust-balance.command.js.map +1 -0
- package/build/v1/wallet/admin/commands/index.d.ts +1 -0
- package/build/v1/wallet/admin/commands/index.js +18 -0
- package/build/v1/wallet/admin/commands/index.js.map +1 -0
- package/build/v1/wallet/admin/index.d.ts +5 -0
- package/build/v1/wallet/admin/index.js +25 -0
- package/build/v1/wallet/admin/index.js.map +1 -0
- package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.d.ts +33 -0
- package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.js +15 -0
- package/build/v1/wallet/admin/queries/admin-get-wallet-balance.query.js.map +1 -0
- package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.d.ts +34 -0
- package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.js +14 -0
- package/build/v1/wallet/admin/queries/admin-list-wallet-transactions.query.js.map +1 -0
- package/build/v1/wallet/admin/queries/index.d.ts +2 -0
- package/build/v1/wallet/admin/queries/index.js +19 -0
- package/build/v1/wallet/admin/queries/index.js.map +1 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.d.ts +4 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.js +9 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment-direction.enum.js.map +1 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment.schema.d.ts +17 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment.schema.js +37 -0
- package/build/v1/wallet/admin/schemas/admin-adjustment.schema.js.map +1 -0
- package/build/v1/wallet/admin/schemas/admin-balance.schema.d.ts +51 -0
- package/build/v1/wallet/admin/schemas/admin-balance.schema.js +9 -0
- package/build/v1/wallet/admin/schemas/admin-balance.schema.js.map +1 -0
- package/build/v1/wallet/admin/schemas/admin-transactions.schema.d.ts +49 -0
- package/build/v1/wallet/admin/schemas/admin-transactions.schema.js +43 -0
- package/build/v1/wallet/admin/schemas/admin-transactions.schema.js.map +1 -0
- package/build/v1/wallet/admin/schemas/index.d.ts +4 -0
- package/build/v1/wallet/admin/schemas/index.js +21 -0
- package/build/v1/wallet/admin/schemas/index.js.map +1 -0
- package/build/v1/wallet/index.d.ts +1 -0
- package/build/v1/wallet/index.js +1 -0
- package/build/v1/wallet/index.js.map +1 -1
- package/build/v1/wallet/queries/get-balance-summary.query.js +1 -1
- package/build/v1/wallet/queries/get-balance-summary.query.js.map +1 -1
- package/build/v1/wallet/queries/list-wallet-events.query.d.ts +5 -1
- package/build/v1/wallet/queries/list-wallet-events.query.js +1 -1
- package/build/v1/wallet/queries/list-wallet-events.query.js.map +1 -1
- package/build/v1/wallet/schemas/index.d.ts +1 -0
- package/build/v1/wallet/schemas/index.js +3 -1
- package/build/v1/wallet/schemas/index.js.map +1 -1
- package/build/v1/wallet/schemas/wallet-event-breakdown.schema.d.ts +8 -0
- package/build/v1/wallet/schemas/wallet-event-breakdown.schema.js +11 -0
- package/build/v1/wallet/schemas/wallet-event-breakdown.schema.js.map +1 -0
- package/build/v1/wallet/schemas/wallet-event.schema.d.ts +10 -2
- package/build/v1/wallet/schemas/wallet-event.schema.js +2 -1
- package/build/v1/wallet/schemas/wallet-event.schema.js.map +1 -1
- package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.d.ts +12 -0
- package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.js +15 -0
- package/build/v1/yandex-profile/admin/commands/admin-unlink-yandex.command.js.map +1 -0
- package/build/v1/yandex-profile/admin/commands/index.d.ts +1 -0
- package/build/v1/yandex-profile/admin/commands/index.js +18 -0
- package/build/v1/yandex-profile/admin/commands/index.js.map +1 -0
- package/build/v1/yandex-profile/admin/index.d.ts +3 -0
- package/build/v1/yandex-profile/admin/index.js +22 -0
- package/build/v1/yandex-profile/admin/index.js.map +1 -0
- package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.d.ts +5 -0
- package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.js +9 -0
- package/build/v1/yandex-profile/admin/schemas/admin-unlink.schema.js.map +1 -0
- package/build/v1/yandex-profile/admin/schemas/index.d.ts +1 -0
- package/build/v1/yandex-profile/admin/schemas/index.js +18 -0
- package/build/v1/yandex-profile/admin/schemas/index.js.map +1 -0
- package/build/v1/yandex-profile/commands/link-yandex.command.js +1 -1
- package/build/v1/yandex-profile/commands/link-yandex.command.js.map +1 -1
- package/build/v1/yandex-profile/commands/unlink-yandex.command.js +1 -1
- package/build/v1/yandex-profile/commands/unlink-yandex.command.js.map +1 -1
- package/build/v1/yandex-profile/index.d.ts +1 -0
- package/build/v1/yandex-profile/index.js +1 -0
- package/build/v1/yandex-profile/index.js.map +1 -1
- package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js +1 -1
- package/build/v1/yandex-profile/queries/get-yandex-link-status.query.js.map +1 -1
- package/build/v1/yandex-profile/queries/get-yandex-profile.query.js +1 -1
- package/build/v1/yandex-profile/queries/get-yandex-profile.query.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.VK_PROFILE_ADMIN_CONTROLLER = void 0;
|
|
18
|
+
__exportStar(require("./schemas"), exports);
|
|
19
|
+
__exportStar(require("./commands"), exports);
|
|
20
|
+
var controllers_1 = require("../../../controllers");
|
|
21
|
+
Object.defineProperty(exports, "VK_PROFILE_ADMIN_CONTROLLER", { enumerable: true, get: function () { return controllers_1.VK_PROFILE_ADMIN_CONTROLLER; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/vk-profile/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAAmE;AAA1D,0HAAA,2BAA2B,OAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminUnlinkVkProfileResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const regex_1 = require("../../../../shared/regex");
|
|
6
|
+
exports.AdminUnlinkVkProfileResponseSchema = zod_1.z.object({
|
|
7
|
+
uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
|
|
8
|
+
});
|
|
9
|
+
//# sourceMappingURL=admin-unlink.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-unlink.schema.js","sourceRoot":"","sources":["../../../../../v1/vk-profile/admin/schemas/admin-unlink.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAsD;AAEzC,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;CACrC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './admin-unlink.schema';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./admin-unlink.schema"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/vk-profile/admin/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -9,7 +9,7 @@ var LinkVkCommand;
|
|
|
9
9
|
(function (LinkVkCommand) {
|
|
10
10
|
LinkVkCommand.Request = zod_1.z.object({});
|
|
11
11
|
LinkVkCommand.Response = schemas_1.VkLinkResponseSchema;
|
|
12
|
-
LinkVkCommand.URL = rest_api_1.REST_API.V1.VK_PROFILE.LINK;
|
|
12
|
+
LinkVkCommand.URL = rest_api_1.REST_API.V1.VK_PROFILE.REG.LINK;
|
|
13
13
|
LinkVkCommand.METHOD = http_method_enum_1.HttpMethod.POST;
|
|
14
14
|
})(LinkVkCommand || (exports.LinkVkCommand = LinkVkCommand = {}));
|
|
15
15
|
//# sourceMappingURL=link-vk.command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-vk.command.js","sourceRoot":"","sources":["../../../../v1/vk-profile/commands/link-vk.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAkD;AAClD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,aAAa,CAS7B;AATD,WAAiB,aAAa;IACb,qBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,sBAAQ,GAAG,8BAAoB,CAAC;IAEhC,iBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"link-vk.command.js","sourceRoot":"","sources":["../../../../v1/vk-profile/commands/link-vk.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAkD;AAClD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,aAAa,CAS7B;AATD,WAAiB,aAAa;IACb,qBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,sBAAQ,GAAG,8BAAoB,CAAC;IAEhC,iBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC;IACtC,oBAAM,GAAG,6BAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,aAAa,6BAAb,aAAa,QAS7B"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var UnlinkVkCommand;
|
|
8
8
|
(function (UnlinkVkCommand) {
|
|
9
9
|
UnlinkVkCommand.Response = zod_1.z.void();
|
|
10
|
-
UnlinkVkCommand.URL = rest_api_1.REST_API.V1.VK_PROFILE.UNLINK;
|
|
10
|
+
UnlinkVkCommand.URL = rest_api_1.REST_API.V1.VK_PROFILE.REG.UNLINK;
|
|
11
11
|
UnlinkVkCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
|
|
12
12
|
})(UnlinkVkCommand || (exports.UnlinkVkCommand = UnlinkVkCommand = {}));
|
|
13
13
|
//# sourceMappingURL=unlink-vk.command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlink-vk.command.js","sourceRoot":"","sources":["../../../../v1/vk-profile/commands/unlink-vk.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IACf,wBAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,mBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"unlink-vk.command.js","sourceRoot":"","sources":["../../../../v1/vk-profile/commands/unlink-vk.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,eAAe,CAO/B;AAPD,WAAiB,eAAe;IACf,wBAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,mBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC;IACxC,sBAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,eAAe,+BAAf,eAAe,QAO/B"}
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./vk-profile.errors"), exports);
|
|
|
19
19
|
__exportStar(require("./schemas"), exports);
|
|
20
20
|
__exportStar(require("./commands"), exports);
|
|
21
21
|
__exportStar(require("./queries"), exports);
|
|
22
|
+
__exportStar(require("./admin"), exports);
|
|
22
23
|
var controllers_1 = require("../../controllers");
|
|
23
24
|
Object.defineProperty(exports, "VK_PROFILE_CONTROLLER", { enumerable: true, get: function () { return controllers_1.VK_PROFILE_CONTROLLER; } });
|
|
24
25
|
var routes_1 = require("../../routes");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/vk-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA0D;AAAjD,oHAAA,qBAAqB,OAAA;AAC9B,uCAAiD;AAAxC,2GAAA,iBAAiB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/vk-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,0CAAwB;AACxB,iDAA0D;AAAjD,oHAAA,qBAAqB,OAAA;AAC9B,uCAAiD;AAAxC,2GAAA,iBAAiB,OAAA"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var GetVkLinkStatusQuery;
|
|
8
8
|
(function (GetVkLinkStatusQuery) {
|
|
9
9
|
GetVkLinkStatusQuery.Response = schemas_1.VkLinkStatusResponseSchema;
|
|
10
|
-
GetVkLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.VK_PROFILE.LINK_STATUS(uuid);
|
|
10
|
+
GetVkLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.VK_PROFILE.REG.LINK_STATUS(uuid);
|
|
11
11
|
GetVkLinkStatusQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
12
12
|
})(GetVkLinkStatusQuery || (exports.GetVkLinkStatusQuery = GetVkLinkStatusQuery = {}));
|
|
13
13
|
//# sourceMappingURL=get-vk-link-status.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vk-link-status.query.js","sourceRoot":"","sources":["../../../../v1/vk-profile/queries/get-vk-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAAwD;AACxD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACpB,6BAAQ,GAAG,oCAA0B,CAAC;IAEtC,wBAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-vk-link-status.query.js","sourceRoot":"","sources":["../../../../v1/vk-profile/queries/get-vk-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAAwD;AACxD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACpB,6BAAQ,GAAG,oCAA0B,CAAC;IAEtC,wBAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACrE,2BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var GetVkProfileQuery;
|
|
8
8
|
(function (GetVkProfileQuery) {
|
|
9
9
|
GetVkProfileQuery.Response = schemas_1.VkProfileResponseSchema;
|
|
10
|
-
GetVkProfileQuery.URL = rest_api_1.REST_API.V1.VK_PROFILE.GET_PROFILE;
|
|
10
|
+
GetVkProfileQuery.URL = rest_api_1.REST_API.V1.VK_PROFILE.REG.GET_PROFILE;
|
|
11
11
|
GetVkProfileQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
12
12
|
})(GetVkProfileQuery || (exports.GetVkProfileQuery = GetVkProfileQuery = {}));
|
|
13
13
|
//# sourceMappingURL=get-vk-profile.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-vk-profile.query.js","sourceRoot":"","sources":["../../../../v1/vk-profile/queries/get-vk-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAAqD;AACrD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IACjB,0BAAQ,GAAG,iCAAuB,CAAC;IAEnC,qBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"get-vk-profile.query.js","sourceRoot":"","sources":["../../../../v1/vk-profile/queries/get-vk-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAAqD;AACrD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,iBAAiB,CAOjC;AAPD,WAAiB,iBAAiB;IACjB,0BAAQ,GAAG,iCAAuB,CAAC;IAEnC,qBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;IAC7C,wBAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,iBAAiB,iCAAjB,iBAAiB,QAOjC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace AdminAdjustUserBalanceCommand {
|
|
4
|
+
const Request: z.ZodObject<{
|
|
5
|
+
direction: z.ZodEnum<typeof import("../schemas").AdminAdjustmentDirection>;
|
|
6
|
+
amount: z.ZodString;
|
|
7
|
+
balanceTypeCode: z.ZodOptional<z.ZodString>;
|
|
8
|
+
reason: z.ZodString;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
const Response: z.ZodObject<{
|
|
13
|
+
direction: z.ZodEnum<typeof import("../schemas").AdminAdjustmentDirection>;
|
|
14
|
+
amount: z.ZodString;
|
|
15
|
+
correlationId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
const URL: (userId: string) => string;
|
|
18
|
+
const METHOD = HttpMethod.POST;
|
|
19
|
+
type RequestType = z.infer<typeof Request>;
|
|
20
|
+
type ResponseType = z.infer<typeof Response>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminAdjustUserBalanceCommand = void 0;
|
|
4
|
+
const schemas_1 = require("../schemas");
|
|
5
|
+
const rest_api_1 = require("../../../../rest-api");
|
|
6
|
+
const http_method_enum_1 = require("../../../../shared/http-method.enum");
|
|
7
|
+
var AdminAdjustUserBalanceCommand;
|
|
8
|
+
(function (AdminAdjustUserBalanceCommand) {
|
|
9
|
+
AdminAdjustUserBalanceCommand.Request = schemas_1.AdminAdjustBalanceRequestSchema;
|
|
10
|
+
AdminAdjustUserBalanceCommand.Response = schemas_1.AdminAdjustBalanceResponseSchema;
|
|
11
|
+
AdminAdjustUserBalanceCommand.URL = (userId) => rest_api_1.REST_API.V1.WALLET.ADMIN.ADJUSTMENT(userId);
|
|
12
|
+
AdminAdjustUserBalanceCommand.METHOD = http_method_enum_1.HttpMethod.POST;
|
|
13
|
+
})(AdminAdjustUserBalanceCommand || (exports.AdminAdjustUserBalanceCommand = AdminAdjustUserBalanceCommand = {}));
|
|
14
|
+
//# sourceMappingURL=admin-adjust-balance.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-adjust-balance.command.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/commands/admin-adjust-balance.command.ts"],"names":[],"mappings":";;;AACA,wCAGoB;AACpB,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,6BAA6B,CAO7C;AAPD,WAAiB,6BAA6B;IAC7B,qCAAO,GAAG,yCAA+B,CAAC;IAC1C,sCAAQ,GAAG,0CAAgC,CAAC;IAC5C,iCAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACtE,oCAAM,GAAG,6BAAU,CAAC,IAAI,CAAC;AAG1C,CAAC,EAPgB,6BAA6B,6CAA7B,6BAA6B,QAO7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './admin-adjust-balance.command';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./admin-adjust-balance.command"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.WALLET_ADMIN_ROUTES = exports.WALLET_ADMIN_CONTROLLER = void 0;
|
|
18
|
+
__exportStar(require("./schemas"), exports);
|
|
19
|
+
__exportStar(require("./queries"), exports);
|
|
20
|
+
__exportStar(require("./commands"), exports);
|
|
21
|
+
var controllers_1 = require("../../../controllers");
|
|
22
|
+
Object.defineProperty(exports, "WALLET_ADMIN_CONTROLLER", { enumerable: true, get: function () { return controllers_1.WALLET_ADMIN_CONTROLLER; } });
|
|
23
|
+
var routes_1 = require("../../../routes");
|
|
24
|
+
Object.defineProperty(exports, "WALLET_ADMIN_ROUTES", { enumerable: true, get: function () { return routes_1.WALLET_ADMIN_ROUTES; } });
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/wallet/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAA+D;AAAtD,sHAAA,uBAAuB,OAAA;AAChC,0CAAsD;AAA7C,6GAAA,mBAAmB,OAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace AdminGetUserWalletBalanceQuery {
|
|
4
|
+
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
const Response: z.ZodObject<{
|
|
6
|
+
totalAvailable: z.ZodString;
|
|
7
|
+
totalHeld: z.ZodString;
|
|
8
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
typeCode: z.ZodString;
|
|
11
|
+
typeName: z.ZodString;
|
|
12
|
+
amount: z.ZodString;
|
|
13
|
+
held: z.ZodString;
|
|
14
|
+
available: z.ZodString;
|
|
15
|
+
status: z.ZodEnum<typeof import("../..").BalanceStatus>;
|
|
16
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
17
|
+
createdAt: z.ZodString;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
activeHolds: z.ZodArray<z.ZodObject<{
|
|
20
|
+
holdId: z.ZodString;
|
|
21
|
+
amount: z.ZodString;
|
|
22
|
+
operationType: z.ZodString;
|
|
23
|
+
operationId: z.ZodString;
|
|
24
|
+
description: z.ZodNullable<z.ZodString>;
|
|
25
|
+
createdAt: z.ZodString;
|
|
26
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
const URL: (userId: string) => string;
|
|
30
|
+
const METHOD = HttpMethod.GET;
|
|
31
|
+
type RequestType = z.infer<typeof Request>;
|
|
32
|
+
type ResponseType = z.infer<typeof Response>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminGetUserWalletBalanceQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const schemas_1 = require("../schemas");
|
|
6
|
+
const rest_api_1 = require("../../../../rest-api");
|
|
7
|
+
const http_method_enum_1 = require("../../../../shared/http-method.enum");
|
|
8
|
+
var AdminGetUserWalletBalanceQuery;
|
|
9
|
+
(function (AdminGetUserWalletBalanceQuery) {
|
|
10
|
+
AdminGetUserWalletBalanceQuery.Request = zod_1.z.object({});
|
|
11
|
+
AdminGetUserWalletBalanceQuery.Response = schemas_1.AdminGetWalletBalanceResponseSchema;
|
|
12
|
+
AdminGetUserWalletBalanceQuery.URL = (userId) => rest_api_1.REST_API.V1.WALLET.ADMIN.BALANCE(userId);
|
|
13
|
+
AdminGetUserWalletBalanceQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
14
|
+
})(AdminGetUserWalletBalanceQuery || (exports.AdminGetUserWalletBalanceQuery = AdminGetUserWalletBalanceQuery = {}));
|
|
15
|
+
//# sourceMappingURL=admin-get-wallet-balance.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-get-wallet-balance.query.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/queries/admin-get-wallet-balance.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAiE;AACjE,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC9B,sCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,uCAAQ,GAAG,6CAAmC,CAAC;IAC/C,kCAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;IACnE,qCAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace AdminListUserWalletTransactionsQuery {
|
|
4
|
+
const Request: z.ZodObject<{
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
const Response: z.ZodObject<{
|
|
9
|
+
items: z.ZodArray<z.ZodObject<{
|
|
10
|
+
uuid: z.ZodString;
|
|
11
|
+
type: z.ZodEnum<typeof import("../..").TransactionType>;
|
|
12
|
+
amount: z.ZodString;
|
|
13
|
+
balanceBefore: z.ZodString;
|
|
14
|
+
balanceAfter: z.ZodString;
|
|
15
|
+
correlationId: z.ZodString;
|
|
16
|
+
reason: z.ZodString;
|
|
17
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
19
|
+
initiatorId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
ipAddress: z.ZodNullable<z.ZodString>;
|
|
21
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
22
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23
|
+
holdId: z.ZodNullable<z.ZodString>;
|
|
24
|
+
userBalanceId: z.ZodNullable<z.ZodString>;
|
|
25
|
+
createdAt: z.ZodString;
|
|
26
|
+
}, z.core.$strip>>;
|
|
27
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
28
|
+
hasMore: z.ZodBoolean;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
const URL: (userId: string) => string;
|
|
31
|
+
const METHOD = HttpMethod.GET;
|
|
32
|
+
type RequestType = z.infer<typeof Request>;
|
|
33
|
+
type ResponseType = z.infer<typeof Response>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminListUserWalletTransactionsQuery = void 0;
|
|
4
|
+
const schemas_1 = require("../schemas");
|
|
5
|
+
const rest_api_1 = require("../../../../rest-api");
|
|
6
|
+
const http_method_enum_1 = require("../../../../shared/http-method.enum");
|
|
7
|
+
var AdminListUserWalletTransactionsQuery;
|
|
8
|
+
(function (AdminListUserWalletTransactionsQuery) {
|
|
9
|
+
AdminListUserWalletTransactionsQuery.Request = schemas_1.AdminListTransactionsRequestSchema;
|
|
10
|
+
AdminListUserWalletTransactionsQuery.Response = schemas_1.AdminListTransactionsResponseSchema;
|
|
11
|
+
AdminListUserWalletTransactionsQuery.URL = (userId) => rest_api_1.REST_API.V1.WALLET.ADMIN.TRANSACTIONS(userId);
|
|
12
|
+
AdminListUserWalletTransactionsQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
13
|
+
})(AdminListUserWalletTransactionsQuery || (exports.AdminListUserWalletTransactionsQuery = AdminListUserWalletTransactionsQuery = {}));
|
|
14
|
+
//# sourceMappingURL=admin-list-wallet-transactions.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-list-wallet-transactions.query.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/queries/admin-list-wallet-transactions.query.ts"],"names":[],"mappings":";;;AACA,wCAGoB;AACpB,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,oCAAoC,CAOpD;AAPD,WAAiB,oCAAoC;IACpC,4CAAO,GAAG,4CAAkC,CAAC;IAC7C,6CAAQ,GAAG,6CAAmC,CAAC;IAC/C,wCAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IACxE,2CAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,oCAAoC,oDAApC,oCAAoC,QAOpD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./admin-get-wallet-balance.query"), exports);
|
|
18
|
+
__exportStar(require("./admin-list-wallet-transactions.query"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/queries/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD;AACjD,yEAAuD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminAdjustmentDirection = void 0;
|
|
4
|
+
var AdminAdjustmentDirection;
|
|
5
|
+
(function (AdminAdjustmentDirection) {
|
|
6
|
+
AdminAdjustmentDirection["CREDIT"] = "CREDIT";
|
|
7
|
+
AdminAdjustmentDirection["DEBIT"] = "DEBIT";
|
|
8
|
+
})(AdminAdjustmentDirection || (exports.AdminAdjustmentDirection = AdminAdjustmentDirection = {}));
|
|
9
|
+
//# sourceMappingURL=admin-adjustment-direction.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-adjustment-direction.enum.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/schemas/admin-adjustment-direction.enum.ts"],"names":[],"mappings":";;;AAWA,IAAY,wBAGX;AAHD,WAAY,wBAAwB;IAChC,6CAAiB,CAAA;IACjB,2CAAe,CAAA;AACnB,CAAC,EAHW,wBAAwB,wCAAxB,wBAAwB,QAGnC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AdminAdjustmentDirection } from './admin-adjustment-direction.enum';
|
|
3
|
+
export declare const AdminAdjustBalanceRequestSchema: z.ZodObject<{
|
|
4
|
+
direction: z.ZodEnum<typeof AdminAdjustmentDirection>;
|
|
5
|
+
amount: z.ZodString;
|
|
6
|
+
balanceTypeCode: z.ZodOptional<z.ZodString>;
|
|
7
|
+
reason: z.ZodString;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strict>;
|
|
11
|
+
export type AdminAdjustBalanceRequest = z.infer<typeof AdminAdjustBalanceRequestSchema>;
|
|
12
|
+
export declare const AdminAdjustBalanceResponseSchema: z.ZodObject<{
|
|
13
|
+
direction: z.ZodEnum<typeof AdminAdjustmentDirection>;
|
|
14
|
+
amount: z.ZodString;
|
|
15
|
+
correlationId: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type AdminAdjustBalanceResponse = z.infer<typeof AdminAdjustBalanceResponseSchema>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminAdjustBalanceResponseSchema = exports.AdminAdjustBalanceRequestSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const shared_1 = require("../../../../shared");
|
|
6
|
+
const admin_adjustment_direction_enum_1 = require("./admin-adjustment-direction.enum");
|
|
7
|
+
exports.AdminAdjustBalanceRequestSchema = zod_1.z
|
|
8
|
+
.object({
|
|
9
|
+
direction: zod_1.z.enum(admin_adjustment_direction_enum_1.AdminAdjustmentDirection, {
|
|
10
|
+
error: 'AdminAdjustBalanceRequest.direction.invalid',
|
|
11
|
+
}),
|
|
12
|
+
amount: zod_1.z
|
|
13
|
+
.string({ error: 'AdminAdjustBalanceRequest.amount.required' })
|
|
14
|
+
.regex(/^[1-9]\d*$/, { message: 'AdminAdjustBalanceRequest.amount.positive' })
|
|
15
|
+
.max(15, { message: 'AdminAdjustBalanceRequest.amount.max' }),
|
|
16
|
+
balanceTypeCode: zod_1.z
|
|
17
|
+
.string({ error: 'AdminAdjustBalanceRequest.balanceTypeCode.required' })
|
|
18
|
+
.min(1, { message: 'AdminAdjustBalanceRequest.balanceTypeCode.min' })
|
|
19
|
+
.max(50, { message: 'AdminAdjustBalanceRequest.balanceTypeCode.max' })
|
|
20
|
+
.optional(),
|
|
21
|
+
reason: zod_1.z
|
|
22
|
+
.string({ error: 'AdminAdjustBalanceRequest.reason.required' })
|
|
23
|
+
.min(1, { message: 'AdminAdjustBalanceRequest.reason.min' })
|
|
24
|
+
.max(100, { message: 'AdminAdjustBalanceRequest.reason.max' }),
|
|
25
|
+
description: zod_1.z.string().max(2000).optional(),
|
|
26
|
+
expiresAt: zod_1.z
|
|
27
|
+
.string()
|
|
28
|
+
.datetime({ message: 'AdminAdjustBalanceRequest.expiresAt.invalid' })
|
|
29
|
+
.optional(),
|
|
30
|
+
})
|
|
31
|
+
.strict();
|
|
32
|
+
exports.AdminAdjustBalanceResponseSchema = zod_1.z.object({
|
|
33
|
+
direction: zod_1.z.enum(admin_adjustment_direction_enum_1.AdminAdjustmentDirection),
|
|
34
|
+
amount: shared_1.BigIntStringSchema,
|
|
35
|
+
correlationId: zod_1.z.string(),
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=admin-adjustment.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-adjustment.schema.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/schemas/admin-adjustment.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,+CAAwD;AACxD,uFAA6E;AAEhE,QAAA,+BAA+B,GAAG,OAAC;KAC3C,MAAM,CAAC;IACJ,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,0DAAwB,EAAE;QACxC,KAAK,EAAE,6CAA6C;KACvD,CAAC;IAOF,MAAM,EAAE,OAAC;SACJ,MAAM,CAAC,EAAE,KAAK,EAAE,2CAA2C,EAAE,CAAC;SAC9D,KAAK,CAAC,YAAY,EAAE,EAAE,OAAO,EAAE,2CAA2C,EAAE,CAAC;SAC7E,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAKjE,eAAe,EAAE,OAAC;SACb,MAAM,CAAC,EAAE,KAAK,EAAE,oDAAoD,EAAE,CAAC;SACvE,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,+CAA+C,EAAE,CAAC;SACpE,GAAG,CAAC,EAAE,EAAE,EAAE,OAAO,EAAE,+CAA+C,EAAE,CAAC;SACrE,QAAQ,EAAE;IACf,MAAM,EAAE,OAAC;SACJ,MAAM,CAAC,EAAE,KAAK,EAAE,2CAA2C,EAAE,CAAC;SAC9D,GAAG,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;SAC3D,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAClE,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IAE5C,SAAS,EAAE,OAAC;SACP,MAAM,EAAE;SACR,QAAQ,CAAC,EAAE,OAAO,EAAE,6CAA6C,EAAE,CAAC;SACpE,QAAQ,EAAE;CAClB,CAAC;KACD,MAAM,EAAE,CAAC;AAGD,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,0DAAwB,CAAC;IAC3C,MAAM,EAAE,2BAAkB;IAC1B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const AdminBalanceSummarySchema: z.ZodObject<{
|
|
3
|
+
totalAvailable: z.ZodString;
|
|
4
|
+
totalHeld: z.ZodString;
|
|
5
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
typeCode: z.ZodString;
|
|
8
|
+
typeName: z.ZodString;
|
|
9
|
+
amount: z.ZodString;
|
|
10
|
+
held: z.ZodString;
|
|
11
|
+
available: z.ZodString;
|
|
12
|
+
status: z.ZodEnum<typeof import("../..").BalanceStatus>;
|
|
13
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
14
|
+
createdAt: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
activeHolds: z.ZodArray<z.ZodObject<{
|
|
17
|
+
holdId: z.ZodString;
|
|
18
|
+
amount: z.ZodString;
|
|
19
|
+
operationType: z.ZodString;
|
|
20
|
+
operationId: z.ZodString;
|
|
21
|
+
description: z.ZodNullable<z.ZodString>;
|
|
22
|
+
createdAt: z.ZodString;
|
|
23
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type AdminBalanceSummary = z.infer<typeof AdminBalanceSummarySchema>;
|
|
27
|
+
export declare const AdminGetWalletBalanceResponseSchema: z.ZodObject<{
|
|
28
|
+
totalAvailable: z.ZodString;
|
|
29
|
+
totalHeld: z.ZodString;
|
|
30
|
+
balances: z.ZodArray<z.ZodObject<{
|
|
31
|
+
id: z.ZodString;
|
|
32
|
+
typeCode: z.ZodString;
|
|
33
|
+
typeName: z.ZodString;
|
|
34
|
+
amount: z.ZodString;
|
|
35
|
+
held: z.ZodString;
|
|
36
|
+
available: z.ZodString;
|
|
37
|
+
status: z.ZodEnum<typeof import("../..").BalanceStatus>;
|
|
38
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
39
|
+
createdAt: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
activeHolds: z.ZodArray<z.ZodObject<{
|
|
42
|
+
holdId: z.ZodString;
|
|
43
|
+
amount: z.ZodString;
|
|
44
|
+
operationType: z.ZodString;
|
|
45
|
+
operationId: z.ZodString;
|
|
46
|
+
description: z.ZodNullable<z.ZodString>;
|
|
47
|
+
createdAt: z.ZodString;
|
|
48
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
49
|
+
}, z.core.$strip>>;
|
|
50
|
+
}, z.core.$strip>;
|
|
51
|
+
export type AdminGetWalletBalanceResponse = z.infer<typeof AdminGetWalletBalanceResponseSchema>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminGetWalletBalanceResponseSchema = exports.AdminBalanceSummarySchema = void 0;
|
|
4
|
+
const balance_response_schema_1 = require("../../schemas/balance-response.schema");
|
|
5
|
+
exports.AdminBalanceSummarySchema = balance_response_schema_1.BalanceSummaryResponseSchema.omit({
|
|
6
|
+
userId: true,
|
|
7
|
+
});
|
|
8
|
+
exports.AdminGetWalletBalanceResponseSchema = exports.AdminBalanceSummarySchema;
|
|
9
|
+
//# sourceMappingURL=admin-balance.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-balance.schema.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/schemas/admin-balance.schema.ts"],"names":[],"mappings":";;;AACA,mFAAqF;AAOxE,QAAA,yBAAyB,GAAG,sDAA4B,CAAC,IAAI,CAAC;IACvE,MAAM,EAAE,IAAI;CACf,CAAC,CAAC;AAGU,QAAA,mCAAmC,GAAG,iCAAyB,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { TransactionType } from '../../schemas/transaction-type.enum';
|
|
3
|
+
export declare const AdminTransactionItemSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
type: z.ZodEnum<typeof TransactionType>;
|
|
6
|
+
amount: z.ZodString;
|
|
7
|
+
balanceBefore: z.ZodString;
|
|
8
|
+
balanceAfter: z.ZodString;
|
|
9
|
+
correlationId: z.ZodString;
|
|
10
|
+
reason: z.ZodString;
|
|
11
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
13
|
+
initiatorId: z.ZodNullable<z.ZodString>;
|
|
14
|
+
ipAddress: z.ZodNullable<z.ZodString>;
|
|
15
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
16
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
17
|
+
holdId: z.ZodNullable<z.ZodString>;
|
|
18
|
+
userBalanceId: z.ZodNullable<z.ZodString>;
|
|
19
|
+
createdAt: z.ZodString;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
export type AdminTransactionItem = z.infer<typeof AdminTransactionItemSchema>;
|
|
22
|
+
export declare const AdminListTransactionsRequestSchema: z.ZodObject<{
|
|
23
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
24
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type AdminListTransactionsRequest = z.infer<typeof AdminListTransactionsRequestSchema>;
|
|
27
|
+
export declare const AdminListTransactionsResponseSchema: z.ZodObject<{
|
|
28
|
+
items: z.ZodArray<z.ZodObject<{
|
|
29
|
+
uuid: z.ZodString;
|
|
30
|
+
type: z.ZodEnum<typeof TransactionType>;
|
|
31
|
+
amount: z.ZodString;
|
|
32
|
+
balanceBefore: z.ZodString;
|
|
33
|
+
balanceAfter: z.ZodString;
|
|
34
|
+
correlationId: z.ZodString;
|
|
35
|
+
reason: z.ZodString;
|
|
36
|
+
description: z.ZodNullable<z.ZodString>;
|
|
37
|
+
initiatorType: z.ZodNullable<z.ZodString>;
|
|
38
|
+
initiatorId: z.ZodNullable<z.ZodString>;
|
|
39
|
+
ipAddress: z.ZodNullable<z.ZodString>;
|
|
40
|
+
userAgent: z.ZodNullable<z.ZodString>;
|
|
41
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
|
+
holdId: z.ZodNullable<z.ZodString>;
|
|
43
|
+
userBalanceId: z.ZodNullable<z.ZodString>;
|
|
44
|
+
createdAt: z.ZodString;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
47
|
+
hasMore: z.ZodBoolean;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export type AdminListTransactionsResponse = z.infer<typeof AdminListTransactionsResponseSchema>;
|