forked from Yara724/api
dynamic locations
This commit is contained in:
@@ -120,6 +120,17 @@ export class CreateInsurerExpertDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
address?: string;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
type: [ExpertLocationDto],
|
||||
description:
|
||||
"Fanavaran Location entries (id = OpBUId). Sent as the HTTP Location header on Fanavaran business calls for this expert.",
|
||||
})
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@ValidateNested({ each: true })
|
||||
@Type(() => ExpertLocationDto)
|
||||
locations?: ExpertLocationDto[];
|
||||
}
|
||||
|
||||
export class CreateBlameExpertByInsurerDto extends CreateInsurerExpertDto {
|
||||
@@ -147,17 +158,6 @@ export class CreateFileMakerByInsurerDto extends OmitType(
|
||||
default: RoleEnum.FILE_MAKER,
|
||||
})
|
||||
role?: RoleEnum.FILE_MAKER;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
type: [ExpertLocationDto],
|
||||
description:
|
||||
"Fanavaran Location entries (id = OpBUId). Used for Parsian V4/V5 submits.",
|
||||
})
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@ValidateNested({ each: true })
|
||||
@Type(() => ExpertLocationDto)
|
||||
locations?: ExpertLocationDto[];
|
||||
}
|
||||
|
||||
export class CreateFileReviewerByInsurerDto extends OmitType(
|
||||
@@ -169,15 +169,4 @@ export class CreateFileReviewerByInsurerDto extends OmitType(
|
||||
default: RoleEnum.FILE_REVIEWER,
|
||||
})
|
||||
role?: RoleEnum.FILE_REVIEWER;
|
||||
|
||||
@ApiPropertyOptional({
|
||||
type: [ExpertLocationDto],
|
||||
description:
|
||||
"Fanavaran Location entries. Must overlap FileMaker locations on Parsian V4/V5 cases.",
|
||||
})
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
@ValidateNested({ each: true })
|
||||
@Type(() => ExpertLocationDto)
|
||||
locations?: ExpertLocationDto[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user