class URLs {
URLs . _ ( ) ;
static const String appReleaseBuildNumber = " 40 " ;
// static const host1 = "https://atomsm.hmg.com"; // production url
// static const host1 = "https://atomsmdev.hmg.com"; // local DEV url
static const host1 = " https://atomsmuat.hmg.com " ; // local UAT url
// static final String _baseUrl = "$_host/mobile"; // host local UAT
// static final String _baseUrl = "$_host/v1/mobile"; // new V1 apis
static final String _baseUrl = " $ _host /v2/mobile " ; // new V2 apis
// static final String _baseUrl = "$_host/v3/mobile"; // v3 for production CM,PM,TM
// static final String _baseUrl = "$_host/v4/mobile"; // v4 for Demo module
// static final String _baseUrl = "$_host/v5/mobile"; // v5 for data segregation
// static final String _baseUrl = "$_host/v6/mobile"; // for asset delivery module
static const String chatHubUrl = " https://apiderichat.hmg.com/chathub " ;
static const String chatHubUrlApi = " $ chatHubUrl /api " ; // new V2 apis
static const String chatHubUrlChat = " $ chatHubUrl /hubs/chat " ; // new V2 apis
static const String resetMessageCount = " $ chatHubUrlApi /userChatHistory/AckMessages " ; // new V2 apis
static const String unreadMessages = " $ chatHubUrlApi /userChatHistory/unread-messages " ; // new V2 apis
static const String chatApiKey = " f53a98286f82798d588f67a7f0db19f7aebc839e " ; // new V2 apis
static String _host = host1 ;
set host ( String value ) = > _host = value ;
static String ? getFileUrl ( String ? file ) = > ( file = = null | | file . isEmpty ) ? null : ( file . contains ( " / " ) ? file : " $ _baseUrl /Files/DownloadFile?fileName= $ file " ) ;
// static String getFileUrl(String file) => (file == null || file.isEmpty) ? null :1 (file.contains("/") ? file : "$_host/attachment/$file");
// API Routes
static get login = > " $ _baseUrl /MobileAuth/Login " ;
static get userChangeAssetGroup = > " $ _baseUrl /MobileAuth/UserChangeAssetGroup " ;
static get getUserInfo = > " $ _baseUrl /MobileAuth/GetUserInfo " ;
static get getMobilePermissionByUser = > " $ _baseUrl /Permission/GetMobilePermissionByUser " ;
static get logout = > " $ _baseUrl /MobileAuth/Logout " ;
static get enableFaceId = > " $ _baseUrl /MobileAuth/EnabledFaceId " ;
static get deleteUser = > " $ _baseUrl /Account/DeleteUser " ; // delete user account
static get checkLoginValidation = > " $ _baseUrl /Account/Authenticate " ; // web login
static get checkAppVersion = > " $ _baseUrl /Account/CheckAppVersion " ; // web login
//Reset Password Apis...
static get sendForgetPasswordOtp = > " $ _baseUrl /Account/SendForgotPasswordOtp " ; // send OTP.
static get sendForgetPasswordValidateOtp = > " $ _baseUrl /Account/SendForgotPasswordValidateOtp " ; // validate OTP.
static get updateNewPassword = > " $ _baseUrl /Account/UpdatenewPassword " ; // validate OTP.
static get getUserRota = > " $ _baseUrl /Account/GetUserRota " ; // validate OTP.
// SignUp APIs
static get signUpGetEmployeeFromERP = > " $ _baseUrl /SignUpRequest/GetEmployeeFromERP " ;
static get createSignUpRequest = > " $ _baseUrl /SignUpRequest/CreateSignUpRequest " ;
static get signUpGetAssetGroups = > " $ _baseUrl /AssetGroup/GetAssetGroupsAutoComplete " ;
static get signUpGetCompaniesByAssetGroup = > " $ _baseUrl /Company/GetCompaniesByAssetGroup " ;
static get signUpGetSiteList = > " $ _baseUrl /Customer/GetSiteList " ;
static get signUpGetDepartmentAutoComplete = > " $ _baseUrl /Department/GetDepartmentAutoCompleteByAssetGroup " ;
// Site Request APIs
static get getSiteRequestTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4016 " ; // get site request types
static get submitSiteRequest = > " $ _baseUrl /SiteRequest/CreateSiteRequest " ; // post submit site request
static get getSiteRequests = > " $ _baseUrl /SiteRequest/GetSiteRequests " ; // get site request history
static get getDepartmentsBySites = > " $ _baseUrl /Customer/GetDepartmentsBySites " ; // post get departments by sites
static getUserSites ( String userId ) = > " $ _baseUrl /Customer/GetSitesForUser?userId= $ userId " ; // get user's current sites
// static get login => "$_baseUrl/MobileAuth/LoginIntegration"; // mobile login
static get register = > " $ _baseUrl /handle/create/user " ; // post
static get updateProfile = > " $ _baseUrl /update/user/profile " ; // post
static get updateProfileImage = > " $ _baseUrl /Account/ChangeImageEmployee " ; // post
static get getSites = > " $ _baseUrl /Customer/GetCustomers " ; // get
static get getSitesAutoComplete = > " $ _baseUrl /Customer/GetCustomersAutoComplete " ; // get
static get getSiteAutoCompleteWithoutConditionSites = > " $ _baseUrl /Customer/GetCustomersAutoCompleteWithoutConditionSites " ; // get
static get getDepartments = > " $ _baseUrl /Customer/GetDepartmentLookup " ; // get
static get getCustomerBuildings = > " $ _baseUrl /Customer/GetBuildingLookup " ; // post - FMS buildings by siteId
static get getCustomerFloors = > " $ _baseUrl /Customer/GetFloorLookup " ; // post - FMS floors by siteId and buildingId
static get getCustomerLocationDescription = > " $ _baseUrl /Customer/GetLocationDescription " ; // get - FMS location description by siteId, buildingId, floorId
static get getAssets = > " $ _baseUrl /Asset/GetAssets " ; // get
static get getFaultDescription = > " $ _baseUrl /Asset/GetDefectForModelDefinition " ; // get
static get getAssetById = > " $ _baseUrl /Asset/GetAssetById?assetId= " ; // get
static get getAssetColumnsMetadata = > " $ _baseUrl /Asset/columns/metadata " ; // get asset export columns metadata
static get getModels = > " $ _baseUrl /ModelDefinition/GetModelDefinitionAsset " ; // get ?client=2
static get getAllRequestsAndCount = > " $ _baseUrl /CallRequest/GetAllRequestsAndCount " ; // get
static get updateUserContactInformation = > " $ _baseUrl /Account/UpdateContactInfo " ; // get
static get searchPlanRecurrentTaskListSearch = > " $ _baseUrl /PlanRecurrentTasks/PlanRecurrentTaskListSearchDto " ; // get
static get checkQRSameRoom = > " $ _baseUrl /PlanRecurrentTasks/CheckQRSameRoom " ; // get
//
//service request new flow urls.
static get nurseDashboardCountUrl = > ' $ _baseUrl /ServiceRequest/GetDashboardNurseCount ' ;
static get qaAuditorCount = > ' $ _baseUrl /ServiceRequest/GetDashboardQAAuditorCount ' ;
static get commissioningEngineerCount = > ' $ _baseUrl /ServiceRequest/GetDashboardCommissioningEngineerCount ' ;
static get nurseDashboardDetailsUrl = > ' $ _baseUrl /ServiceRequest/GetDashboardNurseDetails ' ;
static get qaAuditorDetails = > ' $ _baseUrl /ServiceRequest/GetDashboardQAAuditorDetails ' ;
static get commissioningEngineerDetails = > ' $ _baseUrl /ServiceRequest/GetDashboardCommissioningEngineerDetails ' ;
static get nurseRejectUrl = > ' $ _baseUrl /ServiceRequest/NurseReject ' ;
static get engineerStopTimer = > ' $ _baseUrl /ServiceRequest/EngineerStopTimer ' ;
static get nurseConfirmEngineerArrivedUrl = > ' $ _baseUrl /ServiceRequest/NurseConfirm ' ;
static get nurseConfirmUrl = > ' $ _baseUrl /ServiceRequest/NurseConfirm ' ;
static get nurseRejectEngineerArrivedUrl = > ' $ _baseUrl /ServiceRequest/NurseNotArrive ' ;
static get nurseConfirmEngineerArrivalUrl = > ' $ _baseUrl /ServiceRequest/NurseAccept ' ;
static get engineerDashboardCountUrl = > ' $ _baseUrl /ServiceRequest/GetDashboardEngineerCount ' ;
static get engineerDashboardDetailsUrl = > ' $ _baseUrl /ServiceRequest/GetDashboardEngineerDetails ' ;
static get engineerDashboardNotAssignDetails = > ' $ _baseUrl /ServiceRequest/GetDashboardEngineerNotAssignDetails ' ;
static get engineerDashboardUpcoming = > ' $ _baseUrl /ServiceRequest/GetDashboardEngineerUpcoming ' ;
static get engineerAcceptUrl = > ' $ _baseUrl /ServiceRequest/EngineerAccept ' ;
static get engineerAssignHimSelfUrl = > ' $ _baseUrl /ServiceRequest/AssignEngineerToHimself ' ;
static get engineerRejectUrl = > ' $ _baseUrl /ServiceRequest/EngineerReject ' ;
static get returnToIHaveArrive = > ' $ _baseUrl /ServiceRequest/ReturnToIHaveArrive ' ;
static get engineerFixRemotlyUrl = > ' $ _baseUrl /ServiceRequest/EngineerFixRemotly ' ;
static get engineerNeedVisitUrl = > ' $ _baseUrl /ServiceRequest/EngineerNeedVisit ' ;
static get engineerUpdateNeedVisitUrl = > ' $ _baseUrl /ServiceRequest/EngineerUpdateNeedVisit ' ;
static get engineerMarkAsFixUrl = > ' $ _baseUrl /ServiceRequest/EngineerMarkAsFix ' ;
static get reOrderActivity = > ' $ _baseUrl /ServiceRequest/ReOrderActivity ' ;
static get engineerConfirmArriveUrl = > ' $ _baseUrl /ServiceRequest/EngineerConfirmArrive ' ;
static get engineerUpdateWorkOrderUrl = > ' $ _baseUrl /ServiceRequest/EngineerUpdateWorkOrder ' ;
static get engineerUpdateCost = > ' $ _baseUrl /ServiceRequest/EngineerUpdateCost ' ;
static get engineerSetReminderUrl = > ' $ _baseUrl /ServiceRequest/EngineerSetReminder ' ;
static get getWorkOrderByIdUrl = > ' $ _baseUrl /ServiceRequest/GetWorkOrderById ' ;
static get getQrCodeUrl = > ' $ _baseUrl /ServiceRequest/GetQRCode ' ;
static get deleteActivitySparePartUrl = > ' $ _baseUrl /ServiceRequest/DeleteActivitySparePart ' ;
static get deleteActivityMaintenanceUrl = > ' $ _baseUrl /ServiceRequest/DeleteActivityMaintenance ' ;
static get createActivitySparePartUrl = > ' $ _baseUrl /ServiceRequest/CreateActivitySparePart ' ;
static get createActivityMaintenanceUrl = > ' $ _baseUrl /ServiceRequest/CreateActivityMaintenance ' ;
static get createActivityAssetToBeRetiredUrl = > ' $ _baseUrl /ServiceRequest/CreateActivityAssetToBeRetired ' ;
static get createWorkOrderUrl = > ' $ _baseUrl /ServiceRequest/CreateWorkOrder ' ;
static get updateActivitySparePartUrl = > ' $ _baseUrl /ServiceRequest/UpdateActivitySparePart ' ;
static get updateActivityMaintenanceUrl = > ' $ _baseUrl /ServiceRequest/UpdateActivityMaintenance ' ;
static get assignEngineerToWorkOrderUrl = > ' $ _baseUrl /ServiceRequest/AssignEngineerToWorkOrder ' ;
static get uploadWorkOrderAttachmentsUrl = > ' $ _baseUrl /ServiceRequest/UploadAttachmentsWorkOrder ' ;
static get getArrivalVerificationTypeUrl = > ' $ _baseUrl /ArrivalVerificationType/GetArrivalVerificationType ' ;
static get sendOtpUrl = > ' $ _baseUrl /SmsNotification/SendOTP/ ' ;
static get verifyOtpUrl = > ' $ _baseUrl /SmsNotification/VerifyOTP/ ' ;
// 08051
//Swipe module Api..
static get swipeUrl = > ' $ _baseUrl /Swipe/Swipe ' ;
static get getSwipeLastTransactionUrl = > ' $ _baseUrl /Swipe/GetLastTransaction ' ;
static get getSwipeTransactionHistoryUrl = > ' $ _baseUrl /Swipe/GetTransactions ' ;
//Recurrent plan Api...
static get getRecurrentPlanByIdUrl = > ' $ _baseUrl /PlanRecurrentTasks/GetPlanRecurrentTaskById ' ;
static get updateRecurrentPlanUrl = > ' $ _baseUrl /PlanRecurrentTasks/UpdateTaskByEngineer ' ;
//Task request apis ...
static get getTaskTypeByUserUrl = > ' $ _baseUrl /TaskTypes/GetTaskTypesByUser ' ;
static get addTaskUrl = > ' $ _baseUrl /TaskJobs/AddTaskJob ' ;
static get getTaskByIdUrl = > ' $ _baseUrl /TaskJobs/GetTaskJobById ' ;
static get updateTaskByEngineerUrl = > ' $ _baseUrl /TaskJobs/UpdateByEngineer ' ;
static get taskJobsAssignEngineerToHimself = > " $ _baseUrl /TaskJobs/AssignEngineerToHimself " ; // get
static get taskJobsEngineerReject = > " $ _baseUrl /TaskJobs/EngineerReject " ; // get
// Task LookUps
static get taskJobTypeOfAlert = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1260 " ;
static get taskJobRiskLevel = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1261 " ;
static get taskJobResource = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1262 " ;
static get taskJobActionNeeded = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1263 " ;
static get taskJobImpactStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1264 " ;
//service request.....
static get getServiceRequests = > " $ _baseUrl /CallRequest/GetCallRequests " ; // get
static get getServiceRequestById = > " $ _baseUrl /CallRequest/GetCallRequestById " ; // get
static get getServiceRequestThrough = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=603 " ; // get
static get getServiceLoanAvailability = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4 " ; // get
static get getServiceFirstAction = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=700 " ; // get
static get getServiceRequestTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=604 " ; // get
static get getServiceRequestStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=503 " ;
static get getRepairLocation = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=504 " ;
static get equipmentStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=601 " ;
static get commissioningStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=601 " ;
static get getDateOperators = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=200 " ;
static get getMaintenanceSituation = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=502 " ;
static get getPreventiveMaintenanceVisits = > " $ _baseUrl /return/user/calibrations " ; // get
static get updatePreventiveMaintenanceVisits = > " $ _baseUrl /Visit/UpdateVisits " ; // get
static get getRegularVisits = > " $ _baseUrl /Visit/GetVisits " ; // get
static get updateRegularVisits = > " $ _baseUrl /Visit/UpdateVisits " ; // get
static get getPlanPreventiveVisitById = > " $ _baseUrl /PlanPreventiveVisit/GetPlanPreventiveVisitById " ; // get
static get updateVisitByEngineer = > " $ _baseUrl /PlanPreventiveVisit/UpdateVisitByEngineer " ; // get
static get getSingleServiceRequest = > " $ _baseUrl /return/call/information " ; // get
static get getSuppliersAutoComplete = > " $ _baseUrl /Supplier/GetSuppliersAutoComplete " ;
static get addSupplierEngineer = > " $ _baseUrl /Supplier/AddSupplierEngineer " ;
static get getSystemNotifications = > " $ _baseUrl /SystemNotification/GetSystemNotifications " ; // get
static get getRecentNotifications = > " $ _baseUrl /return/user/recent/notification " ; // get
static get createRequest = > " $ _baseUrl /CallRequest/AddCallRequest " ; // get
static get CheckIfAssetHasAnotherServiceRequest = > " $ _baseUrl /ServiceRequest/CheckForPendingRequestForAsset " ; // get
static get createReport = > " $ _baseUrl /handle/create/report/issue " ; // get
static get updateRequestDate = > " $ _baseUrl /CallRequest/UpdateCallRequest " ; // get
// service report
static get createServiceReport = > " $ _baseUrl /WorkOrder/AddWorkOrder " ; // get
static get updateServiceReport = > " $ _baseUrl /WorkOrder/UpdateWorkOrder " ; // get
static get getServiceReport = > " $ _baseUrl /WorkOrder/GetWorkOrderById " ; // get
static get createDuplicatedReport = > " $ _baseUrl /handle/duplicate/request " ; // get
static get searchWorkOrders = > " $ _baseUrl /WorkOrder/SearchWorkOrders " ;
static get getSubWorkerInfoAccordingToPreviousStep = > " $ _baseUrl /WorkOrder/GetDataPreviousStep " ;
static get getPpmReasons = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=522 " ; // get for ppm po reason, in mobile there is no use of it.
static get getPpmAssetAvailability = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1205 " ; // get for ppm po reason, in mobile there is no use of it.
static get getPpmElectricalSafety = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=480 " ; // get for ppm po reason, in mobile there is no use of it.
static get getPpmTaskStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=403 " ; // get for ppm po reason, in mobile there is no use of it.
static get getPpmService = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=34 " ; // get for ppm po reason, in mobile there is no use of it.
static get getServiceReportReasons = > " $ _baseUrl /Lookups/GetLookupReason?lookupEnum=505 " ;
static get getServiceReportRejectionReasons = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1303 " ;
static get getServiceReportReasonsNew = > " $ _baseUrl /Lookups/GetLookupReasonNew?lookupEnum=505 " ;
static get getTrafRequestTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=416 " ;
static get getYesNoRequestTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4 " ;
static get getDemoPeriodLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4101 " ;
static get incidentStatusLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3060 " ;
static get incidentTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3061 " ;
static get incidentRootCauseLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3062 " ;
static get incidentPersonInvolvedLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3063 " ;
static get clinicalNonClinicalLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3064 " ;
static get genderLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3065 " ;
static get getDemoDocumentTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4106 " ;
static get getClassificationTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=450 " ;
static get getRecommendationTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=451 " ;
static get getWoFrames = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1254 " ;
static get getServiceReportRetirementType = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=415 " ;
static get getVisitReminderTimeValue = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1211 " ;
static get getServiceReportActivityStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=1302 " ;
static get getServiceReportTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=501 " ; // get
static get getServiceReportTypesForWO = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=34 " ; // get
static get getServiceReportStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=521 " ; // get
static get getServiceReportLastCalls = > " $ _baseUrl /WorkOrder/GetLookupCallLastSituationBasedOnCase " ; // get
static get getAssetTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=500 " ; // get
static get getPersonRoles = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=36 " ; // get
static get getPartNumber = > " $ _baseUrl /PartCatalog/GetPartAutoComplete " ; // get
static get getSparePartAvailableQuantity = > " $ _baseUrl /SparePart/GetAvailablityQtyForSparePartByPartId " ; // get
static get getServiceReportPriority = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4 " ; // get
static get getServiceReportDefectTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=601 " ; // get
static get getCallRequestForWorkOrder = > " $ _baseUrl /CallRequest/GetCallRequestForWorkOrder " ; // get
static get attachmentBaseUrl = > " https://atomsmdev.hmg.com/v2/mobile/Files/DownloadFile?fileName= " ;
//Traf
static get addTRAF = > " $ _baseUrl /TRAF/AddTRAF " ; // get
static get getTRAFById = > " $ _baseUrl /TRAF/GetTRAFById " ; // get
static get getAssetAnalytics = > " $ _baseUrl /Asset/GetAssetAnalytics " ; // get
static get getAssetNDAutoCompleteByDynamicCodes = > " $ _baseUrl /AssetNameDefinition/GetAssetNDAutoCompleteByDynamicCodes " ; // get// get
static get getAssetNameAutoComplete = > " $ _baseUrl /AssetNameDefinition/GetAssetNameAutoComplete " ; // get// get
//gas refill
static get getGasTypes = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=606 " ; // get
// todo check edits with backend
static get getGasCylinderSize = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=608 " ; // get
static get getGasCylinderType = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=607 " ; // get
static get getGasStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=609 " ; // get
static get requestGasRefill = > " $ _baseUrl /GasRefill/AddGasRefillFromMobile " ; // get
static get updateGasRefill = > " $ _baseUrl /GazRefill/UpdateGazRefill " ; // get
static get updateGasRefillByNurse = > " $ _baseUrl /GazRefill/UpdateGasRefillByNurseForMobile " ; //update gas refill by nurse
static get getGasRefill = > " $ _baseUrl /GazRefill/GetGazRefills " ; // get
// static get getGasRefillById => "$_baseUrl/GazRefill/GetGazRefillById"; // get older endpoint..
static get getGasRefillById = > " $ _baseUrl /GasRefill/GetGasRefillById " ; // get
static get gasRefillAssignEngineerToHimself = > " $ _baseUrl /GasRefill/AssignEngineerToHimself " ; // get
static get gasRefillEngineerReject = > " $ _baseUrl /GasRefill/EngineerReject " ; // get
static get getGazRefillComments = > " $ _baseUrl /GazRefill/GetHistoryComments " ; // get
static get addGazRefillComment = > " $ _baseUrl /GazRefill/AddHistoryComment " ; // add
static get updateGasRefillByEngineer = > " $ _baseUrl /GasRefill/UpdateGasRefillByEngineer " ; // update
//device transfer
static get requestDeviceTransfer = > " $ _baseUrl /AssetTransfer/AddAssetTransfer " ; // get
// static get updateDeviceTransfer => "$_baseUrl/AssetTransfer/UpdateAssetTransfer"; // get
static get getDeviceTransfer = > " $ _baseUrl /AssetTransfer/GetAssetTransfers " ; // get
// static get getAssetTransferById => "$_baseUrl/AssetTransfer/GetAssetTransferById"; // get
static get getAssetTransferStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=406 " ; // get
//Asset transfer new Apis
static get getAssetTransferById = > " $ _baseUrl /AssetTransfer/GetAssetTransferNewById " ; // get
static get createAssetTransferRequest = > " $ _baseUrl /AssetTransfer/AddAssetTransferMobileNew " ; // post
static get updateDeviceTransfer = > " $ _baseUrl /AssetTransfer/UpdateEngineerAssetTransferNew " ; // get
static get assetTransferAssignEngineerToHimself = > " $ _baseUrl /AssetTransfer/AssignEngineerToHimself " ; // get
static get assetTransferEngineerReject = > " $ _baseUrl /AssetTransfer/EngineerReject " ; // get
// employee
static get getEmployees = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=33 " ; // get
static get getEngineers = > " $ _baseUrl /Account/GetUserByRoleValue?value=R-6 " ; // get
static get getTaskEvaluatorUser = > " $ _baseUrl /Account/GetUserByRoleValue?value=R-2 " ; // get
static get getNurses = > " $ _baseUrl /Account/GetUserByRoleValue?value=R-7 " ; // get
static get getNursesBySiteId = > " $ _baseUrl /Account/GetUserByRoleValueSiteAndAssetGroupBySiteId?value=R-7 " ; // get
static get getUsersBasedOnSearch = > " $ _baseUrl /Account/GetUsersBasedOnSearch " ; // get
static get getUserByRoleValueSiteMobileAutocomplete = > " $ _baseUrl /Account/GetUserByRoleValueSiteMobileAutocomplete " ; // get
// pentry
static get getPentry = > " $ _baseUrl /return/pentry/details " ; // get
static get updatePentry = > " $ _baseUrl /Visit/UpdateVisit " ; // get
static get getPentryTaskStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=403 " ; // get
// get
static get getPentryVisitStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=402 " ; // get
static get getPentryStatus = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=401 " ; // get
// contacts
static get getPentryContacts = > " $ _baseUrl /handle/return/all/contacts " ; // get
//comments
static get getComments = > " $ _baseUrl /CallRequest/GetHistoryComments " ; // get
static get addComment = > " $ _baseUrl /CallRequest/AddHistoryComment " ; // add
static get getSiteContactInfo = > " $ _baseUrl /AssetGroupSiteContactInfo " ; // add
static get getDepartmentBasedOnSite = > " $ _baseUrl /TRAFDataSource/GetDepartmentBasedOnSite " ; // add
// asset inventory Urls.
static get getAssetInventoryById = > ' $ _baseUrl /AssetInventory/GetAssetInventoryById ' ;
static get getAssetsInSession = > ' $ _baseUrl /AssetInventory/GetAssetsInSeassion ' ;
static get getInventoryDetailsByFilter = > ' $ _baseUrl /AssetInventory/GetInventoryDetailsByFilter ' ;
static get searchAsset = > ' $ _baseUrl /AssetInventory/SearchAsset ' ;
static get saveAssetInSession = > ' $ _baseUrl /AssetInventory/SaveAssetInSession ' ;
static get deleteAssetInSession = > ' $ _baseUrl /AssetInventory/DeleteAssetInSession ' ;
static get getManufacturerOrModelAutoComplete = > ' $ _baseUrl /AssetInventory/GetManufacturerOrModelAutoComplete ' ;
static get searchAssetName = > ' $ _baseUrl /AssetInventory/SearchAssetName ' ;
static get getSuppliersAutoCompleteInventory = > ' $ _baseUrl /Supplier/GetSuppliersMobile ' ;
static get getAssetsTemp = > ' $ _baseUrl /AssetInventory/GetAssetsTemp ' ;
static get convertDetailToComplete = > ' $ _baseUrl /AssetInventory/ConvertDetailToComplete ' ;
static get getClassification = > ' $ _baseUrl /AssetInventory/Classification ' ;
//internal Audit
static get getInternalAuditEquipmentById = > " $ _baseUrl /InternalAuditEquipments/GetInternalAuditEquipmentById " ;
static get getInternalAuditSystemById = > " $ _baseUrl /InternalAuditSystems/GetInternalAuditSystemByIdV2 " ;
static get getInternalAuditChecklist = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=43 " ;
static get getInternalAuditWoType = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=2500 " ;
static get getInternalAuditFindingType = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=2502 " ;
static get addOrUpdateEquipmentInternalAudit = > " $ _baseUrl /InternalAuditEquipments/AddOrUpdateAuditEquipment " ;
static get addOrUpdateInternalAuditSystem = > " $ _baseUrl /InternalAuditSystems/AddOrUpdateInternalAuditSystem " ;
static get getWoAutoComplete = > " $ _baseUrl /InternalAuditSystems/AutoCompleteAllWorkOrder " ;
static get updateAuditEquipmentsEngineer = > " $ _baseUrl /InternalAuditEquipments/UpdateAuditEquipmentsEngineer " ;
static get updateAuditSystemEngineer = > " $ _baseUrl /InternalAuditSystems/UpdateAuditSystemEngineer " ;
static get loadAllWorkOrderDetailsByID = > " $ _baseUrl /InternalAuditSystems/LoadAllWorkOrderDetailsByID " ;
//chat
static get chatSdkToken = > ' $ chatHubUrlApi /auth/sdk-token ' ;
//survey
static get getQuestionnaire = > ' $ _baseUrl /SurveyQuestionnaire/GetQuestionnaire ' ;
static get submitSurvey = > ' $ _baseUrl /SurveyQuestionnaire/SubmitSurvey ' ;
// load module
static get getLoanPeriod = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=3051 " ;
static get getMedDepartmentBasedOnSite = > " $ _baseUrl /TRAFDataSource/GetDepartmentBasedOnSite " ;
static get getFlowMedicalDepartments = > " $ _baseUrl /FlowDepartments/All " ;
static get getLoanById = > ' $ _baseUrl /Loan/GetLoanById ' ;
static get getLoanByWorkOrderId = > ' $ _baseUrl /Loan/GetLoanByWorkOrderId ' ;
static get getIncidentById = > ' $ _baseUrl /Incident/GetIncidentById ' ;
static get getOvrTicketDetails = > ' $ _baseUrl /Incident/GetOvrTicketDetails ' ;
static get addLoan = > ' $ _baseUrl /Loan/AddLoan ' ;
static get loanWorkflowAction = > ' $ _baseUrl /Loan/LoanWorkflowAction ' ;
static get addIncident = > ' $ _baseUrl /Incident/AddIncident ' ;
static get addDemoTrialOutcome = > ' $ _baseUrl /DemoRequest/addDemoTrialOutcome ' ;
//Asset Delivery Module
static get getAssetDeliveryDetailsById = > ' $ _baseUrl /AssetDeliveryExternal/GetAssetDeliveryExternalById ' ;
static get getAssetDeliveryTableListById = > ' $ _baseUrl /AssetDeliveryExternalDelivery/GetDeliveriesByMasterId ' ;
static get addNewDelivery = > ' $ _baseUrl /AssetDeliveryExternalDelivery/AddNewDelivery ' ;
static get changeDeliveryStatusToCancel = > ' $ _baseUrl /AssetDeliveryExternalDelivery/ChangeStatusDeliveryToCancel ' ;
static get changeDeliveryStatus = > ' $ _baseUrl /AssetDeliveryExternalDelivery/ChangeStatusDelivery ' ;
static get getAssetDeliveryInspectionData = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/GetAssetDeliveryExternalDeliveryInspectionByDeliveryId ' ;
static get getOracleUserList = > ' $ _baseUrl /AssetDeliveryExternal/GetEmployeesFromOracle ' ;
static get saveMasterInfoDeliveryInspection = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/SaveMaseterInfoDeliveryInspection ' ;
static get sendEmailToAddSignature = > ' $ _baseUrl /Signature/SendEmailToAddSignature ' ;
static get getLineFromExternalPo = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/GetLineFromExternalPo ' ;
static get getCostCenterListToLineDeliveryInspection = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/GetCostCenterToLineDeliveryInspection ' ;
static get getCostCenterAndSerialNoToLineDeliveryInspection = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/GetCostCenterAndSerialNoToLineDeliveryInspection ' ;
static get getCostCenterToPo = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/GetCostCenterToPo ' ;
static get saveCostCenterToLineDeliveryInspection = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/SaveCostCenterToLineDeliveryInspection ' ;
static get saveCostCenterAndSerialNoToLineDeliveryInspection = > ' $ _baseUrl /AssetDeliveryExternalDeliveryInspection/SaveCostCenterAndSerialNoToLineDeliveryInspection ' ;
static get getDeliveryHistories = > ' $ _baseUrl /AssetDeliveryExternalDelivery/GetDeliveryHistories ' ;
//Technical Inscption...
static get getLineFromTechnicalInspection = > ' $ _baseUrl /AssetDeliveryExternalTechnicalInspection/GetLineFromDeliveryInspection ' ;
static get getTechnicalInspectionByDetailId = > ' $ _baseUrl /AssetDeliveryExternalTechnicalInspection/GetTechnicalInspectionByDetailId ' ;
static get powerSupplyTypeLookUp = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=527 " ;
static get saveTechnicalInspection = > " $ _baseUrl /AssetDeliveryExternalTechnicalInspection/SaveTechnicalInspection " ;
static get getTechnicalInspectionParentData = > " $ _baseUrl /AssetDeliveryExternalTechnicalInspection/GetTechnicalInspectionItemByCostCenterId " ;
static get getAssetFromInternalTechnicalInspection = > " $ _baseUrl /AssetDeliveryExternalTechnicalInspection/GetAssetFromInternal " ;
static get getAssetDetailsByAssetId = > " $ _baseUrl /AssetDeliveryExternalTechnicalInspection/GetAssetByIdFromInternal " ;
static get saveTechnicalInspectionAsset = > " $ _baseUrl /AssetDeliveryExternalTechnicalInspection/SaveTechnicalInspectionItem " ;
static get getAttachments = > " $ _baseUrl /AssetDeliveryExternalDeliveryAttachment/GetAttachmentsBasedOnType " ;
static get saveAttachments = > " $ _baseUrl /AssetDeliveryExternalDeliveryAttachment/Save " ;
//End user Acceptance...
static get getEndUserAcceptanceCostCenter = > " $ _baseUrl /AssetDeliveryEndUserAcceptance/GetEndUserAcceptanceCostCenter " ;
static get getCostCenterAssetList = > " $ _baseUrl /AssetDeliveryEndUserAcceptance/GetItemByCostCenter " ;
static get saveEndUserFormData = > " $ _baseUrl /AssetDeliveryEndUserAcceptance/SaveMaster " ;
static get saveEndUserAssetData = > " $ _baseUrl /AssetDeliveryEndUserAcceptance/SaveDetail " ;
static get endUserStatusLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=534 " ;
// static get endUserRejectionReasonLookup => "$_baseUrl/Lookups/GetLookup?lookupEnum=5007";
static get endUserRejectionReasonLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=415 " ;
static get attachmentTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=5009 " ;
//Medical Gas Request..
// 4004
static get orderTypeLookUp = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4004 " ;
// static get itemTypeLookUp => "$_baseUrl/Lookups/GetLookup?lookupEnum=4005";
static get itemTypeLookUp = > " $ _baseUrl /MedicalGas/GetItemTypeLookup?lookupEnum=4002 " ;
static get getMedicalGasSupplierList = > " $ _baseUrl /MedicalGas/GetMedicalGasSupplierAsync " ;
static get getMedicalGasInfoBySupplier = > " $ _baseUrl /MedicalGas/GetMedicalGasInfoBySupplierAsync " ;
static get addMedicalGasRequest = > " $ _baseUrl /MedicalGas/AddUpdateMedicalGasRequestAsync " ;
static get getMedicalGasById = > " $ _baseUrl /MedicalGas/GetMedicalGasRequestByIdAsync " ;
static get updateDeliveryNote = > " $ _baseUrl /MedicalGas/MedicalGasRequestDeliveryNotesAsync " ;
//Demo Request...
static get addDemoRequest = > " $ _baseUrl /DemoRequest/AddDemoRequest " ;
static get updateDemoRequest = > " $ _baseUrl /DemoRequest/UpdateDemoRequest " ;
static get getDemoRequestById = > " $ _baseUrl /DemoRequest " ;
static get cancelDemoRequest = > " $ _baseUrl /DemoRequest/Cancel " ;
static get updateDemoRequestByAssessor = > " $ _baseUrl /DemoRequest/UpdateDemoRequestByAssessor " ;
static get updateDemoPeriodByRequester = > " $ _baseUrl /DemoRequest/UpdateDemoPeriodByRequester " ;
//export urls
static get exportFormatTypeLookup = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4015 " ;
static get exportAsset = > " $ _baseUrl /Asset/Export " ;
static get getAllWorkOrderColumnsMetadata = > " $ _baseUrl /CallRequest/columns/metadata " ;
static get exportAllWorkOrder = > " $ _baseUrl /CallRequest/Export " ;
// Print/Report URLs
static get generateReport = > " $ _baseUrl /ReportPDF/GenerateReport " ;
//4104 attachment type lookup
// Demo Request APIs
static get getRoles = > " $ _baseUrl /Lookups/GetLookup?lookupEnum=4017 " ; // get roles for demo request
static get submitDemoRequest = > " $ _baseUrl /DemoRequest/CreateDemoRequest " ; // post submit demo request
static get getDemoRequests = > " $ _baseUrl /DemoRequest/GetDemoRequests " ; // get demo request history
// Application Demo Request APIs
static get getApplicationDemoRoles = > " $ _baseUrl /Account/GetRolesByAssetGroupId?assetGroupId=6 " ; // get roles for application demo request
static get submitApplicationDemoRequest = > " $ _baseUrl /DemoUser/CreateDemoUser " ; // post submit application demo request// get application demo request history
static get sendDemoUserOtp = > " $ _baseUrl /DemoUser/EmailVerification " ; // post send OTP to user
static get verifyDemoUserOtp = > " $ _baseUrl /DemoUser/VerifyOtp " ; // post verify OTP
}