cloudhospital.react.sdk
Version:
### Build local package
88 lines (87 loc) • 2.24 kB
TypeScript
export declare const ConfirmAccountSchema: import("yup").ObjectSchema<{
code: string;
}, import("yup").AnyObject, {
code: undefined;
}, "">;
export declare enum Role {
Doctor = "Doctor",
LocalManager = "LocalManager",
User = "User"
}
export interface PostAccountModel {
email: string;
password: string;
confirmPassword: string;
role: Role;
}
export declare const PostAccountSchema: import("yup").ObjectSchema<{
email: string;
password: string;
confirmPassword: string;
}, import("yup").AnyObject, {
email: undefined;
password: undefined;
confirmPassword: undefined;
}, "">;
export interface AccountModel {
id: string;
userName: string;
hasPassword: boolean;
email: string;
emailConfirmed: boolean;
phoneNumber: string;
phoneNumberConfirmed: boolean;
twoFactorEnabled: boolean;
lockoutEnd: string;
lockoutEnabled: boolean;
accessFailedCount: number;
roles: [string];
}
export interface ChangePasswordModel {
oldPassword: string;
newPassword: string;
confirmPassword: string;
}
export declare const ChangePasswordSchema: import("yup").ObjectSchema<{
oldPassword: string;
newPassword: string;
confirmPassword: string;
}, import("yup").AnyObject, {
oldPassword: undefined;
newPassword: undefined;
confirmPassword: undefined;
}, "">;
export interface ForgotPasswordModel {
policy: number;
email: string;
}
export declare const ForgotPasswordSchema: import("yup").ObjectSchema<{
email: string;
}, import("yup").AnyObject, {
email: undefined;
}, "">;
export interface ResetPasswordModel {
email: string;
password: string;
confirmPassword: string;
code: string;
}
export declare const ResetPasswordSchema: import("yup").ObjectSchema<{
email: string;
password: string;
confirmPassword: string;
code: string;
}, import("yup").AnyObject, {
email: undefined;
password: undefined;
confirmPassword: undefined;
code: undefined;
}, "">;
export interface ConfirmAccountModel {
code: string;
}
export declare const ConfrimAccountSchema: import("yup").ObjectSchema<{
code: string;
}, import("yup").AnyObject, {
code: undefined;
}, "">;