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

Reference / @getenginex/sdk-igaming / Mission

Mission ​

Active operator mission (GET /missions).

Properties ​

description ​

description: string

Description; may come empty.


id ​

id: string

Mission id (the same as UserMission.missionId).


missionType ​

missionType: MissionType

Periodicity.


name ​

name: string

Display name.


objectiveType ​

objectiveType: MissionObjectiveType

Objective.


rewardType ​

rewardType: MissionRewardType

Reward type.


rewardValue ​

rewardValue: number

Reward value, an integer. The contract does not state the unit (an assumption on the "Missions" page, unconfirmed).


targetGameCategory ​

targetGameCategory: string | null

Slug of the game category that counts toward the target; null when there is no restriction.


targetGames ​

targetGames: string[]

Ids of the games that count toward the target; [] when there is no restriction.


targetValue ​

targetValue: number

Target, an integer. The gateway contract does not state the unit (an assumption, unconfirmed: minor units of the currency for wager/win_amount/deposit, a count for bet_count/play_game); confirm with the operator before displaying.


validFrom ​

validFrom: string | null

Start of validity (ISO 8601, UTC); null when the gateway sends an empty date (epoch).


validTo ​

validTo: string | null

End of validity (ISO 8601, UTC); null when the gateway sends an empty date (epoch).