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

Reference / @getenginex/sdk/query / CoreQueries

CoreQueries ​

Core query factories, one per read method: q.<namespace>.<method>(input?) returns { queryKey, queryFn } (and staleTime on config.*). Obtained with createQueries.

Properties ​

config ​

readonly config: QueriesOf<ConfigApi, "get" | "getBranding" | "getProducts" | "getSportsbook" | "getSupport">

The operator's public configuration (public keys, with a staleTime of 5 minutes).


deposits ​

readonly deposits: QueriesOf<DepositsApi, "get" | "list">

Deposits.


kyc ​

readonly kyc: QueriesOf<KycApi, "getStatus">

KYC status.


notifications ​

readonly notifications: QueriesOf<NotificationsApi, "list" | "getPreferences">

Notifications and preferences.


pixKeys ​

readonly pixKeys: QueriesOf<PixKeysApi, "list">

PIX keys.


profile ​

readonly profile: QueriesOf<ProfileApi, "get" | "listSessions">

The player's profile and login sessions.


responsibleGambling ​

readonly responsibleGambling: QueriesOf<ResponsibleGamblingApi, "getLimits" | "getRealityCheck">

Limits and reality check.


wallet ​

readonly wallet: QueriesOf<WalletApi, "get" | "getBalance" | "listTransactions">

Wallet, balance and transactions.


withdrawals ​

readonly withdrawals: QueriesOf<WithdrawalsApi, "get" | "list">

Withdrawals.