forked from Yara724/api
YARA-1257, YARA-1272, YARA-985
This commit is contained in:
@@ -533,10 +533,10 @@ Returns status of each item (uploaded/captured or not).
|
||||
@ApiParam({ name: "claimRequestId" })
|
||||
@ApiConsumes("multipart/form-data")
|
||||
@ApiBody({
|
||||
description: "Signature file, agreement, and branch",
|
||||
description: "Signature file and agreement",
|
||||
schema: {
|
||||
type: "object",
|
||||
required: ["sign", "agree", "branchId"],
|
||||
required: ["sign", "agree"],
|
||||
properties: {
|
||||
sign: {
|
||||
type: "string",
|
||||
@@ -547,7 +547,6 @@ Returns status of each item (uploaded/captured or not).
|
||||
type: "boolean",
|
||||
description: "true to accept, false to reject",
|
||||
},
|
||||
branchId: { type: "string", description: "Insurer branch ID" },
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -577,7 +576,6 @@ Returns status of each item (uploaded/captured or not).
|
||||
async submitOwnerSign(
|
||||
@Param("claimRequestId") claimRequestId: string,
|
||||
@Body("agree") agree: string | boolean,
|
||||
@Body("branchId") branchId: string,
|
||||
@CurrentUser() expert: any,
|
||||
@UploadedFile() sign: Express.Multer.File,
|
||||
) {
|
||||
@@ -590,7 +588,6 @@ Returns status of each item (uploaded/captured or not).
|
||||
return await this.claimRequestManagementService.submitOwnerInsurerApprovalSignV2(
|
||||
claimRequestId,
|
||||
agreed,
|
||||
typeof branchId === "string" ? branchId : "",
|
||||
sign,
|
||||
expert.sub,
|
||||
expert,
|
||||
|
||||
Reference in New Issue
Block a user