23 lines
676 B
JavaScript
23 lines
676 B
JavaScript
// When adding a new bailout, the Digital Consumer Order Service must also be updated to map the new bailout code to the SV2BailoutCode
|
|
const bailoutCode = Object.freeze({
|
|
Unknown: 0,
|
|
SaveSessionError: 1,
|
|
VehicleNotFound: 2,
|
|
VehicleVinLookupError: 3,
|
|
CoverageStatementInvalidState: 4,
|
|
DoNotSeeMyShop: 5,
|
|
PricingResponseError: 6,
|
|
TPANotEnabled: 7,
|
|
RequestCallback: 8,
|
|
HeavyTruckVehicle: 9,
|
|
NoPartsAvailable: 10,
|
|
PartsServiceError: 11,
|
|
SafeliteNotTheProvider: 12,
|
|
VehicleYMMSLookupError: 13,
|
|
ApplicationError: 14,
|
|
ApiError: 15,
|
|
RouterError: 16,
|
|
CoverageCancelledByUser: 17
|
|
});
|
|
|
|
export default bailoutCode;
|