Hierarchy

  • default
    • TeamMembers

Constructors

Methods

Constructors

  • Example

    const OneBlink = require('@oneblink/sdk')

    const options = {
    accessKey: '123455678901ABCDEFGHIJKL',
    secretKey: '123455678901ABCDEFGHIJKL123455678901ABCDEFGHIJKL',
    }
    const teamMembersSDK = new OneBlink.TeamMembers(options)

    Parameters

    Returns TeamMembers

Methods

  • Example

    const email = 'email@domain.io'
    teamMembersSDK.getTeamMemberRole(email).then((role) => {
    if (role !== null) {
    // Use role here...
    }
    })

    Parameters

    • email: string

      The email address the team member uses to login

    Returns Promise<null | Role>