import { IsNotEmpty, IsOptional, IsString } from 'class-validator' import { CountryCode } from '../../../../utils/countries' export class AddExternalSubscriptionToPatient { @IsOptional() @IsString() document_number: string @IsOptional() @IsString() email: string @IsString() @IsNotEmpty() country_code: CountryCode @IsString() @IsNotEmpty() name: string @IsString() @IsNotEmpty() cell_phone: string @IsString() @IsNotEmpty() payment_id: string }