2026-08-07 16:25:38 +05:30
|
|
|
import { IsString, IsNotEmpty, IsOptional, IsDateString, IsBoolean } from 'class-validator';
|
2026-08-03 14:26:19 +05:30
|
|
|
|
|
|
|
|
export class CreateRecoveryIncidentDto {
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsNotEmpty()
|
2026-08-04 15:39:38 +05:30
|
|
|
recoveryCode: string;
|
2026-08-03 14:26:19 +05:30
|
|
|
|
|
|
|
|
@IsDateString()
|
|
|
|
|
@IsNotEmpty()
|
|
|
|
|
date: string;
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
passengerName?: string;
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
pnr?: string;
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsNotEmpty()
|
|
|
|
|
flightNumber: string;
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsNotEmpty()
|
|
|
|
|
flightRoute: string;
|
|
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
category?: string;
|
|
|
|
|
|
2026-08-07 16:25:38 +05:30
|
|
|
@IsString()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
status?: string;
|
2026-08-03 14:26:19 +05:30
|
|
|
|
|
|
|
|
@IsString()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
value?: string;
|
2026-08-06 11:47:35 +05:30
|
|
|
|
|
|
|
|
@IsBoolean()
|
|
|
|
|
@IsOptional()
|
|
|
|
|
isPerksClaimed?: boolean;
|
2026-08-03 14:26:19 +05:30
|
|
|
}
|