Stubbed out getShopTimeSlots method in service-location-helper

This commit is contained in:
Leah Schumann 2023-05-19 14:39:26 -04:00
parent e0b552f4f9
commit 057c7fbfbc

View file

@ -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"
}
}
*/
}