Reference / @getenginex/sdk-igaming/query / IgamingMutations
IgamingMutations
iGaming mutations, one per write method: m.<namespace>.<method>() returns { mutationKey, mutationFn, invalidates }. Obtained with createIgamingMutations.
Properties
bonus
readonlybonus:IdempotentMutationsOf<BonusApi,"claim"|"optIn"|"redeemPromoCode"> &MutationsOf<BonusApi,"resolvePromoCode">
Opt-in, redemption (idempotent: they accept { idempotencyKey }) and promo code check.
casino
readonlycasino:MutationsOf<CasinoApi,"launchGame">
Game launch (launchGame, with gcTime: 0: the game URL carries credentials).
loyalty
readonlyloyalty:IdempotentMutationsOf<LoyaltyApi,"redeem">
Points redemption (idempotent: it accepts { idempotencyKey }).
referrals
readonlyreferrals:MutationsOf<ReferralsApi,"register">
Referral code registration.
sportsbook
readonlysportsbook:MutationsOf<SportsbookApi,"createSession">
Sportsbook session (gcTime: 0: the URL carries the operator token).