feat(claims): enforce insurer working hours

This commit is contained in:
SepehrYahyaee
2026-11-24 12:18:39 +03:30
parent 475780f17e
commit f29461fa67
35 changed files with 879 additions and 3 deletions
@@ -1,4 +1,5 @@
import { Prop, Schema, SchemaFactory } from "@nestjs/mongoose";
import type { WorkingHours } from "src/client/working-hours/working-hours";
import type { ExternalInquiryFlags } from "src/common/types/external-inquiry.types";
export type ClientDocument = ClientModel & Document;
@@ -68,6 +69,9 @@ export class ClientExternalInquirySettings implements Partial<ExternalInquiryFla
* working when a field is missing.
*/
export class ClientSettings {
@Prop({ type: Object, required: false })
workingHours?: WorkingHours;
/**
* Max number of days between the accident and the moment a CAR_BODY blame
* file is allowed to be submitted. When unset, consumers fall back to the