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wC,EAAAA,EAAMsQ,iCACZjT,WAIKkT,EAA4BlT,IAC9B,CACHG,KAAMwC,EAAAA,EAAMwQ,8BACZnT,WAGKoT,EAAkCpT,IACpC,CACHG,KAAMwC,EAAAA,EAAM0Q,oCACZrT,WAIKsT,EAAmCtT,IACrC,CACHG,KAAMwC,EAAAA,EAAM4Q,4BACZvT,WAKKwT,EAAyBxT,IAC3B,CACHG,KAAMwC,EAAAA,EAAM8Q,6BACZzT,WAKK0T,EAAkC1T,IACpC,CACHG,KAAMwC,EAAAA,EAAMgR,oCACZ3T,WAKK4T,EAA+B5T,IACjC,CACHG,KAAMwC,EAAAA,EAAMkR,kCACZ7T,WAKK8T,EAAyBA,KAC3B,CACH3T,KAAMwC,EAAAA,EAAMoR,2B,oEC1GpB,MAAMC,EAAuBpE,UAC3B,IAEE,aADuBqE,EAAAA,EAAAA,IAAW,mCAAoC,IAAKjU,GAAU,IAAI,IACzE1C,IAClB,CAAE,MAAO2J,GACP,MAAMA,CACR,GAUIiN,EAAsBtE,UAC1B,IAEE,aADuBqE,EAAAA,EAAAA,IAAW,mCAAoC,IAAKjU,GAAU,IAAI,IACzE1C,IAClB,CAAE,MAAO2J,GACP,MAAMA,CACR,GAUI6J,EAAqBlB,UACzB,IAEE,aADuBqE,EAAAA,EAAAA,IAAW,iCAAkC,IAAKjU,GAAU,IAAI,IACvE1C,IAClB,CAAE,MAAO2J,GACP,MAAMA,CACR,E","sources":["Hooks/CustomValuesHookTS.tsx","components/helpLink/index.js","routes.js","components/AppContent.js","components/PortalProfileMenu.js","components/ReturnToTheOldVersion.js","components/UserMessages/widgets/Updates.tsx","components/UserMessages/widgets/Messages.tsx","components/UserMessages/index.tsx","components/enumHeader/index.ts","views/pages/callDirect/callDirectBody/callDirectSearch/index.tsx","views/pages/callDirect/callDirectBody/index.tsx","views/pages/callDirect/resultDirectCall/modalResultCall/index.tsx","views/pages/callDirect/resultDirectCall/index.tsx","views/pages/callDirect/index.tsx","components/AppHeader.js","service/actions/notificationAction.js","components/AppSidebarNavTemp.js","components/GetContacts/index.tsx","components/profileStatus.js","components/AppSidebar.js","components/SMSPanelTest/index.tsx","layout/DefaultLayout.js","service/actions/lineSettingsAction.js","service/reactQueryServices/smsConfig.ts"],"sourcesContent":["import React, { useState } from 'react'\r\n\r\nconst CustomValuesHookTS = (props: T): [T, (e: React.SetStateAction) => void] => {\r\n const [localStates, setLocalStates] = useState({ ...props } as T);\r\n\r\n const handleChange = (e: React.SetStateAction) => {\r\n if (typeof e === 'function') {\r\n setLocalStates((prevState) => (e as (prevState: T) => T)(prevState));\r\n } else {\r\n setLocalStates((prevState) => ({\r\n ...prevState,\r\n ...e,\r\n }));\r\n }\r\n };\r\n\r\n return [localStates, handleChange];\r\n};\r\n\r\nexport default CustomValuesHookTS","const helpJson = {\r\n '/': '/help-dashbord',\r\n '/dashboard': '/help-dashbord',\r\n '/ivrSetting': '/help-ivr',\r\n '/secretaryPage': '/help-sections',\r\n 'generalSettings': '/help-line',\r\n 'voiceMail': '/help-voice-mail-customized',\r\n 'faxSettings': '/help-fax',\r\n 'callReportSettings': '/help-notifications',\r\n 'transferCallSettings': '/help-outbound-call',\r\n '/numbers': '/help-number',\r\n '/callReport': '/help-call-report',\r\n '/message/secretaryMessage': '/help-secretary-reports',\r\n '/secretaryPage':'/help-sections',\r\n '/fax': '/help-advantages',\r\n '/sendFax': '/help-send-and-receive',\r\n '/voiceMails': '/help-voicebox',\r\n '/customerMember/members': '/help-partners',\r\n '/customerMember/notification': '/help-set-notification-to-colleagues',\r\n '/queueList': '/help-queue-call-waiting',\r\n '/queueCallReport': '/help-queue-call-waiting',\r\n '/tickets': '/help-support-ticket',\r\n '/registerTickets': '/help-support-ticket',\r\n '/contacts/contact': '/help-contact-registration',\r\n '/contacts/phonebook': '/help-telephone-book',\r\n '/profilePanel/profile': '/help-service-activation',\r\n '/profilePanel/customerDocuments': '/help-documents',\r\n '/profilePanel/companyDocuments': '/help-sign-up-factor',\r\n '/profilePanel/companyInfo': '/help-sign-up-factor',\r\n '/profilePanel/profileChangePassword': '/help-change-password',\r\n '/charge/false/00000000-0000-0000-0000-000000000000': '/help-credit',\r\n '/purchaseLine/selectionNumber/false/false': '/help-rond',\r\n '/extend/packages/secretary': '/help-renew',\r\n '/extend/packages/ivr': '/help-renew',\r\n '/extend/packages/fax': '/help-renew',\r\n '/transactions': '/help-portal-setting-factor',\r\n '/Rahnama-Gooya':'help-rahnama-gooya',\r\n '/Rahnama-monshi':'help-secretarial-service-guide'\r\n\r\n}\r\nexport default helpJson","import React from 'react'\r\n\r\nconst Dashboard = React.lazy(() => import('./views/pages/dashboard'))\r\nconst Support = React.lazy(() => import('./views/pages/ticket'))\r\nconst RegisterTickets = React.lazy(() => import('./views/pages/ticket/registerTicket'))\r\nconst NumberPage = React.lazy(() => import('./views/pages/numbers'))\r\nconst SecreteryPage = React.lazy(() => import('./views/pages/secretery'))\r\n// const IVRSetting = React.lazy(() => import('./views/pages/numbers/ivr'))\r\nconst IVRSetting = React.lazy(() => import('./views/pages/numbers/ivrSettings'))\r\n\r\nconst Numbers = React.lazy(() => import('./views/pages/numbers'))\r\nconst Transactions = React.lazy(() => import('./views/pages/transactions'))\r\nconst ProfilePanel = React.lazy(() => import('./views/pages/profilePanel'))\r\nconst TicketConversation = React.lazy(() => import('./views/pages/ticket/ticketConversations'))\r\n\r\nconst CallReport = React.lazy(() => import('./views/pages/callReport'))\r\nconst chargePage = React.lazy(() => import('./views/pages/Charge'))\r\n\r\n// const ProfileChangePassword = React.lazy(() => import('./views/pages/profilePanel/profileChangePassword'))\r\n// const ProfileChangeDocument = React.lazy(() => import('./views/pages/profilePanel/profileDocument'))\r\n// const NumberSettingsPage = React.lazy(() => import('./views/pages/numbers/Settings'))\r\nconst NumberSettingsPage = React.lazy(() => import('./views/pages/numbers/useGlNSettings'))\r\n\r\n\r\n// const companyInfo = React.lazy(() => import('./views/pages/companyInfo'))\r\nconst queueList = React.lazy(() => import('./views/pages/queueList'))\r\nconst customers = React.lazy(() => import('./views/pages/customers'))\r\nconst profilePanel = React.lazy(() => import('./views/pages/profilePanel'))\r\nconst purchase = React.lazy(() => import('./views/pages/purchase'))\r\nconst message = React.lazy(() => import('./views/pages/secretaryMessage'))\r\nconst fax = React.lazy(() => import('./views/pages/fax'))\r\nconst newFax = React.lazy(() => import('./views/pages/fax/newFax'))\r\n// const renewLine = React.lazy(() => import('./views/pages/purchase/stepsContext/purchaseLineSelectionNumber/renewLine'))\r\n// const extendFree = React.lazy(() => import('./views/pages/purchase/extendFree'))\r\nconst queueCallReport = React.lazy(() => import('./views/pages/queuesCallReport'))\r\nconst callReport = React.lazy(() => import('./views/pages/callReport'))\r\nconst voiceMails = React.lazy(() => import('./views/pages/vioceMails'))\r\nconst contacts = React.lazy(() => import('./views/pages/contacts'))\r\nconst creditDetails = React.lazy(() => import('./views/pages/creditDetails'))\r\nconst landingPurchase = React.lazy(() => import('./views/pages/externalPurchaseWizard'))\r\nconst HookSettings = React.lazy(() => import('./views/pages/hookSettings'))\r\nconst callRatingReport = React.lazy(() => import('./views/pages/callRatingReport'))\r\nconst SmsConnectionSettings = React.lazy(() => import('./views/pages/smsConnectionSettings'))\r\nconst HookReport = React.lazy(() => import('./views/pages/hookSettings/hookReport'))\r\nconst ShortLink = React.lazy(() => import('./views/pages/shortLink'))\r\n\r\n\r\n\r\n// const voiceMails = React.lazy(() => import('./views/pages/vioceMails'))\r\n\r\nconst routes = [\r\n { path: '/', exact: true, name: 'Home', element: Dashboard },\r\n { path: '/shortLink/:shortLinkParam', name: 'shortLink', element: ShortLink },\r\n { path: '/numberSettings/:id', name: 'numberSettings', element: NumberSettingsPage },\r\n { path: '/numberSettings/:id/:type', name: 'numberSetting', element: NumberSettingsPage },\r\n\r\n { path: '/dashboard', name: 'Dashboard', element: Dashboard },\r\n { path: '/tickets', name: 'Support', element: Support },\r\n { path: '/registerTickets', name: 'RegisterTickets', element: RegisterTickets },\r\n { path: '/dashboard/:thankYouType', name: 'Dashboard', element: Dashboard },\r\n { path: '/dashboard/:thankYouType/:purchaseType', name: 'Dashboard', element: Dashboard },\r\n\r\n { path: '/ticketConversation/:id', name: 'TicketConversation', element: TicketConversation },\r\n { path: '/numberPage', name: 'NumberPage', element: NumberPage },\r\n { path: '/secretaryPage/:id', name: 'SecreteryPage', element: SecreteryPage },\r\n { path: '/numbers', name: 'numbers', element: NumberPage },\r\n\r\n { path: '/ivrSetting/:id', name: 'ivrSetting', element: IVRSetting },\r\n { path: '/transactions', name: 'transactions', element: Transactions },\r\n { path: '/callReport', name: 'callReport', element: CallReport },\r\n { path: '/charge/:redirectFromGateway/:invoiceId', name: 'charge', element: chargePage },\r\n { path: '/extend/:step/:type', name: 'charge', element: purchase },\r\n { path: '/extend/:step', name: 'charge', element: purchase },\r\n // { path: '/extendFree/:productId/:productType/:type', name: 'extendFree', element: extendFree },\r\n\r\n { path: '/extendFinish/:step/:purchaseType/:invoiceId', name: 'extendFinish', element: purchase },\r\n { path: '/purchaseLine/:step', name: 'charge', element: purchase },\r\n { path: '/purchaseLine/:step/:retry/:outgoingCallEnabled', name: 'purchaseLine', element: purchase },\r\n\r\n // { path: '/purchaseLineExtend/:line/:product', name: 'renewLine', element: renewLine },\r\n { path: '/purchaseLineFinish/:step/:purchaseType/:invoiceId', name: 'purchaseLine', element: purchase },\r\n { path: '/profilePanel/:type', name: 'profilePanel', element: profilePanel },\r\n // { path: '/companyInfo', name: 'companyInfo', element: companyInfo },\r\n { path: '/queueList', name: 'queueList', element: queueList },\r\n { path: '/queueList/:subPage/:queueId', name: 'queueListQueueFunctions', element: queueList },\r\n { path: '/queueList/:subPage', name: 'queueListQueueFunctions', element: queueList },\r\n\r\n\r\n { path: '/message/:type', name: 'message', element: message },\r\n { path: '/message/:type/:id', name: 'message', element: message },\r\n\r\n { path: '/customerMember/:type', name: 'customers', element: customers },\r\n { path: '/fax', name: 'customers', element: fax },\r\n { path: '/sendFax', name: 'customers', element: newFax },\r\n { path: '/fax/:type', name: 'customers', element: fax },\r\n { path: '/voiceMails', name: 'voiceMails', element: voiceMails },\r\n { path: '/creditDetails', name: 'creditDetails', element: creditDetails },\r\n { path: 'queueCallReport', name: 'queueCallReport', element: queueCallReport },\r\n { path: 'callReport', name: 'callReport', element: callReport },\r\n\r\n { path: 'contacts/:type', name: 'contacts', element: contacts },\r\n { path: 'callReport', name: 'callReport', element: callReport },\r\n { path: '/hook', name: 'hook', element: HookSettings },\r\n { path: '/hook/:id', name: 'hook', element: HookSettings },\r\n { path: '/hookList', name: 'hook report', element: HookReport },\r\n\r\n { path: '/callRatingReport', name: 'callRatingReport', element: callRatingReport },\r\n // { path: '/smsConnectionSettings', name: 'SmsConnectionSettings', element: SmsConnectionSettings },\r\n\r\n\r\n\r\n\r\n // { path: 'creditDetails', name: 'creditDetails', element: creditDetails }\r\n\r\n // { path: 'callReport', name: 'callReport', element: callReport }\r\n\r\n\r\n]\r\n\r\nexport default routes\r\n","import React, { Suspense, useEffect } from 'react'\r\nimport { Navigate, Route, Routes } from 'react-router-dom'\r\nimport { CContainer, CHeaderToggler, CSpinner } from '@coreui/react'\r\n\r\n\r\n// routes config\r\nimport routes from '../routes'\r\n\r\nconst AppContent = () => {\r\n\r\n return (\r\n \r\n
\r\n\r\n \r\n \r\n
}>\r\n \r\n {routes.map((route, idx) => {\r\n return (\r\n route.element && (\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\r\nexport default React.memo(AppContent)\r\n","import React, { useEffect } from 'react'\r\nimport { CHeader, CHeaderToggler, CDropdown, CDropdownToggle, CDropdownMenu, CDropdownItem, CDropdownDivider } from '@coreui/react'\r\nimport { CallSVG, LeftArrowSVG, LogoutSVG, PacketPorofileSVG, PortalAttachmentSVG, PortalBusinessSVG, PortalFaxSVG, PortalIVR_SVG, PortalInstructionSVG, PortalLogoutSVG, PortalPhoneSVG, PortalProfileSVG, PortalTransactionSVG, UserInfoSVG, WalletSVG } from './IconSvg'\r\nimport { useTranslation } from 'react-i18next'\r\nimport { Link, useNavigate } from 'react-router-dom'\r\nimport { useSelector } from 'react-redux'\r\nimport { getProfile, resetPropsGetProfile } from '../service/actions/profileActions'\r\nimport { useDispatch } from 'react-redux'\r\n\r\n\r\nconst PortalProfileMenu = ({ logout }) => {\r\n const { t } = useTranslation()\r\n const profile = useSelector((state) => state.profileReducer.profile)\r\n const dispatch = useDispatch()\r\n\r\n useEffect(() => {\r\n dispatch(getProfile());\r\n return () => {\r\n dispatch(resetPropsGetProfile())\r\n }\r\n }, [])\r\n\r\n useEffect(() => {\r\n if (profile?.Id) {\r\n localStorage.setItem('profile', JSON.stringify(profile))\r\n }\r\n }, [profile])\r\n\r\n return (\r\n \r\n {profile.FirstName} {profile.LastName}\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 اطلاعات کسب و کار\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 \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 \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\r\n { logout('logout', e) }} className='d-flex flex-row justify-content-between' >\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\nexport default PortalProfileMenu","import React from 'react'\r\nimport { useEffect } from 'react';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport { useLocation, useParams } from 'react-router-dom';\r\nimport { appRouteDetection, handleSendToOldVersion } from './helper';\r\nimport { ReturnSVG } from './IconSvg';\r\n\r\nconst ReturnToTheOldVersion = () => {\r\n let location = useLocation();\r\n const params = useParams()\r\n const dispatch = useDispatch()\r\n const id = useSelector(state => state.commonReducer.returnToOldId)\r\n const path = useSelector(state => state.commonReducer.path)\r\n const page = useSelector(state => state.commonReducer.page)\r\n\r\n\r\n // useEffect(() => {\r\n\r\n // setTimeout(() => {\r\n // // dispatch({ type: 'set', sidebarShow: false })\r\n\r\n // }, 300)\r\n\r\n // }, [])\r\n\r\n const renderLink = () => {\r\n switch (page) {\r\n case \"dashboard\":\r\n return ()\r\n case \"instruction\":\r\n return ()\r\n // case \"IVR\":\r\n // return (\r\n // \r\n // \r\n // نسخه قدیمی\r\n // \r\n // )\r\n case \"tickets\":\r\n return ()\r\n\r\n case \"registerTicket\":\r\n return ()\r\n\r\n case \"ticketConversations\":\r\n return ()\r\n\r\n case \"callReport\":\r\n return ()\r\n\r\n case \"charge\":\r\n return ()\r\n\r\n case \"transaction\":\r\n return ()\r\n\r\n case \"message/customerAttachment\":\r\n return ()\r\n\r\n case \"message/secretaryMessage\":\r\n return ()\r\n\r\n case \"company-info\":\r\n return ()\r\n\r\n case \"customer-member/member\":\r\n return ()\r\n\r\n case \"purchase\":\r\n return ()\r\n\r\n case \"purchaseLine\":\r\n if (path !== \"invoice\") {\r\n return ()\r\n }\r\n return \"\"\r\n\r\n case \"numbers\":\r\n return ()\r\n\r\n case \"fax\":\r\n return ()\r\n\r\n case \"voiceMails\":\r\n return ()\r\n\r\n case \"lineSetting\":\r\n if (path === \"generalSettings\") {\r\n return ()\r\n }\r\n\r\n if (path === \"callReportSettings\") {\r\n return ()\r\n\r\n }\r\n\r\n if (path === \"faxSettings\") {\r\n return ()\r\n\r\n }\r\n\r\n if (path === \"voiceMail\") {\r\n return ()\r\n\r\n }\r\n\r\n if (path === \"transferCallSettings\") {\r\n return ()\r\n\r\n }\r\n\r\n if (path === \"advanced\") {\r\n return ()\r\n }\r\n break\r\n\r\n case \"profilePanel\":\r\n if (path === \"profile\") {\r\n return ()\r\n }\r\n\r\n if (path === \"profileChangePassword\") {\r\n return ()\r\n\r\n\r\n }\r\n\r\n if (path === \"customerDocuments\") {\r\n return ()\r\n }\r\n\r\n if (path === \"companyDocuments\") {\r\n return ()\r\n }\r\n if (path === \"companyInfo\") {\r\n return ()\r\n }\r\n return (\"\")\r\n\r\n default:\r\n return (\"\")\r\n }\r\n }\r\n\r\n\r\n return (\r\n <>\r\n {renderLink()}\r\n\r\n \r\n )\r\n\r\n\r\n}\r\n\r\nexport default ReturnToTheOldVersion","import React from 'react'\r\n\r\nconst Updates = () => {\r\n return (\r\n\r\n\r\n \r\n\r\n )\r\n}\r\n\r\nexport default Updates","import React from 'react'\r\n\r\nconst Messages = () => {\r\n return (\r\n
\r\n در حال حاضر پیامی برای نمایش وجود ندارد\r\n
\r\n )\r\n}\r\n\r\nexport default Messages","import React from 'react'\r\nimport { BellSvg } from '../IconSvg'\r\nimport './style.scss'\r\nimport CustomValuesHook from '../../Hooks/customValuesHook'\r\nimport { useOutsideAlerter } from '../helper'\r\nimport Updates from './widgets/Updates'\r\nimport Messages from './widgets/Messages'\r\n\r\nconst UserMessages = () => {\r\n const [states, setStates] = CustomValuesHook({\r\n display: false, selectedTab: 1\r\n })\r\n const wrapperRef = React.useRef(null)\r\n const handleClose = () => {\r\n setStates({ display: false })\r\n }\r\n useOutsideAlerter(wrapperRef, handleClose)\r\n return (\r\n
\r\n setStates({ display: !states.display })}>\r\n \r\n \r\n {states.display &&
\r\n
\r\n
setStates({ selectedTab: 2 })} className={states.selectedTab === 2 ? 'active' : ''}>آخرین تغییرات
\r\n
setStates({ selectedTab: 1 })} className={states.selectedTab === 1 ? 'active' : ''}>پیامها
\r\n
\r\n
\r\n {states.selectedTab === 1 ? : }\r\n\r\n
\r\n
}\r\n
\r\n )\r\n}\r\n\r\nexport default UserMessages\r\n\r\n\r\n","\r\nexport const NidInquiryStatusType = {\r\n None: 0,//هیچ کدام // در انتظار تکمیل اطلاعات\r\n ReadyForInquiry: 1,//آماده اعتبارسنجی\"==> در انتظار احراز هویت\r\n InProgress: 2,//در حال بررسی\r\n Accepted: 3,//تایید شده\"\r\n Rejected: 4 //رد شده\r\n}\r\n\r\n\r\nexport const VerificationStatusType = {\r\n None: 0,//هیچ کدام\r\n Verified: 1,//تایید شده\r\n NotVerified: 2,//تایید نشده\r\n}\r\n\r\nexport const MobileVerificationStatusType = {\r\n None: 0,\r\n Verified: 1,\r\n CodeIsNotCorrect: 2,\r\n ShahkarNotMatched: 3,\r\n ReachedTryLimit: 4,\r\n}\r\n\r\nexport const EmailVerificationStatusType = {\r\n None : 0,//هیچ کدام\r\n Verified : 1,//تایید شده\r\n NotVerified : 2,//تایید نشده\r\n}\r\n\r\nexport const StatusOfUser={\r\n Rejected:1,\r\n Approved:2,\r\n Pending:3,\r\n Studing:4\r\n\r\n}\r\n","import { useDispatch } from \"react-redux\"\r\nimport CustomValuesHook from \"../../../../../Hooks/customValuesHook\"\r\nimport { useSelector } from \"react-redux\"\r\nimport { getContactCallDirectRequestAction, getContactCallDirectReset, getContactRequestAction } from \"../../../../../service/actions/contactActions\"\r\nimport { persianToEnglishChar } from \"../../../../../components/helper\"\r\nimport { useEffect, useState } from \"react\"\r\nimport { CloseSVG } from \"../../../../../components/IconSvg\"\r\nimport { getCustomerCallsDirectAction } from \"../../../../../service/actions/callReportActions\"\r\nimport momentEn from 'moment'\r\n\r\ntype Props = {\r\n setValues: Function,\r\n values: any,\r\n number: string\r\n}\r\n\r\n\r\nconst CallDirectSearch = ({\r\n setValues,\r\n values,\r\n number\r\n}: Props) => {\r\n\r\n\r\n const dispatch = useDispatch()\r\n const [listSearch, setLIstSearch] = useState([])\r\n const [isTyping, setIsTyping] = useState('')\r\n const [getCalls, setGetCalls] = useState(false)\r\n const [selectContact, setSelectContact] = useState(false)\r\n\r\n const [states, setStates] = CustomValuesHook({ getContactParams: {}, searchType: \"all\", searchText: '' })\r\n const phonebooks = useSelector((state: any) => state.contactReducer.unpagedPhonebook)\r\n const selectedContactCategory = useSelector((state: any) => state.contactReducer.selectedContactCategory)\r\n const contactsCallDirect = useSelector((state: any) => state.contactReducer.contactsCallDirect)\r\n const callReport = useSelector((state: any) => state.callReportReducer.callDirectReport)\r\n\r\n useEffect(() => {\r\n setLIstSearch(callReport?.data[0]?.calls)\r\n }, [callReport])\r\n\r\n const createDate = () => {\r\n var dateRange = new Date();\r\n dateRange.setMonth(dateRange.getMonth() - 1)\r\n return dateRange.toLocaleString('en')?.replaceAll('/', '-').split(',')[0]\r\n }\r\n\r\n useEffect(() => {\r\n if (contactsCallDirect?.data?.length === 0 && values?.secondSideNumber) {\r\n setGetCalls(true)\r\n setLIstSearch([])\r\n localStorage.setItem('secondNumber', '')\r\n dispatch(getCustomerCallsDirectAction({ whereConditionText: `StartTime>=\\\"${createDate()}\\\" && ToNumber.Contains(\\\"${values.secondSideNumber.trim()}\"\\)` }))\r\n }\r\n else {\r\n let numbersContact: any[] = [];\r\n contactsCallDirect?.data.forEach((item: any) => {\r\n let defNumber = item?.defaultNumber?.startsWith('98') ? item?.defaultNumber?.replace('98', '') : item?.defaultNumber\r\n let number2 = item?.number2?.startsWith('98') ? item?.number2?.replace('98', '') : item?.number2\r\n let number3 = item?.number3?.startsWith('98') ? item?.number3?.replace('98', '') : item?.number3\r\n let number4 = item?.number4?.startsWith('98') ? item?.number4?.replace('98', '') : item?.number4\r\n numbersContact.push(item?.name + ' ' + item?.familyName + ' ' + '(' + defNumber + ')')\r\n item?.number2 && numbersContact.push(item?.name + ' ' + item?.familyName + ' ' + '(' + number2 + ')')\r\n item?.number3 && numbersContact.push(item?.name + ' ' + item?.familyName + ' ' + '(' + number3 + ')')\r\n item?.number4 && numbersContact.push(item?.name + ' ' + item?.familyName + ' ' + '(' + number4 + ')')\r\n });\r\n\r\n\r\n setLIstSearch(numbersContact)\r\n }\r\n }, [contactsCallDirect])\r\n\r\n useEffect(() => {\r\n if (states.searchText) {\r\n handleCreateSearchText()\r\n }\r\n\r\n }, [states.searchText])\r\n\r\n const handleGetContact = (args: any, type: any) => {\r\n args.sortText = \"Contact.Name ASC\"\r\n if (!type) {\r\n args.whereConditionText = states.getContactParams.whereConditionText\r\n }\r\n dispatch(getContactCallDirectRequestAction({ ...args }))\r\n setStates({ getContactParams: { ...states.getContactParams, ...args } })\r\n }\r\n\r\n\r\n const handleCreateSearchText = () => {\r\n let searchQueryText = \"\"\r\n if (states.searchType === \"all\") {\r\n if (states.searchText && states.searchText !== \"\") {\r\n let searchTextArr = states.searchText?.trim()?.replace(' ','') \r\n searchQueryText = `((Contact.Name.ToLower().Replace(\" \",\"\")+Contact.FamilyName.ToLower().Replace(\" \",\"\")).Trim().Contains(\"${searchTextArr}\") ||\r\n PhoneBook.Name.Replace(\" \",\"\").Contains(\"${searchTextArr}\") || \r\n Contact.DefaultNumber.ToLower().Contains(\"${persianToEnglishChar(searchTextArr)}\") || \r\n Contact.Number2.ToLower().Contains(\"${persianToEnglishChar(searchTextArr)}\") || \r\n Contact.Number3.ToLower().Contains(\"${persianToEnglishChar(searchTextArr)}\") ||\r\n Contact.Number4.ToLower().Contains(\"${persianToEnglishChar(searchTextArr)}\"))`\r\n }\r\n if (selectedContactCategory) {\r\n searchQueryText += `${searchQueryText === \"\" ? '' : '&&'} Contact.PhonebookContactCategorys.Any(c=>c.ContactCategoryId=\"${selectedContactCategory.id}\")`\r\n }\r\n }\r\n\r\n let params = { ...states.getContactParams }\r\n params.pageNumber = 1;\r\n params.whereConditionText = searchQueryText\r\n setStates({ getContactParams: { whereConditionText: searchQueryText } })\r\n handleGetContact(params, true)\r\n\r\n }\r\n\r\n const handleTyping = (values: any) => {\r\n window.clearTimeout(isTyping);\r\n const _isTyping = setTimeout(function () {\r\n if (values) {\r\n if (values.length < 11) {\r\n setStates({ searchText: values })\r\n }\r\n }\r\n }, 1000);\r\n setIsTyping(_isTyping.toString())\r\n }\r\n\r\n const setNumber = (e: any) => {\r\n setValues({ secondSideNumber: e.target.value })\r\n handleTyping(e.target.value)\r\n }\r\n const getNumber = (item: any) => {\r\n return item\r\n }\r\n const showNumberCalls = (item: any) => {\r\n if (item?.toNumber?.startsWith('98')) return item?.toNumber?.replace('98', '')\r\n else if (item?.toNumber?.startsWith('+98')) return item?.toNumber?.replace('+98', '')\r\n else return item?.toNumber\r\n }\r\n\r\n const disabled = () => {\r\n if (values.secondSideNumber.includes('(')) return true\r\n else return false\r\n }\r\n\r\n return (\r\n
\r\n {}\r\n {\r\n dispatch({ type: 'callDirect', number: '' })\r\n setNumber(e)\r\n\r\n }}\r\n value={values.secondSideNumber ? values.secondSideNumber : number}\r\n placeholder=\"شماره یا مخاطب مقصد را وارد نمایید.\"\r\n disabled={disabled()}\r\n />\r\n\r\n {(listSearch?.length > 0 || disabled()) && {\r\n // setStates({ searchText: '' })\r\n setValues({ secondSideNumber: '' })\r\n // dispatch(getContactCallDirectReset())\r\n\r\n }} >\r\n \r\n }\r\n {listSearch?.length > 0 && values.secondSideNumber &&
    \r\n {listSearch?.map((item: any) => {\r\n return (\r\n \r\n )\r\n })}\r\n
}\r\n
\r\n\r\n )\r\n}\r\n\r\nexport default CallDirectSearch","import { useSelector } from \"react-redux\";\r\nimport { lines } from \"../../../../service/types/serviceDashboard/apiRequestTypes\";\r\nimport { useEffect, useState } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport CustomValuesHook from \"../../../../Hooks/customValuesHook\";\r\nimport { persianToEnglishChar } from \"../../../../components/helper\";\r\nimport { getContactRequestAction } from \"../../../../service/actions/contactActions\";\r\nimport CallDirectSearch from \"./callDirectSearch\";\r\nimport { Customer } from \"../interface\";\r\nimport { types } from \"../../../../service/types\";\r\n\r\ntype Props = {\r\n setValues: Function,\r\n IVRList: lines[],\r\n listCustomer: Customer[],\r\n values: any,\r\n call: Function,\r\n customerMembers: any\r\n\r\n}\r\n\r\n\r\n\r\nconst BodyDirectCall = ({\r\n setValues,\r\n IVRList,\r\n listCustomer,\r\n values,\r\n call,\r\n customerMembers\r\n\r\n\r\n}: Props) => {\r\n\r\n const dispatch = useDispatch()\r\n const number = useSelector((state: any) => state.callDirect.number)\r\n const customerSelected = useSelector((state: any) => state.lineSettingsReducer.customerSelected);\r\n const ivrSelected = useSelector((state: any) => state.lineSettingsReducer.ivrSelected);\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n const selectOwner = () => {\r\n listCustomer.map((item: Customer) => {\r\n if (item.isOwner) {\r\n return (item.name)\r\n }\r\n })\r\n }\r\n\r\n const changeLine = (e: any) => {\r\n let temp = e.target.value\r\n dispatch({ type: types.SET_SELECTED_COUSTOMER, params: temp })\r\n setValues({ firstSideNumber: temp })\r\n }\r\n\r\n const getIdFormLocalStorage = () => {\r\n if (values.firstSideNumber) {\r\n return customerSelected ? customerSelected : values.firstSideNumber\r\n }\r\n else {\r\n selectOwner()\r\n }\r\n }\r\n\r\n\r\n\r\n const getIdFormLocalStorageLine = () => {\r\n if (values.customerLineId) {\r\n return ivrSelected? ivrSelected: values.customerLineId\r\n }\r\n else {\r\n selectOwner()\r\n }\r\n }\r\n\r\n return (\r\n <>\r\n \r\n\r\n {IVRList?.length === 1 &&\r\n \r\n }\r\n\r\n {IVRList?.length > 1 && {\r\n setValues({ customerLineId: e.target.value })\r\n dispatch({ type: types.SET_SELECTED_IVR, params: e.target.value })\r\n }}\r\n value={getIdFormLocalStorageLine()}\r\n >\r\n {IVRList?.map((item: lines, index: number) => {\r\n return (\r\n \r\n )\r\n })}\r\n }\r\n\r\n\r\n { changeLine(e) }}\r\n value={getIdFormLocalStorage()}\r\n >\r\n {listCustomer?.map((item: Customer, index: number) => {\r\n return (\r\n \r\n )\r\n })}\r\n \r\n\r\n\r\n\r\n { call() }}\r\n disabled={IVRList?.length == 0}\r\n >برقراری تماس\r\n \r\n \r\n )\r\n}\r\n\r\nexport default BodyDirectCall","\r\nimport { CModal, CModalBody, CModalFooter, CModalHeader, CModalTitle } from \"@coreui/react\"\r\nimport '../../style.scss'\r\nimport { ArrowLeft, CloseSVG, LongArrowLef, MyArrowLeft } from \"../../../../../components/IconSvg\"\r\nimport { useSelector } from \"react-redux\"\r\nimport { Customer } from \"../../interface\"\r\n\r\n\r\ntype Props = {\r\n status: string,\r\n show: boolean,\r\n setShow: Function,\r\n modalBtn: Function,\r\n values: any,\r\n listCustomer: Customer[],\r\n outGoingError: string\r\n}\r\n\r\nconst ModalResultCall = ({\r\n status,\r\n show,\r\n setShow,\r\n modalBtn,\r\n values,\r\n listCustomer,\r\n outGoingError\r\n\r\n}: Props) => {\r\n\r\n const ivrSelected = useSelector((state: any) => state.lineSettingsReducer.ivrSelected);\r\n\r\n\r\n\r\n\r\n\r\n const pendingBody = () => {\r\n let tmp = ''\r\n let toNumbet = ''\r\n\r\n listCustomer.forEach((element: Customer) => {\r\n if (element.index === values.firstSideNumber) {\r\n tmp = element.name\r\n }\r\n });\r\n\r\n const showSecondNumber = () => {\r\n return values?.secondSideNumber\r\n }\r\n\r\n\r\n return (\r\n
\r\n
\r\n به \r\n {showSecondNumber()}\r\n
\r\n\r\n
\r\n \r\n از\r\n {tmp}\r\n
\r\n\r\n\r\n
\r\n \r\n با\r\n {ivrSelected}\r\n
\r\n\r\n
\r\n )\r\n }\r\n\r\n const footerModal = (status: string) => {\r\n switch (status) {\r\n case 'cancel': return ''\r\n case 'success': return ()\r\n case 'error': return ()\r\n }\r\n }\r\n\r\n const setModalContent = (status: string) => {\r\n switch (status) {\r\n case 'pending': return ({ body:
{pendingBody()}
, titel:
در حال تماس
, footer:
{footerModal('cancel')}
})\r\n case 'success': return ({ body: '', titel:
درخواست برقراری تماس با موفقیت ثبت شد
, footer:
{footerModal('success')}
})\r\n case 'error': return ({\r\n body: '', titel:\r\n
\r\n
متاسفانه تماس برقرار نشد
\r\n
({outGoingError})
\r\n
,\r\n footer:
{footerModal('error')}
\r\n })\r\n }\r\n }\r\n\r\n return (\r\n \r\n \r\n
{ setShow(false) }} className=\"d-flex justify-content-end\">
\r\n
\r\n\r\n
{setModalContent(status)?.titel}
\r\n {setModalContent(status)?.body}\r\n
{setModalContent(status)?.footer}
\r\n
\r\n
\r\n\r\n \r\n\r\n\r\n )\r\n}\r\nexport default ModalResultCall","\r\nimport { Switch } from \"@material-ui/core\"\r\nimport { useEffect, useState } from \"react\"\r\nimport { useSelector } from \"react-redux\"\r\nimport ModalResultCall from \"./modalResultCall\"\r\nimport { CModal, CModalBody, CModalFooter, CModalHeader, CModalTitle } from \"@coreui/react\"\r\nimport { Customer } from \"../interface\"\r\n\r\n\r\n\r\ntype Props = {\r\n setShow: Function\r\n show: boolean\r\n modalBtn: Function\r\n values: any,\r\n listCustomer:Customer[]\r\n}\r\n\r\nconst ResultDirectCall = ({\r\n setShow,\r\n show,\r\n modalBtn,\r\n values,\r\n listCustomer\r\n}: Props) => {\r\n\r\n const outGoingPending = useSelector((state: any) => state.outGoingReducer?.outGoingPending);\r\n const outGoingSuccess = useSelector((state: any) => state.outGoingReducer?.outGoingSuccess);\r\n const outGoingError = useSelector((state: any) => state.outGoingReducer?.outGoingError);\r\n\r\n \r\n \r\n\r\n return (\r\n <>\r\n {outGoingPending &&\r\n }\r\n {outGoingSuccess &&\r\n }\r\n {outGoingError &&\r\n }\r\n \r\n\r\n )\r\n\r\n}\r\nexport default ResultDirectCall","import { useNavigate } from \"react-router-dom\"\r\nimport { CloseSVG, HelpSVG } from \"../../../components/IconSvg\"\r\nimport { useEffect, useState } from \"react\"\r\nimport { useDispatch } from \"react-redux\"\r\nimport { getCustomerMembersAction, resetCustomerMembersAction } from \"../../../service/actions/lineSettingsAction\"\r\nimport { useSelector } from \"react-redux\"\r\nimport { newCUstomer } from \"../../../service/types/customer/apiRequestType\"\r\nimport { array } from \"prop-types\"\r\nimport './style.scss'\r\nimport { lines } from \"../../../service/types/serviceDashboard/apiRequestTypes\"\r\nimport { outGoingRequestAction, outGoingResetAction } from \"../../../service/actions/OutgoingCallAction\"\r\nimport CustomValuesHook from \"../../../Hooks/customValuesHook\"\r\nimport BodyDirectCall from \"./callDirectBody\"\r\nimport moment from \"moment-jalaali\"\r\nimport ResultDirectCall from \"./resultDirectCall\"\r\nimport { toast } from \"react-toastify\"\r\nimport { persianToEnglishChar } from \"../../../components/helper\"\r\nimport { Customer } from \"./interface\"\r\nimport { Type } from \"react-toastify/dist/utils\"\r\nimport { types } from \"../../../service/types\"\r\n\r\ntype Props = {\r\n number: string,\r\n iVRList: lines[]\r\n}\r\n\r\n\r\n\r\nconst CallDirect = ({\r\n number,\r\n iVRList\r\n}: Props) => {\r\n const nvigate = useNavigate()\r\n const dispatch = useDispatch()\r\n\r\n\r\n const [listCustomer, setListCustomer] = useState([])\r\n const customerMembers = useSelector((state: any) => state.lineSettingsReducer.customerMembers);\r\n const getDashboardInfo = useSelector((state: any) => state.servicesReducer?.dashboardInfo);\r\n const customerSelected = useSelector((state: any) => state.lineSettingsReducer.customerSelected);\r\n const ivrSelected = useSelector((state: any) => state.lineSettingsReducer.ivrSelected);\r\n\r\n\r\n\r\n const [show, setShow] = useState(false)\r\n\r\n const [values, setValues] = CustomValuesHook({\r\n secondSideNumber: '',// number typed\r\n firstSideNumber: customerSelected ? customerSelected : '',//combo selected\r\n customerLineId: ivrSelected ? ivrSelected : '',\r\n\r\n\r\n })\r\n\r\n\r\n\r\n\r\n\r\n let date = Date.parse(moment().locale('fa').format('jYYYY/jMM/jDD'))\r\n\r\n useEffect(() => {\r\n\r\n if (!customerMembers?.list) {\r\n dispatch(getCustomerMembersAction());\r\n }\r\n\r\n }, [])\r\n\r\n useEffect(() => {\r\n\r\n if (iVRList) {\r\n setValues({ customerLineId: iVRList[0]?.number })\r\n dispatch({ type: types.SET_SELECTED_IVR, params: iVRList[0]?.number })\r\n }\r\n\r\n }, [iVRList])\r\n\r\n\r\n\r\n useEffect(() => {\r\n let arr: Customer[] = []\r\n customerMembers?.list?.forEach((element: newCUstomer, index: number) => {\r\n let isPhoneExist = false\r\n if (element.Phone) {\r\n isPhoneExist = true\r\n arr.push({\r\n name: element.FirstName + ' ' + element.LastName,\r\n isOwner: element.IsOwner,\r\n number: element.Phone,\r\n index: element.Id + '_' + element.Phone\r\n\r\n })\r\n }\r\n if (element.Mobile) {\r\n arr.push({\r\n name: element.FirstName + ' ' + element.LastName,\r\n isOwner: element.IsOwner,\r\n number: element.Mobile,\r\n index: element.Id + '_' + element.Mobile\r\n }\r\n )\r\n }\r\n\r\n\r\n });\r\n\r\n if (!customerSelected) {\r\n dispatch({ type: types.SET_SELECTED_COUSTOMER, params: arr[0]?.index })\r\n setValues({ firstSideNumber: arr[0]?.index })\r\n }\r\n setListCustomer(arr)\r\n }, [customerMembers])\r\n\r\n const findFirstSideNumber = () => {\r\n let tmp = values.firstSideNumber.split('_')[1]\r\n return persianToEnglishChar(tmp)\r\n }\r\n\r\n const findSecondSideNumber = (item: any) => {\r\n let val = item.secondSideNumber.includes('(') ? item.secondSideNumber.split('(')[1]?.replace(')', '') : item.secondSideNumber\r\n if (!val?.startsWith('0')) {\r\n return '0' + val\r\n }\r\n else return val\r\n\r\n }\r\n const findCustomerLineId = () => {\r\n let index = iVRList?.findIndex((item) => item.number === ivrSelected)\r\n return iVRList[index]?.id\r\n }\r\n\r\n const call = () => {\r\n\r\n dispatch(outGoingResetAction())\r\n let temp = { ...values }\r\n findSecondSideNumber(temp)\r\n temp.customerLineId = findCustomerLineId()\r\n temp.firstSideNumber = findFirstSideNumber()\r\n temp.secondSideNumber = findSecondSideNumber(temp)\r\n setShow(true)\r\n if (!(temp.firstSideNumber && temp.firstSideNumber?.length === 11)) {\r\n toast.error(\"لطفا شماره تلفن مبدا را به درستی وارد کنید\")\r\n }\r\n if (!(temp.secondSideNumber && temp.secondSideNumber?.length === 11)) {\r\n toast.error(\"لطفا شماره تلفن مقصد را به درستی وارد کنید\")\r\n }\r\n if (!(temp.customerLineId)) {\r\n toast.error(\"شماره خط را وارد کنید\")\r\n }\r\n\r\n if (temp.firstSideNumber.length === 11 && temp.secondSideNumber.length === 11 && temp.customerLineId) {\r\n dispatch(outGoingRequestAction({ params: temp }))\r\n }\r\n\r\n\r\n\r\n }\r\n\r\n const cancelCall = () => {\r\n\r\n }\r\n const callAgain = () => {\r\n setShow(false)\r\n call()\r\n }\r\n\r\n const modalBtn = (modalBtn: string) => {\r\n switch (modalBtn) {\r\n case 'error': callAgain()\r\n break;\r\n case 'cancel': cancelCall()\r\n break;\r\n }\r\n }\r\n\r\n\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n dispatch({ type: 'callDirect', show: false })}>\r\n nvigate('/')}>\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n {show && \r\n }\r\n \r\n\r\n )\r\n}\r\nexport default CallDirect","import React, { useEffect, useState } from 'react'\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { connect } from 'react-redux'\r\nimport { CModal, CModalHeader, CModalTitle, CModalFooter, CModalBody, CButton, CTooltip, CForm } from '@coreui/react'\r\nimport { CHeader, CHeaderToggler } from '@coreui/react'\r\nimport { cilMenu } from '@coreui/icons'\r\nimport { useTranslation } from 'react-i18next'\r\nimport { Link, useNavigate, useLocation, useParams } from 'react-router-dom'\r\nimport PropTypes, { bool } from 'prop-types'\r\nimport { getNotificationCount, resetPropsGetNotificationCount } from '../service/actions/notificationAction'\r\nimport { getDashboardDataRequestAction, resetDashboardData } from '../service/actions/servicesAction'\r\nimport CIcon from '@coreui/icons-react'\r\nimport PortalProfileMenu from './PortalProfileMenu'\r\nimport ProfileMenu from './ProfileMenu'\r\nimport { appRouteDetection } from './helper'\r\nimport ReturnToTheOldVersion from './ReturnToTheOldVersion'\r\nimport OperationLog from './OperationLog'\r\nimport UserMessages from './UserMessages'\r\nimport { HelpSVG, PhoneSVG, UserStatusSVG } from './IconSvg'\r\nimport { EmailVerificationStatusType, MobileVerificationStatusType, NidInquiryStatusType, StatusOfUser, VerificationStatusType } from './enumHeader'\r\nimport CallDirect from '../views/pages/callDirect'\r\nimport moment from 'moment-jalaali'\r\nimport { resetCustomerMembersAction } from '../service/actions/lineSettingsAction'\r\nimport { types } from '../service/types'\r\nimport { serverUrl } from '../service/apiCall'\r\nimport helpJson from './helpLink'\r\n\r\n\r\nconst AppHeader = (\r\n {\r\n Waiting,\r\n Success,\r\n Error,\r\n notificationCount,\r\n\r\n SuccessDashboardDataInfo,\r\n WaitingDashboardDataInfo,\r\n ErrorDashboardDataInfo,\r\n dashboardInfo,\r\n\r\n profile,\r\n profileSuccess\r\n }\r\n\r\n\r\n) => {\r\n const dispatch = useDispatch()\r\n const { t, i18n } = useTranslation()\r\n const navigate = useNavigate()\r\n const location = useLocation()\r\n const param = useParams()\r\n\r\n //****************************************************************************** */\r\n\r\n const [profileMenu, setProfileMenu] = useState(false)\r\n const [modaVisible, setModaVisible] = useState(false)\r\n const [iVRList, setIVRList] = useState([])\r\n\r\n const getAllCompanyPending = useSelector((state) => state.userReducer.getAllCompanyPending)\r\n const getDashboardInfo = useSelector((state) => state.servicesReducer?.dashboardInfo);\r\n\r\n\r\n const sidebarShow = useSelector((state) => state.changeState.sidebarShow)\r\n const showCallDirect = useSelector((state) => state.callDirect.show)\r\n\r\n let date = Date.parse(moment().locale('fa').format('jYYYY/jMM/jDD'))\r\n\r\n\r\n //****************************************************************************** */\r\n const [myNotificationCount, setMyNotificationCount] = useState(100);\r\n const [myCredit, setMyCredit] = useState('');\r\n const [profileData, setProfileData] = useState()\r\n\r\n const [linkHelp, setLinkHelp] = useState('')\r\n\r\n const isExpireDate = (date) => {\r\n if (date) {\r\n moment.loadPersian({ usePersianDigits: false });\r\n const dateNow = moment().format('jYYYY/jMM/jDD')\r\n\r\n const parsedDateNow = moment(dateNow, 'jYYYY/jMM/jDD');\r\n const parsedStringDate = moment(date, 'jYYYY/jMM/jDD');\r\n\r\n\r\n if (parsedStringDate.isAfter(parsedDateNow) || parsedStringDate.isSame(parsedDateNow)) {\r\n return true\r\n }\r\n else {\r\n return false\r\n }\r\n }\r\n\r\n }\r\n\r\n\r\n useEffect(() => {\r\n if (getDashboardInfo) {\r\n let arr = []\r\n getDashboardInfo?.lines?.forEach((item, index) => {\r\n \r\n item.number = item.number.startsWith('+98') ? item.number.replace('+98', '0') : item.number\r\n if (item.enabled && item.lineServiceType === 2 && isExpireDate(item?.lineExpireDate) && item?.number?.length === 11) {\r\n arr.push(item)\r\n }\r\n })\r\n setIVRList(arr)\r\n }\r\n\r\n }, [getDashboardInfo])\r\n\r\n\r\n //***************************************************************************** */\r\n\r\n useEffect(() => {\r\n dispatch(getNotificationCount())\r\n return () => {\r\n dispatch(resetPropsGetNotificationCount())\r\n dispatch(resetDashboardData());\r\n }\r\n }, [])\r\n\r\n //***************************************************************************** */\r\n useEffect(() => {\r\n if (Success) {\r\n if (location.pathname !== \"/numbers\") {\r\n dispatch(getDashboardDataRequestAction());\r\n\r\n }\r\n setMyNotificationCount(notificationCount)\r\n }\r\n if (Error !== '') {\r\n dispatch(getDashboardDataRequestAction());\r\n }\r\n }, [Success, Error])\r\n\r\n //**************************************************************************** */\r\n useEffect(() => {\r\n\r\n if (SuccessDashboardDataInfo) {\r\n setMyCredit(dashboardInfo?.credit)\r\n dispatch(resetDashboardData());\r\n }\r\n }, [SuccessDashboardDataInfo])\r\n //******************************************************************************** */\r\n useEffect(() => {\r\n if (profileSuccess) {\r\n setProfileData(profile)\r\n }\r\n }, [profileSuccess])\r\n //***************************************************************************************** */\r\n const profileView = () => {\r\n setProfileMenu(!profileMenu)\r\n }\r\n //******************************************************************************** */\r\n const goto = (type, e) => {\r\n setProfileMenu(false)\r\n e.stopPropagation();\r\n if (type === 'userInfo') {\r\n navigate('profilePanel/profile')\r\n }\r\n if (type === 'charge') {\r\n navigate('charge/false/00000000-0000-0000-0000-000000000000')\r\n\r\n }\r\n if (type === 'logout') {\r\n // setModaVisible(true)\r\n logout();\r\n }\r\n if (type === 'ivr') {\r\n navigate('extend/packages/ivr')\r\n\r\n }\r\n if (type === 'secretary') {\r\n navigate('extend/packages/secretary')\r\n\r\n }\r\n if (type === 'fax') {\r\n navigate('extend/packages/fax')\r\n\r\n }\r\n if (type === 'line') {\r\n navigate('purchaseLine/selectionNumber/false/false')\r\n\r\n }\r\n }\r\n //********************************************************************************** */\r\n const logout = () => {\r\n\r\n setModaVisible(false)\r\n\r\n\r\n\r\n const saveCategorySelectOptions = new Promise((resolve) => {\r\n localStorage.setItem(\"dsTokenExpiration\", undefined)\r\n localStorage.setItem(\"token\", undefined)\r\n localStorage.removeItem(\"dsTokenExpiration\")\r\n localStorage.removeItem(\"token\")\r\n localStorage.setItem(\"portalExtraInfo\", undefined)\r\n localStorage.removeItem(\"portalExtraInfo\")\r\n dispatch({ type: 'callDirect', show: false })\r\n dispatch(resetCustomerMembersAction())\r\n dispatch({ type: types.RESET_SELECTED_CUSTOMER })\r\n\r\n document.cookie = 'token=;expires=Thu, 01 Jan 1970 00:00:01 GMT;';\r\n resolve(\"Saved\");\r\n });\r\n saveCategorySelectOptions.then(() => {\r\n\r\n\r\n setTimeout(() => {\r\n window.location = \"/#/login\"\r\n\r\n }, 2000)\r\n });\r\n\r\n\r\n }\r\n //*********************************************************************************** */\r\n const closeModal = () => {\r\n setModaVisible(false)\r\n }\r\n //********************************************************************************* */\r\n const statusUser = () => {\r\n if ((profileData?.IdentityVerificationStatus !== VerificationStatusType.Verified\r\n || profileData?.MobileVerificationStatus !== MobileVerificationStatusType.Verified\r\n || profileData?.EmailVerificationStatus !== EmailVerificationStatusType.Verified)\r\n && (profileData?.NidInquiryStatus === NidInquiryStatusType.None)) {\r\n return 3\r\n }\r\n\r\n if (profileData?.NidInquiryStatus === NidInquiryStatusType.ReadyForInquiry || profileData?.NidInquiryStatus === NidInquiryStatusType.InProgress) {\r\n return 4\r\n }\r\n if (profileData?.NidInquiryStatus === NidInquiryStatusType.Accepted) {\r\n return 2\r\n }\r\n if (profileData?.NidInquiryStatus === NidInquiryStatusType.Rejected) {\r\n return 1\r\n }\r\n\r\n\r\n }\r\n const getMinCredit = () => {\r\n return -5000\r\n }\r\n\r\n const disabledBtn = () => {\r\n return (myCredit < getMinCredit() || getDashboardInfo?.ivrFreeProductId !== null\r\n || !isExpireDate(getDashboardInfo?.ivrExpireDate) < date || iVRList?.length === 0 || statusUser() !== StatusOfUser.Approved\r\n )\r\n }\r\n\r\n const showPhoneIcon = () => {\r\n return myCredit > getMinCredit() &&\r\n getDashboardInfo?.ivrFreeProductId === null &&\r\n isExpireDate(getDashboardInfo?.ivrExpireDate) &&\r\n iVRList?.length !== 0 &&\r\n statusUser() === StatusOfUser.Approved\r\n\r\n }\r\n\r\n const buyToolTip = () => {\r\n //null===>free\r\n //null==>پولی\r\n //ID===>بسته ی رایگان نداشته باشد\r\n return getDashboardInfo?.ivrFreeProductId === null && iVRList?.length === 0 && statusUser() === StatusOfUser.Approved\r\n }\r\n\r\n const ExpireDateTootip = () => {\r\n if (getDashboardInfo?.ivrExpireDate) {\r\n return (!isExpireDate(getDashboardInfo?.ivrExpireDate) && statusUser() === StatusOfUser.Approved)\r\n\r\n }\r\n else {\r\n return false\r\n }\r\n }\r\n\r\n const buyLine = () => {\r\n return iVRList?.length === 0 && statusUser() === StatusOfUser.Approved\r\n }\r\n\r\n const creditStatus = () => {\r\n return myCredit < getMinCredit() && statusUser() === StatusOfUser.Approved\r\n }\r\n\r\n\r\n const handleLanguageChange = (language) => {\r\n i18n.changeLanguage(language);\r\n };\r\n\r\n const setLink = () => {\r\n let currentUrl = location?.pathname\r\n if (currentUrl === \"\") currentUrl = \"/\"\r\n if (currentUrl.includes(\"ivrSetting\")) currentUrl = '/' + location?.pathname.split('/')[1]\r\n if (currentUrl.includes('numberSettings')) currentUrl = location?.pathname.split('/')[3]\r\n if (currentUrl.includes('secretaryPage')) currentUrl = '/' + location?.pathname.split('/')[1]\r\n return (`#/shortLink${helpJson[currentUrl]}`)\r\n }\r\n\r\n\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 dispatch({ type: 'set', sidebarShow: !sidebarShow })\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 1000 ? './images/greenCredit.png' : './images/credit.png'}`} alt=\"dafrareshoma\" />\r\n */}\r\n {/* \r\n

\r\n {t('MY_CREDIT')}\r\n {myCredit}\r\n {t('CERDIT_CURRENCY')}\r\n

\r\n
*/}\r\n {/*
*/}\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n {/*
{appRouteDetection() && }
*/}\r\n \r\n\r\n\r\n {showCallDirect &&
\r\n \r\n
}\r\n\r\n
\r\n
\r\n {statusUser() === StatusOfUser.Approved &&\r\n \r\n \r\n \r\n }\r\n {statusUser() === StatusOfUser.Rejected &&\r\n\r\n \r\n \r\n \r\n }\r\n {statusUser() === StatusOfUser.Pending &&\r\n\r\n \r\n \r\n \r\n }\r\n {statusUser() === StatusOfUser.Studing &&\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\r\n\r\n {/*
\r\n
\r\n
*/}\r\n {/*
\r\n {!appRouteDetection() && }\r\n
*/}\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n {t('REMOVE')}\r\n \r\n {t('DO_YOU_SURE_THAT_LOG_OUT')}\r\n \r\n {t('YES')}\r\n {t('CANCLE')}\r\n \r\n \r\n
\r\n}\r\nAppHeader.propTypes = {\r\n\r\n Waiting: PropTypes.bool,\r\n Error: PropTypes.string,\r\n Success: PropTypes.bool,\r\n notificationCount: PropTypes.number,\r\n\r\n SuccessDashboardDataInfo: PropTypes.bool,\r\n WaitingDashboardDataInfo: PropTypes.bool,\r\n ErrorDashboardDataInfo: PropTypes.string,\r\n dashboardInfo: PropTypes.object,\r\n\r\n profile: PropTypes.object,\r\n profileSuccess: PropTypes.bool\r\n}\r\n\r\nconst mapStateToProps = (state) => ({\r\n Waiting: state.notificationReducer.Waiting,\r\n Success: state.notificationReducer.Success,\r\n Error: state.notificationReducer.Error,\r\n notificationCount: state.notificationReducer.notificationCount,\r\n\r\n\r\n SuccessDashboardDataInfo: state.servicesReducer.getDashboardSuccess,\r\n WaitingDashboardDataInfo: state.servicesReducer.WaitingDashboardDataInfo,\r\n ErrorDashboardDataInfo: state.servicesReducer.ErrorDashboardDataInfo,\r\n dashboardInfo: state.servicesReducer.dashboardInfo,\r\n\r\n profile: state.profileReducer.profile,\r\n profileSuccess: state.profileReducer.SuccessProfile\r\n})\r\n\r\nexport default connect(mapStateToProps)(AppHeader)\r\n\r\n","import { types } from '../types'\r\n\r\nexport const getNotificationCount = (params) => {\r\n return {\r\n type: types.NOTIICATION_COUNT_REQUEST,\r\n params: params,\r\n }\r\n}\r\n\r\n\r\n\r\nexport const resetPropsGetNotificationCount = () => {\r\n return {\r\n type: types.NOTIICATION_COUNT_RESET_PROPS,\r\n }\r\n}\r\n","\r\nimport React, { useEfect } from 'react'\r\nimport { Link, NavLink, useLocation } from 'react-router-dom'\r\nimport { CNavItem } from '@coreui/react'\r\n\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport PropTypes from 'prop-types'\r\nimport { useTranslation } from 'react-i18next'\r\n\r\nimport { CBadge } from '@coreui/react'\r\nimport './style.scss'\r\nimport {\r\n CallList, CallsSVG, Colleagues, ContactSVG, FaxSVG, HomeSVG, MyDashboard, MyLine, MyService, FileChartSVG,\r\n NotebookSVG, RequestSupport, SecretarySVG, MdiCogSVG, TicketingSVG, TrasactionList, UsersSVG, VoiceMailSVG,\r\n ArrowLeft,\r\n ArrowBottom,\r\n CircleSVG\r\n} from './IconSvg'\r\nimport CustomValuesHook from '../Hooks/customValuesHook'\r\nimport { links } from '../_nav'\r\nimport { expandLinkItems } from './helper'\r\n\r\nexport const AppSidebarNavTemp = () => {\r\n const location = useLocation()\r\n const { t } = useTranslation()\r\n const [states, setStates] = CustomValuesHook({ showSetting: false, showReports: false, showMember: false, links: [] })\r\n\r\n const sidebarShow = useSelector((state) => state.changeState.sidebarShow)\r\n React.useEffect(() => {\r\n setStates({ links: [...expandLinkItems(location, t)] })\r\n }, [])\r\n\r\n\r\n\r\n const handleLinkClick = (item, idx) => {\r\n const status = item.show\r\n setStates((prevState) => {\r\n const links = [...prevState.links];\r\n links.forEach((menu) => { menu.show = false })\r\n if (links[idx]) {\r\n links[idx].show = !status\r\n }\r\n return {\r\n ...prevState,\r\n links,\r\n };\r\n });\r\n }\r\n\r\n\r\n return (\r\n \r\n\r\n {states.links.map((linkItem, idx) => {\r\n return
  • 0 ?\r\n 'nav-group' : 'nav-item'} ${linkItem.show ?\r\n 'show' : ''} ${location.pathname === linkItem.to ? 'active' : ''}`} key={idx} onClick={() => handleLinkClick(linkItem, idx)} >\r\n \r\n {linkItem.icon && linkItem.icon}\r\n {sidebarShow && 0 ? 'group-link-spn' : ''}`}>{linkItem.name}\r\n {linkItem.items.length > 0 && \r\n \r\n }\r\n }\r\n \r\n {linkItem.items.length > 0 &&
      \r\n {linkItem.items.map((_linkItem, _idx) => {\r\n return (
    • e.stopPropagation()} className={`nav-item ${location.pathname === _linkItem.to ? 'active' : ''}`}> \r\n {_linkItem.name}\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\nconst reportLinks = [\"/message/secretaryMessage\", \"/queueList/queueFunctions\", \"/callReport\"]\r\n\r\n","import React, { useEffect } from 'react'\r\nimport { useSelector } from 'react-redux'\r\nimport { useDispatch } from 'react-redux'\r\nimport moment from 'moment-jalaali'\r\nimport CustomValuesHook from '../../Hooks/customValuesHook'\r\nimport { useContactStore } from '../helper'\r\nimport { pushOperationLogsAction } from '../../service/actions/commonActions'\r\nimport { IContact } from '../../service/interfaces/contacts'\r\nimport { getAllContactsRequestAction } from '../../service/actions/contactActions'\r\nimport { useLocation } from 'react-router-dom'\r\n\r\n\r\ntype dataObject = {\r\n pageNumber: number,\r\n pageSize: number,\r\n totalCount: number,\r\n data: [IContact]\r\n}\r\nconst GetContacts = () => {\r\n const contacts = useSelector((state: any) => state.contactReducer.contactList)\r\n const location = useLocation()\r\n\r\n let operationLogs = useSelector((state: any) => state.commonReducer.operationLogs)\r\n const [params, setParams] = CustomValuesHook({\r\n pageNumber: 1,\r\n pageSize: 1000,\r\n disablePaging: false,\r\n whereConditionText: \"\",\r\n sortText: \"\"\r\n })\r\n const { add, clear, getAll, } = useContactStore();\r\n\r\n const dispatch = useDispatch()\r\n\r\n\r\n useEffect(() => {\r\n if (contacts?.data) {\r\n if (contacts.pageNumber === 1) {\r\n handleClearData(contacts)\r\n } else {\r\n handleGetAndPutData(contacts)\r\n\r\n }\r\n }\r\n\r\n }, [contacts])\r\n\r\n useEffect(() => {\r\n if (params.pageNumber > 1) {\r\n handleGetData()\r\n }\r\n }, [params.pageNumber])\r\n\r\n const handleGetData = () => {\r\n if (location.pathname !== \"/contacts/phonebook\" && location.pathname !== \"/contacts/contact\") {\r\n dispatch(getAllContactsRequestAction({\r\n pageNumber: params.pageNumber,\r\n pageSize: 100,\r\n disablePaging: false,\r\n whereConditionText: \"\",\r\n sortText: \"\",\r\n }))\r\n }\r\n\r\n\r\n }\r\n\r\n const handleGetAndPutData = (data: dataObject) => {\r\n getAll().then((allCompanies: any) => {\r\n if (allCompanies.length < data.totalCount) {\r\n putData(data)\r\n } else {\r\n handlePushLog(`All pages received successfully`)\r\n\r\n }\r\n });\r\n\r\n }\r\n\r\n\r\n const handleClearData = (data: dataObject) => {\r\n clear().then(\r\n (event: any) => {\r\n handlePushLog(\"All the companies removed successfully\")\r\n putData(data)\r\n },\r\n (error: any) => {\r\n console.log(error);\r\n },\r\n );\r\n\r\n }\r\n\r\n const handlePushLog = (message: string) => {\r\n operationLogs.push({\r\n dateTime: moment().locale('fa').format('jYYYY/jMM/jDD - HH:mm:ss'),\r\n message: message\r\n })\r\n dispatch(pushOperationLogsAction([...operationLogs]))\r\n }\r\n\r\n const putData = async (data: dataObject) => {\r\n for (let i = 0; i < data.data.length; i++) {\r\n await add(data.data[i])\r\n if (i === data.data.length - 1) {\r\n handlePushLog(`All the companies added successfully from page ${data.pageNumber}`)\r\n setParams({ pageNumber: data.pageNumber + 1 })\r\n\r\n handlePushLog(`Requesting page ${data.pageNumber + 1}`)\r\n\r\n }\r\n\r\n }\r\n\r\n }\r\n\r\n return null\r\n}\r\n\r\nexport default GetContacts\r\n\r\n","import React, { useEffect, useState } from 'react'\r\nimport { useSelector } from 'react-redux'\r\nimport { ApproveStatusSVG, RejectStatusSVG, WaitingStatusSVG } from './IconSvg'\r\nimport { getProfile, resetPropsGetProfile } from '../service/actions/profileActions'\r\nimport { useDispatch } from 'react-redux'\r\nimport userImage from '../assets/images/user.png'\r\nimport { Navigate, useNavigate } from 'react-router-dom'\r\n\r\n\r\nconst ProfileStatus = () => {\r\n const sidebarShow = useSelector((state) => state.changeState.sidebarShow)\r\n const profile = useSelector((state) => state.profileReducer.profile)\r\n const dispatch = useDispatch()\r\n const navigate = useNavigate()\r\n\r\n useEffect(() => {\r\n dispatch(getProfile());\r\n return () => {\r\n dispatch(resetPropsGetProfile())\r\n }\r\n }, [])\r\n useEffect(() => {\r\n if (profile?.Id) {\r\n localStorage.setItem('profile', JSON.stringify(profile))\r\n }\r\n }, [profile])\r\n\r\n return (\r\n <>\r\n {sidebarShow &&
    navigate('/dashboard')} className='logoHolder '>\r\n \r\n \r\n
    }\r\n {/* {sidebarShow &&\r\n
    \r\n {profile.Id}\r\n\r\n
    \r\n {(profile?.NidInquiryStatus === 1 || profile?.NidInquiryStatus === 2) &&
    \r\n \r\n در انتظار تکمیل اطلاعات\r\n
    }\r\n\r\n {(profile?.NidInquiryStatus === 3) &&
    \r\n \r\n اطلاعات هویتی شما تایید شده است\r\n
    }\r\n\r\n {(profile?.NidInquiryStatus === 4) &&
    \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
    {profile.FirstName + ' ' + profile.LastName}
    \r\n
    {profile.Email}
    \r\n
    \r\n
    \r\n
    } */}\r\n {\r\n !sidebarShow &&
    \r\n \r\n
    \r\n }\r\n {\r\n !sidebarShow &&
    \r\n
    \r\n \r\n
    \r\n
    \r\n }\r\n \r\n )\r\n}\r\n\r\nexport default ProfileStatus","import React, { useEffect } from 'react'\r\nimport { useSelector, useDispatch } from 'react-redux'\r\nimport { CSidebar, CSidebarBrand, CSidebarNav, CSidebarToggler } from '@coreui/react'\r\nimport { AppSidebarNav } from './SidebarNav/AppSidebarNav'\r\nimport SimpleBar from 'simplebar-react'\r\n// import 'simplebar/dist/simplebar.min.css'\r\nimport navigation from '../_nav'\r\nimport './style.scss'\r\nimport { AppSidebarNavTemp } from './AppSidebarNavTemp'\r\nimport { appRouteDetection } from './helper'\r\nimport { ApproveStatusSVG, RejectStatusSVG, WaitingStatusSVG } from './IconSvg'\r\nimport GetContacts from './GetContacts'\r\nimport ProfileStatus from './profileStatus'\r\nimport CustomValuesHook from '../Hooks/customValuesHook'\r\n\r\nconst AppSidebar = (\r\n\r\n) => {\r\n const dispatch = useDispatch()\r\n const unfoldable = useSelector((state) => state.changeState.sidebarUnfoldable)\r\n const sidebarShow = useSelector((state) => state.changeState.sidebarShow)\r\n const [states, setStates] = CustomValuesHook({ isExistContactDB: false })\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n dispatch({ type: 'set', sidebarShow: true })\r\n\r\n }, 700)\r\n // checkIndexDB.then(\r\n // result => {\r\n // // some to do\r\n // },\r\n // error => console.log(error)\r\n // )\r\n }, [])\r\n\r\n // var request = indexedDB.open('contacts', 1);\r\n // request.onerror = function (event) {\r\n // reject(\"Error opening DB\");\r\n // };\r\n // request.onsuccess = function (event) {\r\n // setStates({ isExistContactDB: true })\r\n // request.result.close()\r\n // resolve(true);\r\n // };\r\n // });\r\n return (\r\n {\r\n dispatch({ type: 'set', sidebarShow: visible })\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* {appRouteDetection() ? : } */}\r\n \r\n\r\n \r\n \r\n dispatch({ type: 'set', sidebarUnfoldable: !unfoldable })}\r\n />\r\n \r\n )\r\n}\r\n\r\nexport default React.memo(AppSidebar)\r\n","import { CFormInput, CSpinner } from \"@coreui/react\";\r\nimport { useMutation } from \"react-query\";\r\nimport { toast } from \"react-toastify\";\r\nimport CustomValuesHookTS from \"../../Hooks/CustomValuesHookTS\";\r\nimport { sendTestSmsService } from \"../../service/reactQueryServices/smsConfig\";\r\nimport CustomModal from \"../CroreUIModal\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { changeSMSTextModalDisplayAction } from \"../../service/actions/commonActions\";\r\nimport { useDispatch } from \"react-redux\";\r\n\r\n\r\n\r\n\r\nconst SmsPanelTestModal = ({ disabled }: { disabled: boolean }) => {\r\n const { mutateAsync: sendTestSms, isLoading: sendTestSmsPending } = useMutation(\"sendTestSms\", sendTestSmsService);\r\n const [values, setValues] = CustomValuesHookTS({ message: \"تست پیامک\", number: \"\" });\r\n const displayModal=useSelector((state:any)=>state.commonReducer.displaySMSTestModal)\r\n const dispatch=useDispatch();\r\n\r\n const handleSend = async () => {\r\n try {\r\n const response = await sendTestSms({ recipientMobile: values.number, content: values.message })\r\n \r\n if (!response.isSuccess) {\r\n toast.error(response.errorMessage)\r\n } else {\r\n toast.success(\"پیامک با موفقیت ارسال شد\")\r\n }\r\n\r\n } catch (error) {\r\n\r\n }\r\n }\r\n\r\n const handleClose=()=>{\r\n dispatch(changeSMSTextModalDisplayAction(false))\r\n }\r\n\r\n\r\n return (\r\n \r\n
    ارسال پیامک آزمایشی
    }\r\n component={() =>
    \r\n\r\n

    لطفا شماره موبایل خود را وارد کنید.

    \r\n
    \r\n \r\n setValues({ ...values, number: e.target.value })} />\r\n
    \r\n\r\n
    }\r\n footerComponent={() =>
    \r\n \r\n\r\n \r\n
    }\r\n />\r\n \r\n )\r\n}\r\n\r\nexport default SmsPanelTestModal\r\n","import { cilMenu } from '@coreui/icons'\r\nimport CIcon from '@coreui/icons-react'\r\nimport { CHeaderToggler } from '@coreui/react'\r\nimport React from 'react'\r\nimport { useDispatch, useSelector } from 'react-redux'\r\nimport { AppContent, AppSidebar, AppFooter, AppHeader } from '../components/index'\r\nimport SmsPanelTestModal from '../components/SMSPanelTest'\r\n\r\nconst DefaultLayout = () => {\r\n const sidebarShow = useSelector((state) => state.changeState.sidebarShow)\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
    \r\n
    \r\n )\r\n}\r\n\r\nexport default DefaultLayout\r\n","import { types } from '../types'\r\n\r\nexport const getGeneralSettingsAction = (params) => {\r\n return {\r\n type: types.GET_GENERAL_LINE_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const getCustomerLineServicesAction = (params) => {\r\n return {\r\n type: types.GET_CUSTOMER_LINE_SERVICES_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const getCallReportSettingsAction = (params) => {\r\n return {\r\n type: types.GET_CALL_REPORT_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const getLineFaxSettingsAction = (params) => {\r\n return {\r\n type: types.GET_LINE_FAX_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const getLineVoicemailSettingsAction = (params) => {\r\n return {\r\n type: types.GET_LINE_VOICEMAIL_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const getCustomerMembersAction = (params) => {\r\n return {\r\n type: types.GET_CUSTOMER_MEMBERS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const resetCustomerMembersAction = () => {\r\n return {\r\n type: types.RESET_GET_CUSTOMER_MEMBERS_ERROR,\r\n }\r\n}\r\n\r\nexport const getPasswordStatusAction = (params) => {\r\n return {\r\n type: types.GET_PASSWORD_STATUS_REQUEST,\r\n params\r\n }\r\n}\r\nexport const setGeneralLineSettingsAction = (params) => {\r\n return {\r\n type: types.SET_GENERAL_LINE_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const setCallReportSettingsAction = (params) => {\r\n return {\r\n type: types.SET_CALL_REPORT_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const setLineFaxSettingsAction = (params) => {\r\n return {\r\n type: types.SET_LINE_FAX_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\nexport const setLineVoicemailSettingsAction = (params) => {\r\n return {\r\n type: types.SET_LINE_VOICEMAIL_SETTINGS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\nexport const setPasswordStatusSettingsAction = (params) => {\r\n return {\r\n type: types.SET_PASSWORD_STATUS_REQUEST,\r\n params\r\n }\r\n}\r\n\r\n\r\nexport const setLinePasswordAction = (params) => {\r\n return {\r\n type: types.SET_PASSWORD_SETTING_REQUEST,\r\n params\r\n }\r\n}\r\n\r\n\r\nexport const getLineSeparationSettingAction = (params) => {\r\n return {\r\n type: types.GET_LINE_SEPARATION_SETTING_REQUEST,\r\n params\r\n }\r\n}\r\n\r\n\r\nexport const postUploadMusicOnHoldAction = (params) => {\r\n return {\r\n type: types.POST_UPLOAD_MUSIC_ON_HOLD_REQUEST,\r\n params\r\n }\r\n}\r\n\r\n\r\nexport const resetLineSettingsProps = () => {\r\n return {\r\n type: types.LINE_SETTINGS_RESET_PROPS,\r\n\r\n }\r\n}","import { apiRequest } from \"../apiCall\";\r\nimport { GetListPublicParamsType } from \"../types/common/commonTypes\";\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * Save SMS configs\r\n * @returns\r\n */\r\nconst saveSMSConfigService = async (params: ISMSConfig): Promise => {\r\n try {\r\n const response = await apiRequest(\"NotificationConfig.SaveSmsConfig\", { ...params }, ``, true);\r\n return response.data\r\n } catch (error: any) {\r\n throw error\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n/**\r\n * Get SMS configs\r\n * @returns\r\n */\r\nconst getSMSConfigService = async (params: GetListPublicParamsType): Promise => {\r\n try {\r\n const response = await apiRequest(\"NotificationConfig.GetSmsConfigs\", { ...params }, ``, true);\r\n return response.data\r\n } catch (error: any) {\r\n throw error\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n/**\r\n * Send Test Sms\r\n * @returns\r\n */\r\nconst sendTestSmsService = async (params: ISendTestSms): Promise => {\r\n try {\r\n const response = await apiRequest(\"NotificationConfig.SendTestSms\", { ...params }, ``, true);\r\n return response.data\r\n } catch (error: any) {\r\n throw error\r\n }\r\n\r\n\r\n}\r\n\r\nexport { saveSMSConfigService, sendTestSmsService, getSMSConfigService }\r\n\r\n\r\ninterface ISMSConfig {\r\n id: string | undefined\r\n jsonConfig: string\r\n}\r\n\r\n\r\ninterface ISendTestSms {\r\n content: string\r\n recipientMobile: string\r\n}"],"names":["props","localStates","setLocalStates","useState","e","prevState","Dashboard","React","Support","RegisterTickets","NumberPage","SecreteryPage","IVRSetting","Transactions","TicketConversation","CallReport","chargePage","NumberSettingsPage","queueList","customers","profilePanel","purchase","message","fax","newFax","queueCallReport","callReport","voiceMails","contacts","creditDetails","HookSettings","callRatingReport","HookReport","path","exact","name","element","AppContent","_jsx","CContainer","lg","children","className","Suspense","fallback","CSpinner","_jsxs","Routes","routes","map","route","idx","Route","Navigate","to","replace","_ref","logout","t","useTranslation","profile","useSelector","state","profileReducer","dispatch","useDispatch","useEffect","getProfile","resetPropsGetProfile","Id","localStorage","setItem","JSON","stringify","CDropdown","CDropdownToggle","color","title","FirstName","LastName","CDropdownMenu","Link","PortalProfileSVG","PortalAttachmentSVG","CDropdownDivider","style","marginLeft","marginRight","marginBottom","marginTop","PortalBusinessSVG","PortalPhoneSVG","PortalIVR_SVG","PortalInstructionSVG","PortalFaxSVG","PortalTransactionSVG","CDropdownItem","onClick","PortalLogoutSVG","ReturnToTheOldVersion","useLocation","useParams","id","commonReducer","returnToOldId","page","_Fragment","renderLink","handleSendToOldVersion","Updates","sandbox","width","height","src","Messages","UserMessages","states","setStates","CustomValuesHook","display","selectedTab","wrapperRef","useOutsideAlerter","handleClose","ref","BellSvg","NidInquiryStatusType","VerificationStatusType","MobileVerificationStatusType","EmailVerificationStatusType","StatusOfUser","setValues","values","number","listSearch","setLIstSearch","isTyping","setIsTyping","getCalls","setGetCalls","selectContact","setSelectContact","getContactParams","searchType","searchText","selectedContactCategory","contactReducer","unpagedPhonebook","contactsCallDirect","callReportReducer","callDirectReport","_callReport$data$","data","calls","createDate","_dateRange$toLocaleSt","dateRange","Date","setMonth","getMonth","toLocaleString","replaceAll","split","_contactsCallDirect$d","length","secondSideNumber","getCustomerCallsDirectAction","whereConditionText","trim","numbersContact","forEach","item","_item$defaultNumber","_item$defaultNumber2","_item$number","_item$number2","_item$number3","_item$number4","_item$number5","_item$number6","defNumber","defaultNumber","startsWith","number2","number3","number4","push","familyName","handleCreateSearchText","searchQueryText","_states$searchText","_states$searchText$tr","searchTextArr","persianToEnglishChar","params","handleGetContact","args","type","pageNumber","sortText","getContactCallDirectRequestAction","setNumber","target","value","window","clearTimeout","_isTyping","setTimeout","toString","handleTyping","showNumberCalls","_item$toNumber","_item$toNumber2","_item$toNumber3","_item$toNumber4","toNumber","disabled","includes","onChange","placeholder","CloseSVG","fill","_contactsCallDirect$d3","_contactsCallDirect$d2","getContactCallDirectReset","IVRList","listCustomer","call","customerMembers","callDirect","customerSelected","lineSettingsReducer","ivrSelected","selectOwner","isOwner","CallDirectSearch","customerLineId","types","SET_SELECTED_IVR","getIdFormLocalStorageLine","index","temp","SET_SELECTED_COUSTOMER","firstSideNumber","changeLine","getIdFormLocalStorage","_setModalContent","_setModalContent2","_setModalContent3","status","show","setShow","modalBtn","outGoingError","pendingBody","tmp","LongArrowLef","footerModal","setModalContent","body","titel","footer","CModal","visible","backdrop","CModalBody","outGoingPending","_state$outGoingReduce","outGoingReducer","outGoingSuccess","_state$outGoingReduce2","_state$outGoingReduce3","ModalResultCall","iVRList","nvigate","useNavigate","setListCustomer","_state$servicesReduce","servicesReducer","dashboardInfo","parse","moment","locale","format","list","getCustomerMembersAction","_iVRList$","_iVRList$2","_customerMembers$list","arr","_arr$","_arr$2","isPhoneExist","Phone","IsOwner","Mobile","findSecondSideNumber","_item$secondSideNumbe","val","_temp$firstSideNumber","_temp$secondSideNumbe","outGoingResetAction","findCustomerLineId","_iVRList$index","findIndex","findFirstSideNumber","toast","error","outGoingRequestAction","HelpSVG","BodyDirectCall","ResultDirectCall","connect","Waiting","notificationReducer","Success","Error","notificationCount","SuccessDashboardDataInfo","getDashboardSuccess","WaitingDashboardDataInfo","ErrorDashboardDataInfo","profileSuccess","SuccessProfile","i18n","navigate","location","profileMenu","setProfileMenu","modaVisible","setModaVisible","setIVRList","getDashboardInfo","userReducer","getAllCompanyPending","sidebarShow","changeState","showCallDirect","date","myNotificationCount","setMyNotificationCount","myCredit","setMyCredit","profileData","setProfileData","linkHelp","setLinkHelp","isExpireDate","usePersianDigits","dateNow","parsedDateNow","parsedStringDate","isAfter","isSame","_getDashboardInfo$lin","lines","enabled","lineServiceType","lineExpireDate","NOTIICATION_COUNT_REQUEST","NOTIICATION_COUNT_RESET_PROPS","resetDashboardData","pathname","getDashboardDataRequestAction","credit","Promise","resolve","undefined","removeItem","resetCustomerMembersAction","RESET_SELECTED_CUSTOMER","document","cookie","then","statusUser","IdentityVerificationStatus","MobileVerificationStatus","EmailVerificationStatus","NidInquiryStatus","CHeader","position","CHeaderToggler","CIcon","icon","cilMenu","size","href","setLink","currentUrl","helpJson","ivrFreeProductId","ivrExpireDate","PhoneSVG","CTooltip","content","placement","CallDirect","UserStatusSVG","PortalProfileMenu","goto","stopPropagation","keyboard","portal","CModalHeader","CModalTitle","CModalFooter","CButton","closeModal","AppSidebarNavTemp","showSetting","showReports","showMember","links","expandLinkItems","linkItem","_linkItem$items","items","handleLinkClick","menu","ArrowBottom","_linkItem","_idx","CircleSVG","GetContacts","contactList","operationLogs","setParams","pageSize","disablePaging","add","clear","getAll","useContactStore","handleClearData","handleGetAndPutData","handleGetData","getAllContactsRequestAction","allCompanies","totalCount","putData","handlePushLog","event","console","log","dateTime","pushOperationLogsAction","async","i","ProfileStatus","AppSidebar","unfoldable","sidebarUnfoldable","isExistContactDB","CSidebar","onVisibleChange","CSidebarBrand","CSidebarNav","SimpleBar","CSidebarToggler","mutateAsync","sendTestSms","isLoading","sendTestSmsPending","useMutation","sendTestSmsService","CustomValuesHookTS","displayModal","displaySMSTestModal","changeSMSTextModalDisplayAction","CustomModal","component","CFormInput","footerComponent","response","recipientMobile","isSuccess","success","errorMessage","handleSend","DefaultLayout","SmsPanelTestModal","AppHeader","getGeneralSettingsAction","GET_GENERAL_LINE_SETTINGS_REQUEST","getCustomerLineServicesAction","GET_CUSTOMER_LINE_SERVICES_REQUEST","getCallReportSettingsAction","GET_CALL_REPORT_SETTINGS_REQUEST","getLineFaxSettingsAction","GET_LINE_FAX_SETTINGS_REQUEST","getLineVoicemailSettingsAction","GET_LINE_VOICEMAIL_SETTINGS_REQUEST","GET_CUSTOMER_MEMBERS_REQUEST","RESET_GET_CUSTOMER_MEMBERS_ERROR","getPasswordStatusAction","GET_PASSWORD_STATUS_REQUEST","setGeneralLineSettingsAction","SET_GENERAL_LINE_SETTINGS_REQUEST","setCallReportSettingsAction","SET_CALL_REPORT_SETTINGS_REQUEST","setLineFaxSettingsAction","SET_LINE_FAX_SETTINGS_REQUEST","setLineVoicemailSettingsAction","SET_LINE_VOICEMAIL_SETTINGS_REQUEST","setPasswordStatusSettingsAction","SET_PASSWORD_STATUS_REQUEST","setLinePasswordAction","SET_PASSWORD_SETTING_REQUEST","getLineSeparationSettingAction","GET_LINE_SEPARATION_SETTING_REQUEST","postUploadMusicOnHoldAction","POST_UPLOAD_MUSIC_ON_HOLD_REQUEST","resetLineSettingsProps","LINE_SETTINGS_RESET_PROPS","saveSMSConfigService","apiRequest","getSMSConfigService"],"sourceRoot":""}