import { ApiProperty } from "@nestjs/swagger"; import { AddPlateDto } from "src/profile/dto/user/AddPlateDto"; import { DescriptionDto, InitialFormDto } from "./create-request-management.dto"; /** * V2 (IN_PERSON): second party inputs without separate description/location. */ export class ExpertSecondPartyInfoV2Dto { @ApiProperty({ description: "Second party phone number", example: "09123456789", }) phoneNumber: string; @ApiProperty({ type: InitialFormDto }) initialForm: InitialFormDto; @ApiProperty({ type: AddPlateDto }) plate: AddPlateDto; } /** * V2 (IN_PERSON): single expert description shared for the whole scene. */ export class ExpertCompleteThirdPartyFormV2Dto { @ApiProperty({ description: "First party phone number", example: "09123456789", }) firstPartyPhoneNumber: string; @ApiProperty({ type: InitialFormDto }) firstPartyInitialForm: InitialFormDto; @ApiProperty({ type: AddPlateDto }) firstPartyPlate: AddPlateDto; @ApiProperty({ type: ExpertSecondPartyInfoV2Dto }) secondParty: ExpertSecondPartyInfoV2Dto; @ApiProperty({ type: DescriptionDto }) expertDescription: DescriptionDto; @ApiProperty({ description: "Phone number of the guilty party. Must match either first or second party phone number.", example: "09123456789", }) guiltyPartyPhoneNumber: string; }