diff --git a/public/static/healthcheck/index.html b/public/static/healthcheck/index.html index 52e21bb5b..3f87a7587 100644 --- a/public/static/healthcheck/index.html +++ b/public/static/healthcheck/index.html @@ -545,7 +545,6 @@ { path: '/parts/parts-or-questions', method: 'POST', body: {"carId":"CR00046193","glassPieces":[{"location":"Windshield","name":"Single"}],"zip":"43015","vin":null,"serviceType":null,"referralSeqNumber":environmentContext.referralNumber,"AppName":"FixMyGlass"} }, { path: '/parts/wipers/CR00046193/43015', method: 'GET' }, { path: '/parts/mobile-premium-fee/Cash/Replace', method: 'GET' }, - { path: '/parts/service-package-discount', method: 'POST', body: {"glassPieces":[{"location":"Windshield","name":"Single"}],"damageType":"Replace","AppName":"FixMyGlass"} }, { path: '/parts/mobile-fee/?serviceType=Install&facilityType=Mobile&parentAccountNumber=167132&billToAccountNumber=87291&providerNumber=03357&isItacOptimized=false&zipCode=43015', method: 'GET' }, ] }, diff --git a/src/constants/endpoints.js b/src/constants/endpoints.js index 4471b1011..ba11ad3a1 100644 --- a/src/constants/endpoints.js +++ b/src/constants/endpoints.js @@ -76,10 +76,6 @@ const endpoints = { url: "/parts/api/v1/parts/pricing-by-day-part-number", method: "GET", }, - GetServicePackageDiscountPart: { - url: "/parts/api/v1/parts/service-package-discount", - method: "POST", - }, GetServiceabilityDetails: { url: "/location/api/v1/location/serviceability-details", method: "GET", diff --git a/src/constants/store-actions.js b/src/constants/store-actions.js index 2bbfc87fa..e09a4c78b 100644 --- a/src/constants/store-actions.js +++ b/src/constants/store-actions.js @@ -33,7 +33,6 @@ const storeActions = { GET_MOLDING_QUESTIONS: "getMoldingQuestions", GET_MOBILE_FEE_PART: "getMobileFeePart", GET_PRICING_BY_DAY_PART: "getPricingByDayPart", - GET_SERVICE_PACKAGE_DISCOUNT_PART: "getServicePackageDiscountPart", GET_SERVICEABILITY_DETAILS: "getServiceabilityDetails", GET_SHOP_TIME_SLOTS: "getShopTimeSlots", GET_MOBILE_TIME_SLOTS: "getMobileTimeSlots", diff --git a/src/store/index.js b/src/store/index.js index 409818a40..895763ff3 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1986,26 +1986,6 @@ export const actions = { return response; }); }, - getServicePackageDiscountPart(context, { pageNameToLog }) { - const damage = context.getters.damage; - const damageType = damage.isRepair ? "Repair" : "Replace"; - const glassPieces = convertGlassPieceNamingForApi(damage.glassToReplace); - - return globalMethods - .callHttpClient({ - method: endpoints.GetServicePackageDiscountPart.method, - endpoint: endpoints.GetServicePackageDiscountPart.url, - payload: { - glassPieces: glassPieces, - damageType: damageType, - }, - logApiCall: true, - pageNameToLog: pageNameToLog, - }) - .then((response) => { - return response; - }); - }, getServiceabilityDetails(context, { payload: { serviceZipCode }, pageNameToLog }) { const escapeRecalibrationType = (rt) => rt.split("&").join("%26");