{"openapi":"3.0.0","paths":{"/debug/notification/send":{"post":{"operationId":"Debug_notification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendNotificationRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Debug API"]}},"/debug/gateway/emit":{"post":{"operationId":"Debug_emitMessage","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMessage"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Debug API"]}},"/debug/gateway/send":{"post":{"operationId":"Debug_sendMessage","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventMessage"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Debug API"]}},"/debug/me/give-admin":{"get":{"operationId":"Debug_giveAdmin","parameters":[{"name":"debug_token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"Give me SuperAdmin","tags":["Debug API"]}},"/debug/me/give-money":{"get":{"operationId":"Debug_hesoyam","parameters":[{"name":"amount","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"Give me money","tags":["Debug API"]}},"/debug/user/create":{"post":{"operationId":"Debug_createUser","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTestUserRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"Create test user","tags":["Debug API"]}},"/debug/user/action":{"post":{"operationId":"Debug_executeUserAction","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteTestUserActionRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"Execute test user action","tags":["Debug API"]}},"/debug/auth/login/{username}":{"post":{"operationId":"Debug_login","parameters":[{"name":"username","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthSessionTokens"}}}}},"security":[{"bearer":[]}],"summary":"Register or login user","tags":["Debug API"]}},"/debug/gr8/auth":{"post":{"operationId":"Debug_grAuth","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gr8AuthDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"GR8 S2S login","tags":["Debug API"]},"get":{"operationId":"Debug_grMocAuth","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"GR8 S2S login","tags":["Debug API"]}},"/debug/gr8/get-bet":{"post":{"operationId":"Debug_getBet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"GR8 S2S login","tags":["Debug API"]}},"/debug/deposit/{userId}":{"post":{"operationId":"Debug_createDeposit","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NowpaymentWebhookPaymentDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Create test deposit","tags":["Debug API"]}},"/debug/deposit/emulate-success/{userId}":{"post":{"operationId":"Debug_emulateSuccessDeposit","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Emulate success deposit","tags":["Debug API"]}},"/send-message":{"post":{"operationId":"FastTrackDebug_sendMessage","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageDto"}}}},"responses":{"201":{"description":"The message has been successfully sent and processed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageResponseDto"}}}}},"summary":"Send a message to RabbitMQ using request-response pattern","tags":["FastTrackDebug"]}},"/emit-event":{"post":{"operationId":"FastTrackDebug_emitEvent","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventDto"}}}},"responses":{"201":{"description":"The event has been successfully emitted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponseDto"}}}}},"summary":"Emit an event to RabbitMQ using publish-subscribe pattern","tags":["FastTrackDebug"]}},"/":{"get":{"operationId":"FastTrackDebug_getQueueInfo","parameters":[{"name":"queueName","required":false,"in":"query","description":"Name of the queue to inspect","schema":{"type":"string"}}],"responses":{"200":{"description":"Queue information retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueueInfoDto"}}}},"404":{"description":"Queue not found"}},"summary":"Get information about a queue","tags":["FastTrackDebug"]},"delete":{"operationId":"FastTrackDebug_purgeQueue","parameters":[{"name":"queueName","required":false,"in":"query","description":"Name of the queue to purge","schema":{"type":"string"}}],"responses":{"200":{"description":"Queue purged successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PurgeQueueResponseDto"}}}},"404":{"description":"Queue not found"}},"summary":"Purge all messages from a queue","tags":["FastTrackDebug"]}},"/messages":{"get":{"operationId":"FastTrackDebug_peekMessages","parameters":[{"name":"queueName","required":false,"in":"query","description":"Name of the queue to inspect","schema":{"type":"string"}},{"name":"count","required":false,"in":"query","description":"Maximum number of messages to peek","schema":{"type":"number"}}],"responses":{"200":{"description":"Messages retrieved successfully","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MessageContentDto"}}}}},"404":{"description":"Queue not found"}},"summary":"Peek at messages in a queue without consuming them","tags":["FastTrackDebug"]}},"/notifications":{"get":{"operationId":"Notification_getNotifications","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/NotificationDto"}}}}}},"security":[{"bearer":[]}],"tags":["Notifications API"]},"delete":{"operationId":"Notification_deleteNotification","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Notifications API"]}},"/notifications/aware":{"post":{"operationId":"Notification_aware","parameters":[],"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Notifications API"]}},"/accounting/balances":{"get":{"operationId":"Accounting_getBalances","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserBalanceDto"}}}}}},"security":[{"bearer":[]}],"tags":["Accounting API"]}},"/accounting/vault-balances":{"get":{"operationId":"Accounting_getVaultBalances","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserVaultBalanceDto"}}}}}},"security":[{"bearer":[]}],"tags":["Accounting API"]}},"/accounting/to-vault":{"post":{"operationId":"Accounting_toVault","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceChangeVaultAmountDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserVaultBalanceChangeDto"}}}}},"security":[{"bearer":[]}],"tags":["Accounting API"]}},"/accounting/from-vault":{"post":{"operationId":"Accounting_fromVault","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BalanceChangeVaultAmountDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserVaultBalanceChangeDto"}}}}},"security":[{"bearer":[]}],"tags":["Accounting API"]}},"/admin/accounting/transactions":{"post":{"operationId":"AdminAccounting_getTransactions","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyTransactionsQuery"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TransactionDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin Accounting API"]}},"/admin/accounting/usd-balance/{userId}":{"get":{"operationId":"AdminAccounting_findUsdBalance","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUsdBalanceAdminDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Returns USD balance for a user","tags":["Admin Accounting API"]}},"/admin/accounting/balances":{"get":{"operationId":"AdminAccounting_getBalances","parameters":[{"name":"userId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserBalanceDto"}}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Returns balances for a user","tags":["Admin Accounting API"]}},"/admin/accounting/vault-balances":{"get":{"operationId":"AdminAccounting_getVaultBalances","parameters":[{"name":"userId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserVaultBalanceDto"}}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Returns vault balances for a user","tags":["Admin Accounting API"]}},"/currency":{"get":{"operationId":"Currency_findMany","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CurrencyDto"}}}}}},"tags":["Currency"]}},"/config/{code}":{"get":{"operationId":"SiteConfig_getSiteConfig","parameters":[{"name":"code","required":true,"in":"path","description":"USER, AFFILIATES, WITHDRAWALS","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"(Anonymous) Get site config by code","tags":["Core API"]}},"/admin/config/{code}":{"patch":{"operationId":"AdminSiteConfig_updateSiteConfig","parameters":[{"name":"code","required":true,"in":"path","description":"COMMON, BATTLES, AFFILIATES, WITHDRAWALS","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Object"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin) Update site config by code","tags":["Admin Core API"]}},"/bets":{"get":{"operationId":"Bet_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","USD_AMOUNT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":true,"in":"query","schema":{"default":"SETTLED","enum":["CREATED","SETTLED","ERROR","ROLLBACK"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BetPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Bets API"]}},"/bets/house-games/info/{betId}":{"get":{"operationId":"Bet_getBetInfo","parameters":[{"name":"betId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HouseGameBetDetailsResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Bets API"]}},"/bets/slots/info/{betId}":{"get":{"operationId":"Bet_getSlotBetInfo","parameters":[{"name":"betId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SlotGameBetDetailsResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Bets API"]}},"/admin/bets":{"post":{"operationId":"AdminBet_findMany","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyBetsAdminQuery"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission) View user bets","tags":["Admin Bets API"]}},"/country":{"get":{"operationId":"Country_getMany","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CountryDto"}},"total":{"type":"number"}}}]}}}}},"tags":["Country API"]}},"/admin/country":{"get":{"operationId":"AdminCountry_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["name","code","dialCode","isBlocked"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"default":"ALL","enum":["ALL","BLOCKED","ALLOWED"],"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminCountryDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Get country restrictions list","tags":["Admin Country API"]}},"/admin/country/stats":{"get":{"operationId":"AdminCountry_getStats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCountryStatsDto"}}}}},"security":[{"bearer":[]}],"summary":"Get country restrictions stats","tags":["Admin Country API"]}},"/admin/country/{code}":{"patch":{"operationId":"AdminCountry_updateCountryBlockStatus","parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCountryRestrictionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCountryDto"}}}}},"security":[{"bearer":[]}],"summary":"Update country restriction status","tags":["Admin Country API"]}},"/geo":{"get":{"operationId":"Geo_check","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoCheckDto"}}}}},"tags":["GEO Restrictions API"]}},"/admin/bet-queue/retry":{"post":{"operationId":"AdminBetQueue_retry","parameters":[],"responses":{"201":{"description":""}},"tags":["AdminBetQueue"]}},"/user-limits/self-exclusion":{"post":{"operationId":"UsersLimits_createSelfExclusion","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetSelfExcludeDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfExcludeDto"}}}}},"security":[{"bearer":[]}],"summary":"Create self-exclusion","tags":["User Limits API"]},"get":{"operationId":"UsersLimits_getSelfExclusionStatus","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfExcludeDto"}}}}},"security":[{"bearer":[]}],"summary":"get self-exclusion","tags":["User Limits API"]}},"/admin/user-limits/user-exclusion":{"post":{"operationId":"AdminSelfExclude_createUserExclusion","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetAdminUserExcludeDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserSelfExclude"}}}}},"summary":"Create admin user-self-exclusion","tags":["Admin User Limits API"]},"delete":{"operationId":"AdminSelfExclude_deleteUserExclusion","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RmAdminUserExcludeDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserSelfExclude"}}}}},"summary":"Delete admin user-self-exclusion","tags":["Admin User Limits API"]}},"/admin/user-limits/user-exclusion/{id}":{"get":{"operationId":"AdminSelfExclude_getUserExclusionStatus","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Get admin active self-exclusion","tags":["Admin User Limits API"]}},"/admin/user-limits/gambling-limits":{"post":{"operationId":"AdminSelfExclude_setGamblingLimits","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetAdminUserLimitDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserGamblingLimits"}}}}},"summary":"Set admin gambling limits","tags":["Admin User Limits API"]}},"/admin/user-limits/gambling-limits/{id}":{"get":{"operationId":"AdminSelfExclude_getGamblingLimits","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"summary":"Get admin gambling limits","tags":["Admin User Limits API"]}},"/admin/casino/games/hydrate":{"post":{"description":"Hydrates is executed automatically every 12 hours","operationId":"GamesAdmin_hydrate","parameters":[],"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Obsolete) Fetch slot games from CDN. Only adds new games. Existing will be skipped","tags":["Admin Casino API"]}},"/admin/casino/games/main":{"post":{"description":"Each slug should be unique and existing.","operationId":"GamesAdmin_updateMainGameGrid","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMainGameGridDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Update one category on main page. Up to 20 games per category","tags":["Admin Casino API"]}},"/admin/casino/games/providers":{"get":{"operationId":"GamesAdmin_findManyProviders","parameters":[{"name":"sortOrder","required":true,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"default":"createdAt","enum":["name","createdAt"],"type":"string"}},{"name":"enabled","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GameProviderDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/providers/{slug}":{"get":{"operationId":"GamesAdmin_findUniqueProvider","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameProviderDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/providers/{slug}/images":{"post":{"operationId":"GamesAdmin_updateProviderImage","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"file"}}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameProviderDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/commission":{"put":{"operationId":"GamesAdmin_createProviderGameGgrCommission","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveProviderGameGgrCommissionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GgrCommissionRuleDto"}}}}},"security":[{"bearer":[]}],"summary":"Create ggr commission rule","tags":["Admin Casino API"]},"patch":{"operationId":"GamesAdmin_updateProviderGameGgrCommission","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveProviderGameGgrCommissionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GgrCommissionRuleDto"}}}}},"security":[{"bearer":[]}],"summary":"Update ggr commission rule. providerId, category, gameId are used instead of Id.\nIf rule not found - 404 will be returned. For creating use PUT method","tags":["Admin Casino API"]},"delete":{"operationId":"GamesAdmin_deleteProviderGameGgrCommission","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteProviderGameGgrCommissionDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]},"get":{"operationId":"GamesAdmin_findManyProviderGameGgrCommission","parameters":[{"name":"providerId","required":false,"in":"query","schema":{"type":"number"}},{"name":"category","required":false,"in":"query","schema":{"nullable":true,"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"gameId","required":false,"in":"query","schema":{"nullable":true,"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GgrCommissionRuleDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/commission/{id}":{"get":{"operationId":"GamesAdmin_findUniqueProviderGameGgrCommissionByGameId","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GgrCommissionRuleDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/all":{"get":{"operationId":"GamesAdmin_findManyGames","parameters":[{"name":"id","required":false,"in":"query","schema":{"type":"number"}},{"name":"category","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["SLOTS","HOUSE_GAME","EVO_GAME","SPORTSBOOK"],"type":"string"}},{"name":"providerId","required":false,"in":"query","schema":{"type":"number"}},{"name":"sortOrder","required":true,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"default":"addedAt","enum":["name","addedAt","default","popular","lastPlayed","random"],"type":"string"}},{"name":"enabled","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"withInfo","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"slug","required":false,"in":"query","schema":{"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/admin/casino/games/{slug}/images":{"post":{"description":"Public API will return custom image if available. Otherwise original will be used","operationId":"GamesAdmin_updateGameImage","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"file"}}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentityDto"}}}}},"security":[{"bearer":[]}],"summary":"Update game image. Will never delete original image","tags":["Admin Casino API"]}},"/admin/casino/games/house/settings":{"post":{"operationId":"GamesAdmin_updateGameSettings","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHouseGameSettingsDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentitySettingsDto"}}}}},"security":[{"bearer":[]}],"summary":"Update house game settings. Only for house games. Not set games will be ignored","tags":["Admin Casino API"]},"get":{"operationId":"GamesAdmin_getGameSettings","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentitySettingsDto"}}}}},"security":[{"bearer":[]}],"summary":"Get house game settings","tags":["Admin Casino API"]}},"/admin/casino/games/{slug}":{"post":{"description":"Public API will return custom image if available. Otherwise original will be used","operationId":"GamesAdmin_updateGameIdentity","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGameIdentityDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentityDto"}}}}},"security":[{"bearer":[]}],"summary":"Update provider image. Will never delete original image","tags":["Admin Casino API"]},"get":{"operationId":"GamesAdmin_findUniqueGame","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentityDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Casino API"]}},"/casino/games/providers":{"get":{"operationId":"Games_findManyProviders","parameters":[{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"default":"createdAt","enum":["name","createdAt"],"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GameProviderPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/main":{"get":{"description":"Other game endpoints will keep sort order by default.Enabled categories for main page: Only: HOUSE_GAME, SLOTS, ROULETTE, GAME_SHOWS","operationId":"Games_findMainGamesPublic","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentityMainPublicResponseDto"}}}}},"security":[{"bearer":[]}],"summary":"Returns games for main page. Enabled only 4 categories (see examples)","tags":["Casino API"]}},"/casino/games":{"get":{"operationId":"Games_findManyGamesPublic","parameters":[{"name":"category","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"enum":["SLOTS","HOUSE_GAME","EVO_GAME","SPORTSBOOK"],"type":"string"}},{"name":"providerId","required":false,"in":"query","schema":{"type":"number"}},{"name":"sortOrder","required":true,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"default":"default","enum":["name","addedAt","default","popular","lastPlayed","random"],"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/favorite/{slug}":{"post":{"operationId":"Games_addToFavorite","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Add a game to favorites","tags":["Casino API"]},"delete":{"operationId":"Games_removeFromFavorite","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Remove a game from favorites","tags":["Casino API"]}},"/casino/games/favorite":{"get":{"operationId":"Games_getFavorites","parameters":[{"name":"sortOrder","required":true,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"default":"CREATED_AT","enum":["CREATED_AT","NAME"],"type":"string"}},{"name":"category","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"name","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Get list of favorite games","tags":["Casino API"]}},"/casino/games/{slug}":{"get":{"operationId":"Games_findGameExtended","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameIdentityPublicDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/user/request-email-verification":{"get":{"operationId":"User_sendEmailVerificationEmail","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/verify-email":{"get":{"operationId":"User_verifyEmail","parameters":[{"name":"token","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Anonymous)","tags":["User API"]}},"/user/change-password":{"patch":{"operationId":"User_changePassword","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/forgot-password":{"post":{"operationId":"User_sentForgotPasswordEmail","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForgotPasswordRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Anonymous)","tags":["User API"]}},"/user/confirm-password-reset":{"patch":{"operationId":"User_resetUserPassword","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResetPasswordRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Anonymous)","tags":["User API"]}},"/user/generate-2fa":{"get":{"operationId":"User_generateMfaQrCode","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaAuthGenerateResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/disable-2fa":{"post":{"operationId":"User_disableMfa","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Auth) Disable 2FA","tags":["User API"]}},"/user/reset-2fa":{"post":{"operationId":"User_resetMfaWithRecoveryCode","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaAuthGenerateResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Auth) Reset 2FA with recovery code","tags":["User API"]}},"/user/enable-2fa":{"post":{"operationId":"User_enabledUserMfa","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MfaAuthVerifyRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnableUserMfaResponseDto"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/me":{"get":{"operationId":"User_me","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]},"patch":{"operationId":"User_updateMe","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicUserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/me/stats":{"get":{"operationId":"User_getMyStats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserMyStatsDto"}}}}},"security":[{"bearer":[]}],"summary":"(Auth)","tags":["User API"]}},"/user/{username}/stats":{"get":{"operationId":"User_getUserPublicStats","parameters":[{"name":"username","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPublicStatsDto"}}}}},"security":[{"bearer":[]}],"summary":"(Anonymous)","tags":["User API"]}},"/admin/user/all":{"post":{"operationId":"AdminUser_v2GetAll","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetAllUsersDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/get-all-roles-with-users":{"get":{"operationId":"AdminUser_getAllRolesWithUsers","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/admin-user":{"post":{"operationId":"AdminUser_createAdminUser","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdminUserDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/all-permissions":{"get":{"operationId":"AdminUser_getAllPermission","parameters":[],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/get-admins-with-roles":{"get":{"operationId":"AdminUser_getAllAdminsWithRoles","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/admin-audit":{"get":{"operationId":"AdminUser_getUserAdminAction","parameters":[{"name":"reqType","required":false,"in":"query","description":"Array of values: Informational, Successful, Redirection, Client_Error, Server_Error","schema":{"example":"[\"Informational\",\"Successful\", ...]","type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminLogResponseDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/stats/transactions":{"get":{"operationId":"AdminUser_getTopUsersByTransactions","parameters":[{"name":"transactionType","required":true,"in":"query","schema":{"enum":["DEPOSIT","WITHDRAW"],"type":"string"}},{"name":"dataRange","required":false,"in":"query","schema":{"enum":["HOURLY","DAILY","WEEKLY","MONTHLY"],"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"default":"amount","enum":["amount"],"type":"string"}},{"name":"sortOrder","required":false,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UsersTransactionsStatsResponseDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/{id}":{"patch":{"operationId":"AdminUser_updateUser","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserByAdminDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]},"get":{"operationId":"AdminUser_findUniqueUser","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/{id}/avatar/reset":{"patch":{"operationId":"AdminUser_replaceUserAvatarWithRandom","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}},"security":[{"bearer":[]}],"summary":"(Auth) Replace user avatar with a random one","tags":["Admin User API"]}},"/admin/user/{id}/ban":{"patch":{"operationId":"AdminUser_banUser","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBanDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Ban user","tags":["Admin User API"]}},"/admin/user/{id}/unban":{"patch":{"operationId":"AdminUser_unbanUser","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserBanDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Unban user","tags":["Admin User API"]}},"/admin/user/{id}/balance":{"put":{"operationId":"AdminUser_updateBalance","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserBalanceDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"(SuperAdmin)","tags":["Admin User API"]}},"/admin/user/{id}/roles":{"put":{"operationId":"AdminUser_updateUserRoles","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserRolesDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin)","tags":["Admin User API"]}},"/admin/user/{id}/permissions":{"put":{"operationId":"AdminUser_updateUserPermission","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserPermissionsDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user/add-single-role":{"put":{"operationId":"AdminUser_updateSingleUserRole","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSingleRoleUserDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin)","tags":["Admin User API"]}},"/admin/user/revoke-single-role":{"put":{"operationId":"AdminUser_revokeSingleRoleByTwitchUsername","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSingleRoleUserDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserDto"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin)","tags":["Admin User API"]}},"/admin/user/stats/migrate":{"post":{"operationId":"AdminUser_migrateStats","parameters":[],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin)","tags":["Admin User API"]}},"/admin/user/{id}/full/stats":{"get":{"operationId":"AdminUser_getFullStats","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAdminStatsDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission)","tags":["Admin User API"]}},"/admin/user-notes":{"post":{"operationId":"AdminNotes_createNote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateNoteRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserNoteDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin User API"]},"get":{"operationId":"AdminNotes_findManyNotes","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["createdAt","updatedAt","riskLevel"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"search","required":false,"in":"query","description":"You can search by note text, username, user ID, and user email","schema":{"maxLength":50,"type":"string"}},{"name":"userId","required":false,"in":"query","description":"User ID to filter notes by","schema":{"type":"number"}},{"name":"riskLevel","required":false,"in":"query","schema":{"enum":["NONE","LOW","MEDIUM","HIGH"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserNoteDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin User API"]},"patch":{"operationId":"AdminNotes_updateNote","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNoteRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserNoteDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin User API"]}},"/admin/user-notes/{id}":{"delete":{"operationId":"AdminNotes_deleteNote","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserNoteDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin User API"]},"get":{"operationId":"AdminNotes_findNote","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserNoteDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin User API"]}},"/admin/registration-info/{userId}":{"get":{"operationId":"AdminRegistrationInfo_findOne","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationInfoDto"}}}}},"security":[{"bearer":[]}],"summary":"(SuperAdmin) Get registration info by userId","tags":["Admin Registration Info API"]}},"/admin/withdrawals-block/{userId}":{"post":{"operationId":"AdminWithdrawalsBlock_create","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalsBlockRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalsBlockDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Block user withdrawals","tags":["Admin withdrawals block API"]},"delete":{"operationId":"AdminWithdrawalsBlock_delete","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalsBlockDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Unblock user withdrawals","tags":["Admin withdrawals block API"]},"get":{"operationId":"AdminWithdrawalsBlock_findActiveOne","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawalsBlockDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get active user block","tags":["Admin withdrawals block API"]}},"/payments/integration/ccpayment/webhook":{"post":{"operationId":"CCPaymentWebhook_webhook","parameters":[],"responses":{"200":{"description":""}},"tags":["Webhooks"]}},"/payments/network":{"get":{"operationId":"Network_findMany","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AvailableCurrencyNetworksDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/payments/integration/nowpayments/deposit/{userId}":{"post":{"operationId":"NowpaymentsWebhook_deposit","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NowpaymentWebhookPaymentDto"}}}},"responses":{"200":{"description":""}},"tags":["Webhooks"]}},"/payments/integration/nowpayments/withdraw/{withdrawId}":{"post":{"operationId":"NowpaymentsWebhook_withdraw","parameters":[{"name":"withdrawId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NowpaymentWebhookWithdrawalDto"}}}},"responses":{"200":{"description":""}},"tags":["Webhooks"]}},"/payments/integration/nowpayments/webhook":{"post":{"operationId":"NowpaymentsWebhook_notification","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NowpaymentWebhookPaymentDto"}}}},"responses":{"200":{"description":""}},"tags":["Webhooks"]}},"/payments/skindeck/deposit/inventory":{"get":{"description":"Get available user inventory via SkinDeck","operationId":"SkinDeck_getDepositInventory","parameters":[{"name":"minPrice","required":false,"in":"query","description":"Min price.","schema":{"type":"number"}},{"name":"maxPrice","required":false,"in":"query","description":"Max price.","schema":{"type":"number"}},{"name":"sort","required":false,"in":"query","description":"Sort by.","schema":{"enum":["price_asc","price_desc"],"type":"string"}},{"name":"search","required":false,"in":"query","description":"Search.","schema":{"type":"string"}},{"name":"refresh","required":false,"in":"query","description":"Refresh","schema":{"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetSkinDeckUserInventoryResponse"}}}}},"security":[{"cookie":[]}],"summary":"","tags":["Payments SkinDeck API"]}},"/payments/skindeck/deposit/create":{"post":{"description":"Create deposit via SkinDeck","operationId":"SkinDeck_createDepositTrade","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSkinDeckDepositBody"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTradeResponse"}}}}},"security":[{"cookie":[]}],"summary":"","tags":["Payments SkinDeck API"]}},"/payments/integration/skindeck/webhook":{"post":{"description":"\n    - Always respond with status 200, even for errors. Include error messages in the response body.\n    - If you don't include an \"error\" in the response, the action will proceed.\n    - You can view callback history and resend failed callbacks on the Skindeck dashboard.\n    - Ensure your system can handle potential duplicate callbacks without creating issues.\n    - Keep the client updated as trade statuses change. Not all statuses need to be shown to the user (e.g., you can merge the initiated and pending status, and the failed & canceled status).\n    - For initiating multiple deposits/withdrawals at once, multiple requests need to be sent. They will be queued on our backend to ensure proper processing order.\n    - When fetching the user's inventory, use the parameter sparingly. It should only be used on initial load or when the user specifically clicks the refresh button. Otherwise, use the cached inventory for quicker pagination and search operations.\n  ","externalDocs":{"url":"https://skindeck.com/docs/merchant-api#callbacks"},"operationId":"SkinDeckWebhook_callbackHandler","parameters":[],"responses":{"200":{"description":""}},"summary":"SkinDeck sends POST requests to your callback URL for each trade.","tags":["Webhooks"]}},"/payments/deposit":{"get":{"operationId":"Deposit_getMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","USD_AMOUNT","COMPLETED_AT","CONFIRMED_AT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["PENDING","CONFIRMED","COMPLETE","FAILED"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DepositPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/payments/deposit/static-address":{"post":{"operationId":"Deposit_getOrCreateAddress","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateDepositAddressDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositAddressDto"}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/admin/payments/deposit":{"get":{"operationId":"AdminDeposit_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","USD_AMOUNT","COMPLETED_AT","CONFIRMED_AT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["PENDING","CONFIRMED","COMPLETE","FAILED"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/DepositDto"}},"total":{"type":"number"}}}]}}}}},"summary":"(Permission) Get deposits","tags":["Admin Payments API"]}},"/admin/payments/deposit/{id}":{"get":{"operationId":"AdminDeposit_getOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositDto"}}}}},"tags":["Admin Payments API"]}},"/affiliate/users":{"get":{"operationId":"Affiliate_findManyUsers","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","CAMPAIGN","WAGERED_AMOUNT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyReferralsResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/affiliate/overview":{"get":{"operationId":"Affiliate_findStats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateOverviewDto"}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/affiliate/claim":{"post":{"operationId":"Affiliate_claim","parameters":[],"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/affiliate/me":{"get":{"operationId":"Affiliate_findOne","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateDto"}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/affiliate/claims":{"get":{"operationId":"Affiliate_findManyClaims","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","TAG","AMOUNT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/affiliate/levels":{"get":{"operationId":"Affiliate_getLevels","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateLevel"}}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/admin/affiliate":{"post":{"operationId":"AdminAffiliate_findManyAffiliatesByAdmin","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateQuery"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminAffiliateDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission) Find many affiliates","tags":["Admin Affiliate API"]}},"/admin/affiliate/levels":{"get":{"operationId":"AdminAffiliate_getLevels","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateLevel"}}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get affiliate levels","tags":["Admin Affiliate API"]}},"/admin/affiliate/users":{"post":{"operationId":"AdminAffiliate_findManyAffiliateUsers","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateUsersQuery"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminAffiliateUserDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission) Get affiliate users","tags":["Admin Affiliate API"]}},"/admin/affiliate/find-one":{"post":{"operationId":"AdminAffiliate_findOne","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOneAffiliateQuery"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get affiliate (short)","tags":["Admin Affiliate API"]}},"/admin/affiliate/find-one-extended":{"post":{"operationId":"AdminAffiliate_findOneByAdmin","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOneAffiliateQuery"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminAffiliateDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get affiliate","tags":["Admin Affiliate API"]}},"/admin/affiliate/find-one-stats":{"post":{"operationId":"AdminAffiliate_findOneStats","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOneAffiliateStatsQuery"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateOverviewDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get affiliate stats","tags":["Admin Affiliate API"]}},"/affiliate/code":{"post":{"operationId":"AffiliateCode_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateCodeCreateRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateCodeDto"}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]},"get":{"operationId":"AffiliateCode_findMany","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateCodeDto"}}}}}},"security":[{"bearer":[]}],"tags":["Affiliate API"]}},"/admin/affiliate/code":{"delete":{"operationId":"AdminAffiliateCode_deleteAffiliateCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteAffiliateCodeByAdminQueryDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"summary":"(Permission) Delete an affiliate code","tags":["Admin Affiliate API"]},"post":{"operationId":"AdminAffiliateCode_createAffiliateCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAffiliateCodeByAdminQueryDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Create an affiliate code","tags":["Admin Affiliate API"]}},"/admin/affiliate/streamer":{"post":{"operationId":"AdminAffiliateStreamer_findManyStreamersAffiliate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateStreamerQuery"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateStreamerDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateStreamerResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Find many streamer affiliates","tags":["Admin Affiliate Streamer API"]}},"/admin/affiliate/streamer/{id}":{"get":{"operationId":"AdminAffiliateStreamer_findOneStreamerAffiliate","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AffiliateStreamerShortDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Find one streamer affiliate","tags":["Admin Affiliate Streamer API"]}},"/admin/affiliate/streamer/referrals":{"post":{"operationId":"AdminAffiliateStreamer_findManyReferralsStreamerAffiliate","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateStreamerReferralQuery"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateStreamerReferralDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyAffiliateStreamerReferralResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Find many referrals of a streamer affiliate","tags":["Admin Affiliate Streamer API"]}},"/external/affiliates":{"get":{"operationId":"AffiliateExternal_getExternalReferralInfo","parameters":[{"name":"codes","required":true,"in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","nullable":true,"type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","nullable":true,"type":"string"}},{"name":"x-api-key","in":"header","description":"API Key in the format: <your-api-key>","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateExternalReferralInfo"}}}}}},"tags":["Affiliates External API"]}},"/traffic-income/registration":{"post":{"operationId":"TrafficArbitrage_createRegistration","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrafficUserReg"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["User Limits API"]}},"/payments/withdraw":{"post":{"operationId":"Withdraw_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawCreateRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawPublicDto"}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]},"get":{"operationId":"Withdraw_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","USD_AMOUNT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["PENDING","CONFIRMED","COMPLETE","DENIED","FAILED"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WithdrawPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/payments/withdraw/fee":{"post":{"operationId":"Withdraw_getWithdrawFee","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckWithdrawRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckWithdrawResponse"}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/payments/withdraw/limits":{"get":{"operationId":"Withdraw_getWithdrawLimits","parameters":[{"name":"currencyId","required":true,"in":"query","schema":{"enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"],"type":"string"}},{"name":"networkId","required":true,"in":"query","schema":{"enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"],"type":"string"}},{"name":"providerId","required":true,"in":"query","schema":{"example":"CRYPTO","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetWithdrawLimitsResponse"}}}}},"security":[{"bearer":[]}],"tags":["Payments API"]}},"/payments/withdraw/{id}":{"get":{"operationId":"Withdraw_findOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawPublicDto"}}}}},"security":[{"bearer":[]}],"summary":"Returns withdraw by id. If \"PENDING\" - tries to update withdraw status from provider's api","tags":["Payments API"]}},"/admin/payments/withdraw":{"get":{"operationId":"AdminWithdraw_getMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","USD_AMOUNT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["PENDING","CONFIRMED","COMPLETE","DENIED","FAILED"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"username","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/WithdrawDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get withdrawals","tags":["Admin Payments API"]}},"/admin/payments/withdraw/stats":{"get":{"operationId":"AdminWithdraw_stats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/stats/{userId}":{"get":{"operationId":"AdminWithdraw_statsByUserId","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/{id}":{"get":{"operationId":"AdminWithdraw_getOne","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/fetch/{id}":{"get":{"operationId":"AdminWithdraw_getOneWithUpdate","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/approve":{"post":{"operationId":"AdminWithdraw_approve","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawApproveDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/reject":{"post":{"operationId":"AdminWithdraw_reject","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawRejectDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/admin/payments/withdraw/retry":{"post":{"operationId":"AdminWithdraw_retry","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawRetryDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Payments API"]}},"/casino/games/house/plinko/bet":{"post":{"operationId":"Plinko_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlinkoBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlinkoGameResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/plinko/config":{"get":{"operationId":"Plinko_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlinkoConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/fairness/history":{"get":{"operationId":"ProvablyFair_getFairnessHistory","parameters":[{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserInactiveFairnessSeedsDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"History of previous fairness seeds. Server seed is not hashed","tags":["Fairness API"]}},"/fairness/seed":{"get":{"operationId":"ProvablyFair_getFairnessDetails","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFairnessSeedsActivePublicDto"}}}}},"security":[{"bearer":[]}],"summary":"Returns current fairness seed. If not exists - seed will be created. Server seed is hashed","tags":["Fairness API"]},"put":{"operationId":"ProvablyFair_updateClientSeed","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateClientSeedsRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFairnessSeedsActivePublicDto"}}}}},"security":[{"bearer":[]}],"summary":"Update client seed. It triggers generating a new server seed","tags":["Fairness API"]}},"/fairness/unhashed-seed":{"get":{"operationId":"ProvablyFair_getUnhashedSeed","parameters":[{"name":"hashedServerSeed","required":true,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInactiveFairnessSeedsDto"}}}}},"security":[{"bearer":[]}],"summary":"Try to get seed details by hashed server seed","tags":["Fairness API"]}},"/auth/sign-up":{"post":{"operationId":"Auth_signUp","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserAuthDto"}}}}},"summary":"Sign up","tags":["Authorization API"]}},"/auth/sign-in":{"post":{"operationId":"Auth_signIn","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignInResponseDto"}}}}},"summary":"Sign in. (No validation)","tags":["Authorization API"]}},"/auth/setup-username":{"post":{"operationId":"Auth_setupUsernameAfterOAuthRegistration","parameters":[{"name":"setupUsernameToken","required":true,"in":"query","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupUsernamePayloadDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthSessionTokens"}}}}},"summary":"Endpoint for setting up username for users signed up via OAuth","tags":["Authorization API"]}},"/auth/steam":{"get":{"operationId":"Auth_steamAuth","parameters":[],"responses":{"200":{"description":""}},"summary":"Steam auth (No validation)","tags":["Authorization API"]}},"/auth/steam/return":{"get":{"operationId":"Auth_steamAuthReturn","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectUrlDto"}}}}},"summary":"Steam auth callback endpoint (No validation)","tags":["Authorization API"]}},"/auth/google/callback":{"get":{"operationId":"Auth_googleAuthReturn","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedirectUrlDto"}}}}},"summary":"Google auth callback endpoint (No validation)","tags":["Authorization API"]}},"/auth/google":{"get":{"operationId":"Auth_googleAuth","parameters":[],"responses":{"200":{"description":""}},"summary":"Google auth (No validation)","tags":["Authorization API"]}},"/auth/refresh":{"post":{"operationId":"Auth_refresh","parameters":[{"name":"refresh-token","in":"header","description":"Refresh token","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthSessionTokens"}}}}},"summary":"Refresh token","tags":["Authorization API"]}},"/auth/verify-2fa":{"post":{"operationId":"Auth_verifyMfaAndCompleteSignIn","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyMfaDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthSessionTokens"}}}}},"summary":"Verify 2FA and complete sign in (No validation)","tags":["Authorization API"]}},"/session":{"get":{"operationId":"Session_getAllSessions","parameters":[{"name":"onlyActive","required":false,"in":"query","schema":{"default":true,"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserSessionDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Get all sessions","tags":["Session API"]}},"/session/log-out/other":{"delete":{"operationId":"Session_logOutAll","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Log out of all devices except the current one","tags":["Session API"]}},"/session/log-out/current":{"delete":{"operationId":"Session_logOutMe","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Log out my device","tags":["Session API"]}},"/session/log-out/{sessionKey}":{"delete":{"operationId":"Session_logOut","parameters":[{"name":"sessionKey","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Log out of selected device by sessionKey","tags":["Session API"]}},"/admin/api-keys":{"post":{"operationId":"AdminApiKey_createApiKey","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKeyRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyResponse"}}}}},"security":[{"bearer":[]}],"tags":["Admin Key API"]}},"/admin/api-keys/{userId}":{"get":{"operationId":"AdminApiKey_getApiKey","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyResponse"}}}}},"security":[{"bearer":[]}],"tags":["Admin Key API"]},"delete":{"operationId":"AdminApiKey_disableApiKey","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"204":{"description":""}},"security":[{"bearer":[]}],"tags":["Admin Key API"]}},"/kyc":{"post":{"operationId":"Kyc_upgradeKyc","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpgradeUserKycRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKycStatusDto"}}}}},"security":[{"bearer":[]}],"tags":["KYC API"]}},"/kyc/notify/new-application":{"post":{"operationId":"KycWebhook_handleOnNewApplication","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewApplicationDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Webhook for new application","tags":["KYC API"]}},"/kyc/notify/application-reviewed":{"post":{"operationId":"KycWebhook_handleOnApplicationReviewed","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewedApplicationDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Webhook for application reviewed","tags":["KYC API"]}},"/admin/kyc/{userId}/info":{"get":{"operationId":"AdminKyc_findKycInfo","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKycWithRequestsDto"}}}}},"security":[{"bearer":[]}],"summary":"User KYC info with 5 sumsub requests","tags":["KYC Admin API"]},"post":{"operationId":"AdminKyc_updateKycInfo","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserKycLevelDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKycDto"}}}}},"security":[{"bearer":[]}],"summary":"Update User KYC level and verification pending status","tags":["KYC Admin API"]}},"/admin/kyc/{userId}":{"patch":{"operationId":"AdminKyc_updateKycByAdmin","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserKycByAdminDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserKycDto"}}}}},"security":[{"bearer":[]}],"summary":"Update User KYC info by admin","tags":["KYC Admin API"]}},"/health":{"get":{"operationId":"Health_check","parameters":[],"responses":{"200":{"description":"The Health Check is successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"ok"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}},"503":{"description":"The Health Check is not successful","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string","example":"error"},"info":{"type":"object","example":{"database":{"status":"up"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"error":{"type":"object","example":{"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true},"nullable":true},"details":{"type":"object","example":{"database":{"status":"up"},"redis":{"status":"down","message":"Could not connect"}},"additionalProperties":{"type":"object","required":["status"],"properties":{"status":{"type":"string"}},"additionalProperties":true}}}}}}}},"tags":["Core API"]}},"/feature":{"get":{"operationId":"FeatureFlag_getFeatureFlags","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"summary":"(Optional Auth) Get site config by code","tags":["Core API"]}},"/admin/logger":{"get":{"operationId":"Logger_getLogLevel","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoggerDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Core API"]},"put":{"operationId":"Logger_setLogLevel","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetLogLevelDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoggerDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Core API"]}},"/leaderboards":{"get":{"operationId":"Leaderboard_getLeaderboardsPublic","parameters":[{"name":"finished","required":false,"in":"query","schema":{"default":false,"type":"boolean"}},{"name":"type","required":false,"in":"query","schema":{"enum":["DAILY","WEEKLY","MONTHLY"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardPublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Leaderboard API"]}},"/leaderboards/{type}":{"get":{"operationId":"Leaderboard_getLeaderboardPublic","parameters":[{"name":"type","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardPublicDto"}}}}},"security":[{"bearer":[]}],"tags":["Leaderboard API"]}},"/leaderboards/id/{id}":{"get":{"operationId":"Leaderboard_getLeaderboardHistory","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardPublicDto"}}}}},"security":[{"bearer":[]}],"tags":["Leaderboard API"]}},"/admin/leaderboards/schedule":{"get":{"operationId":"AdminLeaderboard_getLeaderboardSchedules","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardScheduleDto"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards/schedule/{id}":{"get":{"operationId":"AdminLeaderboard_getLeaderboardSchedule","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]},"post":{"operationId":"AdminLeaderboard_updateLeaderboardSchedule","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLeaderboardScheduleRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardScheduleDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards":{"get":{"operationId":"AdminLeaderboard_getLeaderboards","parameters":[{"name":"withUsers","required":false,"in":"query","description":"Adds 50 users to response","schema":{"type":"boolean"}},{"name":"withSchedule","required":false,"in":"query","description":"Adds schedule config to dto","schema":{"type":"boolean"}},{"name":"type","required":false,"in":"query","schema":{"enum":["DAILY","WEEKLY","MONTHLY"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["NOT_STARTED","ACTIVE","ENDED","SETTLEMENT","FINISHED"],"type":"string"}},{"name":"sortOrder","required":false,"in":"query","schema":{"default":"desc","enum":["asc","desc"],"type":"string"}},{"name":"sortBy","required":false,"in":"query","schema":{"default":"created","enum":["created"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards/{leaderboardId}/users":{"get":{"operationId":"AdminLeaderboard_getLeaderboardUsers","parameters":[{"name":"leaderboardId","required":true,"in":"path","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","description":"Search by user id, name or email","schema":{"type":"string"}},{"name":"isWinner","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"isWaitingForPrice","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardUserDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards/{leaderboardId}/users/{userId}":{"get":{"operationId":"AdminLeaderboard_getLeaderboardUser","parameters":[{"name":"leaderboardId","required":true,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards/give-prize":{"post":{"operationId":"AdminLeaderboard_givePrize","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GivePrizeRequest"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/admin/leaderboards/{leaderboardId}":{"get":{"operationId":"AdminLeaderboard_getLeaderboard","parameters":[{"name":"leaderboardId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeaderboardDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Leaderboard API"]}},"/vip-program/application":{"get":{"operationId":"VipApplication_getApplication","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VipUserResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["VipApplication"]},"post":{"operationId":"VipApplication_upsertApplication","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VipApplicationDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"tags":["VipApplication"]}},"/vip-program/upload/stats":{"post":{"operationId":"VipApplication_uploadImageStats","parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"file"}}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"tags":["VipApplication"]}},"/admin/vip-program/all":{"get":{"operationId":"VipApplicationAdmin_getAdminApplications","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","UPDATED_AT"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"status","required":false,"in":"query","schema":{"enum":["INBOX","ACTIVE","ONHOLD","REJECTED"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["VipApplicationAdmin"]}},"/admin/vip-program/{id}":{"get":{"operationId":"VipApplicationAdmin_getApplication","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["VipApplicationAdmin"]},"delete":{"operationId":"VipApplicationAdmin_deleteApplication","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"tags":["VipApplicationAdmin"]}},"/admin/vip-program/{id}/status":{"patch":{"operationId":"VipApplicationAdmin_updateApplication","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VipApplicationAdminUpdateDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"tags":["VipApplicationAdmin"]}},"/faq":{"get":{"operationId":"Faq_findAllFaqs","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FaqDto"}}}}}},"tags":["FAQ API"]}},"/faq/{id}":{"get":{"operationId":"Faq_findFaqById","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqDto"}}}}},"tags":["FAQ API"]}},"/admin/faq":{"post":{"operationId":"AdminFaq_createFaq","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFaqDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqDto"}}}}},"tags":["Admin FAQ API"]},"put":{"operationId":"AdminFaq_updateFaq","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFaqDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqDto"}}}}},"tags":["Admin FAQ API"]},"delete":{"operationId":"AdminFaq_removeFaq","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteFaqDto"}}}},"responses":{"200":{"description":""}},"tags":["Admin FAQ API"]}},"/admin/dashboard/quick-stats":{"get":{"operationId":"AdminDashboard_getQuickStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"query","required":false,"in":"query","description":"Array of values: Ggr, Ngr, ProfitLoss, RakeBack, LeaderBoard, AffiliateClamed, AdminTips, FirstTimeDepositAmountCountAverage, Online, UserTotalBalance, UserTotalCount, UserTotalDepositsAmountCountAverage, UserTotalSignups, UserTotalWagered, UserTotalWithdrawals, UserTips","schema":{"example":"[\"Ggr\",\"Ngr\", ...]","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatModel"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/finance-tab":{"get":{"operationId":"AdminDashboard_getFinanceStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"query","required":false,"in":"query","description":"Array of values: Ggr, Ngr, ProfitLoss, RakeBack, LeaderBoard, AffiliateClamed, AdminTips, FirstTimeDepositAmountCountAverage, Online, UserTotalBalance, UserTotalCount, UserTotalDepositsAmountCountAverage, UserTotalSignups, UserTotalWagered, UserTotalWithdrawals, UserTips","schema":{"example":"[\"Ggr\",\"Ngr\", ...]","type":"string"}},{"name":"isStreamer","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"excludeAdmin","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeTest","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeStaff","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeStreamer","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatModel"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/games-stats":{"get":{"operationId":"AdminDashboard_gameQuickStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"query","required":false,"in":"query","description":"Array of values: Ggr, TotalCountAverageBet","schema":{"example":"[\"Ggr\",\"TotalCountAverageBet\", ...]","type":"string"}},{"name":"games","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatModel"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/games-charts":{"get":{"operationId":"AdminDashboard_gameChartsStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"games","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/affiliate-stats":{"get":{"operationId":"AdminDashboard_affiliateQuickStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"query","required":false,"in":"query","description":"Array of values: ReferralsGgr, ReferralsWagger, ReferralsDeposits, ReferralsFTD, AffiliateAdminTips, AffiliateReferrals, AffiliateActiveReferralsNow, AffiliateCommissionClaimed, AffiliateTotalWithdrawals","schema":{"example":"[\"ReferralsGgr\",\"ReferralsWagger\", ...]","type":"string"}},{"name":"adminTipsTags","required":false,"in":"query","description":"Array of values: STREAM_FILL, VIDEO_FILL, PRIVATE_LB_PAYOUT, LOSSBACK, TWITTER_GIVEAWAY, DISCORD_GIVEAWAY, PRIVATE_GIVEAWAY, CUSTOM_DEPOSIT_BONUS, SALARY, TESTING, OTHER","schema":{"example":"[\"STREAM_FILL\",\"VIDEO_FILL\", ...]","type":"string"}},{"name":"affiliateId","required":false,"in":"query","schema":{"type":"number"}},{"name":"isStreamer","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StatModel"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/users-stats":{"get":{"operationId":"AdminDashboard_getUsersStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUsersStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/admin/dashboard/providers-stats":{"get":{"operationId":"AdminDashboard_getProvidersStats","parameters":[{"name":"startDate","required":true,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":true,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"providers","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"excludeAdmin","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeTest","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeStaff","required":false,"in":"query","schema":{"type":"string"}},{"name":"excludeStreamer","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"List of provider stats","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"provider":{"type":"string","example":"p1-pragmatic"},"sumAmount":{"type":"string","format":"decimal","example":"123.45"},"countAmount":{"type":"integer","example":42},"ggrAmount":{"type":"string","format":"decimal","example":"100.00"},"average":{"type":"string","format":"decimal","example":"2.38"}},"required":["provider","sumAmount","countAmount","ggrAmount","average"]}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API"]}},"/exchange-rates":{"get":{"operationId":"ExchangeRates_getMany","parameters":[{"name":"fiatCurrency","required":true,"in":"query","schema":{"enum":["USD","EUR"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExchangeRatesDto"}}}}},"tags":["Exchange Rates API"]}},"/admin/dashboard-v2/main/stats":{"get":{"operationId":"AdminDashboardCombined_getGeneralStats","parameters":[{"name":"timeRange","required":true,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"debug","required":false,"in":"query","schema":{"default":false,"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardMainStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/game/stats":{"get":{"operationId":"AdminDashboardCombined_getGameStats","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardGameStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/main/options":{"get":{"operationId":"AdminDashboardCombined_getTimeOptions","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DashboardTimeOptionDto"}}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/query/games-by-slug":{"get":{"operationId":"AdminDashboardSeparated_getGamesBySlug","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/query/games-by-type":{"get":{"operationId":"AdminDashboardSeparated_getGamesByType","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardGameAnalyticsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/query/bets-by-type":{"get":{"operationId":"AdminDashboardSeparated_getBetsByType","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DashboardCasinoAnalyticsDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/query/payments":{"get":{"operationId":"AdminDashboardSeparated_getPayments","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositMetrics"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/dashboard-v2/query/registrations":{"get":{"operationId":"AdminDashboardSeparated_getRegistrations","parameters":[{"name":"timeRange","required":false,"in":"query","schema":{"enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"],"type":"string"}},{"name":"startDate","required":false,"in":"query","schema":{"format":"date-time","example":"01-02-2025","type":"string"}},{"name":"endDate","required":false,"in":"query","schema":{"format":"date-time","example":"02-02-2025","type":"string"}},{"name":"timeGroup","required":true,"in":"query","schema":{"enum":["hour","day","week","month","quarter"],"type":"string"}},{"name":"orderBy","required":false,"in":"query","schema":{"enum":["turnover","ggr","atpu","arpu"],"type":"string"}},{"name":"orderDirection","required":false,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"gameCategory","required":false,"in":"query","schema":{"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"],"type":"string"}},{"name":"providerSlugs","required":false,"in":"query","description":"Array of values: ","schema":{"example":"[\"VALUE1\",\"VALUE2\", ...]","type":"string"}},{"name":"take","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":false,"in":"query","schema":{"type":"number"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"gameName","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistrationMetrics"}}}}},"security":[{"bearer":[]}],"tags":["Admin Dashboard API V2"]}},"/admin/admin-tips":{"post":{"operationId":"AdminAdminTips_tipUser","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdminTipDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Tip user","tags":["Admin Tips API"]},"get":{"operationId":"AdminAdminTips_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["AMOUNT","CREATED_AT","ID"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"senderUserId","required":false,"in":"query","schema":{"type":"number"}},{"name":"recipientUserId","required":false,"in":"query","schema":{"type":"number"}},{"name":"senderOrRecipientUserId","required":false,"in":"query","schema":{"type":"number"}},{"name":"search","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminTipsDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get admin tips history","tags":["Admin Tips API"]}},"/admin/admin-tips/deduct-balance":{"post":{"operationId":"AdminAdminTips_deductBalance","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdminTipDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Deduct balance from user","tags":["Admin Tips API"]}},"/admin-tips":{"get":{"operationId":"AdminTips_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["AMOUNT","CREATED_AT","ID"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AdminTipsDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Tips API"]}},"/admin/tips":{"get":{"operationId":"AdminTips_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["AMOUNT","CREATED_AT","ID"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TipDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Get tips history","tags":["User tips API"]}},"/tips":{"post":{"operationId":"Tips_create","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTipDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Send tip to a user","tags":["User tips API"]},"get":{"operationId":"Tips_findMany","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["AMOUNT","CREATED_AT","ID"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyTipResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["User tips API"]}},"/rakeback":{"get":{"operationId":"Rakeback_findOneRakeback","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOneRakebackResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Rakeback API"]}},"/rakeback/claim":{"post":{"operationId":"Rakeback_claimRakeback","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RakebackClaimRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RakebackClaimResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Rakeback API"]}},"/admin/rakeback/find-many":{"post":{"operationId":"AdminRakeback_findMany","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindManyRakebackQuery"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AdminRakebackDto"}}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get rakebacks","tags":["Admin Rakeback API"]}},"/admin/rakeback/find-one-claimable-usd":{"get":{"operationId":"AdminRakeback_findOneClaimableUsd","parameters":[{"name":"userId","required":true,"in":"query","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminRakebackClaimableUsdDto"}}}}},"security":[{"bearer":[]}],"summary":"(Permission) Get rakebacks","tags":["Admin Rakeback API"]}},"/live-bets":{"get":{"operationId":"LiveBets_getMany","parameters":[{"name":"type","required":true,"in":"query","schema":{"enum":["LatestBets","HighRollers","LuckyWins","BigWins"],"type":"string"}},{"name":"count","required":true,"in":"query","schema":{"minimum":10,"maximum":100,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BetPublicDto"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BetPublicDto"}}}}}},"security":[{"bearer":[]}],"tags":["Bets API"]}},"/live-bets/my":{"get":{"operationId":"LiveBets_getManyMyBets","parameters":[{"name":"status","required":false,"in":"query","schema":{"enum":["CREATED","SETTLED","ERROR","ROLLBACK"],"type":"string"}},{"name":"count","required":true,"in":"query","schema":{"minimum":10,"maximum":100,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BetPublicDto"}}}}}},"security":[{"bearer":[]}],"tags":["Bets API"]}},"/casino/games/house/keno/bet":{"post":{"operationId":"Keno_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KenoBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KenoBetResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/keno/config":{"get":{"operationId":"Keno_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KenoConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/limbo/bet":{"post":{"operationId":"Limbo_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimboBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimboBetResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/limbo/config":{"get":{"operationId":"Limbo_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimboConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/roulette/bet":{"post":{"operationId":"Roulette_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouletteBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouletteBetResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/roulette/config":{"get":{"operationId":"Roulette_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RouletteConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/play":{"post":{"operationId":"Mines_play","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceMinesBetDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HouseGameMinesBoardWithMultipliers"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/board":{"get":{"operationId":"Mines_board","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HouseGameMinesBoardWithMultipliers"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/open":{"post":{"operationId":"Mines_open","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenCellMinesDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/auto-spin":{"post":{"operationId":"Mines_autoSpin","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenCellAutoSpinMinesDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinesGameResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/cash-out":{"post":{"operationId":"Mines_cashOut","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseWindowIdDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinesGameResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/mines/config":{"get":{"operationId":"Mines_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MinesConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/blackjack/initDebug":{"post":{"operationId":"Blackjack_initGameDebug","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetBlackjackDebugRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlackjackActiveStateResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/blackjack/init":{"post":{"operationId":"Blackjack_initGame","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BetBlackjackRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlackjackActiveStateResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/blackjack/getActiveState":{"get":{"operationId":"Blackjack_tryGetActiveGameState","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlackjackActiveStateResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/blackjack/handleAction":{"post":{"operationId":"Blackjack_handleBlackjackAction","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandleBlackjackActionRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlackjackActiveStateResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/blackjack/config":{"get":{"operationId":"Blackjack_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BlackjackGameConfigDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/speed-roulette/config":{"get":{"operationId":"SpeedRouletteApi_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedRouletteGameConfigDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/speed-roulette/info":{"get":{"operationId":"SpeedRouletteApi_getInfo","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedRouletteGameRouletteInfoResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/speed-roulette/bet":{"post":{"operationId":"SpeedRouletteApi_placeBet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedRoulettePlaceBetRequest"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedRoulettePlaceBetResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/dice/bet":{"post":{"operationId":"Dice_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiceBetRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiceBetResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/dice/config":{"get":{"operationId":"Dice_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DiceConfigResponseDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/monkey-run/bet":{"post":{"operationId":"MonkeyRun_bet","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceMonkeyRunBetDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonkeyRunBetRespDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/monkey-run/game":{"get":{"operationId":"MonkeyRun_board","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonkeyRunBetRespDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/monkey-run/play":{"post":{"operationId":"MonkeyRun_play","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlayMonkeyRunDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonkeyRunBetRespDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/monkey-run/cash-out":{"put":{"operationId":"MonkeyRun_cashOut","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseWindowIdDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonkeyRunBetRespDto"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/casino/games/house/monkey-run/config":{"get":{"operationId":"MonkeyRun_getConfig","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MonkeyRunMultipliersResponse"}}}}},"security":[{"bearer":[]}],"tags":["Casino API"]}},"/promo/history":{"get":{"operationId":"Promo_findMyPromoCodes","parameters":[{"name":"isActive","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserPromoCodePublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"List of activated promos with statuses","tags":["Promo API"]}},"/promo/bonuses":{"get":{"operationId":"Promo_findMyBonuses","parameters":[{"name":"isActive","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserPromoCodePublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"List of activated promos with statuses","tags":["Promo API"]}},"/promo/public":{"get":{"operationId":"Promo_findManyPromoCodesPublic","parameters":[{"name":"isActive","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PromoCodePublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"List of public promos","tags":["Promo API"]}},"/promo/public/{code}":{"get":{"operationId":"Promo_findUniquePromoCodePublic","parameters":[{"name":"code","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodePublicDto"}}}}},"security":[{"bearer":[]}],"summary":"Returns a detailed info about a promo code","tags":["Promo API"]}},"/admin/promo":{"get":{"operationId":"AdminPromo_findManyCodes","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["createdAt","claimedTimes"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"isActive","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"type","required":false,"in":"query","schema":{"default":"INSTANT","enum":["INSTANT","DEPOSIT"],"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"minLength":0,"maxLength":50,"type":"string"}},{"name":"affiliateCode","required":false,"in":"query","schema":{"minLength":0,"maxLength":50,"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PromoCodeDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Find many promo codes","tags":["Promo Admin API"]},"put":{"operationId":"AdminPromo_createCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPromoCodeRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Create a promo code","tags":["Promo Admin API"]}},"/admin/user-promo":{"get":{"operationId":"AdminPromo_findManyUserCodes","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["createdAt"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"number"}},{"name":"status","required":false,"in":"query","schema":{"enum":["CLAIMED","ACTIVE","COMPLETED","CANCELLED","EXPIRED"],"type":"string"}},{"name":"type","required":false,"in":"query","schema":{"default":"INSTANT","enum":["INSTANT","DEPOSIT"],"type":"string"}},{"name":"promoId","required":false,"in":"query","schema":{"type":"string"}},{"name":"promoCode","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UserPromoCodeDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Find claimed users' promo codes","tags":["Promo Admin API"]}},"/admin/user-promo/{id}":{"delete":{"operationId":"AdminPromo_cancelUserPromoCode","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminDeletePromoCodeDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}}},"security":[{"bearer":[]}],"summary":"Cancel a user promo code","tags":["Promo Admin API"]}},"/admin/promo/{id}":{"get":{"operationId":"AdminPromo_findOneCode","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Find a promo code by ID","tags":["Promo Admin API"]},"patch":{"operationId":"AdminPromo_updateCode","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPromoCodeRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Update a promo code","tags":["Promo Admin API"]},"delete":{"operationId":"AdminPromo_deactivateCode","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Deactivate a promo code (can be restored)","tags":["Promo Admin API"]}},"/admin/promo/many":{"put":{"operationId":"AdminPromo_createManyCodes","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateManyPromoCodesRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PromoCodeDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Create many promo codes by template","tags":["Promo Admin API"]}},"/admin/promo/deposit":{"put":{"operationId":"AdminPromo_createFirstDepositCode","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePromoFirstDepositRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Create a first deposit promo code","tags":["Promo Admin API"]}},"/admin/promo/deposit/{id}":{"patch":{"operationId":"AdminPromo_updateFirstDepositCode","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePromoFirstDepositRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoCodeDto"}}}}},"security":[{"bearer":[]}],"summary":"Update a first deposit promo code","tags":["Promo Admin API"]}},"/admin/promo/deposit/{id}/games":{"get":{"operationId":"AdminPromo_getPromoGameWhitelist","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PromoGameWhitelistDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Get a promo code game whitelist","tags":["Promo Admin API"]},"post":{"operationId":"AdminPromo_upsertPromoGameWhitelist","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertPromoGameWhitelistRequest"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PromoGameWhitelistDto"}},"total":{"type":"number"}}}]}}}},"201":{"description":""}},"security":[{"bearer":[]}],"summary":"Upsert a promo code game whitelist. 50 games per request.","tags":["Promo Admin API"]}},"/challenge":{"get":{"operationId":"Challenge_findManyChallenges","parameters":[{"name":"status","required":false,"in":"query","schema":{"enum":["active","finished"],"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":30,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChallengePublicDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Challenge API"]}},"/challenge/my":{"get":{"operationId":"Challenge_findMyChallenges","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["createdAt","finishedAt","rewardAmount","hasValidBets"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"isFinished","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"winnerSearch","required":false,"in":"query","description":"Search for a winner by `id, slug`","schema":{"type":"string"}},{"name":"isHidden","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["Challenge API"]}},"/challenge/{id}":{"get":{"operationId":"Challenge_findUniqueChallenge","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengePublicDto"}}}}},"security":[{"bearer":[]}],"tags":["Challenge API"]}},"/admin/challenge/{id}/image":{"post":{"operationId":"AdminChallenge_updateChallengeImage","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"image":{"type":"file"}}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Challenge API"]}},"/admin/challenge/{id}/award":{"post":{"operationId":"AdminChallenge_awardWinner","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwardWinnerRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"summary":"Choose a winner for challenge by BetId","tags":["Admin Challenge API"]}},"/admin/challenge/{id}/rollback":{"post":{"operationId":"AdminChallenge_rollbackWinner","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RollbackWinnerRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"summary":"Remove a winner for challenge. Withdraw awarded amount from the user balance","tags":["Admin Challenge API"]}},"/admin/challenge":{"put":{"operationId":"AdminChallenge_createChallenge","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChallengeRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"summary":"Create a new challenge. Default gameImage will be used by default","tags":["Admin Challenge API"]},"get":{"operationId":"AdminChallenge_findManyChallenges","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["createdAt","finishedAt","rewardAmount","hasValidBets"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"isFinished","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"winnerSearch","required":false,"in":"query","description":"Search for a winner by `id, slug`","schema":{"type":"string"}},{"name":"isHidden","required":false,"in":"query","schema":{"type":"boolean"}},{"name":"gameSlug","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"tags":["Admin Challenge API"]}},"/admin/challenge/{id}":{"patch":{"operationId":"AdminChallenge_updateChallenge","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChallengeRequestDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Challenge API"]},"delete":{"operationId":"AdminChallenge_deleteChallenge","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"summary":"Deletes a challenge only if it's not finished","tags":["Admin Challenge API"]},"get":{"operationId":"AdminChallenge_findUniqueChallenge","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChallengeDto"}}}}},"security":[{"bearer":[]}],"tags":["Admin Challenge API"]}},"/admin/challenge/{id}/bets":{"get":{"operationId":"AdminChallenge_findManyChallengeBets","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"string"}},{"name":"sortBy","required":true,"in":"query","schema":{"enum":["settledAt","multiplier"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"userId","required":false,"in":"query","schema":{"type":"string"}},{"name":"betId","required":false,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PaginatedDto"},{"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ChallengeBetDto"}},"total":{"type":"number"}}}]}}}}},"security":[{"bearer":[]}],"summary":"Returns eligible bets for the challenge. Default search by \"bet.settledAt ASC\". Old first","tags":["Admin Challenge API"]}},"/fast-track/userdetails/{userid}":{"get":{"operationId":"FastTrack_getUserDetails","parameters":[{"name":"userid","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackUserDetailsResponse"}}}}},"tags":["FastTrack"]}},"/fast-track/userblocks/{userid}":{"get":{"operationId":"FastTrack_getUserBlocks","parameters":[{"name":"userid","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackUserBlockResponse"}}}}},"tags":["FastTrack"]}},"/fast-track/userconsents/{userid}":{"get":{"operationId":"FastTrack_getUserConsents","parameters":[{"name":"userid","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackUserConsentsResponse"}}}}},"tags":["FastTrack"]}},"/fast-track/bonus/list":{"get":{"operationId":"FastTrack_getBonusList","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackBonusListResponse"}}}}},"tags":["FastTrack"]}},"/fast-track/bonus/credit":{"post":{"operationId":"FastTrack_creditBonus","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackBonusCreditBody"}}}},"responses":{"201":{"description":""}},"tags":["FastTrack"]}},"/fast-track/bonus/credit/funds":{"post":{"operationId":"FastTrack_creditBonusFunds","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackBonusCreditFundsBody"}}}},"responses":{"201":{"description":""}},"tags":["FastTrack"]}},"/fast-track/reconciliation":{"post":{"operationId":"FastTrack_reconciliation","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackBonusCreditFundsBody"}}}},"responses":{"201":{"description":""}},"tags":["FastTrack"]}},"/fast-track/integration/auth/get-fast-track-token":{"get":{"operationId":"FastTrackAuth_getAuthToken","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FastTrackAuthTokenDto"}}}}},"summary":"Get JWT token for FastTrack","tags":["FAST_TRACK external auth"]}},"/sportsbook/integration/{userId}/transactions/{transactionId}":{"get":{"operationId":"Sportbook_getTransactionById","parameters":[{"name":"transactionId","required":true,"in":"path","schema":{"type":"string"}},{"name":"incomingType","required":false,"in":"path","schema":{"enum":["deposit","withdrawal","rollback"],"type":"string"}},{"name":"betId","required":false,"in":"path","schema":{"type":"string"}},{"name":"userId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponseDto"}}}}},"summary":"Only for GR8.","tags":["Sportsbook external GR8"]}},"/sportsbook/integration/{userId}/transactions":{"post":{"operationId":"Sportbook_performTransaction","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionRequestDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionResponseDto"}}}}},"summary":"Only for GR8.","tags":["Sportsbook external GR8"]}},"/sportsbook/integration/{userId}/balance":{"get":{"operationId":"Sportbook_getUserBalance","parameters":[{"name":"userId","required":true,"in":"path","schema":{"type":"string"}},{"name":"currencies","required":false,"in":"query","schema":{"$ref":"#/components/schemas/Object"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSportsBookDeposit"}}}}},"summary":"Only for GR8.","tags":["Sportsbook external GR8"]}},"/sportsbook/integration/auth/get-sportsbook-token":{"get":{"operationId":"SportbookAuth_getAuthToken","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsbookAuthTokenDto"}}}}},"summary":"Get JWT token for sportsbook IFrame.","tags":["Sportsbook exteranal GR8 ( auth )"]}},"/sportsbook/integration/auth/get-sportsbook-public-key":{"get":{"operationId":"SportbookAuth_getPublicKey","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}},"summary":"Only for GR8. Cache - 15min","tags":["Sportsbook exteranal GR8 ( auth )"]}},"/coming-soon/stats":{"get":{"operationId":"ComingSoon_getComingSoonStats","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComingSoonStatsDto"}}}}},"security":[{"bearer":[]}],"tags":["Coming Soon API"]}},"/admin/bot-activity/all":{"get":{"operationId":"BotActivity_getAllBot","parameters":[{"name":"sortBy","required":true,"in":"query","schema":{"enum":["CREATED_AT","START_TIME"],"type":"string"}},{"name":"sortOrder","required":true,"in":"query","schema":{"enum":["asc","desc"],"type":"string"}},{"name":"type","required":true,"in":"query","schema":{"enum":["WHALE","MINNOWS","DOLPHIN"],"type":"string"}},{"name":"behavior","required":true,"in":"query","schema":{"enum":["STABLE","CHASER","HIGHROLLER","CASUAL","TRICKSTER"],"type":"string"}},{"name":"playDays","required":true,"in":"query","description":"Array of values: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY","schema":{"example":"[\"MONDAY\",\"TUESDAY\", ...]","type":"string"}},{"name":"username","required":false,"in":"query","schema":{"type":"string"}},{"name":"fromTime","required":false,"in":"query","schema":{"type":"string"}},{"name":"toTime","required":false,"in":"query","schema":{"type":"string"}},{"name":"isActive","required":true,"in":"query","schema":{"type":"string"}},{"name":"page","required":true,"in":"query","schema":{"minimum":1,"maximum":9007199254740991,"default":1,"type":"number"}},{"name":"take","required":true,"in":"query","schema":{"minimum":1,"maximum":20,"default":20,"type":"number"}}],"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["BotActivity"]}},"/admin/bot-activity/one/{id}":{"get":{"operationId":"BotActivity_getOneBot","parameters":[{"name":"id","required":true,"in":"path","schema":{"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object"}}}}},"security":[{"bearer":[]}],"tags":["BotActivity"]}},"/admin/bot-activity/manage":{"post":{"operationId":"BotActivity_createBot","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBotDto"}}}},"responses":{"201":{"description":""}},"security":[{"bearer":[]}],"tags":["BotActivity"]},"patch":{"operationId":"BotActivity_updateBot","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBotDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["BotActivity"]}},"/admin/bot-activity/bot-toggle":{"patch":{"operationId":"BotActivity_botToggle","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IsBotToggleDto"}}}},"responses":{"200":{"description":""}},"security":[{"bearer":[]}],"tags":["BotActivity"]}}},"info":{"title":"Evospin API","description":"","version":"1.0","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"SendNotificationRequestDto":{"type":"object","properties":{"userId":{"type":"number","example":null},"type":{"enum":["DepositProcessed","DepositConfirmed","DepositPending","DepositFailed","WithdrawalSuccess","WithdrawalDenied","WithdrawalProcessed","WithdrawalPending","TipsReceived","ChallengeReward","ChallengeRollback","LevelUp","ExceedMaxProfit","LevelUpWithBonus","CustomNotification","PromoClaimed","PromoActive","PromoComplete","PromoCanceled","PromoExpired"],"type":"string","example":"DepositSuccess"},"data":{"type":"object","example":{"message":"Test $amount for $currencyId deposit","decimals":{"amount":"123.20"},"strings":{"currencyId":"USDT"}}}},"required":["type","data"]},"UserStatsDto":{"type":"object","properties":{"totalWagered":{"type":"string","example":"1.25"},"totalPayouts":{"type":"string","example":"1.25"},"userId":{"type":"number"},"totalBets":{"type":"number"}},"required":["totalWagered","totalPayouts","userId","totalBets"]},"GatewayUserBase":{"type":"object","properties":{"exp":{"type":"string","example":"1.25"},"id":{"type":"number"},"stats":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/UserStatsDto"}}},"required":["id"]},"EventMessage":{"type":"object","properties":{"event":{"type":"string"},"room":{"type":"string"},"user":{"$ref":"#/components/schemas/GatewayUserBase"},"delayMs":{"type":"number"},"data":{"type":"object"},"timestamp":{"type":"number"},"windowId":{"type":"string"},"idempotencyKey":{"type":"string"},"accessToken":{"type":"string"},"traceId":{"type":"string"},"requestAppName":{"type":"string"},"responseAppName":{"type":"string"}},"required":["event","data"]},"UserRoleDto":{"type":"object","properties":{"role":{"type":"string","enum":["User","Admin","SuperAdmin"]},"userId":{"type":"number"}},"required":["role","userId"]},"UserKycDto":{"type":"object","properties":{"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"level":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"dateOfBirth":{"format":"date-time","type":"string","nullable":true},"countryCode":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"occupation":{"type":"string","nullable":true},"verificationPending":{"type":"boolean"},"userId":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["gender","level","firstName","lastName","dateOfBirth","countryCode","address","postalCode","city","occupation","verificationPending","userId","createdAt","updatedAt"]},"i":{"type":"object","properties":{}},"UserStatsUsdDto":{"type":"object","properties":{"totalWagered":{"type":"string","example":"1.25"},"totalPayouts":{"type":"string","example":"1.25"},"totalDeposits":{"type":"string","example":"1.25"},"totalWithdraws":{"type":"string","example":"1.25"},"ltv":{"type":"string","example":"1.25"},"ggr":{"type":"string","example":"1.25"},"totalLoss":{"type":"string","deprecated":true,"example":"1.25"},"totalBets":{"type":"number"},"firstDepositAt":{"format":"date-time","type":"string","nullable":true},"lastDepositAt":{"format":"date-time","type":"string","nullable":true},"lastWageredAt":{"format":"date-time","type":"string","nullable":true}},"required":["totalWagered","totalPayouts","totalDeposits","totalWithdraws","ltv","totalLoss","totalBets","firstDepositAt","lastDepositAt","lastWageredAt"]},"AffiliateCodeDto":{"type":"object","properties":{"id":{"type":"string"},"usersCount":{"type":"number"}},"required":["id"]},"BaseUserNoteDto":{"type":"object","properties":{"riskLevel":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH"]},"id":{"type":"number"},"note":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["riskLevel","id","note","createdAt","updatedAt"]},"UserPromoCodeShortDto":{"type":"object","properties":{"status":{"type":"string","enum":["CLAIMED","ACTIVE","COMPLETED","CANCELLED","EXPIRED"]},"id":{"type":"string"},"userId":{"type":"number"},"isActive":{"type":"boolean"},"promoCodeId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["status","id","userId","isActive","promoCodeId","createdAt","updatedAt"]},"UserDto":{"type":"object","properties":{"exp":{"type":"string","example":"1.25"},"permissions":{"type":"array","items":{"type":"string"}},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"username":{"type":"string"},"isPrivate":{"type":"boolean"},"email":{"type":"string","nullable":true},"emailVerified":{"type":"boolean"},"lastLoginAt":{"format":"date-time","type":"string"},"avatar":{"type":"string"},"mfaSecret":{"type":"string","nullable":true},"vipLevel":{"type":"number"},"steamId":{"type":"string","nullable":true},"steamTradeLink":{"type":"string","nullable":true},"googleEmail":{"type":"string","nullable":true},"isStreamer":{"type":"boolean"},"isStreamerMode":{"type":"boolean"},"isStaff":{"type":"boolean"},"isYoutuber":{"type":"boolean"},"canUseChat":{"type":"boolean"},"isBanned":{"type":"boolean"},"banReason":{"type":"string","nullable":true},"roles":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleDto"}},"kyc":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserKycDto"}]},"isEmailNotificationsEnabled":{"type":"boolean"},"customMinAffiliateLevel":{"type":"number"},"isTest":{"type":"boolean"},"isBot":{"type":"boolean"},"affiliateCodeId":{"type":"string","nullable":true},"usdBalance":{"$ref":"#/components/schemas/i"},"statsUsd":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserStatsUsdDto"}]},"isOnline":{"type":"boolean"},"mfaEnabled":{"type":"boolean"},"affiliateCodes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/AffiliateCodeDto"}},"notes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BaseUserNoteDto"}},"claimedPromoCodes":{"description":"@description Only active promo codes in the list.","type":"array","items":{"$ref":"#/components/schemas/UserPromoCodeShortDto"}}},"required":["exp","permissions","id","createdAt","updatedAt","username","isPrivate","email","emailVerified","lastLoginAt","avatar","mfaSecret","vipLevel","steamId","steamTradeLink","googleEmail","isStreamer","isStreamerMode","isStaff","isYoutuber","canUseChat","isBanned","banReason","roles","kyc","isEmailNotificationsEnabled","customMinAffiliateLevel","isTest","isBot","affiliateCodeId"]},"CreateTestUserRequestDto":{"type":"object","properties":{"createdAt":{"format":"date-time","type":"string"},"username":{"type":"string"},"isPrivate":{"type":"boolean"}},"required":["username","isPrivate"]},"TestUserActionDto":{"type":"object","properties":{"action":{"enum":["deposit","withdraw","place-bet"],"type":"string","example":"place-bet"},"gameSlug":{"type":"string","description":"[place-bet] Game slug","example":"plinko"},"amount":{"type":"string","description":"[deposit, withdraw, place-bet] Amount","example":"1.25"},"currencyId":{"type":"object","description":"[deposit, withdraw] Crypto currency id","example":"USDT"}},"required":["action","gameSlug","amount","currencyId"]},"ExecuteTestUserActionRequestDto":{"type":"object","properties":{"userId":{"type":"number"},"username":{"type":"string"},"actions":{"type":"array","items":{"$ref":"#/components/schemas/TestUserActionDto"}}},"required":["actions"]},"AuthSessionTokenDto":{"type":"object","properties":{"token":{"type":"string"},"expirationDate":{"format":"date-time","type":"string"}},"required":["token","expirationDate"]},"AuthSessionTokens":{"type":"object","properties":{"accessToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"},"refreshToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"},"socketToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"}},"required":["accessToken","refreshToken","socketToken"]},"Gr8AuthDto":{"type":"object","properties":{"clientId":{"type":"string"},"clientSecret":{"type":"string"},"xBrand":{"type":"string"},"xOperatorId":{"type":"string"}},"required":["clientId","clientSecret","xBrand","xOperatorId"]},"GetBetRequestDto":{"type":"object","properties":{"betId":{"type":"string"},"xBrand":{"type":"string"},"xOperatorId":{"type":"string"},"authorization":{"type":"string"}},"required":["betId","xBrand","xOperatorId","authorization"]},"NowpaymentWebhookPaymentFeeDto":{"type":"object","properties":{"currency":{"type":"object"},"depositFee":{"type":"number"},"withdrawalFee":{"type":"number"},"serviceFee":{"type":"number"}},"required":["currency","depositFee","withdrawalFee","serviceFee"]},"NowpaymentWebhookPaymentDto":{"type":"object","properties":{"payment_id":{"type":"number"},"parent_payment_id":{"type":"number","nullable":true},"invoice_id":{"type":"string","nullable":true},"payment_status":{"enum":["waiting","confirming","confirmed","sending","partially_paid","finished","failed","expired"],"type":"string"},"pay_address":{"type":"string"},"payin_extra_id":{"type":"string","nullable":true},"price_amount":{"type":"number"},"price_currency":{"enum":["USD","EUR"],"type":"string"},"pay_amount":{"type":"number"},"actually_paid":{"type":"number"},"actually_paid_at_fiat":{"type":"number"},"pay_currency":{"type":"object"},"order_id":{"type":"string","nullable":true},"order_description":{"type":"string","nullable":true},"purchase_id":{"type":"string","description":"Unique ID for each transaction. Even in context of one payment_id"},"outcome_amount":{"type":"number"},"outcome_currency":{"type":"object"},"payment_extra_ids":{"nullable":true,"type":"array","items":{"type":"string"}},"fee":{"$ref":"#/components/schemas/NowpaymentWebhookPaymentFeeDto"}},"required":["payment_id","parent_payment_id","invoice_id","payment_status","pay_address","payin_extra_id","price_amount","price_currency","pay_amount","actually_paid","actually_paid_at_fiat","pay_currency","order_id","order_description","purchase_id","outcome_amount","outcome_currency","payment_extra_ids","fee"]},"MessageDto":{"type":"object","properties":{"text":{"type":"string","description":"The message text to be sent via RabbitMQ","example":"Hello RabbitMQ!"},"metadata":{"type":"object","description":"Additional metadata for the message (optional)","example":{"priority":"high","tags":["notification","test"]}}},"required":["text"]},"MessageResponseDto":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates if the operation was successful","example":true},"result":{"type":"object","description":"The result returned from the message handler","example":{"received":true,"data":{"text":"Hello RabbitMQ!"}}}},"required":["success","result"]},"EventDto":{"type":"object","properties":{"event":{"type":"string","description":"The event name or description","example":"user.created"},"data":{"type":"object","description":"Event payload data","example":{"userId":"123","action":"signup"}}},"required":["event","data"]},"EventResponseDto":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates if the operation was successful","example":true}},"required":["success"]},"QueueInfoDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the queue","example":"main_queue"},"messageCount":{"type":"number","description":"Number of messages in the queue","example":5},"consumerCount":{"type":"number","description":"Number of consumers connected to the queue","example":2}},"required":["name","messageCount","consumerCount"]},"MessageContentDto":{"type":"object","properties":{"messageId":{"type":"string","description":"Unique identifier for the message","example":"msg-1"},"timestamp":{"type":"string","description":"Timestamp when the message was published","example":"2025-05-04T16:30:45.123Z"},"routingKey":{"type":"string","description":"Routing key used for the message","example":"message_pattern"},"exchange":{"type":"string","description":"Exchange the message was published to","example":"amq.topic"},"content":{"type":"object","description":"The message content/payload","example":{"text":"Hello RabbitMQ!","metadata":{"priority":"high","tags":["notification","test"]}}},"properties":{"type":"object","description":"Message properties and headers","example":{"contentType":"application/json","contentEncoding":"utf-8","headers":{"x-custom-header":"value"}}}},"required":["messageId","timestamp","routingKey","exchange","content","properties"]},"PurgeQueueResponseDto":{"type":"object","properties":{"success":{"type":"boolean","description":"Indicates if the operation was successful","example":true},"purgedCount":{"type":"number","description":"Number of messages purged from the queue","example":15},"queueName":{"type":"string","description":"Name of the queue that was purged","example":"main_queue"}},"required":["success","purgedCount","queueName"]},"NotificationDto":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"number"},"userId":{"type":"number"},"type":{"type":"string","enum":["DepositProcessed","DepositConfirmed","DepositPending","DepositFailed","WithdrawalSuccess","WithdrawalDenied","WithdrawalProcessed","WithdrawalPending","TipsReceived","ChallengeReward","ChallengeRollback","LevelUp","ExceedMaxProfit","LevelUpWithBonus","CustomNotification","PromoClaimed","PromoActive","PromoComplete","PromoCanceled","PromoExpired"]},"isNew":{"type":"boolean"},"content":{"type":"object"}},"required":["id","date","userId","type","isNew","content"]},"UserBalanceDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"usdAmount":{"type":"string","example":"1.25"},"updatedAt":{"format":"date-time","type":"string"}},"required":["currencyId","amount","usdAmount","updatedAt"]},"UserVaultBalanceDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"vaultAmount":{"type":"string","example":"1.25"},"usdAmount":{"type":"string","example":"1.25"},"updatedAt":{"format":"date-time","type":"string"}},"required":["currencyId","vaultAmount","updatedAt"]},"BalanceChangeVaultAmountDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"}},"required":["currencyId","amount"]},"UserVaultBalanceChangeDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"usdAmount":{"type":"string","example":"1.25"},"vaultAmount":{"type":"string","example":"1.25"},"beforeBalance":{"type":"string","example":"1.25"},"afterBalance":{"type":"string","example":"1.25"},"beforeVaultBalance":{"type":"string","example":"1.25"},"afterVaultBalance":{"type":"string","example":"1.25"},"updatedAt":{"format":"date-time","type":"string"}},"required":["currencyId","amount","usdAmount","vaultAmount","beforeBalance","afterBalance","beforeVaultBalance","afterVaultBalance","updatedAt"]},"PaginatedDto":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"}},"take":{"type":"number"},"page":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["data","take","page","total","totalPages"]},"TransactionPayload":{"type":"object","properties":{}},"TransactionDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"beforeBalance":{"type":"string","nullable":true,"example":"1.25"},"afterBalance":{"type":"string","nullable":true,"example":"1.25"},"originalId":{"type":"string","nullable":true,"description":"Id for the original transaction. Only for tag: ROLLBACK_BET"},"id":{"type":"string"},"currencyId":{"type":"object"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"adminUserId":{"type":"number","nullable":true},"status":{"type":"object"},"type":{"type":"object"},"notes":{"type":"string","nullable":true},"tag":{"type":"object"},"roundId":{"type":"string","nullable":true},"payload":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/TransactionPayload"}]},"slotOriginalId":{"type":"string","nullable":true}},"required":["amount","beforeBalance","afterBalance","originalId","id","currencyId","createdAt","updatedAt","userId","adminUserId","status","type","notes","tag","roundId","payload","slotOriginalId"]},"DateFilterDto":{"type":"object","properties":{"lt":{"format":"date-time","type":"string"},"gt":{"format":"date-time","type":"string"},"lte":{"format":"date-time","type":"string"},"gte":{"format":"date-time","type":"string"}}},"DecimalFilterDto":{"type":"object","properties":{"lt":{"type":"string","example":"1.25"},"gt":{"type":"string","example":"1.25"},"lte":{"type":"string","example":"1.25"},"gte":{"type":"string","example":"1.25"},"equals":{"type":"string","example":"1.25"}}},"TransactionFilterDto":{"type":"object","properties":{"type":{"type":"string","enum":["DEPOSIT","WITHDRAW","PREVENTING"]},"tag":{"type":"string","enum":["DEPOSIT","WITHDRAW","REFUND","PROMO","SYSTEM","AFFILIATE_CLAIMED","LEADERBOARD_PRIZE","BET","ROLLBACK_BET","TIP","ADMIN_TIP","VAULT","RAKEBACK","SPORTSBOOK_RESETTLE_BET","LOYALTY_BONUS","PM8_PROMO_WIN","PM8_TOURNAMENT_WIN","ST8_PROMO_CREDIT","CHALLENGE_REWARD"]},"createdAt":{"$ref":"#/components/schemas/DateFilterDto"},"userId":{"type":"number"},"amount":{"$ref":"#/components/schemas/DecimalFilterDto"}}},"FindManyTransactionsQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["CREATED_AT","TAG","AMOUNT"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"where":{"$ref":"#/components/schemas/TransactionFilterDto"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","page","take"]},"UserUsdBalanceAdminDto":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"}},"required":["usdAmount"]},"CurrencyDto":{"type":"object","properties":{"id":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"name":{"type":"string"},"digits":{"type":"number"}},"required":["id","name","digits"]},"Object":{"type":"object","properties":{}},"UserShortPublicDto":{"type":"object","properties":{"username":{"type":"string"},"isPrivate":{"type":"boolean"},"avatar":{"type":"string"},"vipLevel":{"type":"number"}},"required":["username","isPrivate","avatar","vipLevel"]},"GameIdentityImagesDto":{"type":"object","properties":{"imageUrl":{"type":"string"}},"required":["imageUrl"]},"GameIdentityShortDto":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"provider":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"images":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityImagesDto"}]}},"required":["name","slug","type"]},"BetPublicDto":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"},"usdPayout":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"status":{"type":"string","enum":["CREATED","SETTLED","ERROR","ROLLBACK"]},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"user":{"$ref":"#/components/schemas/UserShortPublicDto"},"gameIdentity":{"$ref":"#/components/schemas/GameIdentityShortDto"},"game":{"$ref":"#/components/schemas/GameIdentityShortDto"},"multiplier":{"type":"number"}},"required":["usdAmount","usdPayout","currencyId","amount","payout","status","id","createdAt","updatedAt","gameIdentity","multiplier"]},"PlinkoBetPayload":{"type":"object","properties":{"risk":{"type":"string","enum":["LOW","MEDIUM","HIGH"]},"rowsCount":{"type":"number"},"results":{"type":"array","items":{"type":"number"}}},"required":["risk","rowsCount","results"]},"LimboBetPayload":{"type":"object","properties":{"randomMultiplier":{"type":"number"},"userMultiplier":{"type":"number"}},"required":["randomMultiplier","userMultiplier"]},"KenoBetPayload":{"type":"object","properties":{"userSelected":{"type":"array","items":{"type":"number"}},"randomSelected":{"type":"array","items":{"type":"number"}},"risk":{"type":"string","enum":["CLASSIC","LOW","MEDIUM","HIGH"]}},"required":["userSelected","randomSelected","risk"]},"RouletteBetPayload":{"type":"object","properties":{}},"MinesBetPayload":{"type":"object","properties":{}},"BlackjackSideBetDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"outcome":{"enum":["PERFECT_PAIR","COLORED_PAIR","MIXED_PAIR","LOSS"],"type":"string"},"payout":{"type":"string","example":"1.25"},"multiplier":{"type":"number"}},"required":["amount","outcome","payout","multiplier"]},"BlackjackStateDto":{"type":"object","properties":{"insuranceStatus":{"enum":["INELIGIBLE","ELIGIBLE","BOUGHT_PAYS_OUT","BOUGHT_DOES_NOT_PAY_OUT","REJECTED"],"type":"string"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"originalBet":{"type":"string","example":"1.25"},"mainPlayerActions":{"type":"string","items":{"type":"string","enum":["HIT","STAND","DOUBLE_DOWN","SPLIT","BUY_INSURANCE","REJECT_INSURANCE"]},"enum":["HIT","STAND","DOUBLE_DOWN","SPLIT","BUY_INSURANCE","REJECT_INSURANCE"]},"mainHandOutcome":{"enum":["NONE","PENDING","BLACKJACK","WIN","PUSH","INSURED","LOSS"],"type":"string"},"splitPlayerActions":{"type":"string","items":{"type":"string","enum":["HIT","STAND","DOUBLE_DOWN","SPLIT","BUY_INSURANCE","REJECT_INSURANCE"]},"enum":["HIT","STAND","DOUBLE_DOWN","SPLIT","BUY_INSURANCE","REJECT_INSURANCE"]},"splitHandOutcome":{"enum":["NONE","PENDING","BLACKJACK","WIN","PUSH","INSURED","LOSS"],"type":"string"},"payout":{"type":"string","example":"1.25"},"dealerHand":{"type":"array","items":{"type":"number"}},"mainPlayerHand":{"type":"array","items":{"type":"number"}},"splitPlayerHand":{"type":"array","items":{"type":"number"}},"sideBet":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BlackjackSideBetDto"}]}},"required":["insuranceStatus","currencyId","originalBet","mainPlayerActions","mainHandOutcome","splitPlayerActions","splitHandOutcome","dealerHand","mainPlayerHand","splitPlayerHand","sideBet"]},"BlackjackGamePayload":{"type":"object","properties":{"deck":{"type":"array","items":{"type":"number"}},"gameState":{"$ref":"#/components/schemas/BlackjackStateDto"}},"required":["deck","gameState"]},"DiceBetPayload":{"type":"object","properties":{"randomValue":{"type":"number"},"threshold":{"type":"number"},"above":{"type":"boolean"},"didWin":{"type":"boolean"}},"required":["randomValue","threshold","above","didWin"]},"MonkeyRunBetPayload":{"type":"object","properties":{}},"ExtendedHouseGameBet":{"type":"object","properties":{"params":{"oneOf":[{"$ref":"#/components/schemas/PlinkoBetPayload"},{"$ref":"#/components/schemas/LimboBetPayload"},{"$ref":"#/components/schemas/KenoBetPayload"},{"$ref":"#/components/schemas/RouletteBetPayload"},{"$ref":"#/components/schemas/MinesBetPayload"},{"$ref":"#/components/schemas/BlackjackGamePayload"},{"$ref":"#/components/schemas/DiceBetPayload"}]},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"gameHashedServerSeed":{"type":"string"},"gameSeedNonce":{"type":"number"},"multiplier":{"type":"number"}},"required":["params","name","slug","type","gameHashedServerSeed","gameSeedNonce","multiplier"]},"HouseGameBetDetailsResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"betId":{"type":"string"},"settledAt":{"format":"date-time","type":"string","nullable":true},"game":{"$ref":"#/components/schemas/ExtendedHouseGameBet"},"user":{"$ref":"#/components/schemas/UserShortPublicDto"}},"required":["currencyId","amount","payout","betId","settledAt","game","user"]},"BasicSlotGameBet":{"type":"object","properties":{"multiplier":{"type":"number"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"image":{"type":"string","nullable":true},"provider":{"type":"object","properties":{"name":{"type":"string"},"image":{"type":"string","nullable":true}},"required":["name","image"]}},"required":["multiplier","name","slug","type","image"]},"SlotGameBetDetailsResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"betId":{"type":"string"},"settledAt":{"format":"date-time","type":"string","nullable":true},"game":{"$ref":"#/components/schemas/BasicSlotGameBet"},"user":{"$ref":"#/components/schemas/UserShortPublicDto"}},"required":["currencyId","amount","payout","betId","settledAt","game","user"]},"NumberFilterDto":{"type":"object","properties":{"lt":{"type":"number"},"gt":{"type":"number"},"lte":{"type":"number"},"gte":{"type":"number"},"equals":{"type":"number"}}},"IntFilterDto":{"type":"object","properties":{"lt":{"type":"number"},"gt":{"type":"number"},"lte":{"type":"number"},"gte":{"type":"number"},"equals":{"type":"number"}}},"StringFilterDto":{"type":"object","properties":{"mode":{"type":"string","enum":["default","insensitive"]},"equals":{"type":"string"},"in":{"type":"array","items":{"type":"string"}},"notIn":{"type":"array","items":{"type":"string"}},"lt":{"type":"string"},"lte":{"type":"string"},"gt":{"type":"string"},"gte":{"type":"string"},"contains":{"type":"string"},"startsWith":{"type":"string"},"endsWith":{"type":"string"},"not":{"type":"string"}}},"GameProviderFilterDto":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/IntFilterDto"},"slug":{"$ref":"#/components/schemas/StringFilterDto"}}},"GameIdentityFilterDto":{"type":"object","properties":{"providerId":{"$ref":"#/components/schemas/IntFilterDto"},"slug":{"$ref":"#/components/schemas/StringFilterDto"},"provider":{"$ref":"#/components/schemas/GameProviderFilterDto"}}},"BetsFilterDto":{"type":"object","properties":{"gameId":{"type":"number"},"status":{"type":"string","default":"SETTLED","enum":["CREATED","SETTLED","ERROR","ROLLBACK"]},"userId":{"type":"number"},"currencyId":{"type":"string","enum":["DBC"]},"multiplier":{"$ref":"#/components/schemas/NumberFilterDto"},"usdAmount":{"$ref":"#/components/schemas/DecimalFilterDto"},"usdPayout":{"$ref":"#/components/schemas/DecimalFilterDto"},"createdAt":{"$ref":"#/components/schemas/DateFilterDto"},"amount":{"$ref":"#/components/schemas/DecimalFilterDto"},"payout":{"$ref":"#/components/schemas/DecimalFilterDto"},"gameIdentity":{"$ref":"#/components/schemas/GameIdentityFilterDto"}}},"FindManyBetsAdminQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["CREATED_AT","MULTIPLIER","USD_AMOUNT","USD_PAYOUT"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"where":{"$ref":"#/components/schemas/BetsFilterDto"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","page","take"]},"CountryRegionDto":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"isBlocked":{"type":"boolean"},"countryCode":{"type":"string"}},"required":["name","code","isBlocked","countryCode"]},"CountryDto":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"dialCode":{"type":"string"},"isBlocked":{"type":"boolean"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/CountryRegionDto"}}},"required":["name","code","dialCode","isBlocked","regions"]},"AdminCountryDto":{"type":"object","properties":{"name":{"type":"string"},"code":{"type":"string"},"dialCode":{"type":"string"},"isBlocked":{"type":"boolean"}},"required":["name","code","dialCode","isBlocked"]},"AdminCountryStatsDto":{"type":"object","properties":{"total":{"type":"number"},"blocked":{"type":"number"},"allowed":{"type":"number"}},"required":["total","blocked","allowed"]},"UpdateCountryRestrictionDto":{"type":"object","properties":{"isBlocked":{"type":"boolean"}},"required":["isBlocked"]},"GeoCheckDto":{"type":"object","properties":{"countryName":{"type":"string"},"regionName":{"type":"string"},"isAllowed":{"type":"boolean"},"countryCode":{"type":"string"},"regionCode":{"type":"string"},"position":{"type":"array","items":{"type":"string"}},"ip":{"type":"string"}},"required":["isAllowed","ip"]},"SetSelfExcludeDto":{"type":"object","properties":{"excludeUntil":{"format":"date-time","type":"string"}},"required":["excludeUntil"]},"SelfExcludeDto":{"type":"object","properties":{"can":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string"}},"required":["can"]},"SetAdminUserExcludeDto":{"type":"object","properties":{"excludeUntil":{"format":"date-time","type":"string"},"userId":{"type":"number"}},"required":["excludeUntil","userId"]},"AdminUserSelfExclude":{"type":"object","properties":{"id":{"type":"number"},"userId":{"type":"number"},"expiresAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","userId","expiresAt","createdAt","updatedAt"]},"RmAdminUserExcludeDto":{"type":"object","properties":{"userId":{"type":"number"}},"required":["userId"]},"SetAdminUserLimitDto":{"type":"object","properties":{"betLimit":{"type":"string","example":"1.25"},"userId":{"type":"number"}},"required":["betLimit","userId"]},"AdminUserGamblingLimits":{"type":"object","properties":{"betLimit":{"type":"string","nullable":true,"example":"1.25"},"userId":{"type":"number"},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["betLimit","userId","id","createdAt","updatedAt"]},"UpdateMainGameGridDto":{"type":"object","properties":{"category":{"type":"string","enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]},"slugs":{"uniqueItems":true,"minItems":0,"type":"array","items":{"type":"string"}}},"required":["category","slugs"]},"SuccessResponse":{"type":"object","properties":{"success":{"type":"boolean"}},"required":["success"]},"GameProviderImagesDto":{"type":"object","properties":{"imageUrl":{"type":"string"}},"required":["imageUrl"]},"GameProviderDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"originName":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"slug":{"type":"string"},"prefix":{"type":"string"},"enabled":{"type":"boolean"},"gamesCount":{"type":"number"},"images":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameProviderImagesDto"}]},"customImages":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameProviderImagesDto"}]}},"required":["id","name","originName","createdAt","slug","prefix","enabled","images","customImages"]},"GgrFiatFixedDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currency":{"enum":["USD","EUR"],"type":"string"}},"required":["amount","currency"]},"GgrCommissionRulePayloadDto":{"type":"object","properties":{"sidebetPercent":{"type":"number"},"brandedPercent":{"type":"number"},"premiumPercent":{"type":"number"},"arcadePercent":{"type":"number"},"ukrainePercent":{"type":"number"},"jackpotGamesPercent":{"type":"number"},"fiatFixed":{"$ref":"#/components/schemas/GgrFiatFixedDto"}}},"SaveProviderGameGgrCommissionDto":{"type":"object","properties":{"category":{"type":"string","nullable":true,"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]},"ggrPercent":{"type":"string","description":"GGR commission rate % for each bet by provider","example":"1.25"},"providerId":{"type":"number"},"gameId":{"type":"number","nullable":true},"payload":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GgrCommissionRulePayloadDto"}]}},"required":["category","ggrPercent","providerId","gameId","payload"]},"GgrCommissionRuleDto":{"type":"object","properties":{"ggrPercent":{"type":"string","example":"1.25"},"category":{"type":"string","nullable":true,"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"providerId":{"type":"number"},"gameId":{"type":"number","nullable":true},"payload":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GgrCommissionRulePayloadDto"}]}},"required":["ggrPercent","category","id","createdAt","updatedAt","providerId","gameId","payload"]},"DeleteProviderGameGgrCommissionDto":{"type":"object","properties":{"category":{"type":"string","nullable":true,"enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]},"providerId":{"type":"number"},"gameId":{"type":"number","nullable":true}},"required":["category","providerId","gameId"]},"AnyRestrictionDto":{"type":"object","properties":{"blacklist":{"type":"array","items":{"type":"string"}}},"required":["blacklist"]},"RestrictionsDto":{"type":"object","properties":{"default":{"$ref":"#/components/schemas/AnyRestrictionDto"}},"required":["default"]},"GameIdentityInfoDto":{"type":"object","properties":{"title":{"type":"string"},"identifier":{"type":"string"},"isActive":{"type":"boolean"},"identifier2":{"type":"string"},"provider":{"type":"string"},"producer":{"type":"string"},"developer":{"type":"string"},"category":{"type":"string"},"theme":{"type":"string"},"themes":{"type":"array","items":{"type":"string"}},"features":{"type":"array","items":{"type":"string"}},"has_freespins":{"type":"boolean"},"feature_group":{"type":"string"},"customised":{"type":"boolean"},"devices":{"type":"array","items":{"type":"string"}},"licenses":{"type":"array","items":{"type":"string"}},"jackpot_type":{"type":"string"},"forbid_bonus_play":{"type":"boolean"},"payout":{"type":"number"},"volatility":{"type":"number"},"volatility_rating":{"type":"string"},"bonus_types":{"type":"array","items":{"type":"string"}},"max_payout_coeff":{"type":"string"},"hit_ratio":{"type":"string"},"fun_mode":{"type":"boolean"},"release_date":{"type":"string"},"hd":{"type":"boolean"},"multiplier":{"type":"number"},"restrictions":{"$ref":"#/components/schemas/RestrictionsDto"}},"required":["payout"]},"GameIdentitySettingsDto":{"type":"object","properties":{}},"PromoGameWhitelistDto":{"type":"object","properties":{"maxBetAmount":{"type":"string","example":"1.25"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"promoCodeId":{"type":"string"},"gameId":{"type":"number"},"wagerMultiplier":{"type":"number"},"enabled":{"type":"boolean"}},"required":["maxBetAmount","id","createdAt","updatedAt","promoCodeId","gameId","wagerMultiplier","enabled"]},"GameIdentityDto":{"type":"object","properties":{"type":{"type":"string","enum":["SLOTS","HOUSE_GAME","EVO_GAME","SPORTSBOOK"]},"categories":{"type":"array","items":{"type":"string","enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]}},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"addedAt":{"format":"date-time","type":"string"},"lastPlayedAt":{"format":"date-time","type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"providerId":{"type":"number"},"walletId":{"type":"string","nullable":true},"provider":{"$ref":"#/components/schemas/GameProviderDto"},"enabled":{"type":"boolean"},"tags":{"type":"array","items":{"type":"string"}},"originalSlug":{"type":"string"},"info":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityInfoDto"}]},"settings":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentitySettingsDto"}]},"images":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityImagesDto"}]},"customImages":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityImagesDto"}]},"promoGameWhitelist":{"type":"array","items":{"$ref":"#/components/schemas/PromoGameWhitelistDto"}}},"required":["type","categories","id","createdAt","addedAt","lastPlayedAt","slug","name","providerId","walletId","provider","enabled","tags","originalSlug","info","settings","images","customImages","promoGameWhitelist"]},"PlinkoGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"manualMs":{"type":"number","minimum":0},"autoMs":{"type":"number","minimum":0}},"required":["minBet","maxBet","maxProfit","manualMs","autoMs"]},"DiceGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"rtp":{"type":"number","minimum":0,"maximum":1},"maxMultiplier":{"type":"number","minimum":1}},"required":["minBet","maxBet","maxProfit","rtp","maxMultiplier"]},"MinesGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"rtp":{"type":"number","minimum":0,"maximum":1}},"required":["minBet","maxBet","maxProfit","rtp"]},"MonkeyRunGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"rtp":{"type":"number","minimum":0,"maximum":1},"maxMultiplier":{"type":"number","minimum":1}},"required":["minBet","maxBet","maxProfit","rtp","maxMultiplier"]},"LimboGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"maxMultiplier":{"type":"number","minimum":0},"minMultiplier":{"type":"number","minimum":0},"rtp":{"type":"number","minimum":0,"maximum":1}},"required":["minBet","maxBet","maxProfit","maxMultiplier","minMultiplier","rtp"]},"RouletteGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"}},"required":["minBet","maxBet","maxProfit"]},"KenoGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"rtp":{"type":"number","minimum":0,"maximum":1}},"required":["minBet","maxBet","maxProfit","rtp"]},"SpeedRouletteStateDurationConfig":{"type":"object","properties":{"ACCEPTING_BETS":{"type":"number"},"WAITING_BLOCK":{"type":"number"},"ROLLING":{"type":"number"},"FINISHED":{"type":"number"},"ERROR":{"type":"number"}},"required":["ACCEPTING_BETS","WAITING_BLOCK","ROLLING","FINISHED","ERROR"]},"SpeedRouletteGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"timeConfig":{"example":{"ACCEPTING_BETS":15000,"WAITING_BLOCK":2000,"ROLLING":7000,"FINISHED":3000,"ERROR":1000},"allOf":[{"$ref":"#/components/schemas/SpeedRouletteStateDurationConfig"}]}},"required":["minBet","maxBet","maxProfit","timeConfig"]},"UpdateHouseGameSettingsDto":{"type":"object","properties":{"plinko":{"$ref":"#/components/schemas/PlinkoGameConfigDto"},"dice":{"$ref":"#/components/schemas/DiceGameConfigDto"},"mines":{"$ref":"#/components/schemas/MinesGameConfigDto"},"monkey-run":{"$ref":"#/components/schemas/MonkeyRunGameConfigDto"},"limbo":{"$ref":"#/components/schemas/LimboGameConfigDto"},"roulette":{"$ref":"#/components/schemas/RouletteGameConfigDto"},"keno":{"$ref":"#/components/schemas/KenoGameConfigDto"},"blackjack":{"$ref":"#/components/schemas/RouletteGameConfigDto"},"speed-roulette":{"$ref":"#/components/schemas/SpeedRouletteGameConfigDto"}}},"UpdateGameIdentityDto":{"type":"object","properties":{"category":{"type":"string","enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]},"rtp":{"type":"number","minimum":50,"maximum":100},"enabled":{"type":"boolean"}}},"GameProviderPublicDto":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"prefix":{"type":"string"},"slug":{"type":"string"},"originName":{"type":"string","nullable":true},"gamesCount":{"type":"number"},"images":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameProviderImagesDto"}]}},"required":["id","name","prefix","slug","originName","images"]},"GameIdentityPublicDto":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"string","enum":["HOUSE_GAME","SLOTS","LIVE_CASINO","BLACKJACK","ROULETTE","GAME_SHOWS","BACCARAT","VIDEO_POKER","CARD","CASUAL","LOTTERY","LIVE","POKER","CRAPS","FISHING","CRASH","VIRTUAL_SPORTS","SCRATCH","BOOKMAKER"]}},"id":{"type":"number"},"addedAt":{"format":"date-time","type":"string"},"lastPlayedAt":{"format":"date-time","type":"string"},"type":{"type":"object"},"slug":{"type":"string"},"name":{"type":"string"},"images":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityImagesDto"}]},"info":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GameIdentityInfoDto"}]},"provider":{"$ref":"#/components/schemas/GameProviderPublicDto"},"isFavorite":{"type":"boolean"}},"required":["categories","id","addedAt","lastPlayedAt","type","slug","name","images","info","provider"]},"GameIdentityMainPublicResponseDto":{"type":"object","properties":{"HOUSE_GAME":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"SLOTS":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"LIVE_CASINO":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"BLACKJACK":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"ROULETTE":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"GAME_SHOWS":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"BACCARAT":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"VIDEO_POKER":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"CARD":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"CASUAL":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"LOTTERY":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"LIVE":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"POKER":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"CRAPS":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"FISHING":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"CRASH":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"VIRTUAL_SPORTS":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"SCRATCH":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}},"NEW_RELEASES":{"type":"array","items":{"$ref":"#/components/schemas/GameIdentityPublicDto"}}}},"ResultResponse":{"type":"object","properties":{"result":{"type":"string"}},"required":["result"]},"ChangePasswordRequest":{"type":"object","properties":{"oldPassword":{"type":"string","maxLength":48},"newPassword":{"type":"string","maxLength":48}},"required":["oldPassword","newPassword"]},"ForgotPasswordRequestDto":{"type":"object","properties":{"userEmail":{"type":"string","maxLength":48,"format":"email"}},"required":["userEmail"]},"ResetPasswordRequestDto":{"type":"object","properties":{"token":{"type":"string","maxLength":2048},"newPassword":{"type":"string","maxLength":48}},"required":["token","newPassword"]},"MfaAuthGenerateResponse":{"type":"object","properties":{"secret":{"type":"string"},"authUrl":{"type":"string"}},"required":["secret","authUrl"]},"MfaAuthVerifyRequestDto":{"type":"object","properties":{"otpPassword":{"type":"string","maxLength":32},"mfaSecret":{"type":"string","maxLength":128}},"required":["otpPassword","mfaSecret"]},"EnableUserMfaResponseDto":{"type":"object","properties":{"recoveryCodes":{"type":"array","items":{"type":"string"}}},"required":["recoveryCodes"]},"UserKycPublicDto":{"type":"object","properties":{"level":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"dateOfBirth":{"format":"date-time","type":"string","nullable":true},"countryCode":{"type":"string","nullable":true},"verificationPending":{"type":"boolean"}},"required":["level","firstName","lastName","dateOfBirth","countryCode","verificationPending"]},"PublicUserDto":{"type":"object","properties":{"exp":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"username":{"type":"string"},"isPrivate":{"type":"boolean"},"isStreamerMode":{"type":"boolean"},"vipLevel":{"type":"number"},"email":{"type":"string","nullable":true},"googleEmail":{"type":"string","nullable":true},"steamId":{"type":"string","nullable":true},"steamTradeLink":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"roles":{"type":"array","items":{"type":"object"}},"permissions":{"type":"array","items":{"type":"string"}},"isBanned":{"type":"boolean"},"emailVerified":{"type":"boolean"},"emailVerificationPending":{"type":"boolean"},"kyc":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserKycPublicDto"}]},"isEmailNotificationsEnabled":{"type":"boolean"},"intercomToken":{"type":"string"},"mfaEnabled":{"type":"boolean"}},"required":["exp","createdAt","username","isPrivate","isStreamerMode","vipLevel","email","googleEmail","steamId","steamTradeLink","avatar","roles","permissions","isBanned","emailVerified","emailVerificationPending","kyc","isEmailNotificationsEnabled","mfaEnabled"]},"UserMyStatsDto":{"type":"object","properties":{"totalWagered":{"type":"string","example":"1.25"},"totalPayouts":{"type":"string","example":"1.25"},"totalDeposits":{"type":"string","example":"1.25"},"totalWithdraws":{"type":"string","example":"1.25"},"ltv":{"type":"string","example":"1.25"},"totalLoss":{"type":"string","example":"1.25"},"withdrawalLimit":{"type":"string","example":"1.25"},"totalBets":{"type":"number"},"joined":{"format":"date-time","type":"string"},"referredCode":{"type":"string","nullable":true}},"required":["totalWagered","totalPayouts","totalDeposits","totalWithdraws","ltv","totalLoss","withdrawalLimit","totalBets","joined"]},"UserPublicStatsDto":{"type":"object","properties":{"exp":{"type":"string","nullable":true,"example":"1.25"},"totalWagered":{"type":"string","nullable":true,"example":"1.25"},"isPrivate":{"type":"boolean"},"username":{"type":"string"},"avatar":{"type":"string"},"vipLevel":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"totalBets":{"type":"number","nullable":true}},"required":["exp","totalWagered","isPrivate","username","avatar","vipLevel","createdAt","totalBets"]},"UpdateUserDto":{"type":"object","properties":{"isPrivate":{"type":"boolean"},"isStreamerMode":{"type":"boolean"},"isEmailNotificationsEnabled":{"type":"boolean"},"steamTradeLink":{"type":"string","pattern":"STEAM_TRADE_LINK_REGEX"}}},"UserStatsUsdFilterDto":{"type":"object","properties":{"totalWagered":{"$ref":"#/components/schemas/DecimalFilterDto"},"ltv":{"$ref":"#/components/schemas/DecimalFilterDto"}}},"UserBalanceEvoFilterDto":{"type":"object","properties":{"amount":{"$ref":"#/components/schemas/DecimalFilterDto"}}},"UserFilterDto":{"type":"object","properties":{"vipLevel":{"$ref":"#/components/schemas/IntFilterDto"},"statsUsd":{"$ref":"#/components/schemas/UserStatsUsdFilterDto"},"balanceEvo":{"$ref":"#/components/schemas/UserBalanceEvoFilterDto"},"createdAt":{"$ref":"#/components/schemas/DateFilterDto"}}},"GetAllUsersDto":{"type":"object","properties":{"sortBy":{"type":"string","enum":["id","username","email","createdAt","totalWagered","totalLoss","ggr","vipLevel","ltv","balance","lastLoginAt"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"isBanned":{"type":"boolean"},"withPermissions":{"type":"boolean","default":false},"withRoles":{"type":"boolean","default":false},"withNotes":{"type":"boolean","default":true},"role":{"type":"string","enum":["User","Admin","SuperAdmin"]},"withBalance":{"type":"boolean","default":false},"withStatsUsd":{"type":"boolean","default":false},"search":{"type":"string"},"where":{"$ref":"#/components/schemas/UserFilterDto"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","withPermissions","withRoles","withNotes","withBalance","withStatsUsd","page","take"]},"CreateAdminUserDto":{"type":"object","properties":{"username":{"type":"string"},"password":{"type":"string"},"email":{"type":"string","format":"email"},"permissions":{"default":[],"type":"array","items":{"type":"string"}}},"required":["username","password","permissions"]},"AdminLogResponseDto":{"type":"object","properties":{"userId":{"type":"number","nullable":true},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"method":{"type":"string"},"url":{"type":"string"},"userAgent":{"type":"string","nullable":true},"ipAddress":{"type":"string","nullable":true},"status":{"type":"number"},"response":{"type":"object"},"durationMs":{"type":"number","nullable":true},"requestBody":{"type":"object"},"user":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"},"lastLoginAt":{"format":"date-time","type":"string"},"avatar":{"type":"string","nullable":true}},"required":["id","username","lastLoginAt","avatar"]}},"required":["userId","id","createdAt","method","url","userAgent","ipAddress","status","response","durationMs","requestBody","user"]},"UserShortInfoDto":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"},"email":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true}},"required":["id","username","email","avatar"]},"UsersTransactionsStatsResponseDto":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"},"user":{"$ref":"#/components/schemas/UserShortInfoDto"},"count":{"type":"number"}},"required":["usdAmount","user","count"]},"UpdateUserByAdminDto":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":16,"pattern":"NO_SPECIAL_CHARS_REGEX","example":"swagger"},"isStaff":{"type":"boolean"},"isYoutuber":{"type":"boolean"},"customMinAffiliateLevel":{"type":"number"},"isTest":{"type":"boolean"},"isStreamer":{"type":"boolean"},"canUseChat":{"type":"boolean"},"isPrivate":{"type":"boolean"},"isStreamerMode":{"type":"boolean"},"isEmailNotificationsEnabled":{"type":"boolean"},"steamTradeLink":{"type":"string","pattern":"STEAM_TRADE_LINK_REGEX"}}},"UserBanDto":{"type":"object","properties":{"banReason":{"type":"string"}},"required":["banReason"]},"UpdateUserBalanceDto":{"type":"object","properties":{"balance":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]}},"required":["balance","currencyId"]},"UpdateUserRolesDto":{"type":"object","properties":{"roles":{"type":"string","enum":["User","Admin","SuperAdmin"]}},"required":["roles"]},"UpdateUserPermissionsDto":{"type":"object","properties":{"permissions":{"type":"string","enum":["user.view","user.edit","user.ban","user.transactions.view","user.bets.view","geo.view","geo.edit","withdrawals.view","withdrawals.block","withdrawals.unblock","withdrawals.approve","withdrawals.reject","withdrawals.retry","dashboard.view","faq.edit","deposits.view","leaderboard.edit","leaderboard.view","leaderboard.give-prize","api-key.edit","api-key.view","system.logger","chat.admin-action","user-note.edit","user-note.view","user-note.delete","user-limit.view","user-limit.edit","user-limit.delete","casino.games.view","casino.games.edit","casino.games.commission.edit","rakebacks.view","affiliate.levels.view","affiliate.users.view","affiliate.find-one.view","affiliate.find-one-stats.view","tip.view","admin-tips.view","admin-tips.tip","admin-tips.deduct-balance","admin-users.view-admin-audit","registration-info.view","transaction.view","affiliate.view","affiliate.streamer.view","affiliate-code.delete","affiliate-code.create","balance.view","kyc.view","kyc.edit","promo.code.view","promo.code.edit","challenge.view","challenge.edit","challenge.action","vip.application.action","vip.application.view","casino-bot.management","casino-bot.view"]}},"required":["permissions"]},"UpdateSingleRoleUserDto":{"type":"object","properties":{"username":{"type":"string"},"role":{"type":"object"}},"required":["username","role"]},"UserAdminStatsDto":{"type":"object","properties":{"totalWagered":{"type":"string","example":"1.25"},"totalPayouts":{"type":"string","example":"1.25"},"totalDeposits":{"type":"string","example":"1.25"},"totalWithdraws":{"type":"string","example":"1.25"},"ltv":{"type":"string","example":"1.25"},"ggr":{"type":"string","example":"1.25"},"avgBet":{"type":"string","example":"1.25"},"netDeposit":{"type":"string","example":"1.25"},"totalLoss":{"type":"string","example":"1.25"},"totalBets":{"type":"number"},"rtp":{"type":"number"},"winRate":{"type":"number"}},"required":["totalWagered","totalPayouts","totalDeposits","totalWithdraws","ltv","ggr","avgBet","netDeposit","totalLoss","totalBets","rtp","winRate"]},"CreateNoteRequestDto":{"type":"object","properties":{"riskLevel":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH"]},"note":{"type":"string"},"userId":{"type":"number"}},"required":["note","userId"]},"UserShortPrivateDto":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"},"isPrivate":{"type":"boolean"},"avatar":{"type":"string"},"vipLevel":{"type":"number"},"isBanned":{"type":"boolean"}},"required":["id","username","isPrivate","avatar","vipLevel","isBanned"]},"UserNoteDto":{"type":"object","properties":{"riskLevel":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH"]},"id":{"type":"number"},"note":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdBy":{"$ref":"#/components/schemas/UserShortPrivateDto"},"user":{"$ref":"#/components/schemas/UserShortPrivateDto"}},"required":["riskLevel","id","note","createdAt","updatedAt","createdBy","user"]},"UpdateNoteRequestDto":{"type":"object","properties":{"riskLevel":{"type":"string","enum":["NONE","LOW","MEDIUM","HIGH"]},"id":{"type":"number"},"note":{"type":"string"}},"required":["id"]},"RegistrationInfoUserDto":{"type":"object","properties":{"affiliateCodeId":{"type":"string","nullable":true},"affiliateCode":{"type":"object","properties":{"owner":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"}},"selfRequired":true}},"required":["owner"]}},"required":["affiliateCodeId","affiliateCode"]},"RegistrationInfoDto":{"type":"object","properties":{"type":{"type":"string","enum":["LOCAL","GOOGLE","STEAM"]},"ipAddress":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"device":{"type":"string"},"countryCode":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"browser":{"type":"string"},"os":{"type":"string"},"deviceType":{"type":"string"},"userAgent":{"type":"string"},"referrer":{"type":"string","nullable":true},"user":{"$ref":"#/components/schemas/RegistrationInfoUserDto"}},"required":["type","ipAddress","createdAt","userId","device","countryCode","language","browser","os","deviceType","userAgent","referrer","user"]},"WithdrawalsBlockRequestDto":{"type":"object","properties":{"reason":{"type":"string","nullable":true,"minLength":1,"maxLength":200},"reasonPublic":{"type":"string","nullable":true,"minLength":1,"maxLength":200},"blockUntil":{"format":"date-time","type":"string","nullable":true}}},"WithdrawalsBlockDto":{"type":"object","properties":{"userId":{"type":"number"},"reason":{"type":"string","nullable":true},"reasonPublic":{"type":"string","nullable":true},"blockUntil":{"format":"date-time","type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string","nullable":true},"updatedAt":{"format":"date-time","type":"string","nullable":true}},"required":["userId"]},"AvailableNetworkProviderAliasDto":{"type":"object","properties":{}},"AvailableNetworksDto":{"type":"object","properties":{"id":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"isDepositEnabled":{"type":"boolean"},"isWithdrawEnabled":{"type":"boolean"},"providerAlias":{"$ref":"#/components/schemas/AvailableNetworkProviderAliasDto"}},"required":["id","isDepositEnabled","isWithdrawEnabled","providerAlias"]},"AvailableCurrencyNetworksDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"balanceCurrency":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"isEnabled":{"type":"boolean"},"networks":{"type":"array","items":{"$ref":"#/components/schemas/AvailableNetworksDto"}}},"required":["currencyId","balanceCurrency","isEnabled","networks"]},"NowpaymentWebhookWithdrawalDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"fee":{"type":"string","nullable":true,"example":"1.25"},"created_at":{"format":"date-time","type":"string"},"requested_at":{"format":"date-time","type":"string","nullable":true},"updated_at":{"format":"date-time","type":"string","nullable":true},"id":{"type":"string"},"batch_withdrawal_id":{"type":"string"},"status":{"type":"string","enum":["CREATING","PROCESSING","SENDING","FINISHED","FAILED","REJECTED"]},"error":{"type":"string","nullable":true},"currency":{"type":"object"},"address":{"type":"string"},"extra_id":{"type":"string","nullable":true},"hash":{"type":"string","nullable":true},"ipn_callback_url":{"type":"string"}},"required":["amount","fee","created_at","requested_at","updated_at","id","batch_withdrawal_id","status","error","currency","address","extra_id","hash","ipn_callback_url"]},"GetSkinDeckUserInventoryResponse":{"type":"object","properties":{"count":{"type":"number"},"inventory":{"type":"array","items":{"type":"string"}},"updatedAt":{"format":"date-time","type":"string"}},"required":["count","inventory","updatedAt"]},"SkinDeckOfferBody":{"type":"object","properties":{"price":{"type":"number","description":"Offer price"},"reference":{"type":"string","description":"Offer reference"}},"required":["price","reference"]},"CreateSkinDeckDepositBody":{"type":"object","properties":{"itemId":{"type":"string","description":"Item ID"},"offer":{"description":"Offer","allOf":[{"$ref":"#/components/schemas/SkinDeckOfferBody"}]}},"required":["itemId","offer"]},"SkinDeckOfferResponse":{"type":"object","properties":{"price":{"type":"number"},"reference":{"type":"string"}},"required":["price","reference"]},"SkinDeckInventoryResponse":{"type":"object","properties":{"id":{"type":"string"},"encrypted_id":{"type":"string"},"type":{"type":"string"},"tradable":{"type":"boolean"},"name":{"type":"string"},"market_hash_name":{"type":"string"},"appid":{"type":"number"},"contextid":{"type":"number"},"accepted":{"type":"boolean"},"price":{"type":"number"},"offer":{"$ref":"#/components/schemas/SkinDeckOfferResponse"},"icon_url":{"type":"string"},"exterior":{"type":"string"},"rarity":{"type":"string"},"color":{"type":"string"},"phase":{"type":"string"}},"required":["id","encrypted_id","type","tradable","name","market_hash_name","appid","contextid","accepted","price","icon_url"]},"SkinDeckBotResponse":{"type":"object","properties":{"name":{"type":"string"},"avatar":{"type":"string"},"joined":{"format":"date-time","type":"string"}},"required":["name","avatar","joined"]},"SkinDeckTradeResponse":{"type":"object","properties":{"_id":{"type":"string"},"type":{"type":"string","enum":["DEPOSIT","WITHDRAW"]},"merchantId":{"type":"string"},"traderId":{"type":"string"},"clientTradeUrl":{"type":"string"},"clientSteamID":{"type":"string"},"tradeBotId":{"type":"string"},"externalIdItemRecipient":{"type":"string"},"externalIdBalanceRecipient":{"type":"string"},"offerID":{"type":"string"},"status":{"type":"string","enum":["INITIATED","PENDING","ACTIVE","COMPLETED","FAILED","CANCELED"]},"item":{"$ref":"#/components/schemas/SkinDeckInventoryResponse"},"error":{"type":"string"},"readyAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"botInfo":{"$ref":"#/components/schemas/SkinDeckBotResponse"},"fhash":{"type":"string"}},"required":["_id","type","merchantId","traderId","clientTradeUrl","clientSteamID","tradeBotId","status","item"]},"CreateTradeResponse":{"type":"object","properties":{"trade":{"$ref":"#/components/schemas/SkinDeckTradeResponse"}},"required":["trade"]},"DepositPublicDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"status":{"type":"string","enum":["PENDING","CONFIRMED","COMPLETE","FAILED"]},"usdAmount":{"type":"string","example":"1.25"},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"id":{"type":"string"},"txHash":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"}},"required":["amount","currencyId","status","usdAmount","networkId","id","txHash","createdAt"]},"GenerateDepositAddressDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"}},"required":["currencyId","networkId","providerId"]},"DepositAddressDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"},"addressValidUntil":{"format":"date-time","type":"string","nullable":true,"description":"Only for CRYPTO_2"},"minAmount":{"type":"string","nullable":true,"description":"Only for CRYPTO_2","example":"1.25"},"minAmountUsd":{"type":"string","nullable":true,"description":"Only for CRYPTO_2","example":"1.25"},"address":{"type":"string"},"memo":{"type":"string","nullable":true}},"required":["currencyId","networkId","providerId","address","memo"]},"DepositDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"status":{"type":"string","enum":["PENDING","CONFIRMED","COMPLETE","FAILED"]},"usdAmount":{"type":"string","example":"1.25"},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"affiliateAmount":{"type":"string","nullable":true,"example":"1.25"},"depositBonus":{"type":"string","nullable":true,"example":"1.25"},"id":{"type":"string"},"txHash":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"payAddress":{"type":"string","nullable":true},"payMemo":{"type":"string","nullable":true},"user":{"$ref":"#/components/schemas/UserShortPrivateDto"},"affiliateCodeId":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"providerId":{"type":"object"},"transactionId":{"type":"string","nullable":true}},"required":["amount","currencyId","status","usdAmount","networkId","affiliateAmount","depositBonus","id","txHash","createdAt","userId","payAddress","payMemo","affiliateCodeId","externalId","providerId","transactionId"]},"UserStatsUsdForAffiliateDto":{"type":"object","properties":{"totalDeposits":{"type":"string","example":"1.25"},"totalWithdraws":{"type":"string","example":"1.25"},"totalWagered":{"type":"string","example":"1.25"},"ggr":{"type":"string","example":"1.25"},"depositCount":{"type":"number"},"firstDepositAt":{"format":"date-time","type":"string","nullable":true},"lastDepositAt":{"format":"date-time","type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"lastWageredAt":{"format":"date-time","type":"string","nullable":true}},"required":["totalDeposits","totalWithdraws","totalWagered","depositCount","firstDepositAt","lastDepositAt","createdAt","lastWageredAt"]},"AffiliateUserStatsUsdDto":{"type":"object","properties":{"claimableAmount":{"type":"string","example":"1.25"},"claimedAmount":{"type":"string","example":"1.25"}},"required":["claimableAmount","claimedAmount"]},"AffiliateUserStatsDto":{"type":"object","properties":{"claimableAmount":{"type":"string","example":"1.25"},"claimedAmount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]}},"required":["claimableAmount","claimedAmount","currencyId"]},"AffiliateUserDto":{"type":"object","properties":{"username":{"type":"string"},"avatar":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"affiliateCodeId":{"type":"string","nullable":true},"statsUsd":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserStatsUsdForAffiliateDto"}]},"affiliateUserStatsUsd":{"$ref":"#/components/schemas/AffiliateUserStatsUsdDto"},"affiliateUserStats":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateUserStatsDto"}},"isActive":{"type":"boolean"}},"required":["username","avatar","createdAt","affiliateCodeId","statsUsd","affiliateUserStats"]},"FindManyReferralsResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateUserDto"}},"take":{"type":"number"},"page":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["data","take","page","total","totalPages"]},"AffiliateOverviewDto":{"type":"object","properties":{"totalClaimedUsdAmount":{"type":"string","example":"1.25"},"claimableUsdAmount":{"type":"string","example":"1.25"},"totalWageredUsdAmount":{"type":"string","example":"1.25"},"referrals":{"type":"number"}},"required":["totalClaimedUsdAmount","claimableUsdAmount","totalWageredUsdAmount","referrals"]},"AffiliateLevelDto":{"type":"object","properties":{"minWageredUsdAmount":{"type":"string","example":"1.25"},"id":{"type":"number"},"commission":{"type":"string"},"name":{"type":"string"}},"required":["minWageredUsdAmount","id","commission","name"]},"AffiliateDto":{"type":"object","properties":{"usersWageredUsdAmount":{"type":"string","example":"1.25"},"referralCount":{"type":"number"},"activeReferrals":{"type":"number"},"canClaim":{"type":"boolean"},"currentLevel":{"$ref":"#/components/schemas/AffiliateLevelDto"},"nextLevel":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/AffiliateLevelDto"}]}},"required":["usersWageredUsdAmount","referralCount","activeReferrals","canClaim","currentLevel","nextLevel"]},"AffiliateLevel":{"type":"object","properties":{"minWageredUsdAmount":{"type":"string","example":"1.25"},"id":{"type":"number"},"name":{"type":"string"},"commission":{"type":"string"},"minReferralCountForClaim":{"type":"number"}},"required":["minWageredUsdAmount","id","name","commission","minReferralCountForClaim"]},"AdminAffiliateUsersAggregatedStatsDto":{"type":"object","properties":{"ggr":{"type":"string","example":"1.25"},"wageredUsdAmount":{"type":"string","example":"1.25"},"activeCount":{"type":"number"},"count":{"type":"number"}},"required":["ggr","wageredUsdAmount","activeCount","count"]},"AdminAffiliateDto":{"type":"object","properties":{"earnedCommissions":{"type":"string","example":"1.25"},"unclaimedCommissions":{"type":"string","example":"1.25"},"userId":{"type":"number"},"level":{"$ref":"#/components/schemas/AffiliateLevel"},"referrals":{"$ref":"#/components/schemas/AdminAffiliateUsersAggregatedStatsDto"},"user":{"$ref":"#/components/schemas/UserDto"}},"required":["earnedCommissions","unclaimedCommissions","userId","level","referrals","user"]},"FindManyAffiliateWhere":{"type":"object","properties":{"username":{"type":"string"}}},"FindManyAffiliateQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["userId","earnedCommissions","unclaimedCommissions","referralsCount","activeReferralsCount","referralsGgr","referralsWageredUsdAmount"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"where":{"$ref":"#/components/schemas/FindManyAffiliateWhere"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","page","take"]},"AdminAffiliateUserDto":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"},"avatar":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"affiliateCodeId":{"type":"string","nullable":true},"statsUsd":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserStatsUsdForAffiliateDto"}]},"affiliateUserStatsUsd":{"$ref":"#/components/schemas/AffiliateUserStatsUsdDto"},"affiliateUserStats":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateUserStatsDto"}},"isActive":{"type":"boolean"}},"required":["id","username","avatar","createdAt","affiliateCodeId","statsUsd","affiliateUserStats"]},"FindManyAffiliateUsersWhere":{"type":"object","properties":{"ownerId":{"type":"number"}},"required":["ownerId"]},"FindManyAffiliateUsersQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["CREATED_AT","CAMPAIGN","WAGERED_AMOUNT"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"where":{"$ref":"#/components/schemas/FindManyAffiliateUsersWhere"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","where","page","take"]},"FindOneAffiliateWhere":{"type":"object","properties":{"userId":{"type":"number"}},"required":["userId"]},"FindOneAffiliateQuery":{"type":"object","properties":{"where":{"$ref":"#/components/schemas/FindOneAffiliateWhere"}},"required":["where"]},"FindOneAffiliateStatsQuery":{"type":"object","properties":{"where":{"$ref":"#/components/schemas/FindOneAffiliateWhere"}},"required":["where"]},"AffiliateCodeCreateRequestDto":{"type":"object","properties":{"id":{"type":"string","description":"The code of the affiliate code"}},"required":["id"]},"DeleteAffiliateCodeByAdminQueryDto":{"type":"object","properties":{"id":{"type":"string","description":"The code of the affiliate code"}},"required":["id"]},"CreateAffiliateCodeByAdminQueryDto":{"type":"object","properties":{"id":{"type":"string","description":"The code of the affiliate code"},"userId":{"type":"number","description":"The id of the user to create the affiliate code for"}},"required":["id","userId"]},"AffiliateStreamerReferralsStatsDto":{"type":"object","properties":{"depositUsdAmount":{"type":"string","example":"1.25"},"ltv":{"type":"string","example":"1.25"},"wagerUsdAmount":{"type":"string","example":"1.25"},"ggr":{"type":"string","example":"1.25"},"count":{"type":"number"},"activeCount":{"type":"number"}},"required":["depositUsdAmount","ltv","wagerUsdAmount","ggr","count","activeCount"]},"AffiliateStreamerDto":{"type":"object","properties":{"fillsUsdAmount":{"type":"string","example":"1.25"},"profitLoss":{"type":"string","example":"1.25","description":"Referrals LTV - (minus) streamer total withdrawals"},"totalWithdraws":{"type":"string","example":"1.25"},"referralsStats":{"$ref":"#/components/schemas/AffiliateStreamerReferralsStatsDto"},"user":{"$ref":"#/components/schemas/UserDto"}},"required":["fillsUsdAmount","profitLoss","totalWithdraws","referralsStats","user"]},"FindManyAffiliateStreamerQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["referrals","activeReferrals","referralsDepositUsdAmount","referralsLtv","referralsGgr","referralsWagerUsdAmount","profitLoss","fillsUsdAmount","totalWithdraws"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","page","take"]},"FindManyAffiliateStreamerResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"}},"take":{"type":"number"},"page":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["data","take","page","total","totalPages"]},"AffiliateStreamerShortDto":{"type":"object","properties":{"level":{"$ref":"#/components/schemas/AffiliateLevel"},"codes":{"type":"array","items":{"$ref":"#/components/schemas/AffiliateCodeDto"}}},"required":["level","codes"]},"AffiliateStreamerReferralDto":{"type":"object","properties":{"exp":{"type":"string","example":"1.25"},"permissions":{"type":"array","items":{"type":"string"}},"isActive":{"type":"boolean"},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"username":{"type":"string"},"isPrivate":{"type":"boolean"},"email":{"type":"string","nullable":true},"emailVerified":{"type":"boolean"},"lastLoginAt":{"format":"date-time","type":"string"},"avatar":{"type":"string"},"mfaSecret":{"type":"string","nullable":true},"vipLevel":{"type":"number"},"steamId":{"type":"string","nullable":true},"steamTradeLink":{"type":"string","nullable":true},"googleEmail":{"type":"string","nullable":true},"isStreamer":{"type":"boolean"},"isStreamerMode":{"type":"boolean"},"isStaff":{"type":"boolean"},"isYoutuber":{"type":"boolean"},"canUseChat":{"type":"boolean"},"isBanned":{"type":"boolean"},"banReason":{"type":"string","nullable":true},"roles":{"type":"array","items":{"$ref":"#/components/schemas/UserRoleDto"}},"kyc":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserKycDto"}]},"isEmailNotificationsEnabled":{"type":"boolean"},"customMinAffiliateLevel":{"type":"number"},"isTest":{"type":"boolean"},"isBot":{"type":"boolean"},"affiliateCodeId":{"type":"string","nullable":true},"usdBalance":{"$ref":"#/components/schemas/i"},"statsUsd":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserStatsUsdDto"}]},"isOnline":{"type":"boolean"},"mfaEnabled":{"type":"boolean"},"affiliateCodes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/AffiliateCodeDto"}},"notes":{"nullable":true,"type":"array","items":{"$ref":"#/components/schemas/BaseUserNoteDto"}},"claimedPromoCodes":{"description":"@description Only active promo codes in the list.","type":"array","items":{"$ref":"#/components/schemas/UserPromoCodeShortDto"}}},"required":["exp","permissions","isActive","id","createdAt","updatedAt","username","isPrivate","email","emailVerified","lastLoginAt","avatar","mfaSecret","vipLevel","steamId","steamTradeLink","googleEmail","isStreamer","isStreamerMode","isStaff","isYoutuber","canUseChat","isBanned","banReason","roles","kyc","isEmailNotificationsEnabled","customMinAffiliateLevel","isTest","isBot","affiliateCodeId"]},"AffiliateStreamerReferralWhereAffiliateCode":{"type":"object","properties":{"id":{"type":"string"},"ownerId":{"type":"number"}}},"AffiliateStreamerReferralWhere":{"type":"object","properties":{"affiliateCode":{"$ref":"#/components/schemas/AffiliateStreamerReferralWhereAffiliateCode"}}},"FindManyAffiliateStreamerReferralQuery":{"type":"object","properties":{"sortBy":{"type":"string","enum":["CREATED_AT","TOTAL_DEPOSITS","TOTAL_WITHDRAWALS","TOTAL_WAGERED"]},"sortOrder":{"type":"string","enum":["asc","desc"]},"where":{"$ref":"#/components/schemas/AffiliateStreamerReferralWhere"},"page":{"type":"number","default":1,"minimum":1,"maximum":9007199254740991},"take":{"type":"number","default":20,"minimum":1,"maximum":20}},"required":["sortBy","sortOrder","page","take"]},"FindManyAffiliateStreamerReferralResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"string"}},"take":{"type":"number"},"page":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["data","take","page","total","totalPages"]},"AffiliateExternalReferralInfo":{"type":"object","properties":{"wagered":{"type":"string","example":"1.25"},"deposited":{"type":"string","example":"1.25"},"id":{"type":"number"},"username":{"type":"string"},"avatar":{"type":"string"}},"required":["wagered","deposited","id","username","avatar"]},"TrafficUserReg":{"type":"object","properties":{"provider":{"type":"string","enum":["TMT","XMR"]},"subId":{"type":"string"}},"required":["provider","subId"]},"AmountBalanceDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]}},"required":["amount","currencyId"]},"WithdrawCreateRequestDto":{"type":"object","properties":{"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"},"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"fromBalance":{"$ref":"#/components/schemas/AmountBalanceDto"},"recipientAddress":{"type":"string"},"recipientMemo":{"type":"string","nullable":true}},"required":["providerId","currencyId","networkId","fromBalance","recipientAddress","recipientMemo"]},"WithdrawPublicDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"status":{"type":"string","enum":["PENDING","PENDING","COMPLETE","DENIED","PENDING"]},"usdAmount":{"type":"string","example":"1.25"},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"]},"recipientAddress":{"type":"string"},"recipientMemo":{"type":"string","nullable":true},"confirmedAt":{"format":"date-time","type":"string","nullable":true},"updatedAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"txHash":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"}},"required":["amount","currencyId","status","usdAmount","networkId","providerId","recipientAddress","recipientMemo","confirmedAt","updatedAt","id","txHash","createdAt"]},"CheckWithdrawRequest":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"},"amount":{"type":"string","example":"1.25"}},"required":["currencyId","networkId","providerId","amount"]},"CheckWithdrawResponse":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"},"amount":{"type":"string","example":"1.25"},"receivingAmount":{"type":"string","example":"1.25"},"feeAmount":{"type":"string","example":"1.25"}},"required":["currencyId","networkId","providerId","amount","receivingAmount","feeAmount"]},"GetWithdrawLimitsResponse":{"type":"object","properties":{"currencyId":{"type":"string","enum":["BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"],"example":"CRYPTO"},"minUsdAmount":{"type":"string","example":"1.25"},"maxUsdAmount":{"type":"string","nullable":true,"example":"1.25"}},"required":["currencyId","networkId","providerId","minUsdAmount","maxUsdAmount"]},"WithdrawDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"status":{"type":"string","enum":["PENDING","CONFIRMED","COMPLETE","DENIED","FAILED"]},"usdAmount":{"type":"string","example":"1.25"},"networkId":{"type":"string","enum":["BSC","ETH","POLYGON","SOL","TRX","BTC","LTC","ARETH","OPTIMISM","TON","BASE","AVAX","OPBNB","ETH_SEPOLIA","SKINDECK"]},"providerId":{"type":"string","enum":["CCPAYMENT","NOWPAYMENTS","SKINDECK","TEST"]},"recipientAddress":{"type":"string"},"recipientMemo":{"type":"string","nullable":true},"confirmedAt":{"format":"date-time","type":"string","nullable":true},"confirmations":{"type":"number"},"rejectReason":{"type":"string","nullable":true},"updatedAt":{"format":"date-time","type":"string"},"transactionId":{"type":"string"},"id":{"type":"string"},"txHash":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"user":{"type":"object"},"confirmedByUser":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserShortPrivateDto"}]},"failedReason":{"type":"string","nullable":true},"confirmedByUserId":{"type":"number","nullable":true}},"required":["amount","currencyId","status","usdAmount","networkId","providerId","recipientAddress","recipientMemo","confirmedAt","confirmations","rejectReason","updatedAt","transactionId","id","txHash","createdAt","confirmedByUser","failedReason","confirmedByUserId"]},"WithdrawStatsDto":{"type":"object","properties":{"total":{"type":"number"},"waitingForApproval":{"type":"number"},"approved":{"type":"number"},"rejected":{"type":"number"},"failed":{"type":"number"}},"required":["total","waitingForApproval","approved","rejected","failed"]},"WithdrawApproveDto":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"WithdrawRejectDto":{"type":"object","properties":{"id":{"type":"string"},"rejectReason":{"type":"string"}},"required":["id","rejectReason"]},"WithdrawRetryDto":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]},"PlinkoBetRequestDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"risk":{"enum":["LOW","MEDIUM","HIGH"],"type":"string"},"rowsCount":{"type":"number","minimum":8,"maximum":16},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","risk","rowsCount"]},"PlinkoGameResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"multiplier":{"type":"number"},"results":{"type":"array","items":{"type":"number"}},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","createdAt","multiplier","results","betId"]},"PlinkoConfigResponseDto":{"type":"object","properties":{"manualMs":{"type":"number"},"autoMs":{"type":"number"},"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["manualMs","autoMs","minBet","maxProfit","maxBet"]},"UserInactiveFairnessSeedsDto":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"serverSeed":{"type":"string"},"hashedServerSeed":{"type":"string"},"clientSeed":{"type":"string"},"nonce":{"type":"number"}},"required":["id","createdAt","userId","serverSeed","hashedServerSeed","clientSeed","nonce"]},"UserFairnessSeedsActivePublicDto":{"type":"object","properties":{"clientSeed":{"type":"string"},"nonce":{"type":"number"},"hashedServerSeed":{"type":"string"},"nextHashedServerSeed":{"type":"string"}},"required":["clientSeed","nonce","hashedServerSeed","nextHashedServerSeed"]},"UpdateClientSeedsRequestDto":{"type":"object","properties":{"clientSeed":{"type":"string","maxLength":64}},"required":["clientSeed"]},"SignUpDto":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":16,"pattern":"NO_SPECIAL_CHARS_REGEX","example":"swagger"},"password":{"type":"string","maxLength":48,"pattern":"SPECIAL_CHARS_REGEX_FOR_PASSWORD","example":"Qwerty123-"},"email":{"type":"string","maxLength":48,"format":"email","example":"swagger@example.com"},"isEmailNotificationsEnabled":{"type":"boolean","example":true},"affiliateCode":{"type":"string","description":"The code of the affiliate code"},"language":{"type":"string","pattern":"LANGUAGE_REGEX"},"referrer":{"type":"string"}},"required":["username","password","email"]},"UserAuthDto":{"type":"object","properties":{"accessToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"},"refreshToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"},"socketToken":{"$ref":"#/components/schemas/AuthSessionTokenDto"}},"required":["accessToken","refreshToken","socketToken"]},"SignInDto":{"type":"object","properties":{"email":{"type":"string","example":"user@example.com","description":"email"},"password":{"type":"string","example":"password"}},"required":["email","password"]},"SignInResponseDto":{"type":"object","properties":{"accessToken":{"description":"If MFA passed or not enabled","allOf":[{"$ref":"#/components/schemas/AuthSessionTokenDto"}]},"refreshToken":{"description":"If MFA passed or not enabled","allOf":[{"$ref":"#/components/schemas/AuthSessionTokenDto"}]},"socketToken":{"description":"If MFA passed or not enabled","allOf":[{"$ref":"#/components/schemas/AuthSessionTokenDto"}]},"token":{"type":"string","example":"123456","description":"If MFA is required, this is the temporary user token for completing the MFA verification"},"requireMfa":{"type":"boolean","example":true,"description":"If MFA is required -> true. Otherwise undefined"},"provider":{"enum":["google","steam"],"type":"string","description":"If MFA required","example":"google"},"state":{"type":"string","description":"If MFA required"}}},"SetupUsernamePayloadDto":{"type":"object","properties":{"username":{"type":"string","minLength":3,"maxLength":16,"pattern":"NO_SPECIAL_CHARS_REGEX","example":"SpongeBob"},"email":{"type":"string","format":"email"},"language":{"type":"string","pattern":"LANGUAGE_REGEX"},"affiliateCode":{"type":"string"},"referrer":{"type":"string"}},"required":["username","email"]},"RedirectUrlDto":{"type":"object","properties":{"url":{"type":"string","description":"Redirect URL"}},"required":["url"]},"AuthCheckResult":{"type":"object","properties":{"_type":{"type":"string","default":"auth_check","enum":["client_room","client_message","auth_check","error"]},"valid":{"type":"boolean"},"user":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/GatewayUserBase"}]}},"required":["_type","valid"]},"VerifyMfaDto":{"type":"object","properties":{"token":{"type":"string","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEyLCJzS2V5IjoiNjE5M2ZjOWMtOTdjOS00ZGU1LTgxNTctMjM4YmQ2MTMxNzcwIiwic0lkIjoiYTRiYWIwZTItYTQzZC00MTAwLWE3YTctNGI1ODc5MmQ2ZWQ0IiwiaWF0IjoxNzM4OTQ3NjA1LCJleHAiOjE3Mzg5NDc5MDV9.qDy6cmpzYNw7264sKX_jhoRFpVHNqqIkKhgoGCqPXew","description":"Temporary user token for completing the MFA verification"},"mfaCode":{"type":"string","example":"123456","description":"MFA code of the user"},"provider":{"enum":["google","steam"],"type":"string","example":"google"},"state":{"type":"string"}},"required":["token","mfaCode"]},"UserSessionDto":{"type":"object","properties":{"ip":{"type":"string"},"isCurrent":{"type":"boolean"},"isActive":{"type":"boolean"},"sessionKey":{"type":"string"},"sessionId":{"type":"string"},"os":{"type":"string"},"browser":{"type":"string"},"device":{"type":"string"},"source":{"type":"string"},"countryCode":{"type":"string"},"regionCode":{"type":"string"},"lastActivity":{"format":"date-time","type":"string"}},"required":["ip","isCurrent","isActive","sessionKey","sessionId","os","browser","device","source","countryCode","regionCode","lastActivity"]},"CreateApiKeyRequest":{"type":"object","properties":{"userId":{"type":"number"}},"required":["userId"]},"ApiKeyResponse":{"type":"object","properties":{"id":{"type":"string"},"key":{"type":"string"},"userId":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","key","userId","createdAt","updatedAt"]},"UpdateUserKycDto":{"type":"object","properties":{"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"firstName":{"type":"string","minLength":1,"maxLength":50},"lastName":{"type":"string","minLength":1,"maxLength":50},"dateOfBirth":{"format":"date-time","type":"string"},"countryCode":{"type":"string","pattern":"/^[A-Z]{2}$/"},"address":{"type":"string","minLength":1,"maxLength":100},"postalCode":{"type":"string","minLength":2,"maxLength":10},"city":{"type":"string","minLength":1,"maxLength":50},"occupation":{"type":"string","minLength":1,"maxLength":50}},"required":["gender","firstName","lastName","dateOfBirth","countryCode","address","postalCode","city","occupation"]},"UpgradeUserKycRequestDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/UpdateUserKycDto"}}},"UserKycStatusDto":{"type":"object","properties":{"level":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"verificationPending":{"type":"boolean"},"token":{"type":"string","nullable":true}},"required":["level","verificationPending","token"]},"NewApplicationDto":{"type":"object","properties":{"levelName":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"applicantId":{"type":"string"},"inspectionId":{"type":"string"},"applicantType":{"type":"string"},"correlationId":{"type":"string"},"externalUserId":{"type":"number"},"type":{"type":"string"},"sandboxMode":{"type":"boolean"},"reviewStatus":{"type":"string"},"createdAtMs":{"type":"string"},"clientId":{"type":"string"}},"required":["levelName","applicantId","inspectionId","applicantType","correlationId","externalUserId","type","sandboxMode","reviewStatus","createdAtMs","clientId"]},"ApplicationReviewResult":{"type":"object","properties":{"reviewAnswer":{"type":"object"},"moderationComment":{"type":"string"},"clientComment":{"type":"string"},"reviewRejectType":{"type":"object"}},"required":["reviewAnswer"]},"ReviewedApplicationDto":{"type":"object","properties":{"levelName":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"applicantId":{"type":"string"},"inspectionId":{"type":"string"},"correlationId":{"type":"string"},"externalUserId":{"type":"number"},"type":{"type":"string"},"reviewResult":{"$ref":"#/components/schemas/ApplicationReviewResult"},"reviewStatus":{"type":"string"},"createdAtMs":{"type":"string"}},"required":["levelName","applicantId","inspectionId","correlationId","externalUserId","type","reviewResult","reviewStatus","createdAtMs"]},"UserKycVerificationRequestDto":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"number"},"kycLevel":{"type":"object"},"verdict":{"type":"object","nullable":true},"rejectType":{"type":"object","nullable":true},"moderationComment":{"type":"string","nullable":true},"clientComment":{"type":"string","nullable":true},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","userId","kycLevel","verdict","rejectType","moderationComment","clientComment","createdAt","updatedAt"]},"UserKycWithRequestsDto":{"type":"object","properties":{"gender":{"type":"string","enum":["MALE","FEMALE","OTHER"]},"level":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"dateOfBirth":{"format":"date-time","type":"string","nullable":true},"countryCode":{"type":"string","nullable":true},"address":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"occupation":{"type":"string","nullable":true},"verificationPending":{"type":"boolean"},"userId":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"kycVerificationRequests":{"type":"array","items":{"$ref":"#/components/schemas/UserKycVerificationRequestDto"}}},"required":["gender","level","firstName","lastName","dateOfBirth","countryCode","address","postalCode","city","occupation","verificationPending","userId","createdAt","updatedAt","kycVerificationRequests"]},"UpdateUserKycByAdminDto":{"type":"object","properties":{"firstName":{"type":"string","minLength":1,"maxLength":50},"lastName":{"type":"string","minLength":1,"maxLength":50},"dateOfBirth":{"format":"date-time","type":"string"},"address":{"type":"string","minLength":1,"maxLength":100},"city":{"type":"string","minLength":1,"maxLength":50}}},"UpdateUserKycLevelDto":{"type":"object","properties":{"level":{"type":"string","enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"verificationPending":{"type":"boolean"}},"required":["level","verificationPending"]},"LoggerDto":{"type":"object","properties":{"level":{"type":"object"},"expiresAt":{"type":"string","nullable":true}},"required":["level","expiresAt"]},"SetLogLevelDto":{"type":"object","properties":{"level":{"type":"object"},"ttlSeconds":{"type":"number"}},"required":["level"]},"LeaderboardPrizeConfigDto":{"type":"object","properties":{"position":{"type":"number","minimum":1,"maximum":50},"usdPrize":{"type":"number","minimum":0}},"required":["position","usdPrize"]},"LeaderboardConfigDto":{"type":"object","properties":{"prizes":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardPrizeConfigDto"}}},"required":["prizes"]},"LeaderboardUserPublicDto":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"},"position":{"type":"number","nullable":true},"id":{"type":"string"},"user":{"$ref":"#/components/schemas/UserShortPublicDto"},"leaderboardId":{"type":"string"}},"required":["usdAmount","position","id","user","leaderboardId"]},"LeaderboardCurrentUserPublicDto":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"},"position":{"type":"number","nullable":true},"leftToReachNextLevel":{"type":"string","example":"1.25"},"id":{"type":"string"},"user":{"$ref":"#/components/schemas/UserShortPublicDto"},"leaderboardId":{"type":"string"}},"required":["usdAmount","position","id","user","leaderboardId"]},"LeaderboardPublicDto":{"type":"object","properties":{"type":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"]},"status":{"type":"string","enum":["NOT_STARTED","ACTIVE","ENDED","SETTLEMENT","FINISHED"]},"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/LeaderboardConfigDto"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"leaderboardUsers":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardUserPublicDto"}},"currentUser":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LeaderboardCurrentUserPublicDto"}]},"previousLeaderboard":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/LeaderboardPublicDto"}]}},"required":["type","status","id","name","description","config","startDate","endDate","leaderboardUsers"]},"LeaderboardScheduleConfigDto":{"type":"object","properties":{"type":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"]},"name":{"type":"string"},"description":{"type":"string"},"prizes":{"type":"array","items":{"type":"object"}}},"required":["type","name","description","prizes"]},"UserShortPrivate":{"type":"object","properties":{"username":{"type":"string"},"isPrivate":{"type":"boolean"},"avatar":{"type":"string"},"vipLevel":{"type":"number"},"isBanned":{"type":"boolean"}},"required":["username","isPrivate","avatar","vipLevel","isBanned"]},"LeaderboardUserDto":{"type":"object","properties":{"remainingUsdPrize":{"type":"string","example":"1.25"},"usdAmount":{"type":"string","example":"1.25"},"position":{"type":"number"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"leaderboardId":{"type":"string"},"isWinner":{"type":"boolean"},"isPrizeReceived":{"type":"boolean"},"user":{"$ref":"#/components/schemas/UserShortPrivate"}},"required":["remainingUsdPrize","usdAmount","id","createdAt","updatedAt","userId","leaderboardId","isWinner","isPrizeReceived","user"]},"LeaderboardDto":{"type":"object","properties":{"type":{"type":"string","enum":["DAILY","WEEKLY","MONTHLY"]},"status":{"type":"string","enum":["NOT_STARTED","ACTIVE","ENDED","SETTLEMENT","FINISHED"]},"id":{"type":"string"},"name":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"description":{"type":"string","nullable":true},"config":{"type":"object"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"scheduleId":{"type":"string","nullable":true},"leaderboardUsers":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardUserDto"}}},"required":["type","status","id","name","createdAt","updatedAt","description","config","startDate","endDate","scheduleId"]},"LeaderboardScheduleDto":{"type":"object","properties":{"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"enabled":{"type":"boolean"},"config":{"$ref":"#/components/schemas/LeaderboardScheduleConfigDto"},"leaderboards":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardDto"}}},"required":["id","createdAt","updatedAt","enabled","config","leaderboards"]},"UpdateLeaderboardScheduleRequest":{"type":"object","properties":{"enabled":{"type":"boolean"},"name":{"type":"string"},"description":{"type":"string"},"prizes":{"type":"array","items":{"$ref":"#/components/schemas/LeaderboardPrizeConfigDto"}}},"required":["enabled","name","description","prizes"]},"GivePrizeRequest":{"type":"object","properties":{"usdAmount":{"type":"string","example":"1.25"},"currency":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"],"description":"Choose wallet for giving prize. usdAmount will be converted to chosen currency"},"fullUsdAmount":{"type":"boolean"},"leaderboardId":{"type":"string"},"userId":{"type":"number"}},"required":["currency","leaderboardId","userId"]},"VipUserResponseDto":{"type":"object","properties":{"status":{"type":"object"},"name":{"type":"string"},"social":{"type":"string"},"transfer":{"type":"object","properties":{"wagger":{"type":"number"},"reasons":{"type":"string"},"playsWeek":{"type":"number"},"avgDeposit":{"type":"number"}},"required":["wagger","playsWeek","avgDeposit"]},"favorites":{"type":"string"},"imageUrl":{"type":"array","items":{"type":"string"}},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["status","name","social","createdAt","updatedAt"]},"VipApplicationDto":{"type":"object","properties":{"social":{"enum":["DISCORD","TELEGRAM","WHATSAPP","X","EMAIL"],"type":"string"},"name":{"type":"string","maxLength":100},"socialNick":{"type":"string","maxLength":100},"transferSite":{"type":"string"},"transferWagger":{"type":"number"},"transferReasons":{"type":"string","maxLength":300},"transferAvgDeposit":{"type":"number"},"transferPlaysWeek":{"type":"number"},"favoritesGames":{"type":"string","maxLength":300}},"required":["social","name","socialNick","transferSite","transferWagger","transferAvgDeposit","transferPlaysWeek"]},"VipApplicationAdminUpdateDto":{"type":"object","properties":{"status":{"type":"string","enum":["INBOX","ACTIVE","ONHOLD","REJECTED"]}},"required":["status"]},"ClientRoomResult":{"type":"object","properties":{"_type":{"type":"string","default":"client_room","enum":["client_room","client_message","auth_check","error"]},"action":{"type":"object"},"rooms":{"type":"array","items":{"type":"string"}}},"required":["_type","action","rooms"]},"FaqDto":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"text":{"type":"string"},"order":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","title","text","order","createdAt","updatedAt"]},"CreateFaqDto":{"type":"object","properties":{"title":{"type":"string"},"text":{"type":"string"}},"required":["title","text"]},"UpdateFaqDto":{"type":"object","properties":{"id":{"type":"number"},"title":{"type":"string"},"text":{"type":"string"},"order":{"type":"number"}},"required":["id"]},"DeleteFaqDto":{"type":"object","properties":{"id":{"type":"number"}},"required":["id"]},"TStatData":{"type":"object","properties":{"data":{"type":"string","example":"1.25"},"percent":{"type":"number"}},"required":["data"]},"StatModel":{"type":"object","properties":{"result":{"$ref":"#/components/schemas/TStatData"},"query":{"type":"string"}},"required":["result","query"]},"AdminUsersStatsDto":{"type":"object","properties":{"newUsers":{"$ref":"#/components/schemas/TStatData"},"totalUsers":{"$ref":"#/components/schemas/TStatData"},"onlineUsers":{"type":"number"},"restrictedUsers":{"type":"number"}},"required":["newUsers","totalUsers","onlineUsers","restrictedUsers"]},"ExchangeRatesDto":{"type":"object","properties":{"DBC":{"type":"string"},"EVO":{"type":"string"},"XRP":{"type":"string"},"BTC":{"type":"string"},"ETH":{"type":"string"},"LTC":{"type":"string"},"TRX":{"type":"string"},"POL":{"type":"string"},"USDT":{"type":"string"},"BNB":{"type":"string"},"SOL":{"type":"string"},"USDC":{"type":"string"},"TETH":{"type":"string"}},"required":["DBC","EVO","XRP","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","TETH"]},"TimeSeriesEntry":{"type":"object","properties":{"time":{"format":"date-time","type":"string"},"count":{"type":"number"}},"required":["time","count"]},"ActivePlayersMetrics":{"type":"object","properties":{"activePlayers":{"type":"number"},"activePlayersTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"casinoActivePlayersTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"sportActivePlayersTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["activePlayers","activePlayersTimeSeries","casinoActivePlayersTimeSeries","sportActivePlayersTimeSeries"]},"DepositMetrics":{"type":"object","properties":{"depositAmount":{"type":"number"},"depositAmountTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ratio":{"type":"number"},"ratioTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"withdrawalAmount":{"type":"number"}},"required":["depositAmount","depositAmountTimeSeries","ratio","ratioTimeSeries","withdrawalAmount"]},"RegistrationMetrics":{"type":"object","properties":{"registrationCount":{"type":"number"},"registrationTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"firstTimeDepositCount":{"type":"number"},"firstTimeDepositTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"firstTimeDepositPercent":{"type":"number"},"firstTimeDepositPercentTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["registrationCount","registrationTimeSeries","firstTimeDepositCount","firstTimeDepositTimeSeries","firstTimeDepositPercent","firstTimeDepositPercentTimeSeries"]},"TurnoverMetrics":{"type":"object","properties":{"atpu":{"type":"number"},"atpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"turnover":{"type":"number"},"turnoverTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"casinoTurnoverTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"sportTurnoverTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["atpu","atpuTimeSeries","turnover","turnoverTimeSeries","casinoTurnoverTimeSeries","sportTurnoverTimeSeries"]},"GgrMetrics":{"type":"object","properties":{"arpu":{"type":"number"},"arpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ggr":{"type":"number"},"ggrTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"sportGGRTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"casinoGGRTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["arpu","arpuTimeSeries","ggr","ggrTimeSeries","sportGGRTimeSeries","casinoGGRTimeSeries"]},"NgrMetrics":{"type":"object","properties":{"arpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"casinoNGR":{"type":"number"},"casinoNGRTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"sportNGR":{"type":"number"},"sportNGRTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["arpuTimeSeries","casinoNGR","casinoNGRTimeSeries","sportNGR","sportNGRTimeSeries"]},"DashboardMainStatsDto":{"type":"object","properties":{"activePlayersMetrics":{"$ref":"#/components/schemas/ActivePlayersMetrics"},"depositMetrics":{"$ref":"#/components/schemas/DepositMetrics"},"registrationMetrics":{"$ref":"#/components/schemas/RegistrationMetrics"},"turnoverMetrics":{"$ref":"#/components/schemas/TurnoverMetrics"},"ggrMetrics":{"$ref":"#/components/schemas/GgrMetrics"},"ngrMetrics":{"$ref":"#/components/schemas/NgrMetrics"}},"required":["activePlayersMetrics","depositMetrics","registrationMetrics","turnoverMetrics","ggrMetrics","ngrMetrics"]},"TypePieEntry":{"type":"object","properties":{"type":{"type":"string"},"value":{"type":"number"}},"required":["type","value"]},"GameTypeAnalytics":{"type":"object","properties":{"gameSlug":{"type":"string"},"gameType":{"type":"string"},"gameCategories":{"type":"array","items":{"type":"string"}},"providerName":{"type":"string"},"gameName":{"type":"string"},"activePlayers":{"type":"number"},"turnover":{"type":"number"},"atpu":{"type":"number"},"ggr":{"type":"number"},"arpu":{"type":"number"},"margin":{"type":"number"},"betCount":{"type":"number"},"abcpu":{"type":"number"},"averageBetSum":{"type":"number"},"ngr":{"type":"number"}},"required":["gameSlug","gameType","gameCategories","providerName","gameName","activePlayers","turnover","atpu","ggr","arpu","margin","betCount","abcpu","averageBetSum","ngr"]},"DashboardGameStatsDto":{"type":"object","properties":{"activePlayersTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"turnoverTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"arpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"atpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ggrTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ngrTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"gameTypeMarginPie":{"type":"array","items":{"$ref":"#/components/schemas/TypePieEntry"}},"gameTypeTurnoverPie":{"type":"array","items":{"$ref":"#/components/schemas/TypePieEntry"}},"ggrTopGameSlugAnalytics":{"type":"array","items":{"$ref":"#/components/schemas/GameTypeAnalytics"}},"ggrWorstGameSlugAnalytics":{"type":"array","items":{"$ref":"#/components/schemas/GameTypeAnalytics"}},"gameSlugAnalytics":{"type":"array","items":{"$ref":"#/components/schemas/GameTypeAnalytics"}},"activePlayers":{"type":"number"},"turnover":{"type":"number"},"atpu":{"type":"number"},"ggr":{"type":"number"},"arpu":{"type":"number"},"margin":{"type":"number"},"betCount":{"type":"number"},"abcpu":{"type":"number"},"averageBetSum":{"type":"number"},"ngr":{"type":"number"}},"required":["activePlayersTimeSeries","turnoverTimeSeries","arpuTimeSeries","atpuTimeSeries","ggrTimeSeries","ngrTimeSeries","gameTypeMarginPie","gameTypeTurnoverPie","ggrTopGameSlugAnalytics","ggrWorstGameSlugAnalytics","gameSlugAnalytics","activePlayers","turnover","atpu","ggr","arpu","margin","betCount","abcpu","averageBetSum","ngr"]},"DashboardTimeOptionDto":{"type":"object","properties":{"timeRange":{"type":"string","enum":["Today","Yesterday","Last7Days","ThisWeek","LastWeek","Last30Days","ThisMonth","LastMonth","ThisQuarter","LastQuarter","ThisYear","LastYear"]},"timeGroups":{"type":"array","items":{"type":"string","enum":["hour","day","week","month","quarter"]}}},"required":["timeRange","timeGroups"]},"DashboardGameAnalyticsDto":{"type":"object","properties":{"gameTypeMarginPie":{"type":"array","items":{"$ref":"#/components/schemas/TypePieEntry"}},"gameTypeTurnoverPie":{"type":"array","items":{"$ref":"#/components/schemas/TypePieEntry"}},"activePlayers":{"type":"number"},"turnover":{"type":"number"},"atpu":{"type":"number"},"ggr":{"type":"number"},"arpu":{"type":"number"},"margin":{"type":"number"},"betCount":{"type":"number"},"abcpu":{"type":"number"},"averageBetSum":{"type":"number"},"ngr":{"type":"number"}},"required":["gameTypeMarginPie","gameTypeTurnoverPie","activePlayers","turnover","atpu","ggr","arpu","margin","betCount","abcpu","averageBetSum","ngr"]},"DashboardCasinoAnalyticsDto":{"type":"object","properties":{"activePlayersTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"turnoverTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"arpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"atpuTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ggrTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}},"ngrTimeSeries":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesEntry"}}},"required":["activePlayersTimeSeries","turnoverTimeSeries","arpuTimeSeries","atpuTimeSeries","ggrTimeSeries","ngrTimeSeries"]},"CreateAdminTipDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"tag":{"type":"string","enum":["STREAM_FILL","VIDEO_FILL","PRIVATE_LB_PAYOUT","LOSSBACK","TWITTER_GIVEAWAY","DISCORD_GIVEAWAY","PRIVATE_GIVEAWAY","CUSTOM_DEPOSIT_BONUS","SALARY","TESTING","OTHER"]},"recipientUserId":{"type":"number"},"notes":{"type":"string","maxLength":300}},"required":["amount","currencyId","recipientUserId","notes"]},"AdminTipsUserDto":{"type":"object","properties":{"id":{"type":"number"},"username":{"type":"string"}},"required":["username"]},"AdminTipsDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"type":{"type":"string","enum":["DEDUCT_BALANCE","ADD_BALANCE"]},"tag":{"type":"string","enum":["STREAM_FILL","VIDEO_FILL","PRIVATE_LB_PAYOUT","LOSSBACK","TWITTER_GIVEAWAY","DISCORD_GIVEAWAY","PRIVATE_GIVEAWAY","CUSTOM_DEPOSIT_BONUS","SALARY","TESTING","OTHER"]},"id":{"type":"number"},"createdAt":{"format":"date-time","type":"string"},"sender":{"$ref":"#/components/schemas/AdminTipsUserDto"},"recipient":{"$ref":"#/components/schemas/AdminTipsUserDto"},"notes":{"type":"string"}},"required":["currencyId","amount","type","tag","id","createdAt","sender","recipient","notes"]},"TipDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"amount":{"type":"string","example":"1.25"},"id":{"type":"number"},"isPublic":{"type":"boolean"},"createdAt":{"format":"date-time","type":"string"},"sender":{"$ref":"#/components/schemas/UserShortPublicDto"},"recipient":{"$ref":"#/components/schemas/UserShortPublicDto"}},"required":["currencyId","amount","id","isPublic","createdAt","sender","recipient"]},"CreateTipDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"recipientUsername":{"type":"string"},"isPublic":{"type":"boolean"}},"required":["amount","currencyId","recipientUsername","isPublic"]},"FindManyTipResponseDto":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TipDto"}},"take":{"type":"number"},"page":{"type":"number"},"total":{"type":"number"},"totalPages":{"type":"number"}},"required":["data","take","page","total","totalPages"]},"RakebackDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"payout":{"type":"string","example":"1.25"},"didWin":{"type":"boolean"}},"required":["amount","currencyId"]},"RakebackInstantDto":{"type":"object","properties":{"rakeback":{"type":"array","items":{"$ref":"#/components/schemas/RakebackDto"}}},"required":["rakeback"]},"RakebackWithPeriodDto":{"type":"object","properties":{"rakeback":{"type":"array","items":{"$ref":"#/components/schemas/RakebackDto"}},"nextOpenAt":{"format":"date-time","type":"string"}},"required":["rakeback","nextOpenAt"]},"FindOneRakebackResponseDto":{"type":"object","properties":{"instant":{"$ref":"#/components/schemas/RakebackInstantDto"},"daily":{"$ref":"#/components/schemas/RakebackWithPeriodDto"},"weekly":{"$ref":"#/components/schemas/RakebackWithPeriodDto"},"monthly":{"$ref":"#/components/schemas/RakebackWithPeriodDto"}},"required":["instant","daily","weekly","monthly"]},"RakebackClaimRequestDto":{"type":"object","properties":{"type":{"enum":["INSTANT","DAILY","WEEKLY","MONTHLY"],"type":"string"},"double":{"type":"boolean"}},"required":["type"]},"RakebackClaimResponseDto":{"type":"object","properties":{"rakeback":{"type":"array","items":{"$ref":"#/components/schemas/RakebackDto"}}},"required":["rakeback"]},"FindManyRakebackWhere":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"userId":{"type":"number"}},"required":["userId"]},"FindManyRakebackQuery":{"type":"object","properties":{"where":{"$ref":"#/components/schemas/FindManyRakebackWhere"}},"required":["where"]},"AdminRakebackDto":{"type":"object","properties":{"instantClaimable":{"type":"string","example":"1.25"},"instantTotalClaimed":{"type":"string","example":"1.25"},"dailyClaimable":{"type":"string","example":"1.25"},"dailyTotalClaimed":{"type":"string","example":"1.25"},"dailyAccumulated":{"type":"string","example":"1.25"},"weeklyClaimable":{"type":"string","example":"1.25"},"weeklyTotalClaimed":{"type":"string","example":"1.25"},"weeklyAccumulated":{"type":"string","example":"1.25"},"monthlyClaimable":{"type":"string","example":"1.25"},"monthlyTotalClaimed":{"type":"string","example":"1.25"},"monthlyAccumulated":{"type":"string","example":"1.25"},"userId":{"type":"number"},"currencyId":{"type":"object"},"updatedAt":{"format":"date-time","type":"string"}},"required":["instantClaimable","instantTotalClaimed","dailyClaimable","dailyTotalClaimed","dailyAccumulated","weeklyClaimable","weeklyTotalClaimed","weeklyAccumulated","monthlyClaimable","monthlyTotalClaimed","monthlyAccumulated","userId","currencyId","updatedAt"]},"AdminRakebackClaimableUsdDto":{"type":"object","properties":{"instant":{"type":"string","example":"1.25"},"daily":{"type":"string","example":"1.25"},"weekly":{"type":"string","example":"1.25"},"monthly":{"type":"string","example":"1.25"},"userId":{"type":"number"}},"required":["instant","daily","weekly","monthly","userId"]},"KenoBetRequestDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"risk":{"enum":["CLASSIC","LOW","MEDIUM","HIGH"],"type":"string"},"selected":{"description":"List of numbers","default":[4,7,9,34,13,12,39,0,10,15],"type":"array","items":{"type":"number"}},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","risk","selected"]},"KenoBetResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"multiplier":{"type":"number"},"results":{"type":"array","items":{"type":"number"}},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","createdAt","multiplier","results","betId"]},"KenoConfigResponseDto":{"type":"object","properties":{"multipliers":{"type":"object"},"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["multipliers","minBet","maxProfit","maxBet"]},"LimboBetRequestDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"multiplier":{"type":"number","minimum":1.01},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","multiplier"]},"LimboBetResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"multiplier":{"type":"number"},"randomMultiplier":{"type":"number"},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","createdAt","multiplier","randomMultiplier","betId"]},"LimboConfigResponseDto":{"type":"object","properties":{"maxMultiplier":{"type":"number"},"minMultiplier":{"type":"number"},"rtp":{"type":"number"},"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["maxMultiplier","minMultiplier","rtp","minBet","maxProfit","maxBet"]},"RouletteBetRequestDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"params":{"type":"object","example":{"halfValues":[{"amount":"0.01","half":"HIGH"},{"amount":"0.01","half":"LOW"}],"parityValues":[{"amount":"0.01","parity":"ODD"},{"amount":"0.02","parity":"EVEN"}],"colorValues":[{"amount":"0.02","color":"BLACK"}],"columnValues":[{"amount":"0.01","column":"BOTTOM"},{"amount":"0.01","column":"MIDDLE"},{"amount":"0.01","column":"TOP"}],"dozenValues":[{"amount":"0.01","dozen":"FIRST"}],"straightValues":[{"straightNumber":3,"amount":"0.01"},{"straightNumber":0,"amount":"0.01"},{"straightNumber":20,"amount":"0.01"},{"straightNumber":33,"amount":"0.01"},{"straightNumber":6,"amount":"0.01"},{"straightNumber":9,"amount":"0.01"},{"straightNumber":12,"amount":"0.01"},{"straightNumber":15,"amount":"0.01"}],"splitValues":[{"firstNumber":2,"secondNumber":3,"amount":"0.01"},{"firstNumber":1,"secondNumber":2,"amount":"0.01"}],"cornerValues":[{"firstNumber":2,"secondNumber":3,"thirdNumber":5,"fourthNumber":6,"amount":"0.01"},{"firstNumber":1,"secondNumber":2,"thirdNumber":4,"fourthNumber":5,"amount":"0.01"},{"firstNumber":31,"secondNumber":32,"thirdNumber":34,"fourthNumber":35,"amount":"0.01"},{"firstNumber":17,"secondNumber":18,"thirdNumber":20,"fourthNumber":21,"amount":"0.01"},{"firstNumber":11,"secondNumber":12,"thirdNumber":14,"fourthNumber":15,"amount":"0.01"},{"firstNumber":8,"secondNumber":9,"thirdNumber":11,"fourthNumber":12,"amount":"0.02"},{"firstNumber":7,"secondNumber":8,"thirdNumber":10,"fourthNumber":11,"amount":"0.01"},{"firstNumber":22,"secondNumber":23,"thirdNumber":25,"fourthNumber":26,"amount":"0.01"}],"streetValues":[{"street":[28,29,30],"amount":"0.01"}],"doubleStreetValues":[{"firstStreet":[25,26,27],"secondStreet":[28,29,30],"amount":"0.01"},{"firstStreet":[22,23,24],"secondStreet":[25,26,27],"amount":"0.01"},{"firstStreet":[16,17,18],"secondStreet":[19,20,21],"amount":"0.01"},{"firstStreet":[10,11,12],"secondStreet":[13,14,15],"amount":"0.01"}]},"description":"The parameters for placing a roulette bet"},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","params"]},"RouletteBetResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"randomPosition":{"type":"number"},"multiplier":{"type":"number"},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","createdAt","randomPosition","multiplier","betId"]},"RouletteConfigResponseDto":{"type":"object","properties":{"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["minBet","maxProfit","maxBet"]},"PlaceMinesBetDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"gridCellsCount":{"type":"number","enum":[25]},"bombsCount":{"type":"number","minimum":1},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","gridCellsCount","bombsCount"]},"HouseGameMinesBetInfo":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]}},"required":["amount","currencyId"]},"HouseGameMinesBoardWithMultipliers":{"type":"object","properties":{"currentMultiplier":{"type":"number"},"nextMultiplier":{"type":"number"},"cells":{"type":"object"},"openedCellsCount":{"type":"number"},"gridCellsCount":{"type":"number"},"bombsCount":{"type":"number"},"betInfo":{"$ref":"#/components/schemas/HouseGameMinesBetInfo"}},"required":["currentMultiplier","nextMultiplier","cells","openedCellsCount","gridCellsCount","bombsCount","betInfo"]},"OpenCellMinesDto":{"type":"object","properties":{"cellIndex":{"type":"number","minimum":0,"maximum":63},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["cellIndex"]},"OpenCellMinesResponseDto":{"type":"object","properties":{"currentMultiplier":{"type":"number"},"nextMultiplier":{"type":"number"}},"required":["currentMultiplier","nextMultiplier"]},"MinesGameResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"finishedAt":{"format":"date-time","type":"string"},"multiplier":{"type":"number"},"board":{"type":"object"},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","finishedAt","multiplier","board","betId"]},"OpenResponseDto":{"type":"object","properties":{"proceed":{"$ref":"#/components/schemas/OpenCellMinesResponseDto"},"finished":{"$ref":"#/components/schemas/MinesGameResponseDto"}}},"OpenCellAutoSpinMinesDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"gridCellsCount":{"type":"number","enum":[25]},"bombsCount":{"type":"number","minimum":1},"windowId":{"type":"string","minLength":5,"maxLength":15},"cellIndices":{"minItems":1,"uniqueItems":true,"type":"array","items":{"type":"number","maximum":63,"minimum":0}}},"required":["currencyId","betAmount","gridCellsCount","bombsCount","cellIndices"]},"BaseWindowIdDto":{"type":"object","properties":{"windowId":{"type":"string","minLength":5,"maxLength":15}}},"MinesConfigResponseDto":{"type":"object","properties":{"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["minBet","maxProfit","maxBet"]},"BetBlackjackDebugRequest":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"sideBetAmount":{"type":"string","description":"Side bet amount for Perfect Pair in {currencyId}","example":"1.25"},"deck":{"minItems":52,"maxItems":52,"description":"Deck of cards. Array of unique numbers 1 - 52.","example":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],"type":"array","items":{"type":"number"}},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","deck"]},"BlackjackActiveStateResponse":{"type":"object","properties":{"data":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BlackjackStateDto"}]}},"required":["data"]},"BetBlackjackRequest":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"sideBetAmount":{"type":"string","description":"Side bet amount for Perfect Pair in {currencyId}","example":"1.25"},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount"]},"HandleBlackjackActionRequest":{"type":"object","properties":{"action":{"enum":["HIT","STAND","DOUBLE_DOWN","SPLIT","BUY_INSURANCE","REJECT_INSURANCE"],"type":"string"},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["action"]},"BlackjackGameConfigDto":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"}},"required":["minBet","maxBet","maxProfit"]},"SpeedRouletteGamePublicDto":{"type":"object","properties":{"state":{"type":"string","enum":["ACCEPTING_BETS","WAITING_BLOCK","ROLLING","FINISHED","ERROR"]},"secret":{"type":"string","nullable":true},"color":{"type":"string","nullable":true,"enum":["RED","RED_BAIT","BLACK","BLACK_BAIT","GREEN"]},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"secretHash":{"type":"string"},"eosBlockNum":{"type":"number"},"eosBlockTimestamp":{"format":"date-time","type":"string"},"eosBlockId":{"type":"string","nullable":true},"roll":{"type":"number","nullable":true},"endedAt":{"format":"date-time","type":"string","nullable":true}},"required":["state","secret","color","id","createdAt","updatedAt","eosBlockNum","eosBlockTimestamp","eosBlockId","roll","endedAt"]},"PlayerBetsDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"color":{"type":"string","enum":["RED","RED_BAIT","BLACK","BLACK_BAIT","GREEN"]},"user":{"$ref":"#/components/schemas/UserShortPublicDto"},"currencyId":{"type":"string"},"gameId":{"type":"string"}},"required":["amount","color","user","currencyId","gameId"]},"SpeedRouletteStatDto":{"type":"object","properties":{"color":{"type":"string","enum":["RED","RED_BAIT","BLACK","BLACK_BAIT","GREEN"]},"count":{"type":"number"}},"required":["color","count"]},"SpeedRouletteGameRouletteInfoResponse":{"type":"object","properties":{"game":{"$ref":"#/components/schemas/SpeedRouletteGamePublicDto"},"usersBets":{"type":"array","items":{"$ref":"#/components/schemas/PlayerBetsDto"}},"latestStats":{"type":"array","items":{"$ref":"#/components/schemas/SpeedRouletteStatDto"}},"latestGames":{"type":"array","items":{"$ref":"#/components/schemas/SpeedRouletteGamePublicDto"}},"timeToNextBlockMs":{"type":"number"}},"required":["game","usersBets","latestStats","latestGames","timeToNextBlockMs"]},"SpeedRoulettePlaceBetRequest":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"color":{"type":"string","enum":["RED","RED_BAIT","BLACK","BLACK_BAIT","GREEN"]},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","color"]},"SpeedRoulettePlaceBetResponse":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"color":{"type":"string","enum":["RED","RED_BAIT","BLACK","BLACK_BAIT","GREEN"]}},"required":["currencyId","betAmount","color"]},"CommonResponseDto":{"type":"object","properties":{}},"DiceBetRequestDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"threshold":{"type":"number","minimum":0.01,"maximum":99.99},"above":{"type":"boolean"},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","threshold","above"]},"DiceBetResponseDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"payout":{"type":"string","example":"1.25"},"createdAt":{"format":"date-time","type":"string"},"multiplier":{"type":"number"},"above":{"type":"boolean"},"randomValue":{"type":"number"},"threshold":{"type":"number"},"didWin":{"type":"boolean"},"betId":{"type":"string"}},"required":["currencyId","betAmount","payout","createdAt","multiplier","above","randomValue","threshold","didWin","betId"]},"DiceConfigResponseDto":{"type":"object","properties":{"maxMultiplier":{"type":"number"},"rtp":{"type":"number"},"minBet":{"type":"number"},"maxProfit":{"type":"number"},"maxBet":{"type":"number"}},"required":["maxMultiplier","rtp","minBet","maxProfit","maxBet"]},"PlaceMonkeyRunBetDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","description":"Bet amount in {currencyId}","example":"1.25"},"difficulty":{"type":"string","enum":["EASY","MEDIUM","HARD","EXTREME"]},"windowId":{"type":"string","minLength":5,"maxLength":15}},"required":["currencyId","betAmount","difficulty"]},"MonkeyRunBetRespDto":{"type":"object","properties":{"difficulty":{"type":"string","enum":["EASY","MEDIUM","HARD","EXTREME"]},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"betAmount":{"type":"string","example":"1.25"},"cashOut":{"type":"string","example":"1.25"},"nextStepProfit":{"type":"string","example":"1.25"},"isFinished":{"type":"boolean"},"canCashOut":{"type":"boolean"},"multipliers":{"type":"array","items":{"$ref":"#/components/schemas/i"}},"step":{"type":"number"},"deadPoint":{"type":"number"}},"required":["difficulty","currencyId","betAmount","cashOut","nextStepProfit","isFinished","canCashOut","multipliers","step"]},"PlayMonkeyRunDto":{"type":"object","properties":{"windowId":{"type":"string","minLength":5,"maxLength":15},"makeStep":{"type":"number","minimum":1,"maximum":24}},"required":["makeStep"]},"MonkeyRunMultipliersResponse":{"type":"object","properties":{"minBet":{"type":"number","minimum":0,"description":"In USD"},"maxBet":{"type":"number","minimum":0,"description":"In USD"},"maxProfit":{"type":"number","minimum":0,"description":"In USD"},"difficulties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string","format":"decimal","example":"1.03"}},"example":{"EASY":["1.03","1.08","1.13"],"MEDIUM":["1.13","1.29","1.48"],"HARD":["1.24","1.56","2.00"],"EXTREME":["1.65","2.83","5.00"]}},"rtp":{"type":"number","minimum":0,"maximum":1},"maxMultiplier":{"type":"number","minimum":1}},"required":["minBet","maxBet","maxProfit","difficulties","rtp","maxMultiplier"]},"PromoCodePublicDto":{"type":"object","properties":{"type":{"type":"string","enum":["INSTANT","DEPOSIT"]},"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"minTotalWagerUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minTotalDepositUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minDepositUsdToActivate":{"type":"string","nullable":true,"example":"1.25"},"maxBonusUsdAmount":{"type":"string","nullable":true,"example":"1.25"},"wagerMultiplierToComplete":{"type":"string","nullable":true,"example":"1.25"},"wagerUsdAmountToComplete":{"type":"string","nullable":true,"example":"1.25"},"id":{"type":"string"},"publicContent":{"type":"object","nullable":true},"code":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"expiresAt":{"format":"date-time","type":"string","nullable":true},"minKYCLevelToClaim":{"type":"object","nullable":true},"minVipLevelToClaim":{"type":"number","nullable":true},"onlyZeroDepositsToClaim":{"type":"boolean","nullable":true},"timeSecondsToComplete":{"type":"number","nullable":true}},"required":["type","amount","currencyId","minTotalWagerUsdToClaim","minTotalDepositUsdToClaim","minDepositUsdToActivate","maxBonusUsdAmount","wagerMultiplierToComplete","wagerUsdAmountToComplete","id","publicContent","code","title","description","imageUrl","expiresAt","minKYCLevelToClaim","minVipLevelToClaim","onlyZeroDepositsToClaim","timeSecondsToComplete"]},"UserPromoCodeProgressPublicDto":{"type":"object","properties":{"bonusUsdAmount":{"type":"string","example":"1.25"},"baseUsdAmount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"wagerMultiplierToComplete":{"type":"string","example":"1.25"},"wagerUsdAmountToComplete":{"type":"string","example":"1.25"},"wageredUsdAmount":{"type":"string","example":"1.25"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"}},"required":["bonusUsdAmount","baseUsdAmount","currencyId","wagerMultiplierToComplete","wagerUsdAmountToComplete","wageredUsdAmount","id","createdAt","updatedAt","expiresAt"]},"UserPromoCodePublicDto":{"type":"object","properties":{"status":{"type":"string","enum":["CLAIMED","ACTIVE","COMPLETED","CANCELLED","EXPIRED"]},"id":{"type":"string"},"promoCode":{"$ref":"#/components/schemas/PromoCodePublicDto"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"userProgress":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserPromoCodeProgressPublicDto"}]}},"required":["status","id","promoCode","createdAt","updatedAt","userProgress"]},"ClaimPromoCodeBody":{"type":"object","properties":{"promoCodeId":{"type":"string"}}},"PromoCodeDto":{"type":"object","properties":{"type":{"type":"string","enum":["INSTANT","DEPOSIT"]},"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"isActive":{"type":"boolean","nullable":true},"minKYCLevelToClaim":{"type":"string","nullable":true,"enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"minTotalWagerUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minTotalDepositUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minDepositUsdToActivate":{"type":"string","nullable":true,"example":"1.25"},"maxBonusUsdAmount":{"type":"string","nullable":true,"example":"1.25"},"wagerMultiplierToComplete":{"type":"string","nullable":true,"example":"1.25"},"wagerUsdAmountToComplete":{"type":"string","nullable":true,"example":"1.25"},"claimedCount":{"type":"number","description":"Number of users who have claimed this promo code","example":10},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"createdById":{"type":"number"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"publicContent":{"type":"object","nullable":true},"isPublic":{"type":"boolean"},"code":{"type":"string"},"isHidden":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string","nullable":true},"claimsLeft":{"type":"number","nullable":true},"minVipLevelToClaim":{"type":"number","nullable":true},"onlyZeroDepositsToClaim":{"type":"boolean","nullable":true},"affiliateCodeToClaim":{"type":"string","nullable":true},"lockWithdrawOnClaimHours":{"type":"number","nullable":true},"autoVaultOnClaim":{"type":"boolean","nullable":true},"timeSecondsToComplete":{"type":"number","nullable":true},"bonusMultiplier":{"type":"number","nullable":true}},"required":["type","amount","currencyId","isActive","minKYCLevelToClaim","minTotalWagerUsdToClaim","minTotalDepositUsdToClaim","minDepositUsdToActivate","maxBonusUsdAmount","wagerMultiplierToComplete","wagerUsdAmountToComplete","id","createdAt","updatedAt","createdById","title","description","imageUrl","publicContent","isPublic","code","isHidden","expiresAt","claimsLeft","minVipLevelToClaim","onlyZeroDepositsToClaim","affiliateCodeToClaim","lockWithdrawOnClaimHours","autoVaultOnClaim","timeSecondsToComplete","bonusMultiplier"]},"UserPromoCodeProgressDto":{"type":"object","properties":{"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"bonusUsdAmount":{"type":"string","example":"1.25"},"baseUsdAmount":{"type":"string","example":"1.25"},"wagerMultiplierToComplete":{"type":"string","example":"1.25"},"wagerUsdAmountToComplete":{"type":"string","example":"1.25"},"wageredUsdAmount":{"type":"string","example":"1.25"},"ownUsdAmount":{"type":"string","example":"1.25"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"expiresAt":{"format":"date-time","type":"string"},"userId":{"type":"number"},"promoCodeId":{"type":"string"}},"required":["currencyId","bonusUsdAmount","baseUsdAmount","wagerMultiplierToComplete","wagerUsdAmountToComplete","wageredUsdAmount","ownUsdAmount","id","createdAt","updatedAt","expiresAt","userId","promoCodeId"]},"UserPromoCodeDto":{"type":"object","properties":{"status":{"type":"string","enum":["CLAIMED","ACTIVE","COMPLETED","CANCELLED","EXPIRED"]},"id":{"type":"string"},"userId":{"type":"number"},"isActive":{"type":"boolean"},"user":{"$ref":"#/components/schemas/UserShortPrivate"},"promoCodeId":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"promoCode":{"$ref":"#/components/schemas/PromoCodeDto"},"userProgress":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserPromoCodeProgressDto"}]}},"required":["status","id","userId","isActive","promoCodeId","createdAt","updatedAt","promoCode","userProgress"]},"AdminDeletePromoCodeDto":{"type":"object","properties":{"customDecreaseAmount":{"type":"string","example":"1.25"}},"required":["customDecreaseAmount"]},"CreateManyPromoCodesRequest":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"minKYCLevelToClaim":{"type":"string","nullable":true,"enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"minTotalWagerUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minTotalDepositUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"count":{"type":"number","minimum":1,"maximum":100},"title":{"type":"string"},"addTitleSeries":{"type":"boolean"},"isHidden":{"type":"boolean","nullable":true},"isActive":{"type":"boolean","nullable":true},"expiresAt":{"format":"date-time","type":"string","nullable":true},"minVipLevelToClaim":{"type":"number","nullable":true},"affiliateCodeToClaim":{"type":"string","nullable":true},"lockWithdrawOnClaimHours":{"type":"number","nullable":true}},"required":["amount","currencyId","minKYCLevelToClaim","minTotalWagerUsdToClaim","minTotalDepositUsdToClaim","count","title","addTitleSeries","isHidden","isActive","expiresAt","minVipLevelToClaim","affiliateCodeToClaim","lockWithdrawOnClaimHours"]},"CreatePromoFirstDepositRequest":{"type":"object","properties":{"minDepositUsdToActivate":{"type":"string","example":"1.25"},"maxBonusUsdAmount":{"type":"string","example":"1.25"},"title":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"publicContent":{"type":"object"},"isHidden":{"type":"boolean"},"isActive":{"type":"boolean"},"isPublic":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string","nullable":true},"lockWithdrawOnClaimHours":{"type":"number","nullable":true},"bonusMultiplier":{"type":"number"},"timeSecondsToComplete":{"type":"number"},"wagerMultiplierToComplete":{"type":"number"}},"required":["minDepositUsdToActivate","maxBonusUsdAmount","title","code","isHidden","isActive","isPublic","expiresAt","bonusMultiplier","timeSecondsToComplete","wagerMultiplierToComplete"]},"UpdatePromoFirstDepositRequest":{"type":"object","properties":{"minDepositUsdToActivate":{"type":"string","example":"1.25"},"maxBonusUsdAmount":{"type":"string","example":"1.25"},"title":{"type":"string"},"description":{"type":"string"},"code":{"type":"string"},"publicContent":{"type":"object"},"isHidden":{"type":"boolean"},"isActive":{"type":"boolean"},"isPublic":{"type":"boolean"},"expiresAt":{"format":"date-time","type":"string","nullable":true},"lockWithdrawOnClaimHours":{"type":"number","nullable":true},"bonusMultiplier":{"type":"number"},"timeSecondsToComplete":{"type":"number"},"wagerMultiplierToComplete":{"type":"number"}}},"GameWhitelistItem":{"type":"object","properties":{"wagerMultiplier":{"type":"number","description":"Default wager multiplier for the game - 1"},"maxBetAmount":{"type":"string","example":"1.25","description":"Default max bet amount for the game - 5.00"},"enabled":{"type":"boolean","description":"Default enabled status for the game - true"},"gameId":{"type":"number"}},"required":["enabled","gameId"]},"UpsertPromoGameWhitelistRequest":{"type":"object","properties":{"gameWhitelist":{"maxItems":50,"type":"array","items":{"$ref":"#/components/schemas/GameWhitelistItem"}}},"required":["gameWhitelist"]},"UpsertPromoCodeRequest":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"minKYCLevelToClaim":{"type":"string","nullable":true,"enum":["LEVEL_0","LEVEL_1","LEVEL_2","LEVEL_3","LEVEL_4"]},"minTotalWagerUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"minTotalDepositUsdToClaim":{"type":"string","nullable":true,"example":"1.25"},"title":{"type":"string"},"code":{"type":"string"},"isHidden":{"type":"boolean","nullable":true},"isActive":{"type":"boolean","nullable":true},"expiresAt":{"format":"date-time","type":"string","nullable":true},"claimsLeft":{"type":"number","nullable":true},"minVipLevelToClaim":{"type":"number","nullable":true},"affiliateCodeToClaim":{"type":"string","nullable":true},"lockWithdrawOnClaimHours":{"type":"number","nullable":true}},"required":["amount","currencyId","title","code","expiresAt"]},"ChallengePublicDto":{"type":"object","properties":{"minBetAmountUsd":{"type":"string","example":"1.25"},"rewardCurrency":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"rewardAmount":{"type":"string","example":"1.25"},"rewardUsdAmount":{"type":"string","nullable":true,"example":"1.25","description":"Challenge reward amount converted to USDT"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"minBetMultiplier":{"type":"number"},"title":{"type":"string","nullable":true},"betId":{"type":"string","nullable":true},"winner":{"nullable":true,"type":"object"},"targetGame":{"$ref":"#/components/schemas/GameIdentityPublicDto"},"imageUrl":{"type":"string"}},"required":["minBetAmountUsd","rewardCurrency","rewardAmount","id","createdAt","minBetMultiplier","betId","winner","targetGame","imageUrl"]},"ChallengeDto":{"type":"object","properties":{"minBetAmountUsd":{"type":"string","example":"1.25"},"rewardCurrency":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"rewardAmount":{"type":"string","example":"1.25"},"rewardUsdAmount":{"type":"string","nullable":true,"example":"1.25","description":"Challenge reward amount converted to USDT"},"validBetsCount":{"type":"number","description":"Number of valid bets for the challenge (Not implemented)","nullable":false},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"updatedAt":{"format":"date-time","type":"string"},"defaultTitle":{"type":"string"},"title":{"type":"string","nullable":true},"imageUrl":{"type":"string"},"creator":{"$ref":"#/components/schemas/UserShortPrivateDto"},"targetGame":{"$ref":"#/components/schemas/GameIdentityShortDto"},"isHidden":{"type":"boolean"},"minBetMultiplier":{"type":"number"},"winner":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserShortPrivateDto"}]},"winnerSelectedAt":{"format":"date-time","type":"string","nullable":true},"winnerConfirmedBy":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/UserShortPrivateDto"}]},"betId":{"type":"string","nullable":true}},"required":["minBetAmountUsd","rewardCurrency","rewardAmount","id","createdAt","updatedAt","defaultTitle","title","imageUrl","creator","targetGame","isHidden","minBetMultiplier","winner","winnerSelectedAt","winnerConfirmedBy","betId"]},"AwardWinnerRequestDto":{"type":"object","properties":{"betId":{"type":"string"},"sendNotification":{"type":"boolean"}},"required":["betId","sendNotification"]},"RollbackWinnerRequestDto":{"type":"object","properties":{"reason":{"type":"string","minLength":3},"withdrawLessIfNotEnoughBalance":{"type":"boolean"},"sendNotification":{"type":"boolean"}},"required":["reason","withdrawLessIfNotEnoughBalance","sendNotification"]},"CreateChallengeRequestDto":{"type":"object","properties":{"minBetAmountUsd":{"type":"string","example":"1.25"},"rewardCurrency":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"rewardAmount":{"type":"string","example":"1.25"},"gameSlug":{"type":"string"},"minBetMultiplier":{"type":"number"},"isHidden":{"type":"boolean"}},"required":["minBetAmountUsd","rewardCurrency","rewardAmount","gameSlug","minBetMultiplier","isHidden"]},"UpdateChallengeRequestDto":{"type":"object","properties":{"gameSlug":{"type":"string","description":"Game slug to identify the target game","example":"plinko"},"minBetAmountUsd":{"type":"string","example":"55.00","description":"Minimum bet amount in USD required to enter the challenge"},"minBetMultiplier":{"type":"number","description":"Minimum bet multiplier required to enter the challenge","example":1.2},"rewardCurrency":{"type":"string","enum":["DBC","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"],"description":"Currency symbol for the challenge reward","example":"USD"},"rewardAmount":{"type":"string","example":"100.00","description":"Amount of reward for the challenge in the specified currency"},"isHidden":{"type":"boolean","description":"Whether the challenge is hidden from public listings","example":false}}},"ChallengeBetDto":{"type":"object","properties":{"amount":{"type":"string","example":"1.25"},"currencyId":{"type":"string","enum":["DBC","EVO","BTC","ETH","LTC","TRX","POL","USDT","BNB","SOL","USDC","XRP","TETH"]},"usdAmount":{"type":"string","example":"1.25"},"usdPayout":{"type":"string","example":"1.25"},"id":{"type":"string"},"createdAt":{"format":"date-time","type":"string"},"settledAt":{"format":"date-time","type":"string","nullable":true},"gameIdentity":{"$ref":"#/components/schemas/GameIdentityShortDto"},"multiplier":{"type":"number"},"user":{"$ref":"#/components/schemas/UserShortPrivateDto"}},"required":["amount","currencyId","usdAmount","usdPayout","id","createdAt","settledAt","gameIdentity","multiplier","user"]},"FastTrackUserDetailsResponse":{"type":"object","properties":{"address":{"type":"string","default":""},"birth_date":{"type":"string","description":"ISO format.\n\"YYYY-MM-DD\"","default":""},"city":{"type":"string","default":""},"country":{"type":"string","description":"Country of Registration, in ISO alpha-2 format"},"currency":{"type":"string","description":"Currency code","default":"DBC"},"deleted_at":{"type":"string","description":"Date of player being deleted in RFC3339 format"},"email":{"type":"string"},"first_name":{"type":"string"},"is_blocked":{"type":"boolean","default":false},"is_excluded":{"type":"boolean","default":false},"language":{"type":"string","description":"Language Code"},"last_name":{"type":"string","default":""},"mobile":{"type":"string","description":"These values are not stored by us\nNumber without country code","default":""},"mobile_prefix":{"type":"string","description":"These values are not stored by us\nCountry Code","default":""},"origin":{"type":"string","description":"The Origin of the user\nexample: \"sub.example.com\"","default":"localhost:4000"},"postal_code":{"type":"string","default":""},"roles":{"description":"Roles on site","default":[],"type":"array","items":{"type":"string"}},"sex":{"type":"string","description":"example: \"Sex\"","default":""},"title":{"type":"string","description":"example: \"Mr\"","default":""},"user_id":{"type":"string"},"username":{"type":"string"},"verified_at":{"type":"string","description":"Date of player activating account or when KYC is completed in RFC3339 format"},"registration_code":{"type":"string","description":"example: \"Exclusive\"","default":""},"registration_date":{"type":"string"},"affiliate_reference":{"type":"string"},"market":{"type":"string","default":""}},"required":["address","birth_date","city","country","currency","email","first_name","is_blocked","is_excluded","language","last_name","mobile","mobile_prefix","origin","postal_code","roles","sex","title","user_id","username","registration_code","registration_date","affiliate_reference","market"]},"FastTrackUserBlock":{"type":"object","properties":{"active":{"type":"boolean","description":"Should return the blocked/excluded status of the player.","default":true},"type":{"type":"string","description":"The type of block applied on user.","default":"Blocked","enum":["Blocked","Excluded"]},"note":{"type":"string","description":"Return any note or comment related to the block.","default":""}},"required":["active","type","note"]},"FastTrackUserBlockResponse":{"type":"object","properties":{"blocks":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/FastTrackUserBlock"}}},"required":["blocks"]},"FastTrackСonsent":{"type":"object","properties":{"opted_in":{"type":"boolean"},"type":{"type":"object"}},"required":["opted_in","type"]},"FastTrackUserConsentsResponse":{"type":"object","properties":{"consents":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/FastTrackСonsent"}}},"required":["consents"]},"FastTrackBonusInfo":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"string"}},"required":["text","value"]},"FastTrackBonusListResponse":{"type":"object","properties":{"Data":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/FastTrackBonusInfo"}},"Success":{"type":"boolean"},"Errors":{"type":"array","items":{"type":"object"}}},"required":["Data","Success","Errors"]},"FastTrackBonusCreditBody":{"type":"object","properties":{"user_id":{"type":"string"},"bonus_code":{"type":"string"}},"required":["user_id","bonus_code"]},"FastTrackBonusCreditFundsBody":{"type":"object","properties":{"user_id":{"type":"string"},"bonus_code":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"}},"required":["user_id","bonus_code","amount","currency"]},"FastTrackAuthTokenDto":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"UserSportsBookDeposit":{"type":"object","properties":{"sport":{"type":"object"}},"required":["sport"]},"TransactionContext":{"type":"object","properties":{"bet":{"type":"object"},"product":{"type":"string"},"reason":{"type":"string","enum":["bet","settle","resettle","cancelsettle","sport rollback","partial settle","partial resettle","partial cancelsettle"]},"correlationId":{"type":"string"},"betId":{"type":"string"},"SportBonusOfferId":{"type":"string"},"SportBonusPlayerOfferId":{"type":"string"},"betAmount":{"type":"object"},"tax":{"type":"object"},"taxChanges":{"type":"object"},"parentId":{"type":"string"}},"required":["product","reason","correlationId","betId","betAmount","tax","taxChanges"]},"BalanceAmountDto":{"type":"object","properties":{"cash":{"type":"object"},"bonus":{"type":"object"},"locked":{"type":"object"}},"required":["cash","bonus","locked"]},"TransactionResponseDto":{"type":"object","properties":{"balances":{"$ref":"#/components/schemas/UserSportsBookDeposit"},"status":{"type":"boolean","default":true},"alreadyProcessed":{"type":"boolean","default":false},"id":{"type":"string"},"currency":{"type":"object"},"platform":{"type":"string"},"type":{"enum":["deposit","withdrawal","rollback"],"type":"string"},"initiatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"context":{"$ref":"#/components/schemas/TransactionContext"},"amountBreakdown":{"$ref":"#/components/schemas/BalanceAmountDto"}},"required":["balances","status","alreadyProcessed","id","currency","platform","type","initiatedAt","createdAt","context","amountBreakdown"]},"TransactionRequestDto":{"type":"object","properties":{"id":{"type":"string"},"currency":{"type":"object"},"platform":{"type":"string"},"type":{"type":"string","enum":["deposit","withdrawal","rollback"]},"initiatedAt":{"format":"date-time","type":"string"},"createdAt":{"format":"date-time","type":"string"},"context":{"$ref":"#/components/schemas/TransactionContext"},"amountBreakdown":{"$ref":"#/components/schemas/BalanceAmountDto"}},"required":["id","currency","platform","type","initiatedAt","createdAt","context","amountBreakdown"]},"SportsbookAuthTokenDto":{"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},"ComingSoonStatsDto":{"type":"object","properties":{"isVerified":{"type":"boolean"},"position":{"type":"number"},"affiliateCode":{"type":"string","nullable":true},"referralsCount":{"type":"number"},"ticketsEarned":{"type":"number"}},"required":["isVerified","position","affiliateCode","referralsCount","ticketsEarned"]},"CreateBotDto":{"type":"object","properties":{"type":{"type":"string","enum":["WHALE","MINNOWS","DOLPHIN"]},"behavior":{"type":"string","enum":["STABLE","CHASER","HIGHROLLER","CASUAL","TRICKSTER"]},"playDays":{"type":"string","uniqueItems":true,"enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]},"isActive":{"type":"boolean"},"games":{"uniqueItems":true,"type":"array","items":{"type":"number"}},"userId":{"type":"number"},"startTime":{"type":"string"}},"required":["type","behavior","playDays","isActive","games","userId","startTime"]},"UpdateBotDto":{"type":"object","properties":{"type":{"type":"string","enum":["WHALE","MINNOWS","DOLPHIN"]},"behavior":{"type":"string","enum":["STABLE","CHASER","HIGHROLLER","CASUAL","TRICKSTER"]},"playDays":{"type":"string","uniqueItems":true,"enum":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"]},"userId":{"type":"number"},"isActive":{"type":"boolean"},"games":{"uniqueItems":true,"type":"array","items":{"type":"number"}},"startTime":{"type":"string"}},"required":["userId"]},"IsBotToggleDto":{"type":"object","properties":{"isBot":{"type":"boolean"},"userId":{"type":"number"}},"required":["isBot","userId"]}}}}