File

src/contact/request/dto/update-contact-and-check-phone.dto.ts

Extends

UpdateContactDTO

Index

Properties

Properties

countryCode
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 2, required: false})
active
Type : boolean
Decorators :
@ApiProperty({type: Boolean, required: false})
Inherited from UpdateContactDTO
email
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 320, required: false})
Inherited from UpdateContactDTO
name
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 100, required: false})
Inherited from UpdateContactDTO
Defined in UpdateContactDTO:5
phone
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 12, required: false, example: '123456789'})
Inherited from UpdateContactDTO
prefix
Type : number
Decorators :
@ApiProperty({type: Number, maxLength: 3, required: false})
Inherited from UpdateContactDTO
surname
Type : string
Decorators :
@ApiProperty({type: String, maxLength: 100, required: false})
Inherited from UpdateContactDTO
Defined in UpdateContactDTO:8
import { ApiProperty } from '@nestjs/swagger';
import { UpdateContactDTO } from './update-contact.dto';

export class UpdateContactAndCheckPhoneDTO extends UpdateContactDTO {
  @ApiProperty({ type: String, maxLength: 2, required: false })
  countryCode: string;
}

results matching ""

    No results matching ""