YARA-1267, YARA-1268

This commit is contained in:
SepehrYahyaee
2026-09-08 14:51:51 +03:30
parent 0e861ff6d1
commit 55da8188a9
3 changed files with 60 additions and 24 deletions

View File

@@ -481,12 +481,17 @@ export class ClaimRequestManagementController {
);
}
// @ApiOperation({ deprecated: true })
@Get("branches/:insuranceId")
// @ApiParam({ name: "insuranceId" })
async insuranceBranches(@Param("insuranceId") insuranceId: string) {
return await this.claimRequestManagementService.retrieveInsuranceBranches(insuranceId);
}
// Legacy V1 owner branch picker — intentionally disabled.
// A claim is handled by an expert assigned to the insurer branch, so the
// owner must not choose an insurer branch while signing. This does not apply
// to the separate expert-only `daghi.branchId` choice in pricing flows.
//
// @Get("branches/:insuranceId")
// async insuranceBranches(@Param("insuranceId") insuranceId: string) {
// return await this.claimRequestManagementService.retrieveInsuranceBranches(
// insuranceId,
// );
// }
// @ApiOperation({ deprecated: true })
@Get("fanavaran-submit/:claimRequestId")