Classes
Methods
# async create(userContactInfoCreateModel) → {Promise.<UserContactInfo>}
Creates a new contact info for the user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
userContactInfoCreateModel |
UserContactInfoCreateModel
|
The model to create a user contact information. |
Promise.<UserContactInfo>
# async delete(contactInfoId) → {Promise.<void>}
Deletes the contact info of the user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
contactInfoId |
String
|
The id of the contact info. |
Promise.<void>
# async get(contactInfoId) → {Promise.<UserContactInfo>}
Returns the contact infos of the user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
contactInfoId |
String
|
The id of the contact info. |
Promise.<UserContactInfo>
# async list(options) → {Promise.<Array.<UserContactInfo>>}
Returns the contact infos of the user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
options |
ListOptions
|
Pagination and filtering options |
Promise.<Array.<UserContactInfo>>
# async update(contactInfoId, userContactInfoUpdateModel)
Updates the contact info of the user with the specified id.
Parameters:
Name | Type | Description |
---|---|---|
contactInfoId |
String
|
The id of the contact info. |
userContactInfoUpdateModel |
UserContactInfoUpdateModel
|
The model to update a user contact information. |