{"version":3,"sources":["utils/genState.js","store/layout/actions.js","store/companyInfo/actions.js","utils/reduxsauce/createTypes.js","utils/reduxsauce/createActions.js","utils/reduxsauce/resettableReducer.js","utils/reduxsauce/index.js","utils/reduxsauce/createReducer.js","configs/index.js","store/userManagement/actions.js","store/auth/actions.js","utils/reduxsauce/Types.js","store/notification/actions.js","store/transaction/actions.js","store/city/actions.js","configs/roles.js","store/code/actions.js","utility/context/Can.js","utility/providers/SignalRProvider.js","utility/hooks/useNavbarType.js","store/product/actions.js","store/tenant/actions.js","utility/context/Internationalization.js","utility/hooks/useSignalR.js","store/report/actions.js","utility/hooks/useUser.js","assets/images/logo/scib-stars-new.png","store/client/actions.js","store/category/actions.js","store/suggestion/actions.js","store/userManagement/reducer.js","store/setting/reducer.js","store/companyInfo/reducer.js","store/dashboard/reducer.js","store/tenant/reducer.js","store/store/reducer.js","store/category/reducer.js","store/product/reducer.js","store/attribute/reducer.js","store/code/reducer.js","store/city/reducer.js","store/question/reducer.js","store/service/reducer.js","store/suggestion/reducer.js","store/transaction/reducer.js","store/productSku/reducer.js","store/notification/reducer.js","store/slap/reducer.js","store/advertisement/reducer.js","store/terms/reducer.js","store/scibWallet/reducer.js","store/report/reducer.js","store/client/reducer.js","store/request/reducer.js","store/question/actions.js","store/dashboard/actions.js","store/slap/actions.js","store/terms/actions.js","store/store/actions.js","store/attribute/actions.js","store/productSku/actions.js","../ /^/.//.*//messages/.po$/ groupOptions: {} namespace object","store/layout/reducer.js","store/navbar/reducer.js","store/auth/reducer.js","store/reducers.js","services/storage.js","utils/genLogic.js","store/app/logic.js","store/auth/logic.js","store/userManagement/logic.js","store/setting/logic.js","store/tenant/logic.js","store/store/logic.js","store/category/logic.js","store/product/logic.js","store/attribute/logic.js","store/code/logic.js","store/city/logic.js","store/question/logic.js","store/suggestion/logic.js","store/transaction/logic.js","store/companyInfo/logic.js","store/dashboard/logic.js","store/service/logic.js","store/notification/logic.js","store/productSku/logic.js","store/slap/logic.js","store/advertisement/logic.js","store/terms/logic.js","store/scibWallet/logic.js","store/report/logic.js","store/client/logic.js","store/request/logic.js","store/logics.js","services/auth/index.js","services/userManagement/index.js","services/setting/index.js","services/tenant/index.js","services/store/index.js","services/category/index.js","services/product/index.js","services/attribute/index.js","services/code/index.js","services/city/index.js","services/question/index.js","services/companyInfo/index.js","services/service/index.js","services/suggestion/index.js","services/transaction/index.js","services/slap/index.js","services/notification/index.js","services/advertisement/index.js","services/scibWallet/index.js","services/terms/index.js","services/productSku/index.js","services/reports/index.js","services/client/index.js","services/request/index.js","services/index.js","store/index.js","store/configureStore.js","utility/context/ThemeColors.js","@core/components/spinner/Fallback-spinner.js","@core/components/ripple-button/index.js","serviceWorker.js","configs/permission/userAbitlity.js","configs/permission/userPermission.jsx","components/TransKeyNotFound.js","index.js","store/constants.js","store/app/reducer.js","store/service/actions.js","store/advertisement/actions.js","store/request/actions.js","store/scibWallet/actions.js","configs/themeConfig.js","store/app/actions.js","store/SupportedLocales.js","store/setting/actions.js"],"names":["defaultState","stateName","extraProps","defaults","extraPropsState","Object","keys","length","map","a","setState","isPaginated","state","payload","produce","draft","setStateSuccess","successCb","items","metadata","setStateFail","failCb","bindReducers","actionTypes","options","action","async","actionName","replace","toUpperCase","Error","reducers","bindSyncReducers","doneCb","setSyncState","createActions","handleRtl","args","handleMenuHidden","handleMenuCollapsed","prefix","Types","Creators","ActionTypes","LayoutActions","getCompanyInfo","meta","saveCompanyInfo","showDialog","showDeleteDialog","resetDialog","isNilOrEmpty","anyPass","isNil","isEmpty","defaultOptions","types","merge","pipe","trim","split","reject","x","fromPairs","camelToScreamingSnake","toUpper","convertToTypes","config","opts","successPostfix","failPostfix","k","_config","flatten","join","createTypes","convertToCreators","creators","mapObjIndexed","num","key","value","name","type","is","Array","values","zipObj","defaultProps","valueObject","providedProps","pick","successKey","failKey","success","fail","_value","isArray","done","error","createActionCreator","curry","typeToReset","originalReducer","String","resetState","undefined","cr","emptyObj","initialState","handlers","any","equals","has","handler","DEFAULT","useLocalApi","appName","appTitle","appDescription","signalR","baseUrl","devApiRoot","pageOptions","contactPhone","contactMail","addressOnMap","gen_password_length","gen_password_characters","register","setRegister","getUsers","getProfileData","verifyOtp","resendOtp","updateUserAvatar","getUser","handleSeen","getPermissions","createUser","createClient","editClient","createUsers","createAppUser","deleteUser","setUser","createRole","getRoles","getRole","editUser","editRole","handleAvatarSubmit","deleteRole","addClientDecision","login","forgetPasswordOtp","resetPasswordOtp","refreshToken","loginExternal","updateToken","getNotifications","addNotification","logout","setAuthToken","setMobile","readNotification","setNotifications","updateProfile","changePassword","resetChangePassword","updateUserScore","AuthActions","sendNotification","getChats","getOpennedChat","startChat","joinChat","sendMessage","setItem","exportTransactionsWithOwnerToExcel","exportUsersTransactionsSummary","exportTransactionsWithServiceToExcel","exportTransactionsWithWalletToExcel","getUserTransactions","createGiftPoints","getClientPoints","getTransactionWithWalletId","getTransactionWithId","chargeProviderWallet","getTransactionsWithOwnerId","getTransactionsWithServiceId","scanCode","resetDeleteDialog","createCountry","editCountry","deleteCountry","getCountryWithId","getAllCountries","getAllCities","getCityWithId","createCity","editCity","deleteCity","getAllGovernorates","getGovernorateWithId","createGovernorate","editGovernorate","deleteGovernorate","Roles","SuperAdmin","Admin","Employee","createCode","uploadCodes","assignCode","searchCode","setCode","clear","getAllowablePrefix","getAllowableStart","getAllowableCount","getCodeBatches","getBatchesForUpdate","updateBatch","getBatchWithId","getCodeBatchesWithoutPagination","setUploadedCodes","AbilityContext","createContext","createContextualCan","Consumer","SignalProvider","React","SignalRProvider","children","props","useSignalR","startHub","onReceiveNotify","dispatch","closeHub","useDispatch","getClientInfo","notificationsActions","useSelector","auth","notifications","clientActions","user","useEffect","token","localStorage","getItem","Provider","useNavbarType","useState","themeConfig","layout","navbar","console","log","navbarType","setNavbarType","valueToStore","Function","getAllProductAttributes","getPublishedProducts","createProductAttribute","updateProductAttribute","deleteProductAttribute","getAllProducts","getProductWithId","createProduct","updateProduct","deleteProduct","setProduct","getAllTenants","getTenantWithId","createTenant","updateTenant","deleteTenant","createTenantConfiguration","createTenantContact","updateTenantConfiguration","updateTenantContact","setTenant","Context","dynamicActivate","locale","messages","i18n","load","activate","loadLocaleData","result","locales","plurals","plurs","loadedLocales","IntlProviderWrapper","lang","currentLang","find","l","default","code","setLocale","AppActions","changeLocale","switchLanguage","defaultLocale","chatActions","connection","hub","on","message","notificationActions","withUrl","accessTokenFactory","withAutomaticReconnect","configureLogging","Debug","build","setUpHub","start","then","catch","err","onclose","stop","getReportsList","getProductAndCodesCount","getLastDaysSummaryOfRedemptionAndScan","getServicesRedemptionSummary","getTopTenScannedProductsQuery","getUsersCount","clearFile","generateFile","useUser","permissions","setPermissions","tenantId","setTenantId","roles","setRoles","inRole","role","includes","JSON","parse","forEach","r","navType","can","permission","getAllClients","getClientWithId","registerClient","setRegisterClient","updateClient","deleteClient","getAllCategories","getParentCategories","getCategoryWithId","createCategory","updateCategory","deleteCategory","setCategory","getAllSuggestions","createSuggestion","getSuggestionWithId","deleteSuggestion","createContactUs","selectedUser","openDialog","openDeleteDialog","userCreatedSuccess","users","userEditedSuccess","userIndex","findIndex","u","id","reducer","createReducer","filter","avatarSubmitFlag","roleIndex","user_errors","registerRes_errors","settingIndex","settings","responsesSummary","tenant","contacts","index","e","stores","store","categories","categoryIndex","category","brand_errors","productEditedSuccess","productIndex","products","productCreatedSuccess","productDeleteSuccess","product","attributes","attributeIndex","assigningCodes","uploadedCodes","item","data","codes_errors","codes","allowablePrefix_errors","allowablePrefix","countries","cities","governorates","questions","setServiceProvider","serviceProvider","isOpenSweetAlert","voucherValidation_errors","voucherValidation","services","serviceProviders","serviceOptions","serviceOption","service","redeemResult","redeemResult_errors","voucherSubmit","voucherSubmit_errors","suggestions","transactions","ownerTransactions","updatedPoints","balance","points","valueOf","skus","productSkus","unshift","opennedChat","push","slaps","slapIndex","slap","TramOutlined","terms","term","tenantBalance","tenantWallet","mainWallet","destination","amount","serviceWallet","destId","walletId","scibWalletTransactions","registerClients_errors","pageRequests","handleResponse","response","parseResponse","handlePayloadOfResponse","className","comment","fileUrl","href","process","target","download","filterPageRequest","requestId","keyToRemove","currentPage","requests","isCompleted","request","request_errors","status","toast","codeNumber","getAllQuestions","getQuestionWithId","createQuestion","updateQuestion","deleteQuestion","setQuestion","getGeneralInfo","getClientResponse","getProducts","getOffers","getClientResponces","getClientResponceWithId","getResponsesSummary","getAllSlaps","getSlapWithId","createSlap","updateSlap","deleteSlap","setSlap","getTerms","updateTerms","createTerm","getTerm","deleteTerms","setTerm","getAllStores","getStoreWithId","createStore","updateStore","deleteStore","setStore","getAllAttributes","getAttributeWithId","createAttribute","updateAttribute","deleteAttribute","getAllProductSkus","getProductSkuWithId","createProductSku","updateProductSku","deleteProductSku","setProductSku","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","ids","t","module","exports","isRTL","menuCollapsed","window","menu","isCollapsed","initialMenuCollapsed","menuHidden","isHidden","contentWidth","layoutReducer","bookmarks","query","navbarReducer","val","objectToUpdate","isBookmarked","bookmarkIndex","splice","isLoggedIn","loginError","mobile","authReducer","jwtDecoder","loginLoading","stringify","active","removeItem","changePassword_errors","score","LOGOUT","ADD_NOTIFICATION","notify","READ_NOTIFICATION","READ_NOTIFICATION_SUCCESS","notifyId","notficiationId","read","READ_NOTIFICATION_FAIL","rootPersistConfig","storage","blacklist","Storage","normalizeActionName","toLowerCase","pop","i","charAt","substring","api","exp","moment","unix","ok","_validateApi","apiNamespace","api_name","logic","successMessage","errorMessage","showSuccessMessage","showErrorMessage","createLogic","latest","getState","res","authActions","_errorMsg","errors","errorCode","pingLogic","PING","getCountriesLogic","GET_COUNTRIES","getCitiesLogic","GET_CITIES","getNotificationsLogic","GET_NOTIFICATIONS","readNotificationLogic","loginLogic","LOGIN","registerLogic","REGISTER","refreshTokenLogic","REFRESH_TOKEN","forgetPasswordOtpLogic","FORGET_PASSWORD_OTP","resetPasswordOtpLogic","RESET_PASSWORD_OTP","loginExternalLogic","LOGIN_EXTERNAL","changePasswordLogic","CHANGE_PASSWORD","updateProfileLogic","UPDATE_PROFILE","getUsersLogic","GET_USERS","getUserLogic","GET_USER","verifyOtpLogic","VERIFY_OTP","resendOtpLogic","RESEND_OTP","getProfileDataLogic","GET_PROFILE_DATA","handleSeenLogic","HANDLE_SEEN","getPermissionsLogic","GET_PERMISSIONS","createUserLogic","CREATE_USER","createClientLogic","CREATE_CLIENT","goBack","editClientLogic","EDIT_CLIENT","updateUserAvatarLogic","UPDATE_USER_AVATAR","addClientDecisionLogic","ADD_CLIENT_DECISION","createUsersLogic","CREATE_USERS","createAppUserLogic","CREATE_APP_USER","createRoleLogic","CREATE_ROLE","getRolesLogic","GET_ROLES","getRoleLogic","GET_ROLE","deleteUserLogic","DELETE_USER","editUserLogic","EDIT_USER","editRoleLogic","EDIT_ROLE","deleteRoleLogic","DELETE_ROLE","getSettingsLogic","GET_SETTINGS","editSettingLogic","EDIT_SETTING","editAllSettingsLogic","EDIT_ALL_SETTINGS","getAllTenantsLogic","GET_ALL_TENANTS","getTenantWithIdLogic","GET_TENANT_WITH_ID","createTenantLogic","CREATE_TENANT","location","updateTenantLogic","UPDATE_TENANT","deleteTenantLogic","DELETE_TENANT","createTenantConfigurationLogic","CREATE_TENANT_CONFIGURATION","createTenantContactLogic","CREATE_TENANT_CONTACT","tenantActions","updateTenantConfigurationLogic","UPDATE_TENANT_CONFIGURATION","updateTenantContactLogic","UPDATE_TENANT_CONTACT","getAllStoresLogic","GET_ALL_STORES","getStoreWithIdLogic","GET_STORE_WITH_ID","createStoreLogic","CREATE_STORE","updateStoreLogic","UPDATE_STORE","deleteStoreLogic","DELETE_STORE","getAllCategoriesLogic","GET_ALL_CATEGORIES","getParentCategoriesLogic","GET_PARENT_CATEGORIES","getCategoryWithIdLogic","GET_CATEGORY_WITH_ID","createCategoryLogic","CREATE_CATEGORY","updateCategoryLogic","UPDATE_CATEGORY","deleteCategoryLogic","DELETE_CATEGORY","getProductWithIdLogic","GET_PRODUCT_WITH_ID","getAllProductsLogic","GET_ALL_PRODUCTS","getPublishedProductsLogic","GET_PUBLISHED_PRODUCTS","createProductLogic","CREATE_PRODUCT","updateProductLogic","UPDATE_PRODUCT","deleteProductLogic","DELETE_PRODUCT","getAllProductAttributesLogic","GET_ALL_PRODUCT_ATTRIBUTES","createProductAttributeLogic","CREATE_PRODUCT_ATTRIBUTE","updateProductAttributeLogic","UPDATE_PRODUCT_ATTRIBUTE","deleteProductAttributeLogic","DELETE_PRODUCT_ATTRIBUTE","getAllAttributesLogic","GET_ALL_ATTRIBUTES","getAttributeWithIdLogic","GET_ATTRIBUTE_WITH_ID","createAttributeLogic","CREATE_ATTRIBUTE","updateAttributeLogic","UPDATE_ATTRIBUTE","deleteAttributeLogic","DELETE_ATTRIBUTE","createCodeLogic","CREATE_CODE","assignCodeLogic","ASSIGN_CODE","searchCodeLogic","SEARCH_CODE","getAllowablePrefixLogic","GET_ALLOWABLE_PREFIX","getAllowableStartLogic","GET_ALLOWABLE_START","uploadCodestLogic","UPLOAD_CODES","getAllowableCountLogic","GET_ALLOWABLE_COUNT","getCodeBatchesLogic","GET_CODE_BATCHES","getBatchesForUpdateLogic","GET_BATCHES_FOR_UPDATE","getBatchWithIdLogic","GET_BATCH_WITH_ID","updateBatchLogic","UPDATE_BATCH","getCodeBatchesWithoutPaginationLogic","GET_CODE_BATCHES_WITHOUT_PAGINATION","getAllCountriesLogic","GET_ALL_COUNTRIES","createCountryLogic","CREATE_COUNTRY","EDIT_COUNTRY","DELETE_COUNTRY","GET_ALL_CITIES","GET_CITY_WITH_ID","CREATE_CITY","EDIT_CITY","DELETE_CITY","GET_ALL_GOVERNORATES","CREATE_GOVERNORATE","EDIT_GOVERNORATE","DELETE_GOVERNORATE","GET_ALL_QUESTIONS","GET_QUESTION_WITH_ID","CREATE_QUESTION","UPDATE_QUESTION","DELETE_QUESTION","getAllSuggestionsLogic","GET_ALL_SUGGESTIONS","getSuggestionWithIdLogic","GET_SUGGESTION_WITH_ID","CREATE_SUGGESTION","DELETE_SUGGESTION","CREATE_CONTACT_US","getUserTransactionsLogic","GET_USER_TRANSACTIONS","getTransactionsWithOwnerIdLogic","GET_TRANSACTIONS_WITH_OWNER_ID","exportTransactionsWithOwnerToExcelLogic","EXPORT_TRANSACTIONS_WITH_OWNER_TO_EXCEL","exportTransactionsWithServiceToExcelLogic","EXPORT_TRANSACTIONS_WITH_SERVICE_TO_EXCEL","exportUsersTransactionsSummaryLogic","EXPORT_USERS_TRANSACTIONS_SUMMARY","exportTransactionsWithWalletToExcelLogic","EXPORT_TRANSACTIONS_WITH_WALLET_TO_EXCEL","getTransactionsWithServiceIdLogic","GET_TRANSACTIONS_WITH_SERVICE_ID","getClientPointsLogic","GET_CLIENT_POINTS","chargeProviderWalletLogic","CHARGE_PROVIDER_WALLET","getTransactionWithWalletIdLogic","GET_TRANSACTION_WITH_WALLET_ID","GET_TRANSACTION_WITH_ID","CREATE_GIFT_POINTS","SCAN_CODE","GET_COMPANY_INFO","SAVE_COMPANY_INFO","showerrorMessage","GET_GENERAL_INFO","GET_CLIENT_RESPONSE","GET_PRODUCTS","GET_OFFERS","GET_CLIENT_RESPONCES","GET_CLIENT_RESPONCE_WITH_ID","GET_RESPONSES_SUMMARY","checkParentProviderLogic","CHECK_PARENT_PROVIDER","getServiceOptionVouchersLogic","GET_SERVICE_OPTION_VOUCHERS","getServicesIntegrationLogic","GET_SERVICES_INTEGRATION","getServiceChildrenLogic","GET_SERVICE_CHILDREN","getServiceOptionsLogic","GET_SERVICE_OPTIONS","getAllServicesLogic","GET_ALL_SERVICES","getServiceProvidersLogic","GET_SERVICE_PROVIDERS","getServiceProviderWithIdLogic","GET_SERVICE_PROVIDER_WITH_ID","getTypesLogic","GET_TYPES","getServiceTypesLogic","GET_SERVICE_TYPES","getAvailableServicesLogic","GET_AVAILABLE_SERVICES","validateVoucherLogic","VALIDATE_VOUCHER","submitRedeemVoucherLogic","SUBMIT_REDEEM_VOUCHER","redeemLogic","REDEEM","getServiceOptionWithLogic","GET_SERVICE_OPTION_WITH_ID","getServiceWithIdLogic","GET_SERVICE_WITH_ID","getServiceTransactionsLogic","GET_SERVICE_TRANSACTIONS","createServiceLogic","CREATE_SERVICE","createChildServiceLogic","CREATE_CHILD_SERVICE","createServiceTypeLogic","CREATE_SERVICE_TYPE","createServiceProviderLogic","CREATE_SERVICE_PROVIDER","createVouchersLogic","CREATE_VOUCHERS","createServiceOptionLogic","CREATE_SERVICE_OPTION","updateServiceLogic","UPDATE_SERVICE","updateChildServiceLogic","UPDATE_CHILD_SERVICE","updateServiceProviderLogic","UPDATE_SERVICE_PROVIDER","updateServiceTypeLogic","UPDATE_SERVICE_TYPE","updateServiceOptionLogic","UPDATE_SERVICE_OPTION","deleteServiceLogic","DELETE_SERVICE","deleteServiceProviderLogic","DELETE_SERVICE_PROVIDER","deleteServiceTypeLogic","DELETE_SERVICE_TYPE","DELETE_SERVICE_OPTION","sendNotificationLogic","SEND_NOTIFICATION","getChatsLogic","GET_CHATS","joinChatLogic","JOIN_CHAT","getOpennedChatLogic","GET_OPENNED_CHAT","startChatLogic","START_CHAT","sendMessageLogic","SEND_MESSAGE","GET_ALL_PRODUCT_SKUS","GET_PRODUCT_SKU_WITH_ID","CREATE_PRODUCT_SKU","UPDATE_PRODUCT_SKU","DELETE_PRODUCT_SKU","GET_ALL_SLAPS","GET_SLAP_WITH_ID","CREATE_SLAP","UPDATE_SLAP","DELETE_SLAP","getAdvertisementLogic","GET_ADVERTISEMENT","saveAdvertisementLogic","SAVE_ADVERTISEMENT","updateAdvertisementLogic","UPDATE_ADVERTISEMENT","DELETE_ADVERTISEMENT","getTermsLogic","GET_TERMS","getTermLogic","GET_TERM","updateTermsLogic","UPDATE_TERMS","createTermLogic","CREATE_TERM","DELETE_TERMS","GET_SCIB_WALLET_TRANSACTIONS","ADD_POINTS","GET_POINTS","GET_REPORTS_LIST","GET_PRODUCT_AND_CODES_COUNT","GET_LAST_DAYS_SUMMARY_OF_REDEMPTION_AND_SCAN","GET_SERVICES_REDEMPTION_SUMMARY","GET_TOP_TEN_SCANNED_PRODUCTS_QUERY","GET_USERS_COUNT","GENERATE_FILE","GET_ALL_CLIENTS","GET_CLIENT_WITH_ID","GET_CLIENT_INFO","REGISTER_CLIENT","UPDATE_CLIENT","DELETE_CLIENT","GET_NEW_REQUEST","GET_REQUEST","recieveNotification","title","body","link","GET_REQUESTS","appLogic","authLogic","usersLogic","settingLogic","companyInfoLogic","dashboardLogic","tenantLogic","storeLogic","categoryLogic","productLogic","attributeLogic","codeLogic","cityLogic","questionLogic","parentServiceLogic","suggestionLogic","transactionLogic","notificationLogic","productSkuLogic","slapLogic","advertisementLogic","termsLogic","reportsLogic","clientLogic","requestLogic","loginRequest","post","accessToken","get","put","userManegment","paging","delete","getSettings","editSetting","editAllSettings","activeOnly","attribute","reference","Cities","question","companyInfos","checkParentProvider","validateVoucher","submitRedeemVoucher","getAllServices","getServicesIntegration","getServiceOptionVouchers","getServiceProviderWithId","getTypes","getServiceProviders","getServiceChildren","getServiceOptions","getServiceWithId","getAvailableServices","getServiceTransactions","createService","createChildService","createServiceType","createVouchers","createServiceProvider","updateService","updateChildService","updateServiceProvider","updateServiceType","deleteService","deleteServiceType","getServiceOptionWithId","createServiceOption","updateServiceOption","deleteServiceOption","deleteServiceProvider","getServiceTypes","redeem","suggestion","transaction","notification","Advertisements","getAdvertisement","saveAdvertisement","deleteAdvertisement","updateAdvertisement","getScibWalletTransactions","addPoints","getPoints","productSku","report","path","Client","getNewRequest","getRequest","getRequests","apiURI","baseURL","apisauce","create","headers","timeout","addAsyncResponseTransform","customeError","addAsyncRequestTransform","culture","cultureCode","userIp","authApi","usersApi","settingsApi","tenantApi","storeApi","categoryApi","productApi","attributetApi","codeApi","city","cityApi","questionApi","companyInfo","companyInfoApi","servicesApi","suggestionApi","transactionApi","notificationApi","slapApi","advertisements","advertisementApi","termsApi","productSkuApi","scibWalletTransactionsApi","reportApi","client","clientApi","requestApi","setHeader","setHeaders","history","createBrowserHistory","injectedApi","API","logicMiddleware","createLogicMiddleware","logics","middlewares","routerMiddleware","enhancers","applyMiddleware","composeEnhancers","compose","rootReducer","asyncReducers","persistReducer","combineReducers","router","connectRouter","app","require","dashboard","advertisement","persistedStore","persistStore","configureStore","ThemeColors","ThemeContext","colors","setColors","getHex","color","getComputedStyle","document","getPropertyValue","obj","primary","light","concat","main","secondary","danger","warning","info","dark","SpinnerComponent","src","appLogoImage","alt","width","Button","Ripple","onClick","rest","mounted","setMounted","isRippling","setIsRippling","y","coords","setCoords","setTimeout","classnames","rect","getBoundingClientRect","clientX","left","clientY","top","style","Boolean","hostname","match","this","updateValues","TransKeyNotFound","LazyApp","lazy","ReactDOM","render","fallback","userAbility","newestOnTop","getElementById","navigator","serviceWorker","ready","registration","unregister","DEFAULT_DIRECTION","DIRECTIONS","LTR","supportedLocales","direction","defaultCurrency","priceDisplay","lastPing","isLoadingHotels","theme","sidebarCollapsed","navbarColor","footerType","disableCustomizer","hideScrollToTop","menuTheme","extraStarred","starred","defaultLat","defaultLong","defaultZoom","_locale","getElementsByTagName","setAttribute","textAlign","setAdvertisement","setCurrentPage","startRequest","addRequstToList","setRequest","setDestination","skin","routerTransition","backgroundColor","footer","customizer","scrollTop","ping","changeCurrency","changePriceDisplay","setIsLoading","clearIsLoading","getCountries","getCities","flag"],"mappings":"yNAOMA,EAAe,SAACC,GAAiD,IAAD,EAArCC,EAAqC,uDAAxB,GAAIC,EAAoB,uDAAT,KACvDC,EAAkB,GAOtB,OANIF,GAAcG,OAAOC,KAAKJ,GAAYK,OAAS,GACjDF,OAAOC,KAAKJ,GAAYM,KAAI,SAACC,GAE3B,OADAL,EAAgB,GAAD,OAAIH,EAAJ,YAAiBQ,IAAOP,EAAWO,GAC3C,yBAAMR,EAAb,YAA0BQ,GAAMP,EAAWO,OAGxC,gCACJR,EAAYE,GADf,wBAEMF,EAFN,aAE4B,GAF5B,wBAGMA,EAHN,WAG2B,IAH3B,GAIKG,IAIDM,EAAW,SAACT,EAAWU,GAC3B,OAAO,SAACC,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AAQ,mBAPJC,EAAR,EAAQA,MAUKE,GAVb,EAAeD,SAUYD,K","file":"static/js/main.1f1f7ce7.chunk.js","sourcesContent":["import { produce } from \"immer\";\n\n/**\n *\n * @param {String} stateName the base state name to be used, it will generate statename, statename_loading, statename_errors\n * @param {String{}} extraProps for any extra propers it will generate statename_propname, ...\n */\nconst defaultState = (stateName, extraProps = {}, defaults = null) => {\n let extraPropsState = {};\n if (extraProps && Object.keys(extraProps).length > 0)\n Object.keys(extraProps).map((a) => {\n extraPropsState[`${stateName}_${a}`] = extraProps[a];\n return { [`${stateName}_${a}`]: extraProps[a] };\n });\n\n return {\n [stateName]: defaults,\n [`${stateName}_loading`]: false,\n [`${stateName}_errors`]: [],\n ...extraPropsState,\n };\n};\n\nconst setState = (stateName, isPaginated) => {\n return (state, { payload }) => {\n return produce(state, (draft) => {\n draft[stateName] = isPaginated ? [] : state[stateName];\n draft[`${stateName}_loading`] = true;\n draft[`${stateName}_errors`] = [];\n if (isPaginated) {\n draft[`${stateName}_metadata`] = {};\n }\n });\n };\n};\n\nconst setStateSuccess = (stateName, successCb, isPaginated) => {\n return (state, { payload }) => {\n return produce(state, (draft) => {\n draft[stateName] = isPaginated ? payload.items : payload;\n draft[`${stateName}_loading`] = false;\n draft[`${stateName}_errors`] = [];\n if (successCb) successCb(state, draft, payload);\n if (isPaginated) {\n draft[`${stateName}_metadata`] = payload.metadata;\n }\n });\n };\n};\n\nconst setStateFail = (stateName, failCb, isPaginated) => {\n return (state, { payload }) => {\n return produce(state, (draft) => {\n if (isPaginated)\n draft[stateName] = [];\n\n draft[`${stateName}_loading`] = false;\n draft[`${stateName}_errors`] = payload;\n if (failCb) failCb(state, draft, payload);\n if (isPaginated) {\n draft[`${stateName}_metadata`] = {};\n }\n });\n };\n};\n\nconst setSyncState = (stateName, doneCb) => {\n return (state, { payload }) => {\n return produce(state, (draft) => {\n if (stateName) draft[stateName] = payload;\n if (doneCb) doneCb(state, draft, payload);\n });\n };\n};\n\n/**\n *\n * @param {String} actionTypes action types\n * @param {String{}} options options which contain action => action name ,\n * @param {String} options.stateName => state name the will bind pubish the result on it,\n * @param {Function} options.successCb => custom success callback for more custom logic,\n * @param {Function} options.failCb => custom failure call back for custom error logic,\n * @param {Boolean} options.isPaginated => by default false , true if the result contains metadata\n * @param {Boolean} options.async => true if you are action doesn't require calling api\n */\nconst bindReducers = (actionTypes, options = {}) => {\n const { action, stateName, successCb, failCb, isPaginated, async } = options;\n let actionName = action.replace(/([A-Z])/g, \"_$1\").toUpperCase();\n if (!actionTypes[`${actionName}`])\n throw new Error(`handlers cannot have an undefined key ${actionName}`);\n\n if (!async)\n return bindSyncReducers(actionTypes, actionName, stateName, successCb);\n else {\n const reducers = {\n [actionTypes[`${actionName}`]]: setState(stateName, isPaginated),\n [actionTypes[`${actionName}_SUCCESS`]]: setStateSuccess(\n stateName,\n successCb,\n isPaginated\n ),\n [actionTypes[`${actionName}_FAIL`]]: setStateFail(\n stateName,\n failCb,\n isPaginated\n ),\n };\n return reducers;\n }\n};\n\nconst bindSyncReducers = (actionTypes, actionName, stateName, doneCb) => {\n const reducers = {\n [actionTypes[`${actionName}`]]: setSyncState(stateName, doneCb),\n };\n\n return reducers;\n};\n\nexport {\n defaultState,\n bindReducers,\n // , bindSyncReducers\n};\n","// ** Handles Layout Content Width (full / boxed)\nexport const handleContentWidth = value => dispatch => dispatch({ type: 'HANDLE_CONTENT_WIDTH', value })\n\n// ** Handles Menu Collapsed State (Bool)\nexport const handleMenuCollapsed = value => dispatch => dispatch({ type: 'HANDLE_MENU_COLLAPSED', value })\n\n// ** Handles Menu Hidden State (Bool)\n// export const handleMenuHidden = value => dispatch => dispatch({ type: 'HANDLE_MENU_HIDDEN', value })\n\n// ** Handles RTL (Bool)\n// export const handleRTL = value => dispatch => dispatch({ type: 'HANDLE_RTL', value })\n\nimport { createActions } from \"src/utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n handleRtl: { args: [\"payload\"] },\n handleMenuHidden: { args: [\"payload\"] },\n handleMenuCollapsed: { args: [\"payload\"] },\n },\n {\n prefix: \"@app/layout/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const LayoutActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getCompanyInfo: { args: [], meta: { async: true } },\n saveCompanyInfo: { args: [\"payload\"], meta: { async: true } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/CompanyInfos/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\n","import pipe from \"ramda/es/pipe\";\nimport trim from \"ramda/es/trim\";\nimport merge from \"ramda/es/merge\";\nimport split from \"ramda/es/split\";\nimport reject from \"ramda/es/reject\";\nimport map from \"ramda/es/map\";\nimport fromPairs from \"ramda/es/fromPairs\";\nimport anyPass from \"ramda/es/anyPass\";\nimport isNil from \"ramda/es/isNil\";\nimport isEmpty from \"ramda/es/isEmpty\";\n\nconst isNilOrEmpty = anyPass([isNil, isEmpty]);\n\nconst defaultOptions = {\n prefix: \"\"\n};\n\nexport default (types, options = {}) => {\n if (isNilOrEmpty(types)) throw new Error(\"valid types are required\");\n\n const { prefix } = merge(defaultOptions, options);\n\n return pipe(\n trim,\n split(/\\s/),\n map(trim),\n reject(isNilOrEmpty),\n map(x => [x, prefix + x]),\n fromPairs\n )(types);\n};\n","import createTypes from \"./createTypes\";\nimport is from \"ramda/es/is\";\nimport isNil from \"ramda/es/isNil\";\nimport isEmpty from \"ramda/es/isEmpty\";\nimport join from \"ramda/es/join\";\nimport keys from \"ramda/es/keys\";\nimport map from \"ramda/es/map\";\nimport mapObjIndexed from \"ramda/es/mapObjIndexed\";\nimport merge from \"ramda/es/merge\";\nimport pick from \"ramda/es/pick\";\nimport pipe from \"ramda/es/pipe\";\nimport replace from \"ramda/es/replace\";\nimport toUpper from \"ramda/es/toUpper\";\nimport zipObj from \"ramda/es/zipObj\";\nimport flatten from \"ramda/es/flatten\";\n\nconst defaultOptions = {\n prefix: \"\"\n};\n\n// matches each word in a camelCaseString (except the first)\n// consecutive capitals are treated as one word\nconst RX_CAPS = /(?!^)([A-Z][a-z]+|[A-Z]+(?=[A-Z]|\\b))/g;\n\n// converts a camelCaseWord into a SCREAMING_SNAKE_CASE word\nconst camelToScreamingSnake = pipe(\n replace(RX_CAPS, \"_$1\"),\n toUpper\n);\n\n// build Action Types out of an object\nconst convertToTypes = (config, options) => {\n const opts = merge(defaultOptions, options);\n const { successPostfix, failPostfix } = opts;\n\n return pipe(\n keys, // just the keys\n keys => {\n return keys.map(k => {\n const _config = config[k];\n if (_config && _config.meta && _config.meta.async) {\n return [k, `${k}${successPostfix || \"Success\"}`, `${k}${failPostfix || \"Fail\"}`];\n } else return k;\n });\n },\n flatten,\n map(camelToScreamingSnake), // CONVERT_THEM\n join(\" \"), // space separated\n types => createTypes(types, opts) // make them into Redux Types\n )(config);\n};\n\n// an action creator with additional properties\nconst createActionCreator = (name, config, options) => {\n const { prefix } = merge(defaultOptions, options);\n // types are upcase and snakey\n const type = `${prefix}${camelToScreamingSnake(name)}`;\n\n const { args, meta } = config;\n const creators = {};\n\n // do we need extra props for this?\n const noKeys = isNil(args) || isEmpty(args);\n\n // a type-only action creator\n if (noKeys) {\n creators[name] = () => ({ type, meta: { ...meta } });\n }\n // an action creator with type + properties\n // \"properties\" is defined as an array of prop names\n else if (is(Array, args)) {\n creators[name] = (...values) => {\n const extraProps = zipObj(args, values);\n return { type, ...extraProps, meta: { ...meta } };\n };\n }\n // an action creator with type + properties\n // \"properties\" is defined as an object of {prop name: default value}\n else if (is(Object, args)) {\n const defaultProps = args;\n creators[name] = valueObject => {\n const providedProps = pick(Object.keys(defaultProps), valueObject);\n return { type, ...defaultProps, ...providedProps, meta: { ...meta } };\n };\n }\n\n if (isEmpty(creators)) {\n throw new Error(\"action props must be a null/array/object/function\");\n }\n\n if (meta && meta.async) {\n const { successPostfix, failPostfix } = options;\n\n const successKey = `${name}${successPostfix || \"Success\"}`;\n const failKey = `${name}${failPostfix || \"Fail\"}`;\n const success = `${prefix}${camelToScreamingSnake(name)}_${(successPostfix || \"success\").toUpperCase()}`;\n const fail = `${prefix}${camelToScreamingSnake(name)}_${(failPostfix || \"fail\").toUpperCase()}`;\n\n creators[successKey] = (...values) => {\n if (values && values.length === 1) {\n const _value = values[0];\n if (Array.isArray(_value)) {\n return { type: success, meta: { done: true }, payload: _value };\n } else {\n return { type: success, meta: { done: true }, payload: { ...values[0] } };\n }\n } else {\n return { type: success, meta: { done: true }, payload: { ...flatten(values) } };\n }\n };\n\n creators[failKey] = error => {\n return { type: fail, meta: { done: true }, error };\n };\n }\n\n return creators;\n};\n\n// build Action Creators out of an objet\nconst convertToCreators = (config, options) => {\n let creators = {};\n mapObjIndexed((num, key, value) => {\n if (typeof value[key] === \"function\") {\n // the user brought their own action creator\n creators[key] = value[key];\n } else {\n // lets make an action creator for them!\n creators = merge(creators, { ...createActionCreator(key, value[key], options) });\n }\n })(config);\n\n return creators;\n};\n\nexport default (config, options) => {\n const emptyObj = {\n Types: undefined,\n Creators: undefined\n };\n if (isNil(config)) {\n return emptyObj;\n throw new Error(\"an object is required to setup types and creators\");\n }\n if (isEmpty(config)) {\n return emptyObj;\n throw new Error(\"empty objects are not supported\");\n }\n\n return {\n Types: convertToTypes(config, options),\n Creators: convertToCreators(config, options)\n };\n};\n","import curry from \"ramda/es/curry\";\nimport is from \"ramda/es/is\";\n/**\n * Allows your reducers to be reset.\n *\n * @param {string} typeToReset - The action type to listen for.\n * @param {function} originalReducer - The reducer to wrap.\n */\nfunction resettableReducer(typeToReset, originalReducer) {\n // a valid type is required\n if (!is(String, typeToReset) || typeToReset === \"\") {\n throw new Error(\"A valid reset type is required.\");\n }\n\n // an original reducer is required\n if (typeof originalReducer !== \"function\") {\n throw new Error(\"A reducer is required.\");\n }\n // run it through first to get what the default state should be\n let resetState = originalReducer(undefined, {});\n\n // create our own reducer that wraps the original one and hijacks the reset\n function reducer(state = resetState, action) {\n if (action && action.type === typeToReset) {\n return resetState;\n } else {\n return originalReducer(state, action);\n }\n }\n return reducer;\n}\n\nexport default curry(resettableReducer);\n","import cr from \"./createReducer\";\nimport ct from \"./createTypes\";\nimport ca from \"./createActions\";\nimport rr from \"./resettableReducer\";\nimport * as Types from \"./Types\";\n\nexport const createReducer = cr;\nexport const createTypes = ct;\nexport const createActions = ca;\nexport const resettableReducer = rr;\nexport { Types };\n","import isNil from \"ramda/es/isNil\";\nimport is from \"ramda/es/is\";\nimport has from \"ramda/es/has\";\nimport any from \"ramda/es/any\";\nimport equals from \"ramda/es/equals\";\nimport keys from \"ramda/es/keys\";\n\nimport { DEFAULT } from \"./Types\";\n/**\n Creates a reducer.\n @param {string} initialState - The initial state for this reducer.\n @param {object} handlers - Keys are action types (strings), values are reducers (functions).\n @return {object} A reducer object.\n */\nexport default (initialState, handlers) => {\n // initial state is required\n if (isNil(initialState)) {\n throw new Error(\"initial state is required\");\n }\n\n // handlers must be an object\n if (isNil(handlers) || !is(Object, handlers)) {\n throw new Error(\"handlers must be an object\");\n }\n\n // handlers cannot have an undefined key\n if (any(equals(\"undefined\"))(keys(handlers))) {\n throw new Error(\"handlers cannot have an undefined key\");\n }\n\n // create the reducer function\n return (state = initialState, action) => {\n // wrong actions, just return state\n if (isNil(action)) return state;\n if (!has(\"type\", action)) return state;\n\n // look for the handler\n const handler = handlers[action.type] || handlers[DEFAULT];\n\n // no handler no cry\n if (isNil(handler)) return state;\n\n // execute the handler\n return handler(state, action);\n };\n};\n","export default {\n useLocalApi: true,\n appName: \"Razy\",\n appTitle: \"Razy\",\n appDescription: \"razytech\",\n signalR: true,\n baseUrl: \"\",\n // baseUrl:\"https://www.nileappco.com/\",\n // apiRoot: \"https://www.nileappco.com/api\",\n // devApiRoot: \"http://localhost:5000/api\",\n devApiRoot: \"https://localhost:5260/\",\n // devApiRoot: \"https://www.nileappco.com/api\",\n pageOptions: [5, 10, 50, 100],\n contactPhone: \"\",\n contactMail: \"\",\n addressOnMap: \"\",\n gen_password_length: 10,\n gen_password_characters:\n \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijaklmnopqrstuvwxyz1234567890\",\n};\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n register: { args: [\"payload\"], meta: { async: true } },\n setRegister: { args: [\"payload\"], meta: { async: false } },\n getUsers: { args: [\"payload\"], meta: { async: true } },\n getProfileData: { args: [], meta: { async: true } },\n verifyOtp: { args: [\"payload\"], meta: { async: true } },\n resendOtp: { args: [\"payload\"], meta: { async: true } },\n updateUserAvatar: { args: [\"payload\"], meta: { async: true } },\n getUser: { args: [\"payload\"], meta: { async: true } },\n handleSeen: { args: [\"payload\"], meta: { async: true } },\n getPermissions: { args: [], meta: { async: true } },\n createUser: { args: [\"payload\"], meta: { async: true } },\n createClient: { args: [\"payload\"], meta: { async: true } },\n editClient: { args: [\"payload\"], meta: { async: true } },\n createUsers: { args: [\"payload\"], meta: { async: true } },\n createAppUser: { args: [\"payload\"], meta: { async: true } },\n deleteUser: { args: [\"payload\"], meta: { async: true } },\n setUser: { args: [\"payload\"], meta: { async: false } },\n createRole: { args: [\"payload\"], meta: { async: true } },\n getRoles: { args: [\"payload\"], meta: { async: true } },\n getRole: { args: [\"payload\"], meta: { async: true } },\n editUser: { args: [\"payload\"], meta: { async: true } },\n editRole: { args: [\"payload\"], meta: { async: true } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n handleAvatarSubmit: { args: [\"payload\"], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n deleteRole: { args: [\"payload\"], meta: { async: true } },\n addClientDecision: { args: [\"payload\"], meta: { async: true } },\n },\n {\n prefix: \"@app/users/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n login: { args: [\"payload\"], meta: { async: true } },\n register: { args: [\"payload\"], meta: { async: true } },\n forgetPasswordOtp: { args: [\"payload\"], meta: { async: true } },\n resetPasswordOtp: { args: [\"payload\"], meta: { async: true } },\n refreshToken: { args: [\"payload\"], meta: { async: true } },\n loginExternal: { args: [\"payload\"], meta: { async: true } },\n updateToken: { args: [\"payload\"], meta: { async: false } },\n getNotifications: { args: [\"payload\"], meta: { async: true } },\n addNotification: { args: [\"notify\"] },\n logout: { args: [\"token\"] },\n setAuthToken: { args: [\"token\"], meta: { async: false } },\n setRegister: { args: [\"payload\"], meta: { async: false } },\n setMobile: { args: [\"payload\"], meta: { async: false } },\n readNotification: { args: [\"payload\"], meta: { async: true } },\n setNotifications: { args: [\"payload\"], meta: { async: false } },\n updateProfile: { args: [\"payload\"], meta: { async: true } },\n changePassword: { args: [\"payload\"], meta: { async: true } },\n resetChangePassword: { args: [\"payload\"] },\n updateUserScore: { args: [\"payload\"] },\n },\n {\n prefix: \"@app/auth/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","export const DEFAULT = \"REDUXSAUCE.DEFAULT\";\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n sendNotification: { args: [\"payload\"], meta: { async: true } },\n getNotifications: { args: [\"payload\"], meta: { async: true } },\n readNotification: { args: [\"payload\"], meta: { async: true } },\n setNotifications: { args: [\"payload\"], meta: { async: false } },\n getChats: { args: [\"payload\"], meta: { async: true } },\n getOpennedChat: { args: [\"payload\"], meta: { async: true } },\n startChat: { args: [\"payload\"], meta: { async: true } },\n joinChat: { args: [\"payload\"], meta: { async: true } },\n sendMessage: { args: [\"payload\"], meta: { async: true } },\n setItem: { args: [\"payload\"], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/store/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n exportTransactionsWithOwnerToExcel: { args: [\"payload\"], meta: { async: true } },\n exportUsersTransactionsSummary: { args: [\"payload\"], meta: { async: true } },\n exportTransactionsWithServiceToExcel: { args: [\"payload\"], meta: { async: true } },\n exportTransactionsWithWalletToExcel: { args: [\"payload\"], meta: { async: true } },\n getUserTransactions: { args: [\"payload\"], meta: { async: true } },\n createGiftPoints: { args: [\"payload\"], meta: { async: true } },\n getClientPoints: { args: [\"payload\"], meta: { async: true } },\n getTransactionWithWalletId: { args: [\"payload\"], meta: { async: true } },\n getTransactionWithId: { args: [\"payload\"], meta: { async: true } },\n chargeProviderWallet: { args: [\"payload\"], meta: { async: true } },\n getTransactionsWithOwnerId: { args: [\"payload\"], meta: { async: true } },\n getTransactionsWithServiceId: { args: [\"payload\"], meta: { async: true } },\n scanCode: { args: [\"payload\"], meta: { async: true } },\n setItem: { args: [\"payload\"], meta: { async: false } },\n\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n resetDeleteDialog: { args: [], meta: { async: false } },\n\n },\n {\n prefix: \"@app/transaction/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n\n createCountry: { args: [\"payload\"], meta: { async: true } },\n editCountry: { args: [\"payload\"], meta: { async: true } },\n deleteCountry: { args: [\"payload\"], meta: { async: true } },\n getCountryWithId: { args: [\"payload\"], meta: { async: true } },\n getAllCountries: { args: [\"payload\"], meta: { async: true } },\n getAllCities: { args: [\"payload\"], meta: { async: true } },\n getCityWithId: { args: [\"payload\"], meta: { async: true } },\n createCity: { args: [\"payload\"], meta: { async: true } },\n editCity: { args: [\"payload\"], meta: { async: true } },\n deleteCity: { args: [\"payload\"], meta: { async: true } },\n getAllGovernorates: { args: [\"payload\"], meta: { async: true } },\n getGovernorateWithId: { args: [\"payload\"], meta: { async: true } },\n createGovernorate: { args: [\"payload\"], meta: { async: true } },\n editGovernorate: { args: [\"payload\"], meta: { async: true } },\n deleteGovernorate: { args: [\"payload\"], meta: { async: true } },\n\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/Cities/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\n","const SuperAdmin=\"SuperAdmin\";\nconst Admin=\"Admin\";\nconst Employee=\"Employee\";\n\nexport const Roles={\n SuperAdmin,\n Admin,\n Employee\n}","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n createCode: { args: [\"payload\"], meta: { async: true } },\n uploadCodes:{ args: [\"payload\"], meta: { async: true } },\n assignCode: { args: [\"payload\"], meta: { async: true } },\n searchCode: { args: [\"payload\"], meta: { async: true } },\n setCode: { args: [\"payload\"], meta: { async: false } },\n setItem: { args: [\"payload\"], meta: { async: false } },\n clear: { args: [\"payload\"], meta: { async: false } },\n getAllowablePrefix: { args: [\"payload\"], meta: { async: true } },\n getAllowableStart: { args: [\"payload\"], meta: { async: true } },\n getAllowableCount: { args: [\"payload\"], meta: { async: true } },\n getCodeBatches: { args: [\"payload\"], meta: { async: true } },\n getBatchesForUpdate: { args: [\"payload\"], meta: { async: true } },\n updateBatch: { args: [\"payload\"], meta: { async: true } },\n getBatchWithId: { args: [\"payload\"], meta: { async: true } },\n getCodeBatchesWithoutPagination: { args: [\"payload\"], meta: { async: true } },\n setUploadedCodes: { args: [\"payload\"], meta: { async: false } },\n\n\n },\n {\n prefix: \"@app/code/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","// ** Imports createContext function\nimport { createContext } from 'react'\n\n// ** Imports createContextualCan function\nimport { createContextualCan } from '@casl/react'\n\n// ** Create Context\nexport const AbilityContext = createContext()\n\n// ** Init Can Context\nexport const Can = createContextualCan(AbilityContext.Consumer)\n","import React from 'react'\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useSignalR } from '../hooks/useSignalR';\nimport notificationsActions from \"src/store/notification/actions\";\nimport { useUser } from '../hooks/useUser';\nimport { getClippingParents } from '@fullcalendar/core';\nimport clientActions from 'src/store/client/actions';\n\nexport const SignalProvider = React.createContext();\n\nfunction SignalRProvider({ children, ...props }) {\n\n const { startHub, onReceiveNotify ,closeHub} = useSignalR();\n const dispatch = useDispatch();\n const {getNotifications, readNotification,setNotifications} = notificationsActions;\n const { notifications } = useSelector((state) => state.auth);\n const { getClientInfo} = clientActions;\n// const {clientinfo}=useSelector(state = > (state).client);\n const {\n user\n } = useSelector(state => state.auth)\n \n React.useEffect(() => {\n if (user) {\n const token = localStorage.getItem(\"jwtToken\");\n startHub(token);\n // onReceiveNotify();\n return;\n }\n \n //closeHub();\n }, [user])\n React.useEffect(()=>{\n // dispatch(getNotifications({page: 1, pageSize: 1000 }))\n dispatch(getClientInfo());\n },[])\n\n return (\n \n {children}\n \n )\n}\n\nexport default SignalRProvider\n","//** React Imports\nimport { useState } from 'react'\n\n// ** Configs\nimport themeConfig from '@configs/themeConfig'\n\nexport const useNavbarType = () => {\n // ** State\n const [navbarType, setNavbarType] = useState(() => {\n try {\n return themeConfig.layout.navbar.type\n } catch (error) {\n // ** If error return initialValue\n console.log(error)\n return themeConfig.layout.navbar.type\n }\n })\n\n // ** Return a wrapped version of useState's setter function\n const setValue = value => {\n try {\n // ** Allow value to be a function so we have same API as useState\n const valueToStore = value instanceof Function ? value(navbarType) : value\n\n // ** Set state\n setNavbarType(valueToStore)\n } catch (error) {\n // ** A more advanced implementation would handle the error case\n console.log(error)\n }\n }\n\n return [navbarType, setValue]\n}\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllProductAttributes:{ args: [\"payload\"], meta: { async: true } },\n getPublishedProducts:{ args: [\"payload\"], meta: { async: true } },\n createProductAttribute:{ args: [\"payload\"], meta: { async: true } },\n updateProductAttribute:{ args: [\"payload\"], meta: { async: true } },\n deleteProductAttribute:{ args: [\"payload\"], meta: { async: true } },\n getAllProducts: { args: [\"payload\"], meta: { async: true } },\n getProductWithId: { args: [\"payload\"], meta: { async: true } },\n createProduct: { args: [\"payload\"], meta: { async: true } },\n updateProduct: { args: [\"payload\"], meta: { async: true } },\n deleteProduct: { args: [\"payload\"], meta: { async: true } },\n setProduct: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/product/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllTenants: { args: [\"payload\"], meta: { async: true } },\n getTenantWithId: { args: [\"payload\"], meta: { async: true } },\n createTenant: { args: [\"payload\"], meta: { async: true } },\n updateTenant: { args: [\"payload\"], meta: { async: true } },\n deleteTenant: { args: [\"payload\"], meta: { async: true } },\n //\n createTenantConfiguration: { args: [\"payload\"], meta: { async: true } },\n createTenantContact: { args: [\"payload\"], meta: { async: true } },\n updateTenantConfiguration: { args: [\"payload\"], meta: { async: true } },\n updateTenantContact: { args: [\"payload\"], meta: { async: true } },\n //\n setTenant: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/tenant/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","// ** React Imports\nimport { useState, createContext, useEffect } from 'react'\n\n// ** Intl Provider Import\nimport { I18nProvider } from \"@lingui/react\";\n\n// ** Core Language Data\nimport messagesEn from '@assets/data/locales/en.json'\nimport messagesAr from '@assets/data/locales/ar.json'\n\n// ** User Language Data\nimport userMessagesEn from '@src/assets/data/locales/en.json'\nimport userMessagesAr from '@src/assets/data/locales/ar.json'\nimport { AppActions } from 'src/store/app/actions'\nimport { locales } from 'src/store/SupportedLocales'\nimport { useDispatch } from 'react-redux'\nimport { i18n } from '@lingui/core';\nimport * as plurs from 'make-plural/plurals';\n// ** Menu msg obj\n// const menuMessages = {\n// en: { ...messagesEn, ...userMessagesEn },\n// ar: { ...messagesAr, ...userMessagesAr },\n// }\n\n// ** Create Context\nconst Context = createContext()\n\nconst loadedLocales = () => {\n let result = {}\n for (const key in locales) {\n result[key] = { plurals: plurs[key] }\n }\n return result;\n}\ni18n.loadLocaleData(loadedLocales())\nasync function dynamicActivate(locale) {\n const { messages } = await import(`@lingui/loader!src/locales/${locale}/messages.po`)\n i18n.load(locale, messages)\n i18n.activate(locale)\n}\n\nconst IntlProviderWrapper = ({ children }) => {\n const lang = localStorage.getItem(\"language\");\n const currentLang = lang ? locales[lang] : Object.values(locales).find(l => l.default);\n\n // ** States\n const [locale, setLocale] = useState(currentLang.code)\n // const [messages, setMessages] = useState(menuMessages[currentLang.code])\n const dispatch = useDispatch();\n useEffect(() => {\n dispatch(AppActions.changeLocale(currentLang))\n dynamicActivate(currentLang.code);\n }, [])\n // ** Switches Language\n const switchLanguage = lang => {\n setLocale(lang.code)\n // setMessages(menuMessages[lang.code])\n dispatch(AppActions.changeLocale(lang))\n dynamicActivate(lang.code);\n }\n\n return (\n \n \n {children}\n \n \n )\n}\n\nexport { IntlProviderWrapper, Context as IntlContext }\n","import * as signalR from \"@microsoft/signalr\";\nimport config from \"src/configs\";\nimport notificationActions from \"src/store/notification/actions\";\nimport chatActions from \"src/store/notification/actions\";\n\nimport { useDispatch } from \"react-redux\";\nconst baseName =\"https://stg-hub.razytech.com\";\n// process.env.REACT_APP_HUB_BASE;\nexport const useSignalR = () => {\n const { setItem} = chatActions;\n\n const hub = new signalR.HubConnectionBuilder();\n let connection;\n\n const setUpHub = (token) => {\n return hub\n .withUrl(`${baseName}/hub/chat`, {\n accessTokenFactory: () => token,\n })\n .withAutomaticReconnect()\n .configureLogging(signalR.LogLevel.Debug)\n .build();\n };\n const startHub = (token) => {\n if (!config.signalR) return;\n try {\n connection = setUpHub(token);\n connection\n .start()\n .then(()=>\n onReceiveNotify()\n )\n\n .catch((err) => {\n\n // console.log('Error while starting connection' + err)\n });\n\n } catch (error) {\n // console.log(\"start the hub error\", error)\n }\n\n connection.onclose((error) => {\n // console.log(\"connection closed\")\n // connect(connection);\n });\n };\n\n async function connect(conn) {\n if (!config.signalR) return;\n conn.start().catch(async(e) => {\n await sleep(5000);\n // console.log(\"Reconnecting Socket\");\n\n });\n }\n async function sleep(msec) {\n return new Promise((resolve) => setTimeout(resolve, msec));\n }\n\n const closeHub = () => {\n if (connection) connection.stop();\n };\n\n const dispatch = useDispatch();\n const onReceiveNotify = () => {\n // debugger\n\n if (!config.signalR) return;\n connection.on(\"notification\", (message) => {\n console.log(\"message\",message);\n dispatch(notificationActions.setNotifications({...message}))\n // dispatch(AuthActions.getNotifications({page: 1, pageSize: 1000 }))\n\n\n });\n // connection.on(\"chat\", (message) => {\n // // dispatch(AuthActions.setNotifications({...message}))\n // callback&&callback(message)\n // // dispatch(AuthActions.addNotification({ ...message, createdDate: new Date() }))\n // });\n \n };\n return {\n startHub,\n onReceiveNotify,\n closeHub,\n };\n};\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getReportsList: { args: [\"payload\"], meta: { async: true } },\n getProductAndCodesCount: { args: [\"payload\"], meta: { async: true } },\n getLastDaysSummaryOfRedemptionAndScan: {\n args: [\"payload\"],\n meta: { async: true },\n },\n getServicesRedemptionSummary: { args: [\"payload\"], meta: { async: true } },\n getTopTenScannedProductsQuery: { args: [\"payload\"], meta: { async: true } },\n getUsersCount: { args: [\"payload\"], meta: { async: true } },\n showDialog: { args: [], meta: { async: false } },\n clearFile: { args: [\"payload\"], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n generateFile: { args: [\"payload\"], meta: { async: true } },\n },\n {\n prefix: \"@app/report/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","//** React Imports\nimport { useEffect, useState } from 'react'\n// ** Store & Actions\nimport { LayoutActions } from 'src/store/layout/actions'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { Roles } from 'src/configs/roles'\nimport { useNavbarType } from './useNavbarType'\nimport themeConfig from 'src/configs/themeConfig'\nimport { AuthActions } from 'src/store/auth/actions'\n\nexport const useUser = () => {\n // ** Store Vars\n const dispatch = useDispatch()\n const [navbarType, setNavbarType] = useNavbarType()\n const { user } = useSelector(state => state.auth)\n const [permissions, setPermissions] = useState([])\n const [tenantId, setTenantId] = useState(\"\")\n\n const [roles, setRoles] = useState([])\n // ** Return a wrapped version of useState's setter function\n const can = value => {\n return permissions.includes(value)\n }\n const inRole = (role) => {\n return roles.includes(role);\n }\n useEffect(() => {\n console.log(\"loading\")\n\n }, [])\n useEffect(() => {\n setPermissions(user?.permissions || []);\n setRoles(user?.role || []);\n setTenantId(user?.tenantId || \"\")\n if (user) {\n dispatch(LayoutActions.handleMenuHidden(user?.role?.includes(Roles.Employee) || false))\n }\n if (user?.role) {\n const rls = JSON.parse(user.role);\n rls.forEach(r => {\n if (!r.includes(\"Client\")) {\n dispatch(AuthActions.logout());\n }\n })\n }\n\n }, [user])\n useEffect(() => {\n const navType = inRole(Roles.Employee) ? \"sticky\" : \"floating\";\n\n localStorage.setItem(\"navbarType\", navType)\n setNavbarType(navType)\n }, [roles])\n\n return {\n can: can,\n user: user,\n permission: permissions,\n roles: roles,\n inRole,\n tenantId\n };\n}\n","export default __webpack_public_path__ + \"static/media/scib-stars-new.f2fb8237.png\";","\n import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllClients: { args: [\"payload\"], meta: { async: true } },\n getClientWithId: { args: [\"payload\"], meta: { async: true } },\n getClientInfo: { args: [\"payload\"], meta: { async: true } },\n createClient: { args: [\"payload\"], meta: { async: true } },\n registerClient: { args: [\"payload\"], meta: { async: true } },\n setRegisterClient: { args: [\"payload\"], meta: { async: false } },\n\n updateClient: { args: [\"payload\"], meta: { async: true } },\n deleteClient: { args: [\"payload\"], meta: { async: true } },\n },\n {\n prefix: \"@app/Client/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions=Creators;\n\n ","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllCategories: { args: [\"payload\"], meta: { async: true } },\n getParentCategories: { args: [\"payload\"], meta: { async: true } },\n getCategoryWithId: { args: [\"payload\"], meta: { async: true } },\n createCategory: { args: [\"payload\"], meta: { async: true } },\n updateCategory: { args: [\"payload\"], meta: { async: true } },\n deleteCategory: { args: [\"payload\"], meta: { async: true } },\n setCategory: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/category/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","\nimport { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllSuggestions: { args: [\"payload\"], meta: { async: true } },\n createSuggestion: { args: [\"payload\"], meta: { async: true } },\n handleSeen: { args: [\"payload\"], meta: { async: true } },\n getSuggestionWithId: { args: [\"payload\"], meta: { async: true } },\n deleteSuggestion: { args: [\"payload\"], meta: { async: true } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n createContactUs: {args: [\"payload\"], meta: { async: true } }\n },\n {\n prefix: \"@app/suggestion/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions=Creators;\n\n ","// import { createReducer } from \"utils/reduxsauce\";\nimport { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\n \"users\",\n {\n metadata: undefined,\n selectedUser: undefined,\n openDialog: false,\n openDeleteDialog: false,\n },\n []\n ),\n ...defaultState(\n \"roles\",\n { metadata: undefined, selectedUser: undefined },\n []\n ),\n ...defaultState(\n \"avatarSubmitFlag\",\n { metadata: undefined, selectedUser: undefined },\n false\n ),\n ...defaultState(\n \"permissions\",\n { metadata: undefined, selectedUser: undefined },\n []\n ),\n};\nconst handleAvatar= (state, draft, payload) => {\n debugger\n draft.avatarSubmitFlag=payload;\n};\n// const updateUserAvatarSuccess= (state, draft, payload) => {\n// draft.avatarSubmitFlag=false;\n// };\nconst userCreatedSuccess = (state, draft, payload) => {\n const users = state.users || [];\n draft.users = [...users, payload];\n\n draft.openDialog = false;\n};\nconst clientCreatedSuccess = (state, draft, payload) => {\n const users = state.users || [];\n draft.users = [...users, payload];\n\n draft.openDialog = false;\n};\n\nconst userDeleteSuccess = (state, draft, payload) => {\n const users = state.users || [];\n draft.users = users.filter((a) => a.id != payload.id);\n draft.openDeleteDialog = false;\n};\nconst roleDeleteSuccess = (state, draft, payload) => {\n const roles = state.roles || [];\n draft.roles = roles.filter((a) => a.id != payload.id);\n draft.openDeleteDialog = false;\n};\n\nconst roleCreatedSuccess = (state, draft, payload) => {\n const roles = state.roles || [];\n draft.roles = [...roles, payload];\n\n // draft.openDialog = false;\n};\nconst setUser= (state, draft, payload) => {\n //draft.\n};\nconst userEditedSuccess = (state, draft, payload) => {\n const users = state.users || [];\n var userIndex = users.findIndex((u) => u.id === payload.id);\n draft.users[userIndex] = payload;\n draft.openDialog = false;\n};\nconst roleEditedSuccess = (state, draft, payload) => {\n const roles = state.roles || [];\n var roleIndex = roles.findIndex((u) => u.id === payload.id);\n draft.roles[roleIndex] = payload;\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst setRegister=(state, draft, payload) => {\n draft.registerRes_errors = undefined;\n\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.user_errors = [];\n};\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"handleSeen\",\n stateName: \"seen\",\n async: true,\n isPaginated: false,\n // successCb: userDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteUser\",\n stateName: \"user\",\n async: true,\n isPaginated: false,\n successCb: userDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"getUsers\",\n stateName: \"users\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getProfileData\",\n stateName: \"profileData\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"verifyOtp\",\n stateName: \"verifiedOtp\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resendOtp\",\n stateName: \"resendedOtp\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setUser\",\n stateName: \"user\",\n async: false,\n isPaginated: false,\n // successCb:setUser\n }),\n ...bindReducers(ActionTypes, {\n action: \"getUser\",\n stateName: \"user\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createUser\",\n stateName: \"user\",\n async: true,\n isPaginated: false,\n successCb: userCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateUserAvatar\",\n stateName: \"userAvatar\",\n async: true,\n isPaginated: false,\n //successCb:updateUserAvatarSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"createClient\",\n stateName: \"client\",\n async: true,\n isPaginated: false,\n successCb: clientCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editClient\",\n stateName: \"client\",\n async: true,\n isPaginated: false,\n successCb: userEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createUsers\",\n stateName: \"users\",\n async: true,\n isPaginated: false,\n successCb: userCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createAppUser\",\n stateName: \"user\",\n async: true,\n isPaginated: false,\n successCb: userCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createRole\",\n stateName: \"role\",\n async: true,\n isPaginated: false,\n successCb: roleCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"handleAvatarSubmit\",\n stateName: \"handleAvatar\",\n async: false,\n isPaginated: false,\n successCb: handleAvatar,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editUser\",\n stateName: \"user\",\n async: true,\n isPaginated: false,\n successCb: userEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editRole\",\n stateName: \"role\",\n async: true,\n isPaginated: false,\n successCb: roleEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getRoles\",\n stateName: \"roles\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getRole\",\n stateName: \"role\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getPermissions\",\n stateName: \"permissions\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: true,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: true,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteRole\",\n stateName: \"role\",\n async: true,\n isPaginated: false,\n successCb: roleDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"addClientDecision\",\n stateName: \"addClientDecision\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"register\",\n stateName: \"registerRes\",\n async: true,\n isPaginated: false,\n //successCb: registerSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setRegister\",\n stateName: \"setRegisterRes\",\n async: false,\n isPaginated: false,\n successCb: setRegister,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\n\nconst initialState = {\n ...defaultState(\n \"settings\", { metadata: undefined, },\n []\n ),\n};\n\nconst settingEditedSuccess = (state, draft, payload) => {\n const settings = state.settings || [];\n var settingIndex = settings.findIndex((u) => u.id === payload.id);\n draft.settings[settingIndex] = payload;\n};\n\n\n\nexport const reducer = createReducer(initialState, {\n\n ...bindReducers(ActionTypes, {\n action: \"getSettings\",\n stateName: \"settings\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editSetting\",\n stateName: \"setting\",\n async: true,\n isPaginated: false,\n successCb: settingEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editAllSettings\",\n stateName: \"settings\",\n async: true,\n isPaginated: false,\n // successCb: settingEditedSuccess,\n }),\n\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n};\n\n\n\n\n\n\nexport const reducer = createReducer(initialState, {\n\n ...bindReducers(ActionTypes, {\n action: \"getCompanyInfo\",\n stateName: \"companyInfo\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"saveCompanyInfo\",\n stateName: \"companyInfo\",\n async: true,\n isPaginated: false,\n }),\n\n\n\n});\n","import { ActionTypes } from \"./actions\";\nimport { bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n responsesSummary: {},\n};\n\nexport const reducer = createReducer(initialState, {\n //**Categories\n ...bindReducers(ActionTypes, {\n action: \"getGeneralInfo\",\n stateName: \"generalInfo\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientResponse\",\n stateName: \"clientResponse\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getProducts\",\n stateName: \"products\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getOffers\",\n stateName: \"offers\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientResponces\",\n stateName: \"clientResponces\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientResponceWithId\",\n stateName: \"clientResponce\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getResponsesSummary\",\n stateName: \"responsesSummary\",\n async: true,\n isPaginated: false,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"tenants\", { metadata: undefined }, []),\n ...defaultState(\"tenant\", { metadata: undefined }, {}),\n};\n\nconst createTenantContactSuccess = (state, draft, payload) => {\n draft.tenant = {\n ...state.tenant,\n contacts: [...state.tenant.contacts, payload],\n };\n};\nconst updateTenantContactSuccess = (state, draft, payload) => {\n let contacts = [...state.tenant.contacts];\n let index = contacts.findIndex((e) => e.id == payload.id);\n contacts[index] = payload;\n draft.tenant = {\n ...state.tenant,\n contacts,\n };\n};\n\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\n\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.user_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getAllTenants\",\n stateName: \"tenants\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTenantWithId\",\n stateName: \"tenant\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createTenant\",\n stateName: \"tenant\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateTenant\",\n stateName: \"tenant\",\n async: true,\n isPaginated: false,\n // successCb: updateTenantSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteTenant\",\n stateName: \"tenant\",\n async: true,\n isPaginated: false,\n }),\n\n //\n ...bindReducers(ActionTypes, {\n action: \"createTenantConfiguration\",\n stateName: \"configuration\",\n async: true,\n isPaginated: false,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"createTenantContact\",\n stateName: \"contact\",\n async: true,\n isPaginated: false,\n successCb: createTenantContactSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateTenantConfiguration\",\n stateName: \"configuration\",\n async: true,\n isPaginated: false,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"updateTenantContact\",\n stateName: \"contact\",\n async: true,\n isPaginated: false,\n successCb: updateTenantContactSuccess,\n }),\n\n //\n ...bindReducers(ActionTypes, {\n action: \"setTenant\",\n stateName: \"tenant\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: true,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: true,\n successCb: resetDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"stores\", { metadata: undefined }, []),\n ...defaultState(\"store\", { metadata: undefined }, {}),\n};\n\nconst storeDeleteSuccess = (state, draft, payload) => {\n // debugger;\n const stores = state.stores || [];\n draft.stores = stores.filter((a) => a.id != payload.id);\n draft.openDeleteDialog = false;\n };\n const setStore=(state,draft,payload)=>{\n draft.store=undefined;\n }\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\n\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.user_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getAllStores\",\n stateName: \"stores\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getStoreWithId\",\n stateName: \"store\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createStore\",\n stateName: \"store\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateStore\",\n stateName: \"store\",\n async: true,\n isPaginated: false,\n // successCb: updateStoreSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteStore\",\n stateName: \"Store\",\n async: true,\n isPaginated: false,\n successCb:storeDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setStore\",\n stateName: \"Store\",\n async: false,\n isPaginated: false,\n successCb:setStore,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n// ...bindReducers(ActionTypes, {\n// action: \"showDialog\",\n// stateName: \"showDialog\",\n// async: false,\n// isPaginated: true,\n// successCb: showDialog,\n// }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: true,\n successCb: resetDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"categories\", { metadata: undefined }, []),\n ...defaultState(\"parentCategories\", { metadata: undefined }, []),\n ...defaultState(\"category\", { metadata: undefined }, {}),\n};\n\nconst categoryEditedSuccess = (state, draft, payload) => {\n const categories = state.categories || [];\n var categoryIndex = categories.findIndex((u) => u.id === payload.id);\n draft.categories[categoryIndex] = payload;\n draft.openDialog = false;\n};\n\nconst categoryCreatedSuccess = (state, draft, payload) => {\n const categories = state.categories || [];\n draft.categories = [...categories, payload];\n draft.openDialog = false;\n};\n\nconst categoryDeleteSuccess = (state, draft, payload) => {\n const categories = state.categories || [];\n draft.categories = categories.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst setCategory = (state, draft, payload) => {\n draft.category = undefined;\n};\n\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n //**Categories\n ...bindReducers(ActionTypes, {\n action: \"getAllCategories\",\n stateName: \"categories\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getParentCategories\",\n stateName: \"parentCategories\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getCategoryWithId\",\n stateName: \"category\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createCategory\",\n stateName: \"category\",\n async: true,\n isPaginated: false,\n successCb: categoryCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateCategory\",\n stateName: \"category\",\n async: true,\n isPaginated: false,\n successCb: categoryEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteCategory\",\n stateName: \"category\",\n async: true,\n isPaginated: false,\n successCb: categoryDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setCategory\",\n stateName: \"category\",\n async: false,\n isPaginated: false,\n successCb: setCategory,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"products\", { metadata: undefined }, []),\n ...defaultState(\"product\", { metadata: undefined }, {}),\n};\n\nconst productEditedSuccess = (state, draft, payload) => {\n const products = state.products || [];\n var productIndex = products.findIndex((u) => u.id === payload.id);\n draft.products[productIndex] = payload;\n};\n\nconst productCreatedSuccess = (state, draft, payload) => {\n const products = state.products || [];\n draft.products = [...products, payload];\n draft.openDialog = false;\n};\n\nconst productDeleteSuccess = (state, draft, payload) => {\n const products = state.products || [];\n draft.products = products.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\n\nconst setProduct = (state, draft, payload) => {\n draft.product = undefined;\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n //**Categories\n ...bindReducers(ActionTypes, {\n action: \"getProductWithId\",\n stateName: \"product\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllProducts\",\n stateName: \"products\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getPublishedProducts\",\n stateName: \"publishedProducts\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createProduct\",\n stateName: \"product\",\n async: true,\n isPaginated: false,\n successCb: productCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateProduct\",\n stateName: \"product\",\n async: true,\n isPaginated: false,\n successCb: productEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteProduct\",\n stateName: \"product\",\n async: true,\n isPaginated: false,\n successCb: productDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllProductAttributes\",\n stateName: \"productAttributes\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createProductAttribute\",\n stateName: \"productAttribute\",\n async: true,\n isPaginated: false,\n successCb: productCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateProductAttribute\",\n stateName: \"productAttribute\",\n async: true,\n isPaginated: false,\n successCb: productEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteProductAttribute\",\n stateName: \"productAttribute\",\n async: true,\n isPaginated: false,\n successCb: productDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setProduct\",\n stateName: \"product\",\n async: false,\n isPaginated: false,\n successCb: setProduct,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"attributes\", { metadata: undefined }, []),\n ...defaultState(\"attribute\", { metadata: undefined }, {}),\n};\n\nconst attributeEditedSuccess = (state, draft, payload) => {\n const attributes = state.attributes || [];\n var attributeIndex = attributes.findIndex((u) => u.id === payload.id);\n draft.attributes[attributeIndex] = payload;\n draft.openDialog = false;\n};\n\nconst attributeCreatedSuccess = (state, draft, payload) => {\n const attributes = state.attributes || [];\n draft.attributes = [...attributes, payload];\n draft.openDialog = false;\n};\n\nconst attributeDeleteSuccess = (state, draft, payload) => {\n const attributes = state.attributes || [];\n draft.attributes = attributes.filter((a) => a.id != payload.id);\n draft.openDeleteDialog = false;\n};\n\n\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n //**attributes\n ...bindReducers(ActionTypes, {\n action: \"getAllAttributes\",\n stateName: \"attributes\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAttributeWithId\",\n stateName: \"attribute\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createAttribute\",\n stateName: \"attribute\",\n async: true,\n isPaginated: false,\n successCb: attributeCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateAttribute\",\n stateName: \"attribute\",\n async: true,\n isPaginated: false,\n successCb: attributeEditedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteAttribute\",\n stateName: \"attribute\",\n async: true,\n isPaginated: false,\n successCb: attributeDeleteSuccess,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\nconst initialState = {\n ...defaultState(\"codeBatches\", { metadata: undefined }, []),\n ...defaultState(\"codeBatchesList\", { metadata: undefined }, []),\n ...defaultState(\"batchesForUpdate\", { metadata: undefined }, []),\n\n\n};\nconst assignCodesSuccesfully = (state, draft, payload) => {\n draft.assigningCodes = null;\n};\nconst setUploadedCodes = (state, draft, payload) => {\n draft.uploadedCodes = undefined;\n};\n\nconst setItem = (state, draft, payload) => {\n const { item, data } = payload;\n draft[item] = data;\n};\n\nconst clear = (state, draft, payload) => {\n draft.codes_errors = [];\n draft.codes = null;\n draft.allowablePrefix_errors = [];\n draft.allowablePrefix = null;\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"assignCode\",\n stateName: \"assigningCodes\",\n async: true,\n isPaginated: false,\n successCb: assignCodesSuccesfully,\n }),\n ...bindReducers(ActionTypes, {\n action: \"searchCode\",\n stateName: \"codes\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createCode\",\n stateName: \"code\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"uploadCodes\",\n stateName: \"uploadedCodes\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setCode\",\n stateName: \"code\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setUploadedCodes\",\n stateName: \"setUploadedCodes\",\n async: false,\n isPaginated: false,\n successCb:setUploadedCodes\n }),\n ...bindReducers(ActionTypes, {\n action: \"setItem\",\n stateName: \"setItem\",\n async: false,\n isPaginated: false,\n successCb: setItem,\n }),\n ...bindReducers(ActionTypes, {\n action: \"clear\",\n stateName: \"clear\",\n async: false,\n isPaginated: false,\n successCb: clear,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllowablePrefix\",\n stateName: \"allowablePrefix\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllowableStart\",\n stateName: \"allowableStart\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllowableCount\",\n stateName: \"allowableCount\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getCodeBatches\",\n stateName: \"codeBatches\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getBatchesForUpdate\",\n stateName: \"batchesForUpdate\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateBatch\",\n stateName: \"batch\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getBatchWithId\",\n stateName: \"batch\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getCodeBatchesWithoutPagination\",\n stateName: \"codeBatchesList\",\n async: true,\n isPaginated: false,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"cities\", { metadata: undefined }, []),\n ...defaultState(\"countries\", { metadata: undefined }, []),\n ...defaultState(\"city\", { metadata: undefined }, []),\n ...defaultState(\"country\", { metadata: undefined }, []),\n};\n\nconst editCountrySuccess = (state, draft, payload) => {\n const index = state.countries.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.countries[index] = payload;\n }\n draft.openDialog = false;\n};\nconst countryDeleteSuccess = (state, draft, payload) => {\n const countries = state.countries || [];\n draft.countries = countries.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst countryCreatedSuccess = (state, draft, payload) => {\n const countries = state.countries || [];\n draft.countries = [...countries, payload];\n draft.openDialog = false;\n};\n\nconst cityCreatedSuccess = (state, draft, payload) => {\n const cities = state.cities || [];\n draft.cities = [...cities, payload];\n draft.openDialog = false;\n};\n\nconst editCitySuccess = (state, draft, payload) => {\n const index = state.cities.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.cities[index] = payload;\n }\n draft.openDialog = false;\n};\n\nconst cityDeleteSuccess = (state, draft, payload) => {\n const cities = state.cities || [];\n draft.cities = cities.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst governorateCreatedSuccess = (state, draft, payload) => {\n const governorates = state.governorates || [];\n draft.governorates = [...governorates, payload];\n draft.openDialog = false;\n};\n\nconst governorateEditSuccess = (state, draft, payload) => {\n const index = state.governorates.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.governorates[index] = payload;\n }\n draft.openDialog = false;\n};\n\nconst governorateDeleteSuccess = (state, draft, payload) => {\n const governorates = state.governorates || [];\n draft.governorates = governorates.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\n\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getAllCountries\",\n stateName: \"countries\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createCountry\",\n stateName: \"country\",\n async: true,\n isPaginated: false,\n successCb: countryCreatedSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"editCountry\",\n stateName: \"country\",\n async: true,\n isPaginated: false,\n successCb: editCountrySuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteCountry\",\n stateName: \"country\",\n async: true,\n isPaginated: false,\n successCb: countryDeleteSuccess\n }),\n \n ...bindReducers(ActionTypes, {\n action: \"getAllCities\",\n stateName: \"cities\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getCityWithId\",\n stateName: \"city\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createCity\",\n stateName: \"city\",\n async: true,\n isPaginated: false,\n successCb: cityCreatedSuccess,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"editCity\",\n stateName: \"city\",\n async: true,\n isPaginated: false,\n successCb: editCitySuccess\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"deleteCity\",\n stateName: \"city\",\n async: true,\n isPaginated: false,\n successCb: cityDeleteSuccess\n }),\n//Governorates\n ...bindReducers(ActionTypes, {\n action: \"getAllGovernorates\",\n stateName: \"governorates\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createGovernorate\",\n stateName: \"governorate\",\n async: true,\n isPaginated: false,\n successCb: governorateCreatedSuccess,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"editGovernorate\",\n stateName: \"governorate\",\n async: true,\n isPaginated: false,\n successCb: governorateEditSuccess\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"deleteGovernorate\",\n stateName: \"governorate\",\n async: true,\n isPaginated: false,\n successCb: governorateDeleteSuccess\n }),\n\n\n\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n","\n \nimport { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"questions\", { metadata: undefined }, []),\n ...defaultState(\"question\", { metadata: undefined }, {}),\n};\nconst setQuestion = (state, draft, payload) => {\n draft.category = undefined;\n};\nconst questionDeleteSuccess = (state, draft, payload) => {\n const questions = state.questions || [];\n draft.questions = questions.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\n\nexport const reducer = createReducer(initialState, { \n ...bindReducers(ActionTypes, {\n action: \"getAllQuestions\",\n stateName: \"questions\",\n async: true,\n isPaginated: true\n }),\n ...bindReducers(ActionTypes, {\n action: \"getQuestionWithId\",\n stateName: \"question\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"createQuestion\",\n stateName: \"question\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateQuestion\",\n stateName: \"question\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteQuestion\",\n stateName: \"question\",\n async: true,\n isPaginated: false,\n successCb:questionDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setQuestion\",\n stateName: \"question\",\n async: false,\n isPaginated: false,\n successCb:setQuestion,\n }),\n \n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n ","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\nimport Swal from \"sweetalert2\";\nimport withReactContent from \"sweetalert2-react-content\";\n\nconst initialState = {\n ...defaultState(\"services\", { metadata: undefined }, []),\n ...defaultState(\"service\", { metadata: undefined }, {}),\n ...defaultState(\"childService\", { metadata: undefined }, {}),\n ...defaultState(\"serviceOption\", { metadata: undefined }, {}),\n ...defaultState(\"serviceTypes\", { metadata: undefined }, []),\n ...defaultState(\"vouchers\", { metadata: undefined }, []),\n ...defaultState(\"availableServices\", { metadata: undefined }, []),\n ...defaultState(\"isOpenSweetAlert\", { metadata: undefined }, false),\n ...defaultState(\"types\", { metadata: undefined }, []),\n ...defaultState(\"serviceTransactions\", { metadata: undefined }, []),\n ...defaultState(\"voucherValidation\", { metadata: undefined }, undefined),\n ...defaultState(\"voucherSubmit\", { metadata: undefined }, undefined),\n ...defaultState(\"serviceProviders\", { metadata: undefined }, []),\n ...defaultState(\"serviceChildren\", { metadata: undefined }, []),\n ...defaultState(\"optionVouchers\", { metadata: undefined }, []),\n ...defaultState(\"integrationServices\", { metadata: undefined }, []),\n ...defaultState(\"serviceOptions\", { metadata: undefined }, {}),\n\n\n\n\n\n\n\n\n\n};\nconst setOption = (state, draft, payload) => {\n draft.serviceOption = undefined;\n};\n\nconst setService = (state, draft, payload) => {\n draft.service = undefined;\n};\nconst setRedeem = (state, draft, payload) => {\n draft.redeemResult = undefined;\n draft.redeemResult_errors = undefined;\n draft.isOpenSweetAlert = false;\n};\nconst setSubmitRedeem = (state, draft, payload) => {\n draft.voucherSubmit = undefined;\n draft.voucherSubmit_errors = undefined;\n draft.isOpenSweetAlert = false;\n};\nsetServiceProvider\nconst setServiceProvider = (state, draft, payload) => {\n draft.serviceProvider = undefined;\n \n};\nconst validateVoucherFailure = (state, draft, payload) => {\n draft.voucherValidation = undefined;\n\n};\nconst submitRedeemVoucherSuccess = (state, draft, payload) => {\n draft.isOpenSweetAlert = true;\n\n};\nconst submitRedeemVoucherFailure = (state, draft, payload) => {\n draft.isOpenSweetAlert = true;\n\n};\nconst validateVoucherSuccess = (state, draft, payload) => {\n draft.voucherValidation_errors = undefined;\n\n};\nconst redeemSuccess = (state, draft, payload) => {\n draft.openDialog = false;\n draft.isOpenSweetAlert = true;\n};\nconst redeemFailure = (state, draft, payload) => {\n draft.isOpenSweetAlert = true;\n};\nconst createServiceTypeSuccess=(state, draft, payload) => {\nconst types=state.types||[];\ndraft.types=[...types,payload];\ndraft.openDialog = false;\n}\nconst updateServiceTypeSuccess=(state, draft, payload) => {\n const index = state.types.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.types[index] = payload;\n }\n draft.openDialog = false;\n }\n const serviceTypeDeleteSuccess=(state, draft, payload) => {\n const types = state.types || [];\n draft.types = types.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n }\nconst serviceDeleteSuccess = (state, draft, payload) => {\n const services = state.services || [];\n draft.services = services.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst serviceProviderDeleteSuccess=(state, draft, payload) => {\n const serviceProviders = state.serviceProviders || [];\n draft.serviceProviders = serviceProviders.filter((a) => a.id != payload.id);\n draft.openDeleteDialog = false;\n};\nconst serviceOptionDeleteSuccess = (state, draft, payload) => {\n // debugger\n const options = state.serviceOptions?.options || [];\n draft.serviceOptions.options = options.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\n\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"checkParentProvider\",\n stateName: \"parentProvider\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceChildren\",\n stateName: \"serviceChildren\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServicesIntegration\",\n stateName: \"integrationServices\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceOptionVouchers\",\n stateName: \"optionVouchers\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceOptions\",\n stateName: \"serviceOptions\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"redeem\",\n stateName: \"redeemResult\",\n async: true,\n isPaginated: false,\n successCb: redeemSuccess,\n failCb: redeemFailure,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAllServices\",\n stateName: \"services\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceProviderWithId\",\n stateName: \"serviceProvider\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceProviders\",\n stateName: \"serviceProviders\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"validateVoucher\",\n stateName: \"voucherValidation\",\n async: true,\n isPaginated: false,\n successCb:validateVoucherSuccess,\n failCb:validateVoucherFailure\n }),\n ...bindReducers(ActionTypes, {\n action: \"submitRedeemVoucher\",\n stateName: \"voucherSubmit\",\n async: true,\n isPaginated: false,\n successCb:submitRedeemVoucherSuccess,\n failCb:submitRedeemVoucherFailure\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceTransactions\",\n stateName: \"serviceTransactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n \n action: \"getTypes\",\n stateName: \"types\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceWithId\",\n stateName: \"service\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createService\",\n stateName: \"service\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createChildService\",\n stateName: \"childService\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createServiceProvider\",\n stateName: \"serviceProvider\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createServiceType\",\n stateName: \"serviceType\",\n async: true,\n isPaginated: false,\n successCb:createServiceTypeSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateService\",\n stateName: \"service\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateChildService\",\n stateName: \"childService\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateServiceType\",\n stateName: \"serviceType\",\n async: true,\n isPaginated: false,\n successCb:updateServiceTypeSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateServiceProvider\",\n stateName: \"serviceProvider\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteService\",\n stateName: \"service\",\n async: true,\n isPaginated: false,\n successCb: serviceDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteServiceType\",\n stateName: \"serviceType\",\n async: true,\n isPaginated: false,\n successCb: serviceTypeDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteServiceProvider\",\n stateName: \"serviceProvider\",\n async: true,\n isPaginated: false,\n successCb: serviceProviderDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setService\",\n stateName: \"service\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceOptionWithId\",\n stateName: \"serviceOption\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createServiceOption\",\n stateName: \"serviceOption\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getAvailableServices\",\n stateName: \"availableServices\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createVouchers\",\n stateName: \"vouchers\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateServiceOption\",\n stateName: \"serviceOption\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteServiceOption\",\n stateName: \"serviceOption\",\n async: true,\n isPaginated: false,\n successCb: serviceOptionDeleteSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServiceTypes\",\n stateName: \"serviceTypes\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setOption\",\n stateName: \"serviceOption\",\n async: false,\n isPaginated: false,\n successCb: setOption,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setService\",\n stateName: \"service\",\n async: false,\n isPaginated: false,\n successCb: setService,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setServiceProvider\",\n stateName: \"serviceProvider\",\n async: false,\n isPaginated: false,\n successCb: setServiceProvider,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setRedeem\",\n stateName: \"setRedeem\",\n async: false,\n isPaginated: false,\n successCb: setRedeem,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setSubmitRedeem\",\n stateName: \"setSubmitRedeem\",\n async: false,\n isPaginated: false,\n successCb: setSubmitRedeem,\n }),\n});\n","\n \nimport { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"suggestions\", { metadata: undefined }, []),\n ...defaultState(\"suggestion\", { metadata: undefined }, {}),\n};\nconst handleSeenSuccess=(state, draft, payload) => {\n const index = state.suggestions.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.suggestions[index] = payload;\n }\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\n\nexport const reducer = createReducer(initialState, { \n ...bindReducers(ActionTypes, {\n action: \"handleSeen\",\n stateName: \"suggestion\",\n async: true,\n isPaginated: false,\n successCb: handleSeenSuccess,\n }), \n ...bindReducers(ActionTypes, {\n action: \"getAllSuggestions\",\n stateName: \"suggestions\",\n async: true,\n isPaginated: true\n }),\n ...bindReducers(ActionTypes, {\n action: \"getSuggestionWithId\",\n stateName: \"suggestion\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"createSuggestion\",\n stateName: \"suggestion\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteSuggestion\",\n stateName: \"suggestion\",\n async: true,\n isPaginated: false\n }),\n \n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createContactUs\",\n stateName: \"suggestion\",\n async: true,\n isPaginated: false,\n \n }),\n \n});\n ","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"transactions\", { metadata: undefined }, []),\n ...defaultState(\"ownerTransactions\", { metadata: undefined }, []),\n ...defaultState(\"serviceTransactions\", { metadata: undefined }, []),\n ...defaultState(\"gift\", { metadata: undefined }, {}),\n ...defaultState(\"points\", { metadata: undefined }, 0),\n ...defaultState(\"updatedPoints\", { metadata: undefined }, 0),\n ...defaultState(\"transaction\", { metadata: undefined }, {}),\n ...defaultState(\"exportedOwnerTransactions\", { metadata: undefined }, []),\n\n};\nconst createGiftPointsSuccess = (state, draft, payload) => {\n const transactions = state.ownerTransactions || [];\n draft.ownerTransactions = [payload, ...transactions];\n draft.updatedPoints = payload?.balance;\n draft.openDialog = false;\n};\nconst getClientPointsSuccess = (state, draft, payload) => {\n draft.points = payload.balance;\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\nconst resetDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = false;\n};\n\n\nconst setItem = (state, draft, payload) => {\n const { item, data } = payload;\n draft[item] = data;\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getUserTransactions\",\n stateName: \"transactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTransactionsWithOwnerId\",\n stateName: \"ownerTransactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTransactionsWithServiceId\",\n stateName: \"ownerTransactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTransactionWithWalletId\",\n stateName: \"ownerTransactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"chargeProviderWallet\",\n stateName: \"providerWallet\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"exportTransactionsWithOwnerToExcel\",\n stateName: \"exportedOwnerTransactions\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"exportTransactionsWithServiceToExcel\",\n stateName: \"exportedOwnerTransactions\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"exportUsersTransactionsSummary\",\n stateName: \"usersTransactionsSummary\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"exportTransactionsWithWalletToExcel\",\n stateName: \"exportedOwnerTransactions\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTransactionWithId\",\n stateName: \"transaction\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createGiftPoints\",\n stateName: \"gift\",\n async: true,\n isPaginated: false,\n successCb: createGiftPointsSuccess,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"scanCode\",\n stateName: \"scannedCode\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setItem\",\n stateName: \"setItem\",\n async: false,\n isPaginated: false,\n successCb: setItem,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientPoints\",\n stateName: \"points\",\n async: true,\n isPaginated: false,\n successCb: getClientPointsSuccess\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDeleteDialog\",\n stateName: \"resetDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDeleteDialog,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"productSkus\", { metadata: undefined }, []),\n ...defaultState(\"productSku\", { metadata: undefined }, {}),\n};\n\nconst productSkuDeleteSuccess = (state, draft, payload) => {\n const skus = state.productSkus || [];\n draft.productSkus = skus.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\nexport const reducer = createReducer(initialState, { \n ...bindReducers(ActionTypes, {\n action: \"getAllProductSkus\",\n stateName: \"productSkus\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getProductSkuWithId\",\n stateName: \"productSku\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"createProductSku\",\n stateName: \"productSku\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateProductSku\",\n stateName: \"productSku\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteProductSku\",\n stateName: \"productSku\",\n async: true,\n isPaginated: false.valueOf,\n successCb:productSkuDeleteSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setProductSku\",\n stateName: \"productSku\",\n async: false,\n isPaginated: false,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n // messages:[]\n};\nconst getOpennedChatFailure= (state, draft, payload) => {\n draft.opennedChat=undefined\n};\n\nconst setItem = (state, draft, payload) => {\n draft.opennedChat?.messages?.push(payload);\n};\nconst startChatSuccess=(state, draft, payload)=>{\n // localStorage.setItem('chatId', payload.chatId)\n}\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst setNotifications=(state, draft, payload) => {\n //debugger;\ndraft.notifications?.unshift(payload)\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\nconst readNotificationSuccess=(state, draft, payload) => {\n //debugger\n const index = state.notifications.findIndex(r => r.id === payload.id)\n if (index >= 0) {\n draft.notifications[index] = payload;\n }\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"sendNotification\",\n stateName: \"sendNotification\",\n async: true,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getNotifications\",\n stateName: \"notifications\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"readNotification\",\n stateName: \"readNotificationRes\",\n async: true,\n isPaginated: false,\n successCb:readNotificationSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"setNotifications\",\n stateName: \"setNotificationsRes\",\n async: false,\n isPaginated: false,\n successCb:setNotifications\n }),\n ...bindReducers(ActionTypes, {\n action: \"startChat\",\n stateName: \"opennedChat\",\n async: true,\n isPaginated: false,\n // successCb:startChatSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"sendMessage\",\n stateName: \"sendMessageResult\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"joinChat\",\n stateName: \"joinedChat\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setItem\",\n stateName: \"item\",\n async: false,\n isPaginated: false,\n successCb: setItem,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getOpennedChat\",\n stateName: \"opennedChat\",\n async: true,\n isPaginated: false,\n failCb:getOpennedChatFailure\n //successCb: getOpennedChatSuccess,\n\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getChats\",\n stateName: \"chats\",\n async: true,\n isPaginated: true,\n }),\n});\n","\n \nimport { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"slaps\", { metadata: undefined }, []),\n ...defaultState(\"slap\", { metadata: undefined }, {}),\n};\nconst slapEditedSuccess = (state, draft, payload) => {\n const slaps = state.slaps || [];\n var slapIndex = slaps.findIndex((u) => u.id === payload.id);\n draft.slaps[slapIndex] = payload;\n draft.openDialog = false;\n};\n\nconst slapCreatedSuccess = (state, draft, payload) => {\n const slaps = state.slaps || [];\n draft.slaps = [...slaps, payload];\n draft.openDialog = false;\n};\nconst slapDeleteSuccess = (state, draft, payload) => {\n // debugger;\n const slaps = state.slaps || [];\n draft.slaps = slaps.filter((a) => a.id != payload);\n draft.openDeleteDialog = false;\n };\n const setSlap=(state,draft,payload)=>{\n draft.slap=undefined;\n }\n const showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\n const showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\n\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.user_errors = [];\n};\n\nexport const reducer = createReducer(initialState, { \n ...bindReducers(ActionTypes, {\n action: \"getAllSlaps\",\n stateName: \"slaps\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"getSlapWithId\",\n stateName: \"slap\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"createSlap\",\n stateName: \"slap\",\n async: true,\n isPaginated: false,\n successCb:slapCreatedSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateSlap\",\n stateName: \"slap\",\n async: true,\n isPaginated: false,\n successCb:slapEditedSuccess\n\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteSlap\",\n stateName: \"slap\",\n async: true,\n isPaginated: false,\n successCb:slapDeleteSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"setSlap\",\n stateName: \"slap\",\n async: false,\n isPaginated: false,\n successCb:setSlap,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: true,\n successCb: resetDialog,\n }),\n});\n ","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\nimport { TramOutlined } from \"@material-ui/icons\";\n\n\nconst initialState = {\n ...defaultState(\"advertisement\", { metadata: undefined }, undefined),\n\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\nconst setAdvertisement = (state, draft, payload) => {\n draft.advertisement = undefined;\n};\n\nexport const reducer = createReducer(initialState, {\n\n ...bindReducers(ActionTypes, {\n action: \"getAdvertisement\",\n stateName: \"advertisement\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"saveAdvertisement\",\n stateName: \"advertisement\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateAdvertisement\",\n stateName: \"advertisement\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteAdvertisement\",\n stateName: \"advertisement\",\n async: TramOutlined,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setAdvertisement\",\n stateName: \"advertisement\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n \n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"terms\", { metadata: undefined }, {}),\n ...defaultState(\"term\", { metadata: undefined }, {}),\n}\n\nconst setTerm=(state,draft,payload)=>{\n draft.term=undefined;\n}\nconst termDeleteSuccess = (state, draft, payload) => {\n // debugger;\n const terms = state.terms || [];\n draft.terms = terms.filter((a) => a.id != payload.id);\n draft.term=undefined;\n draft.openDeleteDialog = false;\n };\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n};\n\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getTerms\",\n stateName: \"terms\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateTerms\",\n stateName: \"term\",\n async: true,\n isPaginated: false,\n // successCb:termsCreatedSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"createTerm\",\n stateName: \"term\",\n async: true,\n isPaginated: false,\n //successCb:termsCreatedSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTerm\",\n stateName: \"term\",\n async: true,\n isPaginated: false,\n //successCb:termsCreatedSuccess\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"deleteTerms\",\n stateName: \"term\",\n async: true,\n isPaginated: false,\n successCb:termDeleteSuccess\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setTerm\",\n stateName: \"term\",\n async: false,\n isPaginated: false,\n successCb: setTerm,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"scibWalletTransactions\", { metadata: undefined }, []),\n ...defaultState(\"addedPoints\", { metadata: undefined }, 0),\n ...defaultState(\"points\", { metadata: undefined }, {}),\n ...defaultState(\"updatedPoints\", { metadata: undefined }, 0),\n //...defaultState(\"dest\", { metadata: undefined }, \"\"),\n};\nconst setDestination = (state, draft, payload) => {\n // debugger\n draft.destination.destId = payload?.destId;\n draft.destination.mainWallet = payload?.mainWallet;\n};\nconst addPointsSuccess = (state, draft, payload) => {\n let tenantBalance = state.points.tenantWallet.balance;\n\n let mainWallet = state.destination.mainWallet;\n draft.points.tenantWallet.balance = mainWallet\n ? tenantBalance + payload.amount\n : tenantBalance - payload.amount;\n if (!mainWallet) {\n let serviceWallet = state.destination.destId;\n let index = state.points.services.findIndex(\n (e) => e.walletId == serviceWallet\n );\n draft.points.services[index].balance += payload.amount;\n }\n\n const scibWalletTransactions = state.scibWalletTransactions || [];\n draft.transactions = [...scibWalletTransactions, payload];\n draft.updatedPoints = payload?.balance;\n draft.openDialog = false;\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\n\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getScibWalletTransactions\",\n stateName: \"scibWalletTransactions\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"addPoints\",\n stateName: \"addedPoints\",\n async: true,\n isPaginated: false,\n successCb: addPointsSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getPoints\",\n stateName: \"points\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setDestination\",\n stateName: \"destination\",\n async: false,\n isPaginated: false,\n successCb: setDestination,\n }),\n});\n","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"productAndCodesCount\", { metadata: undefined }, undefined),\n ...defaultState(\"usersCount\", { metadata: undefined }, undefined),\n};\nconst showDialog = (state, draft, payload) => {\n draft.openDialog = true;\n};\nconst showDeleteDialog = (state, draft, payload) => {\n draft.openDeleteDialog = true;\n};\nconst resetDialog = (state, draft, payload) => {\n draft.openDialog = false;\n draft.openDeleteDialog = false;\n draft.brand_errors = [];\n};\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"generateFile\",\n stateName: \"file\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"clearFile\",\n stateName: \"file\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getReportsList\",\n stateName: \"reportsList\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getProductAndCodesCount\",\n stateName: \"productAndCodesCount\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getLastDaysSummaryOfRedemptionAndScan\",\n stateName: \"summaryOfRedemptionAndScan\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getServicesRedemptionSummary\",\n stateName: \"servicesRedemptionSummary\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getTopTenScannedProductsQuery\",\n stateName: \"topTenScannedProducts\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getUsersCount\",\n stateName: \"usersCount\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDeleteDialog\",\n stateName: \"showDeleteDialog\",\n async: false,\n isPaginated: false,\n successCb: showDeleteDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"showDialog\",\n stateName: \"showDialog\",\n async: false,\n isPaginated: false,\n successCb: showDialog,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetDialog\",\n stateName: \"resetDialog\",\n async: false,\n isPaginated: false,\n successCb: resetDialog,\n }),\n});\n","\n \nimport { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"../../utils/genState\";\nimport createReducer from \"../../utils/reduxsauce/createReducer\";\n\nconst initialState = {\n ...defaultState(\"clients\", { metadata: undefined }, []),\n ...defaultState(\"client\", { metadata: undefined }, {}),\n};\nconst setRegister=(state, draft, payload) => {\n draft.registerClients_errors = undefined;\n\n};\nexport const reducer = createReducer(initialState, { \n ...bindReducers(ActionTypes, {\n action: \"getAllClients\",\n stateName: \"clients\",\n async: true,\n isPaginated: true\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientWithId\",\n stateName: \"client\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"getClientInfo\",\n stateName: \"clientInfo\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"createClient\",\n stateName: \"client\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"registerClient\",\n stateName: \"registerClients\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"setRegisterClient\",\n stateName: \"setRegisterClientRes\",\n async: false,\n isPaginated: false,\n successCb: setRegister,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateClient\",\n stateName: \"client\",\n async: true,\n isPaginated: false\n }),\n ...bindReducers(ActionTypes, {\n action: \"deleteClient\",\n stateName: \"client\",\n async: true,\n isPaginated: false\n }),\n});\n ","import { ActionTypes } from \"./actions\";\nimport { defaultState, bindReducers } from \"src/utils/genState\";\nimport createReducer from \"src/utils/reduxsauce/createReducer\";\nimport { toast } from \"react-toastify\";\nconst initialState = {\n ...defaultState(\n \"requests\",\n {\n metadata: undefined,\n },\n []\n ),\n pageRequests: {},\n};\nconst handleSetRequest = (state, draft, payload) => {\n \n draft.request = undefined;\n draft.request_errors=undefined;\n};\nconst handleGetRequests = (state, draft, payload) => {\n let { items } = payload;\n items = items.map((e) => ({\n ...e,\n result: e.response ? handleResponse(e.response) : \"\",\n }));\n draft.requests = items;\n};\n\nconst handleResponse = (response) => {\n let parseResponse = JSON.parse(response);\n if (parseResponse?.success)\n return handlePayloadOfResponse(parseResponse?.payload);\n return
{parseResponse?.message}
;\n};\nconst handlePayloadOfResponse = (payload) => {\n return (\n
\n {payload?.comment} \n {payload?.fileUrl && (\n \n download\n \n )}\n
\n );\n};\n\nconst handleGetNewRequest = (state, draft, payload) => {\n const { id } = payload;\n draft.pageRequests[state.currentPage] = id;\n};\n\nconst handleStartRequest = (state, draft, payload) => {\n const { name, id } = payload;\n draft.requests[id] = { name, isCompleted: false };\n};\n\nconst addRequstToListHandler = (state, draft, payload) => {\n // debugger\n let newRequest = { id: payload, status: \"InProgress\", result: \"\" };\n let requests = [newRequest, ...state.requests];\n draft.requests = requests;\n};\n\nconst handleSuccessGetRequest = (state, draft, payload) => {\n debugger\n draft.request=payload;\n draft.request_errors=undefined\n let requests = [...state.requests];\n let index = requests.findIndex((e) => e.id === payload.requestId);\n\n requests[index] = {\n ...requests[index],\n status: \"Complete\",\n result: handlePayloadOfResponse(payload),\n };\n filterPageRequest(state, draft, payload.requestId);\n draft.requests = requests;\n toast.success(`${draft.requests[index]?.name||\"your request\"} request is complete`)\n};\n\nconst handleFailGetRequest = (state, draft, payload) => {\n\n const { codeNumber } = payload;\n if (codeNumber != 99) {\n let requests = [...state.requests];\n let index = requests.findIndex((e) => e.id === payload.requestId);\n requests[index] = {\n ...requests[index],\n status: \"Faild\",\n result: \"Error\",\n };\n draft.requests = requests;\n filterPageRequest(state, draft, payload.requestId);\n }\n};\n\nconst filterPageRequest = (state, draft, requestId) => {\n // debugger;\n let pageRequests = { ...state.pageRequests };\n let keyToRemove = \"\";\n\n Object.keys(pageRequests).forEach((key) => {\n if (pageRequests[key] == requestId) keyToRemove = key;\n });\n\n delete pageRequests[keyToRemove];\n draft.pageRequests = pageRequests;\n};\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"getNewRequest\",\n stateName: \"newRequest\",\n async: true,\n isPaginated: false,\n successCb: handleGetNewRequest,\n }),\n ...bindReducers(ActionTypes, {\n action: \"filterPageRequest\",\n stateName: \"filterPageRequest\",\n async: false,\n isPaginated: false,\n successCb: filterPageRequest,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setCurrentPage\",\n stateName: \"currentPage\",\n async: false,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"startRequest\",\n stateName: \"requestRunning\",\n async: false,\n isPaginated: false,\n successCb: handleStartRequest,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setRequest\",\n stateName: \"setRequest\",\n async: false,\n isPaginated: false,\n successCb: handleSetRequest,\n }),\n ...bindReducers(ActionTypes, {\n action: \"addRequstToList\",\n stateName: \"requests\",\n async: false,\n isPaginated: false,\n successCb: addRequstToListHandler,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getRequest\",\n stateName: \"request\",\n async: true,\n isPaginated: false,\n successCb: handleSuccessGetRequest,\n failCb: handleFailGetRequest,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getRequests\",\n stateName: \"requests\",\n async: true,\n isPaginated: true,\n successCb: handleGetRequests,\n }),\n});\n","\nimport { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllQuestions: { args: [\"payload\"], meta: { async: true } },\n getQuestionWithId: { args: [\"payload\"], meta: { async: true } },\n createQuestion: { args: [\"payload\"], meta: { async: true } },\n updateQuestion: { args: [\"payload\"], meta: { async: true } },\n deleteQuestion: { args: [\"payload\"], meta: { async: true } },\n setQuestion: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/question/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions=Creators;\n\n ","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getGeneralInfo: { args: [\"payload\"], meta: { async: true } },\n getClientResponse: { args: [\"payload\"], meta: { async: true } },\n getProducts: { args: [\"payload\"], meta: { async: true } },\n getOffers: { args: [\"payload\"], meta: { async: true } },\n getClientResponces: { args: [\"payload\"], meta: { async: true } },\n getClientResponceWithId: { args: [\"payload\"], meta: { async: true } },\n getResponsesSummary: { args: [\"payload\"], meta: { async: true } },\n },\n {\n prefix: \"@app/dashboard/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\n","\nimport { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllSlaps: { args: [\"payload\"], meta: { async: true } },\n getSlapWithId: { args: [\"payload\"], meta: { async: true } },\n createSlap: { args: [\"payload\"], meta: { async: true } },\n updateSlap: { args: [\"payload\"], meta: { async: true } },\n deleteSlap: { args: [\"payload\"], meta: { async: true } },\n setSlap: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n\n },\n {\n prefix: \"@app/slap/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions=Creators;\n\n ","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getTerms: { args: [\"payload\"], meta: { async: true } },\n updateTerms: { args: [\"payload\"], meta: { async: true } },\n createTerm: { args: [\"payload\"], meta: { async: true } },\n getTerm: { args: [\"payload\"], meta: { async: true } },\n deleteTerms: { args: [\"payload\"], meta: { async: true } },\n setTerm: { args: [\"payload\"], meta: { async: false } },\n\n\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/terms/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllStores: { args: [\"payload\"], meta: { async: true } },\n getStoreWithId: { args: [\"payload\"], meta: { async: true } },\n createStore: { args: [\"payload\"], meta: { async: true } },\n updateStore: { args: [\"payload\"], meta: { async: true } },\n deleteStore: { args: [\"payload\"], meta: { async: true } },\n setStore: { args: [\"payload\"], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/store/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllAttributes: { args: [\"payload\"], meta: { async: true } },\n getAttributeWithId: { args: [\"payload\"], meta: { async: true } },\n createAttribute: { args: [\"payload\"], meta: { async: true } },\n updateAttribute: { args: [\"payload\"], meta: { async: true } },\n deleteAttribute: { args: [\"payload\"], meta: { async: true } },\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/attribute/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getAllProductSkus: { args: [\"payload\"], meta: { async: true } },\n getProductSkuWithId: { args: [\"payload\"], meta: { async: true } },\n createProductSku: { args: [\"payload\"], meta: { async: true } },\n updateProductSku: { args: [\"payload\"], meta: { async: true } },\n deleteProductSku: { args: [\"payload\"], meta: { async: true } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n setProductSku: { args: [\"payload\"], meta: { async: false } },\n },\n {\n prefix: \"@app/productSku/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","var map = {\n\t\"./ar/messages.po\": [\n\t\t586,\n\t\t21\n\t],\n\t\"./en/messages.po\": [\n\t\t587,\n\t\t22\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 566;\nmodule.exports = webpackAsyncContext;","// ** ThemeConfig Import\nimport themeConfig from 'src/configs/themeConfig'\nimport { createReducer } from \"reduxsauce\";\nimport { produce } from \"immer\";\n\nimport { ActionTypes } from \"./actions\";\nimport { bindReducers } from \"src/utils/genState\";\n\n// ** Returns Initial Menu Collapsed State\nconst initialMenuCollapsed = () => {\n const item = window.localStorage.getItem('menuCollapsed')\n //** Parse stored json or if none return initialValue\n return item ? JSON.parse(item) : themeConfig.layout.menu.isCollapsed\n}\n\n// ** Initial State\nconst initialState = {\n isRTL: themeConfig.layout.isRTL,\n menuCollapsed: initialMenuCollapsed(),\n menuHidden: themeConfig.layout.menu.isHidden,\n contentWidth: themeConfig.layout.contentWidth\n}\n\nconst setRtl = (state, draft, payload) => {\n draft.isRTL = payload;\n}\nconst setMenuHidden = (state, draft, payload) => {\n draft.menuHidden = payload;\n}\nconst setMenuCollapsed = (state, draft, payload) => {\n draft.menuCollapsed = payload;\n}\n\nconst layoutReducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"handleRtl\",\n stateName: \"isRTL\",\n async: false,\n isPaginated: false,\n successCb: setRtl,\n }),\n ...bindReducers(ActionTypes, {\n action: \"handleMenuHidden\",\n stateName: \"isRTL\",\n async: false,\n isPaginated: false,\n successCb: setMenuHidden,\n }),\n ...bindReducers(ActionTypes, {\n action: \"handleMenuCollapsed\",\n stateName: \"menuCollapsed\",\n async: false,\n isPaginated: false,\n successCb: setMenuCollapsed,\n }),\n\n // [ActionTypes.LOGOUT]: logout,\n\n});\n\n// const layoutReducer = (state = initialState, action) => {\n// switch (action.type) {\n// case 'HANDLE_CONTENT_WIDTH':\n// return { ...state, contentWidth: action.value }\n// case 'HANDLE_MENU_COLLAPSED':\n// window.localStorage.setItem('menuCollapsed', action.value)\n// return { ...state, menuCollapsed: action.value }\n// case 'HANDLE_MENU_HIDDEN':\n// return { ...state, menuHidden: action.value }\n// case 'HANDLE_RTL':\n// return { ...state, isRTL: action.value }\n// default:\n// return state\n// }\n// }\n\nexport default layoutReducer\n","// ** Initial State\nconst initialState = {\n suggestions: [],\n bookmarks: [],\n query: ''\n}\n\nconst navbarReducer = (state = initialState, action) => {\n switch (action.type) {\n case 'HANDLE_SEARCH_QUERY':\n return { ...state, query: action.val }\n case 'GET_BOOKMARKS':\n return { ...state, suggestions: action.data, bookmarks: action.bookmarks }\n case 'UPDATE_BOOKMARKED':\n let objectToUpdate\n\n // ** find & update object\n state.suggestions.find(item => {\n if (item.id === action.id) {\n item.isBookmarked = !item.isBookmarked\n objectToUpdate = item\n }\n })\n\n // ** Get index to add or remove bookmark from array\n const bookmarkIndex = state.bookmarks.findIndex(x => x.id === action.id)\n\n if (bookmarkIndex === -1) {\n state.bookmarks.push(objectToUpdate)\n } else {\n state.bookmarks.splice(bookmarkIndex, 1)\n }\n\n return { ...state }\n default:\n return state\n }\n}\n\nexport default navbarReducer\n","import { createReducer } from \"reduxsauce\";\nimport { produce } from \"immer\";\nimport jwtDecoder from \"jwt-decode\";\n\nimport { ActionTypes } from \"./actions\";\nimport { bindReducers, defaultState } from \"src/utils/genState\";\n\nconst initialState = {\n user: null,\n isLoggedIn: false,\n token: null,\n loginError: undefined,\n notifications: [],\n mobile:undefined\n\n};\n\nconst login = (state) => {\n return produce(state, (draft) => {\n draft.loginLoading = true;\n });\n};\nconst loginSuccess = (state, draft, payload) => {\n //console.log(\"payload\",payload)\n const user = jwtDecoder(payload.token);\n draft.user = user;\n draft.isLoggedIn = true;\n draft.loginLoading = false;\n const roles = JSON.parse(user?.role);\n localStorage.setItem('userData', JSON.stringify(user))\n localStorage.setItem('jwtToken', payload.token)\n localStorage.setItem('refreshToken', payload.refreshToken)\n};\n\nconst loginFail = (state, { payload }) => {\n return produce(state, (draft) => {\n draft.loginLoading = false;\n draft.loginError = payload.message;\n });\n};\nconst loginExternal = (state) => {\n return produce(state, (draft) => {\n draft.loginExternalLoading = true;\n });\n};\nconst setNotifications=(state, draft, payload) => {\n //debugger;\ndraft.notifications?.push(payload)\n};\nconst loginExternalSuccess = (state, draft, payload) => {\n //debugger;\n const user = jwtDecoder(payload.token);\n draft.user = user;\n draft.isLoggedIn = true;\n draft.loginLoading = false;\n localStorage.setItem(\"userData\", JSON.stringify(user));\n localStorage.setItem(\"jwtToken\", payload.token);\n};\n\nconst loginExternalFail = (state, draft, payload) => {\n draft.loginExternalLoading = false;\n draft.loginExternalLoadingError = payload.errorMessage;\n};\nconst updateTokenSuccess = (state, draft, payload) => {\n const user = jwtDecoder(payload);\n if (user.active === false) {\n localStorage.removeItem(\"userData\");\n localStorage.removeItem(\"jwtToken\");\n draft.user = undefined;\n draft.isLoggedIn = false;\n return;\n }\n draft.user = user;\n draft.loginLoading = false;\n localStorage.setItem(\"userData\", JSON.stringify(user));\n localStorage.setItem(\"jwtToken\", payload);\n};\nconst updateUserScoreSuccess = (state, draft, payload) => {\n draft.user = { ...draft.user, score: payload };\n};\n\nconst logout = (state, { payload }) => {\n return produce(state, (draft) => {\n localStorage.removeItem(\"userData\");\n localStorage.removeItem(\"jwtToken\");\n draft.user = undefined;\n draft.isLoggedIn = false;\n });\n};\n\nconst getNotifications = (state) => {\n return produce(state, (draft) => {\n draft.loginLoading = true;\n });\n};\n// const getNotificationsSuccess = (state, { payload }) => {\n// //console.log(\"data\",payload.items);\n// //debugger\n// return produce(state, (draft) => {\n// draft.notifications = payload?.payload;\n// draft.loginLoading = false;\n// });\n// };\nconst getNotificationsFail = (state, { payload }) => {\n return produce(state, (draft) => {\n draft.loginLoading = false;\n draft.loginError = payload.message;\n });\n};\nconst addNotification = (state, { notify }) => {\n return produce(state, (draft) => {\n draft.loginLoading = false;\n draft.notifications = [notify, ...state.notifications];\n });\n};\nconst readNotification = (state, { notify }) => {\n return produce(state, (draft) => {});\n};\nconst readNotificationSuccess = (state, { payload }) => {\n return produce(state, (draft) => {\n draft.notifications.forEach((a) => {\n if (a.notifyId === payload.data.notficiationId) a.read = true;\n });\n });\n};\nconst readNotificationFailed = (state, { notify }) => {\n return produce(state, (draft) => {});\n};\nconst resetPasswordSuccess = (state, draft, payload) => {\n draft.changePassword_errors = null;\n};\nconst forgetPasswordOtpSuccess=(state, draft, payload) => {\n debugger\n console.log(\"dddd\",payload);\n}\nconst setRegister=(state, draft, payload) => {\n // debugger\n //draft.registerRes = undefined;\n //draft.registerRes_errors = undefined;\n draft.mobile=payload\n // draft.isOpenSweetAlert=false;\n //draft.forgetPasswordOtpRes=undefined;\n\n};\nconst setMobile=(state, draft, payload) => {\n // debugger\n draft.mobile=payload\n};\n\nexport const authReducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {\n action: \"login\",\n stateName: \"login\",\n async: true,\n isPaginated: false,\n successCb: loginSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"forgetPasswordOtp\",\n stateName: \"forgetPasswordOtpRes\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setNotifications\",\n stateName: \"setNotificationsRes\",\n async: false,\n isPaginated: false,\n successCb:setNotifications\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetPasswordOtp\",\n stateName: \"resetPasswordOtpRes\",\n async: true,\n isPaginated: false,\n successCb:forgetPasswordOtpSuccess\n }),\n ...bindReducers(ActionTypes, {\n action: \"register\",\n stateName: \"registerRes\",\n async: true,\n isPaginated: false,\n //successCb: registerSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setRegister\",\n stateName: \"setRegisterRes\",\n async: false,\n isPaginated: false,\n successCb: setRegister,\n }),\n ...bindReducers(ActionTypes, {\n action: \"setMobile\",\n stateName: \"setMobileRes\",\n async: false,\n isPaginated: false,\n successCb: setMobile,\n }),\n\n ...bindReducers(ActionTypes, {\n action: \"loginExternal\",\n stateName: \"loginExternal\",\n async: true,\n isPaginated: false,\n successCb: loginExternalSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateToken\",\n stateName: \"updateToken\",\n async: false,\n isPaginated: false,\n successCb: updateTokenSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateProfile\",\n stateName: \"updateProfile\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"changePassword\",\n stateName: \"changePassword\",\n async: true,\n isPaginated: false,\n }),\n ...bindReducers(ActionTypes, {\n action: \"resetChangePassword\",\n stateName: \"resetChangePassword\",\n successCb: resetPasswordSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"updateUserScore\",\n async: false,\n isPaginated: false,\n successCb: updateUserScoreSuccess,\n }),\n ...bindReducers(ActionTypes, {\n action: \"getNotifications\",\n stateName: \"notifications\",\n async: true,\n isPaginated: true,\n }),\n ...bindReducers(ActionTypes, {\n action: \"refreshToken\",\n async: true,\n isPaginated: false,\n }),\n\n [ActionTypes.LOGOUT]: logout,\n // [ActionTypes.GET_NOTIFICATIONS]: getNotifications,\n // [ActionTypes.GET_NOTIFICATIONS_SUCCESS]: getNotificationsSuccess,\n // [ActionTypes.GET_NOTIFICATIONS_FAIL]: getNotificationsFail,\n [ActionTypes.ADD_NOTIFICATION]: addNotification,\n [ActionTypes.READ_NOTIFICATION]: readNotification,\n [ActionTypes.READ_NOTIFICATION_SUCCESS]: readNotificationSuccess,\n [ActionTypes.READ_NOTIFICATION_FAIL]: readNotificationFailed,\n});\n","import { connectRouter } from \"connected-react-router\";\nimport { combineReducers } from \"redux\";\nimport { persistReducer } from \"redux-persist\";\nimport storage from \"redux-persist/lib/storage\";\nimport layoutReducer from \"./layout/reducer\";\nimport navbarReducer from \"./navbar/reducer\";\n// -------------------\nimport { authReducer } from \"./auth/reducer\";\n\nconst rootPersistConfig = {\n key: \"root\",\n storage,\n blacklist: [\n \"router\",\n \"layout\",\n \"tenant\",\n \"store\",\n \"report\",\n \"terms\",\n \"transaction\",\n \"scibWalletTransactions\",\n \"city\",\n \"slap\",\n \"question\",\n \"suggestion\",\n \"attribute\",\n \"category\",\n \"product\",\n \"userManegment\",\n \"companyInfos\",\n \"dashboard\",\n \"code\",\n \"services\",\n \"settings\",\n \"notification\",\n \"advertisement\",\n \"client\",\n \"request\"\n ],\n};\n\nexport default function createReducer(asyncReducers, history) {\n return persistReducer(\n rootPersistConfig,\n combineReducers({\n ...asyncReducers,\n router: connectRouter(history),\n app: require(\"./app/reducer\").reducer,\n auth: authReducer,\n layout: layoutReducer,\n navbar: navbarReducer,\n userManegment: require(\"./userManagement/reducer\").reducer,\n settings: require(\"./setting/reducer\").reducer,\n companyInfos: require(\"./companyInfo/reducer\").reducer,\n dashboard: require(\"./dashboard/reducer\").reducer,\n tenant: require(\"./tenant/reducer\").reducer,\n store: require(\"./store/reducer\").reducer,\n category: require(\"./category/reducer\").reducer,\n product: require(\"./product/reducer\").reducer,\n attribute: require(\"./attribute/reducer\").reducer,\n code: require(\"./code/reducer\").reducer,\n city: require(\"./city/reducer\").reducer,\n question: require(\"./question/reducer\").reducer,\n services: require(\"./service/reducer\").reducer,\n suggestion: require(\"./suggestion/reducer\").reducer,\n transaction: require(\"./transaction/reducer\").reducer,\n productSkus: require(\"./productSku/reducer\").reducer,\n notification: require(\"./notification/reducer\").reducer,\n slap: require(\"./slap/reducer\").reducer,\n advertisement: require(\"./advertisement/reducer\").reducer,\n terms: require(\"./terms/reducer\").reducer,\n scibWalletTransactions: require(\"./scibWallet/reducer\").reducer,\n report: require(\"./report/reducer\").reducer,\n client:require(\"./client/reducer\").reducer,\n request:require(\"./request/reducer\").reducer,\n\n })\n );\n}\n","const Storage = window.localStorage;\n\nexport default Storage;","import { createLogic } from \"redux-logic\";\nimport { toast } from \"react-toastify\";\nimport { push } from \"connected-react-router\";\n// import adminActions from \"store/admin/actions\";\nimport authActions from \"src/store/auth/actions\";\nimport storage from \"src/services/storage\";\nimport jwtDecoder from \"jwt-decode\";\nimport * as moment from \"moment\";\n\nconst normalizeActionName = (actionName) => {\n if (actionName == undefined) {\n console.error(\"action is not correct passed to logic generator\");\n }\n return actionName\n .toLowerCase()\n .split(\"/\")\n .pop()\n .split(\"_\")\n .map((a, i) => (i > 0 ? a.charAt(0).toUpperCase() + a.substring(1) : a))\n .join(\"\");\n};\n\nconst sleep = (ms) => {\n return new Promise((resolve) => setTimeout(resolve, ms));\n};\n\n/**\n *\n * @param {String} apiNamespace api namespace\n * @param {String{}} options options which contain all options ,\n * @param {String} options.actionName => action name which will be executed,\n * @param {Function} options.successCb => custom success callback for more custom logic,\n * @param {Function} options.failCb => custom failure call back for custom error logic,\n * @param {String} options.successMessage => success message that will show on toastr when action successeded ,\n * @param {String} options.errorMessage => error message that will show on toastr when action failed,\n * @param {Boolean} options.showSuccessMessage => boolean if you have a custom success message by default false,\n * @param {Boolean} options.showErrorMessage => boolean if you have a custom error message by default false,\n *\n */\nexport const logic = (apiNamespace, options = {}) => {\n const {\n actionName,\n successCb,\n failCb,\n successMessage,\n errorMessage,\n showSuccessMessage,\n showErrorMessage,\n } = options;\n const api_name = normalizeActionName(actionName);\n const logic = createLogic({\n type: actionName,\n latest: true,\n\n async process({ getState, action, api }, dispatch, done) {\n try {\n _validateApi(api, apiNamespace, api_name, action);\n await refreshToken(api);\n //for testing\n //await sleep(5000);\n const res = await api[apiNamespace][api_name](action.payload);\n\n if (!res.ok) {\n if (res.status == 401) {\n const token = \"jwtToken\";\n const currentToken = storage.getItem(token);\n if (currentToken) storage.removeItem(token);\n // dispatch(adminActions.reset());\n dispatch(authActions.logout());\n dispatch(push(\"/\"));\n } else {\n const _errorMsg =\n res.data &&\n (res.data.errors ||\n res.data.errorMessage ||\n res.data.errorMessage);\n (\"Unknown Error\");\n dispatch({\n type: `${actionName}_FAIL`,\n payload: _errorMsg,\n error: true,\n });\n\n if (failCb) {\n failCb(dispatch, res.data);\n } else if (showErrorMessage) {\n if (errorMessage) toast.error(errorMessage);\n else {\n if (res.data && res.data.errorCode == \"404\") {\n toast.error(\"No data found\");\n } else {\n toast.error(res.data.errorMessage);\n }\n }\n }\n }\n } else {\n dispatch({\n type: `${actionName}_SUCCESS`,\n payload: res.data.payload,\n });\n successCb && successCb(dispatch, res.data.payload);\n if (showSuccessMessage) toast.success(successMessage);\n }\n } catch (err) {\n console.error(\"Unhandled error in logic \", err);\n dispatch({ type: `${actionName}_FAIL`, payload: err, error: true });\n failCb && failCb(dispatch);\n }\n done();\n },\n });\n return logic;\n};\n\nconst refreshToken = async (api) => {\n const token = localStorage.getItem(\"jwtToken\");\n if (token) {\n const decoder = jwtDecoder(token);\n if (decoder.exp < moment().unix()) {\n const refreshToken = localStorage.getItem(\"refreshToken\");\n const response = await api[\"auth\"][\"refreshToken\"]({\n token: token,\n refreshToken: refreshToken,\n });\n if (response.ok) {\n const payload = response.data.payload;\n localStorage.setItem(\"jwtToken\", payload.token);\n localStorage.setItem(\"refreshToken\", payload.refreshToken);\n }\n }\n }\n};\nfunction _validateApi(api, apiNamespace, api_name, action) {\n //todo: validatte api\n const func = api[apiNamespace][api_name];\n // console.log(\"res\",api_name,apiNamespace)\n if (!func) {\n }\n}\n\nexport default logic;\n","import { ActionTypes } from \"./actions\";\nimport logic from \"src/utils/genLogic\";\n\nconst apiNamespace = \"app\";\n\nconst pingLogic = logic(apiNamespace, {actionName:ActionTypes.PING});\nconst getCountriesLogic = logic(apiNamespace, {actionName:ActionTypes.GET_COUNTRIES});\nconst getCitiesLogic = logic(apiNamespace, {actionName:ActionTypes.GET_CITIES});\n\nexport default [pingLogic,getCountriesLogic,getCitiesLogic];\n","import { createLogic } from \"redux-logic\";\nimport { ActionTypes } from \"./actions\";\nimport logic from \"src/utils/genLogic\";\nimport { push } from \"connected-react-router\";\nimport jwtDecode from \"jwt-decode\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"auth\";\nconst getNotificationsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_NOTIFICATIONS,\n});\nexport const readNotificationLogic = createLogic({\n type: ActionTypes.READ_NOTIFICATION,\n latest: true,\n\n async process({ getState, action, api }, dispatch, done) {\n try {\n const res = await api.auth.readNotification(action.payload);\n if (!res.ok || !res.data.success) {\n dispatch({\n type: ActionTypes.READ_NOTIFICATION_FAIL,\n payload: res.data || \"Unknown Error\",\n error: true,\n });\n } else {\n dispatch({\n type: ActionTypes.READ_NOTIFICATION_SUCCESS,\n payload: res.data,\n });\n }\n } catch (err) {\n dispatch({\n type: ActionTypes.READ_NOTIFICATION_FAIL,\n payload: err,\n error: true,\n });\n }\n\n done();\n },\n});\nconst loginLogic = logic(apiNamespace, {\n actionName: ActionTypes.LOGIN,\n showErrorMessage: true,\n errorMessage: \"invalid_login \",\n showSuccessMessage: false,\n // successMessage:\"Welcome back\",\n successCb: (dispatch, payload) => {\n dispatch(push(\"/home\"));\n },\n});\nconst registerLogic = logic(apiNamespace, {\n actionName: ActionTypes.REGISTER,\n showErrorMessage: true,\n errorMessage: \"Invalid Registeration \",\n showSuccessMessage: false,\n // successMessage:\"Welcome back\",\n successCb: (dispatch, payload) => {\n dispatch(push(\"/verify-otp\"));\n },\n \n});\nconst refreshTokenLogic = logic(apiNamespace, {\n actionName: ActionTypes.REFRESH_TOKEN,\n});\nconst forgetPasswordOtpLogic = logic(apiNamespace, {\n actionName: ActionTypes.FORGET_PASSWORD_OTP,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: false,\n successMessage:,\n successCb: (dispatch,payload) => {\n dispatch(push(\"/reset-password-otp\"));\n },\n\n});\nconst resetPasswordOtpLogic = logic(apiNamespace, {\n actionName: ActionTypes.RESET_PASSWORD_OTP,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: false,\n successMessage:,\n successCb: (dispatch) => {\n dispatch(push(\"/login\"));\n },\n\n});\nexport const loginExternalLogic = logic(apiNamespace, {\n actionName: ActionTypes.LOGIN_EXTERNAL,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: false,\n // successMessage:\"Welcome back\",\n successCb: (dispatch, payload) => {\n dispatch(push(\"/home\"));\n },\n});\n\nconst changePasswordLogic = logic(apiNamespace, {\n actionName: ActionTypes.CHANGE_PASSWORD,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst updateProfileLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_PROFILE,\n showErrorMessage: true,\n errorMessage: \"Faild to update your profile\",\n showSuccessMessage: true,\n successMessage: \"Your profile updated successfully\",\n});\n\nexport default [\n changePasswordLogic,\n updateProfileLogic,\n loginLogic,\n registerLogic,\n loginExternalLogic,\n getNotificationsLogic,\n readNotificationLogic,\n refreshTokenLogic,\n forgetPasswordOtpLogic,\n resetPasswordOtpLogic\n];\n","// import { createLogic } from \"redux-logic\";\nimport logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { push ,goBack} from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"userManegment\";\nconst getUsersLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_USERS,\n showErrorMessage: true,\n showSuccessMessage: false,\n});\n\nconst getUserLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_USER,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst verifyOtpLogic = logic(apiNamespace, {\n actionName: ActionTypes.VERIFY_OTP,\n showErrorMessage: true,\n showSuccessMessage: true,\n successMessage: ,\n errorMessage:,\n successCb:(dispatch)=>{\n dispatch(push(\"/login\"));\n }\n});\nconst resendOtpLogic = logic(apiNamespace, {\n actionName: ActionTypes.RESEND_OTP,\n\n \n});\nconst getProfileDataLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PROFILE_DATA,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst handleSeenLogic = logic(apiNamespace, {\n actionName: ActionTypes.HANDLE_SEEN,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst getPermissionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PERMISSIONS,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst createUserLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_USER,\n showErrorMessage: true,\n successMessage: \"user created successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/users/list\"));\n },\n});\nconst createClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CLIENT,\n showErrorMessage: true,\n successMessage: \"user created successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(goBack());\n },\n});\nconst editClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_CLIENT,\n showErrorMessage: true,\n successMessage: \"user created successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(goBack());\n },\n});\nconst updateUserAvatarLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_USER_AVATAR,\n showErrorMessage: true,\n successMessage:,\n showSuccessMessage: true,\n errorMessage: ,\n\n});\nconst addClientDecisionLogic = logic(apiNamespace, {\n actionName: ActionTypes.ADD_CLIENT_DECISION,\n showErrorMessage: true,\n successMessage: \"request updated successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/requests/list\"));\n },\n});\nconst createUsersLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_USERS,\n showErrorMessage: true,\n successMessage: \"users created successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/users/list\"));\n },\n});\nconst createAppUserLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_APP_USER,\n showErrorMessage: true,\n successMessage: \"user created successfully\",\n showSuccessMessage: true,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/users/list\"));\n },\n});\nconst createRoleLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_ROLE,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/roles/list\"));\n },\n});\nconst getRolesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ROLES,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst getRoleLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ROLE,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst deleteUserLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_USER,\n showErrorMessage: true,\n successMessage: \"user Deleted successfully\",\n showSuccessMessage: true,\n});\nconst editUserLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_USER,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n // dispatch(push(\"/user-managment/users/list\"));\n dispatch(goBack())\n },\n});\nconst editRoleLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_ROLE,\n successCb: (dispatch) => {\n dispatch(push(\"/user-managment/roles/list\"));\n },\n});\nconst deleteRoleLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_ROLE,\n showErrorMessage: true,\n successMessage: \"Role Deleted successfully\",\n showSuccessMessage: true,\n});\nconst registerLogic = logic(apiNamespace, {\n actionName: ActionTypes.REGISTER,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: false,\n // successMessage:\"Welcome back\",\n successCb: (dispatch, payload) => {\n dispatch(push(\"/verify-otp\"));\n },\n \n});\n\nexport default [\n registerLogic,\n getUsersLogic,\n getProfileDataLogic,\n createUserLogic,\n resendOtpLogic,\n handleSeenLogic,\n createClientLogic,\n editClientLogic,\n verifyOtpLogic,\n createUsersLogic,\n updateUserAvatarLogic,\n createAppUserLogic,\n getRolesLogic,\n getUserLogic,\n deleteUserLogic,\n editUserLogic,\n createRoleLogic,\n getPermissionsLogic,\n deleteRoleLogic,\n editRoleLogic,\n getRoleLogic,\n addClientDecisionLogic,\n];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"settings\";\nconst getSettingsLogic = logic(apiNamespace, {actionName:ActionTypes.GET_SETTINGS});\n\nconst editSettingLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_SETTING,\n successCb: (dispatch) => {\n dispatch(push('/home/setting'))\n \n }});\n\n const editAllSettingsLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_ALL_SETTINGS,\n successCb: (dispatch) => {\n dispatch(push('/home/setting'))\n \n }});\n\n \n\nexport default [getSettingsLogic,editSettingLogic,editAllSettingsLogic];\n\n","import tenantActions, { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"tenant\";\n\nconst getAllTenantsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_TENANTS,\n});\nconst getTenantWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TENANT_WITH_ID,\n});\nconst createTenantLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_TENANT,\n successCb: (dispatch, payload) => {\n const tenantId = payload.id;\n window.location.replace(`/tenants/details/${tenantId}`);\n },\n});\nconst updateTenantLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_TENANT,\n});\nconst deleteTenantLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_TENANT,\n});\n//\nconst createTenantConfigurationLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_TENANT_CONFIGURATION,\n});\n\nconst createTenantContactLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_TENANT_CONTACT,\n successCb: (dispatch) => dispatch(tenantActions.resetDialog()),\n});\nconst updateTenantConfigurationLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_TENANT_CONFIGURATION,\n});\n\nconst updateTenantContactLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_TENANT_CONTACT,\n successCb: (dispatch) => dispatch(tenantActions.resetDialog()),\n});\n\nexport default [\n getAllTenantsLogic,\n getTenantWithIdLogic,\n createTenantLogic,\n updateTenantLogic,\n deleteTenantLogic,\n //\n createTenantConfigurationLogic,\n createTenantContactLogic,\n updateTenantConfigurationLogic,\n updateTenantContactLogic,\n];\n","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { push } from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\nconst apiNamespace = \"store\";\n\nconst getAllStoresLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_STORES,\n});\nconst getStoreWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_STORE_WITH_ID,\n});\nconst createStoreLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_STORE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/store/list\"));\n }\n});\nconst updateStoreLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_STORE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/store/list\"));\n}\n});\nconst deleteStoreLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_STORE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllStoresLogic,\n getStoreWithIdLogic,\n createStoreLogic,\n updateStoreLogic,\n deleteStoreLogic,\n];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"category\";\n\nconst getAllCategoriesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_CATEGORIES,\n});\n\nconst getParentCategoriesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PARENT_CATEGORIES,\n});\nconst getCategoryWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CATEGORY_WITH_ID,\n});\nconst createCategoryLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CATEGORY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/category/list\"));\n },\n});\n\nconst updateCategoryLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_CATEGORY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/category/list\"));\n },\n});\n\nconst deleteCategoryLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_CATEGORY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllCategoriesLogic,\n getCategoryWithIdLogic,\n createCategoryLogic,\n updateCategoryLogic,\n deleteCategoryLogic,\n getParentCategoriesLogic\n];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"product\";\n\nconst getProductWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PRODUCT_WITH_ID,\n});\nconst getAllProductsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_PRODUCTS,\n});\nconst getPublishedProductsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PUBLISHED_PRODUCTS,\n});\nconst createProductLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_PRODUCT,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/product/list\"));\n },\n});\n\nconst updateProductLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_PRODUCT,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/product/list\"));\n },\n});\n\nconst deleteProductLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_PRODUCT,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst getAllProductAttributesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_PRODUCT_ATTRIBUTES,\n});\nconst createProductAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_PRODUCT_ATTRIBUTE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/product/list\"));\n },\n});\n\nconst updateProductAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_PRODUCT_ATTRIBUTE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/product/list\"));\n },\n});\n\nconst deleteProductAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_PRODUCT_ATTRIBUTE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getProductWithIdLogic,\n getPublishedProductsLogic,\n getAllProductsLogic,\n createProductLogic,\n updateProductLogic,\n deleteProductLogic,\n getAllProductAttributesLogic,\n createProductAttributeLogic,\n updateProductAttributeLogic,\n deleteProductAttributeLogic,\n];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"attribute\";\n\nconst getAllAttributesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_ATTRIBUTES,\n});\nconst getAttributeWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ATTRIBUTE_WITH_ID,\n});\nconst createAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_ATTRIBUTE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n \n});\n\nconst updateAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_ATTRIBUTE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nconst deleteAttributeLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_ATTRIBUTE,\n});\n\nexport default [\n getAllAttributesLogic,\n getAttributeWithIdLogic,\n createAttributeLogic,\n updateAttributeLogic,\n deleteAttributeLogic,\n];\n","import codeAction, { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"code\";\n\nconst createCodeLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CODE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nconst assignCodeLogic = logic(apiNamespace, {\n actionName: ActionTypes.ASSIGN_CODE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nconst searchCodeLogic = logic(apiNamespace, {\n actionName: ActionTypes.SEARCH_CODE,\n});\n\nconst getAllowablePrefixLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALLOWABLE_PREFIX,\n});\n\nconst getAllowableStartLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALLOWABLE_START,\n});\nconst uploadCodestLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPLOAD_CODES,\n});\nconst getAllowableCountLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALLOWABLE_COUNT,\n});\nconst getCodeBatchesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CODE_BATCHES,\n});\nconst getBatchesForUpdateLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_BATCHES_FOR_UPDATE,\n});\nconst getBatchWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_BATCH_WITH_ID,\n});\nconst updateBatchLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_BATCH,\n});\nconst getCodeBatchesWithoutPaginationLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CODE_BATCHES_WITHOUT_PAGINATION,\n});\n\nexport default [\n createCodeLogic,\n uploadCodestLogic,\n getAllowableCountLogic,\n getBatchWithIdLogic,\n getAllowablePrefixLogic,\n getAllowableStartLogic,\n assignCodeLogic,\n updateBatchLogic,\n getCodeBatchesLogic,\n getBatchesForUpdateLogic,\n searchCodeLogic,\n getCodeBatchesWithoutPaginationLogic\n];\n","import logic from \"src/utils/genLogic\";\nimport actions, { ActionTypes } from \"./actions\";\nimport { push } from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\nconst apiNamespace = \"Cities\";\n\n\n\n\nconst getAllCountriesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_COUNTRIES,\n});\nconst createCountryLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_COUNTRY,\n\n});\nconst editCountryLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_COUNTRY,\n});\nconst deleteCountryLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_COUNTRY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n\n});\nconst getAllCitiesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_CITIES,\n});\nconst getCityWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CITY_WITH_ID,\n});\nconst createCityLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CITY,\n successCb: (dispatch) => {\n dispatch(push(\"/cities/list\"));\n },\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst editCityLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_CITY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteCityLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_CITY,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nconst getAllGovernoratesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_GOVERNORATES,\n});\nconst createGovernorateLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_GOVERNORATE,\n successCb: (dispatch) => {\n dispatch(push(\"/governorates/list\"));\n },\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst editGovernorateLogic = logic(apiNamespace, {\n actionName: ActionTypes.EDIT_GOVERNORATE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteGovernorateLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_GOVERNORATE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllCountriesLogic,\n createCountryLogic,\n editCountryLogic,\n deleteCountryLogic,\n \n getAllCitiesLogic,\n getCityWithIdLogic,\n createCityLogic,\n editCityLogic,\n deleteCityLogic,\n\n getAllGovernoratesLogic,\n createGovernorateLogic,\n editGovernorateLogic,\n deleteGovernorateLogic,\n];\n","\nimport { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"question\";\n\nconst getAllQuestionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_QUESTIONS,\n});\nconst getQuestionWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_QUESTION_WITH_ID,\n});\nconst createQuestionLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_QUESTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/questions/list\"));\n },\n\n});\nconst updateQuestionLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_QUESTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/questions/list\"));\n },\n});\nconst deleteQuestionLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_QUESTION,\n});\n\nexport default [\n getAllQuestionsLogic,\n getQuestionWithIdLogic,\n createQuestionLogic, \n updateQuestionLogic,\n deleteQuestionLogic\n];\n \n ","\nimport { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"suggestion\";\n\nconst getAllSuggestionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_SUGGESTIONS,\n});\nconst handleSeenLogic = logic(apiNamespace, {\n actionName: ActionTypes.HANDLE_SEEN,\n showErrorMessage: false,\n showSuccessMessage: false,\n});\nconst getSuggestionWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SUGGESTION_WITH_ID,\n});\nconst createSuggestionLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SUGGESTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteSuggestionLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SUGGESTION,\n});\n\n\nconst createContactUsLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CONTACT_US,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllSuggestionsLogic,\n createSuggestionLogic,\n handleSeenLogic,\n getSuggestionWithIdLogic,\n deleteSuggestionLogic,\n createContactUsLogic\n];\n \n ","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"transaction\";\n\nconst getUserTransactionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_USER_TRANSACTIONS,\n});\nconst getTransactionsWithOwnerIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TRANSACTIONS_WITH_OWNER_ID,\n});\nconst exportTransactionsWithOwnerToExcelLogic = logic(apiNamespace, {\n actionName: ActionTypes.EXPORT_TRANSACTIONS_WITH_OWNER_TO_EXCEL,\n});\nconst exportTransactionsWithServiceToExcelLogic = logic(apiNamespace, {\n actionName: ActionTypes.EXPORT_TRANSACTIONS_WITH_SERVICE_TO_EXCEL,\n});\nconst exportUsersTransactionsSummaryLogic = logic(apiNamespace, {\n actionName: ActionTypes.EXPORT_USERS_TRANSACTIONS_SUMMARY,\n});\nconst exportTransactionsWithWalletToExcelLogic = logic(apiNamespace, {\n actionName: ActionTypes.EXPORT_TRANSACTIONS_WITH_WALLET_TO_EXCEL,\n});\nconst getTransactionsWithServiceIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TRANSACTIONS_WITH_SERVICE_ID,\n});\nconst getClientPointsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_POINTS,\n});\nconst chargeProviderWalletLogic = logic(apiNamespace, {\n actionName: ActionTypes.CHARGE_PROVIDER_WALLET,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst getTransactionWithWalletIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TRANSACTION_WITH_WALLET_ID,\n});\nconst getTransactionWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TRANSACTION_WITH_ID,\n});\nconst createGiftPointsLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_GIFT_POINTS,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst scanCodeLogic = logic(apiNamespace, {\n actionName: ActionTypes.SCAN_CODE,\n showErrorMessage: false,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getUserTransactionsLogic,\n getTransactionWithIdLogic,\n chargeProviderWalletLogic,\n createGiftPointsLogic,\n getClientPointsLogic,\n scanCodeLogic,\n getTransactionsWithOwnerIdLogic,\n getTransactionsWithServiceIdLogic,\n getTransactionWithWalletIdLogic,\n exportTransactionsWithOwnerToExcelLogic,\n exportTransactionsWithServiceToExcelLogic,\n exportTransactionsWithWalletToExcelLogic,\n exportUsersTransactionsSummaryLogic\n];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { push } from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"companyInfos\";\n\nconst getCompanyInfoLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_COMPANY_INFO,\n});\nconst saveCompanyInfoLogic = logic(apiNamespace, {\n actionName: ActionTypes.SAVE_COMPANY_INFO,\n showerrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [getCompanyInfoLogic, saveCompanyInfoLogic];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\n\nconst apiNamespace = \"dashboard\";\n\n// categories\n\nconst getGeneralInfoLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_GENERAL_INFO,\n});\n\nconst getClientResponseLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_RESPONSE,\n});\nconst getProductsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PRODUCTS,\n});\nconst getOffersLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_OFFERS,\n});\nconst getClientResponcesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_RESPONCES,\n});\nconst getClientResponceWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_RESPONCE_WITH_ID,\n});\nconst getResponsesSummaryLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_RESPONSES_SUMMARY,\n});\nexport default [\n getGeneralInfoLogic,\n getClientResponseLogic,\n getProductsLogic,\n getOffersLogic,\n getClientResponcesLogic,\n getClientResponceWithIdLogic,\n getResponsesSummaryLogic\n];\n","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\nimport { push ,goBack} from \"connected-react-router\";\n\nconst apiNamespace = \"service\";\n\nconst checkParentProviderLogic = logic(apiNamespace, {\n actionName: ActionTypes.CHECK_PARENT_PROVIDER,\n});\n\nconst getServiceOptionVouchersLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_OPTION_VOUCHERS,\n});\n\nconst getServicesIntegrationLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICES_INTEGRATION,\n});\n\nconst getServiceChildrenLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_CHILDREN,\n});\nconst getServiceOptionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_OPTIONS,\n});\nconst getAllServicesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_SERVICES,\n});\nconst getServiceProvidersLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_PROVIDERS,\n});\nconst getServiceProviderWithIdLogic=logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_PROVIDER_WITH_ID,\n});\n\nconst getTypesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TYPES,\n});\nconst getServiceTypesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_TYPES,\n});\nconst getAvailableServicesLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_AVAILABLE_SERVICES,\n});\nconst validateVoucherLogic = logic(apiNamespace, {\n actionName: ActionTypes.VALIDATE_VOUCHER,\n});\nconst submitRedeemVoucherLogic = logic(apiNamespace, {\n actionName: ActionTypes.SUBMIT_REDEEM_VOUCHER,\n});\nconst redeemLogic = logic(apiNamespace, {\n actionName: ActionTypes.REDEEM,\n // showErrorMessage: true,\n // errorMessage: ,\n // showSuccessMessage: true,\n // successMessage: ,\n});\n\nconst getServiceOptionWithLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_OPTION_WITH_ID,\n});\nconst getServiceWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_WITH_ID,\n});\nconst getServiceTransactionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICE_TRANSACTIONS,\n});\nconst createServiceLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SERVICE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/service/list\"));\n }\n});\nconst createChildServiceLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CHILD_SERVICE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n});\nconst createServiceTypeLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SERVICE_TYPE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n \n});\nconst createServiceProviderLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SERVICE_PROVIDER,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n \n});\nconst createVouchersLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_VOUCHERS,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n});\n\nconst createServiceOptionLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SERVICE_OPTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n});\nconst updateServiceLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_SERVICE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/service/list\"));\n}\n});\nconst updateChildServiceLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_CHILD_SERVICE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n}\n});\nconst updateServiceProviderLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_SERVICE_PROVIDER,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n\n});\nconst updateServiceTypeLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_SERVICE_TYPE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nconst updateServiceOptionLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_SERVICE_OPTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(goBack());\n }\n});\nconst deleteServiceLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SERVICE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteServiceProviderLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SERVICE_PROVIDER,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteServiceTypeLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SERVICE_TYPE,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteServiceOptionLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SERVICE_OPTION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getServiceChildrenLogic,\n getServicesIntegrationLogic,\n getServiceOptionsLogic,\n getServiceOptionVouchersLogic,\n checkParentProviderLogic,\n getAllServicesLogic,\n getServiceProvidersLogic,\n validateVoucherLogic,\n submitRedeemVoucherLogic,\n getServiceWithIdLogic,\n getServiceTransactionsLogic,\n getTypesLogic,\n getServiceProviderWithIdLogic,\n createServiceLogic,\n createChildServiceLogic,\n createServiceTypeLogic,\n updateServiceLogic,\n updateChildServiceLogic,\n updateServiceTypeLogic,\n deleteServiceLogic,\n getServiceOptionWithLogic,\n createServiceOptionLogic,\n createServiceProviderLogic,\n updateServiceOptionLogic,\n updateServiceProviderLogic,\n deleteServiceOptionLogic,\n deleteServiceProviderLogic,\n deleteServiceTypeLogic,\n getServiceTypesLogic,\n createVouchersLogic,\n getAvailableServicesLogic,\n redeemLogic\n];\n","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { push } from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"notification\";\n\nconst sendNotificationLogic = logic(apiNamespace, {\n actionName: ActionTypes.SEND_NOTIFICATION,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst getChatsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CHATS,\n});\nconst getNotificationsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_NOTIFICATIONS,\n});\nconst joinChatLogic = logic(apiNamespace, {\n actionName: ActionTypes.JOIN_CHAT,\n});\n\nconst getOpennedChatLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_OPENNED_CHAT,\n});\nconst startChatLogic = logic(apiNamespace, {\n actionName: ActionTypes.START_CHAT,\n});\nconst sendMessageLogic = logic(apiNamespace, {\n actionName: ActionTypes.SEND_MESSAGE,\n});\nconst readNotificationLogic = logic(apiNamespace,{\n actionName: ActionTypes.READ_NOTIFICATION,\n});\n\nexport default [\n sendNotificationLogic,\n getNotificationsLogic,\n readNotificationLogic,\n getChatsLogic,\n startChatLogic,\n sendMessageLogic,\n joinChatLogic,\n getOpennedChatLogic\n];\n","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\n\nconst apiNamespace = \"productSku\";\n\nconst getAllProductSkusLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_PRODUCT_SKUS,\n});\nconst getProductSkuWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PRODUCT_SKU_WITH_ID,\n});\nconst createProductSkuLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_PRODUCT_SKU,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/sku/list\"));\n },\n});\nconst updateProductSkuLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_PRODUCT_SKU,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb: (dispatch) => {\n dispatch(push(\"/sku/list\"));\n },\n});\nconst deleteProductSkuLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_PRODUCT_SKU,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllProductSkusLogic,\n getProductSkuWithIdLogic,\n createProductSkuLogic,\n updateProductSkuLogic,\n deleteProductSkuLogic,\n];\n","\nimport { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { push } from \"connected-react-router\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"slap\";\n\nconst getAllSlapsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_SLAPS,\n \n});\nconst getSlapWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SLAP_WITH_ID,\n});\nconst createSlapLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_SLAP,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n // successCb: (dispatch) => {\n // dispatch(push(\"/slap/list\"));\n // }\n});\nconst updateSlapLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_SLAP,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n// successCb: (dispatch) => {\n// dispatch(push(\"/slap/list\"));\n// }\n });\nconst deleteSlapLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_SLAP,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [\n getAllSlapsLogic,\n getSlapWithIdLogic,\n createSlapLogic, \n updateSlapLogic,\n deleteSlapLogic\n];\n \n ","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { Trans } from \"@lingui/react\";\n\nconst apiNamespace = \"Advertisements\";\n\nconst getAdvertisementLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ADVERTISEMENT,\n});\nconst saveAdvertisementLogic = logic(apiNamespace, {\n actionName: ActionTypes.SAVE_ADVERTISEMENT,\n showerrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst updateAdvertisementLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_ADVERTISEMENT,\n showerrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\nconst deleteAdvertisementLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_ADVERTISEMENT,\n showerrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n});\n\nexport default [getAdvertisementLogic, saveAdvertisementLogic,deleteAdvertisementLogic,updateAdvertisementLogic];\n","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport { Trans } from \"@lingui/react\";\nimport { goBack } from \"connected-react-router\";\n\nconst apiNamespace = \"terms\";\n\nconst getTermsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TERMS,\n});\nconst getTermLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TERM,\n});\nconst updateTermsLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_TERMS,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb:(dispatch) => {\n dispatch(goBack());\n }\n});\nconst createTermLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_TERM,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb:(dispatch) => {\n dispatch(goBack());\n }\n \n});\nconst deleteTermsLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_TERMS,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n \n \n});\n\nexport default [\n getTermsLogic,\n deleteTermsLogic,\n updateTermsLogic,\n getTermLogic,\n createTermLogic\n];\n","\nimport { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"scibWalletTransactions\";\n\nconst getScibWalletTransactionsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SCIB_WALLET_TRANSACTIONS,\n});\nconst addPointsLogic = logic(apiNamespace, {\n actionName: ActionTypes.ADD_POINTS,\n showErrorMessage: true,\n errorMessage: ,\n showSuccessMessage: true,\n successMessage: ,\n successCb:()=>{\n // window.location.reload();\n }\n});\nconst getPointsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_POINTS,\n});\nexport default [\n getScibWalletTransactionsLogic,\n addPointsLogic,\n getPointsLogic\n\n];\n \n ","import { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\nconst apiNamespace = \"report\";\n\nconst getReportsListLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_REPORTS_LIST,\n});\nconst getProductAndCodesCountLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_PRODUCT_AND_CODES_COUNT,\n});\nconst getLastDaysSummaryOfRedemptionAndScanLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_LAST_DAYS_SUMMARY_OF_REDEMPTION_AND_SCAN,\n});\nconst getServicesRedemptionSummaryLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_SERVICES_REDEMPTION_SUMMARY,\n});\nconst getTopTenScannedProductsQueryLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_TOP_TEN_SCANNED_PRODUCTS_QUERY,\n});\nconst getUsersCountLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_USERS_COUNT,\n});\nconst generateFileLogic = logic(apiNamespace, {\n actionName: ActionTypes.GENERATE_FILE,\n});\n\nexport default [\n getReportsListLogic,\n getProductAndCodesCountLogic,\n getLastDaysSummaryOfRedemptionAndScanLogic,\n getServicesRedemptionSummaryLogic,\n getTopTenScannedProductsQueryLogic,\n getUsersCountLogic,\n generateFileLogic,\n];\n","\nimport { ActionTypes } from \"./actions\";\nimport logic from \"../../utils/genLogic\";\n\nconst apiNamespace = \"Client\";\n\nconst getAllClientsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_ALL_CLIENTS,\n});\nconst getClientWithIdLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_WITH_ID,\n});\nconst getClientInfoLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_CLIENT_INFO,\n});\nconst createClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.CREATE_CLIENT,\n});\nconst registerClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.REGISTER_CLIENT,\n});\nconst updateClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.UPDATE_CLIENT,\n});\nconst deleteClientLogic = logic(apiNamespace, {\n actionName: ActionTypes.DELETE_CLIENT,\n});\n\nexport default [\n getAllClientsLogic,\n getClientWithIdLogic,\n getClientInfoLogic,\n createClientLogic,\n registerClientLogic, \n updateClientLogic,\n deleteClientLogic\n];\n \n ","import logic from \"src/utils/genLogic\";\nimport { ActionTypes } from \"./actions\";\nimport notificationActions from \"src/store/notification/actions\";\n\nimport { Trans } from \"@lingui/react\";\nimport { push } from \"connected-react-router\";\n\nconst apiNamespace = \"request\";\n\nconst getNewRequestLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_NEW_REQUEST,\n});\n\nconst getRequestLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_REQUEST,\n successCb: (dispatch) => {\n dispatch(\n notificationActions.recieveNotification({\n title: \"Your request is finished\",\n body: \"the request\",\n link: \"requests/list\",\n })\n );\n },\n});\nconst getRequestsLogic = logic(apiNamespace, {\n actionName: ActionTypes.GET_REQUESTS,\n});\n\nexport default [getNewRequestLogic, getRequestLogic, getRequestsLogic];\n","import appLogic from \"./app/logic\";\nimport authLogic from \"./auth/logic\";\nimport usersLogic from \"./userManagement/logic\";\nimport settingLogic from \"./setting/logic\";\nimport tenantLogic from \"./tenant/logic\";\nimport storeLogic from \"./store/logic\";\nimport categoryLogic from \"./category/logic\";\nimport productLogic from \"./product/logic\";\nimport attributeLogic from \"./attribute/logic\";\nimport codeLogic from \"./code/logic\";\nimport cityLogic from \"./city/logic\";\nimport questionLogic from \"./question/logic\";\nimport suggestionLogic from \"./suggestion/logic\";\nimport transactionLogic from \"./transaction/logic\";\n//---------------------------\nimport companyInfoLogic from \"./companyInfo/logic\";\nimport dashboardLogic from \"./dashboard/logic\";\nimport parentServiceLogic from \"./service/logic\";\nimport notificationLogic from \"./notification/logic\";\nimport productSkuLogic from \"./productSku/logic\";\nimport slapLogic from \"./slap/logic\";\nimport advertisementLogic from \"./advertisement/logic\";\nimport termsLogic from \"./terms/logic\";\nimport scibWalletTransactions from \"./scibWallet/logic\";\nimport reportsLogic from \"./report/logic\";\nimport clientLogic from \"./client/logic\";\nimport requestLogic from \"./request/logic\";\n\n\nexport default [\n ...appLogic,\n ...authLogic,\n ...usersLogic,\n ...settingLogic,\n ...companyInfoLogic,\n ...dashboardLogic,\n ...tenantLogic,\n ...storeLogic,\n ...categoryLogic,\n ...productLogic,\n ...attributeLogic,\n ...codeLogic,\n ...cityLogic,\n ...questionLogic,\n ...parentServiceLogic,\n ...suggestionLogic,\n ...transactionLogic,\n ...notificationLogic,\n ...productSkuLogic,\n ...slapLogic,\n ...advertisementLogic,\n ...termsLogic,\n ...scibWalletTransactions,\n ...reportsLogic,\n ...clientLogic,\n ...requestLogic\n];\n","export default function (/**@type {ApisauceInstance} */ api) {\n const login = (loginRequest) => api.post(\"auth/login\", loginRequest);\n const register = (loginRequest) => api.post(\"auth/register\", loginRequest);\n const loginExternal = (payload) => api.post(\"auth/login-external\", payload);\n const forgetPasswordOtp = (payload) => api.post(\"auth/forget-password-otp\", payload);\n const resetPasswordOtp = (payload) => api.post(\"auth/reset-password-otp\", payload);\n const updateProfile = (loginRequest) =>\n api.post(\"auth/update-profile\", loginRequest);\n const changePassword = (loginRequest) =>\n api.post(\"auth/change-password\", loginRequest);\n const logout = (accessToken) => api.post(\"auth/logout\", { accessToken });\n const getNotifications = (payload) => api.get(\"notification/my-notification\", payload);\n const readNotification = (id) => api.put(\"notification/read-notification/\" + id);\n const refreshToken = (payload) => api.post(\"auth/refresh-token/\", payload);\n return {\n auth: {\n login,\n register,\n forgetPasswordOtp,\n resetPasswordOtp,\n loginExternal,\n logout,\n getNotifications,\n readNotification,\n updateProfile,\n changePassword,\n refreshToken,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getUsers = (paging) => api.get(\"/user-management/users/search\", paging);\n const register = (loginRequest) => api.post(\"auth/register\", loginRequest);\n const verifyOtp = (paging) => api.post(\"auth/verify-otp\", paging);\n const resendOtp = (paging) => api.post(\"auth/resend-otp\", paging);\n const getProfileData = () => api.get(\"/user-management/client-profile-data\");\n const updateUserAvatar = (payload) => api.put(\"/user-management/users/update-avatar\",payload);\n const getPermissions = () => api.get(\"/user-management/permissions\");\n const handleSeen = (payload) => api.post(\"/user-management/seen\",payload);\n const createUser = (payload) =>\n api.post(\"user-management/users/create\", payload);\n const createUsers = (payload) =>\n api.post(\"user-management/add-users\", payload);\n const createAppUser = (payload) =>\n api.post(\"user-management/users/app-user\", payload);\n const createClient= (payload) =>\n api.post(\"user-management/users/create-client\", payload);\n const editClient= ({ payload, id }) =>\n api.put(\"user-management/users/edit-client/\"+id, payload);\n const getUser = (id) => api.get(`user-management/users/find/${id}`);\n const getRoles = (paging) => api.get(\"user-management/roles\", paging);\n const deleteUser = (id) =>\n api.delete(`user-management/users/delete-user/${id}`);\n const createRole = (payload) =>\n api.post(\"user-management/roles/create\", payload);\n const editUser = ({ payload, id }) =>\n api.put(`user-management/users/edit/${id}`, payload);\n const deleteRole = (id) =>\n api.delete(`user-management/roles/remove/${id}`);\n const editRole = ({ payload, id }) =>\n api.put(`user-management/roles/edit/${id}`, payload);\n const getRole = (id) => api.get(`user-management/roles/find/${id}`);\n const addClientDecision = (payload) =>\n api.post(`user-management/users/decision`, payload);\n return {\n userManegment: {\n register,\n handleSeen,\n verifyOtp,\n resendOtp,\n getUsers,\n getProfileData,\n getUser,\n createUser,\n createClient,\n editClient,\n createUsers,\n updateUserAvatar,\n createAppUser,\n deleteUser,\n getRoles,\n editUser,\n createRole,\n getPermissions,\n deleteRole,\n editRole,\n getRole,\n addClientDecision,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getSettings = () => api.get(\"Setting/settings\");\n const editSetting = ({ payload, id }) => api.put(`Setting/edit-setting/${id}`, payload);\n const editAllSettings = (payload) => api.put(`Setting/edit-all-setting`, payload);\n \n \n return {\n settings: {\n getSettings,\n editSetting,\n editAllSettings\n }\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllTenants = (paging) => api.get(\"/tenant/search\", paging);\n\n const getTenantWithId = (id) => api.get(\"/tenant/find/\" + id);\n\n const createTenant = (payload) => api.post(\"/tenant/create\", payload);\n\n const updateTenant = (payload) =>\n api.put(\"/tenant/edit/\" + payload.id, payload);\n\n const deleteTenant = (id) => api.delete(\"/tenant/\" + id);\n\n //extra\n const createTenantConfiguration = (payload) =>\n api.post(\"/tenant/configuration\", payload);\n\n const updateTenantConfiguration = (payload) =>\n api.put(\"/tenant/edit-configuration\", payload);\n\n const createTenantContact = (payload) => api.post(\"/tenant/contact\", payload);\n\n const updateTenantContact = (payload) =>\n api.put(\"/tenant/edit-contact\", payload);\n return {\n tenant: {\n getAllTenants,\n getTenantWithId,\n createTenant,\n updateTenant,\n deleteTenant,\n //\n createTenantConfiguration,\n createTenantContact,\n updateTenantConfiguration,\n updateTenantContact,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllStores = (paging) => api.get(\"/store/search\", paging);\n \n const getStoreWithId = (id) => api.get(\"/store/find/\" + id);\n \n const createStore = (payload) => api.post(\"/store/create\", payload);\n \n const updateStore = (payload) => api.put(\"/store/edit\", payload);\n \n const deleteStore = (id) => api.delete(\"/store/remove/\" +id);\n \n return {\n store: {\n getAllStores,\n getStoreWithId,\n createStore,\n updateStore,\n deleteStore,\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllCategories = (paging) => api.get(\"/category/search\", paging);\n const getParentCategories = (paging) => api.get(\"/category/search\", paging);\n const getCategoryWithId = (id) => api.get(\"/category/find/\" + id);\n\n const createCategory = (payload) => api.post(\"/category/create\", payload);\n\n const updateCategory = (payload) => api.put(\"/category/edit\", payload);\n\n const deleteCategory = (id) => api.delete(\"/category/remove/\" + id);\n\n return {\n category: {\n getAllCategories,\n getCategoryWithId,\n createCategory,\n updateCategory,\n deleteCategory,\n getParentCategories\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllProducts = (paging) =>\n api.get(\"/product/search\", { ...paging, activeOnly: true });\n const getPublishedProducts = (paging) =>\n api.get(\"/product/feature-products\", paging);\n //const getProductWithId = (id) => api.get(\"/product/find/\" + id);\n\n const getProductWithId = (id) => api.get(\"/product/find-product/\" + id);\n\n const createProduct = (payload) => api.post(\"/product/create\", payload);\n\n const updateProduct = (payload) => api.put(\"/product/edit\", payload);\n\n const deleteProduct = (id) => api.delete(\"/product/remove/\" + id);\n // product attributes\n const getAllProductAttributes = (paging) =>\n api.get(\"/product/product-attribute/search\", paging);\n\n const createProductAttribute = (payload) =>\n api.post(\"/product/product-attribute/create\", payload);\n\n const updateProductAttribute = (payload) =>\n api.put(\"/product/product-attribute/edit\", payload);\n\n const deleteProductAttribute = (id) =>\n api.delete(\"/product/product-attribute/remove/\" + id);\n\n return {\n product: {\n getAllProducts,\n getPublishedProducts,\n getProductWithId,\n createProduct,\n updateProduct,\n deleteProduct,\n getAllProductAttributes,\n createProductAttribute,\n updateProductAttribute,\n deleteProductAttribute,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllAttributes = (paging) => api.get(\"/attribute/search\", paging);\n\n const getAttributeWithId = (id) => api.get(\"/attribute/find/\" + id);\n\n const createAttribute = (payload) => api.post(\"/attribute/create\", payload);\n\n const updateAttribute = (payload) => api.put(\"/attribute/edit\", payload);\n\n const deleteAttribute = (id) => api.delete(\"/attribute/remove/\" + id);\n\n return {\n attribute: {\n getAllAttributes,\n getAttributeWithId,\n createAttribute,\n updateAttribute,\n deleteAttribute,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const createCode = (payload) => api.post(\"/code-management/create\", payload);\n const assignCode = (payload) => api.post(\"/code-management/assign\", payload);\n const uploadCodes = (payload) => api.post(\"/code-management/assign-list\", payload);\n const searchCode = (props) => api.post(\"/code-management/code-status\", props);\n const getAllowableStart= (prefix) =>\n api.get(\"/code-management/allowble-start/\" + prefix);\n const getAllowablePrefix = (reference) =>\n api.get(\"/code-management/search-reference/\" + reference);\n const getAllowableCount = (prefix) =>\n api.get(\"/code-management/allowble-lenght/\" + prefix);\n const getCodeBatches = (payload) =>\n api.get(\"/code-management/code-batches\", payload);\n const getBatchesForUpdate = (payload) =>\n api.get(\"/code-management/batches-for-update\", payload);\n const getBatchWithId = (id) =>\n api.get(\"/code-management/find-batch/\"+ id);\n const updateBatch = (payload) =>\n api.put(\"/code-management/update-batch\", payload);\n const getCodeBatchesWithoutPagination = (payload) =>\n api.get(\"/code-management/code-batches-without-pagination\", payload);\n\n return {\n code: {\n searchCode,\n uploadCodes,\n createCode,\n getAllowablePrefix,\n getBatchWithId,\n getAllowableStart,\n getBatchesForUpdate,\n updateBatch,\n assignCode,\n getAllowableCount,\n getCodeBatches,\n getCodeBatchesWithoutPagination\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n\n\n const getAllCountries = (paging) => api.get(\"/Country/search\",paging);\n const getCountryWithId=(id)=>api.get(\"/Country/find/\" + id)\n const createCountry = (payload) => api.post(\"/Country/create\", payload);\n const editCountry = (payload) => api.put(\"/Country/edit\", payload);\n const deleteCountry = (id) => api.delete(\"/Country/remove/\"+id);\n \n const getAllCities = (paging) => api.get(\"/City/search\",paging);\n const createCity = (payload) => api.post(\"/City/create\", payload);\n const getCityWithId=(id)=>api.get(\"/City/find/\" + id)\n const editCity = ({payload}) => api.put(\"/City/edit\", payload);\n const deleteCity = (id) => api.delete(\"/City/remove/\"+id);\n \n const getAllGovernorates = (paging) => api.get(\"/governorate/search\",paging);\n const createGovernorate = (payload) => api.post(\"/governorate/create\", payload);\n const getGovernorateWithId=(id)=>api.get(\"/governorate/find/\" + id)\n const editGovernorate = ({payload}) => api.put(\"/governorate/edit\", payload);\n const deleteGovernorate = (id) => api.delete(\"/governorate/remove/\"+id);\n \n return {\n Cities: {\n getCountryWithId,\n getAllCountries,\n createCountry,\n editCountry,\n deleteCountry,\n\n getAllCities,\n createCity,\n getCityWithId,\n editCity,\n deleteCity,\n\n getAllGovernorates,\n createGovernorate,\n getGovernorateWithId,\n editGovernorate,\n deleteGovernorate,\n },\n };\n }\n \n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllQuestions = (paging) => api.get(\"/FastQustion/search\", paging);\n \n const getQuestionWithId = (id) => api.get(\"/FastQustion/find/\" + id);\n \n const createQuestion = (payload) => api.post(\"/FastQustion/create\", payload);\n \n const updateQuestion = (payload) => api.put(\"/FastQustion/edit\", payload);\n \n const deleteQuestion = (id) => api.delete(\"/FastQustion/remove/\" + id);\n \n return {\n question: {\n getAllQuestions,\n getQuestionWithId,\n createQuestion,\n updateQuestion,\n deleteQuestion,\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getCompanyInfo = () => api.get(`tenant/find-information`);\n const saveCompanyInfo = (payload) =>\n api.post(`/tenant/create-information`, payload);\n return {\n companyInfos: {\n saveCompanyInfo,\n getCompanyInfo,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllServices = (paging) => api.get(\"/Service/search\", paging);\n const getServicesIntegration = () => api.get(\"/Aggregator/Integration-services\");\n const getServiceOptionVouchers = (paging) => api.get(\"/Service/service-option-vouchers\", paging);\n const getServiceWithId = (id) => api.get(\"/Service/find/\" + id);\n const getServiceProviderWithId = (id) => api.get(\"/Service/service-provider/find/\" + id);\n const getServiceChildren = (id) => api.get(\"/Service/search-with-parent/\" + id);\n const getServiceOptions = (id) => api.get(\"/Service/service-options/\" + id);\n const getServiceTransactions= (payload) => api.get(\"/wallet-management/service-transactions\" , payload);\n const redeem=(payload)=>api.post(\"/redeem/voucher\" , payload);\n const getServiceTypes = () => api.get(\"/Service/all-services\");\n const getTypes = () => api.get(\"/Service/all-types\");\n const getServiceProviders=(paging)=>api.get(\"/Service/all-service-providers\",paging);\n const getAvailableServices = (paging) => api.get(\"/Service/user-available-service\",paging);\n const checkParentProvider = (id) => api.get(\"/Service/check-parent-provider/\"+id);\n const validateVoucher = (payload) => api.get(\"/Redeem/validate-voucher\",payload);\n const submitRedeemVoucher = (paging) => api.post(\"/Redeem/submit-voucher\",paging);\n const getServiceOptionWithId=(id)=>api.get(\"/Service/find-option/\" + id)\n const createService = (payload) =>api.post(\"/Service/create\", payload);\n const createChildService = (payload) =>api.post(\"/Service/create-child-service\", payload);\n const createServiceOption = (payload) =>api.post(\"/Service/create-option\", payload);\n const createServiceType= (payload) =>api.post(\"/Service/create-service-type\", payload);\n const createServiceProvider= (payload) =>api.post(\"/Service/create-service-provider\", payload);\n const createVouchers= (payload) =>api.post(\"/Service/create-vouchers\", payload);\n const updateService = (payload) => api.put(\"/Service/edit\", payload);\n const updateChildService = (payload) => api.put(\"/Service/edit\", payload);\n const updateServiceType = (payload) => api.put(\"/Service/edit-service-type\", payload);\n const updateServiceProvider = (payload) => api.put(\"/Service/edit-service-provider\", payload);\n const updateServiceOption = (payload) => api.put(\"/Service/edit-option\", payload);\n const deleteService = (id) => api.delete(\"/Service/remove/\" + id);\n const deleteServiceOption = (id) => api.delete(\"/Service/remove-option/\" + id);\n const deleteServiceType= (id) => api.delete(\"/Service/service-type/remove/\" + id);\n const deleteServiceProvider= (id) => api.delete(\"/Service/service-provider/remove/\" + id);\n\n\n\n\n return {\n service: {\n checkParentProvider,\n validateVoucher,\n submitRedeemVoucher,\n getAllServices,\n getServicesIntegration,\n getServiceOptionVouchers,\n getServiceProviderWithId,\n getTypes,\n getServiceProviders,\n getServiceChildren,\n getServiceOptions,\n getServiceWithId,\n getAvailableServices,\n getServiceTransactions,\n createService,\n createChildService,\n createServiceType,\n createVouchers,\n createServiceProvider,\n updateService,\n updateChildService,\n updateServiceProvider,\n updateServiceType,\n deleteService,\n deleteServiceType,\n getServiceOptionWithId,\n createServiceOption,\n updateServiceOption,\n deleteServiceOption,\n deleteServiceProvider,\n getServiceTypes,\n redeem\n\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllSuggestions = (paging) => api.get(\"/suggestion/search\", paging);\n const createSuggestion = (payload) => api.post(\"/suggestion/create\", payload);\n const handleSeen = (payload) => api.post(\"/suggestion/suggestion/seen\", payload);\n const createContactUs = (payload) => api.post(\"/suggestion/contact-us\", payload);\n\n const getSuggestionWithId=(id)=>api.get(\"/suggestion/find/\"+id)\n const deleteSuggestion= (id) => api.delete(\"/suggestion/remove/\" +id);\n \n return {\n suggestion: {\n getSuggestionWithId,\n createSuggestion,\n getAllSuggestions,\n handleSeen,\n deleteSuggestion,\n createContactUs\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getUserTransactions = (id) =>\n api.get(\"/wallet-management/user-transactions/\", id);\n\n const getTransactionsWithServiceId = (id) =>\n api.get(\"/wallet-management/service-transactions/\", id);\nconst chargeProviderWallet=(payload)=>api.post(\"/wallet-management/charge-provider-wallet\",payload) \n const getTransactionsWithOwnerId = (id) =>\n api.get(\"/wallet-management/owner-transactions/\", id);\n const getTransactionWithWalletId = (id) =>\n api.get(\"/wallet-management/wallet-transactions\" ,id);\n const getTransactionWithId = (id) =>\n api.get(\"/wallet-management/transaction/\" + id);\n const exportTransactionsWithOwnerToExcel = (payload) =>\n api.get(\"/wallet-management/report-transactions-ownerId\" , payload);\n const exportTransactionsWithServiceToExcel = (payload) =>\n api.get(\"/wallet-management/report-transactions-serviceId\" , payload);\n const exportTransactionsWithWalletToExcel = (payload) =>\n api.get(\"/wallet-management/report-transactions-walletId\" , payload);\n const exportUsersTransactionsSummary = (payload) =>\n api.get(\"/wallet-management/users-transactins-summary\" , payload);\n const getClientPoints = (id) =>\n api.get(\"/wallet-management/client-points/\" + id);\n \n\n const createGiftPoints = (payload) =>\n api.post(\"/wallet-management/create-gift/\", payload);\n\n const scanCode = (payload) =>\n api.post(\"/wallet-management/scan-for-client/\", payload);\n\n return {\n transaction: {\n getUserTransactions,\n chargeProviderWallet,\n getTransactionsWithServiceId,\n getTransactionWithId,\n getTransactionsWithOwnerId,\n getTransactionWithWalletId,\n exportTransactionsWithOwnerToExcel,\n exportTransactionsWithServiceToExcel,\n exportTransactionsWithWalletToExcel,\n exportUsersTransactionsSummary,\n createGiftPoints,\n getClientPoints,\n scanCode,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllSlaps = (paging) => api.get(\"/Slabs/search\", paging);\n \n const getSlapWithId = (id) => api.get(\"/Slabs/find/\" + id);\n \n const createSlap = (payload) => api.post(\"/Slabs/create\", payload);\n \n const updateSlap = (payload) => api.put(\"/Slabs/edit\", payload);\n \n const deleteSlap = (id) => api.delete(\"/Slabs/remove/\" +id);\n \n return {\n slap: {\n getAllSlaps,\n getSlapWithId,\n createSlap,\n updateSlap,\n deleteSlap,\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const sendNotification = (payload) =>\n api.post(\"/notification/send-notification\", payload);\n const getChats = (payload) =>api.get(\"/chat/get-chats\", payload);\n const getOpennedChat = (payload) =>api.get(\"/chat/get-openned-chat\", payload);\n const getNotifications = (payload) => api.get(\"notification/my-notification\", payload);\n const readNotification = (id) => api.put(\"notification/read-notification/\" + id);\n const startChat = (payload) =>api.post(\"/chat/start-chat\", payload);\n const joinChat = (payload) =>api.post(\"/chat/join-chat\", payload);\n const sendMessage = (payload) =>api.post(\"/chat/send-message\", payload);\n\n return {\n notification: {\n getNotifications,\n readNotification,\n getOpennedChat,\n sendNotification,\n getChats,\n startChat,\n sendMessage,\n joinChat\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAdvertisement= (payload) => api.get(`/Advertisement/search` , payload)\n const saveAdvertisement= (payload) => api.post(`/Advertisement/create`, payload);\n const updateAdvertisement= (payload) => api.put(`/Advertisement/edit`, payload);\n\n const deleteAdvertisement= (id) => api.delete(`/Advertisement/remove/`+ id);\n\n return {\n Advertisements: {\n getAdvertisement,\n saveAdvertisement,\n deleteAdvertisement,\n updateAdvertisement\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getScibWalletTransactions = (paging) => api.get(\"/wallet-management/owner-transactions\", paging);\n const addPoints = (paging) => api.post(\"/wallet-management/add-tenant-points\", paging);\n const getPoints = (id) => api.get(\"/wallet-management/Tenant-points/\"+id);\n\n\n \n return {\n scibWalletTransactions: {\n getScibWalletTransactions,\n addPoints,\n getPoints\n },\n };\n }\n ","\n\nexport default function (/**@type {ApisauceInstance} */ api) {\n\n const getTerms = (tenantId) =>\n api.get(\"/terms/search?TenantId=\"+tenantId);\n const updateTerms = (payload) => api.put(\"/terms/edit\", payload);\n const createTerm = (payload) => api.post(\"/terms/create\", payload);\n\n const getTerm = (id) => api.get(\"/terms/find/\" + id);\n\n const deleteTerms = (id) => api.delete(\"/terms/remove/\" + id);\n\n return {\n terms: {\n getTerms,\n updateTerms,\n deleteTerms,\n createTerm,\n getTerm,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllProductSkus = (paging) => api.get(\"/productsku/search\", paging);\n\n const getProductSkuWithId = (id) => api.get(\"/productsku/find/\" + id);\n\n const createProductSku = (payload) => api.post(\"/productsku/create\", payload);\n\n const updateProductSku = (payload) => api.put(\"/productsku/edit\", payload);\n\n const deleteProductSku = (id) => api.delete(\"/productsku/remove/\" + id);\n\n return {\n productSku: {\n getAllProductSkus,\n getProductSkuWithId,\n createProductSku,\n updateProductSku,\n deleteProductSku,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getReportsList = () => api.get(\"/reports/reports-list\");\n const getProductAndCodesCount = () =>\n api.get(\"/reports/count-of-products-codes\");\n const getLastDaysSummaryOfRedemptionAndScan = (payload) =>\n api.get(\"/reports/summary-redemption-scan\", payload);\n const getServicesRedemptionSummary = (payload) =>\n api.get(\"/reports/summary-services-redemption\", payload);\n const getTopTenScannedProductsQuery = (payload) =>\n api.get(\"/reports/top-products\", payload);\n const getUsersCount = () => api.get(\"/Auth-reports/users-count\");\n const generateFile = ({ path, filter }) =>\n api.get(`/reports/${path}`, filter);\n\n return {\n report: {\n getReportsList,\n getProductAndCodesCount,\n getLastDaysSummaryOfRedemptionAndScan,\n getServicesRedemptionSummary,\n getTopTenScannedProductsQuery,\n getUsersCount,\n generateFile,\n },\n };\n}\n","export default function (/**@type {ApisauceInstance} */ api) {\n const getAllClients = (paging) => api.get(\"/Client/search\", paging);\n const getClientWithId = (id) => api.get(\"/Client/find/\" + id);\n const getClientInfo= (id) => api.get(\"/Client/get-my-info\");\n\n const createClient = (payload) => api.post(\"/Client/create\", payload);\n const registerClient = (payload) => api.post(\"/Client/register\", payload);\n\n\n const updateClient = (payload) => api.put(\"/Client/edit\", payload);\n \n const deleteClient = (id) => api.delete(\"/Client/remove/\" + id);\n \n return {\n Client: {\n getAllClients,\n getClientWithId,\n createClient,\n registerClient,\n updateClient,\n deleteClient,\n getClientInfo\n },\n };\n }\n ","export default function (/**@type {ApisauceInstance} */ api) {\n const getNewRequest = (payload) =>\n api.get(\"/user-request/new-request\", payload);\n const getRequest = (id) => api.get(`/user-request/get-request/${id}`);\n const getRequests = (payload) => api.get(`/user-request/requests`, payload);\n \n return {\n request: {\n getNewRequest,\n getRequest,\n getRequests,\n },\n };\n }\n ","import apisauce from \"apisauce\";\nimport config from \"../configs\";\n\nimport authApi from \"./auth\";\nimport usersApi from \"./userManagement\";\nimport settingsApi from \"./setting\";\nimport tenantApi from \"./tenant\";\nimport storeApi from \"./store\";\nimport categoryApi from \"./category\";\nimport productApi from \"./product\";\nimport attributetApi from \"./attribute\";\nimport codeApi from \"./code\";\nimport cityApi from \"./city\";\nimport questionApi from \"./question\";\nimport companyInfoApi from \"./companyInfo\";\nimport servicesApi from \"./service\";\nimport suggestionApi from \"./suggestion\";\nimport transactionApi from \"./transaction\";\nimport slapApi from \"./slap\";\nimport notificationApi from \"./notification\";\nimport advertisementApi from \"./advertisement\";\nimport scibWalletTransactionsApi from \"./scibWallet\";\nimport termsApi from \"./terms\";\nimport productSkuApi from \"./productSku\";\nimport reportApi from \"./reports\";\nimport clientApi from \"./client\";\nimport requestApi from \"./request\";\n\n\n//---------------------\n\n// const apiURI = config.useLocalApi ? config.devApiRoot : config.apiRoot;\nconst apiURI = process.env.REACT_APP_BASE_API_URL;\nconst create = (baseURL = apiURI) => {\n const api = apisauce.create({\n baseURL,\n headers: {\n \"Cache-Control\": \"no-cache\",\n },\n timeout: 1200000, //30 sec\n });\n //add access token on each request\n\n api.addAsyncResponseTransform((response) => async () => {\n if (!response.ok) {\n const customeError = {\n errors: response.data.errors || [\n { errorMessage: response.data.message },\n ],\n errorMessage: response.data.message,\n status: response.status,\n code: response.data.errorCode,\n };\n response.data = customeError;\n }\n });\n\n api.addAsyncRequestTransform((request) => async () => {\n const token = localStorage.getItem(\"jwtToken\");\n const culture = localStorage.getItem(\"culture\");\n const cultureCode = localStorage.getItem(\"cultureCode\");\n const userIp = localStorage.getItem(\"userIp\");\n\n request.headers[\"culture\"] = culture || \"en\";\n request.headers[\"cultureCode\"] = cultureCode || \"en-US\";\n request.headers[\"userIp\"] = userIp || \"\";\n request.headers[\"tenantId\"] =\"01fva5pxqsyf74whc2s9j1syqg\";\n if (token) {\n request.headers[\"Authorization\"] = `Bearer ${token}`;\n } else {\n delete request.headers[\"Authorization\"];\n }\n });\n\n const auth = authApi(api);\n const users = usersApi(api);\n const settings = settingsApi(api);\n const tenant = tenantApi(api);\n const store = storeApi(api);\n const category = categoryApi(api);\n const product = productApi(api);\n const attribute = attributetApi(api);\n const code = codeApi(api);\n const city = cityApi(api);\n const question = questionApi(api);\n const companyInfo = companyInfoApi(api);\n const services = servicesApi(api);\n const suggestion = suggestionApi(api);\n const transaction = transactionApi(api);\n const notification = notificationApi(api);\n const slap = slapApi(api);\n const advertisements = advertisementApi(api);\n const terms = termsApi(api);\n const productSku = productSkuApi(api);\n const scibWalletTransactions = scibWalletTransactionsApi(api);\n const report= reportApi(api);\n const client = clientApi(api);\n const request=requestApi(api);\n\n\n // --------------------\n return {\n setHeader: api.setHeader,\n setHeaders: api.setHeaders,\n ...auth,\n ...users,\n ...settings,\n ...tenant,\n ...store,\n ...category,\n ...product,\n ...attribute,\n ...code,\n ...city,\n ...question,\n ...services,\n ...companyInfo,\n ...suggestion,\n ...transaction,\n ...notification,\n ...slap,\n ...productSku,\n ...advertisements,\n ...terms,\n ...scibWalletTransactions,\n ...report,\n ...client,\n ...request\n };\n};\n\nexport default { create };\n","import configureStore from \"./configureStore\";\n\n// Create redux store with history\nimport { createBrowserHistory } from \"history\";\nconst initialState = {};\nexport const history = createBrowserHistory();\nexport const { store, persistedStore } = configureStore(initialState, history);","import { createStore, applyMiddleware, compose } from \"redux\";\nimport { routerMiddleware } from \"connected-react-router\";\nimport { createLogicMiddleware } from \"redux-logic\";\nimport { persistStore } from \"redux-persist\";\n\n// import { loadingBarMiddleware } from \"./middlewares\";\nimport createReducer from \"./reducers\";\nimport logics from \"./logics\";\nimport API from \"../services\";\n\nexport default function configureStore(initialState, history) {\n // inject helpers, make requestUtil available to all logic\n const api = API.create();\n const injectedApi = { api };\n const logicMiddleware = createLogicMiddleware([...logics], injectedApi);\n\n // Create the store with two middlewares\n // 1. logicMiddleware: enables redux-logic\n // 2. routerMiddleware: Syncs the location/URL path to the state\n const middlewares = [\n //NOTE: later I will use this middleware to automate loading pattern, however this need to maintain a good name conventions for action that will cause this loading mechanism, not every async operation should display this loading screen\n //loadingBarMiddleware,\n logicMiddleware,\n routerMiddleware(history) // for dispatching history actions\n ];\n\n const enhancers = [applyMiddleware(...middlewares)];\n\n // If Redux DevTools Extension is installed use it, otherwise use Redux compose\n /* eslint-disable no-underscore-dangle */\n const composeEnhancers =\n process.env.NODE_ENV !== \"production\" && typeof window === \"object\" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__\n ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__\n : compose;\n /* eslint-enable */\n\n const rootReducer = createReducer(/* asyncReducers */ {}, history);\n \n const store = createStore(rootReducer, initialState, composeEnhancers(...enhancers));\n const persistedStore = persistStore(store);\n\n // Extensions\n store.logicMiddleware = logicMiddleware;\n store.asyncReducers = {}; // Async reducer registry\n store.history = history; //pass history singleton to store for async reloading\n\n // Make reducers hot reloadable, see http://mxs.is/googmo\n /* istanbul ignore next */\n if (module.hot) {\n module.hot.accept(\"./reducers\", () => {\n import(\"./reducers\").then(reducerModule => {\n const createReducers = reducerModule.default;\n const nextReducers = createReducers(store.asyncReducers, store.history);\n\n store.replaceReducer(nextReducers);\n });\n });\n }\n\n return { store, persistedStore };\n}\n","// ** React Imports\nimport { useEffect, useState, createContext } from 'react'\n\n// ** Create Context\nconst ThemeColors = createContext()\n\nconst ThemeContext = ({ children }) => {\n // ** State\n const [colors, setColors] = useState({})\n //** ComponentDidMount\n useEffect(() => {\n if (window !== 'undefined') {\n //** Get variable value\n const getHex = color => window.getComputedStyle(document.body).getPropertyValue(color).trim()\n\n //** Colors obj\n const obj = {\n primary: {\n light: getHex('--primary').concat('1a'),\n main: getHex('--primary')\n },\n secondary: {\n light: getHex('--secondary').concat('1a'),\n main: getHex('--secondary')\n },\n success: {\n light: getHex('--success').concat('1a'),\n main: getHex('--success')\n },\n danger: {\n light: getHex('--danger').concat('1a'),\n main: getHex('--danger')\n },\n warning: {\n light: getHex('--warning').concat('1a'),\n main: getHex('--warning')\n },\n info: {\n light: getHex('--info').concat('1a'),\n main: getHex('--info')\n },\n dark: {\n light: getHex('--dark').concat('1a'),\n main: getHex('--dark')\n }\n }\n\n setColors({ ...obj })\n }\n }, [])\n\n return {children}\n}\n\nexport { ThemeColors, ThemeContext }\n","// ** Logo\n// import logo from '@src/assets/images/logo/logo.png'\n\nimport themeConfig from 'src/configs/themeConfig'\n\nconst SpinnerComponent = () => {\n return (\n
\n logo\n
\n
\n
\n
\n
\n
\n )\n}\n\nexport default SpinnerComponent\n","// ** React Imports\nimport { useState, useEffect } from 'react'\n\n// ** Third Party Components\nimport { Button } from 'reactstrap'\nimport classnames from 'classnames'\n\n// ** Styles\nimport './ripple-button.scss'\n\nconst RippleButton = ({ className, children, onClick, ...rest }) => {\n // ** States\n const [mounted, setMounted] = useState(false)\n const [isRippling, setIsRippling] = useState(false)\n const [coords, setCoords] = useState({ x: -1, y: -1 })\n\n // ** Toggle mounted on mount & unmount\n useEffect(() => {\n setMounted(true)\n return () => setMounted(false)\n }, [])\n\n // ** Check for coords and set ripple\n useEffect(() => {\n if (mounted) {\n if (coords.x !== -1 && coords.y !== -1) {\n setIsRippling(true)\n setTimeout(() => setIsRippling(false), 500)\n } else {\n setIsRippling(false)\n }\n }\n }, [coords])\n\n // ** Reset Coords on ripple end\n useEffect(() => {\n if (mounted) {\n if (!isRippling) setCoords({ x: -1, y: -1 })\n }\n }, [isRippling])\n\n return (\n {\n const rect = e.target.getBoundingClientRect()\n setCoords({ x: e.clientX - rect.left, y: e.clientY - rect.top })\n if (onClick) {\n onClick(e)\n }\n }}\n {...rest}\n >\n {children}\n {isRippling ? (\n \n ) : null}\n \n )\n}\n\n// ** PropTypes\nRippleButton.propTypes = {\n ...Button.propTypes\n}\n\nButton.Ripple = RippleButton\n","/*eslint-disable */\n// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/)\n)\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href)\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets see https://github.com/facebook/create-react-app/issues/2374\n return\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config)\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n )\n })\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config)\n }\n })\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing\n if (installingWorker === null) {\n return\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n )\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration)\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.')\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration)\n }\n }\n }\n }\n }\n })\n .catch(error => {\n console.error('Error during service worker registration:', error)\n })\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl)\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type')\n if (response.status === 404 || (contentType !== null && contentType.indexOf('javascript') === -1)) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload()\n })\n })\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config)\n }\n })\n .catch(() => {\n console.log('No internet connection found. App is running in offline mode.')\n })\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister()\n })\n }\n}\n","import { Permission } from \"./userPermission\";\n\nexport default new Permission()","export class Permission {\n user = null;\n permissions = [];\n roles = [];\n constructor() {\n this.updateValues();\n }\n\n updateValues() {\n let u = localStorage.getItem('userData');\n this.user = u ? JSON.parse(u) : null\n this.permissions = this.user ? JSON.parse(this.user.permissions) : []\n this.roles = this.user &&this.user.role &&JSON.parse(this.user.role)||[]\n }\n can(permission) {\n if (!this.user){\n this.updateValues();\n }\n return this.permissions.includes(permission);\n }\n}\n\n// export const useCurrentUser=()=>{\n// let user = null;\n// let permissions = [];\n// let roles = [];\n\n// function updateValues() {\n// let u = localStorage.getItem('userData');\n// user = u ? JSON.parse(u) : null\n// permissions = user ? JSON.parse(user.permissions) : []\n// roles = user &&user.role &&JSON.parse(user.role)||[]\n// }\n\n// if(!user){\n// updateValues();\n// }\n// return {\n// user,\n// permissions,\n// roles\n// }\n\n// }\n","import { Trans } from \"@lingui/react\";\nimport React from \"react\";\n\nfunction TransKeyNotFound() {\n return (\n
\n \n \n \n \n\n \n\n
\n );\n}\n\nexport default TransKeyNotFound;\n","// ** React Imports\nimport { Suspense, lazy } from \"react\";\nimport ReactDOM from \"react-dom\";\n\n// ** Redux Imports\nimport { Provider } from \"react-redux\";\n// import { store } from './redux/storeConfig/store'\nimport { history, store } from \"./store\";\n\n// ** Toast & ThemeColors Context\nimport { ToastContainer } from \"react-toastify\";\nimport { ThemeContext } from \"./utility/context/ThemeColors\";\n\nimport { AbilityContext } from \"src/utility/context/Can\";\n// ** Spinner (Splash Screen)\nimport Spinner from \"./@core/components/spinner/Fallback-spinner\";\n\n// ** Ripple Button\nimport \"./@core/components/ripple-button\";\n\n// ** PrismJS\nimport \"prismjs\";\nimport \"prismjs/themes/prism-tomorrow.css\";\nimport \"prismjs/components/prism-jsx.min\";\n\n// ** React Perfect Scrollbar\nimport \"react-perfect-scrollbar/dist/css/styles.css\";\n\n// ** React Toastify\nimport \"@styles/react/libs/toastify/toastify.scss\";\n\n// ** Core styles\n\nimport \"./@core/assets/fonts/feather/iconfont.css\";\nimport \"./@core/scss/core.scss\";\nimport \"./assets/scss/style.scss\";\nimport \"@fortawesome/fontawesome-free/css/all.min.css\";\n// ** Service Worker\nimport * as serviceWorker from \"./serviceWorker\";\nimport { IntlProviderWrapper } from \"./utility/context/Internationalization\";\n// import ability from './configs/acl/ability';\nimport userAbility from \"src/configs/permission/userAbitlity\";\nimport { ConnectedRouter } from \"connected-react-router\";\nimport { Router } from \"react-router-dom\";\nimport SignalRProvider from \"./utility/providers/SignalRProvider\";\nimport TransKeyNotFound from \"./components/TransKeyNotFound\";\n\n// ** Lazy load app\nconst LazyApp = lazy(() => import(\"./App\"));\n\nReactDOM.render(\n \n \n }>\n \n \n \n \n {/* */}\n \n \n \n {/* */}\n \n \n \n \n \n \n ,\n document.getElementById(\"root\")\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","import { DIRECTIONS } from \"react-with-direction/dist/DirectionProvider\";\n\nexport const DEFAULT_DIRECTION = DIRECTIONS.LTR;\nexport const DEFAULT_LOCALE = \"en\";\nexport const DEFAULT_CURRENCY = \"SAR\";\n","import createReducer from \"src/utils/reduxsauce/createReducer\";\nimport { DEFAULT_LOCALE, DEFAULT_DIRECTION, getLocaleDirection, DEFAULT_CURRENCY } from \"../constants\";\nimport { ActionTypes } from \"./actions\";\nimport {locales} from \"../SupportedLocales\";\n\nimport { defaultState, bindReducers } from \"src/utils/genState\";\n\nconst initialState = {\n supportedLocales: locales,\n locale: locales[DEFAULT_LOCALE],\n direction: DEFAULT_DIRECTION,\n defaultCurrency: DEFAULT_CURRENCY,\n priceDisplay: \"baseprice\", //allawed values: baseprice, fees, prepayamount, totalamount\n lastPing: \"\",\n isLoadingHotels: false,\n layout: \"vertical\", // options[String]: \"vertical\"(default), \"horizontal\"\n theme: \"light\", // options[String]: 'light'(default), 'dark', 'semi-dark'\n sidebarCollapsed: false, // options[Boolean]: true, false(default)\n navbarColor: \"default\", // options[String]: default / primary / success / danger / info / warning / dark\n navbarType: \"floating\", // options[String]: floating(default) / static / sticky / hidden\n footerType: \"static\", // options[String]: static(default) / sticky / hidden\n disableCustomizer: true, // options[Boolean]: true, false(default)\n hideScrollToTop: false, // options[Boolean]: true, false(default)\n menuTheme: \"primary\", // options[String]: primary / success / danger / info / warning / dark\n extraStarred: [],\n suggestions: [],\n starred: [],\n defaultLat:21.4233733,\n defaultLong:39.821831,\n defaultZoom:12.5,\n ...defaultState(\"isoCountries\"),\n};\n\nconst changeLocale = (state, draft, locale) => {\n\n let _locale = locales[locale.code];\n if (!_locale) _locale = locales[DEFAULT_LOCALE];\n\n draft.locale = _locale;\n draft.direction = _locale.direction.toLowerCase() === \"rtl\" ? \"rtl\" : \"ltr\";\n localStorage.setItem(\"culture\", _locale.code);\n localStorage.setItem(\"language\", _locale.code);\n localStorage.setItem(\"cultureCode\", _locale.culture);\n localStorage.setItem(\"isRTL\", _locale.isRTL);\n\n // window.recaptchaOptions = {\n // lang: locale,\n // };\n\n document.getElementsByTagName(\"html\")[0].setAttribute(\"dir\", _locale.direction);\n document.getElementsByTagName(\"body\")[0].setAttribute(\"dir\", _locale.direction);\n document.getElementsByTagName(\"body\")[0].setAttribute(\"direction\", _locale.direction);\n document.getElementsByTagName(\"body\")[0].style.direction=_locale.direction;\n document.getElementsByTagName(\"body\")[0].style.textAlign=_locale.direction===\"RTL\"?\"right\":\"unset\";\n};\nconst changeCurrencySuccess = (state, draft, payload ) => {\n // const { currency } = payload;\n // draft.currency = SupportedCurrencies[currency];\n // storage.setItem(\"currency\", currency);\n};\n\nconst changePriceDisplay = (state, draft,{ priceDisplay }) => {\n draft.priceDisplay = priceDisplay;\n};\n\nconst ping = (state,draft, payload) => {\n draft.lastPing = payload;\n};\n\nconst setIsLoading = (state,draft, payload) => {\n draft.isLoadingHotels = true;\n};\n\nconst clearIsLoading = (state,draft, payload) => {\n draft.isLoadingHotels = false;\n};\n\n\n\nexport const reducer = createReducer(initialState, {\n ...bindReducers(ActionTypes, {action:\"setIsLoading\",async:false,successCb:setIsLoading}),\n ...bindReducers(ActionTypes, {action:\"clearIsLoading\",async:false,successCb:clearIsLoading}),\n ...bindReducers(ActionTypes, {action:\"changeLocale\",async:false,successCb:changeLocale}),\n});\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n checkParentProvider: { args: [\"payload\"], meta: { async: true } },\n getServiceChildren: { args: [\"payload\"], meta: { async: true } },\n getServicesIntegration: { args: [\"payload\"], meta: { async: true } },\n getServiceOptions: { args: [\"payload\"], meta: { async: true } },\n getServiceOptionVouchers: { args: [\"payload\"], meta: { async: true } },\n getAllServices: { args: [\"payload\"], meta: { async: true } },\n getTypes: { args: [\"payload\"], meta: { async: true } },\n getServiceProviders: { args: [\"payload\"], meta: { async: true } },\n getServiceProviderWithId: { args: [\"payload\"], meta: { async: true } },\n getServiceTypes: { args: [\"payload\"], meta: { async: true } },\n getAvailableServices: { args: [\"payload\"], meta: { async: true } },\n redeem: { args: [\"payload\"], meta: { async: true } },\n getServiceOptionWithId: { args: [\"payload\"], meta: { async: true } },\n getServiceWithId: { args: [\"payload\"], meta: { async: true } },\n getServiceTransactions: { args: [\"payload\"], meta: { async: true } },\n validateVoucher: { args: [\"payload\"], meta: { async: true } },\n submitRedeemVoucher: { args: [\"payload\"], meta: { async: true } },\n createService: { args: [\"payload\"], meta: { async: true } },\n createChildService: { args: [\"payload\"], meta: { async: true } },\n createServiceOption: { args: [\"payload\"], meta: { async: true } },\n createServiceProvider: { args: [\"payload\"], meta: { async: true } },\n createServiceType: { args: [\"payload\"], meta: { async: true } },\n createVouchers: { args: [\"payload\"], meta: { async: true } },\n updateService: { args: [\"payload\"], meta: { async: true } },\n updateChildService: { args: [\"payload\"], meta: { async: true } },\n updateServiceType: { args: [\"payload\"], meta: { async: true } },\n updateServiceProvider: { args: [\"payload\"], meta: { async: true } },\n updateServiceOption: { args: [\"payload\"], meta: { async: true } },\n deleteService: { args: [\"payload\"], meta: { async: true } },\n getServiceOptions: { args: [\"payload\"], meta: { async: true } },\n deleteServiceOption: { args: [\"payload\"], meta: { async: true } },\n deleteServiceProvider: { args: [\"payload\"], meta: { async: true } },\n deleteServiceType: { args: [\"payload\"], meta: { async: true } },\n setOption: { args: [\"payload\"], meta: { async: false } },\n setService: { args: [\"payload\"], meta: { async: false } },\n \n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n setSubmitRedeem: { args: [\"payload\"], meta: { async: false } },\n setServiceProvider: { args: [\"payload\"], meta: { async: false } },\n setRedeem: { args: [\"payload\"], meta: { async: false } },\n\n },\n {\n prefix: \"@app/service/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n\n getAdvertisement: { args: [\"payload\"], meta: { async: true } },\n saveAdvertisement: { args: [\"payload\"], meta: { async: true } },\n deleteAdvertisement: { args: [\"payload\"], meta: { async: true } },\n updateAdvertisement: { args: [\"payload\"], meta: { async: true } },\n\n setAdvertisement: { args: [\"payload\"], meta: { async: false } },\n\n\n showDialog: { args: [], meta: { async: false } },\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n },\n {\n prefix: \"@app/Advertisements/\",\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;\n","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getRequests: { args: [\"payload\"], meta: { async: true } },\n getNewRequest: { args: [\"payload\"], meta: { async: true } },\n getRequest: { args: [\"payload\"], meta: { async: true } },\n setCurrentPage: { args: [\"payload\"], meta: { async: false } },\n startRequest: { args: [\"payload\"], meta: { async: false } },\n filterPageRequest: { args: [\"payload\"], meta: { async: false } },\n addRequstToList: { args: [\"payload\"], meta: { async: false } },\n setRequest: { args: [\"payload\"], meta: { async: false } },\n\n },\n {\n prefix: \"@app/requests/\",\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions = Creators;\n","\nimport { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getScibWalletTransactions: { args: [\"payload\"], meta: { async: true } },\n addPoints: { args: [\"payload\"], meta: { async: true } },\n getPoints: { args: [\"payload\"], meta: { async: true } },\n setDestination: { args: [\"payload\"], meta: { async: false } },\n showDialog: { args: [], meta: { async: false } },\n\n showDeleteDialog: { args: [], meta: { async: false } },\n resetDialog: { args: [], meta: { async: false } },\n\n },\n {\n prefix: \"@app/scibWalletTransactions/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AuthActions=Creators;\n\n ","// You can customize the template with the help of this file\n\n//Template config options\nconst themeConfig = {\n app: {\n appName: '',\n appLogoImage: require('@src/assets/images/logo/scib-stars-new.png').default\n },\n layout: {\n isRTL: true,\n skin: 'light', // light, dark, bordered, semi-dark\n routerTransition: 'fadeIn', // fadeIn, fadeInLeft, zoomIn, none or check this for more transition https://animate.style/\n type: 'vertical', // vertical, horizontal\n contentWidth: 'full', // full, boxed\n menu: {\n isHidden: true,\n isCollapsed: false,\n },\n navbar: {\n // ? For horizontal menu, navbar type will work for navMenu type\n type: 'sticky', // static , sticky , floating, hidden\n backgroundColor: 'white' // BS color options [primary, success, etc]\n },\n footer: {\n type: 'static' // static, sticky, hidden\n },\n customizer: false,\n scrollTop: true // Enable scroll to top button\n }\n}\n\nexport default themeConfig\n","import { createActions } from \"src/utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n ping: { args: [], meta: { async: true } },\n changeLocale: { args: [\"payload\"] },\n changeCurrency: { args: [\"payload\"], meta: { async: true } },\n changePriceDisplay: { args: [\"payload\"] },\n setIsLoading: { args: [] },\n clearIsLoading: { args: [] },\n getCountries:{ args: [], meta: { async: true } },\n getCities:{ args: [], meta: { async: true } }\n },\n {\n prefix: \"@app/app/\"\n }\n);\n\nexport const ActionTypes = Types;\nexport default Creators;\nexport const AppActions = Creators;\n","// import { toAbsoluteUrl } from \"src/_metronic/_helpers\";\n\nexport const locales = {\n \"ar\": {\n \"code\": \"ar\",\n \"name\": \"العربية\",\n \"direction\": \"RTL\",\n // \"flag\": toAbsoluteUrl(\"/media/svg/flags/158-egypt.svg\"),\n \"culture\": \"ar-SA\",\n flag:\"eg\",\n isRTL:true,\n default: true\n },\n \"en\": {\n \"code\": \"en\",\n \"name\": \"English\",\n \"direction\": \"LTR\",\n // \"flag\": toAbsoluteUrl(\"/media/svg/flags/226-united-states.svg\"),\n \"culture\": \"en-US\",\n flag:\"us\",\n default: false\n }\n}","import { createActions } from \"../../utils/reduxsauce\";\n\nconst { Types, Creators } = createActions(\n {\n getSettings: { args: [], meta: { async: true } },\n editSetting:{ args: [\"payload\"], meta: { async: true } },\n editAllSettings:{ args: [\"payload\"], meta: { async: true } },\n },\n {\n prefix: \"@app/settings/\"\n }\n);\nexport const ActionTypes = Types;\nexport default Creators;"],"sourceRoot":""}