Implement buy flow and migrate DTOs to schemas

Move DTO definitions from dto/ to schemas/ and update imports.
Add buy handler with FSM state management for device selection,
whitelist toggling, and duration choice. Include pricing logic,
inline keyboards, and new configuration fields.
This commit is contained in:
2026-04-08 19:34:25 +07:00
parent fc45816eba
commit 930fabc028
17 changed files with 291 additions and 50 deletions

View File

@@ -1,4 +1,5 @@
from .menus import router as menus_router
from .support import router as support_router
from .buy import router as buy_router
routers = [menus_router, support_router]
routers = [menus_router, support_router, buy_router]