forked from Yara724/api
Fixed v4/v5 flow
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { ApiProperty, ApiPropertyOptional } from "@nestjs/swagger";
|
||||
import { IsEnum, IsOptional, IsString } from "class-validator";
|
||||
import { IsBoolean, IsEnum, IsOptional } from "class-validator";
|
||||
import { CreationMethod } from "../entities/schema/request-management.schema";
|
||||
|
||||
export class CreateExpertInitiatedFileDto {
|
||||
@@ -18,4 +18,17 @@ export class CreateExpertInitiatedFileDto {
|
||||
})
|
||||
@IsEnum(CreationMethod)
|
||||
creationMethod: CreationMethod;
|
||||
|
||||
/**
|
||||
* V5 only. When true the resulting claim will require FileMaker approval
|
||||
* before fanavaran submission. V4 files must leave this unset (or false).
|
||||
*/
|
||||
@ApiPropertyOptional({
|
||||
description:
|
||||
"V5 only — when true the claim requires FileMaker approval before fanavaran submission.",
|
||||
example: false,
|
||||
})
|
||||
@IsBoolean()
|
||||
@IsOptional()
|
||||
requiresFileMakerApproval?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user