Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const getQuests

  • Gets Quests available in an application.

    async
    since

    2.27.0

    example
    getQuests({ questIds }).then(padinatedResponse => console.log(padinatedResponse))
    

    Parameters

    Returns Promise<IPaginatedResponse<IQuest>>

Const getUserQuests

  • Gets Quests of a user(complete/incomplete).

    async
    since

    2.27.0

    example
    getUserQuests({ profileId }).then(padinatedResponse => console.log(padinatedResponse))
    

    Parameters

    Returns Promise<IPaginatedResponse<IUserQuest>>

Const startUserQuest

  • Start a quest for current user.

    async
    since

    2.27.0

    example
    startUserQuest({ questId }).then(userQuest => console.log(userQuest))
    

    Parameters

    Returns Promise<IUserQuest>

Const updateUserQuestTasks

  • Complete a quest task for current user.

    async
    since

    2.27.0

    example
    updateUserQuestTasks({ userQuestId, userQuestTaskIds, status: "completed" }).then(userQuest => console.log(userQuest))
    

    Parameters

    Returns Promise<IUserQuest>

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Enumeration

Generated using TypeDoc