forked from Yara724/api
Added in-person expert
This commit is contained in:
32
src/request-management/dto/expert-complete-claim-data.dto.ts
Normal file
32
src/request-management/dto/expert-complete-claim-data.dto.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
import { ApiPropertyOptional } from "@nestjs/swagger";
|
||||
import { CarDamagePartDto } from "src/claim-request-management/dto/car-part.dto";
|
||||
|
||||
/**
|
||||
* DTO for field expert to submit claim-needed data in one go (IN_PERSON flow).
|
||||
* All fields optional so expert can submit in one or two steps (e.g. car parts first, then sheba/other).
|
||||
*/
|
||||
export class ExpertCompleteClaimDataDto {
|
||||
@ApiPropertyOptional({
|
||||
description: "Car part damage selection (same as selectCarPartDamage). Required for first claim data step.",
|
||||
type: CarDamagePartDto,
|
||||
})
|
||||
carPartDamage?: CarDamagePartDto;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: "Sheba number",
|
||||
example: "IR123456789012345678901234",
|
||||
})
|
||||
sheba?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: "National code of insurer",
|
||||
example: "1234567890",
|
||||
})
|
||||
nationalCodeOfInsurer?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
description: "Other parts / extra damage items",
|
||||
example: [{ "حسگر درها": true }],
|
||||
})
|
||||
otherParts?: any[];
|
||||
}
|
||||
Reference in New Issue
Block a user