diff --git a/src/constants/application-config.js b/src/constants/application-config.js index 70777398..ff2229e3 100644 --- a/src/constants/application-config.js +++ b/src/constants/application-config.js @@ -1,5 +1,6 @@ const applicationConfig = { CURRENT_ENVIRONMENT: process.env.VUE_APP_CURRENT_ENVIRONMENT, // "Localhost", "Dev", "QA", and "Prod" + CONSUMER_CF_DISTRO: process.env.VUE_APP_CONSUMER_CF_DISTRO, APPLICATION_NAME: "SelfService", SITE_ENTRY_TRIGGER_VALUE: "SelfService" }; diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index 9021ded4..7581f022 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -7,70 +7,10 @@ const endpoints = { url: "/content/api/v1/content/HomepageInfo", method: "GET", }, - GetVehicleYears: { - url: "/vehicle/api/v1/vehicle/years", - method: "GET", - }, - GetVehicleMakes: { - url: "/vehicle/api/v1/vehicle/Makes", - method: "GET", - }, - GetVehicleModels: { - url: "/vehicle/api/v1/vehicle/Models", - method: "GET", - }, - GetVehicleStyles: { - url: "/vehicle/api/v1/vehicle/Styles", - method: "GET", - }, - GetVehicle: { - url: "/vehicle/api/v1/vehicle/lookup", - method: "GET", - }, - GetDamageOptions: { - url: "/parts/api/v1/parts/damage-options", - method: "GET", - }, GetPageData: { url: "/content/api/v1/content", method: "GET", }, - LookupVehicleByYmms: { - url: "/vehicle/api/v1/vehicle/Lookup", - method: "GET", - }, - LookupVehicleByVin: { - url: "/vehicle/api/v1/vehicle/Lookup", - method: "POST", - }, - LookupVinByPlate: { - url: "/vehicle/api/v1/vehicle/lookup-vin-by-plate", - method: "POST", - }, - LookupVinByAddress: { - url: "/vehicle/api/v1/vehicle/lookup-vin-by-address", - method: "POST", - }, - GetPartsOrQuestions: { - url: "/parts/api/v1/parts/parts-or-questions", - method: "POST", - }, - GetParts: { - url: "/parts/api/v1/parts/parts", - method: "POST", - }, - GetCapabilityQuestions: { - url: "/parts/api/v1/parts/capability-questions", - method: "GET" - }, - GetPartFromCapabilityAnswer: { - url: "/parts/api/v1/parts/part-from-capability-answer", - method: "POST" - }, - ValidateZip: { - url: "/location/api/v1/location/zip", - method: "GET", - } }; export { endpoints }; diff --git a/src/constants/store-actions.js b/src/constants/store-actions.js index 7912446a..ff3d60fb 100644 --- a/src/constants/store-actions.js +++ b/src/constants/store-actions.js @@ -3,43 +3,6 @@ const storeActions = { GET_ROUTE_INFO_ACTION: "getRouteInfo", GET_HOMEPAGE_NAME: "getHomepageName", GET_PAGE_DATA: "getPageData", - - // Vehicle Actions - GET_VEHICLE_YEARS: "getVehicleYears", - GET_VEHICLE_MAKES: "getVehicleMakes", - GET_VEHICLE_MODELS: "getVehicleModels", - GET_VEHICLE_STYLES: "getVehicleStyles", - SET_VEHICLE: "setVehicle", - GET_DAMAGE_OPTIONS: "getDamageOptions", - GET_EVOX_IMAGE: "getEvoxImage", - - // Lookup Actions - LOOKUP_VEHICLE_BY_YMMS: "lookupVehicleByYmms", - LOOKUP_VEHICLE_BY_VIN: "lookupVehicleByVin", - LOOKUP_VIN_BY_PLATE: "lookupVinByPlate", - LOOKUP_VIN_BY_ADDRESS: "lookupVinByAddress", - - GET_PARTS_OR_QUESTIONS: "getPartsOrQuestions", - GET_PARTS: "getParts", - GET_CAPABILITY_QUESTIONS: "getCapabilityQuestions", - GET_PART_FROM_CAPABILITY_QUESTION_ANSWER: "getPartFromCapabilityQuestionAnswer", - GET_MOLDING_QUESTIONS: "getMoldingQuestions", - VALIDATE_ZIP: "validateZip", - CLEAR_VIN: "clearVin", - - // VEHICLE Actions - UPDATE_YEAR: "updateYear", - UPDATE_MAKE: "updateMake", - UPDATE_MODEL: "updateModel", - UPDATE_STYLE: "updateStyle", - UPDATE_CAR_ID: "updateCarId", - UPDATE_VEHICLE_CATEGORY: "updateVehicleCategory", - UPDATE_VEHICLE_IMAGE_URL: "updateVehicleImageUrl", - UPDATE_VEHICLE_IMAGE_VIF_NUMBER: "updateVehicleImageVifNumber", - UPDATE_VEHICLE_IMAGE_COLOR: "updateVehicleImageColor", - UPDATE_VEHICLE_VIN: "updateVehicleVin", - UPDATE_VEHICLE: "updateVehicle", - }; export { storeActions }; diff --git a/src/layouts/vehicle-make/vehicle-make.vue b/src/layouts/vehicle-make/vehicle-make.vue index cb13bd16..156d9162 100644 --- a/src/layouts/vehicle-make/vehicle-make.vue +++ b/src/layouts/vehicle-make/vehicle-make.vue @@ -8,7 +8,6 @@