const endpoints = Object.freeze({ GetRouteInfo: { url: (applicationAbbreviation) => `/content/api/v1/content/${applicationAbbreviation}/RouteInfo`, method: 'POST' }, GetHomepageInfo: { url: (applicationAbbreviation) => `/content/api/v1/content/${applicationAbbreviation}/HomepageInfo`, method: 'GET' }, GetPageData: { url: (applicationAbbreviation, pageName) => `/content/api/v1/content/${applicationAbbreviation}/${pageName}`, method: 'GET' }, GetAlertReasons: { url: '/location/api/v1/location/alert-reasons', method: 'GET' }, GetShopTimeSlots: { url: '/schedule/api/v1/schedule/shop-time-slots', method: 'POST' }, GetMobileTimeSlots: { url: '/schedule/api/v1/schedule/mobile-time-slots', method: 'POST' }, GetMobilePremiumFee: { url: '/parts/api/v1/parts/mobile-premium-fee', 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' }, GetDamageOptions: { url: '/parts/api/v1/parts/damage-options', method: 'GET' }, GetPartsOrQuestions: { url: '/parts/api/v1/parts/parts-or-questions', method: 'POST' }, GetParts: { url: '/parts/api/v1/parts/parts', method: 'POST' }, GetInsurancePriceOrderItems: { url: '/price/api/v1/price/order-items-with-insurance-pricing', method: 'GET' }, GetPriceOrderItems: { url: '/price/api/v1/price/order-items', method: 'GET' }, GetProviders: { url: '/location/api/v1/location/providers', method: 'GET' }, GetCapabilityQuestions: { url: '/parts/api/v1/parts/capability-questions', method: 'GET' }, GetPartFromCapabilityAnswer: { url: '/parts/api/v1/parts/part-from-capability-answer', method: 'POST' }, GetWipers: { url: '/parts/api/v1/parts/wipers', method: 'GET' }, GetRainDefense: { url: '/parts/api/v1/parts/rain-defense', method: 'GET' }, GetSupportingItems: { url: '/parts/api/v1/parts/supporting-items', method: 'POST' }, GetMobileFeePart: { url: '/parts/api/v1/parts/mobile-fee', method: 'GET' }, GetServiceabilityDetails: { url: '/location/api/v1/location/serviceability-details', method: 'GET' }, GetVehicle: { url: '/vehicle/api/v1/vehicle/lookup', method: 'GET' }, LogExperimentExposureIfAssigned: { url: '/experiments/api/v1/experiments/log-exposure', method: 'POST' }, LogPageView: { url: '/analytics/api/v1/analytics/log-page-view', method: 'POST' }, LogCustomEvent: { url: '/analytics/api/v1/analytics/log-custom-event', method: 'POST' }, LookupVehicleByVin: { url: '/vehicle/api/v1/vehicle/lookup', method: 'POST' }, LookupVinByAddress: { url: '/vehicle/api/v1/vehicle/lookup-vin-by-address', method: 'POST' }, LookupVinByPlate: { url: '/vehicle/api/v1/vehicle/lookup-vin-by-plate', method: 'POST' }, InitializeSession: { url: '/analytics/api/v1/analytics/initialize', method: 'POST' }, GetExperimentsByUser: { url: '/analytics/api/v1/analytics/get-experiments', method: 'GET' }, RunExperimentsForTrigger: { url: '/experiments/api/v1/experiments/run', method: 'POST' }, ValidateZip: { url: '/location/api/v1/location/zip', method: 'GET' }, GooglePlaces: { url: (apiKey) => `https://maps.googleapis.com/maps/api/js?key=${apiKey}&libraries=places` }, ValidateClientTag: { url: '/clientauth/api/v1/clientauth/validate-client-tag', method: 'GET' }, ValidateClientSignature: { url: '/clientauth/api/v1/clientauth/validate-client-signature', method: 'POST' }, IsVinbyAddressPermissible: { url: '/vehicle/api/v1/vehicle/is-vin-by-address-permissible', method: 'Get' }, CoveragePolicyInfo: { url: '/coverage/api/v1/coverage/policy-information', method: 'POST' }, RegisterClaim: { url: '/coverage/api/v1/coverage/register-claim', method: 'POST' }, SaveSession: { url: '/order/api/v1/order/save-session/iss', method: 'POST' }, LoadSession: { url: '/order/api/v1/order/load-session/iss', method: 'POST' }, DuplicateSearch: { // eslint-disable-next-line max-len url: (accountNumber, policyNumber, dateOfLoss) => `/order/api/v1/order/duplicate-check/${accountNumber}/${policyNumber}/${dateOfLoss}`, method: 'GET' }, FinalDeductible: { url: '/coverage/api/v1/coverage/final-deductible', method: 'POST' }, GetPaymentSignature: { url: '/order/api/v1/order/sign', method: 'POST' } }); export { endpoints };