Added registrar mirrored

This commit is contained in:
SepehrYahyaee
2026-06-15 15:58:31 +03:30
parent 41f81a2f76
commit a7849f915a
13 changed files with 1089 additions and 61 deletions

View File

@@ -150,60 +150,6 @@ export class ExpertInitiatedBlameMirrorController {
);
}
// @Post("send-party-otps/:requestId")
// @ApiParam({ name: "requestId" })
// @ApiBody({ type: SendPartyOtpsDto })
// @ApiOperation({
// summary: "[Expert mirror] Send OTP to party/parties (IN_PERSON)",
// description:
// "Bind the parties' user accounts before filling their data. Required so guilt and the claim owner can be resolved.",
// })
// async sendPartyOtps(
// @CurrentUser() expert: any,
// @Param("requestId") requestId: string,
// @Body() dto: SendPartyOtpsDto,
// ) {
// return this.requestManagementService.sendPartyOtpsV2(expert, requestId, dto);
// }
// @Post("verify-party-otps/:requestId")
// @ApiParam({ name: "requestId" })
// @ApiBody({ type: VerifyPartyOtpsDto })
// @ApiOperation({ summary: "[Expert mirror] Verify party OTPs (IN_PERSON)" })
// async verifyPartyOtps(
// @CurrentUser() expert: any,
// @Param("requestId") requestId: string,
// @Body() dto: VerifyPartyOtpsDto,
// ) {
// return this.requestManagementService.verifyPartyOtpsV2(
// expert,
// requestId,
// dto,
// );
// }
// @Post("/blame-confession/:requestId")
// @ApiParam({ name: "requestId" })
// @ApiBody({ type: BlameConfessionDtoV2 })
// @ApiOperation({
// summary: "[Expert mirror] First-party blame confession",
// description:
// "THIRD_PARTY step. The FIRST party is the guilty party, so send imGuilty=true.",
// })
// async blameConfession(
// @Param("requestId") requestId: string,
// @Body() body: BlameConfessionDtoV2,
// @CurrentUser() expert: any,
// @Body("partyRole") partyRole?: string,
// ) {
// return this.requestManagementService.blameConfessionV2(
// requestId,
// body,
// expert,
// partyRole,
// );
// }
@Post("/car-body-form/:requestId")
@ApiParam({ name: "requestId" })
@ApiBody({ type: CarBodyFormDto })