diff --git a/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js b/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js index 157c28f2b..2864941be 100644 --- a/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js +++ b/src/layouts/service-location/helpers/service-location-helper/service-location-helper.js @@ -42,3 +42,49 @@ export async function getServiceabilityDetails(serviceZipCode, lineItems) { return Promise.resolve(serviceabilityDetails); } + +export async function getShopTimeSlots(providerNumber, startDate, endDate) { + // For a given shop provider number and date range, get the appointment time slots available + /* + Request + { + "providerNumber": "string", + "startDate": "2023-05-19T18:32:02.026Z", + "endDate": "2023-05-19T18:32:02.026Z", + "shopAppointmentType": "string", + "applicationName": "string", + "parentAccountNumber": 0, + "carId": "string", + "partNumbers": [ + "string" + ], + "glassPieces": [ + { + "name": "string", + "location": "string" + } + ], + "eon": "string", + "paymentType": "string", + "coverage": { + "status": "string", + "deductible": 0, + "additionalAuthFlag": "string" + }, + "partSelection": { + "hasAnsweredPartQuestions": true, + "hasAnsweredMoldingQuestions": true, + "hasAnsweredCapabilityQuestions": true, + "hasManuallySelectedParts": true + }, + "vehicle": { + "year": 0, + "make": "string", + "model": "string", + "style": "string", + "vin": "string" + } + } + + */ +}