{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/pay/yookassa/topup":{"post":{"tags":["payments-yookassa"],"summary":"Yookassa Topup","operationId":"yookassa_topup_pay_yookassa_topup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/YooKassaTopUpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/pay/yookassa/web-topup":{"post":{"tags":["payments-yookassa"],"summary":"Yookassa Web Topup","operationId":"yookassa_web_topup_pay_yookassa_web_topup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebTopUpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/pay/yookassa/webhook":{"post":{"tags":["payments-yookassa"],"summary":"Yookassa Webhook","operationId":"yookassa_webhook_pay_yookassa_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/get-configs/{name}":{"get":{"summary":"Get Configs Text","operationId":"get_configs_text_get_configs__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}},{"name":"client","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/get-configs":{"get":{"summary":"Get Configs Token","operationId":"get_configs_token_get_configs_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"client","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/open/karing/{name}":{"get":{"summary":"Open Karing","operationId":"open_karing_open_karing__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/open/happ/{name}":{"get":{"summary":"Open Happ","operationId":"open_happ_open_happ__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/routes/happ.json":{"get":{"summary":"Happ Routes Json","operationId":"happ_routes_json_routes_happ_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/karing/isp/base.json":{"get":{"summary":"Karing Isp Base","operationId":"karing_isp_base_karing_isp_base_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/karing/config.json":{"get":{"summary":"Karing Config Json","operationId":"karing_config_json_karing_config_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/open/routes/happ":{"get":{"summary":"Open Happ Routes","operationId":"open_happ_routes_open_routes_happ_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/open/routes/karing/{name}":{"get":{"summary":"Open Karing Routes","operationId":"open_karing_routes_open_routes_karing__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/naive/caddy-auth":{"get":{"summary":"Internal Naive Caddy Auth","operationId":"internal_naive_caddy_auth_internal_naive_caddy_auth_get","parameters":[{"name":"x-naive-sync-token","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Naive-Sync-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/mtproto/users":{"get":{"summary":"Internal Mtproto Users","description":"`[access.users]` body for telemt — one `u<id> = \"<secret>\"` line per active\nsubscriber. Polled by every MTProto exit (same token-gated model as naive).","operationId":"internal_mtproto_users_internal_mtproto_users_get","parameters":[{"name":"x-mtproto-sync-token","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Mtproto-Sync-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/hysteria/auth":{"post":{"summary":"Internal Hysteria Auth","description":"Hysteria2's `auth.type: http` callback — called on every new connection,\nnot polled/synced. Must always answer 200; `ok` carries the verdict.","operationId":"internal_hysteria_auth_internal_hysteria_auth_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/internal/wbstream/current":{"get":{"summary":"Internal Wbstream Current","description":"Current WB Stream room + shared key. Polled by the wb-broker (exit) and\nthe standby holder so they follow the room the admin sets via the bot.\nToken-gated (same model as the naive caddy-auth internal endpoint).","operationId":"internal_wbstream_current_internal_wbstream_current_get","parameters":[{"name":"x-wbstream-sync-token","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Wbstream-Sync-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/internal/wbstream/notify-dead":{"post":{"summary":"Internal Wbstream Notify Dead","description":"The wb-broker calls this (debounced) when the current WB Stream room has\ngone stale and it cannot rejoin. Pings the admin on Telegram to create a\nfresh meeting and paste it via the bot's «Новая ссылка WB Stream» button.","operationId":"internal_wbstream_notify_dead_internal_wbstream_notify_dead_post","parameters":[{"name":"x-wbstream-sync-token","in":"header","required":false,"schema":{"type":"string","default":"","title":"X-Wbstream-Sync-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transport/vk-turn/bootstrap":{"get":{"summary":"Vk Turn Bootstrap","operationId":"vk_turn_bootstrap_transport_vk_turn_bootstrap_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"device_id","in":"query","required":true,"schema":{"type":"string","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VkTurnBootstrapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transport/vk-turn/register-key":{"post":{"summary":"Vk Turn Register Key","operationId":"vk_turn_register_key_transport_vk_turn_register_key_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VkTurnRegisterKeyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/crypto-webhook":{"post":{"summary":"Crypto Webhook","operationId":"crypto_webhook_crypto_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/register":{"post":{"summary":"Register","operationId":"register_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/login":{"post":{"summary":"Login","operationId":"login_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/recover-password":{"post":{"summary":"Forgot Password","operationId":"forgot_password_recover_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reset-password":{"post":{"summary":"Complete Password Reset","operationId":"complete_password_reset_reset_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletePasswordResetSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/change-password":{"post":{"summary":"Reset Password","operationId":"reset_password_change_password_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/buy":{"post":{"summary":"Buy Subscription","operationId":"buy_subscription_buy_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPurchaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/subscription-validity":{"get":{"summary":"Subscription Validity","operationId":"subscription_validity_subscription_validity_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/iap/apple/verify":{"post":{"summary":"Iap Apple Verify","description":"iOS StoreKit purchase verification. Verifies the transaction with Apple\n(App Store Server API + JWS signature) and grants the authenticated user a\nsubscription — no balance charged. iOS-only; other platforms use /buy.","operationId":"iap_apple_verify_iap_apple_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppleVerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/iap/apple/notifications":{"post":{"summary":"Iap Apple Notifications","description":"App Store Server Notifications V2 webhook (renewals/expiry/refunds).\nApple POSTs {\"signedPayload\": \"<jws>\"}. Always returns 200 so Apple does not\nretry indefinitely; the signature is verified inside the handler.","operationId":"iap_apple_notifications_iap_apple_notifications_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/price":{"get":{"summary":"Get Price","operationId":"get_price_price_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/user":{"get":{"summary":"Get User Profile","operationId":"get_user_profile_user_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/profile":{"get":{"summary":"Web Profile","operationId":"web_profile_web_profile_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/portal":{"get":{"summary":"Web Portal","operationId":"web_portal_web_portal_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/gift/{code}":{"get":{"summary":"Web Gift Preview","operationId":"web_gift_preview_web_gift__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/web/promo":{"post":{"summary":"Web Activate Promo","operationId":"web_activate_promo_web_promo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeActivationSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/support":{"get":{"summary":"Web Support","operationId":"web_support_web_support_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/support/messages":{"post":{"summary":"Web Support Message","operationId":"web_support_message_web_support_messages_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupportMessageSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/payment-method":{"delete":{"summary":"Web Disable Payment Method","operationId":"web_disable_payment_method_web_payment_method_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/change-login":{"post":{"summary":"Change Login","operationId":"change_login_change_login_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeLoginSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/delete-account":{"post":{"summary":"Delete Account","operationId":"delete_account_delete_account_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/subscription/quote":{"post":{"summary":"Web Subscription Quote","operationId":"web_subscription_quote_web_subscription_quote_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPurchaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/subscription/purchase":{"post":{"summary":"Web Subscription Purchase","operationId":"web_subscription_purchase_web_subscription_purchase_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPurchaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/web/subscription/trial":{"post":{"summary":"Web Subscription Trial","operationId":"web_subscription_trial_web_subscription_trial_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/subscription":{"get":{"summary":"Get User Subscription","operationId":"get_user_subscription_subscription_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/confirmation-code":{"post":{"summary":"Confirmation Code","operationId":"confirmation_code_confirmation_code_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmationCodeSchema"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/get-avatar":{"get":{"summary":"Get Avatar","operationId":"get_avatar_get_avatar_get","responses":{"200":{"description":"Successful Response"}},"security":[{"OAuth2PasswordBearer":[]}]}},"/update-fcm-token":{"post":{"summary":"Update Fcm Token","operationId":"update_fcm_token_update_fcm_token_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FirebaseTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/referral-link":{"get":{"summary":"Get Referral Link","operationId":"get_referral_link_referral_link_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/check_version":{"get":{"summary":"Check App Version","operationId":"check_app_version_check_version_get","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vpn-heartbeat":{"post":{"summary":"Vpn Heartbeat Route","operationId":"vpn_heartbeat_route_vpn_heartbeat_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"device_id","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/vpn-stop":{"post":{"summary":"Vpn Stop Route","operationId":"vpn_stop_route_vpn_stop_post","security":[{"OAuth2PasswordBearer":[]}],"parameters":[{"name":"device_id","in":"query","required":false,"schema":{"type":"string","default":"default","title":"Device Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AppleVerifyRequest":{"properties":{"transaction_id":{"type":"string","minLength":1,"title":"Transaction Id","description":"StoreKit transaction id"},"product_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Id"}},"type":"object","required":["transaction_id"],"title":"AppleVerifyRequest"},"ChangeLoginSchema":{"properties":{"new_login":{"type":"string","title":"New Login"},"password":{"type":"string","title":"Password"}},"type":"object","required":["new_login","password"],"title":"ChangeLoginSchema"},"CompletePasswordResetSchema":{"properties":{"token":{"type":"string","maxLength":256,"minLength":32,"title":"Token"},"new_password":{"type":"string","maxLength":72,"minLength":6,"title":"New Password"}},"type":"object","required":["token","new_password"],"title":"CompletePasswordResetSchema"},"ConfirmationCodeSchema":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"ConfirmationCodeSchema"},"FirebaseTokenRequest":{"properties":{"new_token":{"type":"string","title":"New Token"},"old_token":{"type":"string","title":"Old Token"}},"type":"object","required":["new_token","old_token"],"title":"FirebaseTokenRequest"},"ForgotPasswordSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"ForgotPasswordSchema"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"LoginSchema":{"properties":{"identifier":{"type":"string","title":"Identifier"},"password":{"type":"string","title":"Password"}},"type":"object","required":["identifier","password"],"title":"LoginSchema"},"PromoCodeActivationSchema":{"properties":{"code":{"type":"string","maxLength":64,"minLength":2,"title":"Code"}},"type":"object","required":["code"],"title":"PromoCodeActivationSchema"},"RegisterSchema":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"password":{"type":"string","minLength":6,"title":"Password"},"confirmation_code":{"type":"string","minLength":6,"title":"Confirmation Code"},"language_code":{"type":"string","title":"Language Code"},"referral_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Referral Code"}},"type":"object","required":["email","password","confirmation_code","language_code"],"title":"RegisterSchema"},"ResetPasswordSchema":{"properties":{"old_password":{"type":"string","title":"Old Password"},"new_password":{"type":"string","title":"New Password"}},"type":"object","required":["old_password","new_password"],"title":"ResetPasswordSchema"},"SubscriptionPurchaseRequest":{"properties":{"days":{"type":"integer","exclusiveMinimum":0.0,"title":"Days","description":"Количество дней подписки"},"user_count":{"type":"integer","exclusiveMinimum":0.0,"title":"User Count","description":"Количество пользователей"}},"type":"object","required":["days","user_count"],"title":"SubscriptionPurchaseRequest"},"SupportMessageSchema":{"properties":{"body":{"type":"string","maxLength":4000,"minLength":1,"title":"Body"}},"type":"object","required":["body"],"title":"SupportMessageSchema"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VersionResponse":{"properties":{"latest_version":{"type":"string","title":"Latest Version"},"update_url":{"type":"string","title":"Update Url"},"force_update":{"type":"boolean","title":"Force Update"},"update_url_windows":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Update Url Windows"},"update_url_mac":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Update Url Mac"}},"type":"object","required":["latest_version","update_url","force_update"],"title":"VersionResponse"},"VkTurnBootstrapResponse":{"properties":{"mode":{"type":"string","title":"Mode"},"device_id":{"type":"string","title":"Device Id"},"node_endpoint":{"type":"string","title":"Node Endpoint"},"server_public_key":{"type":"string","title":"Server Public Key"},"assigned_address":{"type":"string","title":"Assigned Address"},"mtu":{"type":"integer","title":"Mtu"},"local_listen_port":{"type":"integer","title":"Local Listen Port"},"wireguard_outbound_template":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wireguard Outbound Template"},"bootstrap_version":{"type":"string","title":"Bootstrap Version"},"bridge_workers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Bridge Workers"},"public_key_registered":{"type":"boolean","title":"Public Key Registered","default":false},"client_private_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Client Private Key"}},"type":"object","required":["mode","device_id","node_endpoint","server_public_key","assigned_address","mtu","local_listen_port","bootstrap_version"],"title":"VkTurnBootstrapResponse"},"VkTurnRegisterKeyRequest":{"properties":{"device_id":{"type":"string","maxLength":128,"minLength":1,"title":"Device Id"},"public_key":{"type":"string","maxLength":255,"minLength":16,"title":"Public Key"}},"type":"object","required":["device_id","public_key"],"title":"VkTurnRegisterKeyRequest"},"WebTopUpRequest":{"properties":{"amount_rub":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Amount Rub"},"return_url":{"type":"string","title":"Return Url"},"save_for_autopay":{"type":"boolean","title":"Save For Autopay","default":false}},"type":"object","required":["amount_rub","return_url"],"title":"WebTopUpRequest"},"YooKassaTopUpRequest":{"properties":{"telegram_id":{"type":"integer","title":"Telegram Id"},"user_uuid":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Uuid"},"return_url":{"type":"string","title":"Return Url"},"amount_rub":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string"}],"title":"Amount Rub"},"save_for_autopay":{"type":"boolean","title":"Save For Autopay","default":false},"bot_tag":{"type":"string","enum":["main","payment"],"title":"Bot Tag","default":"main"}},"type":"object","required":["telegram_id","return_url","amount_rub"],"title":"YooKassaTopUpRequest"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"login"}}}}}}