{"openapi":"3.1.0","info":{"title":"Web API","version":"1.0.0"},"paths":{"/auth/sendotp":{"post":{"tags":["auth"],"summary":"Sendotp","operationId":"sendotp_auth_sendotp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendOtpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendOtpResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auth/verifyotp":{"post":{"tags":["auth"],"summary":"Verifyotp","operationId":"verifyotp_auth_verifyotp_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyOtpRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tasks/get":{"post":{"tags":["admin"],"summary":"Get Tasks","operationId":"get_tasks_admin_tasks_get_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/web__modules__admin__schemas__GetTasksRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web__modules__admin__schemas__GetTasksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tasks/check":{"post":{"tags":["admin"],"summary":"Task Check","operationId":"task_check_admin_tasks_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskCheckResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/tasks/block":{"post":{"tags":["admin"],"summary":"Task Block","operationId":"task_block_admin_tasks_block_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskBlockRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskBlockResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/token/create":{"post":{"tags":["api"],"summary":"Create Token","operationId":"create_token_api_token_create_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/token/delete":{"post":{"tags":["api"],"summary":"Delete Token","operationId":"delete_token_api_token_delete_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteApiTokenRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteApiTokenResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/token/info":{"post":{"tags":["api"],"summary":"Get Token Info","operationId":"get_token_info_api_token_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetApiTokenInfoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiTokenInfoResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/methods":{"get":{"tags":["billing"],"summary":"Get Payment Methods","operationId":"get_payment_methods_billing_methods_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentMethodResponse"},"type":"array","title":"Response Get Payment Methods Billing Methods Get"}}}}}}},"/billing/currencies":{"get":{"tags":["billing"],"summary":"Get Currencies","operationId":"get_currencies_billing_currencies_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CurrencyResponse"},"type":"array","title":"Response Get Currencies Billing Currencies Get"}}}}}}},"/billing/pay":{"post":{"tags":["billing"],"summary":"Pay","operationId":"pay_billing_pay_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/getuser":{"post":{"tags":["user"],"summary":"Getuser","operationId":"getuser_user_getuser_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetUserRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/update":{"post":{"tags":["user"],"summary":"Update","operationId":"update_user_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/user/getbalance":{"post":{"tags":["user"],"summary":"Getbalance","operationId":"getbalance_user_getbalance_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBalanceRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/get":{"post":{"tags":["tasks"],"summary":"Get Tasks","operationId":"get_tasks_tasks_get_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/web__modules__tasks__schemas__GetTasksRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/web__modules__tasks__schemas__GetTasksResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/info":{"post":{"tags":["tasks"],"summary":"Get Task Info","operationId":"get_task_info_tasks_info_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTaskInfoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/add":{"post":{"tags":["tasks"],"summary":"Add Task","operationId":"add_task_tasks_add_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddTaskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/topup":{"post":{"tags":["tasks"],"summary":"Topup Task","operationId":"topup_task_tasks_topup_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpTaskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopUpTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/finish":{"post":{"tags":["tasks"],"summary":"Finish Task","operationId":"finish_task_tasks_finish_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinishTaskRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FinishTaskResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tasks/types":{"post":{"tags":["tasks"],"summary":"Get Types","operationId":"get_types_tasks_types_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetTaskTypesRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TaskTypeResponse"},"type":"array","title":"Response Get Types Tasks Types Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/get":{"post":{"tags":["reports"],"summary":"Get Reports","operationId":"get_reports_reports_get_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/history":{"post":{"tags":["reports"],"summary":"Get Report History","operationId":"get_report_history_reports_history_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportHistoryRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetReportsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/reports/update":{"post":{"tags":["reports"],"summary":"Update Report","operationId":"update_report_reports_update_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateReportRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateReportResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/ozon":{"post":{"tags":["webhooks"],"summary":"Ozon Webhook","operationId":"ozon_webhook_webhooks_ozon_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OzonWebhookRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/bepaid":{"post":{"tags":["webhooks"],"summary":"Bepaid Webhook","operationId":"bepaid_webhook_webhooks_bepaid_post","parameters":[{"name":"Content-Signature","in":"header","required":true,"schema":{"type":"string","title":"Content-Signature"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/webhooks/trybit":{"post":{"tags":["webhooks"],"summary":"Trybit Webhook","operationId":"trybit_webhook_webhooks_trybit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TryBitWebhookRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AddTaskRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_type_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Task Type Id"},"name":{"anyOf":[{"type":"string","maxLength":32},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Description"},"verification_description":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Verification Description"},"keyword":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Keyword"},"prompt":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Prompt"},"link":{"anyOf":[{"type":"string","maxLength":1024},{"type":"null"}],"title":"Link"},"control_type":{"type":"string","enum":["report","computer_vision"],"title":"Control Type"},"need_screenshot":{"type":"boolean","title":"Need Screenshot","default":false},"is_copyable":{"type":"boolean","title":"Is Copyable","default":false},"price_per_execution":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*(?:\\d{0,8}|(?=[\\d.]{1,11}0*$)\\d{0,8}\\.\\d{0,2}0*$)"}],"title":"Price Per Execution"},"executions_limit":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Executions Limit"},"hour_limit":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Hour Limit","default":0},"day_limit":{"type":"integer","maximum":2147483647.0,"minimum":0.0,"title":"Day Limit","default":0},"reservation_time":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Reservation Time","default":1}},"type":"object","required":["access_token","task_type_id","control_type","price_per_execution","executions_limit"],"title":"AddTaskRequest"},"AddTaskResponse":{"properties":{"id":{"type":"integer","title":"Id"}},"type":"object","required":["id"],"title":"AddTaskResponse"},"ApiTokenInfoResponse":{"properties":{"has_token":{"type":"boolean","title":"Has Token"},"token_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token Hint"}},"type":"object","required":["has_token","token_hint"],"title":"ApiTokenInfoResponse"},"BalanceResponse":{"properties":{"balance":{"type":"number","title":"Balance"}},"type":"object","required":["balance"],"title":"BalanceResponse"},"CreateApiTokenRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"CreateApiTokenRequest"},"CreateApiTokenResponse":{"properties":{"api_token":{"type":"string","title":"Api Token"},"token_hint":{"type":"string","title":"Token Hint"}},"type":"object","required":["api_token","token_hint"],"title":"CreateApiTokenResponse"},"CurrencyResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Value"}},"type":"object","required":["id"],"title":"CurrencyResponse"},"DeleteApiTokenRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"DeleteApiTokenRequest"},"DeleteApiTokenResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"}},"type":"object","required":["ok"],"title":"DeleteApiTokenResponse"},"FinishTaskRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Task Id"}},"type":"object","required":["access_token","task_id"],"title":"FinishTaskRequest"},"FinishTaskResponse":{"properties":{"task_id":{"type":"integer","title":"Task Id"},"executions_limit":{"type":"integer","title":"Executions Limit"},"refund_amount":{"type":"number","title":"Refund Amount"}},"type":"object","required":["task_id","executions_limit","refund_amount"],"title":"FinishTaskResponse"},"GetApiTokenInfoRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"GetApiTokenInfoRequest"},"GetBalanceRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"GetBalanceRequest"},"GetReportHistoryRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"page":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Page","default":1},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"task_id":{"anyOf":[{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Task Id"},"status":{"type":"string","enum":["all","accepted","declined"],"title":"Status","default":"all"}},"type":"object","required":["access_token"],"title":"GetReportHistoryRequest"},"GetReportsRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"page":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Page","default":1},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"task_id":{"anyOf":[{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0},{"type":"null"}],"title":"Task Id"}},"type":"object","required":["access_token"],"title":"GetReportsRequest"},"GetReportsResponse":{"properties":{"reports":{"items":{"$ref":"#/components/schemas/ReportResponse"},"type":"array","title":"Reports"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["reports","page","limit","total"],"title":"GetReportsResponse"},"GetTaskInfoRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Task Id"}},"type":"object","required":["access_token","task_id"],"title":"GetTaskInfoRequest"},"GetTaskTypesRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"GetTaskTypesRequest"},"GetUserRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"}},"type":"object","required":["access_token"],"title":"GetUserRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"OzonWebhookRequest":{"properties":{"orderID":{"type":"string","title":"Orderid"},"extOrderID":{"type":"string","title":"Extorderid"},"transactionID":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Transactionid"},"transactionUID":{"type":"string","title":"Transactionuid"},"amount":{"type":"integer","exclusiveMinimum":0.0,"title":"Amount"},"currencyCode":{"type":"string","title":"Currencycode"},"paymentTime":{"type":"string","format":"date-time","title":"Paymenttime"},"testMode":{"type":"integer","title":"Testmode"},"status":{"type":"string","title":"Status"},"operationType":{"type":"string","title":"Operationtype"},"paymentMethod":{"type":"string","title":"Paymentmethod"},"requestSign":{"type":"string","title":"Requestsign"}},"type":"object","required":["orderID","extOrderID","transactionID","transactionUID","amount","currencyCode","paymentTime","testMode","status","operationType","paymentMethod","requestSign"],"title":"OzonWebhookRequest"},"PayRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"payment_method":{"type":"string","title":"Payment Method"},"summ":{"type":"number","exclusiveMinimum":0.0,"title":"Summ"}},"type":"object","required":["access_token","payment_method","summ"],"title":"PayRequest"},"PayResponse":{"properties":{"link":{"type":"string","title":"Link"}},"type":"object","required":["link"],"title":"PayResponse"},"PaymentMethodResponse":{"properties":{"id":{"type":"integer","title":"Id"},"position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Position"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"system_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System Name"},"visible_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Visible Name"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"min":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min"},"max":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max"},"is_active":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Is Active"}},"type":"object","required":["id"],"title":"PaymentMethodResponse"},"ReportResponse":{"properties":{"id":{"type":"integer","title":"Id"},"task_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Task Id"},"user_id":{"type":"integer","title":"User Id"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"screenshot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Screenshot"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"report_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Report Type"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"},"task":{"$ref":"#/components/schemas/ReportTaskResponse"}},"type":"object","required":["id","user_id","task"],"title":"ReportResponse"},"ReportTaskResponse":{"properties":{"id":{"type":"integer","title":"Id"},"user_id":{"type":"integer","title":"User Id"},"task_type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Task Type Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"verification_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Description"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"control_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Control Type"},"need_screenshot":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Need Screenshot"},"is_copyable":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Is Copyable"},"price_per_execution":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Execution"},"executions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executions"},"executions_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executions Limit"},"hour_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hour Limit"},"day_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Day Limit"},"reservation_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reservation Time"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","user_id"],"title":"ReportTaskResponse"},"SendOtpRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"}},"type":"object","required":["email"],"title":"SendOtpRequest"},"SendOtpResponse":{"properties":{"ok":{"type":"boolean","title":"Ok"},"message":{"type":"string","title":"Message"}},"type":"object","required":["ok","message"],"title":"SendOtpResponse"},"TaskBlockRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Task Id"},"reason":{"type":"string","title":"Reason"},"commission":{"type":"boolean","title":"Commission","default":false}},"type":"object","required":["access_token","task_id","reason"],"title":"TaskBlockRequest"},"TaskBlockResponse":{"properties":{"task_id":{"type":"integer","title":"Task Id"},"state":{"type":"string","const":"declined","title":"State"},"accepted_reports":{"type":"integer","title":"Accepted Reports"},"email_sent":{"type":"boolean","title":"Email Sent"},"executions":{"type":"integer","title":"Executions"},"executions_limit":{"type":"integer","title":"Executions Limit"},"unused_executions":{"type":"integer","title":"Unused Executions"},"price_per_execution":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Price Per Execution"},"unused_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Unused Amount"},"commission_percent":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Commission Percent"},"commission_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Commission Amount"},"refund_amount":{"type":"string","pattern":"^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$","title":"Refund Amount"}},"type":"object","required":["task_id","state","accepted_reports","email_sent","executions","executions_limit","unused_executions","price_per_execution","unused_amount","commission_percent","commission_amount","refund_amount"],"title":"TaskBlockResponse"},"TaskCheckRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Task Id"},"state":{"type":"string","enum":["active","declined"],"title":"State"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["access_token","task_id","state"],"title":"TaskCheckRequest"},"TaskCheckResponse":{"properties":{"task_id":{"type":"integer","title":"Task Id"},"state":{"type":"string","enum":["active","declined"],"title":"State"}},"type":"object","required":["task_id","state"],"title":"TaskCheckResponse"},"TaskResponse":{"properties":{"id":{"type":"integer","title":"Id"},"user_id":{"type":"integer","title":"User Id"},"task_type_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Task Type Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"verification_description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Description"},"keyword":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Keyword"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"link":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link"},"control_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Control Type"},"need_screenshot":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Need Screenshot"},"is_copyable":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Is Copyable"},"price_per_execution":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Price Per Execution"},"executions":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executions"},"executions_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Executions Limit"},"hour_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Hour Limit"},"day_limit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Day Limit"},"reservation_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reservation Time"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"type":"object","required":["id","user_id"],"title":"TaskResponse"},"TaskTypeResponse":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"task_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Name"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Icon"},"need_link":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Need Link"},"minimal_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimal Price"},"recommended_price":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Recommended Price"},"visual_index":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Visual Index"}},"type":"object","required":["id"],"title":"TaskTypeResponse"},"TokenResponse":{"properties":{"access_token":{"type":"string","title":"Access Token"},"token_type":{"type":"string","title":"Token Type"}},"type":"object","required":["access_token","token_type"],"title":"TokenResponse"},"TopUpTaskRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"task_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Task Id"},"executions":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Executions"}},"type":"object","required":["access_token","task_id","executions"],"title":"TopUpTaskRequest"},"TopUpTaskResponse":{"properties":{"task_id":{"type":"integer","title":"Task Id"},"executions_limit":{"type":"integer","title":"Executions Limit"}},"type":"object","required":["task_id","executions_limit"],"title":"TopUpTaskResponse"},"TryBitWebhookRequest":{"properties":{"status":{"type":"string","title":"Status"},"invoice_id":{"type":"string","minLength":1,"title":"Invoice Id"},"order_id":{"type":"string","minLength":1,"title":"Order Id"},"token":{"type":"string","minLength":1,"title":"Token"}},"type":"object","required":["status","invoice_id","order_id","token"],"title":"TryBitWebhookRequest"},"UpdateReportRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"report_id":{"type":"integer","maximum":2147483647.0,"exclusiveMinimum":0.0,"title":"Report Id"},"status":{"type":"string","enum":["accepted","declined"],"title":"Status"},"reason":{"anyOf":[{"type":"string","maxLength":512},{"type":"null"}],"title":"Reason"}},"type":"object","required":["access_token","report_id","status"],"title":"UpdateReportRequest"},"UpdateReportResponse":{"properties":{"report_id":{"type":"integer","title":"Report Id"},"status":{"type":"string","enum":["accepted","declined"],"title":"Status"}},"type":"object","required":["report_id","status"],"title":"UpdateReportResponse"},"UpdateUserRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"name":{"type":"string","title":"Name"}},"type":"object","required":["access_token","name"],"title":"UpdateUserRequest"},"UserResponse":{"properties":{"id":{"type":"integer","title":"Id"},"email":{"type":"string","title":"Email"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"role":{"type":"string","title":"Role"},"created_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Created At"}},"type":"object","required":["id","email","role"],"title":"UserResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VerifyOtpRequest":{"properties":{"email":{"type":"string","format":"email","title":"Email"},"otp":{"type":"string","title":"Otp"}},"type":"object","required":["email","otp"],"title":"VerifyOtpRequest"},"web__modules__admin__schemas__GetTasksRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"page":{"type":"integer","minimum":1.0,"title":"Page"},"status":{"type":"string","enum":["all","active","moderation","declined","stopping","stopped"],"title":"Status"}},"type":"object","required":["access_token","page","status"],"title":"GetTasksRequest"},"web__modules__admin__schemas__GetTasksResponse":{"properties":{"tasks":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Tasks"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["tasks","page","limit","total"],"title":"GetTasksResponse"},"web__modules__tasks__schemas__GetTasksRequest":{"properties":{"access_token":{"type":"string","title":"Access Token"},"page":{"type":"integer","maximum":2147483647.0,"minimum":1.0,"title":"Page","default":1},"limit":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Limit","default":20},"status":{"type":"string","enum":["all","active","moderation","declined","stopping","stopped"],"title":"Status","default":"all"}},"type":"object","required":["access_token"],"title":"GetTasksRequest"},"web__modules__tasks__schemas__GetTasksResponse":{"properties":{"tasks":{"items":{"$ref":"#/components/schemas/TaskResponse"},"type":"array","title":"Tasks"},"page":{"type":"integer","title":"Page"},"limit":{"type":"integer","title":"Limit"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["tasks","page","limit","total"],"title":"GetTasksResponse"}}},"servers":[{"url":"/web"}]}