forked from Yara724/api
fanavaran stage by stage implemented i am so bored to send smart commit sorry MR sina
This commit is contained in:
@@ -8,6 +8,9 @@ export enum FanavaranAuditStep {
|
||||
POLICY_INQUIRY = "POLICY_INQUIRY",
|
||||
BUILD_PAYLOAD = "BUILD_PAYLOAD",
|
||||
SUBMIT_CLAIM = "SUBMIT_CLAIM",
|
||||
SUBMIT_DAMAGE_CASE = "SUBMIT_DAMAGE_CASE",
|
||||
SUBMIT_ATTACHMENT = "SUBMIT_ATTACHMENT",
|
||||
SUBMIT_EXPERTISE = "SUBMIT_EXPERTISE",
|
||||
}
|
||||
|
||||
export enum FanavaranAuditStatus {
|
||||
@@ -31,13 +34,23 @@ export class FanavaranAuditLog {
|
||||
@Prop({ type: String, required: true, enum: FanavaranAuditStep, index: true })
|
||||
step: FanavaranAuditStep;
|
||||
|
||||
@Prop({ type: String, required: true, enum: FanavaranAuditStatus, index: true })
|
||||
@Prop({
|
||||
type: String,
|
||||
required: true,
|
||||
enum: FanavaranAuditStatus,
|
||||
index: true,
|
||||
})
|
||||
status: FanavaranAuditStatus;
|
||||
|
||||
@Prop({ type: String, required: true, index: true })
|
||||
clientKey: FanavaranClientKey;
|
||||
|
||||
@Prop({ type: String, required: true, enum: FanavaranAuditSource, index: true })
|
||||
@Prop({
|
||||
type: String,
|
||||
required: true,
|
||||
enum: FanavaranAuditSource,
|
||||
index: true,
|
||||
})
|
||||
source: FanavaranAuditSource;
|
||||
|
||||
@Prop({ type: Types.ObjectId, required: false, index: true })
|
||||
|
||||
Reference in New Issue
Block a user