Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
data class GetQuestsRequestOptions(val questIds: List<String> = emptyList(), val status: QuestStatus? = null)
Link copied to clipboard
data class GetRedemptionKeyRequestOptions(val status: RedemptionKeyStatus, val isAssigned: Boolean? = true)
Link copied to clipboard
data class GetUserQuestsRequestOptions(val userQuestIds: List<String> = emptyList(), val status: UserQuestStatus? = null, val profileID: String? = null, val rewardStatus: QuestRewardStatus?, val questId: String? = null)
Link copied to clipboard
interface IQuestsClient
Link copied to clipboard
interface IRewardsClient
All the apis related to rewards item discovery, balance and transfer exposed here
Link copied to clipboard
interface LiveLikeDigitalGoodsClient
All the apis related to redeemption, exposed here
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RedemptionKey(val id: String, val clientId: String, val name: String, val description: String? = null, val code: String, val createdAt: String, val redeemedAt: String? = null, val redeemedBy: String? = null, val status: RedemptionKeyStatus)
Link copied to clipboard
Link copied to clipboard
all events related to rewards like reward transfer received will be surfaced onto this listener integrators can register this listener on a instance of rewardClient that is equivalent to sdk.rewards()
Link copied to clipboard
data class RewardItemBalance(val rewardItemBalance: Int, val rewardItemId: String, val rewardItemName: String)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RewardTransaction(val id: String, val url: String, val createdAt: String, val widgetKind: String, val widgetId: String, val rewardItemId: String, val rewardItemName: String, val rewardActionId: String, val rewardActionKey: String, val rewardActionName: String, val profileId: String, val profileNickname: String, val rewardItemAmount: String)
Link copied to clipboard
data class RewardTransactionsRequestParameters(val widgetIds: Set<String> = emptySet(), val widgetKindFilter: Set<String> = emptySet(), val profileIds: List<String> = emptyList(), val rewardItemIds: List<String> = emptyList(), val rewardActionKeys: List<String> = emptyList(), val createdSince: ZonedDateTime? = null, val createdUntil: ZonedDateTime? = null)
Link copied to clipboard
Link copied to clipboard
data class UserQuest(val id: String, val profileId: String, val createdAt: String, val completedAt: String? = null, val status: UserQuestStatus, val userQuestTasks: List<UserQuestTask>, val quest: Quest, val userQuestRewardsUrl: String, val rewardStatus: QuestRewardStatus, val rewardClaimedAt: String? = null)
Link copied to clipboard
data class UserQuestReward(val id: String, val questReward: QuestReward, val rewardStatus: QuestRewardStatus)
Link copied to clipboard
Link copied to clipboard
data class UserQuestTask(val id: String, val status: UserQuestStatus, val createdAt: String, val completedAt: String? = null, val progress: Float, val userQuestId: String, val questTask: QuestTask)