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

Reference / @getenginex/sdk-igaming / UserMission

UserMission ​

The player's progress on a mission (GET /my/missions).

Properties ​

completedAt ​

completedAt: string | null

When it was completed (ISO 8601, UTC); null while not completed.


currentProgress ​

currentProgress: number

Current progress, an integer; presumed to be the same unit as targetValue (not confirmed by the contract).


id ​

id: string

Progress id (of the player's mission in the period).


missionId ​

missionId: string

Mission id (Mission.id).


missionName ​

missionName: string

Mission name.


periodEnd ​

periodEnd: string | null

End of the period (ISO 8601, UTC); null when the gateway does not send it.


progressPercentage ​

progressPercentage: number

Progress as a percentage, a number (e.g. 37.5); computed by the service, may exceed 100.


rewardType ​

rewardType: MissionRewardType

Reward type.


rewardValue ​

rewardValue: number

Reward value, an integer.


status ​

status: UserMissionStatus

Status.


targetValue ​

targetValue: number

Target, an integer.