forked from Yara724/api
feat(claims): enforce insurer working hours
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { EnforceCaseWorkingHours } from "src/client/working-hours/case-working-hours.interceptor";
|
||||
import { randomUUID } from "node:crypto";
|
||||
import {
|
||||
Controller,
|
||||
@@ -64,6 +65,7 @@ import { UserObjectionV2Dto } from "./dto/user-objection-v2.dto";
|
||||
import { UserRatingDto } from "./dto/user-rating.dto";
|
||||
|
||||
@ApiTags("claim-request-management (v2)")
|
||||
@EnforceCaseWorkingHours()
|
||||
@Controller("v2/claim-request-management")
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(GlobalGuard, RolesGuard)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { EnforceCaseWorkingHours } from "src/client/working-hours/case-working-hours.interceptor";
|
||||
import { randomUUID } from "node:crypto";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { extname } from "node:path";
|
||||
@@ -68,6 +69,7 @@ import { Role } from "src/common/auth/enums";
|
||||
* from their own account through the normal user endpoints.
|
||||
*/
|
||||
@ApiTags("expert-initiated claim (mirror v2)")
|
||||
@EnforceCaseWorkingHours()
|
||||
@Controller("v2/expert-initiated/claim-request-management")
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(LocalActorAuthGuard, RolesGuard)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { EnforceCaseWorkingHours } from "src/client/working-hours/case-working-hours.interceptor";
|
||||
import { readFile } from "node:fs/promises";
|
||||
import { extname } from "node:path";
|
||||
import {
|
||||
@@ -63,6 +64,7 @@ import { GetCaptureRequirementsV2ResponseDto } from "./dto/capture-requirements-
|
||||
* The registrar's job ends here — no reviewing panel is needed.
|
||||
*/
|
||||
@ApiTags("registrar claim (mirror v2)")
|
||||
@EnforceCaseWorkingHours()
|
||||
@Controller("v2/registrar/claim-request-management")
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(LocalActorAuthGuard, RolesGuard)
|
||||
|
||||
Reference in New Issue
Block a user