Merge pull request #1184 from Safelite/feature/skiener/INSR-2124-version-rework
Change versioning
This commit is contained in:
commit
5b43e74936
1 changed files with 14 additions and 13 deletions
|
|
@ -6,7 +6,8 @@ const COVERAGE_BASE_URL = '/coverage/api/v1/coverage';
|
|||
const EXPERIMENTS_BASE_URL = '/experiments/api/v1/experiments';
|
||||
const LOCATION_BASE_URL = '/location/api/v1/location';
|
||||
const ORDER_BASE_URL = '/order/api/v1/order';
|
||||
const PARTS_BASE_URL = '/parts/api/v2/parts';
|
||||
const PARTS_V1_BASE_URL = '/parts/api/v1/parts';
|
||||
const PARTS_V2_BASE_URL = '/parts/api/v2/parts';
|
||||
const PRICE_BASE_URL = '/price/api/v1/price';
|
||||
const SCHEDULE_BASE_URL = '/schedule/api/v1/schedule';
|
||||
const VEHICLE_BASE_URL = '/vehicle/api/v1/vehicle';
|
||||
|
|
@ -42,7 +43,7 @@ const endpoints = Object.freeze({
|
|||
method: 'POST'
|
||||
},
|
||||
GetMobilePremiumFee: {
|
||||
url: `${PARTS_BASE_URL}/mobile-premium-fee`,
|
||||
url: `${PARTS_V1_BASE_URL}/mobile-premium-fee`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetVehicleYears: {
|
||||
|
|
@ -62,15 +63,15 @@ const endpoints = Object.freeze({
|
|||
method: 'GET'
|
||||
},
|
||||
GetDamageOptions: {
|
||||
url: `${PARTS_BASE_URL}/damage-options`,
|
||||
url: `${PARTS_V1_BASE_URL}/damage-options`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetPartsOrQuestions: {
|
||||
url: `${PARTS_BASE_URL}/parts-or-questions`,
|
||||
url: `${PARTS_V1_BASE_URL}/parts-or-questions`,
|
||||
method: 'POST'
|
||||
},
|
||||
GetParts: {
|
||||
url: `${PARTS_BASE_URL}/parts`,
|
||||
url: `${PARTS_V1_BASE_URL}/parts`,
|
||||
method: 'POST'
|
||||
},
|
||||
GetITACPriceOrderItems: {
|
||||
|
|
@ -99,19 +100,19 @@ const endpoints = Object.freeze({
|
|||
method: 'GET'
|
||||
},
|
||||
GetCapabilityQuestions: {
|
||||
url: `${PARTS_BASE_URL}/capability-questions`,
|
||||
url: `${PARTS_V1_BASE_URL}/capability-questions`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetPartFromCapabilityAnswer: {
|
||||
url: `${PARTS_BASE_URL}/part-from-capability-answer`,
|
||||
url: `${PARTS_V1_BASE_URL}/part-from-capability-answer`,
|
||||
method: 'POST'
|
||||
},
|
||||
GetWipers: {
|
||||
url: `${PARTS_BASE_URL}/wipers`,
|
||||
url: `${PARTS_V1_BASE_URL}/wipers`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetRainDefense: {
|
||||
url: `${PARTS_BASE_URL}/rain-repel`,
|
||||
url: `${PARTS_V1_BASE_URL}/rain-repel`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetRecalParts: {
|
||||
|
|
@ -123,19 +124,19 @@ const endpoints = Object.freeze({
|
|||
zipCode,
|
||||
applicationName,
|
||||
referralSequenceNumber
|
||||
) => `${PARTS_BASE_URL}/recal-parts/${carId}/${partNumber}/${recalibrationType}/${parentAccountNumber}/${zipCode}/${applicationName}/${referralSequenceNumber}`,
|
||||
) => `${PARTS_V1_BASE_URL}/recal-parts/${carId}/${partNumber}/${recalibrationType}/${parentAccountNumber}/${zipCode}/${applicationName}/${referralSequenceNumber}`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetGlassFees: {
|
||||
url: `${PARTS_BASE_URL}/glass-fees`,
|
||||
url: `${PARTS_V1_BASE_URL}/glass-fees`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetSupportingItems: {
|
||||
url: `${PARTS_BASE_URL}/supporting-items`,
|
||||
url: `${PARTS_V1_BASE_URL}/supporting-items`,
|
||||
method: 'POST'
|
||||
},
|
||||
GetMobileFeePart: {
|
||||
url: `${PARTS_BASE_URL}/mobile-fee`,
|
||||
url: `${PARTS_V2_BASE_URL}/mobile-fee`,
|
||||
method: 'GET'
|
||||
},
|
||||
GetServiceabilityDetails: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue