feature-libs/user/profile/occ/adapters/config/occ-user-profile-endpoint.model.ts
Properties |
|
| titles |
titles:
|
Type : string | OccEndpoint
|
| Optional |
|
Titles used for user's personal info. |
| userCloseAccount |
userCloseAccount:
|
Type : string | OccEndpoint
|
| Optional |
|
Close user account |
| userForgotPassword |
userForgotPassword:
|
Type : string | OccEndpoint
|
| Optional |
|
Request an email to reset the password |
| userRegister |
userRegister:
|
Type : string | OccEndpoint
|
| Optional |
|
Register a new user. |
| userResetPassword |
userResetPassword:
|
Type : string | OccEndpoint
|
| Optional |
|
Reset the password once the email is received. |
| userUpdateLoginId |
userUpdateLoginId:
|
Type : string | OccEndpoint
|
| Optional |
|
Update the user id with which the user authenticates. |
| userUpdatePassword |
userUpdatePassword:
|
Type : string | OccEndpoint
|
| Optional |
|
Update the user's password |
| userUpdateProfile |
userUpdateProfile:
|
Type : string | OccEndpoint
|
| Optional |
|
Update the user's profile |
import { OccEndpoint } from '@spartacus/core';
export interface UserProfileOccEndpoints {
/**
* Titles used for user's personal info.
*/
titles?: string | OccEndpoint;
/**
* Register a new user.
*/
userRegister?: string | OccEndpoint;
/**
* Request an email to reset the password
*/
userForgotPassword?: string | OccEndpoint;
/**
* Reset the password once the email is received.
*/
userResetPassword?: string | OccEndpoint;
/**
* Update the user id with which the user authenticates.
*/
userUpdateLoginId?: string | OccEndpoint;
/**
* Update the user's password
*/
userUpdatePassword?: string | OccEndpoint;
/**
* Update the user's profile
*/
userUpdateProfile?: string | OccEndpoint;
/**
* Close user account
*/
userCloseAccount?: string | OccEndpoint;
}
declare module '@spartacus/core' {
interface OccEndpoints extends UserProfileOccEndpoints {}
}