nexus. user
Source: src/
Namespaces
Namespaces
device
licence
notifications
preview
pusher
Methods
acceptDeviceInvitation(params) → Promise containing ApiResponse
accepts the device invitation
Parameters
Name | Type | Optional | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
createDeletionRequest(userId) → Promise containing ApiResponse
creates a deletion request for a user
Parameter
Name | Type | Optional | Description |
---|---|---|---|
userId |
string |
|
- Returns
-
Promise containing ApiResponse
get(params) → Promise containing ApiResponse
returns a device a user has access to
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
get(userId) → Promise containing ApiResponse
returns a user
Parameter
Name | Type | Optional | Description |
---|---|---|---|
userId |
string |
|
- Returns
-
Promise containing ApiResponse
getChangelog() → Promise containing ApiResponse
returns a web app changelog
- Returns
-
Promise containing ApiResponse
getDeviceInvitations(userId) → Promise containing ApiResponse
returns all device invitations for a user
Parameter
Name | Type | Optional | Description |
---|---|---|---|
userId |
string |
|
- Returns
-
Promise containing ApiResponse
list(params) → Promise containing ApiResponse
queries the users collection
Parameters
Name | Type | Optional | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
setCognitoIdentityId(params) → Promise containing ApiResponse
sets the cognitoIdentityId of a user
Parameters
Name | Type | Optional | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse
update(params) → Promise containing ApiResponse
updates a user
Parameters
Name | Type | Optional | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object |
|
Values in
|
- Returns
-
Promise containing ApiResponse