CreateUserDto: { companyId: string; firstName: string; lastName: string; email: string; password?: string; phone?: string; type: UserType; role: UserRole; isEjectedUser: boolean; locationIds: string[]; permissions?: UserPermissions; scopes?: UserScope; scopesAssignedToOnly?: UserScope; profilePhoto?: string;} Type declaration
companyId: string
firstName: string
lastName: string
email: string
Optionalpassword?: string
Optionalphone?: string
isEjectedUser: boolean
locationIds: string[]
OptionalscopesAssignedToOnly?: UserScope
OptionalprofilePhoto?: string