src/contact/request/dto/update-contact-and-check-phone.dto.ts
Properties |
| countryCode |
Type : string
|
Decorators :
@ApiProperty({type: String, maxLength: 2, required: false})
|
| active |
Type : boolean
|
Decorators :
@ApiProperty({type: Boolean, required: false})
|
|
Inherited from
UpdateContactDTO
|
|
Defined in
UpdateContactDTO:25
|
Type : string
|
Decorators :
@ApiProperty({type: String, maxLength: 320, required: false})
|
|
Inherited from
UpdateContactDTO
|
|
Defined in
UpdateContactDTO:11
|
| 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
|
|
Defined in
UpdateContactDTO:22
|
| prefix |
Type : number
|
Decorators :
@ApiProperty({type: Number, maxLength: 3, required: false})
|
|
Inherited from
UpdateContactDTO
|
|
Defined in
UpdateContactDTO:14
|
| 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;
}