Initial commit after migration to gitea

This commit is contained in:
2026-01-18 11:27:43 +03:30
parent a21039410c
commit ea4b8eb543
196 changed files with 45567 additions and 9 deletions

View File

@@ -0,0 +1,23 @@
// Weather conditions for accident
export enum WeatherCondition {
CLEAR = "صاف",
RAINY = "بارونی",
SNOWY = "برفی",
FOGGY = "مه آلود",
}
// Road conditions for accident
export enum RoadCondition {
MUDDY = "گلی",
ICY = "یخ زده",
WET = "مرطوب",
DRY = "خشک",
}
// Light conditions for accident
export enum LightCondition {
DAYLIGHT = "روز",
NIGHT = "شب",
LOW_LIGHT = "کم نور",
}

View File

@@ -0,0 +1,14 @@
export enum ReqBlameStatus {
PendingForSecondParty = "PendingForSecondParty",
PendingForFirstParty = "PendingForFirstParty",
UnChecked = "UnChecked",
CheckedRequest = "CheckedRequest",
ReviewRequest = "ReviewRequest",
CheckAgain = "CheckAgain",
UserPending = "UserPending",
CloseRequest = "CloseRequest",
WaitForUserAccept = "WaitForUserAccept",
WaitingForSignatures = "WaitingForSignatures",
PartiesDisagree = "PartiesDisagree",
InPersonVisit = "InPersonVisit",
}

View File

@@ -0,0 +1,26 @@
export enum StepsEnum {
createRequest = "createRequest",
F_InitialForm = "firstParty-initialForm",
F_addPlate = "firstParty-addPlate",
F_videoUpload = "firstParty-videoUpload",
F_addLocation = "firstParty-addLocation",
F_addVoice = "firstParty-addVoice",
F_addDescription = "firstParty-addDescription",
F_addSecondPartyPhoneNumber = "firstParty-addSecondPartyPhoneNumber",
F_addSign = "firstParty-addSign",
F_completed = "firstParty-completed",
S_InitialForm = "secondParty-initialForm",
S_addPlate = "secondParty-addPlate",
S_addLocation = "secondParty-addLocation",
S_addVoice = "secondParty-addVoice",
S_addDescription = "secondParty-addDescription",
S_addSecondPartyPhoneNumber = "S_addSecondPartyPhoneNumber",
S_addSign = "secondParty-addSign",
S_completed = "secondParty-completed",
AddSignatures = "AddSignatures",
CarBodyVideo = "CarBodyVideo",
CarBodyForm = "CarBodyForm",
CarBodySecondForm = "CarBodySecondForm",
CarBodyDamaged = "CarBodyDamaged",
CarBodyGuilty = "CarBodyGuilty",
}

View File

@@ -0,0 +1,21 @@
export enum CarPartEnum {
LeftBackFender = "leftBackFender",
RightBackFender = "rightBackFender",
BackWheel = "backWheel",
LeftBackDoor = "leftBackDoor",
RightBackDoor = "rightBackDoor",
LeftFrontDoor = "leftFrontDoor",
RightFrontDoor = "rightFrontDoor",
LeftMirror = "leftMirror",
RightMirror = "rightMirror",
FrontWheel = "frontWheel",
LeftFrontFender = "leftFrontFender",
RightFrontFender = "RightFrontFender",
FrontBumper = "frontBumper",
FrontCarWindow = "frontCarWindow",
CarHood = "carHood",
BackBumper = "backBumper",
CarTrunk = "carTrunk",
BackCarWindow = "backCarWindow",
Roof = "roof",
}

View File

@@ -0,0 +1,7 @@
export enum DaghiOption {
RECYCLED_PARTS_VALUE = "ارزش لوازم بازیافتی",
DELIVER_DAMAGED_PART = "تحویل داغی",
NO_VALUE = "فاقد ارزش",
WITH_DAMAGED_PART_CALCULATION = "با احتساب داغی",
}

View File

@@ -0,0 +1,7 @@
export class PriceDropIF {
total: number;
carPrice: number;
carModel: number;
carValue: number[];
sumOfSeverity: number;
}

View File

@@ -0,0 +1,5 @@
export enum FactorStatus {
PENDING = "PENDING",
APPROVED = "APPROVED",
REJECTED = "REJECTED",
}

View File

@@ -0,0 +1,6 @@
export enum InPersonDocumentsEnum {
NationalCertificate = "nationalCertificate",
CarCertificate = "carCertificate",
DrivingLicense = "drivingLicense",
CarGreenCard = "carGreenCard",
}

View File

@@ -0,0 +1,18 @@
export enum ClaimRequiredDocumentType {
// Damaged party documents
DAMAGED_DRIVING_LICENSE_BACK = "damaged_driving_license_back",
DAMAGED_DRIVING_LICENSE_FRONT = "damaged_driving_license_front",
DAMAGED_CHASSIS_NUMBER = "damaged_chassis_number",
DAMAGED_ENGINE_PHOTO = "damaged_engine_photo",
DAMAGED_CAR_CARD_FRONT = "damaged_car_card_front",
DAMAGED_CAR_CARD_BACK = "damaged_car_card_back",
DAMAGED_METAL_PLATE = "damaged_metal_plate",
// Guilty party documents
GUILTY_DRIVING_LICENSE_FRONT = "guilty_driving_license_front",
GUILTY_DRIVING_LICENSE_BACK = "guilty_driving_license_back",
GUILTY_CAR_CARD_FRONT = "guilty_car_card_front",
GUILTY_CAR_CARD_BACK = "guilty_car_card_back",
GUILTY_METAL_PLATE = "guilty_metal_plate",
}

View File

@@ -0,0 +1,15 @@
export enum ReqClaimStatus {
WaitingForUserCompleted = "WaitingForUserCompleted",
UnChecked = "UnChecked",
CheckedRequest = "CheckedRequest",
ReviewRequest = "ReviewRequest",
CheckAgain = "CheckAgain",
UserPending = "UserPending",
CloseRequest = "CloseRequest",
WaitingForUserToResend = "WaitingForUserToResend",
InPersonVisit = "InPersonVisit",
PendingFactorUpload = "PendingFactorUpload",
PendingFactorValidation = "PendingFactorValidation",
FactorRejected = "FactorRejected",
UploadingRequiredDocuments = "UploadingRequiredDocuments",
}

View File

@@ -0,0 +1,10 @@
export enum ClaimStepsEnum {
CreateClaimFile = "createClaimFile",
SelectDamagePart = "selectDamagePart",
SelectOtherParts = "SelectOtherParts",
UploadRequiredDocuments = "uploadRequiredDocuments",
ImageRequired = "ImageRequired",
waitForDamageExpertComment = "waitForDamageExpertComment",
WaitingForUserToReact = "WaitingForUserToReact",
WaitingForFactorUpload = "WaitingForFactorUpload",
}

View File

@@ -0,0 +1,4 @@
export enum TypeOfDamage {
Repair = "repair",
Change = "change",
}

View File

@@ -0,0 +1,5 @@
export enum UserReplyEnum {
HOLD = "HOLD",
ACCEPTED = "ACCEPTED",
REJECTED = "REJECTED",
}

View File

@@ -0,0 +1,32 @@
export enum ExpertizedAtEnum {
BADANE = "badane",
SAALES = "saales",
FANI = "fani",
SPECIALIZED = "specialized",
}
export enum PreviousWorkEnum {
INSURANCE_COMPANY = "insuranceCompany",
BROKER = "broker",
GENUINE_EXPERT = "genuineExpert",
}
export enum SkillEnum {
SMOOTHING = "smothing",
COLORING = "coloring",
PARTS_AUTH = "partsAuth",
MEDIA_EVAL = "mediaEval",
SCENE_EXPERT = "sceneExpert",
DYNAMIC_ANALYSIS = "dynamicAnalysis",
}

View File

@@ -0,0 +1,6 @@
export enum Degrees {
DIPLOMA = "diploma",
EXPERT = "expert",
SENIOR_EXPERT = "senior_expert",
PHD = "phd",
}

View File

@@ -0,0 +1,8 @@
export interface Plates {
leftDigits: number;
centerAlphabet: string;
centerDigits: number;
ir: number;
nationalCode: string;
carDetail?: any;
}

View File

@@ -0,0 +1,7 @@
export enum RoleEnum {
EXPERT = "expert",
DAMAGE_EXPERT = "damage_expert",
COMPANY = "company",
ADMIN = "admin",
USER = "user",
}

View File

@@ -0,0 +1,4 @@
export enum UploaderModeEnum {
Sign = "uploadService",
Certificate = "certService",
}

View File

@@ -0,0 +1,5 @@
export enum UserType {
GENUINE = "genuine",
LEGAL = "legal",
INSURER = "insurer",
}