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.
40 lines
740 B
40 lines
740 B
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;
|
|
}
|
|
|
|
export interface SendEmailConfirmCode {
|
|
email: string;
|
|
appName: string;
|
|
returnUrl?: string;
|
|
returnUrlHash?: string;
|
|
}
|
|
|
|
export interface ConfirmEmailInput {
|
|
userId?: string;
|
|
confirmToken: string;
|
|
}
|
|
|