expediteServicesModule.service("accountsService",["$http","$rootScope",function(n,t){var i=this;return i.getAccounts=function(r,u){n.get(`${t.ExpediteApi}/customer`).then(function({data:n}){i.accounts=n.filter(n=>n.Status!==0&&n.Id!==-1&&n.Id===n.ParentId);r()},function({data:n,status:t}){u(n,t)})},i.getCarrierAccounts=function(r,u){n.get(`${t.ExpediteApi}/customer`).then(function({data:n}){i.accounts=[{Id:255,Name:"XPO Expedite"}].concat(n.filter(n=>n.Status!==0&&n.Id>0&&n.ParentId!==0).sort((n,t)=>n.Name>t.Name?1:-1));r()},function({data:n,status:t}){u(n,t)})},i}]);expediteServicesModule.service("alertResolutionService",["$http","$rootScope",function(n,t){var i=this;return i.getAlertDetails=function(i,r,u,f){var e=`${t.ExpediteApi}/shipment/${i}/alert/${r}`;n.get(e).then(function({data:n}){u(n)},function({data:n,status:t}){f(n,t)})},i.submitAlertResolution=function(i,r,u,f,e){var o=`${t.ExpediteApi}/shipment/${i}/alert/${r}`;n.patch(o,u).then(function({data:n}){f(n)},function({data:n,status:t}){e(n,t)})},i}]);expediteServicesModule.service("bulletinBoardService",["$http","$rootScope",function(n,t){var i=this;return i.getBulletinBoardData=function(r,u){n.get(t.ExpediteApi+"/BulletinBoard/GetMessageList").then(function({data:n}){i.DynamicContent=n;r(n)},function({data:n,status:t}){u(n,t)})},i.getUnreadMessages=function(r,u){n.get(t.ExpediteApi+"/BulletinBoard/Unread").then(function({data:n}){for(let t=0;tt.CurShortName===n).CurId},i}]);expediteServicesModule.service("customerAuthCodePatternService",["$http","$rootScope",function(n,t){var i=this;return i.getPatterns=function(i){return n.get(`${t.ExpediteApi}/customer/${i}/auth-code-pattern`)},i.insertPattern=function(i,r){var u={ValidationPattern:r.ValidationPattern,IsEnabled:!0};return n.post(`${t.ExpediteApi}/customer/${i}/auth-code-pattern`,u)},i.updatePattern=function(i,r){var u={ValidationPattern:r.ValidationPattern,IsEnabled:r.IsEnabled};return n.put(`${t.ExpediteApi}/customer/${i}/auth-code-pattern/${r.Id}`,u)},i}]);expediteServicesModule.service("customersService",["$http","$rootScope",function(n,t){var i=this;return i.getCustomers=function(r,u){n.get(`${t.ExpediteApi}/customer`).then(function({data:n}){i.customers=n.filter(n=>n.Status!==0);r()},function({data:n,status:t}){u(n,t)})},i.getCustomerListWithFeature=function(r,u,f){return n.get(`${t.ExpediteApi}/customer?featureTypeId=${r}`).then(function({data:n}){i.customers=n.filter(n=>n.Status!==0);u()},function({data:n,status:t}){f(n,t)})},i.getFailureReasons=function(i,r,u,f){var e=`${t.ExpediteApi}/customer/${i}/failure-reason?locationId=${r}`;n.get(e).then(function({data:n}){for(var t=0;tn.concat({Id:i,Name:t}),[]).sort((n,t)=>n.Name>t.Name?1:-1)},n}]);expediteServicesModule.service("invoiceItemUnitService",[function(){var n=this;return n.getInvoiceItemUnits=function(){return Object.entries({Flat:1,Hour:3,Mile:2,Unknown:-1}).reduce((n,[t,i])=>n.concat({Id:i,Name:t}),[])},n}]);expediteServicesModule.service("invoiceService",["$http","$rootScope",function(n,t){var i=this,r=function(n,t){n.sort(function(n,i){return n[t]>i[t]?1:n[t]0})},s=function(){var n=_.map(u.filters?.unitTypes,"Id"),t;return n.length===0?u.shipments:(t=_.map(_.findByValues(u.containerVehicleTypes,"Id",n),"Type"),_.findByValues(u.shipments,"VehicleSize",t))},h=function(){var n=_.map(u.filters?.accounts,"Id"),t;return n.length===0?u.shipments:(t=_.map(_.findByValues(u.accounts,"Id",n),"Name"),_.findByValues(u.shipments,"CustomerName",t))},c=function(){var n=_.map(u.filters?.modeGroups,"Id"),t;return n.length===0?u.shipments:(t=_.map(_.findByValues(u.filters?.modeGroups,"Id",n),"Id"),_.findByValues(u.shipments,"ModeGroupId",t))},e=function(n){return _.includes(n,"IN")&&(n=_.union(n,f.IN)),_.includes(n,"MI")&&(n=_.union(n,f.MI)),_.includes(n,"OH")&&(n=_.union(n,f.OH)),_.includes(n,"ON")&&(n=_.union(n,f.ON)),n},l=function(){var t=_.map(u.filters?.origin?.zones,"StateCode"),n;return u.filters?.origin?.type==="address"?u.filters?.origin?.state==null&&u.filters?.origin?.city===""&&u.filters?.origin?.zip===""?u.shipments:(n=u.shipments,u.filters?.origin?.state!=null&&n.length>0&&(n=_.filter(n,function(n){return n.OriginState.toUpperCase().includes(u.filters?.origin?.state.toUpperCase())})),u.filters?.origin?.city!=""&&n.length>0&&(n=_.filter(n,function(n){return n.OriginCity.toUpperCase().includes(u.filters?.origin?.city.toUpperCase())})),u.filters?.origin?.zip!=""&&n.length>0&&(n=_.filter(n,function(n){return n.OriginZip.toUpperCase().includes(u.filters?.origin?.zip.toUpperCase())})),n):(t=e(t),_.findByValues(u.shipments,"OriginZone",t))},a=function(){var t=_.map(u.filters?.destination?.zones,"StateCode"),n;return u.filters?.destination?.type==="address"?u.filters?.destination?.state==null&&u.filters?.destination?.city===""&&u.filters?.destination?.zip===""?u.shipments:(n=u.shipments,u.filters?.destination?.state!=null&&n.length>0&&(n=_.filter(n,function(n){return n.DestinationState.toUpperCase().includes(u.filters.destination.state.toUpperCase())})),u.filters?.destination?.city!=""&&n.length>0&&(n=_.filter(n,function(n){return n.DestinationCity.toUpperCase().includes(u.filters.destination.city.toUpperCase())})),u.filters?.destination?.zip!=""&&n.length>0&&(n=_.filter(n,function(n){return n.DestinationZip.toUpperCase().includes(u.filters.destination.zip.toUpperCase())})),n):(t=e(t),_.findByValues(u.shipments,"DestinationZone",t))},v=function(){return u.location==-999?u.shipments:_.filter(u.shipments,function(n){return n.CarrierIdOnBid==u.location})},y=function(){return _.filter(u.shipments,function(n){switch(u.filters?.opportunityType){case"1":return!0;case"2":return n.ProjectId==0;case"3":return n.ProjectId!=0}})},p=function(){var e=s(),n,t,i,r,u,f;return e.length===0?[]:(n=h(),n.length===0)?[]:(t=c(),t.length===0)?[]:(i=l(),i.length===0)?[]:(r=a(),r.length===0)?[]:(u=v(),u.length===0)?[]:(f=y(),f.length===0)?[]:_.orderBy(_.intersectBy(e,n,t,i,r,u,f,function(n,t){return n.ShipmentId===t.ShipmentId&&n.CarrierIdOnBid===t.CarrierIdOnBid}),["BidType","TimeOut","ShipmentId"],["desc","asc","asc"])};return u.getOpenShipments=function(i,r,f){var e=`${t.ExpediteApi}/carrier/${i}/open-shipment`;n.get(e).then(function({data:n}){u.serverTimeDiff=moment.duration(moment.utc(n.ServerTime)-moment());u.shipments=n.OpenShipments.map(n=>({...n,OriginZone:n.OriginZone?.toUpperCase(),DestinationZone:n.DestinationZone?.toUpperCase(),OriginCity:n.OriginCity?.toUpperCase(),DestinationCity:n.DestinationCity?.toUpperCase()}));r(n)},function({data:n,status:t}){f(n,t)})},u.getLastLooks=function(i,r,f){var e=`${t.ExpediteApi}/carrier/${i}/open-shipment?lastLook=true`;n.get(e).then(function({data:n}){u.serverTimeDiff=moment.duration(moment.utc(n.ServerTime)-moment());u.lastLooks=n.OpenShipments.map(n=>({...n,OriginZone:n.OriginZone?.toUpperCase(),DestinationZone:n.DestinationZone?.toUpperCase(),OriginCity:n.OriginCity?.toUpperCase(),DestinationCity:n.DestinationCity?.toUpperCase()}));r(n)},function({data:n,status:t}){f(n,t)})},u.getDetails=function(i,r,f,e,o){var s=`${t.ExpediteApi}/carrier/${i}/open-shipment/${r}/details/${f}`;u.loading=!0;n.get(s).then(function({data:n}){u.loading=!1;e(n)},function({data:n,status:t}){u.loading=!1;o(n,t)})},u.getProjectSchedule=function(i,r,u){var f=`${t.ExpediteApi}/project/${i}/schedule/`;n.get(f).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},u.getAvailableOpportunities=function(i,r,u,f){var e=`${t.ExpediteApi}/carrier/${i}/unit-availability?shipmentId=${r.ShipmentId}`;n.get(e).then(function({data:n}){u(n)},function({data:n,status:t}){f(n,t)})},u.insertBid=function(i,r,f,e,o){var s=`${t.ExpediteApi}/carrier/${i}/open-shipment/${r}/bid`;n.post(s,f).then(function({data:n}){u.shipments=u.shipments?.map(n=>n.ShipmentId===r?{...n,ShipmentStatus:3}:n);u.selected.shipment&&u.selected.shipment.ShipmentId===r&&(u.selected.shipment={...u.selected.shipment,ShipmentStatus:3});u.setFilters(u.filters,u.location);e(n)},function({data:n,status:t}){o(n,t)})},u.getAwardStatus=function(i,r){return n.get(`${t.ExpediteApi}/carrier/${i}/award-status?locationId=${r}`)},u.filterByStatus=function(n,t){return o(n,t)},u.setFilters=function(n,f){u.filters=n;u.location=f;u.accounts=r.accounts;u.containerVehicleTypes=i.containerVehicleTypes;u.filteredShipments=p();t.$emit("openShipmentsFiltersChanged")},u}]);expediteServicesModule.service("orderEntryService",["$http","$rootScope",function(n,t){var i=this;return i.getPremiumCodes=function(r,u,f){n.post(`${t.ExpediteApi}/premium-code-search`,r).then(function({data:n}){for(var t=0;t{var t=n.FrequencyReadyDate,i=n.FrequencyProtectDate;return{...n,FrequencyReadyDate:t!=null?moment(t).format("YYYY-MM-DDTHH:mm"):undefined,FrequencyProtectDate:i!=null?moment(i).format("YYYY-MM-DDTHH:mm"):undefined}})});n.post(`${t.ExpediteApi}/order-entry`,o).then(function({data:n}){f(n)},function({data:n,status:t}){e(n,t)})},i.getNoteTypes=function(r,u){n.get(`${t.ExpediteApi}/note-type?group=9`).then(function({data:n}){i.noteTypes=n;r()},function({data:n,status:t}){u(n,t)})},i.getDocksByLocationId=function(i,r,u){n.get(`${t.ExpediteApi}/location/${i}/dock`).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.determineCustomer=function(i,r,u){var f=i.Stops.sort((n,t)=>n.Sequence>t.Sequence?1:-1),e={callerId:i.CallerLocationId??"",originId:f[0]?.LocationId??"",shipperId:i.OriginalShipperLocationId??"",destinationId:f[f.length-1]?.LocationId??"",finalId:i.FinalConsigneeLocationId??"",payorId:i.PayorLocationId??"",releaseNumber:i.SpecializedReleaseNumber??""};n.get(`${t.ExpediteApi}/order-entry-customer`,{params:e}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getCustomerPlantList=function(i,r,u){var f={customerId:i??"",locationType:1};n.get(`${t.ExpediteApi}/location`,{params:f}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.validateShipment=function(i,r,u){n.post(`${t.ExpediteApi}/order-entry-validation`,i).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getCustomers=function(i,r){var u={locationId:t.locationId??"",locationContactId:t.contactCategoryId===11?t.locationContactId??"":""};n.get(`${t.ExpediteApi}/customer`,{params:u}).then(function({data:n}){i(n)},function({data:n,status:t}){r(n,t)})},i.getCustomerModeGroups=function(i,r,u){n.get(`${t.ExpediteApi}/order-entry-customer/${i}/mode-group`).then(function({data:n}){var t=_.findIndex(n.ModeGroups,{Id:-1});t>-1&&n.ModeGroups.splice(t,1,{Id:1,Name:"Ground Expedite"});r(n)},function({data:n,status:t}){u(n,t)})},i.getPaymentTerms=function(i,r,u){var f=i.Stops.sort((n,t)=>n.Sequence>t.Sequence?1:-1),e={callerId:i.CallerLocationId??"",originId:f[0]?.LocationId??"",shipperId:i.OriginalShipperLocationId??"",destinationId:f[f.length-1]?.LocationId??"",finalId:i.FinalConsigneeLocationId??"",customerId:i.CustomerId??"",modeGroupId:i.ModeGroupId??""};n.get(`${t.ExpediteApi}/payment-terms`,{params:e}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getEligibleCarrierResults=function(i,r,u){var f=i.Stops.sort((n,t)=>n.Sequence>t.Sequence?1:-1),e={customerId:i.CustomerId??"",modeGroupId:i.ModeGroupId??"",callerLocationId:i.CallerLocationId??"",originLocationId:f[0].LocationId??"",destinationLocationId:f[f.length-1].LocationId??""};n.get(`${t.ExpediteApi}/carrier`,{params:e}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getTruckloadFailingCarrierList=function(i,r,u){var f={customerId:i??""};n.get(`${t.ExpediteApi}/carrier`,{params:f}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getParts=function(i,r,u,f){var e={supplierCode:i??"",plantCode:r??""};n.get(`${t.ExpediteApi}/part`,{params:e}).then(function({data:n}){u(n)},function({data:n,status:t}){f(n,t)})},i.validateAETC=function(i,r,u,f){n.get(`${t.ExpediteApi}/customer/${r}/aetc/${i}`).then(function({data:n}){u(n)},function({data:n,status:t}){f(n,t)})},i.validateWBS=function(i,r,u){var f={wbsNumber:i??""};n.get(`${t.ExpediteApi}/order-entry-validation`,{params:f}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.validateDepartmentCode=function(i,r,u){var f={costCenterNumber:i??""};n.get(`${t.ExpediteApi}/order-entry-validation`,{params:f}).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i}]);expediteServicesModule.service("parcelFreightService",["$http","$rootScope",function(n,t){var i=this;return i.getTrackingList=function(i,r,u){return n.get(t.ExpediteApi+"/ParcelFreightStatusUpdates/"+r+"/Shipment/"+i+"/Carrier/"+u)},i.getEventTypeList=function(i){return n.get(t.ExpediteApi+"/ParcelFreightEventTypes/"+i)},i.InsertTrackingStatus=function(i){return n.put(t.ExpediteApi+"/ParcelFreightManualStatusInsert",i)},i}]);expediteServicesModule.service("payAndInvoiceService",["$http","$rootScope",function(n,t){var i=this;return i.getBillers=function(i,r){n.get(`${t.ExpediteApi}/biller`).then(function({data:n}){i(n)},function({data:n,status:t}){r(n,t)})},i.getShipmentBillingDetails=function(i,r,u){n.get(`${t.ExpediteApi}/shipment/${i}/billing-details`).then(function({data:n}){r(n)},function({data:n,status:t}){u(n,t)})},i.getPayAndInvoicePermissions=function(i,r){n.get(`${t.ExpediteApi}/staff-permission`).then(function({data:n}){i(n)},function({data:n,status:t}){r(n,t)})},i.getInvoiceDisputeItems=function(i){return n.get(`${t.ExpediteApi}/CarrierDispute/${i}/Items`)},i.insertInvoiceDisputeItem=function(i,r){return n.post(`${t.ExpediteApi}/CarrierDispute/${i}/Items/Insert`,r)},i.updateInvoiceDisputeItem=function(i,r){return n.post(`${t.ExpediteApi}/CarrierDispute/Items/${i}/Update`,r)},i.deleteInvoiceDisputeItem=function(i){return n.post(`${t.ExpediteApi}/CarrierDispute/Items/${i}/Delete`)},i.getAccessorialList=function(){return n.get(`${t.ExpediteApi}/CarrierDispute/GetAccessorialList`)},i.getAdditionalFuelSurcharge=function(i,r){return n.get(`${t.ExpediteApi}/CarrierDispute/GetAdditionalMileageFSC/${i}/Miles/${r}`)},i.GetDetentionCalculationData=function(i){return n.get(`${t.ExpediteApi}/CarrierDispute/GetDetentionCalculationData/${i}`)},i.GetWeightBreakdownList=function(){return n.get(`${t.ExpediteApi}/CarrierDispute/GetWeightBreakdown`)},i.GetMileageBreakdownList=function(i){return n.get(`${t.ExpediteApi}/CarrierDispute/GetMileageBreakdown/${i}`)},i.GetRateCalculatorData=function(i){return n.get(`${t.ExpediteApi}/CarrierDispute/GetRateCalculationData/${i}`)},i.GetRate=function(i){return n.post(`${t.ExpediteApi}/ModeSelector/Results`,i)},i}]);expediteServicesModule.service("premiumCodeService",["$http","$rootScope",function(n,t){var i=this;return i.getPremiumCodesWithCustomerId=function(i,r,u){n.get(t.ExpediteApi+"/premium-code?customer="+i).then(function({data:n}){for(var t=0;tn.concat({Id:i,Name:t}),[]).sort((n,t)=>n.Name>t.Name?1:-1)},n}]);expediteServicesModule.service("purchaseItemUnitService",[function(){var n=this;return n.getPurchaseItemUnits=function(){return Object.entries({Flat:1,Hour:3,Mile:2,Unknown:-1}).reduce((n,[t,i])=>n.concat({Id:i,Name:t}),[])},n}]);expediteServicesModule.service("purchaseService",["$http","$rootScope",function(n,t){var i=this,r=function(n,t){n.sort(function(n,i){return n[t]>i[t]?1:n[t]0&&n.ETA!=null&&n.ETA.length>0&&u.ProNumber!=null&&u.ProNumber.length>0&&f.EquipmentId>0;i.panelToggles.originDepartureToggle=t.length>0&&n.ATA!=null&&n.ATA.length>0;i.panelToggles.finalDestinationInToggle=t.length>0&&n.BillOfLading!=null&&n.BillOfLading.length>0&&n.ATD!=null&&n.ATD.length>0&&r.ETA!=null&&r.ETA.length>0;i.panelToggles.finalDestinationOutToggle=t.length>0&&r.ATA!=null&&r.ATA.length>0}};i.testRepeatingRules=function(n){for(var u,r,t=1;t0?!0:!1,u.WorkflowDepartureTimeEntered=u.ATD!=null&&u.ATD.length>0?!0:!1,t==n.length-2&&r.ATD!=null&&r.ATD.length>0&&(i.panelToggles.finalDestinationInToggle=!0)}}(),i.getShipment=function(r,u,f){var e=n.get(`${t.ExpediteApi}/shipment/${r}`),o=function({data:n}){i.shipmentData=n;typeof u=="function"&&u(n)},s=function({data:n,status:t}){typeof f=="function"&&f(n,t)};e.then(o,s)},i.getStops=function(i,r,u,f){n.get(`${t.ExpediteApi}/shipment/${i}/stop`,u,f).then(e=>{e.data.forEach(u=>{n.get(`${t.ExpediteApi}/location/${u.LocationId}?customerId=${r}`).then(r=>{u.LocationAddress=r?.data?.Address,u.LocationAddress2=r?.data?.Address2,u.LocationCity=r?.data?.City,u.LocationCode=r?.data?.Code,u.LocationId=r?.data?.Id,u.LocationLatitude=r?.data?.Latitude,u.LocationLongitude=r?.data?.Longitude,u.LocationName=r?.data?.Name,u.LocationState=r?.data?.State,u.LocationZip=r?.data?.Zip,u.LocationCountryId=r?.data?.CountryId,u.LocationCountry=r?.data?.Country,u.LocationSpecialInstructions=r?.data?.SpecialInstructions,n.get(`${t.ExpediteApi}/shipment/${i}/gps-note?locationId=${u.LocationId}`).then(n=>{u.GpsNotes=n},f)},f)}),u(e)},f)},i.getSpecialLegs=function(i,r,u,f){n.get(`${t.ExpediteApi}/shipment/${i}/special-leg?type=${r}`,u,f).then(u,f)},i.getAllPackagingTypes=function(r,u){var f=`${t.ExpediteApi}/packaging-type`;n.get(f).then(function({data:n}){i.allPackagingTypes=n;r(n)},function({data:n,status:t}){u(n,t)})},i.getEquipment=function(r,u,f){var e=`${t.ExpediteApi}/carrier/${r}/equipment`;n.get(e).then(function({data:n}){i.equipment=n;u(n)},function({data:n,status:t}){f(n,t)})},i.getDrivers=function(i,r){var u=`${t.ExpediteApi}/user-carrier-driver`;n.get(u).then(function({data:n}){i(n)},function({data:n,status:t}){r(n,t)})},i.getDrayageList=function(i,r){var u=`${t.ExpediteApi}/drayage-provider`;n.get(u).then(function({data:n}){i(n)},function({data:n,status:t}){r(n,t)})},i.getStates=function(r,u){var f=`${t.ExpediteApi}/state`;n.get(f).then(function({data:n}){i.states=n;r(n)},function({data:n,status:t}){u(n,t)})},i.getIncoterms=function(r,u,f){var e=`${t.ExpediteApi}/customer/${r}/incoterm`;n.get(e).then(function({data:n}){i.Incoterms=n;u(n)},function({data:n,status:t}){f(n,t)})},i.getWebTasks=function(r,u,f){var e=`${t.ExpediteApi}/web-task?shipmentId=${r}`;n.get(e).then(function({data:n}){i.WebTasks=n;u(n)},function({data:n,status:t}){f(n,t)})},i.getItinerary=function(r,u,f){var e=`${t.ExpediteApi}/shipment/${r}/itinerary`;n.get(e).then(function({data:n}){i.Itinerary=n;u(n)},function({data:n,status:t}){f(n,t)})},i.resolveWebTask=function(i,r,u,f){var e=`${t.ExpediteApi}/web-task/${i}`;n.post(e,r).then(function({data:n}){u(n)},function({data:n,status:t}){f(n,t)})},i.getOriginETAChangeReasons=function(i,r,u,f){var e;e=i===10?`${t.ExpediteApi}/eta-change-reason?modeGroupId=${i}&modeTypeId=${r}&stopTypeId=1&roleId=3`:`${t.ExpediteApi}/eta-change-reason?modeGroupId=${i}&modeTypeId=&stopTypeId=1&roleId=3`;n.get(e).then(({data:n})=>{u(n)},({data:n,status:t})=>{f(n,t)})},i.getDestinationETAChangeReasons=function(i,r,u,f){var e;e=i===10?`${t.ExpediteApi}/eta-change-reason?modeGroupId=${i}&modeTypeId=${r}&stopTypeId=2&roleId=3`:`${t.ExpediteApi}/eta-change-reason?modeGroupId=${i}&modeTypeId=&stopTypeId=2&roleId=3`;n.get(e).then(({data:n})=>{u(n)},({data:n,status:t})=>{f(n,t)})},i.getShipmentStopSchedule=function(i,r,u){i!=null&&n.get(`${t.ExpediteApi}/location/${i}/schedule`).then(({data:n})=>{r(n)},({data:n,status:t})=>{u(n,t)})},i}]);expediteServicesModule.service("userLocationTypeService",["$http","$rootScope",function(n,t){var i=this;return i.getLocationTypes=function(r,u){n.get(`${t.ExpediteApi}/user-location-type`).then(function({data:n}){i.LocationTypes=n;r()},function({data:n,status:t}){u(n,t)})},i}]);expediteServicesModule.service("vehicleListService",["$http","$rootScope",function(n,t){var i=this;return i.getVehicleList=function(r,u,f,e){n.get(`${t.ExpediteApi}/vehicle-type?customer=${r}&modeGroup=${u}`).then(function({data:n}){for(var t=0;t