import { IsNotEmpty, ValidateNested, IsString } from 'class-validator' import { Type } from 'class-transformer' import { CountryCode } from '../../../../utils' class AvailableFeaturesInput { @IsNotEmpty() @IsString() country_code: CountryCode } export class AvailableFeaturesParams { @IsNotEmpty() @ValidateNested() @Type(() => AvailableFeaturesInput) readonly input?: AvailableFeaturesInput }