Update enums used for validations
This commit is contained in:
parent
df9f24aaa3
commit
9e6fdf4707
1 changed files with 29 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ export enum DamageType {
|
|||
Theft = 'Attempted theft or theft',
|
||||
Hail = 'Hailstorm',
|
||||
HurricaneStorm = 'Hurricane/storm',
|
||||
Collision = 'Collision',
|
||||
OtherWeather = 'Other weather',
|
||||
Object = 'Object hit glass',
|
||||
Other = 'Other/unknown'
|
||||
}
|
||||
|
|
@ -90,7 +90,11 @@ export enum PartQuestionType {
|
|||
RearWindowColor = 'Rear-Stationary',
|
||||
LeatherSeats = 'question-0-1',
|
||||
DriverSideColor = 'Driver-SideDoor',
|
||||
LaneKeepAssist = 'question-0-1'
|
||||
LaneKeepAssist = 'question-0-1',
|
||||
GeneralQuestion1 = "question-0-1",
|
||||
GeneralQuestion2 = "question-0-2",
|
||||
GeneralQuestion3 = "question-0-3",
|
||||
GeneralQuestion4 = "question-0-4"
|
||||
}
|
||||
|
||||
export enum PaymentType{
|
||||
|
|
@ -170,4 +174,27 @@ export enum Authentication {
|
|||
RSATokenEncParams = 'RSATokenEncParams',
|
||||
RSATokenEncParamsOneTimeUse = 'RSATokenEncParamsOneTimeUse',
|
||||
Unknown = 'Unknown',
|
||||
}
|
||||
|
||||
// TODO: Add validations for the percentages on each page like url validations
|
||||
export enum ProgressBarPercentage {
|
||||
PolicyVehiclesPage = '20%',
|
||||
PolicyHolderDetailsPage = '30%',
|
||||
VehicleSelectionPage = '25%',
|
||||
PolicyEndorsementsPage = '20%',
|
||||
VehicleDamagePage = '35%',
|
||||
VehicleLookupPage = '45%',
|
||||
PartQuestionsPage = '40%',
|
||||
MoldingQuestionsPage = '45%',
|
||||
VehiclePartsPage = '45%',
|
||||
CapabilityQuestionsPage = '45%',
|
||||
CoverageStatementPage = '55%',
|
||||
ProviderPreferencePage = '60%',
|
||||
SchedulePage = '70%',
|
||||
ContactDetailsPage = '80%',
|
||||
ServicePackagesPage = '85%',
|
||||
PaymentMethodPage = '90%',
|
||||
OrderConfirmationPage = '100%',
|
||||
TpaSearchPage = '80%',
|
||||
TpaSubmitPage = '95%',
|
||||
}
|
||||
Loading…
Reference in a new issue