Class RunUser

Hierarchy

Index

Constructors

constructor

Properties

SDB

SDB: SDB = new SDB(this.params)

Methods

edit

  • edit(tagoIORunURL: string, userChangesObj: Partial<RunUserInfo>): Promise<string>
  • Edit Run user info

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • userChangesObj: Partial<RunUserInfo>

      Data to change in user

    Returns Promise<string>

info

notificationButton

  • notificationButton(tagoIORunURL: string, notificationID: GenericID, buttonID: GenericID): Promise<any>
  • Trigger notification button

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • notificationID: GenericID

      TagoIO Run notification id

    • buttonID: GenericID

      Notification button id

    Returns Promise<any>

notificationDelete

  • notificationDelete(tagoIORunURL: string, notificationID: GenericID): Promise<string>
  • Delete notification

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • notificationID: GenericID

      TagoIO Run notification id

    Returns Promise<string>

notificationList

notificationMarkRead

  • notificationMarkRead(tagoIORunURL: string, notificationIDs: GenericID | GenericID[]): Promise<string>

passwordChange

  • passwordChange(tagoIORunURL: string, password: string): Promise<string>
  • Change password using token of the password recover.

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • password: string

      New password

    Returns Promise<string>

Static confirmUser

  • Confirm User on TagoIO Run (Anonymous)

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • token: GenericToken

      TagoIO Run user token

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

Static create

  • Create new TagoIO Run User (Anonymous)

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • newUserObj: RunUserCreateInfo

      New user data

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>

Static login

Static passwordRecover

  • passwordRecover(tagoIORunURL: string, email: string, region?: Regions): Promise<string>
  • Sends a password recover e-mail

    Parameters

    • tagoIORunURL: string

      TagoIO Run url without http

    • email: string

      Run user email to recover the password

    • Optional region: Regions

      TagoIO Region Server [default usa-1]

    Returns Promise<string>