{"version":3,"sources":["models/enums.ts","actions/franchise-agents.actions.ts","shared/components/file-upload-button.tsx","shared/components/autocomplete.tsx","utils/common-utils.ts","utils/image.util.ts","screens/admin/site-logo/change-site-logo.tsx","shared/components/site-logo-editor.tsx","actions/action.ts","screens/admin/user-access/role-fields-mapping.ts","utils/nav-menu-util.ts","core/services/auth.service.ts","actions/customers.action-types.ts","shared/shared-reducer.tsx","reducers/auth.intialState.ts","reducers/customer-view.initial-state.ts","reducers/dashboard.initial-state.ts","reducers/create-letter.initial-state.ts","reducers/create-letter.reducer.ts","reducers/fast-edit.initial-state.ts","actions/fast-edit.action-types.ts","reducers/import-report.initial-state.ts","reducers/config.initialState.ts","reducers/index.tsx","reducers/auth.reducer.ts","reducers/config.reducer.ts","reducers/dashboard.reducer.ts","reducers/customer-view.reducer.ts","reducers/fast-edit-accounts.reducer.ts","reducers/import-report.reducer.ts","store/store.tsx","screens/not-found.tsx","shared/components/footer.tsx","shared/components/menu.tsx","shared/components/global-customer-search.tsx","shared/components/site-logo.tsx","shared/components/header.tsx","shared/components/left-nav.tsx","screens/auth/logout/logout.tsx","screens/auth/login/login.tsx","core/services/routing-service.ts","routes.tsx","shared/components/fullscreen-loader.tsx","shared/components/fullscreen-loader-inner.tsx","utils/app-utils.ts","core/components/app-level-operations/client-todo-notification.tsx","core/components/app-level-operations.component.tsx","app.tsx","core/http-interceptors.ts","index.tsx","shared/components/async-component.tsx","actions/auth.action-types.ts","shared/actions/action-types.tsx","core/components/private-route.tsx","utils/http-url.util.ts","actions/auth.actions.ts","actions/config.actions.ts","actions/create-letter.action-types.ts","shared/actions/shared.actions.ts","assets/img/logo.jpg","assets/img/mini-logo.jpg","assets/img/avatar.png","assets/img/avatar2.png","assets/img/avatar3.png","assets/img/avatar4.png","assets/img/boxed-bg.jpg","assets/img/mailchimp_small.svg","assets/img/mail-chimp.svg","assets/img/todo.svg","assets/img/logoMissing.png","assets/img/bureau-logos/eqf-sm.svg","assets/img/bureau-logos/eqf-md.svg","assets/img/bureau-logos/exp-sm.svg","assets/img/bureau-logos/exp-md.svg","assets/img/bureau-logos/tu-sm.svg","assets/img/bureau-logos/tu-md.svg","assets/img/chatgpt.svg","shared/constants.tsx","actions/dashboard.action-types.ts","actions/importer.action-types.ts","actions/config.action-types.ts","shared/components/button.tsx","shared/components/modal.tsx","actions/customers.actions.ts","shared/components/bureau-logo.tsx","shared/components/search-customers.tsx","environments/environment.js","actions/media.actions.ts","actions/leads.actions.ts","actions/referral.actions.ts"],"names":["NotesTypes","GrantType","Alignment","AccountTypes","AutoSelectTypesForLetters","EnumBureaus","EnumBureausShorts","EnumControlTypes","EnumComponentMode","EnumSearchOptions","EnumRoles","CollectionEntryTypes","GlobalParams","SearchType","LetterSearchTypes","Outcome","LetterOptionsConfirm","EnumFieldRights","EnumScreens","ToDoTargetTypes","AutoCompleteSearchTypes","ReferralCustomerTypes","EmailTemplatesTypes","IMAGETYPES","SortOrderType","EmailTemplateOptionTypes","GlobalReasonsExamples","UpdateScoreSource","ChatGPTModes","ChatGPTModels","DisputeReason","getFranchseAgentsList","payload","source","query","dispatch","Promise","resolve","reject","a","url","APIConstants","getFranchiseAgentsList","axios","post","cancelToken","token","then","result","res","agents","data","offices","map","x","Name","Value","roles","catch","err","getFranchiseAgentNotes","membershipId","get","CommonUtils","formatString","AddFranchiseAgentNotes","addFranchiseAgentNote","deleteFranchiseAgentNote","noteid","delete","getFranchiseAgentCustomers","agentId","getFranchiseAgentReferrals","resedWelcomeEmailFranchAgent","franchAgentWelcomeEmail","updateLockOrUnlockAgentAccount","lockUser","put","updateLockOrUnlockAgentUser","FileUploadButton","forwardRef","props","ref","useState","selectedFiles","setSelectedFiles","fileRef","createRef","useImperativeHandle","openFile","selectFile","current","click","onChange","list","arr","Array","from","length","value","className","f","index","name","title","onClick","e","onClose","label","type","target","files","AutoComplete","text","setText","useDebounce","debouncedText","minSearchLength","inputRef","useRef","CancelToken","axiosSource","setAxiosSource","loading","setLoading","disableSearch","setDisableSearch","suggestions","setSuggestions","useEffect","cancel","Messages","APIAborted","t","typedString","onSelect","avoidMergeChangeWithSelectEvent","asyncData","suggs","isCancel","makeQueries","displayText","replace","RegExp","size","color","getItemValue","item","items","renderInput","prop","isTextArea","renderItem","isHighlighted","style","background","dangerouslySetInnerHTML","__html","abbreviation","inputProps","display","width","padding","fontSize","height","lineHeight","borderBottomColor","trim","placeholder","autoFocus","trimStart","menuStyle","borderRadius","boxShadow","position","zIndex","overflow","maxHeight","showSubmitArrow","count","currentYear","Date","getFullYear","years","push","toString","str","Object","keys","forEach","key","replaceAll","strDate","Intl","DateTimeFormat","year","month","day","format","strPhone","currentValue","cvLength","slice","test","cid","allAvailableScreens","opts","id","screenId","CustomerList","ClientRoutesConstants","customers","CustomerDetails","customersView","FastEdit","fastEditAccounts","CreateLetter","createLetter","ReportImporter","reportImporter","filter","includes","ViewLeads","leads","AddLead","viewLeads","ViewReferralAgents","referralAgents","AddReferralAgent","viewReferralAgents","Variables","STANDARD_FASTRACK","websiteName","path","isOutsourced","d","dateNew","moment","outcome","toLowerCase","DELETED","REPAIRED","SATISFACTORY","DO_NOT_DISPUTE_BY_CONSUMER","html","indent","split","element","match","substring","startsWith","temp","document","createElement","innerHTML","textContent","innerText","error","Math","floor","random","options","console","log","msg","passwordDoesNotMatch","screenName","this","ClientPageErrors","LeadsPageErrors","ViewFranchiseOffices","CompanyOfficesPageErrors","screenMode","Add","password","confirmPassword","PageErrors","commonErrors","passwordMatch","ViewReferralOffices","AffiliateOfficesPageErrors","ViewReferralOfficesAgentsTab","AffiliateOfficesAgentTabPageErrors","lastIndexOf","firstName","lastName","email","transactionType","clientPageErrors","processingStatus","franchise","franchiseId","cellPhone","leadsPageErrors","isPublic","office","officeId","companyOfficeErrors","role","isValid","validPassword","passwordRequired","userName","usernameRequired","agent","affiliateOfficeErrors","officeName","classification","officeType","Edit","agentsTab","affiliateOffice","data1","data2","order","subKey","ASC","localeCompare","d1","d2","pwd","passwordStrength","PASSWORDSTRENGTH","isNegativeAccount","account","pastDueCorrectValues","accountTypeName","Inquiry","PersonalInfo","some","m","isChargeoffIndicator","isCollectionIndicator","isDerogatoryDataIndicator","tuPastDue","eqfPastDue","expPastDue","isNewNegativeAccount","isInsertedEQF","isInsertedEXP","isInsertedTU","setEmbedScriptsUrl","customer","fullName","generateUniqueFileName","start","extension","now","String","getMonth","padStart","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","ImageUtils","image","crop","fileName","canvas","pixelRatio","window","devicePixelRatio","scaleX","naturalWidth","scaleY","naturalHeight","ctx","getContext","setTransform","imageSmoothingQuality","drawImage","y","toBlob","blob","URL","revokeObjectURL","fileUrl","createObjectURL","_","reader","FileReader","onloadend","readAsDataURL","ChangeSiteLogoComponent","connect","bindActionCreators","uploadLogo","updateKey","uploading","setUploading","src","setSrc","unit","aspect","setCrop","imageRef","setimageRef","croppedImageBase64","setCroppedImageBase64","btnRef","makeClientCrop","c","getCroppedImg","getBase64FromBlob","ruleOfThirds","onImageLoaded","img","onComplete","percentCrop","classNames","addEventListener","imageBase64","toastr","success","onSuccess","response","SiteLogoEditorComponent","getAction","actionType","RoleMappings","screen","description","rules","fields","Customer","right","Hide","Processor","ReadOnly","Show","ReferralAgent","ReferralManager","AddCustomer","Dashboard","CreditAgent","AddFranchiseOffice","AddReferralOffice","ViewFranchiseAgents","AddFranchiseAgent","LetterTemplates","AdminSettings","PortalIntegration","AffiliateSignUp","CBReportViewer","UserAccess","OfficeManager","menus","dashboard","iconClass","tooltip","opened","submenus","customersAdd","leadAdd","franchiseOffices","addFranchiseOffice","franchiseAgents","addFranchiseAgent","referralOffices","addReferralOffice","addReferralAgent","emailTemplates","masterData","MasterData","myTasksAgents","MyTasksAgents","myTasksReferralAgents","MyTasksReferralAgents","AuthService","Constants","authSessionKey","UrlUtils","getPartnerKey","isPartnerKeyInvalid","oldKeys","localStorage","getItem","JSON","parse","json","stringify","partnerKey","setItem","inMemorySesssion","cachedRole","session","s","getSession","access_token","refresh_token","jwt_decode","getCurrentJWTPayload","remoteRules","currRole","currentRole","availableScreenIds","menu","availSubMenus","Administrator","mappings","find","tenant","opener","location","href","origin","close","isFieldHidden","memoizeOne","fieldName","roleEntry","isFieldReadOnly","isScreenHidden","CustomerActionTypes","SET_STATUSES","SET_API_ACTIVE","SET_STATES","SET_PARTNER_KEY","SET_S3_FILES","SET_ADMIN_SETTINGS","SET_AGENTS","SET_DISPUTE_STATS","SET_DISPUTE_STATS_LOADING","SET_FETCH_REPORT_DATE","SET_IS_LOADING_FETCH_REPORT","initialState","logoChangedKey","todos","toggleToDo","passwordNotStrong","leftMenuOpened","isMobile","AuthInitialState","auth","isLoggedIn","loggedInUserDetails","token_type","expires_in","isGettingPublicToken","isLocked","lockedMessage","CustomersListInitialState","statuses","apiActive","states","hasPartneryKey","s3Files","adminSettings","disputeStats","disputeStatsLoading","DashboardInitialState","customerCounts","customersTotal","customersToday","customersThisWeek","customersQueue","referrals","referralOfficesTotal","referralOfficesToday","referralOfficesThisWeek","referralAgentsTotal","referralAgentsToday","referralAgentsThisWeek","franchises","franchiseOfficesTotal","franchiseAgentsTotal","franchiseAgentsToday","franchiseAgentsThisWeek","dashboardRoles","customerLetters","needingDocumentsCounts","needingDocumentsTotal","needingPOR","needingID","needingSS","needingDocs","needingNewRoundCount","needingNewReportCount","CreateLetterInitialState","letterSource","sources","isShowMore","letterOptions","selectedAccounts","accounts","activeTab","advanced","reloadTempLetter","reloadDisputeLetters","tempLetters","roundInfo","isDisabled","isAvailableToSelect","resetFields","draft","CRA","TransUnion","Experian","Equifax","Creditor","CC","BCC","resetAccounts","mapBureauToShort","search","TU","EXP","EQF","CREDITOR","reportImportedDate","FastEditstate","FastEditActionTypes","ImportReportInitialState","deletedAccounts","deletedCreditInquiries","newNegativeAccounts","newPositiveAccounts","newCreditInquiries","updatedAccounts","ConfigInitialState","configurations","combinedReducer","combineReducers","authModel","state","action","produce","AuthActionTypes","CHECK_LOGIN_SUCCESS","CHECK_LOGIN_FAILURE","SET_LOGOUT","SET_LOGGED_IN_DETAILS","SET_GETTING_GUEST_TOKEN","PORTAL_LOCKED","configModel","ConfigActionTypes","SET_CONFIGURATIONS","REMOVE_CONFIGURATIONS","dashboardModel","DashboardActionTypes","SET_CUSTOMER_COUNTS","SET_LETTER_COUNTS","SET_ROLE_COUNTS","SET_REFERRAL_COUNTS","SET_FRANCHISE_COUNTS","SET_NEEDING_DOCUMENTS_COUNTS","SET_NEEDING_NEW_ROUND_COUNTS","SET_NEEDING_NEW_REPORT_COUNTS","customerViewModel","getFetchReportDate","setIsLoadingFetchReport","createLetterModel","CreateLetterActionTypes","RESET_ACCOUNTS","SET_AUTOSELECT_OPTIONS","autoSelectOptions","SET_LETTER_SOURCE","SET_LETTER_OPTIONS","SET_SELECTED_ACCOUNTS","SET_LETTER_ACCOUNTS","SET_LAST_REPORT_DATE","reportDate","SET_LETTER_TEMPLATE","bureau","tus","tuAccountBureauId","EMPTY_GUID","tuOutcome","disabled","checked","exps","expAccountBureauId","expOutcome","eqfs","eqfAccountBureauId","eqfOutcome","availableAccs","buearus","isTU","isEXP","isEQF","accs","allbuearus","newData","getOwnPropertyNames","SET_LETTER_TEMPLATE_WITH_AUTOSELECT","SET_LETTER_ADVANCED","SET_LETTER_ACTIVETAB","SET_TEMP_LETTER_RELOAD","SET_DISPUTE_LETTERS_RELOAD","SET_CUSTOMER_ROUND_INFO","SET_TEMP_LETTERS","SET_LETTERS_CREATED","lettersCreated","fastEditModel","sharedModel","SharedActionTypes","SET_AUTH_RULES","AuthRules","SET_ACCESSIBLE_SCREENS","currentAccessibleScreens","SHOW_INNER_SPINNER","isLoaderShownInner","loaderInnerMessage","message","LOGO_CHANGED","USER_TODOS","TOGGLE_TODOS","HIDE_TODOS","PASSWORD_NOT_STRONG","LEFT_MENU_OPEN","NAVIGATE_TODOS_TAB","navigateToToDos","importReportModel","ImporterActionTypes","SET_DELETED_ACCOUNTS_COUNTS","SET_DELETED_INQUIRIES_COUNTS","SET_NEW_INQUIRIES_COUNTS","SET_NEW_NEGATIVE_ACCOUNTS_COUNTS","SET_NEW_POSITIVE_ACCOUNTS_COUNTS","SET_UPDATED_ACCOUNTS_COUNTS","store","createStore","applyMiddleware","thunk","NotFoundComponent","FooterComponent","MenuComponent","wrapperRef","open","setOpen","containerCssClass","iconComponent","subComponents","handleClickOutside","event","contains","removeEventListener","preventDefault","GlobalCustomerSearch","selected","setSelected","setMenus","onSelectedData","isLead","LeadsMenus","isReferralAgent","ReferralAgentsMenus","CustomersMenus","classnames","searchTypes","CUSTOMER_LEAD_AFFILIATEAGENT","defaultValue","franchiseOfficeName","franchiseAgentName","referralAgentName","telephone","processingType","to","setTimeout","SiteLogoComponent","logoKey","setRole","logoUrlMini","setlogoUrlMini","logoUrl","setlogoUrl","ofclogoUrlMini","setOfclogoUrlMini","ofclogoUrl","setOfclogoUrl","openEditor","setOpenEditor","p","baseUrl","getBaseUrl","siteLogoPath","siteLogoMiniPath","officeLogoPath","mainFranchiseOfficeId","officeLogoMiniPath","allowEditLogo","sidebarCollapsed","getTime","logoMissing","loader","Spinner","halfFullScreen","isVisible","SITE_LOGO","saved","HeaderComponent","searchOpened","showCustomerSearch","isAdmin","selectedSearch","togggleSdeBar","bind","toggleSearch","onSearchSelectedData","docClickHandler","toggleDrawer","onNotifyClick","toggleLeftMenu","body","classList","add","remove","stopPropagation","setState","toggle","toggleToDoShared","indd","toDoText","adminUserAccess","portalIntegration","loginHistory","security","logout","React","PureComponent","LeftNavComponent","availableMenus","getLeftMenuOptions","getMenuItems","getSubmenuItems","nestedMenuClickHandle","ev","splice","ms","withRouter","LogoutComponent","setLogout","history","login","reload","LoginComponent","uPass","uName","isLoginFromRemoteSite","URLSearchParams","isLoading","isError","username","noValues","redirectToReferrer","viewPass","axiousSource","onLoginHandler","onkeyDown","performLogin","setLogin","grant_type","isPasswordStrong","getAuthRules","mapping","RedirectToRemoteLoginWindow","setLoginComplete","focus","pathname","htmlFor","onKeyDown","onMouseDown","onMouseUp","forgetPassword","checkLogin","RoutingService","route","isolateRoutes","htmlParser","htmlFreeScoreParser","leadAddPublic","AsyncDashboardComponent","asyncComponent","AsyncRegisterComponent","AsyncForgetPwdComponent","AsyncCustomerListComponent","AsyncCustomerListFilterComponent","AsyncFastEditAccountsComponent","AsyncCreateLetterComponent","AsyncReportImporterComponent","AsyncPortalIntegrationComponent","AsyncAffiliateSignupComponent","AsyncCbReportViewerComponent","AsyncUserAccessComponent","AsyncUnAuthComponent","AsyncSecurityComponent","AsyncResetPasswordComponent","AsyncHTMLReportPrserComponent","AsyncHTMLReportMyFreeScoreParserComponent","AsyncFranchiseOfficesListComponent","AsyncLeadsListComponent","AsyncFranchiseAgentsListComponent","AsyncReferralOfficesListComponent","AsyncReferralAgentsListComponent","AsyncEmailTempaltesListComponent","AsyncPublicCreateLeadComponent","AsyncMasterDataComponent","AsyncLoginHistoryComponent","AsyncEditTypesComponent","Routes","useLocation","isIsolateRoutes","currentRouteNotIsolate","listner","ReactTooltip","hide","exact","component","render","propsLogin","register","passwordReset","customersListFilter","affiliateSignup","cbReportViewer","viewEmailTemplates","editTypes","unauthorized","FullScreenLoader","FullScreenLoaderInner","AppUtils","widgetRemoved","isHelpWidgetDisabled","removeHelpWidget","hideHelpWidget","showHelpWidget","widget","getElementById","CUSTOMER","FRANCHISE_AGENT","ADMIN","OFFICEMANAGER","PROCESSOR","REFERRAL_AGENT","REFERRALMANAGER","ClientToDoNotificationComponent","ToDos","todo","createdOn","dueDate","AppLevelOperations","sharedToDos","getTodos","addTodosShared","hideToDoShared","navigateToTodosTab","updateLastLoginDate","isClientVisible","setisClientVisible","gotCustomerData","setGotCustomerData","toDos","setToDos","isPortalLocked","setisPortalLocked","showPasswordStrengthWindow","showToDos","confirm","confirmText","confirmColor","cancelColor","cancelText","authData","todoTarget","convertRoleToToDoTypes","loadTodos","fid","rid","lid","pendings","isCompleted","userId","Lead","navigateToUserDetailsPage","fullscreen","AppComponent","checkingLogin","checkRefreshToken","checkGuestUserToken","checkAppLevelAccess","redirectToLogout","getPublicAuthToken","setLoginInMemory","getScreenOject","Application","HTTPInterceptor","interceptors","request","use","config","headers","isRefreshTokenCall","originalRequest","loginAPIUrl","status","endsWith","_retry","refreshToken","defaults","common","LoadApplication","baseURL","positionClass","hideDuration","timeOut","preventDuplicates","clear","StrictMode","basename","environment","env","setAutoFreeze","ReactDOM","importComponent","unloaded","proms","default","D","SET_LOGIN","PrivateRoute","Component","rest","setIsLogin","notFound","params","error_description","configuration","getConfigurations","setPasswordResetLink","forgotPasswordLInk","resetPassword","checkLinkExpiry","verifyResetLink","getPublicToken","customerId","getLoginsListHistory","getLoginListHistory","screens","getAllAccessibleScreens","getALLAuthRules","allAuthRules","setInnerSpinner","getStates","saveAuthRules","getAllBureaus","getAllLetterTypes","flag","deleteScreen","useraccessDelete","updateScreen","oldName","useraccessUpdate","deleteField","useraccessFieldDelete","updateField","useraccessFieldUpdate","getStats","getCustomers","getCustomer","getCustomerMinimaldetails","getCustomersAndLeads","saveFeeDetails","saveCreditMonitoring","getCreditMonitoring","saveGeneralNotes","updateUserName","updatePassword","updateLockOrUnlockCustomerUser","updateLockOrUnlockReferralAgentUser","checkS3Files","getS3SingleFile","adminsettings","submitRounds","submitQuery","saveCreditScore","customerFranchAgents","customerReferAgents","updateCustomerAgent","disputeProgress","resendWelcomeEmail","submitToProcessing","submitToArrayReport","creditmonitoringsubscription","getcurrentscore","getAccountsNumberByType","getAccountsNumber","sendPORneeded","removeSpouse","customerReferralAgents","addUpdateCustomerReferralAgents","deleteCustomerReferralAgents","toDoUpdate","getCustomersCount","getFranchiseAgentsCount","getReferralAgentsCount","getCustomersNeedingDocumentsCount","getCustomersNeedingNewRoundCount","getCustomersNeedingNewReportCount","getCustomerLettersCount","getRolesCount","getFranchiseAgents","getReferralAgents","checkPartnerkey","checkAPIActive","searchCollection","getAllAccountTypes","getAllCollections","getAllSystemTypes","getAccountsCounterByType","updateCollectionAndType","updateTypeInAccount","createCollection","getRoles","getCustomerLetters","getCreateLetterVersion","updateCreateLetterVersion","getScoringRoundStatuses","checkSubscriberListsByEmail","getMailchimpLists","checkSubscriberCampaignsByEmail","setMailchimpList","getAPIIntegrations","setAPIActive","updateAPIKey","updateRound","deleteRound","addNewRound","saveClientNote","processingNote","getCannedNotes","createCannedNote","collectionAccount","file","updateFile","disputeletter","letter","downloadFileLetter","downloadLetters","downloadLastReport","updateCollectorAddress","addCollectorAddress","getCollectorAddressByData","deleteCollectorAddress","saveFEAccounts","saveFEAccountsMini","updateYellowAccount","addNewAccount","getFELetterData","getFEFullAccountDetails","saveFullAccountDetails","deleteBureauDetail","getPDFDisputeLetters","getTempLetterQueue","letterSearch","getLetterTemplatesSuggestions","createCredBCCLetter","createCRALetter","createBureauLetter","deleteTempLetter","saveTempLetter","ccList","createPDFLetter","restartRound","setRounds","sendNoticeAccUpdate","regenerateNoticeAccountUpdate","importSave","reImportSave","getS3JSONFileData","freeTrialImporter","getLastReportImportedDate","getFranchiseOfficeDetails","getFranchiseOfficeAgents","getCurrentOfficeAgents","getFranchiseSingleAgentDetails","updateFranchiseAgent","getFranchiseAgentRoles","getFranchiseOfficeServices","getFranchiseOfficeOutsourcedServices","createFranchiseOfficeServices","deleteFranchiseOfficeServices","getFranchiseOfficePayments","deleteFranchiseOfficePayment","updateFranchiseOfficeEmbedCode","getLeads","getSingleLeads","resendLeadWelcomeEmail","addLead","convertToCustomer","leadCreditMonitoring","leadAgentUpdate","removeLeadSpouse","getReferralOfficeDetails","getReferralOfficeAgents","getReferralOfficeAgentDetails","reassignReferralOffices","updateReferralAgent","getReferralSingleAgentDetails","referralAgentChangePassword","resendWelcomeAgentEmail","resendFollowUpAgentEmail","getReferralAgentsList","getReferralAgentCustomers","getAllEmailTemplates","getAllEmailTemplatesSearch","getAllSubFieldsForSection","getFinalCollectionToken","emailTemplate","emailTemplateUpdate","emailTemplateCustomerTokens","emailTemplateFieldTokens","emailTemplateGenerateHTMLPreview","getEmailTemplatesByOfficeId","setEmailTemplateActive","getEmailTemplatesById","updateOfcEmailTemplate","getSavedSampleTemplates","getOfficeLeadFormOptions","updateOfficeLeadFormOptions","createOfficeLeadFormOptions","emailTemplateOptions","removeEmailTemplateOptions","getSiteLogos","removeLogo","allOutsourcedServices","outsourceFranchiseService","collectionEntry","getFranchiseMasterServices","createFranchiseMasterServices","franchiseMasterServiceLevel","franchiseMasterServiceAdons","getFranchiseMasterServiceCategories","saveFranchiseMasterServiceCategories","removeFranchiseServiceCategory","removeFranchiseServiceCategoryLevel","removeFranchiseServiceCategoryLevelOption","getFranchiseOfficeAvailableServices","getCustomerAvailableServices","getFranchiseOfficeAvailableCategories","getFranchiseOfficeUserAvailableCategories","saveCatogoryForFranchiseOffice","removeCategoryFromOffice","removeAddOnFromOffice","removeLevelFromOffice","getFranchiseOfficeAllPricings","savePricingCatogoryForUser","removeServicePricingForUser","removeServiceAddOnForUser","getCreditReportForUser","getCreditReportForUserFromIQHtmlReport","fetchReport","getDateOfLastRequestFetchReport","customersListFilterStatusNeedPOR","customersListFilterStatusNeedID","customersListFilterStatusNeedSS","customersListFilterStatusNeedDocs","customersListFilterStatusCMHold","customersListFilterStatusPull","reportImporterPublic","viewReferralOffices","viewFranchiseAgents","viewFranchiseOffices","addEmailTemplate","AccountOutcomes","IN_PROGRESS","IN_DISPUTE","VerifiedByFCRA","EmptyEmailChimp","InValidEmailChimp","MailChimpNotSubscribed","GenericError","MIN_PWD_LENGTH","EMPTY_DATE1","EMPTY_DATE2","BUREAU_LIST1","WelcomeEmail","AgentWelcomeEmail","LeadWelcome","ReminderEmail","PullEmail","NoticeAccUpdate","FollowupEmail","EmailTemplatesNames","CustomerWelcome","ReferralAgentWelcome","Email15Days","Email35Days","NoticeAccUpdateDeletes","ClientLoginMessage","EmailSourceTypes","FRENCHISE_AGENT","SENDER","AutoSelectAccountsForLetters","Collections","Inquiries","LatePayments","EmailSourceTypesList","HTTP_ERROR_CODES","BADREQUEST","INTERNALERROR","UNAUTHORISED","NOTFOUND","minDiversity","minLength","emailOrUsername","validConfirmPassword","DisputeReasons","PersonalInformationIsIncorrect","AccountIsNotMine","StatusIsIncorrect","InformationOutdated","InquiryIsTooOld","InquiryNotAuthorized","AccountsWereClosed","AccountIsBankruptcy","MistakenIdentity","IdentityTheft","DuplicateAccount","WrongAmountIsBeingReported","WrongCreditor","ValidateAccount","AccountPaidOnTime","CreditorAgreedToRemove","TypeOfAccountIsIncorrect","ReOpenAccount","DataInaccurateDeleteAccount","ButtonComponent","dataTooltip","sizeClass","spinnerRight","children","ModalComponent","fullscreen100W","isSmall","isVerySmall","isFullHeight","hideClose","bodyClass","require","customerSelected","cidOrText","includeLeads","includeReferralAgents","addScoringInformation","addAccountsCounter","undefined","getCustomerMinimal","giveAccountsCount","UpdateCustomerdetails","loadStatuses","apiName","apiname","activate","checkPartnerKey","getS3Files","folderName","ids","fname","lname","CustomerId","SetupFee","MonthlyFee","MonthlyDueDate","saveCreditMonitoringDetails","CreditMonitoringService","CreditMonitoringUserName","CreditMonitoringPassword","CreditMonitoringSecretWord","ReportPullDate","Note","oldUsername","newUsername","updateLockOrUnlockUser","oldPassword","newPassword","resedWelcomeEmail","PORNeededEmail","spouseId","getAdminSettings","getCustomerFranchAgents","getCustomerReferrAgents","startRound","franchiseAgent","referralAgent","addClientNote","updateClientNote","notesId","whoLeft","notesDate","deleteClientNote","deleteInternalNote","addInternalNote","noteContent","userIdForNotes","isSendMail","noteType","deleteCannedNotes","noteId","createCannedNotes","content","removeAccounts","collectionAccountId","removeAccount","accountId","removeFiles","fileIds","fileId","fileType","uploadFile","overwriteExistingFiles","formData","operation","downloadFileOrLetter","fullPath","method","responseType","FileDownload","removeLetters","targetType","addTodo","updateTodo","todoId","deleteTodo","deleteCustomer","getCustomerReferralAgentsList","addCustomerReferralAgents","roleName","updateCustomerReferralAgents","subscribeToArrayCustomer","getSubscribeToArrayCustomer","subscribeToCMCustomer","getSubscribeToCMCustomer","downloadCreditReport","sendEmail","downloadCreditReportUsingIQReport","loadingFetchReport","getCreditScore","BureauLogoComponent","logo","setLogo","TU_LOGO_MD","TU_LOGO_SM","EXP_LOGO_MD","EXP_LOGO_SM","EQF_LOGO_MD","EQF_LOGO_SM","alt","SearchCustomersComponent","setList","getLeadMessage","getReferralMessage","searchText","LEAD","CUSTOMER_LEAD","uuidValidate","cust","module","exports","removeOfficeLogo","ofcId","statusNames","tranactionTypes","getLeadDetails","leadId","lead","creditMonitoring","monitoringService","service","monitoringLink","link","monitoringUserName","monitoringPassword","monitoringSecretWord","secretWord","reportPullDate","cbRefreshTok","updateLead","leadPayload","deleteLead","leadMonitoring","notifyAgent","updateLeadAgent","resedLeadWelcomeEmail","subscribeToArrayLead","getSubscribeToArrayLead","subscribeToCMLead","getSubscribeToCMLead","getReferralOffices","addUpdateReferralOffice","deleteReferralOffice","deleteReferralAgent","createUpdateReferralAgent","getReferralAgentDetails","currentId","assignTo","changeReferralAgentPasword","sendWelcomeEmailtoAgent","updateLockOrUnlockReferralAgentAccount","referralAgentId"],"mappings":"uIAAO,IAAKA,EAIAC,EAIAC,EAKAC,EAKAC,EAOAC,EAKAC,EASAC,EAUAC,EAIAC,EAMAC,EAUAC,EAUAC,EAKAC,EAMAC,EAUAC,EASAC,EAMAC,EAKAC,EAmCAC,EAUAC,EAQAC,EAIAC,EASAC,EAKAC,EAIAC,EAKAC,EAOAC,EAKAC,EAMAC,EAMAC,EAhOZ,4/B,SAAY9B,K,4BAAAA,E,0CAAAA,M,cAIAC,K,oBAAAA,E,+BAAAA,M,cAIAC,K,wBAAAA,E,oBAAAA,E,aAAAA,M,cAKAC,K,kBAAAA,E,mCAAAA,E,sBAAAA,M,cAKAC,K,oCAAAA,E,yCAAAA,E,yBAAAA,E,sBAAAA,E,8BAAAA,M,cAOAC,K,wBAAAA,E,oBAAAA,E,mBAAAA,M,cAKAC,K,QAAAA,E,UAAAA,E,UAAAA,E,oBAAAA,E,QAAAA,E,UAAAA,E,WAAAA,M,cASAC,K,gBAAAA,E,kBAAAA,E,oBAAAA,E,oBAAAA,E,4BAAAA,E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,EAAcC,eAAhB,aAAE,EAAuBC,KAAI,SAACC,GAAD,MAAgB,CAAEC,KAAMD,EAAGE,MAAOF,MACtEG,MAAK,OAAET,QAAF,IAAEA,GAAF,UAAEA,EAAQG,YAAV,iBAAE,EAAcM,aAAhB,aAAE,EAAqBJ,KAAI,SAACC,GAAD,MAAgB,CAAEC,KAAMD,EAAGE,MAAOF,OAEtEjB,EAAQY,MAEXS,OAAM,SAACC,GACJrB,EAAOqB,MAfA,2CAAZ,2DAqBF4nC,EAA4B,SAAChnC,EAAiBsC,EAA6B5E,GACpF,OAAO,SAACE,GACJ,OAAO,IAAIC,QAAJ,uCAAY,WAAOC,EAASC,GAAhB,SAAAC,EAAA,sEACTI,IAAMmB,IAAIC,IAAYC,aAAavB,IAAa8oC,0BAA2BhnC,EAAjE,OAA0EsC,QAA1E,IAA0EA,OAA1E,EAA0EA,EAAM4E,YAAa,CAAE5I,YAAaZ,EAAOa,QAC9HC,MAAK,SAACC,GACHX,EAAQW,EAAOG,SAElBO,OAAM,SAACC,GACJrB,EAAOqB,MANA,2CAAZ,2DAYFm6C,EAAyC,SAACC,EAAyBn5C,EAAmB3C,GAC/F,OAAO,SAACE,GACJ,OAAO,IAAIC,QAAJ,uCAAY,WAAOC,EAASC,GAAhB,SAAAC,EAAA,sEACTI,IAAMkC,IAAIpC,IAAawgC,oCAAqC,CAAE8a,kBAAiBn5C,YAAY,CAAE/B,YAAaZ,EAAOa,QAClHC,MAAK,SAACC,GAAD,cAAiBA,QAAjB,IAAiBA,OAAjB,EAAiBA,EAAQG,QAC9BJ,MAAK,SAACC,GACHX,EAAQW,MAEXU,OAAM,SAACC,GACJrB,EAAOqB,MAPA,2CAAZ,6D","file":"static/js/main.4fade411.chunk.js","sourcesContent":["export enum NotesTypes {\r\n ClientNotes = 'Customer Note',\r\n ProcessingNotes = 'Internal Customer Note'\r\n};\r\nexport enum GrantType {\r\n password = 'password',\r\n refresh_token = 'refresh_token'\r\n}\r\nexport enum Alignment {\r\n Horizontal = 'horizontal',\r\n Vertical = 'vertical',\r\n None = 'none'\r\n}\r\nexport enum AccountTypes {\r\n Inquiry = 'inquiry',\r\n PersonalInfo = 'personal infomation',\r\n NonClose = 'non-close',\r\n}\r\nexport enum AutoSelectTypesForLetters {\r\n PersonalInfo = 'Personal Information',\r\n Collections = 'Collections or Charge Offs',\r\n ChargeOffs = 'Charge Offs',\r\n Inquiries = 'Inquiries',\r\n LatePayments = 'Late Payments'\r\n}\r\nexport enum EnumBureaus {\r\n TransUnion = 'TransUnion',\r\n Experian = 'Experian',\r\n Equifax = 'Equifax'\r\n}\r\nexport enum EnumBureausShorts {\r\n TU = 'TU',\r\n EXP = 'EXP',\r\n EQF = 'EQF',\r\n CREDITOR = 'Creditor',\r\n CC = 'CC',\r\n BCC = 'BCC',\r\n CRA = 'CRA'\r\n}\r\nexport enum EnumControlTypes {\r\n Number = 'Number',\r\n TextBox = 'TextBox',\r\n TextArea = 'TextArea',\r\n Checkbox = 'Checkbox',\r\n AutoComplete = 'AutoComplete',\r\n DrowpDown = 'DrowpDown',\r\n DatePicker = 'DatePicker',\r\n ReadOnly = 'ReadOnly'\r\n}\r\nexport enum EnumComponentMode {\r\n Edit = 'Edit',\r\n Add = 'Add'\r\n}\r\nexport enum EnumSearchOptions {\r\n Complete = 'Complete',\r\n OnHold = 'OnHold',\r\n Cancelled = 'Cancelled'\r\n}\r\n\r\nexport enum EnumRoles {\r\n Administrator = 'Administrator',\r\n Processor = 'Processor',\r\n Customer = 'Customer',\r\n CreditAgent = 'Credit Agent',\r\n OfficeManager = 'Office Manager',\r\n ReferralManager = 'Referral Manager',\r\n ReferralAgent = 'Referral Agent',\r\n Lead = 'Lead',\r\n}\r\nexport enum CollectionEntryTypes {\r\n AccountName = 'AccountName',\r\n AccountType = 'AccountType',\r\n AccountStatus = 'AccountStatus',\r\n Outcome = 'Outcome',\r\n Reason = 'TailEndDisputeReason',\r\n Service = 'Service',\r\n ServiceLevel = 'ServiceLevel',\r\n ServiceOption = 'ServiceOption',\r\n}\r\nexport enum GlobalParams {\r\n globalReason = 'globalReason',\r\n globalOutcome = 'globalOutcome',\r\n globalAccType = 'globalAccType',\r\n}\r\nexport enum SearchType {\r\n Complete,\r\n Contains,\r\n StartsWith,\r\n DateRange\r\n}\r\nexport enum LetterSearchTypes {\r\n Equifax = \"Equifax\",\r\n ChexSystems = \"Chex Systems\",\r\n Experian = \"Experian\",\r\n TransUnion = \"TransUnion\",\r\n Creditor = \"Creditor\",\r\n BCC = \"BCC\",\r\n CC = \"CC\",\r\n CRA = \"CRA\"\r\n}\r\nexport enum Outcome {\r\n REPAIRED = 'Repaired',\r\n DELETED = 'Deleted',\r\n IN_PROGRESS = 'In Progress',\r\n IN_DISPUTE = 'In Dispute',\r\n DO_NOT_DISPUTE_BY_CONSUMER = 'Do Not Dispute By Consumer',\r\n SATISFACTORY = 'Satisfactory',\r\n VerifiedByFCRA = 'Account Verified by the FCRA'\r\n}\r\nexport enum LetterOptionsConfirm {\r\n END_CURRENT = 'END CURRENT',\r\n RESTART = 'RESTART',\r\n UPDATE_SCORES = 'UPDATE SCORES',\r\n NONE = 'NONE',\r\n}\r\nexport enum EnumFieldRights {\r\n Show = 'Show',\r\n Hide = 'Hide',\r\n ReadOnly = 'ReadOnly'\r\n}\r\nexport enum EnumScreens {\r\n Application = 'Application',\r\n Dashboard = 'Dashboard',\r\n CustomerList = 'CustomerList',\r\n CustomerDetails = 'CustomerDetails',\r\n AddCustomer = 'AddCustomer',\r\n FastEdit = 'FastEdit',\r\n CreateLetter = 'CreateLetter',\r\n ReportImporter = 'ReportImporter',\r\n ViewFranchiseOffices = 'ViewFranchiseOffices',\r\n AddFranchiseOffice = 'AddFranchiseOffice',\r\n ViewReferralOffices = 'ViewReferralOffices',\r\n AddReferralOffice = 'AddReferralOffice',\r\n ViewReferralAgents = 'ViewReferralAgents',\r\n AddReferralAgent = 'AddReferralAgent',\r\n ViewFranchiseAgents = 'ViewFranchiseAgents',\r\n AddFranchiseAgent = 'AddFranchiseAgent',\r\n ViewLeads = 'ViewLeads',\r\n AddLead = 'AddLead',\r\n LetterTemplates = 'LetterTemplates',\r\n AdminSettings = 'AdminSettings',\r\n PortalIntegration = 'PortalIntegration',\r\n AffiliateSignUp = 'AffiliateSignUp',\r\n CBReportViewer = 'CBReportViewer',\r\n UserAccess = 'UserAccess',\r\n Security = 'Security',\r\n HTMLParser = 'HTMLParser',\r\n MasterData = 'MasterData',\r\n ViewReferralOfficesAgentsTab = 'ViewReferralOfficesAgentsTab',\r\n MyTasksAgents = 'MyTasksAgents',\r\n MyTasksReferralAgents = 'MyTasksReferralAgents',\r\n LoginHistory = 'LoginHistory',\r\n EditTypes = 'EditTypes'\r\n};\r\n\r\nexport enum ToDoTargetTypes {\r\n CUSTOMER = 'CUSTOMER',\r\n FRANCHISE_AGENT = 'FRANCHISE_AGENT',\r\n REFERRAL_AGENT = 'REFERRAL_AGENT',\r\n LEAD = 'LEAD',\r\n ADMIN = 'ADMINISTRATOR',\r\n OFFICEMANAGER = 'OFFICEMANAGER',\r\n PROCESSOR = 'PROCESSOR',\r\n REFERRALMANAGER = 'REFERRALMANAGER'\r\n}\r\nexport enum AutoCompleteSearchTypes {\r\n CUSTOMER = 'CUSTOMER',\r\n CUSTOMER_LEAD = 'CUSTOMER_LEAD',\r\n FRENCHISE_AGENT = 'FRENCHISE_AGENT',\r\n REFERRAL_AGENT = 'REFERRAL_AGENT',\r\n LEAD = 'LEAD',\r\n CUSTOMER_LEAD_AFFILIATEAGENT = 'CUSTOMER_LEAD_AFFILIATEAGENT'\r\n}\r\nexport enum ReferralCustomerTypes {\r\n Primary = 0,\r\n Associated = 1\r\n}\r\nexport enum EmailTemplatesTypes {\r\n CustomerWelcome = 1,\r\n ReferralAgentWelcome = 2,\r\n Reminder15Days = 3,\r\n Reminder35Days = 4,\r\n NoticeOfAccountUpdate = 5,\r\n NoticeOfAccountUpdateWithDeletes = 6,\r\n ReferralAgentFollowUp = 7,\r\n}\r\nexport enum IMAGETYPES {\r\n SITE_LOGO,\r\n FRANCHISE_OFFICE_LOGO\r\n}\r\n\r\nexport enum SortOrderType {\r\n ASC = 'ASC',\r\n DESC = 'DESC'\r\n}\r\nexport enum EmailTemplateOptionTypes {\r\n CC = 'CC',\r\n BCC = 'BCC',\r\n SENDER = 'SENDER'\r\n}\r\nexport enum GlobalReasonsExamples {\r\n NotMyAccount = 'Not My Account',\r\n NeverLate = 'Never Late',\r\n PastDue = 'Past Due',\r\n DateLastActivity = 'Last Activity'\r\n}\r\n\r\nexport enum UpdateScoreSource {\r\n Manually = 'Manually',\r\n ImportSection = 'ImportSection'\r\n}\r\n\r\nexport enum ChatGPTModes {\r\n ImproveTempLetter,\r\n ImproveLetterTemplate,\r\n CreateTemplateFromScratch\r\n}\r\n\r\nexport enum ChatGPTModels {\r\n GPT4o =\"gpt-4o\",\r\n GPT4oMini = \"gpt-4o-mini\",\r\n GPT35_Turbo = \"gpt-3.5-turbo\", // openAi suggest to use gpt-4o-mini instead of gpt-3.5-turbo\r\n}\r\n\r\nexport enum DisputeReason {\r\n PersonalInformationIsIncorrect = 'The following personal information is incorrect',\r\n AccountIsNotMine = 'The following account is not mine',\r\n StatusIsIncorrect = 'The status is incorrect for the following account',\r\n InformationOutdated = 'The following information is outdated. I would like it removed from my credit history report',\r\n InquiryIsTooOld = 'The following inquiry is more than two years old and I would like it removed',\r\n InquiryNotAuthorized = 'The inquiry was not authorized',\r\n AccountsWereClosed = 'The following accounts were closed by me and should state that',\r\n AccountIsBankruptcy = 'The following account was a Bankruptcy/Charge-off. Balance should be $0',\r\n MistakenIdentity = 'Mistaken Identity',\r\n IdentityTheft = 'Identity Theft',\r\n DuplicateAccount = 'This is a duplicate account',\r\n WrongAmountIsBeingReported = 'The wrong amount is being reported',\r\n WrongCreditor = 'This is the wrong creditor for this item',\r\n ValidateAccount = 'Validate Account',\r\n AccountPaidOnTime = 'Account Paid on time',\r\n CreditorAgreedToRemove = 'Creditor agreed to remove with settlement offer',\r\n TypeOfAccountIsIncorrect = 'Type of Account is Incorrect',\r\n ReOpenAccount = 'Reopen account',\r\n DataInaccurateDeleteAccount = 'The Date of Last Activity, Past Due Amount, Balance, Date Opened, and Payment Status are inaccurate. Delete this account'\r\n}","import axios, { CancelTokenSource } from \"axios\"\r\nimport { INameValue, INameValueMatch } from \"../models/interfaces/shared\";\r\nimport { APIConstants } from \"../shared/constants\";\r\nimport { CommonUtils } from \"../utils/common-utils\";\r\n\r\nexport const getFranchseAgentsList = (payload: INameValueMatch[], source: CancelTokenSource, query: string = '') => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n let url = APIConstants.getFranchiseAgentsList;\r\n if (query) {\r\n url += '?query=' + query;\r\n }\r\n await axios.post(url, payload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n const res = {\r\n agents: result?.data?.agents,\r\n offices: result?.data?.offices?.map((x: string) => ({ Name: x, Value: x } as INameValue)) as INameValue[],\r\n roles: result?.data?.roles?.map((x: string) => ({ Name: x, Value: x } as INameValue)) as INameValue[]\r\n }\r\n resolve(res);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const getFranchiseAgentNotes = (membershipId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getFranchiseAgentNotes, membershipId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const AddFranchiseAgentNotes = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.addFranchiseAgentNote, payload, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteFranchiseAgentNote = (noteid: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.getFranchiseAgentNotes, noteid), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getFranchiseAgentCustomers = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getFranchiseAgentCustomers, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getFranchiseAgentReferrals = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getFranchiseAgentReferrals, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const resedWelcomeEmailFranchAgent = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.franchAgentWelcomeEmail, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateLockOrUnlockAgentAccount = (agentId: string, lockUser: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateLockOrUnlockAgentUser, { agentId, lockUser }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}","import React, { createRef, forwardRef, useImperativeHandle, useState } from 'react';\r\n\r\nexport const FileUploadButton = forwardRef((props: { label?: string, onChange: any, onClose?: any, ref?: any }, ref) => {\r\n\r\n const [selectedFiles, setSelectedFiles] = useState([] as any[]);\r\n const fileRef = createRef() as any;\r\n\r\n // these methods can be called from parent component\r\n useImperativeHandle(ref, () => ({\r\n openFile() {\r\n selectFile();\r\n }\r\n }));\r\n\r\n const selectFile = () => {\r\n fileRef?.current?.click();\r\n }\r\n const onChange = (list: any) => {\r\n const arr = Array.from(list);\r\n setSelectedFiles(arr);\r\n props?.onChange(arr, list);\r\n if (arr?.length) {\r\n fileRef.current.value = null;\r\n }\r\n }\r\n\r\n // const formatSize = (bytes: number) => {\r\n // if (bytes === 0) {\r\n // return '0 B';\r\n // }\r\n // var k = 1000, dm = 3, sizes = ['B', 'KB', 'MB', 'GB'],\r\n // i = Math.floor(Math.log(bytes) / Math.log(k));\r\n // return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + ' ' + sizes[i];\r\n // }\r\n return (\r\n
\r\n {\r\n selectedFiles?.length ?\r\n
\r\n {\r\n selectedFiles?.map((f: any, index: number) =>
{f?.name} { onChange([]); props?.onClose && props?.onClose(); }}>
)\r\n }\r\n
\r\n :\r\n \r\n }\r\n\r\n onChange(e.target.files)} />\r\n
\r\n );\r\n});\r\n","import axios, { CancelTokenSource } from 'axios';\r\nimport React, { useEffect, useRef, useState } from 'react';\r\nimport ReactAutocomplete from 'react-autocomplete';\r\nimport { Spinner } from 'reactstrap';\r\nimport { useDebounce } from 'use-debounce';\r\n\r\nimport { IDropdown } from '../../models/interfaces/shared';\r\nimport { Messages } from '../constants';\r\n\r\nexport const AutoComplete = (props: {\r\n value: string | IDropdown,\r\n minSearchLength?: number;\r\n asyncData: (searchText: string, source: CancelTokenSource) => Promise;\r\n onSelect?: (data: any) => any,\r\n onChange?: (data: any) => any,\r\n placeholder?: string;\r\n showSubmitArrow?: boolean;\r\n isTextArea?: boolean;\r\n avoidMergeChangeWithSelectEvent?: boolean;\r\n autoFocus?: boolean;\r\n loading?: boolean;\r\n}) => {\r\n\r\n const [text, setText] = useState('' as string);\r\n const [debouncedText] = useDebounce(text, 500);\r\n const [minSearchLength] = useState(props?.minSearchLength || 3);\r\n const inputRef: any = useRef();\r\n const [axiosSource, setAxiosSource] = useState(axios.CancelToken.source() as CancelTokenSource);\r\n const [loading, setLoading] = useState(false);\r\n const [disableSearch, setDisableSearch] = useState(true);\r\n const [suggestions, setSuggestions] = useState([] as IDropdown[]);\r\n\r\n\r\n useEffect(() => {\r\n return () => {\r\n if (axiosSource?.cancel)\r\n axiosSource?.cancel(Messages.APIAborted);\r\n }\r\n }, []);\r\n useEffect(() => {\r\n const t = typeof (props?.value) === 'object' ? props?.value?.name : props?.value;\r\n setText(t || '');\r\n inputRef.current.value = t;\r\n }, [props.value]);\r\n\r\n const onChange = (typedString: string) => {\r\n setDisableSearch(false);\r\n setText(typedString);\r\n if (props.onSelect && !props.avoidMergeChangeWithSelectEvent)\r\n props.onSelect(typedString);\r\n if (props?.onChange) {\r\n props?.onChange(typedString);\r\n }\r\n }\r\n useEffect(() => {\r\n if (disableSearch) {\r\n return;\r\n }\r\n if (axiosSource) {\r\n axiosSource.cancel();\r\n setLoading(false);\r\n }\r\n if (props?.onChange) {\r\n props?.onChange(debouncedText);\r\n }\r\n const source = axios.CancelToken.source();\r\n setAxiosSource(source);\r\n if (debouncedText?.length >= minSearchLength) {\r\n setLoading(true);\r\n props?.asyncData(debouncedText, source)\r\n .then((suggs: IDropdown[]) => {\r\n setLoading(false);\r\n setSuggestions(suggs);\r\n }).catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n setLoading(false);\r\n }\r\n })\r\n\r\n }\r\n }, [debouncedText]);\r\n const onSelect = (value: string, item: IDropdown) => {\r\n setDisableSearch(true);\r\n setText(item?.name ?? '');\r\n if (props.onSelect)\r\n props.onSelect(item);\r\n if (props?.onChange) {\r\n props?.onChange(item);\r\n }\r\n }\r\n const makeQueries = (displayText?: string): string => {\r\n try {\r\n if (text) {\r\n return displayText?.replace(new RegExp(text, 'gi'), '' + text + '') ?? '';\r\n } else {\r\n return displayText ?? '';\r\n }\r\n } catch (e) {\r\n return displayText ?? '';\r\n }\r\n }\r\n return (\r\n
\r\n {\r\n props?.loading === true ?\r\n \r\n :\r\n \r\n \r\n \r\n }\r\n item.name || ''}\r\n items={suggestions}\r\n renderInput={(prop: any) => {\r\n return (props?.isTextArea\r\n ? \r\n : );\r\n }}\r\n renderItem={(item: IDropdown, isHighlighted: boolean) =>\r\n
\r\n }\r\n inputProps={{\r\n style: {\r\n display: (props?.loading === true ? 'none' : 'block'),\r\n width: '100%',\r\n padding: '7px 8px 7px 25px',\r\n fontSize: '12px',\r\n height: (props?.isTextArea ? '85px' : 'auto'),\r\n lineHeight: 'normal',\r\n borderBottomColor: ((text ? text?.trim() : '') ? '#aaa' : '#ccc')\r\n },\r\n placeholder: props?.placeholder ?? 'Search ...',\r\n autoFocus: props?.autoFocus\r\n }}\r\n ref={inputRef}\r\n value={text?.trimStart()}\r\n onChange={(e: any) => onChange(e.target.value)}\r\n onSelect={onSelect}\r\n menuStyle={{\r\n display: (loading ? 'none' : 'block'),\r\n borderRadius: '3px',\r\n boxShadow: '0 2px 12px rgba(0, 0, 0, 0.1)',\r\n background: 'rgba(255, 255, 255, 0.9)',\r\n fontSize: '90%',\r\n position: 'fixed',\r\n zIndex: 99999,\r\n overflow: 'auto',\r\n maxHeight: '50%', // TODO: don't cheat, let it flow to the bottom\r\n }}\r\n />\r\n {\r\n loading &&\r\n \r\n \r\n \r\n }\r\n {\r\n !loading && !!text?.length &&\r\n \r\n {\r\n inputRef.current.value = '';\r\n setText('');\r\n onChange('');\r\n }} aria-hidden=\"true\">\r\n {\r\n props?.showSubmitArrow &&\r\n !!props?.onSelect && props.onSelect(text)}>\r\n }\r\n \r\n }\r\n
\r\n );\r\n}","import { ClientRoutesConstants, PageErrors, PASSWORDSTRENGTH, Variables } from '../shared/constants';\r\nimport { AccountTypes, EnumComponentMode, EnumScreens, Outcome, SortOrderType } from '../models/enums';\r\nimport { IDropdown, INavMenu, IValueText, IValueTextExtra, IValueTextRole } from '../models/interfaces/shared';\r\n\r\nimport moment from 'moment';\r\nimport { Options, passwordStrength } from 'check-password-strength';\r\n\r\nexport class CommonUtils {\r\n static getYears(count: number = 10): IDropdown[] {\r\n let currentYear = new Date().getFullYear() - 5;\r\n let years: IDropdown[] = [];\r\n for (let index = 1; index <= count + 5; index++) {\r\n years.push({\r\n name: currentYear.toString(),\r\n abbreviation: currentYear.toString()\r\n });\r\n currentYear++;\r\n }\r\n return years;\r\n }\r\n static getMonths(): IDropdown[] {\r\n return [{\r\n abbreviation: '1',\r\n name: 'January'\r\n }, {\r\n abbreviation: '2',\r\n name: 'February'\r\n }, {\r\n abbreviation: '3',\r\n name: 'March'\r\n }, {\r\n abbreviation: '4',\r\n name: 'April'\r\n }, {\r\n abbreviation: '5',\r\n name: 'May'\r\n }, {\r\n abbreviation: '6',\r\n name: 'June'\r\n }, {\r\n abbreviation: '7',\r\n name: 'July'\r\n }, {\r\n abbreviation: '8',\r\n name: 'August'\r\n }, {\r\n abbreviation: '9',\r\n name: 'September'\r\n }, {\r\n abbreviation: '10',\r\n name: 'October'\r\n }, {\r\n abbreviation: '11',\r\n name: 'November'\r\n }, {\r\n abbreviation: '12',\r\n name: 'December'\r\n }];\r\n }\r\n static formatString(str: string, ...val: string[]): string {\r\n for (let index = 0; index < val.length; index++) {\r\n str = str.replace(`{${index}}`, val[index]);\r\n }\r\n return str;\r\n }\r\n static replaceProps(str: string, data: any): string {\r\n Object.keys(data).forEach((key: string) => {\r\n str = str.replaceAll(':' + key, data[key]);\r\n });\r\n return str;\r\n }\r\n static getDateInMMDDYYYY(strDate: string): string {\r\n try {\r\n return strDate && strDate !== '0001-01-01T00:00:00'\r\n ? new Intl.DateTimeFormat('en-US', { year: 'numeric', month: '2-digit', day: '2-digit' })\r\n .format(new Date(strDate))\r\n : '';\r\n } catch (e) {\r\n return strDate || '';\r\n }\r\n }\r\n static getFormatPhoneNumber(strPhone: string): string {\r\n if (!strPhone) return strPhone;\r\n const currentValue = strPhone.replace(/[^\\d]/g, '');\r\n const cvLength = currentValue.length;\r\n if (cvLength < 4) return currentValue; \r\n if (cvLength < 7) return `(${currentValue.slice(0, 3)}) ${currentValue.slice(3)}`;\r\n return `(${currentValue.slice(0, 3)}) ${currentValue.slice(3, 6)}-${currentValue.slice(6, 10)}`; \r\n }\r\n static isAMEXcard(value: string): boolean {\r\n return /^3[47]/.test(value);\r\n }\r\n static CustomersMenus(cid: string, current: string | null, allAvailableScreens: string[]): INavMenu[] {\r\n let opts: INavMenu[] = [\r\n {\r\n id: 'menu-cust-list',\r\n screenId: EnumScreens.CustomerList,\r\n url: ClientRoutesConstants.customers,\r\n text: 'Client List'\r\n },\r\n {\r\n id: 'menu-cust-details',\r\n screenId: EnumScreens.CustomerDetails,\r\n url: ClientRoutesConstants.customersView,\r\n text: 'Client Details'\r\n },\r\n {\r\n id: 'menu-fast-edit',\r\n screenId: EnumScreens.FastEdit,\r\n url: ClientRoutesConstants.fastEditAccounts,\r\n text: 'Dispute Center'\r\n },\r\n {\r\n id: 'menu-cust-letter',\r\n screenId: EnumScreens.CreateLetter,\r\n url: ClientRoutesConstants.createLetter,\r\n text: 'Create Letters'\r\n },\r\n {\r\n id: 'menu-report-importer',\r\n screenId: EnumScreens.ReportImporter,\r\n url: ClientRoutesConstants.reportImporter?.replace(/\\/:type?/g, '')?.replace(/[\\?]/g, ''),\r\n text: 'Import Report'\r\n }\r\n ];\r\n opts = opts.filter(x => x.screenId && x.url !== current && allAvailableScreens?.includes(x.screenId));\r\n if (cid) {\r\n opts.forEach((item) => {\r\n item.url = item?.url.replace(/:cid/gi, cid);\r\n });\r\n } else {\r\n opts = opts?.filter(x => x.screenId === EnumScreens.CustomerList);\r\n }\r\n return opts;\r\n }\r\n static CustomersMenusButtons(cid: string, current: string | null, allAvailableScreens: string[]): INavMenu[] {\r\n let opts: INavMenu[] = [\r\n {\r\n id: 'menu-cust-details',\r\n screenId: EnumScreens.CustomerDetails,\r\n url: ClientRoutesConstants.customersView,\r\n text: 'Client Details'\r\n },\r\n {\r\n id: 'menu-fast-edit',\r\n screenId: EnumScreens.FastEdit,\r\n url: ClientRoutesConstants.fastEditAccounts,\r\n text: 'Dispute Center'\r\n },\r\n {\r\n id: 'menu-cust-letter',\r\n screenId: EnumScreens.CreateLetter,\r\n url: ClientRoutesConstants.createLetter,\r\n text: 'Create Letters'\r\n },\r\n {\r\n id: 'menu-report-importer',\r\n screenId: EnumScreens.ReportImporter,\r\n url: ClientRoutesConstants.reportImporter?.replace(/\\/:type?/g, '')?.replace(/[\\?]/g, ''),\r\n text: 'Import Report'\r\n }\r\n ];\r\n opts = opts.filter(x => x.screenId && x.url !== (current ? current.replace(/\\/:type?/g, '')?.replace(/[\\?]/g, '') : current) && allAvailableScreens?.includes(x.screenId));\r\n if (cid) {\r\n opts.forEach((item) => {\r\n item.url = item?.url.replace(/:cid/gi, cid);\r\n });\r\n } else {\r\n opts = opts?.filter(x => x.screenId === EnumScreens.CustomerList);\r\n }\r\n return opts;\r\n }\r\n static LeadsMenus(cid: string, current: string | null, allAvailableScreens: string[]): INavMenu[] {\r\n let opts: INavMenu[] = [\r\n {\r\n id: 'menu-lead-list',\r\n screenId: EnumScreens.ViewLeads,\r\n url: ClientRoutesConstants.leads,\r\n text: 'Show All Leads'\r\n },\r\n {\r\n id: 'menu-lead-details',\r\n screenId: EnumScreens.AddLead,\r\n url: ClientRoutesConstants.viewLeads,\r\n text: 'View Lead Details'\r\n }\r\n ];\r\n opts = opts.filter(x => x.screenId && x.url !== current && allAvailableScreens?.includes(x.screenId));\r\n if (cid) {\r\n opts.forEach((item) => {\r\n item.url = item?.url.replace(/:id/gi, cid);\r\n });\r\n }\r\n return opts;\r\n }\r\n static ReferralAgentsMenus(cid: string, current: string | null, allAvailableScreens: string[]): INavMenu[] {\r\n let opts: INavMenu[] = [\r\n {\r\n id: 'menu-referral-agents-list',\r\n screenId: EnumScreens.ViewReferralAgents,\r\n url: ClientRoutesConstants.referralAgents,\r\n text: 'Show All Affiliate Agents'\r\n },\r\n {\r\n id: 'menu-referral-agent-details',\r\n screenId: EnumScreens.AddReferralAgent,\r\n url: ClientRoutesConstants.viewReferralAgents,\r\n text: 'View Affiliate Agent Details'\r\n }\r\n ];\r\n opts = opts.filter(x => x.screenId && x.url !== current && allAvailableScreens?.includes(x.screenId));\r\n if (cid) {\r\n opts.forEach((item) => {\r\n item.url = item?.url.replace(/:id/gi, cid);\r\n });\r\n }\r\n return opts;\r\n }\r\n static ProcessingTypes(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: Variables.STANDARD_FASTRACK,\r\n text: Variables.STANDARD_FASTRACK\r\n },\r\n {\r\n value: 'Bankruptcy',\r\n text: 'Bankruptcy'\r\n },\r\n {\r\n value: 'Credit Report Analysis',\r\n text: 'Credit Report Analysis'\r\n },\r\n {\r\n value: 'Direct To Creditor & CRA',\r\n text: 'Direct To Creditor & CRA'\r\n },\r\n {\r\n value: 'Fast Track',\r\n text: 'Fast Track'\r\n },\r\n {\r\n value: 'Final Update',\r\n text: 'Final Update'\r\n },\r\n {\r\n value: 'Pay For Delete',\r\n text: 'Pay For Delete'\r\n },\r\n {\r\n value: 'Standard',\r\n text: 'Standard'\r\n },\r\n {\r\n value: 'Tradeline Services',\r\n text: 'Tradeline Services'\r\n }\r\n \r\n \r\n ];\r\n return opts;\r\n }\r\n\r\n static CardTypes(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: 'AmericanExpress',\r\n text: 'American Express'\r\n },\r\n {\r\n value: 'Discover',\r\n text: 'Discover'\r\n },\r\n {\r\n value: 'MasterCard',\r\n text: 'MasterCard'\r\n },\r\n {\r\n value: 'Visa',\r\n text: 'Visa'\r\n }\r\n ];\r\n return opts;\r\n }\r\n static CreditMOnitoringOptions(): IValueTextExtra[] {\r\n return [\r\n { value: 'None', text: 'None', websiteName: '', path: '' },\r\n { value: 'TrustedCreditReports', text: 'Trusted Credit Reports', websiteName: 'trustedcreditreports.com', path: 'https://www.trustedcreditreports.com/customer_login.asp', isOutsourced: true },\r\n { value: 'CreditBliss', text: 'Credit Bliss', websiteName: 'Bypass Login', path: 'https://portal.creditbliss.com/client?bps={0}&email={1}' },\r\n { value: 'MyIDIQ', text: 'Identity IQ', websiteName: 'identityiq.com', path: 'https://member.identityiq.com/login.aspx', isOutsourced: true },\r\n { value: 'TrueCredit', text: 'True Credit', websiteName: 'True Credit', path: 'http://www.truecredit.com' },\r\n { value: 'CreditCheckTotal', text: 'Credit Check Total', websiteName: 'Credit Check Total', path: 'http://www.creditchecktotal.com' },\r\n { value: 'CreditKeeper', text: 'Credit Keeper', websiteName: 'Credit Keeper', path: 'http://www.creditkeeper.com' },\r\n { value: 'PrivacyGuard', text: 'Privacy Guard', websiteName: 'Privacy Guard', path: 'http://www.privacyguard.com' },\r\n { value: 'ScoreSense', text: 'Score Sense', websiteName: 'ScoreSense.com', path: 'http://www.scoresense.com' },\r\n { value: 'FreeScore', text: 'Free Score', websiteName: 'FreeScore.com', path: 'http://www.freescore.com' },\r\n { value: '53IdentityAlert', text: '53 Identity Alert', websiteName: '53IdentityAlert.com', path: 'http://www.53identityalert.com' },\r\n { value: 'WellsFargoProtection', text: 'Wells Fargo Enhanced', websiteName: 'Wells Fargo Enhanced', path: 'https://identity.wellsfargoprotection.com/secure/LoginRouter.aspx' },\r\n { value: 'WellsFargoMonitor2', text: 'Wells Fargo Option 2', websiteName: 'Wells Fargo #2', path: 'https://monitor.wellsfargoprotection.com/sign-in' },\r\n { value: 'CreditScore', text: 'CreditScore.com', websiteName: 'CreditScore.com', path: 'https://www.creditscore.com/sign-in.aspx' },\r\n { value: 'FreeCreditScore', text: 'Free Credit Score', websiteName: 'Free Credit Score', path: 'http://www.freecreditscore.com' },\r\n { value: 'FreeScore360', text: 'Free Score 360', websiteName: 'Free Score 360', path: 'http://www.freescore360.com/' },\r\n { value: 'FreeCreditReport', text: 'Free Credit Report', websiteName: 'FreeCreditReport.com', path: 'http://www.freecreditreport.com/' },\r\n { value: 'IdentityGuard', text: 'Identity Guard', websiteName: 'Identity Guard', path: 'https://secure.identityguard.com/LogonForm?storeId=10051' },\r\n { value: 'CitiIdentityMonitor', text: 'Citi Identity Monitor', websiteName: 'Citi Identity Monitor', path: 'https://membership.identitymonitor.citi.com/Pages/English/In_Activation.asp?source=IMN00518&ordsrc=' },\r\n { value: 'CostcoIdentityGuard', text: 'Costco IdentityGuard', websiteName: 'Costco IdentityGaurd', path: 'https://secure.costco.identityguard.com/LogonForm?storeId=10552' },\r\n { value: 'CreditReport.com', text: 'CreditReport.com', websiteName: 'CreditReport.com', path: 'https://www.creditreport.com/sign-in.aspx' },\r\n { value: 'FreeScoresAndMore.com', text: 'FreeScoresAndMore.com', websiteName: 'Free Scores and More', path: 'https://www.freescoresandmore.com/' },\r\n { value: 'Equifax', text: 'Equifax', websiteName: 'Equifax', path: 'https://www.econsumer.equifax.com/otc/landing.ehtml?^start=&companyName=PSb14bpd02_lgn' },\r\n { value: 'LifeLock', text: 'LifeLock', websiteName: 'LifeLock', path: 'https://secure.lifelock.com/portal/login/' },\r\n { value: 'Experian', text: 'Experian', websiteName: 'Experian', path: 'http://www.experian.com/consumer/login.html/', isOutsourced: true },\r\n { value: 'SmartCredit', text: 'SmartCredit', websiteName: 'smartcredit.com', path: 'https://www.smartcredit.com/login/', isOutsourced: true },\r\n { value: 'MyFreeScoreNow', text: 'My Free Score Now', websiteName: 'member.myfreescorenow.com', path: 'https://member.myfreescorenow.com/login/', isOutsourced: true },\r\n { value: 'MyScoreIQ', text: 'My Score IQ', websiteName: 'member.myscoreiq.com', path: 'https://member.myscoreiq.com/login.aspx', isOutsourced: true },\r\n { value: 'Other', text: 'Other...', websiteName: '', path: '', isOutsourced: true }\r\n ];\r\n }\r\n static ClientNotesWhoLefts(): IValueTextRole[] {\r\n return [\r\n {\r\n value: 'Administrator', text: 'Administrator', roles: []\r\n },\r\n {\r\n value: 'Office Manager', text: 'Office Manager', roles: []\r\n },\r\n {\r\n value: 'Processor', text: 'Processor', roles: []\r\n },\r\n {\r\n value: 'Customer', text: 'Client', roles: []\r\n },\r\n {\r\n value: 'Credit Agent', text: 'Credit Agent', roles: []\r\n }\r\n ];\r\n }\r\n static DocTypes(): IDropdown[] {\r\n return [{\r\n abbreviation: 'Collection Agency Response',\r\n name: 'Collection Agency Response'\r\n }, {\r\n abbreviation: 'Credit Bureau Response',\r\n name: 'Credit Bureau Response '\r\n }, {\r\n abbreviation: 'Original Creditor Response',\r\n name: 'Original Creditor Response'\r\n }, {\r\n abbreviation: 'Progress Reports',\r\n name: 'Progress Reports'\r\n }, {\r\n abbreviation: 'Reports',\r\n name: 'Reports'\r\n }, {\r\n abbreviation: 'Service Agreement',\r\n name: 'Service Agreement'\r\n }, {\r\n abbreviation: 'Supporting Docs',\r\n name: 'Supporting Docs'\r\n }];\r\n }\r\n static DocSpecificTypes(): IDropdown[] {\r\n return [{\r\n abbreviation: 'COPY SS',\r\n name: 'COPY SS'\r\n }, {\r\n abbreviation: 'Id',\r\n name: 'ID'\r\n }, {\r\n abbreviation: 'Address Verification',\r\n name: 'POR - Address Verification'\r\n }];\r\n }\r\n static getDate(d: string): any {\r\n const dateNew = moment(d).format('MM/DD/YYYY');\r\n if (dateNew === '01/01/0001' || dateNew === '01/01/1900') return '';\r\n return dateNew;\r\n }\r\n static isAvailableToSelect(outcome?: string) {\r\n outcome = outcome?.toLowerCase();\r\n const notAllowedOutcomes = [Outcome?.DELETED?.toLowerCase(), Outcome?.REPAIRED?.toLowerCase(), Outcome?.SATISFACTORY?.toLowerCase(), Outcome?.DO_NOT_DISPUTE_BY_CONSUMER?.toLowerCase()];\r\n return !notAllowedOutcomes.includes(outcome || '');\r\n }\r\n static ProcessingStatus(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: 'Cancelled',\r\n text: 'Cancelled'\r\n },\r\n {\r\n value: 'CM Hold',\r\n text: 'CM Hold'\r\n },\r\n {\r\n value: 'Completed',\r\n text: 'Completed'\r\n },\r\n {\r\n value: 'Credit Building',\r\n text: 'Credit Building'\r\n },\r\n {\r\n value: 'Dispute Responses',\r\n text: 'Dispute Responses'\r\n },\r\n {\r\n value: 'Need DOCS',\r\n text: 'Need DOCS'\r\n },\r\n {\r\n value: 'Need ID',\r\n text: 'Need ID'\r\n },\r\n {\r\n value: 'Need POR',\r\n text: 'Need POR'\r\n },\r\n {\r\n value: 'Need SS',\r\n text: 'Need SS'\r\n },\r\n {\r\n value: 'NSF',\r\n text: 'NSF'\r\n },\r\n {\r\n value: 'On Hold',\r\n text: 'On Hold'\r\n },\r\n {\r\n value: 'Problem',\r\n text: 'Problem'\r\n }\r\n ];\r\n return opts;\r\n }\r\n\r\n static CallingTimes(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: 'Morning',\r\n text: 'Morning'\r\n },\r\n {\r\n value: 'Afternoon',\r\n text: 'Afternoon'\r\n },\r\n {\r\n value: 'Evening',\r\n text: 'Evening'\r\n }\r\n ];\r\n return opts;\r\n }\r\n static LeadTypes(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: 'Active',\r\n text: 'Active'\r\n },\r\n {\r\n value: 'Cant Afford',\r\n text: \"Can't Afford\"\r\n },\r\n {\r\n value: 'Contact 1+',\r\n text: 'Contact 1+'\r\n },\r\n {\r\n value: 'Contact 5+',\r\n text: 'Contact 5+'\r\n },\r\n {\r\n value: 'Contact 10+',\r\n text: 'Contact 10+'\r\n },\r\n {\r\n value: 'New Partner Lead',\r\n text: 'New Partner Lead'\r\n },\r\n {\r\n value: 'No Contact',\r\n text: 'No Contact'\r\n },\r\n {\r\n value: 'Not Interested',\r\n text: 'Not Interested'\r\n },\r\n {\r\n value: 'Stop Calling',\r\n text: 'Stop Calling'\r\n },\r\n {\r\n value: 'Transferred to LO',\r\n text: 'Transferred to LO'\r\n },\r\n ];\r\n return opts;\r\n }\r\n static TransactionTypes(): IValueText[] {\r\n let opts: IValueText[] = [\r\n {\r\n value: 'Auto Loan',\r\n text: 'Auto Loan'\r\n },\r\n {\r\n value: 'Business Loan',\r\n text: 'Business Loan'\r\n },\r\n {\r\n value: 'New Mortgage',\r\n text: 'New Mortgage'\r\n },\r\n {\r\n value: 'New Purchase',\r\n text: 'New Purchase'\r\n },\r\n {\r\n value: 'Refinance',\r\n text: 'Refinance'\r\n },\r\n {\r\n value: 'Just Repairing Credit',\r\n text: 'Just Repairing Credit'\r\n }\r\n ];\r\n return opts;\r\n }\r\n static ReferralOfficeTypes(): IValueText[] {\r\n return [\r\n {\r\n value: 'Bank', text: 'Bank'\r\n },\r\n {\r\n value: 'Car Dealership', text: 'Car Dealership'\r\n },\r\n {\r\n value: 'Insurance Company', text: 'Insurance Company'\r\n },\r\n {\r\n value: 'Mortgage Company', text: 'Mortgage Company'\r\n },\r\n {\r\n value: 'Real Estate Agency', text: 'Real Estate Agency'\r\n },\r\n {\r\n value: 'Title Company', text: 'Title Company'\r\n },\r\n {\r\n value: 'Tax Services', text: 'Tax Services'\r\n },\r\n {\r\n value: 'Apt. Complex', text: 'Apt. Complex'\r\n },\r\n {\r\n value: 'Company Referrals', text: 'Company Referrals'\r\n },\r\n {\r\n value: 'Solar Companies', text: 'Solar Companies'\r\n }\r\n ];\r\n }\r\n static FormatHTML(html: string): string {\r\n var tab = '\\t';\r\n var result = '';\r\n var indent = '';\r\n\r\n html.split(/>\\s* {\r\n if (element.match(/^\\/\\w/)) {\r\n indent = indent.substring(tab.length);\r\n }\r\n result += indent + '<' + element + '>\\r\\n';\r\n /* uncomment below code to add identation in the html */\r\n if (element.match(/^]*[^\\/]$/) && !element.startsWith(\"input\")) {\r\n indent += tab;\r\n }\r\n });\r\n return result.substring(1, result.length - 3);\r\n }\r\n static GetTextFromHTML(html:string): string {\r\n try {\r\n var temp = document.createElement(\"div\");\r\n temp.innerHTML = html;\r\n return temp.textContent || temp.innerText || \"\";\r\n } catch (error) {\r\n return \"\";\r\n }\r\n }\r\n static ReplaceUnCloseIMGtags(html: string): string {\r\n return html.replace(\"@(@i\", \"$1/>\");\r\n }\r\n static ReplaceUnCloseBRtags(html: string): string {\r\n return html.replace(//gi, '
');\r\n }\r\n static randomNumber(): number {\r\n return Math.floor(Math.random() * 101);\r\n }\r\n static formErrors(data: any, options?: any): string {\r\n console.log('data --- ', data)\r\n let msg = '';\r\n let passwordDoesNotMatch = false;\r\n\r\n switch (options.screenName) {\r\n case EnumScreens.CustomerList:\r\n msg = this.ClientPageErrors(msg, data, options);\r\n break;\r\n\r\n case EnumScreens.ViewLeads:\r\n msg = this.LeadsPageErrors(msg, data, options);\r\n break;\r\n case EnumScreens.ViewFranchiseOffices:\r\n msg = this.CompanyOfficesPageErrors(msg, data, options);\r\n if (!msg && options.screenMode === EnumComponentMode.Add) {\r\n if (\r\n !data?.password ||\r\n data?.password?.value !== data?.confirmPassword?.value\r\n ) {\r\n msg += PageErrors.commonErrors.passwordMatch;\r\n passwordDoesNotMatch = true;\r\n }\r\n }\r\n break;\r\n case EnumScreens.ViewReferralOffices:\r\n msg = this.AffiliateOfficesPageErrors(msg, data, options);\r\n break;\r\n case EnumScreens.ViewReferralOfficesAgentsTab:\r\n msg = this.AffiliateOfficesAgentTabPageErrors(msg, data, options);\r\n if (!msg && options.screenMode === EnumComponentMode.Add) {\r\n if (\r\n !data?.password ||\r\n data?.password?.value !== data?.confirmPassword?.value\r\n ) {\r\n msg += PageErrors.commonErrors.passwordMatch;\r\n passwordDoesNotMatch = true;\r\n }\r\n }\r\n break;\r\n default:\r\n break;\r\n }\r\n const result = msg.substring(0, msg.lastIndexOf(\",\"));\r\n return msg && !passwordDoesNotMatch ? `Please enter ${result}` : msg;\r\n }\r\n\r\n static ClientPageErrors(msg: string, data: any, options: any): string {\r\n if (!data?.firstName) {\r\n msg += PageErrors.commonErrors.firstName;\r\n }\r\n if (!data?.lastName) {\r\n msg += PageErrors.commonErrors.lastName;\r\n }\r\n if (!data?.email) {\r\n msg += PageErrors.commonErrors.email;\r\n }\r\n if (!data?.transactionType) {\r\n msg += PageErrors.clientPageErrors.processingStatus;\r\n }\r\n if (\r\n options.screenMode === EnumComponentMode.Add &&\r\n !data.franchise &&\r\n !data.franchise?.id\r\n ) {\r\n msg += PageErrors.clientPageErrors.franchiseId;\r\n }\r\n return msg;\r\n }\r\n\r\n static LeadsPageErrors(msg: string, data: any, options: any): string {\r\n if (!data?.firstName) {\r\n msg += PageErrors.commonErrors.firstName;\r\n }\r\n if (!data?.lastName) {\r\n msg += PageErrors.commonErrors.lastName;\r\n }\r\n if (!data?.email) {\r\n msg += PageErrors.commonErrors.email;\r\n }\r\n if (!data?.cellPhone) {\r\n msg += PageErrors.leadsPageErrors.cellPhone;\r\n }\r\n if (\r\n !options?.isPublic ? options.screenMode === EnumComponentMode.Add &&\r\n !data.franchise &&\r\n !data.franchise?.id :\r\n false\r\n ) {\r\n msg += PageErrors.clientPageErrors.franchiseId;\r\n }\r\n return msg;\r\n }\r\n\r\n static CompanyOfficesPageErrors(msg: string, data: any, options: any): string {\r\n if (data) {\r\n if (!data?.firstName) {\r\n msg += PageErrors.commonErrors.firstName;\r\n }\r\n\r\n if (!data?.email) {\r\n msg += PageErrors.commonErrors.email;\r\n }\r\n if (!(data?.office?.id || data?.props?.officeId)) {\r\n msg += PageErrors.companyOfficeErrors.officeId;\r\n }\r\n\r\n if (!(data?.role)) {\r\n msg += PageErrors.companyOfficeErrors.role;\r\n }\r\n if (!(data?.password && data?.password?.value)) {\r\n msg += PageErrors.commonErrors.passwordRequired;\r\n } else if (\r\n data?.password &&\r\n data?.password?.value &&\r\n !data?.password.isValid\r\n ) {\r\n msg += PageErrors.commonErrors.validPassword;\r\n }\r\n if (options.screenMode === EnumComponentMode.Add) {\r\n if (!data.userName) {\r\n msg += PageErrors.commonErrors.usernameRequired;\r\n }\r\n if (!(data?.confirmPassword && data?.confirmPassword?.value)) {\r\n msg += PageErrors.commonErrors.confirmPassword;\r\n }\r\n }\r\n }\r\n return msg;\r\n }\r\n\r\n static AffiliateOfficesPageErrors(msg: string, data: any, options: any): string {\r\n if (!data?.agent?.id) {\r\n msg += PageErrors.affiliateOfficeErrors.agentId;\r\n }\r\n if (!data?.name) {\r\n msg += PageErrors.affiliateOfficeErrors.officeName;\r\n }\r\n if (!data?.classification) {\r\n msg += PageErrors.affiliateOfficeErrors.officeType;\r\n }\r\n\r\n return msg;\r\n }\r\n\r\n static AffiliateOfficesAgentTabPageErrors(msg: string, data: any, options: any): string {\r\n if (data) {\r\n // common \r\n if (!data?.firstName) {\r\n msg += PageErrors.commonErrors.firstName;\r\n }\r\n if (options.screenMode === EnumComponentMode.Edit) {\r\n if (!data?.officeId) {\r\n msg += PageErrors.affiliateOfficeErrors.agentsTab.affiliateOffice;\r\n }\r\n if (!data?.email) {\r\n msg += PageErrors.commonErrors.email;\r\n }\r\n }\r\n if (options.screenMode === EnumComponentMode.Add) {\r\n if (!(data?.officeId || data?.props?.officeId)) {\r\n msg += PageErrors.affiliateOfficeErrors.agentsTab.affiliateOffice;\r\n }\r\n if (!(data?.password && data?.password?.value)) {\r\n msg += PageErrors.commonErrors.passwordRequired;\r\n } else if (\r\n data?.password &&\r\n data?.password?.value &&\r\n !data?.password.isValid\r\n ) {\r\n msg += PageErrors.commonErrors.validPassword;\r\n }\r\n\r\n if (!(data?.confirmPassword && data?.confirmPassword?.value)) {\r\n msg += PageErrors.commonErrors.confirmPassword;\r\n }\r\n }\r\n\r\n }\r\n return msg;\r\n }\r\n\r\n static customSort(data1: any, data2: any, order: string, key: string, subKey?: string) {\r\n let result;\r\n if (subKey){\r\n if (typeof data1[key][subKey] === 'string' && typeof data2[key][subKey] === 'string'){\r\n result = order === SortOrderType.ASC ? data1[key][subKey].localeCompare(data2[key][subKey]) : data2[key][subKey].localeCompare(data1[key][subKey]);\r\n }\r\n if ((typeof data1[key][subKey] === 'boolean' && typeof data2[key][subKey] === 'boolean') || (typeof data1[key][subKey] === 'number' && typeof data2[key][subKey] === 'number')){\r\n let d1 = data1[key][subKey].toString();\r\n let d2 = data2[key][subKey].toString();\r\n result = order === SortOrderType.ASC ? d1.localeCompare(d2) : d2.localeCompare(d1);\r\n }\r\n } else {\r\n if (typeof data1[key] === 'string' && typeof data2[key] === 'string'){\r\n result = order === SortOrderType.ASC ? data1[key].localeCompare(data2[key]) : data2[key].localeCompare(data1[key]);\r\n }\r\n if ((typeof data1[key] === 'boolean' && typeof data2[key] === 'boolean') || (typeof data1[key] === 'number' && typeof data2[key] === 'number')){\r\n let d1 = data1[key].toString();\r\n let d2 = data2[key].toString();\r\n result = order === SortOrderType.ASC ? d1.localeCompare(d2) : d2.localeCompare(d1);\r\n }\r\n }\r\n return result;\r\n }\r\n static isPasswordStrong(pwd: string): boolean {\r\n const calculatedStrength = passwordStrength(pwd, PASSWORDSTRENGTH as Options)\r\n return calculatedStrength.id >= 2;\r\n }\r\n static isNegativeAccount = (account: any) => {\r\n const chargedTypes = ['Collection', 'Charge off', 'Chargeoff', 'Collection/Chargeoff', 'Paid Chargeoff', 'Paid Collection'];\r\n const pastDueCorrectValues = [' ', '0'];\r\n if (account.accountTypeName?.trim()?.toLowerCase() === AccountTypes.Inquiry || account.accountTypeName?.trim()?.toLowerCase() === AccountTypes.PersonalInfo) {\r\n return false;\r\n }\r\n if (chargedTypes.some(m => m.toLowerCase() === account?.accountTypeName?.trim()?.toLowerCase() || account?.isChargeoffIndicator === true || account?.isCollectionIndicator === true || account?.isDerogatoryDataIndicator === true || !pastDueCorrectValues.includes(account?.tuPastDue ? account?.tuPastDue : '0') || !pastDueCorrectValues.includes(account?.eqfPastDue ? account?.eqfPastDue : '0') || !pastDueCorrectValues.includes(account?.expPastDue ? account?.expPastDue : '0') )) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n static isNewNegativeAccount = (account: any) => {\r\n return (CommonUtils.isNegativeAccount(account) === true && (account?.isInsertedEQF || account?.isInsertedEXP || account?.isInsertedTU))\r\n }\r\n static setEmbedScriptsUrl = (url: string, customer: any) => {\r\n if (url) {\r\n url = url.replace('{{contact.name}}', customer?.fullName);\r\n url = url.replace('{{contact.email}}', customer?.email);\r\n }\r\n return url;\r\n }\r\n static generateUniqueFileName = (start: string, extension: string) => {\r\n const now = new Date();\r\n const year = now.getFullYear();\r\n const month = String(now.getMonth() + 1).padStart(2, '0');\r\n const day = String(now.getDate()).padStart(2, '0');\r\n const hours = String(now.getHours()).padStart(2, '0');\r\n const minutes = String(now.getMinutes()).padStart(2, '0');\r\n const seconds = String(now.getSeconds()).padStart(2, '0');\r\n return `${start}_${year}-${month}-${day}_${hours}-${minutes}-${seconds}${extension}`;\r\n }\r\n}","\r\nexport class ImageUtils {\r\n\r\n\tprivate static fileUrl: string;\r\n\r\n\tstatic getCroppedImg(image: any, crop: any, fileName: string): Promise<{ url: string, blob: any }> {\r\n\t\tconst canvas = document.createElement('canvas');\r\n\t\tconst pixelRatio = window.devicePixelRatio;\r\n\t\tconst scaleX = image.naturalWidth / image.width;\r\n\t\tconst scaleY = image.naturalHeight / image.height;\r\n\t\tconst ctx = canvas.getContext('2d') as any;\r\n\r\n\t\tcanvas.width = crop.width * pixelRatio * scaleX;\r\n\t\tcanvas.height = crop.height * pixelRatio * scaleY;\r\n\r\n\t\tctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0);\r\n\t\tctx.imageSmoothingQuality = 'high';\r\n\r\n\t\tctx.drawImage(\r\n\t\t\timage,\r\n\t\t\tcrop.x * scaleX,\r\n\t\t\tcrop.y * scaleY,\r\n\t\t\tcrop.width * scaleX,\r\n\t\t\tcrop.height * scaleY,\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\tcrop.width * scaleX,\r\n\t\t\tcrop.height * scaleY\r\n\t\t);\r\n\r\n\t\treturn new Promise((resolve, reject) => {\r\n\t\t\tcanvas.toBlob(\r\n\t\t\t\t(blob: any) => {\r\n\t\t\t\t\tif (!blob) {\r\n\t\t\t\t\t\t//reject(new Error('Canvas is empty'));\r\n\t\t\t\t\t\tconsole.error('Canvas is empty');\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tblob.name = fileName;\r\n\t\t\t\t\twindow.URL.revokeObjectURL(this.fileUrl);\r\n\t\t\t\t\tthis.fileUrl = window.URL.createObjectURL(blob);\r\n\t\t\t\t\tresolve({ url: this.fileUrl, blob });\r\n\t\t\t\t},\r\n\t\t\t\t'image/jpeg',\r\n\t\t\t\t1\r\n\t\t\t);\r\n\t\t});\r\n\t}\r\n\tstatic getBase64FromBlob(blob: string): Promise {\r\n\t\treturn new Promise((resolve, _) => {\r\n\t\t\tconst reader = new FileReader() as any;\r\n\t\t\treader.onloadend = () => resolve(reader.result);\r\n\t\t\treader.readAsDataURL(blob);\r\n\t\t});\r\n\t}\r\n\r\n};","import React, { createRef, useEffect, useRef, useState } from 'react';\r\nimport axios, { CancelTokenSource } from 'axios';\r\nimport ReactCrop from 'react-image-crop';\r\nimport 'react-image-crop/dist/ReactCrop.css';\r\nimport { bindActionCreators } from 'redux';\r\nimport { connect } from 'react-redux';\r\nimport classNames from 'classnames';\r\nimport toastr from 'toastr';\r\n\r\nimport './change-site-logo.scss';\r\nimport { ButtonComponent } from '../../../shared/components/button';\r\nimport { FileUploadButton } from '../../../shared/components/file-upload-button';\r\nimport { Messages } from '../../../shared/constants';\r\nimport { ImageUtils } from '../../../utils/image.util';\r\nimport { IMAGETYPES } from '../../../models/enums';\r\nimport { uploadLogo, updateKey } from '../../../actions/media.actions';\r\nimport { IMediaPayload } from '../../../models/interfaces/shared';\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n uploadLogo,\r\n updateKey\r\n }, dispatch);\r\n}\r\nexport const ChangeSiteLogoComponent = connect(null, mapDispatchToProps)((props: { updateKey: any, officeId?: string, siteId?: string, uploadLogo?: any, onSuccess?: any, action?: string, type: IMAGETYPES }) => {\r\n\r\n const [uploading, setUploading] = useState(false);\r\n const [src, setSrc] = useState() as any;\r\n const [crop, setCrop] = useState({\r\n unit: 'px',\r\n x: 2, y: 2, // top, left of crop control\r\n width: 260, aspect: 11 / 3\r\n }) as any;\r\n const [axiosSource] = useState({} as CancelTokenSource);\r\n const [croppedImageUrl, setCroppedImageUrl] = useState('' as string);\r\n const [imageRef, setimageRef] = useState() as any;\r\n const [croppedImageBase64, setCroppedImageBase64] = useState('' as string);\r\n const btnRef = createRef() as any;\r\n\r\n useEffect(() => {\r\n return () => {\r\n if (axiosSource?.cancel)\r\n axiosSource?.cancel(Messages.APIAborted);\r\n }\r\n }, []);\r\n const onSubmit = () => {\r\n setUploading(true);\r\n const payload: IMediaPayload = { imageBase64: croppedImageBase64 || src, ...props };\r\n props?.uploadLogo(payload, axiosSource)\r\n .then((result: string) => {\r\n setUploading(false);\r\n toastr.success('Logo updated successfully!!');\r\n props?.onSuccess(true);\r\n props.updateKey();\r\n })\r\n .catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n setUploading(false);\r\n if (err?.response?.data) {\r\n toastr.error(err?.response?.data);\r\n }\r\n }\r\n })\r\n }\r\n const onSelect = () => {\r\n const item = btnRef?.current?.openFile();\r\n }\r\n const onFileSelected = (arr: any[]) => {\r\n if (arr?.length) {\r\n const reader = new FileReader();\r\n reader.addEventListener('load', () => {\r\n setSrc(reader.result);\r\n });\r\n reader.readAsDataURL(arr[0]);\r\n }\r\n }\r\n const onImageLoaded = (img: any) => {\r\n setimageRef(img);\r\n }\r\n const onCropComplete = (c: any) => {\r\n makeClientCrop(c);\r\n };\r\n\r\n const onCropChange = (c: any, percentCrop: any) => {\r\n setCrop(c);\r\n };\r\n const makeClientCrop = async (c: any) => {\r\n if (imageRef && c?.width && crop?.height) {\r\n ImageUtils.getCroppedImg(imageRef, c, 'newFile.jpeg').then(({ url, blob }) => {\r\n ImageUtils.getBase64FromBlob(blob).then((res: string) => {\r\n setCroppedImageBase64(res);\r\n })\r\n });\r\n }\r\n }\r\n return (\r\n <>\r\n
\r\n {\r\n src &&
\r\n
\r\n {src && crop && (\r\n \r\n )}\r\n
\r\n
\r\n }\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {\r\n src\r\n && \r\n \r\n \r\n }\r\n
\r\n
\r\n
\r\n\r\n \r\n );\r\n});\r\n","import React from 'react';\r\n\r\nimport { ChangeSiteLogoComponent } from '../../screens/admin/site-logo/change-site-logo';\r\nimport { IMAGETYPES } from '../../models/enums';\r\n\r\nexport const SiteLogoEditorComponent = (props: { type: IMAGETYPES, onSuccess: any, officeId?: string }) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}","import { IPayLoad } from \"../models/interfaces/shared\";\r\n\r\nexport const getAction = (actionType: string, payload: any = null): IPayLoad => ({ type: actionType, payload });","import { EnumFieldRights, EnumRoles, EnumScreens } from '../../../models/enums';\r\nimport { IScreenDescription, IScreenProps } from '../../../models/interfaces/shared';\r\n\r\nexport let RoleMappings = [\r\n {\r\n screen: { name: EnumScreens.CustomerList, description: 'Client List Page', rules: [] } as IScreenDescription,\r\n fields: [{ name: 'List', description: 'Client Table ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] }]\r\n },\r\n {\r\n screen: { name: EnumScreens.CustomerDetails, description: 'Client Details Page', rules: [] },\r\n fields: [\r\n { name: 'SSN', description: 'SSN Field', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ProcessingStatus', description: 'Processing Status', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.ReadOnly }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ProcessingType', description: 'Processing Type', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.ReadOnly }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'Credentials', description: 'User Name Passwords Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'CreditCard', description: 'Credit Card details', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ResendWelcomeEmail', description: 'Resend Welcome emails', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'SendPOREmail', description: 'Send POR email', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'DOB', description: 'Date of Birth Field', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'SaveButton', description: 'Update Button', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'FeeInfo', description: 'Fee Info Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.ReadOnly }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'MailChimp', description: 'Mail Chimp Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'MonitoringDetails', description: 'Monitoring Details Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'GeneralNotes', description: 'General Notes Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'CreditBlissReports', description: 'Credit Bliss Reports Section', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'EditRound', description: 'Ability To Edit Rounds ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'StartRound', description: 'Ability To Start Rounds ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'SubmitRound', description: 'Ability To Submit Rounds ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ShowStats', description: 'Show Stats Section ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'AccountDelete', description: 'Ability To Delete Accounts ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'DisputeProgressTab', description: 'Dispute Progress Tab ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Show }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'NotesTab', description: 'Notes and Contacts Tab', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Show }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'FilesTab', description: 'Files Tab ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Show }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'LettersTab', description: 'Letters Tab ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Show }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'AddClientNotes', description: 'Ability to Add Client Notes ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'RemoveClientNotes', description: 'Ability to Remove Client Notes ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'EditClientNotes', description: 'Ability to Edit Client Notes ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'AddProcessingNotes', description: 'Ability to Add Processing Notes ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'RemoveProcessingNotes', description: 'Ability to Remove Processing Notes ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'UpdateContactDetails', description: 'Ability to Update Contact Details ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'UploadCustomerFile', description: 'Ability to Upload a Client File in Files Tab ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'EditCustomerFile', description: 'Ability to Update Client File ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'DownloadCustomerFile', description: 'Ability to Download Client File ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'RemoveCustomerFile', description: 'Ability to Remove Client File ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'NavigationOptions', description: 'Ability to Navigation to Other screens ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'DownloadDisputeLetter', description: 'Ability to Download Dispute Letters ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'RemoveDisputeLetter', description: 'Ability to Remove Dispute Letter ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'CreateDisputeLetter', description: 'Ability to Create Dispute Letters ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ProcessingNotesSection', description: 'Processing Notes Section ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ClientNotesSection', description: 'Client Notes Section ', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n { name: 'ToDoSection', description: 'To-Do Section ', rules: [{ role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.Customer, right: EnumFieldRights.Hide }] },\r\n ]\r\n },\r\n {\r\n screen: { name: EnumScreens.AddCustomer, description: 'Add Client', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.Dashboard, description: 'Dashboard', rules: [] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.CreateLetter, description: 'Create Client Letters Screen', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.FastEdit, description: 'Fast Edit Accounts', rules: [{ role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ReportImporter, description: 'Report Importer', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ViewFranchiseOffices, description: 'View Company Offices', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AddFranchiseOffice, description: 'Add Company Office', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ViewReferralOffices, description: 'View Affiliate Offices', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AddReferralOffice, description: 'Add Affiliate Office', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ViewReferralAgents, description: 'View referral Agent', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AddReferralAgent, description: 'Add Affiliate Agent', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ViewFranchiseAgents, description: 'View Company Agents', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AddFranchiseAgent, description: 'Add Company Agent', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.ViewLeads, description: 'View Leads', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AddLead, description: 'Add Lead', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.LetterTemplates, description: 'Letter Templates', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AdminSettings, description: 'Admin Settings', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.PortalIntegration, description: 'Portal Integration', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.AffiliateSignUp, description: 'Affiliate SignUp', rules: [{ role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.CBReportViewer, description: 'Credit Bliss Report Viewer', rules: [] },\r\n fields: []\r\n },\r\n {\r\n screen: { name: EnumScreens.UserAccess, description: 'User Access Management', rules: [{ role: EnumRoles.OfficeManager, right: EnumFieldRights.Hide }, { role: EnumRoles.Customer, right: EnumFieldRights.Hide }, { role: EnumRoles.Processor, right: EnumFieldRights.Hide }, { role: EnumRoles.CreditAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralAgent, right: EnumFieldRights.Hide }, { role: EnumRoles.ReferralManager, right: EnumFieldRights.Hide }] },\r\n fields: []\r\n }\r\n] as IScreenProps[];","import { EnumScreens } from '../models/enums';\r\nimport { INavMenu } from '../models/interfaces/shared';\r\nimport { ClientRoutesConstants } from '../shared/constants';\r\n\r\nexport const menus: INavMenu[] = [\r\n {\r\n id: 'menu-dashboard',\r\n screenId: EnumScreens.Dashboard,\r\n text: 'Dashboard',\r\n url: ClientRoutesConstants.dashboard,\r\n iconClass: 'fa fa-tachometer',\r\n tooltip: 'Dashboard'\r\n },\r\n {\r\n id: 'menu-customer',\r\n text: 'Clients',\r\n iconClass: 'fa fa-address-book-o',\r\n tooltip: 'Clients',\r\n opened: false,\r\n url: ClientRoutesConstants.customers,\r\n submenus: [{\r\n id: 'menu-cust-list',\r\n screenId: EnumScreens.CustomerList,\r\n text: 'List',\r\n url: ClientRoutesConstants.customers,\r\n tooltip: 'Clients'\r\n },\r\n {\r\n id: 'menu-add-customer',\r\n screenId: EnumScreens.AddCustomer,\r\n text: 'Add Client',\r\n url: ClientRoutesConstants.customersAdd,\r\n tooltip: 'Add Client'\r\n }]\r\n },\r\n {\r\n id: 'menu-leads',\r\n text: 'Leads',\r\n iconClass: 'fa fa-group',\r\n tooltip: 'Leads',\r\n opened: false,\r\n url: ClientRoutesConstants.leads,\r\n submenus: [\r\n {\r\n id: 'menu-add-lead',\r\n screenId: EnumScreens.AddLead,\r\n text: 'List',\r\n url: ClientRoutesConstants.leads,\r\n tooltip: 'Leads'\r\n },\r\n {\r\n id: 'menu-leads',\r\n screenId: EnumScreens.ViewLeads,\r\n text: 'Add Lead',\r\n url: ClientRoutesConstants.leadAdd,\r\n tooltip: 'Add Lead'\r\n }]\r\n },\r\n {\r\n id: 'menu-importer',\r\n text: 'Credit Reports',\r\n iconClass: 'fa fa-exchange rotate-90',\r\n tooltip: 'Credit Reports',\r\n opened: false,\r\n url: ClientRoutesConstants.reportImporter?.replace(/\\/:type\\?/g, '')?.replace(/\\/:cid\\?/g, ''),\r\n submenus: [{\r\n id: 'menu-add-importer',\r\n screenId: EnumScreens.ReportImporter,\r\n text: 'Importer',\r\n url: ClientRoutesConstants.reportImporter?.replace(/\\/:type\\?/g, '')?.replace(/\\/:cid\\?/g, ''),\r\n tooltip: 'Open Importer'\r\n }]\r\n },\r\n {\r\n id: 'men-fran-ofc',\r\n text: 'Company Offices',\r\n iconClass: 'fa fa-building',\r\n tooltip: ' Company Offices',\r\n opened: false,\r\n url: ClientRoutesConstants.franchiseOffices,\r\n submenus: [\r\n {\r\n id: 'menu-fr-view',\r\n screenId: EnumScreens.ViewFranchiseOffices,\r\n text: 'List',\r\n url: ClientRoutesConstants.franchiseOffices,\r\n tooltip: 'View Company Offices'\r\n },\r\n {\r\n id: 'menu-fr-ofc-add',\r\n screenId: EnumScreens.AddFranchiseOffice,\r\n text: 'Add Company Office',\r\n url: ClientRoutesConstants.addFranchiseOffice,\r\n tooltip: 'Add Company Office'\r\n }\r\n ]\r\n },\r\n {\r\n id: 'menu-fr-agts',\r\n text: 'Company Agents',\r\n iconClass: 'fa fa-user-secret',\r\n tooltip: 'Company Agents',\r\n opened: false,\r\n url: ClientRoutesConstants.franchiseAgents,\r\n submenus: [\r\n {\r\n id: 'menu-fr-ag-view',\r\n screenId: EnumScreens.ViewFranchiseAgents,\r\n text: 'List',\r\n url: ClientRoutesConstants.franchiseAgents,\r\n tooltip: 'View Company Agents'\r\n }, {\r\n id: 'menu-fr-add-ag',\r\n screenId: EnumScreens.AddFranchiseAgent,\r\n text: 'Add Company Agent',\r\n url: ClientRoutesConstants.addFranchiseAgent,\r\n tooltip: 'Add Company Agent'\r\n }]\r\n },\r\n {\r\n id: 'menu-ref-office',\r\n text: 'Affiliate Offices',\r\n iconClass: 'fa fa-building',\r\n tooltip: 'Affiliate Offices',\r\n opened: false,\r\n url: ClientRoutesConstants.referralOffices,\r\n submenus: [\r\n {\r\n id: 'menu-ref-ofc',\r\n screenId: EnumScreens.ViewReferralOffices,\r\n text: 'List',\r\n url: ClientRoutesConstants.referralOffices,\r\n tooltip: 'View Affiliate Offices'\r\n },\r\n {\r\n id: 'menu-add-ref-ofc',\r\n screenId: EnumScreens.AddReferralOffice,\r\n text: 'Add Affiliate Office',\r\n url: ClientRoutesConstants.addReferralOffice,\r\n tooltip: 'Add Affiliate Office'\r\n }]\r\n },\r\n {\r\n id: 'menu-ref-ag',\r\n text: 'Affiliate Agents',\r\n iconClass: 'fa fa-handshake-o',\r\n tooltip: 'Affiliate Agents',\r\n opened: false,\r\n url: ClientRoutesConstants.referralAgents,\r\n submenus: [\r\n {\r\n id: 'menu-ref-ag-view',\r\n screenId: EnumScreens.ViewReferralAgents,\r\n text: 'List',\r\n url: ClientRoutesConstants.referralAgents,\r\n tooltip: 'View Affiliate Agents'\r\n }, {\r\n id: 'menu-ref-add-ag',\r\n screenId: EnumScreens.AddReferralAgent,\r\n text: 'Add Affiliate Agent',\r\n url: ClientRoutesConstants.addReferralAgent,\r\n tooltip: 'Add Affiliate Agent'\r\n }]\r\n },\r\n {\r\n id: 'menu-email',\r\n text: 'Letter Templates',\r\n iconClass: 'fa fa-envelope',\r\n tooltip: 'Letter Templates',\r\n opened: false,\r\n url: ClientRoutesConstants.emailTemplates,\r\n submenus: [{\r\n id: 'menu-emil-emples',\r\n screenId: EnumScreens.LetterTemplates,\r\n text: 'List',\r\n url: ClientRoutesConstants.emailTemplates,\r\n tooltip: 'View/Add Letter Templates'\r\n }]\r\n },\r\n {\r\n id: 'menu-master-data',\r\n text: 'Master Data',\r\n iconClass: 'fa fa-database',\r\n tooltip: 'Master Data',\r\n opened: false,\r\n url: ClientRoutesConstants.masterData,\r\n submenus: [{\r\n id: 'menu-master-data-create',\r\n screenId: EnumScreens.MasterData,\r\n text: 'Create/View',\r\n url: ClientRoutesConstants.masterData,\r\n tooltip: 'Create/Update Master Data'\r\n }]\r\n },\r\n {\r\n id: 'menu-agents-todo',\r\n text: 'My Tasks',\r\n iconClass: 'pe-7s-note2',\r\n tooltip: 'My Tasks',\r\n opened: false,\r\n url: ClientRoutesConstants.myTasksAgents,\r\n submenus: [{\r\n id: 'menu-todo-tasks-create',\r\n screenId: EnumScreens.MyTasksAgents,\r\n text: 'List',\r\n url: ClientRoutesConstants.myTasksAgents,\r\n tooltip: 'Create/Update Tasks'\r\n }]\r\n },\r\n {\r\n id: 'menu-referral-agents-todo',\r\n text: 'My Tasks',\r\n iconClass: 'pe-7s-note2',\r\n tooltip: 'My Tasks',\r\n opened: false,\r\n url: ClientRoutesConstants.myTasksReferralAgents,\r\n submenus: [{\r\n id: 'menu-todo-tasks-create',\r\n screenId: EnumScreens.MyTasksReferralAgents,\r\n text: 'List',\r\n url: ClientRoutesConstants.myTasksReferralAgents,\r\n tooltip: 'Create/Update Tasks'\r\n }]\r\n }\r\n];","import jwt_decode from \"jwt-decode\";\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { EnumFieldRights, EnumRoles, EnumScreens } from \"../../models/enums\";\r\nimport { IJwtPayload, ILocalStorage, INavMenu, IScreenProps } from '../../models/interfaces/shared';\r\nimport { RoleMappings } from \"../../screens/admin/user-access/role-fields-mapping\";\r\nimport { Constants } from '../../shared/constants';\r\nimport { UrlUtils } from '../../utils/http-url.util';\r\nimport { menus } from \"../../utils/nav-menu-util\";\r\n\r\nexport default class AuthService {\r\n static cachedRole = '';\r\n static inMemorySesssion = null as ILocalStorage | null;\r\n static get key(): string {\r\n return Constants.authSessionKey;\r\n }\r\n static get partnerKey(): string {\r\n return UrlUtils.getPartnerKey();\r\n }\r\n static get partnerKeyInvalid(): boolean {\r\n return UrlUtils.isPartnerKeyInvalid();\r\n }\r\n static setLogin(data: ILocalStorage) {\r\n let oldKeys: any = localStorage.getItem(this.key)\r\n oldKeys = oldKeys ? JSON.parse(oldKeys) : {};\r\n const json = JSON.stringify(\r\n {\r\n ...oldKeys,\r\n [this.partnerKey]: data\r\n }\r\n );\r\n localStorage.setItem(this.key, json);\r\n }\r\n static setLoginInMemory(data: ILocalStorage) {\r\n this.inMemorySesssion = data;\r\n }\r\n static setLogout() {\r\n let oldKeys: any = localStorage.getItem(this.key)\r\n oldKeys = oldKeys ? JSON.parse(oldKeys) : {};\r\n let json = { ...oldKeys };\r\n delete json[this.partnerKey];\r\n localStorage.setItem(this.key, JSON.stringify(json));\r\n this.cachedRole = '';\r\n this.inMemorySesssion = null;\r\n }\r\n static getSession(): ILocalStorage | null {\r\n try {\r\n const session = localStorage.getItem(this.key)\r\n if (session) {\r\n const s = JSON.parse(session);\r\n return s ? (s[this.partnerKey]) as ILocalStorage : null;\r\n }\r\n return null;\r\n }\r\n catch (e) {\r\n return null;\r\n }\r\n }\r\n static isLoggedIn(): boolean {\r\n const session = this.getSession();\r\n return !!(session && session.access_token && session.refresh_token);\r\n }\r\n static getCurrentJWTPayload(): IJwtPayload {\r\n const session = this.getSession();\r\n const payload = session?.access_token ? jwt_decode(session.access_token) : {};\r\n return payload as IJwtPayload;\r\n }\r\n static currentRole(): EnumRoles {\r\n if (this.cachedRole) {\r\n return (this.cachedRole as EnumRoles);\r\n }\r\n const role = this.getCurrentJWTPayload()?.roles;\r\n this.cachedRole = role;\r\n return role;\r\n }\r\n static getJWTPayload(token: string): any {\r\n return jwt_decode(token);\r\n }\r\n static getDefaultAccessRules(): IScreenProps[] {\r\n return RoleMappings;\r\n }\r\n static isFieldHidden = memoizeOne((rules: IScreenProps | null, fieldName: string) => {\r\n const role = AuthService.currentRole();\r\n const roleEntry = rules?.fields?.find(x => x?.name?.trim() === fieldName?.trim())?.rules?.find(x => x.role === role);\r\n return !!roleEntry && roleEntry?.right === EnumFieldRights.Hide;\r\n });\r\n static isFieldReadOnly = memoizeOne((rules: IScreenProps | null, fieldName: string): boolean => {\r\n const role = AuthService.currentRole();\r\n const roleEntry = rules?.fields?.find(x => x?.name?.trim() === fieldName?.trim())?.rules?.find(x => x.role === role);\r\n return !!roleEntry && roleEntry?.right === EnumFieldRights.ReadOnly;\r\n })\r\n static isScreenHidden = memoizeOne((rules: IScreenProps): boolean => {\r\n const role = AuthService.currentRole();\r\n const roleEntry = rules?.screen?.rules?.find(x => x.role === role);\r\n return !!roleEntry && roleEntry?.right === EnumFieldRights.Hide;\r\n })\r\n static getAllAccessibleScreens(remoteRules: IScreenProps[]): string[] {\r\n let screens = [] as string[];\r\n const currRole = this.currentRole();\r\n screens = remoteRules?.filter((x: IScreenProps) => !x?.screen?.rules?.some(s => s?.role === currRole && s?.right === EnumFieldRights?.Hide))\r\n ?.map(x => x?.screen?.name);\r\n return screens;\r\n }\r\n static getLeftMenuOptions(availableScreenIds: string[]): INavMenu[] {\r\n let options = [] as INavMenu[];\r\n const role = this.currentRole();\r\n menus.forEach((menu: INavMenu) => {\r\n if (menu?.submenus?.length) {\r\n const availSubMenus = menu?.submenus?.filter(x => (x?.screenId && availableScreenIds?.includes(x?.screenId)));\r\n if (availSubMenus?.length) {\r\n options.push({\r\n ...menu,\r\n submenus: availSubMenus\r\n })\r\n }\r\n } else {\r\n if (menu?.screenId && availableScreenIds?.includes(menu?.screenId)) {\r\n options.push({ ...menu });\r\n }\r\n }\r\n });\r\n if (role === EnumRoles.Customer) {\r\n options = options?.filter(x => x.id !== 'menu-customer');\r\n }\r\n if (role === EnumRoles.Administrator) {\r\n options = options?.filter(x => x.id != 'menu-referral-agents-todo');\r\n }\r\n return options;\r\n }\r\n static getScreenOject(mappings: IScreenProps[], screen: EnumScreens): IScreenProps | null {\r\n return mappings?.find(x => x?.screen?.name === screen) || null;\r\n }\r\n static RedirectToRemoteLoginWindow() {\r\n const tenant = this.getCurrentJWTPayload()?.tenant;\r\n window.opener.location.href = `${window.location.origin}/${tenant}/`;\r\n window.close();\r\n }\r\n}","export const CustomerActionTypes = {\r\n SET_STATUSES: 'SET_STATUSES',\r\n SET_API_ACTIVE: 'SET_API_ACTIVE',\r\n SET_STATES: 'SET_STATES',\r\n SET_PARTNER_KEY: 'SET_PARTNER_KEY',\r\n SET_S3_FILES: 'SET_S3_FILES',\r\n SET_ADMIN_SETTINGS: 'SET_ADMIN_SETTINGS',\r\n SET_AGENTS: 'SET_AGENTS',\r\n SET_DISPUTE_STATS: 'SET_DISPUTE_STATS',\r\n SET_DISPUTE_STATS_LOADING: 'SET_DISPUTE_STATS_LOADING',\r\n SET_FETCH_REPORT_DATE: 'SET_FETCH_REPORT_DATE',\r\n SET_IS_LOADING_FETCH_REPORT: 'SET_IS_LOADING_FETCH_REPORT',\r\n};","import produce from \"immer\";\r\nimport { isMobile } from 'react-device-detect';\r\n\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\nimport { IPayLoad, ISharedState } from \"../models/interfaces/shared\";\r\nimport { SharedActionTypes } from \"./actions/action-types\";\r\n\r\nconst initialState = {\r\n logoChangedKey: 1,\r\n todos: [],\r\n toggleToDo: false,\r\n passwordNotStrong: false,\r\n leftMenuOpened: !isMobile\r\n};\r\n\r\nexport function SharedReducer(state = initialState, action: IPayLoad): any {\r\n return produce(state, (draft: ISharedState) => {\r\n switch (action.type) {\r\n case SharedActionTypes.SET_AUTH_RULES:\r\n draft.AuthRules = action.payload;\r\n break;\r\n case SharedActionTypes.SET_ACCESSIBLE_SCREENS:\r\n draft.currentAccessibleScreens = action.payload;\r\n break;\r\n case SharedActionTypes.SHOW_INNER_SPINNER:\r\n draft.isLoaderShownInner = action.payload?.loading;\r\n draft.loaderInnerMessage = action.payload?.message;\r\n break;\r\n case SharedActionTypes.LOGO_CHANGED:\r\n draft.logoChangedKey = (draft.logoChangedKey || 1) + 1;\r\n break;\r\n case SharedActionTypes.USER_TODOS:\r\n draft.todos = action.payload;\r\n break;\r\n case SharedActionTypes.TOGGLE_TODOS:\r\n draft.toggleToDo = !draft.toggleToDo;\r\n break;\r\n case SharedActionTypes.HIDE_TODOS:\r\n draft.toggleToDo = false;\r\n break;\r\n case SharedActionTypes.PASSWORD_NOT_STRONG:\r\n draft.passwordNotStrong = action.payload;\r\n break;\r\n case SharedActionTypes.LEFT_MENU_OPEN:\r\n draft.leftMenuOpened = action.payload;\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return initialState;\r\n case SharedActionTypes.NAVIGATE_TODOS_TAB:\r\n draft.navigateToToDos = action.payload;\r\n }\r\n })\r\n};\r\n","export const AuthInitialState = {\r\n auth: {\r\n access_token: '',\r\n refresh_token: '',\r\n isLoggedIn: false,\r\n loggedInUserDetails: null,\r\n token_type: '',\r\n expires_in: 0,\r\n isGettingPublicToken: false,\r\n isLocked: false,\r\n lockedMessage: ''\r\n }\r\n};","import { ICustomersState } from '../models/interfaces/customer-view';\r\n\r\nexport const CustomersListInitialState: ICustomersState = {\r\n statuses: [],\r\n apiActive: false,\r\n states: [],\r\n hasPartneryKey: false,\r\n s3Files: [],\r\n adminSettings: null,\r\n disputeStats: [],\r\n disputeStatsLoading: false\r\n};","export const DashboardInitialState = {\r\n customerCounts: {\r\n customersTotal: '',\r\n customersToday: '',\r\n customersThisWeek: '',\r\n customersQueue: ''\r\n },\r\n referrals: {\r\n referralOfficesTotal: '',\r\n referralOfficesToday: '',\r\n referralOfficesThisWeek: '',\r\n referralAgentsTotal: '',\r\n referralAgentsToday: '',\r\n referralAgentsThisWeek: ''\r\n },\r\n franchises: {\r\n franchiseOfficesTotal: '',\r\n franchiseAgentsTotal: '',\r\n franchiseAgentsToday: '',\r\n franchiseAgentsThisWeek: ''\r\n },\r\n dashboardRoles: {\r\n 'administrator': '',\r\n 'credit Agent': '',\r\n 'customer': '',\r\n 'referral Agent': '',\r\n 'referral Manager': ''\r\n },\r\n customerLetters: [],\r\n needingDocumentsCounts: {\r\n needingDocumentsTotal: '',\r\n needingPOR: '',\r\n needingID: '',\r\n needingSS: '',\r\n needingDocs: ''\r\n },\r\n needingNewRoundCount: '',\r\n needingNewReportCount: ''\r\n};","import { ICreateLetterInitialState, ICreateLetterSource, ISelectedAccounts } from '../models/interfaces/create-letter';\r\n\r\nexport const CreateLetterInitialState: ICreateLetterInitialState = {\r\n letterSource: { sources: [], isShowMore: true } as ICreateLetterSource,\r\n letterOptions: [],\r\n selectedAccounts: null,\r\n accounts: [],\r\n activeTab: 1,\r\n advanced: false,\r\n reloadTempLetter: false,\r\n reloadDisputeLetters: false,\r\n tempLetters: [],\r\n roundInfo: null\r\n};","import produce from \"immer\";\r\n\r\nimport { ICheckboxList, IPayLoad } from \"../models/interfaces/shared\";\r\nimport { CreateLetterInitialState } from \"./create-letter.initial-state\";\r\nimport { CreateLetterActionTypes } from './../actions/create-letter.action-types';\r\nimport { EnumBureausShorts, LetterSearchTypes } from \"../models/enums\";\r\nimport { Variables } from \"../shared/constants\";\r\nimport { ISelectedAccounts } from \"../models/interfaces/create-letter\";\r\nimport { CommonUtils } from \"../utils/common-utils\";\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\nimport { CustomersListInitialState } from \"./customer-view.initial-state\";\r\nimport moment from \"moment\";\r\n\r\nexport function CreateLetterReducer(state = CreateLetterInitialState, action: IPayLoad): any {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case CreateLetterActionTypes.RESET_ACCOUNTS:\r\n resetAccounts(draft);\r\n break;\r\n case CreateLetterActionTypes.SET_AUTOSELECT_OPTIONS:\r\n resetFields(draft);\r\n draft.autoSelectOptions = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_SOURCE:\r\n draft.letterSource = action.payload;\r\n draft.advanced = false;\r\n resetFields(draft);\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_OPTIONS:\r\n draft.letterOptions = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_SELECTED_ACCOUNTS: // acc list checkbox change\r\n draft.selectedAccounts = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_ACCOUNTS: // page load\r\n draft.accounts = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LAST_REPORT_DATE:\r\n draft.reportDate = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_TEMPLATE: // letter template search \r\n draft[action.payload.bureau as LetterSearchTypes] = action.payload?.value;\r\n if (draft.accounts?.length && action.payload?.value) {\r\n switch (action.payload.bureau) {\r\n case LetterSearchTypes.TransUnion:\r\n {\r\n let tus = draft?.accounts?.filter(x => x && x.tuAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.TU) : []),\r\n !isDisabled(x.tuOutcome) ? { value: x.tuAccountBureauId, text: EnumBureausShorts.TU, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (tus?.length) {\r\n tus.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Experian:\r\n {\r\n let exps = draft?.accounts?.filter(x => x && x.expAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.EXP) : [])\r\n ,\r\n !isDisabled(x.expOutcome) ? { value: x.expAccountBureauId, text: EnumBureausShorts.EXP, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (exps?.length) {\r\n exps.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Equifax:\r\n {\r\n let eqfs = draft?.accounts?.filter(x => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.EQF) : []),\r\n !isDisabled(x.eqfOutcome) ? { value: x.eqfAccountBureauId, text: EnumBureausShorts.EQF, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (eqfs?.length) {\r\n eqfs.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.CRA:\r\n {\r\n let availableAccs = draft?.accounts?.filter(x => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID || x.expAccountBureauId !== Variables.EMPTY_GUID || x.tuAccountBureauId !== Variables.EMPTY_GUID);\r\n let buearus = {} as ISelectedAccounts;\r\n const isTU = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.TU);\r\n const isEXP = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.EXP);\r\n const isEQF = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.EQF);\r\n availableAccs?.forEach(x => {\r\n if (x?.tuAccountBureauId !== Variables.EMPTY_GUID && isTU) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.tuOutcome) ? { value: x?.tuAccountBureauId, text: EnumBureausShorts.TU, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts;\r\n }\r\n if (x?.expAccountBureauId !== Variables.EMPTY_GUID && isEXP) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.expOutcome) ? { value: x?.expAccountBureauId, text: EnumBureausShorts.EXP, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts;\r\n }\r\n if (x?.eqfAccountBureauId !== Variables.EMPTY_GUID && isEQF) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.eqfOutcome) ? { value: x?.eqfAccountBureauId, text: EnumBureausShorts.EQF, disabled: false, checked: true } : null]\r\n } as ISelectedAccounts;\r\n }\r\n });\r\n if (buearus) {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...buearus\r\n };\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Creditor:\r\n case LetterSearchTypes.BCC:\r\n case LetterSearchTypes.CC:\r\n {\r\n let accs = draft?.accounts?.filter(x => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID || x.expAccountBureauId !== Variables.EMPTY_GUID || x.tuAccountBureauId !== Variables.EMPTY_GUID);\r\n let allbuearus = {} as ISelectedAccounts;\r\n accs?.forEach(x => {\r\n allbuearus = {\r\n ...allbuearus,\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m?.text !== mapBureauToShort(action.payload.bureau)) : []),\r\n {\r\n value: action.payload.bureau,\r\n text: (\r\n action.payload.bureau === LetterSearchTypes.Creditor\r\n ? EnumBureausShorts.CREDITOR\r\n : action.payload.bureau === LetterSearchTypes.BCC\r\n ? EnumBureausShorts.BCC : EnumBureausShorts.CC\r\n ),\r\n disabled: false, checked: true\r\n }]\r\n } as ISelectedAccounts;\r\n });\r\n if (allbuearus) {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...allbuearus\r\n };\r\n }\r\n }\r\n break;\r\n }\r\n } else {\r\n if (draft.selectedAccounts) {\r\n let newData = draft.selectedAccounts;\r\n Object.getOwnPropertyNames(draft.selectedAccounts).forEach(key => {\r\n newData = {\r\n ...newData,\r\n [key]: draft.selectedAccounts && draft?.selectedAccounts[key]\r\n ? draft?.selectedAccounts[key].filter((x: ICheckboxList) => x?.text !== mapBureauToShort(action.payload.bureau))\r\n : []\r\n };\r\n });\r\n draft.selectedAccounts = newData;\r\n }\r\n }\r\n if (action.payload?.value) {\r\n draft.activeTab = 1;\r\n }\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_TEMPLATE_WITH_AUTOSELECT: // letter template search \r\n draft.accounts = action.payload?.accounts;\r\n draft[action.payload.bureau as LetterSearchTypes] = action.payload?.value;\r\n if (action.payload?.accounts?.length && action.payload?.value) {\r\n switch (action.payload.bureau) {\r\n case LetterSearchTypes.TransUnion:\r\n {\r\n let tus = draft?.accounts?.filter(x => x && x.tuAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.TU) : []),\r\n !isDisabled(x.tuOutcome) ? { value: x.tuAccountBureauId, text: EnumBureausShorts.TU, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (tus?.length) {\r\n tus.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Experian:\r\n {\r\n let exps = draft?.accounts?.filter(x => x && x.expAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.EXP) : [])\r\n ,\r\n !isDisabled(x.expOutcome) ? { value: x.expAccountBureauId, text: EnumBureausShorts.EXP, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (exps?.length) {\r\n exps.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Equifax:\r\n {\r\n let eqfs = draft?.accounts?.filter(x => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID)\r\n ?.map(x => ({\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m.text !== EnumBureausShorts.EQF) : []),\r\n !isDisabled(x.eqfOutcome) ? { value: x.eqfAccountBureauId, text: EnumBureausShorts.EQF, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts));\r\n\r\n if (eqfs?.length) {\r\n eqfs.forEach((x) => {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...x\r\n };\r\n });\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.CRA:\r\n {\r\n let availableAccs = action.payload?.accounts?.filter((x: any) => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID || x.expAccountBureauId !== Variables.EMPTY_GUID || x.tuAccountBureauId !== Variables.EMPTY_GUID);\r\n let buearus = {} as ISelectedAccounts;\r\n const isTU = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.TU);\r\n const isEXP = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.EXP);\r\n const isEQF = !!draft.letterSource?.sources?.find(x => x === EnumBureausShorts.EQF);\r\n availableAccs?.forEach((x: any) => {\r\n if (x?.tuAccountBureauId !== Variables.EMPTY_GUID && isTU) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.tuOutcome) ? { value: x?.tuAccountBureauId, text: EnumBureausShorts.TU, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts;\r\n }\r\n if (x?.expAccountBureauId !== Variables.EMPTY_GUID && isEXP) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.expOutcome) ? { value: x?.expAccountBureauId, text: EnumBureausShorts.EXP, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts;\r\n }\r\n if (x?.eqfAccountBureauId !== Variables.EMPTY_GUID && isEQF) {\r\n buearus = {\r\n ...buearus,\r\n [x.id]: [...(buearus[x.id] || []), !isDisabled(x.eqfOutcome) ? { value: x?.eqfAccountBureauId, text: EnumBureausShorts.EQF, disabled: false, checked: !isNewNegativeAccount(x, draft.reportDate) } : null]\r\n } as ISelectedAccounts;\r\n }\r\n });\r\n if (buearus) {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...buearus\r\n };\r\n }\r\n }\r\n break;\r\n case LetterSearchTypes.Creditor:\r\n {\r\n let accs = action.payload?.accounts?.filter((x: any) => x && x.eqfAccountBureauId !== Variables.EMPTY_GUID || x.expAccountBureauId !== Variables.EMPTY_GUID || x.tuAccountBureauId !== Variables.EMPTY_GUID);\r\n let allbuearus = {} as ISelectedAccounts;\r\n accs?.forEach((x: any) => {\r\n allbuearus = {\r\n ...allbuearus,\r\n [x.id]: [\r\n ...(draft?.selectedAccounts && draft?.selectedAccounts[x.id]\r\n ? draft.selectedAccounts[x.id]?.filter(m => m && m?.text !== mapBureauToShort(action.payload.bureau)) : []),\r\n {\r\n value: action.payload.bureau,\r\n text: (\r\n action.payload.bureau === LetterSearchTypes.Creditor\r\n ? EnumBureausShorts.CREDITOR\r\n : action.payload.bureau === LetterSearchTypes.BCC\r\n ? EnumBureausShorts.BCC : EnumBureausShorts.CC\r\n ),\r\n disabled: false, checked: false\r\n }]\r\n } as ISelectedAccounts;\r\n });\r\n if (allbuearus) {\r\n draft.selectedAccounts = {\r\n ...draft.selectedAccounts,\r\n ...allbuearus\r\n };\r\n }\r\n }\r\n break;\r\n }\r\n } else {\r\n if (draft.selectedAccounts) {\r\n let newData = draft.selectedAccounts;\r\n Object.getOwnPropertyNames(draft.selectedAccounts).forEach(key => {\r\n newData = {\r\n ...newData,\r\n [key]: draft.selectedAccounts && draft?.selectedAccounts[key]\r\n ? draft?.selectedAccounts[key].filter((x: ICheckboxList) => x?.text !== mapBureauToShort(action.payload.bureau))\r\n : []\r\n };\r\n });\r\n draft.selectedAccounts = newData;\r\n }\r\n }\r\n if (action.payload?.value) {\r\n draft.activeTab = 1;\r\n }\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_ADVANCED:\r\n resetFields(draft);\r\n draft.advanced = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LETTER_ACTIVETAB:\r\n draft.activeTab = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_TEMP_LETTER_RELOAD:\r\n draft.advanced = false;\r\n draft.reloadTempLetter = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_DISPUTE_LETTERS_RELOAD:\r\n draft.reloadDisputeLetters = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_CUSTOMER_ROUND_INFO:\r\n draft.roundInfo = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_TEMP_LETTERS:\r\n draft.tempLetters = action.payload;\r\n break;\r\n case CreateLetterActionTypes.SET_LETTERS_CREATED:\r\n draft.lettersCreated = action.payload;\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return CustomersListInitialState;\r\n default:\r\n break;\r\n }\r\n })\r\n}\r\nfunction isDisabled(outcome?: string) {\r\n const isAvailable = CommonUtils.isAvailableToSelect(outcome);\r\n if (!isAvailable) return true;\r\n return false;\r\n}\r\nfunction resetFields(draft: any) {\r\n draft.selectedAccounts = null;\r\n draft[LetterSearchTypes.CRA] = null;\r\n draft[LetterSearchTypes.TransUnion] = null;\r\n draft[LetterSearchTypes.Experian] = null;\r\n draft[LetterSearchTypes.Equifax] = null;\r\n draft[LetterSearchTypes.Creditor] = null;\r\n draft[LetterSearchTypes.CC] = null;\r\n draft[LetterSearchTypes.BCC] = null;\r\n}\r\nfunction resetAccounts(draft: any) {\r\n draft.accounts = null;\r\n}\r\nfunction mapBureauToShort(search: LetterSearchTypes): EnumBureausShorts {\r\n switch (search) {\r\n case LetterSearchTypes.TransUnion:\r\n return EnumBureausShorts.TU;\r\n case LetterSearchTypes.Experian:\r\n return EnumBureausShorts.EXP;\r\n case LetterSearchTypes.Equifax:\r\n return EnumBureausShorts.EQF;\r\n case LetterSearchTypes.Creditor:\r\n return EnumBureausShorts.CREDITOR;\r\n case LetterSearchTypes.BCC:\r\n return EnumBureausShorts.BCC;\r\n case LetterSearchTypes.CC:\r\n return EnumBureausShorts.CC;\r\n case LetterSearchTypes.CRA:\r\n return EnumBureausShorts.CRA;\r\n }\r\n return EnumBureausShorts.CRA;\r\n}\r\nfunction isNewNegativeAccount(account: any, reportImportedDate?: string) {\r\n if (reportImportedDate) {\r\n if (CommonUtils.isNegativeAccount(account) === true && (account?.isInsertedEQF || account?.isInsertedEXP || account?.isInsertedTU))\r\n return true;\r\n else\r\n return false;\r\n } else {\r\n return false;\r\n }\r\n}","export const FastEditstate = {\r\n data: null,\r\n}","export const FastEditActionTypes = {\r\n SET_DATA: 'SET_DATA'\r\n}","export const ImportReportInitialState = {\r\n deletedAccounts: 0,\r\n deletedCreditInquiries: 0,\r\n newNegativeAccounts: 0,\r\n newPositiveAccounts: 0,\r\n newCreditInquiries: 0,\r\n updatedAccounts: 0,\r\n};","import { ConfigurationsModel } from \"../models/interfaces/config\";\r\n\r\nexport const ConfigInitialState: ConfigurationsModel = {\r\n configurations: {}\r\n};","import { combineReducers } from \"redux\";\r\n\r\nimport { SharedReducer } from \"../shared/shared-reducer\";\r\nimport { AuthReducer } from \"./auth.reducer\";\r\nimport { CustomerViewReducer } from \"./customer-view.reducer\";\r\nimport { DashboardReducer } from \"./dashboard.reducer\";\r\nimport { CreateLetterReducer } from \"./create-letter.reducer\";\r\nimport { FastEditReducer } from \"./fast-edit-accounts.reducer\";\r\nimport { ImportReportReducer } from \"./import-report.reducer\";\r\nimport { ConfigReducer } from \"./config.reducer\";\r\n\r\n\r\nexport const combinedReducer = combineReducers({\r\n authModel: AuthReducer,\r\n configModel: ConfigReducer,\r\n dashboardModel: DashboardReducer,\r\n customerViewModel: CustomerViewReducer,\r\n createLetterModel: CreateLetterReducer,\r\n fastEditModel: FastEditReducer,\r\n sharedModel: SharedReducer,\r\n importReportModel: ImportReportReducer\r\n});","import produce from \"immer\";\r\n\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { AuthInitialState } from './auth.intialState';\r\nimport { AuthActionTypes } from '../actions/auth.action-types';\r\n\r\nexport const AuthReducer = (state = AuthInitialState, action: IPayLoad): any => {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case AuthActionTypes.CHECK_LOGIN_SUCCESS:\r\n draft.auth = {\r\n isLoggedIn: true,\r\n loggedInUserDetails: null,\r\n access_token: action.payload.access_token,\r\n refresh_token: action.payload.refresh_token,\r\n expires_in: action.payload.expires_in,\r\n token_type: action.payload.token_type,\r\n isGettingPublicToken: false, \r\n isLocked: false,\r\n lockedMessage: ''\r\n };\r\n break;\r\n case AuthActionTypes.CHECK_LOGIN_FAILURE:\r\n draft.auth = {\r\n isLoggedIn: false,\r\n loggedInUserDetails: null,\r\n access_token: '',\r\n refresh_token: '',\r\n expires_in: 0,\r\n token_type: '',\r\n isGettingPublicToken: false,\r\n isLocked: false,\r\n lockedMessage: ''\r\n };\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return AuthInitialState;\r\n case AuthActionTypes.SET_LOGGED_IN_DETAILS:\r\n draft.auth.loggedInUserDetails = action.payload;\r\n break;\r\n case AuthActionTypes.SET_GETTING_GUEST_TOKEN:\r\n draft.auth.isGettingPublicToken = action.payload;\r\n break;\r\n case AuthActionTypes.PORTAL_LOCKED:\r\n draft.auth.isLocked = action.payload?.isLocked;\r\n draft.auth.lockedMessage = action.payload?.lockedMessage;\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n}","import produce from \"immer\";\r\n\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\nimport { ConfigActionTypes } from \"../actions/config.action-types\";\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { ConfigInitialState } from \"./config.initialState\";\r\n\r\n\r\nexport const ConfigReducer = (state = ConfigInitialState, action: IPayLoad): any => {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case ConfigActionTypes.SET_CONFIGURATIONS: {\r\n draft.configurations = action.payload?.configurations;\r\n break;\r\n }\r\n case ConfigActionTypes.REMOVE_CONFIGURATIONS:\r\n case AuthActionTypes.SET_LOGOUT:\r\n return ConfigInitialState;\r\n default:\r\n break;\r\n }\r\n });\r\n}","import produce from \"immer\";\r\n\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { DashboardActionTypes } from '../actions/dashboard.action-types';\r\nimport { DashboardInitialState } from './dashboard.initial-state';\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\n\r\nexport const DashboardReducer = (state = DashboardInitialState, action: IPayLoad): any => {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case DashboardActionTypes.SET_CUSTOMER_COUNTS:\r\n draft.customerCounts = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_LETTER_COUNTS:\r\n draft.customerLetters = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_ROLE_COUNTS:\r\n draft.dashboardRoles = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_REFERRAL_COUNTS:\r\n draft.referrals = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_FRANCHISE_COUNTS:\r\n draft.franchises = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_NEEDING_DOCUMENTS_COUNTS:\r\n draft.needingDocumentsCounts = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_NEEDING_NEW_ROUND_COUNTS:\r\n draft.needingNewRoundCount = action.payload;\r\n break;\r\n case DashboardActionTypes.SET_NEEDING_NEW_REPORT_COUNTS:\r\n draft.needingNewReportCount = action.payload;\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return DashboardInitialState;\r\n default:\r\n break;\r\n }\r\n });\r\n}","import produce from \"immer\";\r\n\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { CustomersListInitialState } from './customer-view.initial-state';\r\nimport { CustomerActionTypes } from '../actions/customers.action-types';\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\n\r\nexport function CustomerViewReducer(state = CustomersListInitialState, action: IPayLoad): any {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case CustomerActionTypes.SET_STATUSES:\r\n draft.statuses = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_API_ACTIVE:\r\n draft.apiActive = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_STATES:\r\n draft.states = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_PARTNER_KEY:\r\n draft.hasPartneryKey = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_S3_FILES:\r\n draft.s3Files = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_ADMIN_SETTINGS:\r\n draft.adminSettings = action.payload;\r\n break;\r\n\r\n case CustomerActionTypes.SET_DISPUTE_STATS:\r\n draft.disputeStats = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_DISPUTE_STATS_LOADING:\r\n draft.disputeStatsLoading = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_FETCH_REPORT_DATE:\r\n draft.getFetchReportDate = action.payload;\r\n break;\r\n case CustomerActionTypes.SET_IS_LOADING_FETCH_REPORT:\r\n draft.setIsLoadingFetchReport = action.payload;\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return CustomersListInitialState;\r\n default:\r\n break;\r\n }\r\n })\r\n}","import produce from \"immer\";\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { FastEditstate } from './fast-edit.initial-state';\r\nimport { FastEditActionTypes } from '../actions/fast-edit.action-types';\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\n\r\nexport function FastEditReducer(state = FastEditstate, action: IPayLoad): any {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case FastEditActionTypes.SET_DATA:\r\n draft.data = action.payload;\r\n break;\r\n case AuthActionTypes.SET_LOGOUT:\r\n return FastEditstate;\r\n default: {\r\n break;\r\n }\r\n }\r\n })\r\n}","import produce from \"immer\";\r\n\r\nimport { IPayLoad } from \"../models/interfaces/shared\";\r\nimport { AuthActionTypes } from \"../actions/auth.action-types\";\r\nimport { ImportReportInitialState } from \"./import-report.initial-state\";\r\nimport { ImporterActionTypes } from \"../actions/importer.action-types\";\r\n\r\nexport const ImportReportReducer = (state = ImportReportInitialState, action: IPayLoad): any => {\r\n return produce(state, (draft) => {\r\n switch (action.type) {\r\n case ImporterActionTypes.SET_DELETED_ACCOUNTS_COUNTS:\r\n draft.deletedAccounts = action.payload;\r\n break;\r\n case ImporterActionTypes.SET_DELETED_INQUIRIES_COUNTS:\r\n draft.deletedCreditInquiries = action.payload;\r\n break;\r\n case ImporterActionTypes.SET_NEW_INQUIRIES_COUNTS:\r\n draft.newCreditInquiries = action.payload;\r\n break;\r\n case ImporterActionTypes.SET_NEW_NEGATIVE_ACCOUNTS_COUNTS:\r\n draft.newNegativeAccounts = action.payload;\r\n break;\r\n case ImporterActionTypes.SET_NEW_POSITIVE_ACCOUNTS_COUNTS:\r\n draft.newPositiveAccounts = action.payload;\r\n break;\r\n case ImporterActionTypes.SET_UPDATED_ACCOUNTS_COUNTS:\r\n draft.updatedAccounts = action.payload;\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n}","import { createStore, applyMiddleware } from 'redux';\r\nimport thunk from 'redux-thunk';\r\n\r\nimport { combinedReducer } from '../reducers';\r\n\r\n\r\nexport const store = createStore(combinedReducer, applyMiddleware(thunk));","import React from 'react';\r\n\r\nexport const NotFoundComponent: React.FC = () => {\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

404

\r\n

Page\r\n
\r\n Not Found\r\n

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Sorry, but the page you are looking for has note been found. Try checking the URL for error, then hit the\r\n refresh button on your browser or try found something else in our app.

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};","import React from 'react';\r\n\r\nexport const FooterComponent = (props: any) => {\r\n return (\r\n
\r\n Copyright © 2019-2024 AccountProgress.com All rights reserved.\r\n
\r\n );\r\n};","import React, { useEffect, useRef, useState } from \"react\";\r\n\r\nexport const MenuComponent = (props: any) => {\r\n const wrapperRef: any = useRef();\r\n\r\n const [open, setOpen] = useState(false);\r\n const { containerCssClass, iconComponent, subComponents } = props;\r\n\r\n const handleClickOutside = (event: any) => {\r\n if (wrapperRef.current && !wrapperRef.current.contains(event.target)) {\r\n setOpen(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n document.addEventListener('click', handleClickOutside, true);\r\n return () => {\r\n document.removeEventListener('click', handleClickOutside, true);\r\n };\r\n }, []);\r\n return (\r\n <>\r\n
  • \r\n {\r\n e.preventDefault();\r\n setOpen(!open);\r\n }}>\r\n {iconComponent}\r\n \r\n\r\n
    \r\n
    \r\n {subComponents}\r\n
    \r\n
    \r\n
  • \r\n \r\n );\r\n\r\n};","import classnames from 'classnames';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Link } from 'react-router-dom';\r\nimport { AutoCompleteSearchTypes } from '../../models/enums';\r\n\r\nimport { ICustomerShort, ICustomersState } from '../../models/interfaces/customer-view';\r\nimport { INavMenu } from '../../models/interfaces/shared';\r\nimport { CommonUtils } from '../../utils/common-utils';\r\nimport { ClientRoutesConstants } from '../constants';\r\nimport { SearchCustomersComponent } from './search-customers';\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n currentAccessibleScreens: state?.sharedModel?.currentAccessibleScreens\r\n };\r\n}\r\nexport const GlobalCustomerSearch = connect(mapStateToProps)((props: { onClose: any, currentAccessibleScreens: string[], autoFocus?: boolean, selected?: ICustomerShort }) => {\r\n\r\n const [selected, setSelected] = useState(null as ICustomerShort | null);\r\n const [menus, setMenus] = useState([] as INavMenu[]);\r\n useEffect(() => {\r\n onSelectedData(props?.selected);\r\n }, [props?.selected]);\r\n\r\n const onSelectedData = (data?: ICustomerShort) => {\r\n setSelected(data ?? null);\r\n if (data?.isLead) {\r\n setMenus(CommonUtils.LeadsMenus(data?.id ?? '', null, props?.currentAccessibleScreens));\r\n } else if(data?.isReferralAgent){\r\n setMenus(CommonUtils.ReferralAgentsMenus(data?.id ?? '', null, props?.currentAccessibleScreens));\r\n }\r\n else {\r\n setMenus(CommonUtils.CustomersMenus(data?.id ?? '', null, props?.currentAccessibleScreens));\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n \r\n {!!selected &&\r\n
    \r\n
    \r\n
    \r\n {selected?.isLead ? 'LEAD' : 'CLIENT'}\r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.firstName\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.lastName\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.franchiseOfficeName\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.franchiseAgentName\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.referralAgentName\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.telephone\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.email\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.cellPhone ?? '-'\r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n selected?.processingType\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n menus?.map((item: INavMenu, index: number) => {\r\n return (\r\n
    \r\n \r\n \r\n \r\n
    \r\n )\r\n })\r\n }\r\n
    \r\n
    \r\n
    \r\n }\r\n
    \r\n );\r\n})","import React, { Fragment, useEffect, useState } from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { Img } from 'react-image';\r\nimport { Spinner } from 'reactstrap';\r\nimport { connect } from 'react-redux';\r\nimport classNames from 'classnames';\r\n\r\nimport { logoMissing } from './images';\r\nimport { ClientRoutesConstants, Constants } from '../constants';\r\nimport AuthService from '../../core/services/auth.service';\r\nimport { ModalComponent } from './modal';\r\nimport { SiteLogoEditorComponent } from './site-logo-editor';\r\nimport { EnumRoles, IMAGETYPES } from '../../models/enums';\r\nimport { UrlUtils } from '../../utils/http-url.util';\r\nimport { CommonUtils } from '../../utils/common-utils';\r\n\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n logoKey: state?.sharedModel?.logoChangedKey\r\n };\r\n}\r\nexport const SiteLogoComponent = connect(mapStateToProps)((props: any) => {\r\n\r\n const [role, setRole] = useState(null as any);\r\n const [logoUrlMini, setlogoUrlMini] = useState('' as string);\r\n const [logoUrl, setlogoUrl] = useState('' as string);\r\n const [ofclogoUrlMini, setOfclogoUrlMini] = useState('' as string);\r\n const [ofclogoUrl, setOfclogoUrl] = useState('' as string);\r\n const [openEditor, setOpenEditor] = useState(false as boolean);\r\n\r\n\r\n useEffect(() => {\r\n const p = AuthService.getCurrentJWTPayload();\r\n const tenant = UrlUtils.getPartnerKey();\r\n const baseUrl = UrlUtils.getBaseUrl();\r\n setlogoUrl(baseUrl + CommonUtils.formatString(Constants.siteLogoPath, tenant));\r\n setlogoUrlMini(baseUrl + CommonUtils.formatString(Constants.siteLogoMiniPath, tenant));\r\n setOfclogoUrl(baseUrl + CommonUtils.formatString(Constants.officeLogoPath, tenant, p?.mainFranchiseOfficeId || ''));\r\n setOfclogoUrlMini(baseUrl + CommonUtils.formatString(Constants.officeLogoMiniPath, tenant, p?.mainFranchiseOfficeId || ''));\r\n setRole(p?.roles);\r\n }, [props]);\r\n\r\n const onLogoUpdate = (saved: boolean) => {\r\n setOpenEditor(false);\r\n }\r\n return (\r\n <>\r\n
    \r\n \r\n
    setOpenEditor(true)}>\r\n {!props?.sidebarCollapsed && }\r\n \r\n
    \r\n
    \r\n \r\n \r\n {\r\n props?.allowEditLogo\r\n && setOpenEditor(false)}>\r\n {openEditor && }\r\n \r\n }\r\n\r\n \r\n );\r\n});","import React from 'react';\r\nimport { Link } from 'react-router-dom';\r\nimport { isMobile } from 'react-device-detect';\r\nimport { connect } from 'react-redux';\r\nimport { bindActionCreators } from 'redux';\r\n\r\nimport { ClientRoutesConstants } from '../constants';\r\nimport { MenuComponent } from './menu';\r\nimport { GlobalCustomerSearch } from './global-customer-search';\r\nimport AuthService from '../../core/services/auth.service';\r\nimport { AutoCompleteSearchTypes, EnumRoles } from '../../models/enums';\r\nimport { SearchCustomersComponent } from './search-customers';\r\nimport { SiteLogoComponent } from './site-logo';\r\nimport { leftMenuOpened, toggleToDoShared } from '../actions/shared.actions';\r\nimport { IToDo } from '../../models/interfaces/customer-view';\r\n\r\nclass HeaderComponent extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n const payload = AuthService.getCurrentJWTPayload();\r\n const currRole = AuthService.currentRole();\r\n this.state = {\r\n searchOpened: false,\r\n showCustomerSearch: currRole !== EnumRoles.Customer,\r\n isAdmin: currRole === EnumRoles.Administrator,\r\n selectedSearch: null,\r\n currRole,\r\n fullName: (payload?.firstName || '') + ' ' + (payload?.lastName || '')\r\n };\r\n this.togggleSdeBar = this.togggleSdeBar.bind(this);\r\n this.toggleSearch = this.toggleSearch.bind(this);\r\n this.onSearchSelectedData = this.onSearchSelectedData.bind(this);\r\n this.docClickHandler = this.docClickHandler.bind(this);\r\n this.toggleDrawer = this.toggleDrawer.bind(this);\r\n this.onNotifyClick = this.onNotifyClick.bind(this);\r\n }\r\n componentDidMount() {\r\n document.addEventListener('click', this.docClickHandler);\r\n }\r\n componentWillUnmount() {\r\n document.removeEventListener('click', this.docClickHandler);\r\n }\r\n docClickHandler(e: any) {\r\n this.props?.toggleLeftMenu(!(isMobile ? true : this.props.sidebarCollapsed));\r\n if (isMobile) {\r\n document.body.classList.add('sidebar-collapse');\r\n document.body.classList.remove('sidebar-open');\r\n }\r\n }\r\n togggleSdeBar(e: any) {\r\n e.preventDefault();\r\n e.stopPropagation();\r\n this.toggleDrawer();\r\n }\r\n toggleSearch() {\r\n this.setState((state: any) => {\r\n return {\r\n searchOpened: !state.searchOpened\r\n }\r\n });\r\n }\r\n toggleDrawer() {\r\n this.props?.toggleLeftMenu(!this.props?.leftMenuOpened);\r\n document.body.classList.toggle('sidebar-collapse');\r\n document.body.classList.toggle('sidebar-open');\r\n }\r\n onSearchSelectedData(data: any) {\r\n this.toggleSearch();\r\n this.setState((state: any) => {\r\n return {\r\n ...state,\r\n selectedSearch: data\r\n }\r\n });\r\n }\r\n onNotifyClick(e: any) {\r\n e.preventDefault();\r\n this.props?.toggleToDoShared();\r\n }\r\n render() {\r\n const { searchOpened, showCustomerSearch, isAdmin, fullName, currRole, selectedSearch } = this.state;\r\n const { leftMenuOpened } = this.props;\r\n return (\r\n
    \r\n \r\n \r\n
    \r\n );\r\n }\r\n\r\n}\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n toggleToDoShared,\r\n toggleLeftMenu: leftMenuOpened,\r\n }, dispatch);\r\n}\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n toggleToDo: state?.sharedModel?.toggleToDo,\r\n todos: state?.sharedModel?.todos,\r\n leftMenuOpened: state?.sharedModel?.leftMenuOpened,\r\n };\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(HeaderComponent)","import React, { MouseEvent } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { NavLink, withRouter } from 'react-router-dom';\r\n\r\nimport AuthService from '../../core/services/auth.service';\r\nimport { INavMenu } from '../../models/interfaces/shared';\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n sharedModel: state.sharedModel\r\n };\r\n}\r\nclass LeftNavComponent extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n const availableMenus = AuthService.getLeftMenuOptions(props?.sharedModel?.currentAccessibleScreens);\r\n this.state = { menus: availableMenus };\r\n this.getMenuItems = this.getMenuItems.bind(this);\r\n this.getSubmenuItems = this.getSubmenuItems.bind(this);\r\n this.nestedMenuClickHandle = this.nestedMenuClickHandle.bind(this);\r\n this.nestedMenuClickHandle = this.nestedMenuClickHandle.bind(this);\r\n }\r\n componentDidMount() {\r\n }\r\n nestedMenuClickHandle(ev: MouseEvent, menu: INavMenu, index: number) {\r\n let arr = [...this.state.menus];\r\n arr.forEach((m: INavMenu) => {\r\n m.opened = false;\r\n })\r\n arr[index].opened = !arr[index].opened;\r\n arr.splice(index, 1, arr[index]);\r\n this.setState({\r\n menus: [...arr]\r\n });\r\n }\r\n getMenuItems(items: INavMenu[]) {\r\n if (items?.length) { \r\n return (\r\n this.state.menus?.map((menu: INavMenu, index: number) => {\r\n return (\r\n
  • \r\n this.nestedMenuClickHandle(e, menu, index)}>\r\n \r\n {menu?.text}\r\n {\r\n menu?.submenus?.length\r\n ?\r\n \r\n \r\n \r\n : null\r\n }\r\n \r\n
      \r\n {\r\n this.getSubmenuItems(menu?.submenus)\r\n }\r\n
    \r\n
  • \r\n )\r\n })\r\n );\r\n }\r\n }\r\n getSubmenuItems(items?: INavMenu[]) {\r\n if (items?.length) {\r\n return (\r\n items.map((menu: INavMenu) => {\r\n return (\r\n
  • \r\n \r\n {menu?.text}\r\n \r\n
  • \r\n );\r\n })\r\n );\r\n }\r\n }\r\n\r\n render() {\r\n const { menus: ms } = this.state;\r\n return (\r\n ms?.length ?\r\n \r\n : null\r\n );\r\n }\r\n}\r\nexport default connect(mapStateToProps)(withRouter(LeftNavComponent));","import React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { bindActionCreators } from 'redux';\r\n\r\nimport { setLogout } from '../../../actions/auth.actions';\r\nimport { ClientRoutesConstants } from '../../../shared/constants';\r\n\r\nclass LogoutComponent extends React.PureComponent {\r\n componentDidMount() {\r\n this.props.setLogout();\r\n this.props.history.push(ClientRoutesConstants.login);\r\n setTimeout(() => {\r\n window.location.reload();\r\n }, 0);\r\n }\r\n render() {\r\n return (\r\n
    \r\n

    You Are logged out !

    \r\n
    \r\n );\r\n }\r\n}\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n setLogout\r\n }, dispatch);\r\n}\r\nexport default connect(null, mapDispatchToProps)(LogoutComponent);","import './login.scss';\r\n\r\nimport React, { createRef } from 'react';\r\nimport { Link, Redirect, withRouter } from 'react-router-dom';\r\nimport { connect } from 'react-redux';\r\nimport { bindActionCreators } from 'redux';\r\nimport axios, { CancelTokenSource } from 'axios';\r\nimport classnames from 'classnames';\r\n\r\nimport AuthService from '../../../core/services/auth.service';\r\nimport { checkLogin, setLoginComplete, setLogout } from '../../../actions/auth.actions';\r\nimport { IAuthPayload, ILoginResponse, ILoginState } from '../../../models/interfaces/auth';\r\nimport { ClientRoutesConstants, Messages } from '../../../shared/constants';\r\nimport { GrantType } from '../../../models/enums';\r\nimport { ButtonComponent } from '../../../shared/components/button';\r\nimport { getAuthRules, passwordNotStrong } from '../../../shared/actions/shared.actions';\r\nimport { IScreenProps } from '../../../models/interfaces/shared';\r\nimport { CommonUtils } from '../../../utils/common-utils';\r\n\r\nclass LoginComponent extends React.PureComponent {\r\n uPass: React.RefObject;\r\n uName: React.RefObject;\r\n constructor(props: any) {\r\n super(props);\r\n const search = new URLSearchParams(props.location.search);\r\n const isLoginFromRemoteSite = !!search.get('officeid');\r\n this.uName = createRef();\r\n this.uPass = createRef();\r\n const source = axios.CancelToken.source();\r\n this.state = {\r\n isLoading: false,\r\n isError: false, password: '', username: '', noValues: false,\r\n redirectToReferrer: false,\r\n viewPass: false,\r\n axiousSource: source,\r\n isLoginFromRemoteSite\r\n };\r\n this.onLoginHandler = this.onLoginHandler.bind(this);\r\n this.onkeyDown = this.onkeyDown.bind(this);\r\n this.resetFields = this.resetFields.bind(this);\r\n this.performLogin = this.performLogin.bind(this);\r\n }\r\n onLoginHandler() {\r\n this.setState({\r\n isError: false,\r\n noValues: false\r\n });\r\n if (this.uName?.current?.value && this.uPass?.current?.value) {\r\n this.setState({\r\n isLoading: true\r\n });\r\n this.performLogin(this.uName?.current?.value, this.uPass?.current?.value, this.state.axiousSource);\r\n } else {\r\n this.setState({\r\n noValues: true\r\n });\r\n }\r\n }\r\n componentDidMount() {\r\n this.props.setLogout();\r\n }\r\n performLogin(username?: string, password?: string, axiousSource?: CancelTokenSource) {\r\n this.props.setLogin(\r\n {\r\n username,\r\n password,\r\n grant_type: GrantType.password\r\n } as IAuthPayload)\r\n .then((result: ILoginResponse) => {\r\n if (result?.access_token && result?.expires_in) {\r\n AuthService.setLogin(result);\r\n this.props?.passwordNotStrong(!CommonUtils.isPasswordStrong(password || ''));\r\n this.props?.getAuthRules(axiousSource).then((mapping: IScreenProps[]) => {\r\n if (this.state.isLoginFromRemoteSite && window?.opener) {\r\n AuthService.RedirectToRemoteLoginWindow();\r\n } else {\r\n this.setState({ redirectToReferrer: true });\r\n this.props.setLoginComplete(result);\r\n }\r\n }).catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n this.resetFields();\r\n AuthService.setLogout();\r\n this.setState({\r\n isError: true,\r\n isLoading: false,\r\n });\r\n }\r\n })\r\n } else {\r\n this.setState({\r\n isError: true,\r\n });\r\n this.resetFields();\r\n }\r\n }).catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n this.resetFields();\r\n this.setState({\r\n isError: true,\r\n isLoading: false,\r\n });\r\n }\r\n });\r\n }\r\n resetFields() {\r\n if (this.uName?.current && this.uPass?.current) {\r\n this.uName.current.value = '';\r\n this.uPass.current.value = '';\r\n }\r\n this.uName?.current?.focus();\r\n }\r\n onkeyDown(e: KeyboardEvent) {\r\n if (e.key === 'Enter') {\r\n this.onLoginHandler();\r\n }\r\n }\r\n componentWillUnmount() {\r\n if (this.state.axiousSource?.cancel)\r\n this.state.axiousSource?.cancel(Messages.APIAborted);\r\n }\r\n render() {\r\n const { isLoading, isError, noValues, redirectToReferrer, viewPass } = this.state;\r\n if (redirectToReferrer) {\r\n const from = this.props?.location?.state || { from: { pathname: '/' } };\r\n return ()\r\n }\r\n return (\r\n
    \r\n {\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    Login

    \r\n Please enter your credentials to login.\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {\r\n isError ?\r\n
    \r\n Invalid Credentials!\r\n
    \r\n : null\r\n }\r\n {\r\n noValues ?\r\n
    \r\n Please enter username/email and password\r\n
    \r\n : null\r\n }\r\n
    \r\n \r\n this.onkeyDown(e)} type=\"text\" title=\"Please enter you username/email\" id=\"username\" className=\"form-control\" />\r\n
    \r\n
    \r\n \r\n
    \r\n this.onkeyDown(e)} title=\"Please enter your password\" id=\"password\" className=\"form-control\" />\r\n this.setState({ viewPass: true })} onMouseUp={() => this.setState({ viewPass: false })}\r\n className={classnames(\"fa ml-1 pointer view-pass\", { 'fa-eye': viewPass, 'fa-eye-slash': !viewPass })} aria-hidden=\"true\">\r\n
    \r\n
    \r\n
    \r\n
    \r\n Login} className=\"btn-primary\" loading={isLoading} onClick={this.onLoginHandler} />\r\n Forgot Password?\r\n
    \r\n {/* Register */}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n }\r\n
    \r\n );\r\n }\r\n}\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n auth: state.authModel,\r\n };\r\n}\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n setLogin: checkLogin,\r\n getAuthRules,\r\n setLoginComplete,\r\n passwordNotStrong,\r\n setLogout\r\n }, dispatch);\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(withRouter(LoginComponent));","import { ClientRoutesConstants } from '../../shared/constants';\r\n\r\nexport default class RoutingService {\r\n\r\n static isolateRoutes = [\r\n ClientRoutesConstants.htmlParser?.toLowerCase(),\r\n ClientRoutesConstants.htmlFreeScoreParser?.toLowerCase(),\r\n ClientRoutesConstants.leadAddPublic?.toLowerCase()\r\n ];\r\n static isIsolateRoutes(route: string): boolean {\r\n return this.isolateRoutes?.includes(route?.toLowerCase());\r\n }\r\n}","import React, { useEffect, useState } from 'react';\r\nimport { Route, Switch, Redirect, useLocation } from 'react-router-dom';\r\nimport { connect } from 'react-redux';\r\nimport ReactTooltip from 'react-tooltip';\r\n\r\nimport { asyncComponent } from './shared/components/async-component';\r\nimport { NotFoundComponent } from './screens/not-found';\r\nimport { FooterComponent } from './shared/components/footer';\r\nimport { ClientRoutesConstants } from './shared/constants';\r\nimport HeaderComponent from './shared/components/header';\r\nimport LeftNavComponent from './shared/components/left-nav';\r\nimport LogoutComponent from './screens/auth/logout/logout';\r\nimport LoginComponent from './screens/auth/login/login';\r\nimport { PrivateRoute } from './core/components/private-route';\r\nimport AuthService from './core/services/auth.service';\r\nimport RoutingService from './core/services/routing-service';\r\nimport { setLogout } from './actions/auth.actions';\r\nimport { bindActionCreators } from 'redux';\r\n\r\nconst AsyncDashboardComponent = asyncComponent(() => import('./screens/dashboard'));\r\nconst AsyncRegisterComponent = asyncComponent(() => import('./screens/auth/register/register'));\r\nconst AsyncForgetPwdComponent = asyncComponent(() => import('./screens/auth/forget-password/forget-password'));\r\nconst AsyncCustomerListComponent = asyncComponent(() => import('./screens/customer/customer-list/customer-list'));\r\nconst AsyncCustomerListFilterComponent = asyncComponent(() => import('./screens/customer/customer-list/customer-list'));\r\nconst AsyncFastEditAccountsComponent = asyncComponent(() => import('./screens/customer/fast-edit-accounts/fast-edit-accounts'));\r\nconst AsyncCreateLetterComponent = asyncComponent(() => import('./screens/customer/create-letter'));\r\nconst AsyncReportImporterComponent = asyncComponent(() => import('./screens/customer/report-importer/'));\r\nconst AsyncPortalIntegrationComponent = asyncComponent(() => import('./screens/portal-integration/'));\r\nconst AsyncAffiliateSignupComponent = asyncComponent(() => import('./screens/affiliate-signup/'));\r\nconst AsyncCbReportViewerComponent = asyncComponent(() => import('./screens/customer/cb-report-viewer/'));\r\nconst AsyncUserAccessComponent = asyncComponent(() => import('./screens/admin/user-access/user-access'));\r\nconst AsyncUnAuthComponent = asyncComponent(() => import('./screens/auth/unauthorized/'));\r\nconst AsyncSecurityComponent = asyncComponent(() => import('./screens/auth/security/security'));\r\nconst AsyncResetPasswordComponent = asyncComponent(() => import('./screens/auth/reset-password/reset-password'));\r\nconst AsyncHTMLReportPrserComponent = asyncComponent(() => import('./screens/html-parser/html-report-parser'));\r\nconst AsyncHTMLReportMyFreeScoreParserComponent = asyncComponent(() => import('./screens/html-parser/html-report-my-free-score-parser'));\r\nconst AsyncFranchiseOfficesListComponent = asyncComponent(() => import('./screens/admin/franchise-offices/franchise-office-list/index'));\r\nconst AsyncLeadsListComponent = asyncComponent(() => import('./screens/leads/leads-list'));\r\nconst AsyncFranchiseAgentsListComponent = asyncComponent(() => import('./screens/admin/franchise-agents/list'));\r\nconst AsyncReferralOfficesListComponent = asyncComponent(() => import('./screens/admin/referral-offices/list'));\r\nconst AsyncReferralAgentsListComponent = asyncComponent(() => import('./screens/admin/referral-agents/list'));\r\nconst AsyncEmailTempaltesListComponent = asyncComponent(() => import('./screens/admin/email-templates/list'));\r\nconst AsyncPublicCreateLeadComponent = asyncComponent(() => import('./screens/public/leads/create-lead'));\r\nconst AsyncMasterDataComponent = asyncComponent(() => import('./screens/admin/master-records'));\r\nconst AsyncLoginHistoryComponent = asyncComponent(() => import('./screens/admin/login-history'));\r\nconst AsyncEditTypesComponent = asyncComponent(() => import('./screens/admin/edit-types'));\r\n\r\n\r\nconst mapStateToProps = (state: any) => {\r\n\treturn {\r\n\t\tauthModel: state.authModel\r\n\t}\r\n}\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n\treturn bindActionCreators({\r\n\t\tsetLogout\r\n\t}, dispatch);\r\n}\r\nexport const Routes = connect(mapStateToProps, mapDispatchToProps)((props: any) => {\r\n\tconst location = useLocation();\r\n\tconst [currentRouteNotIsolate] = useState(!RoutingService.isIsolateRoutes(location.pathname));\r\n\tconst [isLoginFromRemoteSite] = useState(!!new URLSearchParams(location.search).get('officeid'));\r\n\tuseEffect(() => {\r\n\t\tconst listner = (e: Event) => {\r\n\t\t\tReactTooltip.hide();\r\n\t\t};\r\n\t\tdocument.addEventListener('click', listner);\r\n\t\treturn () => {\r\n\t\t\tdocument.removeEventListener('click', listner);\r\n\t\t};\r\n\t}, []);\r\n\tconst { isLoggedIn } = props?.authModel?.auth;\r\n\treturn (\r\n\t\t
    \r\n\t\t\t{isLoggedIn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t\r\n\t\t\t\t}\r\n\t\t\t\r\n\t\t
    \r\n\t);\r\n})\r\n","import React from 'react';\r\n\r\nexport const FullScreenLoader = () => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n );\r\n}","import React from 'react';\r\nimport { connect } from 'react-redux';\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n sharedModel: state.sharedModel\r\n };\r\n}\r\n\r\nexport const FullScreenLoaderInner = connect(mapStateToProps)((props: any) => {\r\n return (\r\n props?.sharedModel?.isLoaderShownInner ?\r\n <>\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n props?.sharedModel?.loaderInnerMessage || 'Please Wait!!'\r\n }\r\n
    \r\n
    \r\n \r\n : null\r\n );\r\n})","import memoizeOne from \"memoize-one\";\r\n\r\nimport AuthService from \"../core/services/auth.service\";\r\nimport { EnumRoles, ToDoTargetTypes } from \"../models/enums\";\r\nimport { IScreenProps } from \"../models/interfaces/shared\";\r\n\r\nexport class AppUtils {\r\n static widgetRemoved: boolean;\r\n static checkAppLevelAccess(rules: IScreenProps): void {\r\n if (!this.widgetRemoved && this.isHelpWidgetDisabled(rules)) {\r\n this.removeHelpWidget();\r\n }\r\n if (rules === null){\r\n this.hideHelpWidget();\r\n }else{\r\n this.showHelpWidget();\r\n }\r\n }\r\n static isHelpWidgetDisabled = memoizeOne((rules: IScreenProps): boolean => {\r\n return (AuthService.isFieldHidden(rules, 'HelpWidget') || AuthService.isFieldReadOnly(rules, 'HelpWidget'));\r\n });\r\n static removeHelpWidget() {\r\n const widget = document.getElementById('freshworks-container');\r\n if (widget) {\r\n widget.remove();\r\n this.widgetRemoved = true;\r\n }\r\n }\r\n static hideHelpWidget() {\r\n const widget = document.getElementById('freshworks-container');\r\n if (widget) {\r\n widget.style.display = 'none';\r\n }\r\n }\r\n static showHelpWidget() {\r\n const widget = document.getElementById('freshworks-container');\r\n if (widget) {\r\n widget.style.display = 'block';\r\n }\r\n }\r\n static convertRoleToToDoTypes(currentRole: EnumRoles) {\r\n switch (currentRole) {\r\n case EnumRoles.Customer:\r\n return ToDoTargetTypes.CUSTOMER;\r\n case EnumRoles.CreditAgent:\r\n return ToDoTargetTypes.FRANCHISE_AGENT;\r\n case EnumRoles.Administrator:\r\n return ToDoTargetTypes.ADMIN;\r\n case EnumRoles.OfficeManager:\r\n return ToDoTargetTypes.OFFICEMANAGER;\r\n case EnumRoles.Processor:\r\n return ToDoTargetTypes.PROCESSOR;\r\n case EnumRoles.ReferralAgent:\r\n return ToDoTargetTypes.REFERRAL_AGENT;\r\n case EnumRoles.ReferralManager:\r\n return ToDoTargetTypes.REFERRALMANAGER;\r\n default:\r\n return ToDoTargetTypes.CUSTOMER;\r\n }\r\n }\r\n}","import moment from 'moment';\r\nimport React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { IToDo } from '../../../models/interfaces/customer-view';\r\n\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n isLoggedIn: state?.authModel?.auth?.isLoggedIn\r\n };\r\n}\r\nexport const ClientToDoNotificationComponent = connect(mapStateToProps)((props: { isLoggedIn: boolean, ToDos: IToDo[] }) => {\r\n\r\n return (\r\n
      \r\n {\r\n props?.ToDos?.map((todo: IToDo, index) => (\r\n
      \r\n \r\n
      \r\n
      \r\n\r\n
      \r\n \r\n \r\n {moment(todo.createdOn).format('MM/DD/YYYY')}\r\n \r\n \r\n {moment(todo.dueDate).format('MM/DD/YYYY')}\r\n \r\n \r\n
      \r\n
      \r\n ))\r\n }\r\n
    \r\n )\r\n});\r\n","import axios, { CancelTokenSource } from 'axios';\r\nimport React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { bindActionCreators } from 'redux';\r\n// @ts-ignore\r\nimport confirm from 'reactstrap-confirm';\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nimport { getTodos } from '../../actions/customers.actions'\r\nimport { updateLastLoginDate } from '../../actions/auth.actions'\r\nimport { IToDo } from '../../models/interfaces/customer-view'\r\nimport { addTodosShared, hideToDoShared, navigateToTodosTab } from '../../shared/actions/shared.actions'\r\nimport { ModalComponent } from '../../shared/components/modal'\r\nimport { AppUtils } from '../../utils/app-utils'\r\nimport AuthService from '../services/auth.service'\r\nimport { ClientToDoNotificationComponent } from './app-level-operations/client-todo-notification';\r\nimport { ClientRoutesConstants } from '../../shared/constants';\r\nimport { EnumRoles } from '../../models/enums';\r\n\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n getTodos,\r\n addTodosShared,\r\n hideToDoShared,\r\n navigateToTodosTab,\r\n updateLastLoginDate\r\n }, dispatch);\r\n}\r\nconst mapStateToProps = (state: any) => {\r\n return ({\r\n isLoggedIn: state?.authModel?.auth?.isLoggedIn,\r\n isLocked: state?.authModel?.auth?.isLocked,\r\n lockedMessage: state?.authModel?.auth?.lockedMessage,\r\n sharedToDos: state?.sharedModel?.todos,\r\n toggleToDo: state?.sharedModel?.toggleToDo,\r\n passwordNotStrong: state?.sharedModel?.passwordNotStrong,\r\n })\r\n}\r\nexport const AppLevelOperations = withRouter(connect(mapStateToProps, mapDispatchToProps)((props: any) => {\r\n const [isClientVisible, setisClientVisible] = useState(false);\r\n const [gotCustomerData, setGotCustomerData] = useState(false);\r\n const [toDos, setToDos] = useState([] as IToDo[]);\r\n const [axiosSource, setAxiosSource] = useState(axios.CancelToken.source() as CancelTokenSource);\r\n const [loading, setLoading] = useState(false as boolean);\r\n const [isPortalLocked, setisPortalLocked] = useState(false as boolean);\r\n\r\n useEffect(() => {\r\n setisPortalLocked(props?.isLocked);\r\n }, [props?.isLocked]);\r\n useEffect(() => {\r\n if (props?.isLoggedIn) {\r\n updateLastLoginDate();\r\n if (props?.passwordNotStrong) {\r\n showPasswordStrengthWindow();\r\n } else {\r\n showToDos();\r\n }\r\n }\r\n }, [props?.passwordNotStrong, props.isLoggedIn]);\r\n\r\n const showPasswordStrengthWindow = async () => {\r\n let result = await confirm({\r\n title: 'Weak Password!',\r\n message: \"Your password is not strong!! Please change your password.\",\r\n confirmText: \"OK\",\r\n confirmColor: \"primary\",\r\n cancelColor: null,\r\n cancelText: null\r\n });\r\n if (result) {\r\n props?.history?.push(ClientRoutesConstants.security);\r\n }\r\n }\r\n const showToDos = () => {\r\n const authData = AuthService.getCurrentJWTPayload();\r\n if (!gotCustomerData) {\r\n const todoTarget = AppUtils.convertRoleToToDoTypes(authData?.roles);\r\n loadTodos(authData?.cid || authData?.fid || authData?.rid || authData?.lid, todoTarget);\r\n }\r\n }\r\n const updateLastLoginDate = () => {\r\n const authData = AuthService.getCurrentJWTPayload();\r\n const source = axios.CancelToken.source();\r\n setAxiosSource(source);\r\n props?.updateLastLoginDate(authData?.cid || authData?.fid || authData?.rid || authData?.lid, source)\r\n .then((result: any) => {\r\n }).catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n }\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n if (props?.toggleToDo) {\r\n const authData = AuthService.getCurrentJWTPayload();\r\n const todoTarget = AppUtils.convertRoleToToDoTypes(authData?.roles);\r\n if (props?.sharedToDos?.length) {\r\n setisClientVisible(true);\r\n setGotCustomerData(true);\r\n } else {\r\n loadTodos(authData?.cid || authData?.fid || authData?.rid || authData?.lid, todoTarget);\r\n }\r\n }\r\n }, [props.toggleToDo]);\r\n\r\n const loadTodos = (cid?: string, role?: string) => {\r\n setLoading(true);\r\n const source = axios.CancelToken.source();\r\n setAxiosSource(source);\r\n setGotCustomerData(true);\r\n props?.getTodos(cid, role, source)\r\n .then((list: IToDo[]) => {\r\n setLoading(false);\r\n const pendings = list?.filter(x => !x?.isCompleted);\r\n setToDos(pendings);\r\n props?.addTodosShared(pendings);\r\n if (pendings?.length) {\r\n setisClientVisible(true);\r\n setGotCustomerData(true);\r\n }\r\n }).catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n setLoading(false);\r\n }\r\n });\r\n }\r\n const navigateToUserDetailsPage = () => {\r\n const authData = AuthService.getCurrentJWTPayload();\r\n const userId = authData?.cid || authData?.fid || authData?.rid || authData?.lid;\r\n let url = '';\r\n switch (authData?.roles) {\r\n case EnumRoles.Customer:\r\n {\r\n url = `${ClientRoutesConstants.customers}/` + userId;\r\n break;\r\n }\r\n case EnumRoles.CreditAgent:\r\n {\r\n url = `${ClientRoutesConstants.franchiseAgents}/` + userId;\r\n break;\r\n }\r\n case EnumRoles.Lead:\r\n {\r\n url = `${ClientRoutesConstants.leads}/` + userId;\r\n break;\r\n }\r\n case EnumRoles.ReferralAgent:\r\n case EnumRoles.ReferralManager:\r\n {\r\n url = `${ClientRoutesConstants.referralAgents}/` + userId;\r\n break;\r\n }\r\n default:\r\n {\r\n url = `${ClientRoutesConstants.customers}/` + userId;\r\n break;\r\n }\r\n }\r\n props?.history.push(url);\r\n }\r\n return (<>\r\n
    \r\n\r\n
    \r\n\r\n { setisClientVisible(false); props?.hideToDoShared(); props?.navigateToTodosTab(true); navigateToUserDetailsPage(); }} fullscreen={true} isVisible={isClientVisible} >\r\n \r\n \r\n { setisPortalLocked(false) }} fullscreen={false} isVisible={isPortalLocked} >\r\n
    \r\n {\r\n props?.lockedMessage\r\n }\r\n
    \r\n
    \r\n \r\n )\r\n}));\r\n\r\n","import './app.scss';\r\nimport React from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { bindActionCreators } from 'redux';\r\nimport { withRouter } from 'react-router-dom';\r\nimport axios from 'axios';\r\n\r\nimport { Routes } from './routes';\r\nimport { checkLogin, setLogout, setLoginComplete, getPublicAuthToken } from \"./actions/auth.actions\";\r\nimport AuthService from './core/services/auth.service';\r\nimport { EnumScreens, GrantType } from './models/enums';\r\nimport { IAuthPayload } from './models/interfaces/auth';\r\nimport { FullScreenLoader } from './shared/components/fullscreen-loader';\r\nimport { getAuthRules } from './shared/actions/shared.actions';\r\nimport { IScreenProps } from './models/interfaces/shared';\r\nimport RoutingService from './core/services/routing-service';\r\nimport { FullScreenLoaderInner } from './shared/components/fullscreen-loader-inner';\r\nimport { AppUtils } from './utils/app-utils';\r\nimport { AppLevelOperations } from './core/components/app-level-operations.component';\r\n\r\nclass AppComponent extends React.PureComponent {\r\n constructor(props: any) {\r\n super(props);\r\n this.state = {\r\n checkingLogin: true, axiousSource: axios.CancelToken.source(),\r\n currentRouteNotIsolate: !RoutingService.isIsolateRoutes(props?.location?.pathname),\r\n isLoginFromRemoteSite: (!!new URLSearchParams(props.location.search).get('officeid'))\r\n };\r\n this.checkRefreshToken = this.checkRefreshToken.bind(this);\r\n this.checkGuestUserToken = this.checkGuestUserToken.bind(this);\r\n }\r\n componentDidMount() {\r\n const tenant = (new URLSearchParams(this.props.location.search).get('tenant'));\r\n if (this.state.currentRouteNotIsolate) {\r\n this.checkRefreshToken();\r\n } else if (!this.state.currentRouteNotIsolate && tenant) {\r\n // public URL so get a guest token from BE\r\n this.checkGuestUserToken(tenant);\r\n }\r\n }\r\n componentDidUpdate() {\r\n AppUtils.checkAppLevelAccess(this.props.AuthRules);\r\n }\r\n checkRefreshToken() {\r\n const session = AuthService.getSession();\r\n if (session?.refresh_token) {\r\n this.props.checkLogin({\r\n refresh_token: session?.refresh_token,\r\n grant_type: GrantType.refresh_token\r\n } as IAuthPayload)\r\n .then((result: any) => {\r\n if (result?.access_token && result?.expires_in) {\r\n AuthService.setLogin(result);\r\n this.props?.getAuthRules(this.state?.axiousSource).then((mapping: IScreenProps[]) => {\r\n if (this.state.isLoginFromRemoteSite && window?.opener?.location) {\r\n AuthService.RedirectToRemoteLoginWindow();\r\n } else {\r\n this.props.setLoginComplete(result);\r\n this.setState({ checkingLogin: false });\r\n }\r\n }).catch(() => {\r\n this.setState({\r\n checkingLogin: false\r\n });\r\n this.redirectToLogout();\r\n })\r\n } else {\r\n this.redirectToLogout();\r\n this.setState({ checkingLogin: false });\r\n }\r\n }).catch((err: any) => {\r\n this.redirectToLogout();\r\n this.setState({ checkingLogin: false });\r\n });\r\n } else {\r\n this.setState({ checkingLogin: false });\r\n }\r\n }\r\n checkGuestUserToken(tenant: string) {\r\n this.props?.getPublicAuthToken(tenant)\r\n .then((result: any) => {\r\n if (result?.access_token && result?.expires_in) {\r\n AuthService.setLoginInMemory(result);\r\n this.props?.getAuthRules(this.state?.axiousSource).then((mapping: IScreenProps[]) => {\r\n this.props.setLoginComplete(result);\r\n this.setState({ checkingLogin: false });\r\n }).catch(() => {\r\n this.setState({\r\n checkingLogin: false\r\n });\r\n this.redirectToLogout();\r\n })\r\n } else {\r\n this.redirectToLogout();\r\n this.setState({ checkingLogin: false });\r\n }\r\n });\r\n\r\n }\r\n redirectToLogout() {\r\n this.props.setLogout();\r\n AuthService.setLogout();\r\n }\r\n render() {\r\n\r\n const { checkingLogin, currentRouteNotIsolate } = this.state;\r\n\r\n return (\r\n <>\r\n {checkingLogin && currentRouteNotIsolate ? : null}\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n {currentRouteNotIsolate && }\r\n
    \r\n \r\n );\r\n }\r\n}\r\n\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n auth: state.authModel,\r\n currentAccessibleScreens: state?.sharedModel?.currentAccessibleScreens,\r\n AuthRules: AuthService.getScreenOject(state.sharedModel?.AuthRules, EnumScreens.Application)\r\n };\r\n}\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n checkLogin,\r\n setLogout,\r\n getAuthRules,\r\n setLoginComplete,\r\n getPublicAuthToken\r\n }, dispatch);\r\n}\r\nexport default connect(mapStateToProps, mapDispatchToProps)(withRouter((AppComponent)));\r\n","import axios from \"axios\";\r\nimport { useEffect } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { bindActionCreators } from \"redux\";\r\nimport { parse } from \"querystring\";\r\nimport { withRouter } from \"react-router-dom\";\r\n\r\nimport { GrantType } from \"../models/enums\";\r\nimport { IAuthPayload } from \"../models/interfaces/auth\";\r\nimport { UrlUtils } from \"../utils/http-url.util\";\r\nimport AuthService from './services/auth.service';\r\nimport { checkLogin } from \"../actions/auth.actions\";\r\nimport { APIConstants, ClientRoutesConstants } from \"../shared/constants\";\r\nimport { setLogout } from '../actions/auth.actions';\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n setLogin: checkLogin,\r\n setLogout\r\n }, dispatch);\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n auth: state.authModel?.auth,\r\n };\r\n}\r\nexport const HTTPInterceptor = connect(mapStateToProps, mapDispatchToProps)(withRouter(((props: any) => {\r\n useEffect(() => {\r\n // request interceptor\r\n axios.interceptors.request.use(\r\n config => {\r\n if (!config?.url?.startsWith('http') && !config?.url?.startsWith('https')) {\r\n config.url = UrlUtils.getBaseUrl() + config.url;\r\n }\r\n const invalidPartnerKey = UrlUtils.isPartnerKeyInvalid();\r\n if (!invalidPartnerKey && !config.headers['tenant']) {\r\n config.headers['tenant'] = UrlUtils.getPartnerKey();\r\n }\r\n // in memory token for public pages\r\n const token = AuthService.getSession()?.access_token || AuthService.inMemorySesssion?.access_token || '';\r\n const isRefreshTokenCall = config.data && typeof (config?.data) === 'string' && parse(config?.data)?.grant_type === GrantType.refresh_token;\r\n if (token && !isRefreshTokenCall) {\r\n if (!config.headers['Authorization']) {\r\n config.headers['Authorization'] = 'Bearer ' + token;\r\n }\r\n if (!config.headers['Content-Type']) {\r\n config.headers['Content-Type'] = 'application/json';\r\n }\r\n }\r\n return config;\r\n },\r\n error => {\r\n Promise.reject(error)\r\n }\r\n );\r\n //response interceptor\r\n axios.interceptors.response.use((response) => {\r\n return response\r\n }, (error: any) => {\r\n const originalRequest = error?.config;\r\n const loginAPIUrl = APIConstants.auth;\r\n if (error?.response?.status === 400 && originalRequest?.url?.endsWith(loginAPIUrl)) { // refresh token and login API failure response \r\n AuthService.setLogout();\r\n props.setLogout();\r\n props.history.push({ pathname: ClientRoutesConstants.login, state: props?.location });\r\n return Promise.reject(error);\r\n }\r\n\r\n if (error?.response?.status === 401 && !originalRequest?._retry) {\r\n\r\n originalRequest._retry = true;\r\n\r\n const refreshToken = props?.auth?.refresh_token;\r\n return props.setLogin(\r\n {\r\n refresh_token: refreshToken,\r\n grant_type: GrantType.refresh_token\r\n } as IAuthPayload)\r\n .then((result: any) => {\r\n if (result?.access_token && result?.expires_in) {\r\n AuthService.setLogin(result);\r\n const session = AuthService.getSession();\r\n const token = session?.access_token || '';\r\n axios.defaults.headers.common['Authorization'] = 'Bearer ' + token;\r\n return axios(originalRequest);\r\n }\r\n })\r\n }\r\n return Promise.reject(error);\r\n });\r\n }, [props]);\r\n return null;\r\n})));\r\n","import './assets/styles/common.scss';\r\n\r\nimport React, { useEffect, useState } from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { Provider } from 'react-redux';\r\nimport { setAutoFreeze } from 'immer';\r\nimport { BrowserRouter as Router } from 'react-router-dom';\r\nimport 'toastr/build/toastr.min.css'\r\nimport toastr from 'toastr';\r\n\r\nimport { store } from './store/store';\r\nimport environment from './environments/environment';\r\nimport App from './app';\r\nimport { NotFoundComponent } from './screens/not-found';\r\nimport { UrlUtils } from './utils/http-url.util';\r\nimport { HTTPInterceptor } from './core/http-interceptors';\r\n\r\nif (environment.env === 'PROD') {\r\n setAutoFreeze(false); // by deault its auto-freeze\r\n}\r\n\r\nfunction LoadApplication() {\r\n const [baseURL] = useState(UrlUtils.getPartnerKey());\r\n useEffect(() => {\r\n toastr.options = {\r\n positionClass: 'toast-top-full-width',\r\n hideDuration: 300,\r\n timeOut: 5000,\r\n preventDuplicates: true\r\n }\r\n toastr.clear()\r\n }, []);\r\n return (\r\n UrlUtils.isPartnerKeyInvalid()\r\n ?\r\n \r\n :\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nReactDOM.render(\r\n ,\r\n document.getElementById('root')\r\n);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Spinner } from 'reactstrap';\r\n\r\nexport const asyncComponent = (importComponent: any) => {\r\n\r\n const AsyncComponent = (props: any) => {\r\n const [state, setState] = useState({\r\n component: null,\r\n isLoading: true,\r\n unloaded: false\r\n })\r\n // adding feature of loading/spinner until component gets loaded\r\n useEffect(() => {\r\n if (!state?.unloaded) {\r\n setState({\r\n isLoading: true,\r\n component: null,\r\n unloaded: false\r\n });\r\n }\r\n const proms = importComponent().then(({ default: component }: any) => {\r\n if (!state?.unloaded) {\r\n setState({\r\n component,\r\n isLoading: false,\r\n unloaded: false\r\n\r\n });\r\n }\r\n }).catch((err: any) => {\r\n if (!state?.unloaded) {\r\n setState({\r\n component: null,\r\n isLoading: false,\r\n unloaded: false\r\n });\r\n }\r\n });\r\n return () => {\r\n setState({\r\n component: null,\r\n isLoading: false,\r\n unloaded: false\r\n })\r\n return proms;\r\n }\r\n }, [])\r\n\r\n const { component: D, isLoading }: any = state;\r\n\r\n return (D ? : isLoading\r\n ?
    loading ...
    : null);\r\n\r\n }\r\n return AsyncComponent;\r\n}","export const AuthActionTypes = {\r\n SET_LOGIN: 'SET_LOGIN',\r\n SET_LOGOUT: 'SET_LOGOUT',\r\n CHECK_LOGIN_SUCCESS: 'CHECK_LOGIN_SUCCESS',\r\n CHECK_LOGIN_FAILURE: 'CHECK_LOGIN_FAILURE',\r\n SET_LOGGED_IN_DETAILS: 'SET_LOGGED_IN_DETAILS',\r\n SET_GETTING_GUEST_TOKEN: 'SET_GETTING_GUEST_TOKEN',\r\n PORTAL_LOCKED: 'PORTAL_LOCKED'\r\n};","export const SharedActionTypes = {\r\n SET_AUTH_RULES: 'SET_AUTH_RULES',\r\n SET_ACCESSIBLE_SCREENS: 'SET_ACCESSIBLE_SCREENS',\r\n SHOW_INNER_SPINNER: 'SHOW_INNER_SPINNER',\r\n LOGO_CHANGED: 'LOGO_CHANGED',\r\n USER_TODOS: 'USER_TODOS',\r\n TOGGLE_TODOS: 'TOGGLE_TODOS',\r\n HIDE_TODOS: 'HIDE_TODOS',\r\n NAVIGATE_TODOS_TAB: 'NAVIGATE_TODOS_TAB',\r\n PASSWORD_NOT_STRONG: 'PASSWORD_NOT_STRONG',\r\n LEFT_MENU_OPEN: 'LEFT_MENU_OPEN',\r\n};","import React, { useEffect, useState } from 'react';\r\nimport { connect } from 'react-redux';\r\nimport { Redirect, Route } from 'react-router-dom';\r\nimport { bindActionCreators } from 'redux';\r\n\r\nimport { ClientRoutesConstants } from '../../shared/constants';\r\nimport AuthService from '../services/auth.service';\r\nimport { setLogout } from '../../actions/auth.actions';\r\n\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n setLogout\r\n }, dispatch);\r\n}\r\n\r\nconst mapStateToProps = (state: any) => {\r\n return {\r\n auth: state.authModel\r\n };\r\n}\r\nexport const PrivateRoute = connect(mapStateToProps, mapDispatchToProps)(({ component: Component, ...rest }: any) => {\r\n const [isLoggedIn, setIsLogin] = useState(AuthService.isLoggedIn());\r\n useEffect(() => {\r\n const login = AuthService.isLoggedIn();\r\n setIsLogin(login);\r\n if (!login) {\r\n rest?.setLogout();\r\n }\r\n });\r\n return (\r\n (\r\n isLoggedIn\r\n ? \r\n : \r\n )} />\r\n );\r\n});","import environment from '../environments/environment';\r\nimport { ClientRoutesConstants } from '../shared/constants';\r\n\r\nexport class UrlUtils {\r\n\tstatic getBaseUrl(): string {\r\n\t\treturn environment.baseURL;\r\n\t}\r\n\tstatic getPartnerKey(): string {\r\n\t\treturn window.location?.href.replace(window.location?.origin + '/', '')?.split('/')[0];\r\n\t}\r\n\tstatic isPartnerKeyInvalid(): boolean {\r\n\t\tconst baseURL = this.getPartnerKey();\r\n\t\treturn (\r\n\t\t\t!baseURL\r\n\t\t\t|| (('/' + baseURL) === ClientRoutesConstants.notFound)\r\n\t\t\t|| !(baseURL?.length >= 2)\r\n\t\t);\r\n\t}\r\n};","import axios, { CancelTokenSource } from 'axios';\r\nimport { stringify } from 'querystring';\r\n\r\nimport { getAction } from \"./action\";\r\nimport { AuthActionTypes } from './auth.action-types';\r\nimport { IAuthPayload, ILoginResponse } from '../models/interfaces/auth';\r\nimport AuthService from '../core/services/auth.service';\r\nimport { APIConstants } from '../shared/constants';\r\nimport { UrlUtils } from '../utils/http-url.util';\r\nimport { CommonUtils } from '../utils/common-utils';\r\nimport { GetSavedSampleTemplates } from './email-templates.actions';\r\nimport { getConfigurations } from './config.actions';\r\n\r\nexport const checkLogin = (params: IAuthPayload) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n let headers = {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n } as any;\r\n axios.post(UrlUtils.getBaseUrl() + APIConstants.auth, stringify(params as any), {\r\n headers\r\n }).then((result: any) => result?.data)\r\n .then((result: ILoginResponse) => {\r\n if (result) {\r\n resolve(result);\r\n } else {\r\n dispatch(getAction(AuthActionTypes.CHECK_LOGIN_FAILURE));\r\n reject(null);\r\n }\r\n })\r\n .catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n if (err.response?.data?.error === 'user_locked') {\r\n dispatch(getAction(AuthActionTypes.PORTAL_LOCKED, { isLocked: true, lockedMessage: err?.response?.data?.error_description }));\r\n reject(null);\r\n } else {\r\n dispatch(getAction(AuthActionTypes.CHECK_LOGIN_FAILURE));\r\n reject(null);\r\n }\r\n }\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const setLoginComplete = (result: any) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(AuthActionTypes.CHECK_LOGIN_SUCCESS, result));\r\n getConfigurations(dispatch);\r\n };\r\n}\r\nexport const setLogout = () => {\r\n return (dispatch: any) => {\r\n AuthService.setLogout();\r\n dispatch(getAction(AuthActionTypes.SET_LOGOUT));\r\n };\r\n}\r\n\r\n\r\nexport const setPasswordResetLink = (payload: any, source?: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n axios.post(UrlUtils.getBaseUrl() + APIConstants.forgotPasswordLInk,\r\n payload, { cancelToken: source?.token }\r\n ).then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const resetPassword = (payload: any, source?: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n axios.put(UrlUtils.getBaseUrl() + APIConstants.resetPassword,\r\n payload, { cancelToken: source?.token }\r\n ).then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const checkLinkExpiry = (payload: any, source?: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n axios.put(UrlUtils.getBaseUrl() + APIConstants.verifyResetLink,\r\n payload, { cancelToken: source?.token }\r\n ).then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getPublicAuthToken = (tenant: string) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n dispatch(getAction(AuthActionTypes.SET_GETTING_GUEST_TOKEN, true));\r\n axios.get(CommonUtils.formatString(UrlUtils.getBaseUrl() + APIConstants.getPublicToken, tenant))\r\n .then((result: any) => result?.data)\r\n .then((result: ILoginResponse) => {\r\n dispatch(getAction(AuthActionTypes.SET_GETTING_GUEST_TOKEN, false));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n if (!axios.isCancel(err)) {\r\n dispatch(getAction(AuthActionTypes.SET_GETTING_GUEST_TOKEN, false));\r\n reject(null);\r\n }\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateLastLoginDate = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.updateLastLoginDate) + '/' + customerId, null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getLoginsListHistory = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getLoginListHistory), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}","import axios, { CancelTokenSource } from \"axios\";\r\nimport { APIConstants } from \"../shared/constants\";\r\nimport { UrlUtils } from \"../utils/http-url.util\";\r\nimport { getAction } from \"./action\";\r\nimport { ConfigActionTypes } from \"./config.action-types\";\r\n\r\n\r\nexport const getConfigurations = (dispatch: any) => {\r\n axios.get(UrlUtils.getBaseUrl() + APIConstants.configuration)\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n dispatch(getAction(ConfigActionTypes.SET_CONFIGURATIONS, result));\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(ConfigActionTypes.REMOVE_CONFIGURATIONS, null));\r\n });\r\n}","export const CreateLetterActionTypes = {\r\n SET_LETTER_SOURCE: 'SET_LETTER_SOURCE',\r\n SET_LETTER_OPTIONS: 'SET_LETTER_OPTIONS',\r\n SET_SELECTED_ACCOUNTS: 'SET_SELECTED_ACCOUNTS',\r\n SET_LETTER_ACCOUNTS: 'SET_LETTER_ACCOUNTS',\r\n SET_LETTER_TEMPLATE_WITH_AUTOSELECT: 'SET_LETTER_TEMPLATE_WITH_AUTOSELECT',\r\n SET_LETTER_TEMPLATE: 'SET_LETTER_TEMPLATE',\r\n SET_LETTER_ADVANCED: 'SET_LETTER_ADVANCED',\r\n SET_LETTER_ACTIVETAB: 'SET_LETTER_ACTIVETAB',\r\n SET_TEMP_LETTER_RELOAD: 'SET_TEMP_LETTER_RELOAD',\r\n SET_CUSTOMER_ROUND_INFO: 'SET_CUSTOMER_ROUND_INFO',\r\n SET_TEMP_LETTERS: 'SET_TEMP_LETTERS',\r\n SET_DISPUTE_LETTERS_RELOAD: 'SET_DISPUTE_LETTERS_RELOAD',\r\n SET_LETTERS_CREATED: 'SET_LETTERS_CREATED',\r\n SET_AUTOSELECT_OPTIONS: 'SET_AUTOSELECT_OPTIONS',\r\n RESET_ACCOUNTS: 'RESET_ACCOUNTS',\r\n SET_LAST_REPORT_DATE: 'SET_LAST_REPORT_DATE'\r\n};","import axios, { CancelTokenSource } from 'axios';\r\n\r\nimport { APIConstants } from \"../constants\";\r\nimport { getAction } from \"../../actions/action\";\r\nimport { SharedActionTypes } from './action-types';\r\nimport AuthService from '../../core/services/auth.service';\r\nimport { IScreenProps } from '../../models/interfaces/shared';\r\nimport { IToDo } from '../../models/interfaces/customer-view';\r\nimport { CommonUtils } from '../../utils/common-utils';\r\n\r\nexport const getAuthRules = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getAuthRules, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n const screens = AuthService.getAllAccessibleScreens(result);\r\n dispatch(getAction(SharedActionTypes.SET_AUTH_RULES, result));\r\n dispatch(getAction(SharedActionTypes.SET_ACCESSIBLE_SCREENS, screens));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n dispatch(getAction(SharedActionTypes.SET_AUTH_RULES, null));\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getALLAuthRules = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.allAuthRules, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const setCurrentAccessibleScreens = (payload: any) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.SET_ACCESSIBLE_SCREENS, payload));\r\n }\r\n}\r\nexport const setInnerSpinner = (loading: boolean, message?: string) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.SHOW_INNER_SPINNER, { loading, message }));\r\n }\r\n}\r\nexport const getStates = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.getStates, { cancelToken: source.token }).then((result: any) => result?.data)\r\n}\r\nexport const saveAuthRules = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.allAuthRules, payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(true);\r\n })\r\n .catch((err: any) => {\r\n reject(false);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getAllBureaus = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getAllBureaus, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getAllTypes = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getAllAccountTypes, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getAllLetterTypes = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getAllLetterTypes, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addTodosShared = (todos: IToDo[]) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.USER_TODOS, todos));\r\n }\r\n}\r\nexport const toggleToDoShared = () => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.TOGGLE_TODOS));\r\n }\r\n}\r\nexport const hideToDoShared = () => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.HIDE_TODOS));\r\n }\r\n}\r\nexport const navigateToTodosTab = (flag: boolean) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.NAVIGATE_TODOS_TAB, flag));\r\n }\r\n}\r\nexport const leftMenuOpened = (opened: boolean) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.LEFT_MENU_OPEN, opened));\r\n }\r\n}\r\nexport const deleteScreen = (name: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.useraccessDelete, name),\r\n {\r\n cancelToken: source.token\r\n })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateScreen = (name: string, oldName: string, description: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.useraccessUpdate, { oldName, name, description }, {\r\n cancelToken: source.token\r\n })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const deleteField = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.useraccessFieldDelete, id), {\r\n cancelToken: source.token\r\n })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateField = (id: string, name: string, description: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.useraccessFieldUpdate, { id, name, description }, {\r\n cancelToken: source.token\r\n })\r\n .then((result: any) => result?.data)\r\n .then((result: IScreenProps[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const passwordNotStrong = (flag: boolean) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.PASSWORD_NOT_STRONG, flag));\r\n }\r\n}","export default __webpack_public_path__ + \"static/media/logo.8e7c01ac.jpg\";","export default __webpack_public_path__ + \"static/media/mini-logo.e5c297a0.jpg\";","export default __webpack_public_path__ + \"static/media/avatar.eea92a26.png\";","export default __webpack_public_path__ + \"static/media/avatar2.f3b32987.png\";","export default __webpack_public_path__ + \"static/media/avatar3.2619f13a.png\";","export default __webpack_public_path__ + \"static/media/avatar4.8525d173.png\";","export default __webpack_public_path__ + \"static/media/boxed-bg.f56a6394.jpg\";","export default __webpack_public_path__ + \"static/media/mailchimp_small.f6ea8ec5.svg\";","export default __webpack_public_path__ + \"static/media/mail-chimp.1882e0b4.svg\";","export default __webpack_public_path__ + \"static/media/todo.99abeb9b.svg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAtCAYAAACpklc4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAABhGSURBVHhe7Z0JeFbVmceldero2LF1umhrO9Wqo7bTzui01tqOduzYZawiiywK4q4IiqKgoKLgAmSBsC8JkATCEiAQ9p0k7PsaIOz7vhNWyen7e++933e+m5uQYJgngft/nvMA33fu+e455/2/23nv5SoTIkSIKoeQuCFCVEGExA0RogoiJG6IEFUQIXFDhKiCCIkbIkQVREjcECGqICoxcYvM+S/PmdOFR8zJo/tN4ZF9+ufpE4fNl+fOmKKiIr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p7UUpoCDU2oriyo6vG1Oz0F08k0k9X3MVYAkK/BIgJO4VAlwwkjr2w//8nSQPz6MiuLiZvEOL/z3CJi3noRyT2Ym3ywl6xj+uuxYNeV5GV/k7MSmxLmszc0BLTdxReOOtn755I+Fps13i4ov3RC4OIXGvEOCCkUvgDSYk3CgB5Ryat4aQPeddR7SEWtcpWXu88GPNzo5JbKCkxeJcrsAd55U2JIYGNLtXTwxYA7LH/rXBTcYq86YRahVIoJbVva1IhMS9goCbSxHDurkjzYwBLcQdrGEGtnRefpfS1GkcR/Gw+bR+zc1aIezxQ7svW0trg/i08MgePVudltxM3/HFsQzPd9trw9NvOanva3bZX631/4mQuFcYsA5YGAjM+TVHK1SeUaChTYSRzzluo9/FJiKrIpgrMS1Hi6WvDRn5siW+LhVC4oYIUQUREjdEiCqIkLghQlRBhMQNEaIKIiRuiBBVECFxQ4SocjDm7yg5OOfS8IbjAAAAAElFTkSuQmCC\"","export default __webpack_public_path__ + \"static/media/eqf-sm.6a2a8b8e.svg\";","export default __webpack_public_path__ + \"static/media/eqf-md.c7deaa74.svg\";","export default __webpack_public_path__ + \"static/media/exp-sm.ea696f98.svg\";","export default __webpack_public_path__ + \"static/media/exp-md.a4a57bb4.svg\";","export default __webpack_public_path__ + \"static/media/tu-sm.f29afa96.svg\";","export default __webpack_public_path__ + \"static/media/tu-md.8b88c025.svg\";","export default __webpack_public_path__ + \"static/media/chatgpt.cde5ead5.svg\";","\r\nimport React from 'react';\r\nimport { EnumBureausShorts, Outcome, AutoSelectTypesForLetters, DisputeReason } from '../models/enums';\r\nimport { ICheckboxList, IValueText } from '../models/interfaces/shared';\r\nimport { BureauLogoComponent } from './components/bureau-logo';\r\n\r\nexport const Constants = {\r\n authSessionKey: 'auth',\r\n siteLogoPath: '/images/logo/{0}/SiteLogo.jpeg',\r\n siteLogoMiniPath: '/images/logo/{0}/SiteLogoMini.jpeg',\r\n officeLogoPath: '/images/logo/{0}/offices/{1}/OfficeLogo.jpeg',\r\n officeLogoMiniPath: '/images/logo/{0}/offices/{1}/OfficeLogoMini.jpeg',\r\n};\r\nexport const APIConstants = {\r\n auth: '/login',\r\n configuration: '/configuration',\r\n getStats: '/stats',\r\n getCustomers: '/customer',\r\n getCustomer: '/customer/{0}', //{customerid}\r\n getCustomerMinimaldetails: '/customer/{0}/minimaldetails', //{customerid}\r\n getCustomersAndLeads: '/CustomersLeads/{0}', // {customerSelected}\r\n saveFeeDetails: '/customer/updatefeeinfo',\r\n saveCreditMonitoring: '/customer/updatemonitoringdetail',\r\n getCreditMonitoring: '/customer/getmonitoringdetail/{0}/{1}', // {customerId}/{typeOfClient}\r\n saveGeneralNotes: '/customer/updategennotes',\r\n updateUserName: '/customer/updateusername',\r\n updatePassword: '/customer/updatepassword',\r\n updateLockOrUnlockCustomerUser: '/customer/lockorunlockuser',\r\n updateLockOrUnlockAgentUser: '/franchiseAgents/lockorunlockuser',\r\n updateLockOrUnlockReferralAgentUser: '/ReferralAgent/lockorunlockuser',\r\n checkS3Files: '/customer/GetS3JSONRecentFiles',\r\n getS3SingleFile: '/customer/gets3jsonfiledata',\r\n adminsettings: '/customer/adminsettings',\r\n submitRounds: '/customer/submitrounds',\r\n submitQuery: '/customer/submitquery/{0}',\r\n saveCreditScore: '/customer/savecreditscore',\r\n customerFranchAgents: '/customer/franchiseagent',\r\n customerReferAgents: '/customer/referralagent',\r\n updateCustomerAgent: '/customer/agent',\r\n disputeProgress: '/customer/getdisputeprogressstatistics/{0}', // {0} cid\r\n resendWelcomeEmail: '/customer/resendwelcomeemail/{0}', // {0} customerid\r\n submitToProcessing: '/customer/SubmitToProcessing/{0}', // {0} customerid\r\n submitToArrayReport: '/customer/arraysubscription/{0}', // {0} customerid\r\n creditmonitoringsubscription: '/customer/creditmonitoringsubscription/{0}', // {0} customerid\r\n getcurrentscore: '/customer/getcurrentscore/{0}', // {0} customerid\r\n getAccountsNumberByType: '/customer/getaccountsnumberbytype/{0}', // {0} customerId\r\n getAccountsNumber: '/customer/getaccountsnumber/{0}', // {0} customerId\r\n sendPORneeded: '/customer/sendporneeded/{0}', // {0} customerid\r\n removeSpouse: '/customer/removespouse/{0}/{1}', // {0} customerid {1} soupseid\r\n fastEditAccounts: '/customer/getaccounts',\r\n customerReferralAgents: '/customer/referralpartners/{0}', // {0} customerid {1} \r\n addUpdateCustomerReferralAgents: '/customer/referralpartners/{0}/{1}/{2}', // {0} customerid {1} -agentid,{2} rolename\r\n deleteCustomerReferralAgents: '/customer/referralpartners/{0}/{1}', // {0} customerid {1} -agentid\r\n toDos: '/todo/{0}/{1}', // {0} cid, {1} enum ToDoTargetTypes\r\n toDoUpdate: '/todo/{0}', // {0} todoid\r\n getCustomersCount: '/dashboard/customer',\r\n getFranchiseAgentsCount: '/dashboard/franchise',\r\n getReferralAgentsCount: '/dashboard/referral',\r\n getCustomersNeedingDocumentsCount: '/dashboard/needingdocuments',\r\n getCustomersNeedingNewRoundCount: '/dashboard/needingnewround',\r\n getCustomersNeedingNewReportCount: '/dashboard/needingnewreport',\r\n getCustomerLettersCount: '/dashboard/customerLetter',\r\n getRolesCount: '/dashboard/role',\r\n getFranchiseAgents: '/common/franchiseagents',\r\n getReferralAgents: '/common/referralagents',\r\n getStates: '/common/states',\r\n checkPartnerkey: '/common/checkpartnerkey/{0}', // {officeid}\r\n checkAPIActive: '/common/checkapiactive/{0}', // api name {MailChimp}\r\n searchCollection: '/common/search/{0}?q={1}&l={2}', // {0} enumb CollectionEntryTypes,{1} text,{2} maxrecords\r\n getAllBureaus: '/common/bureaus',\r\n getAllAccountTypes: '/common/accounttypelist',\r\n getAllCollections: '/collectionentry/getAllCollections/{0}/{1}', //type, textSearch\r\n getAllLetterTypes: '/common/disputeLetterTypes',\r\n getAllSystemTypes: '/collectionentry/systemTypes',\r\n getAccountsCounterByType: '/collectionentry/GetAccountsByTypes/{0}/{1}', //id, type\r\n updateCollectionAndType: '/collectionentry/updateSystemTypes/{0}/{1}/{2}', // id, name, type\r\n updateTypeInAccount: '/collectionentry/updateTypeInAccount/{0}/{1}/{2}', // oldId, newId typeOfType\r\n createCollection: '/collectionentry/createSystemTypes/{0}/{1}', //name, type\r\n getRoles: '/',\r\n getCustomerLetters: '/',\r\n getCreateLetterVersion: '/letter/getcreateletterversion/{0}', // {siteId}\r\n updateCreateLetterVersion: '/letter/updatecreateletterversion',\r\n getScoringRoundStatuses: '/scoring/statuses',\r\n checkSubscriberListsByEmail: '/mailchimp/checkSubscriberListsByEmail',\r\n getMailchimpLists: '/mailchimp/getMailchimpLists',\r\n checkSubscriberCampaignsByEmail: '/mailchimp/checkSubscriberCampaignsByEmail',\r\n setMailchimpList: '/mailchimp/setMailchimpList',\r\n getAPIIntegrations: '/mailchimp/getAPIIntegrations',\r\n setAPIActive: '/mailchimp/setAPIActive',\r\n updateAPIKey: '/mailchimp/updateAPIKey',\r\n updateRound: '/scoring/round',\r\n deleteRound: '/scoring/round/{0}',\r\n addNewRound: '/scoring/addNewRound/{0}', // cid\r\n saveClientNote: '/note',\r\n processingNote: '/internalnote',\r\n getCannedNotes: '/cannednote/{0}', // noteType {0}\r\n createCannedNote: '/cannednote?note={0}¬eType={1}',\r\n collectionAccount: '/collectionaccount',\r\n account: '/account?accountId={0}&customerId={1}',\r\n file: '/file',\r\n updateFile: '/file?fileId={0}&filetype={1}&isLead={2}',\r\n disputeletter: '/disputeletter',\r\n letter: '/letter',\r\n downloadFileLetter: '/file?filePath={0}', // {0} file path coming from BE,\r\n downloadLetters: '/downloadfiles',\r\n downloadLastReport: '/finandgetlastfilereport?customerId={0}', // {0} file path coming from BE,\r\n updateCollectorAddress: '/fastedit/updateaddress',\r\n addCollectorAddress: '/fastedit/addaddress',\r\n getCollectorAddressByData: '/fastedit/getaddressbydata/{0}/{1}/{2}/{3}/{4}', //{0}collectorid / {1}address1 / {2}city / {3}state / {4}zip\r\n deleteCollectorAddress: '/fastedit/deleteaddress',\r\n saveFEAccounts: '/fastedit/saveaccounts',\r\n saveFEAccountsMini: '/fastedit/saveminiaccount',\r\n updateYellowAccount: '/fastedit/removeupdated/{0}', // {0} ccid\r\n addNewAccount: '/fastedit/createnewaccount',\r\n getFELetterData: '/fastedit/getletterdata/{0}', // {0} cid\r\n getFEFullAccountDetails: '/fastedit/getaccountdetail/{0}',// {0} ccid\r\n saveFullAccountDetails: '/fastedit/fullsave',\r\n deleteBureauDetail: '/fastedit/deletebureau/{0}/{1}', // {0} cabid {1} ccid\r\n getPDFDisputeLetters: '/disputeletter/{0}', // {cid}\r\n getTempLetterQueue: '/letter/tempqueue/{0}', // {cid}\r\n letterSearch: '/letter/{0}?query={1}',\r\n getLetterTemplatesSuggestions: '/lettersuggestions/{0}/{1}', //{0}{searchType} {1}{round}\r\n createCredBCCLetter: '/letter/createcredccbcctempletter',\r\n createCRALetter: '/letter/createsingletempletter',\r\n createBureauLetter: '/letter/createtempletter',\r\n deleteTempLetter: '/letter/deletetempletterqueue',\r\n saveTempLetter: '/letter/savequeueletter',\r\n ccList: '/letter/CCList/{0}', // {0} cid\r\n createPDFLetter: '/letter/createpdfletters',\r\n restartRound: '/letter/startrestartround',\r\n setRounds: '/letter/setrounds',\r\n sendNoticeAccUpdate: '/letter/sendNoticeAccUpdate',\r\n regenerateNoticeAccountUpdate: '/letter/regeneratenoticeaccountupdate/{0}', // {0} cid\r\n getAuthRules: '/viewaccess/byrole',\r\n allAuthRules: '/viewaccess',\r\n useraccessDelete: '/ViewAccess/DeleteScreen/{0}', // screen name\r\n useraccessUpdate: '/ViewAccess/UpdateScreen',\r\n useraccessFieldDelete: '/ViewAccess/DeleteField/{0}', // field id\r\n useraccessFieldUpdate: '/ViewAccess/UpdateField', // \r\n importSave: '/importer',\r\n reImportSave: '/reimporter',\r\n getS3JSONFileData: '/importer/getS3JSONFileData?fileName={0}', // filename\r\n freeTrialImporter: '/importer/getFreeTrialCredit',\r\n getLastReportImportedDate: '/importer/GetLastReportImportedDate/{0}', // customerId\r\n forgotPasswordLInk: '/userAccount/sendResetPasswordLink',\r\n verifyResetLink: '/userAccount/verifyResetPasswordLink',\r\n resetPassword: '/userAccount/resetPassword',\r\n updateLastLoginDate: '/userAccount/updateLastLoginDate',\r\n franchiseOffices: '/franchiseOffices',\r\n getFranchiseOfficeDetails: '/franchiseOffices/{0}', // {0} office id\r\n getFranchiseOfficeAgents: '/franchiseOffices/{0}/agents', // {0} office id\r\n getCurrentOfficeAgents: '/franchiseOffices/currentOfficeAgents',\r\n getFranchiseSingleAgentDetails: '/franchiseAgents/{0}', //{0} agentid\r\n updateFranchiseAgent: '/franchiseAgents',\r\n getFranchiseAgentRoles: '/franchiseAgents/roles',\r\n getFranchiseOfficeServices: '/franchiseOffices/{0}/services', // {0} office id\r\n getFranchiseOfficeOutsourcedServices: '/franchiseOffices/{0}/services', // {0} office id\r\n createFranchiseOfficeServices: '/franchiseOffices/services', // {0} office id\r\n deleteFranchiseOfficeServices: '/franchiseOffices/{0}/services/{1}', // {0} office id,{1} service id\r\n getFranchiseOfficePayments: '/franchiseOffices/{0}/payments', // {0} office id \r\n deleteFranchiseOfficePayment: '/franchiseOffices/{0}/payments/{1}', // {0} office id,{1} paymentid \r\n updateFranchiseOfficeEmbedCode: '/franchiseOffices/updateembedcode',\r\n getLeads: '/lead/getall', // {0} --query\r\n getSingleLeads: '/lead/{0}', // leadid\r\n resendLeadWelcomeEmail: '/lead/resendwelcomeemail/{0}', // {0} leadid\r\n addLead: '/lead',\r\n convertToCustomer: '/lead/ConvertToCustomer/{0}/{1}', // {0} --leadid,{1}- notify agent?\r\n leadCreditMonitoring: '/lead/CreditMonitoring',\r\n leadAgentUpdate: '/lead/agent',\r\n removeLeadSpouse: '/lead/removespouse/{0}/{1}', // {0} leadid {1} soupseid\r\n getFranchiseAgentsList: '/franchiseAgents/getall', // {0} --query\r\n getFranchiseAgentNotes: '/franchiseAgents/notes/{0}', // {0} --membershipid of agent or note id to delete\r\n addFranchiseAgentNote: '/franchiseAgents/notes',\r\n getFranchiseAgentCustomers: '/franchiseAgents/{0}/customers', //0- agent id\r\n getFranchiseAgentReferrals: '/franchiseAgents/{0}/referralPartners', //0- agent id\r\n franchAgentWelcomeEmail: '/franchiseAgents/ResendWelcomeEmail/{0}',\r\n referralOffices: '/referralOffices',\r\n getReferralOfficeDetails: '/referralOffices/{0}', // {0} office id\r\n getReferralOfficeAgents: '/referralOffices/{0}/agents', // {0} office id\r\n getReferralOfficeAgentDetails: '/referralAgent/{0}', // {1} agentid\r\n reassignReferralOffices: '/referralOffices/reassign/{0}/{1}', // {0} current id,{1} asign to id\r\n updateReferralAgent: '/referralAgent',\r\n getReferralSingleAgentDetails: '/referralAgents/{0}',\r\n referralAgentChangePassword: '/referralAgent/ChangePassword',\r\n resendWelcomeAgentEmail: '/referralAgent/ResendWelcomeEmail/{0}',// agent id\r\n resendFollowUpAgentEmail: '/referralAgent/ResendFollowUpEmail/{0}',// agent id\r\n getReferralAgentsList: '/referralAgent/getall', // {0} --query\r\n getReferralAgentCustomers: '/referralAgent/{0}/customers/{1}', //0- agent id, 1- type 0/1\r\n getAllEmailTemplates: '/lettertemplate/getall',\r\n getAllEmailTemplatesSearch: '/lettertemplate/getallsearch/{0}',\r\n getAllSubFieldsForSection: '/lettertemplate/getSubSectionTypes/{0}', // accounts/names/inquires\r\n getFinalCollectionToken: '/lettertemplate/getFinalCollectionToken',\r\n emailTemplate: '/lettertemplate/{0}', /// letter id\r\n emailTemplateUpdate: '/lettertemplate',\r\n emailTemplateCustomerTokens: '/lettertemplate/getCustomersFieldTokens',\r\n emailTemplateFieldTokens: '/lettertemplate/getFieldsTokens',\r\n emailTemplateGenerateHTMLPreview: '/lettertemplate/GenerateHTMLPreview',\r\n getEmailTemplatesByOfficeId: '/lettertemplate/GetEmailTemplatesByOfficeId/{0}', // office id\r\n setEmailTemplateActive: '/lettertemplate/SetEmailTemplateActive/{0}/{1}/{2}', // ofc id, letter IdleDeadline, active/or not\r\n getEmailTemplatesById: '/lettertemplate/GetEmailTemplatesById/{0}',\r\n updateOfcEmailTemplate: '/lettertemplate/UpdateOfcEmailTemplate',\r\n getSavedSampleTemplates: '/lettertemplate/GetSavedSampleTemplates/{0}', // email type\r\n getOfficeLeadFormOptions: '/lettertemplate/GetOfficeLeadFormOptions/{0}', // ofc id\r\n updateOfficeLeadFormOptions: '/lettertemplate/UpdateOfficeLeadFormOptions/{0}', // ofc id\r\n createOfficeLeadFormOptions: '/lettertemplate/CreateOfficeLeadForm/{0}', // ofc id\r\n emailTemplateOptions: '/lettertemplate/emailTemplateOptions/{0}/{1}', // templateid and data type\r\n removeEmailTemplateOptions: '/lettertemplate/emailTemplateOptions/{0}', // id\r\n getPublicToken: '/GetAccessToken/{0}', // tenant name\r\n getSiteLogos: '/media/getSiteLogos',\r\n uploadLogo: '/media/upload',\r\n removeLogo: '/media/delete/office/{0}', // 0 ofc id\r\n allOutsourcedServices: '/service/getall',\r\n outsourceFranchiseService: '/service',\r\n collectionEntry: '/collectionEntry',\r\n getFranchiseMasterServices: '/service/getall',\r\n createFranchiseMasterServices: '/service',\r\n franchiseMasterServiceLevel: '/servicelevel',\r\n franchiseMasterServiceAdons: '/serviceAddOn',\r\n getFranchiseMasterServiceCategories: '/ServicePricing/{0}', // serviceid\r\n saveFranchiseMasterServiceCategories: '/ServicePricing',\r\n removeFranchiseServiceCategory: '/ServicePricing/category/{0}',\r\n removeFranchiseServiceCategoryLevel: '/ServicePricing/level/{0}',\r\n removeFranchiseServiceCategoryLevelOption: '/ServicePricing/addons/{0}',\r\n getFranchiseOfficeAvailableServices: '/FranchiseOfficeServicePricing/GetAllServicesAvailable/{0}',\r\n getCustomerAvailableServices: '/UserServicePricing/GetAllServicesAvailable/{0}/{1}', // {0} as FrancficeId, {1} as Cid/lid\r\n getFranchiseOfficeAvailableCategories: '/FranchiseOfficeServicePricing/Get/{0}/{1}', // {0} franchise office id, {1} master serviceid\r\n getFranchiseOfficeUserAvailableCategories: '/UserServicePricing/Get/masterserviceid/{0}/franchiseOfficeId/{1}/userId/{2}', // {1} franchise office id, {0} master serviceid, {2} user id\r\n saveCatogoryForFranchiseOffice: '/FranchiseOfficeServicePricing', \r\n removeCategoryFromOffice: '/FranchiseOfficeServicePricing/ServicePricing/{0}', // servicePricingId\r\n removeAddOnFromOffice: '/FranchiseOfficeServicePricing/addons/{0}', // pricingAddOnId\r\n removeLevelFromOffice: '/FranchiseOfficeServicePricing/Level/{0}', // pricingLevelId\r\n getFranchiseOfficeAllPricings: '/FranchiseOfficeServicePricing/GetAll/{0}', // office id\r\n savePricingCatogoryForUser: '/UserServicePricing',\r\n removeServicePricingForUser: '/UserServicePricing/ServicePricing/{0}', // 0 - servicePricingId\r\n removeServiceAddOnForUser: '/UserServicePricing/addons/{0}', // 0- userServicePricingAddOnId\r\n getCreditReportForUser: '/CreditReport/{0}/{1}', // user id and boolean for email send ?\r\n getCreditReportForUserFromIQHtmlReport: '/CreditIQReport/{0}/{1}', // user id and boolean for email send ?\r\n fetchReport: '/arrayreport/fetch/{0}/{1}', //userId // isLead\r\n getDateOfLastRequestFetchReport: '/arrayreport/getdateoflastrequest/{0}', //userId\r\n getLoginListHistory: '/userAccount/getLogins'\r\n};\r\nexport const ClientRoutesConstants = {\r\n notFound: '/notFound',\r\n unauthorized: '/unauthorized',\r\n dashboard: '/dashboard',\r\n login: '/login',\r\n logout: '/logout',\r\n forgetPassword: '/forget-password',\r\n register: '/register',\r\n security: '/security',\r\n customers: '/customers',\r\n customersAdd: '/customers/add',\r\n customersView: '/customers/:cid',\r\n customersListFilter: '/customers-list/:type/:search',\r\n customersListFilterStatusNeedPOR: '/customers-list/StatusName/Need POR',\r\n customersListFilterStatusNeedID: '/customers-list/StatusName/Need ID',\r\n customersListFilterStatusNeedSS: '/customers-list/StatusName/Need SS',\r\n customersListFilterStatusNeedDocs: '/customers-list/StatusName/Need DOCS',\r\n customersListFilterStatusCMHold: '/customers-list/StatusName/CM Hold',\r\n customersListFilterStatusPull: '/customers-list/StatusName/Pull',\r\n fastEditAccounts: '/fasteditacounts/:cid',\r\n editTypes: '/admin/edit-types',\r\n createLetter: '/createletter/:cid',\r\n reportImporterPublic: '/reportimporter',\r\n reportImporter: '/reportimporter/:cid?/:type?',\r\n leads: '/leads',\r\n leadAdd: '/leads/add',\r\n leadAddPublic: '/public/leads',\r\n viewLeads: '/leads/:id',\r\n referralAgents: '/referral-agents',\r\n addReferralAgent: '/referral-agents/add',\r\n viewReferralAgents: '/referral-agents/:id',\r\n referralOffices: '/referral-offices',\r\n addReferralOffice: '/referral-offices/add',\r\n viewReferralOffices: '/referral-offices/:id',\r\n franchiseAgents: '/franchise-agents',\r\n viewFranchiseAgents: '/franchise-agents/:id',\r\n addFranchiseAgent: '/franchise-agents/add',\r\n franchiseOffices: '/franchise-offices',\r\n viewFranchiseOffices: '/franchise-offices/:id',\r\n addFranchiseOffice: '/franchise-offices/add',\r\n emailTemplates: '/letter-templates',\r\n viewEmailTemplates: '/letter-templates/:id?',\r\n addEmailTemplate: '/letter-templates/add',\r\n portalIntegration: '/portal-integration',\r\n affiliateSignup: '/affiliate-signup',\r\n cbReportViewer: '/cb-report-viewer/:cid/:date',\r\n adminUserAccess: '/admin/user-access',\r\n htmlParser: '/htmlParser',\r\n htmlFreeScoreParser: '/htmlFreeScoreParser',\r\n passwordReset: '/reset-password/:token/:uid',\r\n masterData: '/master-data',\r\n myTasksAgents: '/franchise-agents/todo',\r\n myTasksReferralAgents: '/referral-agents/todo',\r\n loginHistory: '/admin/login-history',\r\n}\r\nexport const AccountOutcomes: IValueText[] = [\r\n {\r\n value: '',\r\n text: '- Select -'\r\n },\r\n {\r\n value: Outcome.REPAIRED,\r\n text: Outcome.REPAIRED\r\n },\r\n {\r\n value: Outcome.DELETED,\r\n text: Outcome.DELETED\r\n },\r\n {\r\n value: Outcome.IN_PROGRESS,\r\n text: Outcome.IN_PROGRESS\r\n },\r\n {\r\n value: Outcome.IN_DISPUTE,\r\n text: Outcome.IN_DISPUTE\r\n },\r\n {\r\n value: Outcome.DO_NOT_DISPUTE_BY_CONSUMER,\r\n text: Outcome.DO_NOT_DISPUTE_BY_CONSUMER\r\n },\r\n {\r\n value: Outcome.VerifiedByFCRA,\r\n text: Outcome.VerifiedByFCRA\r\n }\r\n];\r\nexport const Messages: any = {\r\n APIAborted: 'API aborted as component unmounted',\r\n EmptyEmailChimp: 'Email Address not listed for this lead. Enter an email address for the lead, and Save your changes first',\r\n InValidEmailChimp: '{0} is not a valid email address. Enter a valid email address for the lead, and Save your changes',\r\n MailChimpNotSubscribed: 'Not yet subscribed to Mailchimp. Choose from your lists below and click Save',\r\n GenericError: 'Some Error occured! Please try again later.'\r\n};\r\nexport const Variables = {\r\n MIN_PWD_LENGTH: 8,\r\n EMPTY_GUID: '00000000-0000-0000-0000-000000000000',\r\n EMPTY_DATE1: '1/1/0001',\r\n EMPTY_DATE2: '1/1/1900',\r\n STANDARD_FASTRACK: 'Standard and Fast Track',\r\n BUREAU_LIST1: [\r\n { value: EnumBureausShorts.TU, text: },\r\n { value: EnumBureausShorts.EQF, text: },\r\n { value: EnumBureausShorts.EXP, text: },\r\n { value: EnumBureausShorts.CREDITOR, text: () => EnumBureausShorts.CREDITOR }\r\n ],\r\n // BUREAU_LIST2: [\r\n // { value: EnumBureausShorts.CREDITOR, text: () => EnumBureausShorts.CREDITOR },\r\n // { value: EnumBureausShorts.CC, text: () => EnumBureausShorts.CC, disabled: true },\r\n // { value: EnumBureausShorts.BCC, text: () => EnumBureausShorts.BCC, disabled: true }\r\n // ],\r\n EmailTemplatesTypes: {\r\n WelcomeEmail: 'Welcome Email',\r\n AgentWelcomeEmail: 'Referral Agent Welcome Email',\r\n LeadWelcome: 'Lead Welcome Email',\r\n ReminderEmail: 'Reminder Email',\r\n PullEmail: 'Pull Email',\r\n NoticeAccUpdate: 'Account Update',\r\n FollowupEmail: 'Affiliate Agent Followup Email',\r\n },\r\n EmailTemplatesNames: {\r\n CustomerWelcome: 'Welcome Email',\r\n ReferralAgentWelcome: 'Referral Agent Welcome Email',\r\n LeadWelcome: 'Lead Welcome Email',\r\n Email15Days: '15 Day Email',\r\n Email35Days: '35 Day Email',\r\n NoticeAccUpdate: 'Notice of Account Update Email',\r\n NoticeAccUpdateDeletes: 'Notice of Account Update With Deletes Email',\r\n FollowupEmail: 'Affiliate Agent Followup Email'\r\n },\r\n ClientLoginMessage: `We appreciate the opportunity to serve you and we will work diligently to help you reach your credit goals.
    \r\n Your first step each time you login is to check if you have any Client Tasks that need to be completed.
    \r\n The sooner you complete your tasks, the sooner we can complete your program.

    \r\n See if you have any assigned To Do’s toward the bottom of your Client Info tab.
    \r\n We will continue to send reminders until your To Do’s are completed.


    \r\n \r\n Thank you again for allowing us to serve you.`,\r\n EmailSourceTypes: {\r\n FRENCHISE_AGENT: 'FRENCHISE_AGENT',\r\n REFERRAL_AGENT: 'REFERRAL_AGENT',\r\n SENDER: 'SENDER'\r\n },\r\n AutoSelectAccountsForLetters: [\r\n { value: AutoSelectTypesForLetters.PersonalInfo, text: () => AutoSelectTypesForLetters.PersonalInfo },\r\n { value: AutoSelectTypesForLetters.Collections, text: () => AutoSelectTypesForLetters.Collections },\r\n { value: AutoSelectTypesForLetters.Inquiries, text: () => AutoSelectTypesForLetters.Inquiries },\r\n { value: AutoSelectTypesForLetters.LatePayments, text: () => AutoSelectTypesForLetters.LatePayments }\r\n ]\r\n}\r\n\r\nexport const EmailSourceTypesList: ICheckboxList[] = [\r\n {\r\n text: 'Credit Agents',\r\n value: Variables.EmailSourceTypes.FRENCHISE_AGENT,\r\n },\r\n {\r\n text: 'Affiliate Agents',\r\n value: Variables.EmailSourceTypes.REFERRAL_AGENT,\r\n }\r\n];\r\nexport const HTTP_ERROR_CODES = {\r\n BADREQUEST: 400,\r\n INTERNALERROR: 500,\r\n UNAUTHORISED: 403,\r\n NOTFOUND: 404,\r\n}\r\n\r\nexport const PASSWORDSTRENGTH = [\r\n {\r\n id: 0,\r\n value: \"Too weak\",\r\n minDiversity: 0,\r\n minLength: 0\r\n },\r\n {\r\n id: 1,\r\n value: \"Weak\",\r\n minDiversity: 2,\r\n minLength: Variables.MIN_PWD_LENGTH\r\n },\r\n {\r\n id: 2,\r\n value: \"Medium\",\r\n minDiversity: 4,\r\n minLength: Variables.MIN_PWD_LENGTH + 2\r\n },\r\n {\r\n id: 3,\r\n value: \"Strong\",\r\n minDiversity: 4,\r\n minLength: Variables.MIN_PWD_LENGTH + 4 // 10\r\n }\r\n]\r\n\r\nexport const PageErrors = {\r\n commonErrors: {\r\n firstName: 'First Name, ',\r\n lastName: 'Last Name, ',\r\n email: 'Email, ',\r\n emailOrUsername: 'Email/Username, ',\r\n passwordRequired: 'Password, ',\r\n validPassword: 'Valid Password, ',\r\n confirmPassword: 'Confirm Password, ',\r\n validConfirmPassword: 'Valid Confirm Password, ',\r\n usernameRequired: 'Username, ',\r\n passwordMatch: 'Passwords do not match!'\r\n },\r\n clientPageErrors: {\r\n processingStatus: 'Processing Status, ',\r\n franchiseId: 'Credit(Franchise) Agent, '\r\n },\r\n leadsPageErrors: {\r\n cellPhone: 'Cell Phone, '\r\n },\r\n companyOfficeErrors: {\r\n officeId: 'Office Name, ',\r\n role: 'Role, ',\r\n\r\n },\r\n affiliateOfficeErrors: {\r\n agentId: 'Credit Agent, ',\r\n officeName: 'Office Name, ',\r\n officeType: 'Office Type, ',\r\n\r\n agentsTab: {\r\n affiliateOffice: 'Affiliate Office, ',\r\n }\r\n }\r\n}\r\n\r\nexport const DisputeReasons: IValueText[] = [\r\n {\r\n value: DisputeReason.PersonalInformationIsIncorrect,\r\n text: DisputeReason.PersonalInformationIsIncorrect\r\n },\r\n {\r\n value: DisputeReason.AccountIsNotMine,\r\n text: DisputeReason.AccountIsNotMine\r\n },\r\n {\r\n value: DisputeReason.StatusIsIncorrect,\r\n text: DisputeReason.StatusIsIncorrect\r\n },\r\n {\r\n value: DisputeReason.InformationOutdated,\r\n text: DisputeReason.InformationOutdated\r\n },\r\n {\r\n value: DisputeReason.InquiryIsTooOld,\r\n text: DisputeReason.InquiryIsTooOld\r\n },\r\n {\r\n value: DisputeReason.InquiryNotAuthorized,\r\n text: DisputeReason.InquiryNotAuthorized\r\n },\r\n {\r\n value: DisputeReason.AccountsWereClosed,\r\n text: DisputeReason.AccountsWereClosed\r\n },\r\n {\r\n value: DisputeReason.AccountIsBankruptcy,\r\n text: DisputeReason.AccountIsBankruptcy\r\n },\r\n {\r\n value: DisputeReason.MistakenIdentity,\r\n text: DisputeReason.MistakenIdentity\r\n },\r\n {\r\n value: DisputeReason.IdentityTheft,\r\n text: DisputeReason.IdentityTheft\r\n },\r\n {\r\n value: DisputeReason.DuplicateAccount,\r\n text: DisputeReason.DuplicateAccount\r\n },\r\n {\r\n value: DisputeReason.WrongAmountIsBeingReported,\r\n text: DisputeReason.WrongAmountIsBeingReported\r\n },\r\n {\r\n value: DisputeReason.WrongCreditor,\r\n text: DisputeReason.WrongCreditor\r\n },\r\n {\r\n value: DisputeReason.ValidateAccount,\r\n text: DisputeReason.ValidateAccount\r\n },\r\n {\r\n value: DisputeReason.AccountPaidOnTime,\r\n text: DisputeReason.AccountPaidOnTime\r\n },\r\n {\r\n value: DisputeReason.CreditorAgreedToRemove,\r\n text: DisputeReason.CreditorAgreedToRemove\r\n },\r\n {\r\n value: DisputeReason.TypeOfAccountIsIncorrect,\r\n text: DisputeReason.TypeOfAccountIsIncorrect\r\n },\r\n {\r\n value: DisputeReason.ReOpenAccount,\r\n text: DisputeReason.ReOpenAccount\r\n },\r\n {\r\n value: DisputeReason.DataInaccurateDeleteAccount,\r\n text: DisputeReason.DataInaccurateDeleteAccount\r\n }\r\n];","export const DashboardActionTypes = {\r\n SET_CUSTOMER_COUNTS: 'SET_CUSTOMER_COUNTS',\r\n SET_LETTER_COUNTS: 'SET_LETTER_COUNTS',\r\n SET_REFERRAL_COUNTS: 'SET_REFERRAL_COUNTS',\r\n SET_ROLE_COUNTS: 'SET_ROLE_COUNTS',\r\n SET_FRANCHISE_COUNTS: 'SET_FRANCHISE_COUNTS',\r\n SET_NEEDING_DOCUMENTS_COUNTS: 'SET_NEEDING_DOCUMENTS_COUNTS',\r\n SET_NEEDING_NEW_ROUND_COUNTS: 'SET_NEEDING_NEW_ROUND_COUNTS',\r\n SET_NEEDING_NEW_REPORT_COUNTS: 'SET_NEEDING_NEW_REPORT_COUNTS'\r\n};","export const ImporterActionTypes = {\r\n SET_DELETED_ACCOUNTS_COUNTS: 'SET_DELETED_ACCOUNTS_COUNTS',\r\n SET_DELETED_INQUIRIES_COUNTS: 'SET_DELETED_INQUIRIES_COUNTS',\r\n SET_NEW_NEGATIVE_ACCOUNTS_COUNTS: 'SET_NEW_NEGATIVE_ACCOUNTS_COUNTS',\r\n SET_NEW_INQUIRIES_COUNTS: 'SET_NEW_INQUIRIES_COUNTS',\r\n SET_NEW_POSITIVE_ACCOUNTS_COUNTS: 'SET_NEW_POSITIVE_ACCOUNTS_COUNTS',\r\n SET_UPDATED_ACCOUNTS_COUNTS: 'SET_UPDATED_ACCOUNTS_COUNTS',\r\n};","export const ConfigActionTypes = {\r\n SET_CONFIGURATIONS: \"SET_CONFIGURATIONS\",\r\n REMOVE_CONFIGURATIONS: \"REMOVE_CONFIGURATIONS\"\r\n}","import classnames from 'classnames';\r\nimport React from 'react';\r\nimport { Spinner } from 'reactstrap';\r\n\r\nexport const ButtonComponent = (props: {\r\n spinnerRight?: boolean, children?: any, title?: string,\r\n loading?: boolean, onClick?: any, text?: any, className?: string, disabled?: boolean,\r\n sizeClass?: string, dataTooltip?: string\r\n}) => {\r\n return (\r\n \r\n\r\n );\r\n}","import classNames from 'classnames';\r\nimport React from 'react';\r\n\r\nexport const ModalComponent = (props: { bodyClass?: string, fullscreen?: boolean, halfFullScreen?: boolean, fullscreen100W?: boolean, isSmall?: boolean, isVerySmall?: boolean, isFullHeight?: boolean, hideClose?: boolean, isVisible: boolean, title: any, children: any, onClose: () => void }) => {\r\n return (\r\n props.isVisible ?\r\n
    \r\n
    \r\n
    \r\n
    \r\n {!props?.hideClose &&
    }\r\n

    {props.title}

    \r\n
    \r\n
    \r\n {props.children}\r\n
    \r\n
    \r\n
    \r\n : null\r\n );\r\n}","\r\nimport axios, { CancelTokenSource } from 'axios';\r\n// @ts-ignore\r\nimport FileDownload from 'js-file-download';\r\n\r\nimport { CommonUtils } from '../utils/common-utils';\r\nimport { ICustomerFilter, IScoringRound, IUpdateCustomerModel } from '../models/interfaces/customer-view';\r\nimport { getAction } from './action';\r\nimport { CustomerActionTypes } from './customers.action-types';\r\nimport { APIConstants } from '../shared/constants';\r\nimport { ToDoTargetTypes } from '../models/enums';\r\n\r\nconst path = require('path');\r\n\r\nexport const getCustomers = (filter: ICustomerFilter, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.getCustomers, filter, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getCustomersAndLeads = (customerSelected:string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCustomersAndLeads, customerSelected), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getCustomer = (cidOrText: string, source: CancelTokenSource, includeLeads?: boolean, includeReferralAgents?: boolean, addScoringInformation?: boolean, addAccountsCounter?: boolean) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCustomer, cidOrText) + (includeLeads !== undefined ? ('/' + includeLeads?.toString()) : '/') + (includeReferralAgents !== undefined ? ('/' + includeReferralAgents?.toString()) : '/') + (addScoringInformation !== undefined ? ('/' + addScoringInformation?.toString()) : '/') + (addAccountsCounter !== undefined ? ('/' + addAccountsCounter?.toString()) : '/'), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n if (result) {\r\n resolve(result);\r\n } else {\r\n reject(null);\r\n }\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getCustomerMinimal = (cid: string, giveAccountsCount: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCustomerMinimaldetails, cid) + \"/\" + giveAccountsCount, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n if (result) {\r\n resolve(result);\r\n } else {\r\n reject(null);\r\n }\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const UpdateCustomerdetails = (data: IUpdateCustomerModel, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.getCustomers, data, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n if (result) {\r\n resolve(result);\r\n } else {\r\n reject(null);\r\n }\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getFranchiseAgents = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.getFranchiseAgents, { cancelToken: source.token }).then((result: any) => result?.data)\r\n}\r\n\r\nexport const getReferralAgents = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.getReferralAgents, { cancelToken: source.token }).then((result: any) => result?.data);\r\n}\r\n\r\nexport const getScoringRoundStatuses = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.getScoringRoundStatuses, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n}\r\n\r\nexport const loadStatuses = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n getScoringRoundStatuses(source)\r\n .then((result: any[]) => {\r\n dispatch(getAction(CustomerActionTypes.SET_STATUSES, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_STATUSES, []));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const checkAPIActive = (apiName: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.checkAPIActive, apiName), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_API_ACTIVE, true));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_API_ACTIVE, false));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const setAPIActive = (apiname: string, activate: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.setAPIActive) + '/' + apiname + '/' + activate, null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateAPIKey = (apiname: string, key: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.updateAPIKey) + '/' + apiname + '/' + key, null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getStates = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getStates, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_STATES, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_STATES, null));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const checkPartnerKey = (officeId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.checkPartnerkey, officeId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_PARTNER_KEY, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_PARTNER_KEY, null));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getAPIIntegrations = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getAPIIntegrations, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getS3Files = async (customerId: string, size: number, folderName: string, source: CancelTokenSource, isLead?: boolean) => {\r\n return await axios.post(APIConstants.checkS3Files, { customerId, size, folderName, isLead }, { cancelToken: source.token })\r\n .then((result: any) => result?.data);\r\n}\r\nexport const getS3SingleFile = async (customerId: string, folderName: string, source: CancelTokenSource) => {\r\n return await axios.post(APIConstants.getS3SingleFile, { customerId, folderName }, { cancelToken: source.token })\r\n .then((result: any) => result?.data);\r\n}\r\nexport const checkS3Files = (customerId: string, size: number, folderName: string, source: CancelTokenSource, isLead?: boolean) => {\r\n return (dispatch: any) => {\r\n return new Promise((resolve, reject) => {\r\n getS3Files(customerId, size, folderName, source, isLead)\r\n .then((result: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_S3_FILES, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_S3_FILES, null));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const checkSubscriberListsByEmail = async (email: string, source: CancelTokenSource) => {\r\n return await axios.post(APIConstants.checkSubscriberListsByEmail, { email }, { cancelToken: source.token })\r\n .then((result: any) => result?.data).catch(e => { throw e; });\r\n}\r\n\r\nexport const getMailchimpLists = async (source: CancelTokenSource) => {\r\n return await axios.post(APIConstants.getMailchimpLists, {}, { cancelToken: source.token })\r\n .then((result: any) => result?.data).catch(e => { throw e; });\r\n}\r\n\r\nexport const checkSubscriberCampaignsByEmail = async (email: string, source: CancelTokenSource) => {\r\n return await axios.post(APIConstants.checkSubscriberCampaignsByEmail, { email }, { cancelToken: source.token })\r\n .then((result: any) => result?.data).catch(e => { throw e; });\r\n}\r\n\r\nexport const setMailchimpList = (ids: string[], email: string, fname: string, lname: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.setMailchimpList, { ids, email, fname, lname }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const saveFeeDetails = (CustomerId: string, SetupFee: string, MonthlyFee: string, MonthlyDueDate: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.saveFeeDetails, { CustomerId, SetupFee, MonthlyFee, MonthlyDueDate }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const saveCreditMonitoringDetails = (CustomerId: string, CreditMonitoringService: string,\r\n CreditMonitoringUserName: string, CreditMonitoringPassword: string, CreditMonitoringSecretWord: string, ReportPullDate: string,\r\n source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.saveCreditMonitoring, {\r\n CustomerId, CreditMonitoringService, CreditMonitoringUserName, CreditMonitoringPassword,\r\n CreditMonitoringSecretWord, ReportPullDate\r\n }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const saveGeneralNotes = (cid: string, Note: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.saveGeneralNotes, { cid, Note }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateUserName = (customerId: string, oldUsername: string, newUsername: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateUserName, { customerId, oldUsername, newUsername }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateLockOrUnlockUser = (customerId: string, lockUser: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateLockOrUnlockCustomerUser, { customerId, lockUser }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updatePassword = (userId: string, oldPassword: string, newPassword: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updatePassword, { userId, oldPassword, newPassword }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const resedWelcomeEmail = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.resendWelcomeEmail, cid), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const submitToProcessing = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.submitToProcessing, cid), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const PORNeededEmail = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.sendPORneeded, cid), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const removeSpouse = (customerId: string, spouseId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.removeSpouse, customerId, spouseId), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getAdminSettings = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.adminsettings, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n dispatch(getAction(CustomerActionTypes.SET_ADMIN_SETTINGS, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_ADMIN_SETTINGS, null));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCustomerFranchAgents = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.customerFranchAgents, { cancelToken: source.token })\r\n .then((result: any) => result?.data);\r\n}\r\n\r\nexport const getCustomerReferrAgents = async (source: CancelTokenSource) => {\r\n return await axios.get(APIConstants.customerReferAgents, { cancelToken: source.token })\r\n .then((result: any) => result?.data);\r\n}\r\nexport const updateRound = (payload: IScoringRound, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateRound, payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteRound = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.deleteRound, id), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const submitRounds = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.submitRounds, payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const startRound = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.submitQuery, payload), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const disputeProgress = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n dispatch(getAction(CustomerActionTypes.SET_DISPUTE_STATS_LOADING, true));\r\n await axios.get(CommonUtils.formatString(APIConstants.disputeProgress, cid), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n dispatch(getAction(CustomerActionTypes.SET_DISPUTE_STATS, result));\r\n dispatch(getAction(CustomerActionTypes.SET_DISPUTE_STATS_LOADING, false));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_DISPUTE_STATS, []));\r\n dispatch(getAction(CustomerActionTypes.SET_DISPUTE_STATS_LOADING, false));\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateCustomerAgent = (customerId: string, franchiseAgent: string, referralAgent: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateCustomerAgent,\r\n { customerId, franchiseAgent, referralAgent }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addClientNote = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.saveClientNote, payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateClientNote = (customerId: string, textContent: string, notesId: string, whoLeft: string, notesDate: string, source: CancelTokenSource, isLead: boolean) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.saveClientNote,\r\n { customerId, textContent, notesId, whoLeft, notesDate, isLead }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const deleteClientNote = (notesId: string, source: CancelTokenSource, isLead = false) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(APIConstants.saveClientNote + \"/\" + notesId + \"/\" + isLead, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteInternalNote = (notesId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(APIConstants.processingNote + \"/\" + notesId, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addInternalNote = (customerId: string, noteContent: string, userIdForNotes: string, isSendMail: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.processingNote,\r\n { customerId, noteContent, userIdForNotes, isSendMail }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCannedNotes = (noteType: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCannedNotes, noteType),\r\n { cancelToken: source.token })\r\n .then((result: any) => result?.data).then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteCannedNotes = (noteId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.getCannedNotes, noteId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const createCannedNotes = (content: string, noteType: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.createCannedNote, content, noteType), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const removeAccounts = async (collectionAccountId: string, source: CancelTokenSource) => {\r\n return await axios.delete(APIConstants.collectionAccount, {\r\n cancelToken: source.token,\r\n data: { ids: collectionAccountId }\r\n })\r\n .then((result: any) => result?.data);\r\n}\r\n\r\nexport const removeAccount = async (accountId: string, cid: string, source: CancelTokenSource) => {\r\n return await axios.delete(CommonUtils.formatString(APIConstants.account, accountId, cid), {\r\n cancelToken: source.token\r\n }).then((result: any) => result?.data);\r\n}\r\n\r\n\r\nexport const removeFiles = async (fileIds: string, source: CancelTokenSource, isLead: boolean = false, cid = '') => {\r\n return await axios.delete(APIConstants.file, {\r\n cancelToken: source.token,\r\n data: { ids: fileIds, isLead, cid }\r\n })\r\n .then((result: any) => result?.data);\r\n}\r\n\r\nexport const updateFile = async (fileId: string, fileType: string, source: CancelTokenSource, isLead: boolean = false) => {\r\n return await axios.put(CommonUtils.formatString(APIConstants.updateFile, fileId, fileType, isLead?.toString()),\r\n {\r\n cancelToken: source.token\r\n })\r\n .then((result: any) => result?.data);\r\n}\r\nexport const uploadFile = (customerId: string, name: string, type: string, overwriteExistingFiles: boolean,\r\n formData: FormData, description: string, fileName: string, operation: string, source: CancelTokenSource) => {\r\n return axios.post(APIConstants.file, formData,\r\n {\r\n cancelToken: source.token,\r\n headers: {\r\n customerId,\r\n name,\r\n type,\r\n description,\r\n overwriteExistingFiles,\r\n fileName,\r\n operation,\r\n 'Content-Type': 'multipart/form-data'\r\n }\r\n })\r\n .then((result: any) => result?.data);\r\n}\r\nexport const downloadFileOrLetter = async (fullPath: string, source: CancelTokenSource) => {\r\n return await axios({\r\n url: CommonUtils.formatString(APIConstants.downloadFileLetter, fullPath),\r\n method: 'GET',\r\n responseType: 'blob', // Important\r\n cancelToken: source.token,\r\n }).then((response) => {\r\n const fileName = path.basename(fullPath);\r\n FileDownload(response.data, fileName);\r\n });\r\n}\r\n\r\nexport const downloadLastReport = async (customerId: string, source: CancelTokenSource) => {\r\n return await axios({\r\n url: CommonUtils.formatString(APIConstants.downloadLastReport, customerId),\r\n method: 'GET',\r\n responseType: 'blob', // Important\r\n cancelToken: source.token,\r\n }).then((response) => {\r\n const fileName = \"CreditReport.pdf\";\r\n FileDownload(response.data, fileName);\r\n });\r\n}\r\n\r\nexport const downloadLetters = async (fileIds: string, customerId: string, source: CancelTokenSource) => {\r\n return await axios.post(\r\n APIConstants.downloadLetters,\r\n { ids: fileIds, cid: customerId },\r\n {\r\n cancelToken: source?.token,\r\n responseType: 'blob'\r\n }\r\n ).then((result: any) => FileDownload(result.data, CommonUtils.generateUniqueFileName('letters', '.zip')))\r\n .catch((err: any) => {\r\n console.log(err);\r\n });;\r\n};\r\n\r\nexport const removeLetters = async (fileIds?: string, source?: CancelTokenSource) => {\r\n return await axios.delete(APIConstants.disputeletter, {\r\n cancelToken: source?.token,\r\n data: { ids: fileIds }\r\n }).then((result: any) => result?.data);\r\n}\r\n\r\nexport const getTodos = (cid: string, targetType: ToDoTargetTypes, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.toDos, cid, targetType),\r\n { cancelToken: source.token })\r\n .then((result: any) => result?.data).then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addTodo = (toDoText: string, dueDate: string, cid: string, targetType: ToDoTargetTypes, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.toDos, cid, targetType), { toDoText, dueDate },\r\n { cancelToken: source.token })\r\n .then((result: any) => result?.data).then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateTodo = (todoId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.toDoUpdate, todoId), null,\r\n { cancelToken: source.token })\r\n .then((result: any) => result?.data).then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const deleteTodo = (todoId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.toDoUpdate, todoId),\r\n { cancelToken: source.token })\r\n .then((result: any) => result?.data).then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteCustomer = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.getCustomer, customerId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const getCustomerReferralAgentsList = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.customerReferralAgents, cid), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addCustomerReferralAgents = (cid: string, agentId: string, roleName: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.addUpdateCustomerReferralAgents, cid, agentId, roleName), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateCustomerReferralAgents = (cid: string, agentId: string, roleName: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.addUpdateCustomerReferralAgents, cid, agentId, roleName), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteCustomerReferralAgents = (cid: string, agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.deleteCustomerReferralAgents, cid, agentId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const addNewRound = (payload: string, cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.addNewRound, cid), payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const subscribeToArrayCustomer = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.submitToArrayReport, customerId) + '/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getSubscribeToArrayCustomer = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.submitToArrayReport, customerId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const subscribeToCMCustomer = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.creditmonitoringsubscription, customerId) + '/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getSubscribeToCMCustomer = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.creditmonitoringsubscription, customerId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const downloadCreditReport = async (userId: string, sendEmail: boolean, source: CancelTokenSource) => {\r\n return await axios({\r\n url: CommonUtils.formatString(APIConstants.getCreditReportForUser, userId, sendEmail?.toString()),\r\n method: 'GET',\r\n responseType: 'blob', // Important\r\n cancelToken: source.token,\r\n }).then((response) => {\r\n FileDownload(response.data, 'CreditReport.pdf');\r\n });\r\n}\r\n\r\nexport const downloadCreditReportUsingIQReport = (payload: string, cid: string, sendEmail: boolean, setLoading: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.getCreditReportForUserFromIQHtmlReport, cid, sendEmail?.toString()), payload, {\r\n responseType: 'blob', // Important\r\n cancelToken: source.token })\r\n .then((response) => {\r\n setLoading(false);\r\n FileDownload(response.data, 'CreditReport.pdf');\r\n })\r\n .catch((err: any) => {\r\n setLoading(false);\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCreditMonitoring = (cid: string, type: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCreditMonitoring, cid, type), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const fetchReport = (userId: string, source: CancelTokenSource, isLead: boolean) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.fetchReport, userId, isLead ? isLead?.toString() : 'false'), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getDateOfLastRequestFetchReport = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getDateOfLastRequestFetchReport, cid), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n dispatch(getAction(CustomerActionTypes.SET_FETCH_REPORT_DATE, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const loadingFetchReport = (isLoading: boolean) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_IS_LOADING_FETCH_REPORT, isLoading));\r\n }\r\n}\r\n\r\nexport const saveCreditScore = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.saveCreditScore, payload, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCreditScore = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getcurrentscore, customerId), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}","import React, { useState } from 'react';\r\nimport { useEffect } from 'react';\r\n\r\nimport { EnumBureaus, EnumBureausShorts } from '../../models/enums';\r\nimport { EQF_LOGO_SM, EQF_LOGO_MD, EXP_LOGO_SM, EXP_LOGO_MD, TU_LOGO_SM, TU_LOGO_MD } from '../components/images';\r\nimport classNames from 'classnames';\r\n\r\nexport const BureauLogoComponent = (props: { type?: string | EnumBureausShorts, size?: 'md' | 'sm', className?: string }) => {\r\n\r\n const [logo, setLogo] = useState(null as any);\r\n\r\n useEffect(() => {\r\n switch (props?.type?.toLowerCase()) {\r\n case EnumBureausShorts.TU?.toLowerCase():\r\n case EnumBureaus.TransUnion?.toLowerCase():\r\n if (props?.size === 'md') {\r\n setLogo(TU_LOGO_MD);\r\n } else {\r\n setLogo(TU_LOGO_SM);\r\n }\r\n break;\r\n case EnumBureausShorts.EXP?.toLowerCase():\r\n case EnumBureaus.Experian?.toLowerCase():\r\n if (props?.size === 'md') {\r\n setLogo(EXP_LOGO_MD);\r\n } else {\r\n setLogo(EXP_LOGO_SM);\r\n }\r\n break;\r\n case EnumBureausShorts.EQF?.toLowerCase():\r\n case EnumBureaus.Equifax?.toLowerCase():\r\n if (props?.size === 'md') {\r\n setLogo(EQF_LOGO_MD);\r\n } else {\r\n setLogo(EQF_LOGO_SM);\r\n }\r\n break;\r\n }\r\n }, [props?.type, props?.size]);\r\n\r\n return (\r\n
    \r\n Bureau Logo\r\n
    \r\n );\r\n}","\r\nimport React, { useState } from 'react';\r\nimport { bindActionCreators } from 'redux';\r\nimport { connect } from 'react-redux';\r\nimport { CancelTokenSource } from 'axios';\r\nimport classnames from 'classnames';\r\nimport { validate as uuidValidate } from 'uuid';\r\n\r\nimport { IDropdown, ISearchBoxProps } from '../../models/interfaces/shared';\r\nimport { getCustomer } from '../../actions/customers.actions';\r\nimport { getLeads } from '../../actions/leads.actions';\r\nimport { ICustomerShort } from '../../models/interfaces/customer-view';\r\nimport { AutoComplete } from './autocomplete';\r\nimport { AutoCompleteSearchTypes } from '../../models/enums';\r\nimport { IFranchiseAgent } from '../../models/interfaces/franchise';\r\nimport { getFranchseAgentsList } from '../../actions/franchise-agents.actions';\r\nimport { getReferralAgentsList } from '../../actions/referral.actions';\r\n\r\n\r\nconst mapDispatchToProps = (dispatch: any) => {\r\n return bindActionCreators({\r\n getCustomer,\r\n getLeads,\r\n getFranchseAgentsList,\r\n getReferralAgentsList\r\n }, dispatch);\r\n}\r\nexport const SearchCustomersComponent = connect(null, mapDispatchToProps)((props: ISearchBoxProps) => {\r\n\r\n const [list, setList] = useState([] as ICustomerShort[]);\r\n\r\n const customerPromise = (searchText: string, source: CancelTokenSource) => {\r\n if (props?.searchTypes === AutoCompleteSearchTypes.LEAD) {\r\n return props?.getLeads([], source, searchText).then((result: any) => {\r\n setList(result?.leads);\r\n return result?.leads;\r\n }).then((result: ICustomerShort[]) => {\r\n return result?.map(item => ({\r\n name: item?.firstName + ' ' + (item?.lastName || ''),\r\n abbreviation: item?.id\r\n }));\r\n }) as Promise\r\n } else if (props?.searchTypes === AutoCompleteSearchTypes.FRENCHISE_AGENT) {\r\n return props?.getFranchseAgentsList([], source, searchText).then((result: any) => {\r\n setList(result?.agents);\r\n return result?.agents;\r\n }).then((result: IFranchiseAgent[]) => {\r\n return result?.map(item => ({\r\n name: item?.firstName + ' ' + (item?.lastName || ''),\r\n abbreviation: item?.id\r\n }));\r\n }) as Promise\r\n } else if (props?.searchTypes === AutoCompleteSearchTypes.REFERRAL_AGENT) {\r\n return props?.getReferralAgentsList([], source, searchText).then((result: any) => {\r\n setList(result?.agents);\r\n return result?.agents;\r\n }).then((result: IFranchiseAgent[]) => {\r\n return result?.map(item => ({\r\n name: item?.firstName + ' ' + (item?.lastName || ''),\r\n abbreviation: item?.id\r\n }));\r\n }) as Promise\r\n } else if (props?.searchTypes === AutoCompleteSearchTypes.CUSTOMER_LEAD_AFFILIATEAGENT){\r\n return props?.getCustomer(searchText, source, true, props?.searchTypes === AutoCompleteSearchTypes.CUSTOMER_LEAD_AFFILIATEAGENT)\r\n .then((result: any) => {\r\n setList(result);\r\n return result;\r\n }).then((result: ICustomerShort[]) => {\r\n return result?.map(item => ({\r\n name: item?.fullName + (item?.isLead ? getLeadMessage() : item?.isReferralAgent ? getReferralMessage() : ''),\r\n abbreviation: item?.id\r\n }));\r\n }) as Promise\r\n }\r\n else {\r\n let addScoringInformation = props?.addScoringInformation ? props?.addScoringInformation : false;\r\n let addAccountsCounter = props?.addAccountsCounter ? props?.addAccountsCounter : false;\r\n return props?.getCustomer(searchText, source, props?.searchTypes === AutoCompleteSearchTypes.CUSTOMER_LEAD, false, addScoringInformation, addAccountsCounter)\r\n .then((result: any) => {\r\n setList(result);\r\n return result;\r\n }).then((result: ICustomerShort[]) => {\r\n return result?.map(item => ({\r\n name: item?.fullName + (item?.isLead ? getLeadMessage() : ''),\r\n abbreviation: item?.id\r\n }));\r\n }) as Promise\r\n }\r\n }\r\n const getLeadMessage = () => {\r\n return '(Lead)';\r\n }\r\n const getReferralMessage = () => {\r\n return '(Affiliate Agent)';\r\n }\r\n const onSelect = (text: string | IDropdown) => {\r\n if (props?.onSelect) {\r\n props?.onSelect(text);\r\n }\r\n if (typeof (text) === 'object' && uuidValidate(text?.abbreviation ?? '') && props?.onSelectedData) {\r\n const cust = list?.find(x => x.id === text?.abbreviation);\r\n props?.onSelectedData(cust);\r\n }\r\n }\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n})","module.exports = {\n \"appName\": \"Application\",\n \"baseURL\": \"https://webapi.accountprogress.com\",\n \"env\": \"PROD\",\n \"oldWebsite\": \"https://oldversion.accountprogress.com:82/{0}/CiwLogin.aspx\"\n}","import axios, { CancelTokenSource } from \"axios\";\r\n\r\nimport { IMediaPayload } from \"../models/interfaces/shared\";\r\nimport { SharedActionTypes } from \"../shared/actions/action-types\";\r\nimport { APIConstants } from \"../shared/constants\";\r\nimport { CommonUtils } from \"../utils/common-utils\";\r\nimport { getAction } from \"./action\";\r\n\r\n\r\nexport const getSiteLogos = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getSiteLogos, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const uploadLogo = (payload: IMediaPayload, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.uploadLogo, payload, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateKey = () => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(SharedActionTypes.LOGO_CHANGED));\r\n }\r\n}\r\nexport const removeOfficeLogo = (ofcId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.removeLogo, ofcId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}","import axios, { CancelTokenSource } from \"axios\";\r\nimport { ICustomerFullDetails } from \"../models/interfaces/customer-view\";\r\nimport { ICreditMonitoring } from \"../models/interfaces/leads\";\r\nimport { INameValue, INameValueMatch } from \"../models/interfaces/shared\";\r\n\r\nimport { APIConstants } from \"../shared/constants\";\r\nimport { CommonUtils } from '../utils/common-utils';\r\nimport { getAction } from \"./action\";\r\nimport { CustomerActionTypes } from \"./customers.action-types\";\r\n\r\n\r\nexport const getLeads = (payload: INameValueMatch[], source: CancelTokenSource, query: string = '') => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n let url = APIConstants.getLeads;\r\n if (query) {\r\n url += '?query=' + query;\r\n }\r\n await axios.post(url, payload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n const res = {\r\n leads: result?.data?.leads,\r\n referralAgents: Object.getOwnPropertyNames(result?.data?.referralAgents || {})\r\n ?.map((key: string) => ({\r\n Name: result?.data?.referralAgents[key],\r\n Value: key\r\n } as INameValue)),\r\n franchiseAgents: Object.getOwnPropertyNames(result?.data?.franchiseAgents || {})\r\n ?.map((key: string) => ({\r\n Name: result?.data?.franchiseAgents[key],\r\n Value: key\r\n } as INameValue)),\r\n statusNames: result?.data?.statusNames,\r\n tranactionTypes: result?.data?.tranactionTypes,\r\n }\r\n resolve(res);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getLeadDetails = (leadId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getSingleLeads, leadId), { cancelToken: source?.token })\r\n .then((result: any) => {\r\n const { lead, creditMonitoring } = result?.data;\r\n resolve({\r\n lead,\r\n creditMonitoring: {\r\n monitoringService: creditMonitoring?.service,\r\n monitoringLink: creditMonitoring?.link,\r\n monitoringUserName: creditMonitoring?.userName,\r\n monitoringPassword: creditMonitoring?.password,\r\n monitoringSecretWord: creditMonitoring?.secretWord,\r\n reportPullDate: creditMonitoring?.reportPullDate,\r\n cbRefreshTok: lead?.cbRefreshTok,\r\n id: lead?.id,\r\n email: lead?.email\r\n } as ICreditMonitoring\r\n });\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateLead = (leadPayload: ICustomerFullDetails, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.addLead, leadPayload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addLead = (leadPayload: ICustomerFullDetails, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.addLead, leadPayload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const deleteLead = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(APIConstants.addLead + '/' + id, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const leadMonitoring = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.leadCreditMonitoring, payload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const convertToCustomer = (id: string, notifyAgent: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.convertToCustomer, id, notifyAgent?.toString()), null, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const updateLeadAgent = (customerId: string, franchiseAgent: string, referralAgent: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.leadAgentUpdate,\r\n { customerId, franchiseAgent, referralAgent }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const resedLeadWelcomeEmail = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(CommonUtils.formatString(APIConstants.resendLeadWelcomeEmail, cid), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const subscribeToArrayLead = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.submitToArrayReport, customerId) + '/true/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getSubscribeToArrayLead = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.submitToArrayReport, customerId) + '/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const subscribeToCMLead = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.creditmonitoringsubscription, customerId) + '/true/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getSubscribeToCMLead = (customerId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.creditmonitoringsubscription, customerId) + '/true', { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const removeSpouse = (leadId: string, spouseId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.removeLeadSpouse, leadId, spouseId), null, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCreditMonitoring = (cid: string, type: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getCreditMonitoring, cid, type), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const fetchReport = (userId: string, source: CancelTokenSource, isLead: boolean) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.fetchReport, userId, isLead ? isLead?.toString() : 'false'), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getDateOfLastRequestFetchReport = (cid: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getDateOfLastRequestFetchReport, cid), { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any[]) => {\r\n dispatch(getAction(CustomerActionTypes.SET_FETCH_REPORT_DATE, result));\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const loadingFetchReport = (isLoading: boolean) => {\r\n return (dispatch: any) => {\r\n dispatch(getAction(CustomerActionTypes.SET_IS_LOADING_FETCH_REPORT, isLoading));\r\n }\r\n}","import axios, { CancelTokenSource } from \"axios\";\r\nimport { ReferralCustomerTypes } from \"../models/enums\";\r\nimport { IFranchiseAgent, IFranchiseOffice, IFranchisePayments, IReferralOffice } from \"../models/interfaces/franchise\";\r\nimport { INameValue, INameValueMatch } from \"../models/interfaces/shared\";\r\n\r\nimport { APIConstants } from \"../shared/constants\";\r\nimport { CommonUtils } from '../utils/common-utils';\r\n\r\n\r\nexport const getReferralOffices = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.referralOffices, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result?.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getReferralOfficeDetails = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getReferralOfficeDetails, id), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getReferralAgents = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getReferralOfficeAgents, id), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const addUpdateReferralOffice = (data: IReferralOffice, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.referralOffices, data, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteReferralOffice = (id: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(APIConstants.referralOffices + `/${id}`, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const deleteReferralAgent = (agent: IFranchiseAgent, officeId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.delete(CommonUtils.formatString(APIConstants.getReferralOfficeAgents, officeId),\r\n {\r\n cancelToken: source.token,\r\n data: {\r\n membershipId: agent.membershipId,\r\n id: agent?.id\r\n }\r\n })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const createUpdateReferralAgent = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.post(APIConstants.updateReferralAgent, payload, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\nexport const getReferralAgentDetails = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getReferralOfficeAgentDetails, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getCurrentOfficeAgents = (source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(APIConstants.getCurrentOfficeAgents, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const reassignReferralOffices = (currentId: string, assignTo: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.reassignReferralOffices, currentId, assignTo), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const changeReferralAgentPasword = (payload: any, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.referralAgentChangePassword, payload, { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const sendWelcomeEmailtoAgent = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.resendWelcomeAgentEmail, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const resendFollowUpAgentEmail = (agentId: string, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(CommonUtils.formatString(APIConstants.resendFollowUpAgentEmail, agentId), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\n\r\nexport const getReferralAgentsList = (payload: INameValueMatch[], source: CancelTokenSource, query: string = '') => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n let url = APIConstants.getReferralAgentsList;\r\n if (query) {\r\n url += '?query=' + query;\r\n }\r\n await axios.post(url, payload, { cancelToken: source?.token })\r\n .then((result: any) => {\r\n const res = {\r\n agents: result?.data?.agents,\r\n offices: result?.data?.offices?.map((x: string) => ({ Name: x, Value: x } as INameValue)) as INameValue[],\r\n roles: result?.data?.roles?.map((x: string) => ({ Name: x, Value: x } as INameValue)) as INameValue[]\r\n }\r\n resolve(res);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const getReferralAgentCustomers = (agentId: string, type: ReferralCustomerTypes, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.get(CommonUtils.formatString(APIConstants.getReferralAgentCustomers, agentId, type?.toString()), { cancelToken: source.token })\r\n .then((result: any) => {\r\n resolve(result.data);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport const updateLockOrUnlockReferralAgentAccount = (referralAgentId: string, lockUser: boolean, source: CancelTokenSource) => {\r\n return (dispatch: any) => {\r\n return new Promise(async (resolve, reject) => {\r\n await axios.put(APIConstants.updateLockOrUnlockReferralAgentUser, { referralAgentId, lockUser }, { cancelToken: source.token })\r\n .then((result: any) => result?.data)\r\n .then((result: any) => {\r\n resolve(result);\r\n })\r\n .catch((err: any) => {\r\n reject(err);\r\n });\r\n });\r\n }\r\n}"],"sourceRoot":""}