forked from Yara724/api
fanavaran rate bugs fixed + sms of claimId and claimNo added
This commit is contained in:
@@ -81,6 +81,36 @@ export class FanavaranSyncStage {
|
||||
@Prop({ type: Number })
|
||||
expertiseId?: number;
|
||||
|
||||
/** Cached Fanavaran PolicyId from inquiry-my-policies (guilty party). */
|
||||
@Prop({ type: Number })
|
||||
policyId?: number;
|
||||
|
||||
/** Cached Fanavaran DriverId (parties inquiry-by-unique-identifier). */
|
||||
@Prop({ type: Number })
|
||||
driverId?: number;
|
||||
|
||||
/** Cached Fanavaran VehicleKindId. */
|
||||
@Prop({ type: Number })
|
||||
vehicleKindId?: number;
|
||||
|
||||
/** Cached Fanavaran InsuranceCorpId. */
|
||||
@Prop({ type: Number })
|
||||
insuranceCorpId?: number;
|
||||
|
||||
/**
|
||||
* Last successfully built payload for this stage (preview/submit).
|
||||
* Lets later preview/submit reuse Fanavaran-sourced fields without re-calling.
|
||||
*/
|
||||
@Prop({ type: MongooseSchema.Types.Mixed })
|
||||
lastPayload?: Record<string, unknown>;
|
||||
|
||||
@Prop({ type: Date })
|
||||
lastPayloadBuiltAt?: Date;
|
||||
|
||||
/** When we SMS'd the claim owner about Fanavaran claimId/ClaimNo (base claim). */
|
||||
@Prop({ type: Date })
|
||||
smsNotifiedAt?: Date;
|
||||
|
||||
@Prop({ type: [MongooseSchema.Types.Mixed], default: [] })
|
||||
files?: unknown[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user