User
User methods
Static Method Summary
Static Public Methods | ||
public static |
create(data: UserCreateParams, originalCallback: function(err: ApiErrorResponse, res: UserCreateResponse)) Create new user account |
|
public static |
retrieve(data: UserGetParams, callback: function(err: ApiErrorResponse, res: UserGetResponse)) Retrieve user account details |
|
public static |
verifyEmail(data: UserVerifyEmailParams, callback: function(err: ApiErrorResponse, res: UserVerifyEmailResponse)) Sends email with verification link to user |
Static Public Methods
public static create(data: UserCreateParams, originalCallback: function(err: ApiErrorResponse, res: UserCreateResponse)) source
Create new user account
Params:
Name | Type | Attribute | Description |
data | UserCreateParams | create user payload |
|
originalCallback | function(err: ApiErrorResponse, res: UserCreateResponse) |
|
error first node.js callback |
public static retrieve(data: UserGetParams, callback: function(err: ApiErrorResponse, res: UserGetResponse)) source
Retrieve user account details
Params:
Name | Type | Attribute | Description |
data | UserGetParams | get user payload |
|
callback | function(err: ApiErrorResponse, res: UserGetResponse) |
|
error first node.js callback |
public static verifyEmail(data: UserVerifyEmailParams, callback: function(err: ApiErrorResponse, res: UserVerifyEmailResponse)) source
Sends email with verification link to user
Params:
Name | Type | Attribute | Description |
data | UserVerifyEmailParams | user verify email payload |
|
callback | function(err: ApiErrorResponse, res: UserVerifyEmailResponse) |
|
error first node.js callback |