@veruna/api-contracts 6.0.0 → 6.1.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.js +1 -1
- package/build/v1/wallet/queries/list-wallet-events.query.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,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminListTransactionsResponseSchema = exports.AdminListTransactionsRequestSchema = exports.AdminTransactionItemSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const regex_1 = require("../../../../shared/regex");
|
|
6
|
+
const shared_1 = require("../../../../shared");
|
|
7
|
+
const transaction_type_enum_1 = require("../../schemas/transaction-type.enum");
|
|
8
|
+
exports.AdminTransactionItemSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().regex(regex_1.UUID_REGEX),
|
|
10
|
+
type: zod_1.z.enum(transaction_type_enum_1.TransactionType),
|
|
11
|
+
amount: shared_1.BigIntStringSchema,
|
|
12
|
+
balanceBefore: shared_1.BigIntStringSchema,
|
|
13
|
+
balanceAfter: shared_1.BigIntStringSchema,
|
|
14
|
+
correlationId: zod_1.z.string(),
|
|
15
|
+
reason: zod_1.z.string(),
|
|
16
|
+
description: zod_1.z.string().nullable(),
|
|
17
|
+
initiatorType: zod_1.z.string().nullable(),
|
|
18
|
+
initiatorId: zod_1.z.string().nullable(),
|
|
19
|
+
ipAddress: zod_1.z.string().nullable(),
|
|
20
|
+
userAgent: zod_1.z.string().nullable(),
|
|
21
|
+
metadata: zod_1.z.record(zod_1.z.string(), zod_1.z.unknown()).nullable(),
|
|
22
|
+
holdId: zod_1.z.string().nullable(),
|
|
23
|
+
userBalanceId: zod_1.z.string().nullable(),
|
|
24
|
+
createdAt: zod_1.z.string().regex(regex_1.DATETIME_REGEX),
|
|
25
|
+
});
|
|
26
|
+
exports.AdminListTransactionsRequestSchema = zod_1.z.object({
|
|
27
|
+
cursor: zod_1.z
|
|
28
|
+
.string({ error: 'AdminListTransactionsRequest.cursor.invalid' })
|
|
29
|
+
.datetime({ message: 'AdminListTransactionsRequest.cursor.invalid' })
|
|
30
|
+
.optional(),
|
|
31
|
+
limit: zod_1.z.coerce
|
|
32
|
+
.number()
|
|
33
|
+
.int({ message: 'AdminListTransactionsRequest.limit.invalid' })
|
|
34
|
+
.positive({ message: 'AdminListTransactionsRequest.limit.invalid' })
|
|
35
|
+
.max(100, { message: 'AdminListTransactionsRequest.limit.max' })
|
|
36
|
+
.default(50),
|
|
37
|
+
});
|
|
38
|
+
exports.AdminListTransactionsResponseSchema = zod_1.z.object({
|
|
39
|
+
items: zod_1.z.array(exports.AdminTransactionItemSchema),
|
|
40
|
+
nextCursor: zod_1.z.string().nullable(),
|
|
41
|
+
hasMore: zod_1.z.boolean(),
|
|
42
|
+
});
|
|
43
|
+
//# sourceMappingURL=admin-transactions.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-transactions.schema.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/schemas/admin-transactions.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAsE;AACtE,+CAAwD;AACxD,+EAAsE;AAMzD,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,kBAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,IAAI,CAAC,uCAAe,CAAC;IAC7B,MAAM,EAAE,2BAAkB;IAC1B,aAAa,EAAE,2BAAkB;IACjC,YAAY,EAAE,2BAAkB;IAChC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,CAAC,sBAAc,CAAC;CAC9C,CAAC,CAAC;AAOU,QAAA,kCAAkC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,MAAM,EAAE,OAAC;SACJ,MAAM,CAAC,EAAE,KAAK,EAAE,6CAA6C,EAAE,CAAC;SAChE,QAAQ,CAAC,EAAE,OAAO,EAAE,6CAA6C,EAAE,CAAC;SACpE,QAAQ,EAAE;IACf,KAAK,EAAE,OAAC,CAAC,MAAM;SACV,MAAM,EAAE;SACR,GAAG,CAAC,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SAC9D,QAAQ,CAAC,EAAE,OAAO,EAAE,4CAA4C,EAAE,CAAC;SACnE,GAAG,CAAC,GAAG,EAAE,EAAE,OAAO,EAAE,wCAAwC,EAAE,CAAC;SAC/D,OAAO,CAAC,EAAE,CAAC;CACnB,CAAC,CAAC;AAGU,QAAA,mCAAmC,GAAG,OAAC,CAAC,MAAM,CAAC;IACxD,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,kCAA0B,CAAC;IAC1C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;CACvB,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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-adjustment-direction.enum"), exports);
|
|
18
|
+
__exportStar(require("./admin-balance.schema"), exports);
|
|
19
|
+
__exportStar(require("./admin-transactions.schema"), exports);
|
|
20
|
+
__exportStar(require("./admin-adjustment.schema"), exports);
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/wallet/admin/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD;AAClD,yDAAuC;AACvC,8DAA4C;AAC5C,4DAA0C"}
|
package/build/v1/wallet/index.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.WALLET_ROUTES = exports.WALLET_CONTROLLER = void 0;
|
|
|
18
18
|
__exportStar(require("./schemas"), exports);
|
|
19
19
|
__exportStar(require("./wallet.errors"), exports);
|
|
20
20
|
__exportStar(require("./queries"), exports);
|
|
21
|
+
__exportStar(require("./admin"), exports);
|
|
21
22
|
var controllers_1 = require("../../controllers");
|
|
22
23
|
Object.defineProperty(exports, "WALLET_CONTROLLER", { enumerable: true, get: function () { return controllers_1.WALLET_CONTROLLER; } });
|
|
23
24
|
var routes_1 = require("../../routes");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/wallet/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,kDAAgC;AAChC,4CAA0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/wallet/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,kDAAgC;AAChC,4CAA0B;AAC1B,0CAAwB;AAExB,iDAAsD;AAA7C,gHAAA,iBAAiB,OAAA;AAC1B,uCAA6C;AAApC,uGAAA,aAAa,OAAA"}
|
|
@@ -9,7 +9,7 @@ var GetBalanceSummaryQuery;
|
|
|
9
9
|
(function (GetBalanceSummaryQuery) {
|
|
10
10
|
GetBalanceSummaryQuery.Request = zod_1.z.object({});
|
|
11
11
|
GetBalanceSummaryQuery.Response = schemas_1.BalanceSummaryResponseSchema;
|
|
12
|
-
GetBalanceSummaryQuery.URL = rest_api_1.REST_API.V1.WALLET.BALANCE;
|
|
12
|
+
GetBalanceSummaryQuery.URL = rest_api_1.REST_API.V1.WALLET.REG.BALANCE;
|
|
13
13
|
GetBalanceSummaryQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
14
14
|
})(GetBalanceSummaryQuery || (exports.GetBalanceSummaryQuery = GetBalanceSummaryQuery = {}));
|
|
15
15
|
//# sourceMappingURL=get-balance-summary.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-balance-summary.query.js","sourceRoot":"","sources":["../../../../v1/wallet/queries/get-balance-summary.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA0D;AAC1D,gDAA6C;AAC7C,uEAA8D;AAM9D,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,+BAAQ,GAAG,sCAA4B,CAAC;IAExC,0BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"get-balance-summary.query.js","sourceRoot":"","sources":["../../../../v1/wallet/queries/get-balance-summary.query.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAA0D;AAC1D,gDAA6C;AAC7C,uEAA8D;AAM9D,IAAiB,sBAAsB,CAStC;AATD,WAAiB,sBAAsB;IACtB,8BAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,+BAAQ,GAAG,sCAA4B,CAAC;IAExC,0BAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC;IACrC,6BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,sBAAsB,sCAAtB,sBAAsB,QAStC"}
|
|
@@ -8,7 +8,7 @@ var WalletListEventsQuery;
|
|
|
8
8
|
(function (WalletListEventsQuery) {
|
|
9
9
|
WalletListEventsQuery.Request = schemas_1.WalletEventsListRequestSchema;
|
|
10
10
|
WalletListEventsQuery.Response = schemas_1.WalletEventsListResponseSchema;
|
|
11
|
-
WalletListEventsQuery.URL = rest_api_1.REST_API.V1.WALLET.EVENTS;
|
|
11
|
+
WalletListEventsQuery.URL = rest_api_1.REST_API.V1.WALLET.REG.EVENTS;
|
|
12
12
|
WalletListEventsQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
13
13
|
})(WalletListEventsQuery || (exports.WalletListEventsQuery = WalletListEventsQuery = {}));
|
|
14
14
|
//# sourceMappingURL=list-wallet-events.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-wallet-events.query.js","sourceRoot":"","sources":["../../../../v1/wallet/queries/list-wallet-events.query.ts"],"names":[],"mappings":";;;AACA,wCAGoB;AACpB,gDAA6C;AAC7C,uEAA8D;AAW9D,IAAiB,qBAAqB,CASrC;AATD,WAAiB,qBAAqB;IACrB,6BAAO,GAAG,uCAA6B,CAAC;IACxC,8BAAQ,GAAG,wCAA8B,CAAC;IAE1C,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"list-wallet-events.query.js","sourceRoot":"","sources":["../../../../v1/wallet/queries/list-wallet-events.query.ts"],"names":[],"mappings":";;;AACA,wCAGoB;AACpB,gDAA6C;AAC7C,uEAA8D;AAW9D,IAAiB,qBAAqB,CASrC;AATD,WAAiB,qBAAqB;IACrB,6BAAO,GAAG,uCAA6B,CAAC;IACxC,8BAAQ,GAAG,wCAA8B,CAAC;IAE1C,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC;IACpC,4BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAIzC,CAAC,EATgB,qBAAqB,qCAArB,qBAAqB,QASrC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { HttpMethod } from '../../../../shared/http-method.enum';
|
|
3
|
+
export declare namespace AdminUnlinkYandexCommand {
|
|
4
|
+
const Request: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
const Response: z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
const URL: (userId: string) => string;
|
|
9
|
+
const METHOD = HttpMethod.DELETE;
|
|
10
|
+
type RequestType = z.infer<typeof Request>;
|
|
11
|
+
type ResponseType = z.infer<typeof Response>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminUnlinkYandexCommand = 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 AdminUnlinkYandexCommand;
|
|
9
|
+
(function (AdminUnlinkYandexCommand) {
|
|
10
|
+
AdminUnlinkYandexCommand.Request = zod_1.z.object({});
|
|
11
|
+
AdminUnlinkYandexCommand.Response = schemas_1.AdminUnlinkYandexProfileResponseSchema;
|
|
12
|
+
AdminUnlinkYandexCommand.URL = (userId) => rest_api_1.REST_API.V1.YANDEX_PROFILE.ADMIN.UNLINK(userId);
|
|
13
|
+
AdminUnlinkYandexCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
|
|
14
|
+
})(AdminUnlinkYandexCommand || (exports.AdminUnlinkYandexCommand = AdminUnlinkYandexCommand = {}));
|
|
15
|
+
//# sourceMappingURL=admin-unlink-yandex.command.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"admin-unlink-yandex.command.js","sourceRoot":"","sources":["../../../../../v1/yandex-profile/admin/commands/admin-unlink-yandex.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAoE;AACpE,mDAAgD;AAChD,0EAAiE;AAEjE,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACxB,gCAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,iCAAQ,GAAG,gDAAsC,CAAC;IAClD,4BAAG,GAAG,CAAC,MAAc,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC1E,+BAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './admin-unlink-yandex.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-unlink-yandex.command"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../v1/yandex-profile/admin/commands/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C"}
|
|
@@ -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.YANDEX_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, "YANDEX_PROFILE_ADMIN_CONTROLLER", { enumerable: true, get: function () { return controllers_1.YANDEX_PROFILE_ADMIN_CONTROLLER; } });
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,6CAA2B;AAC3B,oDAAuE;AAA9D,8HAAA,+BAA+B,OAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AdminUnlinkYandexProfileResponseSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const regex_1 = require("../../../../shared/regex");
|
|
6
|
+
exports.AdminUnlinkYandexProfileResponseSchema = 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/yandex-profile/admin/schemas/admin-unlink.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,oDAAsD;AAEzC,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,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/yandex-profile/admin/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -9,7 +9,7 @@ var LinkYandexCommand;
|
|
|
9
9
|
(function (LinkYandexCommand) {
|
|
10
10
|
LinkYandexCommand.Request = zod_1.z.object({});
|
|
11
11
|
LinkYandexCommand.Response = schemas_1.YandexLinkResponseSchema;
|
|
12
|
-
LinkYandexCommand.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.LINK;
|
|
12
|
+
LinkYandexCommand.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.REG.LINK;
|
|
13
13
|
LinkYandexCommand.METHOD = http_method_enum_1.HttpMethod.POST;
|
|
14
14
|
})(LinkYandexCommand || (exports.LinkYandexCommand = LinkYandexCommand = {}));
|
|
15
15
|
//# sourceMappingURL=link-yandex.command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-yandex.command.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/commands/link-yandex.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAsD;AACtD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,iBAAiB,CASjC;AATD,WAAiB,iBAAiB;IACjB,yBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,0BAAQ,GAAG,kCAAwB,CAAC;IAEpC,qBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"link-yandex.command.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/commands/link-yandex.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,wCAAsD;AACtD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,iBAAiB,CASjC;AATD,WAAiB,iBAAiB;IACjB,yBAAO,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvB,0BAAQ,GAAG,kCAAwB,CAAC;IAEpC,qBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC;IAC1C,wBAAM,GAAG,6BAAU,CAAC,IAAI,CAAC;AAI1C,CAAC,EATgB,iBAAiB,iCAAjB,iBAAiB,QASjC"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var UnlinkYandexCommand;
|
|
8
8
|
(function (UnlinkYandexCommand) {
|
|
9
9
|
UnlinkYandexCommand.Response = zod_1.z.void();
|
|
10
|
-
UnlinkYandexCommand.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.UNLINK;
|
|
10
|
+
UnlinkYandexCommand.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.REG.UNLINK;
|
|
11
11
|
UnlinkYandexCommand.METHOD = http_method_enum_1.HttpMethod.DELETE;
|
|
12
12
|
})(UnlinkYandexCommand || (exports.UnlinkYandexCommand = UnlinkYandexCommand = {}));
|
|
13
13
|
//# sourceMappingURL=unlink-yandex.command.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlink-yandex.command.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/commands/unlink-yandex.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IACnB,4BAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,uBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"unlink-yandex.command.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/commands/unlink-yandex.command.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,mBAAmB,CAOnC;AAPD,WAAiB,mBAAmB;IACnB,4BAAQ,GAAG,OAAC,CAAC,IAAI,EAAE,CAAC;IAEpB,uBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC;IAC5C,0BAAM,GAAG,6BAAU,CAAC,MAAM,CAAC;AAG5C,CAAC,EAPgB,mBAAmB,mCAAnB,mBAAmB,QAOnC"}
|
|
@@ -2,5 +2,6 @@ export * from './yandex-profile.errors';
|
|
|
2
2
|
export * from './schemas';
|
|
3
3
|
export * from './commands';
|
|
4
4
|
export * from './queries';
|
|
5
|
+
export * from './admin';
|
|
5
6
|
export { YANDEX_PROFILE_CONTROLLER } from '../../controllers';
|
|
6
7
|
export { YANDEX_PROFILE_ROUTES } from '../../routes';
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./yandex-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, "YANDEX_PROFILE_CONTROLLER", { enumerable: true, get: function () { return controllers_1.YANDEX_PROFILE_CONTROLLER; } });
|
|
24
25
|
var routes_1 = require("../../routes");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/yandex-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA8D;AAArD,wHAAA,yBAAyB,OAAA;AAClC,uCAAqD;AAA5C,+GAAA,qBAAqB,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v1/yandex-profile/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,0CAAwB;AACxB,iDAA8D;AAArD,wHAAA,yBAAyB,OAAA;AAClC,uCAAqD;AAA5C,+GAAA,qBAAqB,OAAA"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var GetYandexLinkStatusQuery;
|
|
8
8
|
(function (GetYandexLinkStatusQuery) {
|
|
9
9
|
GetYandexLinkStatusQuery.Response = schemas_1.YandexLinkStatusResponseSchema;
|
|
10
|
-
GetYandexLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.YANDEX_PROFILE.LINK_STATUS(uuid);
|
|
10
|
+
GetYandexLinkStatusQuery.URL = (uuid) => rest_api_1.REST_API.V1.YANDEX_PROFILE.REG.LINK_STATUS(uuid);
|
|
11
11
|
GetYandexLinkStatusQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
12
12
|
})(GetYandexLinkStatusQuery || (exports.GetYandexLinkStatusQuery = GetYandexLinkStatusQuery = {}));
|
|
13
13
|
//# sourceMappingURL=get-yandex-link-status.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-yandex-link-status.query.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/queries/get-yandex-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAA4D;AAC5D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACxB,iCAAQ,GAAG,wCAA8B,CAAC;IAE1C,4BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-yandex-link-status.query.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/queries/get-yandex-link-status.query.ts"],"names":[],"mappings":";;;AACA,wCAA4D;AAC5D,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACxB,iCAAQ,GAAG,wCAA8B,CAAC;IAE1C,4BAAG,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IACzE,+BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC"}
|
|
@@ -7,7 +7,7 @@ const rest_api_1 = require("../../../rest-api");
|
|
|
7
7
|
var GetYandexProfileQuery;
|
|
8
8
|
(function (GetYandexProfileQuery) {
|
|
9
9
|
GetYandexProfileQuery.Response = schemas_1.YandexProfileResponseSchema;
|
|
10
|
-
GetYandexProfileQuery.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.GET_PROFILE;
|
|
10
|
+
GetYandexProfileQuery.URL = rest_api_1.REST_API.V1.YANDEX_PROFILE.REG.GET_PROFILE;
|
|
11
11
|
GetYandexProfileQuery.METHOD = http_method_enum_1.HttpMethod.GET;
|
|
12
12
|
})(GetYandexProfileQuery || (exports.GetYandexProfileQuery = GetYandexProfileQuery = {}));
|
|
13
13
|
//# sourceMappingURL=get-yandex-profile.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-yandex-profile.query.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/queries/get-yandex-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAAyD;AACzD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACrB,8BAAQ,GAAG,qCAA2B,CAAC;IAEvC,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"get-yandex-profile.query.js","sourceRoot":"","sources":["../../../../v1/yandex-profile/queries/get-yandex-profile.query.ts"],"names":[],"mappings":";;;AACA,wCAAyD;AACzD,uEAA8D;AAC9D,gDAA6C;AAM7C,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACrB,8BAAQ,GAAG,qCAA2B,CAAC;IAEvC,yBAAG,GAAG,mBAAQ,CAAC,EAAE,CAAC,cAAc,CAAC,GAAG,CAAC,WAAW,CAAC;IACjD,4BAAM,GAAG,6BAAU,CAAC,GAAG,CAAC;AAGzC,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC"}
|