This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-igaming/query / IgamingQueries

IgamingQueries ​

iGaming query factories, one per read method: q.<namespace>.<method>(input) returns { queryKey, queryFn }. Obtained with createIgamingQueries.

Properties ​

bonus ​

readonly bonus: QueriesOf<BonusApi, "listPublicOffers" | "listOffers" | "getOffer" | "listParticipations" | "getParticipation">

Public offers (no login) and, with login, offers and participations.


casino ​

readonly casino: QueriesOf<CasinoApi, "listGames" | "listCategories" | "listProviders" | "getGame" | "listSessions" | "getHistory" | "getBiggestWinners">

Catalog (public) and, with login, sessions, history and biggest winners.


loyalty ​

readonly loyalty: QueriesOf<LoyaltyApi, "get">

Points balance, tier and benefits.


missions ​

readonly missions: QueriesOf<MissionsApi, "list" | "listMine">

Operator missions and the player's own.


referrals ​

readonly referrals: QueriesOf<ReferralsApi, "get" | "listHistory">

Referral code, link and history.