Application Load
IProfileData
The physical TypeScript declaration from the Nuxt starter, with linked types and field comments.
IProfileDataCurrent customer profile.
app/interfaces/orionplace/accounts/IProfileData.tsexport interface IProfileData {
// Customer ID.
id: number;
// Phone number in E.164 format.
phone: string;
/** ISO 3166-1 alpha-2 country of the phone number; null when the number has none. */
origin_country: string | null;
// Saved first name.
first_name: string;
// Saved last name.
last_name: string;
// Saved email address; an empty string when absent.
email: string;
// Flat locale key for account emails, such as a supported language code.
email_notification_locale: string;
// Last sign-in date/time object, or `null`.
last_login: IApiDateTime | null;
// Registration date/time object.
date_joined: IApiDateTime | null;
// Birth date in `DD.MM.YYYY` format, or an empty string.
dob: string;
// Uploaded avatar URL, or `null`.
profile_avatar: string | null;
// Whether optional email notifications are enabled.
notifications_enabled: boolean;
// Whether the customer can place new orders.
orders_allowed: boolean;
// Whether the customer can start new subscriptions.
subscriptions_allowed: boolean;
// Balance by currency ID; each currency value contains `transform_value`.
wallet: Record<string, ITransformValue>;
}