API for checking user's password
Input containing properties for checking user's password.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
Promise<{ valid: true; id: string } | { valid: false }> if valid, return valid: true and userId, if not valid return false
This API is used to check if user's password is valid.
API for creating an invitation for a user
Fields for creating an invitation.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
Invitation data that was updated.
This API is used to create an invitation to a user.
API for creating a single user
User data to be created.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
User data that was created.
This API is used to create a single user in the User service.
API for creating a user as an admin
User data to be created.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
User data that was created.
This API is used to create a single user in the User service. This API skips the email verification process.
API for getting multiple user attachments
List of user attachment IDs to be fetched.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
User attachments array that fetched if the id is not exist return null.
This API is used to get multiple user attachments from the User service. It will return array exactly the same length as the idList, if the id is not exist return null instead in for the specific attachment.
API for getting a single user
User ID of the user to be fetched.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
User data that was fetched.
This API is used to get a single user from the User service.
API for getting multiple users
Input containing property for getting multiple users.
Query options for getting multiple users.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
User data that was fetched.
This API is used to get multiple users from the User service.
API for checking if user is an admin user
User ID of the user to be checked.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
Promise
This API is used to check if user is an admin user
API for checking if user's email has been verified
User ID of the user to be checked.
Optional
requestContext: RequestContextrequest context (requestId, serviceHistory)
Promise
This API is used to check if user's email has been verified
API for updating review statistics for a single user
Input containing properties for updating statistics.
Review statistics body.
Optional
averageOptional
averageOptional
totalUser ID of the user to be updated.
Optional
requestContext: RequestContextOrder data that was updated.
This API is used to update review statistics for a single user in the User service.
Generated using TypeDoc
Interface for User's Default Adapter's API
Description
This interface is used to define the API for User's Default Adapter. Implement this interface to create a custom API for communicating with User functionality.