forked from Yara724/api
Fixed Participants
This commit is contained in:
@@ -66,7 +66,6 @@ export class InquiryParticipant {
|
||||
@Prop({ type: Boolean }) hasDrivingLicense?: boolean;
|
||||
@Prop() licenseNumber?: string;
|
||||
@Prop() licenseType?: string;
|
||||
@Prop({ type: Boolean }) unknown?: boolean;
|
||||
}
|
||||
export const InquiryParticipantSchema =
|
||||
SchemaFactory.createForClass(InquiryParticipant);
|
||||
@@ -94,6 +93,7 @@ export class Vehicle {
|
||||
@Prop({ enum: ["CURRENT", "RECENTLY_TRANSFERRED"] })
|
||||
registrationState?: "CURRENT" | "RECENTLY_TRANSFERRED";
|
||||
@Prop() previousPlateId?: string;
|
||||
@Prop() previousPolicyholderNationalCode?: string;
|
||||
|
||||
/**
|
||||
* Full external inquiry payload (Tejarat/SandHub) stored as-is
|
||||
|
||||
@@ -161,6 +161,7 @@ export class FirstPartyDetail {
|
||||
|
||||
@Prop() registrationState?: string;
|
||||
@Prop() previousPlateId?: string;
|
||||
@Prop() previousPolicyholderNationalCode?: string;
|
||||
@Prop() vehicleVin?: string;
|
||||
}
|
||||
|
||||
@@ -209,6 +210,7 @@ export class SecondPartyDetail {
|
||||
|
||||
@Prop() registrationState?: string;
|
||||
@Prop() previousPlateId?: string;
|
||||
@Prop() previousPolicyholderNationalCode?: string;
|
||||
@Prop() vehicleVin?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user