{"openapi":"3.1.0","info":{"title":"Chat Bot API","description":"API for Chat Bot","version":"1.0.1"},"paths":{"/api/chat":{"post":{"tags":["ChatBot"],"summary":"Send text to chat bot","description":"Send a question to the bot and get an answer and suggested game list.This endpoint will take the 'question' from the request body and process it to return a result.","operationId":"chat_bot_api_chat_post","parameters":[{"name":"x-device-id","in":"header","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{32}$","title":"X-Device-Id"}},{"name":"x-session-id","in":"header","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9]{32}$","title":"X-Session-Id"}},{"name":"content-type","in":"header","required":true,"schema":{"type":"string","pattern":"^multipart/form-data.*$","title":"Content-Type"},"example":"multipart/form-data"},{"name":"x-correlation-id","in":"header","required":false,"schema":{"anyOf":[{"type":"string","pattern":"^[a-zA-Z0-9-]{36}$"},{"type":"null"}],"title":"X-Correlation-Id"}},{"name":"x-brand-id","in":"header","required":false,"schema":{"type":"string","minLength":1,"default":"13","title":"X-Brand-Id"}},{"name":"x-operator-id","in":"header","required":false,"schema":{"type":"string","minLength":1,"default":"betonline","title":"X-Operator-Id"}},{"name":"x-context","in":"header","required":false,"schema":{"type":"string","title":"X-Context"}},{"name":"x-country","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Country"}},{"name":"x-country-group","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Country-Group"}},{"name":"x-device-fingerprint","in":"header","required":true,"schema":{"type":"string","title":"X-Device-Fingerprint"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_chat_bot_api_chat_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Chat"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/withdrawal/payment-url":{"post":{"summary":"Withdrawal Payment Url","description":"Generate a withdrawal payment URL for a given amount.","operationId":"withdrawal_payment_url_api_withdrawal_payment_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalPaymentUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalPaymentUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/version":{"get":{"summary":"Get Version","description":"Get application version.","operationId":"get_version_api_version_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/conversation_history":{"get":{"summary":"Get Conversation History","description":"Get conversation history by time period.\n\nArgs:\n----\n    date_from (Annotated[datetime, Query): date from\n    date_to (Annotated[datetime, Query): date to\n    x_session_id (Annotated[str, Query): Session ID\n    x_device_id (Annotated[str, Query): Device ID\n    x_operator_id (Annotated[str, Query): Operator ID\n    x_brand_id (Annotated[str, Query): Brand ID\n\nReturns:\n-------\n    ConversationResponse | JSONResponse:","operationId":"get_conversation_history_api_conversation_history_get","parameters":[{"name":"date_from","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date From"}},{"name":"date_to","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Date To"}},{"name":"x_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Session Id"}},{"name":"x_device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Device Id"}},{"name":"x_operator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Operator Id"}},{"name":"x_brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Brand Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/faqs":{"post":{"summary":"Create Faqs","description":"Create FAQs from file.","operationId":"create_faqs_api_faqs_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_create_faqs_api_faqs_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/set-faq-customer-support":{"post":{"summary":"Set Faq Customer Support","description":"Set customer support data to FAQ collection.","operationId":"set_faq_customer_support_set_faq_customer_support_post","parameters":[{"name":"point_id","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9-]{36}$","title":"Point Id"}},{"name":"customer_support","in":"query","required":true,"schema":{"type":"boolean","title":"Customer Support"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/rate-message-status":{"post":{"summary":"Process Rate Status For Message","description":"Process rate status to the chat message.","operationId":"process_rate_status_for_message_api_rate_message_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateStatus"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/back-office/report/conversation/customer-support-interaction":{"get":{"summary":"Get Customer Support Interaction Report","description":"Get daily customer support interaction report.","operationId":"get_customer_support_interaction_report_api_v1_back_office_report_conversation_customer_support_interaction_get","parameters":[{"name":"date_from","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date From"}},{"name":"date_to","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date To"}},{"name":"x_device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Device Id"}},{"name":"x_brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Brand Id"}},{"name":"x_operator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Operator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/back-office/report/conversation/tokens-usage":{"get":{"summary":"Get Daily Token Report For Period","description":"Get daily token report for a period.\n\nArgs:\n----\n    date_from (datetime): date from\n    date_to (datetime): date to\n    x_session_id (Optional[str]): session ID\n    x_device_id (Optional[str]): device ID\n    x_brand_id (Optional[str]): brand ID\n    x_operator_id (Optional[str]): operator ID\n\nReturns:\n-------\n    JSONResponse | Response:","operationId":"get_daily_token_report_for_period_api_v1_back_office_report_conversation_tokens_usage_get","parameters":[{"name":"date_from","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date From"}},{"name":"date_to","in":"query","required":true,"schema":{"type":"string","format":"date","title":"Date To"}},{"name":"x_session_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Session Id"}},{"name":"x_device_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Device Id"}},{"name":"x_brand_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Brand Id"}},{"name":"x_operator_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X Operator Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/collections/":{"get":{"tags":["Qdrant"],"summary":"Get all collections","description":"Retrieve a list of all collections from the database.","operationId":"collections_qdrant_collections__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}},"/qdrant/collection/{name}/":{"get":{"tags":["Qdrant"],"summary":"Get collection by name","description":"Retrieve a collection from the database.","operationId":"collection_qdrant_collection__name___get","security":[{"HTTPBasic":[]}],"parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/create-collection/":{"post":{"tags":["Qdrant"],"summary":"Create collection","description":"Create a collection in the database.","operationId":"create_collections_qdrant_create_collection__post","security":[{"HTTPBasic":[]}],"parameters":[{"name":"collection_name","in":"query","required":true,"schema":{"type":"string","title":"Collection Name"}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","default":1536,"title":"Size"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/set-data-to-collection/":{"post":{"tags":["Qdrant"],"summary":"Set data to collection","description":"Set data to collection in the database.","operationId":"set_data_to_collection_qdrant_set_data_to_collection__post","security":[{"HTTPBasic":[]}],"parameters":[{"name":"collection_name","in":"query","required":true,"schema":{"type":"string","title":"Collection Name"}},{"name":"separator","in":"query","required":true,"schema":{"type":"string","title":"Separator"}},{"name":"chunk_size","in":"query","required":true,"schema":{"type":"integer","title":"Chunk Size"}},{"name":"chunk_overlap","in":"query","required":true,"schema":{"type":"integer","title":"Chunk Overlap"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_set_data_to_collection_qdrant_set_data_to_collection__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/set-faq-customer-support":{"post":{"tags":["Qdrant"],"summary":"Set customer support data to faq collection","description":"Set customer support data flag to faq collection.","operationId":"set_faq_customer_support_qdrant_set_faq_customer_support_post","parameters":[{"name":"point_id","in":"query","required":true,"schema":{"type":"string","pattern":"^[a-zA-Z0-9-]{36}$","title":"Point Id"}},{"name":"customer_support","in":"query","required":true,"schema":{"type":"boolean","title":"Customer Support"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/topic-classification/set-data-to-collection/":{"post":{"tags":["Qdrant"],"summary":"Set data to topic classification collection","description":"It is used to dynamically replace data within a collection, test different variations, and improve use cases.","operationId":"set_topic_classification_data_to_collection_qdrant_topic_classification_set_data_to_collection__post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_set_topic_classification_data_to_collection_qdrant_topic_classification_set_data_to_collection__post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/qdrant/topic-classification/get-data-from-collection/":{"get":{"tags":["Qdrant"],"summary":"Get data from topic classification collection","description":"Returns the current data from the topic classification collection.","operationId":"get_data_from_topic_classification_collection_qdrant_topic_classification_get_data_from_collection__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/qdrant/delete-collection/{collection_name}/":{"delete":{"tags":["Qdrant"],"summary":"Delete collection","description":"Delete a collection from the database.","operationId":"delete_collection_qdrant_delete_collection__collection_name___delete","security":[{"HTTPBasic":[]}],"parameters":[{"name":"collection_name","in":"path","required":true,"schema":{"type":"string","title":"Collection Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/conversation_history/redis/":{"get":{"tags":["Conversation history"],"summary":"Load Conversation From Redis Get","description":"Load conversation from redis.","operationId":"load_conversation_from_redis_get_conversation_history_redis__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}},"/conversation_history/file/":{"get":{"tags":["Conversation history"],"summary":"Load Conversation From File Get","description":"Load conversation from file.","operationId":"load_conversation_from_file_get_conversation_history_file__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBasic":[]}]}}},"components":{"schemas":{"BalanceAndTransactionItems":{"properties":{"balanceData":{"anyOf":[{"$ref":"#/components/schemas/BalanceData"},{"type":"null"}]},"withdrawalTransactions":{"anyOf":[{"items":{"$ref":"#/components/schemas/TransactionHistoryWithdrawalItem"},"type":"array"},{"type":"null"}],"title":"Withdrawaltransactions"},"depositTransactions":{"anyOf":[{"items":{"$ref":"#/components/schemas/TransactionHistoryDepositItem"},"type":"array"},{"type":"null"}],"title":"Deposittransactions"},"gamingTransactions":{"anyOf":[{"items":{"$ref":"#/components/schemas/TransactionHistoryGamingItem"},"type":"array"},{"type":"null"}],"title":"Gamingtransactions"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"BalanceAndTransactionItems"},"BalanceData":{"properties":{"balance":{"type":"string","title":"Balance","description":"Current wallet balance"},"playable_balance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Playable Balance","description":"Amount available for betting"},"withdrawable_balance":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Withdrawable Balance","description":"Amount available for withdrawal"},"wagering_requirement":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wagering Requirement","description":"Amount that must be wagered before funds become withdrawable"},"free_bet_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Free Bet Count","description":"Number of free bets available"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency code (ISO 4217)"}},"type":"object","required":["balance"],"title":"BalanceData"},"BaseFAQ":{"properties":{"question":{"type":"string","title":"Question","default":"question?"},"answer":{"type":"string","title":"Answer","default":"answer"}},"type":"object","title":"BaseFAQ"},"BetHistoryItems":{"properties":{"openBets":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Openbets"},"settledBets":{"anyOf":[{"items":{"type":"object"},"type":"array"},{"type":"null"}],"title":"Settledbets"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"BetHistoryItems"},"Body_chat_bot_api_chat_post":{"properties":{"audioFile":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Audiofile","description":"A WAV file with voice recorded. For correct interaction with the server, either this field or the field with the question must be filled in."},"question":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Question","description":"A JSON string containing the question. For correct interaction with the server, either this field or the field with the audio file must be filled in.","examples":["{\"message\": \"\"}"]}},"type":"object","title":"Body_chat_bot_api_chat_post"},"Body_create_faqs_api_faqs_post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"A json FAQs data file"}},"type":"object","required":["file"],"title":"Body_create_faqs_api_faqs_post"},"Body_set_data_to_collection_qdrant_set_data_to_collection__post":{"properties":{"file":{"type":"string","format":"binary","title":"File"}},"type":"object","required":["file"],"title":"Body_set_data_to_collection_qdrant_set_data_to_collection__post"},"Body_set_topic_classification_data_to_collection_qdrant_topic_classification_set_data_to_collection__post":{"properties":{"file":{"type":"string","format":"binary","title":"File","description":"A json FAQs data file"}},"type":"object","required":["file"],"title":"Body_set_topic_classification_data_to_collection_qdrant_topic_classification_set_data_to_collection__post"},"Chat":{"properties":{"message":{"type":"string","title":"Message","default":""},"topic":{"type":"string","title":"Topic","default":"unrecognized"},"collections":{"anyOf":[{"$ref":"#/components/schemas/ChatBotCollections"},{"type":"null"}]},"userIsAuthenticatedForTopicUsage":{"type":"boolean","title":"Userisauthenticatedfortopicusage","default":true}},"type":"object","title":"Chat"},"ChatBotCollections":{"properties":{"faqs":{"anyOf":[{"$ref":"#/components/schemas/FAQItems"},{"type":"null"}]},"games":{"anyOf":[{"items":{"$ref":"#/components/schemas/GameItems"},"type":"array"},{"type":"null"}],"title":"Games"},"sportSearch":{"anyOf":[{"$ref":"#/components/schemas/SportItems"},{"type":"null"}]},"customerSupport":{"anyOf":[{"$ref":"#/components/schemas/CustomerSupport"},{"type":"null"}]},"common":{"anyOf":[{"$ref":"#/components/schemas/Common"},{"type":"null"}]},"recommendSportBets":{"anyOf":[{"$ref":"#/components/schemas/RecommendSportBets"},{"type":"null"}]},"sportBetsRecommendations":{"anyOf":[{"$ref":"#/components/schemas/RecommendationsSportItems"},{"type":"null"}]},"betHistory":{"anyOf":[{"$ref":"#/components/schemas/BetHistoryItems"},{"type":"null"}]},"balanceAndTransaction":{"anyOf":[{"$ref":"#/components/schemas/BalanceAndTransactionItems"},{"type":"null"}]},"marketSearch":{"anyOf":[{"$ref":"#/components/schemas/SportItems"},{"type":"null"}]},"deposit":{"anyOf":[{"$ref":"#/components/schemas/DepositItems"},{"type":"null"}]},"withdrawal":{"anyOf":[{"$ref":"#/components/schemas/WithdrawalItems"},{"type":"null"}]}},"type":"object","title":"ChatBotCollections"},"ClarificationMessage":{"properties":{"options":{"anyOf":[{"items":{"$ref":"#/components/schemas/ClarificationOptions"},"type":"array"},{"type":"null"}],"title":"Options"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","examples":["Please select a category."]},"clarificationType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Clarificationtype","examples":["category"]}},"type":"object","title":"ClarificationMessage"},"ClarificationOptions":{"properties":{"answer":{"type":"string","title":"Answer"},"summary":{"type":"string","title":"Summary"}},"type":"object","required":["answer","summary"],"title":"ClarificationOptions"},"Common":{"properties":{"message":{"type":"string","title":"Message"}},"type":"object","required":["message"],"title":"Common"},"CustomerSupport":{"properties":{"message":{"type":"string","title":"Message"},"link":{"type":"string","title":"Link","default":""}},"type":"object","required":["message"],"title":"CustomerSupport"},"DepositItems":{"properties":{"paymentUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paymenturl"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"DepositItems"},"FAQItems":{"properties":{"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/BaseFAQ"},"type":"array"},{"type":"null"}],"title":"Items"},"clarificationMessage":{"anyOf":[{"$ref":"#/components/schemas/ClarificationMessage"},{"type":"null"}]},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message","examples":["Here's some information related to your question. Take a look!"]}},"type":"object","title":"FAQItems"},"Game":{"properties":{"gameId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gameid"},"gameProvider":{"type":"string","title":"Gameprovider"},"gameName":{"type":"string","title":"Gamename"},"gameType":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Gametype"},"launchUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Launchurl"},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Imageurl"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"type":"object","required":["gameId","gameProvider","gameName","gameType","launchUrl","imageUrl"],"title":"Game"},"GameItems":{"properties":{"intent":{"type":"string","title":"Intent","default":"game intent"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/Game"},"type":"array"},{"type":"null"}],"title":"Items"}},"type":"object","title":"GameItems"},"GroupedMatchedEvents":{"properties":{"typeName":{"type":"string","title":"Typename"},"className":{"type":"string","title":"Classname"},"categoryName":{"type":"string","title":"Categoryname"},"isInPlay":{"type":"boolean","title":"Isinplay"},"events":{"items":{"$ref":"#/components/schemas/MatchedEvents"},"type":"array","title":"Events"}},"type":"object","required":["typeName","className","categoryName","isInPlay"],"title":"GroupedMatchedEvents"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Market":{"properties":{"marketName":{"type":"string","title":"Marketname","examples":["Outright"]},"marketKey":{"type":"string","title":"Marketkey","examples":["527760570"]},"selections":{"items":{"$ref":"#/components/schemas/Selection"},"type":"array","title":"Selections"}},"type":"object","required":["marketName","marketKey","selections"],"title":"Market"},"MatchedEvents":{"properties":{"eventKey":{"type":"integer","title":"Eventkey","examples":[22804]},"eventName":{"type":"string","title":"Eventname","examples":["Premier League 2021/22"]},"externalEventKey":{"type":"string","title":"Externaleventkey","examples":["MTCH","TNMT"]},"eventDateTime":{"type":"string","title":"Eventdatetime","examples":["2022-12-18 13:00:00+00:00"]},"typeName":{"type":"string","title":"Typename","examples":["Premier League"]},"className":{"type":"string","title":"Classname","examples":["English"]},"categoryName":{"type":"string","title":"Categoryname","examples":["Football"]},"isInPlay":{"type":"boolean","title":"Isinplay","examples":[1]},"markets":{"items":{"$ref":"#/components/schemas/Market"},"type":"array","title":"Markets"}},"type":"object","required":["eventKey","eventName","externalEventKey","eventDateTime","typeName","className","categoryName","isInPlay","markets"],"title":"MatchedEvents"},"RateStatus":{"properties":{"correlation_id":{"type":"string","title":"Correlation Id"},"dislike":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Dislike"}},"type":"object","required":["correlation_id","dislike"],"title":"RateStatus"},"RecommendSportBets":{"properties":{"items":{"items":{"$ref":"#/components/schemas/RecommendedSelection"},"type":"array","title":"Items"},"message":{"type":"string","title":"Message"}},"type":"object","required":["items","message"],"title":"RecommendSportBets"},"RecommendationsSportItems":{"properties":{"matchedEvents":{"anyOf":[{"items":{"$ref":"#/components/schemas/MatchedEvents"},"type":"array"},{"type":"null"}],"title":"Matchedevents"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","title":"RecommendationsSportItems"},"RecommendedSelection":{"properties":{"selectionKey":{"type":"integer","title":"Selectionkey","examples":[1318068704]},"selectionName":{"type":"string","title":"Selectionname","examples":["Arsenal"]},"denPrice":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Denprice","examples":[1]},"numPrice":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Numprice","examples":[50]},"selectionPriceType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selectionpricetype","examples":["LP"]},"decPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Decprice","examples":[51.0]},"score":{"type":"number","title":"Score","examples":[0.15245860815048218]},"marketName":{"type":"string","title":"Marketname","examples":["Outright"]},"marketKey":{"type":"string","title":"Marketkey","examples":["527760570"]},"eventKey":{"type":"string","title":"Eventkey","examples":["228046611"]},"eventName":{"type":"string","title":"Eventname","examples":["Premier League 2021/22"]},"eventDateTime":{"type":"string","title":"Eventdatetime","examples":["2022-12-18 14:00:00+00:00"]},"typeName":{"type":"string","title":"Typename","examples":["Premier League"]},"className":{"type":"string","title":"Classname","examples":["English"]},"categoryName":{"type":"string","title":"Categoryname","examples":["Football"]}},"type":"object","required":["selectionKey","selectionName","denPrice","numPrice","selectionPriceType","decPrice","score","marketName","marketKey","eventKey","eventName","eventDateTime","typeName","className","categoryName"],"title":"RecommendedSelection"},"Selection":{"properties":{"selectionKey":{"type":"integer","title":"Selectionkey","examples":[1318068704]},"selectionName":{"type":"string","title":"Selectionname","examples":["Arsenal"]},"denPrice":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Denprice","examples":[1]},"numPrice":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Numprice","examples":[50]},"selectionPriceType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Selectionpricetype","examples":["LP"]},"decPrice":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Decprice","examples":[51.0]},"isInPlay":{"type":"integer","title":"Isinplay","examples":[1]},"score":{"type":"number","title":"Score","examples":[0.15245860815048218]}},"type":"object","required":["selectionKey","selectionName","denPrice","numPrice","selectionPriceType","decPrice","isInPlay","score"],"title":"Selection"},"SportItems":{"properties":{"clarificationMessage":{"anyOf":[{"$ref":"#/components/schemas/ClarificationMessage"},{"type":"null"}]},"matchedEvents":{"anyOf":[{"items":{"$ref":"#/components/schemas/GroupedMatchedEvents"},"type":"array"},{"type":"null"}],"title":"Matchedevents"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"translations":{"anyOf":[{"$ref":"#/components/schemas/Translations"},{"type":"null"}]}},"type":"object","title":"SportItems"},"TransactionHistoryDepositItem":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Transaction ID"},"amount":{"type":"string","title":"Amount","description":"Transaction amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency code"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"Transaction type or sub-type (e.g. deposit, wager, result)"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Transaction timestamp"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Last update timestamp"},"finalizedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finalizedat","description":"Finalization timestamp"},"finalized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Finalized","description":"Whether transaction is finalized"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Transaction status (e.g. assigned)"},"balanceBefore":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balancebefore","description":"Balance before transaction"},"balanceAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balanceafter","description":"Balance after transaction"}},"additionalProperties":true,"type":"object","required":["amount"],"title":"TransactionHistoryDepositItem","description":"A single deposit transaction from /transactions/deposit/history.\n\nInherits all fields from TransactionHistoryItem."},"TransactionHistoryGamingItem":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Transaction ID"},"amount":{"type":"string","title":"Amount","description":"Transaction amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency code"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"Transaction type or sub-type (e.g. deposit, wager, result)"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Transaction timestamp"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Last update timestamp"},"finalizedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finalizedat","description":"Finalization timestamp"},"finalized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Finalized","description":"Whether transaction is finalized"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Transaction status (e.g. assigned)"},"balanceBefore":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balancebefore","description":"Balance before transaction"},"balanceAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balanceafter","description":"Balance after transaction"},"gameId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gameid","description":"Game ID (gaming transactions)"},"gameName":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gamename","description":"Game name (gaming transactions)"}},"additionalProperties":true,"type":"object","required":["amount"],"title":"TransactionHistoryGamingItem","description":"A single gaming transaction from /transactions/gaming/history.\n\nIn addition to the base fields, includes:\n  - gameId: Game ID (for gaming transactions)\n  - gameName: Game name (for gaming transactions)"},"TransactionHistoryWithdrawalItem":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id","description":"Transaction ID"},"amount":{"type":"string","title":"Amount","description":"Transaction amount"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency","description":"Currency code"},"type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Type","description":"Transaction type or sub-type (e.g. deposit, wager, result)"},"createdAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Createdat","description":"Transaction timestamp"},"updatedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Updatedat","description":"Last update timestamp"},"finalizedAt":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finalizedat","description":"Finalization timestamp"},"finalized":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Finalized","description":"Whether transaction is finalized"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status","description":"Transaction status (e.g. assigned)"},"balanceBefore":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balancebefore","description":"Balance before transaction"},"balanceAfter":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Balanceafter","description":"Balance after transaction"}},"additionalProperties":true,"type":"object","required":["amount"],"title":"TransactionHistoryWithdrawalItem","description":"A single withdrawal transaction from /transactions/withdrawal/history.\n\nInherits all fields from TransactionHistoryItem."},"Translations":{"properties":{"nextAction":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nextaction"},"detailsMessage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Detailsmessage"}},"type":"object","title":"Translations"},"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"},"WithdrawalItems":{"properties":{"success":{"type":"boolean","title":"Success","default":false},"statusReason":{"anyOf":[{"$ref":"#/components/schemas/WithdrawalStatus"},{"type":"null"}]},"paymentUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Paymenturl"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"},"amount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Amount"},"withdrawableBalance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Withdrawablebalance"},"totalBalance":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Totalbalance"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"expiry":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Expiry"},"minimalAmount":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimalamount"},"wageringRequirement":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Wageringrequirement"},"currentTotal":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Currenttotal"},"limit24H":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Limit24H"}},"type":"object","title":"WithdrawalItems"},"WithdrawalPaymentUrlRequest":{"properties":{"amount":{"type":"number","exclusiveMinimum":0.0,"title":"Amount"}},"type":"object","required":["amount"],"title":"WithdrawalPaymentUrlRequest"},"WithdrawalPaymentUrlResponse":{"properties":{"paymentUrl":{"type":"string","title":"Paymenturl"}},"type":"object","required":["paymentUrl"],"title":"WithdrawalPaymentUrlResponse"},"WithdrawalStatus":{"type":"string","enum":["success","limits_fetch_failed","zero_balance","amount_exceeds_balance","payment_url_fetch_failed","pending_input","non_positive_amount","self_exclusion","play_break","withdrawal_blocked","insufficient_withdrawable_balance","limit_exceeded","amount_below_minimum","not_found"],"title":"WithdrawalStatus"}},"securitySchemes":{"HTTPBasic":{"type":"http","scheme":"basic"}}}}