Application Load
IProfileUpdateRequest
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IProfileUpdateRequestThe user changes their own first name, last name, birth date and email notification language.
app/interfaces/orionplace/accounts/IProfileActions.tsexport interface IProfileUpdateRequest {
// Required name, at least two characters after trimming.
first_name: string;
// Required surname, at least two characters after trimming.
last_name: string;
// Optional birth date. Use `YYYY-MM-DD` when sending a date. Omitting it can
// clear the stored date.
dob?: string;
// Optional enabled locale key from
// `fUserProfile.form_data.email_notification_locale.options[].value`.
// Omission preserves the current preference.
email_notification_locale?: string;
}