@toutix/whitelabel
Version:
Toutix whitelabel React container components
26 lines • 727 B
TypeScript
export declare enum UserType {
SUPER_ADMIN = "SUPER_ADMIN",
EVENT_ORGANIZER = "EVENT_ORGANIZER",
TICKET_BUYER = "TICKET_BUYER"
}
export interface IProfile {
id: string;
email: string;
firstName: string;
lastName: string;
role: UserType;
address: string;
contactNumber: string;
dateOfBirth: Date;
image: string;
imageFile: File;
isPhoneValidated: boolean;
}
export interface IFinancialAccount {
isCreated: boolean;
isPayoutsEnabled: boolean;
isVerificationNeeded: boolean;
navigateUrl: string;
}
export type IUpdateProfilePayload = Partial<Pick<IProfile, 'firstName' | 'lastName' | 'contactNumber' | 'isPhoneValidated'>>;
//# sourceMappingURL=User.d.ts.map