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.
 
 
 
 
 
 

39 lines
857 B

import { ApiProperty } from '@nestjs/swagger'
export class RegisterInputDTO {
@ApiProperty({ type: String, required: true })
name: string
@ApiProperty({ type: String, required: true })
email: string
@ApiProperty({ type: String })
primaryPhone?: string
@ApiProperty({ type: String, required: true })
password: string
}
export class LoginInputDTO {
@ApiProperty({ type: String, required: true })
email: string
@ApiProperty({ type: String, required: true })
password: string
}
export class RequestResetPasswordInputDTO {
@ApiProperty({ type: String, required: true })
email: string
}
export class ResetPasswordInputDTO {
@ApiProperty({ type: String, required: true })
email: string
@ApiProperty({ type: String, required: true })
otp: string
@ApiProperty({ type: String, required: true })
newPassword: string
}