You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
611 B
30 lines
611 B
import { ExtensibleObject, IHasConcurrencyStamp } from '../../model/baseModel';
|
|
|
|
interface Profile extends ExtensibleObject, IHasConcurrencyStamp {
|
|
userName: string;
|
|
email: string;
|
|
name?: string;
|
|
surname?: string;
|
|
phoneNumber?: string;
|
|
}
|
|
|
|
export interface MyProfile extends Profile {
|
|
isExternal: boolean;
|
|
hasPassword: boolean;
|
|
}
|
|
|
|
export type UpdateMyProfile = Profile;
|
|
|
|
export interface ChangePassword {
|
|
currentPassword: string;
|
|
newPassword: string;
|
|
}
|
|
|
|
export interface ChangePhoneNumber {
|
|
newPhoneNumber: string;
|
|
code: string;
|
|
}
|
|
|
|
export interface TwoFactorEnabled {
|
|
enabled: boolean;
|
|
}
|
|
|