forked from Yara724/api
feat(claims): enforce insurer working hours
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user