{"version":3,"sources":["assets/img/pc_color_no_tagline.svg","assets/img/cspire_business_logo.svg","assets/img/MIXLogo_HighRes.png","assets/img/cspire_footer1.png","assets/img/cspire_footer2.png","assets/img/num_hub_color_logo.svg","assets/img/email_plane.svg","assets/img/icons/actions/accept_trade.svg","assets/img/icons/actions/decline_trade.svg","assets/img/icons/actions/trade_icon.svg","services/appContext/AppContextAccessor.ts","services/util/EnvironmentUtil.ts","services/httpClient/ApiVersion.ts","services/httpClient/HttpClientUtil.ts","services/httpClient/HttpClient.ts","services/apis/IdentityApi.ts","services/appContext/AuthenticationInfo.ts","services/apis/AccountApi.ts","services/appContext/Orders.ts","services/appContext/WorkQueue.ts","services/identity/IdentityService.ts","components/framework/loginLayout/LoginNavbar.tsx","components/common/HubSpotCallToAction.tsx","services/appContext/LocalStorageInfo.ts","services/appContext/AppContextUtil.ts","services/appContext/AppContext.ts","components/framework/footer/Footer.tsx","components/framework/loginLayout/LoginLayout.tsx","components/framework/loginLayout/LoginHeader.tsx","services/customHooks/useErrors.ts","components/framework/errorHandling/ErrorUtil.tsx","services/util/ArrayUtil.ts","services/util/StringUtil.ts","components/framework/errorHandling/InputError.tsx","components/framework/forms/TextFormInputGroup.tsx","services/customHooks/useIsMounted.ts","services/apis/identifierApi.ts","components/common/PolygonLoader.tsx","components/framework/notification/NotificationCloseButton.tsx","components/framework/notification/NotificationUtil.tsx","components/account/Login.tsx","components/account/ForgotPassword.tsx","components/account/ResetPasswordModel.ts","services/util/ObjectUtil.ts","services/util/ApiUtil.ts","components/account/ResetPassword.tsx","services/routing/RoutingUtil.ts","services/apis/NumberApi.ts","AppConfiguration.ts","services/util/DateUtil.ts","components/framework/date/FormatDateTime.tsx","services/apis/types/number/PhoneNumberType.ts","components/framework/forms/DropdownInput.tsx","components/framework/table/DefaultColumnFilter.tsx","components/framework/table/ExportButtons.jsx","components/orders/types/OrdersTableColumnIdentifiers.ts","services/uiSettings/TableIdentifiers.ts","components/workQueue/types/WorkQueueTableColumnIdentifiers.ts","services/uiSettings/DefaultTableSettings.ts","services/apis/types/account/UpdateAccountDto.ts","services/appContext/LocalStorageUser.ts","services/uiSettings/UiSettingsService.ts","components/framework/modals/CloseButton.tsx","translations/TranslationService.ts","components/framework/table/TableSettingsModal.tsx","services/customHooks/useRefresh.ts","components/common/IconWithTooltip.tsx","services/restoreFilters/RestoreFilterService.ts","components/framework/table/DropDown.jsx","components/orders/orderDetails/configuration/OrderNumberActionConfigurations.ts","components/common/Icon.tsx","components/framework/forms/DateTimeInput.tsx","components/common/InfoTooltip.tsx","components/framework/forms/TextFormInput.tsx","components/framework/table/TopColumnFilter.tsx","components/common/VerticalLoader.tsx","components/framework/table/ReactTable.jsx","components/framework/table/useUiTableSettings.ts","components/framework/table/usePrint.ts","services/apis/ServiceProviderApi.ts","services/authorization/PermissionType.ts","services/authorization/Permissions.ts","services/authorization/AuthorizationService.ts","components/framework/cards/CardSectionHeader.tsx","components/framework/forms/DropdownFormInput.tsx","components/common/types/ProcessingTimeType.ts","components/framework/forms/CheckboxFormInput.tsx","components/common/serviceProviderCard/LnpInformation.tsx","components/framework/forms/TextAreaFormInput.tsx","components/common/serviceProviderCard/OperationsInformation.tsx","components/common/serviceProviderCard/ContactInformation.tsx","components/framework/authorization/Authorize.tsx","services/apis/TradingPartnerApi.ts","services/util/LinkUtil.ts","components/networkExplorer/types/TppStatus.ts","components/common/serviceProviderCard/TradingPartnerProfileCardFooterButtons.tsx","components/framework/forms/DateTimeFormInput.tsx","components/framework/date/FormateDate.tsx","services/apis/types/block/SvType.ts","services/util/SpidUtil.ts","components/common/serviceProviderCard/TradingPartnerProfileCardHeader.tsx","components/common/serviceProviderCard/TradingPartnerProfileCard.tsx","services/customHooks/useTpp.ts","services/customHooks/useServiceProvider.ts","services/apis/types/serviceProvider/ContactInformation.ts","components/common/types/ServiceProviderProfileResult.ts","components/common/ServiceProviderModal.tsx","components/common/SpIdCell.tsx","components/numberExplorer/numberHistoryModal/HistoryReportTable.tsx","services/apis/types/port/AccountType.ts","components/numberExplorer/numberHistoryModal/NumberCnamUpsertModel.tsx","components/numberExplorer/numberHistoryModal/CnamModify.tsx","components/numberExplorer/numberHistoryModal/CnamDetails.tsx","components/numberExplorer/numberHistoryModal/NumberHistoryModal.tsx","components/numberExplorer/numberTable/PhoneNumberCell.tsx","components/framework/loadingIndicator/LoadingIndicator.tsx","services/apis/types/block/DpcSsnInfo.ts","services/apis/types/number/OptionalDataInfo.ts","services/apis/types/number/NpacRegion.ts","services/apis/types/number/NumberDetails.ts","components/numberExplorer/numberDetailsModal/NetworkDataTable.tsx","components/numberExplorer/numberDetailsModal/OptionalDataTable.tsx","components/numberExplorer/numberDetailsModal/NumberDetailsModal.tsx","components/numberExplorer/numberDetailsModal/NumberDetailsCell.tsx","components/numberExplorer/numberTable/NumberTable.tsx","services/validators/ValidationResult.ts","services/validators/ValidatePhoneNumbers.ts","components/common/BreadcrumbHeader.tsx","services/portControl/PhoneNumberService.ts","services/customHooks/usePastedNumberFormatter.ts","components/numberExplorer/NumberExplorer.tsx","components/networkExplorer/serviceProviderDetails/ServiceProviderDetails.tsx","services/apis/NpaNxxApi.ts","components/networkExplorer/common/TextRow.tsx","components/networkExplorer/common/ActionDropdown.tsx","components/networkExplorer/common/ActionDropdownItem.tsx","components/framework/modals/ConfirmationModal.tsx","components/networkExplorer/npaNxx/NpaNxxDeleteModal.tsx","components/networkExplorer/npaNxx/NpaNxxCard.tsx","components/networkExplorer/npaNxx/BlocksCard.tsx","components/networkExplorer/npaNxx/NpaNxxDetails.tsx","services/apis/BlockApi.ts","components/networkExplorer/block/NumbersCard.tsx","services/apis/types/block/Block.ts","services/validators/FreeEmailDomains.ts","services/validators/ValidationUtil.ts","components/networkExplorer/block/BlockModal.tsx","components/networkExplorer/block/BlockDetailsCard.tsx","components/networkExplorer/block/NpacDetailsCard.tsx","components/networkExplorer/block/GeographicDetailsCard.tsx","components/networkExplorer/block/BlockDetails.tsx","services/apis/LrnApi.ts","components/networkExplorer/lrn/LrnDeleteModal.tsx","components/networkExplorer/lrn/LrnDetailsCard.tsx","components/networkExplorer/lrn/LrnDetails.tsx","components/networkExplorer/types/LrnModel.ts","components/networkExplorer/lrn/CreateLrnModal.tsx","components/networkExplorer/types/NpaNxxModel.ts","components/networkExplorer/npaNxx/CreateNpaNxxModal.tsx","services/apis/NetworkProfileApi.ts","components/networkExplorer/networkProfile/NetworkProfileDeleteModal.tsx","components/manage/types/ManageAction.ts","services/apis/types/networkProfile/NetworkProfileDto.ts","components/networkExplorer/networkProfile/SelectPriorityType.tsx","components/networkExplorer/networkProfile/CustomersModal.tsx","components/manage/serviceProvider/CompanyClientType.ts","components/networkExplorer/networkProfile/NetworkProfileModal.tsx","components/networkExplorer/networkProfile/NetworkProfileActionsCell.tsx","components/networkExplorer/networkProfile/NetworkProfilesCard.tsx","components/networkExplorer/types/NetworkItemType.ts","components/networkExplorer/NetworkExplorer.tsx","services/apis/OrderApi.ts","components/framework/table/DateRangeColumnFilter.tsx","services/portControl/types/OrderNumberActionType.ts","services/apis/SinchApi.ts","services/portControl/OrderService.ts","services/apis/types/order/OrderType.ts","components/orders/types/PortInModifyModel.ts","components/orders/types/PortInModify.ts","services/apis/PortApi.ts","components/framework/forms/PhoneNumberInput.tsx","components/orders/NpacMaintenanceAlert.tsx","components/orders/types/SvRequestStatus.ts","components/orders/orderDetails/PortInModifyModal.tsx","components/orders/types/PortOutModifyModel.ts","components/orders/types/PortOutModify.ts","components/orders/types/Authorized.ts","components/orders/types/PortOutRejectionReason.ts","components/orders/orderDetails/PortOutModifyModal.tsx","services/apis/types/port/DisconnectModifyModel.ts","components/orders/types/DisconnectModify.ts","components/orders/orderDetails/DisconnectModifyModal.tsx","services/apis/types/order/SupplementType.ts","services/apis/types/port/OrderHandlerType.ts","services/apis/types/port/CustomerDetailsDto.ts","services/apis/types/port/ServiceAddressDto.ts","components/orders/orderDetails/SupplementModel.ts","components/orders/AccountDetails.tsx","components/orders/ServiceAddress.tsx","components/manage/user/UserTimeZones.tsx","components/orders/orderDetails/AddSupplementModal.tsx","services/apis/types/port/OrderHandler.ts","services/apis/types/order/OrderMetadata.ts","services/apis/types/order/OrderDto.ts","components/orders/orderDetails/configuration/ApproveSupplementConfirmationText.ts","components/orders/orderDetails/ApproveSupplementModal.tsx","services/apis/types/order/SupplementRejectionReason.ts","services/apis/types/order/RejectSupplementModel.ts","components/orders/orderDetails/RejectSupplementModal.tsx","components/orders/orderDetails/SupplementWarningModal.tsx","components/orders/orderDetails/ExecuteSupplementAction.tsx","services/apis/types/order/UpdateOrderStatusModel.ts","components/orders/orderDetails/UpdateOrderStatusModal.tsx","components/orders/orderDetails/RejectCsrModal.tsx","services/apis/types/order/ModifyCsrType.ts","components/orders/orderDetails/ModifyCsrModel.ts","components/orders/orderDetails/ModifyCsrModal.tsx","services/apis/types/port/OrderRequestType.ts","components/orders/portCreate/portIn/AutoActivationModal.tsx","components/orders/portCreate/portIn/CancelAutoActivation.tsx","components/orders/portCreate/portIn/RestoreToOriginalModal.tsx","components/orders/portCreate/portIn/SinchUpdateOrderModal.tsx","components/orders/orderDetails/ExecuteOrderAction.tsx","components/common/actions/OrderActionCell.tsx","components/framework/table/SpidsCustomViewSettings.tsx","components/framework/table/ColumnsCustomViewSettings.tsx","components/orders/ordersList/orderTable/OrderLink.tsx","services/apis/types/order/NumberStatus.ts","components/framework/table/RestoreTableColumnFilter.tsx","components/common/DuplicateTNNotifier.tsx","components/common/OrderSelect.tsx","components/orders/ordersList/orderTable/OrderTable.tsx","components/orders/types/SoaItemType.ts","components/orders/types/Disconnect.ts","components/orders/disconnect/DisconnectModal.tsx","components/orders/types/Modify.ts","services/apis/types/port/ModifyModel.ts","components/orders/modify/ModifyModal.tsx","services/apis/AuditApi.ts","services/apis/types/audit/RequestAuditModel.ts","components/audits/CreateAuditModal.tsx","services/apis/types/searchAndProvision/TnInventoryRequestDto.ts","components/framework/errorHandling/ErrorList.tsx","components/common/types/ApiErrorType.ts","components/orders/searchAndProvision/SearchAndProvisionModal.tsx","components/common/navBar/NavBar.tsx","components/orders/ordersList/orderTable/SinchOrderTable.tsx","components/orders/ordersList/OrderList.tsx","translations/index.ts","components/myProfile/types/ChangePassword.ts","components/framework/forms/PasswordFormInput.tsx","components/myProfile/ChangePasswordCard.tsx","components/common/types/UserInfo.tsx","components/myProfile/ProfileCard.tsx","components/myProfile/MyProfile.tsx","components/support/SupportModal.tsx","services/apis/UserApi.ts","components/manage/types/User.ts","components/manage/types/ClaimTypeUri.ts","components/manage/types/ClaimType.ts","components/manage/user/UserModal.tsx","components/manage/user/UserDeleteModal.tsx","components/manage/user/UserActionsCell.tsx","components/manage/user/UsersCard.tsx","services/apis/CompanyApi.ts","components/manage/serviceProvider/ServiceProviderDeleteModal.tsx","services/apis/ServiceProviderSettingsApi.ts","components/common/ConfiguredParameterInput.tsx","components/manage/types/ServiceProviderConfiguredParamter.ts","components/framework/forms/NumberFormInput.tsx","components/manage/serviceProvider/ServiceProviderConfiguredParameterConfigurations.ts","components/framework/forms/TimeInput24Hrs.tsx","components/manage/serviceProvider/ModifyServiceProviderParametersModal.tsx","components/manage/serviceProvider/ServiceProviderActionsCell.tsx","components/manage/serviceProvider/ServiceProvidersCard.tsx","components/manage/types/SpIdConnectionType.ts","components/manage/types/ServiceProvider.ts","components/manage/serviceProvider/ServiceProviderCreateModal.tsx","services/apis/types/company/CompanyInfo.ts","services/apis/types/company/CompanyDto.ts","components/manage/types/Company.ts","components/manage/organization/OrganizationModal.tsx","components/manage/organization/OrganizationDeleteModal.tsx","components/manage/organization/OrganizationActionsCell.tsx","components/manage/organization/OrganizationsCard.tsx","components/manage/types/ManageItemType.ts","components/manage/Manage.tsx","services/util/SignalRClient.ts","services/apis/NotificationApi.ts","services/notification/NotificationService.ts","services/portControl/PortService.ts","components/orders/orderDetails/ExecuteNumberAction.tsx","components/orders/orderDetails/PortingNumbersTableActionsCell.tsx","components/orders/orderDetails/PortingNumbersTableActionsButton.tsx","components/common/TextWithTooltip.tsx","components/orders/orderDetails/PortingNumbersTable.tsx","components/framework/forms/InlineEdit.tsx","services/customHooks/useOnClickOutside.ts","components/orders/orderDetails/OrderMetadataCard.tsx","components/orders/orderDetails/configuration/OrderTypeConfigurations.ts","components/orders/orderDetails/OrderPortTypeCard.tsx","components/orders/orderDetails/configuration/SvRequestStatusConfigurations.ts","components/orders/orderDetails/OrderStatusCard.tsx","services/apis/types/order/NoteOrigin.ts","services/apis/types/order/NoteVisibility.ts","components/orders/orderDetails/notes/NoteBlock.tsx","services/apis/types/order/AddNotesModel.ts","components/orders/orderDetails/notes/NoteForm.tsx","components/orders/orderDetails/notes/NotesCard.tsx","components/orders/orderDetails/tasks/TasksModel.ts","components/orders/orderDetails/tasks/TaskForm.tsx","components/orders/orderDetails/tasks/TaskModal.tsx","components/orders/orderDetails/tasks/TaskListItem.tsx","components/orders/orderDetails/tasks/TasksCard.tsx","components/orders/orderDetails/HandlingOverview.tsx","components/common/FileDownload.tsx","components/orders/DeleteDocumentConfirmationModal.tsx","components/orders/Document.tsx","components/orders/Documents.tsx","components/orders/CsrRequest.tsx","components/orders/orderDetails/OrderDetailsCard.tsx","components/orders/orderDetails/OrderDetailsContainer.tsx","services/customHooks/useProfileSwitcher.ts","components/orders/orderDetails/OrderDetails.tsx","services/routing/PublicRoute.tsx","components/orders/types/ExcelTemplateRow.ts","components/orders/types/ExcelTemplateRowHeaders.ts","components/orders/portCreate/DropzoneArea.tsx","components/orders/portCreate/portOut/Select2Dropdown.jsx","components/orders/portCreate/portOut/PortOutValidationSection.tsx","components/orders/portCreate/PhoneNumberListItem.tsx","components/orders/portCreate/DeleteLastPhoneNumberModal.tsx","components/orders/types/OrderCardStatus.ts","components/orders/portCreate/OrderCardStatusIcon.tsx","components/orders/portCreate/PortCardHeader.tsx","components/orders/portCreate/portOut/PortOutCard.tsx","components/orders/portCreate/portOut/PortOutProposalSection.tsx","components/orders/types/PortOutModel.ts","components/orders/portCreate/portOut/PortOut.tsx","components/orders/portCreate/portIn/PortInValidationSection.tsx","services/customHooks/useDocuments.ts","components/orders/portCreate/portIn/DeleteOrderCardModal.tsx","components/orders/portCreate/portIn/PortInCardLrnInput.tsx","components/orders/portCreate/portIn/PortInCard.tsx","components/orders/portCreate/portIn/FullOrPartialPort.ts","components/orders/portCreate/portIn/PortInOverview.tsx","components/orders/portCreate/portIn/PortInAccountTab.tsx","services/customHooks/useCreateOrders.ts","components/orders/portCreate/portIn/BackToStepOneModal.tsx","components/orders/portCreate/portIn/PortInBackButton.tsx","components/orders/portCreate/portIn/PortInHeaderError.tsx","components/orders/portCreate/portIn/PortInProposalSection.tsx","services/customHooks/useActiveAccount.ts","components/orders/types/PortInAccountModel.ts","components/orders/types/ExcelTemplateLrnPtoGroup.ts","components/orders/types/OrderCardModel.ts","components/orders/types/PortInConfiguration.ts","components/orders/types/ExcelTemplateAccount.ts","services/customHooks/usePortInAccountModelMapper.ts","components/orders/portCreate/portIn/PortInHandlers.ts","components/orders/portCreate/portIn/PortIn.tsx","components/audits/AuditTable.tsx","components/audits/AuditList.tsx","components/audits/types/AuditStatus.ts","services/apis/types/audit/NpacAuditReply.ts","components/audits/FailedSpListCell.tsx","components/audits/AuditNumbersCard.tsx","components/audits/AuditDetails.tsx","services/routing/PrivateRoute.tsx","components/framework/adminLayout/NotificationsDropdown.tsx","components/framework/adminLayout/Select2Dropdown.jsx","components/networkExplorer/common/FeedbackButton.tsx","components/framework/adminLayout/AdminNavbar.tsx","components/framework/sidebar/MenuItem.tsx","services/util/BodyClassUtil.ts","components/common/TooltipOnHover.tsx","components/framework/sidebar/Sidebar.tsx","components/framework/adminLayout/AdminLayout.tsx","services/routing/AdminRoute.tsx","services/apis/QueryApi.ts","components/querySV/QuerySvTable.tsx","services/apis/types/query/RequestQueryModel.ts","components/querySV/CreateQueryModal.tsx","components/querySV/QuerySv.tsx","services/apis/types/query/NpacQueryResultDto.ts","components/querySV/QueryDetailsTable.tsx","components/querySV/QueryDetails.tsx","components/account/Unauthorized.tsx","components/Index.tsx","services/apis/WebhookApi.ts","components/manage/types/NotificationModel.ts","components/manage/types/NotificationType.ts","components/manage/types/NotificationPermissionType.ts","components/manage/notifications/NotificationModal.tsx","components/manage/notifications/NotificationNameCell.tsx","components/manage/notifications/NotificationDeleteConfirmationModal.tsx","components/manage/notifications/NotificationPauseConfirmationModal.tsx","components/manage/notifications/NotificationPauseAction.tsx","components/manage/notifications/NotificationResumeConfirmationModal.tsx","components/manage/notifications/NotificationResumeAction.tsx","components/manage/notifications/NotificationActionsCell.tsx","services/apis/types/webhooks/NotificationStatus.ts","components/manage/notifications/NotificationTable.tsx","components/manage/notifications/NotificationList.tsx","services/apis/types/reports/ReportDto.ts","services/apis/ReportsApi.ts","components/common/countCard/CountCard.tsx","components/reports/CountsCards.tsx","components/reports/PortedNumbersChart.tsx","components/reports/PortedNumbersChartCard.tsx","components/reports/types/ExportModel.ts","services/apis/types/reports/ExportDto.ts","services/apis/types/reports/PortingReportDto.ts","components/reports/ExportCard.tsx","components/reports/Reports.tsx","components/framework/notification/NotificationReloadButtons.tsx","services/portControl/VersionService.tsx","components/common/VersionChecker.tsx","services/apis/WorkQueueApi.ts","components/workQueue/WorkQueueTable.tsx","components/workQueue/StatisticsCards.tsx","components/workQueue/WorkQueueList.tsx","components/workQueue/WorkQueueDetails.tsx","components/account/SignupModel.ts","components/account/SignupForm.tsx","components/account/SignupVerify.tsx","components/account/Signup.tsx","components/account/SignupVerification.tsx","services/apis/types/reports/BillingTransactionsDto.ts","components/reports/BillingTransactions.tsx","services/apis/types/reports/PendingReportsDto.ts","components/reports/PendingReports.tsx","components/reports/AdminReports.tsx","components/networkExplorer/types/InventoryType.ts","services/apis/DnoApi.ts","components/networkExplorer/inventory/InventoryModal.tsx","components/common/DnoSwitchModal.tsx","components/common/ToggleCheckbox.tsx","components/networkExplorer/types/InventoryColumnIdentifier.ts","components/networkExplorer/inventory/InventoryTable.tsx","components/networkExplorer/inventory/PooledTable.tsx","components/networkExplorer/inventory/Inventory.tsx","components/common/actions/TradingPartnerActionCell.tsx","components/common/VerfiedCell.tsx","services/apis/types/tpp/TppHistory.ts","components/common/TradingPartnerHistoryModal.tsx","components/common/StatusCell.tsx","components/common/ValidateCell.tsx","components/networkExplorer/types/TradingPartnerColumnIdentifier.ts","services/util/TppFiltersUtil.ts","components/framework/table/DefaultYesNoColumnFilter.tsx","services/apis/types/tpp/TppListFilter.ts","components/framework/table/TppStatusColumnFilter.tsx","components/framework/table/TppSpidColumnFilter.tsx","components/networkExplorer/tradingPartners/TradingPartnerUserTable.tsx","components/networkExplorer/tradingPartners/TradingPartnerAdminTable.tsx","components/networkExplorer/tradingPartners/TradingPartners.tsx","components/customerInventory/types/customerInventoryIdentifier.ts","components/common/CustomerInventoryUsersModal.tsx","components/common/UsersModalCell.tsx","services/apis/CustomerInventoryApi.ts","components/customerInventory/activateDeactivateModal.tsx","components/common/SideToggle.tsx","components/customerInventory/customerInventoryEditModal.tsx","components/customerInventory/customerInventoryActionCell.tsx","components/customerInventory/customerInventoryTable.tsx","components/customerInventory/customerInventory.tsx","components/webhookLogs/types/WebhookLogsIdentifier.ts","services/util/WebhookLogsUtil.ts","services/apis/WebhookLogsApi.ts","components/webhookLogs/EmailNotificationsTable.tsx","services/apis/types/webhookLogs/WebhookLogsListFilter.ts","components/webhookLogs/UrlNotificationActionsCell.tsx","components/webhookLogs/UrlNotificationsTable.tsx","components/webhookLogs/WebhookLogs.tsx","components/orders/portCreate/disasterRecovery/DisasterRecovery.tsx","components/orders/types/ProvisionOrdersTableColumnIdentifiers.ts","components/common/ProvisionOrderSelect.tsx","components/common/TimerCompleteModal.tsx","components/orders/searchAndProvision/ReservedOrders.tsx","components/orders/searchAndProvision/ProvisionOrderTable.tsx","App.tsx","index.tsx"],"names":["module","exports","_getAppContext","_setAppContext","AppContextAccessor","Error","getAppContext","value","setAppContext","EnvironmentUtil","apiV1Url","path","concat","process","apiV2Url","apiV3Url","identityServerUrl","frontendUrl","isMixNetwork","window","location","href","includes","isCspire","isqa","istest","isdev","isMixQa","isMixUat","isPrdUrl","isPrdMixUrl","signalRUrl","oAuthClientId","oAuthClientSecret","oAuthScope","version","ApiVersion","getApiUrl","url","V2","V3","_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","HttpClient","get","_get","_asyncToGenerator","_callee","addAuthorizationToken","addSelectedTenant","customTenant","headersContent","_args","arguments","_context","undefined","V1","IdentityService","checkAndRenewAccessToken","getHeaders","fetch","headers","handleResponse","_x","apply","getResource","_getResource","_callee2","_args2","_context2","handleResourceResponse","_x2","post","_post","_callee3","bodyObject","_args3","_context3","body","JSON","stringify","_x3","_x4","postResource","_postResource","_callee4","_args4","_context4","_x5","_x6","delete","_delete2","_callee5","_args5","_context5","_x7","_x8","put","_put","_callee6","_args6","_context6","_x9","putResource","_putResource","_callee7","_args7","_context7","_x10","patch","_patch","_callee8","_args8","_context8","_x11","_ref","_callee9","response","json","_context9","ok","t0","handleErrorResponse","_x12","_ref2","_callee10","_context10","blob","_x13","_ref3","_callee11","_context11","_objectSpread","error","status","_x14","hasFile","Accept","Pragma","spId","getSpId","localStorageInfo","authenticationInfo","access_token","appContext","selectedProfile","IdentityApi","login","_login","username","password","requestParams","queryString","grant_type","scope","client_id","client_secret","getRequestInit","refreshAccessToken","_refreshAccessToken","identityResponse","refresh_token","requestPasswordReset","_requestPasswordReset2","resetPassword","_resetPassword2","changePassword","_changePassword","changePasswordDto","DefaultAuthenticationInfo","authenticated","expiry","AccountApi","model","DefaultOrderDetails","orderType","gainingSpId","loosingSpId","orderTableCarrierName","workedBy","pageSize","pageIndex","adminProjectId","DefaultWorkQueueDetails","organization","clearAuthenticationInfo","sessionExpired","localStorage","removeItem","user","orders","workQueue","provisionOrders","startTime","duration","hasTokenIdentifier","showSessionExpiredError","previousUrl","isLoggedOut","getNewAuthenticationInfo","_checkAndRenewAccessToken","accessTokenIsExpired","renewFailed","fetchUserInfo","_fetchUserInfo","fetchedUser","settings","ui","parse","spIdProfiles","getNewExpiryDate","expires_in","Date","expiresIn","getTime","toString","isMixNetworkUrl","isCspireUrl","LoginNavbar","React","createElement","Navbar","className","expand","id","Container","fluid","NavbarBrand","to","tag","Link","alt","src","require","style","width","height","Nav","navbar","UncontrolledDropdown","nav","DropdownToggle","color","HubSpotCallToAction","props","useEffect","script","document","appendChild","hbspt","cta","load","portalId","ctaToken","removeChild","target","rel","borderWidth","DefaultLocalStorageInfo","language","timerStartTime","AppContextUtil","info","setItem","getItem","GetAppContext","initialized","theme","changeTheme","AppContext","createContext","Footer","useContext","intl","useIntl","isLoggedIn","isFreeUser","useCallback","_appContext$localStor","external","hubspotParameter","parameterName","userType","formatMessage","Row","Col","xs","getFullYear","FormattedMessage","NavItem","NavLink","Fragment","md","LoginLayout","children","LoginHeader","lg","xl","title","useErrors","_useState","useState","_useState2","_slicedToArray","errors","setErrors","getErrorHandler","key","clear","prevState","setErrorsWrapper","getErrors","AddError","message","hasTranslation","HasErrors","HasFieldErrors","fieldErrors","getUniqueElements","elements","Array","from","Set","distinctFilter","findIndex","v2","stringifyLimited","obj","depth","replacer","deepCloneWithCircular","clonedObjects","WeakMap","has","clone","isArray","set","getValueOrEmpty","getYesOrNo","undefinedIfEmpty","isEmail","email","test","String","toLowerCase","isUrl","isEmailOrUrl","isRange","isNumber","isPhoneNumber","removeDashes","replace","replaceWhitespaceWithComma","isAlphanumeric","isNumericRegex","isSpid","splitCommaSeparatedList","list","split","filter","x","getPhoneNumberListItems","numberInputValue","getPhoneNumberList","_step","listItems","phoneNumbers","_iterator","_createForOfIteratorHelper","_loop","listItem","startRange","Number","endRange","_toConsumableArray","map","phoneNumber","err","truncateAndAppendEllipsis","text","maxLength","substring","removeWhitespace","isValidZipCode","zipCode","isValidResidentialOrBusinessRule","rule","hasNameLengthExceeded","isValidName","match","InputError","TextFormInputGroup","focused","setFocused","FormGroup","classNames","InputGroup","InputGroupAddon","addonType","InputGroupText","icon","Input","disabled","placeholder","placeholderTranslationId","onFocus","onBlur","onChange","errorHandler","handleInputChange","useIsMounted","isMounted","useRef","current","IdentifierApi","identifier","PolygonLoader","NotificationCloseButton","onClick","closeToast","toastOptions","position","toast","POSITION","TOP_CENTER","hideProgressBar","autoClose","bodyClassName","css","fontFamily","closeButton","closeOnClick","toastErrorNotificationOptions","showDuplicationInfoNotification","customToastOptions","largeText","showInfoNotification","showErrorNotification","Msg","showErrorNotificationNonAuthenticated","messageLine","Login","useLocation","_useErrors","setEmail","_useState3","_useState4","setPassword","_useState5","_useState6","showError","setShowError","_useState7","_useState8","errorMessageId","setErrorMessageId","_useState9","_useState10","showLoadingIndicator","setShowLoadingIndicator","_useState11","_useState12","paramsId","setParamsId","_useState13","_useState14","setAccessToken","state","pathname","_useState15","_useState16","setHasTokenIdentifier","_useState17","_useState18","hasSsoError","setHasSsoError","tokenIdentifier","URLSearchParams","search","replaceUrlMethod","result","authentication","searchParams","newSearch","newUrl","hashFragment","hash","history","replaceState","data","authResponse","handleSubmit","loggedIn","preventDefault","validateCredentials","Alert","isOpen","toggle","Card","CardBody","Form","role","onSubmit","Button","ForgotPassword","focusedEmail","setFocusedEmail","showSuccessMessage","setShowSuccessMessage","validateModel","callbackUrl","finally","classnames","DefaultResetPasswordModel","confirmPassword","nameOf","key1","key2","key3","key4","hasAnyValue","object","handleError","handleFieldErrors","getFieldErrors","handleFieldOrApiErrors","ResetPassword","resetPasswordModel","setResetPasswordModel","showResetPasswordError","setShowResetPasswordError","token","errorsResult","loginPage","NumberApi","searchExpression","telephoneNumber","cnam","pageNumber","searchValues","orderByColumn","orderDirection","blockDash","AppConfiguration","getUtcDate","date","moment","utc","milliseconds","seconds","minutes","hours","getFormattedUtcDate","format","getUtcDateTomorrow","add","isAfterNextYearToday","isAfter","getUtcDateNextYearToday","isSunday","isDate","day","isBetween","min","max","isSameOrAfter","isSameOrBefore","sort","dates","desc","b","aValue","toDate","bValue","FormatDateTime","utcDate","PhoneNumberType","Wireline","TollFree","sm","options","DefaultColumnFilter","useMemo","column","preFilteredRows","DropdownInput","setFilter","filterValue","ExportButtons","table","columns","hasExpandedData","Header","rowsData","row","accessor","subRows","dataToTable","ButtonGroup","CSVLink","filename","size","matrix","workbook","SheetNames","Sheets","Sheet1","utils","aoa_to_sheet","writeFile","exportToXlsxHandler","showCopy","string","join","copy","copyHandler","showPrint","ReactToPrint","onBeforeGetContent","onBeforePrint","onAfterPrint","trigger","content","printRef","OrdersTableColumnIdentifiers","TableIdentifiers","WorkQueueTableColumnIdentifiers","DefaultTableSettings","_defineProperty","Orders","columnSettings","ProjectId","isVisible","DueDate","OrderType","Status","GainingSpid","LoosingSpid","NextWorkDate","WorkedBy","NumberCount","Actions","spidFilterSettings","WorkQueue","Organization","GainingSpId","LoosingSpId","TradingPartner","CustomerInventory","WebhookLogs","DefaultUpdateAccountDto","firstName","lastName","locale","zoneInfo","userSettings","DefaultLocalStorageUser","userId","companyId","permissions","supportCode","isAdminProjectIdAccessible","getTableSettings","tableIdentifier","_AppContextAccessor$g","_AppContextAccessor$g2","_AppContextAccessor$g3","_AppContextAccessor$g4","tableSettings","find","getColumnSettings","columnIdentifier","_DefaultTableSettings","_DefaultTableSettings2","_tableSettings$column","_tableSettings$column2","defaultColumnSetting","UserSettingsStatus","createOrUpdateUiSettings","uiSettings","settingName","settingValue","_uiSettings$tableSett","_newUiSettings$tableS","_updateUiSetting$tabl","updatedUiSettings","uiSettingFound","createUiSettings","newUiSettings","newTableSetting","updateUiSetting","found","determineUserSettingsStatus","_user$settings","_user$settings$ui","_user$settings$ui2","_user$settings$ui3","_user$settings$ui4","_user$settings$ui5","NoSettings","NoTableSettingsStored","TableSettingsNotFound","TableSettingsFound","settingPropertyName","prepareAccountDtoObject","localStorageUser","CloseButton","aria-label","data-dismiss","close","getTranslation","translationKey","valueIsTranslationKey","item","TableSettingsModal","selectedTabIndex","setSelectedTabIndex","customViewChilds","addCustomViewChilds","customViewRefs","refresh","useHistory","navigateOutAndWait","setTimeout","routePath","clearTimeout","useRefresh","Children","childComponent","idx","getTabId","createAndSaveRef","ref","createRef","updateAccountSettings","account","closeModal","Modal","centered","contentClassName","ModalHeader","customViewsSettings","getSettings","accountDto","_user","setting","settingValues","populateAccountDtoWithUiSettings","ModalBody","pills","component","aria-selected","index","handleTabSelection","tabIndex","active","viewName","getViewName","TabContent","activeTab","TabPane","tabId","cloneElement","ModalFooter","IconWithTooltip","isTooltipOpen","setIsTooltipOpen","toggleTooltip","iconRef","Tooltip","tooltipClassName","placement","innerClassName","tooltip","RestoreFilterService","hasFilterRestore","originalPageSize","dateMax","dateMin","wholeDate","DropDown","Select","filterOption","createFilter","ignoreAccents","components","Option","CustomOption","onInputChange","selectedValue","handleSelect","_React$Component","_classCallCheck","_inherits","_createClass","_this$props","this","innerProps","otherProps","isFocused","_objectWithoutProperties","_excluded","otherInnerProps","onMouseMove","onMouseOver","_excluded2","newProps","Component","OrderNumberActionConfigurations","Activate","iconClass","confirmMessageId","skipConfirmation","Order","background","Cancel","RemoveFromConflict","Modify","Archive","inactive","UndoCancel","PreOrderSupplement","PreOrderReject","PreOrderApprove","PreOrderSubmit","CsrRequested","CsrValid","CsrInvalid","CsrCancel","CsrModify","CsrEscalate","LsrSubmit","CsrReceived","CsrToLsr","ScheduleActivation","ModifyActivation","CancelActivation","Restore","Submit","SinchArchive","Icon","actionCompleted","data-toggle","data-placement","DateTimeInput","ReactDatetime","inputProps","readOnly","showModalOnTop","closeOnSelect","dateFormat","isTimeInput","timeFormat","isValidDate","showCalendar","iconColor","InfoTooltip","arrowClassName","TextFormInput","label","labelTranslationId","readonly","formGroupClassName","Label","labelClassName","required","inputClassName","currentTarget","TopColumnFilter","statusValue","setStatusValue","fromDate","setFromDate","setToDate","orderIdValue","setOrderIdValue","trim","val","adjustedFromDate","startOf","adjustedToDate","endOf","filterData","onSearch","VerticalLoader","emptyData","ReactTable","_ref$showViewSettings","showViewSettings","_ref$identifier","_ref$children","_ref$title","_ref$titleComponent","titleComponent","_ref$showOrderOptions","showOrderOptions","_ref$hasExpandedData","_ref$showExport","showExport","_ref$showCopy","_ref$showPrint","_ref$exportColumns","exportColumns","_ref$hideSearch","hideSearch","_ref$filterMapper","filterMapper","_ref$useColumnFilters","useColumnFilters","_ref$initialPageSize","initialPageSize","_ref$onRefresh","onRefresh","_ref$maxHeight","maxHeight","_ref$customViewSettin","customViewSettingsComponents","_ref$hiddenColumns","hiddenColumns","_ref$queryPageSize","queryPageSize","_ref$queryPageIndex","queryPageIndex","_ref$queryCount","queryCount","_ref$handlePageChange","handlePageChange","_ref$handlePageSizeCh","handlePageSizeChange","_ref$handleResetFilte","handleResetFilterChange","_ref$handleColumnSort","handleColumnSorted","_ref$handleSearchFilt","handleSearchFilterKeywordChange","_ref$columnSortOption","columnSortOptions","_ref$autoResetFilters","autoResetFilters","_ref$isCheckAutoActiv","isCheckAutoActivation","_ref$toggleAutoActiva","toggleAutoActivationCheckbox","_ref$isProvisionOrder","isProvisionOrders","_ref$handleSearch","handleSearch","_ref$isCheckAttention","isCheckAttentionRequired","_ref$setIsCheckAttent","setIsCheckAttentionRequired","_ref$setTimerComplete","setTimerCompleted","onTimerComplete","isLoading","noContent","showSettingsModal","setShowSettingsModal","manualSearchTerm","setManualSearchTerm","tableHooks","useGlobalFilter","useSortBy","manualPagination","tooltipOpen","setTooltipOpen","_useContext","timeLeftRef","formatTime","formattedTime","setFormattedTime","isSinch","useExpanded","usePagination","useFilters","canFiltersRestore","defaultColumn","Filter","globalFilter","rows","_accessors","filteredParentIds","childIdToParentMap","Map","originalSubRows","subRow","rowMatchesFilter","filterable","some","lowerCaseIncludes","matches","original","subRowMatches","parentId","_useTable","useTable","pageCount","Math","ceil","initialState","getTableProps","getTableBodyProps","headerGroups","prepareRow","page","canPreviousPage","canNextPage","pageOptions","gotoPage","nextPage","previousPage","setPageSize","setGlobalFilter","setAllFilters","setHiddenColumns","userHiddenColumnsAccessors","configureSettings","setUserHiddenColumnsAccessors","_getColumnSettings$is","_getColumnSettings","useUiTableSettings","_usePrint","readyForPrint","setReadyForPrint","resolveOnBeforePrint","prevColumns","usePrint","nonUserHiddenColumns","onPageChange","anyFilters","hasPagination","pageSizes","dropdownOpen","setDropdownOpen","dropdownItems","setDropdownItems","time","floor","secondsLeft","padStart","orderActions","action","_OrderNumberActionCon","DropdownItem","handleActionSelected","storedStartTime","storedDuration","elapsedTime","now","remainingTime","timerId","setInterval","clearInterval","CardHeader","checked","zIndex","marginTop","marginLeft","onMouseEnter","onMouseLeave","showDropDown","bsSize","hasCustomFilters","handleSelectAll","selectedCount","orderCount","Dropdown","backgroundColor","border","boxShadow","padding","aria-hidden","DropdownMenu","right","handleProvisionOrders","isOrderTable","isWorkQueueTable","Table","assign","headerGroup","getHeaderGroupProps","getHeaderProps","getSortByToggleProps","render","isSorted","isSortedDesc","canFilter","_columnSortOptions$co","_columnSortOptions$co2","getRowProps","selectedActionOrders","orderId","selectedOrders","cells","cell","getCellProps","CardFooter","caret","onPageSizeChange","numberOfPages","Pagination","listClassName","PaginationItem","PaginationLink","ServiceProviderApi","serviceProvider","file","FormData","append","PermissionType","Permissions","CNAM","History","Explore","Network","PortingProfiles","CarrierProfiles","RealNumberDNO","TradingPartners","Admin","CompanyAdmin","NetworkWrite","SOARead","SOAWrite","Webhooks","Reports","PreOrderFree","AllowCsr","Search","Provision","CNAMUpdate","Notifications","DisasterRecovery","SinchSearchAndProvision","authorize","permission","useSpid","selectedSpidIsAuthorized","userIsAuthorized","authorizeAny","CardSectionHeader","DropdownFormInput","_props$errorHandler","ProcessingTimeType","Instant","CheckboxFormInput","tooltipId","htmlFor","LnpInformation","isAdmin","handleInputClick","link","open","isRespOrgId","lnpTppLocation","lsrLocation","setServiceProvider","csrLocation","lnpSpeed","lnpPhoneNumber","lnpEmail","ixcRequired","TextAreaFormInput","_props$rows","fixedSize","OperationsInformation","businessHours","residentialRules","businessRules","ContactInformation","firstLevelSupport","firstLevelSupportEmail","firstLevelSupportPhoneNumber","secondLevelSupport","secondLevelSupportEmail","secondLevelSupportPhoneNumber","repairCenter","repairCenterEmail","Authorize","_appContext$localStor2","isAuthorized","userPermissions","spidPermissions","vpopDisabled","nonSpIdCompany","nonSpidDisabled","TradingPartnerApi","spid","tradingSpId","tradeRequestStatus","openNewBackgroundTab","TppStatus","TradingPartnerProfileCardFooterButtons","showAddLoadingIndicator","setShowAddLoadingIndicator","approveOrDeniedTradingPartner","tppStatus","tpp","requestTradingPartnerCallback","onActionExecuted","mailTo","getCustomMailTo","TppSubmitted","isTpp","TppDenied","TppAprroved","requestedTradeDate","TppRequestToTrade","newLine","subject","notes","DateTimeFormInput","_props$errorHandler2","FormatDate","localDate","FormattedDate","SvType","Wireless","class2_voip_no_num_assgnmt","vowifi","prepaid_wireless","class1_and_2_voip_with_num_assgnmt","sv_type_6","sv_type_7","sv_type_8","sv_type_9","getUserSpId","TradingPartnerProfileCardHeader","_props$serviceProvide","_props$serviceProvide2","_props$tpp","defaultIcon","setDefaultIcon","logo","setLogo","verifiedDateTooltipOpen","setVerifiedDateTooltipOpen","userIsAdmin","serviceProviderResult","userHasAccess","editMode","readOnlyMode","createMode","Blob","URL","createObjectURL","triggerRefreshLogo","onError","contactInformation","verifiedDate","FormateDate","united","setReadOnlyMode","TradingPartnerProfileCard","isVpop","setCreateMode","setTriggerRefreshLogo","validationChanged","setValidationChanged","_useTpp","setTpp","fetchTpp","useTpp","validateServiceProvideProfile","fetchServiceProvider","previousState","previous","lang","_e$target$files","files","closeModalOnCancel","useServiceProvider","setIsLoading","DefaultServiceProviderResult","activeRegions","lnpContact","lnpMethod","ServiceProviderModal","_useServiceProvider","showModal","cardIsUsedInModal","SpIdCell","setShowModal","bgGreen","labelColor","HistoryReportTable","historyData","setHistoryData","phoneNumberType","getWirelineColumns","getTollfreeColumns","Cell","numberActivity","activityDate","AccountType","AccountTypes","Residential","Business","DefaultNumberCnamUpsertModel","businessName","accountType","CnamModify","cnamModel","setCnamModel","parseInt","cancelCallback","modifyCallback","CnamDetails","isInputActive","setIsInputActive","cnamName","setCnamName","fraudScoreColorClassName","setFraudScoreColorClassName","_lookup$find","score","fraudScore","fraudText","fraudScoreDescription","cnamText","NumberHistoryModal","setCnam","showCnam","triggerRefresh","setTriggerRefresh","PhoneNumberCell","LoadingIndicator","white","small","DefaultDpcSsnInfo","classDpc","classSsn","lidbDpc","lidbSsn","isvmDpc","isvmSsn","cnamDpc","cnamSsn","wsmscDpc","wsmscSsn","DefaultOptionalDataInfo","altSpId","lastAltSpId","altBillingId","altUserLocationType","altUserLocationValue","voiceUri","mmsUri","smsUri","NpacRegion","MW","MA","NE","SE","SW","WE","WC","CA","npacRegionDropdownOptions","DefaultNumberDetails","originalSpId","providerName","ocn","npacRegion","activationDate","lata","rateCenter","lrn","billingId","userLocationType","userLocationValue","networkData","optionalData","NetworkDataTable","getColumns","OptionalDataTable","NumberDetailsModal","numberDetails","setNumberDetails","NumberDetailsCell","NumberTable","dataTableData","setDataTableData","ValidationResult","validateNumberInputValueListItem","InvalidRange","InvalidNumber","Valid","validateNumberInputValue","NoInput","validationResult","BreadcrumbHeader","Breadcrumb","BreadcrumbItem","getFormattedNumbers","numbers","usePastedNumberFormatter","inputValue","handlePaste","pastedValue","setPastedValue","indexOf","clipboardData","getData","NumberExplorer","searchInputValue","setSearchInputValue","searchValue","setSearchValue","focusedSearchInput","setFocusedSearchInput","onPaste","formattedValue","handleSearchChange","errorMessageIdResults","getDictionary","ServiceProviderDetails","NpaNxxApi","code","npanxx","npaNxx","npaNxxModel","TextRow","ActionDropdown","actionsOpen","actionsToggle","ActionDropdownItem","handleAction","iconClassName","labelId","ConfirmationModal","confirmButtonText","hideConfirmButton","confirmCallback","NpaNxxDeleteModal","networkExplorerContext","NetworkExplorerContext","clearSearch","NpaNxxCard","setActionsOpen","showDeleteModal","setShowDeleteModal","assignedDate","BlocksCard","blocks","block","effectiveDate","NpaNxxDetails","setNpaNxx","blockData","BlockApi","NumbersCard","number","lastActivtyDate","DefaultBlock","svType","FreeEmaildDomains","domains","isValidLrn","CreateBlockModal","setBlock","validateBlock","BlockDetailsCard","showModifyModal","setShowModifyModal","codeOwnerInfo","ocnName","NpacDetailsCard","GeographicDetailsCard","BlockDetails","setNumbers","LrnApi","LrnDeleteModal","npacRegions","setNpacRegion","event","LrnDetailsCard","_accountSpIds$some","_user$permissions$som","_user$permissions","accountSpIds","isAssociatedToUser","perm","lrnIsAssociatedToUser","lrnNumbers","lrnId","creationDate","blockCount","numberCount","LrnDetails","setLrn","DefaultLrnModel","CreateLrnModal","lrnModel","setLrnModel","validateLrn","DefaultNpaNxxModel","CreateNpaNxxModal","setNpaNxxModel","npaNxxObject","validateNpaNxx","NetworkProfileApi","dualCarrierList","isWholeSale","networkProfile","dualCarrierAdd","modify","profileId","dualCarrierModify","networkProfileId","dualCarrierDelete","NetworkProfileDeleteModal","networkProfileActionCallback","ManageAction","DefaultNetworkProfileDto","endUserLocation","endUserLocationType","description","selectPriority","chooseCustomers","applyToAll","carrier","isPrimary","isWholesale","companyIds","SelectPriorityType","CustomersModal","selectAll","setSelectAll","customers","setCustomers","isCustomerModalOpen","_props$companyIds","_props$selectedCustom","_props$companyIds2","selectedCustomers","initializedCustomers","customer","_props$companyIds3","selected","allSelected","every","toggleCustomerModal","CheckBoxFormInput","newSelection","handleIndividualSelect","CompanyClientType","NetworkProfileModal","_networkProfile$compa2","setNetworkProfile","setIsCustomerModalOpen","setSelectedCustomers","allCustomersSelected","setAllCustomersSelected","isWholeSaleCompany","clientType","WHOLESALE","wholesaleSpidArray","validateNetworkProfile","prevProfile","manageAction","Add","submitCallback","_networkProfile$compa","updatedNetworkProfile","PRIMARY","SECONDARY","field","handleCheckboxChange","allCustomers","handleCheckboxChangeApplyToAll","NetworkProfileActionsCell","NetworkProfilesCard","networkProfiles","NetworkItemType","NetworkExplorer","showDropdown","setShowDropdown","networkItemType","setNetworkItemType","setNetworkProfiles","fetchNetworkProfiles","handleCreateDropdownItemButtonClick","errorMessageIdResult","validateSearchValue","NetworkProfile","Block","NpaNxx","Lrn","SpidProfile","Provider","validationFunctions","4","5","6","7","10","OrderApi","spIds","tenant","stringifyUrl","query","arrayFormat","projectId","supplementModel","focDate","supplementType","rejectSupplementModel","updateOrderStatusModel","modifyModel","csrOnlyModel","noteModel","taskModel","taskId","completed","documentId","toISOString","DateRangeColumnFilter","canRestoreFilter","_React$useMemo","columnFilterOptions","_React$useMemo2","getMinDateInput","getMaxDateInput","restoredValues","getDateTimeInputStyle","_props$column5","filterIsSet","_props$column","_props$column2","_props$column3","filterValueMax","_values$","previousMaxDate","columnId","filteredValue","handleMinDateChange","_props$column4","filterValueMin","_values$2","previousMinDate","handleMaxDateChange","dateRangefilterFunction","filterValues","OrderNumberActionType","SinchApi","tnInventoryRequest","tnReserveRequest","tnOrderRequest","saveForLaterRequest","OrderService","scheduleActivationModels","cancelActivationModel","updateOrder","DefaultPortInModifyModel","modifyType","portDirection","oldSpId","dueDate","DefaultPortInModify","PortApi","portOrderProposal","disconnectDate","releaseDate","portIn","wholeSalePortIn","disasterRecoveryPort","newOutports","tnRange","PhoneNumberInput","handleChange","NpacMaintenanceAlert","SvRequestStatus","PortInModifyModal","_props$numberStatus","_props$numberStatus2","_props$order$numbers","_props$numberStatus3","_props$order$numbers2","_props$order$numbers3","_props$numberStatus4","_props$order$numbers4","_props$numberStatus5","_props$order$numbers5","_props$numberStatus6","_props$order$numbers6","phoneNumberRange","numberStatus","portInModifyModel","order","gainingProvider","loosingProvider","dpcSsnInfo","userLocation","portInModify","setPortInModify","validateModify","orderStatus","Failed","DefaultPortOutModifyModel","authorized","rejectionReason","DefaultPortOutModify","portOutModifyModel","Authorized","YES","NO","PortOutRejectionReason","CC00","CC01","CC02","CC50","CC51","CC52","CC53","CC54","PortOutModifyModal","portOutModify","setPortOutModify","reject","conflictCode","DefaultDisconnectModifyModel","DefaultDisconnectModify","disconnectModifyModel","DisconnectModifyModal","disconnectModify","setDisconnectModify","SupplementType","SupplementTypesList","OrderHandler","Other","OrderHandlerType","OrderHandlerTypesList","SelectOne","ServiceProvider","PortingDotCom","DefaultCustomerDetailsDto","accountNumber","accountName","accountPin","authorizedName","billingPhoneNumber","serviceAddress","directionPrefix","streetName","streetNameSuffix","directionSuffix","addressLine2","city","DefaultSupplementModel","customerDetails","orderHandler","AccountDetails","defaultRequiredFields","CsrOnly","isRequired","fieldName","collection","toLocaleLowerCase","overrideRequiredFields","setCustomerDetails","ServiceAddress","_props$serviceAddress","_props$serviceAddress2","_props$serviceAddress3","_props$serviceAddress4","_props$serviceAddress5","_props$serviceAddress6","_props$serviceAddress7","_props$serviceAddress8","_props$serviceAddress9","setServiceAddress","userZoneInfos","timeConstraints","step","AddSupplementModal","_appContext$localStor3","_props$order","_props$order2","metadata","handledBy","setSupplementModel","supplementVersion","prevModel","desiredDueDate","showLoading","setShowLoading","showConfirmationModal","setShowConfirmationModal","supplementOptions","orderHandlerOptions","selectedTimeZone","setSelectedTimeZone","timezoneOptions","zone","autoActivation","roundedMinutes","calculateInitialTime","selectedTime","setSelectedTime","handleOrderConfirmation","autoActivationDate","record","formattedDate","timeZone","getNewSupplementModel","validateAccountDetails","Datetime","input","selectedOption","styles","dropdownIndicator","provided","backdrop","Automated","DefaultOrderMetadataDto","createdBy","createdTimestamp","modifiedBy","correspondingOrderId","modifiedTimestamp","fullOrPartialPort","DefaultOrder","csrRequested","PortIn","ActionRequired","preOrder","documents","availableActions","tnsInOtherOrders","activationTimeZone","svId","requestId","ApproveSupplementConfirmationText","All","ApproveSupplementModal","setDueDate","setOrder","prevOrder","confirmationMessageId","SupplementRejectionReason","ACCN","AUCN","PIN","BILL","EUSA","PEND","FREZ","FEOA","TNMI","OTHER","DefaultRejectSupplementModel","RejectSupplementModal","setRejectSupplementModel","validate","rejectDescription","SupplementWarningModal","ExecuteSupplementAction","isUserAdmin","hasSvIdCreated","isWithIn24Hrs","UpdateOrderToSubmittedStatusModel","Submitted","rejectionRemarks","DefaultRejectCsrStatusModel","CSRInvalid","UpdateOrderStatusModal","update","RejectCsrModal","rejectCsrModel","ModifyCsrType","ModifyCsrTypes","AccountInfo","DefaultModifyCsrModel","ModifyCsrModal","modifyCsrModel","setModifyModel","_modifyModel$dueDate","getNewModifyCsrModel","OrderRequestType","OrderRequestTypes","OrderOnly","PreOrderAndOrder","CSROnly","NewOrderRequestType","NewOrderRequestTypes","autoActivationconv","isMoment","AutoActivationModal","_props$order3","selectedActivationTime","selectedActivationTimeZone","handleCloseModal","actionSelected","isOrderDashboard","CancelAutoActivationModal","cancelReason","setCancelReason","handleCancelActivation","RestoreToOriginalModal","SinchUpdateOrderModal","ExecuteOrderAction","isCsrOnlyOrder","PortOut","_props","onAfterActionExecution","onFinally","handlePortingNumberAction","isCsrToLsrRequest","isLsrSubmit","previousOrder","orderRequestType","isSupplementAction","isLessThan24Hours","dateInMillis","currentMillisUTC","formatDate","dateStr","_dateStr$split","_dateStr$split2","datePart","timePart","meridian","_datePart$split$map","_datePart$split$map2","month","year","_timePart$split$map","_timePart$split$map2","UTC","_dateStr$split3","_dateStr$split4","diffInHrs","calcLessThan24Hours","CSRRequested","PreOrderPending","Canceled","CSREscalated","CSRReceived","builtScheduleActivation","modifiedDate","tnCount","cancelledReason","orderActivitiy","reason","builtCancelActivation","tnOrder","tnList","tnItem","tn","trunkGroup","routingOption","statusCode","OrderActionCell","_props$order$availabl","selectedAction","setSelectedAction","excludedActions","bulkActionSelected","bulkActionOrderId","SpidsCustomViewSettings","_this","_len","args","_key","_callSuper","settingIdentifier","selectAllCheckbox","selectedSpidList","spidLookup","searchResults","getUser","searchAndUpdateSearchResults","results","searchAndFilter","setState","foundSpIds","getInitialStateForSelectedSpids","_localStorageUser$set","_localStorageUser$set2","localeCompare","numeric","sensitivity","_settings$spidFilterS","_settings$spidFilterS2","_settings$spidFilterS3","foundSelectedSpid","uuidv4","toggleSpidSelection","spidId","spidIdx","updated","toggleSelectAllSearchedSpids","spidList","m","spidName","_this$state$spidLooku","_this2","flexDirection","getSpidLabel","ColumnsCustomViewSettings","columnsSettingsFormState","getInitialFormState","notConfigurable","toggleIsVisible","OrderLink","isDisasterRecovery","isRestore","urlRoutePath","StatusType","getNumberStatus","altStatus","RestoreTableColumnFilter","_props$columnFilterOp","_props$columnFilterOp2","hasValidFilterValue","restoreTableColumnFilterFunction","DuplicateTNNotifier","userSpIdProfiles","spidOfOtherOrders","orderInfo","unique","uniqueNumber","columnValue","duplicateOrders","duplicateInfo","OrderSelect","nativeEvent","shiftKey","OrderTable","setOrders","ordersFiltered","setOrdersFiltered","columnFiltersChanged","setColumnsFiltersChanged","columnFiltersOptions","setColumnFiltersOptions","columnFilterSort","setColumnFilterSort","searchFilterTermValue","setSearchFilterTermValue","tableData","setTableData","_useState19","_useState20","_useState21","_useState22","setSelectedOrders","_useState23","_useState24","setSelectedActionOrders","_useState25","_useState26","setSelectedCount","_useState27","_useState29","_useState30","setOrderActions","_useState31","_useState32","setbulkActionSelected","_useState33","_useState34","setBulkActionOrderId","_useState35","_useState36","modifyOrder","setModifyOrder","_useState37","_useState38","isFoundCount","setIsFoundCount","_useState39","_useState40","_useState41","_useState42","isAutoActivationSelected","setIsAutoActivationSelected","_useState43","_useState44","setActionSelected","_useState45","_useState46","setIsCheckAutoActivation","_useState47","_useState48","_useState49","_useState50","_useState51","_useState52","updateAndSetOrders","filterAndSort","extractColumnFiltersOptions","setDefaultPagination","_useState53","_useState54","tableColumnList","setTableColumnList","_useState55","_useState56","setPageIndex","_useState57","_useState58","isUserCompanyAdmin","sortOptions","applySearchKeywordsFilter","filteredBySearchTerm","columnsNames","cn","prevCount","applyOrdersColumnFilter","_appContext$localStor4","_appContext$localStor5","filteredData","columnFilterNames","_appContext$localStor6","allColumnFilter","fn","equalFilter","isAny","isAnyRange","dateRangeFilterValues","fd","applyColumnSorting","sortedOrders","hasColumnSort","firstSortedColumnId","k","firstSortedColumnIdNormalized","normalizeFieldName","isNumericField","v1","isInteger","diff","filteredOrders","attentionRequired","filterAttentionReqOrders","filtered","sorted","filteredBySearchKeywords","filterAutoActivationOrders","lookup","_appContext$localStor7","getMonth","getDate","toDateString","normalizedFieldName","_useState59","_orderSettings$spidFi","_orderSettings$spidFi2","orderSettings","prevSelected","prevSpId","selectedSpids","_useState61","_appContext$localStor8","isNonSpidProfileSelected","dueDateFilter","toggleRefresh","_useState63","_useState64","getHiddenColumns","updateHiddenColumns","_appContext$localStor9","_appContext$localStor10","excludedColumnsForSpid","CarrierName","excludedColumnsForWholesale","noTableSettingsConfigured","_appContext$localStor11","_allColumnFilter$page","propsWithonChangeObject","propsEvent","filterOptions","unfilteredList","Selected","handleChangeOrder","AdminProjectId","Operations","filteredList","columnsList","_appContext$localStor12","_appContext$localStor14","_appContext$localStor15","spidValue","toUpperCase","uniqueSpids","self","isValidWholeSaleAdmin","_appContext$localStor13","wholesaleSpidCompanyId","isWholesaleClient","_appContext$localStor16","mixApiCalls","all","_ref4","dateA","pcApiCalls","customViewSettingsTabs","tabs","_ref5","actions","actionCounts","reduce","acc","filteredActions","shiftKeySelected","selectedElementIndex","lastIndex","startIndex","endIndex","updatedOrder","fetchOrder","setAction","onAfterActionExecutionModal","handleBulkAction","actionPromises","handleScheduleActivation","_appContext$localStor17","_appContext$localStor18","getOrdersFilteredCount","orderListDto","SoaItemType","DefaultDisconnect","DisconnectModal","disconnect","setDisconnect","phoneNumbersErrorsErrorHandler","phoneNumbersErrors","validateDisconnect","DefaultModify","clientReference","portToOrginal","ModifyModal","setModify","loadingNumberDetails","setLoadingNumberDetails","hasNotAllowedSpId","setHasNotAllowedSpId","lastFetchedNumber","setLastFetchedNumber","getSelectedSpId","fetchNumberDetails","newModify","fetchNumbers","isNumberRange","AuditApi","audit","auditId","DefaultRequestAuditModel","CreateAuditModal","setAudit","validateAudit","DefaultTnInventoryRequestDto","npa","nxx","line","quantity","consecutive","ErrorList","onDismiss","duplicateNumbers","portProposals","gainingSpidIsExternal","currentStatusValue","ApiErrorType","SearchAndProvisionModal","searchAndProvision","setSearchAndProvision","tnInventoryErrors","setTnInventoryErrors","validateSearchAndProvision","_result$tnResult","tnResult","countryCode","Danger","navTitlesRoutes","routes","isActive","titles","SinchOrderTable","_useState28","_useState62","successCount","failureCount","updatePromises","SinchOrderList","OrdersList","soaItemType","setSoaItemType","PORTCONTROL","SearchAndProvision","Disconnect","Audit","HashRouter","Switch","Route","exact","translations","en","ChangePasswordDefault","currentPassword","newPassword","PasswordFormInput","autoComplete","ChangePasswordCard","setChangePassword","userLocales","ProfileCard","mapToUpdateUserDto","profile","setProfile","MyProfile","SupportModal","goBack","UserApi","DefaultUser","lockoutEnd","givenName","familyName","fullname","ClaimTypeUri","groupsid","primarygroupsid","ClaimType","UserModal","setUser","roleClaims","setRoleClaims","claimsLoaded","setClaimsLoaded","showUserLoadingIndicator","setShowUserLoadingIndicator","manageContext","ManageContext","availableCompanies","_SetClaims","allAssignableClaims","userClaims","roleClaimsModel","loggedInUser","loggedInUserPermissions","loggedInUserSelectedProfilePermissions","allPermissionsLoggedInUser","getUniqueClaimValues","setUserCompany","loggedInUserCompanyId","SetClaims","userDto","claims","getClaims","userName","userCallback","saveUser","group","claim","claimValue","stateClaim","claimToggleHandler","UserDeleteModal","UserActionsCell","UsersCard","users","userOrganization","updColumns","splice","CompanyApi","company","mediumTimer","ServiceProviderDeleteModal","setCompanyId","serviceProviderCallback","ServiceProviderSettingsApi","updateSettingsModels","ConfiguredParameterInput","memoizedOptions","_props$inputConfigura","_props$inputConfigura2","inputConfiguration","dropdownOptions","keyTranslationId","renderInput","placeholderId","appendValueTranslationId","appendValueId","ServiceProviderConfiguredParameter","NumberFormInput","appendValue","ServiceProviderConfiguredParameterConfigurations","MediumTimerSupport","SvTypeSupport","NpacConnectionType","AutomatedActivationTime","parsedValue","formatValue","AutomatedArchivingDelay","LSRRejectedCancel","ModifyServiceProviderParametersModal","parameters","setParameters","parametersLoaded","setParametersLoaded","setUpdateSettingsModels","parameterId","processName","apiError","changedModels","_parameters$find","parameterInfo","_updateSettingsModels","updateModel","ServiceProviderActionsCell","ServiceProvidersCard","companies","getFilterMapper","serviceProviders","tenantType","sortType","inPortControl","associatedSpId","spInfo","SpIdConnectionType","SecondarySpId","GrantorSpId","Free","DefaultServiceProvider","ServiceProviderCreateModal","CompanyType","DefaultCompanyDto","addressLine1","primaryContactEmail","notificationEmail","nonSpId","csrEnabled","tenantId","statusIssueReport","DefaultCompany","companyDto","OrganizationModal","setCompany","parent","primaryContact","validateCompany","organizationCallback","OrganizationDeleteModal","OrganizationActionsCell","OrganizationsCard","transformToAccountHierarchyData","parentName","OrganizationCompanyTypeIcon","_row$original$parentS","parentSpId","OrganizationRowExpanderAction","companyInfo","_companyInfo$associat","_companyInfo$parentSp","filterParentWithChildSubRows","filterStandAloneAccounts","companyType","Parent","validChildCompanies","Child","created","primaryContactId","ag","sa","StandAlone","accountIdentifierText","accountIdentifierClassName","expandClassName","canExpand","isExpanded","getToggleRowExpandedProps","paddingLeft","ManageItemType","Manage","setUsers","setCompanies","setServiceProviders","usersLoaded","setUsersLoaded","organizationsLoaded","setOrganizationsLoaded","spidsLoaded","setSpidsLoaded","manageItemType","setManageItemType","setUserOrganization","fetchOrganizations","fetchServiceProviders","fetchUsers","updatedUserOrganization","User","SpId","hubConnection","isConnected","SignalRClient","methodName","initialise","_hubConnection","on","_on","newMethod","HubConnectionBuilder","withUrl","skipNegotiation","transport","HttpTransportType","WebSockets","accessTokenFactory","configureLogging","LogLevel","withAutomaticReconnect","build","start","console","log","NotificationApi","count","notificationId","NotificationService","initalise","_initalise","updateNotifications","newNotification","markAsRead","_markAsRead","notification","isRead","notifications","notificiation","_updateNotifications","PortService","ExecuteNumberAction","orderDetailsContext","OrderDetailsContext","newActionExecutedValue","numberStatusDto","PortingNumbersTableActionsCell","setActionCompleted","PortingNumbersTableActionsButton","toggleAction","TextWithTooltip","textRef","PortingNumbersTable","resolution","failedReason","InlineEdit","setInputValue","handleEscape","handleInputKeyUp","onSetText","successful","handler","listener","contains","addEventListener","removeEventListener","useOnClickOutside","textIsEmpty","onKeyUp","OrderMetadataCard","orderMetadata","setProjectId","patchOrderProjectId","newProjectId","CardTitle","labelText","OrderTypeConfigurations","messageId","modifyactive","OrderPortTypeCard","gainingSpid","loosingSpid","SvRequestStatusConfigurations","Pending","ActivatePending","Active","CancelPending","Conflict","DisconnectPending","Old","PartialFailure","Sending","ReceivedFoc","Rejected","CSRPending","CSRModified","CSRApproved","Incomplete","Complete","PartialSuccess","InProgress","Expired","OrderStatusCard","_SvRequestStatusConfi","_OrderTypeConfigurati","_SvRequestStatusConfi2","_SvRequestStatusConfi3","_SvRequestStatusConfi4","_SvRequestStatusConfi5","NoteOrigin","NoteVisibility","Private","Public","noteVisibilityDropdownOptions","NoteBlock","noteDto","origin","System","visibility","createdAt","note","DefaultAddNotesModel","isPrivateNote","NoteForm","setNoteModel","showSaveLoadingIndicator","setShowSaveLoadingIndicator","NotesCard","noteDtos","setNoteDtos","data-timeline-axis-style","data-timeline-content","DefaultTasksModel","nextWorkDate","assignedTo","TaskForm","getDefaultModel","setTaskModel","TaskModal","taskDto","TaskListItem","descriptionOverflowing","setDescriptionOverflowing","descriptionRef","checkOverflowing","clientHeight","scrollHeight","isSame","onCheck","TasksCard","taskDtos","setTaskDtos","toggleTask","task","actionMessageTranslationId","HandlingOverview","FileDownload","callback","_ref$current","click","download","fileName","hidden","DeleteDocumentConfirmationModal","documentName","Document","documentUrl","setDocumentUrl","showDeleteConfirmationModal","setShowDeleteConfirmationModal","deleteDisabled","deleteDocument","Documents","fileInputMarginTop","newDocument","uploaded","addDocument","CsrRequest","allowCsr","csrRequest","setCsrRequest","OrderDetailsCard","_props$order$customer","OrderDetailsContainer","useProfileSwitcher","navigate","needToSwitchProfile","spIdProfile","OrderDetails","useParams","getTenant","switchProfile","PublicRoute","Redirect","DefaultExcelTemplateRow","dueTime","ExcelTemplateRowHeaders","DropzoneArea","dropzoneOptions","onDrop","acceptedFiles","addNumbersToTextAreaHandler","saveExcelTemplateAccounts","accept","acceptedFileTypes","_useDropzone","useDropzone","getRootProps","getInputProps","isDragActive","isDragAccept","isDragReject","getContainerClassName","numberResultCallback","excelTemplateAccountsCallback","reader","FileReader","onload","binary","bytes","Uint8Array","byteLength","fromCharCode","fileExtension","lastIndexOf","handleTextContents","handleExcelContents","readAsArrayBuffer","elems","elemsArray","contents","read","sheet_to_json","raw","excelTemplateRows","parseExcelTemplate","getAccountsFromExcelTemplate","excelContent","excelRow","propertyName","parsedRow","configuredExcelHeader","matchingExcelRowPropertyName","excelRowPropertyName","first","second","_excelRow$matchingExc","_excelRow$matchingExc2","parseValue","createNewAccount","lrnPtoGroupNumbers","excelRows","excelAccounts","existingAccount","isFromAccount","existingLrnPtoGroup","lrnPtoGroup","newGroup","addDataToExistingAccount","containerClass","normalizedValue","OrderHandlerMap","ATLC","Select2Dropdown","Select2","defaultValue","showErrorMessage","PortOutValidationSection","loadingIndicator","setLoadingIndicator","selectedSpId","setSelectedSpId","setSpids","showSpidRequiredValidationMessage","setShowSpidRequiredValidationMessage","generateCardCallback","noOfPhoneNumbers","validationMessages","PhoneNumberListItem","deletePhoneNumberHandler","DeleteLastPhoneNumberModal","OrderCardStatus","OrderCardStatuses","Created","DocumentsUploadFailed","NotSubmitted","NewDocumentsAdded","DocumentRemoved","OrderCardStatusIcon","PortCardHeader","showStatusIcon","orderCardStatus","PortOutCard","showDeleteLastPhoneNumberModal","setShowDeleteLastPhoneNumberModal","PortOutContext","deletePhoneNumberCallback","deleteOrderCardCallback","validateOrder","portOutModel","hasErrors","setPortOutModel","dateTime","newProviderName","newSpId","PortOutProposalSection","apiErrors","setApiErrors","createOrder","mapPortOutModelToNewOutportDto","DefaultPortOutModel","validationErrorMessages","setValidationErrorMessages","generateCardHandler","portOutContext","PortInValidationSection","hugeInputValues","setHugeInputValues","setCurrentStatusValue","isDisableValidationButton","setIsDisableValidationButton","isSuppressDuplicateTnValidation","setIsSuppressDuplicateTnValidation","getSelectedProfile","_props$portProposals$","_props$portProposals","_props$portProposals$2","curr","_getSelectedProfile","defaultOrderRequestType","setOrderRequestType","orderTypesList","_getSelectedProfile2","_availableOrderTypes","_getSelectedProfile3","_availableOrderTypes2","availableOrderTypes","ot","notPortable","msg","currentStatus","hugeInputValue","accounts","setExcelTemplateAccounts","isShowLoadingIndicator","_props$validationMess","DeleteOrderCardModal","deleteOrder","isDelete","PortInCardLrnInput","_props$orderCard$numb","showNetworkProfileModal","setShowNetworkProfileModal","orderCard","availableProfiles","setSelectedProfile","handleSelectedProfileEdit","PortInCard","activeAccountOrderCards","setOrderCards","isOrderOnly","originalCardState","setOriginalCardState","cardLoaded","setCardLoaded","getCurrentOrderCard","setOrderHandler","newOrderCards","currentOrder","canBeCsrRequested","isCsrRequested","validateAndSelectHandle","CircularJSON","currentCard","clonedCard","serializedValue","_originalCardState$le","stateHasNotChanged","spidLogo","loosingProviderName","showNetworkDetails","newProfile","editedProfile","showOrderHandler","FullOrPartialPort","PortInOverview","overviewModel","setPortInOverviewModel","convertedFromPreviousOrder","setSelectedActivationTime","setSelectedActivationTimeZone","accountDetailsRequiredFields","canDisplayCustomerDetailsField","overrideCustomerDetailsFieldsOrUndefined","DefaultCustomerDetailsFields","validatePortInOverview","handleDueDateChange","Full","Partial","selectedDueDate","isValid","combinedDateTime","showApplyAll","applyAll","showCustomerDetails","overview","isServiceAddressApplicable","PortInAccountTab","_props$overviewModel$","setOverviewModel","orderCards","_props$spidLogos$find","spidLogos","showStatusInOrderCards","createFromSingleTab","createAllSelected","createAll","createIndividual","hide","BackToStepOneModal","discardPreviousData","PortInBackButton","showBackToStepOneModal","setShowBackToStepOneModal","backButtonCallback","PortInHeaderError","accountModels","accountModel","_accountModel$apiErro","UncontrolledAlert","errorMessage","PortInProposalSection","setCreateAllSelected","setAccountModels","orderDeleted","setOrderDeleted","listOfAccountsWithErrorsMessage","_accountModel$apiErro2","_useActiveAccount","activeAccountIndex","setActiveAccountIndex","setActiveAccountModel","newAccountModel","oldAccountModel","activeAccount","useActiveAccount","setAccountModel","accountIndex","oldOverviewModel","_useDocuments","removeDocumentsThatFailedToUpload","fileNamesToDelete","_x$documents$find","orderDocument","uploadFailed","newApiErrors","doc","uploadDocument","documentErrors","currentDocument","_accountModel$apiErro3","_accountModel$apiErro4","_document$file","uploadOrderDocuments","useDocuments","handleSetOrderCards","_useCreateOrders","autoActivatioinDate","formattedMinDateTime","mapOrderCardModelToPortInModel","orderNumber","_orderNumber$selected","_orderNumber$selected2","_orderNumber$selected3","_orderNumber$selected4","_orderNumber$selected5","_orderNumber$selected6","_orderNumber$selected7","portInModel","isNullOrEmpty","prePortInModelUpdate","mapOrderCardModelToWholeSalePortInModel","_orderNumber$selected8","_orderNumber$selected9","_orderNumber$selected10","_orderNumber$selected11","_orderNumber$selected12","_orderNumber$selected13","_orderNumber$selected14","gainingAltSpid","altSpid","loosingAltSpid","prePortInWholesaleModelUpdate","mapPortInModelToCsrOnlyModel","losingSpId","findCardFilter","newOrderCard","n2","wholeSalePortInModel","currentOrderIdx","t1","newCard","updatedAccounts","t2","resetAccountErrors","validateAccountModelsAndSetApiErrors","missingDocumentsErrors","requiredFields","fieldKey","_map","missingFieldMessageFn","toLocaleUpperCase","substr","csrRequestedMissingRequiredFields","_map2","_map3","portInMissingDueDate","_map4","errMsg","createOrdersForAccount","createOrdersForAllAccounts","useCreateOrders","validateAccountModels","backToStepOne","_props$showCustomerDe","accountToUpdate","DefaultPortInAccountModel","DefaultExcelTemplateLrnPtoGroup","DefaultOrderCardModel","PortInConfiguration","getDueDateFromExcelAccount","excelAccount","orderCardDueDate","datePortion","timePortion","usePortInAccountModelMapper","sortAndMergeAccountModels","models","flatMap","splitAccountModelsBySpid","accountsXcheck","accountsFound","account2","_account$customerDeta","_account2$customerDet","_account$customerDeta2","_account2$customerDet2","_account$customerDeta3","_account2$customerDet3","_account$customerDeta4","_account2$customerDet4","_account$customerDeta5","_account2$customerDet5","_account$customerDeta6","_account2$customerDet6","_account$customerDeta7","_account$customerDeta8","_account2$customerDet7","_account2$customerDet8","_account$customerDeta9","_account$customerDeta10","_account2$customerDet9","_account2$customerDet10","_account$customerDeta11","_account$customerDeta12","_account2$customerDet11","_account2$customerDet12","_account$customerDeta13","_account$customerDeta14","_account2$customerDet13","_account2$customerDet14","_account$customerDeta15","_account$customerDeta16","_account2$customerDet15","_account2$customerDet16","_account$customerDeta17","_account$customerDeta18","_account2$customerDet17","_account2$customerDet18","_account$customerDeta19","_account$customerDeta20","_account2$customerDet19","_account2$customerDet20","_account$customerDeta21","_account$customerDeta22","_account2$customerDet21","_account2$customerDet22","accountMatches","cloneAccount","_JSON$parse","_i","ac","cloneDeep","_account$dueDate","dueDateString","clonedAccount","dueDateObject","clonedCards","cards","getCardsFn","card","mapToOrderCardModels","orderProposal","lrnProfiles","lrnGroups","_orderNumber$availabl","profileIdGuid","profileForExcelLrn","_availableProfiles","currentProviderName","currentSpId","_availableProfiles2","accountContainsOrderNumber","_account$lrnPtoGroupN","mapToModel","portProposalDto","_accountModels","proposal","_account$accountType","_account$accountType2","_proposal$orders$filt","newAccount","profiles","mapToPortInAccountModel","proposalDto","proposalsWithNewOrderNumbers","newLrnGroup","findNewPortInAccount","mapOrderToAccount","_order$numbers$","PortInHandlers","setPreviousOrder","orderRequestTypesWithCsrRequest","excelTemplateAccounts","setPortProposals","showAccountDetails","spidLogosRetrieved","setSpidLogosRetrieved","setSpidLogos","PortInAccountModelsMapper","selectCsrRequestByDefault","tenantHasCsrPermissions","filterUniqueObjectsByLataAndNumbers","uniqueLATAs","selectOrderRequestHandler","hasCsrRequest","selectedOrderHandler","fetchSpidLogos","logoResponse","requestPortProposalAndSetErrors","numbersToPort","ClientOrderRequestType","selectedProfileCompanyId","handlePortApiRequest","apiEndpoint","validateNumbers","checkAndImportAccountFromPreviousOrder","_PortInAccountModelsM","accountModelsMapped","_PortInHandlers","showNumberInputAndValidationStep","_accountModel$orderCa","validateNumbersAsync","numberInput","inputStr","AuditTable","audits","setAudits","requestedDate","AuditList","DefaultNpacAuditReply","AuditStatus","FailedSpListCell","failedSpList","AuditNumbersCard","auditNumberStatus","auditDate","AuditDetails","auditDetails","setAuditDetails","PrivateRoute","NotificationsDropdown","setNotifications","unreadNotifications","setUnreadNotifications","Media","ListGroup","flush","ListGroupItem","notificationDate","dropdownParent","onOpen","autofocus","$","querySelector","focus","onOrderDetailsPage","FeedbackButton","isqaUrl","istestUrl","isdevUrl","isMixQAUrl","isMixUatUrl","AdminNavbar","currentUrl","isInOrderDetailsPage","recordsWithUniqueIds","initializingIdwithSelectedSpidProfile","setId","getBannerTitle","profileText","_profile$companyId","wholeSaleUserSpidText","userSpidText","spIdText","sidenavOpen","toggleSidenav","header","isWholeSaleClientType","spidInfo","selectSpidHandler","divider","MenuItem","routeName","collapseOpen","setCollapseOpen","handleCollapse","highlightUrls","aria-expanded","Collapse","linkTo","closeSidenav","BodyClassUtil","classList","remove","TooltipOnHover","popoverOpen","setPopoverOpen","UncontrolledPopover","PopoverBody","Sidebar","sidebarRef","innerWidth","handleClickOutside","windowWidth","AdminLayout","setSidenavOpen","setWindowWidth","isManualToggle","setIsManualToggle","handleResize","ToastContainer","hasAnyPermissions","AdminRoute","QueryApi","queryId","QuerySvTable","querySvs","setQuerySvs","npacQueryRequestDto","completionDate","DefaultRequestQueryModel","CreateQueryModal","setQuery","validateQuery","QuerySv","DefaultNpacQueryResultDto","QueryDetailsTable","svQueryDetailsDto","oldDueDate","newDueDate","QueryDetails","queryDetails","setQueryDetails","Unauthorized","Index","WebhookApi","webhookId","notificationDto","DefaultNotificationModel","uri","subscriptions","NotificationType","NotificationPermissionType","NotificationModal","notificationModel","setNotificationModel","notificationLoaded","setNotificationLoaded","setSubscriptions","subscriptionsLoaded","setSubscriptionsLoaded","notificationContext","NotificationContext","getNotificationModelWithDetails","getNotificationModelWithSubscriptions","subscriptionToggleHandler","subscriptionDto","stateSubscription","modalTitle","notificationType","Webhook","notificationCallback","general","subscriptionModel","orderNPACFailedRequests","newPortOutRequestReceived","orderNPACSvUpdated","EmailSubscription","_notificationDto$subs","_notificationDto$subs2","resultSubscriptions","subscription","NotificationNameCell","connectionId","NotificationDeleteConfirmationModal","notificationName","NotificationPauseConfirmationModal","NotificationPauseAction","showPauseModal","setShowPauseModal","NotificationResumeConfirmationModal","NotificationResumeAction","showResumeModal","setShowResumeModal","NotificationActionsCell","enabled","NotificationStatus","NotificationTable","Paused","createdDate","NotificationList","setNotificationType","DefaultReportDto","exploreCount","cnamCount","historyCount","portInCount","portInData","portOutCount","portOutData","portInPortControlCount","portOutPortControlCount","ReportsApi","CountCard","titeTranslationId","descriptionTranslationId","CountsCards","reportDto","iconBackgroundColor","PortedNumbersChart","chartRef","days","_","getChartLineData","ctx","getContext","Chart","getChartOptions","portStatistics","chartPoint","getDataSet","fill","borderColor","labels","datasets","tooltips","mode","titleAlign","callbacks","responsive","maintainAspectRatio","legend","display","scales","yAxes","ticks","beginAtZero","xAxes","gridLines","PortedNumbersChartCard","DefaultExportModel","DefaultExportDto","emailAddress","productType","activity","direction","modality","transactionCount","transactionDate","DefaultExportActiveTnsDto","returnedDate","returnedSpid","DefaultExportPortingReportDto","losingSpid","ExportCard","showExportLoadingIndicator","setShowExportLoadingIndicator","exportModel","setExportModel","exportDtos","setExportDtos","exportActiveTnsDtos","setExportActiveTnsDtos","exportPortingReportDtos","setExportPortingReportDtos","csvRef","reportType","setReportType","handleExport","handleActiveTnsExport","handlePortingReport","getCsvData","getActiveTnsCsvData","getPortingReport","getCsvActionData","reportFileNames","handleExportClick","reportDtoLoaded","setReportDtoLoaded","setReportDto","NotificationReloadButtons","reload","closeNotificationCallback","versionChanged","VersionChecker","notificationDisplayed","interval","draggable","BOTTOM_CENTER","WorkQueueApi","WorkQueueTable","workItems","setWorkItems","onToggleRefresh","updateAndSetWorkItems","_undefinedIfEmpty","idColumn","Id","customViewSettingsColumnsMap","CreationDate","workItemDto","StatisticsCards","statisticsDto","setStatisticsDto","statisticsDtoLoaded","setStatisticsDtoLoaded","toggleRefreshValue","newOrders","pendingOrders","reviewOrders","supplementedOrders","rejectedOrders","WorkQueueList","setToggleRefreshValue","WorkQueueDetails","DefaultSignupModel","companyName","associatedSpid","portControlSpidsAccess","licenseAgreed","SignupForm","setModel","requestModel","onSignUpSuccessfull","domainPart","isEmailFromFreeDomain","SignupVerify","Signup","signUpSuccessfull","setSignUpSuccessfull","SignupVerification","setApiError","verificationSuccessfull","setVerificationSuccessfull","verifyToken","FormattedHTMLMessage","DefaultBillingTransactionsDto","clientBillingId","productBillingType","productBillingId","BillingTransactions","billingTransactionsDtos","setBillingTransactionsDtos","DefaultPendingReportsDto","orderStatusCrossCheck","portControl_Tenant","portControl_TenantType","portControl_SvId","portControl_PhoneNumber","portControl_OrderId","portControl_OrderType","portControl_NewSpId","portControl_OldSpId","portControl_NewDueDate","portControl_OldDueDate","portControl_Status","portControl_Authorized","portControl_ModifiedDate","npac_VersionId","npac_NewSpId","npac_OldSpId","npac_Status","npac_NewDueDate","npac_OldDueDate","npac_Authorized","npac_CompletionDate","PendingReports","pendingReportsDtos","setpendingReportsDtos","AdminReports","InventoryType","DnoApi","dnoFlag","InventoryModal","selectedFile","setSelectedFile","setBulkDnoFlag","trueNumbers","errorCount","loadTable","operation","dno","errorList","entries","errorListNumbers","errorDNOStatus","bsCustomFileInput","init","falseNumbers","Papa","skipEmptyLines","fileData","Dno","DnoSwitchModal","setIschecked","ToggleCheckbox","isChecked","loading","InventoryTableColumnIdentifiers","InventoryTable","spidDetails","setSPIDDetails","definedColumns","getCol","setCount","setDefaultCount","searchKey","setSearchKey","setOrderByColumn","setOrderDirection","getSpiddetails","currentPage","totalRows","isInventory","isPooled","sortableColumns","PhoneNumber","AltSpid","Type","LastModifiedDate","columnSortOption","prevSortOptions","getTitleComponent","isDNO","ProviderName","Ocn","Lata","State","RateCenter","PooledTable","spidPooledDetails","setSpidPooledDetails","blockDashDetails","setBlockDashDetails","totalBlockDashDetails","setTotalBlockDashDetails","selectedBlockDashValue","setSelectedBlockDashValue","setNoContent","array","totalArray","firstBlockDash","blockDashHandleSelect","_searchKey$split$","sum","rangevalues","resultedList","allRangeResults","searchResult","finalRangeObj","flat","allFilteredVAlues","_loop2","_i2","objFinal","matchByStart","matchByInclusion","regByInclusion","RegExp","escapeRegExp","regByStart","option","Inventory","setLoadTable","setIsPooled","setIsInventory","setIsDNO","inventoryType","setInventoryType","DNO","TradingPartnerActionCell","tppId","updateTradingPartnerStatus","VerifiedCell","isVerified","DefaultTppHistory","TradingPartnerHistoryModal","setHistory","fetchTradingPartnerHistory","StatusCell","ValidateCell","TradingPartnerTableColumnIdentifiers","TradingPartnerAdminTableColumnIdentifiers","DefaultYesNoFilterValues","DefaultYesNoColumnFilter","DefaultTppListFilter","tradingSpid","isTouchlessPreorder","vpopCustomer","TppStatusColumnFilter","TppSpidColumnFilter","spidsFilterList","spids","TradingPartnerUserTable","tradingPartnerDetails","setTradingPartnerDetails","selectedFilter","setSelectedFilter","isAppStartUp","setIsAppStartUp","tppSpidList","setTppList","resetAllFilters","fromEntries","areFiltersmodified","RequestingSpId","columnFilter","getTppList","_ref6","_ref7","_ref8","customfilter","requestingSpid","TargetSpId","targetSpid","IsVerified","IsTouchlessPreOrder","VpopCustomer","IxcRequired","VerifiedDate","TradingPartnerAdminTable","getTppAdminList","loginBasedRoutes","CustomerInventoryTableColumnIdentifiers","CustomerInventoryUsersModal","UsersModalCell","usersCount","CustomerInventoryApi","isActivated","internalId","ActivateDeactivateModal","activation","customerName","customerId","onUpdateToggle","SideToggle","setChecked","newActivation","onUpdateSuccess","CustomerInventoryEditModal","setInternalId","onUpdateInternalId","CustomerInventoryActionCell","CustomerInventoryTable","customerInventoryList","setCustomerInventoryList","fetchCustomerInventoryData","updatedData","_x$users","activateInt","handleToggleSuccess","CustomerName","CustomerContactName","contactName","InternalId","Users","Activation","WebhookLogsEmailTableColumnIdentifiers","WebhookLogsURLTableColumnIdentifiers","WebhookLogsStatus","WebhookEmailStatus","buildQueryParams","params","WebhookLogsApi","queryParams","EmailNotificationsTable","emailLogsDetails","setEmailLogsDetails","setStatus","setOrderId","getEmailLogsList","FromDate","ToDate","trimmedOrderId","OrderId","formattedData","Recipient","recipient","DeliveryStatus","deliveryStatus","DefaultWebhookLogsListFilter","UrlNotificationActionsCell","UrlNotificationsTable","webhookUrlLogsDetails","setWebhookUrlLogsDetails","getWebhookLogsList","Url","endpoint","retryCount","retry_count","showLoadingIndicatorForDR","setShowLoadingIndicatorForDR","showConfirmation","setShowConfirmation","confirmed","setConfirmed","storedProposalResponse","setStoredProposalResponse","storedProfiles","setStoredProfiles","storedAdminProjectId","setStoredAdminProjectId","createRequestForOrder","processedNumbers","_profile$networkData","_profile$networkData2","_profile$networkData3","_profile$networkData4","_profile$networkData5","_profile$networkData6","_profile$networkData7","_profile$networkData8","_profile$networkData9","_profile$networkData10","_profile$optionalData","_profile$optionalData2","_profile$optionalData3","_profile$optionalData4","_profile$optionalData5","_profile$optionalData6","_profile$optionalData7","_profile$optionalData8","handleMultipleApiCalls","proposalResponse","_proposalResponse$ord","_proposalResponse$pro","_proposalResponse$not","callApiForOrders","_proposalResponse$ord2","apiCalls","validNumbers","requestData","Boolean","allSettled","allSuccessful","_result$reason","_apiResponse$error","apiResponse","_apiResponse$error2","overflowY","ProvisionOrdersTableColumnIdentifiers","ProvisionOrderSelect","TimerCompleteModal","ReservedOrders","_props$reservedOrders","_props$reservedOrders2","_props$reservedOrders3","_props$reservedOrders4","_props$reservedOrders5","_props$reservedOrders6","isSaveForLater","setIsSaveForLater","timerCompleted","hasExcludedList","reservedOrders","tnReserveResponse","excludedTnList","reservedList","reservedNumbers","excludedReason","_props$reservedOrders9","_props$reservedOrders10","_props$reservedOrders7","_props$reservedOrders8","ProvisionOrderTable","setProvisionOrders","provisionOrdersFiltered","setProvisionOrdersFiltered","setReservedOrders","hasReservedOrders","setHasReservedOrders","isOneStepBackward","setIsOneStepBackward","prevLocation","unlisten","listen","newLocation","handleClearContext","storedOrders","fetchProvisionOrders","_selectedOrders$","warn","App","appContextWrapper","userEmail","initializeParativeIo","destroyParativeIo","Consumer","IntlProvider","messages","ReactDOM","getElementById"],"mappings":";mHAAAA,EAAOC,QAAU,IAA0B,iD,oBCA3CD,EAAOC,QAAU,IAA0B,kD,oBCA3CD,EAAOC,QAAU,IAA0B,6C,qk5ECA3CD,EAAOC,QAAU,0kI,oBCAjBD,EAAOC,QAAU,IAA0B,4C,kFCA3CD,EAAOC,QAAU,IAA0B,gD,oBCA3CD,EAAOC,QAAU,IAA0B,yC,oBCA3CD,EAAOC,QAAU,IAA0B,0C,oBCA3CD,EAAOC,QAAU,IAA0B,2C,oBCA3CD,EAAOC,QAAU,IAA0B,wC,0DCEvCC,EACAC,E,oOAESC,EACI,WACb,GAAIF,EACF,OAAOA,IAGT,MAAM,IAAIG,MAAM,8BANPD,EASU,SAACE,GACpBJ,EAAiBI,GAVRF,EAaI,SAACG,GACd,IAAIJ,EAGF,MAAM,IAAIE,MAAM,6BAFhBF,EAAeI,IAfRH,EAqBU,SAACI,GACpBL,EAAiBK,GC3BRC,EAAkB,CAC7BC,SAAU,SAACC,GAAY,SAAAC,OAAgBC,0BAA6B,SAAAD,OAAQD,IAC5EG,SAAU,SAACH,GAAY,SAAAC,OAAgBC,0BAA6B,QAAAD,OAAOD,IAC3EI,SAAU,SAACJ,GAAY,SAAAC,OAAgBC,0BAA6B,QAAAD,OAAOD,IAC3EK,kBAAmB,SAACL,GAAY,SAAAC,OAC3BC,2BAAyC,KAAAD,O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A,aACA,aACA,UACA,eACA,eACA,eACA,aACA,aACA,mBACA,SACA,WACA,WACA,QACA,WACA,WACA,QACA,WACA,WACA,WACA,aACA,gBACA,SACA,kBACA,aACA,cACA,gBACA,wBACA,sEACA,eACA,gBACA,kBACA,YACA,eACA,cACA,gBACA,cACA,qBACA,eACA,kBACA,gBACA,iBACA,cACA,kBACA,eACA,aACA,eACA,cACA,gBACA,YACA,cACA,eACA,aACA,eACA,YACA,eACA,UACA,sBACA,cACA,gBACA,WACA,eACA,iBACA,oBACA,iBACA,gBACA,WACA,gBACA,UACA,SACA,YACA,UACA,mBACA,eACA,oBACA,cACA,cACA,cACA,UACA,WACA,eACA,eACA,gBACA,cACA,cACA,cACA,WACA,WACA,aACA,gBACA,cACA,gBACA,gBACA,mBACA,gBACA,eACA,aACA,gBACA,gBACA,eACA,wBACA,aACA,qBACA,aACA,YACA,gBACA,YACA,aACA,gBACA,eACA,YACA,YACA,YACA,gBACA,eACA,cACA,cACA,gBACA,cACA,cACA,kBACA,kBACA,iBACA,eACA,eACA,eACA,eACA,YACA,cACA,uBACA,mBACA,kBACA,iBACA,gBACA,kBACA,gBACA,gBACA,iBACA,UACA,SACA,eACA,aACA,YACA,WACA,eACA,gBACA,gBACA,aACA,cACA,oBACA,WACA,iBACA,iBACA,gBACA,gBACA,WACA,cACA,eACA,mBACA,eACA,kBACA,YACA,YACA,iBACA,gBACA,iBACA,gBACA,eACA,kBACA,mBACA,iBACA,iBACA,gBACA,YACA,aACA,mBACA,mBACA,iBACA,gBACA,gBACA,cACA,cACA,gBACA,WACA,SACA,mBACA,WACA,eACA,WACA,UACA,gBACA,eACA,QACA,iBACA,WACA,oBACA,gBACA,gBACA,oBACA,mBACA,uBACA,cACA,iBACA,WACA,SACA,gBACA,YACA,eACA,WACA,qBACA,eACA,YACA,kBACA,kBACA,kBACA,sBACA,yBACA,iBACA,cACA,cACA,mBACA,cACA,kBACA,iBACA,kBACA,eACA,gBACA,YACA,gBACA,mBACA,qBACA,aACA,wBACA,eACA,cACA,aACA,eACA,cACA,UACA,WACA,gBACA,aACA,iBACA,WACA,cACA,gBACA,aACA,YACA,gBACA,cACA,sBACA,iBACA,iBACA,UACA,gBACA,iBACA,cACA,cACA,aACA,aACA,mBACA,iBACA,aACA,aACA,cACA,iBACA,cACA,iBACA,cACA,gBACA,oBACA,gBACA,iBACA,gBACA,eACA,eACA,YACA,mBACA,kBACA,gBACA,gBACA,aACA,cACA,cACA,iBACA,QACA,oBACA,kBACA,aACA,iBACA,gBACA,mBACA,kBACA,gBACA,iBACA,gBACA,cACA,cACA,eACA,aACA,mBACA,gBACA,YACA,gBACA,kBACA,iBACA,oBACA,aACA,cACA,iBACA,iBACA,kBACA,aACA,WACA,eACA,cACA,gBACA,mBACA,UACA,aACA,qBACA,aACA,SACA,SACA,YACA,eACA,gBACA,cACA,eACA,kBACA,mBACA,eACA,iBACA,oBACA,mBACA,cACA,qBACA,cACA,kBACA,mBACA,gBACA,iBACA,aACA,kBACA,kBACA,gBACA,kBACA,gBACA,cACA,aACA,kBACA,gBACA,iBACA,oBACA,gBACA,gBACA,eACA,gBACA,cACA,gBACA,UACA,mBACA,iBACA,eACA,mBACA,kBACA,mBACA,gBACA,iBACA,UACA,QACA,UACA,QACA,SACA,cACA,iBACA,oBACA,eACA,WACA,gBACA,qCACA,mBACA,qBACA,gBACA,eACA,cACA,cACA,gBACA,aACA,mBACA,gBACA,gBACA,eACA,YACA,wBACA,cACA,gBACA,kBACA,uBACA,YACA,aACA,eACA,aACA,aACA,iBACA,eACA,eACA,UACA,iBACA,aACA,iBACA,gBACA,gBACA,kBACA,cACA,kBACA,aACA,aACA,iBACA,oBACA,aACA,UACA,kBACA,aACA,iBACA,cACA,kBACA,mBACA,kBACA,cACA,UACA,eACA,iBACA,eACA,qBACA,YACA,kBACA,eACA,WACA,WACA,YACA,cACA,iBACA,kBACA,WACA,gBACA,YACA,eACA,gBACA,YACA,oBACA,iBACA,iBACA,gBACA,gBACA,SACA,aACA,mBACA,eACA,eACA,YACA,cACA,eACA,mBACA,yBACA,uBACA,wBACA,uBACA,wBACA,wBACA,sBACA,wBACA,yBACA,yBACA,qBACA,sBACA,0BACA,0BACA,mBACA,oBACA,mBACA,cACA,gBACA,mBACA,oBACA,eACA,gBACA,YACA,kBACA,cACA,gBACA,cACA,cACA,eACA,eACA,iBACA,gBACA,iBACA,kBACA,cACA,eACA,YACA,cACA,gBACA,UACA,WACA,WACA,WACA,eACA,4BACA,gBACA,kBACA,kBACA,eACA,kBACA,iBACA,gBACA,cACA,YACA,uBACA,gBACA,oBACA,iBACA,qBACA,iBACA,mBACA,eACA,WACA,mBACA,iBACA,iBACA,mBACA,iBACA,kBACA,oBACA,UACA,iBACA,eACA,gBACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,kBACA,sBACA,iBACA,aACA,eACA,gBACA,uBACA,sBACA,eACA,YACA,iBACA,mBACA,UACA,UACA,cACA,aACA,eACA,qBACA,mBACA,oBACA,oBACA,kBACA,aACA,iBACA,iBACA,cACA,qBACA,SACA,eACA,cACA,iBACA,gBACA,gBACA,oBACA,YACA,SACA,mBACA,wBACA,mBACA,iBACA,mBACA,gBACA,kBACA,oBACA,gBACA,oBACA,eACA,gBACA,iBACA,mBACA,gBACA,cACA,oBACA,sBACA,kBACA,gBACA,gBACA,aACA,eACA,WACA,mBACA,iBACA,sBACA,kBACA,mBACA,aACA,iBACA,kBACA,iBACA,uBACA,cACA,cACA,gBACA,aACA,iBACA,eACA,iBACA,kBACA,YACA,kBACA,kBACA,iBACA,eACA,gBACA,aACA,YACA,sBACA,qBACA,cACA,eACA,YACA,uBACA,kBACA,oBACA,qBACA,gBACA,aACA,uBACA,gBACA,gBACA,gBACA,gBACA,aACA,aACA,gBACA,eACA,oBACA,oBACA,wBACA,cACA,eACA,iBACA,aACA,sBACA,eACA,kBACA,kBACA,6BACA,aACA,kBACA,aACA,aACA,cACA,YACA,UACA,YACA,eACA,gBACA,cACA,mBACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,gBACA,cACA,cACA,kBACA,wBACA,eACA,eACA,YACA,aACA,UACA,qBACA,aACA,SACA,gBACA,cACA,eACA,eACA,gBACA,aACA,YACA,eACA,cACA,iBACA,mBACA,kBACA,WACA,eACA,gBACA,UACA,WACA,mBACA,aACA,cACA,gBACA,YACA,YACA,YACA,qBACA,aACA,eACA,oBACA,eACA,gBACA,gBACA,gBACA,kBACA,kBACA,eACA,UACA,eACA,oBACA,YACA,gBACA,mBACA,aACA,kBACA,eACA,aACA,aACA,eACA,iBACA,cACA,aACA,aACA,YACA,iBACA,aACA,cACA,gBACA,cACA,YACA,eACA,gBACA,qBACA,YACA,iBACA,YACA,WACA,WACA,WACA,WACA,YACA,WACA,WACA,WACA,WACA,WACA,eACA,eACA,eACA,mBACA,cACA,cACA,gBACA,kBACA,kBACA,cACA,kBACA,kBACA,sBACA,kBACA,aACA,kBACA,kBACA,cACA,iBACA,kBACA,gBACA,kBACA,YACA,2BACA,YACA,eACA,aACA,gBACA,aACA,YACA,YACA,aACA,iBACA,WACA,WACA,WACA,SACA,YACA,cACA,WACA,eACA,cACA,cACA,kBACA,WACA,aACA,eACA,WACA,WACA,YACA,WACA,gBACA,cACA,WACA,cACA,WACA,aACA,iBACA,gBACA,gBACA,iBACA,gBACA,aACA,iBACA,eACA,gBACA,aACA,kBACA,gBACA,eACA,aACA,gBACA,eACA,aACA,YACA,YACA,iBACA,mBACA,gBACA,kBACA,cACA,eACA,eACA,WACA,oBACA,mBACA,YACA,WACA,SACA,aACA,oBACA,eACA,mBACA,kBACA,sBACA,mBACA,eACA,eACA,eACA,gBACA,mBACA,UACA,mBACA,mBACA,oBACA,aACA,4BACA,cACA,iBACA,eACA,gBACA,gBACA,gBACA,mBACA,aACA,eACA,kBACA,iBACA,aACA,eACA,mBACA,cACA,cACA,iBACA,eACA,kBACA,cACA,cACA,cACA,cACA,cACA,cACA,eACA,cACA,cACA,cACA,cACA,cACA,kBACA,gBACA,oBACA,qBACA,iBACA,kBACA,iBACA,iBACA,iBACA,iBACA,cACA,cACA,sBACA,SACA,gBACA,SACA,eACA,SACA,yBACA,qBACA,mBACA,eACA,kBACA,kBACA,kBACA,aACA,cACA,YACA,mBACA,oBACA,kBACA,gBACA,eACA,eACA,mBACA,cACA,gBACA,eACA,aACA,cACA,qBACA,gBACA,gBACA,cACA,eACA,cACA,eACA,aACA,YACA,gBACA,aACA,cACA,eACA,cACA,mBACA,gBACA,oBACA,eACA,aACA,iBACA,YACA,mBACA,iBACA,kBACA,WACA,cACA,gBACA,eACA,gBACA,kBACA,eACA,cACA,UACA,gBACA,kBACA,oBACA,kBACA,mBACA,eACA,gBACA,sBACA,aACA,iBACA,kBACA,kBACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,kBACA,eACA,cACA,aACA,aACA,cACA,cACA,kBACA,eACA,cACA,cACA,aACA,aACA,kBACA,cACA,mBACA,iBACA,iBACA,iBACA,mBACA,cACA,qBACA,mBACA,iBACA,kBACA,mBACA,qBACA,gBACA,qBACA,mBACA,kBACA,kBACA,iBACA,mBACA,kBACA,kBACA,mBACA,mBACA,kBACA,iBACA,iBACA,iBACA,kBACA,sBACA,kBACA,iBACA,kBACA,iBACA,kBACA,mBACA,qBACA,mBACA,sBACA,mBACA,kBACA,kBACA,iBACA,gBACA,mBACA,kBACA,eACA,kBACA,iBACA,mBACA,oBACA,gBACA,mBACA,wBACA,gBACA,mBACA,oBACA,sBACA,mBACA,kBACA,mBACA,iBACA,uBACA,oBACA,oBACA,kBACA,wBACA,sBACA,eACA,mBACA,iBACA,uBACA,sBACA,aACA,wBACA,sBACA,oBACA,gBACA,oBACA,eACA,kBACA,mBACA,qBACA,uBACA,uBACA,oBACA,kBACA,WACA,eACA,kBACA,mBACA,aACA,YACA,WACA,eACA,cACA,iBACA,wBACA,WACA,SACA,kBACA,WACA,eACA,cACA,gBACA,cACA,eACA,mBACA,oBACA,cACA,eACA,YACA,oBACA,WACA,YACA,gBACA,UACA,gBACA,WACA,UACA,eACA,aACA,eACA,uBACA,oBACA,gBACA,gBACA,gBACA,aACA,kBACA,YACA,eACA,gBACA,iBACA,gBACA,gBACA,iBACA,gBACA,gBACA,iBACA,YACA,gBACA,eACA,uBACA,WACA,eACA,gBACA,kBACA,oBACA,YACA,eACA,WACA,SACA,SACA,UACA,SACA,SACA,UACA,SACA,QACA,QACA,aACA,gBACA,aACA,gBACA,eACA,UACA,gBACA,cACA,kBACA,gBACA,gBACA,cACA,aACA,mBACA,gBACA,mBACA,iBACA,aACA,+BACA,gBACA,gBACA,iBACA,cACA,cACA,aACA,uBACA,aACA,eACA,eACA,cACA,kBACA,mBACA,uBACA,gBACA,gBACA,gBACA,gBACA,SACA,iBACA,WACA,UACA,gBACA,WACA,YACA,UACA,WACA,oBACA,iBACA,gBACA,YACA,qBACA,mBACA,aACA,iBACA,iBACA,eACA,kBACA,mBACA,cACA,eACA,eACA,cACA,gBACA,mBACA,iBACA,mBACA,oBACA,aACA,gBACA,kBACA,iBACA,gBACA,aACA,WACA,WACA,eACA,WACA,qBACA,gBACA,cACA,UACA,oBACA,YACA,SACA,cACA,YACA,iBACA,kBACA,qBACA,gBACA,gBACA,iBACA,cACA,aACA,UACA,kBACA,iBACA,oBACA,iBACA,UACA,UACA,cACA,UACA,UACA,kBACA,eACA,gBACA,eACA,eACA,aACA,gBACA,eACA,iBACA,cACA,eACA,SACA,aACA,cACA,cACA,gBACA,aACA,aACA,aACA,gBACA,gBACA,gBACA,gBACA,gBACA,cACA,iBACA,iBACA,iBACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,cACA,eACA,gBACA,aACA,SACA,aACA,eACA,aACA,YACA,cACA,WACA,eACA,mBACA,gBACA,eACA,gBACA,UACA,OACA,OACA,UACA,cACA,gBACA,iBACA,gBACA,eACA,eACA,gCACA,kBACA,aACA,sBACA,UACA,cACA,aACA,cACA,kBACA,gBACA,cACA,cACA,gBACA,cACA,aACA,cACA,YACA,aACA,cACA,kBACA,oBACA,iBACA,eACA,oBACA,mBACA,eACA,qBACA,iBACA,qBACA,UACA,kBACA,WACA,eACA,gBACA,UACA,eACA,WACA,YACA,UACA,oBACA,mBACA,iBACA,iBACA,iBACA,gBACA,aACA,eACA,YACA,WACA,eACA,YACA,YACA,WACA,WACA,iBACA,eACA,kBACA,kBACA,WACA,YACA,YACA,iBACA,gBACA,iBACA,eACA,iBACA,cACA,WACA,cACA,gBACA,gBACA,aACA,aACA,cACA,iBACA,oBACA,iBACA,YACA,YACA,eACA,aACA,iBACA,eACA,cACA,eACA,sBACA,iBACA,kBACA,0BACA,iBACA,kBACA,iBACA,cACA,gBACA,eACA,aACA,kBACA,kBACA,sBACA,oBACA,sBACA,kBACA,oBACA,oBACA,qBACA,sBACA,mBACA,cACA,YACA,YACA,WACA,SACA,SACA,gBACA,UACA,YACA,YACA,WACA,iBACA,cACA,eACA,eACA,cACA,kBACA,aACA,SACA,YACA,gBACA,kBACA,kBACA,kBACA,aACA,eACA,WACA,iBACA,kBACA,kBACA,qBACA,gBACA,gBACA,aACA,YACA,oBACA,eACA,gBACA,aACA,WACA,gBACA,cACA,YACA,YACA,gBACA,kBACA,cACA,eACA,kBACA,oBACA,oBACA,aACA,gBACA,eACA,YACA,cACA,YACA,wBACA,qBACA,aACA,YACA,iBACA,iBACA,iBACA,cACA,cACA,eACA,mBACA,eACA,WACA,WACA,iBACA,aACA,eACA,cACA,WACA,gBACA,kBACA,aACA,uBACA,sBACA,YACA,eACA,iBACA,gBACA,gBACA,iBACA,cACA,eACA,mBACA,eACA,WACA,gBACA,gBACA,cACA,gBACA,eACA,eACA,SACA,iBACA,kBACA,iBACA,WACA,eACA,kBACA,iBACA,eACA,gBACA,aACA,cACA,eACA,kBACA,QACA,gBACA,cACA,kBACA,WACA,YACA,gBACA,aACA,UACA,gBACA,aACA,eACA,iBACA,iBACA,eACA,qBACA,eACA,kBACA,UACA,SACA,sBACA,cACA,iBACA,UACA,gBACA,cACA,WACA,UACA,gBACA,YACA,cACA,uBACA,kBACA,cACA,iBACA,gBACA,cACA,UACA,aACA,gBACA,aACA,mBACA,eACA,iBACA,WACA,cACA,iBACA,kBACA,qBACA,aACA,YACA,SACA,uBACA,YACA,iBACA,cACA,kBACA,iBACA,iBACA,oBACA,gBACA,kBACA,iBACA,wBACA,UACA,gBACA,kBACA,qBACA,UACA,UACA,UACA,UACA,UACA,aACA,aACA,WACA,cACA,cACA,cACA,cACA,cACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,eACA,oBACA,gBACA,iBACA,aACA,eACA,eACA,YACA,iBACA,YACA,eACA,YACA,aACA,kBACA,gBACA,mBACA,gBACA,eACA,UACA,eACA,cACA,cACA,mBACA,iBACA,eACA,gBACA,gBACA,aACA,qBACA,qBACA,oBACA,kBACA,iBACA,SACA,YACA,UACA,aACA,UACA,cACA,cACA,YACA,WACA,WACA,cACA,gBACA,cACA,cACA,SACA,eACA,UACA,aACA,eACA,mBACA,cACA,mBACA,iBACA,aACA,yBACA,wBACA,YACA,kBACA,cACA,iBACA,UACA,cACA,cACA,kBACA,mBACA,eACA,kBACA,cACA,gBACA,kBACA,mBACA,UACA,UACA,oBACA,UACA,aACA,WACA,cACA,UACA,UACA,0BACA,oBACA,UACA,uBACA,gBACA,UACA,wBACA,UACA,cACA,UACA,UACA,mBACA,UACA,iBACA,gBACA,eACA,oBACA,WACA,cACA,aACA,eACA,iBACA,gBACA,eACA,iBACA,mBACA,oBACA,qBACA,iBACA,qBACA,kBACA,kBACA,qBACA,uBACA,kBACA,iBACA,eACA,gBACA,eACA,eACA,kBACA,oBACA,mBACA,mBACA,gBACA,kBACA,mBACA,qBACA,gBACA,iBACA,mBACA,kBACA,iBACA,iBACA,iBACA,mBACA,iBACA,kBACA,kBACA,mBACA,iBACA,mBACA,oBACA,mBACA,kBACA,gBACA,4BACA,kBACA,kBACA,eACA,gBACA,gBACA,mBACA,oBACA,qBACA,kBACA,iBACA,oBACA,kBACA,kBACA,qBACA,gBACA,qBACA,iBACA,mBACA,oBACA,mBACA,gBACA,kBACA,eACA,mBACA,kBACA,kBACA,kBACA,eACA,sBACA,kBACA,mBACA,iBACA,gBACA,oBACA,mBACA,gBACA,qBACA,mBACA,sBACA,gBACA,mBACA,mBACA,qBACA,sBACA,gBACA,sBACA,gBACA,kBACA,oBACA,mBACA,eACA,oBACA,mBACA,kBACA,sBACA,kBACA,iBACA,iBACA,mBACA,kBACA,iBACA,mBACA,mBACA,kBACA,eACA,mBACA,gBACA,iBACA,mBACA,kBACA,iBACA,gBACA,uBACA,iBACA,eACA,qBACA,iBACA,qBACA,iBACA,iBACA,kBACA,iBACA,eACA,iBACA,mBACA,kBACA,gBACA,oBACA,kBACA,kBACA,kBACA,oBACA,mBACA,kBACA,qBACA,iBACA,iBACA,oBACA,kBACA,iBACA,iBACA,kBACA,oBACA,oBACA,iBACA,eACA,oBACA,oBACA,eACA,cACA,sBACA,kBACA,oBACA,oBACA,kBACA,kBACA,qBACA,qBACA,oBACA,wBACA,gBACA,oBACA,mBACA,iBACA,eACA,mBACA,iBACA,oBACA,mBACA,gBACA,gBACA,qBACA,mBACA,gBACA,mBACA,kBACA,mBACA,iBACA,iBACA,mBACA,qBACA,qBACA,oBACA,qBACA,mBACA,iBACA,iBACA,iBACA,uBACA,kBACA,iBACA,kBACA,iBACA,iBACA,gBACA,iBACA,sBACA,iBACA,mBACA,oBACA,iBACA,oBACA,oBACA,oBACA,oBACA,oBACA,qBACA,mBACA,iBACA,mBACA,uBACA,sBACA,mBACA,gBACA,gBACA,gBACA,qBACA,mBACA,oBACA,kBACA,mBACA,iBACA,iBACA,iBACA,kBACA,mBACA,eACA,mBACA,gBACA,mBACA,gBACA,mBACA,gBACA,iBACA,mBACA,kBACA,yBACA,eACA,gBACA,kBACA,eACA,gBACA,iBACA,kBACA,oBACA,iBACA,mBACA,mBACA,kBACA,oBACA,gBACA,gBACA,cACA,kBACA,kBACA,mBACA,kBACA,iBACA,gBACA,oBACA,qBACA,mBACA,oBACA,kBACA,mBACA,kBACA,mBACA,iBACA,kBACA,mBACA,oBACA,mBACA,iBACA,iBACA,mBACA,mBACA,kBACA,kBACA,oBACA,oBACA,oBACA,oBACA,gBACA,iBACA,gBACA,iBACA,oBACA,oBACA,kBACA,oBACA,mBACA,oBACA,6BACA,eACA,kBACA,iBACA,iBACA,mBACA,gBACA,iBACA,mBACA,eACA,oBACA,iBACA,mBACA,gBACA,kBACA,gBACA,iBACA,gBACA,iBACA,mBACA,eACA,qBACA,mBACA,iBACA,iBACA,iBACA,iBACA,oBACA,eACA,qBACA,iBACA,kBACA,sBACA,iBACA,qBACA,iBACA,oBACA,mBACA,4BACA,eACA,gBACA,iBACA,gBACA,mBACA,gBACA,mBACA,iBACA,gBACA,mBACA,iBACA,oBACA,cACA,kBACA,iBACA,eACA,gBACA,kBACA,sBACA,oBACA,kBACA,iBACA,iBACA,mBACA,iBACA,mBACA,gBACA,kBACA,mBACA,eACA,mBACA,kBACA,iBACA,mBACA,gBACA,wBACA,iBACA,mBACA,mBACA,mBACA,gBACA,qBACA,oBACA,oBACA,mBACA,iBACA,eACA,gBACA,oBACA,oBACA,uBACA,iBACA,kBACA,iBACA,qBACA,oBACA,gBACA,mBACA,gBACA,mBACA,kBACA,oBACA,sBACA,gBACA,eACA,iBACA,mBACA,gBACA,kBACA,kBACA,iBACA,gBACA,iBACA,kBACA,gBACA,iBACA,kBACA,kBACA,mBACA,kBACA,kBACA,mBACA,iBACA,mBACA,gBACA,gBACA,gBACA,kBACA,mBACA,gBACA,oBACA,kBACA,kBACA,sBACA,gBACA,iBACA,kBACA,mBACA,mBACA,iBACA,kBACA,iBACA,gBACA,mBACA,eACA,iBACA,qBACA,eACA,iBACA,iBACA,eACA,qBACA,gBACA,kBACA,kBACA,iBACA,kBACA,sBACA,gBACA,mBACA,kBACA,gBACA,kBACA,iBACA,iBACA,gBACA,gBACA,oBACA,iBACA,sBACA,gBACA,oBACA,kBACA,kBACA,mBACA,kBACA,sBACA,iBACA,eACA,kBACA,mBACA,iBACA,qBACA,iBACA,oBACA,iBACA,oBACA,gBACA,iBACA,eACA,iBACA,mBACA,kBACA,gBACA,iBACA,mBACA,kBACA,kBACA,sBACA,kBACA,eACA,qBACA,mBACA,iBACA,qBACA,oBACA,gBACA,cACA,iBACA,kBACA,mBACA,qBACA,oBACA,mBACA,gBACA,gBACA,gBACA,mBACA,iBACA,gBACA,wBACA,kBACA,iBACA,iBACA,kBACA,mBACA,iBACA,kBACA,iBACA,gBACA,iBACA,gBACA,mBACA,iBACA,iBACA,eACA,gBACA,iBACA,kBACA,iBACA,oBACA,mBACA,iBACA,gBACA,eACA,gBACA,eACA,mBACA,oBACA,iBACA,kBACA,iBACA,mBACA,kBACA,iBACA,eACA,mBACA,eACA,iBACA,gBACA,iBACA,kBACA,gBACA,eACA,gBACA,gBACA,gBACA,gBACA,eACA,oBACA,iBACA,kBACA,kBACA,gBACA,eACA,gBACA,iBACA,gBACA,mBACA,kBACA,iBACA,iBACA,gBACA,kBACA,kBACA,YACA,kBACA,kBACA,iBACA,gBACA,iBACA,oBACA,iBACA,iBACA,eACA,sBACA,gBACA,iBACA,iBACA,kBACA,eACA,mBACA,mBACA,mBACA,iBACA,oBACA,iBACA,iBACA,iBACA,eACA,oBACA,gBACA,gBACA,gBACA,kBACA,mBACA,gBACA,kBACA,gBACA,sBACA,cACA,oBACA,iBACA,eACA,iBACA,kBACA,iBACA,iBACA,kBACA,kBACA,oBACA,kBACA,mBACA,eACA,eACA,gBACA,mBACA,iBACA,kBACA,kBACA,mBACA,uBACA,iBACA,iBACA,yBACA,gBACA,iBACA,iBACA,kBACA,oBACA,kBACA,gBACA,qBACA,qBACA,eACA,iBACA,gBACA,gBACA,kBACA,mBACA,gBACA,gBACA,eACA,iBACA,qBACA,mBACA,gBACA,iBACA,gBACA,iBACA,gBACA,sBACA,kBACA,gBACA,gBACA,sBACA,mBACA,kBACA,kBACA,iBACA,iBACA,kBACA,oBACA,oBACA,gBACA,iBACA,iBACA,eACA,iBACA,qBACA,mBACA,gBACA,gBACA,kBACA,oBACA,kBACA,mBACA,iBACA,mBACA,mBACA,gBACA,oBACA,mBACA,mBACA,gBACA,kBACA,2BACA,kBACA,kBACA,iBACA,kBACA,gBACA,oBACA,iBACA,yBACA,gBACA,mBACA,mBACA,sBACA,qBACA,eACA,mBACA,iBACA,eACA,gBACA,oBACA,oBACA,iBACA,eACA,mBACA,mBACA,kBACA,kBACA,mBACA,qBACA,mBACA,kBACA,eACA,iBACA,mBACA,oBACA,oBACA,gBACA,iBACA,kBACA,mBACA,oBACA,sBACA,uBACA,kBACA,gBACA,sBACA,gBACA,oBACA,uBACA,qBACA,mBACA,sBACA,uBACA,oBACA,iBACA,iBACA,iCACA,eACA,kBACA,iBACA,oBACA,kBACA,mBACA,iBACA,gBACA,mBACA,oBACA,gBACA,kBACA,kBACA,uBACA,kBACA,sBACA,eACA,mBACA,mBACA,kBACA,iBACA,oBACA,kBACA,cACA,kBACA,iBACA,kBACA,iBACA,oBACA,iBACA,mBACA,kBACA,gBACA,mBACA,mBACA,mBACA,iBACA,kBACA,kBACA,iBACA,gBACA,gBACA,oBACA,eACA,gBACA,kBACA,mBACA,iBACA,uBACA,mBACA,kBACA,wBACA,qBACA,qBACA,mBACA,sBACA,qBACA,gBACA,kBACA,iBACA,mBACA,gBACA,cACA,gBACA,gBACA,kBACA,kBACA,kBACA,wBACA,yBACA,uBACA,qBACA,kBACA,iBACA,iBACA,mBACA,mBACA,eACA,cACA,iBACA,yBACA,gBACA,cACA,oBACA,kBACA,gBACA,eACA,kBACA,kBACA,gBACA,gBACA,2BACA,uBACA,kBACA,kBACA,gBACA,mBACA,oBACA,iBACA,eACA,kBACA,oBACA,qBACA,iBACA,gBACA,kBACA,iBACA,mBACA,eACA,oBACA,mBACA,iBACA,gBACA,iBACA,eACA,iBACA,wBACA,iBACA,wBACA,iBACA,sBACA,mBACA,gBACA,gBACA,iBACA,sBACA,gBACA,uBACA,mBACA,qBACA,mBACA,kBACA,iBACA,kBACA,kBACA,oBACA,iBACA,iBACA,cACA,sBACA,gBACA,kBACA,qBACA,uBACA,sBACA,eACA,gBACA,mBACA,oBACA,oBACA,sBACA,iBACA,wBACA,qBACA,kBACA,kBACA,oBACA,oBACA,qBACA,mBACA,wBACA,kBACA,wBACA,iBACA,iBACA,iBACA,gBACA,iBACA,kBACA,gBACA,qBACA,iBACA,iBACA,eACA,gBACA,gBACA,eACA,mBACA,mBACA,mBACA,qBACA,mBACA,mBACA,gBACA,kBACA,oBACA,gBACA,sBACA,kBACA,eACA,uBACA,gBACA,mBACA,iBACA,gBACA,iBACA,gBACA,eACA,kBACA,mBACA,iBACA,gBACA,kBACA,eACA,kBACA,mBACA,gBACA,eACA,kBACA,kBACA,gBACA,iBACA,eACA,eACA,gBACA,iBACA,kBACA,mBACA,kBACA,mBACA,iBACA,gBACA,kBACA,gBACA,cACA,mBACA,gBACA,uBACA,gBACA,kBACA,eACA,kBACA,eACA,oBACA,iBACA,mBACA,kBACA,iBACA,wBACA,qBACA,iBACA,gBACA,iBACA,eACA,kBACA,iBACA,uBACA,gBACA,mBACA,kBACA,qBACA,mBACA,iBACA,gBACA,kBACA,mBACA,uBACA,kBACA,mBACA,mBACA,gBACA,qBACA,gBACA,sBACA,iBACA,kBACA,iBACA,gBACA,mBACA,iBACA,mBACA,uBACA,iBACA,qBACA,kBACA,gBACA,kBACA,iBACA,eACA,iBACA,gBACA,oBACA,oBACA,iBACA,iBACA,kBACA,kBACA,qBACA,qBACA,mBACA,mBACA,eACA,gBACA,eACA,iBACA,uBACA,wBACA,yBACA,uBACA,sBACA,qBACA,iBACA,mBACA,iBACA,oBACA,kBACA,mBACA,kBACA,oBACA,iBACA,gBACA,mBACA,gBACA,iBACA,qBACA,iBACA,kBACA,mBACA,mBACA,iBACA,qBACA,uBACA,mBACA,iBACA,kBACA,mBACA,kBACA,oBACA,oBACA,qBACA,iBACA,qBACA,kBACA,oBACA,iBACA,iBACA,qBACA,kBACA,sBACA,gBACA,mBACA,iBACA,uBACA,kBACA,kBACA,iBACA,iBACA,kBACA,sBACA,iBACA,iBACA,iBACA,oBACA,gBACA,kBACA,gBACA,uBACA,kBACA,eACA,mBACA,sBACA,eACA,qBACA,sBACA,sBACA,qBACA,kBACA,qBACA,iBACA,iBACA,gBACA,iBACA,oBACA,mBACA,iBACA,mBACA,mBACA,eACA,gBACA,mBACA,gBACA,mBACA,gBACA,gBACA,gBACA,eACA,iBACA,iBACA,gBACA,iBACA,mBACA,kBACA,iBACA,iBACA,kBACA,oBACA,kBACA,mBACA,gBACA,uBACA,iBACA,wBACA,gBACA,iBACA,iBACA,eACA,mBACA,iBACA,kBACA,wBACA,cACA,kBACA,iBACA,gBACA,eACA,kBACA,cACA,mBACA,iBACA,uBACA,kBACA,mBACA,eACA,gBACA,sBACA,aACA,oBACA,sBACA,mBACA,kBACA,mBACA,mBACA,mBACA,qBACA,kBACA,iBACA,mBACA,kBACA,kBACA,oBACA,kBACA,mBACA,iBACA,oBACA,iBACA,qBACA,iBACA,sBACA,kBACA,sBACA,iBACA,kBACA,kBACA,sBACA,gBACA,eACA,mBACA,iBACA,qBACA,kBACA,iBACA,iBACA,mBACA,iBACA,mBACA,wBACA,mBACA,gBACA,iBACA,sBACA,mBACA,eACA,kBACA,gBACA,mBACA,kBACA,gBACA,kBACA,iBACA,qBACA,iBACA,kBACA,iBACA,mBACA,eACA,eACA,mBACA,kBACA,eACA,qBACA,mBACA,iBACA,eACA,sBACA,gBACA,kBACA,kBACA,kBACA,gBACA,kBACA,eACA,qBACA,kBACA,eACA,cACA,iBACA,cACA,iBACA,kBACA,aACA,eACA,eACA,eACA,eACA,aACA,gBACA,aACA,aACA,gBACA,gBACA,gBACA,YACA,cACA,cACA,aACA,gBACA,eACA,cACA,eACA,cACA,cACA,aACA,YACA,iBACA,YACA,gBACA,kBACA,cACA,aACA,cACA,gBACA,eACA,gBACA,eACA,gBACA,iBACA,iBACA,gBACA,kBACA,qBACA,iBACA,gBACA,kBACA,cACA,eACA,YACA,YACA,eACA,gBACA,aACA,gBACA,cACA,cACA,cACA,gBACA,eACA,kBACA,mBACA,gBACA,iBACA,gBACA,gBACA,eACA,eACA,aACA,cACA,cACA,eACA,iBACA,kBACA,mBACA,gBACA,oBACA,eACA,cACA,gBACA,YACA,iBACA,mBACA,aACA,eACA,gBACA,YACA,gBACA,cACA,0BACA,kBACA,aACA,aACA,cACA,oBACA,iBACA,mBACA,gBACA,gBACA,cACA,gBACA,eACA,kBACA,iBACA,qBACA,eACA,cACA,cACA,eACA,gBACA,cACA,gBACA,cACA,YACA,aACA,SACA,iBACA,eACA,kBACA,aACA,cACA,gBACA,cACA,eACA,qBACA,mBACA,mBACA,wBACA,cACA,iBACA,YACA,eACA,gBACA,eACA,eACA,aACA,sBACA,cACA,kBACA,eACA,eACA,WACA,iBACA,gBACA,UACA,iBACA,YACA,eACA,cACA,aACA,eACA,oBACA,mBACA,4BACA,sBACA,cACA,eACA,iBACA,eACA,aACA,gBACA,cACA,iBACA,UACA,sBACA,QACA,SACA,YACA,iBACA,oBACA,gBACA,eACA,aACA,aACA,cACA,gBACA,eACA,eACA,YACA,oBACA,mBACA,cACA,iBACA,cACA,cACA,eACA,iBACA,kBACA,kBACA,iBACA,eACA,iBACA,YACA,SACA,oBACA,aACA,aACA,SACA,UACA,SACA,aACA,aACA,mBACA,gBACA,YACA,gBACA,iBACA,gBACA,aACA,YACA,eACA,iBACA,iBACA,aACA,oBACA,gBACA,YACA,SACA,qBACA,WACA,cACA,aACA,aACA,eACA,sBACA,eACA,iBACA,WACA,aACA,gBACA,gBACA,YACA,mBACA,gBACA,iBACA,mBACA,cACA,YACA,sBACA,cACA,eACA,gBACA,eACA,aACA,iBACA,iBACA,kBACA,eACA,iBACA,YACA,kBACA,SACA,iBACA,iBACA,aACA,eACA,iBACA,WACA,WACA,aACA,kBACA,WACA,iBACA,gBACA,iBACA,aACA,iBACA,gBACA,WACA,YACA,eACA,WACA,UACA,YACA,kBACA,YACA,aACA,aACA,aACA,aACA,WACA,WACA,YACA,YACA,WACA,WACA,WACA,WACA,WACA,WACA,gBACA,mBACA,WACA,aACA,gBACA,qBACA,WACA,UACA,UACA,UACA,UACA,UACA,mBACA,eACA,kBACA,mBACA,oBACA,eACA,aACA,iBACA,cACA,eACA,gBACA,gBACA,cACA,eACA,eACA,gBACA,eACA,uBACA,kBACA,kBACA,gBACA,cACA,cACA,gBACA,gBACA,WACA,cACA,cACA,eACA,kBACA,WACA,cACA,cACA,aACA,mBACA,cACA,cACA,eACA,aACA,eACA,cACA,kBACA,iBACA,gBACA,eACA,aACA,aACA,iBACA,WACA,aACA,kBACA,aACA,gBACA,sBACA,iBACA,iBACA,iBACA,oBACA,cACA,aACA,cACA,eACA,aACA,WACA,eACA,mBACA,aACA,YACA,YACA,SACA,SACA,cACA,UACA,cACA,eACA,YACA,WACA,oBACA,WACA,gBACA,eACA,cACA,aACA,oBACA,mBACA,qBACA,kBACA,WACA,cACA,aACA,cACA,YACA,cACA,aACA,WACA,oBACA,UACA,cACA,eACA,cACA,eACA,UACA,aACA,gBACA,iBACA,cACA,UACA,UACA,YACA,YACA,YACA,YACA,gBACA,kBACA,aACA,QACA,YACA,kBACA,eACA,gBACA,aACA,eACA,gBACA,kBACA,YACA,aACA,cACA,mBACA,eACA,UACA,gBACA,mBACA,iBACA,SACA,kBACA,eACA,YACA,aACA,iBACA,aACA,aACA,aACA,gBACA,gBACA,gBACA,gBACA,cACA,iBACA,iBACA,iBACA,iBACA,iBACA,iBACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,aACA,uBACA,cACA,iBACA,iBACA,cACA,oBACA,iBACA,kBACA,iBACA,YACA,aACA,mBACA,kBACA,oBACA,aACA,gBACA,iBACA,eACA,mBACA,gBACA,eACA,gBACA,cACA,mBACA,qBACA,mBACA,eACA,cACA,yBACA,mBACA,aACA,eACA,gBACA,aACA,kBACA,WACA,cACA,iBACA,eACA,YACA,gBACA,kBACA,UACA,aACA,YACA,kBACA,mBACA,cACA,eACA,qBACA,gBACA,gBACA,gBACA,eACA,aACA,gBACA,cACA,YACA,YACA,YACA,mBACA,sBACA,uBACA,iBACA,iBACA,gBACA,YACA,kBACA,cACA,uBACA,WACA,kBACA,kBACA,YACA,WACA,WACA,YACA,YACA,iBACA,aACA,eACA,kBACA,eACA,iBACA,aACA,mBACA,iBACA,sBACA,gBACA,kBACA,YACA,iBACA,cACA,eACA,cACA,mBACA,kBACA,kBACA,wBACA,WACA,UACA,UACA,WACA,qBACA,gBACA,eACA,YACA,cACA,gBACA,aACA,eACA,mBACA,yBACA,cACA,YACA,eACA,aACA,aACA,kBACA,qBACA,iBACA,cACA,aACA,gBACA,eACA,iBACA,eACA,SACA,gBACA,cACA,gBACA,gBACA,iBACA,gBACA,eACA,gBACA,iBACA,iBACA,iBACA,iBACA,iBACA,oBACA,UACA,kBACA,iBACA,gBACA,mBACA,cACA,mBACA,WACA,YACA,QACA,gBACA,YACA,cACA,SACA,WACA,iBACA,gBACA,qBACA,mBACA,eACA,cACA,iBACA,eACA,cACA,mBACA,gBACA,eACA,WACA,YACA,kBACA,cACA,aACA,iBACA,eACA,mBACA,iBACA,eACA,eACA,kBACA,iBACA,YACA,aACA,gBACA,cACA,kBACA,mBACA,uBACA,gBACA,eACA,gBACA,eACA,UACA,gBACA,uBACA,iBACA,kBACA,mBACA,oBACA,kBACA,aACA,gBACA,eACA,mBACA,aACA,iBACA,oBACA,eACA,cACA,eACA,gBACA,gBACA,uBACA,eACA,kBACA,gBACA,YACA,aACA,gBACA,WACA,yBACA,qBACA,iBACA,iBACA,+BACA,iBACA,YACA,YACA,mBACA,gBACA,SACA,kBACA,aACA,SACA,QACA,iBACA,kBACA,WACA,iBACA,iBACA,cACA,aACA,aACA,WACA,YACA,iBACA,eACA,YACA,SACA,aACA,WACA,gBACA,aACA,eACA,kBACA,aACA,aACA,mBACA,iBACA,kBACA,gBACA,cACA,WACA,mBACA,iBACA,cACA,gBACA,qBACA,aACA,kBACA,eACA,cACA,gBACA,aACA,kBACA,aACA,UACA,aACA,cACA,YACA,mBACA,eACA,gBACA,gBACA,kBACA,aACA,eACA,aACA,iBACA,kBACA,iBACA,kBACA,6BACA,cACA,SACA,gBACA,iBACA,eACA,mBACA,qBACA,iBACA,kBACA,aACA,YACA,kBACA,YACA,iBACA,oBACA,gBACA,qBACA,kBACA,iBACA,gBACA,kBACA,iBACA,0BACA,UACA,YACA,mBACA,UACA,UACA,WACA,kBACA,eACA,kBACA,iBACA,cACA,gBACA,YACA,cACA,kBACA,kBACA,oBACA,gBACA,UACA,UACA,mBACA,qBACA,cACA,iBACA,cACA,cACA,cACA,cACA,kBACA,cACA,eACA,cACA,sBACA,gBACA,gBACA,aACA,cACA,WACA,kBACA,iBACA,iBACA,WACA,eACA,UACA,WACA,eACA,gBACA,oBACA,eACA,iBACA,kBACA,iBACA,aACA,gBACA,WACA,WACA,UACA,UACA,YACA,kBACA,qBACA,gBACA,iBACA,aACA,UACA,cACA,eACA,gBACA,eACA,gBACA,+BACA,iBACA,SACA,iBACA,gBACA,gBACA,WACA,iBACA,WACA,YACA,cACA,iBACA,mBACA,gBACA,eACA,oBACA,iBACA,iBACA,mBACA,mBACA,kBACA,iBACA,gBACA,eACA,YACA,WACA,SACA,mBACA,YACA,aACA,iBACA,iBACA,iBACA,mBACA,gBACA,WACA,uBACA,QACA,iBACA,gBACA,iBACA,mBACA,YACA,gBACA,iBACA,eACA,gBACA,oBACA,gBACA,cACA,cACA,cACA,iBACA,YACA,eACA,gBACA,gBACA,gBACA,aACA,kBACA,iBACA,cACA,gBACA,gBACA,YACA,aACA,gBACA,iBACA,eACA,iBACA,gBACA,iBACA,gBACA,iBACA,aACA,YACA,iBACA,SACA,WACA,eACA,iBACA,iBACA,uBACA,WACA,WACA,YACA,aACA,YACA,gBACA,eACA,gBACA,WACA,eACA,oBACA,eACA,eACA,gBACA,gBACA,gBACA,eACA,gBACA,mBACA,YACA,aACA,aACA,qBACA,sBACA,gBACA,eACA,qBACA,gBACA,gBACA,gBACA,aACA,oBACA,eACA,aACA,gBACA,cACA,eACA,eACA,eACA,eACA,gBACA,gBACA,cACA,gBACA,gBACA,aACA,aACA,gBACA,eACA,qBACA,eACA,cACA,aACA,gBACA,cACA,eACA,gBACA,kBACA,YACA,YACA,cACA,YACA,eACA,eACA,mBACA,UACA,SACA,aACA,UACA,iBACA,iBACA,cACA,iBACA,gBACA,uBACA,eACA,qBACA,aACA,gBACA,gBACA,gBACA,sBACA,kBACA,YACA,WACA,gBACA,cACA,WACA,aACA,cACA,mBACA,aACA,eACA,iBACA,YACA,kBACA,iBACA,eACA,WACA,YACA,UACA,kBACA,eACA,oBACA,gBACA,kBACA,iBACA,gBACA,aACA,qBACA,mBACA,gBACA,eACA,qBACA,WACA,cACA,iBACA,cACA,aACA,aACA,eACA,cACA,aACA,sBACA,cACA,aACA,cACA,cACA,iBACA,gBACA,eACA,qBACA,cACA,gBACA,cACA,gBACA,mBACA,iBACA,yBACA,oBACA,cACA,gBACA,eACA,iBACA,iBACA,iBACA,oBACA,WACA,YACA,eACA,eACA,WACA,WACA,UACA,gBACA,UACA,WACA,eACA,eACA,oBACA,kBACA,mBACA,iBACA,mBACA,iBACA,eACA,oBACA,iBACA,oBACA,gBACA,eACA,oBACA,mBACA,iBACA,kBACA,kBACA,kBACA,iBACA,qBACA,mBACA,iBACA,qBACA,kBACA,eACA,oBACA,iBACA,iBACA,oBACA,iBACA,kBACA,mBACA,kBACA,mBACA,eACA,iBACA,sBACA,iBACA,iBACA,kBACA,mBACA,iBACA,qBACA,mBACA,iBACA,iBACA,uBACA,mBACA,kBACA,gBACA,mBACA,uBACA,kBACA,qBACA,oBACA,cACA,iBACA,mBACA,sBACA,cACA,YACA,eACA,oBACA,gBACA,oBACA,uBACA,uBACA,cACA,oBACA,gBACA,eACA,mBACA,oBACA,eACA,mBACA,gBACA,uBACA,gBACA,qBACA,mBACA,iBACA,iBACA,gBACA,eACA,eACA,aACA,cACA,kBACA,YACA,aACA,aACA,aACA,gBACA,aACA,aACA,aACA,aACA,WACA,YACA,WACA,UACA,iBACA,cACA,iBACA,cACA,kBACA,gBACA,mBACA,iBACA,cACA,gBACA,kBACA,iBACA,eACA,iBACA,cACA,aACA,iBACA,gBACA,gBACA,gBACA,gBACA,gBACA,iBACA,YACA,aACA,oBACA,gBACA,YACA,cACA,gBACA,oBACA,eACA,iBACA,kBACA,eACA,gBACA,gBACA,aACA,kBACA,gBACA,qBACA,aACA,aACA,SACA,aACA,UACA,YACA,oBACA,YACA,iBACA,eACA,YACA,aACA,QACA,SACA,cACA,WACA,cACA,YACA,UACA,WACA,aACA,UACA,UACA,gBACA,aACA,kBACA,aACA,YACA,UACA,YACA,YACA,gBACA,mBACA,YACA,aACA,gBACA,oBACA,SACA,YACA,cACA,cACA,eACA,SACA,SACA,aACA,qBACA,aACA,aACA,aACA,aACA,aACA,WACA,cACA,cACA,aACA,SACA,aACA,UACA,cACA,aACA,iBACA,YACA,YACA,UACA,UACA,gBACA,iBACA,kBACA,eACA,sBACA,WACA,WACA,iBACA,aACA,aACA,aACA,aACA,YACA,eACA,oBACA,iBACA,aACA,eACA,eACA,cACA,kBACA,wBACA,cACA,eACA,oBACA,iBACA,cACA,eACA,eACA,cACA,oBACA,oBACA,eACA,qBACA,cACA,eACA,gBACA,SACA,cACA,aACA,eACA,aACA,cACA,aACA,yBACA,kBACA,kBACA,gBACA,eACA,YACA,mBACA,mBACA,gBACA,eACA,YACA,iBACA,SACA,cACA,mBACA,kBACA,aACA,cACA,aACA,qBACA,qBACA,qBACA,mBACA,uBACA,eACA,cACA,QACA,UACA,YACA,QACA,aACA,aACA,gBACA,eACA,cACA,YACA,aACA,aACA,mBACA,eACA,eACA,aACA,cACA,cACA,YACA,aACA,mBACA,kBACA,eACA,kBACA,iBACA,iBACA,SACA,aACA,iBACA,aACA,uBACA,eACA,kBACA,cACA,eACA,gBACA,gBACA,aACA,eACA,cACA,qBACA,iBACA,kBACA,iBACA,aACA,SACA,eACA,eACA,iBACA,eACA,oBACA,WACA,oBACA,mBACA,sBACA,cACA,eACA,gBACA,qBACA,iBACA,cACA,iBACA,qBACA,aACA,iBACA,gBACA,eACA,eACA,eACA,eACA,cACA,iBACA,qBACA,YACA,eACA,eACA,mBACA,eACA,eACA,mBACA,kBACA,iBACA,iBACA,eACA,iBACA,cACA,yBACA,oBACA,iBACA,YACA,SACA,eACA,WACA,YACA,aACA,eACA,aACA,cACA,cACA,oBACA,eACA,WACA,aACA,eACA,iBACA,mBACA,aACA,gBACA,gBACA,aACA,cACA,cACA,aACA,QACA,eACA,cACA,cACA,kBACA,gBACA,eACA,WACA,UACA,iBACA,cACA,WACA,UACA,aACA,iBACA,UACA,aACA,WACA,gBACA,eACA,SACA,WACA,WACA,WACA,qBACA,YACA,gBACA,aACA,aACA,WACA,SACA,WACA,cACA,eACA,aACA,QACA,gBACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,cACA,YACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,eACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,WACA,cACA,YACA,eACA,aACA,UACA,aACA,YACA,YACA,YACA,aACA,aACA,cACA,WACA,YACA,YACA,gBACA,cACA,aACA,YACA,YACA,YACA,iBACA,cACA,cACA,gBACA,cACA,aACA,kBACA,eACA,iBACA,gBACA,gBACA,sBACA,gBACA,2BACA,oBACA,YACA,qBACA,wBACA,kBACA,cACA,aACA,cACA,UACA,SACA,cACA,cACA,aACA,cACA,cACA,uBACA,WACA,cACA,UACA,aACA,aACA,cACA,iBACA,aACA,WACA,cACA,cACA,WACA,YACA,YACA,mBACA,YACA,YACA,iBACA,cACA,UACA,WACA,cACA,gBACA,gBACA,UACA,aACA,UACA,WC9oJSC,GAAa,SAAC3F,GAAW,OAA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ACy4B,GAAO,OAEV14B,IAAAC,cAACi9F,GAAU,CACTpwG,KAAK,gBACLovC,gBAAiB,CAACxE,GAAeU,QACjCp4B,IAAAC,cAACktG,GAAY,OAEfntG,IAAAC,cAACi9F,GAAU,CAACpwG,KAAK,iBAAiBovC,gBAAiB,CAACxE,GAAee,WACjEz4B,IAAAC,cAAC+hG,GAAgB,OAEnBhiG,IAAAC,cAACi9F,GAAU,CAACpwG,KAAK,cACfkT,IAAAC,cAAC4iE,GAAS,OAEZ7iE,IAAAC,cAACi9F,GAAU,CAACpwG,KAAK,YACfkT,IAAAC,cAAC6iE,GAAY,OAEf9iE,IAAAC,cAACi9F,GAAU,CAACpwG,KAAK,IAAIg1E,OAAK,GACxB9hE,IAAAC,cAACu+F,GAAK,OAERx+F,IAAAC,cAACi9F,GAAU,CAACpwG,KAAK,iBACfkT,IAAAC,cAACs+F,GAAY,OAEfv+F,IAAAC,cAACi6E,IAAQ,CAAC5zE,KAAK,IAAI7F,GAAG,aC/NtC2gH,IAASprF,OAAOh2B,IAAAC,cAAC2gH,GAAG,MAAKh/G,SAASy/G,eAAe,W","file":"static/js/main.008c2e1f.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/pc_color_no_tagline.17555c47.svg\";","module.exports = __webpack_public_path__ + \"static/media/cspire_business_logo.df4d24ad.svg\";","module.exports = __webpack_public_path__ + \"static/media/MIXLogo_HighRes.ab22f75a.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAABGCAYAAAD4mreoAAAL6klEQVR4Ae2dv48kRxXH146QENzuX3DmL7D5CxD/AQSW7NkLHBAjZz3nC84SCQk6iBARyCFCugCJhGCFCEG6BEJ0JCQEbIJIB39q+jP79rm6e3ame71zVyX1VHXV+1XvfetVde/p+uysVlbPHn/78umn76y6l+98vL5q11vgg1X3kpifrZ49rkFi13fxYffom6v1ry9+9Pnmk1/+dvPzP/x5c/X3fzzY67vrX2zeXa3bNbMPCgY+7B7tgLF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GETIntLgjn3usqwBdIJavyd7Iyv+4aO3tA7rZE7Ai2VLcb5wHQnAegeciY+IptOuorA33HGEicNA6Vv6wcVmOfSVxFJUsMrCBpqZHTr86NoKBv52wPzuEcoO5cOzeAJH8Jem+H45FP0LtoBE0GljxjILmZx/o1c3Oe6JX/JGpTvak8G+3EDGC/creZJG0pkVc+HLLVsV2Nkca2tOrIjocu6q2NKyvWgsBsQ8DJCNI47j117su25fFsS6S/GStb1+4AjT1R54NvOylWmg5kcq5ix6l7J95sNyUdb0EQeWnv+C67FzpLmdkpO1p1sI+XTNFdm5niClfelLNzQLPe2rgZBx1xvp5LMk+2Jc6l2B7moX5leX8StatUB1hjfJw099LqRPd5eagZy3ymbfqzUzIt425lZCGznSk/BybL816bvM91bXwrm5XfXQuYeIbIPNmWPJebc8w2mziXbMtJ3LPdMEGuMrF+3yYrlKCPvEyLvK6SzMeqQg5XdkimdfyW3P5pijFlDW2R8g/pmxrHHgBZ/NE/5Q3xZFtqc4nytnK3T4bKbHXzQPNA80DzQPNA80DzwJvmgf8DaCW6p/bqx3gAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/cspire_footer2.311a184c.png\";","module.exports = __webpack_public_path__ + \"static/media/num_hub_color_logo.790d1d66.svg\";","module.exports = __webpack_public_path__ + \"static/media/email_plane.3d2a508a.svg\";","module.exports = __webpack_public_path__ + \"static/media/accept_trade.cffb2a14.svg\";","module.exports = __webpack_public_path__ + \"static/media/decline_trade.fa696be4.svg\";","module.exports = __webpack_public_path__ + \"static/media/trade_icon.a9b593e5.svg\";","import { AppContext } from \"./AppContext\";\n\nlet _getAppContext: (() => AppContext) | undefined;\nlet _setAppContext: ((value: React.SetStateAction) => unknown) | undefined;\n\nexport const AppContextAccessor = {\n getAppContext: (): AppContext => {\n if (_getAppContext) {\n return _getAppContext();\n }\n\n throw new Error(\"AppContext getter not set\");\n },\n\n setAppContextGetter: (getAppContext: () => AppContext) => {\n _getAppContext = getAppContext;\n },\n\n setAppContext: (value: React.SetStateAction) => {\n if (_setAppContext) {\n _setAppContext(value);\n } else {\n throw new Error(\"AppContext setter not set\");\n }\n },\n\n setAppContextSetter: (setAppContext: React.Dispatch>) => {\n _setAppContext = setAppContext;\n }\n};\n","export const EnvironmentUtil = {\n apiV1Url: (path: string): string => `${process.env.REACT_APP_API_URL}/api/${path}`,\n apiV2Url: (path: string): string => `${process.env.REACT_APP_API_URL}/v2/${path}`,\n apiV3Url: (path: string): string => `${process.env.REACT_APP_API_URL}/v3/${path}`,\n identityServerUrl: (path: string): string =>\n `${process.env.REACT_APP_IDENTITY_SERVER_URL}/${path}`,\n frontendUrl: (path: string): string => `${process.env.REACT_APP_FRONTEND_URL}/#/${path}`,\n isMixNetwork: (window.location.href).includes(process.env.REACT_APP_MIX_FRONTEND_URL || \"\"), \n isCspire: (window.location.href).includes(process.env.REACT_APP_Cspire_FRONTEND_URL || \"\"),\n isqa: (window.location.href).includes(process.env.REACT_APP_Qa_FRONTEND_URL || \"\"),\n istest: (window.location.href).includes(process.env.REACT_APP_Test_FRONTEND_URL || \"\"),\n isdev: (window.location.href).includes(process.env.REACT_APP_Dev_FRONTEND_URL || \"\"),\n isMixQa: (window.location.href).includes(process.env.REACT_APP_Dev_MIX_QA_FRONTEND_URL || \"\"),\n isMixUat: (window.location.href).includes(process.env.REACT_APP_Dev_MIX_UAT_FRONTEND_URL || \"\"),\n isPrdUrl: (window.location.href).includes(process.env.REACT_APP_FRONTEND_URL || \"\"),\n isPrdMixUrl: (window.location.href).includes(process.env.REACT_APP_MIX_FRONTEND_URL || \"\"),\n signalRUrl: `${process.env.REACT_APP_API_URL}/hub/notification`,\n oAuthClientId: process.env.REACT_APP_OAUTH_CLIENT_ID,\n oAuthClientSecret: process.env.REACT_APP_OAUTH_CLIENT_SECRET,\n oAuthScope: process.env.REACT_APP_OAUTH_SCOPE,\n version: process.env.REACT_APP_BUILD\n};\n","export enum ApiVersion {\n V1,\n V2,\n V3\n}\n","import { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { ApiVersion } from \"./ApiVersion\";\n\nexport const getApiUrl = (url: string, version: ApiVersion) =>\n (version === ApiVersion.V2) ? EnvironmentUtil.apiV2Url(url) : (version === ApiVersion.V3) ? EnvironmentUtil.apiV3Url(url) : EnvironmentUtil.apiV1Url(url);\n","import { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { ApiError } from \"../apis/types/ApiError\";\nimport { IdentityService } from \"../identity/IdentityService\";\nimport { FieldError } from \"../apis/types/FieldError\";\nimport { EnvironmentUtil } from \"../util/EnvironmentUtil\";\nimport { getApiUrl } from \"./HttpClientUtil\";\nimport { ApiVersion } from \"./ApiVersion\";\n\nexport const HttpClient = {\n get: async (\n url: string,\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = false,\n customTenant = \"\",\n version: ApiVersion = ApiVersion.V1\n ) => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"GET\",\n headers: headersContent\n }).then(handleResponse());\n },\n\n getResource: async (\n url: string,\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = false,\n customTenant = \"\",\n version: ApiVersion = ApiVersion.V1\n ) => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"GET\",\n headers: headersContent\n }).then(handleResourceResponse());\n },\n\n post: async (\n url: string,\n bodyObject: any,\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = false,\n customTenant: string = \"\",\n version: ApiVersion = ApiVersion.V1\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"POST\",\n headers: headersContent,\n body: JSON.stringify(bodyObject)\n }).then(handleResponse());\n },\n\n postResource: async (\n url: string,\n bodyObject: any,\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = false,\n customTenant: string = \"\",\n version: ApiVersion = ApiVersion.V1\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant, true);\n\n return fetch(getApiUrl(url, version), {\n method: \"POST\",\n headers: headersContent,\n body: bodyObject\n }).then(handleResponse());\n },\n\n delete: async (\n url: string,\n bodyObject: any,\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = true,\n customTenant: string = \"\", \n version: ApiVersion = ApiVersion.V1\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"DELETE\",\n headers: headersContent,\n body: JSON.stringify(bodyObject)\n }).then(handleResponse());\n },\n\n put: async (\n url: string,\n bodyObject: any = {},\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = true,\n customTenant: string = \"\", \n version: ApiVersion = ApiVersion.V1\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"PUT\",\n headers: headersContent,\n body: JSON.stringify(bodyObject)\n }).then(handleResponse());\n },\n\n putResource: async (\n url: string,\n bodyObject: any = {},\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = true,\n customTenant: string = \"\"\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant, true);\n\n return fetch(EnvironmentUtil.apiV1Url(url), {\n method: \"PUT\",\n headers: headersContent,\n body: bodyObject\n }).then(handleResponse());\n },\n\n patch: async (\n url: string,\n bodyObject: any = {},\n addAuthorizationToken: boolean = true,\n addSelectedTenant: boolean = true,\n customTenant: string = \"\",\n version: ApiVersion = ApiVersion.V1\n ): Promise => {\n await IdentityService.checkAndRenewAccessToken();\n\n const headersContent = getHeaders(addAuthorizationToken, addSelectedTenant, customTenant);\n\n return fetch(getApiUrl(url, version), {\n method: \"PATCH\",\n headers: headersContent,\n body: JSON.stringify(bodyObject)\n }).then(handleResponse());\n }\n};\n\nconst handleResponse = (): ((value: Response) => Promise) => {\n return async (response) => {\n if (response.ok) {\n try {\n const json = await response.json();\n\n return json as T;\n } catch (error) {\n return (response as unknown) as T;\n }\n } else {\n return await handleErrorResponse(response);\n }\n };\n};\n\nconst handleResourceResponse = (): ((value: Response) => Promise) => {\n return async (response) => {\n if (response.ok) {\n try {\n return await response.blob();\n } catch (error) {\n throw response;\n }\n } else {\n return await handleErrorResponse(response);\n }\n };\n};\n\nconst handleErrorResponse = async (response: Response) => {\n let json: {\n fieldErrors?: { [id: string]: FieldError[] };\n message?: string;\n error?: number;\n } = {};\n\n try {\n json = await response.json();\n } catch (error) {\n //ignore\n }\n\n const apiError: ApiError = { ...json, error: response.status };\n\n throw apiError;\n};\n\nconst getHeaders = (\n addAuthorizationToken: boolean,\n addSelectedTenant: boolean,\n customTenant: string,\n hasFile?: boolean\n) => {\n let headersContent: Record = {\n Accept: \"text/plain\",\n \"Cache-Control\": \"no-cache\",\n Pragma: \"no-cache\"\n };\n\n if (!hasFile) {\n headersContent[\"Content-Type\"] = \"application/json-patch+json\";\n }\n\n if (customTenant || addSelectedTenant) {\n const spId = customTenant || getSpId();\n\n if (spId) {\n headersContent[\"X-PortControl-Tenant\"] = spId;\n }\n }\n\n if (addAuthorizationToken) {\n headersContent[\"Authorization\"] = `Bearer ${\n AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.access_token\n }`;\n }\n\n return headersContent;\n};\n\nconst getSpId = () => {\n const appContext = AppContextAccessor.getAppContext();\n\n return appContext.localStorageInfo.selectedProfile\n ? appContext.localStorageInfo.selectedProfile.spId\n : \"\";\n};\n","import { IdentityResponse } from \"./types/identity/IdentityResponse\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { RequestPasswordReset } from \"services/apis/types/identity/RequestPasswordReset\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ResetPassword } from \"services/apis/types/identity/ResetPassword\";\nimport { ChangePasswordDto } from \"services/apis/types/identity/ChangePasswordDto\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport queryString from \"query-string\";\n\nexport const IdentityApi = {\n login: async (username: string, password: string): Promise => {\n let requestParams = queryString.stringify({\n grant_type: \"password\",\n username: username,\n password: password,\n scope: EnvironmentUtil.oAuthScope,\n client_id: EnvironmentUtil.oAuthClientId,\n client_secret: EnvironmentUtil.oAuthClientSecret\n });\n\n const response = await fetch(EnvironmentUtil.identityServerUrl(\"connect/token\"), getRequestInit(requestParams));\n const json = await response.json();\n\n return json as IdentityResponse;\n },\n\n refreshAccessToken: async (): Promise => {\n let requestParams = queryString.stringify({\n grant_type: \"refresh_token\",\n refresh_token: AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.refresh_token,\n client_id: EnvironmentUtil.oAuthClientId,\n client_secret: EnvironmentUtil.oAuthClientSecret\n });\n\n const response = await fetch(EnvironmentUtil.identityServerUrl(\"connect/token\"), getRequestInit(requestParams));\n const identityResponse = (await response.json()) as IdentityResponse;\n\n return identityResponse;\n },\n\n requestPasswordReset: async (requestPasswordReset: RequestPasswordReset): Promise => {\n return HttpClient.post(\"account/requestpasswordreset\", requestPasswordReset, false);\n },\n\n resetPassword: async (resetPassword: ResetPassword): Promise => {\n return HttpClient.post(\"account/resetpassword\", resetPassword, false);\n },\n\n changePassword: async (changePasswordDto: ChangePasswordDto): Promise => {\n return HttpClient.post(\"account/changepassword\", changePasswordDto, true, false);\n }\n};\n\nconst getRequestInit = (body: string): RequestInit => {\n return {\n method: \"POST\",\n headers: {\n \"Content-Type\": \"application/x-www-form-urlencoded\"\n },\n body: body\n };\n};\n","export type AuthenticationInfo = {\n authenticated: boolean;\n username: string;\n access_token: string;\n refresh_token: string;\n expiry: string;\n};\n\nexport const DefaultAuthenticationInfo: AuthenticationInfo = {\n authenticated: false,\n username: \"\",\n access_token: \"\",\n refresh_token: \"\",\n expiry: \"\"\n};\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { UserDto } from \"./types/account/UserDto\";\nimport { UpdateAccountDto } from \"./types/account/UpdateAccountDto\";\nimport { ApiError } from \"./types/ApiError\";\nimport { SignUpRequestDto } from \"./types/account/SignUpRequestDto\";\nimport { VerifyTokenDto } from \"./types/account/VerifyTokenDto\";\n\nexport const AccountApi = {\n info: (): Promise => {\n return HttpClient.get(\"account/info\");\n },\n\n updateInfo: (model: UpdateAccountDto): Promise => {\n return HttpClient.put(`account/info`, model, true, false);\n },\n\n signup: (model: SignUpRequestDto): Promise => {\n return HttpClient.post(`account/signup`, model, false, false);\n },\n\n verify: (model: VerifyTokenDto): Promise => {\n return HttpClient.post(`account/verify`, model, false, false);\n }\n};\n","export type Orders = {\r\n orderType?: string;\r\n status?: string;\r\n gainingSpId?: string;\r\n loosingSpId?: string;\r\n orderTableCarrierName?: string;\r\n workedBy?: string;\r\n dueDate?: Array;\r\n nextWorkDate?: Array;\r\n pageSize?: number;\r\n pageIndex?: number;\r\n adminProjectId?: string;\r\n};\r\n\r\nexport const DefaultOrderDetails: Orders = {\r\n orderType: \"Any\",\r\n status: \"Any\",\r\n gainingSpId: \"Any\",\r\n loosingSpId: \"Any\",\r\n orderTableCarrierName: \"Any\",\r\n workedBy: \"Any\",\r\n pageSize: 10,\r\n pageIndex: 1,\r\n adminProjectId: \"Any\"\r\n};\r\n","export type WorkQueue = {\r\n orderType?: string;\r\n status?: string;\r\n organization?: string;\r\n gainingSpId?: string;\r\n loosingSpId?: string;\r\n workedBy?: string;\r\n dueDate?: Array;\r\n nextWorkDate?: Array;\r\n creationDate?: Array;\r\n pageSize?: number;\r\n pageIndex?: number;\r\n};\r\n\r\nexport const DefaultWorkQueueDetails: WorkQueue = {\r\n orderType: \"Any\",\r\n status: \"Any\",\r\n organization: \"Any\",\r\n gainingSpId: \"Any\",\r\n loosingSpId:\"Any\",\r\n workedBy: \"Any\",\r\n pageSize: 10,\r\n pageIndex: 1\r\n};\r\n","import { IdentityApi } from \"services/apis/IdentityApi\";\nimport {\n AuthenticationInfo,\n DefaultAuthenticationInfo\n} from \"services/appContext/AuthenticationInfo\";\nimport { IdentityResponse } from \"services/apis/types/identity/IdentityResponse\";\nimport { AppContextAccessor } from \"../appContext/AppContextAccessor\";\nimport { AccountApi } from \"services/apis/AccountApi\";\nimport { DefaultOrderDetails } from \"services/appContext/Orders\";\nimport { DefaultWorkQueueDetails } from \"services/appContext/WorkQueue\";\n\nexport const IdentityService = {\n clearAuthenticationInfo: (sessionExpired?: boolean) => {\n localStorage.removeItem('isCheckAutoActivation');\n localStorage.removeItem('isCheckAttentionRequired');\n AppContextAccessor.setAppContext((appContext) => {\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n authenticationInfo: DefaultAuthenticationInfo,\n user: undefined,\n selectedProfile: undefined,\n orders: DefaultOrderDetails,\n workQueue: DefaultWorkQueueDetails,\n provisionOrders: [],\n startTime: \"\",\n duration: \"\",\n hasTokenIdentifier: false\n },\n showSessionExpiredError: sessionExpired || false,\n hasTokenIdentifier: false,\n previousUrl: '',\n isLoggedOut: true\n };\n });\n },\n\n login: async (username: string, password: string): Promise => {\n const identityResponse = await IdentityApi.login(username, password);\n\n if (identityResponse.error) {\n return false;\n }\n\n AppContextAccessor.setAppContext((appContext) => {\n const authenticationInfo = getNewAuthenticationInfo(\n identityResponse,\n appContext.localStorageInfo.authenticationInfo\n );\n\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n authenticationInfo: {\n ...authenticationInfo,\n authenticated: true,\n username: username\n }\n }\n };\n });\n\n return true;\n },\n\n checkAndRenewAccessToken: async (): Promise => {\n if (AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.authenticated) {\n if(!AppContextAccessor.getAppContext().localStorageInfo.orders) {\n AppContextAccessor.setAppContext((appContext) => {\n appContext.localStorageInfo.orders = DefaultOrderDetails;\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n }\n };\n });\n }\n if(!AppContextAccessor.getAppContext().localStorageInfo.workQueue) {\n AppContextAccessor.setAppContext((appContext) => {\n appContext.localStorageInfo.workQueue = DefaultWorkQueueDetails;\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n }\n };\n });\n }\n if (\n accessTokenIsExpired(\n AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.expiry\n )\n ) {\n const identityResponse: IdentityResponse = await IdentityApi.refreshAccessToken();\n\n if (renewFailed(identityResponse)) {\n IdentityService.clearAuthenticationInfo(true);\n\n return false;\n }\n\n AppContextAccessor.setAppContext((appContext) => {\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n authenticationInfo: getNewAuthenticationInfo(\n identityResponse,\n appContext.localStorageInfo.authenticationInfo\n )\n }\n };\n });\n }\n\n return true;\n }\n\n return false;\n },\n\n fetchUserInfo: async () => {\n AccountApi.info().then((fetchedUser) => {\n AppContextAccessor.setAppContext((appContext) => {\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n user: {\n ...fetchedUser,\n settings: {\n ui: fetchedUser.settings.ui && JSON.parse(fetchedUser.settings.ui)\n }\n },\n selectedProfile:\n !appContext.localStorageInfo.selectedProfile && fetchedUser.spIdProfiles.length > 0\n ? fetchedUser.spIdProfiles[0]\n : appContext.localStorageInfo.selectedProfile\n }\n };\n });\n });\n }\n};\n\nexport const getNewAuthenticationInfo = (\n identityResponse: IdentityResponse,\n authenticationInfo: AuthenticationInfo\n): AuthenticationInfo => {\n const newAuthenticationInfo: AuthenticationInfo = {\n ...authenticationInfo,\n access_token: identityResponse.access_token,\n refresh_token: identityResponse.refresh_token,\n expiry: getNewExpiryDate(identityResponse.expires_in)\n };\n\n return newAuthenticationInfo;\n};\n\nconst accessTokenIsExpired = (expiry: string): boolean => {\n const date = new Date();\n const expiryDate = new Date(expiry);\n\n return date > expiryDate;\n};\n\nconst getNewExpiryDate = (expiresIn: number): string =>\n new Date(new Date().getTime() + expiresIn * 1000).toString();\n\nconst renewFailed = (identityResponse: IdentityResponse) =>\n !identityResponse ||\n identityResponse.error ||\n !identityResponse.access_token ||\n !identityResponse.refresh_token;\n","import React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { NavbarBrand, Navbar, Container, Nav, DropdownToggle, UncontrolledDropdown } from \"reactstrap\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\nconst isCspireUrl = EnvironmentUtil.isCspire\nexport default function LoginNavbar() {\n return (\n \n \n \n {isCspireUrl ? (\n \"Cspire\"\n ) : !isMixNetworkUrl ? (\n \"PortControl\"\n ) : (\n \n )}\n \n \n \n \n );\n}\n","import React , { useEffect } from \"react\";\n\nexport type Props = {\n portalId: string;\n ctaToken: string;\n}\n\nexport function HubSpotCallToAction(props: Props) {\n useEffect(()=> {\n\n // loading script\n const script = document.createElement('script');\n script.src ='https://js.hscta.net/cta/current.js';\n script.async = true;\n document.body.appendChild(script);\n \n var hbspt = window['hbspt'];\n if (hbspt) {\n hbspt.cta.load(props.portalId, props.ctaToken, {\"useNewLoader\":\"true\",\"region\":\"na1\"});\n }\n\n // remove script once component has been dismounted\n return ()=>{\n delete window['hbspt'];\n document.body.removeChild(script);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n },[]);\n \n return (\n
\n \n \n \n \n \n \n \n
\n );\n }","import translations from \"translations\";\nimport { AuthenticationInfo, DefaultAuthenticationInfo } from \"./AuthenticationInfo\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport { LocalStorageUser } from \"services/appContext/LocalStorageUser\";\nimport { DefaultOrderDetails, Orders } from \"./Orders\";\nimport { DefaultWorkQueueDetails, WorkQueue } from \"./WorkQueue\";\nimport { ProvisionOrderListDto } from \"services/apis/types/order/ProvisionOrderListDto\";\n\nexport type LocalStorageInfo = {\n authenticationInfo: AuthenticationInfo;\n language: keyof typeof translations;\n selectedProfile?: SpIdProfileDto;\n user?: LocalStorageUser;\n orders?: Orders;\n workQueue?: WorkQueue;\n hasTokenIdentifier?: boolean;\n provisionOrders?: ProvisionOrderListDto[];\n timerStartTime?: any;\n startTime?: string;\n duration?: string;\n};\n\nexport const DefaultLocalStorageInfo: LocalStorageInfo = {\n authenticationInfo: DefaultAuthenticationInfo,\n language: \"en\",\n orders: DefaultOrderDetails,\n workQueue: DefaultWorkQueueDetails,\n hasTokenIdentifier: false,\n provisionOrders: [],\n timerStartTime: \"\"\n};\n","import { LocalStorageInfo, DefaultLocalStorageInfo } from \"./LocalStorageInfo\";\n\nconst localStorageInfoKey = \"portControl.info\";\n\nexport const AppContextUtil = {\n saveToLocalStorage: (info: LocalStorageInfo) => {\n localStorage.setItem(localStorageInfoKey, JSON.stringify(info));\n },\n\n getFromLocalStorage: (): LocalStorageInfo => {\n const localStorageInfo = localStorage.getItem(localStorageInfoKey);\n\n if (localStorageInfo) {\n const user = JSON.parse(localStorageInfo);\n\n return user;\n }\n\n return DefaultLocalStorageInfo;\n }\n};\n","import React from \"react\";\nimport { LocalStorageInfo } from \"./LocalStorageInfo\";\nimport { AppContextUtil } from \"./AppContextUtil\";\nimport { NotificationDto } from \"services/apis/types/notification/NotificationDto\";\n\ntype AppContextWrapper = {\n appContext: AppContext;\n setAppContext: (newAppContext: AppContext) => unknown;\n};\n\nexport type AppContext = {\n localStorageInfo: LocalStorageInfo;\n notifications?: NotificationDto[];\n initialized: boolean;\n showSessionExpiredError: boolean;\n previousUrl: string,\n isLoggedOut: boolean;\n theme: 'light' | 'dark'; // Add theme property\n changeTheme: (newTheme: 'light' | 'dark') => void; // Add changeTheme function\n};\n\nexport function GetAppContext(): AppContext {\n const info: LocalStorageInfo = AppContextUtil.getFromLocalStorage();\n\n return {\n localStorageInfo: info,\n initialized: false,\n showSessionExpiredError: false,\n previousUrl: '',\n isLoggedOut: false,\n theme: 'light', // Default theme\n changeTheme: () => {} // Default no-op function\n };\n}\n\nexport const AppContext = React.createContext({\n appContext: GetAppContext(),\n setAppContext: () => {}\n});\n","import React, { useCallback, useContext } from \"react\";\nimport { Container, Row, Col, Nav, NavItem, NavLink } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Link } from \"react-router-dom\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { HubSpotCallToAction } from \"components/common/HubSpotCallToAction\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\nconst isCspireUrl = EnvironmentUtil.isCspire\n\nexport default function Footer() {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const isLoggedIn = appContext.localStorageInfo.user;\n\n const isFreeUser = useCallback(()=> appContext.localStorageInfo.selectedProfile?.external,[ appContext.localStorageInfo.selectedProfile]);\n\n const hubspotParameter = useCallback((parameterName: string)=> {\n const userType = isFreeUser() ? \"freeUser\" : \"paidUser\";\n return intl.formatMessage({id: `adminNavBar.hubSpot.callToAction.${userType}.${parameterName}`});\n },[intl, isFreeUser]);\n\n return (\n
\n \n \n {isCspireUrl ? (\n \n
\n
\n © {new Date().getFullYear()} \n \n
\n
\n \n
\n
\n
\n \n \"BBB\n \n \n \"Carrier\n \n
\n \n \n ) : (\n <>\n \n
\n
{isMixNetworkUrl ? \"Copyright\" : \"©\"} {new Date().getFullYear()}
\n
\n \n
\n {!isMixNetworkUrl && (\n \n {process.env.REACT_APP_VERSION}\n \n )}\n
\n \n {!isMixNetworkUrl && !isLoggedIn && }\n {!isMixNetworkUrl && isLoggedIn &&\n \n
\n
\n \n
\n
\n }\n \n \n \n \n )}\n
\n
\n
\n );\n}\n","import React, { useContext } from \"react\";\nimport LoginNavbar from \"./LoginNavbar\";\nimport Footer from \"components/framework/footer/Footer\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n children: React.ReactNode;\n};\n\nexport default function LoginLayout(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n
\n \n {props.children}\n
\n
\n );\n}\n","import React, { useContext } from \"react\";\nimport { Container, Row, Col } from \"reactstrap\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n title: string;\n};\n\nexport default function LoginHeader(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n
\n \n
\n \n \n {props.title ?

{props.title}

: null}\n \n
\n
\n
\n
\n );\n}\n","import { useState } from \"react\";\nimport { Error, Errors } from \"components/framework/errorHandling/ErrorUtil\";\n\nexport const useErrors = (): ErrorState => {\n const [errors, setErrors] = useState({});\n\n const setErrorsWrapper = (key: string) => {\n setErrors(prevState => {\n const errors = { ...prevState };\n errors[key] = [];\n return errors;\n });\n };\n\n const getErrorHandler = (key: string): ErrorHandler => {\n const clear = () => setErrorsWrapper(key);\n const getErrors = () => errors[key];\n\n return { clear, getErrors };\n };\n\n return { setErrors, getErrorHandler };\n};\n\nexport type ErrorHandler = {\n clear: () => void;\n getErrors: () => Error[];\n};\n\nexport type ErrorState = {\n setErrors: React.Dispatch>>;\n getErrorHandler: (key: string) => ErrorHandler;\n};\n","import { ApiError } from \"services/apis/types/ApiError\";\n\nexport const AddError = (\n errors: Errors,\n key: string,\n message: string,\n hasTranslation: boolean = true\n) => {\n let error: Error = { message, hasTranslation };\n\n if (key in errors) {\n errors[key].push(error);\n } else {\n errors[key] = [error];\n }\n};\n\nexport const HasErrors = (errors: Errors): boolean => {\n return Object.keys(errors).length > 0;\n};\n\nexport const HasFieldErrors = (errors: Errors | ApiError): boolean =>\n errors.fieldErrors !== undefined && Object.keys(errors.fieldErrors).length !== 0;\n\nexport type Error = {\n message: string;\n hasTranslation: boolean;\n};\n\nexport type Errors = Record;\n\nexport const getParameterCaseInsensitive = (object: Errors, key: string) => {\n if (object) {\n const key2: string | undefined = Object.keys(object).find(\n (k) => k.toLowerCase() === key.toLowerCase()\n );\n\n if (key2) {\n return object[key2];\n }\n }\n\n return [];\n};\n","export const getUniqueElements = (elements: any[]) => Array.from(new Set(elements));\n\nexport const distinctFilter = (v: any, i: number, a: any[]) => i === a.findIndex(v2 => stringifyLimited(v2) === stringifyLimited(v));\n\n\nconst stringifyLimited = (obj, depth = 10) => {\n const replacer = (key, value) => {\n if (typeof value === 'object' && value !== null) {\n if (depth <= 0) return undefined;\n depth--;\n }\n return value;\n };\n return JSON.stringify(obj, replacer);\n};\n\nexport const deepCloneWithCircular = (obj, clonedObjects = new WeakMap()) => {\n // Check if the object has already been cloned\n if (clonedObjects.has(obj)) {\n return clonedObjects.get(obj);\n }\n // Handle non-object types\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n // Create a new object or array to clone into\n const clone = Array.isArray(obj) ? [] : {};\n // Add the object to the clonedObjects map before cloning its properties\n clonedObjects.set(obj, clone);\n // Clone each property recursively\n for (const key in obj) {\n if (obj.hasOwnProperty(key)) {\n clone[key] = deepCloneWithCircular(obj[key], clonedObjects);\n }\n }\n return clone;\n};","import { getUniqueElements } from \"./ArrayUtil\";\n\nexport function getValueOrEmpty(value: string | undefined) {\n return value ? value : \"\";\n}\n\nexport function getYesOrNo(value: string | undefined) {\n return value ? \"Yes\" : \"No\"\n}\n\nexport function undefinedIfEmpty(value: string | undefined) {\n return value === \"\" || value === undefined ? undefined : value;\n}\n\nexport const lowerCaseIncludes = (value: string, text: string) =>\n !!text && typeof (value) === \"string\" && text?.toLowerCase && text?.toLowerCase().includes(value.toLowerCase());\n\nexport function isEmail(email: string) {\n const regularExpression = /^(([^<>()\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n\n return regularExpression.test(String(email).toLowerCase());\n}\n\nexport function isUrl(url: string) {\n const regularExpression = /(ftp|http|https):\\/\\/(\\w+:{0,1}\\w*@)?(\\S+)(:[0-9]+)?(\\/|\\/([\\w#!:.?+=&%@!]))?/;\n\n return regularExpression.test(url);\n}\n\nexport const isEmailOrUrl = (value: string) => isEmail(value) || isUrl(value);\n\nexport function isRange(value: string) {\n const regularExpression = /^\\d{10}-{1}\\d{4}$/;\n\n return regularExpression.test(value);\n}\n\nexport function isNumber(value: string) {\n const regularExpression = /^[0-9]+$/;\n\n return regularExpression.test(value);\n}\n\nexport function isPhoneNumber(value: string) {\n const regularExpression = /^\\d{3}-?\\d{3}-?\\d{4}$/;\n\n return regularExpression.test(value);\n}\n\nexport function removeDashes(value: string): string {\n const regularExpression = /-/g;\n\n return value.replace(regularExpression, \"\");\n}\n\nexport function replaceWhitespaceWithComma(value: string): string {\n const regularExpression = /\\s+/g;\n\n return value.replace(regularExpression, \",\");\n}\n\nexport const isAlphanumeric = (value: string) => {\n const regularExpression = /^[0-9a-zA-Z]+$/;\n\n return regularExpression.test(value);\n};\n\nexport const isPhoneNumberRegex = (value: string) => {\nconst phoneNumberRegex = /^[a-zA-Z0-9-]+$/;\nreturn phoneNumberRegex.test(value);\n};\n\nexport const isNumericRegex = (value: string) => {\n const numericRegex = /^(?=.*\\d)[\\dxX]*$/;\n return numericRegex.test(value);\n}\n\nexport const isQtyNumericRegex = (value: string) => {\n const numericRegex = /^[1-9]\\d*$/;\n return numericRegex.test(value);\n}\n\n\nexport const isSpid = (value: string) => value.length === 4 && isAlphanumeric(value);\nexport const isRespOrg = (value: string) => value.length === 5 && isAlphanumeric(value);\nexport const isCode = (value: string) => value.length === 6 && isNumber(value);\nexport const isBlock = (value: string) => value.length === 7 && isNumber(value);\nexport const isLrn = (value: string) => value.length === 10 && isNumber(value);\n\nexport const splitCommaSeparatedList = (list: string) =>\n list.split(/,| |, /).filter((x) => x !== \"\");\n\nexport const getFileExtension = (fileName: string) => fileName.substring(fileName.lastIndexOf(\".\"));\n\nexport const getPhoneNumberListItems = (numberInputValue: string): string[] =>\n splitCommaSeparatedList(numberInputValue);\n\nexport const getPhoneNumberList = (numberInputValue: string): string[] => {\n const listItems = getPhoneNumberListItems(numberInputValue);\n const phoneNumbers: string[] = [];\n\n for (const listItem of listItems) {\n if (!listItem) {\n continue;\n }\n\n if (listItem.length === 15 && isRange(listItem)) {\n const startRange = Number(listItem.slice(0, 10));\n const endRange = Number(listItem.slice(0, 6) + listItem.slice(11, 15));\n phoneNumbers.push(\n ...Array.from(Array(endRange - startRange + 1).keys()).map((x) =>\n (startRange + x).toString()\n )\n );\n } else {\n const phoneNumber = removeDashes(listItem);\n if (phoneNumber.length === 10 && isPhoneNumber(phoneNumber)) {\n phoneNumbers.push(listItem);\n }\n }\n }\n\n return getUniqueElements(phoneNumbers);\n};\n\nexport const truncateAndAppendEllipsis = (text: string | undefined, maxLength = 80): string => {\n const value = getValueOrEmpty(text);\n return value.length > maxLength ? `${value.substring(0, maxLength)}...` : value;\n};\n\nexport const removeWhitespace = (value: string) => {\n const regularExpression = /\\s+/g;\n\n return value.replace(regularExpression, \"\");\n};\n\nexport const lowerCaseEquals = (first: string, second: string) =>\n first.toLowerCase() === second.toLowerCase();\n\nexport function getValue(value: boolean) {\n return value ? \"general.yes\" : \"general.no\";\n}\n//12473 - Only US postal code\n// export const isValidZipCode = (zipCode: string) =>\n// zipCode && zipCode.length > 4 && zipCode.length < 7 && zipCode.match(/^[A-Za-z0-9]*$/);\nexport const isValidZipCode = (zipCode) => zipCode && /^\\d{5}$/.test(zipCode);\n\nexport const isValidResidentialOrBusinessRule = (rule: string) => {\n return rule && rule.length <= 1000;\n}\nexport const hasNameLengthExceeded = (name: string) => \n name && name.length < 50;\n\nexport const isValidName = (name: string) => \n name && name.match(/^[A-Za-z0-9]*$/);\n","import React from \"react\";\nimport { Error } from \"./ErrorUtil\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n errors: Error[];\n};\n\nexport default function InputError(props: Props) {\n return (\n <>\n {props.errors &&\n props.errors.map((x, i) => (\n
\n {x.hasTranslation && }\n {!x.hasTranslation && x.message}\n
\n ))}\n \n );\n}\n","import React, { useState } from \"react\";\nimport { FormGroup, Input, InputGroup, InputGroupAddon, InputGroupText } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { InputType } from \"reactstrap/lib/Input\";\n\ntype Props = {\n disabled?: boolean;\n value: string;\n errorHandler: ErrorHandler;\n className?: string;\n placeholderTranslationId: string;\n icon: string;\n type?: InputType;\n handleInputChange: (value: string) => void;\n};\n\nexport default function TextFormInputGroup(props: Props) {\n const [focused, setFocused] = useState(false);\n const intl = useIntl();\n\n return (\n \n \n \n \n \n \n \n setFocused(true)}\n onBlur={() => setFocused(false)}\n value={props.value ? props.value : \"\"}\n onChange={e => {\n props.errorHandler.clear();\n props.handleInputChange(e.target.value);\n }}\n />\n \n \n \n );\n}\n","import { useRef, useEffect } from \"react\";\n\nexport const useIsMounted = () => {\n const isMounted = useRef(true);\n\n useEffect(() => {\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n return isMounted;\n};\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\n\nexport const IdentifierApi = {\n getToken: (identifier: string): Promise => {\n return HttpClient.get(`enterprise/identifier?token=${identifier}`,);\n }\n};","import React from 'react';\n\nexport default function PolygonLoader() {\n return (\n <>\n
\n
\n
\n
\n
\n
\n
\n
\n \n )\n}","import React from \"react\";\n\ntype Props = {\n closeToast?: () => {};\n};\n\nexport default function NotificationCloseButton(props: Props) {\n return ;\n}\n","import React from \"react\";\nimport { toast, ToastOptions} from \"react-toastify\";\nimport { css } from \"glamor\";\nimport NotificationCloseButton from \"./NotificationCloseButton\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport classNames from \"classnames\";\n\n\nconst toastOptions: ToastOptions = {\n position: toast.POSITION.TOP_CENTER,\n hideProgressBar: true,\n autoClose: 5000,\n bodyClassName: css({\n fontFamily: \"Open Sans, sans-serif\",\n color: \"white\"\n }),\n closeButton: ,\n closeOnClick: false\n};\n\nconst toastErrorNotificationOptions: ToastOptions = {\n position: toast.POSITION.TOP_CENTER,\n hideProgressBar: true,\n autoClose: 5000,\n bodyClassName: css({\n fontFamily: \"Open Sans, sans-serif\",\n color: \"white\"\n }),\n closeButton: ,\n closeOnClick: false\n}\n\nexport function showDuplicationInfoNotification(\n message: string,\n customToastOptions?: ToastOptions,\n largeText?: boolean\n) {\n if (AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.authenticated)\n toast(message, {\n ...toastErrorNotificationOptions,\n className: classNames(\"text-white bg-danger rounded mx-3\", {\n \"text-sm\": !largeText\n }),\n ...customToastOptions\n });\n}\n\nexport function showInfoNotification(\n message: string,\n customToastOptions?: ToastOptions,\n largeText?: boolean\n) {\n if (AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.authenticated)\n toast(message, {\n ...toastOptions,\n className: classNames(\"rounded text-white bg-info p-3\", {\n \"text-sm\": !largeText\n }),\n ...customToastOptions\n });\n}\n\nexport function showErrorNotification(message: string) {\n if (AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.authenticated)\n toast(, { ...toastOptions, className: \"rounded text-white bg-danger text-sm p-3\"});\n}\n\nexport function showErrorNotificationNonAuthenticated(message: string) {\n toast(message, { ...toastOptions, className: \"rounded text-white bg-danger text-sm p-3\" });\n}\n\nexport interface MsgProps {\n message:string;\n}\n\nconst Msg = (props: MsgProps)=> {\n return
\n { props.message.split(\"\\r\\n\")\n .map(messageLine=> (
{messageLine}
))\n }\n
\n};","import React, { useState, FormEvent, useEffect, useContext } from \"react\";\nimport { Button, Card, CardBody, Form, Container, Row, Col, Alert } from \"reactstrap\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { Link, useLocation } from \"react-router-dom\";\nimport { IdentityService, getNewAuthenticationInfo } from \"services/identity/IdentityService\";\nimport LoginLayout from \"components/framework/loginLayout/LoginLayout\";\nimport LoginHeader from \"components/framework/loginLayout/LoginHeader\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { isEmail } from \"services/util/StringUtil\";\nimport TextFormInputGroup from \"components/framework/forms/TextFormInputGroup\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { IdentifierApi } from \"services/apis/identifierApi\";\nimport PolygonLoader from \"components/common/PolygonLoader\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ninterface LocationState {\n from: {\n pathname: string;\n };\n}\n\nexport default function Login() {\n const location = useLocation();\n const { setErrors, getErrorHandler } = useErrors();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [email, setEmail] = useState(\"\");\n const [password, setPassword] = useState(\"\");\n const [showError, setShowError] = useState(false);\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const [paramsId, setParamsId] = useState(\"\");\n const [accessToken, setAccessToken] = useState(\"\");\n const isMounted = useIsMounted();\n const from: LocationState = (location.state || { from: { pathname: '/' } }) as LocationState;\n const pathname = appContext.isLoggedOut ? \"\" : from.from.pathname ;\n const [hasTokenIdentifier, setHasTokenIdentifier] = useState(false);\n const [hasSsoError, setHasSsoError] = useState(false);\n\n\n useEffect(() => {\n const query = new URLSearchParams(window.location.search);\n const tokenIdentifier = query.get('tokenIdentifier');\n if(tokenIdentifier) {\n setParamsId(tokenIdentifier);\n setHasTokenIdentifier(true);\n }\n }, []);\n\n useEffect(() => {\n if (appContext.showSessionExpiredError) {\n setShowError(true);\n setErrorMessageId(\"account.login.sessionExpired\");\n }\n }, [appContext]);\n\n\n useEffect(() => {\n if (appContext.initialized) {\n replaceUrlMethod();\n }\n }, [appContext.localStorageInfo.hasTokenIdentifier]);\n\n\n useEffect(() => {\n if(paramsId && !appContext.initialized) {\n IdentifierApi.getToken(paramsId)\n .then((result : any) => {\n if(result) {\n if(isMounted) {\n setAccessToken(result)\n authentication(result)\n showInfoNotification(result.message)\n }\n }\n })\n .catch((error) => {\n setShowError(true);\n setHasSsoError(true);\n setHasTokenIdentifier(false);\n replaceUrlMethod();\n });\n }\n },[paramsId, isMounted])\n\n const replaceUrlMethod = () => {\n const searchParams = new URLSearchParams(window.location.search);\n searchParams.delete('tokenIdentifier');\n const newSearch = searchParams.toString();\n let newUrl = `${window.location.pathname}${newSearch ? `?${newSearch}` : ''}`;\n const hashFragment = window.location.hash;\n if (hashFragment) {\n newUrl += hashFragment;\n } else {\n newUrl += '#/NumberExplorer';\n }\n window.history.replaceState(null, '', newUrl);\n }\n\n const authentication = (result) => {\n if (result.error) {\n return false;\n }\n\n AppContextAccessor.setAppContext((appContext) => {\n const authenticationInfo = getNewAuthenticationInfo(\n result.data.authResponse,\n appContext.localStorageInfo.authenticationInfo\n );\n\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n authenticationInfo: {\n ...authenticationInfo,\n authenticated: true,\n username: result.data.username\n },\n hasTokenIdentifier: true\n },\n previousUrl: pathname,\n isLoggedOut: false\n };\n });\n setHasTokenIdentifier(false)\n }\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n setHasSsoError(false);\n const errors = validateCredentials(email, password);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n setShowLoadingIndicator(false);\n } else {\n setShowLoadingIndicator(true);\n\n const loggedIn = await IdentityService.login(email, password);\n if(loggedIn) {\n AppContextAccessor.setAppContext((appContext) => {\n return {\n ...appContext,\n previousUrl: pathname\n }\n });\n }\n if (!loggedIn) {\n setErrorMessageId(\"account.login.invalidCredentials\");\n setShowLoadingIndicator(false);\n setShowError(true);\n }\n }\n };\n\n return (\n <>\n { hasTokenIdentifier || appContext.localStorageInfo.hasTokenIdentifier ?\n <>\n
\n \n
\n :\n \n \n \n \n \n setShowError(false)}>\n \n \n {\n hasSsoError ? \n : \n }\n \n \n \n \n \n
\n \n \n \n
\n
\n setEmail(value)}\n errorHandler={getErrorHandler(\"email\")}\n />\n setPassword(value)}\n errorHandler={getErrorHandler(\"password\")}\n />\n
\n \n {showLoadingIndicator && }\n \n \n
\n \n
\n
\n \n \n \n \n \n \n {!isMixNetworkUrl &&\n \n \n \n \n }\n \n \n
\n
\n
\n }\n \n );\n}\n\nconst validateCredentials = (email: string, password: string) => {\n const errors: Errors = {};\n\n if (!email) {\n AddError(errors, \"email\", \"account.login.email.emptyError\");\n } else if (!isEmail(email)) {\n AddError(errors, \"email\", \"account.login.email.invalid\");\n }\n if (!password) {\n AddError(errors, \"password\", \"account.login.password.emptyError\");\n }\n\n return errors;\n};\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport classnames from \"classnames\";\nimport {\n Button,\n Card,\n CardBody,\n FormGroup,\n Form,\n Input,\n InputGroupAddon,\n InputGroupText,\n InputGroup,\n Container,\n Row,\n Col,\n Alert\n} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Link } from \"react-router-dom\";\nimport LoginLayout from \"components/framework/loginLayout/LoginLayout\";\nimport { IdentityApi } from \"services/apis/IdentityApi\";\nimport { AddError, HasErrors, Errors } from \"components/framework/errorHandling/ErrorUtil\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport LoginHeader from \"components/framework/loginLayout/LoginHeader\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function ForgotPassword() {\n const [email, setEmail] = useState(\"\");\n const [focusedEmail, setFocusedEmail] = useState(false);\n const [showError, setShowError] = useState(false);\n const [showSuccessMessage, setShowSuccessMessage] = useState(false);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [errors, setErrors] = useState({});\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const intl = useIntl();\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validateModel(email);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n IdentityApi.requestPasswordReset({ email, callbackUrl: EnvironmentUtil.frontendUrl(\"ResetPassword?token=\") })\n .then(() => setShowSuccessMessage(true))\n .catch(() => setShowError(true))\n .finally(() => setShowLoadingIndicator(false));\n }\n };\n\n return (\n \n \n \n \n \n setShowError(false)}>\n \n \n \n \n \n \n setShowSuccessMessage(false)}>\n \n \n \n \n \n \n\n \n \n
\n \n \n \n
\n
\n \n \n \n \n \n \n \n setFocusedEmail(true)}\n onBlur={() => setFocusedEmail(false)}\n value={email}\n onChange={e => {\n setEmail(e.target.value);\n setErrors({ ...errors, email: [] });\n }}\n />\n \n \n \n
\n \n
\n \n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n );\n}\n\nconst validateModel = (email: string): Errors => {\n const errors: Errors = {};\n\n if (email.length === 0) {\n AddError(errors, \"email\", \"account.forgotPassword.email.emptyError\");\n }\n\n return errors;\n};\n","export type ResetPasswordModel = {\n email: string;\n password: string;\n confirmPassword: string;\n};\n\nexport const DefaultResetPasswordModel: ResetPasswordModel = {\n email: \"\",\n password: \"\",\n confirmPassword: \"\"\n};\n","export function nameOf(key1: keyof T1): string;\nexport function nameOf(key1: keyof T1, key2: keyof T2): string;\nexport function nameOf(key1: keyof T1, key2: keyof T2, key3: keyof T3): string;\nexport function nameOf(\n key1: keyof T1,\n key2: keyof T2,\n key3: keyof T3,\n key4: keyof T4\n): string;\nexport function nameOf(\n key1: keyof T1,\n key2?: keyof T2,\n key3?: keyof T3,\n key4?: keyof T4\n): string {\n return key4\n ? `${key1}.${key2}.${key3}.${key4}`.toLowerCase()\n : key3\n ? `${key1}.${key2}.${key3}`.toLowerCase()\n : key2\n ? `${key1}.${key2}`.toLowerCase()\n : `${key1}`.toLowerCase();\n}\n\nexport const hasAnyValue = (object: any) => {\n return object && Object.values(object).filter((x) => x).length;\n};\n","import { ApiError } from \"../apis/types/ApiError\";\nimport { showErrorNotification } from \"components/framework/notification/NotificationUtil\";\nimport { FieldError } from \"../apis/types/FieldError\";\nimport { Errors, AddError, HasFieldErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { getUniqueElements } from \"./ArrayUtil\";\n\nexport const handleError = (error: ApiError): void => {\n if (error && error.message) {\n showErrorNotification(error.message);\n }\n};\n\nexport const handleFieldErrors = (error: ApiError): void => {\n if (error && error.fieldErrors) {\n const errors = getFieldErrors(error.fieldErrors);\n\n for (let key in errors) {\n let value = errors[key];\n value.forEach((x) => showErrorNotification(x.message));\n }\n }\n};\n\nexport const handleFieldOrApiErrors = (error: ApiError) => {\n if (HasFieldErrors(error)) {\n handleFieldErrors(error);\n } else {\n handleError(error);\n }\n};\n\nexport const getFieldErrors = (fieldErrors: { [id: string]: FieldError[] } | undefined) => {\n const errors: Errors = {};\n\n if (fieldErrors) {\n Object.keys(fieldErrors).forEach((key) => {\n fieldErrors[key].forEach((value) => {\n if (value.message) {\n AddError(errors, key.toLowerCase(), value.message, false);\n }\n });\n });\n }\n\n return errors;\n};\n\nexport const getErrors = (fieldErrors: { [id: string]: FieldError[] } | undefined) => {\n let errors: string[] = [];\n\n if (fieldErrors) {\n Object.keys(fieldErrors).forEach((key) => {\n fieldErrors[key].forEach((value) => {\n if (value.message) {\n errors = [...errors, value.message];\n }\n });\n });\n }\n\n return getUniqueElements(errors);\n};\n","import React, { useState, FormEvent, useRef, useEffect, useContext } from \"react\";\nimport {\n Button,\n Card,\n CardBody,\n Form,\n Container,\n Row,\n Col,\n Alert\n} from \"reactstrap\";\nimport { useQuery } from \"services/routing/RoutingUtil\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { ResetPasswordModel, DefaultResetPasswordModel } from \"./ResetPasswordModel\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { IdentityApi } from \"services/apis/IdentityApi\";\nimport LoginLayout from \"components/framework/loginLayout/LoginLayout\";\nimport LoginHeader from \"components/framework/loginLayout/LoginHeader\";\nimport { Link } from \"react-router-dom\";\nimport { isEmail } from \"services/util/StringUtil\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { getFieldErrors, handleError } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInputGroup from \"components/framework/forms/TextFormInputGroup\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function ResetPassword() {\n const queryString = useQuery();\n const intl = useIntl();\n const isMounted = useRef(true);\n const [resetPasswordModel, setResetPasswordModel] = useState(DefaultResetPasswordModel);\n const { setErrors, getErrorHandler } = useErrors();\n const [showResetPasswordError, setShowResetPasswordError] = useState(false);\n const [showSuccessMessage, setShowSuccessMessage] = useState(false);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => {\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n const handleSubmit = async (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateModel(resetPasswordModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n IdentityApi.resetPassword({\n email: resetPasswordModel.email,\n token: queryString.get(\"token\") || \"\",\n password: resetPasswordModel.password\n })\n .then(() => setShowSuccessMessage(true))\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n setShowResetPasswordError(true);\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n \n \n \n \n setShowResetPasswordError(false)}>\n \n \n \n \n \n \n setShowSuccessMessage(false)}>\n \n \n \n \n \n \n \n )\n }}\n />\n \n \n \n\n {!showSuccessMessage && (\n \n \n
\n \n \n \n
\n
\n setResetPasswordModel({ ...resetPasswordModel, email: value })}\n errorHandler={getErrorHandler(nameOf(\"email\"))}\n />\n setResetPasswordModel({ ...resetPasswordModel, password: value })}\n errorHandler={getErrorHandler(nameOf(\"password\"))}\n />\n\n setResetPasswordModel({ ...resetPasswordModel, confirmPassword: value })}\n errorHandler={getErrorHandler(nameOf(\"confirmPassword\"))}\n />\n\n
\n \n
\n \n
\n
\n )}\n {!showSuccessMessage && (\n \n \n \n \n \n \n \n \n \n )}\n \n
\n
\n
\n );\n}\n\nconst validateModel = (resetPasswordModel: ResetPasswordModel): Errors => {\n const errors: Errors = {};\n\n if (resetPasswordModel.email.length === 0) {\n AddError(errors, nameOf(\"email\"), \"account.resetPassword.email.emptyError\");\n }\n\n if (resetPasswordModel.password.length === 0) {\n AddError(errors, nameOf(\"password\"), \"account.resetPassword.password.emptyError\");\n }\n\n if (resetPasswordModel.confirmPassword.length === 0) {\n AddError(errors, nameOf(\"confirmPassword\"), \"account.resetPassword.password.emptyError\");\n }\n\n if (!isEmail(resetPasswordModel.email)) {\n AddError(errors, nameOf(\"email\"), \"account.resetPassword.email.notAnEmailError\");\n }\n\n if (\n resetPasswordModel.password &&\n resetPasswordModel.confirmPassword &&\n resetPasswordModel.password !== resetPasswordModel.confirmPassword\n ) {\n AddError(errors, nameOf(\"confirmPassword\"), \"account.resetPassword.confirmPassword.passwordsDoNotMatchError\");\n }\n\n return errors;\n};\n","import { useLocation } from \"react-router\";\n\nexport function useQuery() {\n return new URLSearchParams(useLocation().search);\n}\n","import { NumberExplorerSearchResult } from \"./types/number/NumberExplorerSearchResult\";\nimport { NumberActivity } from \"./types/number/NumberActivity\";\nimport { CnamInfo } from \"./types/number/CnamInfo\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { NumberDetails } from \"./types/number/NumberDetails\";\nimport { NumberCnamUpsert } from \"./types/number/NumberCnamUpsert\";\nimport { SPIDDetailsDto } from \"./types/number/SPIDDetailsDto\";\n\nexport const NumberApi = {\n search: (searchExpression: string): Promise => {\n return HttpClient.post(\"number/search\", { searchExpression });\n },\n\n history: (telephoneNumber: string): Promise => {\n return HttpClient.get(`number/${telephoneNumber}/history`);\n },\n\n cnam: function (telephoneNumber: string): Promise {\n return HttpClient.get(`number/${telephoneNumber}/cnam`,true,true);\n },\n\n updateCnam: function (telephoneNumber: string, cnam: NumberCnamUpsert): Promise {\n return HttpClient.put(`number/${telephoneNumber}/cnam`, cnam,true,true);\n },\n\n details: function (telephoneNumber: string): Promise {\n return HttpClient.get(`number/${telephoneNumber}`);\n },\n\n querySPIDDetials: function (pageNumber: number, pageSize: number, searchValues: string,orderByColumn: string,orderDirection: string): Promise {\n return HttpClient.get(`inventory/getnumbersbyspid?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&orderByColumn=${orderByColumn}&orderDirection=${orderDirection}`, true, true);\n },\n\n getPooledBlockDashBySpid: function () : Promise {\n return HttpClient.get(`inventory/getpooledblockdashbyspid`, true, true);\n },\n\n getpoolednumbersbyspid: function (blockDash: string) : Promise {\n return HttpClient.get(`inventory/getpoolednumbersbyspid?blockDash=${blockDash}`, true, true)\n }\n};\n","export const AppConfiguration = {\n dateFormat: \"M/D/YYYY\",\n timeFormat: \"h:mm A\",\n fullDateFormat: \"M/D/YYYY h:mm A\",\n timeFormat24H: \"HH:mm\"\n};\n","import moment, { Moment } from \"moment\";\nimport { AppConfiguration } from \"AppConfiguration\";\n\nexport const getUtcDate = (date?: Date | string): Moment => {\n return date ? moment.utc(date) : moment.utc().milliseconds(0).seconds(0).minutes(0).hours(0);\n};\n\nexport const getFormattedUtcDate = (date?: Date | string): string => {\n return (date && getUtcDate(date).format(AppConfiguration.fullDateFormat)) || \"\";\n};\n\nexport const getUtcDateTomorrow = (date?: Date): Moment => {\n return getUtcDate(date).add(1, \"days\");\n};\n\nexport const getUtcDateFirstDayOfMonth = (date?: Date): Moment => {\n return getUtcDate(date).startOf(\"month\");\n};\n\nexport const isAfterNextYearToday = (date: Moment): boolean => {\n return date.isAfter(getUtcDateNextYearToday());\n};\n\nexport const isSunday = (date?: Moment | Date | null): boolean => {\n var day = moment.isDate(date) ? moment.utc(date).day() : date?.day()\n return day === 0;\n};\n\nexport const isBetween = (\n value: Moment,\n min: Moment | string | Date,\n max: Moment | string | Date\n) => value.isSameOrAfter(min) && value.isSameOrBefore(max);\n\nexport const isBefore = (\n value: Moment,\n comparer: Moment | string | Date\n) => value.isSameOrBefore(comparer);\n\nexport const isAfter = (\n value: Moment,\n comparer: Moment | string | Date\n) => value.isSameOrAfter(comparer);\n\nexport const sort = (dates: Array, desc?: boolean) => {\n return dates.sort((a, b) => {\n const aValue = getUtcDate(a).toDate().getTime();\n const bValue = getUtcDate(b).toDate().getTime();\n\n return desc ? bValue - aValue : aValue - bValue;\n });\n};\n\nexport const isOddDayToday = () => new Date().getDate() % 2 === 1;\n\nconst getUtcDateNextYearToday = (date?: Date): Moment => {\n return getUtcDate(date).add(2, \"years\");\n};\n","import React from \"react\";\nimport { getFormattedUtcDate, getUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n utcDate: string | Date | undefined;\n format?: string;\n};\n\nexport default function FormatDateTime(props: Props) {\n return (\n <>\n {props.format\n ? getUtcDate(props.utcDate).format(props.format)\n : getFormattedUtcDate(props.utcDate)}\n \n );\n}\n","export const PhoneNumberType: Record = {\n Wireline: \"wireline\",\n TollFree: \"tollfree\"\n};\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport { KeyValuePair } from \"services/types/KeyValuePair\";\n\ntype Props = {\n disabled?: boolean;\n sm: boolean;\n className?: string;\n value?: string;\n options: KeyValuePair[];\n onChange: (e: React.ChangeEvent) => void;\n};\n\nexport default function (props: Props) {\n return (\n \n {props.options.map((x) => (\n \n ))}\n \n );\n}\n","import React from \"react\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport DropdownInput from \"../forms/DropdownInput\";\n\ntype Props = {\n column: {\n filterValue: string;\n preFilteredRows: Array;\n setFilter: (value: string | undefined) => void;\n id: string;\n };\n};\n\nexport default function DefaultColumnFilter(props: Props) {\n const options = React.useMemo(() => {\n const options = props.column.preFilteredRows.map((x) => x.values[props.column.id]);\n return [\n { key: \"Any\", value: \"\" },\n ...getUniqueElements(options)\n .filter((x) => x)\n .sort((a, b) => (a > b ? 1 : -1))\n .map((x, i) => {\n return { value: x?.toString(), key: x?.toString() };\n })\n ];\n }, [props.column.id, props.column.preFilteredRows]);\n\n return (\n {\n props.column.setFilter(e.target.value || undefined);\n }}\n value={props.column.filterValue}\n options={options}\n />\n );\n}\n","import React, { useContext } from \"react\";\nimport { CSVLink } from \"react-csv\";\nimport { Button, ButtonGroup } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport ReactToPrint from \"react-to-print\";\nimport copy from \"copy-to-clipboard\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { utils, writeFile } from \"xlsx\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function ExportButtons(props) {\n const intl = useIntl();\n const table = dataToTable(props.data, props.columns, props.hasExpandedData);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n \n \n \n \n \n {props.showCopy &&\n }\n {props.showPrint &&\n (\n \n )}\n content={() => props.printRef.current}\n />}\n \n );\n}\n\nfunction exportToXlsxHandler(matrix) {\n let workbook = { SheetNames: [\"Sheet1\"], Sheets: { Sheet1: utils.aoa_to_sheet(matrix) } };\n\n writeFile(workbook, \"result.xlsx\");\n}\n\nfunction copyHandler(matrix, intl) {\n let string = matrix.map((x) => x.join(\", \")).join(\"\\n\");\n\n copy(string);\n\n showInfoNotification(intl.formatMessage({ id: \"table.copyNotification\" }));\n}\n\nfunction dataToTable(data, columns, hasExpandedData) {\n let table = [columns.map((column) => column.Header)];\n\n const rowsData = []\n if (data) {\n data.forEach((row) => {\n rowsData.push(columns.map((column) => (row[column.accessor] ? `${row[column.accessor]}` : \"\")))\n if (hasExpandedData && row.subRows && row.subRows.length > 0) {\n (row.subRows.forEach(row => rowsData.push(columns.map((column) => (row[column.accessor] ? `${row[column.accessor]}` : \"\")))))\n }\n })\n }\n\n rowsData.forEach((x) => table.push(x));\n return table;\n}\n","export enum OrdersTableColumnIdentifiers {\n Selected = \"\",\n ProjectId = \"projectId\",\n DueDate = \"dueDate\",\n OrderType = \"orderType\",\n Status = \"status\",\n GainingSpid = \"gainingSpid\",\n LoosingSpid = \"loosingSpid\",\n CarrierName = \"carrierName\",\n NextWorkDate = \"nextWorkDate\",\n WorkedBy = \"workedBy\",\n NumberCount = \"numberCount\",\n Actions = \"actions\",\n AdminProjectId = \"adminProjectId\",\n ActivationDate = \"activationDate\",\n Operations = \"operations\"\n}\n","export enum TableIdentifiers {\n Orders = \"orders\",\n WorkQueue = \"workQueue\",\n TradingPartner = \"tradingPartner\",\n CustomerInventory = \"customerInventory\",\n WebhookLogs = \"webhookLogs\"\n}\n","export enum WorkQueueTableColumnIdentifiers {\n Id = \"id\", // will be a derived value based on either 'ProjectId', or 'OrderId'\n ProjectId = \"projectId\",\n DueDate = \"dueDate\",\n CreationDate = \"creationDate\",\n OrderType = \"orderType\",\n Status = \"status\",\n Organization = \"organization\",\n GainingSpId = \"gainingSpId\",\n LoosingSpId = \"loosingSpId\",\n NextWorkDate = \"nextWorkDate\",\n WorkedBy = \"workedBy\",\n NumberCount = \"numberCount\",\n Actions = \"actions\"\n}","import { OrdersTableColumnIdentifiers } from \"../../components/orders/types/OrdersTableColumnIdentifiers\";\nimport { TableSettings } from \"services/uiSettings/TableSettings\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { WorkQueueTableColumnIdentifiers } from \"components/workQueue/types/WorkQueueTableColumnIdentifiers\";\n\nexport const DefaultTableSettings: Record = {\n [TableIdentifiers.Orders]: {\n identifier: TableIdentifiers.Orders,\n columnSettings: [\n { identifier: OrdersTableColumnIdentifiers.ProjectId, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.DueDate, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.OrderType, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.Status, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.GainingSpid, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.LoosingSpid, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.NextWorkDate, isVisible: false },\n { identifier: OrdersTableColumnIdentifiers.WorkedBy, isVisible: false },\n { identifier: OrdersTableColumnIdentifiers.NumberCount, isVisible: true },\n { identifier: OrdersTableColumnIdentifiers.Actions, isVisible: true }\n ],\n\n spidFilterSettings: []\n },\n\n [TableIdentifiers.WorkQueue]: {\n identifier: TableIdentifiers.WorkQueue,\n columnSettings: [\n { identifier: WorkQueueTableColumnIdentifiers.ProjectId, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.DueDate, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.OrderType, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.Status, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.Organization, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.GainingSpId, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.LoosingSpId, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.NextWorkDate, isVisible: false },\n { identifier: WorkQueueTableColumnIdentifiers.WorkedBy, isVisible: false },\n { identifier: WorkQueueTableColumnIdentifiers.NumberCount, isVisible: true },\n { identifier: WorkQueueTableColumnIdentifiers.Actions, isVisible: true }\n ],\n \n spidFilterSettings: []\n },\n\n [TableIdentifiers.TradingPartner]: {\n identifier: TableIdentifiers.TradingPartner,\n },\n [TableIdentifiers.CustomerInventory]: {\n identifier: TableIdentifiers.CustomerInventory,\n columnSettings: undefined,\n spidFilterSettings: undefined\n },\n [TableIdentifiers.WebhookLogs]: {\n identifier: TableIdentifiers.WebhookLogs,\n }\n};\n","import { UserSettingsDto } from \"./UserSettingsDto\";\n\nexport type UpdateAccountDto = {\n email: string;\n firstName: string;\n lastName: string;\n locale: string;\n zoneInfo: string;\n userSettings: UserSettingsDto;\n};\n\nexport const DefaultUpdateAccountDto: UpdateAccountDto = {\n email: \"\",\n firstName: \"\",\n lastName: \"\",\n locale: \"\",\n zoneInfo: \"\",\n userSettings: {}\n};\n","import { SpIdProfileDto } from \"../apis/types/account/SpIdProfileDto\";\nimport { UserSettings } from \"../uiSettings/UserSettings\";\nimport { DefaultUpdateAccountDto } from \"services/apis/types/account/UpdateAccountDto\";\n\nexport type LocalStorageUser = {\n userId: string;\n email: string;\n companyId: string;\n firstName: string;\n lastName: string;\n locale: string;\n zoneInfo: string;\n permissions: string[];\n spIdProfiles: SpIdProfileDto[];\n supportCode: string;\n settings: UserSettings;\n isAdminProjectIdAccessible: boolean;\n};\n\nexport const DefaultLocalStorageUser : LocalStorageUser = {\n email: DefaultUpdateAccountDto.email, \n firstName: DefaultUpdateAccountDto.firstName, \n lastName: DefaultUpdateAccountDto.lastName, \n locale: DefaultUpdateAccountDto.locale,\n userId: \"\",\n companyId: \"\",\n zoneInfo:\"\",\n spIdProfiles:[],\n permissions:[],\n supportCode:\"\",\n settings:{},\n isAdminProjectIdAccessible: true,\n};\n\n","import { TableIdentifiers } from \"./TableIdentifiers\";\nimport { TableSettings } from \"./TableSettings\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { DefaultTableSettings } from \"./DefaultTableSettings\";\nimport { ColumnSettings } from \"./ColumnSettings\";\nimport {\n UpdateAccountDto,\n} from \"services/apis/types/account/UpdateAccountDto\";\n\nimport { UiSettings } from \"services/uiSettings/UiSettings\";\nimport { LocalStorageUser, DefaultLocalStorageUser } from \"services/appContext/LocalStorageUser\";\n\nexport const getTableSettings = (tableIdentifier: TableIdentifiers): TableSettings => {\n const userSettings = AppContextAccessor.getAppContext().localStorageInfo.user?.settings?.ui?.tableSettings?.find(\n (x) => x.identifier === tableIdentifier\n );\n\n return userSettings ?? DefaultTableSettings[tableIdentifier];\n};\n\nexport const getColumnSettings = (\n tableIdentifier: TableIdentifiers,\n columnIdentifier: string\n): ColumnSettings => {\n const tableSettings = getTableSettings(tableIdentifier);\n const defaultColumnSetting = DefaultTableSettings && DefaultTableSettings[tableIdentifier]?.columnSettings?.find(\n (x) => x.identifier === columnIdentifier\n ) as ColumnSettings;\n\n return (\n tableSettings?.columnSettings?.find((x) => x.identifier === columnIdentifier) ??\n defaultColumnSetting\n );\n};\n\nenum UserSettingsStatus{\n NoSettings,\n NoTableSettingsStored,\n TableSettingsNotFound,\n TableSettingsFound\n}\n\nexport const populateAccountDtoWithUiSettings = (user : LocalStorageUser | undefined, tableIdentifier : string, settings : [string, any[]][]) : UpdateAccountDto => {\n \n var userStatus = determineUserSettingsStatus(user, tableIdentifier);\n if (userStatus === UserSettingsStatus.NoSettings) {\n user = DefaultLocalStorageUser;\n }\n\n var updatedUiSettings : UiSettings | undefined = user?.settings.ui;;\n \n for(var setting of settings)\n {\n var settingName = setting[0];\n var settingValues = setting[1];\n updatedUiSettings = createOrUpdateUiSettings(updatedUiSettings, tableIdentifier, settingName, settingValues);\n }\n\n return prepareAccountDtoObject(user as LocalStorageUser, updatedUiSettings as UiSettings);\n}\n\nexport const createOrUpdateUiSettings = (\n uiSettings : UiSettings | undefined,\n tableIdentifier: string,\n settingName : string,\n settingValue : any\n): UiSettings => {\n \n const uiSettingFound = uiSettings?.tableSettings?.find((x) => x.identifier === tableIdentifier) !== undefined ;\n var updatedUiSettings : UiSettings | undefined;\n\n switch(true){\n case uiSettings === undefined :\n updatedUiSettings = createUiSettings(tableIdentifier, settingName, settingValue);\n break;\n\n case !uiSettingFound:\n const newUiSettings : UiSettings= { tableSettings:[]}; \n const newTableSetting = { identifier: tableIdentifier};\n newTableSetting[settingName] = settingValue;\n\n newUiSettings.tableSettings?.push(newTableSetting);\n\n updatedUiSettings = newUiSettings as UiSettings;\n break;\n\n case uiSettingFound :\n const updateUiSetting = { ...uiSettings };\n \n const found = updateUiSetting.tableSettings?.find((x) => x.identifier === tableIdentifier);\n if (found)\n found[settingName] = settingValue;\n\n updatedUiSettings = updateUiSetting as UiSettings;\n break;\n }\n\n return updatedUiSettings as UiSettings;\n};\n\nconst determineUserSettingsStatus = (user?: LocalStorageUser, tableIdentifier?: string) : UserSettingsStatus =>{\n \n var status : UserSettingsStatus = UserSettingsStatus.NoSettings;\n \n switch(true) {\n case (user === undefined) :\n status = UserSettingsStatus.NoSettings;\n break;\n\n case (user && !user?.settings?.ui?.tableSettings):\n status = UserSettingsStatus.NoTableSettingsStored;\n break;\n \n case (user && user.settings.ui?.tableSettings \n && user.settings.ui?.tableSettings.find((x) => x.identifier === tableIdentifier) === undefined):\n status = UserSettingsStatus.TableSettingsNotFound;\n break;\n\n case (user && user.settings.ui?.tableSettings \n && user.settings.ui?.tableSettings.find((x) => x.identifier === tableIdentifier) !== undefined):\n status = UserSettingsStatus.TableSettingsFound;\n break;\n default:\n throw new Error(\"Unable to determine table settings status\")\n }\n\n return status;\n}\n\nconst createUiSettings = (tableIdentifier: string, settingPropertyName: string, settingValue: any) : UiSettings =>\n{\n var obj : UiSettings= {tableSettings: [{ identifier: tableIdentifier }]};\n obj.tableSettings[0][settingPropertyName] = settingValue;\n return obj;\n}\n\nconst prepareAccountDtoObject = (localStorageUser: LocalStorageUser, newUiSettings: UiSettings) : UpdateAccountDto => {\n return {\n email: localStorageUser.email,\n firstName: localStorageUser.firstName,\n lastName: localStorageUser.lastName,\n locale: localStorageUser.locale,\n zoneInfo: localStorageUser.zoneInfo,\n userSettings: {\n ui: JSON.stringify(newUiSettings)\n }\n };\n}\n","import React from \"react\";\n\ntype Props = {\n close: () => void;\n};\n\nexport default function CloseButton(props: Props) {\n return (\n props.close()}>\n \n \n );\n}\n","import { IntlShape } from \"react-intl\";\n\nexport const getTranslation = (\n intl: IntlShape,\n translationKey: string,\n value?: string,\n valueIsTranslationKey?: boolean\n): string => {\n return value\n ? valueIsTranslationKey\n ? intl.formatMessage({ id: translationKey }, { item: intl.formatMessage({ id: value }) })\n : intl.formatMessage({ id: translationKey }, { item: value })\n : intl.formatMessage({ id: translationKey });\n};\n","import React, { useState, FormEvent, RefObject, useEffect, ReactElement, useContext } from \"react\";\nimport classnames from \"classnames\";\nimport { DataTableColumn } from \"./types/DataTableColumn\";\nimport { Modal, ModalHeader, ModalBody, ModalFooter, Button, Form, TabContent, TabPane, NavItem, NavLink, Nav } from \"reactstrap\";\nimport CloseButton from \"../modals/CloseButton\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {CustomViewSettingBase} from \"./CustomViewSettingsBase\";\nimport {\n UpdateAccountDto,\n} from \"services/apis/types/account/UpdateAccountDto\";\nimport { AccountApi } from \"services/apis/AccountApi\";\nimport { IdentityService } from \"services/identity/IdentityService\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { ApiError } from \"services/apis/types/ApiError\";\nimport { populateAccountDtoWithUiSettings } from \"services/uiSettings/UiSettingsService\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"../notification/NotificationUtil\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport {useRefresh} from \"services/customHooks/useRefresh\";\nimport { AppContext } from \"services/appContext/AppContext\";\ntype Props = {\n tableIdentifier: TableIdentifiers;\n columns: Array;\n children?: any[];\n closeModal: () => void;\n};\n\nexport default function TableSettingsModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [selectedTabIndex, setSelectedTabIndex] = useState(0);\n const [customViewChilds, addCustomViewChilds] = useState>([]);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const intl = useIntl();\n\n const customViewRefs : Array> = [];\n \n const refresh = useRefresh();\n \n useEffect(()=>{\n // cache custom view childs\n var children = props.children;\n React.Children.map(children, (childComponent, idx)=> {\n addCustomViewChilds((prev)=> [...prev, childComponent as CustomViewSettingBase]);\n });\n },[props.children]);\n\n \n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const customViewsSettings : Array<[string, any[]]> = [];\n customViewRefs.forEach((ref)=>{\n const settings = (ref.current as CustomViewSettingBase).getSettings() as [string, any[]];\n customViewsSettings.push(settings);\n });\n \n var user = AppContextAccessor.getAppContext().localStorageInfo?.user;\n var accountDto = populateAccountDtoWithUiSettings(user, props.tableIdentifier, customViewsSettings);//[spidUiSettings, columnsUiSettings]);\n\n updateAccountSettings(accountDto);\n\n }\n\n \n\n const getTabId = (idx)=> \"tab\"+idx; \n\n const getViewName = (component: ReactElement) : string=>{\n var viewName = (component).props.viewName as string;\n return viewName;\n }\n\n const createAndSaveRef = (obj:CustomViewSettingBase) => {\n var ref = React.createRef();\n customViewRefs.push(ref);\n return ref;\n }\n\n const handleTabSelection = (e, state, index) => {\n e.preventDefault();\n setSelectedTabIndex(index);\n };\n\n const getTabStyle = (tabIndex: Number) => {\n return classnames(`mb-sm-3 mb-md-0 ${theme === \"light\" ? (selectedTabIndex === tabIndex) ? \"bg-lblue\" : \"lblue-color\" : \"\"}`, { active: selectedTabIndex === tabIndex})\n };\n\n const updateAccountSettings = (account: UpdateAccountDto | undefined) => {\n AccountApi.updateInfo(account as UpdateAccountDto)\n .then(async () => {\n await IdentityService.fetchUserInfo();\n showInfoNotification(getTranslation(intl, \"table.settingsModal.successMessage\"));\n })\n .catch((error: ApiError) => {\n handleFieldOrApiErrors(error);\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n \n props.closeModal();\n \n refresh();\n\n }\n });\n }\n \n return (\n \n \n \n \n \n
\n \n
\n \n
\n \n {customViewChilds.map((component, idx)=>(\n \n {React.cloneElement(\n component as unknown as React.ReactElement, \n { \n props: {tableIdentifier: props.tableIdentifier as TableIdentifiers},\n ref: createAndSaveRef(component as CustomViewSettingBase)\n })}\n \n ))}\n \n
\n \n \n \n \n \n
\n );\n}\n\n\n","import { useCallback } from \"react\";\nimport { useHistory, useLocation } from \"react-router\";\n\nexport const useRefresh = () => {\n \n const history = useHistory();\n const location = useLocation();\n \n const navigateOutAndWait = useCallback(() => {\n history.push(\"/\");\n var tid = setTimeout(() => {}, 10);\n return tid;\n },[history]);\n \n const reload = useCallback((routePath?: string) => {\n \n clearTimeout(navigateOutAndWait());\n \n // navigate in\n history.push(routePath ?? location.pathname);\n\n },[history, location, navigateOutAndWait]);\n\n return reload;\n}","import React, { useRef, useState, useCallback } from \"react\";\nimport { Tooltip } from \"reactstrap\";\n\ntype Props = {\n className: string;\n onClick?: () => void;\n tooltip: string;\n tooltipClassName?: string;\n};\n\nexport default function IconWithTooltip(props: Props) {\n const [isTooltipOpen, setIsTooltipOpen] = useState(false);\n const toggleTooltip = useCallback(() => setIsTooltipOpen((prev) => !prev), []);\n const iconRef = useRef(null);\n\n return (\n <>\n \n \n {props.tooltip}\n \n \n );\n}\n","import { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\n\nexport const RestoreFilterService = {\n clearFilter: (identifier: string) => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier]) {\n AppContextAccessor.setAppContext((appContext) => {\n for (const key in appContext.localStorageInfo[identifier]) {\n if (key === \"pageSize\") {\n appContext.localStorageInfo[identifier][key] = 10;\n }\n else if (key === \"pageIndex\") {\n appContext.localStorageInfo[identifier][key] = 1;\n }\n else if (Array.isArray(appContext.localStorageInfo[identifier][key])) {\n appContext.localStorageInfo[identifier][key] = [];\n }\n else {\n appContext.localStorageInfo[identifier][key] = \"Any\"\n }\n }\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo\n },\n };\n });\n }\n },\n\n setPageSize: (identifier: string, pageSize: number) => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier]) {\n AppContextAccessor.setAppContext((appContext) => {\n appContext.localStorageInfo[identifier].pageSize = pageSize;\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo\n },\n };\n });\n }\n },\n\n hasFilter: (identifier: string): boolean => {\n let hasFilterRestore = false;\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier]) {\n for (const key in appContext.localStorageInfo[identifier]) {\n if (key === \"pageSize\") {\n if (appContext.localStorageInfo[identifier][key] !== 10)\n hasFilterRestore = true;\n }\n else if (key === \"pageIndex\") {\n if (appContext.localStorageInfo[identifier][key] !== 1)\n hasFilterRestore = true;\n }\n else if (Array.isArray(appContext.localStorageInfo[identifier][key])) {\n if (appContext.localStorageInfo[identifier][key].length > 0)\n hasFilterRestore = true;\n }\n else if (appContext.localStorageInfo[identifier][key] !== \"Any\") {\n hasFilterRestore = true;\n }\n }\n }\n return hasFilterRestore;\n },\n\n getPageSize: (identifier: string, originalPageSize: number): number => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier] && appContext.localStorageInfo[identifier].pageSize) {\n return appContext.localStorageInfo[identifier].pageSize;\n }\n return originalPageSize;\n },\n\n hasFilterColumn: (identifier: string, column: string): boolean => {\n const appContext = AppContextAccessor.getAppContext();\n return appContext && appContext.localStorageInfo[identifier] && appContext.localStorageInfo[identifier][column];\n },\n\n hasFilterDateColumn: (identifier: string, column: string): boolean => {\n const appContext = AppContextAccessor.getAppContext();\n return appContext && appContext.localStorageInfo[identifier] && appContext.localStorageInfo[identifier][column];\n },\n\n getFilterValue: (identifier: string, column: string): any => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier] && appContext.localStorageInfo[identifier][column]) {\n return appContext.localStorageInfo[identifier][column];\n }\n return \"\";\n },\n\n setFilterValue: (identifier: string, column: string, value: string) => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier] && appContext.localStorageInfo[identifier][column]) {\n AppContextAccessor.setAppContext((appContext) => {\n appContext.localStorageInfo[identifier][column] = value;\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo\n },\n };\n });\n }\n },\n\n setFilterDate: (identifier: string, column: string, dateMax: any, dateMin: any) => {\n const appContext = AppContextAccessor.getAppContext();\n if (appContext && appContext.localStorageInfo[identifier]) {\n AppContextAccessor.setAppContext((appContext) => {\n const wholeDate: any = [];\n wholeDate.push(dateMax, dateMin);\n appContext.localStorageInfo[identifier][column] = wholeDate;\n return {\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo\n },\n };\n });\n }\n },\n\n getFilterIdentifier: (identifier: string) => {\n return AppContextAccessor.getAppContext().localStorageInfo[identifier];\n }\n};\n\n","import React from \"react\";\nimport Select, { createFilter, components } from 'react-select';\nimport { FormattedMessage } from \"react-intl\";\n\nexport default function DropDown(props) {\n\n return (\n <>\n
\n

\n \n

\n \n
\n \n );\n}\n\nclass CustomOption extends React.Component {\n // eslint-disable-next-line no-useless-constructor\n constructor(props) {\n super(props);\n }\n\n render() {\n const {innerProps, isFocused, ...otherProps} = this.props;\n const {onMouseMove, onMouseOver, ...otherInnerProps} = innerProps;\n const newProps = {innerProps: {...otherInnerProps}, ...otherProps};\n return (\n {this.props.children}\n \n );\n }\n}\n","import { OrderNumberActionConfiguration } from \"components/orders/types/OrderNumberActionConfiguration\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { ApplyActionOnType } from \"../../types/ApplyActionOnType\";\n\nexport const OrderNumberActionConfigurations: Record<\n OrderNumberActionType,\n Record\n> = {\n Activate: {\n Number: {\n iconClass: \"fa fa-check text-success\",\n confirmMessageId: \"orders.orderDetails.portingNumber.table.activateNumberQuestion\",\n skipConfirmation: true\n },\n Order: {\n background: \"bg-green\",\n text: \"orders.order.actions.activate\",\n confirmMessageId: \"orders.order.actions.activateQuestion\",\n iconClass: \"fa fa-check\"\n }\n },\n Cancel: {\n Number: {\n iconClass: \"far fa-ban text-danger\",\n confirmMessageId: \"orders.orderDetails.portingNumber.table.cancelNumberQuestion\"\n },\n Order: {\n background: \"bg-red\",\n iconClass: \"far fa-ban\",\n text: \"orders.order.actions.cancel\",\n confirmMessageId: \"orders.order.actions.cancelQuestion\"\n }\n },\n RemoveFromConflict: {\n Number: {\n iconClass: \"fas fa-minus-circle text-danger\",\n confirmMessageId: \"orders.orderDetails.portingNumber.table.removeFromConflictNumberQuestion\"\n },\n Order: {\n background: \"bg-gradient-orange\",\n iconClass: \"fas fa-minus-circle\",\n text: \"orders.order.actions.removeConflict\",\n confirmMessageId: \"orders.order.actions.removeFromConflictQuestion\"\n }\n },\n Modify: {\n Number: {\n iconClass: \"fa fa-edit\"\n },\n Order: {\n background: \"bg-gradient-red\",\n text: \"orders.order.actions.modify\",\n iconClass: \"fa fa-edit\"\n }\n },\n Archive: {\n Number: { iconClass: \"fas fa-archive text-crow\", inactive: true },\n Order: {\n iconClass: \"fas fa-archive\",\n background: \"bg-gradient-red\",\n text: \"orders.order.actions.archive\",\n confirmMessageId: \"orders.order.actions.archiveQuestion\"\n }\n },\n UndoCancel: {\n Number: {\n iconClass: \"fa fa-undo\",\n skipConfirmation: true\n },\n Order: {\n iconClass: \"fa fa-undo\",\n background: \"bg-gradient-gray\",\n text: \"orders.order.actions.undoCancel\",\n skipConfirmation: true\n }\n },\n PreOrderSupplement: {\n Number: {\n iconClass: \"fas fa-plus text-success\"\n },\n Order: {\n background: \"bg-green\",\n text: \"orders.order.actions.addSupplement\",\n iconClass: \"fas fa-sort-alt\"\n }\n },\n PreOrderReject: {\n Number: {\n iconClass: \"far fa-ban text-danger\"\n },\n Order: {\n background: \"bg-red\",\n iconClass: \"far fa-ban\",\n text: \"orders.order.actions.rejectSupplement\",\n confirmMessageId: \"orders.order.actions.rejectSupplementQuestion\"\n }\n },\n PreOrderApprove: {\n Number: {\n iconClass: \"fa fa-check text-success\"\n },\n Order: {\n background: \"bg-green\",\n iconClass: \"fa fa-check\",\n text: \"orders.order.actions.approveSupplement\",\n confirmMessageId: \"orders.order.actions.approveSupplementQuestion\"\n }\n },\n PreOrderSubmit: {\n Number: {\n iconClass: \"fa fa-check text-success\"\n },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-file-check\",\n text: \"orders.order.actions.preOrderSubmit\",\n confirmMessageId: \"orders.order.actions.preOrderSubmit\"\n }\n },\n CsrRequested: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-file-check\",\n text: \"orders.order.actions.csrRequested\",\n confirmMessageId: \"orders.order.actions.csrRequestedQuestion\"\n }\n },\n CsrValid: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fa fa-check\",\n text: \"orders.order.actions.csrValid\",\n confirmMessageId: \"orders.order.actions.csrValidQuestion\"\n }\n },\n CsrInvalid: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-red\",\n iconClass: \"far fa-ban\",\n text: \"orders.order.actions.csrInvalid\",\n confirmMessageId: \"orders.order.actions.csrInvalidQuestion\"\n }\n },\n CsrCancel: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-red\",\n iconClass: \"far fa-ban\",\n text: \"orders.order.actions.cancel\",\n confirmMessageId: \"orders.order.actions.cancelQuestion\"\n }\n },\n CsrModify: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fa fa-edit\",\n text: \"orders.order.actions.csrModify\",\n confirmMessageId: \"orders.order.actions.csrModify\"\n }\n },\n CsrEscalate: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-file-check\",\n text: \"orders.order.actions.csrEscalate\",\n confirmMessageId: \"orders.order.actions.csrEscalateQuestion\"\n }\n },\n LsrSubmit: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-check\",\n text: \"orders.order.actions.submitLsr\",\n confirmMessageId: \"orders.order.actions.submitLsrQuestion\"\n }\n },\n CsrReceived: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-file-check\",\n text: \"orders.order.actions.csrReceived\",\n confirmMessageId: \"orders.order.actions.csrReceived\"\n }\n },\n CsrToLsr: {\n Number: { iconClass: \"\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-arrow-right\",\n text: \"orders.order.actions.csrToLsr\",\n confirmMessageId: \"orders.order.actions.csrToLsr\"\n }\n },\n ScheduleActivation: {\n Number: { iconClass: \"fa fa-clock text-green\", inactive: true },\n Order: {\n background: \"bg-green\",\n iconClass: \"fa fa-clock\",\n text: \"orders.order.actions.scheduleActivation\",\n confirmMessageId: \"orders.order.actions.scheduleActivation\"\n },\n },\n ModifyActivation: {\n Number: { iconClass: \"fa fa-clock text-orange\", inactive: true },\n Order: {\n background: \"bg-orange\",\n iconClass: \"fa fa-clock\",\n text: \"orders.order.actions.modifyActivation\",\n confirmMessageId: \"orders.order.actions.modifyActivation\"\n },\n },\n CancelActivation: {\n Number: { iconClass: \"fa fa-clock text-red\", inactive: true },\n Order: {\n background: \"bg-red\",\n iconClass: \"fa fa-clock\",\n text: \"orders.order.actions.cancelActivation\",\n confirmMessageId: \"orders.order.actions.cancelActivation\"\n },\n },\n Restore: {\n Number: { iconClass: \"fa fa-sync\"},\n Order: {\n background: \"bg-red\",\n iconClass: \"fa fa-sync\",\n confirmMessageId: \"orders.disasterRecovery.actions.restore\",\n text: \"orders.disasterRecovery.actions.restore\",\n }\n },\n Submit: {\n Number: { iconClass: \"fa fa-check text-success\"},\n Order: {\n background: \"bg-green\",\n iconClass: \"fal fa-file-check\",\n confirmMessageId: \"orders.sinch.actions.submit\",\n text: \"orders.sinch.actions.submit\",\n }\n },\n SinchArchive: {\n Number: { iconClass: \"fas fa-archive text-crow\", inactive: true },\n Order: {\n iconClass: \"fas fa-archive\",\n background: \"bg-gradient-red\",\n text: \"orders.order.actions.archive\",\n confirmMessageId: \"orders.order.actions.archiveQuestion\"\n }\n }\n};\n","import React from \"react\";\n\ntype Props = {\n className: string;\n title: string;\n onClick?: () => void;\n actionCompleted?: boolean;\n};\n\nexport default function Icon(props: Props) {\n return (\n
\n );\n}\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport ReactDatetime from \"react-datetime\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport moment, { Moment } from \"moment\";\nimport Icon from \"components/common/Icon\";\n\ntype Props = {\n disabled?: boolean;\n className?: string;\n value?: Moment | null;\n placeholder?: string;\n onChange: (value: Moment) => void;\n isTimeInput?: boolean;\n showModalOnTop?: boolean;\n isValidDate?: (currentDate: Moment, selectedDate: Moment | undefined) => boolean;\n showCalendar?: boolean;\n iconColor?: string;\n};\n\nexport default function DateTimeInput(props: Props) {\n return (\n
\n {\n props.onChange(moment.utc(e));\n }}\n closeOnSelect={true}\n dateFormat={!props.isTimeInput ? AppConfiguration.dateFormat : false}\n timeFormat={props.isTimeInput ? AppConfiguration.timeFormat : false}\n isValidDate={props.isValidDate}\n />\n { props.showCalendar &&\n
\n \n
\n }\n
\n );\n}\n","import React, { useState, useCallback, useRef } from \"react\";\nimport { Tooltip } from \"reactstrap\";\n\ntype Props = {\n tooltip: string | React.ReactNode;\n};\n\nexport default function InfoTooltip(props: Props) {\n const [isTooltipOpen, setIsTooltipOpen] = useState(false);\n const toggleTooltip = useCallback(() => setIsTooltipOpen((prev) => !prev), []);\n const iconRef = useRef(null);\n\n return (\n <>\n \n\n \n {props.tooltip}\n \n \n );\n}\n","import React from \"react\";\nimport { FormGroup, Label, Input } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport InfoTooltip from \"components/common/InfoTooltip\";\n\nexport type TextFormInputProps = {\n readonly?: boolean;\n labelTranslationId?: string;\n value?: string | number;\n errorHandler?: ErrorHandler;\n formGroupClassName?: string;\n inputClassName?: string;\n labelClassName?: string;\n placeholderTranslationId?: string;\n lg?: boolean;\n required?: boolean;\n handleInputChange?: (value: string) => void;\n onClick?: (value: React.MouseEvent) => void;\n tooltip?: string | React.ReactNode;\n};\n\nexport default function TextFormInput(props: TextFormInputProps) {\n const intl = useIntl();\n const errors = props.errorHandler ? props.errorHandler.getErrors() : [];\n const label = !props.labelTranslationId\n ? undefined\n : intl.formatMessage({ id: props.labelTranslationId });\n const placeholder = props.readonly\n ? \"\"\n : !props.placeholderTranslationId\n ? undefined\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n return (\n \n {label && (\n \n {label}\n {props.tooltip && }\n \n )}\n 0,\n \"form-control-sm\": !props.lg\n })}\n placeholder={placeholder ?? label ?? \"\"}\n value={props.value ? props.value : \"\"}\n onChange={(e) => {\n if (props.errorHandler) props.errorHandler.clear();\n if (props.handleInputChange) props.handleInputChange(e.currentTarget.value);\n }}\n onClick={props.onClick}\n />\n {props.errorHandler && }\n \n );\n}\n","import React, { useContext, useState } from \"react\";\nimport DropdownInput from \"../forms/DropdownInput\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { useIntl } from \"react-intl\";\nimport { Button, Col, Row } from \"reactstrap\";\nimport DateTimeInput from \"../forms/DateTimeInput\";\nimport Icon from \"components/common/Icon\";\nimport moment, { Moment } from \"moment\";\nimport TextFormInput from \"../forms/TextFormInput\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n options: any;\n onSearch: any; \n};\n\nexport default function TopColumnFilter(props: Props) {\n const intl = useIntl();\n const [statusValue, setStatusValue] = useState('');\n const [fromDate, setFromDate] = useState(null);\n const [toDate, setToDate] = useState(null);\n const [orderIdValue, setOrderIdValue] = useState('');\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSearch = () => {\n const adjustedFromDate = fromDate ? moment(fromDate).startOf('day').format('YYYY-MM-DD HH:mm:ss') : null;\n const adjustedToDate = toDate ? moment(toDate).endOf('day').format('YYYY-MM-DD HH:mm:ss') : null;\n\n const filterData = {\n orderIdValue,\n statusValue,\n fromDate: adjustedFromDate,\n toDate: adjustedToDate,\n };\n\n // Send data to another component\n props.onSearch(filterData);\n };\n\n const handleReset = () => {\n setOrderIdValue('')\n setStatusValue('');\n setFromDate(null);\n setToDate(null);\n // Optionally trigger a search with reset values\n props.onSearch({\n orderIdValue: '',\n statusValue: '',\n fromDate: null,\n toDate: null,\n });\n };\n\n return (\n <>\n
\n \n \n \n \n \n \n \n

\n {getTranslation(\n intl,\n \"table.filters\"\n )}\n

\n \n
\n \n \n \n setOrderIdValue(value.trim())\n }\n />\n \n \n setStatusValue(e.target.value)}\n value={statusValue}\n options={props.options}\n className={`${theme === \"light\" ? \"table-filters-dark\" : \"\"}`}\n />\n \n \n setFromDate(val ? moment(val) : null)}\n placeholder=\"From Date\"\n showCalendar={true}\n iconColor={`${theme === \"light\" ? \"lblue-color\" : \"\"}`}\n />\n \n \n setToDate(val ? moment(val) : null)}\n placeholder=\"To Date\"\n showCalendar={true}\n iconColor={`${theme === \"light\" ? \"lblue-color\" : \"\"}`}\n />\n \n \n \n \n \n { (statusValue || fromDate || toDate || orderIdValue) && (\n \n )}\n \n
\n
\n \n );\n}","import React, { useContext } from 'react';\nimport { AppContext } from 'services/appContext/AppContext';\n\nexport default function VerticalLoader() {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n <>\n
\n
\n
\n
\n
\n
\n \n )\n}","import React, { useRef, useState, useEffect, useContext } from \"react\";\nimport { useTable, usePagination, useSortBy, useFilters, useGlobalFilter, useExpanded } from \"react-table\";\nimport { lowerCaseIncludes } from \"services/util/StringUtil\";\nimport {\n Card,\n CardFooter,\n CardHeader,\n Pagination,\n PaginationItem,\n PaginationLink,\n Row,\n Col,\n DropdownToggle,\n DropdownMenu,\n DropdownItem,\n UncontrolledDropdown,\n Table,\n CardBody,\n Input,\n Dropdown,\n Tooltip,\n Button\n} from \"reactstrap\";\nimport DefaultColumnFilter from \"./DefaultColumnFilter\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport ExportButtons from \"./ExportButtons\";\nimport classnames from \"classnames\";\nimport { useUiTableSettings } from \"./useUiTableSettings\";\nimport TableSettingsModal from \"./TableSettingsModal\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { usePrint } from \"./usePrint\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { useCallback } from \"react\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { RestoreFilterService } from \"services/restoreFilters/RestoreFilterService\";\nimport DropDown from \"components/framework/table/DropDown\";\nimport { OrderNumberActionConfigurations } from \"components/orders/orderDetails/configuration/OrderNumberActionConfigurations\";\nimport Icon from \"components/common/Icon\";\nimport TopColumnFilter from \"./TopColumnFilter\";\nimport VerticalLoader from \"components/common/VerticalLoader\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useLocation } from \"react-router-dom\";\n\nconst emptyData = [];\n\nexport default function ReactTable({\n showViewSettings = false,\n identifier = undefined,\n children = undefined,\n title = undefined,\n titleComponent = undefined,\n showOrderOptions = undefined,\n columns,\n data,\n hasExpandedData = false,\n showExport = false,\n showCopy = true,\n showPrint = true,\n exportColumns = undefined,\n hideSearch = false,\n filterMapper = undefined,\n useColumnFilters = false,\n initialPageSize = undefined,\n onRefresh = undefined,\n maxHeight = undefined,\n customViewSettingsComponents = undefined,\n hiddenColumns = undefined,\n queryPageSize = 10,\n queryPageIndex = 0,\n queryCount = 0,\n handlePageChange = undefined,\n handlePageSizeChange = undefined,\n handleResetFilterChange = undefined,\n handleColumnSorted = undefined,\n handleSearchFilterKeywordChange = undefined,\n columnSortOptions = {},\n autoResetFilters = undefined,\n isCheckAutoActivation = false,\n toggleAutoActivationCheckbox = undefined,\n isProvisionOrders= false,\n handleSearch= undefined,\n isCheckAttentionRequired = false,\n setIsCheckAttentionRequired = undefined, \n setTimerCompleted = undefined,\n onTimerComplete = undefined,\n ...props\n\n}) {\n const isLoading = data === undefined && !props.noContent;\n const printRef = useRef(null);\n const [showSettingsModal, setShowSettingsModal] = useState(false);\n const [manualSearchTerm, setManualSearchTerm] = useState(undefined);\n let tableHooks = [useGlobalFilter, useSortBy];\n const intl = useIntl();\n const manualPagination = handlePageChange !== undefined && handlePageSizeChange !== undefined;\n const [tooltipOpen, setTooltipOpen] = useState(false);\n const { appContext, setAppContext } = useContext(AppContext);\n const theme = appContext.theme;\n const location = useLocation();\n const timeLeftRef = useRef(600);\n const [formattedTime, setFormattedTime] = useState(formatTime(timeLeftRef.current));\n const isSinch = location.pathname.includes(\"SinchOrders\");\n\n if (hasExpandedData) {\n tableHooks.push(useExpanded)\n }\n \n tableHooks.push(usePagination);\n\n if (useColumnFilters) {\n tableHooks = [useFilters, ...tableHooks];\n }\n\n const canFiltersRestore = identifier === TableIdentifiers.Orders || identifier === TableIdentifiers.WorkQueue;\n\n const defaultColumn = React.useMemo(\n () => ({\n Filter: DefaultColumnFilter\n }),\n []\n );\n\n const resetFilters = () => {\n setAllFilters([]);\n setGlobalFilter(\"\");\n if (isCheckAttentionRequired){\n setIsCheckAttentionRequired(false);\n }\n if (identifier === TableIdentifiers.TradingPartner) {\n if (handleResetFilterChange) {\n handleResetFilterChange();\n }\n }\n if (canFiltersRestore) {\n RestoreFilterService.clearFilter(identifier);\n if (handleResetFilterChange) {\n handleResetFilterChange(identifier);\n }\n \n }\n };\n\n const globalFilter = useCallback((rows, _accessors, value) => {\n const filteredParentIds = new Set();\n const childIdToParentMap = new Map();\n\n rows.forEach(row => {\n if (row.originalSubRows) {\n row.originalSubRows.forEach(subRow => childIdToParentMap.set(subRow.id, row.id));\n }\n });\n\n const rowMatchesFilter = (row) => {\n const filterable = filterMapper ? filterMapper(row) : row;\n return _accessors.some(accessor => lowerCaseIncludes(value, filterable[accessor]));\n };\n\n return rows.filter(row => {\n const matches = rowMatchesFilter(row.original);\n\n if (matches) {\n filteredParentIds.add(row.id);\n if (row.originalSubRows) {\n row.originalSubRows.forEach(subRow => filteredParentIds.add(subRow.id));\n }\n } else if (row.originalSubRows) {\n const subRowMatches = row.originalSubRows.some(subRow => {\n const subRowMatches = rowMatchesFilter(subRow);\n if (subRowMatches) {\n filteredParentIds.add(row.id);\n filteredParentIds.add(subRow.id);\n }\n return subRowMatches;\n });\n return subRowMatches;\n }\n\n return matches;\n }).filter(row => {\n if (filteredParentIds.has(row.id)) {\n return true;\n }\n const parentId = childIdToParentMap.get(row.id);\n return parentId ? filteredParentIds.has(parentId) : false;\n });\n}, [filterMapper]);\n\n\n\n const {\n getTableProps,\n getTableBodyProps,\n headerGroups,\n prepareRow,\n rows,\n page,\n state,\n canPreviousPage,\n canNextPage,\n pageOptions,\n pageCount,\n gotoPage,\n nextPage,\n previousPage,\n setPageSize,\n setGlobalFilter,\n setAllFilters,\n setHiddenColumns\n } = useTable(\n {\n columns,\n globalFilter: globalFilter,\n data: data ?? emptyData,\n autoResetFilters: autoResetFilters,\n defaultColumn,\n manualPagination: manualPagination,\n ...(manualPagination && { pageCount: Math.ceil(queryCount / queryPageSize) }),\n initialState: {\n pageIndex: manualPagination ? queryPageIndex : 0,\n pageSize: manualPagination ? queryPageSize : initialPageSize ?? 10,\n identifier: identifier\n }\n },\n ...tableHooks\n );\n\n const { userHiddenColumnsAccessors } = useUiTableSettings(showViewSettings, identifier, columns);\n const { onAfterPrint, onBeforePrint } = usePrint(setHiddenColumns, userHiddenColumnsAccessors);\n const [nonUserHiddenColumns] = useState(hiddenColumns);\n\n useEffect(() => {\n if (userHiddenColumnsAccessors?.length > 0)\n setHiddenColumns(userHiddenColumnsAccessors);\n\n if (nonUserHiddenColumns?.length > 0)\n setHiddenColumns(nonUserHiddenColumns);\n\n }, [setHiddenColumns, userHiddenColumnsAccessors, nonUserHiddenColumns]);\n\n const onPageChange = ((page) => {\n if (manualPagination) {\n handlePageChange(page);\n }\n });\n\n const onPageSizeChange = ((pageSize) => {\n if (manualPagination) {\n handlePageSizeChange(pageSize); gotoPage(0);\n }\n else {\n setPageSize(pageSize)\n }\n if (canFiltersRestore) {\n RestoreFilterService.setPageSize(identifier, pageSize)\n }\n });\n\n\n const anyFilters =\n headerGroups.filter((x) => x.headers.filter((column) => column.filter).length).length > 0;\n\n const hasPagination = (manualPagination && (queryCount > queryPageSize || queryCount > Math.min(...pageSizes)))\n || (!manualPagination && (rows.length > state.pageSize || rows.length > Math.min(...pageSizes)))\n let hasFilterRestore = false;\n\n if (canFiltersRestore) {\n hasFilterRestore = RestoreFilterService.hasFilter(identifier);\n }\n\n if (canFiltersRestore) {\n state.pageSize = RestoreFilterService.getPageSize(identifier, state.pageSize);\n }\n\n const [dropdownOpen, setDropdownOpen] = useState(false);\n\n const toggleDropdown = () => setDropdownOpen(!dropdownOpen);\n\n const [dropdownItems, setDropdownItems] = useState([]);\n\n useEffect(() => {\n setDropdownItems(props.orderActions && props.orderActions.length\n ? props.orderActions.map((action, index) => (\n <>\n props.handleActionSelected(action)}>\n \n \n \n {action}\n \n \n ))\n : \n )\n // eslint-disable-next-line \n }, [props.orderActions])\n\n function formatTime(time) {\n const minutes = Math.floor(time / 60);\n const secondsLeft = time % 60;\n return `Time left ${minutes.toString().padStart(2, '0')}:${secondsLeft.toString().padStart(2, '0')}`;\n };\n\n useEffect(() => {\n if (isProvisionOrders) {\n const storedStartTime = appContext.localStorageInfo.startTime;\n const storedDuration = appContext.localStorageInfo.duration;\n \n if (storedStartTime && storedDuration) {\n const elapsedTime = Math.floor((Date.now() - storedStartTime) / 1000);\n const remainingTime = Math.max(storedDuration - elapsedTime, 0);\n timeLeftRef.current = remainingTime;\n } else if(isProvisionOrders) {\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n startTime: Date.now().toString(),\n duration: timeLeftRef.current.toString()\n }\n });\n }\n\n setFormattedTime(formatTime(timeLeftRef.current));\n\n const timerId = setInterval(() => {\n if (timeLeftRef.current > 0) {\n timeLeftRef.current -= 1;\n setFormattedTime(formatTime(timeLeftRef.current));\n } else {\n clearInterval(timerId);\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n startTime: \"\",\n duration: \"\"\n }\n });\n setTimerCompleted && setTimerCompleted(true);\n }\n }, 1000);\n\n return () => {\n clearInterval(timerId);\n };\n }\n }, []);\n\n return (\n \n {children && (\n \n \n {title &&

{title}

}\n \n {children}\n \n
\n
\n )}\n {((title && !children) || !hideSearch || titleComponent) && (\n
\n\n {(title && !children)\n ? (
\n

{title}

\n
) \n : titleComponent && \n (<>{titleComponent})\n }\n\n
\n {onRefresh && !isProvisionOrders && (\n \n )}\n {((anyFilters && !canFiltersRestore) || hasFilterRestore || isCheckAttentionRequired) && (\n \n )}\n {showViewSettings && identifier && (\n <>\n setShowSettingsModal(true)}\n tooltip={getTranslation(intl, \"table.viewSettings\")}\n />\n\n {showSettingsModal && (\n setShowSettingsModal(false)}\n children={customViewSettingsComponents}\n >\n \n )}\n \n )}\n {(toggleAutoActivationCheckbox && !isSinch && (\n <>\n toggleAutoActivationCheckbox(!isCheckAutoActivation)}\n checked={isCheckAutoActivation}\n style={{ position: 'relative', zIndex: 1, marginTop: 0, marginLeft: 0 }}\n onMouseEnter={() => setTooltipOpen(true)}\n onMouseLeave={() => setTooltipOpen(false)}\n />\n {tooltipOpen && (\n setTooltipOpen(!tooltipOpen)}\n >\n {getTranslation(intl, \"table.autoActivationFilters\")}\n \n )}\n \n )\n )}\n
\n\n {((props.showDropDown && page.length > 0) || props.noContent) && (\n \n )}\n\n {showExport && page.length > 0 && (\n
\n \n
\n )}\n\n {!hideSearch && (\n
\n {\n if (handleSearchFilterKeywordChange === undefined) {\n setGlobalFilter(e.target.value || undefined);\n }\n else {\n setManualSearchTerm(e.target.value || undefined);\n handleSearchFilterKeywordChange(e.target.value || undefined);\n }\n\n gotoPage(0);\n }}\n />\n
\n )}\n
\n )}\n {props.hasCustomFilters && }\n {showOrderOptions && (\n <>\n
\n
\n
\n

{props.selectedCount ? intl.formatMessage({ id: \"table.order.unSelect\" }, { orderCount: props.selectedCount }) : intl.formatMessage({ id: \"table.order.selectAll\" })}

\n
\n {props.orderActions &&
\n \n \n \n \n \n {dropdownItems}\n \n \n
}\n {isProvisionOrders &&

{formattedTime}

}\n {isProvisionOrders &&
\n \n
}\n
\n \n )}\n \n \n \n {handleColumnSorted === undefined && headerGroups.map((headerGroup, index) => (\n \n {headerGroup.headers.map((column, index) => (\n \n
\n
\n {column.render(\"Header\")}\n \n {column.isSorted ? (\n column.isSortedDesc ? (\n \n ) : (\n \n )\n ) : (\n \"\"\n )}\n \n
\n
{column.canFilter && column.filter && column.render(\"Filter\")}
\n
\n \n ))}\n
\n ))\n }\n {handleColumnSorted && headerGroups.map((headerGroup, index) => (\n \n {headerGroup.headers.map((column, index) => (\n \n
\n
handleColumnSorted && handleColumnSorted(column)}>\n {column.render(\"Header\")}\n \n {columnSortOptions && columnSortOptions[column.identifier]?.isSorted ? (\n columnSortOptions && columnSortOptions[column.identifier]?.isSortedDesc ? (\n \n ) : (\n \n )\n ) : (\n \"\"\n )}\n \n
\n
{column.canFilter && column.filter && column.render(\"Filter\")}
\n
\n \n ))}\n
\n ))\n }\n \n \n {page.map(\n (row) =>\n prepareRow(row) || (\n x.orderId === row.original.orderId) > -1 ? (`${theme === 'light' ? 'bg-lpurple' : ''}`) : ''} \n ${props.selectedOrders && props.selectedOrders.findIndex(x => x.orderId === row.original.orderId) > -1 ? props.selectedActionOrders && props.selectedActionOrders.findIndex(x => x.orderId === row.original.orderId) > -1 ? 'bg-lpurple' : 'selected-row' : ''}`}>\n {row.cells.map((cell, index) => {\n return (\n \n {cell.render(\"Cell\")}\n \n );\n })}\n \n )\n )}\n \n
\n \n {isLoading ? (\n \n {/* */}\n \n \n ) : hasPagination ? (\n \n \n \n \n \n \n \n \n {pageSizes.map((pageSize) => (\n onPageSizeChange(pageSize)}>\n \n \n ))}\n \n \n \n \n {manualPagination ? queryPageIndex + 1 : state.pageIndex + 1},\n numberOfPages: {pageOptions.length}\n }}\n />\n \n \n \n \n { gotoPage(0); onPageChange(0) }} tabIndex=\"-1\">\n \n \n \n \n { previousPage(); onPageChange(queryPageIndex - 1) }} tabIndex=\"-1\">\n \n \n \n \n { nextPage(); onPageChange(queryPageIndex + 1) }}>\n \n \n \n \n { gotoPage(pageCount - 1); onPageChange(pageCount - 1) }}>\n \n \n \n \n \n \n \n ) : (\n rows.length <= 0 && (\n \n {props.noContent ? : }\n \n )\n )}\n
\n );\n}\n\nconst pageSizes = [10, 20, 50, 100];\n","import { getColumnSettings } from \"./../../../services/uiSettings/UiSettingsService\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { useEffect, useState, useContext } from \"react\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { DataTableColumn } from \"./types/DataTableColumn\";\nimport { getTableSettings } from \"services/uiSettings/UiSettingsService\";\n\nexport const useUiTableSettings = (\n configureSettings: boolean | undefined,\n tableIdentifier: TableIdentifiers | undefined,\n columns: Array\n) => {\n const [userHiddenColumnsAccessors, setUserHiddenColumnsAccessors] = useState>([]);\n const { appContext } = useContext(AppContext);\n\n useEffect(() => {\n if (configureSettings && tableIdentifier) {\n const tableSettings = getTableSettings(tableIdentifier);\n\n if (tableSettings) {\n const hiddenColumns = columns.filter(\n (column) =>\n column.identifier && !(getColumnSettings(tableIdentifier, column.identifier)?.isVisible ?? true)\n );\n setUserHiddenColumnsAccessors(hiddenColumns.map((x) => x.accessor));\n }\n }\n }, [appContext.localStorageInfo.user, columns, configureSettings, tableIdentifier]);\n\n return { userHiddenColumnsAccessors };\n};\n","import React, { useCallback, useState, useRef, useEffect } from \"react\";\n\nexport const usePrint = (\n setHiddenColumns: React.Dispatch>>,\n userHiddenColumnsAccessors: Array\n) => {\n const [readyForPrint, setReadyForPrint] = useState(false);\n const resolveOnBeforePrint = useRef<() => void>();\n\n const onAfterPrint = useCallback(() => {\n setHiddenColumns((prevColumns) => prevColumns.concat(userHiddenColumnsAccessors));\n setReadyForPrint(false);\n resolveOnBeforePrint.current = undefined;\n }, [setHiddenColumns, userHiddenColumnsAccessors]);\n\n const onBeforePrint = useCallback(\n () =>\n new Promise((resolve) => {\n setHiddenColumns((prevColumns) =>\n prevColumns.filter((x) => !userHiddenColumnsAccessors.includes(x))\n );\n setReadyForPrint(true);\n resolveOnBeforePrint.current = resolve as (()=> void);\n }),\n [setHiddenColumns, userHiddenColumnsAccessors]\n );\n\n useEffect(() => {\n if (readyForPrint && resolveOnBeforePrint.current) {\n resolveOnBeforePrint.current();\n }\n }, [readyForPrint, resolveOnBeforePrint]);\n\n return { onAfterPrint, onBeforePrint };\n};\n","import { HttpClient } from \"../httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { ServiceProviderProfile } from \"./types/serviceProvider/ServiceProviderProfile\";\nimport { SpInfo } from \"./types/serviceProvider/SpInfo\";\n\nexport const ServiceProviderApi = {\n get: (id: string): Promise => {\n return HttpClient.get(`serviceprovider/${id}`);\n },\n list: (): Promise => {\n return HttpClient.get(\"serviceprovider\");\n },\n addOrUpdate: (serviceProvider: ServiceProviderProfile): Promise => {\n return HttpClient.put(`serviceprovider/${serviceProvider.spId}`, serviceProvider);\n },\n getLogo: (id: string): Promise => {\n return HttpClient.getResource(`serviceprovider/${id}/logo`);\n },\n uploadLogo: (id: string, file: File): Promise => {\n const data = new FormData();\n data.append(\"image\", file);\n return HttpClient.putResource(`serviceprovider/${id}/logo`, data);\n }\n};\n","export enum PermissionType {\n CNAM = \"CNAM\",\n History = \"History\",\n Explore = \"Explore\",\n Network = \"Network\",\n PortingProfiles = \"PortingProfiles\",\n CarrierProfiles = \"CarrierProfiles\",\n TradingPartners = \"TradingPartners\",\n Admin = \"Admin\",\n CompanyAdmin = \"CompanyAdmin\",\n NetworkWrite = \"NetworkWrite\",\n SOARead = \"SOARead\",\n SOAWrite = \"SOAWrite\",\n Webhooks = \"Webhooks\",\n Reports = \"Reports\",\n WorkQueue = \"WorkQueue\",\n PreOrderFree = \"PreOrderFree\",\n AllowCsr = \"AllowCsr\",\n Search = \"Search\",\n Provision = \"Provision\",\n CNAMUpdate = \"CNAMUpdate\",\n RealNumberDNO = \"RealNumberDNO\",\n CustomerInventory = \"CustomerInventory\",\n Notifications = \"Notifications\",\n DisasterRecovery = \"DisasterRecovery\",\n SinchSearchAndProvision = \"SinchSearchAndProvision\"\n}\n","import { PermissionType } from \"./PermissionType\";\n\nexport const Permissions: Record = {\n CNAM: \"CNAM\",\n History: \"History\",\n Explore: \"Explore\",\n Network: \"Network\",\n PortingProfiles: \"Network Profiles\",\n CarrierProfiles: \"Carrier Profiles\",\n RealNumberDNO: \"RealNumberDNO\",\n CustomerInventory: \"CustomerInventory\",\n TradingPartners: \"Trading Partners\",\n Admin: \"PortControl Admin\",\n CompanyAdmin: \"Organization Admin\",\n NetworkWrite: \"Manage Network\",\n SOARead: \"Read only\",\n SOAWrite: \"Manage Orders\",\n Webhooks: \"Webhooks\",\n Reports: \"Reports\",\n WorkQueue: \"Work Queue\",\n PreOrderFree: \"Pre-orders (LSR/CSR)\",\n AllowCsr: \"Request CSR\",\n Search: \"Search\",\n Provision: \"Provision\",\n CNAMUpdate: \"CNAM Update\",\n Notifications: \"Notifications\",\n DisasterRecovery: \"Disaster Recovery\",\n SinchSearchAndProvision: \"Sinch Search And Provision\"\n};\n","import { AppContextAccessor } from \"../appContext/AppContextAccessor\";\nimport { AppContext } from \"../appContext/AppContext\";\nimport { PermissionType } from \"./PermissionType\";\nimport { Permissions } from \"./Permissions\";\n\nexport const authorize = (\n permission: keyof typeof PermissionType,\n useSpid: boolean = false\n): boolean => {\n const appContext = AppContextAccessor.getAppContext();\n\n if (\n appContext.localStorageInfo.authenticationInfo.authenticated &&\n ((useSpid && selectedSpidIsAuthorized(appContext, permission)) ||\n (!useSpid && userIsAuthorized(appContext, permission)))\n ) {\n return true;\n }\n\n return false;\n};\n\nexport const authorizeAny = (permissions: PermissionType[], useSpid: boolean = false): boolean => {\n return permissions && permissions.findIndex((x) => authorize(x, useSpid)) > -1;\n};\n\nconst selectedSpidIsAuthorized = (appContext: AppContext, permission: string): boolean => {\n return (\n appContext.localStorageInfo.selectedProfile !== undefined &&\n (appContext.localStorageInfo.selectedProfile.permissions.includes(permission) ||\n appContext.localStorageInfo.selectedProfile.permissions.includes(PermissionType.Admin))\n );\n};\n\nconst userIsAuthorized = (appContext: AppContext, permission: string): boolean => {\n return (\n appContext.localStorageInfo.user !== undefined &&\n appContext.localStorageInfo.user.permissions &&\n (appContext.localStorageInfo.user.permissions.includes(permission) ||\n appContext.localStorageInfo.user.permissions.includes(PermissionType.Admin))\n );\n};\n\nexport const hasAnyPermissions = () => {\n const appContext = AppContextAccessor.getAppContext();\n\n return (\n Object.keys(Permissions).findIndex(\n (x) => selectedSpidIsAuthorized(appContext, x) || userIsAuthorized(appContext, x)\n ) > -1\n );\n};\n","import React from \"react\";\nimport { Label } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n labelTranslationId: string;\n required?: boolean;\n};\n\nexport default function CardSectionHeader(props: Props) {\n return (\n
\n \n
\n );\n}\n","import React from \"react\";\nimport { FormGroup, Label } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { KeyValuePair } from \"services/types/KeyValuePair\";\nimport DropdownInput from \"./DropdownInput\";\n\nexport type DropdownFormInputProps = {\n disabled?: boolean;\n required?: boolean;\n labelTranslationId?: string;\n labelClassName?: string;\n value?: string;\n errorHandler?: ErrorHandler;\n className?: string;\n handleInputChange: (value: string) => void;\n options: KeyValuePair[];\n lg?: boolean;\n};\n\nexport default function DropdownFormInput(props: DropdownFormInputProps) {\n const errors = props.errorHandler?.getErrors();\n\n return (\n \n {props.labelTranslationId && (\n \n )}\n 0\n })}\n sm={!props.lg}\n onChange={(e) => {\n if (props.errorHandler) {\n props.errorHandler.clear();\n }\n props.handleInputChange(e.currentTarget.value);\n }}\n value={props.value}\n options={props.options}\n />\n {errors && }\n \n );\n}\n","export const ProcessingTimeType: Record = {\n Instant: \"Instant\",\n \"1-2 Business Days\": \"1-2 Business Days\",\n \"3-5 Business Days\": \"3-5 Business Days\",\n \"5+ Business Days\": \"5+ Business Days\"\n};\n","import React from \"react\";\nimport { Label, Input, Tooltip } from \"reactstrap\";\nimport classNames from \"classnames\";\nimport { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { ReactNode } from \"react\";\n\ntype Props = {\n disabled?: boolean;\n value: string;\n className?: string;\n handleInputChange: (checked: boolean) => void;\n checked: boolean;\n label?: string;\n tooltipId?: string;\n children?: ReactNode;\n};\n\nexport default function CheckboxFormInput(props: Props) {\n const [tooltipOpen, setTooltipOpen] = useState(false);\n\n const toggle = () => setTooltipOpen(!tooltipOpen);\n\n return (\n \n props.handleInputChange(e.currentTarget.checked)}\n checked={props.checked}\n disabled={props.disabled}\n />\n\n {props.tooltipId &&\n \n \n \n }\n\n \n \n );\n}","import React, { useState } from \"react\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport classnames from \"classnames\";\nimport { isEmail, isEmailOrUrl } from \"services/util/StringUtil\";\nimport { ServiceProviderProfile } from \"services/apis/types/serviceProvider/ServiceProviderProfile\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { ProcessingTimeType } from \"../types/ProcessingTimeType\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n readonly: boolean;\n serviceProvider: ServiceProviderProfile;\n isRespOrgId: boolean;\n setServiceProvider: (serviceProvider: ServiceProviderProfile) => void;\n getErrorHandler: (key: string) => ErrorHandler;\n};\n\nexport default function LnpInformation(props: Props) {\n const intl = useIntl();\n const [isAdmin] = useState(authorize(PermissionType.Admin));\n const formatUrl = (link: string) => {\n const url = isEmail(link) ? `mailto:${link}` : link;\n\n return url;\n };\n\n const handleInputClick = (e: React.MouseEvent) => {\n if (props.readonly && isEmailOrUrl(e.currentTarget.value)) {\n window.open(formatUrl(e.currentTarget.value), \"_blank\");\n }\n };\n\n return (\n <>\n \n\n
\n
\n {!props.isRespOrgId && (\n <>\n
\n \n props.setServiceProvider({ ...props.serviceProvider, lsrLocation: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"lsrLocation\")\n )}\n />\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, csrLocation: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"csrLocation\")\n )}\n />\n
\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, lnpTppLocation: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"lnpTppLocation\")\n )}\n />\n
\n
\n \n )}\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, lnpSpeed: value })\n }\n errorHandler={props.getErrorHandler(nameOf(\"lnpSpeed\"))}\n options={Object.keys(ProcessingTimeType).map((x) => {\n return { key: x, value: ProcessingTimeType[x] };\n })}\n />\n
\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, lnpPhoneNumber: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"lnpPhoneNumber\")\n )}\n />\n
\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, lnpEmail: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(nameOf(\"lnpEmail\"))}\n />\n
\n
\n {isAdmin &&
\n
\n \n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, ixcRequired: value })\n }\n checked={props.serviceProvider.ixcRequired}\n disabled={props.readonly}\n className=\"font-weight-bold\"\n />\n
\n
\n
}\n
\n
\n \n );\n}\n","import React from \"react\";\nimport { FormGroup, Label } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n disabled?: boolean;\n required?: boolean;\n labelTranslationId?: string;\n value?: string;\n errorHandler?: ErrorHandler;\n className?: string;\n placeholderTranslationId?: string;\n rows?: number;\n handleInputChange?: (value: string) => void;\n fixedSize?: boolean;\n};\n\nexport default function TextAreaFormInput(props: Props) {\n const intl = useIntl();\n const errors = props.errorHandler ? props.errorHandler.getErrors() : [];\n const label = !props.labelTranslationId\n ? undefined\n : intl.formatMessage({ id: props.labelTranslationId });\n const placeholder = props.disabled\n ? \"\"\n : !props.placeholderTranslationId\n ? undefined\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n return (\n <>\n \n {label && (\n \n )}\n 0,\n \"pc-no-resize\": props.fixedSize\n })}\n placeholder={placeholder ?? label ?? \"\"}\n value={props.value ? props.value : \"\"}\n onChange={(e) => {\n if (props.errorHandler) props.errorHandler.clear();\n if (props.handleInputChange) props.handleInputChange(e.currentTarget.value);\n }}\n rows={props.rows ?? 3}\n />\n {props.errorHandler && }\n \n \n );\n}\n","import React from \"react\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport classnames from \"classnames\";\nimport { isEmail, isEmailOrUrl } from \"services/util/StringUtil\";\nimport { ServiceProviderProfile } from \"services/apis/types/serviceProvider/ServiceProviderProfile\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\n\ntype Props = {\n readonly: boolean;\n serviceProvider: ServiceProviderProfile;\n setServiceProvider: (serviceProvider: ServiceProviderProfile) => void;\n getErrorHandler: (key: string) => ErrorHandler;\n};\n\nexport default function OperationsInformation(props: Props) {\n const formatUrl = (link: string) => {\n const url = isEmail(link) ? `mailto:${link}` : link;\n\n return url;\n };\n\n const handleInputClick = (e: React.MouseEvent) => {\n if (props.readonly && isEmailOrUrl(e.currentTarget.value)) {\n window.open(formatUrl(e.currentTarget.value), \"_blank\");\n }\n };\n\n return (\n <>\n \n\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, businessHours: value })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(nameOf(\"businessHours\"))}\n />\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, residentialRules: value })\n }\n errorHandler={props.getErrorHandler(\n nameOf(\"residentialRules\")\n )}\n />\n
\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, businessRules: value })\n }\n errorHandler={props.getErrorHandler(\n nameOf(\"businessRules\")\n )}\n />\n
\n
\n
\n
\n \n );\n}\n","import React from \"react\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport classnames from \"classnames\";\nimport { isEmail, isEmailOrUrl } from \"services/util/StringUtil\";\nimport { ServiceProviderProfile } from \"services/apis/types/serviceProvider/ServiceProviderProfile\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\n\ntype Props = {\n readonly: boolean;\n serviceProvider: ServiceProviderProfile;\n setServiceProvider: (serviceProvider: ServiceProviderProfile) => void;\n getErrorHandler: (key: string) => ErrorHandler;\n};\n\nexport default function ContactInformation(props: Props) {\n const formatUrl = (link: string) => {\n const url = isEmail(link) ? `mailto:${link}` : link;\n\n return url;\n };\n\n const handleInputClick = (e: React.MouseEvent) => {\n if (props.readonly && isEmailOrUrl(e.currentTarget.value)) {\n window.open(formatUrl(e.currentTarget.value), \"_blank\");\n }\n };\n\n return (\n <>\n \n\n
\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, firstLevelSupport: value })\n }\n errorHandler={props.getErrorHandler(\n nameOf(\"firstLevelSupport\")\n )}\n />\n \n props.setServiceProvider({\n ...props.serviceProvider,\n firstLevelSupportEmail: value\n })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"firstLevelSupportEmail\")\n )}\n />\n \n props.setServiceProvider({\n ...props.serviceProvider,\n firstLevelSupportPhoneNumber: value\n })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"firstLevelSupportPhoneNumber\")\n )}\n />\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, secondLevelSupport: value })\n }\n errorHandler={props.getErrorHandler(\n nameOf(\"secondLevelSupport\")\n )}\n />\n \n props.setServiceProvider({\n ...props.serviceProvider,\n secondLevelSupportEmail: value\n })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"secondLevelSupportEmail\")\n )}\n />\n \n props.setServiceProvider({\n ...props.serviceProvider,\n secondLevelSupportPhoneNumber: value\n })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"secondLevelSupportPhoneNumber\")\n )}\n />\n
\n
\n \n props.setServiceProvider({ ...props.serviceProvider, repairCenter: value })\n }\n errorHandler={props.getErrorHandler(nameOf(\"repairCenter\"))}\n />\n \n props.setServiceProvider({\n ...props.serviceProvider,\n repairCenterEmail: value\n })\n }\n onClick={handleInputClick}\n errorHandler={props.getErrorHandler(\n nameOf(\"repairCenterEmail\")\n )}\n />\n
\n
\n
\n \n );\n}\n","import React, { useContext } from \"react\";\nimport { authorizeAny } from \"services/authorization/AuthorizationService\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n userPermissions?: PermissionType[];\n spidPermissions?: PermissionType[];\n vpopDisabled?: boolean;\n nonSpidDisabled?: boolean;\n children: React.ReactNode;\n};\n\nexport default function Authorize(props: Props) {\n const { appContext } = useContext(AppContext);\n\n var isAuthorized =\n (!props.userPermissions &&\n !props.spidPermissions &&\n appContext.localStorageInfo.authenticationInfo.authenticated) ||\n (props.userPermissions && authorizeAny(props.userPermissions)) ||\n (props.spidPermissions && authorizeAny(props.spidPermissions, true));\n\n //VPOP user can have OrgAdmin permissions but still some pages might not be visisble\n if (appContext.localStorageInfo.selectedProfile?.external && props.vpopDisabled === true) {\n isAuthorized = false;\n }\n\n // Wholesale or other NonSpid user can be VPOP with various permissions but still some pages might not be visisble\n if (appContext.localStorageInfo.selectedProfile?.nonSpIdCompany && props.nonSpidDisabled === true){ \n isAuthorized = false;\n }\n\n return <>{isAuthorized && props.children};\n}\n","import { HttpClient } from \"../httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { TppAdminDetailsDto, TppDetailsDto, TppUserDetailsDto } from \"./types/number/TradingPartner\";\nimport { TradingPartnerProfile } from \"./types/tpp/TradingPartnerProfile\";\nimport { TradeRequestStatus } from \"./types/tpp/TradeRequestStatus\";\nimport { TppHistory } from \"./types/tpp/TppHistory\";\nimport { TppSpidList } from \"./types/tpp/TppSpidList\";\n\nexport const TradingPartnerApi = {\n add: (spid: string): Promise => {\n return HttpClient.post(\"tpp\", { tradingSpId: spid }, true, true);\n },\n get: (spid: string): Promise => {\n return HttpClient.get(`tpp/${spid}`, true, true);\n },\n getTppList: (pageNumber: number, pageSize: number, searchValues: string, filter?: string): Promise => {\n if (filter)\n return HttpClient.get(`tpp/tpplist?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&${filter}`, true, true);\n else return HttpClient.get(`tpp/tpplist?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}`, true, true);\n },\n updateStatus: (spid: string, tradeRequestStatus: TradeRequestStatus): Promise => {\n return HttpClient.put(`tpp/${spid}`, tradeRequestStatus, true, true);\n },\n\n getTppHistory: (spid: string): Promise => {\n return HttpClient.get(`tpp/TppHistory/${spid}`, true, true);\n },\n\n getSpidList: (): Promise => {\n return HttpClient.get(`tpp/spids`, true, true);\n },\n\n getTppAdminList: (pageNumber: number, pageSize: number, searchValues: string,orderByColumn: string,orderDirection: string, filter?: string): Promise => {\n if (filter)\n return HttpClient.get(`tpp/tpp?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&orderByColumn=${orderByColumn}&orderDirection=${orderDirection}&${filter}`, true, true);\n else return HttpClient.get(`tpp/tpp?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&orderByColumn=${orderByColumn}&orderDirection=${orderDirection}`, true, true);\n },\n getTppUserList: (pageNumber: number, pageSize: number, searchValues: string,orderByColumn: string,orderDirection: string, filter?: string): Promise => {\n if (filter)\n return HttpClient.get(`tpp/tpplist/spid?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&orderByColumn=${orderByColumn}&orderDirection=${orderDirection}&${filter}`, true, true);\n else return HttpClient.get(`tpp/tpplist/spid?pageNumber=${pageNumber}&pageSize=${pageSize}&searchKey=${searchValues}&orderByColumn=${orderByColumn}&orderDirection=${orderDirection}`, true, true);\n },\n};\n","export function openMailTo(mailTo: string) {\n window.open(mailTo, \"_parent\");\n}\n\nexport function openNewBackgroundTab(url: string) {\n window.open(url, \"_blank\");\n}\n","export enum TppStatus {\r\n TppAprroved = \"Active\",\r\n TppDenied = \"Denied\",\r\n TppRequestToTrade = \"Request To Trade\",\r\n TppSubmitted = \"Submitted\"\r\n}","import React, { useContext, useState } from \"react\";\nimport { Button } from \"reactstrap\";\nimport { FormattedMessage, IntlShape, useIntl } from \"react-intl\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { ServiceProviderProfile } from \"services/apis/types/serviceProvider/ServiceProviderProfile\";\nimport { isUrl } from \"services/util/StringUtil\";\nimport { openMailTo, openNewBackgroundTab } from \"services/util/LinkUtil\";\nimport { TradingPartnerProfile } from \"services/apis/types/tpp/TradingPartnerProfile\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { TppStatus } from \"components/networkExplorer/types/TppStatus\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n spid: string;\n tpp: TradingPartnerProfile | undefined;\n serviceProvider: ServiceProviderProfile;\n requestTradingPartnerCallback: () => void;\n isTpp?: boolean;\n onActionExecuted?: () => void;\n};\n\nexport default function TradingPartnerProfileCardFooterButtons(props: Props) {\n const [showAddLoadingIndicator, setShowAddLoadingIndicator] = useState(false);\n const intl = useIntl();\n const [isAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const approveOrDeniedTradingPartner = (tppStatus: TppStatus) => {\n TradingPartnerApi.updateStatus(props.tpp ? props.tpp.id : '', {status : tppStatus})\n .then(() => {\n props.requestTradingPartnerCallback();\n showInfoNotification(\n intl.formatMessage({ id: \"tppModal.buttons.requestToTrade.successMessage\" })\n );\n if (isUrl(props.serviceProvider.lnpTppLocation))\n openNewBackgroundTab(props.serviceProvider.lnpTppLocation);\n props.onActionExecuted && props.onActionExecuted();\n })\n .catch((errors) => handleFieldOrApiErrors(errors))\n .finally(() => setShowAddLoadingIndicator(false));\n };\n\n const requestTradingPartner = () => {\n setShowAddLoadingIndicator(true);\n\n TradingPartnerApi.add(props.spid)\n .then(() => {\n props.requestTradingPartnerCallback();\n showInfoNotification(\n intl.formatMessage({ id: \"tppModal.buttons.requestToTrade.successMessage\" })\n );\n if (isUrl(props.serviceProvider.lnpTppLocation))\n openNewBackgroundTab(props.serviceProvider.lnpTppLocation);\n props.onActionExecuted && props.onActionExecuted();\n })\n .catch((errors) => handleFieldOrApiErrors(errors))\n .finally(() => setShowAddLoadingIndicator(false));\n };\n\n return (\n <>\n \n {\n openMailTo(getCustomMailTo(intl, props.serviceProvider, props.spid));\n }}\n className={`btn-sm mr-3 ${theme === \"light\" ? \"lblue-button-border lblue-color\" : \"tpp-button-light\"}`}>\n \n \n {\n props.tpp && props.tpp.status === TppStatus.TppSubmitted ? (isAdmin && props.isTpp) ? \n <>\n
\n approveOrDeniedTradingPartner(TppStatus.TppDenied)}\n >\n {showAddLoadingIndicator && }\n \n \n
\n
\n approveOrDeniedTradingPartner(TppStatus.TppAprroved)}\n >\n {showAddLoadingIndicator && }\n \n \n
\n : (\n
\n
\n \n
\n
\n \n
\n
\n ) : (\n props.serviceProvider.spId.length === 4 && props.tpp && props.tpp.status === TppStatus.TppRequestToTrade && (\n requestTradingPartner()}>\n {showAddLoadingIndicator && }\n \n \n )\n )}\n
\n \n );\n}\n\nconst getCustomMailTo = (\n intl: IntlShape,\n serviceProvider: ServiceProviderProfile,\n spId: string\n) => {\n const newLine = \"%0D%0A\";\n const subject = intl.formatMessage({ id: \"tppModal.reportIncorrectData.subject\" }, { spId });\n const body = `${serviceProvider.lsrLocation\n ? `${intl.formatMessage({ id: \"tppModal.lsrLocation\" })}: ${serviceProvider.lsrLocation\n }${newLine}`\n : \"\"\n }${serviceProvider.csrLocation\n ? `${intl.formatMessage({ id: \"tppModal.csrLocation\" })}: ${serviceProvider.csrLocation\n }${newLine}`\n : \"\"\n }${serviceProvider.lnpTppLocation\n ? `${intl.formatMessage({ id: \"tppModal.lnpTppLocation\" })}: ${serviceProvider.lnpTppLocation\n }${newLine}`\n : \"\"\n }${serviceProvider.lnpSpeed\n ? `${intl.formatMessage({ id: \"tppModal.processingTime\" })}: ${serviceProvider.lnpSpeed\n }${newLine}`\n : \"\"\n }${serviceProvider.lnpPhoneNumber\n ? `${intl.formatMessage({ id: \"tppModal.lnpPhoneNumber\" })}: ${serviceProvider.lnpPhoneNumber\n }${newLine}`\n : \"\"\n }${serviceProvider.lnpEmail\n ? `${intl.formatMessage({ id: \"tppModal.lnpEmail\" })}: ${serviceProvider.lnpEmail}${newLine}`\n : \"\"\n }${serviceProvider.businessHours\n ? `${intl.formatMessage({ id: \"tppModal.businessHours\" })}: ${serviceProvider.businessHours\n }${newLine}`\n : \"\"\n }${serviceProvider.residentialRules\n ? `${intl.formatMessage({ id: \"tppModal.residentialRules\" })}: ${serviceProvider.residentialRules\n }${newLine}`\n : \"\"\n }${serviceProvider.businessRules\n ? `${intl.formatMessage({ id: \"tppModal.businessRules\" })}: ${serviceProvider.businessRules\n }${newLine}`\n : \"\"\n }${serviceProvider.firstLevelSupport\n ? `${intl.formatMessage({ id: \"tppModal.firstLevelSupport\" })}: ${serviceProvider.firstLevelSupport\n }${newLine}`\n : \"\"\n }${serviceProvider.firstLevelSupportEmail\n ? `${intl.formatMessage({ id: \"tppModal.firstLevelSupport\" })} ${intl.formatMessage({\n id: \"tppModal.firstLevelSupport.email.placeholder\"\n })}: ${serviceProvider.firstLevelSupportEmail}${newLine}`\n : \"\"\n }${serviceProvider.firstLevelSupportPhoneNumber\n ? `${intl.formatMessage({ id: \"tppModal.firstLevelSupport\" })} ${intl.formatMessage({\n id: \"tppModal.firstLevelSupport.phoneNumber.placeholder\"\n })}: ${serviceProvider.firstLevelSupportPhoneNumber}${newLine}`\n : \"\"\n }${serviceProvider.secondLevelSupport\n ? `${intl.formatMessage({ id: \"tppModal.secondLevelSupport\" })}: ${serviceProvider.secondLevelSupport\n }${newLine}`\n : \"\"\n }${serviceProvider.secondLevelSupportEmail\n ? `${intl.formatMessage({ id: \"tppModal.secondLevelSupport\" })} ${intl.formatMessage({\n id: \"tppModal.secondLevelSupport.email.placeholder\"\n })}: ${serviceProvider.secondLevelSupportEmail}${newLine}`\n : \"\"\n }${serviceProvider.secondLevelSupportPhoneNumber\n ? `${intl.formatMessage({ id: \"tppModal.secondLevelSupport\" })} ${intl.formatMessage({\n id: \"tppModal.secondLevelSupport.phoneNumber.placeholder\"\n })}: ${serviceProvider.secondLevelSupportPhoneNumber}${newLine}`\n : \"\"\n }${serviceProvider.repairCenter\n ? `${intl.formatMessage({ id: \"tppModal.repairCenter\" })}: ${serviceProvider.repairCenter\n }${newLine}`\n : \"\"\n }${serviceProvider.repairCenterEmail\n ? `${intl.formatMessage({ id: \"tppModal.repairCenter\" })} ${intl.formatMessage({\n id: \"tppModal.repairCenter.email.placeholder\"\n })}: ${serviceProvider.repairCenterEmail}${newLine}`\n : \"\"\n }${serviceProvider.notes\n ? `${intl.formatMessage({ id: \"tppModal.notes\" })}: ${serviceProvider.notes}${newLine}`\n : \"\"\n }`; \n return isMixNetworkUrl\n ? `mailto:support@mixnetworks.com?subject=${subject}&body=${body}`\n : `mailto:lnp@atlc.com?subject=${subject}&body=${body}`;\n }\n\n","import React from \"react\";\nimport { FormGroup, Label } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport { Moment } from \"moment\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport InputError from \"../errorHandling/InputError\";\nimport DateTimeInput from \"./DateTimeInput\";\n\nexport type DateTimeFormInputProps = {\n disabled?: boolean;\n labelTranslationId: string;\n placeholderTranslationId?: string;\n value?: Moment | null;\n errorHandler?: ErrorHandler;\n className?: string;\n isTimeInput?: boolean;\n showModalOnTop?: boolean;\n required? : boolean;\n handleInputChange?: (value: Moment) => void;\n};\n\nexport default function DateTimeFormInput(props: DateTimeFormInputProps) {\n const intl = useIntl();\n const errors = props.errorHandler?.getErrors() || [];\n const placeholder =\n props.disabled || !props.placeholderTranslationId\n ? \"\"\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n return (\n \n \n 0\n })}\n placeholder={placeholder}\n value={props.value}\n showModalOnTop={props.showModalOnTop}\n onChange={(value) => {\n props.errorHandler?.clear();\n props.handleInputChange && props.handleInputChange(value);\n }}\n isTimeInput={props.isTimeInput}\n />\n \n \n );\n}\n","import React from \"react\";\nimport { FormattedDate } from \"react-intl\";\n\ntype Props = {\n utcDate: string | Date | undefined;\n};\n\nexport default function FormatDate(props: Props) {\n if (props.utcDate === undefined) {\n return <>;\n }\n\n const localDate = new Date(props.utcDate);\n\n return ;\n}\n","export const SvType: Record = {\n Wireline: \"wireline\",\n Wireless: \"wireless\",\n class2_voip_no_num_assgnmt: \"class2_voip_no_num_assgnmt\",\n vowifi: \"vowifi\",\n prepaid_wireless: \"prepaid_wireless\",\n class1_and_2_voip_with_num_assgnmt: \"class1_and_2_voip_with_num_assgnmt\",\n sv_type_6: \"sv_type_6\",\n sv_type_7: \"sv_type_7\",\n sv_type_8: \"sv_type_8\",\n sv_type_9: \"sv_type_9\"\n};\n","import { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\r\n\r\nexport const getUserSpId = () => {\r\n const appContext = AppContextAccessor.getAppContext();\r\n \r\n return appContext.localStorageInfo.selectedProfile\r\n ? appContext.localStorageInfo.selectedProfile.spId\r\n : \"\";\r\n};","import FormateDate from \"components/framework/date/FormateDate\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { CardHeader, Tooltip } from \"reactstrap\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport { ServiceProviderProfileResult } from \"../types/ServiceProviderProfileResult\";\nimport { SvType } from \"services/apis/types/block/SvType\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { TradingPartnerProfile } from \"services/apis/types/tpp/TradingPartnerProfile\";\nimport { isSpid } from \"services/util/StringUtil\";\nimport { getUserSpId } from \"services/util/SpidUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n serviceProviderResult: ServiceProviderProfileResult;\n triggerRefreshLogo: boolean;\n createMode: boolean;\n readOnlyMode: boolean;\n tpp?: TradingPartnerProfile;\n setReadOnlyMode: (value: boolean) => void;\n};\n\nexport default function TradingPartnerProfileCardHeader(props: Props) {\n const [defaultIcon, setDefaultIcon] = useState(false);\n const [logo, setLogo] = useState();\n const [verifiedDateTooltipOpen, setVerifiedDateTooltipOpen] = useState(false);\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const [userHasAccess] = useState(authorize(PermissionType.NetworkWrite) && (props.serviceProviderResult.spId === getUserSpId()));\n const editMode = !props.readOnlyMode && !props.createMode;\n\n useEffect(() => {\n if (props.serviceProviderResult.spId) {\n ServiceProviderApi.getLogo(props.serviceProviderResult.spId)\n .then((x) => {\n if (x instanceof Blob) {\n setLogo(URL.createObjectURL(x));\n }\n })\n .catch(() => setDefaultIcon(true));\n } else {\n setDefaultIcon(true);\n }\n }, [props.serviceProviderResult.spId, props.triggerRefreshLogo]);\n\n return (\n \n
\n
\n {defaultIcon ? (\n
\n \n
\n ) : (\n
\n \"\" setDefaultIcon(true)} />\n
\n )}\n
\n
\n {props.createMode && (\n
\n \n
\n )}\n {!props.createMode && (\n <>\n
\n
\n
\n
\n {editMode ? (\n <>\n
\n \n
\n
\n {props.serviceProviderResult.spId} - {props.serviceProviderResult.name}\n
\n \n ) : (\n <>\n
\n
{props.serviceProviderResult.name}
\n {props.serviceProviderResult.contactInformation?.verifiedDate && (\n \n setVerifiedDateTooltipOpen(!verifiedDateTooltipOpen)}>\n \n )\n }}\n />\n \n \n )}\n
\n
\n \n
\n
\n {Object.keys(SvType).find((x) => SvType[x] === props.serviceProviderResult.type)}\n
\n {props.tpp?.united && (\n
\n \n
\n )}\n \n )}\n
\n
\n
\n \n )}\n
\n
\n
\n { props.tpp && props.tpp.status &&
\n
\n \n
\n
\n {}\n
\n
}\n
\n
\n
\n {(userIsAdmin || userHasAccess) && props.readOnlyMode && (\n props.setReadOnlyMode(false)}>\n \n \n )}\n
\n
\n
\n );\n}\n","import React, { useState, useEffect, FormEvent, useRef, useContext } from \"react\";\nimport { CardFooter, Card, Form, Button, Label } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { ServiceProviderProfile } from \"services/apis/types/serviceProvider/ServiceProviderProfile\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { ServiceProviderProfileResult } from \"../types/ServiceProviderProfileResult\";\nimport { isPhoneNumberRegex, isEmail, isEmailOrUrl, isValidResidentialOrBusinessRule } from \"services/util/StringUtil\";\nimport { handleError, getFieldErrors, handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport LnpInformation from \"./LnpInformation\";\nimport OperationsInformation from \"./OperationsInformation\";\nimport ContactInformation from \"./ContactInformation\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport TradingPartnerProfileCardFooterButtons from \"./TradingPartnerProfileCardFooterButtons\";\nimport useTpp from \"services/customHooks/useTpp\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport moment, { Moment } from \"moment\";\nimport TradingPartnerProfileCardHeader from \"./TradingPartnerProfileCardHeader\";\nimport { ProcessingTimeType } from \"../types/ProcessingTimeType\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { getUserSpId } from \"services/util/SpidUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n serviceProviderResult: ServiceProviderProfileResult;\n cardIsUsedInModal?: boolean;\n closeModalOnCancel?: () => void;\n fetchServiceProvider: () => void;\n isTpp?: boolean;\n onActionExecuted?: () => void;\n};\n\nexport default function TradingPartnerProfileCard(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [serviceProvider, setServiceProvider] = useState({\n ...props.serviceProviderResult.contactInformation,\n lnpSpeed:\n props.serviceProviderResult.contactInformation?.lnpSpeed ?? ProcessingTimeType.Instant,\n spId: props.serviceProviderResult.spId,\n external: props.serviceProviderResult.isVpop\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [readOnlyMode, setReadOnlyMode] = useState(true);\n const [createMode, setCreateMode] = useState(false);\n const [triggerRefreshLogo, setTriggerRefreshLogo] = useState(false);\n const [validationChanged, setValidationChanged] = useState(false);\n const isMounted = useRef(true);\n const intl = useIntl();\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { tpp, fetchTpp } = useTpp(props.serviceProviderResult.spId);\n const [userHasAccess] = useState(authorize(PermissionType.NetworkWrite) && (props.serviceProviderResult.spId === getUserSpId()));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const editMode = !readOnlyMode && !createMode;\n\n useEffect(() => {\n setErrors({});\n }, [validationChanged, setErrors]);\n\n useEffect(() => {\n if (!props.serviceProviderResult.spId) {\n setCreateMode(true);\n setReadOnlyMode(false);\n }\n\n return () => {\n isMounted.current = false;\n };\n }, [props.serviceProviderResult]);\n\n const handleSubmit = (e: FormEvent) => {\n if (userIsAdmin || userHasAccess) {\n e.preventDefault();\n setShowLoadingIndicator(true);\n const errors = validateServiceProvideProfile(serviceProvider, createMode);\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n ServiceProviderApi.addOrUpdate(serviceProvider)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"tppModal.successNotificationMessage\" }));\n props.fetchServiceProvider();\n setReadOnlyMode(true);\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n }\n };\n\n const handleUploadLogo = (file?: File) => {\n if (file && !createMode) {\n ServiceProviderApi.uploadLogo(serviceProvider.spId, file)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"tppModal.logo.uploadSuccessfullMessage\" })\n );\n setTriggerRefreshLogo((p) => !p);\n })\n .catch((error) => handleFieldOrApiErrors(error));\n }\n };\n\n return (\n \n \n
handleSubmit(e)}>\n
\n {createMode && (\n \n setServiceProvider((previousState) => {\n if (\n (previousState.spId.length === 4 && value.length === 5) ||\n (previousState.spId.length === 5 && value.length === 4)\n )\n setValidationChanged((previous) => !previous);\n return { ...serviceProvider, spId: value };\n })\n }\n errorHandler={getErrorHandler(nameOf(\"spId\"))}\n />\n )}\n {(userIsAdmin || userHasAccess) && editMode && (\n
\n
\n \n
\n handleUploadLogo(e.target.files?.[0])}\n />\n \n
\n
\n
\n )}\n
\n setServiceProvider({ ...serviceProvider, external: value })}\n checked={serviceProvider.external}\n disabled={readOnlyMode}\n className=\"font-weight-bold\"\n />\n
\n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n \n setServiceProvider({ ...serviceProvider, notes: value })\n }\n errorHandler={getErrorHandler(nameOf(\"notes\"))}\n />\n
\n
\n {!readOnlyMode && (userIsAdmin || userHasAccess) && (\n
\n \n setServiceProvider({\n ...serviceProvider,\n verifiedDate: getUtcDate(value.toDate()).toDate()\n })\n }\n errorHandler={getErrorHandler(nameOf(\"verifiedDate\"))}\n />\n \n setServiceProvider({ ...serviceProvider, verifiedDate: null })\n }>\n
\n )}\n
\n
\n {(userIsAdmin || userHasAccess ) && !readOnlyMode && (\n
\n {\n if (props.closeModalOnCancel) props.closeModalOnCancel();\n else {\n setServiceProvider({\n ...props.serviceProviderResult.contactInformation,\n spId: props.serviceProviderResult.spId,\n external: props.serviceProviderResult.isVpop\n });\n setReadOnlyMode(true);\n setErrors({});\n }\n }}>\n \n \n
\n \n
\n
\n )}\n \n {readOnlyMode && tpp && (\n \n \n \n )}\n \n );\n}\nconst validateServiceProvideProfile = (\n serviceProvider: ServiceProviderProfile,\n createMode: boolean\n) => {\n const errors: Errors = {};\n\n if (createMode && !serviceProvider.spId) {\n AddError(errors, nameOf(\"spId\"), \"tppModal.emptySpid\");\n }\n\n if (serviceProvider.spId.length === 5) {\n if (!serviceProvider.lnpEmail)\n AddError(errors, nameOf(\"lnpEmail\"), \"tppModal.lnpEmail.required\");\n if (!serviceProvider.lnpPhoneNumber) {\n AddError(\n errors,\n nameOf(\"lnpPhoneNumber\"),\n \"tppModal.lnpPhoneNumber.required\"\n );\n }\n } else {\n if (!serviceProvider.lsrLocation) {\n AddError(\n errors,\n nameOf(\"lsrLocation\"),\n \"tppModal.lsrLocation.required\"\n );\n }\n\n if (!serviceProvider.csrLocation) {\n AddError(\n errors,\n nameOf(\"csrLocation\"),\n \"tppModal.csrLocation.required\"\n );\n }\n\n if (!serviceProvider.lnpTppLocation) {\n AddError(\n errors,\n nameOf(\"lnpTppLocation\"),\n \"tppModal.lnpTppLocation.required\"\n );\n }\n }\n \n if (serviceProvider.lnpPhoneNumber && (serviceProvider.lnpPhoneNumber.length > 15 || !isPhoneNumberRegex(serviceProvider.lnpPhoneNumber))) {\n AddError(errors, nameOf(\"lnpPhoneNumber\"), \"tppModal.lnpPhoneNumber.validation\");\n }\n\n if (serviceProvider.notes && serviceProvider.notes.length > 2000) {\n AddError(errors, nameOf(\"notes\"), \"tppModal.notes.validation\");\n }\n\n if (serviceProvider.lnpEmail && !isEmail(serviceProvider.lnpEmail)) {\n AddError(errors, nameOf(\"lnpEmail\"), \"tppModal.notAnEmail\");\n }\n\n if (serviceProvider.lnpTppLocation && !isEmailOrUrl(serviceProvider.lnpTppLocation)) {\n AddError(errors, nameOf(\"lnpTppLocation\"), \"tppModal.notAnEmailOrUrl\");\n }\n\n if (serviceProvider.csrLocation && !isEmailOrUrl(serviceProvider.csrLocation)) {\n AddError(errors, nameOf(\"csrLocation\"), \"tppModal.notAnEmailOrUrl\");\n }\n\n if (serviceProvider.lsrLocation && !isEmailOrUrl(serviceProvider.lsrLocation)) {\n AddError(errors, nameOf(\"lsrLocation\"), \"tppModal.notAnEmailOrUrl\");\n }\n\n if (serviceProvider.residentialRules && !isValidResidentialOrBusinessRule(serviceProvider.residentialRules )) {\n AddError(errors, nameOf(\"residentialRules\"), \"tppModal.limitExceeded\");\n }\n\n if (serviceProvider.businessRules && !isValidResidentialOrBusinessRule(serviceProvider.businessRules)) {\n AddError(errors, nameOf(\"businessRules\"), \"tppModal.limitExceeded\");\n }\n \n return errors;\n};\n","import { HasFieldErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport React, { useState, useEffect } from \"react\";\nimport { useContext } from \"react\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { TradingPartnerProfile } from \"services/apis/types/tpp/TradingPartnerProfile\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { handleFieldErrors, handleError } from \"services/util/ApiUtil\";\n\nexport default function useTpp(spId: string) {\n const [tpp, setTpp] = useState();\n const { appContext } = useContext(AppContext);\n\n const fetchTpp = React.useCallback(() => {\n TradingPartnerApi.get(spId)\n .then((tpp) => setTpp(tpp))\n .catch((errors) => {\n if (HasFieldErrors(errors)) {\n handleFieldErrors(errors);\n } else if (errors && errors.error !== 404) {\n handleError(errors);\n }\n\n setTpp(undefined);\n });\n }, [spId]);\n\n useEffect(() => {\n if (spId) {\n fetchTpp();\n }\n }, [spId, appContext.localStorageInfo.selectedProfile, fetchTpp]);\n\n return { tpp, fetchTpp };\n}\n","import { ServiceProviderProfileResult } from \"components/common/types/ServiceProviderProfileResult\";\nimport React, { useState, useEffect } from \"react\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"./useIsMounted\";\n\nexport default function useServiceProvider(spId?: string) {\n const [serviceProvider, setServiceProvider] = useState<\n ServiceProviderProfileResult | undefined\n >();\n const [isLoading, setIsLoading] = useState(false);\n const isMounted = useIsMounted();\n\n const fetchServiceProvider = React.useCallback(() => {\n setIsLoading(true);\n if (spId) {\n ServiceProviderApi.get(spId)\n .then((result) => {\n if (isMounted.current) {\n setServiceProvider(result);\n }\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n if (isMounted.current) {\n setIsLoading(false);\n }\n });\n } else {\n setIsLoading(false);\n }\n }, [spId, isMounted]);\n\n useEffect(() => {\n if (spId) {\n fetchServiceProvider();\n }\n }, [spId, fetchServiceProvider]);\n\n return { serviceProvider, isLoading, fetchServiceProvider };\n}\n","export type ContactInformation = {\n lnpContact: string;\n lnpEmail: string;\n lnpPhoneNumber: string;\n lnpMethod: string;\n lnpSpeed: string;\n lnpTppLocation: string;\n csrLocation: string;\n lsrLocation: string;\n name: string;\n businessHours: string;\n residentialRules: string;\n businessRules: string;\n notes: string;\n firstLevelSupport: string;\n firstLevelSupportEmail: string;\n firstLevelSupportPhoneNumber: string;\n secondLevelSupport: string;\n secondLevelSupportEmail: string;\n secondLevelSupportPhoneNumber: string;\n repairCenter: string;\n repairCenterEmail: string;\n verifiedDate: Date | null,\n ixcRequired: boolean\n};\n\nexport const DefaultContactInformation: ContactInformation = {\n lnpContact: \"\",\n lnpEmail: \"\",\n lnpPhoneNumber: \"\",\n lnpMethod: \"\",\n lnpSpeed: \"\",\n lnpTppLocation: \"\",\n csrLocation: \"\",\n lsrLocation: \"\",\n name: \"\",\n businessHours: \"\",\n residentialRules: \"\",\n businessRules: \"\",\n notes: \"\",\n firstLevelSupport: \"\",\n firstLevelSupportEmail: \"\",\n firstLevelSupportPhoneNumber: \"\",\n secondLevelSupport: \"\",\n secondLevelSupportEmail: \"\",\n secondLevelSupportPhoneNumber: \"\",\n repairCenter: \"\",\n repairCenterEmail: \"\",\n verifiedDate: null,\n ixcRequired: false\n};\n","import { ContactInformation, DefaultContactInformation } from \"services/apis/types/serviceProvider/ContactInformation\";\n\nexport type ServiceProviderProfileResult = {\n spId: string;\n name: string;\n type: string;\n activeRegions: Array;\n contactInformation: ContactInformation;\n isVpop: boolean;\n};\n\nexport const DefaultServiceProviderResult: ServiceProviderProfileResult = {\n spId: \"\",\n name: \"\",\n type: \"\",\n activeRegions: [],\n contactInformation: DefaultContactInformation,\n isVpop: false,\n};\n","import React, { useMemo } from \"react\";\nimport { Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport TradingPartnerProfileCard from \"./serviceProviderCard/TradingPartnerProfileCard\";\nimport useServiceProvider from \"services/customHooks/useServiceProvider\";\nimport { DefaultServiceProviderResult } from \"./types/ServiceProviderProfileResult\";\n\ntype Props = {\n closeModal: () => void;\n spId?: string;\n isTpp?: boolean;\n onActionExecuted?: () => void;\n};\n\nexport default function ServiceProviderModal(props: Props) {\n const { serviceProvider, isLoading, fetchServiceProvider } = useServiceProvider(props.spId);\n\n const showModal = useMemo(() => (serviceProvider || !props.spId) && !isLoading, [\n serviceProvider,\n props.spId,\n isLoading\n ]);\n\n return (\n <>\n {showModal && (\n \n \n \n \n )}\n \n );\n}\n","import React, { useContext, useState } from \"react\";\nimport ServiceProviderModal from \"./ServiceProviderModal\";\nimport { Button } from \"reactstrap\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n spId: string;\n labelColor?: string;\n isTpp? : boolean;\n onActionExecuted?: () => void;\n identifier?: string;\n};\n\nexport default function SpIdCell(props: Props) {\n const [showModal, setShowModal] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const bgGreen = props.identifier === \"lgreen\";\n\n return (\n <>\n {props.spId && (\n <>\n {\n e.preventDefault();\n setShowModal(true);\n }}>\n {props.spId}\n \n {showModal && (\n setShowModal(false)} spId={props.spId} isTpp={props.isTpp} onActionExecuted={props.onActionExecuted}/>\n )}\n \n )}\n \n );\n}\n","import React, { useMemo, useEffect, useState, useContext } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { NumberActivity } from \"services/apis/types/number/NumberActivity\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { PhoneNumberType } from \"services/apis/types/number/PhoneNumberType\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n telephoneNumber: string;\n phoneNumberType: keyof typeof PhoneNumberType;\n};\n\nexport default function HistoryReportTable(props: Props) {\n const intl = useIntl();\n const [historyData, setHistoryData] = useState();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const columns = useMemo(\n () =>\n props.phoneNumberType !== PhoneNumberType.TollFree\n ? getWirelineColumns(intl, theme)\n : getTollfreeColumns(intl, theme),\n [intl, props.phoneNumberType, theme]\n );\n\n useEffect(() => {\n let isMounted = true;\n\n NumberApi.history(props.telephoneNumber)\n .then((result) => {\n if (isMounted) {\n setHistoryData(result);\n }\n })\n .catch((error) => handleError(error));\n\n return () => {\n isMounted = false;\n };\n }, [props.telephoneNumber]);\n\n return (\n \n );\n}\n\nconst getWirelineColumns = (intl: IntlShape, theme: string) => [\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.dateTime\" }),\n accessor: \"activityDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.spId\" }),\n accessor: \"spId\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.serviceProvider\" }),\n accessor: \"providerName\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.activity\" }),\n accessor: \"activity\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.svType\" }),\n accessor: \"svType\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }\n];\n\nconst getTollfreeColumns = (intl: IntlShape, theme: string) => [\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.dateTime\" }),\n accessor: \"activityDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.resporg\" }),\n accessor: \"spId\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.historyReport.table.activity\" }),\n accessor: \"activity\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }\n];\n\nconst filterMapper = (numberActivity: NumberActivity) => {\n return {\n ...numberActivity,\n activityDate: getFormattedUtcDate(numberActivity.activityDate)\n };\n};\n","export enum AccountType { \n Residential,\n Business\n}\n\nexport const AccountTypes: Record = {\n Residential: \"Residential\",\n Business: \"Business\"\n};\n","import { AccountType } from \"services/apis/types/port/AccountType\";\n\nexport type NumberCnamUpsertModel = {\n firstName: string;\n lastName: string;\n businessName: string;\n accountType: AccountType;\n};\n\nexport const DefaultNumberCnamUpsertModel: NumberCnamUpsertModel = {\n firstName: \"\",\n lastName: \"\",\n businessName: \"\",\n accountType: AccountType.Residential\n};\n","import React, { useContext, useState } from \"react\";\nimport { DefaultNumberCnamUpsertModel } from \"./NumberCnamUpsertModel\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { AccountType, AccountTypes } from \"services/apis/types/port/AccountType\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { NumberCnamUpsert } from \"services/apis/types/number/NumberCnamUpsert\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n phoneNumber: string;\n cnamName?: string;\n modifyCallback: () => void;\n cancelCallback: () => void;\n};\n\nexport default function CnamModify(props: Props) {\n const [cnamModel, setCnamModel] = useState(DefaultNumberCnamUpsertModel);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n\n const handleSubmit = () => {\n setShowLoadingIndicator(true);\n const cnam: NumberCnamUpsert =\n cnamModel.accountType === AccountType.Business\n ? { businessName: cnamModel.businessName }\n : { firstName: cnamModel.firstName, lastName: cnamModel.lastName };\n\n NumberApi.updateCnam(props.phoneNumber, cnam)\n .then(() => {\n //wait a second because of external API delay\n setTimeout(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"explore.cnamModal.successNotificationMessage\" })\n );\n props.modifyCallback();\n }, 1000);\n })\n .catch((error) => {\n handleFieldOrApiErrors(error);\n setShowLoadingIndicator(false);\n });\n };\n return (\n
\n \n setCnamModel({\n ...cnamModel,\n accountType: parseInt(value)\n })\n }\n options={Object.keys(AccountTypes).map((x) => {\n return {\n key: AccountTypes[x as keyof typeof AccountType],\n value: AccountType[(x as unknown) as number]\n };\n })}\n />\n {cnamModel.accountType === AccountType.Business ? (\n setCnamModel({ ...cnamModel, businessName: value })}\n />\n ) : (\n <>\n setCnamModel({ ...cnamModel, firstName: value })}\n />\n setCnamModel({ ...cnamModel, lastName: value })}\n />\n \n )}\n \n \n \n \n {showLoadingIndicator && }\n \n \n
\n );\n}\n","import React, { useEffect, useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { CnamInfo } from \"services/apis/types/number/CnamInfo\";\nimport CnamModify from \"./CnamModify\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n phoneNumber: string;\n cnam: CnamInfo;\n modifyCallback: () => void;\n};\n\nexport default function CnamDetails(props: Props) {\n const intl = useIntl();\n const [isInputActive, setIsInputActive] = useState(false);\n const [cnamName, setCnamName] = useState();\n const [fraudScoreColorClassName, setFraudScoreColorClassName]= useState();\n\n useEffect(() => {\n if (props.cnam.name) {\n setCnamName(props.cnam.name);\n }\n }, [props.cnam.name]);\n\n useEffect(()=>\n {\n const lookup = [\n { className: \"success\", match: (score: number)=> score >= 1 && score <= 3},\n { className: \"warning\", match: (score: number) => score === 4},\n { className: \"danger\", match: (score: number)=> score === 5},\n ]\n \n setFraudScoreColorClassName(\"text-\" + lookup.find(rule=> rule.match(props.cnam.fraudScore))?.className);\n\n },[props.cnam.fraudScore]);\n\n const fraudText = `${props.cnam.fraudScoreDescription} (${props.cnam.fraudScore})`;\n const cnamText = isInputActive\n ? intl.formatMessage({ id: \"explore.cnamModal.title\" })\n : `${intl.formatMessage({ id: \"explore.cnamModal.title\" })}: ${cnamName}`;\n\n const modifyCallback = () => {\n setIsInputActive(false);\n props.modifyCallback();\n };\n\n return (\n <>\n
{fraudText}
\n
\n {cnamText}\n \n {isInputActive ? (\n setIsInputActive(false)}\n />\n ) : (\n setIsInputActive(true)}>\n )}\n \n
\n \n );\n}\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { Modal, Row, Col } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport HistoryReportTable from \"./HistoryReportTable\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { PhoneNumberType } from \"services/apis/types/number/PhoneNumberType\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { CnamInfo } from \"services/apis/types/number/CnamInfo\";\nimport CnamDetails from \"./CnamDetails\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\ntype Props = {\n showModal: boolean;\n setShowModal: (isOpen: boolean) => void;\n phoneNumber: string;\n phoneNumberType: keyof typeof PhoneNumberType;\n};\n\nexport default function NumberHistoryModal(props: Props) {\n const [cnam, setCnam] = useState();\n const { appContext } = React.useContext(AppContext);\n const [showCnam] = useState(authorize(PermissionType.CNAM));\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const intl = useIntl();\n const { appContext : context } = useContext(AppContext);\n const theme = context.theme;\n\n const isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\n useEffect(() => {\n if (props.phoneNumberType !== PhoneNumberType.TollFree && showCnam) {\n let isMounted = true;\n\n if (showCnam) {\n NumberApi.cnam(props.phoneNumber)\n .then((result) => {\n if (isMounted) {\n setCnam(result);\n }\n })\n .catch((error) => handleError(error));\n }\n\n return () => {\n isMounted = false;\n };\n }\n }, [props.phoneNumber, props.phoneNumberType, appContext, showCnam, intl, triggerRefresh]);\n\n return (\n props.setShowModal(!props.showModal)}>\n
\n \n \n
\n \n
\n \n \n

{props.phoneNumber}

\n {showCnam ? (\n <>\n {cnam && (\n setTriggerRefresh((p) => !p)}\n />\n )}\n \n ) : (\n \n \n \n \n \n )}\n \n
\n props.setShowModal(false)} />\n
\n {authorize(PermissionType.History) ? (\n \n ) : (\n
\n \n \n \n \n \n
\n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport NumberHistoryModal from \"../numberHistoryModal/NumberHistoryModal\";\nimport { PhoneNumberType } from \"services/apis/types/number/PhoneNumberType\";\n\ntype Props = {\n phoneNumber: string;\n phoneNumberType: keyof typeof PhoneNumberType;\n};\n\nexport default function PhoneNumberCell(props: Props) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <>\n {\n e.preventDefault();\n setShowModal(true);\n }}>\n {props.phoneNumber}\n \n {showModal && (\n setShowModal(x)}\n showModal={showModal}\n phoneNumber={props.phoneNumber}\n phoneNumberType={props.phoneNumberType}\n />\n )}\n \n );\n}\n","import React, { useContext } from \"react\";\nimport classNames from \"classnames\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n white?: boolean;\n small?: boolean;\n className?: string;\n};\n\nexport function LoadingIndicator(props: Props) { \n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n
\n \n
\n );\n}\n","export type DpcSsnInfo = {\n classDpc: string;\n classSsn: string;\n lidbDpc: string;\n lidbSsn: string;\n isvmDpc: string;\n isvmSsn: string;\n cnamDpc: string;\n cnamSsn: string;\n wsmscDpc: string;\n wsmscSsn: string;\n};\n\nexport const DefaultDpcSsnInfo: DpcSsnInfo = {\n classDpc: \"\",\n classSsn: \"\",\n lidbDpc: \"\",\n lidbSsn: \"\",\n isvmDpc: \"\",\n isvmSsn: \"\",\n cnamDpc: \"\",\n cnamSsn: \"\",\n wsmscDpc: \"\",\n wsmscSsn: \"\"\n};\n","export type OptionalDataInfo = {\n altSpId: string;\n lastAltSpId: string;\n altBillingId: string;\n altUserLocationType: string;\n altUserLocationValue: string;\n voiceUri: string;\n mmsUri: string;\n smsUri: string;\n};\n\nexport const DefaultOptionalDataInfo: OptionalDataInfo = {\n altSpId: \"\",\n lastAltSpId: \"\",\n altBillingId: \"\",\n altUserLocationType: \"\",\n altUserLocationValue: \"\",\n voiceUri: \"\",\n mmsUri: \"\",\n smsUri: \"\"\n};\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport const NpacRegion: Record = {\n MW: \"Midwest\",\n MA: \"Midatlantic\",\n NE: \"Northeast\",\n SE: \"Southeast\",\n SW: \"Southwest\",\n WE: \"Western\",\n WC: \"Westcoast\",\n CA: \"Canada\"\n};\n\nexport const npacRegionDropdownOptions: KeyValuePair[] = Object.keys(NpacRegion).map(x => {\n return { key: NpacRegion[x], value: x };\n});\n","import { DpcSsnInfo, DefaultDpcSsnInfo } from \"../block/DpcSsnInfo\";\nimport { OptionalDataInfo, DefaultOptionalDataInfo } from \"./OptionalDataInfo\";\nimport { NpacRegion } from \"./NpacRegion\";\n\nexport type NumberDetails = {\n phoneNumber: string;\n spId: string;\n originalSpId: string;\n providerName: string;\n type: string;\n status: string;\n ocn: string;\n npacRegion: keyof typeof NpacRegion;\n activationDate: string;\n lata: string;\n state: string;\n rateCenter: string;\n lrn: string;\n billingId: string;\n userLocationValue: string;\n userLocationType: string;\n networkData: DpcSsnInfo;\n optionalData: OptionalDataInfo;\n};\n\nexport const DefaultNumberDetails: NumberDetails = {\n phoneNumber: \"\",\n spId: \"\",\n originalSpId: \"\",\n providerName: \"\",\n type: \"\",\n status: \"\",\n ocn: \"\",\n npacRegion: NpacRegion.MW,\n activationDate: \"\",\n lata: \"\",\n state: \"\",\n rateCenter: \"\",\n lrn: \"\",\n billingId: \"\",\n userLocationType: \"\",\n userLocationValue: \"\",\n networkData: DefaultDpcSsnInfo,\n optionalData: DefaultOptionalDataInfo\n};\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { DpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { hasAnyValue } from \"services/util/ObjectUtil\";\n\ntype Props = {\n networkData: DpcSsnInfo;\n};\n\nexport default function NetworkDataTable(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n const data = hasAnyValue(props.networkData) ? [props.networkData] : [];\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.cnamDPC\" }),\n accessor: \"cnamDpc\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.cnamSSN\" }),\n accessor: \"cnamSsn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.classDPC\" }),\n accessor: \"classDpc\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.classSSN\" }),\n accessor: \"classSsn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.lidbDPC\" }),\n accessor: \"lidbDpc\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.lidbSSN\" }),\n accessor: \"lidbSsn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.isvmDPC\" }),\n accessor: \"isvmDpc\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.isvmSSN\" }),\n accessor: \"isvmSsn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.wsmscDPC\" }),\n accessor: \"wsmscDpc\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.networkData.table.wsmscSSN\" }),\n accessor: \"wsmscSsn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }\n];\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { OptionalDataInfo } from \"services/apis/types/number/OptionalDataInfo\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { hasAnyValue } from \"services/util/ObjectUtil\";\n\ntype Props = {\n optionalData: OptionalDataInfo;\n};\n\nexport default function OptionalDataTable(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n const data = hasAnyValue(props.optionalData) ? [props.optionalData] : [];\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.altSpid\" }),\n accessor: \"altSpId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.lastAltSpid\" }),\n accessor: \"lastAltSpId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.altBillingId\" }),\n accessor: \"altBillingId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.userLocationValue\" }),\n accessor: \"altUserLocationValue\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.userLocationType\" }),\n accessor: \"altUserLocationType\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.mmsUri\" }),\n accessor: \"mmsUri\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.smsUri\" }),\n accessor: \"smsUri\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.optionalData.table.voiceUri\" }),\n accessor: \"voiceUri\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }\n];\n","import React, { useEffect, useState } from \"react\";\nimport { Modal, Row, Col } from \"reactstrap\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { NumberDetails, DefaultNumberDetails } from \"services/apis/types/number/NumberDetails\";\nimport NetworkDataTable from \"./NetworkDataTable\";\nimport OptionalDataTable from \"./OptionalDataTable\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\n\ntype Props = {\n showModal: boolean;\n setShowModal: (isOpen: boolean) => void;\n phoneNumber: string;\n};\n\nexport default function NumberDetailsModal(props: Props) {\n const [numberDetails, setNumberDetails] = useState(DefaultNumberDetails);\n const { appContext } = React.useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => {\n let isMounted = true;\n\n NumberApi.details(props.phoneNumber)\n .then(result => {\n if (isMounted) {\n setNumberDetails(result);\n }\n })\n .catch(error => handleError(error));\n\n return () => {\n isMounted = false;\n };\n }, [props.phoneNumber, appContext]);\n\n return (\n props.setShowModal(!props.showModal)}>\n
\n \n \n
\n \n
\n \n \n

{props.phoneNumber}

\n \n
\n props.setShowModal(false)} />\n
\n
\n \n \n
\n \n );\n}\n","import React, { useState } from \"react\";\nimport NumberDetailsModal from \"./NumberDetailsModal\";\nimport { PhoneNumberType } from \"services/apis/types/number/PhoneNumberType\";\n\ntype Props = {\n phoneNumber: string;\n phoneNumberType: keyof typeof PhoneNumberType;\n};\n\nexport const NumberDetailsCell = (props: Props) => {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <>\n {\n e.preventDefault();\n setShowModal(props.phoneNumberType !== PhoneNumberType.TollFree);\n }}>
\n {showModal && (\n setShowModal(x)} showModal={showModal} phoneNumber={props.phoneNumber} />\n )}\n \n );\n};\n","import React, { useMemo, useEffect, useState, useContext } from \"react\";\nimport { NumberExplorerSearchResult } from \"services/apis/types/number/NumberExplorerSearchResult\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport PhoneNumberCell from \"./PhoneNumberCell\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport SpIdCell from \"../../common/SpIdCell\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { NumberDetailsCell } from \"../numberDetailsModal/NumberDetailsCell\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n telephoneNumber: string;\n};\n\nexport default function NumberTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [dataTableData, setDataTableData] = useState>();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl, theme), [intl, theme]);\n\n useEffect(() => {\n if (props.telephoneNumber) {\n let isMounted = true;\n setShowLoadingIndicator(true);\n\n NumberApi.search(props.telephoneNumber)\n .then((result) => {\n if (isMounted) {\n setDataTableData(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n\n return () => {\n isMounted = false;\n };\n }\n }, [props.telephoneNumber]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {dataTableData && (\n {\n return { ...x, activityDate: getFormattedUtcDate(x.activityDate) };\n })}\n columns={columns}\n showExport={true}\n />\n )}\n \n )}\n \n );\n}\n\nconst getColumns = (intl: IntlShape, theme: string) => [\n {\n Header: intl.formatMessage({ id: \"explore.table.telephoneNumber\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.spid\" }),\n accessor: \"spId\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.serviceProvider\" }),\n accessor: \"providerName\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.ocn\" }),\n accessor: \"ocn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.region\" }),\n accessor: \"npacRegion\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.lata\" }),\n accessor: \"lata\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.lataName\" }),\n accessor: \"lataName\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.state\" }),\n accessor: \"state\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.rateCenter\" }),\n accessor: \"rateCenter\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"explore.table.activityDate\" }),\n accessor: \"activityDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"explore.table.actions\" }),\n accessor: \"actions\",\n Cell: (cell: any) => (\n \n )\n }\n];\n","export enum ValidationResult {\n Valid,\n NoInput,\n InvalidNumber,\n InvalidRange\n}\n","import { isRange, removeDashes, isPhoneNumber, getPhoneNumberListItems } from \"services/util/StringUtil\";\nimport { ValidationResult } from \"./ValidationResult\";\n\nconst validateNumberInputValueListItem = (numberInputValue: string): ValidationResult => {\n if (numberInputValue.length === 15) {\n if (!isRange(numberInputValue)) {\n return ValidationResult.InvalidRange;\n }\n } else if (removeDashes(numberInputValue).length !== 10 || !isPhoneNumber(numberInputValue)) {\n return ValidationResult.InvalidNumber;\n }\n\n return ValidationResult.Valid;\n};\n\nexport const validateNumberInputValue = (numberInputValue: string): ValidationResult => {\n if (!numberInputValue) {\n return ValidationResult.NoInput;\n }\n\n const listItems = getPhoneNumberListItems(numberInputValue);\n\n if (listItems.length > 0) {\n for (const listItem of listItems) {\n if (!listItem) {\n continue;\n }\n\n const validationResult = validateNumberInputValueListItem(listItem);\n\n if (validationResult !== ValidationResult.Valid) {\n return validationResult;\n }\n }\n } else {\n return ValidationResult.NoInput;\n }\n\n return ValidationResult.Valid;\n};\n","import React, { useContext } from \"react\";\nimport { BreadcrumbItem, Breadcrumb, Container } from \"reactstrap\";\nimport { Link } from \"react-router-dom\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n children?: any;\n};\n\nexport default function BreadcrumbHeader(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n \n
\n
\n \n \n \n \n \n \n {props.children && !props.children.length && {props.children}}\n {props.children &&\n props.children.length &&\n props.children.map((x: any, i: number) => {x})}\n \n
\n
\n
\n );\n}\n","import {\n getPhoneNumberListItems,\n replaceWhitespaceWithComma,\n isRange,\n removeDashes,\n getPhoneNumberList\n} from \"services/util/StringUtil\";\n\nexport const getFormattedNumbers = (numbers: string): string =>\n getPhoneNumberListItems(replaceWhitespaceWithComma(numbers))\n .map((x) => (isRange(x) ? x : removeDashes(x)))\n .join(\",\");\n\nexport const numberIsInRange = (number: string, range: string) =>\n getPhoneNumberList(range).includes(number);\n","import { useEffect, useState } from \"react\";\nimport { replaceWhitespaceWithComma } from \"services/util/StringUtil\";\nimport { getFormattedNumbers } from \"services/portControl/PhoneNumberService\";\n\nexport const usePastedNumberFormatter = (\n inputValue: string,\n handlePaste: (formattedValue: string) => void\n) => {\n const [pastedValue, setPastedValue] = useState(\"\");\n useEffect(() => {\n if (\n pastedValue &&\n replaceWhitespaceWithComma(inputValue).indexOf(replaceWhitespaceWithComma(pastedValue)) > -1\n ) {\n handlePaste(getFormattedNumbers(inputValue));\n setPastedValue(\"\");\n }\n }, [handlePaste, inputValue, pastedValue]);\n\n const onPaste = (e: React.ClipboardEvent) =>\n setPastedValue(e.clipboardData.getData(\"text\"));\n\n return onPaste;\n};\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\nimport NumberTable from \"./numberTable/NumberTable\";\nimport {\n Container,\n Form,\n Input,\n Button,\n InputGroupAddon,\n InputGroupText,\n FormGroup,\n InputGroup,\n Row,\n Col\n} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport { validateNumberInputValue } from \"services/validators/ValidatePhoneNumbers\";\nimport { ValidationResult } from \"services/validators/ValidationResult\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { usePastedNumberFormatter } from \"services/customHooks/usePastedNumberFormatter\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\nexport default function NumberExplorer() {\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [searchValue, setSearchValue] = useState(\"\");\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const onPaste = usePastedNumberFormatter(searchInputValue, formattedValue =>\n handleSearchChange(formattedValue)\n );\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const validationResult = validateNumberInputValue(inputValue);\n setErrorMessageId(errorMessageIdResults[validationResult.toString()]);\n\n if (validationResult === ValidationResult.Valid) {\n setSearchValue(inputValue);\n }\n };\n\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n return (\n <>\n \n \n \n \n \n \n

\n \n \n

\n \n
\n \n \n
\n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n onPaste={onPaste}\n />\n \n \n \n {errorMessageId && (\n <>\n
\n \n
\n
\n \n
\n \n )}\n \n \n
\n
\n \n \n \n \n );\n}\n\nconst getDictionary = (): { [validationResult: string]: string } => {\n var errorMessageIdResults: { [validationResult: string]: string } = {};\n\n errorMessageIdResults[ValidationResult.Valid.toString()] = \"\";\n errorMessageIdResults[ValidationResult.NoInput.toString()] = \"explore.search.emptySearch\";\n errorMessageIdResults[ValidationResult.InvalidNumber.toString()] = \"explore.search.invalidNumber\";\n errorMessageIdResults[ValidationResult.InvalidRange.toString()] = \"explore.search.invalidRange\";\n\n return errorMessageIdResults;\n};\n\nconst errorMessageIdResults = getDictionary();\n","import React from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport TradingPartnerProfileCard from \"components/common/serviceProviderCard/TradingPartnerProfileCard\";\nimport useServiceProvider from \"services/customHooks/useServiceProvider\";\n\ntype Props = {\n spId: string;\n};\n\nexport default function ServiceProviderDetails(props: Props) {\n const { serviceProvider, isLoading, fetchServiceProvider } = useServiceProvider(props.spId);\n\n return (\n <>\n {isLoading ? (\n \n ) : (\n <>\n {serviceProvider && (\n \n \n \n \n \n )}\n \n )}\n \n );\n}\n","import { NpaNxxResult } from \"./types/npaNxx/NpaNxxResult\";\nimport { HttpClient } from \"../httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { CreateNpxNxxModel } from \"./types/npaNxx/CreateNpxNxxModel\";\n\nexport const NpaNxxApi = {\n get: (code: string): Promise => {\n return HttpClient.get(`npanxx/${code}`);\n },\n delete: (npanxx: string): Promise => {\n return HttpClient.delete(`npanxx/${npanxx}`, {});\n },\n create: (npaNxx: string, npaNxxModel: CreateNpxNxxModel): Promise => {\n return HttpClient.put(`npanxx/${npaNxx}`, npaNxxModel, true, true);\n }\n};\n","import React, { ReactNode } from \"react\";\n\nexport type Props = {\n name: string;\n children: ReactNode | string;\n};\n\nexport default function TextRow(props: Props) {\n return (\n \n {props.name}\n {props.children}\n \n );\n}\n","import React from \"react\";\nimport { Dropdown, DropdownToggle, DropdownMenu } from \"reactstrap\";\n\ntype Props = {\n actionsOpen: boolean;\n actionsToggle: () => void;\n children?: React.ReactNode;\n className?: string;\n};\n\nexport default function ActionDropdown(props: Props) {\n return (\n \n \n \n \n {props.children}\n \n );\n}\n","import React from \"react\";\nimport { DropdownItem } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n handleAction: () => void;\n iconClassName?: string;\n labelId: string;\n};\n\nexport default function ActionDropdownItem(props: Props) {\n return (\n \n \n \n \n \n \n );\n}\n","import React, { useContext } from \"react\";\nimport { Modal, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport CloseButton from \"./CloseButton\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n title: string;\n children: React.ReactNode;\n confirmButtonText?: string;\n showLoadingIndicator?: boolean;\n hideConfirmButton?: boolean;\n confirmCallback: () => void;\n closeModal: () => void;\n};\n\nexport default function ConfirmationModal(props: Props) {\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const confirmButtonText = props.confirmButtonText\n ? props.confirmButtonText\n : intl.formatMessage({ id: \"confirmationModal.confirmButton\" });\n\n return (\n \n
\n
\n {props.title}\n
\n \n
\n
{props.children}
\n
\n \n {!props.hideConfirmButton && (\n \n {props.showLoadingIndicator && }\n {confirmButtonText}\n \n )}\n
\n
\n );\n}\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { NpaNxxApi } from \"services/apis/NpaNxxApi\";\nimport { NetworkExplorerContext } from \"../NetworkExplorer\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n npaNxx: string;\n closeModal: () => void;\n};\n\nexport default function NpaNxxDeleteModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const networkExplorerContext = useContext(NetworkExplorerContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n NpaNxxApi.delete(props.npaNxx)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"network.npaNxx.delete.deleteNotification\" }));\n if (isMounted.current) {\n networkExplorerContext.clearSearch();\n }\n })\n .catch(error => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n \n );\n}\n","import React, { useState } from \"react\";\nimport { Card, CardHeader, CardBody, Row } from \"reactstrap\";\nimport TextRow from \"components/networkExplorer/common/TextRow\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { NpaNxxResult } from \"services/apis/types/npaNxx/NpaNxxResult\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport ActionDropdown from \"../common/ActionDropdown\";\nimport ActionDropdownItem from \"../common/ActionDropdownItem\";\nimport NpaNxxDeleteModal from \"./NpaNxxDeleteModal\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n npaNxx: NpaNxxResult;\n};\n\nexport default function NpaNxxCard(props: Props) {\n const intl = useIntl();\n const [actionsOpen, setActionsOpen] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const actionsToggle = () => setActionsOpen((prevState) => !prevState);\n\n const onDelete = () => {\n setShowDeleteModal(true);\n };\n\n return (\n <>\n
\n \n \n \n

\n \n

\n \n \n \n \n \n
\n
\n \n \n \n \n <>{props.npaNxx.npaNxx}\n \n \n \n \n \n <>{props.npaNxx.spId}\n \n \n <>{props.npaNxx.ocn}\n \n \n <>{props.npaNxx.state}\n \n \n <>{props.npaNxx.rateCenter}\n \n \n <>{props.npaNxx.lata}\n \n \n
\n
\n
\n
\n {showDeleteModal && (\n setShowDeleteModal(false)}\n npaNxx={props.npaNxx.npaNxx}\n />\n )}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { BlockResult } from \"services/apis/types/block/BlockResult\";\nimport FormatDate from \"components/framework/date/FormateDate\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n blocks: BlockResult[];\n};\n\nexport default function BlocksCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.block\" }),\n accessor: \"blockDash\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.spId\" }),\n accessor: \"spId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.altSpId\" }),\n accessor: \"altSpId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.lastAltSpId\" }),\n accessor: \"lastAltSpId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.ocn\" }),\n accessor: \"ocn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.effectiveDate\" }),\n accessor: \"effectiveDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.npaNxx.table.contaminated\" }),\n accessor: \"contaminated\"\n }\n];\n\nconst filterMapper = (block: BlockResult) => {\n return {\n ...block,\n effectiveDate: getFormattedUtcDate(block.effectiveDate)\n };\n};\n","import React, { useState, useEffect } from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport { NpaNxxApi } from \"services/apis/NpaNxxApi\";\nimport { NpaNxxResult } from \"services/apis/types/npaNxx/NpaNxxResult\";\nimport NpaNxxCard from \"./NpaNxxCard\";\nimport BlocksCard from \"./BlocksCard\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { handleError } from \"services/util/ApiUtil\";\n\ntype Props = {\n code: string;\n};\n\nexport default function NpaNxxDetails(props: Props) {\n const [npaNxx, setNpaNxx] = useState(undefined);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n useEffect(() => {\n let isMounted = true;\n setShowLoadingIndicator(true);\n setNpaNxx(undefined);\n\n NpaNxxApi.get(props.code)\n .then((result) => {\n if (isMounted) {\n setNpaNxx(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n\n return () => {\n isMounted = false;\n };\n }, [props.code]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {npaNxx && (\n \n \n \n \n \n \n \n \n )}\n \n )}\n \n );\n}\n","import { Block } from \"./types/block/Block\";\nimport { BlockResult } from \"./types/block/BlockResult\";\nimport { ContaminatedNumber } from \"./types/block/ContaminatedNumber\";\nimport { HttpClient } from \"../httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\n\nexport const BlockApi = {\n get: (blockDash: string): Promise => {\n return HttpClient.get(`block/${blockDash}`);\n },\n\n getNumbers: (blockDash: string): Promise => {\n return HttpClient.get(`block/${blockDash}/numbers`);\n },\n\n addOrModify: (block: Block): Promise => {\n return HttpClient.put(`block/${block.blockDash}`, { ...block }, true, true);\n }\n};\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { ContaminatedNumber } from \"services/apis/types/block/ContaminatedNumber\";\nimport FormatDate from \"components/framework/date/FormateDate\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n numbers: ContaminatedNumber[];\n};\n\nexport default function NumbersCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"network.block.table.telephoneNumber\" }),\n accessor: \"phoneNumber\"\n },\n {\n Header: intl.formatMessage({ id: \"network.block.table.provider\" }),\n accessor: \"providerName\"\n },\n {\n Header: intl.formatMessage({ id: \"network.block.table.spId\" }),\n accessor: \"spId\"\n },\n {\n Header: intl.formatMessage({ id: \"network.block.table.status\" }),\n accessor: \"status\"\n },\n {\n Header: intl.formatMessage({ id: \"network.block.table.lastEventDate\" }),\n accessor: \"lastActivtyDate\",\n Cell: (cell: any) => FormatDate({ utcDate: cell.cell.value })\n }\n];\n\nconst filterMapper = (number: ContaminatedNumber) => {\n return {\n ...number,\n lastActivtyDate: getFormattedUtcDate(number.lastActivtyDate)\n };\n};\n","import { DpcSsnInfo } from \"./DpcSsnInfo\";\nimport { OptionalDataInfo } from \"../number/OptionalDataInfo\";\nimport { SvType } from \"./SvType\";\n\nexport type Block = {\n blockDash: string;\n lrn: string;\n svType: keyof typeof SvType;\n networkData?: DpcSsnInfo;\n optionalData?: OptionalDataInfo;\n};\n\nexport const DefaultBlock: Block = {\n blockDash: \"\",\n lrn: \"\",\n svType: SvType.Wireline\n};\n","export const FreeEmaildDomains = {\n domains: [\n \"0-mail.com\",\n \"027168.com\",\n \"0815.su\",\n \"0sg.net\",\n \"10mail.org\",\n \"10minutemail.co.za\",\n \"11mail.com\",\n \"123.com\",\n \"123box.net\",\n \"123india.com\",\n \"123mail.cl\",\n \"123mail.org\",\n \"123qwe.co.uk\",\n \"126.com\",\n \"139.com\",\n \"150mail.com\",\n \"150ml.com\",\n \"15meg4free.com\",\n \"163.com\",\n \"16mail.com\",\n \"188.com\",\n \"189.cn\",\n \"1ce.us\",\n \"1chuan.com\",\n \"1coolplace.com\",\n \"1freeemail.com\",\n \"1funplace.com\",\n \"1internetdrive.com\",\n \"1mail.ml\",\n \"1mail.net\",\n \"1me.net\",\n \"1mum.com\",\n \"1musicrow.com\",\n \"1netdrive.com\",\n \"1nsyncfan.com\",\n \"1pad.de\",\n \"1under.com\",\n \"1webave.com\",\n \"1webhighway.com\",\n \"1zhuan.com\",\n \"2-mail.com\",\n \"20email.eu\",\n \"20mail.in\",\n \"20mail.it\",\n \"212.com\",\n \"21cn.com\",\n \"24horas.com\",\n \"2911.net\",\n \"2980.com\",\n \"2bmail.co.uk\",\n \"2d2i.com\",\n \"2die4.com\",\n \"2trom.com\",\n \"3000.it\",\n \"30minutesmail.com\",\n \"3126.com\",\n \"321media.com\",\n \"33mail.com\",\n \"37.com\",\n \"3ammagazine.com\",\n \"3dmail.com\",\n \"3email.com\",\n \"3g.ua\",\n \"3mail.ga\",\n \"3xl.net\",\n \"444.net\",\n \"4email.com\",\n \"4email.net\",\n \"4mg.com\",\n \"4newyork.com\",\n \"4warding.net\",\n \"4warding.org\",\n \"4x4man.com\",\n \"50mail.com\",\n \"60minutemail.com\",\n \"6ip.us\",\n \"6mail.cf\",\n \"6paq.com\",\n \"74.ru\",\n \"7mail.ga\",\n \"7mail.ml\",\n \"88.am\",\n \"8848.net\",\n \"8mail.ga\",\n \"8mail.ml\",\n \"97rock.com\",\n \"99experts.com\",\n \"a45.in\",\n \"aaamail.zzn.com\",\n \"aamail.net\",\n \"aapt.net.au\",\n \"aaronkwok.net\",\n \"abbeyroadlondon.co.uk\",\n \"abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijk.com\",\n \"abcflash.net\",\n \"abdulnour.com\",\n \"aberystwyth.com\",\n \"about.com\",\n \"abusemail.de\",\n \"abwesend.de\",\n \"abyssmail.com\",\n \"ac20mail.in\",\n \"academycougars.com\",\n \"acceso.or.cr\",\n \"access4less.net\",\n \"accessgcc.com\",\n \"accountant.com\",\n \"acdcfan.com\",\n \"ace-of-base.com\",\n \"acmemail.net\",\n \"acninc.net\",\n \"activist.com\",\n \"adam.com.au\",\n \"add3000.pp.ua\",\n \"addcom.de\",\n \"address.com\",\n \"adelphia.net\",\n \"adexec.com\",\n \"adfarrow.com\",\n \"adios.net\",\n \"adoption.com\",\n \"ados.fr\",\n \"adrenalinefreak.com\",\n \"advalvas.be\",\n \"advantimo.com\",\n \"aeiou.pt\",\n \"aemail4u.com\",\n \"aeneasmail.com\",\n \"afreeinternet.com\",\n \"africamail.com\",\n \"africamel.net\",\n \"ag.us.to\",\n \"agoodmail.com\",\n \"ahaa.dk\",\n \"ahk.jp\",\n \"aichi.com\",\n \"aim.com\",\n \"aircraftmail.com\",\n \"airforce.net\",\n \"airforceemail.com\",\n \"airpost.net\",\n \"ajacied.com\",\n \"ajaxapp.net\",\n \"ak47.hu\",\n \"aknet.kg\",\n \"albawaba.com\",\n \"alex4all.com\",\n \"alexandria.cc\",\n \"algeria.com\",\n \"alhilal.net\",\n \"alibaba.com\",\n \"alice.it\",\n \"alive.cz\",\n \"aliyun.com\",\n \"allergist.com\",\n \"allmail.net\",\n \"alloymail.com\",\n \"allracing.com\",\n \"allsaintsfan.com\",\n \"alpenjodel.de\",\n \"alphafrau.de\",\n \"alskens.dk\",\n \"altavista.com\",\n \"altavista.net\",\n \"altavista.se\",\n \"alternativagratis.com\",\n \"alumni.com\",\n \"alumnidirector.com\",\n \"alvilag.hu\",\n \"amail.com\",\n \"amazonses.com\",\n \"amele.com\",\n \"america.hm\",\n \"ameritech.net\",\n \"amnetsal.com\",\n \"amorki.pl\",\n \"amrer.net\",\n \"amuro.net\",\n \"amuromail.com\",\n \"ananzi.co.za\",\n \"andylau.net\",\n \"anfmail.com\",\n \"angelfire.com\",\n \"angelic.com\",\n \"animail.net\",\n \"animalhouse.com\",\n \"animalwoman.net\",\n \"anjungcafe.com\",\n \"annsmail.com\",\n \"ano-mail.net\",\n \"anonmails.de\",\n \"anonymous.to\",\n \"anote.com\",\n \"another.com\",\n \"anotherdomaincyka.tk\",\n \"anotherwin95.com\",\n \"anti-social.com\",\n \"antisocial.com\",\n \"antispam24.de\",\n \"antongijsen.com\",\n \"antwerpen.com\",\n \"anymoment.com\",\n \"anytimenow.com\",\n \"aol.com\",\n \"aon.at\",\n \"apexmail.com\",\n \"apmail.com\",\n \"apollo.lv\",\n \"aport.ru\",\n \"aport2000.ru\",\n \"appraiser.net\",\n \"approvers.net\",\n \"arabia.com\",\n \"arabtop.net\",\n \"archaeologist.com\",\n \"arcor.de\",\n \"arcotronics.bg\",\n \"arcticmail.com\",\n \"argentina.com\",\n \"aristotle.org\",\n \"army.net\",\n \"armyspy.com\",\n \"arnet.com.ar\",\n \"art-en-ligne.pro\",\n \"artlover.com\",\n \"artlover.com.au\",\n \"as-if.com\",\n \"asdasd.nl\",\n \"asean-mail.com\",\n \"asheville.com\",\n \"asia-links.com\",\n \"asia-mail.com\",\n \"asiafind.com\",\n \"asianavenue.com\",\n \"asiancityweb.com\",\n \"asiansonly.net\",\n \"asianwired.net\",\n \"asiapoint.net\",\n \"ass.pp.ua\",\n \"assala.com\",\n \"assamesemail.com\",\n \"astroboymail.com\",\n \"astrolover.com\",\n \"astrosfan.com\",\n \"astrosfan.net\",\n \"asurfer.com\",\n \"atheist.com\",\n \"athenachu.net\",\n \"atina.cl\",\n \"atl.lv\",\n \"atlaswebmail.com\",\n \"atmc.net\",\n \"atozasia.com\",\n \"atrus.ru\",\n \"att.net\",\n \"attglobal.net\",\n \"attymail.com\",\n \"au.ru\",\n \"auctioneer.net\",\n \"ausi.com\",\n \"aussiemail.com.au\",\n \"austin.rr.com\",\n \"australia.edu\",\n \"australiamail.com\",\n \"austrosearch.net\",\n \"autoescuelanerja.com\",\n \"autograf.pl\",\n \"autorambler.ru\",\n \"aver.com\",\n \"avh.hu\",\n \"avia-tonic.fr\",\n \"awsom.net\",\n \"axoskate.com\",\n \"ayna.com\",\n \"azazazatashkent.tk\",\n \"azimiweb.com\",\n \"azmeil.tk\",\n \"bachelorboy.com\",\n \"bachelorgal.com\",\n \"backpackers.com\",\n \"backstreet-boys.com\",\n \"backstreetboysclub.com\",\n \"bagherpour.com\",\n \"baldmama.de\",\n \"baldpapa.de\",\n \"ballyfinance.com\",\n \"bangkok.com\",\n \"bangkok2000.com\",\n \"bannertown.net\",\n \"baptistmail.com\",\n \"baptized.com\",\n \"barcelona.com\",\n \"bareed.ws\",\n \"bartender.net\",\n \"baseballmail.com\",\n \"basketballmail.com\",\n \"batuta.net\",\n \"baudoinconsulting.com\",\n \"bboy.zzn.com\",\n \"bcvibes.com\",\n \"beddly.com\",\n \"beeebank.com\",\n \"beenhad.com\",\n \"beep.ru\",\n \"beer.com\",\n \"beethoven.com\",\n \"belice.com\",\n \"belizehome.com\",\n \"bell.net\",\n \"bellair.net\",\n \"bellsouth.net\",\n \"berlin.com\",\n \"berlin.de\",\n \"berlinexpo.de\",\n \"bestmail.us\",\n \"betriebsdirektor.de\",\n \"bettergolf.net\",\n \"bharatmail.com\",\n \"big1.us\",\n \"bigassweb.com\",\n \"bigblue.net.au\",\n \"bigboab.com\",\n \"bigfoot.com\",\n \"bigfoot.de\",\n \"bigger.com\",\n \"biggerbadder.com\",\n \"bigmailbox.com\",\n \"bigmir.net\",\n \"bigpond.au\",\n \"bigpond.com\",\n \"bigpond.com.au\",\n \"bigpond.net\",\n \"bigpond.net.au\",\n \"bigramp.com\",\n \"bigstring.com\",\n \"bikemechanics.com\",\n \"bikeracer.com\",\n \"bikeracers.net\",\n \"bikerider.com\",\n \"billsfan.com\",\n \"billsfan.net\",\n \"bimla.net\",\n \"bin-wieder-da.de\",\n \"bio-muesli.info\",\n \"birdlover.com\",\n \"birdowner.net\",\n \"bisons.com\",\n \"bitmail.com\",\n \"bitpage.net\",\n \"bizhosting.com\",\n \"bk.ru\",\n \"blackburnmail.com\",\n \"blackplanet.com\",\n \"blader.com\",\n \"bladesmail.net\",\n \"blazemail.com\",\n \"bleib-bei-mir.de\",\n \"blockfilter.com\",\n \"blogmyway.org\",\n \"bluebottle.com\",\n \"bluehyppo.com\",\n \"bluemail.ch\",\n \"bluemail.dk\",\n \"bluesfan.com\",\n \"bluewin.ch\",\n \"blueyonder.co.uk\",\n \"blushmail.com\",\n \"blutig.me\",\n \"bmlsports.net\",\n \"boardermail.com\",\n \"boatracers.com\",\n \"bodhi.lawlita.com\",\n \"bol.com.br\",\n \"bolando.com\",\n \"bollywoodz.com\",\n \"boltonfans.com\",\n \"bombdiggity.com\",\n \"bonbon.net\",\n \"boom.com\",\n \"bootmail.com\",\n \"bootybay.de\",\n \"bornnaked.com\",\n \"bostonoffice.com\",\n \"boun.cr\",\n \"bounce.net\",\n \"bounces.amazon.com\",\n \"bouncr.com\",\n \"box.az\",\n \"box.ua\",\n \"boxbg.com\",\n \"boxemail.com\",\n \"boxformail.in\",\n \"boxfrog.com\",\n \"boximail.com\",\n \"boyzoneclub.com\",\n \"bradfordfans.com\",\n \"brasilia.net\",\n \"brazilmail.com\",\n \"brazilmail.com.br\",\n \"breadtimes.press\",\n \"breathe.com\",\n \"brennendesreich.de\",\n \"bresnan.net\",\n \"brew-master.com\",\n \"brew-meister.com\",\n \"brfree.com.br\",\n \"briefemail.com\",\n \"bright.net\",\n \"britneyclub.com\",\n \"brittonsign.com\",\n \"broadcast.net\",\n \"brokenvalve.com\",\n \"brusseler.com\",\n \"bsdmail.com\",\n \"btcmail.pw\",\n \"btconnect.co.uk\",\n \"btconnect.com\",\n \"btinternet.com\",\n \"btopenworld.co.uk\",\n \"buerotiger.de\",\n \"buffymail.com\",\n \"bullsfan.com\",\n \"bullsgame.com\",\n \"bumerang.ro\",\n \"bumpymail.com\",\n \"bund.us\",\n \"burnthespam.info\",\n \"burstmail.info\",\n \"buryfans.com\",\n \"business-man.com\",\n \"businessman.net\",\n \"busta-rhymes.com\",\n \"buyersusa.com\",\n \"bvimailbox.com\",\n \"byom.de\",\n \"c2.hu\",\n \"c2i.net\",\n \"c3.hu\",\n \"c4.com\",\n \"c51vsgq.com\",\n \"cabacabana.com\",\n \"cable.comcast.com\",\n \"cableone.net\",\n \"caere.it\",\n \"cairomail.com\",\n \"calendar-server.bounces.google.com\",\n \"calidifontain.be\",\n \"californiamail.com\",\n \"callnetuk.com\",\n \"callsign.net\",\n \"caltanet.it\",\n \"camidge.com\",\n \"canada-11.com\",\n \"canada.com\",\n \"canadianmail.com\",\n \"canoemail.com\",\n \"canwetalk.com\",\n \"caramail.com\",\n \"care2.com\",\n \"careerbuildermail.com\",\n \"carioca.net\",\n \"cartelera.org\",\n \"cartestraina.ro\",\n \"casablancaresort.com\",\n \"casema.nl\",\n \"cash4u.com\",\n \"cashette.com\",\n \"casino.com\",\n \"catcha.com\",\n \"catchamail.com\",\n \"catholic.org\",\n \"catlover.com\",\n \"cd2.com\",\n \"celineclub.com\",\n \"celtic.com\",\n \"center-mail.de\",\n \"centermail.at\",\n \"centermail.de\",\n \"centermail.info\",\n \"centoper.it\",\n \"centralpets.com\",\n \"centrum.cz\",\n \"centrum.sk\",\n \"centurytel.net\",\n \"certifiedmail.com\",\n \"cfl.rr.com\",\n \"cgac.es\",\n \"cghost.s-a-d.de\",\n \"chacuo.net\",\n \"chaiyomail.com\",\n \"chammy.info\",\n \"chance2mail.com\",\n \"chandrasekar.net\",\n \"charmedmail.com\",\n \"charter.net\",\n \"chat.ru\",\n \"chattown.com\",\n \"chauhanweb.com\",\n \"cheatmail.de\",\n \"chechnya.conf.work\",\n \"check.com\",\n \"check1check.com\",\n \"cheerful.com\",\n \"chef.net\",\n \"chek.com\",\n \"chello.nl\",\n \"chemist.com\",\n \"chequemail.com\",\n \"cheyenneweb.com\",\n \"chez.com\",\n \"chickmail.com\",\n \"china.com\",\n \"china.net.vg\",\n \"chinamail.com\",\n \"chirk.com\",\n \"chocaholic.com.au\",\n \"chong-mail.com\",\n \"chong-mail.net\",\n \"churchusa.com\",\n \"cia-agent.com\",\n \"cia.hu\",\n \"ciaoweb.it\",\n \"cicciociccio.com\",\n \"cincinow.net\",\n \"cinci.rr.com\",\n \"citiz.net\",\n \"citlink.net\",\n \"citromail.hu\",\n \"city-of-bath.org\",\n \"city-of-birmingham.com\",\n \"city-of-brighton.org\",\n \"city-of-cambridge.com\",\n \"city-of-coventry.com\",\n \"city-of-edinburgh.com\",\n \"city-of-lichfield.com\",\n \"city-of-lincoln.com\",\n \"city-of-liverpool.com\",\n \"city-of-manchester.com\",\n \"city-of-nottingham.com\",\n \"city-of-oxford.com\",\n \"city-of-swansea.com\",\n \"city-of-westminster.com\",\n \"city-of-westminster.net\",\n \"city-of-york.net\",\n \"cityofcardiff.net\",\n \"cityoflondon.org\",\n \"ckaazaza.tk\",\n \"claramail.com\",\n \"classicalfan.com\",\n \"classicmail.co.za\",\n \"clear.net.nz\",\n \"clearwire.net\",\n \"clerk.com\",\n \"cliffhanger.com\",\n \"clixser.com\",\n \"close2you.net\",\n \"clrmail.com\",\n \"club4x4.net\",\n \"clubalfa.com\",\n \"clubbers.net\",\n \"clubducati.com\",\n \"clubhonda.net\",\n \"clubmember.org\",\n \"clubnetnoir.com\",\n \"clubvdo.net\",\n \"cluemail.com\",\n \"cmail.net\",\n \"cmpmail.com\",\n \"cnnsimail.com\",\n \"cntv.cn\",\n \"codec.ro\",\n \"coder.hu\",\n \"coid.biz\",\n \"coldmail.com\",\n \"collectiblesuperstore.com\",\n \"collector.org\",\n \"collegeclub.com\",\n \"collegemail.com\",\n \"colleges.com\",\n \"columbus.rr.com\",\n \"columbusrr.com\",\n \"columnist.com\",\n \"comcast.net\",\n \"comic.com\",\n \"communityconnect.com\",\n \"comporium.net\",\n \"comprendemail.com\",\n \"compuserve.com\",\n \"computer-freak.com\",\n \"computer4u.com\",\n \"computermail.net\",\n \"conexcol.com\",\n \"conk.com\",\n \"connect4free.net\",\n \"connectbox.com\",\n \"consultant.com\",\n \"consumerriot.com\",\n \"contractor.net\",\n \"contrasto.cu.cc\",\n \"cookiemonster.com\",\n \"cool.br\",\n \"coole-files.de\",\n \"coolgoose.ca\",\n \"coolgoose.com\",\n \"coolkiwi.com\",\n \"coollist.com\",\n \"coolmail.com\",\n \"coolmail.net\",\n \"coolsend.com\",\n \"coolsite.net\",\n \"cooooool.com\",\n \"cooperation.net\",\n \"cooperationtogo.net\",\n \"copacabana.com\",\n \"copper.net\",\n \"cornells.com\",\n \"cornerpub.com\",\n \"corporatedirtbag.com\",\n \"correo.terra.com.gt\",\n \"cortinet.com\",\n \"cotas.net\",\n \"counsellor.com\",\n \"countrylover.com\",\n \"cox.com\",\n \"cox.net\",\n \"coxinet.net\",\n \"cracker.hu\",\n \"crapmail.org\",\n \"crazedanddazed.com\",\n \"crazymailing.com\",\n \"crazysexycool.com\",\n \"cristianemail.com\",\n \"critterpost.com\",\n \"croeso.com\",\n \"crosshairs.com\",\n \"crosswinds.net\",\n \"crwmail.com\",\n \"cry4helponline.com\",\n \"cs.com\",\n \"csinibaba.hu\",\n \"cuemail.com\",\n \"curio-city.com\",\n \"curryworld.de\",\n \"cute-girl.com\",\n \"cuteandcuddly.com\",\n \"cutey.com\",\n \"cww.de\",\n \"cyber-africa.net\",\n \"cyber-innovation.club\",\n \"cyber-matrix.com\",\n \"cyber-phone.eu\",\n \"cyber-wizard.com\",\n \"cyber4all.com\",\n \"cyberbabies.com\",\n \"cybercafemaui.com\",\n \"cyberdude.com\",\n \"cyberforeplay.net\",\n \"cybergal.com\",\n \"cybergrrl.com\",\n \"cyberinbox.com\",\n \"cyberleports.com\",\n \"cybermail.net\",\n \"cybernet.it\",\n \"cyberservices.com\",\n \"cyberspace-asia.com\",\n \"cybertrains.org\",\n \"cyclefanz.com\",\n \"cynetcity.com\",\n \"dabsol.net\",\n \"dadacasa.com\",\n \"daha.com\",\n \"dailypioneer.com\",\n \"dallasmail.com\",\n \"dangerous-minds.com\",\n \"dansegulvet.com\",\n \"dasdasdascyka.tk\",\n \"data54.com\",\n \"davegracey.com\",\n \"dawnsonmail.com\",\n \"dawsonmail.com\",\n \"dazedandconfused.com\",\n \"dbzmail.com\",\n \"dcemail.com\",\n \"deadlymob.org\",\n \"deagot.com\",\n \"deal-maker.com\",\n \"dearriba.com\",\n \"death-star.com\",\n \"deliveryman.com\",\n \"deneg.net\",\n \"depechemode.com\",\n \"deseretmail.com\",\n \"desertmail.com\",\n \"desilota.com\",\n \"deskpilot.com\",\n \"destin.com\",\n \"detik.com\",\n \"deutschland-net.com\",\n \"devotedcouples.com\",\n \"dezigner.ru\",\n \"dfwatson.com\",\n \"di-ve.com\",\n \"die-besten-bilder.de\",\n \"die-genossen.de\",\n \"die-optimisten.de\",\n \"die-optimisten.net\",\n \"diemailbox.de\",\n \"digibel.be\",\n \"digital-filestore.de\",\n \"diplomats.com\",\n \"directbox.com\",\n \"dirtracer.com\",\n \"discard.email\",\n \"discard.ga\",\n \"discard.gq\",\n \"disciples.com\",\n \"discofan.com\",\n \"discoverymail.com\",\n \"disign-concept.eu\",\n \"disign-revelation.com\",\n \"disinfo.net\",\n \"dispomail.eu\",\n \"disposable.com\",\n \"dispose.it\",\n \"dm.w3internet.co.uk\",\n \"dmailman.com\",\n \"dnainternet.net\",\n \"dnsmadeeasy.com\",\n \"doclist.bounces.google.com\",\n \"docmail.cz\",\n \"docs.google.com\",\n \"doctor.com\",\n \"dodgit.org\",\n \"dodo.com.au\",\n \"dodsi.com\",\n \"dog.com\",\n \"dogit.com\",\n \"doglover.com\",\n \"dogmail.co.uk\",\n \"dogsnob.net\",\n \"doityourself.com\",\n \"domforfb1.tk\",\n \"domforfb2.tk\",\n \"domforfb3.tk\",\n \"domforfb4.tk\",\n \"domforfb5.tk\",\n \"domforfb6.tk\",\n \"domforfb7.tk\",\n \"domforfb8.tk\",\n \"domozmail.com\",\n \"doneasy.com\",\n \"donjuan.com\",\n \"dontgotmail.com\",\n \"dontmesswithtexas.com\",\n \"doramail.com\",\n \"dostmail.com\",\n \"dotcom.fr\",\n \"dotmsg.com\",\n \"dott.it\",\n \"download-privat.de\",\n \"dplanet.ch\",\n \"dr.com\",\n \"dragoncon.net\",\n \"dropmail.me\",\n \"dropzone.com\",\n \"drotposta.hu\",\n \"dubaimail.com\",\n \"dublin.com\",\n \"dublin.ie\",\n \"dumpmail.com\",\n \"dumpmail.de\",\n \"dumpyemail.com\",\n \"dunlopdriver.com\",\n \"dunloprider.com\",\n \"duno.com\",\n \"duskmail.com\",\n \"dutchmail.com\",\n \"dwp.net\",\n \"dygo.com\",\n \"dynamitemail.com\",\n \"dyndns.org\",\n \"e-apollo.lv\",\n \"e-mail.com.tr\",\n \"e-mail.dk\",\n \"e-mail.ru\",\n \"e-mail.ua\",\n \"e-mailanywhere.com\",\n \"e-mails.ru\",\n \"e-tapaal.com\",\n \"earthalliance.com\",\n \"earthcam.net\",\n \"earthdome.com\",\n \"earthling.net\",\n \"earthlink.net\",\n \"earthonline.net\",\n \"eastcoast.co.za\",\n \"eastmail.com\",\n \"easy.to\",\n \"easypost.com\",\n \"easytrashmail.com\",\n \"ec.rr.com\",\n \"ecardmail.com\",\n \"ecbsolutions.net\",\n \"echina.com\",\n \"ecolo-online.fr\",\n \"ecompare.com\",\n \"edmail.com\",\n \"ednatx.com\",\n \"edtnmail.com\",\n \"educacao.te.pt\",\n \"eelmail.com\",\n \"ehmail.com\",\n \"einrot.com\",\n \"einrot.de\",\n \"eintagsmail.de\",\n \"eircom.net\",\n \"elisanet.fi\",\n \"elitemail.org\",\n \"elsitio.com\",\n \"elvis.com\",\n \"elvisfan.com\",\n \"email-fake.gq\",\n \"email-london.co.uk\",\n \"email.biz\",\n \"email.cbes.net\",\n \"email.com\",\n \"email.cz\",\n \"email.ee\",\n \"email.it\",\n \"email.nu\",\n \"email.org\",\n \"email.ro\",\n \"email.ru\",\n \"email.si\",\n \"email.su\",\n \"email.ua\",\n \"email2me.net\",\n \"email4u.info\",\n \"emailacc.com\",\n \"emailaccount.com\",\n \"emailage.ga\",\n \"emailage.gq\",\n \"emailasso.net\",\n \"emailchoice.com\",\n \"emailcorner.net\",\n \"emailem.com\",\n \"emailengine.net\",\n \"emailengine.org\",\n \"emailer.hubspot.com\",\n \"emailforyou.net\",\n \"emailgo.de\",\n \"emailgroups.net\",\n \"emailinfive.com\",\n \"emailit.com\",\n \"emailpinoy.com\",\n \"emailplanet.com\",\n \"emailplus.org\",\n \"emailproxsy.com\",\n \"emails.ga\",\n \"emails.incisivemedia.com\",\n \"emails.ru\",\n \"emailthe.net\",\n \"emailto.de\",\n \"emailuser.net\",\n \"emailx.net\",\n \"emailz.ga\",\n \"emailz.gq\",\n \"ematic.com\",\n \"embarqmail.com\",\n \"emeil.in\",\n \"emeil.ir\",\n \"emil.com\",\n \"eml.cc\",\n \"eml.pp.ua\",\n \"end-war.com\",\n \"enel.net\",\n \"engineer.com\",\n \"england.com\",\n \"england.edu\",\n \"englandmail.com\",\n \"epage.ru\",\n \"epatra.com\",\n \"ephemail.net\",\n \"epix.net\",\n \"epost.de\",\n \"eposta.hu\",\n \"eqqu.com\",\n \"eramail.co.za\",\n \"eresmas.com\",\n \"eriga.lv\",\n \"estranet.it\",\n \"ethos.st\",\n \"etoast.com\",\n \"etrademail.com\",\n \"etranquil.com\",\n \"etranquil.net\",\n \"eudoramail.com\",\n \"europamel.net\",\n \"europe.com\",\n \"europemail.com\",\n \"euroseek.com\",\n \"eurosport.com\",\n \"every1.net\",\n \"everyday.com.kh\",\n \"everymail.net\",\n \"everyone.net\",\n \"everytg.ml\",\n \"examnotes.net\",\n \"excite.co.jp\",\n \"excite.com\",\n \"excite.it\",\n \"execs.com\",\n \"exemail.com.au\",\n \"exg6.exghost.com\",\n \"existiert.net\",\n \"expressasia.com\",\n \"extenda.net\",\n \"extended.com\",\n \"eyepaste.com\",\n \"eyou.com\",\n \"ezcybersearch.com\",\n \"ezmail.egine.com\",\n \"ezmail.ru\",\n \"ezrs.com\",\n \"f-m.fm\",\n \"f1fans.net\",\n \"facebook-email.ga\",\n \"facebook.com\",\n \"facebookmail.com\",\n \"facebookmail.gq\",\n \"fahr-zur-hoelle.org\",\n \"fake-email.pp.ua\",\n \"fake-mail.cf\",\n \"fake-mail.ga\",\n \"fake-mail.ml\",\n \"fakemailz.com\",\n \"falseaddress.com\",\n \"fan.com\",\n \"fansonlymail.com\",\n \"fansworldwide.de\",\n \"fantasticmail.com\",\n \"farang.net\",\n \"farifluset.mailexpire.com\",\n \"faroweb.com\",\n \"fast-email.com\",\n \"fast-mail.fr\",\n \"fast-mail.org\",\n \"fastacura.com\",\n \"fastchevy.com\",\n \"fastchrysler.com\",\n \"fastem.com\",\n \"fastemail.us\",\n \"fastemailer.com\",\n \"fastermail.com\",\n \"fastest.cc\",\n \"fastimap.com\",\n \"fastkawasaki.com\",\n \"fastmail.ca\",\n \"fastmail.cn\",\n \"fastmail.co.uk\",\n \"fastmail.com\",\n \"fastmail.com.au\",\n \"fastmail.es\",\n \"fastmail.fm\",\n \"fastmail.im\",\n \"fastmail.in\",\n \"fastmail.jp\",\n \"fastmail.mx\",\n \"fastmail.net\",\n \"fastmail.nl\",\n \"fastmail.se\",\n \"fastmail.to\",\n \"fastmail.tw\",\n \"fastmail.us\",\n \"fastmailbox.net\",\n \"fastmazda.com\",\n \"fastmessaging.com\",\n \"fastmitsubishi.com\",\n \"fastnissan.com\",\n \"fastservice.com\",\n \"fastsubaru.com\",\n \"fastsuzuki.com\",\n \"fasttoyota.com\",\n \"fastyamaha.com\",\n \"fatcock.net\",\n \"fatflap.com\",\n \"fathersrightsne.org\",\n \"fax.ru\",\n \"fbi-agent.com\",\n \"fbi.hu\",\n \"fdfdsfds.com\",\n \"fea.st\",\n \"federalcontractors.com\",\n \"feinripptraeger.de\",\n \"felicitymail.com\",\n \"femenino.com\",\n \"fetchmail.co.uk\",\n \"fettabernett.de\",\n \"feyenoorder.com\",\n \"ffanet.com\",\n \"fiberia.com\",\n \"ficken.de\",\n \"fightallspam.com\",\n \"filipinolinks.com\",\n \"financemail.net\",\n \"financier.com\",\n \"findmail.com\",\n \"finebody.com\",\n \"fire-brigade.com\",\n \"fireman.net\",\n \"fishburne.org\",\n \"fishfuse.com\",\n \"fixmail.tk\",\n \"fizmail.com\",\n \"flashbox.5july.org\",\n \"flashmail.com\",\n \"flashmail.net\",\n \"fleckens.hu\",\n \"flipcode.com\",\n \"fmail.co.uk\",\n \"fmailbox.com\",\n \"fmgirl.com\",\n \"fmguy.com\",\n \"fnbmail.co.za\",\n \"fnmail.com\",\n \"folkfan.com\",\n \"foodmail.com\",\n \"footard.com\",\n \"footballmail.com\",\n \"foothills.net\",\n \"for-president.com\",\n \"force9.co.uk\",\n \"forfree.at\",\n \"forgetmail.com\",\n \"fornow.eu\",\n \"forpresident.com\",\n \"fortuncity.com\",\n \"fortunecity.com\",\n \"forum.dk\",\n \"foxmail.com\",\n \"fr33mail.info\",\n \"francemel.fr\",\n \"free-email.ga\",\n \"free-online.net\",\n \"free-org.com\",\n \"free.com.pe\",\n \"free.fr\",\n \"freeaccess.nl\",\n \"freeaccount.com\",\n \"freeandsingle.com\",\n \"freedom.usa.com\",\n \"freedomlover.com\",\n \"freegates.be\",\n \"freeghana.com\",\n \"freelance-france.eu\",\n \"freeler.nl\",\n \"freemail.c3.hu\",\n \"freemail.com.au\",\n \"freemail.com.pk\",\n \"freemail.de\",\n \"freemail.et\",\n \"freemail.gr\",\n \"freemail.hu\",\n \"freemail.it\",\n \"freemail.lt\",\n \"freemail.ms\",\n \"freemail.nl\",\n \"freemail.org.mk\",\n \"freemails.ga\",\n \"freemeil.gq\",\n \"freenet.de\",\n \"freenet.kg\",\n \"freeola.com\",\n \"freeola.net\",\n \"freeserve.co.uk\",\n \"freestart.hu\",\n \"freesurf.fr\",\n \"freesurf.nl\",\n \"freeuk.com\",\n \"freeuk.net\",\n \"freeukisp.co.uk\",\n \"freeweb.org\",\n \"freewebemail.com\",\n \"freeyellow.com\",\n \"freezone.co.uk\",\n \"fresnomail.com\",\n \"freudenkinder.de\",\n \"freundin.ru\",\n \"friendlymail.co.uk\",\n \"friends-cafe.com\",\n \"friendsfan.com\",\n \"from-africa.com\",\n \"from-america.com\",\n \"from-argentina.com\",\n \"from-asia.com\",\n \"from-australia.com\",\n \"from-belgium.com\",\n \"from-brazil.com\",\n \"from-canada.com\",\n \"from-china.net\",\n \"from-england.com\",\n \"from-europe.com\",\n \"from-france.net\",\n \"from-germany.net\",\n \"from-holland.com\",\n \"from-israel.com\",\n \"from-italy.net\",\n \"from-japan.net\",\n \"from-korea.com\",\n \"from-mexico.com\",\n \"from-outerspace.com\",\n \"from-russia.com\",\n \"from-spain.net\",\n \"fromalabama.com\",\n \"fromalaska.com\",\n \"fromarizona.com\",\n \"fromarkansas.com\",\n \"fromcalifornia.com\",\n \"fromcolorado.com\",\n \"fromconnecticut.com\",\n \"fromdelaware.com\",\n \"fromflorida.net\",\n \"fromgeorgia.com\",\n \"fromhawaii.net\",\n \"fromidaho.com\",\n \"fromillinois.com\",\n \"fromindiana.com\",\n \"fromiowa.com\",\n \"fromjupiter.com\",\n \"fromkansas.com\",\n \"fromkentucky.com\",\n \"fromlouisiana.com\",\n \"frommaine.net\",\n \"frommaryland.com\",\n \"frommassachusetts.com\",\n \"frommiami.com\",\n \"frommichigan.com\",\n \"fromminnesota.com\",\n \"frommississippi.com\",\n \"frommissouri.com\",\n \"frommontana.com\",\n \"fromnebraska.com\",\n \"fromnevada.com\",\n \"fromnewhampshire.com\",\n \"fromnewjersey.com\",\n \"fromnewmexico.com\",\n \"fromnewyork.net\",\n \"fromnorthcarolina.com\",\n \"fromnorthdakota.com\",\n \"fromohio.com\",\n \"fromoklahoma.com\",\n \"fromoregon.net\",\n \"frompennsylvania.com\",\n \"fromrhodeisland.com\",\n \"fromru.com\",\n \"fromsouthcarolina.com\",\n \"fromsouthdakota.com\",\n \"fromtennessee.com\",\n \"fromtexas.com\",\n \"fromthestates.com\",\n \"fromutah.com\",\n \"fromvermont.com\",\n \"fromvirginia.com\",\n \"fromwashington.com\",\n \"fromwashingtondc.com\",\n \"fromwestvirginia.com\",\n \"fromwisconsin.com\",\n \"fromwyoming.com\",\n \"front.ru\",\n \"frontier.com\",\n \"frontiernet.net\",\n \"frostbyte.uk.net\",\n \"fsmail.net\",\n \"ftc-i.net\",\n \"ftml.net\",\n \"fullmail.com\",\n \"funkfan.com\",\n \"fuorissimo.com\",\n \"furnitureprovider.com\",\n \"fuse.net\",\n \"fut.es\",\n \"fux0ringduh.com\",\n \"fwnb.com\",\n \"fxsmails.com\",\n \"galaxy5.com\",\n \"galaxyhit.com\",\n \"gamebox.net\",\n \"gamegeek.com\",\n \"gamespotmail.com\",\n \"gamno.config.work\",\n \"garbage.com\",\n \"gardener.com\",\n \"gawab.com\",\n \"gaybrighton.co.uk\",\n \"gaza.net\",\n \"gazeta.pl\",\n \"gazibooks.com\",\n \"gci.net\",\n \"geecities.com\",\n \"geek.com\",\n \"geek.hu\",\n \"geeklife.com\",\n \"gelitik.in\",\n \"gencmail.com\",\n \"general-hospital.com\",\n \"gentlemansclub.de\",\n \"geocities.com\",\n \"geography.net\",\n \"geologist.com\",\n \"geopia.com\",\n \"germanymail.com\",\n \"get.pp.ua\",\n \"get1mail.com\",\n \"getairmail.cf\",\n \"getairmail.com\",\n \"getairmail.ga\",\n \"getairmail.gq\",\n \"getonemail.net\",\n \"ghanamail.com\",\n \"ghostmail.com\",\n \"ghosttexter.de\",\n \"giga4u.de\",\n \"gigileung.org\",\n \"girl4god.com\",\n \"givepeaceachance.com\",\n \"glay.org\",\n \"glendale.net\",\n \"globalfree.it\",\n \"globalpagan.com\",\n \"globalsite.com.br\",\n \"gmail.com\",\n \"gmail.com.br\",\n \"gmail.ru\",\n \"gmx.at\",\n \"gmx.ch\",\n \"gmx.com\",\n \"gmx.de\",\n \"gmx.li\",\n \"gmx.net\",\n \"go.com\",\n \"go.ro\",\n \"go.ru\",\n \"go2net.com\",\n \"gocollege.com\",\n \"gocubs.com\",\n \"goemailgo.com\",\n \"gofree.co.uk\",\n \"gol.com\",\n \"goldenmail.ru\",\n \"goldmail.ru\",\n \"goldtoolbox.com\",\n \"golfemail.com\",\n \"golfilla.info\",\n \"golfmail.be\",\n \"gonavy.net\",\n \"goodnewsmail.com\",\n \"goodstick.com\",\n \"googlegroups.com\",\n \"googlemail.com\",\n \"goplay.com\",\n \"gorillaswithdirtyarmpits.com\",\n \"gorontalo.net\",\n \"gospelfan.com\",\n \"gothere.uk.com\",\n \"gotmail.com\",\n \"gotmail.org\",\n \"gotomy.com\",\n \"gotti.otherinbox.com\",\n \"gportal.hu\",\n \"graduate.org\",\n \"graffiti.net\",\n \"gramszu.net\",\n \"grandmamail.com\",\n \"grandmasmail.com\",\n \"graphic-designer.com\",\n \"grapplers.com\",\n \"gratisweb.com\",\n \"greenmail.net\",\n \"groupmail.com\",\n \"grr.la\",\n \"grungecafe.com\",\n \"gtmc.net\",\n \"gua.net\",\n \"guessmail.com\",\n \"guju.net\",\n \"gustr.com\",\n \"guy.com\",\n \"guy2.com\",\n \"guyanafriends.com\",\n \"gyorsposta.com\",\n \"gyorsposta.hu\",\n \"h-mail.us\",\n \"hab-verschlafen.de\",\n \"habmalnefrage.de\",\n \"hacccc.com\",\n \"hackermail.com\",\n \"hackermail.net\",\n \"hailmail.net\",\n \"hairdresser.net\",\n \"hamptonroads.com\",\n \"handbag.com\",\n \"handleit.com\",\n \"hang-ten.com\",\n \"hanmail.net\",\n \"happemail.com\",\n \"happycounsel.com\",\n \"happypuppy.com\",\n \"harakirimail.com\",\n \"hardcorefreak.com\",\n \"hartbot.de\",\n \"hawaii.rr.com\",\n \"hawaiiantel.net\",\n \"heartthrob.com\",\n \"heerschap.com\",\n \"heesun.net\",\n \"hehe.com\",\n \"hello.hu\",\n \"hello.net.au\",\n \"hello.to\",\n \"helter-skelter.com\",\n \"herediano.com\",\n \"herono1.com\",\n \"herp.in\",\n \"herr-der-mails.de\",\n \"hetnet.nl\",\n \"hey.to\",\n \"hhdevel.com\",\n \"hidzz.com\",\n \"highmilton.com\",\n \"highquality.com\",\n \"highveldmail.co.za\",\n \"hilarious.com\",\n \"hiphopfan.com\",\n \"hispavista.com\",\n \"hitmail.com\",\n \"hitthe.net\",\n \"hkg.net\",\n \"hkstarphoto.com\",\n \"hockeymail.com\",\n \"hollywoodkids.com\",\n \"home-email.com\",\n \"home.de\",\n \"home.nl\",\n \"home.no.net\",\n \"home.ro\",\n \"home.se\",\n \"homelocator.com\",\n \"homemail.com\",\n \"homestead.com\",\n \"honduras.com\",\n \"hongkong.com\",\n \"hookup.net\",\n \"hoopsmail.com\",\n \"hopemail.biz\",\n \"horrormail.com\",\n \"hot-mail.gq\",\n \"hot-shot.com\",\n \"hot.ee\",\n \"hotbot.com\",\n \"hotbrev.com\",\n \"hotfire.net\",\n \"hotletter.com\",\n \"hotmail.ca\",\n \"hotmail.ch\",\n \"hotmail.co\",\n \"hotmail.co.il\",\n \"hotmail.co.jp\",\n \"hotmail.co.nz\",\n \"hotmail.co.uk\",\n \"hotmail.co.za\",\n \"hotmail.com\",\n \"hotmail.com.au\",\n \"hotmail.com.br\",\n \"hotmail.com.tr\",\n \"hotmail.de\",\n \"hotmail.es\",\n \"hotmail.fi\",\n \"hotmail.fr\",\n \"hotmail.it\",\n \"hotmail.kg\",\n \"hotmail.kz\",\n \"hotmail.nl\",\n \"hotmail.ru\",\n \"hotpop.com\",\n \"hotpop3.com\",\n \"hotvoice.com\",\n \"housemail.com\",\n \"hsuchi.net\",\n \"hu2.ru\",\n \"hughes.net\",\n \"humanoid.net\",\n \"humn.ws.gy\",\n \"hunsa.com\",\n \"hurting.com\",\n \"hush.com\",\n \"hushmail.com\",\n \"hypernautica.com\",\n \"i-connect.com\",\n \"i-france.com\",\n \"i-mail.com.au\",\n \"i-p.com\",\n \"i.am\",\n \"i.ua\",\n \"i12.com\",\n \"i2pmail.org\",\n \"iamawoman.com\",\n \"iamwaiting.com\",\n \"iamwasted.com\",\n \"iamyours.com\",\n \"icestorm.com\",\n \"ich-bin-verrueckt-nach-dir.de\",\n \"ich-will-net.de\",\n \"icloud.com\",\n \"icmsconsultants.com\",\n \"icq.com\",\n \"icqmail.com\",\n \"icrazy.com\",\n \"id-base.com\",\n \"ididitmyway.com\",\n \"idigjesus.com\",\n \"idirect.com\",\n \"ieatspam.eu\",\n \"ieatspam.info\",\n \"ieh-mail.de\",\n \"iespana.es\",\n \"ifoward.com\",\n \"ig.com.br\",\n \"ignazio.it\",\n \"ignmail.com\",\n \"ihateclowns.com\",\n \"ihateyoualot.info\",\n \"iheartspam.org\",\n \"iinet.net.au\",\n \"ijustdontcare.com\",\n \"ikbenspamvrij.nl\",\n \"ilkposta.com\",\n \"ilovechocolate.com\",\n \"ilovejesus.com\",\n \"ilovetocollect.net\",\n \"ilse.nl\",\n \"imaginemail.com\",\n \"imail.ru\",\n \"imailbox.com\",\n \"imap-mail.com\",\n \"imap.cc\",\n \"imapmail.org\",\n \"imel.org\",\n \"imgof.com\",\n \"imgv.de\",\n \"immo-gerance.info\",\n \"imneverwrong.com\",\n \"imposter.co.uk\",\n \"imstations.com\",\n \"imstressed.com\",\n \"imtoosexy.com\",\n \"in-box.net\",\n \"in2jesus.com\",\n \"iname.com\",\n \"inbax.tk\",\n \"inbound.plus\",\n \"inbox.com\",\n \"inbox.net\",\n \"inbox.ru\",\n \"inbox.si\",\n \"inboxalias.com\",\n \"incamail.com\",\n \"incredimail.com\",\n \"indeedemail.com\",\n \"index.ua\",\n \"indexa.fr\",\n \"india.com\",\n \"indiatimes.com\",\n \"indo-mail.com\",\n \"indocities.com\",\n \"indomail.com\",\n \"indyracers.com\",\n \"inerted.com\",\n \"inet.com\",\n \"inet.net.au\",\n \"info-media.de\",\n \"info-radio.ml\",\n \"info66.com\",\n \"infohq.com\",\n \"infomail.es\",\n \"infomart.or.jp\",\n \"infospacemail.com\",\n \"infovia.com.ar\",\n \"inicia.es\",\n \"inmail.sk\",\n \"inmail24.com\",\n \"inmano.com\",\n \"inmynetwork.tk\",\n \"innocent.com\",\n \"inorbit.com\",\n \"inoutbox.com\",\n \"insidebaltimore.net\",\n \"insight.rr.com\",\n \"instant-mail.de\",\n \"instantemailaddress.com\",\n \"instantmail.fr\",\n \"instruction.com\",\n \"instructor.net\",\n \"insurer.com\",\n \"interburp.com\",\n \"interfree.it\",\n \"interia.pl\",\n \"interlap.com.ar\",\n \"intermail.co.il\",\n \"internet-e-mail.com\",\n \"internet-mail.org\",\n \"internet-police.com\",\n \"internetbiz.com\",\n \"internetdrive.com\",\n \"internetegypt.com\",\n \"internetemails.net\",\n \"internetmailing.net\",\n \"internode.on.net\",\n \"invalid.com\",\n \"inwind.it\",\n \"iobox.com\",\n \"iobox.fi\",\n \"iol.it\",\n \"iol.pt\",\n \"iowaemail.com\",\n \"ip3.com\",\n \"ip4.pp.ua\",\n \"ip6.pp.ua\",\n \"ipoo.org\",\n \"iprimus.com.au\",\n \"iqemail.com\",\n \"irangate.net\",\n \"iraqmail.com\",\n \"ireland.com\",\n \"irelandmail.com\",\n \"iremail.de\",\n \"irj.hu\",\n \"iroid.com\",\n \"isellcars.com\",\n \"iservejesus.com\",\n \"islamonline.net\",\n \"isleuthmail.com\",\n \"ismart.net\",\n \"isonfire.com\",\n \"isp9.net\",\n \"israelmail.com\",\n \"ist-allein.info\",\n \"ist-einmalig.de\",\n \"ist-ganz-allein.de\",\n \"ist-willig.de\",\n \"italymail.com\",\n \"itloox.com\",\n \"itmom.com\",\n \"ivebeenframed.com\",\n \"ivillage.com\",\n \"iwan-fals.com\",\n \"iwmail.com\",\n \"iwon.com\",\n \"izadpanah.com\",\n \"jahoopa.com\",\n \"jakuza.hu\",\n \"japan.com\",\n \"jaydemail.com\",\n \"jazzandjava.com\",\n \"jazzfan.com\",\n \"jazzgame.com\",\n \"je-recycle.info\",\n \"jerusalemmail.com\",\n \"jet-renovation.fr\",\n \"jetable.de\",\n \"jetable.pp.ua\",\n \"jetemail.net\",\n \"jippii.fi\",\n \"jmail.co.za\",\n \"job4u.com\",\n \"jobbikszimpatizans.hu\",\n \"joelonsoftware.com\",\n \"joinme.com\",\n \"jokes.com\",\n \"jordanmail.com\",\n \"journalist.com\",\n \"jourrapide.com\",\n \"jovem.te.pt\",\n \"joymail.com\",\n \"jpopmail.com\",\n \"jsrsolutions.com\",\n \"jubiimail.dk\",\n \"jump.com\",\n \"jumpy.it\",\n \"juniormail.com\",\n \"junk1e.com\",\n \"junkmail.com\",\n \"junkmail.gq\",\n \"juno.com\",\n \"justemail.net\",\n \"justicemail.com\",\n \"kaazoo.com\",\n \"kaffeeschluerfer.com\",\n \"kaffeeschluerfer.de\",\n \"kaixo.com\",\n \"kalpoint.com\",\n \"kansascity.com\",\n \"kapoorweb.com\",\n \"karachian.com\",\n \"karachioye.com\",\n \"karbasi.com\",\n \"katamail.com\",\n \"kayafmmail.co.za\",\n \"kbjrmail.com\",\n \"kcks.com\",\n \"keg-party.com\",\n \"keinpardon.de\",\n \"keko.com.ar\",\n \"kellychen.com\",\n \"keromail.com\",\n \"keyemail.com\",\n \"kgb.hu\",\n \"khosropour.com\",\n \"kickassmail.com\",\n \"killermail.com\",\n \"kimo.com\",\n \"kimsdisk.com\",\n \"kinglibrary.net\",\n \"kinki-kids.com\",\n \"kissfans.com\",\n \"kittymail.com\",\n \"kitznet.at\",\n \"kiwibox.com\",\n \"kiwitown.com\",\n \"klassmaster.net\",\n \"km.ru\",\n \"knol-power.nl\",\n \"kolumbus.fi\",\n \"kommespaeter.de\",\n \"konx.com\",\n \"korea.com\",\n \"koreamail.com\",\n \"kpnmail.nl\",\n \"krim.ws\",\n \"krongthip.com\",\n \"krunis.com\",\n \"ksanmail.com\",\n \"ksee24mail.com\",\n \"kube93mail.com\",\n \"kukamail.com\",\n \"kulturbetrieb.info\",\n \"kumarweb.com\",\n \"kuwait-mail.com\",\n \"l33r.eu\",\n \"la.com\",\n \"labetteraverouge.at\",\n \"ladymail.cz\",\n \"lagerlouts.com\",\n \"lags.us\",\n \"lahoreoye.com\",\n \"lakmail.com\",\n \"lamer.hu\",\n \"land.ru\",\n \"lankamail.com\",\n \"laoeq.com\",\n \"laposte.net\",\n \"lass-es-geschehen.de\",\n \"last-chance.pro\",\n \"lastmail.co\",\n \"latemodels.com\",\n \"latinmail.com\",\n \"lavache.com\",\n \"law.com\",\n \"lawyer.com\",\n \"lazyinbox.com\",\n \"leehom.net\",\n \"legalactions.com\",\n \"legalrc.loan\",\n \"legislator.com\",\n \"lenta.ru\",\n \"leonlai.net\",\n \"letsgomets.net\",\n \"letterboxes.org\",\n \"letthemeatspam.com\",\n \"levele.com\",\n \"levele.hu\",\n \"lex.bg\",\n \"lexis-nexis-mail.com\",\n \"libero.it\",\n \"liberomail.com\",\n \"lick101.com\",\n \"liebt-dich.info\",\n \"linkmaster.com\",\n \"linktrader.com\",\n \"linuxfreemail.com\",\n \"linuxmail.org\",\n \"lionsfan.com.au\",\n \"liontrucks.com\",\n \"liquidinformation.net\",\n \"list.ru\",\n \"listomail.com\",\n \"littleapple.com\",\n \"littleblueroom.com\",\n \"live.at\",\n \"live.be\",\n \"live.ca\",\n \"live.cl\",\n \"live.cn\",\n \"live.co.uk\",\n \"live.co.za\",\n \"live.com\",\n \"live.com.ar\",\n \"live.com.au\",\n \"live.com.mx\",\n \"live.com.pt\",\n \"live.com.sg\",\n \"live.de\",\n \"live.dk\",\n \"live.fr\",\n \"live.ie\",\n \"live.in\",\n \"live.it\",\n \"live.jp\",\n \"live.nl\",\n \"live.no\",\n \"live.ru\",\n \"live.se\",\n \"liveradio.tk\",\n \"liverpoolfans.com\",\n \"llandudno.com\",\n \"llangollen.com\",\n \"lmxmail.sk\",\n \"lobbyist.com\",\n \"localbar.com\",\n \"locos.com\",\n \"login-email.ga\",\n \"loh.pp.ua\",\n \"lolfreak.net\",\n \"lolito.tk\",\n \"london.com\",\n \"looksmart.co.uk\",\n \"looksmart.com\",\n \"looksmart.com.au\",\n \"lopezclub.com\",\n \"louiskoo.com\",\n \"love.cz\",\n \"loveable.com\",\n \"lovecat.com\",\n \"lovefall.ml\",\n \"lovefootball.com\",\n \"lovelygirl.net\",\n \"lovemail.com\",\n \"lover-boy.com\",\n \"lovergirl.com\",\n \"lovesea.gq\",\n \"lovethebroncos.com\",\n \"lovethecowboys.com\",\n \"loveyouforever.de\",\n \"lovingjesus.com\",\n \"lowandslow.com\",\n \"lr7.us\",\n \"lroid.com\",\n \"luso.pt\",\n \"luukku.com\",\n \"luv2.us\",\n \"lvie.com.sg\",\n \"lycos.co.uk\",\n \"lycos.com\",\n \"lycos.es\",\n \"lycos.it\",\n \"lycos.ne.jp\",\n \"lycosmail.com\",\n \"m-a-i-l.com\",\n \"m-hmail.com\",\n \"m4.org\",\n \"m4ilweb.info\",\n \"mac.com\",\n \"macbox.com\",\n \"macfreak.com\",\n \"machinecandy.com\",\n \"macmail.com\",\n \"madcreations.com\",\n \"madonnafan.com\",\n \"madrid.com\",\n \"maennerversteherin.com\",\n \"maennerversteherin.de\",\n \"maffia.hu\",\n \"magicmail.co.za\",\n \"magspam.net\",\n \"mahmoodweb.com\",\n \"mail.bg\",\n \"mail-awu.de\",\n \"mail-box.cz\",\n \"mail-center.com\",\n \"mail-central.com\",\n \"mail-easy.fr\",\n \"mail-filter.com\",\n \"mail-me.com\",\n \"mail-page.com\",\n \"mail-tester.com\",\n \"mail.austria.com\",\n \"mail.az\",\n \"mail.be\",\n \"mail.bulgaria.com\",\n \"mail.by\",\n \"mail.co.za\",\n \"mail.com\",\n \"mail.com.tr\",\n \"mail.de\",\n \"mail.ee\",\n \"mail.entrepeneurmag.com\",\n \"mail.freetown.com\",\n \"mail.gr\",\n \"mail.hitthebeach.com\",\n \"mail.htl22.at\",\n \"mail.md\",\n \"mail.misterpinball.de\",\n \"mail.nu\",\n \"mail.org.uk\",\n \"mail.pf\",\n \"mail.pt\",\n \"mail.r-o-o-t.com\",\n \"mail.ru\",\n \"mail.sisna.com\",\n \"mail.svenz.eu\",\n \"mail.usa.com\",\n \"mail.vasarhely.hu\",\n \"mail.wtf\",\n \"mail114.net\",\n \"mail15.com\",\n \"mail2007.com\",\n \"mail2aaron.com\",\n \"mail2abby.com\",\n \"mail2abc.com\",\n \"mail2actor.com\",\n \"mail2admiral.com\",\n \"mail2adorable.com\",\n \"mail2adoration.com\",\n \"mail2adore.com\",\n \"mail2adventure.com\",\n \"mail2aeolus.com\",\n \"mail2aether.com\",\n \"mail2affection.com\",\n \"mail2afghanistan.com\",\n \"mail2africa.com\",\n \"mail2agent.com\",\n \"mail2aha.com\",\n \"mail2ahoy.com\",\n \"mail2aim.com\",\n \"mail2air.com\",\n \"mail2airbag.com\",\n \"mail2airforce.com\",\n \"mail2airport.com\",\n \"mail2alabama.com\",\n \"mail2alan.com\",\n \"mail2alaska.com\",\n \"mail2albania.com\",\n \"mail2alcoholic.com\",\n \"mail2alec.com\",\n \"mail2alexa.com\",\n \"mail2algeria.com\",\n \"mail2alicia.com\",\n \"mail2alien.com\",\n \"mail2allan.com\",\n \"mail2allen.com\",\n \"mail2allison.com\",\n \"mail2alpha.com\",\n \"mail2alyssa.com\",\n \"mail2amanda.com\",\n \"mail2amazing.com\",\n \"mail2amber.com\",\n \"mail2america.com\",\n \"mail2american.com\",\n \"mail2andorra.com\",\n \"mail2andrea.com\",\n \"mail2andy.com\",\n \"mail2anesthesiologist.com\",\n \"mail2angela.com\",\n \"mail2angola.com\",\n \"mail2ann.com\",\n \"mail2anna.com\",\n \"mail2anne.com\",\n \"mail2anthony.com\",\n \"mail2anything.com\",\n \"mail2aphrodite.com\",\n \"mail2apollo.com\",\n \"mail2april.com\",\n \"mail2aquarius.com\",\n \"mail2arabia.com\",\n \"mail2arabic.com\",\n \"mail2architect.com\",\n \"mail2ares.com\",\n \"mail2argentina.com\",\n \"mail2aries.com\",\n \"mail2arizona.com\",\n \"mail2arkansas.com\",\n \"mail2armenia.com\",\n \"mail2army.com\",\n \"mail2arnold.com\",\n \"mail2art.com\",\n \"mail2artemus.com\",\n \"mail2arthur.com\",\n \"mail2artist.com\",\n \"mail2ashley.com\",\n \"mail2ask.com\",\n \"mail2astronomer.com\",\n \"mail2athena.com\",\n \"mail2athlete.com\",\n \"mail2atlas.com\",\n \"mail2atom.com\",\n \"mail2attitude.com\",\n \"mail2auction.com\",\n \"mail2aunt.com\",\n \"mail2australia.com\",\n \"mail2austria.com\",\n \"mail2azerbaijan.com\",\n \"mail2baby.com\",\n \"mail2bahamas.com\",\n \"mail2bahrain.com\",\n \"mail2ballerina.com\",\n \"mail2ballplayer.com\",\n \"mail2band.com\",\n \"mail2bangladesh.com\",\n \"mail2bank.com\",\n \"mail2banker.com\",\n \"mail2bankrupt.com\",\n \"mail2baptist.com\",\n \"mail2bar.com\",\n \"mail2barbados.com\",\n \"mail2barbara.com\",\n \"mail2barter.com\",\n \"mail2basketball.com\",\n \"mail2batter.com\",\n \"mail2beach.com\",\n \"mail2beast.com\",\n \"mail2beatles.com\",\n \"mail2beauty.com\",\n \"mail2becky.com\",\n \"mail2beijing.com\",\n \"mail2belgium.com\",\n \"mail2belize.com\",\n \"mail2ben.com\",\n \"mail2bernard.com\",\n \"mail2beth.com\",\n \"mail2betty.com\",\n \"mail2beverly.com\",\n \"mail2beyond.com\",\n \"mail2biker.com\",\n \"mail2bill.com\",\n \"mail2billionaire.com\",\n \"mail2billy.com\",\n \"mail2bio.com\",\n \"mail2biologist.com\",\n \"mail2black.com\",\n \"mail2blackbelt.com\",\n \"mail2blake.com\",\n \"mail2blind.com\",\n \"mail2blonde.com\",\n \"mail2blues.com\",\n \"mail2bob.com\",\n \"mail2bobby.com\",\n \"mail2bolivia.com\",\n \"mail2bombay.com\",\n \"mail2bonn.com\",\n \"mail2bookmark.com\",\n \"mail2boreas.com\",\n \"mail2bosnia.com\",\n \"mail2boston.com\",\n \"mail2botswana.com\",\n \"mail2bradley.com\",\n \"mail2brazil.com\",\n \"mail2breakfast.com\",\n \"mail2brian.com\",\n \"mail2bride.com\",\n \"mail2brittany.com\",\n \"mail2broker.com\",\n \"mail2brook.com\",\n \"mail2bruce.com\",\n \"mail2brunei.com\",\n \"mail2brunette.com\",\n \"mail2brussels.com\",\n \"mail2bryan.com\",\n \"mail2bug.com\",\n \"mail2bulgaria.com\",\n \"mail2business.com\",\n \"mail2buy.com\",\n \"mail2ca.com\",\n \"mail2california.com\",\n \"mail2calvin.com\",\n \"mail2cambodia.com\",\n \"mail2cameroon.com\",\n \"mail2canada.com\",\n \"mail2cancer.com\",\n \"mail2capeverde.com\",\n \"mail2capricorn.com\",\n \"mail2cardinal.com\",\n \"mail2cardiologist.com\",\n \"mail2care.com\",\n \"mail2caroline.com\",\n \"mail2carolyn.com\",\n \"mail2casey.com\",\n \"mail2cat.com\",\n \"mail2caterer.com\",\n \"mail2cathy.com\",\n \"mail2catlover.com\",\n \"mail2catwalk.com\",\n \"mail2cell.com\",\n \"mail2chad.com\",\n \"mail2champaign.com\",\n \"mail2charles.com\",\n \"mail2chef.com\",\n \"mail2chemist.com\",\n \"mail2cherry.com\",\n \"mail2chicago.com\",\n \"mail2chile.com\",\n \"mail2china.com\",\n \"mail2chinese.com\",\n \"mail2chocolate.com\",\n \"mail2christian.com\",\n \"mail2christie.com\",\n \"mail2christmas.com\",\n \"mail2christy.com\",\n \"mail2chuck.com\",\n \"mail2cindy.com\",\n \"mail2clark.com\",\n \"mail2classifieds.com\",\n \"mail2claude.com\",\n \"mail2cliff.com\",\n \"mail2clinic.com\",\n \"mail2clint.com\",\n \"mail2close.com\",\n \"mail2club.com\",\n \"mail2coach.com\",\n \"mail2coastguard.com\",\n \"mail2colin.com\",\n \"mail2college.com\",\n \"mail2colombia.com\",\n \"mail2color.com\",\n \"mail2colorado.com\",\n \"mail2columbia.com\",\n \"mail2comedian.com\",\n \"mail2composer.com\",\n \"mail2computer.com\",\n \"mail2computers.com\",\n \"mail2concert.com\",\n \"mail2congo.com\",\n \"mail2connect.com\",\n \"mail2connecticut.com\",\n \"mail2consultant.com\",\n \"mail2convict.com\",\n \"mail2cook.com\",\n \"mail2cool.com\",\n \"mail2cory.com\",\n \"mail2costarica.com\",\n \"mail2country.com\",\n \"mail2courtney.com\",\n \"mail2cowboy.com\",\n \"mail2cowgirl.com\",\n \"mail2craig.com\",\n \"mail2crave.com\",\n \"mail2crazy.com\",\n \"mail2create.com\",\n \"mail2croatia.com\",\n \"mail2cry.com\",\n \"mail2crystal.com\",\n \"mail2cuba.com\",\n \"mail2culture.com\",\n \"mail2curt.com\",\n \"mail2customs.com\",\n \"mail2cute.com\",\n \"mail2cutey.com\",\n \"mail2cynthia.com\",\n \"mail2cyprus.com\",\n \"mail2czechrepublic.com\",\n \"mail2dad.com\",\n \"mail2dale.com\",\n \"mail2dallas.com\",\n \"mail2dan.com\",\n \"mail2dana.com\",\n \"mail2dance.com\",\n \"mail2dancer.com\",\n \"mail2danielle.com\",\n \"mail2danny.com\",\n \"mail2darlene.com\",\n \"mail2darling.com\",\n \"mail2darren.com\",\n \"mail2daughter.com\",\n \"mail2dave.com\",\n \"mail2dawn.com\",\n \"mail2dc.com\",\n \"mail2dealer.com\",\n \"mail2deanna.com\",\n \"mail2dearest.com\",\n \"mail2debbie.com\",\n \"mail2debby.com\",\n \"mail2deer.com\",\n \"mail2delaware.com\",\n \"mail2delicious.com\",\n \"mail2demeter.com\",\n \"mail2democrat.com\",\n \"mail2denise.com\",\n \"mail2denmark.com\",\n \"mail2dennis.com\",\n \"mail2dentist.com\",\n \"mail2derek.com\",\n \"mail2desert.com\",\n \"mail2devoted.com\",\n \"mail2devotion.com\",\n \"mail2diamond.com\",\n \"mail2diana.com\",\n \"mail2diane.com\",\n \"mail2diehard.com\",\n \"mail2dilemma.com\",\n \"mail2dillon.com\",\n \"mail2dinner.com\",\n \"mail2dinosaur.com\",\n \"mail2dionysos.com\",\n \"mail2diplomat.com\",\n \"mail2director.com\",\n \"mail2dirk.com\",\n \"mail2disco.com\",\n \"mail2dive.com\",\n \"mail2diver.com\",\n \"mail2divorced.com\",\n \"mail2djibouti.com\",\n \"mail2doctor.com\",\n \"mail2doglover.com\",\n \"mail2dominic.com\",\n \"mail2dominica.com\",\n \"mail2dominicanrepublic.com\",\n \"mail2don.com\",\n \"mail2donald.com\",\n \"mail2donna.com\",\n \"mail2doris.com\",\n \"mail2dorothy.com\",\n \"mail2doug.com\",\n \"mail2dough.com\",\n \"mail2douglas.com\",\n \"mail2dow.com\",\n \"mail2downtown.com\",\n \"mail2dream.com\",\n \"mail2dreamer.com\",\n \"mail2dude.com\",\n \"mail2dustin.com\",\n \"mail2dyke.com\",\n \"mail2dylan.com\",\n \"mail2earl.com\",\n \"mail2earth.com\",\n \"mail2eastend.com\",\n \"mail2eat.com\",\n \"mail2economist.com\",\n \"mail2ecuador.com\",\n \"mail2eddie.com\",\n \"mail2edgar.com\",\n \"mail2edwin.com\",\n \"mail2egypt.com\",\n \"mail2electron.com\",\n \"mail2eli.com\",\n \"mail2elizabeth.com\",\n \"mail2ellen.com\",\n \"mail2elliot.com\",\n \"mail2elsalvador.com\",\n \"mail2elvis.com\",\n \"mail2emergency.com\",\n \"mail2emily.com\",\n \"mail2engineer.com\",\n \"mail2english.com\",\n \"mail2environmentalist.com\",\n \"mail2eos.com\",\n \"mail2eric.com\",\n \"mail2erica.com\",\n \"mail2erin.com\",\n \"mail2erinyes.com\",\n \"mail2eris.com\",\n \"mail2eritrea.com\",\n \"mail2ernie.com\",\n \"mail2eros.com\",\n \"mail2estonia.com\",\n \"mail2ethan.com\",\n \"mail2ethiopia.com\",\n \"mail2eu.com\",\n \"mail2europe.com\",\n \"mail2eurus.com\",\n \"mail2eva.com\",\n \"mail2evan.com\",\n \"mail2evelyn.com\",\n \"mail2everything.com\",\n \"mail2exciting.com\",\n \"mail2expert.com\",\n \"mail2fairy.com\",\n \"mail2faith.com\",\n \"mail2fanatic.com\",\n \"mail2fancy.com\",\n \"mail2fantasy.com\",\n \"mail2farm.com\",\n \"mail2farmer.com\",\n \"mail2fashion.com\",\n \"mail2fat.com\",\n \"mail2feeling.com\",\n \"mail2female.com\",\n \"mail2fever.com\",\n \"mail2fighter.com\",\n \"mail2fiji.com\",\n \"mail2filmfestival.com\",\n \"mail2films.com\",\n \"mail2finance.com\",\n \"mail2finland.com\",\n \"mail2fireman.com\",\n \"mail2firm.com\",\n \"mail2fisherman.com\",\n \"mail2flexible.com\",\n \"mail2florence.com\",\n \"mail2florida.com\",\n \"mail2floyd.com\",\n \"mail2fly.com\",\n \"mail2fond.com\",\n \"mail2fondness.com\",\n \"mail2football.com\",\n \"mail2footballfan.com\",\n \"mail2found.com\",\n \"mail2france.com\",\n \"mail2frank.com\",\n \"mail2frankfurt.com\",\n \"mail2franklin.com\",\n \"mail2fred.com\",\n \"mail2freddie.com\",\n \"mail2free.com\",\n \"mail2freedom.com\",\n \"mail2french.com\",\n \"mail2freudian.com\",\n \"mail2friendship.com\",\n \"mail2from.com\",\n \"mail2fun.com\",\n \"mail2gabon.com\",\n \"mail2gabriel.com\",\n \"mail2gail.com\",\n \"mail2galaxy.com\",\n \"mail2gambia.com\",\n \"mail2games.com\",\n \"mail2gary.com\",\n \"mail2gavin.com\",\n \"mail2gemini.com\",\n \"mail2gene.com\",\n \"mail2genes.com\",\n \"mail2geneva.com\",\n \"mail2george.com\",\n \"mail2georgia.com\",\n \"mail2gerald.com\",\n \"mail2german.com\",\n \"mail2germany.com\",\n \"mail2ghana.com\",\n \"mail2gilbert.com\",\n \"mail2gina.com\",\n \"mail2girl.com\",\n \"mail2glen.com\",\n \"mail2gloria.com\",\n \"mail2goddess.com\",\n \"mail2gold.com\",\n \"mail2golfclub.com\",\n \"mail2golfer.com\",\n \"mail2gordon.com\",\n \"mail2government.com\",\n \"mail2grab.com\",\n \"mail2grace.com\",\n \"mail2graham.com\",\n \"mail2grandma.com\",\n \"mail2grandpa.com\",\n \"mail2grant.com\",\n \"mail2greece.com\",\n \"mail2green.com\",\n \"mail2greg.com\",\n \"mail2grenada.com\",\n \"mail2gsm.com\",\n \"mail2guard.com\",\n \"mail2guatemala.com\",\n \"mail2guy.com\",\n \"mail2hades.com\",\n \"mail2haiti.com\",\n \"mail2hal.com\",\n \"mail2handhelds.com\",\n \"mail2hank.com\",\n \"mail2hannah.com\",\n \"mail2harold.com\",\n \"mail2harry.com\",\n \"mail2hawaii.com\",\n \"mail2headhunter.com\",\n \"mail2heal.com\",\n \"mail2heather.com\",\n \"mail2heaven.com\",\n \"mail2hebe.com\",\n \"mail2hecate.com\",\n \"mail2heidi.com\",\n \"mail2helen.com\",\n \"mail2hell.com\",\n \"mail2help.com\",\n \"mail2helpdesk.com\",\n \"mail2henry.com\",\n \"mail2hephaestus.com\",\n \"mail2hera.com\",\n \"mail2hercules.com\",\n \"mail2herman.com\",\n \"mail2hermes.com\",\n \"mail2hespera.com\",\n \"mail2hestia.com\",\n \"mail2highschool.com\",\n \"mail2hindu.com\",\n \"mail2hip.com\",\n \"mail2hiphop.com\",\n \"mail2holland.com\",\n \"mail2holly.com\",\n \"mail2hollywood.com\",\n \"mail2homer.com\",\n \"mail2honduras.com\",\n \"mail2honey.com\",\n \"mail2hongkong.com\",\n \"mail2hope.com\",\n \"mail2horse.com\",\n \"mail2hot.com\",\n \"mail2hotel.com\",\n \"mail2houston.com\",\n \"mail2howard.com\",\n \"mail2hugh.com\",\n \"mail2human.com\",\n \"mail2hungary.com\",\n \"mail2hungry.com\",\n \"mail2hygeia.com\",\n \"mail2hyperspace.com\",\n \"mail2hypnos.com\",\n \"mail2ian.com\",\n \"mail2ice-cream.com\",\n \"mail2iceland.com\",\n \"mail2idaho.com\",\n \"mail2idontknow.com\",\n \"mail2illinois.com\",\n \"mail2imam.com\",\n \"mail2in.com\",\n \"mail2india.com\",\n \"mail2indian.com\",\n \"mail2indiana.com\",\n \"mail2indonesia.com\",\n \"mail2infinity.com\",\n \"mail2intense.com\",\n \"mail2iowa.com\",\n \"mail2iran.com\",\n \"mail2iraq.com\",\n \"mail2ireland.com\",\n \"mail2irene.com\",\n \"mail2iris.com\",\n \"mail2irresistible.com\",\n \"mail2irving.com\",\n \"mail2irwin.com\",\n \"mail2isaac.com\",\n \"mail2israel.com\",\n \"mail2italian.com\",\n \"mail2italy.com\",\n \"mail2jackie.com\",\n \"mail2jacob.com\",\n \"mail2jail.com\",\n \"mail2jaime.com\",\n \"mail2jake.com\",\n \"mail2jamaica.com\",\n \"mail2james.com\",\n \"mail2jamie.com\",\n \"mail2jan.com\",\n \"mail2jane.com\",\n \"mail2janet.com\",\n \"mail2janice.com\",\n \"mail2japan.com\",\n \"mail2japanese.com\",\n \"mail2jasmine.com\",\n \"mail2jason.com\",\n \"mail2java.com\",\n \"mail2jay.com\",\n \"mail2jazz.com\",\n \"mail2jed.com\",\n \"mail2jeffrey.com\",\n \"mail2jennifer.com\",\n \"mail2jenny.com\",\n \"mail2jeremy.com\",\n \"mail2jerry.com\",\n \"mail2jessica.com\",\n \"mail2jessie.com\",\n \"mail2jesus.com\",\n \"mail2jew.com\",\n \"mail2jeweler.com\",\n \"mail2jim.com\",\n \"mail2jimmy.com\",\n \"mail2joan.com\",\n \"mail2joann.com\",\n \"mail2joanna.com\",\n \"mail2jody.com\",\n \"mail2joe.com\",\n \"mail2joel.com\",\n \"mail2joey.com\",\n \"mail2john.com\",\n \"mail2join.com\",\n \"mail2jon.com\",\n \"mail2jonathan.com\",\n \"mail2jones.com\",\n \"mail2jordan.com\",\n \"mail2joseph.com\",\n \"mail2josh.com\",\n \"mail2joy.com\",\n \"mail2juan.com\",\n \"mail2judge.com\",\n \"mail2judy.com\",\n \"mail2juggler.com\",\n \"mail2julian.com\",\n \"mail2julie.com\",\n \"mail2jumbo.com\",\n \"mail2junk.com\",\n \"mail2justin.com\",\n \"mail2justme.com\",\n \"mail2k.ru\",\n \"mail2kansas.com\",\n \"mail2karate.com\",\n \"mail2karen.com\",\n \"mail2karl.com\",\n \"mail2karma.com\",\n \"mail2kathleen.com\",\n \"mail2kathy.com\",\n \"mail2katie.com\",\n \"mail2kay.com\",\n \"mail2kazakhstan.com\",\n \"mail2keen.com\",\n \"mail2keith.com\",\n \"mail2kelly.com\",\n \"mail2kelsey.com\",\n \"mail2ken.com\",\n \"mail2kendall.com\",\n \"mail2kennedy.com\",\n \"mail2kenneth.com\",\n \"mail2kenny.com\",\n \"mail2kentucky.com\",\n \"mail2kenya.com\",\n \"mail2kerry.com\",\n \"mail2kevin.com\",\n \"mail2kim.com\",\n \"mail2kimberly.com\",\n \"mail2king.com\",\n \"mail2kirk.com\",\n \"mail2kiss.com\",\n \"mail2kosher.com\",\n \"mail2kristin.com\",\n \"mail2kurt.com\",\n \"mail2kuwait.com\",\n \"mail2kyle.com\",\n \"mail2kyrgyzstan.com\",\n \"mail2la.com\",\n \"mail2lacrosse.com\",\n \"mail2lance.com\",\n \"mail2lao.com\",\n \"mail2larry.com\",\n \"mail2latvia.com\",\n \"mail2laugh.com\",\n \"mail2laura.com\",\n \"mail2lauren.com\",\n \"mail2laurie.com\",\n \"mail2lawrence.com\",\n \"mail2lawyer.com\",\n \"mail2lebanon.com\",\n \"mail2lee.com\",\n \"mail2leo.com\",\n \"mail2leon.com\",\n \"mail2leonard.com\",\n \"mail2leone.com\",\n \"mail2leslie.com\",\n \"mail2letter.com\",\n \"mail2liberia.com\",\n \"mail2libertarian.com\",\n \"mail2libra.com\",\n \"mail2libya.com\",\n \"mail2liechtenstein.com\",\n \"mail2life.com\",\n \"mail2linda.com\",\n \"mail2linux.com\",\n \"mail2lionel.com\",\n \"mail2lipstick.com\",\n \"mail2liquid.com\",\n \"mail2lisa.com\",\n \"mail2lithuania.com\",\n \"mail2litigator.com\",\n \"mail2liz.com\",\n \"mail2lloyd.com\",\n \"mail2lois.com\",\n \"mail2lola.com\",\n \"mail2london.com\",\n \"mail2looking.com\",\n \"mail2lori.com\",\n \"mail2lost.com\",\n \"mail2lou.com\",\n \"mail2louis.com\",\n \"mail2louisiana.com\",\n \"mail2lovable.com\",\n \"mail2love.com\",\n \"mail2lucky.com\",\n \"mail2lucy.com\",\n \"mail2lunch.com\",\n \"mail2lust.com\",\n \"mail2luxembourg.com\",\n \"mail2luxury.com\",\n \"mail2lyle.com\",\n \"mail2lynn.com\",\n \"mail2madagascar.com\",\n \"mail2madison.com\",\n \"mail2madrid.com\",\n \"mail2maggie.com\",\n \"mail2mail4.com\",\n \"mail2maine.com\",\n \"mail2malawi.com\",\n \"mail2malaysia.com\",\n \"mail2maldives.com\",\n \"mail2mali.com\",\n \"mail2malta.com\",\n \"mail2mambo.com\",\n \"mail2man.com\",\n \"mail2mandy.com\",\n \"mail2manhunter.com\",\n \"mail2mankind.com\",\n \"mail2many.com\",\n \"mail2marc.com\",\n \"mail2marcia.com\",\n \"mail2margaret.com\",\n \"mail2margie.com\",\n \"mail2marhaba.com\",\n \"mail2maria.com\",\n \"mail2marilyn.com\",\n \"mail2marines.com\",\n \"mail2mark.com\",\n \"mail2marriage.com\",\n \"mail2married.com\",\n \"mail2marries.com\",\n \"mail2mars.com\",\n \"mail2marsha.com\",\n \"mail2marshallislands.com\",\n \"mail2martha.com\",\n \"mail2martin.com\",\n \"mail2marty.com\",\n \"mail2marvin.com\",\n \"mail2mary.com\",\n \"mail2maryland.com\",\n \"mail2mason.com\",\n \"mail2massachusetts.com\",\n \"mail2matt.com\",\n \"mail2matthew.com\",\n \"mail2maurice.com\",\n \"mail2mauritania.com\",\n \"mail2mauritius.com\",\n \"mail2max.com\",\n \"mail2maxwell.com\",\n \"mail2maybe.com\",\n \"mail2mba.com\",\n \"mail2me4u.com\",\n \"mail2mechanic.com\",\n \"mail2medieval.com\",\n \"mail2megan.com\",\n \"mail2mel.com\",\n \"mail2melanie.com\",\n \"mail2melissa.com\",\n \"mail2melody.com\",\n \"mail2member.com\",\n \"mail2memphis.com\",\n \"mail2methodist.com\",\n \"mail2mexican.com\",\n \"mail2mexico.com\",\n \"mail2mgz.com\",\n \"mail2miami.com\",\n \"mail2michael.com\",\n \"mail2michelle.com\",\n \"mail2michigan.com\",\n \"mail2mike.com\",\n \"mail2milan.com\",\n \"mail2milano.com\",\n \"mail2mildred.com\",\n \"mail2milkyway.com\",\n \"mail2millennium.com\",\n \"mail2millionaire.com\",\n \"mail2milton.com\",\n \"mail2mime.com\",\n \"mail2mindreader.com\",\n \"mail2mini.com\",\n \"mail2minister.com\",\n \"mail2minneapolis.com\",\n \"mail2minnesota.com\",\n \"mail2miracle.com\",\n \"mail2missionary.com\",\n \"mail2mississippi.com\",\n \"mail2missouri.com\",\n \"mail2mitch.com\",\n \"mail2model.com\",\n \"mail2moldova.commail2molly.com\",\n \"mail2mom.com\",\n \"mail2monaco.com\",\n \"mail2money.com\",\n \"mail2mongolia.com\",\n \"mail2monica.com\",\n \"mail2montana.com\",\n \"mail2monty.com\",\n \"mail2moon.com\",\n \"mail2morocco.com\",\n \"mail2morpheus.com\",\n \"mail2mors.com\",\n \"mail2moscow.com\",\n \"mail2moslem.com\",\n \"mail2mouseketeer.com\",\n \"mail2movies.com\",\n \"mail2mozambique.com\",\n \"mail2mp3.com\",\n \"mail2mrright.com\",\n \"mail2msright.com\",\n \"mail2museum.com\",\n \"mail2music.com\",\n \"mail2musician.com\",\n \"mail2muslim.com\",\n \"mail2my.com\",\n \"mail2myboat.com\",\n \"mail2mycar.com\",\n \"mail2mycell.com\",\n \"mail2mygsm.com\",\n \"mail2mylaptop.com\",\n \"mail2mymac.com\",\n \"mail2mypager.com\",\n \"mail2mypalm.com\",\n \"mail2mypc.com\",\n \"mail2myphone.com\",\n \"mail2myplane.com\",\n \"mail2namibia.com\",\n \"mail2nancy.com\",\n \"mail2nasdaq.com\",\n \"mail2nathan.com\",\n \"mail2nauru.com\",\n \"mail2navy.com\",\n \"mail2neal.com\",\n \"mail2nebraska.com\",\n \"mail2ned.com\",\n \"mail2neil.com\",\n \"mail2nelson.com\",\n \"mail2nemesis.com\",\n \"mail2nepal.com\",\n \"mail2netherlands.com\",\n \"mail2network.com\",\n \"mail2nevada.com\",\n \"mail2newhampshire.com\",\n \"mail2newjersey.com\",\n \"mail2newmexico.com\",\n \"mail2newyork.com\",\n \"mail2newzealand.com\",\n \"mail2nicaragua.com\",\n \"mail2nick.com\",\n \"mail2nicole.com\",\n \"mail2niger.com\",\n \"mail2nigeria.com\",\n \"mail2nike.com\",\n \"mail2no.com\",\n \"mail2noah.com\",\n \"mail2noel.com\",\n \"mail2noelle.com\",\n \"mail2normal.com\",\n \"mail2norman.com\",\n \"mail2northamerica.com\",\n \"mail2northcarolina.com\",\n \"mail2northdakota.com\",\n \"mail2northpole.com\",\n \"mail2norway.com\",\n \"mail2notus.com\",\n \"mail2noway.com\",\n \"mail2nowhere.com\",\n \"mail2nuclear.com\",\n \"mail2nun.com\",\n \"mail2ny.com\",\n \"mail2oasis.com\",\n \"mail2oceanographer.com\",\n \"mail2ohio.com\",\n \"mail2ok.com\",\n \"mail2oklahoma.com\",\n \"mail2oliver.com\",\n \"mail2oman.com\",\n \"mail2one.com\",\n \"mail2onfire.com\",\n \"mail2online.com\",\n \"mail2oops.com\",\n \"mail2open.com\",\n \"mail2ophthalmologist.com\",\n \"mail2optometrist.com\",\n \"mail2oregon.com\",\n \"mail2oscars.com\",\n \"mail2oslo.com\",\n \"mail2painter.com\",\n \"mail2pakistan.com\",\n \"mail2palau.com\",\n \"mail2pan.com\",\n \"mail2panama.com\",\n \"mail2paraguay.com\",\n \"mail2paralegal.com\",\n \"mail2paris.com\",\n \"mail2park.com\",\n \"mail2parker.com\",\n \"mail2party.com\",\n \"mail2passion.com\",\n \"mail2pat.com\",\n \"mail2patricia.com\",\n \"mail2patrick.com\",\n \"mail2patty.com\",\n \"mail2paul.com\",\n \"mail2paula.com\",\n \"mail2pay.com\",\n \"mail2peace.com\",\n \"mail2pediatrician.com\",\n \"mail2peggy.com\",\n \"mail2pennsylvania.com\",\n \"mail2perry.com\",\n \"mail2persephone.com\",\n \"mail2persian.com\",\n \"mail2peru.com\",\n \"mail2pete.com\",\n \"mail2peter.com\",\n \"mail2pharmacist.com\",\n \"mail2phil.com\",\n \"mail2philippines.com\",\n \"mail2phoenix.com\",\n \"mail2phonecall.com\",\n \"mail2phyllis.com\",\n \"mail2pickup.com\",\n \"mail2pilot.com\",\n \"mail2pisces.com\",\n \"mail2planet.com\",\n \"mail2platinum.com\",\n \"mail2plato.com\",\n \"mail2pluto.com\",\n \"mail2pm.com\",\n \"mail2podiatrist.com\",\n \"mail2poet.com\",\n \"mail2poland.com\",\n \"mail2policeman.com\",\n \"mail2policewoman.com\",\n \"mail2politician.com\",\n \"mail2pop.com\",\n \"mail2pope.com\",\n \"mail2popular.com\",\n \"mail2portugal.com\",\n \"mail2poseidon.com\",\n \"mail2potatohead.com\",\n \"mail2power.com\",\n \"mail2presbyterian.com\",\n \"mail2president.com\",\n \"mail2priest.com\",\n \"mail2prince.com\",\n \"mail2princess.com\",\n \"mail2producer.com\",\n \"mail2professor.com\",\n \"mail2protect.com\",\n \"mail2psychiatrist.com\",\n \"mail2psycho.com\",\n \"mail2psychologist.com\",\n \"mail2qatar.com\",\n \"mail2queen.com\",\n \"mail2rabbi.com\",\n \"mail2race.com\",\n \"mail2racer.com\",\n \"mail2rachel.com\",\n \"mail2rage.com\",\n \"mail2rainmaker.com\",\n \"mail2ralph.com\",\n \"mail2randy.com\",\n \"mail2rap.com\",\n \"mail2rare.com\",\n \"mail2rave.com\",\n \"mail2ray.com\",\n \"mail2raymond.com\",\n \"mail2realtor.com\",\n \"mail2rebecca.com\",\n \"mail2recruiter.com\",\n \"mail2recycle.com\",\n \"mail2redhead.com\",\n \"mail2reed.com\",\n \"mail2reggie.com\",\n \"mail2register.com\",\n \"mail2rent.com\",\n \"mail2republican.com\",\n \"mail2resort.com\",\n \"mail2rex.com\",\n \"mail2rhodeisland.com\",\n \"mail2rich.com\",\n \"mail2richard.com\",\n \"mail2ricky.com\",\n \"mail2ride.com\",\n \"mail2riley.com\",\n \"mail2rita.com\",\n \"mail2rob.com\",\n \"mail2robert.com\",\n \"mail2roberta.com\",\n \"mail2robin.com\",\n \"mail2rock.com\",\n \"mail2rocker.com\",\n \"mail2rod.com\",\n \"mail2rodney.com\",\n \"mail2romania.com\",\n \"mail2rome.com\",\n \"mail2ron.com\",\n \"mail2ronald.com\",\n \"mail2ronnie.com\",\n \"mail2rose.com\",\n \"mail2rosie.com\",\n \"mail2roy.com\",\n \"mail2rss.org\",\n \"mail2rudy.com\",\n \"mail2rugby.com\",\n \"mail2runner.com\",\n \"mail2russell.com\",\n \"mail2russia.com\",\n \"mail2russian.com\",\n \"mail2rusty.com\",\n \"mail2ruth.com\",\n \"mail2rwanda.com\",\n \"mail2ryan.com\",\n \"mail2sa.com\",\n \"mail2sabrina.com\",\n \"mail2safe.com\",\n \"mail2sagittarius.com\",\n \"mail2sail.com\",\n \"mail2sailor.com\",\n \"mail2sal.com\",\n \"mail2salaam.com\",\n \"mail2sam.com\",\n \"mail2samantha.com\",\n \"mail2samoa.com\",\n \"mail2samurai.com\",\n \"mail2sandra.com\",\n \"mail2sandy.com\",\n \"mail2sanfrancisco.com\",\n \"mail2sanmarino.com\",\n \"mail2santa.com\",\n \"mail2sara.com\",\n \"mail2sarah.com\",\n \"mail2sat.com\",\n \"mail2saturn.com\",\n \"mail2saudi.com\",\n \"mail2saudiarabia.com\",\n \"mail2save.com\",\n \"mail2savings.com\",\n \"mail2school.com\",\n \"mail2scientist.com\",\n \"mail2scorpio.com\",\n \"mail2scott.com\",\n \"mail2sean.com\",\n \"mail2search.com\",\n \"mail2seattle.com\",\n \"mail2secretagent.com\",\n \"mail2senate.com\",\n \"mail2senegal.com\",\n \"mail2sensual.com\",\n \"mail2seth.com\",\n \"mail2sevenseas.com\",\n \"mail2sexy.com\",\n \"mail2seychelles.com\",\n \"mail2shane.com\",\n \"mail2sharon.com\",\n \"mail2shawn.com\",\n \"mail2ship.com\",\n \"mail2shirley.com\",\n \"mail2shoot.com\",\n \"mail2shuttle.com\",\n \"mail2sierraleone.com\",\n \"mail2simon.com\",\n \"mail2singapore.com\",\n \"mail2single.com\",\n \"mail2site.com\",\n \"mail2skater.com\",\n \"mail2skier.com\",\n \"mail2sky.com\",\n \"mail2sleek.com\",\n \"mail2slim.com\",\n \"mail2slovakia.com\",\n \"mail2slovenia.com\",\n \"mail2smile.com\",\n \"mail2smith.com\",\n \"mail2smooth.com\",\n \"mail2soccer.com\",\n \"mail2soccerfan.com\",\n \"mail2socialist.com\",\n \"mail2soldier.com\",\n \"mail2somalia.com\",\n \"mail2son.com\",\n \"mail2song.com\",\n \"mail2sos.com\",\n \"mail2sound.com\",\n \"mail2southafrica.com\",\n \"mail2southamerica.com\",\n \"mail2southcarolina.com\",\n \"mail2southdakota.com\",\n \"mail2southkorea.com\",\n \"mail2southpole.com\",\n \"mail2spain.com\",\n \"mail2spanish.com\",\n \"mail2spare.com\",\n \"mail2spectrum.com\",\n \"mail2splash.com\",\n \"mail2sponsor.com\",\n \"mail2sports.com\",\n \"mail2srilanka.com\",\n \"mail2stacy.com\",\n \"mail2stan.com\",\n \"mail2stanley.com\",\n \"mail2star.com\",\n \"mail2state.com\",\n \"mail2stephanie.com\",\n \"mail2steve.com\",\n \"mail2steven.com\",\n \"mail2stewart.com\",\n \"mail2stlouis.com\",\n \"mail2stock.com\",\n \"mail2stockholm.com\",\n \"mail2stockmarket.com\",\n \"mail2storage.com\",\n \"mail2store.com\",\n \"mail2strong.com\",\n \"mail2student.com\",\n \"mail2studio.com\",\n \"mail2studio54.com\",\n \"mail2stuntman.com\",\n \"mail2subscribe.com\",\n \"mail2sudan.com\",\n \"mail2superstar.com\",\n \"mail2surfer.com\",\n \"mail2suriname.com\",\n \"mail2susan.com\",\n \"mail2suzie.com\",\n \"mail2swaziland.com\",\n \"mail2sweden.com\",\n \"mail2sweetheart.com\",\n \"mail2swim.com\",\n \"mail2swimmer.com\",\n \"mail2swiss.com\",\n \"mail2switzerland.com\",\n \"mail2sydney.com\",\n \"mail2sylvia.com\",\n \"mail2syria.com\",\n \"mail2taboo.com\",\n \"mail2taiwan.com\",\n \"mail2tajikistan.com\",\n \"mail2tammy.com\",\n \"mail2tango.com\",\n \"mail2tanya.com\",\n \"mail2tanzania.com\",\n \"mail2tara.com\",\n \"mail2taurus.com\",\n \"mail2taxi.com\",\n \"mail2taxidermist.com\",\n \"mail2taylor.com\",\n \"mail2taz.com\",\n \"mail2teacher.com\",\n \"mail2technician.com\",\n \"mail2ted.com\",\n \"mail2telephone.com\",\n \"mail2teletubbie.com\",\n \"mail2tenderness.com\",\n \"mail2tennessee.com\",\n \"mail2tennis.com\",\n \"mail2tennisfan.com\",\n \"mail2terri.com\",\n \"mail2terry.com\",\n \"mail2test.com\",\n \"mail2texas.com\",\n \"mail2thailand.com\",\n \"mail2therapy.com\",\n \"mail2think.com\",\n \"mail2tickets.com\",\n \"mail2tiffany.com\",\n \"mail2tim.com\",\n \"mail2time.com\",\n \"mail2timothy.com\",\n \"mail2tina.com\",\n \"mail2titanic.com\",\n \"mail2toby.com\",\n \"mail2todd.com\",\n \"mail2togo.com\",\n \"mail2tom.com\",\n \"mail2tommy.com\",\n \"mail2tonga.com\",\n \"mail2tony.com\",\n \"mail2touch.com\",\n \"mail2tourist.com\",\n \"mail2tracey.com\",\n \"mail2tracy.com\",\n \"mail2tramp.com\",\n \"mail2travel.com\",\n \"mail2traveler.com\",\n \"mail2travis.com\",\n \"mail2trekkie.com\",\n \"mail2trex.com\",\n \"mail2triallawyer.com\",\n \"mail2trick.com\",\n \"mail2trillionaire.com\",\n \"mail2troy.com\",\n \"mail2truck.com\",\n \"mail2trump.com\",\n \"mail2try.com\",\n \"mail2tunisia.com\",\n \"mail2turbo.com\",\n \"mail2turkey.com\",\n \"mail2turkmenistan.com\",\n \"mail2tv.com\",\n \"mail2tycoon.com\",\n \"mail2tyler.com\",\n \"mail2u4me.com\",\n \"mail2uae.com\",\n \"mail2uganda.com\",\n \"mail2uk.com\",\n \"mail2ukraine.com\",\n \"mail2uncle.com\",\n \"mail2unsubscribe.com\",\n \"mail2uptown.com\",\n \"mail2uruguay.com\",\n \"mail2usa.com\",\n \"mail2utah.com\",\n \"mail2uzbekistan.com\",\n \"mail2v.com\",\n \"mail2vacation.com\",\n \"mail2valentines.com\",\n \"mail2valerie.com\",\n \"mail2valley.com\",\n \"mail2vamoose.com\",\n \"mail2vanessa.com\",\n \"mail2vanuatu.com\",\n \"mail2venezuela.com\",\n \"mail2venous.com\",\n \"mail2venus.com\",\n \"mail2vermont.com\",\n \"mail2vickie.com\",\n \"mail2victor.com\",\n \"mail2victoria.com\",\n \"mail2vienna.com\",\n \"mail2vietnam.com\",\n \"mail2vince.com\",\n \"mail2virginia.com\",\n \"mail2virgo.com\",\n \"mail2visionary.com\",\n \"mail2vodka.com\",\n \"mail2volleyball.com\",\n \"mail2waiter.com\",\n \"mail2wallstreet.com\",\n \"mail2wally.com\",\n \"mail2walter.com\",\n \"mail2warren.com\",\n \"mail2washington.com\",\n \"mail2wave.com\",\n \"mail2way.com\",\n \"mail2waycool.com\",\n \"mail2wayne.com\",\n \"mail2webmaster.com\",\n \"mail2webtop.com\",\n \"mail2webtv.com\",\n \"mail2weird.com\",\n \"mail2wendell.com\",\n \"mail2wendy.com\",\n \"mail2westend.com\",\n \"mail2westvirginia.com\",\n \"mail2whether.com\",\n \"mail2whip.com\",\n \"mail2white.com\",\n \"mail2whitehouse.com\",\n \"mail2whitney.com\",\n \"mail2why.com\",\n \"mail2wilbur.com\",\n \"mail2wild.com\",\n \"mail2willard.com\",\n \"mail2willie.com\",\n \"mail2wine.com\",\n \"mail2winner.com\",\n \"mail2wired.com\",\n \"mail2wisconsin.com\",\n \"mail2woman.com\",\n \"mail2wonder.com\",\n \"mail2world.com\",\n \"mail2worship.com\",\n \"mail2wow.com\",\n \"mail2www.com\",\n \"mail2wyoming.com\",\n \"mail2xfiles.com\",\n \"mail2xox.com\",\n \"mail2yachtclub.com\",\n \"mail2yahalla.com\",\n \"mail2yemen.com\",\n \"mail2yes.com\",\n \"mail2yugoslavia.com\",\n \"mail2zack.com\",\n \"mail2zambia.com\",\n \"mail2zenith.com\",\n \"mail2zephir.com\",\n \"mail2zeus.com\",\n \"mail2zipper.com\",\n \"mail2zoo.com\",\n \"mail2zoologist.com\",\n \"mail2zurich.com\",\n \"mail3000.com\",\n \"mail333.com\",\n \"mail4trash.com\",\n \"mail4u.info\",\n \"mailandftp.com\",\n \"mailandnews.com\",\n \"mailas.com\",\n \"mailasia.com\",\n \"mailbolt.com\",\n \"mailbomb.net\",\n \"mailboom.com\",\n \"mailbox.as\",\n \"mailbox.co.za\",\n \"mailbox.gr\",\n \"mailbox.hu\",\n \"mailbox72.biz\",\n \"mailbox80.biz\",\n \"mailbr.com.br\",\n \"mailc.net\",\n \"mailcan.com\",\n \"mailcat.biz\",\n \"mailcc.com\",\n \"mailchoose.co\",\n \"mailcity.com\",\n \"mailclub.fr\",\n \"mailclub.net\",\n \"maildrop.cc\",\n \"maildrop.gq\",\n \"maildx.com\",\n \"mailed.ro\",\n \"mailexcite.com\",\n \"mailfa.tk\",\n \"mailforce.net\",\n \"mailforspam.com\",\n \"mailfree.gq\",\n \"mailfs.com\",\n \"mailftp.com\",\n \"mailgenie.net\",\n \"mailguard.me\",\n \"mailhaven.com\",\n \"mailhood.com\",\n \"mailimate.com\",\n \"mailinator.com\",\n \"mailinator.org\",\n \"mailinator.us\",\n \"mailinblack.com\",\n \"mailingaddress.org\",\n \"mailingweb.com\",\n \"mailisent.com\",\n \"mailismagic.com\",\n \"mailite.com\",\n \"mailmate.com\",\n \"mailme.dk\",\n \"mailme.gq\",\n \"mailme24.com\",\n \"mailmight.com\",\n \"mailmij.nl\",\n \"mailnator.com\",\n \"mailnew.com\",\n \"mailops.com\",\n \"mailoye.com\",\n \"mailpanda.com\",\n \"mailpick.biz\",\n \"mailpokemon.com\",\n \"mailpost.zzn.com\",\n \"mailpride.com\",\n \"mailproxsy.com\",\n \"mailpuppy.com\",\n \"mailquack.com\",\n \"mailrock.biz\",\n \"mailroom.com\",\n \"mailru.com\",\n \"mailsac.com\",\n \"mailseal.de\",\n \"mailsent.net\",\n \"mailservice.ms\",\n \"mailshuttle.com\",\n \"mailslapping.com\",\n \"mailstart.com\",\n \"mailstartplus.com\",\n \"mailsurf.com\",\n \"mailtag.com\",\n \"mailtemp.info\",\n \"mailto.de\",\n \"mailtothis.com\",\n \"mailueberfall.de\",\n \"mailup.net\",\n \"mailwire.com\",\n \"mailworks.org\",\n \"mailzi.ru\",\n \"mailzilla.org\",\n \"maktoob.com\",\n \"malayalamtelevision.net\",\n \"maltesemail.com\",\n \"mamber.net\",\n \"manager.de\",\n \"mancity.net\",\n \"mantrafreenet.com\",\n \"mantramail.com\",\n \"mantraonline.com\",\n \"manybrain.com\",\n \"marchmail.com\",\n \"mariahc.com\",\n \"marijuana.com\",\n \"marijuana.nl\",\n \"married-not.com\",\n \"marsattack.com\",\n \"martindalemail.com\",\n \"mash4077.com\",\n \"masrawy.com\",\n \"matmail.com\",\n \"mauimail.com\",\n \"mauritius.com\",\n \"maxleft.com\",\n \"maxmail.co.uk\",\n \"mbox.com.au\",\n \"mchsi.com\",\n \"me-mail.hu\",\n \"me.com\",\n \"medical.net.au\",\n \"medscape.com\",\n \"meetingmall.com\",\n \"megago.com\",\n \"megamail.pt\",\n \"megapoint.com\",\n \"mehrani.com\",\n \"mehtaweb.com\",\n \"meine-dateien.info\",\n \"meine-diashow.de\",\n \"meine-fotos.info\",\n \"meine-urlaubsfotos.de\",\n \"mekhong.com\",\n \"melodymail.com\",\n \"meloo.com\",\n \"merda.flu.cc\",\n \"merda.igg.biz\",\n \"merda.nut.cc\",\n \"merda.usa.cc\",\n \"message.hu\",\n \"message.myspace.com\",\n \"messages.to\",\n \"metacrawler.com\",\n \"metalfan.com\",\n \"metaping.com\",\n \"metta.lk\",\n \"mexicomail.com\",\n \"mezimages.net\",\n \"mfsa.ru\",\n \"mierdamail.com\",\n \"miesto.sk\",\n \"mighty.co.za\",\n \"migmail.net\",\n \"migmail.pl\",\n \"migumail.com\",\n \"miho-nakayama.com\",\n \"mikrotamanet.com\",\n \"millionaireintraining.com\",\n \"millionairemail.com\",\n \"milmail.com\",\n \"mindless.com\",\n \"mindspring.com\",\n \"minister.com\",\n \"misery.net\",\n \"mittalweb.com\",\n \"mixmail.com\",\n \"mjfrogmail.com\",\n \"ml1.net\",\n \"mlb.bounce.ed10.net\",\n \"mm.st\",\n \"mns.ru\",\n \"moakt.com\",\n \"mobilbatam.com\",\n \"mobileninja.co.uk\",\n \"mochamail.com\",\n \"mohammed.com\",\n \"mohmal.com\",\n \"moldova.cc\",\n \"moldova.com\",\n \"moldovacc.com\",\n \"momslife.com\",\n \"monemail.com\",\n \"money.net\",\n \"montevideo.com.uy\",\n \"monumentmail.com\",\n \"moonman.com\",\n \"moose-mail.com\",\n \"mor19.uu.gl\",\n \"mortaza.com\",\n \"mosaicfx.com\",\n \"moscowmail.com\",\n \"most-wanted.com\",\n \"mostlysunny.com\",\n \"motormania.com\",\n \"movemail.com\",\n \"movieluver.com\",\n \"mox.pp.ua\",\n \"mp4.it\",\n \"mr-potatohead.com\",\n \"mscold.com\",\n \"msgbox.com\",\n \"msn.cn\",\n \"msn.com\",\n \"msn.nl\",\n \"mt2015.com\",\n \"mt2016.com\",\n \"mttestdriver.com\",\n \"muehlacker.tk\",\n \"muell.icu\",\n \"muellmail.com\",\n \"muellemail.com\",\n \"mundomail.net\",\n \"munich.com\",\n \"music.com\",\n \"musician.org\",\n \"musicscene.org\",\n \"muskelshirt.de\",\n \"muslim.com\",\n \"muslimsonline.com\",\n \"mutantweb.com\",\n \"mvrht.com\",\n \"my.com\",\n \"my10minutemail.com\",\n \"mybox.it\",\n \"mycabin.com\",\n \"mycity.com\",\n \"mycool.com\",\n \"mydomain.com\",\n \"mydotcomaddress.com\",\n \"myfamily.com\",\n \"myfastmail.com\",\n \"mygo.com\",\n \"myiris.com\",\n \"mymacmail.com\",\n \"mynamedot.com\",\n \"mynet.com\",\n \"mynetaddress.com\",\n \"mynetstore.de\",\n \"myownemail.com\",\n \"myownfriends.com\",\n \"mypacks.net\",\n \"mypad.com\",\n \"mypersonalemail.com\",\n \"myplace.com\",\n \"myrambler.ru\",\n \"myrealbox.com\",\n \"myremarq.com\",\n \"myself.com\",\n \"myspaceinc.net\",\n \"myspamless.com\",\n \"mystupidjob.com\",\n \"mytemp.email\",\n \"mythirdage.com\",\n \"myway.com\",\n \"myworldmail.com\",\n \"n2.com\",\n \"n2baseball.com\",\n \"n2business.com\",\n \"n2mail.com\",\n \"n2soccer.com\",\n \"n2software.com\",\n \"nabc.biz\",\n \"nafe.com\",\n \"nagpal.net\",\n \"nakedgreens.com\",\n \"name.com\",\n \"nameplanet.com\",\n \"nandomail.com\",\n \"naplesnews.net\",\n \"naseej.com\",\n \"nativestar.net\",\n \"nativeweb.net\",\n \"naui.net\",\n \"naver.com\",\n \"navigator.lv\",\n \"navy.org\",\n \"naz.com\",\n \"nc.rr.com\",\n \"nchoicemail.com\",\n \"neeva.net\",\n \"nemra1.com\",\n \"nenter.com\",\n \"neo.rr.com\",\n \"nervhq.org\",\n \"net-c.be\",\n \"net-c.ca\",\n \"net-c.cat\",\n \"net-c.com\",\n \"net-c.es\",\n \"net-c.fr\",\n \"net-c.it\",\n \"net-c.lu\",\n \"net-c.nl\",\n \"net-c.pl\",\n \"net-pager.net\",\n \"net-shopping.com\",\n \"net4b.pt\",\n \"net4you.at\",\n \"netbounce.com\",\n \"netbroadcaster.com\",\n \"netby.dk\",\n \"netc.eu\",\n \"netc.fr\",\n \"netc.it\",\n \"netc.lu\",\n \"netc.pl\",\n \"netcenter-vn.net\",\n \"netcmail.com\",\n \"netcourrier.com\",\n \"netexecutive.com\",\n \"netexpressway.com\",\n \"netgenie.com\",\n \"netian.com\",\n \"netizen.com.ar\",\n \"netlane.com\",\n \"netlimit.com\",\n \"netmongol.com\",\n \"netnet.com.sg\",\n \"netnoir.net\",\n \"netpiper.com\",\n \"netposta.net\",\n \"netralink.com\",\n \"netscape.net\",\n \"netscapeonline.co.uk\",\n \"netspace.net.au\",\n \"netspeedway.com\",\n \"netsquare.com\",\n \"netster.com\",\n \"nettaxi.com\",\n \"nettemail.com\",\n \"netterchef.de\",\n \"netti.fi\",\n \"netzero.com\",\n \"netzero.net\",\n \"netzidiot.de\",\n \"neue-dateien.de\",\n \"neuro.md\",\n \"newmail.com\",\n \"newmail.net\",\n \"newmail.ru\",\n \"newsboysmail.com\",\n \"newyork.com\",\n \"nextmail.ru\",\n \"nexxmail.com\",\n \"nfmail.com\",\n \"nicebush.com\",\n \"nicegal.com\",\n \"nicholastse.net\",\n \"nicolastse.com\",\n \"nightmail.com\",\n \"nikopage.com\",\n \"nimail.com\",\n \"ninfan.com\",\n \"nirvanafan.com\",\n \"nmail.cf\",\n \"noavar.com\",\n \"nonpartisan.com\",\n \"nonspam.eu\",\n \"nonspammer.de\",\n \"norika-fujiwara.com\",\n \"norikomail.com\",\n \"northgates.net\",\n \"nospammail.net\",\n \"nospamthanks.info\",\n \"nowhere.org\",\n \"ntelos.net\",\n \"ntlhelp.net\",\n \"ntlworld.com\",\n \"ntscan.com\",\n \"null.net\",\n \"nullbox.info\",\n \"nur-fuer-spam.de\",\n \"nus.edu.sg\",\n \"nwldx.com\",\n \"nwytg.net\",\n \"nxt.ru\",\n \"ny.com\",\n \"nybella.com\",\n \"nyc.com\",\n \"nycmail.com\",\n \"nzoomail.com\",\n \"o-tay.com\",\n \"o2.co.uk\",\n \"oaklandas-fan.com\",\n \"oath.com\",\n \"oceanfree.net\",\n \"odaymail.com\",\n \"oddpost.com\",\n \"odmail.com\",\n \"office-dateien.de\",\n \"office-email.com\",\n \"offroadwarrior.com\",\n \"oicexchange.com\",\n \"oida.icu\",\n \"oikrach.com\",\n \"okbank.com\",\n \"okhuman.com\",\n \"okmad.com\",\n \"okmagic.com\",\n \"okname.net\",\n \"okuk.com\",\n \"oldies104mail.com\",\n \"ole.com\",\n \"olemail.com\",\n \"olympist.net\",\n \"olypmall.ru\",\n \"omaninfo.com\",\n \"omen.ru\",\n \"onebox.com\",\n \"onenet.com.ar\",\n \"oneoffmail.com\",\n \"onet.com.pl\",\n \"onet.eu\",\n \"onet.pl\",\n \"oninet.pt\",\n \"online.ie\",\n \"online.ms\",\n \"online.nl\",\n \"onlinewiz.com\",\n \"onmilwaukee.com\",\n \"onobox.com\",\n \"op.pl\",\n \"opayq.com\",\n \"openmailbox.org\",\n \"operafan.com\",\n \"operamail.com\",\n \"opoczta.pl\",\n \"optician.com\",\n \"optonline.net\",\n \"optusnet.com.au\",\n \"orange.fr\",\n \"orbitel.bg\",\n \"orgmail.net\",\n \"orthodontist.net\",\n \"osite.com.br\",\n \"oso.com\",\n \"otakumail.com\",\n \"our-computer.com\",\n \"our-office.com\",\n \"our.st\",\n \"ourbrisbane.com\",\n \"ourklips.com\",\n \"ournet.md\",\n \"outgun.com\",\n \"outlawspam.com\",\n \"outlook.at\",\n \"outlook.be\",\n \"outlook.cl\",\n \"outlook.co.id\",\n \"outlook.co.il\",\n \"outlook.co.nz\",\n \"outlook.co.th\",\n \"outlook.com\",\n \"outlook.com.au\",\n \"outlook.com.br\",\n \"outlook.com.gr\",\n \"outlook.com.pe\",\n \"outlook.com.tr\",\n \"outlook.com.vn\",\n \"outlook.cz\",\n \"outlook.de\",\n \"outlook.dk\",\n \"outlook.es\",\n \"outlook.fr\",\n \"outlook.hu\",\n \"outlook.ie\",\n \"outlook.in\",\n \"outlook.it\",\n \"outlook.jp\",\n \"outlook.kr\",\n \"outlook.lv\",\n \"outlook.my\",\n \"outlook.nl\",\n \"outlook.ph\",\n \"outlook.pt\",\n \"outlook.sa\",\n \"outlook.sg\",\n \"outlook.sk\",\n \"over-the-rainbow.com\",\n \"ownmail.net\",\n \"ozbytes.net.au\",\n \"ozemail.com.au\",\n \"pacbell.net\",\n \"pacific-ocean.com\",\n \"pacific-re.com\",\n \"pacificwest.com\",\n \"packersfan.com\",\n \"pagina.de\",\n \"pagons.org\",\n \"pakistanmail.com\",\n \"pakistanoye.com\",\n \"palestinemail.com\",\n \"pandora.be\",\n \"papierkorb.me\",\n \"parkjiyoon.com\",\n \"parsmail.com\",\n \"partlycloudy.com\",\n \"partybombe.de\",\n \"partyheld.de\",\n \"partynight.at\",\n \"parvazi.com\",\n \"passwordmail.com\",\n \"pathfindermail.com\",\n \"pconnections.net\",\n \"pcpostal.com\",\n \"pcsrock.com\",\n \"pcusers.otherinbox.com\",\n \"pediatrician.com\",\n \"penpen.com\",\n \"peoplepc.com\",\n \"peopleweb.com\",\n \"pepbot.com\",\n \"perfectmail.com\",\n \"perso.be\",\n \"personal.ro\",\n \"personales.com\",\n \"petlover.com\",\n \"petml.com\",\n \"pettypool.com\",\n \"pezeshkpour.com\",\n \"pfui.ru\",\n \"phayze.com\",\n \"phone.net\",\n \"photo-impact.eu\",\n \"photographer.net\",\n \"phpbb.uu.gl\",\n \"phreaker.net\",\n \"phus8kajuspa.cu.cc\",\n \"physicist.net\",\n \"pianomail.com\",\n \"pickupman.com\",\n \"picusnet.com\",\n \"pigpig.net\",\n \"pinoymail.com\",\n \"piracha.net\",\n \"pisem.net\",\n \"pjjkp.com\",\n \"planet.nl\",\n \"planetaccess.com\",\n \"planetarymotion.net\",\n \"planetearthinter.net\",\n \"planetmail.com\",\n \"planetmail.net\",\n \"planetout.com\",\n \"plasa.com\",\n \"playersodds.com\",\n \"playful.com\",\n \"playstation.sony.com\",\n \"plus.com\",\n \"plus.google.com\",\n \"plusmail.com.br\",\n \"pmail.net\",\n \"pobox.hu\",\n \"pobox.sk\",\n \"pochta.ru\",\n \"poczta.fm\",\n \"poczta.onet.pl\",\n \"poetic.com\",\n \"pokemail.net\",\n \"pokemonpost.com\",\n \"pokepost.com\",\n \"polandmail.com\",\n \"polbox.com\",\n \"policeoffice.com\",\n \"politician.com\",\n \"polizisten-duzer.de\",\n \"polyfaust.com\",\n \"pool-sharks.com\",\n \"poond.com\",\n \"popaccount.com\",\n \"popmail.com\",\n \"popsmail.com\",\n \"popstar.com\",\n \"portugalmail.com\",\n \"portugalmail.pt\",\n \"portugalnet.com\",\n \"positive-thinking.com\",\n \"post.com\",\n \"post.cz\",\n \"post.sk\",\n \"posta.ro\",\n \"postaccesslite.com\",\n \"postafree.com\",\n \"postaweb.com\",\n \"posteo.de\",\n \"postfach.cc\",\n \"postinbox.com\",\n \"postino.ch\",\n \"postmark.net\",\n \"postmaster.co.uk\",\n \"postmaster.twitter.com\",\n \"postpro.net\",\n \"pousa.com\",\n \"powerfan.com\",\n \"pp.inet.fi\",\n \"praize.com\",\n \"premium-mail.fr\",\n \"premiumservice.com\",\n \"presidency.com\",\n \"press.co.jp\",\n \"priest.com\",\n \"primposta.com\",\n \"primposta.hu\",\n \"privy-mail.com\",\n \"privymail.de\",\n \"pro.hu\",\n \"probemail.com\",\n \"prodigy.net\",\n \"progetplus.it\",\n \"programist.ru\",\n \"programmer.net\",\n \"programozo.hu\",\n \"proinbox.com\",\n \"project2k.com\",\n \"promessage.com\",\n \"prontomail.com\",\n \"protestant.com\",\n \"protonmail.com\",\n \"prydirect.info\",\n \"psv-supporter.com\",\n \"ptd.net\",\n \"public-files.de\",\n \"public.usa.com\",\n \"publicist.com\",\n \"pulp-fiction.com\",\n \"punkass.com\",\n \"purpleturtle.com\",\n \"put2.net\",\n \"pwrby.com\",\n \"q.com\",\n \"qatarmail.com\",\n \"qmail.com\",\n \"qprfans.com\",\n \"qq.com\",\n \"qrio.com\",\n \"quackquack.com\",\n \"quakemail.com\",\n \"qualityservice.com\",\n \"quantentunnel.de\",\n \"qudsmail.com\",\n \"quepasa.com\",\n \"quickhosts.com\",\n \"quickmail.nl\",\n \"quicknet.nl\",\n \"quickwebmail.com\",\n \"quiklinks.com\",\n \"quikmail.com\",\n \"qv7.info\",\n \"qwest.net\",\n \"qwestoffice.net\",\n \"r-o-o-t.com\",\n \"raakim.com\",\n \"racedriver.com\",\n \"racefanz.com\",\n \"racingfan.com.au\",\n \"racingmail.com\",\n \"radicalz.com\",\n \"radiku.ye.vc\",\n \"radiologist.net\",\n \"ragingbull.com\",\n \"ralib.com\",\n \"rambler.ru\",\n \"ranmamail.com\",\n \"rastogi.net\",\n \"ratt-n-roll.com\",\n \"rattle-snake.com\",\n \"raubtierbaendiger.de\",\n \"ravearena.com\",\n \"ravemail.com\",\n \"razormail.com\",\n \"rccgmail.org\",\n \"rcn.com\",\n \"realemail.net\",\n \"reality-concept.club\",\n \"reallyfast.biz\",\n \"reallyfast.info\",\n \"reallymymail.com\",\n \"realradiomail.com\",\n \"realtyagent.com\",\n \"reborn.com\",\n \"reconmail.com\",\n \"recycler.com\",\n \"recyclermail.com\",\n \"rediff.com\",\n \"rediffmail.com\",\n \"rediffmailpro.com\",\n \"rednecks.com\",\n \"redseven.de\",\n \"redsfans.com\",\n \"regbypass.com\",\n \"reggaefan.com\",\n \"registerednurses.com\",\n \"regspaces.tk\",\n \"reincarnate.com\",\n \"religious.com\",\n \"remail.ga\",\n \"renren.com\",\n \"repairman.com\",\n \"reply.hu\",\n \"reply.ticketmaster.com\",\n \"representative.com\",\n \"rescueteam.com\",\n \"resgedvgfed.tk\",\n \"resource.calendar.google.com\",\n \"resumemail.com\",\n \"rezai.com\",\n \"rhyta.com\",\n \"richmondhill.com\",\n \"rickymail.com\",\n \"rin.ru\",\n \"riopreto.com.br\",\n \"rklips.com\",\n \"rn.com\",\n \"ro.ru\",\n \"roadrunner.com\",\n \"roanokemail.com\",\n \"rock.com\",\n \"rocketmail.com\",\n \"rocketship.com\",\n \"rockfan.com\",\n \"rodrun.com\",\n \"rogers.com\",\n \"rome.com\",\n \"roosh.com\",\n \"rootprompt.org\",\n \"roughnet.com\",\n \"royal.net\",\n \"rr.com\",\n \"rrohio.com\",\n \"rsub.com\",\n \"rubyridge.com\",\n \"runbox.com\",\n \"rushpost.com\",\n \"ruttolibero.com\",\n \"rvshop.com\",\n \"s-mail.com\",\n \"sabreshockey.com\",\n \"sacbeemail.com\",\n \"saeuferleber.de\",\n \"safe-mail.net\",\n \"safrica.com\",\n \"sagra.lu\",\n \"sags-per-mail.de\",\n \"sailormoon.com\",\n \"saintly.com\",\n \"saintmail.net\",\n \"sale-sale-sale.com\",\n \"salehi.net\",\n \"salesperson.net\",\n \"samerica.com\",\n \"samilan.net\",\n \"sammimail.com\",\n \"sandelf.de\",\n \"sanfranmail.com\",\n \"sanook.com\",\n \"sapo.pt\",\n \"saudia.com\",\n \"savelife.ml\",\n \"sayhi.net\",\n \"saynotospams.com\",\n \"sbcglbal.net\",\n \"sbcglobal.com\",\n \"sbcglobal.net\",\n \"scandalmail.com\",\n \"scarlet.nl\",\n \"schafmail.de\",\n \"schizo.com\",\n \"schmusemail.de\",\n \"schoolemail.com\",\n \"schoolmail.com\",\n \"schoolsucks.com\",\n \"schreib-doch-mal-wieder.de\",\n \"schweiz.org\",\n \"sci.fi\",\n \"scientist.com\",\n \"scifianime.com\",\n \"scotland.com\",\n \"scotlandmail.com\",\n \"scottishmail.co.uk\",\n \"scottsboro.org\",\n \"scubadiving.com\",\n \"seanet.com\",\n \"search.ua\",\n \"searchwales.com\",\n \"sebil.com\",\n \"seckinmail.com\",\n \"secret-police.com\",\n \"secretary.net\",\n \"secretservices.net\",\n \"secure-mail.biz\",\n \"secure-mail.cc\",\n \"seductive.com\",\n \"seekstoyboy.com\",\n \"seguros.com.br\",\n \"selfdestructingmail.com\",\n \"send.hu\",\n \"sendme.cz\",\n \"sendspamhere.com\",\n \"sent.as\",\n \"sent.at\",\n \"sent.com\",\n \"sentrismail.com\",\n \"serga.com.ar\",\n \"servemymail.com\",\n \"servermaps.net\",\n \"sesmail.com\",\n \"sexmagnet.com\",\n \"seznam.cz\",\n \"shahweb.net\",\n \"shaniastuff.com\",\n \"shared-files.de\",\n \"sharedmailbox.org\",\n \"sharmaweb.com\",\n \"shaw.ca\",\n \"she.com\",\n \"shieldedmail.com\",\n \"shinedyoureyes.com\",\n \"shitaway.cf\",\n \"shitaway.cu.cc\",\n \"shitaway.ga\",\n \"shitaway.gq\",\n \"shitaway.ml\",\n \"shitaway.tk\",\n \"shitaway.usa.cc\",\n \"shitmail.de\",\n \"shitmail.org\",\n \"shitware.nl\",\n \"shockinmytown.cu.cc\",\n \"shootmail.com\",\n \"shortmail.com\",\n \"shotgun.hu\",\n \"showslow.de\",\n \"shuf.com\",\n \"sialkotcity.com\",\n \"sialkotian.com\",\n \"sialkotoye.com\",\n \"sify.com\",\n \"silkroad.net\",\n \"sina.cn\",\n \"sina.com\",\n \"sinamail.com\",\n \"singapore.com\",\n \"singles4jesus.com\",\n \"singmail.com\",\n \"singnet.com.sg\",\n \"sinnlos-mail.de\",\n \"siteposter.net\",\n \"skafan.com\",\n \"skeefmail.com\",\n \"skim.com\",\n \"skizo.hu\",\n \"skrx.tk\",\n \"sky.com\",\n \"skynet.be\",\n \"slamdunkfan.com\",\n \"slave-auctions.net\",\n \"slingshot.com\",\n \"slippery.email\",\n \"slipry.net\",\n \"slo.net\",\n \"slotter.com\",\n \"smap.4nmv.ru\",\n \"smapxsmap.net\",\n \"smashmail.de\",\n \"smellrear.com\",\n \"smileyface.comsmithemail.net\",\n \"smoothmail.com\",\n \"sms.at\",\n \"snail-mail.net\",\n \"snakebite.com\",\n \"snakemail.com\",\n \"sndt.net\",\n \"sneakemail.com\",\n \"snet.net\",\n \"sniper.hu\",\n \"snkmail.com\",\n \"snoopymail.com\",\n \"snowboarding.com\",\n \"snowdonia.net\",\n \"socamail.com\",\n \"socceramerica.net\",\n \"soccermail.com\",\n \"soccermomz.com\",\n \"social-mailer.tk\",\n \"socialworker.net\",\n \"sociologist.com\",\n \"sofort-mail.de\",\n \"sofortmail.de\",\n \"softhome.net\",\n \"sogou.com\",\n \"sohu.com\",\n \"sol.dk\",\n \"solar-impact.pro\",\n \"solcon.nl\",\n \"soldier.hu\",\n \"solution4u.com\",\n \"solvemail.info\",\n \"songwriter.net\",\n \"sonnenkinder.org\",\n \"soodomail.com\",\n \"soon.com\",\n \"soulfoodcookbook.com\",\n \"sp.nl\",\n \"space-bank.com\",\n \"space-man.com\",\n \"space-ship.com\",\n \"space-travel.com\",\n \"space.com\",\n \"spacemart.com\",\n \"spacetowns.com\",\n \"spacewar.com\",\n \"spainmail.com\",\n \"spam.2012-2016.ru\",\n \"spamavert.com\",\n \"spambob.com\",\n \"spambob.org\",\n \"spambog.net\",\n \"spambooger.com\",\n \"spam.care\",\n \"spamcero.com\",\n \"spamdecoy.net\",\n \"spameater.com\",\n \"spameater.org\",\n \"spamex.com\",\n \"spamfree24.info\",\n \"spamfree24.net\",\n \"spamgoes.in\",\n \"spaminator.de\",\n \"spamkill.info\",\n \"spaml.com\",\n \"spamoff.de\",\n \"spamstack.net\",\n \"spartapiet.com\",\n \"spazmail.com\",\n \"speedemail.net\",\n \"speedpost.net\",\n \"speedrules.com\",\n \"speedrulz.com\",\n \"speedymail.org\",\n \"sperke.net\",\n \"spils.com\",\n \"spinfinder.com\",\n \"spl.at\",\n \"spoko.pl\",\n \"spoofmail.de\",\n \"sportemail.com\",\n \"sportsmail.com\",\n \"sporttruckdriver.com\",\n \"spray.no\",\n \"spray.se\",\n \"spybox.de\",\n \"spymac.com\",\n \"sraka.xyz\",\n \"srilankan.net\",\n \"ssl-mail.com\",\n \"st-davids.net\",\n \"stade.fr\",\n \"stalag13.com\",\n \"stargateradio.com\",\n \"starmail.com\",\n \"starmail.org\",\n \"starmedia.com\",\n \"starplace.com\",\n \"starspath.com\",\n \"start.com.au\",\n \"startkeys.com\",\n \"stinkefinger.net\",\n \"stipte.nl\",\n \"stoned.com\",\n \"stones.com\",\n \"stop-my-spam.pp.ua\",\n \"stopdropandroll.com\",\n \"storksite.com\",\n \"streber24.de\",\n \"streetwisemail.com\",\n \"stribmail.com\",\n \"strompost.com\",\n \"strongguy.com\",\n \"student.su\",\n \"studentcenter.org\",\n \"stuffmail.de\",\n \"subram.com\",\n \"sudanmail.net\",\n \"sudolife.me\",\n \"sudolife.net\",\n \"sudomail.biz\",\n \"sudomail.com\",\n \"sudomail.net\",\n \"sudoverse.com\",\n \"sudoverse.net\",\n \"sudoweb.net\",\n \"sudoworld.com\",\n \"sudoworld.net\",\n \"suhabi.com\",\n \"suisse.org\",\n \"sukhumvit.net\",\n \"sunpoint.net\",\n \"sunrise-sunset.com\",\n \"sunsgame.com\",\n \"sunumail.sn\",\n \"suomi24.fi\",\n \"superdada.com\",\n \"supereva.it\",\n \"supermail.ru\",\n \"superrito.com\",\n \"superstachel.de\",\n \"surat.com\",\n \"surf3.net\",\n \"surfree.com\",\n \"surfy.net\",\n \"surgical.net\",\n \"surimail.com\",\n \"survivormail.com\",\n \"susi.ml\",\n \"svk.jp\",\n \"swbell.net\",\n \"sweb.cz\",\n \"swedenmail.com\",\n \"sweetville.net\",\n \"sweetxxx.de\",\n \"swift-mail.com\",\n \"swiftdesk.com\",\n \"swingeasyhithard.com\",\n \"swingfan.com\",\n \"swipermail.zzn.com\",\n \"swirve.com\",\n \"swissinfo.org\",\n \"swissmail.com\",\n \"swissmail.net\",\n \"switchboardmail.com\",\n \"switzerland.org\",\n \"sx172.com\",\n \"syom.com\",\n \"syriamail.com\",\n \"t-online.de\",\n \"t.psh.me\",\n \"t2mail.com\",\n \"tafmail.com\",\n \"takuyakimura.com\",\n \"talk21.com\",\n \"talkcity.com\",\n \"talkinator.com\",\n \"tamil.com\",\n \"tampabay.rr.com\",\n \"tankpolice.com\",\n \"tatanova.com\",\n \"tbwt.com\",\n \"tcc.on.ca\",\n \"tds.net\",\n \"teachermail.net\",\n \"teachers.org\",\n \"teamdiscovery.com\",\n \"teamtulsa.net\",\n \"tech-center.com\",\n \"tech4peace.org\",\n \"techemail.com\",\n \"techie.com\",\n \"technisamail.co.za\",\n \"technologist.com\",\n \"techscout.com\",\n \"techspot.com\",\n \"teenagedirtbag.com\",\n \"tele2.nl\",\n \"telebot.com\",\n \"telefonica.net\",\n \"teleline.es\",\n \"telenet.be\",\n \"telepac.pt\",\n \"telerymd.com\",\n \"teleworm.us\",\n \"telfort.nl\",\n \"telfortglasvezel.nl\",\n \"telinco.net\",\n \"telkom.net\",\n \"telpage.net\",\n \"telstra.com\",\n \"telstra.com.au\",\n \"temp-mail.com\",\n \"temp-mail.de\",\n \"temp.headstrong.de\",\n \"tempail.com\",\n \"tempemail.biz\",\n \"tempmail.us\",\n \"tempmail2.com\",\n \"tempmaildemo.com\",\n \"tempmailer.com\",\n \"temporarioemail.com.br\",\n \"temporaryemail.us\",\n \"tempthe.net\",\n \"tempymail.com\",\n \"temtulsa.net\",\n \"tenchiclub.com\",\n \"tenderkiss.com\",\n \"tennismail.com\",\n \"terminverpennt.de\",\n \"terra.cl\",\n \"terra.com\",\n \"terra.com.ar\",\n \"terra.com.br\",\n \"terra.es\",\n \"test.com\",\n \"test.de\",\n \"tfanus.com.er\",\n \"tfz.net\",\n \"thai.com\",\n \"thaimail.com\",\n \"thaimail.net\",\n \"thanksnospam.info\",\n \"the-african.com\",\n \"the-airforce.com\",\n \"the-aliens.com\",\n \"the-american.com\",\n \"the-animal.com\",\n \"the-army.com\",\n \"the-astronaut.com\",\n \"the-beauty.com\",\n \"the-big-apple.com\",\n \"the-biker.com\",\n \"the-boss.com\",\n \"the-brazilian.com\",\n \"the-canadian.com\",\n \"the-canuck.com\",\n \"the-captain.com\",\n \"the-chinese.com\",\n \"the-country.com\",\n \"the-cowboy.com\",\n \"the-davis-home.com\",\n \"the-dutchman.com\",\n \"the-eagles.com\",\n \"the-englishman.com\",\n \"the-fastest.net\",\n \"the-fool.com\",\n \"the-frenchman.com\",\n \"the-galaxy.net\",\n \"the-genius.com\",\n \"the-gentleman.com\",\n \"the-german.com\",\n \"the-gremlin.com\",\n \"the-hooligan.com\",\n \"the-italian.com\",\n \"the-japanese.com\",\n \"the-lair.com\",\n \"the-madman.com\",\n \"the-mailinglist.com\",\n \"the-marine.com\",\n \"the-master.com\",\n \"the-mexican.com\",\n \"the-ministry.com\",\n \"the-monkey.com\",\n \"the-newsletter.net\",\n \"the-pentagon.com\",\n \"the-police.com\",\n \"the-prayer.com\",\n \"the-professional.com\",\n \"the-quickest.com\",\n \"the-russian.com\",\n \"the-snake.com\",\n \"the-spaceman.com\",\n \"the-stock-market.com\",\n \"the-student.net\",\n \"the-whitehouse.net\",\n \"the-wild-west.com\",\n \"the18th.com\",\n \"thecoolguy.com\",\n \"thecriminals.com\",\n \"thedoghousemail.com\",\n \"thedorm.com\",\n \"theend.hu\",\n \"theglobe.com\",\n \"thegolfcourse.com\",\n \"thegooner.com\",\n \"theheadoffice.com\",\n \"theinternetemail.com\",\n \"thelanddownunder.com\",\n \"themail.com\",\n \"themillionare.net\",\n \"theoffice.net\",\n \"theplate.com\",\n \"thepokerface.com\",\n \"thepostmaster.net\",\n \"theraces.com\",\n \"theracetrack.com\",\n \"therapist.net\",\n \"thestreetfighter.com\",\n \"theteebox.com\",\n \"thewatercooler.com\",\n \"thewebpros.co.uk\",\n \"thewizzard.com\",\n \"thewizzkid.com\",\n \"thezhangs.net\",\n \"thirdage.com\",\n \"thisgirl.com\",\n \"thraml.com\",\n \"throwam.com\",\n \"thundermail.com\",\n \"tidni.com\",\n \"timein.net\",\n \"tiscali.at\",\n \"tiscali.be\",\n \"tiscali.co.uk\",\n \"tiscali.it\",\n \"tiscali.lu\",\n \"tiscali.se\",\n \"tkcity.com\",\n \"tmail.ws\",\n \"toast.com\",\n \"toke.com\",\n \"tom.com\",\n \"toolsource.com\",\n \"toomail.biz\",\n \"toothfairy.com\",\n \"topchat.com\",\n \"topgamers.co.uk\",\n \"topletter.com\",\n \"topmail-files.de\",\n \"topmail.com.ar\",\n \"topsurf.com\",\n \"torchmail.com\",\n \"torontomail.com\",\n \"tortenboxer.de\",\n \"totalmail.de\",\n \"totalmusic.net\",\n \"townisp.com\",\n \"tpg.com.au\",\n \"trash-amil.com\",\n \"trash-mail.ga\",\n \"trash-mail.ml\",\n \"trash2010.com\",\n \"trash2011.com\",\n \"trashdevil.de\",\n \"trashymail.net\",\n \"travel.li\",\n \"trayna.com\",\n \"trialbytrivia.com\",\n \"trickmail.net\",\n \"trimix.cn\",\n \"tritium.net\",\n \"trmailbox.com\",\n \"tropicalstorm.com\",\n \"truckerz.com\",\n \"truckracer.com\",\n \"truckracers.com\",\n \"trust-me.com\",\n \"truthmail.com\",\n \"tsamail.co.za\",\n \"ttml.co.in\",\n \"tunisiamail.com\",\n \"turboprinz.de\",\n \"turboprinzessin.de\",\n \"turkey.com\",\n \"turual.com\",\n \"tut.by\",\n \"tvstar.com\",\n \"twc.com\",\n \"twcny.com\",\n \"twinstarsmail.com\",\n \"tx.rr.com\",\n \"tycoonmail.com\",\n \"typemail.com\",\n \"u14269.ml\",\n \"u2club.com\",\n \"ua.fm\",\n \"uae.ac\",\n \"uaemail.com\",\n \"ubbi.com\",\n \"ubbi.com.br\",\n \"uboot.com\",\n \"uk2.net\",\n \"uk2k.com\",\n \"uk2net.com\",\n \"uk7.net\",\n \"uk8.net\",\n \"ukbuilder.com\",\n \"ukcool.com\",\n \"ukdreamcast.com\",\n \"ukmail.org\",\n \"ukmax.com\",\n \"ukr.net\",\n \"uku.co.uk\",\n \"ultra.fyi\",\n \"ultapulta.com\",\n \"ultrapostman.com\",\n \"ummah.org\",\n \"umpire.com\",\n \"unbounded.com\",\n \"unforgettable.com\",\n \"uni.de\",\n \"unican.es\",\n \"unihome.com\",\n \"unitybox.de\",\n \"universal.pt\",\n \"uno.ee\",\n \"uno.it\",\n \"unofree.it\",\n \"unterderbruecke.de\",\n \"uol.com.ar\",\n \"uol.com.br\",\n \"uol.com.co\",\n \"uol.com.mx\",\n \"uol.com.ve\",\n \"uole.com\",\n \"uole.com.ve\",\n \"uolmail.com\",\n \"uomail.com\",\n \"upc.nl\",\n \"upcmail.nl\",\n \"upf.org\",\n \"uplipht.com\",\n \"ureach.com\",\n \"urgentmail.biz\",\n \"urhen.com\",\n \"uroid.com\",\n \"usa.com\",\n \"usa.net\",\n \"usaaccess.net\",\n \"usanetmail.com\",\n \"used-product.fr\",\n \"usermail.com\",\n \"username.e4ward.com\",\n \"usma.net\",\n \"usmc.net\",\n \"uswestmail.net\",\n \"uymail.com\",\n \"uyuyuy.com\",\n \"v-sexi.com\",\n \"vaasfc4.tk\",\n \"vahoo.com\",\n \"valemail.net\",\n \"vampirehunter.com\",\n \"varbizmail.com\",\n \"vcmail.com\",\n \"velnet.co.uk\",\n \"velocall.com\",\n \"verizon.net\",\n \"verizonmail.com\",\n \"verlass-mich-nicht.de\",\n \"versatel.nl\",\n \"veryfast.biz\",\n \"veryrealemail.com\",\n \"veryspeedy.net\",\n \"vfemail.net\",\n \"vickaentb.tk\",\n \"videotron.ca\",\n \"viditag.com\",\n \"viewcastmedia.com\",\n \"viewcastmedia.net\",\n \"vinbazar.com\",\n \"violinmakers.co.uk\",\n \"vip.126.com\",\n \"vip.21cn.com\",\n \"vip.citiz.net\",\n \"vip.gr\",\n \"vip.onet.pl\",\n \"vip.qq.com\",\n \"vip.sina.com\",\n \"vipmail.ru\",\n \"virgilio.it\",\n \"virgin.net\",\n \"virginbroadband.com.au\",\n \"virginmedia.com\",\n \"virtualmail.com\",\n \"visitmail.com\",\n \"visitweb.com\",\n \"visto.com\",\n \"visualcities.com\",\n \"vivavelocity.com\",\n \"vivianhsu.net\",\n \"vjtimail.com\",\n \"vkcode.ru\",\n \"vnet.citiz.net\",\n \"vnn.vn\",\n \"vodafone.nl\",\n \"vodafonethuis.nl\",\n \"volcanomail.com\",\n \"vollbio.de\",\n \"volloeko.de\",\n \"vomoto.com\",\n \"vorsicht-bissig.de\",\n \"vorsicht-scharf.de\",\n \"vote-democrats.com\",\n \"vote-hillary.com\",\n \"vote-republicans.com\",\n \"vote4gop.org\",\n \"votenet.com\",\n \"vp.pl\",\n \"vr9.com\",\n \"vubby.com\",\n \"w3.to\",\n \"wahoye.com\",\n \"walala.org\",\n \"wales2000.net\",\n \"walkmail.net\",\n \"walkmail.ru\",\n \"wam.co.za\",\n \"wanadoo.es\",\n \"wanadoo.fr\",\n \"war-im-urlaub.de\",\n \"warmmail.com\",\n \"warpmail.net\",\n \"warrior.hu\",\n \"waumail.com\",\n \"wazabi.club\",\n \"wbdet.com\",\n \"wearab.net\",\n \"web-contact.info\",\n \"web-emailbox.eu\",\n \"web-ideal.fr\",\n \"web-mail.com.ar\",\n \"web-mail.pp.ua\",\n \"web-police.com\",\n \"web.de\",\n \"webave.com\",\n \"webcammail.com\",\n \"webcity.ca\",\n \"webcontact-france.eu\",\n \"webdream.com\",\n \"webindia123.com\",\n \"webjump.com\",\n \"webm4il.info\",\n \"webmail.co.yu\",\n \"webmail.co.za\",\n \"webmail.hu\",\n \"webmails.com\",\n \"webname.com\",\n \"webprogramming.com\",\n \"webstation.com\",\n \"websurfer.co.za\",\n \"webtopmail.com\",\n \"webuser.in\",\n \"wee.my\",\n \"weedmail.com\",\n \"weekmail.com\",\n \"weekonline.com\",\n \"wefjo.grn.cc\",\n \"weg-werf-email.de\",\n \"wegas.ru\",\n \"wegwerf-emails.de\",\n \"wegwerfmail.info\",\n \"wegwerpmailadres.nl\",\n \"wehshee.com\",\n \"weibsvolk.de\",\n \"weibsvolk.org\",\n \"weinenvorglueck.de\",\n \"welsh-lady.com\",\n \"westnet.com\",\n \"westnet.com.au\",\n \"wetrainbayarea.com\",\n \"wfgdfhj.tk\",\n \"whale-mail.com\",\n \"whartontx.com\",\n \"whatiaas.com\",\n \"whatpaas.com\",\n \"wheelweb.com\",\n \"whipmail.com\",\n \"whoever.com\",\n \"whoopymail.com\",\n \"whtjddn.33mail.com\",\n \"wi.rr.com\",\n \"wi.twcbc.com\",\n \"wickmail.net\",\n \"wideopenwest.com\",\n \"wildmail.com\",\n \"wilemail.com\",\n \"will-hier-weg.de\",\n \"windowslive.com\",\n \"windrivers.net\",\n \"windstream.net\",\n \"wingnutz.com\",\n \"winmail.com.au\",\n \"winning.com\",\n \"wir-haben-nachwuchs.de\",\n \"wir-sind-cool.org\",\n \"wirsindcool.de\",\n \"witty.com\",\n \"wiz.cc\",\n \"wkbwmail.com\",\n \"wmail.cf\",\n \"wo.com.cn\",\n \"woh.rr.com\",\n \"wolf-web.com\",\n \"wolke7.net\",\n \"wollan.info\",\n \"wombles.com\",\n \"women-at-work.org\",\n \"wongfaye.com\",\n \"wooow.it\",\n \"worker.com\",\n \"workmail.com\",\n \"worldemail.com\",\n \"worldnet.att.net\",\n \"wormseo.cn\",\n \"wosaddict.com\",\n \"wouldilie.com\",\n \"wovz.cu.cc\",\n \"wowgirl.com\",\n \"wowmail.com\",\n \"wowway.com\",\n \"wp.pl\",\n \"wptamail.com\",\n \"wrexham.net\",\n \"writeme.com\",\n \"writemeback.com\",\n \"wrongmail.com\",\n \"wtvhmail.com\",\n \"wwdg.com\",\n \"www.com\",\n \"www.e4ward.com\",\n \"www2000.net\",\n \"wx88.net\",\n \"wxs.net\",\n \"x-mail.net\",\n \"x-networks.net\",\n \"x5g.com\",\n \"xagloo.com\",\n \"xaker.ru\",\n \"xing886.uu.gl\",\n \"xmastime.com\",\n \"xms.nl\",\n \"xmsg.com\",\n \"xoom.com\",\n \"xoxox.cc\",\n \"xpressmail.zzn.com\",\n \"xs4all.nl\",\n \"xsecurity.org\",\n \"xsmail.com\",\n \"xtra.co.nz\",\n \"xuno.com\",\n \"xww.ro\",\n \"xy9ce.tk\",\n \"xyzfree.net\",\n \"xzapmail.com\",\n \"y7mail.com\",\n \"ya.ru\",\n \"yada-yada.com\",\n \"yaho.com\",\n \"yahoo.ae\",\n \"yahoo.at\",\n \"yahoo.be\",\n \"yahoo.ca\",\n \"yahoo.ch\",\n \"yahoo.cn\",\n \"yahoo.co\",\n \"yahoo.co.id\",\n \"yahoo.co.il\",\n \"yahoo.co.in\",\n \"yahoo.co.jp\",\n \"yahoo.co.kr\",\n \"yahoo.co.nz\",\n \"yahoo.co.th\",\n \"yahoo.co.uk\",\n \"yahoo.co.za\",\n \"yahoo.com\",\n \"yahoo.com.ar\",\n \"yahoo.com.au\",\n \"yahoo.com.br\",\n \"yahoo.com.cn\",\n \"yahoo.com.co\",\n \"yahoo.com.hk\",\n \"yahoo.com.is\",\n \"yahoo.com.mx\",\n \"yahoo.com.my\",\n \"yahoo.com.ph\",\n \"yahoo.com.ru\",\n \"yahoo.com.sg\",\n \"yahoo.com.tr\",\n \"yahoo.com.tw\",\n \"yahoo.com.vn\",\n \"yahoo.cz\",\n \"yahoo.de\",\n \"yahoo.dk\",\n \"yahoo.es\",\n \"yahoo.fi\",\n \"yahoo.fr\",\n \"yahoo.gr\",\n \"yahoo.hu\",\n \"yahoo.ie\",\n \"yahoo.in\",\n \"yahoo.it\",\n \"yahoo.jp\",\n \"yahoo.nl\",\n \"yahoo.no\",\n \"yahoo.pl\",\n \"yahoo.pt\",\n \"yahoo.ro\",\n \"yahoo.ru\",\n \"yahoo.se\",\n \"yahoofs.com\",\n \"yalla.com\",\n \"yalla.com.lb\",\n \"yalook.com\",\n \"yam.com\",\n \"yandex.com\",\n \"yandex.pl\",\n \"yandex.ru\",\n \"yandex.ua\",\n \"yapost.com\",\n \"yapped.net\",\n \"yawmail.com\",\n \"yeah.net\",\n \"yebox.com\",\n \"yehey.com\",\n \"yemenmail.com\",\n \"yepmail.net\",\n \"yert.ye.vc\",\n \"yesey.net\",\n \"yifan.net\",\n \"ymail.com\",\n \"yogotemail.com\",\n \"yomail.info\",\n \"yopmail.com\",\n \"yopmail.pp.ua\",\n \"yopolis.com\",\n \"yopweb.com\",\n \"youareadork.com\",\n \"youmailr.com\",\n \"your-house.com\",\n \"your-mail.com\",\n \"yourinbox.com\",\n \"yourlifesucks.cu.cc\",\n \"yourlover.net\",\n \"yourname.freeservers.com\",\n \"yournightmare.com\",\n \"yours.com\",\n \"yourssincerely.com\",\n \"yoursubdomain.zzn.com\",\n \"yourteacher.net\",\n \"yourwap.com\",\n \"yuuhuu.net\",\n \"yyhmail.com\",\n \"z1p.biz\",\n \"za.com\",\n \"zahadum.com\",\n \"zaktouni.fr\",\n \"zeepost.nl\",\n \"zetmail.com\",\n \"zhaowei.net\",\n \"zhouemail.510520.org\",\n \"ziggo.nl\",\n \"zionweb.org\",\n \"zip.net\",\n \"zipido.com\",\n \"ziplip.com\",\n \"zipmail.com\",\n \"zipmail.com.br\",\n \"zipmax.com\",\n \"zmail.ru\",\n \"zoemail.com\",\n \"zoemail.org\",\n \"zoho.com\",\n \"zomg.info\",\n \"zonnet.nl\",\n \"zoominternet.net\",\n \"zubee.com\",\n \"zuvio.com\",\n \"zuzzurello.com\",\n \"zwallet.com\",\n \"zweb.in\",\n \"zxcv.com\",\n \"zxcvbnm.com\",\n \"zybermail.com\",\n \"zydecofan.com\",\n \"zzn.com\",\n \"zzom.co.uk\",\n \"zzz.com\",\n \"zzz.pl\"\n ]\n};","import { isNumber } from \"services/util/StringUtil\";\nimport { FreeEmaildDomains } from \"./FreeEmailDomains\";\n\nexport const isValidLrn = (lrn: string) => lrn && lrn.length === 10 && isNumber(lrn);\n\nexport function isEmailFromFreeDomain(email: string) {\n //get domain part\n var domainPart = email.split('@');\n\n if (domainPart.length === 2) {\n return FreeEmaildDomains.domains.find(e => e === domainPart[1]);\n }\n\n return false;\n}","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { BlockApi } from \"services/apis/BlockApi\";\nimport { Block, DefaultBlock } from \"services/apis/types/block/Block\";\nimport { PhoneNumberType } from \"services/apis/types/number/PhoneNumberType\";\nimport { isValidLrn } from \"services/validators/ValidationUtil\";\nimport { isNumber } from \"services/util/StringUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport {\n DefaultOptionalDataInfo,\n OptionalDataInfo\n} from \"services/apis/types/number/OptionalDataInfo\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { DefaultDpcSsnInfo, DpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport { SvType } from \"services/apis/types/block/SvType\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n block?: Block;\n};\n\nexport default function CreateBlockModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [block, setBlock] = useState(props.block ? props.block : DefaultBlock);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const closeModal = useCallback(props.closeModal, []);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateBlock(block);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n BlockApi.addOrModify(block)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"network.block.edit.successNotificationMessage\" })\n );\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n {!props.block && }\n {props.block && }\n
\n \n
\n
handleSubmit(e)}>\n
\n \n setBlock({ ...block, blockDash: value })}\n errorHandler={getErrorHandler(nameOf(\"blockDash\"))}\n />\n setBlock({ ...block, lrn: value })}\n errorHandler={getErrorHandler(nameOf(\"lrn\"))}\n />\n setBlock({ ...block, svType: value })}\n errorHandler={getErrorHandler(nameOf(\"svType\"))}\n options={Object.keys(SvType).map((x) => {\n return { key: x, value: SvType[x] };\n })}\n />\n \n

\n \n

\n \n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, classDpc: value }\n : { ...DefaultDpcSsnInfo, classDpc: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"classDpc\"))}\n />\n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, classSsn: value }\n : { ...DefaultDpcSsnInfo, classSsn: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"classSsn\"))}\n />\n \n \n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, lidbDpc: value }\n : { ...DefaultDpcSsnInfo, lidbDpc: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"lidbDpc\"))}\n />\n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, lidbSsn: value }\n : { ...DefaultDpcSsnInfo, lidbSsn: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"lidbSsn\"))}\n />\n \n \n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, isvmDpc: value }\n : { ...DefaultDpcSsnInfo, isvmDpc: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"isvmDpc\"))}\n />\n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, isvmSsn: value }\n : { ...DefaultDpcSsnInfo, isvmSsn: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"isvmSsn\"))}\n />\n \n \n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, cnamDpc: value }\n : { ...DefaultDpcSsnInfo, cnamDpc: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"cnamDpc\"))}\n />\n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, cnamSsn: value }\n : { ...DefaultDpcSsnInfo, cnamSsn: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"cnamSsn\"))}\n />\n \n \n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, wsmscDpc: value }\n : { ...DefaultDpcSsnInfo, wsmscDpc: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"wsmscDpc\"))}\n />\n \n setBlock({\n ...block,\n networkData: block.networkData\n ? { ...block.networkData, wsmscSsn: value }\n : { ...DefaultDpcSsnInfo, wsmscSsn: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"networkData\", \"wsmscSsn\"))}\n />\n \n

\n \n

\n \n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, altSpId: value }\n : { ...DefaultOptionalDataInfo, altSpId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altSpId\")\n )}\n />\n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, lastAltSpId: value }\n : { ...DefaultOptionalDataInfo, lastAltSpId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"lastAltSpId\")\n )}\n />\n \n \n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, altBillingId: value }\n : { ...DefaultOptionalDataInfo, altBillingId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altBillingId\")\n )}\n />\n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, altUserLocationType: value }\n : { ...DefaultOptionalDataInfo, altUserLocationType: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altUserLocationType\")\n )}\n />\n \n \n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, altUserLocationValue: value }\n : { ...DefaultOptionalDataInfo, altUserLocationValue: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altUserLocationValue\")\n )}\n />\n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, voiceUri: value }\n : { ...DefaultOptionalDataInfo, voiceUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"voiceUri\")\n )}\n />\n \n \n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, mmsUri: value }\n : { ...DefaultOptionalDataInfo, mmsUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"mmsUri\")\n )}\n />\n \n setBlock({\n ...block,\n optionalData: block.optionalData\n ? { ...block.optionalData, smsUri: value }\n : { ...DefaultOptionalDataInfo, smsUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"smsUri\")\n )}\n />\n \n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateBlock = (block: Block) => {\n const errors: Errors = {};\n\n if (!block.blockDash || block.blockDash.length !== 7 || !isNumber(block.blockDash)) {\n AddError(errors, nameOf(\"blockDash\"), \"network.block.edit.blockDash.invalid\");\n }\n\n if (!isValidLrn(block.lrn)) {\n AddError(errors, nameOf(\"lrn\"), \"network.block.edit.lrn.invalid\");\n }\n\n if (!block.svType || !Object.values(PhoneNumberType).find((x) => x === block.svType)) {\n AddError(errors, nameOf(\"svType\"), \"network.block.edit.svType.invalid\");\n }\n\n return errors;\n};\n","import React, { useState } from \"react\";\nimport { Card, CardHeader, CardBody, Row } from \"reactstrap\";\nimport TextRow from \"components/networkExplorer/common/TextRow\";\nimport { Block } from \"services/apis/types/block/Block\";\nimport { BlockResult } from \"services/apis/types/block/BlockResult\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { ContaminatedNumber } from \"services/apis/types/block/ContaminatedNumber\";\nimport ActionDropdown from \"../common/ActionDropdown\";\nimport ActionDropdownItem from \"../common/ActionDropdownItem\";\nimport CreateBlockModal from \"./BlockModal\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n block: BlockResult;\n numbers: ContaminatedNumber[];\n};\n\nexport default function BlockDetailsCard(props: Props) {\n const intl = useIntl();\n const [actionsOpen, setActionsOpen] = useState(false);\n const [showModifyModal, setShowModifyModal] = useState(false);\n const block: Block = { ...props.block };\n\n return (\n <>\n
\n \n \n \n

\n \n

\n \n setActionsOpen((prevState) => !prevState)}>\n setShowModifyModal(true)}\n iconClassName=\"fa fa-edit\"\n labelId=\"network.block.actions.modify\"\n />\n \n \n
\n
\n \n \n \n \n {props.block.blockDash.substring(0, 6)}\n \n \n {props.block.codeOwnerInfo.ocn}\n \n \n {props.block.codeOwnerInfo.ocnName}\n \n \n {props.block.blockDash}\n \n \n \n \n \n {props.numbers.length}\n \n \n {props.block.ocn}\n \n \n {props.block.ocnName}\n \n \n
\n
\n
\n
\n {showModifyModal && (\n setShowModifyModal(false)} block={block} />\n )}\n \n );\n}\n","import React from \"react\";\nimport { Card, CardHeader, CardBody } from \"reactstrap\";\nimport TextRow from \"components/networkExplorer/common/TextRow\";\nimport { BlockResult } from \"services/apis/types/block/BlockResult\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\n\ntype Props = {\n block: BlockResult;\n};\n\nexport default function NpacDetailsCard(props: Props) {\n const intl = useIntl();\n\n return (\n
\n \n \n

\n \n

\n
\n \n \n \n {props.block.spId}\n \n {props.block.providerName}\n \n \n {props.block.altSpId}\n \n \n {props.block.lastAltSpId}\n \n \n
\n
\n
\n
\n );\n}\n","import React from \"react\";\nimport { Card, CardHeader, CardBody } from \"reactstrap\";\nimport TextRow from \"components/networkExplorer/common/TextRow\";\nimport { BlockResult } from \"services/apis/types/block/BlockResult\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\n\ntype Props = {\n block: BlockResult;\n};\n\nexport default function GeographicDetailsCard(props: Props) {\n const intl = useIntl();\n\n return (\n
\n \n \n

\n \n

\n
\n \n \n \n \n {props.block.lata}\n \n \n {props.block.state}\n \n \n {props.block.rateCenter}\n \n \n {props.block.lrn}\n \n \n
\n
\n
\n
\n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport { BlockResult } from \"services/apis/types/block/BlockResult\";\nimport { BlockApi } from \"services/apis/BlockApi\";\nimport NumbersCard from \"./NumbersCard\";\nimport { ContaminatedNumber } from \"services/apis/types/block/ContaminatedNumber\";\nimport BlockDetailsCard from \"./BlockDetailsCard\";\nimport NpacDetailsCard from \"./NpacDetailsCard\";\nimport GeographicDetailsCard from \"./GeographicDetailsCard\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { handleError } from \"services/util/ApiUtil\";\n\ntype Props = {\n blockDash: string;\n};\n\nexport default function BlockDetails(props: Props) {\n const [block, setBlock] = useState(undefined);\n const [numbers, setNumbers] = useState([]);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n useEffect(() => {\n let isMounted = true;\n setShowLoadingIndicator(true);\n setBlock(undefined);\n\n BlockApi.get(props.blockDash)\n .then(result => {\n if (isMounted) {\n setBlock(result);\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n\n BlockApi.getNumbers(props.blockDash)\n .then(result => {\n if (isMounted) {\n setNumbers(result);\n }\n })\n .catch(error => handleError(error));\n\n return () => {\n isMounted = false;\n };\n }, [props.blockDash]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {block && numbers && (\n \n \n \n \n \n \n \n \n \n \n )}\n \n )}\n \n );\n}\n","import { LrnResult } from \"./types/lrn/LrnResult\";\nimport { LrnNumbers } from \"./types/lrn/LrnNumbers\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\n\nexport const LrnApi = {\n get: (lrn: string): Promise => {\n return HttpClient.get(`lrn/${lrn}`);\n },\n getNumbers: (lrn: string): Promise => {\n return HttpClient.get(`lrn/${lrn}/numbers`);\n },\n create: (lrn: string, npacRegion: string): Promise => {\n return HttpClient.put(`lrn/${lrn}`, { npacRegion });\n },\n delete: (lrn: string, npacRegion: string | undefined): Promise => {\n return HttpClient.delete(`lrn/${lrn}`, { npacRegion });\n }\n};\n","import React, { useState, useContext } from \"react\";\nimport { LrnResult } from \"services/apis/types/lrn/LrnResult\";\nimport { FormGroup, Input } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { LrnApi } from \"services/apis/LrnApi\";\nimport { NetworkExplorerContext } from \"../NetworkExplorer\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n lrn: LrnResult;\n closeModal: () => void;\n};\n\nexport default function LrnDeleteModal(props: Props) {\n const intl = useIntl();\n const [npacRegion, setNpacRegion] = useState(props.lrn.npacRegions[0]);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const isMounted = useIsMounted();\n const networkExplorerContext = useContext(NetworkExplorerContext);\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n LrnApi.delete(props.lrn.lrn, npacRegion)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"network.lrn.delete.deleteNotification\" }));\n props.closeModal();\n\n if (props.lrn.npacRegions.length <= 1 && isMounted.current) {\n networkExplorerContext.clearSearch();\n }\n })\n .catch(error => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n {props.lrn.npacRegions.length > 1 && (\n \n \n setNpacRegion(event.target.value)}\n value={npacRegion}\n className=\"form-control form-control-sm\">\n {props.lrn.npacRegions.map(x => (\n \n ))}\n ;\n \n \n )}\n \n );\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { Card, CardHeader, CardBody, CardFooter, Row } from \"reactstrap\";\nimport { LrnResult } from \"services/apis/types/lrn/LrnResult\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport TextRow from \"../common/TextRow\";\nimport FormatDate from \"components/framework/date/FormateDate\";\nimport { CSVLink } from \"react-csv\";\nimport { LrnApi } from \"services/apis/LrnApi\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport ActionDropdown from \"../common/ActionDropdown\";\nimport ActionDropdownItem from \"../common/ActionDropdownItem\";\nimport LrnDeleteModal from \"./LrnDeleteModal\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\n\ntype Props = {\n lrn: LrnResult;\n};\n\nexport default function LrnDetailsCard(props: Props) {\n const intl = useIntl();\n const [numbers, setNumbers] = useState(new Array());\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [lrnIsAssociatedToUser] = useState(() => {\n const user = appContext.localStorageInfo.user\n const accountSpIds = user?.spIdProfiles.map(p => p.spId);\n\n const isAssociatedToUser = accountSpIds?.some(spid => spid === props.lrn.spId) ?? false;\n const isAdmin = user?.permissions &&\n (user?.permissions?.some(perm => perm === PermissionType.Admin.toString()) ?? false);\n\n return isAssociatedToUser || isAdmin;\n });\n\n const handleExport = () => {\n showInfoNotification(intl.formatMessage({ id: \"network.lrn.export.exportNotification\" }));\n };\n\n useEffect(() => {\n let isMounted = true;\n setShowLoadingIndicator(true);\n LrnApi.getNumbers(props.lrn.lrn)\n .then((lrnNumbers) => {\n if (isMounted) {\n setNumbers(lrnNumbers.numbers.length > 0 ? lrnNumbers.numbers.map((x) => [x]): \n new Array([\"No numbers assigned to this LRN\"]));\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n\n return () => {\n isMounted = false;\n };\n }, [props.lrn.lrn]);\n\n return (\n <>\n {props.lrn && (\n \n \n \n

{props.lrn.lrn}

\n \n setActionsOpen((prevState) => !prevState)}>\n setShowDeleteModal(true)}\n iconClassName=\"fal fa-trash-alt\"\n labelId=\"network.lrn.delete\"\n />\n \n \n
\n \n
\n
\n
\n \n \n \n \n <>{props.lrn.spId}\n \n \n <>{props.lrn.lrnId}\n \n \n \n \n \n <>{props.lrn.blockCount}\n \n \n <>{props.lrn.lata}\n \n \n
\n
\n \n \n \n \n \n \n \n \n \n
{intl.formatMessage({ id: \"network.lrn.quantity\" })}{props.lrn.numberCount}\n {showLoadingIndicator ? (\n \n ) : lrnIsAssociatedToUser && (\n handleExport()}\n data={numbers}\n target=\"_blank\"\n filename={`lrn-${props.lrn.lrn}.csv`}\n className={`btn btn-primary btn-sm float-end ml-5 ${theme === \"light\" ? \"bg-lblue\" : \"\"}`}>\n \n \n )}\n
\n
\n
\n )}\n {showDeleteModal && (\n setShowDeleteModal(false)} lrn={props.lrn} />\n )}\n \n );\n}","import React, { useState, useEffect } from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport { LrnApi } from \"services/apis/LrnApi\";\nimport { LrnResult } from \"services/apis/types/lrn/LrnResult\";\nimport LrnDetailsCard from \"./LrnDetailsCard\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { handleError } from \"services/util/ApiUtil\";\n\ntype Props = {\n lrn: string;\n};\n\nexport default function LrnDetails(props: Props) {\n const [lrn, setLrn] = useState(undefined);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n useEffect(() => {\n let isMounted = true;\n setShowLoadingIndicator(true);\n setLrn(undefined);\n\n LrnApi.get(props.lrn)\n .then(result => {\n if (isMounted) {\n setLrn(result);\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n\n return () => {\n isMounted = false;\n };\n }, [props.lrn]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {lrn && (\n \n \n \n \n \n )}\n \n )}\n \n );\n}\n","import { NpacRegion } from \"services/apis/types/number/NpacRegion\";\n\nexport type LrnModel = {\n lrn: string;\n npacRegion: keyof typeof NpacRegion;\n};\n\nexport const DefaultLrnModel: LrnModel = {\n lrn: \"\",\n npacRegion: \"MW\"\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { isNumber } from \"services/util/StringUtil\";\nimport { LrnApi } from \"services/apis/LrnApi\";\nimport { Errors, AddError, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { NpacRegion, npacRegionDropdownOptions } from \"services/apis/types/number/NpacRegion\";\nimport { LrnModel, DefaultLrnModel } from \"components/networkExplorer/types/LrnModel\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { ApiError } from \"services/apis/types/ApiError\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n};\n\nexport default function CreateLrnModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [lrnModel, setLrnModel] = useState(DefaultLrnModel);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const lrn = lrnModel.lrn.trim();\n const errors = validateLrn(lrn, lrnModel.npacRegion);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n LrnApi.create(lrn, lrnModel.npacRegion)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"network.lrn.create.successNotificationMessage\" })\n );\n closeModal();\n })\n .catch((error: ApiError) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n setLrnModel({ ...lrnModel, lrn: value })}\n errorHandler={getErrorHandler(nameOf(\"lrn\"))}\n />\n setLrnModel({ ...lrnModel, npacRegion: value })}\n errorHandler={getErrorHandler(nameOf(\"npacRegion\"))}\n options={npacRegionDropdownOptions}\n />\n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateLrn = (lrn: string, npacRegion: string) => {\n const errors: Errors = {};\n\n if (!lrn || lrn.length !== 10 || !isNumber(lrn)) {\n AddError(errors, nameOf(\"lrn\"), \"network.lrn.create.invalidLrn\");\n }\n\n if (!npacRegion || !NpacRegion[npacRegion]) {\n AddError(errors, nameOf(\"npacRegion\"), \"network.lrn.create.invalidNpacRegion\");\n }\n\n return errors;\n};\n","import { Moment } from \"moment\";\nimport { getUtcDateTomorrow } from \"services/util/DateUtil\";\n\nexport type NpaNxxModel = {\n npaNxx: string;\n npacRegion: string;\n effectiveDate: Moment;\n};\n\nexport const DefaultNpaNxxModel: NpaNxxModel = {\n npaNxx: \"\",\n npacRegion: \"MW\",\n effectiveDate: getUtcDateTomorrow()\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { NpaNxxModel, DefaultNpaNxxModel } from \"../types/NpaNxxModel\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { NpaNxxApi } from \"services/apis/NpaNxxApi\";\nimport { Moment } from \"moment\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { npacRegionDropdownOptions, NpacRegion } from \"services/apis/types/number/NpacRegion\";\nimport { isNumber } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n};\n\nexport default function CreateNpaNxxModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [npaNxxModel, setNpaNxxModel] = useState(DefaultNpaNxxModel);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const npaNxxObject: NpaNxxModel = {\n npaNxx: npaNxxModel.npaNxx.trim(),\n npacRegion: npaNxxModel.npacRegion,\n effectiveDate: npaNxxModel.effectiveDate\n };\n const errors = validateNpaNxx(npaNxxObject);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n NpaNxxApi.create(npaNxxModel.npaNxx, {\n effectiveDate: npaNxxModel.effectiveDate.toDate(),\n npacRegion: npaNxxModel.npacRegion\n })\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"network.npaNxx.edit.successNotificationMessage\" }));\n closeModal();\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n setNpaNxxModel({ ...npaNxxModel, npaNxx: value })}\n errorHandler={getErrorHandler(nameOf(\"npaNxx\"))}\n />\n setNpaNxxModel({ ...npaNxxModel, effectiveDate: value })}\n errorHandler={getErrorHandler(nameOf(\"effectiveDate\"))}\n />\n setNpaNxxModel({ ...npaNxxModel, npacRegion: value })}\n errorHandler={getErrorHandler(nameOf(\"npacRegion\"))}\n options={npacRegionDropdownOptions}\n />\n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateNpaNxx = (npaNxx: NpaNxxModel) => {\n const errors: Errors = {};\n\n if (!npaNxx.npaNxx || npaNxx.npaNxx.length !== 6 || !isNumber(npaNxx.npaNxx)) {\n AddError(errors, nameOf(\"npaNxx\"), \"network.npaNxx.edit.invalidNpaNxx\");\n }\n\n if (!npaNxx.npacRegion || !NpacRegion[npaNxx.npacRegion]) {\n AddError(errors, nameOf(\"npacRegion\"), \"network.npaNxx.edit.invalidNpacRegion\");\n }\n\n if (!npaNxx.effectiveDate) {\n AddError(errors, nameOf(\"effectiveDate\"), \"network.npaNxx.edit.invalidEffectiveDate\");\n }\n\n return errors;\n};\n","import { HttpClient } from \"../httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { NetworkProfileDto } from \"./types/networkProfile/NetworkProfileDto\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\n\nexport const NetworkProfileApi = {\n // TODO change endpoint name when API is changed\n list: (): Promise => {\n return HttpClient.get(\"networkprofile/\", true, true, '', ApiVersion.V2);\n },\n\n dualCarrierList: (isWholeSale: boolean): Promise => {\n return HttpClient.get(`networkprofile?isWholesale=${isWholeSale}`, true, true, '', ApiVersion.V3);\n },\n\n add: (networkProfile: NetworkProfileDto): Promise => {\n return HttpClient.post(\"networkprofile/\", networkProfile, true, true, '', ApiVersion.V2);\n },\n\n dualCarrierAdd: (networkProfile: NetworkProfileDto): Promise => {\n return HttpClient.post(\"networkprofile/\", networkProfile, true, true, '', ApiVersion.V3);\n },\n\n modify: (networkProfile: NetworkProfileDto): Promise => {\n return HttpClient.put(`networkprofile/${networkProfile.profileId}`, networkProfile, true, true, '', ApiVersion.V2);\n },\n\n dualCarrierModify: (networkProfile: NetworkProfileDto): Promise => {\n return HttpClient.put(`networkprofile/${networkProfile.profileId}`, networkProfile, true, true, '', ApiVersion.V3);\n },\n\n delete: (networkProfileId: string): Promise => {\n return HttpClient.delete(\"networkprofile/\" + networkProfileId, {}, true, true, '', ApiVersion.V2);\n },\n\n dualCarrierDelete: (networkProfileId: string, lata: string, lrn: string): Promise => {\n return HttpClient.delete(`networkprofile/${networkProfileId}?lrn=${lrn}&lata=${lata}`, {}, true, true, '', ApiVersion.V3);\n }\n};\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { NetworkProfileApi } from \"services/apis/NetworkProfileApi\";\nimport { NetworkExplorerContext } from \"../NetworkExplorer\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n id: string;\n lrn: string;\n lata: string;\n closeModal: () => void;\n};\n\nexport default function NetworkProfileDeleteModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const networkExplorerContext = useContext(NetworkExplorerContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n NetworkProfileApi.dualCarrierDelete(props.id, props.lata, props.lrn)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"network.networkProfile.delete.deleteNotification\" }));\n if (isMounted.current) {\n networkExplorerContext.networkProfileActionCallback();\n props.closeModal();\n }\n })\n .catch(error => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n \n );\n}\n","export enum ManageAction {\n Add,\n Modify,\n Delete\n}\n","import { DpcSsnInfo, DefaultDpcSsnInfo } from \"../block/DpcSsnInfo\";\nimport { OptionalDataInfo, DefaultOptionalDataInfo } from \"../number/OptionalDataInfo\";\nimport { SvType } from \"../block/SvType\";\nimport { string } from \"prop-types\";\n\nexport type NetworkProfileDto = {\n profileId: string;\n spId: string;\n description: string;\n lrn: string;\n lata: string;\n endUserLocation: string;\n endUserLocationType: string;\n billingId: string;\n svType: keyof typeof SvType;\n networkData: DpcSsnInfo;\n optionalData: OptionalDataInfo;\n selectPriority: string;\n isPrimary: boolean | null;\n isWholesale: boolean;\n chooseCustomers: boolean;\n applyToAll: boolean\n carrier: string;\n type: string;\n companyIds: any;\n};\n\nexport const DefaultNetworkProfileDto: NetworkProfileDto = {\n profileId: \"\",\n spId: \"\",\n lata: \"\",\n lrn: \"\",\n endUserLocation: \"\",\n endUserLocationType: \"\",\n billingId: \"\",\n networkData: DefaultDpcSsnInfo,\n optionalData: DefaultOptionalDataInfo,\n description: \"\",\n svType: SvType.Wireline,\n selectPriority: \"\",\n chooseCustomers: false,\n applyToAll: false,\n type: \"\",\n carrier: \"\",\n isPrimary: null,\n isWholesale: false,\n companyIds: []\n};\n","export enum SelectPriorityType{\n PRIMARY = \"PRIMARY\",\n SECONDARY = \"SECONDARY\"\n}","import React, { useContext, useEffect, useState } from \"react\";\nimport { Modal, Button } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { FormattedMessage } from \"react-intl\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport CheckBoxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n onSubmit: (selectedCustomers: SpIdProfileDto[]) => Promise;\n closeModal: () => void;\n isCustomerModalOpen: boolean;\n toggleCustomerModal: () => void;\n customers: SpIdProfileDto[];\n companyIds: string[]; // Array of company IDs\n selectedCustomers: SpIdProfileDto[]; // Previously selected customers\n};\n\nexport default function CustomersModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [selectAll, setSelectAll] = useState(false);\n const [customers, setCustomers] = useState([]);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => {\n if (props.isCustomerModalOpen) {\n if(props.companyIds?.length === 0 || props.selectedCustomers?.length === 0) {\n setCustomers(props.customers)\n }\n\n if(props.companyIds?.length > 0) {\n const initializedCustomers = props.customers.map((customer) => ({\n ...customer,\n selected: props.companyIds?.includes(customer.companyId),\n }));\n setCustomers(initializedCustomers);\n const allSelected = initializedCustomers.every(customer => customer.selected);\n setSelectAll(allSelected);\n }\n\n if(props.selectedCustomers.length > 0) {\n const initializedCustomers = props.customers.map((customer) => ({\n ...customer,\n selected: props.selectedCustomers.some(\n (selected) => selected.companyId === customer.companyId\n )\n }));\n setCustomers(initializedCustomers);\n // Check if all customers are selected initially\n const allSelected = initializedCustomers.every(customer => customer.selected);\n setSelectAll(allSelected);\n }\n }\n }, [props.isCustomerModalOpen, props.companyIds, props.selectedCustomers]);\n\n const handleSelectAll = () => {\n const newSelection = customers.map((customer) => ({\n ...customer,\n selected: !selectAll,\n }));\n setSelectAll(!selectAll);\n setCustomers(newSelection);\n };\n\n const handleIndividualSelect = (companyId: string) => {\n const newSelection = customers.map((customer) =>\n customer.companyId === companyId\n ? { ...customer, selected: !customer.selected }\n : customer\n );\n setCustomers(newSelection);\n\n // Update selectAll state if all customers are selected\n const allSelected = newSelection.every(customer => customer.selected);\n setSelectAll(allSelected);\n };\n\n const handleSaveChanges = () => {\n const selectedCustomers = customers.filter((customer) => customer.selected);\n props.onSubmit(selectedCustomers);\n props.closeModal();\n };\n\n return (\n \n
\n
Customers
\n \n
\n
\n
\n
\n \n Name\n
\n {customers.map((customer) => (\n
\n handleIndividualSelect(customer.companyId)}\n />\n {customer.name}\n
\n ))}\n
\n
\n
\n \n \n {showLoadingIndicator && }\n \n \n
\n \n );\n}\n","export enum CompanyClientType{\n PORTCONTROL = \"PORTCONTROL\",\n WHOLESALE = \"WHOLESALE\"\n}","import React, { useState, FormEvent, useCallback, useContext, useEffect } from \"react\";\nimport { Modal, Row, Col, Button, Form } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { isValidLrn } from \"services/validators/ValidationUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport {\n DefaultOptionalDataInfo,\n OptionalDataInfo\n} from \"services/apis/types/number/OptionalDataInfo\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { DefaultDpcSsnInfo, DpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { NetworkExplorerContext } from \"../NetworkExplorer\";\nimport {\n NetworkProfileDto,\n DefaultNetworkProfileDto\n} from \"services/apis/types/networkProfile/NetworkProfileDto\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { NetworkProfileApi } from \"services/apis/NetworkProfileApi\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { SvType } from \"services/apis/types/block/SvType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { SelectPriorityType } from \"./SelectPriorityType\";\nimport CheckBoxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport CustomersModal from \"./CustomersModal\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport { CompanyClientType } from \"components/manage/serviceProvider/CompanyClientType\";\n\n\ntype Props = {\n closeModal: () => void;\n manageAction?: ManageAction;\n submitCallback?: (networkProfile: NetworkProfileDto) => void;\n networkProfile?: NetworkProfileDto;\n};\n\nexport default function NetworkProfileModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [networkProfile, setNetworkProfile] = useState(\n props.networkProfile ? props.networkProfile : DefaultNetworkProfileDto\n );\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [isCustomerModalOpen, setIsCustomerModalOpen] = useState(false); \n const [selectedCustomers, setSelectedCustomers] = useState([]); // Store selected customers\n const [allCustomersSelected, setAllCustomersSelected] = useState(false);\n const networkExplorerContext = useContext(NetworkExplorerContext);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isWholeSaleCompany = appContext.localStorageInfo.selectedProfile?.clientType === CompanyClientType.WHOLESALE;\n\n const wholesaleSpidArray: SpIdProfileDto[] | undefined = appContext.localStorageInfo.user?.spIdProfiles.filter(\n (spid) => spid.clientType === CompanyClientType.WHOLESALE && spid.spId != null);\n\n const closeModal = useCallback(props.closeModal, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateNetworkProfile(networkProfile);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else if (props.submitCallback) {\n props.submitCallback(networkProfile);\n } else {\n const updatedNetworkProfile = {\n ...networkProfile,\n companyIds: networkProfile.companyIds?.length > 0 && selectedCustomers.length === 0 ? networkProfile.companyIds : selectedCustomers.map((customer) => customer?.companyId), // Extract companyIds from selected customers\n isWholesale: isWholeSaleCompany ? true : false\n };\n \n const apiFunction =\n props.manageAction === ManageAction.Add ? NetworkProfileApi.dualCarrierAdd : NetworkProfileApi.dualCarrierModify;\n apiFunction(updatedNetworkProfile)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id:\n props.manageAction === ManageAction.Add\n ? \"network.networkProfile.edit.createSuccessNotificationMessage\"\n : \"network.networkProfile.edit.modifySuccessNotificationMessage\"\n })\n );\n networkExplorerContext.networkProfileActionCallback();\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n const validateNetworkProfile = (block: NetworkProfileDto) => {\n const errors: Errors = {};\n\n if(!block.lata) {\n AddError(errors, nameOf(\"lata\"), \"network.networkProfile.edit.lata.invalid\");\n }\n\n if (!isValidLrn(block.lrn)) {\n AddError(errors, nameOf(\"lrn\"), \"network.networkProfile.edit.lrn.invalid\");\n }\n\n if (!block.description) {\n AddError(errors, nameOf(\"description\"), \"network.networkProfile.edit.description.invalid\");\n }\n\n return errors;\n };\n const toggleCustomerModal = () => {\n setIsCustomerModalOpen(!isCustomerModalOpen);\n };\n\n const handleCheckboxChange = (field: string, checked: boolean) => {\n setNetworkProfile({ ...networkProfile, [field]: checked });\n setIsCustomerModalOpen(true);\n \n if (field === 'chooseCustomers' && checked) {\n toggleCustomerModal(); \n }\n };\n\n const handleCheckboxChangeApplyToAll = (field: string, checked: boolean) => {\n setNetworkProfile({ ...networkProfile, applyToAll: checked });\n\n if (checked) {\n // Select all customers\n const allCustomers = wholesaleSpidArray || [];\n setSelectedCustomers(allCustomers);\n setNetworkProfile({\n ...networkProfile,\n companyIds: allCustomers.map((spid) => spid.companyId)\n });\n } else {\n // Deselect all customers\n setSelectedCustomers([]);\n setNetworkProfile({\n ...networkProfile,\n companyIds: []\n });\n }\n};\n\nuseEffect(() => {\n const allSelected = selectedCustomers.length === wholesaleSpidArray?.length;\n\n if (networkProfile.isPrimary === null || networkProfile.isPrimary === undefined) {\n setNetworkProfile((prevProfile) => ({\n ...prevProfile,\n isPrimary: true, // Default to Primary\n }));\n }\n\n if (networkProfile.applyToAll !== allSelected) {\n setNetworkProfile((prev) => ({\n ...prev,\n applyToAll: allSelected,\n }));\n }\n\n setAllCustomersSelected(allSelected);\n}, [selectedCustomers, wholesaleSpidArray]);\n\n\n const handleCustomerSubmit = (customers: SpIdProfileDto[]): Promise => {\n return new Promise((resolve) => {\n setSelectedCustomers(customers);\n resolve(null);\n });\n };\n \n\n return (\n <>\n \n
\n
\n {props.manageAction === ManageAction.Add && (\n \n )}\n {props.manageAction === ManageAction.Modify && (\n \n )}\n
\n \n
\n
\n
\n
\n
handleSubmit(e)}>\n
\n \n \n setNetworkProfile({ ...networkProfile, lata: value })\n }\n errorHandler={getErrorHandler(nameOf(\"lata\"))}\n />\n \n setNetworkProfile({ ...networkProfile, lrn: value })\n }\n errorHandler={getErrorHandler(nameOf(\"lrn\"))}\n />\n \n setNetworkProfile({ ...networkProfile, svType: value })\n }\n errorHandler={getErrorHandler(nameOf(\"svType\"))}\n options={Object.keys(SvType).map((x) => {\n return { key: x, value: SvType[x] };\n })}\n />\n \n \n \n setNetworkProfile({ ...networkProfile, endUserLocation: value })\n }\n errorHandler={getErrorHandler(nameOf(\"endUserLocation\"))}\n />\n \n setNetworkProfile({ ...networkProfile, endUserLocationType: value })\n }\n errorHandler={getErrorHandler(nameOf(\"endUserLocationType\"))}\n />\n \n \n \n setNetworkProfile({ ...networkProfile, billingId: value })\n }\n errorHandler={getErrorHandler(nameOf(\"billingId\"))}\n />\n \n \n \n setNetworkProfile({ ...networkProfile, description: value })\n }\n errorHandler={getErrorHandler(nameOf(\"description\"))}\n />\n \n

\n \n

\n \n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, classDpc: value }\n : { ...DefaultDpcSsnInfo, classDpc: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"classDpc\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, classSsn: value }\n : { ...DefaultDpcSsnInfo, classSsn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"classSsn\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, lidbDpc: value }\n : { ...DefaultDpcSsnInfo, lidbDpc: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"lidbDpc\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, lidbSsn: value }\n : { ...DefaultDpcSsnInfo, lidbSsn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"lidbSsn\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, isvmDpc: value }\n : { ...DefaultDpcSsnInfo, isvmDpc: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"isvmDpc\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, isvmSsn: value }\n : { ...DefaultDpcSsnInfo, isvmSsn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"isvmSsn\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, cnamDpc: value }\n : { ...DefaultDpcSsnInfo, cnamDpc: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"cnamDpc\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, cnamSsn: value }\n : { ...DefaultDpcSsnInfo, cnamSsn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"cnamSsn\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, wsmscDpc: value }\n : { ...DefaultDpcSsnInfo, wsmscDpc: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"wsmscDpc\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n networkData: networkProfile.networkData\n ? { ...networkProfile.networkData, wsmscSsn: value }\n : { ...DefaultDpcSsnInfo, wsmscSsn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"networkData\", \"wsmscSsn\")\n )}\n />\n \n

\n \n

\n \n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, altSpId: value }\n : { ...DefaultOptionalDataInfo, altSpId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altSpId\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, lastAltSpId: value }\n : { ...DefaultOptionalDataInfo, lastAltSpId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"lastAltSpId\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, altBillingId: value }\n : { ...DefaultOptionalDataInfo, altBillingId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altBillingId\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, altUserLocationType: value }\n : { ...DefaultOptionalDataInfo, altUserLocationType: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altUserLocationType\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, altUserLocationValue: value }\n : { ...DefaultOptionalDataInfo, altUserLocationValue: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"altUserLocationValue\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, voiceUri: value }\n : { ...DefaultOptionalDataInfo, voiceUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"voiceUri\")\n )}\n />\n \n \n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, mmsUri: value }\n : { ...DefaultOptionalDataInfo, mmsUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"mmsUri\")\n )}\n />\n \n setNetworkProfile({\n ...networkProfile,\n optionalData: networkProfile.optionalData\n ? { ...networkProfile.optionalData, smsUri: value }\n : { ...DefaultOptionalDataInfo, smsUri: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"optionalData\", \"smsUri\")\n )}\n />\n \n \n {\n setNetworkProfile({\n ...networkProfile,\n isPrimary: value === SelectPriorityType.PRIMARY,\n });\n }}\n errorHandler={getErrorHandler(nameOf(\"selectPriority\"))}\n options={[\n { key: \"Primary\", value: SelectPriorityType.PRIMARY },\n { key: \"Secondary\", value: SelectPriorityType.SECONDARY },\n ]}\n />\n \n {isWholeSaleCompany && (\n <>\n

\n \n

\n \n \n 0 || networkProfile.companyIds?.length > 0}\n value={\"chooseCustomers\"}\n handleInputChange={(checked) => handleCheckboxChange('chooseCustomers', checked)}\n />\n \n \n \n handleCheckboxChangeApplyToAll('applyToAll', checked)\n } \n />\n \n \n \n )} \n
\n
\n \n \n
\n \n {/* Include the CustomersModal component */}\n {isCustomerModalOpen && (\n \n )}\n
\n \n ); \n}\n","import ActionDropdown from \"../common/ActionDropdown\";\nimport React, { useState } from \"react\";\nimport ActionDropdownItem from \"../common/ActionDropdownItem\";\nimport NetworkProfileDeleteModal from \"./NetworkProfileDeleteModal\";\nimport NetworkProfileModal from \"./NetworkProfileModal\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\n\ntype Props = {\n networkProfile: NetworkProfileDto;\n};\n\nexport default function NetworkProfileActionsCell(props: Props) {\n const [showModifyModal, setShowModifyModal] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n\n return (\n <>\n setActionsOpen(prevState => !prevState)}>\n setShowModifyModal(true)}\n iconClassName=\"fa fa-edit\"\n labelId=\"network.networkProfile.table.actions.modify\"\n />\n setShowDeleteModal(true)}\n iconClassName=\"fa fa-trash-alt\"\n labelId=\"network.networkProfile.table.actions.delete\"\n />\n \n {showModifyModal && (\n setShowModifyModal(false)}\n />\n )}\n {showDeleteModal && (\n setShowDeleteModal(false)}\n />\n )}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport NetworkProfileActionsCell from \"./NetworkProfileActionsCell\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\n\ntype Props = {\n networkProfiles: NetworkProfileDto[];\n};\n\nexport default function NetworkProfilesCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.spId\" }),\n accessor: \"spId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.lata\" }),\n accessor: \"lata\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.description\" }),\n accessor: \"description\"\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.carrier\" }),\n accessor: \"carrier\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.type\" }),\n accessor: \"isPrimary\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value === null ? \"\" : cell.cell.value === true ? \"Primary\" : \"Secondary\" )\n },\n {\n Header: intl.formatMessage({ id: \"network.networkProfile.table.actions\" }),\n accessor: \"actions\",\n Cell: (cell: any) => \n }\n];\n","export enum NetworkItemType {\n NetworkProfile,\n Block,\n NpaNxx,\n Lrn,\n SpidProfile\n}\n","import React, { FormEvent, useState, useCallback, useEffect, useContext } from \"react\";\nimport {\n Container,\n Form,\n Input,\n Button,\n FormGroup,\n InputGroup,\n InputGroupAddon,\n InputGroupText,\n Dropdown,\n DropdownToggle,\n DropdownMenu,\n Row,\n Col\n} from \"reactstrap\";\nimport ServiceProviderDetails from \"./serviceProviderDetails/ServiceProviderDetails\";\nimport NpaNxxDetails from \"./npaNxx/NpaNxxDetails\";\nimport BlockDetails from \"./block/BlockDetails\";\nimport LrnDetails from \"./lrn/LrnDetails\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { isSpid, isLrn, isBlock, isRespOrg, isCode } from \"services/util/StringUtil\";\nimport classNames from \"classnames\";\nimport CreateLrnModal from \"./lrn/CreateLrnModal\";\nimport CreateNpaNxxModal from \"./npaNxx/CreateNpaNxxModal\";\nimport CreateBlockModal from \"./block/BlockModal\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport ServiceProviderModal from \"components/common/ServiceProviderModal\";\nimport NetworkProfilesCard from \"./networkProfile/NetworkProfilesCard\";\nimport { NetworkItemType } from \"components/networkExplorer/types/NetworkItemType\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport NetworkProfileModal from \"./networkProfile/NetworkProfileModal\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { NetworkProfileApi } from \"services/apis/NetworkProfileApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { CompanyClientType } from \"components/manage/serviceProvider/CompanyClientType\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype NetworkExplorerContext = {\n clearSearch: () => void;\n networkProfileActionCallback: () => void;\n};\n\nexport const NetworkExplorerContext = React.createContext({\n clearSearch: () => {},\n networkProfileActionCallback: () => {}\n});\n\nexport default function NetworkExplorer() {\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [searchValue, setSearchValue] = useState(\"\");\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [showDropdown, setShowDropdown] = useState(false);\n const [networkItemType, setNetworkItemType] = useState();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [networkProfiles, setNetworkProfiles] = useState>([]);\n const [showModal, setShowModal] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const isMounted = useIsMounted();\n const isWholeSaleCompany = appContext.localStorageInfo.selectedProfile?.clientType === CompanyClientType.WHOLESALE;\n\n const fetchNetworkProfiles = useCallback(() => {\n NetworkProfileApi.dualCarrierList(isWholeSaleCompany)\n .then((result) => {\n if (isMounted.current) {\n setNetworkProfiles(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }, [isMounted]);\n\n useEffect(() => {\n if (authorize(PermissionType.PortingProfiles, true)) {\n setShowLoadingIndicator(true);\n fetchNetworkProfiles();\n }\n }, [fetchNetworkProfiles, appContext.localStorageInfo.selectedProfile]);\n\n const networkExplorerContext: NetworkExplorerContext = {\n clearSearch: () => {\n setSearchValue(\"\");\n setSearchInputValue(\"\");\n },\n networkProfileActionCallback: fetchNetworkProfiles\n };\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const errorMessageIdResult = validateSearchValue(inputValue);\n setErrorMessageId(errorMessageIdResult);\n\n if (!errorMessageIdResult) {\n setSearchValue(inputValue);\n }\n };\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n const handleCreateDropdownItemButtonClick = (networkItemType: NetworkItemType) => {\n setNetworkItemType(networkItemType);\n setShowModal(true);\n setShowDropdown(false);\n };\n\n return (\n <>\n \n \n \n \n \n \n

\n \n \n

\n \n
\n \n \n \n
\n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n {errorMessageId && (\n
\n \n
\n )}\n \n \n \n \n
\n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NetworkItemType.NetworkProfile)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NetworkItemType.Block)}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NetworkItemType.NpaNxx)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NetworkItemType.Lrn)}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NetworkItemType.SpidProfile)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n
\n
\n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n {searchValue.length === 0 && authorize(PermissionType.PortingProfiles, true) && (\n \n )}\n \n )}\n {(searchValue.length === 4 || searchValue.length === 5) && (\n \n )}\n {searchValue.length === 6 && }\n {searchValue.length === 7 && }\n {searchValue.length === 10 && }\n {networkItemType === NetworkItemType.Lrn &&\n showModal &&\n authorize(PermissionType.NetworkWrite, true) && (\n setShowModal(false)} />\n )}\n {networkItemType === NetworkItemType.NpaNxx &&\n showModal &&\n authorize(PermissionType.NetworkWrite, true) && (\n setShowModal(false)} />\n )}\n {networkItemType === NetworkItemType.Block &&\n showModal &&\n authorize(PermissionType.NetworkWrite, true) && (\n setShowModal(false)} />\n )}\n {networkItemType === NetworkItemType.NetworkProfile &&\n showModal &&\n authorize(PermissionType.PortingProfiles, true) && (\n setShowModal(false)}\n />\n )}\n {networkItemType === NetworkItemType.SpidProfile && showModal && (\n setShowModal(false)} />\n )}\n \n \n \n );\n}\n\nconst validateSearchValue = (searchInputValue: string): string => {\n const validationFunctions: Record string | false> = {\n 4: () => !isSpid(searchInputValue) && \"network.search.invalidSpid\",\n 5: () => !isRespOrg(searchInputValue) && \"network.search.invalidRespOrg\",\n 6: () => !isCode(searchInputValue) && \"network.search.invalidCode\",\n 7: () => !isBlock(searchInputValue) && \"network.search.invalidBlock\",\n 10: () => !isLrn(searchInputValue) && \"network.search.invalidLrn\"\n };\n\n return searchInputValue\n ? validationFunctions[searchInputValue.length]\n ? validationFunctions[searchInputValue.length]() || \"\"\n : \"network.search.invalidLength\"\n : \"network.search.emptySearch\";\n};\n","import { RejectSupplementModel } from \"./types/order/RejectSupplementModel\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { OrderListDto, SinchOrderList } from \"./types/order/OrderListDto\";\nimport { OrderDto } from \"./types/order/OrderDto\";\nimport queryString from \"query-string\";\nimport { ModifyModel } from \"./types/port/ModifyModel\";\nimport { NoteDto } from \"./types/order/NoteDto\";\nimport { AddNotesModel } from \"./types/order/AddNotesModel\";\nimport { TaskDto } from \"./types/order/TaskDto\";\nimport { AddTasksModel } from \"./types/order/AddTasksModel\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { NewSupplementModel } from \"./types/order/NewSupplementModel\";\nimport { AddDocumentSuccessModel } from \"./types/order/AddDocumentSuccessModel\";\nimport { UpdateOrderStatusModel } from \"./types/order/UpdateOrderStatusModel\"\nimport { NewModifyCsrModel } from \"./types/order/NewModifyCsrModel\";\nimport { CsrOnlyModel } from \"./types/port/CsrOnlyModel\";\nimport { ExportPortingReportDto } from \"./types/reports/PortingReportDto\";\nimport { OrderAutoActivationDto } from \"./types/order/OrderAutoActivationDto\";\nimport { SupplementType } from \"./types/order/SupplementType\";\n\nexport const OrderApi = {\n list: (search: string, spIds: string[], companyId: string | undefined, tenant: string | undefined = undefined): Promise => {\n\n let url = queryString.stringifyUrl({\n url: \"order\",\n query: {\n search: search && search.length > 0 ? search : undefined,\n spIds: spIds && spIds.length > 0 ? spIds : undefined,\n companyId: companyId ? companyId : undefined\n },\n }, {\n arrayFormat: 'comma'\n });\n\n return HttpClient.get(url, true, true, tenant, ApiVersion.V2);\n },\n\n drList: (isWholesale: boolean, companyId: string, tenant?: string): Promise => {\n return HttpClient.get(`disasterrecovery/listwithadminid?isWholesale=${isWholesale}&companyId=${companyId}`, true, true, tenant, ApiVersion.V3);\n },\n\n mixList: (search: string, companyId: string | undefined = undefined, tenant: string | undefined = undefined): Promise => {\n let url = queryString.stringifyUrl({\n url: \"wholesale\",\n query: {\n search: search && search.length > 0 ? search : undefined,\n companyId: companyId && companyId.length > 0 ? companyId : undefined\n },\n }, {\n arrayFormat: 'comma'\n });\n\n return HttpClient.get(url, true, true, tenant, ApiVersion.V3);\n },\n\n get: (orderId: string, tenant?: string): Promise => {\n return HttpClient.get(`order/${orderId}`, true, true, tenant, ApiVersion.V2);\n },\n\n getDR: (orderId: string, tenant?: string): Promise => {\n return HttpClient.get(`disasterrecovery/adminid/${orderId}`, true, true, tenant, ApiVersion.V3);\n },\n\n modify: (orderId: string, tenant: string, modify: ModifyModel): Promise => {\n return HttpClient.put(`order/${orderId}`, modify, true, true, tenant);\n },\n drRestore: (orderId:any, tenant: string ): Promise => {\n return HttpClient.post('disasterrecovery/restore', orderId, true, true, tenant, ApiVersion.V3);\n }, \n\n patch: (orderId: string, projectId: string): Promise => {\n return HttpClient.patch(`order/${orderId}`, { projectId }, true, true);\n },\n\n activate: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`order/${orderId}/activate`, undefined, true, true, tenant);\n },\n\n cancel: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`order/${orderId}/cancel`, undefined, true, true, tenant);\n },\n\n removeFromConflict: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`order/${orderId}/conflict`, undefined, true, true, tenant);\n },\n\n archive: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`order/${orderId}/archive`, undefined, true, true, tenant);\n },\n\n undoCancel: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`order/${orderId}/undocancel`, undefined, true, true, tenant);\n },\n\n addSupplement: (\n orderId: string,\n tenant: string,\n supplementModel: NewSupplementModel\n ): Promise => {\n return HttpClient.post(\n `order/${orderId}/supplement/`,\n supplementModel,\n true,\n true,\n tenant,\n ApiVersion.V2\n );\n },\n\n approveSupplement: (orderId: string, tenant: string, focDate?: Date, supplementType?: string): Promise => {\n return HttpClient.post(\n `order/${orderId}/supplement/approve`,\n { focDate, supplementType },\n true,\n true,\n tenant,\n ApiVersion.V2\n );\n },\n\n rejectSupplement: (\n orderId: string,\n tenant: string,\n rejectSupplementModel: RejectSupplementModel\n ): Promise => {\n return HttpClient.post(\n `order/${orderId}/supplement/reject`,\n rejectSupplementModel,\n true,\n true,\n tenant,\n ApiVersion.V2\n );\n },\n\n updateOrderStatus: (\n orderId: string,\n tenant: string,\n updateOrderStatusModel: UpdateOrderStatusModel\n ): Promise => {\n return HttpClient.patch(\n `order/${orderId}`,\n updateOrderStatusModel,\n true,\n true,\n tenant,\n ApiVersion.V2\n );\n },\n\n modifyCsr: (\n orderId: string,\n tenant: string,\n modifyModel: NewModifyCsrModel\n ): Promise => {\n return HttpClient.post(\n `order/${orderId}/csr`,\n modifyModel,\n true,\n true,\n tenant,\n ApiVersion.V2\n );\n },\n\n csrOnlyOrder: (csrOnlyModel: CsrOnlyModel): Promise => {\n return HttpClient.post(\"order/csr\", csrOnlyModel, true, true, \"\", ApiVersion.V2);\n },\n\n getNotes: (orderId: string): Promise => {\n return HttpClient.get(`order/${orderId}/notes`, true, true);\n },\n\n addNote: (orderId: string, noteModel: AddNotesModel): Promise => {\n return HttpClient.post(`order/${orderId}/notes`, noteModel, true, true);\n },\n\n getTasks: (orderId: string): Promise => {\n return HttpClient.get(`order/${orderId}/tasks`, true, true);\n },\n\n addTask: (orderId: string, taskModel: AddTasksModel): Promise => {\n return HttpClient.post(`order/${orderId}/tasks`, taskModel, true, true);\n },\n\n updateTask: (orderId: string, taskId: string, completed: boolean): Promise => {\n return HttpClient.patch(`order/${orderId}/tasks/${taskId}`, { completed }, true, true);\n },\n\n addDocument: (orderId: string, document: File): Promise => {\n const data = new FormData();\n data.append(\"document\", document);\n data.append(\"documentType\", document.type);\n return HttpClient.postResource(`order/${orderId}/documents`, data, true, true);\n },\n\n getDocument: (orderId: string, documentId: string): Promise => {\n return HttpClient.getResource(`order/${orderId}/documents/${documentId}`, true, true);\n },\n\n deleteDocument: (orderId: string, documentId: string): Promise => {\n return HttpClient.delete(`order/${orderId}/documents/${documentId}`, {}, true, true);\n },\n\n portingReport: (from: Date, to: Date): Promise => {\n let url = queryString.stringifyUrl({\n url: \"report/portingreport\",\n query: {\n from: from.toISOString(),\n to: to.toISOString()\n }\n });\n\n return HttpClient.get(url, true, true);\n }\n};\n","import React, { useCallback, useContext } from \"react\";\nimport DateTimeInput from \"../forms/DateTimeInput\";\nimport { getUtcDate, sort, isBetween } from \"services/util/DateUtil\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { RestoreFilterService } from \"services/restoreFilters/RestoreFilterService\";\nimport { ColumnFilterChangeEvent } from \"./RestoreTableColumnFilter\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n initialState: {\n identifier: string\n },\n column: {\n filterValue: Array;\n preFilteredRows: Array;\n setFilter: React.Dispatch>>;\n id: string;\n },\n onChange:(props: ColumnFilterChangeEvent)=>void;\n columnFilterOptions?: any[];\n};\n\nexport default function DateRangeColumnFilter(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const identifier = props.initialState.identifier;\n\n const canRestoreFilter = identifier === TableIdentifiers.Orders || identifier === TableIdentifiers.WorkQueue || identifier === TableIdentifiers.WebhookLogs;\n\n const [min, max] = React.useMemo(() => {\n const values = props.columnFilterOptions \n ? props.columnFilterOptions\n : props.column.preFilteredRows.length\n ? props.column.preFilteredRows.map((x) => x.values[props.column.id])\n : [];\n\n let min = getUtcDate(values.length ? (sort(values as Array)[0] as Date) : undefined);\n let max = getUtcDate(values.length ? (sort(values as Array, true)[0] as Date) : undefined);\n \n return [min, max];\n // eslint-disable-next-line\n }, [props.columnFilterOptions, props.column.preFilteredRows]);\n\n \n const handleMinDateChange = (dateMin) => {\n \n // setting react table column's filterValue property array for max i.e. [max, min]\n const filterValueMax = props.column && props.column?.filterValue && props.column?.filterValue[0] \n ? props.column?.filterValue[0]\n : max\n\n props.column.setFilter([filterValueMax, dateMin]);\n\n // if sticky filter is available for the table, then use sticky filter stored state values instead\n if (canRestoreFilter) {\n var values = RestoreFilterService.getFilterValue(identifier, props.column.id);\n var previousMaxDate = values[0] ?? max;\n RestoreFilterService.setFilterDate(props.initialState.identifier, props.column.id, previousMaxDate, dateMin);\n }\n\n // triggering event for registered handlers\n if (props && props.onChange)\n {\n props?.onChange({\n tableIdentifier: identifier,\n columnId: props.column.id,\n filteredValue: filterValueMax +\",\"+ dateMin\n } as ColumnFilterChangeEvent);\n \n }\n }\n\n const handleMaxDateChange = (dateMax) => {\n \n // setting react table column's filterValue property array for min i.e. [max, min]\n const filterValueMin = props.column && props.column.filterValue && props.column.filterValue[1] \n ? props.column?.filterValue[1]\n : min\n\n props.column.setFilter([dateMax, filterValueMin]);\n \n // if sticky filter is available for the table, then use sticky filter stored state values instead\n if (canRestoreFilter) {\n var values = RestoreFilterService.getFilterValue(identifier, props.column.id);\n var previousMinDate = values[1] ?? min;\n RestoreFilterService.setFilterDate(props.initialState.identifier, props.column.id, dateMax, previousMinDate);\n }\n\n // triggering event for registered handlers\n if (props && props.onChange)\n {\n props?.onChange({\n tableIdentifier: identifier,\n columnId: props.column.id,\n filteredValue: dateMax +\",\"+ filterValueMin\n } as ColumnFilterChangeEvent);\n \n }\n }\n\n const getMinDateInput= useCallback(()=>{\n if (canRestoreFilter) {\n var values = RestoreFilterService.getFilterValue(identifier, props.column.id);\n return values && values[1] ? getUtcDate(values[1]) : min;\n }\n else {\n return props.column.filterValue && props.column.filterValue[1] \n ? getUtcDate(props.column.filterValue[1]) \n : min;\n }\n \n \n },[props.column.filterValue, min, canRestoreFilter, identifier, props.column.id]);\n\n const getMaxDateInput= useCallback(()=>{\n if (canRestoreFilter) {\n var restoredValues = RestoreFilterService.getFilterValue(identifier, props.column.id);\n return restoredValues && restoredValues[0] ? getUtcDate(restoredValues[0]) : max;\n }\n else{\n return props.column.filterValue && props.column.filterValue[0]\n ? getUtcDate(props.column.filterValue[0]) \n : max;\n }\n \n },[props.column.filterValue, max, canRestoreFilter, identifier, props.column.id]);\n\n const getDateTimeInputStyle = ()=> {\n var filterIsSet = props.column?.id && \n RestoreFilterService.hasFilter(identifier) && \n RestoreFilterService.hasFilterDateColumn(identifier, props.column.id) &&\n RestoreFilterService.getFilterValue(identifier, props.column.id).length > 0;\n return canRestoreFilter && (props.column.filterValue || filterIsSet) ? \"filtered-column_bg\" : \"\";\n }\n\n return (\n
\n {handleMinDateChange(val?.toDate())}}\n // isValidDate={(currentDate) => {\n // let isValid = true;\n // if (!isBetween(currentDate, min, max)) {\n // isValid = false;\n // }\n // if (\n // props.column.filterValue &&\n // !currentDate.isSameOrBefore(props.column.filterValue[1])\n // ) {\n // isValid = false;\n // }\n // return isValid;\n // }}\n />\n to\n {handleMaxDateChange(val?.toDate())}}\n // isValidDate={(currentDate) => {\n // let isValid = true;\n // if (!isBetween(currentDate, min, max)) {\n // isValid = false;\n // }\n // if (props.column.filterValue && !currentDate.isSameOrAfter(props.column.filterValue[0])) {\n // isValid = false;\n // }\n // return isValid;\n // }}\n />\n
\n );\n}\n\nexport const dateRangefilterFunction = (rows: any[], accessor: any, filterValues: any) => \n rows.filter((x) => {\n return (\n x.values[accessor] &&\n isBetween(getUtcDate(x.values[accessor]), filterValues[1], filterValues[0])\n );\n });\n","export enum OrderNumberActionType {\n Activate = \"Activate\",\n Modify = \"Modify\",\n RemoveFromConflict = \"RemoveFromConflict\",\n Cancel = \"Cancel\",\n Archive = \"Archive\",\n UndoCancel = \"UndoCancel\",\n PreOrderSupplement = \"PreOrderSupplement\",\n PreOrderApprove = \"PreOrderApprove\",\n PreOrderReject = \"PreOrderReject\",\n PreOrderSubmit = \"PreOrderSubmit\",\n CsrRequested = \"CsrRequested\",\n CsrValid = \"CsrValid\",\n CsrInvalid = \"CsrInvalid\",\n CsrModify = \"CsrModify\",\n CsrCancel = \"CsrCancel\",\n CsrEscalate = \"CsrEscalate\",\n LsrSubmit = \"LsrSubmit\",\n CsrReceived = \"CsrReceived\",\n CsrToLsr = \"CsrToLsr\",\n ScheduleActivation = \"ScheduleActivation\",\n ModifyActivation = \"ModifyActivation\",\n CancelActivation = \"CancelActivation\",\n Restore = \"Restore\",\n Submit = \"Submit\",\n SinchArchive = \"SinchArchive\"\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { TnInventoryRequestDto } from \"./types/searchAndProvision/TnInventoryRequestDto\";\nimport { TnInventoryResponseDto } from \"./types/searchAndProvision/TnInventoryResponseDto\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { TnReserveRequestDto } from \"./types/searchAndProvision/TnReserveRequestDto\";\nimport { TnReserveResponseDto } from \"./types/searchAndProvision/TnReserveResponseDto\";\nimport { TnOrderRequestDto } from \"./types/searchAndProvision/TnOrderRequestDto\";\nimport { TnOrderResponseDto } from \"./types/searchAndProvision/TnOrderResponseDto\";\nimport { SaveForLaterRequestDto } from \"./types/searchAndProvision/SaveForLaterRequestDto\";\nimport { SaveForLaterResponseDto } from \"./types/searchAndProvision/SaveForLaterResponseDto\";\nimport { SinchOrderList } from \"./types/order/OrderListDto\";\nimport { OrderDto } from \"./types/order/OrderDto\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport queryString from \"query-string\";\n\nexport const SinchApi = {\n tnInventory: (tnInventoryRequest: TnInventoryRequestDto, tenant: string | undefined = undefined) : Promise => {\n return HttpClient.post(\"sinch/tninventory\", tnInventoryRequest, true, true, tenant, ApiVersion.V3);\n },\n\n tnReserve: (tnReserveRequest: TnReserveRequestDto, tenant: string | undefined = undefined) : Promise => {\n return HttpClient.post(\"sinch/tnreserve\", tnReserveRequest, true, true, tenant, ApiVersion.V3)\n },\n\n tnOrder: (tnOrderRequest: TnOrderRequestDto, tenant: string | undefined = undefined) : Promise => {\n return HttpClient.post(\"sinch/tnorder\", tnOrderRequest, true, true, tenant, ApiVersion.V3)\n },\n\n saveForLater: (saveForLaterRequest: SaveForLaterRequestDto, tenant: string | undefined = undefined) : Promise => {\n return HttpClient.post(\"sinch/saveforlater\", saveForLaterRequest, true, true, tenant, ApiVersion.V3)\n },\n\n sinchList: (search: string, spIds: string[], companyId: string | undefined, tenant: string | undefined = undefined) : Promise => {\n let url = queryString.stringifyUrl({\n url: \"sinch\",\n query: {\n search: search && search.length > 0 ? search : undefined,\n spIds: spIds && spIds.length > 0 ? spIds : undefined,\n companyId: companyId ? companyId : undefined\n },\n }, {\n arrayFormat: 'comma'\n });\n \n return HttpClient.get(url, true, true, tenant, ApiVersion.V3);\n },\n\n getSinch: (orderId: string, tenant?: string): Promise => {\n return HttpClient.get(`sinch/${orderId}`, true, true, tenant, ApiVersion.V3);\n },\n\n archive: (orderId: string, tenant: string): Promise => {\n return HttpClient.post(`sinch/${orderId}/archive`, undefined, true, true, tenant, ApiVersion.V3);\n },\n};\n","import { ApiError } from \"services/apis/types/ApiError\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderNumberActionType } from \"./types/OrderNumberActionType\";\nimport { OrderAutoActivationDto } from \"services/apis/types/order/OrderAutoActivationDto\";\nimport { CancelAutoActivationDto } from \"services/apis/types/order/CancelAutoActivationDto\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { TnOrderRequestDto } from \"services/apis/types/searchAndProvision/TnOrderRequestDto\";\nimport { TnOrderResponseDto } from \"services/apis/types/searchAndProvision/TnOrderResponseDto\";\nimport { SinchApi } from \"services/apis/SinchApi\";\n\nexport const OrderService = {\n executeAction: (\n orderId: string,\n tenant: string,\n action: OrderNumberActionType\n ): Promise => {\n const methods: Record Promise> = {\n [OrderNumberActionType.Activate]: OrderApi.activate,\n [OrderNumberActionType.Cancel]: OrderApi.cancel,\n [OrderNumberActionType.RemoveFromConflict]: OrderApi.removeFromConflict,\n [OrderNumberActionType.Archive]: OrderApi.archive,\n [OrderNumberActionType.UndoCancel]: OrderApi.undoCancel,\n [OrderNumberActionType.Restore]: OrderApi.drRestore,\n [OrderNumberActionType.SinchArchive]: SinchApi.archive\n };\n\n return methods[action](orderId, tenant);\n },\n scheduleActivation: (scheduleActivationModels: OrderAutoActivationDto[]): Promise => {\n return HttpClient.post('port/update-orders', scheduleActivationModels, true, true,\"\",ApiVersion.V2);\n },\n cancelActivation: (cancelActivationModel: CancelAutoActivationDto[]): Promise => {\n return HttpClient.post('port/update-orders', cancelActivationModel, true, true,\"\",ApiVersion.V2);\n },\n updateSinch: (orderId: string, updateOrder: TnOrderRequestDto, tenant?: string): Promise => {\n return HttpClient.put(`sinch/updatetnorder?orderId=${orderId}`, updateOrder, true, true, tenant, ApiVersion.V3);\n }\n};\n","export enum OrderType {\n PortIn = \"port-in\",\n PortOut = \"port-out\",\n Disconnect = \"disconnect\",\n ModifyActive = \"modifyactive\",\n CsrOnly = \"csr-only\",\n DisasterRecovery = \"Disaster Recovery\",\n Restore = \"Restore\",\n NewNumber = \"New Number\"\n}\n","import { Moment } from \"moment\";\nimport { DpcSsnInfo, DefaultDpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport {\n OptionalDataInfo,\n DefaultOptionalDataInfo\n} from \"services/apis/types/number/OptionalDataInfo\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type PortInModifyModel = {\n modifyType: string;\n portDirection: string;\n spId: string;\n oldSpId: string;\n dueDate?: Moment;\n lrn: string;\n billingId: string;\n userLocationValue: string;\n userLocationType: string;\n networkData: DpcSsnInfo;\n optionalData?: OptionalDataInfo;\n};\n\nexport const DefaultPortInModifyModel: PortInModifyModel = {\n modifyType: \"VSPE\",\n portDirection: \"IN\",\n spId: \"\",\n oldSpId: \"\",\n dueDate: getUtcDate(),\n lrn: \"\",\n billingId: \"\",\n userLocationValue: \"\",\n userLocationType: \"\",\n networkData: DefaultDpcSsnInfo,\n optionalData: DefaultOptionalDataInfo\n};\n","import { PortInModifyModel, DefaultPortInModifyModel } from \"./PortInModifyModel\";\n\nexport type PortInModify = {\n phoneNumberRange: string;\n portInModifyModel: PortInModifyModel;\n};\n\nexport const DefaultPortInModify: PortInModify = {\n phoneNumberRange: \"\",\n portInModifyModel: DefaultPortInModifyModel\n};\n","import { PortProposalDto } from \"./types/port/PortProposalDto\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { NewOutportModel } from \"./types/port/NewOutportModel\";\nimport { ModifyModel } from \"./types/port/ModifyModel\";\nimport { PortOrderProposal } from \"./types/port/PortOrderProposal\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { PortInSuccessModel } from \"./types/port/PortInSuccessModel\";\nimport { PortInModel, WholeSalePortInModel } from \"./types/port/PortInModel\";\nimport queryString from \"query-string\";\nimport { ExportActiveTnsDto } from \"./types/reports/ExportDto\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport DisasterRecovery from \"components/orders/portCreate/disasterRecovery/DisasterRecovery\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\nexport const PortApi = {\n getProposal: (portOrderProposal: PortOrderProposal): Promise => {\n return HttpClient.post(\n \"port/proposal\",\n portOrderProposal,\n true,\n true,\n \"\",\n ApiVersion.V2\n );\n },\n\n getMixProposal: (portOrderProposal: PortOrderProposal): Promise => {\n return HttpClient.post(\n \"wholesale/proposal\",\n portOrderProposal,\n true,\n true,\n \"\",\n ApiVersion.V3\n );\n },\n\n getDisasterRecoveryProposal: (portOrderProposal: PortOrderProposal): Promise => {\n return HttpClient.post(\n `disasterrecovery/proposal?isWholesale=${isMixNetworkUrl}`,\n portOrderProposal,\n true,\n true,\n \"\",\n ApiVersion.V3\n );\n },\n\n disconnect: (\n phoneNumbers: string[],\n disconnectDate: Date,\n releaseDate: Date\n ): Promise => {\n return HttpClient.post(\n `port/disconnect`,\n { phoneNumbers, disconnectDate, releaseDate },\n true,\n true\n );\n },\n\n portIn: (portIn: PortInModel): Promise => {\n return HttpClient.post(\"port/in\", portIn, true, true, \"\", ApiVersion.V2);\n },\n\n wholeSalePortIn: (wholeSalePortIn: WholeSalePortInModel) : Promise => {\n return HttpClient.post(\"wholesale/port/in\", wholeSalePortIn, true, true, \"\", ApiVersion.V3 )\n },\n\n DisasterRecoveryPort: (disasterRecoveryPort) : Promise => {\n return HttpClient.post(`disasterrecovery/disasterrecovery?isWholesale=${isMixNetworkUrl}`, disasterRecoveryPort, true, true, \"\", ApiVersion.V3 )\n },\n\n portOut: (newOutports: NewOutportModel[]): Promise => {\n return HttpClient.post(\"port/out\", newOutports, true, true);\n },\n\n modify: (tnRange: string, modify: ModifyModel): Promise => {\n return HttpClient.put(`port/${tnRange}`, modify, true, true);\n },\n\n cancel: (phoneNumber: string): Promise => {\n return HttpClient.post(`port/${phoneNumber}/cancel`, {}, true, true);\n },\n\n removeFromConflict: (phoneNumber: string): Promise => {\n return HttpClient.post(`port/${phoneNumber}/conflict`, {}, true, true);\n },\n\n activate: (phoneNumber: string): Promise => {\n return HttpClient.post(`port/${phoneNumber}/activate`, {}, true, true);\n },\n\n undoCancel: (tnRange: string): Promise => {\n return HttpClient.post(`port/${tnRange}/undocancel`, undefined, true, true);\n },\n\n getpooledblocktnsbyreturnstospid: (from: Date, to: Date): Promise => {\n let url = queryString.stringifyUrl({\n url: \"port/getpooledblocktnsbyreturnstospid\",\n query: {\n from: from.toISOString(),\n to: to.toISOString()\n }\n });\n\n return HttpClient.get(url, true, true);\n }\n};\n","import React from \"react\";\nimport { FormGroup, Label, Input } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { usePastedNumberFormatter } from \"services/customHooks/usePastedNumberFormatter\";\n\ntype Props = {\n readonly?: boolean;\n labelTranslationId: string;\n value?: string | number;\n errorHandler?: ErrorHandler;\n formGroupClassName?: string;\n inputClassName?: string;\n placeholderTranslationId?: string;\n handleInputChange?: (value: string) => void;\n onClick?: (value: React.MouseEvent) => void;\n};\n\nexport default function PhoneNumberInput(props: Props) {\n const onPaste = usePastedNumberFormatter(\n props.value ? props.value.toString() : \"\",\n (formattedValue) => handleChange(formattedValue)\n );\n const intl = useIntl();\n const errors = props.errorHandler ? props.errorHandler.getErrors() : [];\n const placeholder =\n props.readonly || !props.placeholderTranslationId\n ? \"\"\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n const handleChange = (value: string) => {\n if (props.errorHandler) props.errorHandler.clear();\n if (props.handleInputChange) props.handleInputChange(value);\n };\n\n return (\n \n \n 0\n })}\n placeholder={placeholder}\n value={props.value ? props.value : \"\"}\n onChange={(e) => handleChange(e.currentTarget.value)}\n onClick={props.onClick}\n onPaste={onPaste}\n />\n {props.errorHandler && }\n \n );\n}\n","import React from \"react\";\nimport classNames from \"classnames\";\nimport {FormattedMessage} from \"react-intl\";\nimport { Alert } from \"reactstrap\";\n\nexport type NpacMaintenanceAlertProps = {\n classNames? : string | undefined;\n}\n\nexport default function NpacMaintenanceAlert(props: NpacMaintenanceAlertProps) {\n var npacMaintenancePdfUrl = \"https://f.hubspotusercontent20.net/hubfs/7553926/Client%20Success/PortControl/NPAC%20-%20SSU%20Maintenance%20Task%20Document.pdf?utm_campaign=PortControl%20Client%20Updates&utm_medium=email&_hsmi=107715346&_hsenc=p2ANqtz-87qORPcOKLa7J_574dXK_00aireR_0JKe75F3Xjn450fuDt5FmFpiw02__2LfEIPewNBpOlseBAv0tz3irKeEdD14FmQ&utm_content=107715346&utm_source=hs_email\";\n return(\n \n \n \n \n \n \n \n \n );\n}","export enum SvRequestStatus {\n ActionRequired = \"ActionRequired\",\n Pending = \"Pending\",\n Authorized = \"Authorized\",\n Active = \"Active\",\n Sending = \"Sending\",\n Conflict = \"Conflict\",\n Old = \"Old\",\n Failed = \"Failed\",\n PartialFailure = \"PartialFailure\",\n Canceled = \"Canceled\",\n CancelPending = \"CancelPending\",\n DisconnectPending = \"DisconnectPending\",\n ActivatePending = \"ActivatePending\",\n PreOrderPending = \"PreOrderPending\",\n ReceivedFoc = \"ReceivedFoc\",\n Rejected = \"Rejected\",\n Submitted = \"Submitted\",\n CSRPending = \"CSRPending\",\n CSRRequested = \"CSRRequested\",\n CSRModified = \"CSRModified\",\n CSRInvalid = \"CSRInvalid\",\n CSREscalated = \"CSREscalated\",\n CSRApproved = \"CSRApproved\",\n CSRReceived = \"CSRReceived\",\n Incomplete = \"Incomplete\",\n Complete = \"Complete\",\n PartialSuccess = \"PartialSuccess\",\n InProgress = \"InProgress\",\n Expired = \"Expired\"\n}\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { PortInModify, DefaultPortInModify } from \"../types/PortInModify\";\nimport { DefaultPortInModifyModel } from \"../types/PortInModifyModel\";\nimport { Moment } from \"moment\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { ModifyModel } from \"services/apis/types/port/ModifyModel\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { DefaultDpcSsnInfo, DpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport {\n DefaultOptionalDataInfo,\n OptionalDataInfo\n} from \"services/apis/types/number/OptionalDataInfo\";\nimport { isPhoneNumber, isRange } from \"services/util/StringUtil\";\nimport { getUtcDate, isSunday } from \"services/util/DateUtil\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport NpacMaintenanceAlert from \"../NpacMaintenanceAlert\";\nimport { SvRequestStatus } from \"../types/SvRequestStatus\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n order: OrderDto;\n numberStatus?: NumberStatusDto;\n closeModal: () => void;\n onActionExecuted?: () => void;\n};\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\nexport default function PortInModifyModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [portInModify, setPortInModify] = useState({\n phoneNumberRange: props.numberStatus?.phoneNumber || DefaultPortInModify.phoneNumberRange,\n portInModifyModel: {\n ...DefaultPortInModifyModel,\n dueDate: props.numberStatus && getUtcDate(props.numberStatus.dueDate),\n spId: props.order.gainingProvider,\n oldSpId: props.order.loosingProvider,\n networkData: props.order.numbers[0].networkData || props.numberStatus?.dpcSsnInfo || props.order.numbers?.[0].dpcSsnInfo,\n optionalData: props.order.numbers[0].optionalData,\n lrn: props.numberStatus?.lrn || props.order.numbers?.[0]?.lrn,\n billingId: props.numberStatus?.billingId || props.order.numbers?.[0].billingId,\n userLocationType:\n props.numberStatus?.userLocationType || props.order.numbers?.[0].userLocationType,\n userLocationValue: props.numberStatus?.userLocation || props.order.numbers?.[0].userLocation\n }\n });\n\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const closeModal = useCallback(props.closeModal, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validateModify(portInModify, props.order.status, props.numberStatus);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n const model = {\n modifyType: portInModify.portInModifyModel.modifyType,\n portDirection: portInModify.portInModifyModel.portDirection,\n spId: portInModify.portInModifyModel.spId,\n oldSpId: portInModify.portInModifyModel.oldSpId,\n dueDate: portInModify.portInModifyModel.dueDate\n ? portInModify.portInModifyModel.dueDate.toDate()\n : undefined,\n lrn: portInModify.portInModifyModel.lrn,\n billingId: portInModify.portInModifyModel.billingId,\n userLocationValue: portInModify.portInModifyModel.userLocationValue,\n userLocationType: portInModify.portInModifyModel.userLocationType,\n networkData: portInModify.portInModifyModel.networkData,\n optionalData: portInModify.portInModifyModel.optionalData,\n orderId: props.order.orderId\n };\n\n const api = props.numberStatus\n ? PortApi.modify(portInModify.phoneNumberRange, model)\n : OrderApi.modify(props.order.orderId, props.order.tenant, model);\n\n api\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id: props.numberStatus\n ? \"orders.modify.edit.numberSuccessNotificationMessage\"\n : \"orders.modify.edit.orderSuccessNotificationMessage\"\n })\n );\n closeModal();\n props.onActionExecuted && props.onActionExecuted();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n {!isMixNetworkUrl && (\n <> \n \n {props.numberStatus ? (\n \n setPortInModify({ ...portInModify, phoneNumberRange: value })\n }\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n ) : (\n \n )}\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, spId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"spId\")\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, oldSpId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"oldSpId\")\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, lrn: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"lrn\")\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, billingId: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"billingId\")\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, dueDate: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"dueDate\")\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, dueDate: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"dueTime\")\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, userLocationType: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"userLocationType\")\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, userLocationValue: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"userLocationValue\")\n )}\n />\n \n

\n \n

\n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, classDpc: value }\n : { ...DefaultDpcSsnInfo, classDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"classDpc\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, classSsn: value }\n : { ...DefaultDpcSsnInfo, classSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"classSsn\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, lidbDpc: value }\n : { ...DefaultDpcSsnInfo, lidbDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"lidbDpc\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, lidbSsn: value }\n : { ...DefaultDpcSsnInfo, lidbSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"lidbSsn\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, isvmDpc: value }\n : { ...DefaultDpcSsnInfo, isvmDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"isvmDpc\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, isvmSsn: value }\n : { ...DefaultDpcSsnInfo, isvmSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"isvmSsn\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, cnamDpc: value }\n : { ...DefaultDpcSsnInfo, cnamDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"cnamDpc\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, cnamSsn: value }\n : { ...DefaultDpcSsnInfo, cnamSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"cnamSsn\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, wsmscDpc: value }\n : { ...DefaultDpcSsnInfo, wsmscDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"wsmscDpc\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n networkData: portInModify.portInModifyModel.networkData\n ? { ...portInModify.portInModifyModel.networkData, wsmscSsn: value }\n : { ...DefaultDpcSsnInfo, wsmscSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"networkData\",\n \"wsmscSsn\"\n )\n )}\n />\n \n

\n \n

\n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, altSpId: value }\n : { ...DefaultOptionalDataInfo, altSpId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"altSpId\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, lastAltSpId: value }\n : { ...DefaultOptionalDataInfo, lastAltSpId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"lastAltSpId\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, altBillingId: value }\n : { ...DefaultOptionalDataInfo, altBillingId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"altBillingId\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? {\n ...portInModify.portInModifyModel.optionalData,\n altUserLocationType: value\n }\n : { ...DefaultOptionalDataInfo, altUserLocationType: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"altUserLocationType\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? {\n ...portInModify.portInModifyModel.optionalData,\n altUserLocationValue: value\n }\n : { ...DefaultOptionalDataInfo, altUserLocationValue: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"altUserLocationValue\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, voiceUri: value }\n : { ...DefaultOptionalDataInfo, voiceUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"voiceUri\"\n )\n )}\n />\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, mmsUri: value }\n : { ...DefaultOptionalDataInfo, mmsUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"mmsUri\"\n )\n )}\n />\n \n setPortInModify({\n ...portInModify,\n portInModifyModel: {\n ...portInModify.portInModifyModel,\n optionalData: portInModify.portInModifyModel.optionalData\n ? { ...portInModify.portInModifyModel.optionalData, smsUri: value }\n : { ...DefaultOptionalDataInfo, smsUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"portInModifyModel\",\n \"optionalData\",\n \"smsUri\"\n )\n )}\n />\n \n \n )}\n {isMixNetworkUrl && (\n <>\n \n {props.numberStatus ? (\n \n setPortInModify({ ...portInModify, phoneNumberRange: value })\n }\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n ) : (\n \n )}\n \n \n \n setPortInModify({\n ...portInModify,\n portInModifyModel: { ...portInModify.portInModifyModel, dueDate: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"dueDate\")\n )}\n />\n \n \n )}\n \n {\n isSunday(portInModify.portInModifyModel.dueDate) && (\n \n )}\n \n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateModify = (modify: PortInModify, orderStatus: string, numberStatus?: NumberStatusDto) => {\n const errors: Errors = {};\n\n if (numberStatus) {\n if (!modify.phoneNumberRange) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.required\"\n );\n } else if (!isPhoneNumber(modify.phoneNumberRange) && !isRange(modify.phoneNumberRange)) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.invalid\"\n );\n }\n }\n\n if (orderStatus === SvRequestStatus.Failed && modify.portInModifyModel && !modify.portInModifyModel.dueDate) {\n AddError(\n errors,\n nameOf(\"portInModifyModel\", \"dueDate\"),\n \"orders.modify.edit.dueDate.required\"\n );\n }\n\n return errors;\n};\n","import { Moment } from \"moment\";\nimport { Authorized } from \"./Authorized\";\nimport { PortOutRejectionReason } from \"./PortOutRejectionReason\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type PortOutModifyModel = {\n phoneNumber: string;\n modifyType: string;\n portDirection: string;\n dueDate?: Moment;\n authorized: keyof typeof Authorized;\n rejectionReason: keyof typeof PortOutRejectionReason;\n};\n\nexport const DefaultPortOutModifyModel: PortOutModifyModel = {\n modifyType: \"VSPE\",\n portDirection: \"OUT\",\n phoneNumber: \"\",\n dueDate: getUtcDate(),\n authorized: \"YES\",\n rejectionReason: \"\"\n};\n","import { PortOutModifyModel, DefaultPortOutModifyModel } from \"./PortOutModifyModel\";\n\nexport type PortOutModify = {\n phoneNumberRange: string;\n portOutModifyModel: PortOutModifyModel;\n};\n\nexport const DefaultPortOutModify: PortOutModify = {\n phoneNumberRange: \"\",\n portOutModifyModel: DefaultPortOutModifyModel\n};\n","export const Authorized: Record = {\n YES: \"YES\",\n NO: \"NO\"\n};\n","export const PortOutRejectionReason: Record = {\n CC00: \"cause_code_none\",\n CC01: \"NPAC Auto cancel\",\n CC02: \"NPAC Auto conflict\",\n CC50: \"LSR WPR not received\",\n CC51: \"FOC WPRR not issued\",\n CC52: \"Due date mismatch\",\n CC53: \"Vacant number port\",\n CC54: \"General conflict\"\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { PortOutModify, DefaultPortOutModify } from \"../types/PortOutModify\";\nimport { DefaultPortOutModifyModel } from \"../types/PortOutModifyModel\";\nimport { Moment } from \"moment\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { Authorized } from \"../types/Authorized\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { ModifyModel } from \"services/apis/types/port/ModifyModel\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { PortOutRejectionReason } from \"../types/PortOutRejectionReason\";\nimport { isPhoneNumber, isRange } from \"services/util/StringUtil\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n order: OrderDto;\n numberStatus?: NumberStatusDto;\n closeModal: () => void;\n};\n\nexport default function PortOutModifyModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [portOutModify, setPortOutModify] = useState({\n ...DefaultPortOutModify,\n phoneNumberRange: props.numberStatus?.phoneNumber || DefaultPortOutModify.phoneNumberRange,\n portOutModifyModel: {\n ...DefaultPortOutModifyModel,\n dueDate: props.numberStatus && getUtcDate(props.numberStatus.dueDate),\n phoneNumber: props.numberStatus?.phoneNumber || DefaultPortOutModify.phoneNumberRange\n }\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const closeModal = useCallback(props.closeModal, []);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validateModify(portOutModify, props.numberStatus);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n const model = {\n phoneNumber: portOutModify.portOutModifyModel.phoneNumber,\n modifyType: portOutModify.portOutModifyModel.modifyType,\n portDirection: portOutModify.portOutModifyModel.portDirection,\n dueDate: portOutModify.portOutModifyModel.dueDate\n ? portOutModify.portOutModifyModel.dueDate.toDate()\n : undefined,\n reject: portOutModify.portOutModifyModel.authorized === Authorized.NO,\n conflictCode: portOutModify.portOutModifyModel.rejectionReason,\n orderId: props.order.orderId\n };\n\n const api = props.numberStatus\n ? PortApi.modify(portOutModify.phoneNumberRange, model)\n : OrderApi.modify(props.order.orderId, props.order.tenant, model);\n\n api\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id: props.numberStatus\n ? \"orders.modify.edit.numberSuccessNotificationMessage\"\n : \"orders.modify.edit.orderSuccessNotificationMessage\"\n })\n );\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n \n
\n
\n \n
\n props.closeModal()}>\n ×\n \n
\n
handleSubmit(e)}>\n
\n \n {props.numberStatus ? (\n {}}\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n ) : (\n \n )}\n \n \n \n setPortOutModify({\n ...portOutModify,\n portOutModifyModel: { ...portOutModify.portOutModifyModel, dueDate: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portOutModifyModel\", \"dueDate\")\n )}\n />\n \n \n {\n setPortOutModify({\n ...portOutModify,\n portOutModifyModel: { ...portOutModify.portOutModifyModel, dueDate: value }\n });\n }}\n errorHandler={getErrorHandler(\n nameOf(\"portOutModifyModel\", \"dueDate\")\n )}\n />\n \n \n \n setPortOutModify({\n ...portOutModify,\n portOutModifyModel: { ...portOutModify.portOutModifyModel, authorized: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portOutModifyModel\", \"reject\")\n )}\n options={Object.keys(Authorized).map((x) => ({ key: Authorized[x], value: x }))}\n />\n \n {portOutModify.portOutModifyModel.authorized === Authorized.NO && (\n \n \n setPortOutModify({\n ...portOutModify,\n portOutModifyModel: {\n ...portOutModify.portOutModifyModel,\n rejectionReason: value\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portOutModifyModel\", \"conflictCode\")\n )}\n options={Object.keys(PortOutRejectionReason).map((x) => ({\n key: PortOutRejectionReason[x],\n value: x\n }))}\n />\n \n )}\n
\n
\n \n \n {showLoadingIndicator && }\n \n \n
\n \n
\n \n );\n}\n\nconst validateModify = (modify: PortOutModify, numberStatus?: NumberStatusDto) => {\n const errors: Errors = {};\n\n if (numberStatus) {\n if (!modify.phoneNumberRange) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.required\"\n );\n } else if (!isPhoneNumber(modify.phoneNumberRange) && !isRange(modify.phoneNumberRange)) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.invalid\"\n );\n }\n }\n\n return errors;\n};\n","import { Moment } from \"moment\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type DisconnectModifyModel = {\n modifyType: string;\n portDirection: string;\n disconnectDate: Moment;\n releaseDate: Moment;\n};\n\nexport const DefaultDisconnectModifyModel: DisconnectModifyModel = {\n modifyType: \"VSDP\",\n portDirection: \"OUT\",\n disconnectDate: getUtcDate(),\n releaseDate: getUtcDate()\n};\n","import { DisconnectModifyModel, DefaultDisconnectModifyModel } from \"services/apis/types/port/DisconnectModifyModel\";\n\nexport type DisconnectModify = {\n phoneNumberRange: string;\n disconnectModifyModel: DisconnectModifyModel;\n};\n\nexport const DefaultDisconnectModify: DisconnectModify = {\n phoneNumberRange: \"\",\n disconnectModifyModel: DefaultDisconnectModifyModel\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { Moment } from \"moment\";\nimport { ModifyModel } from \"services/apis/types/port/ModifyModel\";\nimport { isPhoneNumber, isRange, getValueOrEmpty } from \"services/util/StringUtil\";\nimport { DisconnectModify, DefaultDisconnectModify } from \"../types/DisconnectModify\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { DefaultDisconnectModifyModel } from \"services/apis/types/port/DisconnectModifyModel\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n orderId: string;\n tenant?: string;\n numberStatus?: NumberStatusDto;\n closeModal: () => void;\n};\n\nexport default function DisconnectModifyModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [disconnectModify, setDisconnectModify] = useState({\n ...DefaultDisconnectModify,\n phoneNumberRange: props.numberStatus\n ? props.numberStatus.phoneNumber\n : DefaultDisconnectModify.phoneNumberRange,\n disconnectModifyModel: {\n ...DefaultDisconnectModifyModel\n }\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const closeModal = useCallback(props.closeModal, []);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validateModify(disconnectModify, props.numberStatus);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n const model = {\n modifyType: disconnectModify.disconnectModifyModel.modifyType,\n portDirection: disconnectModify.disconnectModifyModel.portDirection,\n disconnectDate: disconnectModify.disconnectModifyModel.disconnectDate.toDate(),\n releaseDate: disconnectModify.disconnectModifyModel.releaseDate.toDate(),\n orderId: props.orderId\n };\n\n const api = props.numberStatus\n ? PortApi.modify(disconnectModify.phoneNumberRange, model)\n : OrderApi.modify(props.orderId, getValueOrEmpty(props.tenant), model);\n\n api\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id: props.numberStatus\n ? \"orders.modify.edit.numberSuccessNotificationMessage\"\n : \"orders.modify.edit.orderSuccessNotificationMessage\"\n })\n );\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n \n
\n
\n \n
\n props.closeModal()}>\n ×\n \n
\n
handleSubmit(e)}>\n
\n \n {props.numberStatus ? (\n \n setDisconnectModify({ ...disconnectModify, phoneNumberRange: value })\n }\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n ) : (\n \n )}\n \n \n \n setDisconnectModify({\n ...disconnectModify,\n disconnectModifyModel: {\n ...disconnectModify.disconnectModifyModel,\n disconnectDate: value\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"disconnectModifyModel\", \"disconnectDate\")\n )}\n />\n \n \n \n setDisconnectModify({\n ...disconnectModify,\n disconnectModifyModel: {\n ...disconnectModify.disconnectModifyModel,\n disconnectDate: value\n }\n })\n }\n isTimeInput\n errorHandler={getErrorHandler(\n nameOf(\"disconnectModifyModel\", \"disconnectDate\")\n )}\n />\n \n \n \n setDisconnectModify({\n ...disconnectModify,\n disconnectModifyModel: {\n ...disconnectModify.disconnectModifyModel,\n releaseDate: value\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"disconnectModifyModel\", \"releaseDate\")\n )}\n />\n \n \n \n setDisconnectModify({\n ...disconnectModify,\n disconnectModifyModel: {\n ...disconnectModify.disconnectModifyModel,\n releaseDate: value\n }\n })\n }\n isTimeInput\n errorHandler={getErrorHandler(\n nameOf(\"disconnectModifyModel\", \"releaseDate\")\n )}\n />\n \n
\n
\n \n \n {showLoadingIndicator && }\n \n \n
\n \n
\n \n );\n}\n\nconst validateModify = (modify: DisconnectModify, numberStatus?: NumberStatusDto) => {\n const errors: Errors = {};\n\n if (numberStatus) {\n if (!modify.phoneNumberRange) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.required\"\n );\n } else if (!isPhoneNumber(modify.phoneNumberRange) && !isRange(modify.phoneNumberRange)) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"orders.modify.edit.tnRange.invalid\"\n );\n }\n }\n\n return errors;\n};\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport enum SupplementType {\n Cancel = \"Cancel\",\n DueDate = \"DueDate\",\n Other = \"Other\",\n OrderHandler = \"OrderHandler\",\n All = 'All'\n}\n\n// use array to preserve order in dropdown list\nexport const SupplementTypesList : Array> = [\n {\n key: \"Cancel complete order\",\n value: SupplementType.Cancel\n },\n {\n key: \"Update due date\",\n value: SupplementType.DueDate\n },\n {\n key: \"Change order handler\",\n value: SupplementType.OrderHandler\n },\n {\n key: \"Update other fields\",\n value: SupplementType.Other\n\n }\n];\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport enum OrderHandlerType {\n SelectOne = \"\",\n ServiceProvider = \"ServiceProvider\",\n PortingDotCom = \"PortingDotCom\",\n}\n\n// use array to preserve order in dropdown list\nexport const OrderHandlerTypesList: Array> = [\n {\n key: \"Select one\",\n value: OrderHandlerType.SelectOne\n },\n {\n key: \"Service provider\",\n value: OrderHandlerType.ServiceProvider\n },\n {\n key: \"ATL Communications\",\n value: OrderHandlerType.PortingDotCom\n }\n];","import { AccountType } from \"./AccountType\";\nimport { ServiceAddressDto, DefaultServiceAddressDto } from \"./ServiceAddressDto\";\n\nexport type CustomerDetailsDto = {\n accountType: AccountType;\n accountNumber: string;\n accountName: string;\n accountPin: string;\n authorizedName: string;\n billingPhoneNumber: string;\n serviceAddress: ServiceAddressDto;\n};\n\nexport const DefaultCustomerDetailsDto: CustomerDetailsDto = {\n accountType: AccountType.Residential,\n accountNumber: \"\",\n accountName: \"\",\n accountPin: \"\",\n authorizedName: \"\",\n billingPhoneNumber: \"\",\n serviceAddress: DefaultServiceAddressDto\n};\n","export type ServiceAddressDto = {\n directionPrefix: string;\n streetName: string;\n streetNameSuffix: string;\n directionSuffix: string;\n number: string;\n addressLine2: string;\n city: string;\n zipCode: string;\n state: string;\n};\n\nexport const DefaultServiceAddressDto = {\n directionPrefix: \"\",\n streetName: \"\",\n streetNameSuffix: \"\",\n directionSuffix: \"\",\n number: \"\",\n addressLine2: \"\",\n city: \"\",\n zipCode: \"\",\n state: \"\"\n};\n","import { SupplementType } from \"services/apis/types/order/SupplementType\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { Moment } from \"moment\";\nimport { CustomerDetailsDto, DefaultCustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type SupplementModel = {\n supplementType: SupplementType;\n dueDate: Moment;\n customerDetails: CustomerDetailsDto;\n orderHandler: OrderHandlerType;\n};\n\nexport const DefaultSupplementModel = {\n supplementType: SupplementType.Cancel,\n dueDate: getUtcDate(),\n customerDetails: DefaultCustomerDetailsDto,\n orderHandler: OrderHandlerType.PortingDotCom\n};\n","import React, { useMemo } from \"react\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { AccountType, AccountTypes } from \"services/apis/types/port/AccountType\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { PortInAccountModel } from \"./types/PortInAccountModel\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { Row, Col } from \"reactstrap\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\n\ntype Props = {\n customerDetails: CustomerDetailsDto;\n setCustomerDetails?: (customerDetails: CustomerDetailsDto) => void;\n getErrorHandler?: (key: string) => ErrorHandler;\n overrideRequiredFields?: string[] \n disabled?: boolean;\n orderType?: OrderType;\n};\n\nexport default function AccountDetails(props: Props) {\n const accountType = useMemo(() => {\n if (isNaN(Number(props.customerDetails.accountType))) {\n return props.customerDetails.accountType;\n }\n return AccountType[props.customerDetails.accountType];\n }, [props.customerDetails.accountType]);\n\n const defaultRequiredFields = useMemo(()=> props.orderType === OrderType.CsrOnly ? [\"authorizedName\",\"billingPhoneNumber\"]:[\"authorizedName\", \"accountName\", \"billingPhoneNumber\"],[props.orderType]);\n const isRequired = (fieldName: string) => {\n const requiredFieldsHasOverriden = props.overrideRequiredFields && props.overrideRequiredFields.length > 0;\n const found = (collection, value)=> collection.some(v=> v && v.toLocaleLowerCase() === value?.toLocaleLowerCase());\n \n if (requiredFieldsHasOverriden)\n return props.overrideRequiredFields && found(props.overrideRequiredFields, fieldName);\n \n return found(defaultRequiredFields, fieldName);\n };\n\n return (\n
\n \n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n accountName: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\"customerDetails\", \"accountName\")\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n accountNumber: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\"customerDetails\", \"accountNumber\")\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n accountType: (value as unknown) as AccountType\n })\n }\n options={Object.keys(AccountTypes).map((x) => {\n return { key: AccountTypes[x as keyof typeof AccountType], value: x };\n })}\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\"customerDetails\", \"accountType\")\n )\n }\n disabled={props.disabled}\n />\n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n accountPin: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\"customerDetails\", \"accountPin\")\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n authorizedName: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\"customerDetails\", \"authorizedName\")\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setCustomerDetails &&\n props.setCustomerDetails({\n ...props.customerDetails,\n billingPhoneNumber: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"billingPhoneNumber\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n
\n );\n}\n","import React from \"react\";\nimport { PortInAccountModel } from \"./types/PortInAccountModel\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport { ServiceAddressDto } from \"services/apis/types/port/ServiceAddressDto\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { Row, Col } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype Props = {\n serviceAddress: ServiceAddressDto;\n setServiceAddress?: (serviceAddress: ServiceAddressDto) => void;\n getErrorHandler?: (key: string) => ErrorHandler;\n disabled?: boolean;\n};\n\nexport default function ServiceAddress(props: Props) {\n const intl = useIntl();\n\n return (\n
\n \n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n number: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"number\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n directionPrefix: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"directionPrefix\"\n )\n )\n }\n tooltip={\n <>\n
\n {getTranslation(\n intl,\n \"orders.accountDetails.serviceAddress.directionPrefix.tooltip\"\n )}\n
\n
\n {getTranslation(\n intl,\n \"orders.accountDetails.serviceAddress.directionPrefix.tooltip.example\"\n )}\n
\n \n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n streetName: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"streetName\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n streetNameSuffix: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"streetNameSuffix\"\n )\n )\n }\n tooltip={\n <>\n
\n {getTranslation(\n intl,\n \"orders.accountDetails.serviceAddress.streetNameSuffix.tooltip\"\n )}\n
\n
\n {getTranslation(\n intl,\n \"orders.accountDetails.serviceAddress.streetNameSuffix.tooltip.example\"\n )}\n
\n \n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n directionSuffix: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"directionSuffix\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n addressLine2: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"addressLine2\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n city: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"city\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n state: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"state\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n \n \n props.setServiceAddress &&\n props.setServiceAddress({\n ...props.serviceAddress,\n\n zipCode: value\n })\n }\n errorHandler={\n props.getErrorHandler &&\n props.getErrorHandler(\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"zipCode\"\n )\n )\n }\n readonly={props.disabled}\n />\n \n
\n
\n );\n}\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport const userZoneInfos: KeyValuePair[] = [\n { key: \"UTC\", value: \"UTC\" },\n { key: \"Eastern Standard Time\", value: \"Eastern Standard Time\" },\n { key: \"Central Standard Time\", value: \"Central Standard Time\" },\n { key: \"Mountain Standard Time\", value: \"Mountain Standard Time\" },\n { key: \"Pacific Standard Time\", value: \"Pacific Standard Time\" },\n { key: \"Alaskan Standard Time\", value: \"Alaskan Standard Time\" },\n { key: \"Hawaiian Standard Time\", value: \"Hawaiian Standard Time\" }\n];","import React, { useState, FormEvent, useContext } from \"react\";\nimport { Modal, Form, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { PortInModify } from \"../types/PortInModify\";\nimport moment, { Moment } from \"moment\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getFieldErrors, handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { ModifyModel } from \"services/apis/types/port/ModifyModel\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { SupplementType, SupplementTypesList } from \"services/apis/types/order/SupplementType\";\nimport { SupplementModel, DefaultSupplementModel } from \"./SupplementModel\";\nimport AccountDetails from \"../AccountDetails\";\nimport ServiceAddress from \"../ServiceAddress\";\nimport { NewSupplementModel } from \"services/apis/types/order/NewSupplementModel\";\nimport { getUtcDate, isSunday } from \"services/util/DateUtil\";\nimport classNames from \"classnames\";\nimport NpacMaintenanceAlert from \"../NpacMaintenanceAlert\";\nimport { OrderHandlerType, OrderHandlerTypesList } from \"services/apis/types/port/OrderHandlerType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { isNumber, isValidZipCode } from \"services/util/StringUtil\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport { PortInAccountModel } from \"../types/PortInAccountModel\";\nimport Datetime, { TimeConstraints } from 'react-datetime';\nimport { ServiceAddressDto } from \"services/apis/types/port/ServiceAddressDto\";\nimport { useEffect } from 'react';\nimport Select from 'react-select';\nimport { userZoneInfos } from \"components/manage/user/UserTimeZones\";\n\ntype Props = {\n order: OrderDto;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nconst timeConstraints: TimeConstraints = {\n hours: { min: 0, max: 23, step: 1 },\n minutes: { min: 0, max: 59, step: 10 }, // Set step to 10 for 10-minute intervals\n seconds: { min: 0, max: 59, step: 0 },\n};\n\nconst calculateInitialTime = (value) => {\n const now = moment(value);\n const roundedMinutes = Math.ceil(now.minutes() / 10) * 10;\n return now.minutes(roundedMinutes).seconds(0);\n}\n\nexport default function AddSupplementModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isVpop = useState(() => appContext.localStorageInfo.selectedProfile?.external ?? false);\n const { setErrors, getErrorHandler } = useErrors();\n const [supplementModel, setSupplementModel] = useState({\n ...DefaultSupplementModel,\n dueDate: getUtcDate(props.order.focDate),\n orderHandler: props.order.metadata.handledBy as OrderHandlerType,\n customerDetails: props.order.customerDetails\n });\n\n useEffect(() => {\n if(props.order.supplementVersion > 0 || (props.order.supplementVersion === 0 && props.order.focDate === null)){\n setSupplementModel((prevModel) => ({\n ...prevModel,\n dueDate: moment(props.order.desiredDueDate),\n }))\n }\n }, [props.order.desiredDueDate, props.order.focDate]);\n\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [showLoading, setShowLoading] = useState(false);\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n\n const intl = useIntl();\n const isMounted = useIsMounted();\n const [supplementOptions] = useState(() => isVpop\n ? SupplementTypesList.filter(s => s.value !== SupplementType.OrderHandler)\n : SupplementTypesList\n );\n const [orderHandlerOptions] = useState(OrderHandlerTypesList);\n const [selectedTimeZone, setSelectedTimeZone] = useState(\n appContext.localStorageInfo.user?.zoneInfo || 'UTC'\n );\n const handleTimeZoneChange = (selectedOption) => {\n setSelectedTimeZone(selectedOption.value);\n };\n const timezoneOptions = userZoneInfos.map((zone) => ({\n value: zone.value,\n label: zone.key,\n }));\n \n const [selectedTime, setSelectedTime] = useState(\n props.order?.autoActivation ? calculateInitialTime(props.order?.autoActivation) : moment()\n );\n const handleTimeChange = (value) => {\n setSelectedTime(value);\n };\n\n const handleOrderConfirmation = () => {\n const model: NewSupplementModel = getNewSupplementModel(supplementModel, selectedTime, selectedTimeZone, props.order );\n \n OrderApi.addSupplement(props.order.orderId, props.order.tenant, model)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id: \"orders.supplement.successNotificationMessage\"\n })\n );\n showConfirmationModal && setShowConfirmationModal(false);\n props.closeModal();\n props.onActionExecuted();\n })\n .catch((error) => {\n handleFieldOrApiErrors(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n\n const handleCancelOrder = () => {\n setShowLoading(true);\n handleOrderConfirmation(); \n };\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validateAccountDetails(supplementModel);\n if (supplementModel.supplementType === SupplementType.Cancel) {\n setShowConfirmationModal(true);\n return;\n }\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true); \n handleOrderConfirmation();\n }\n };\n\n return (\n <>\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n
\n \n setSupplementModel({\n ...supplementModel,\n supplementType: value as SupplementType\n })\n }\n errorHandler={getErrorHandler(nameOf(\"supplementType\"))}\n />\n
\n {supplementModel.supplementType === SupplementType.DueDate && (\n
\n
\n \n setSupplementModel({\n ...supplementModel,\n dueDate: moment(value)\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"portInModifyModel\", \"dueDate\")\n )}\n />\n
\n {props.order.autoActivation && (\n <>\n
\n

\n \n

\n \n
\n
\n

\n \n

\n ({\n ...provided,\n padding: 0,\n }),\n }}\n />\n
\n \n )}\n
\n )}\n {supplementModel.supplementType === SupplementType.OrderHandler && (\n
\n \n setSupplementModel({\n ...supplementModel,\n orderHandler: value as OrderHandlerType\n })\n }\n />\n
\n )}\n {supplementModel.supplementType === SupplementType.Other && (\n <>\n
\n
\n \n setSupplementModel({ ...supplementModel, customerDetails: customerDetails })\n }\n getErrorHandler={getErrorHandler}\n />\n
\n
\n
\n
\n \n setSupplementModel({\n ...supplementModel,\n customerDetails: {\n ...supplementModel.customerDetails,\n serviceAddress: serviceAddress\n }\n })\n }\n getErrorHandler={getErrorHandler}\n />\n
\n
\n \n )}\n {(supplementModel.supplementType === SupplementType.DueDate && isSunday(supplementModel.dueDate)) && (\n
\n \n
\n )}\n
\n
\n \n \n
\n \n \n {showConfirmationModal && (\n \n
\n
Confirm Action
\n setShowConfirmationModal(false)} />\n
\n
\n

Are you sure you want to cancel this order?

\n
\n
\n \n \n
\n
\n )}\n \n ); \n}\n\nconst autoActivationDate = (time, record: NewSupplementModel): string => {\n const formattedDate = moment.utc(record.dueDate).format('YYYY-MM-DD');\n const formattedTime = moment(time, 'hh:mm A').format('HH:mm:ss');\n const combinedDateTime = `${formattedDate}T${formattedTime}`;\n return combinedDateTime;\n};\n\n// map view model to api model\nfunction getNewSupplementModel(supplementModel: SupplementModel, selectedTime, selectedTimeZone, order: OrderDto ) {\n const model: NewSupplementModel = {\n supplementType: supplementModel.supplementType\n };\n\n if (model.supplementType === SupplementType.DueDate) {\n model.dueDate = supplementModel.dueDate.toDate();\n if (order.autoActivation) {\n model.autoActivationDate = autoActivationDate(selectedTime,model);\n model.timeZone = selectedTimeZone;\n }\n } else if (model.supplementType === SupplementType.Other) {\n model.customerDetails = supplementModel.customerDetails;\n } else if (model.supplementType === SupplementType.OrderHandler) {\n model.orderHandler = supplementModel.orderHandler;\n }\n\n return model;\n}\n\n\nconst validateAccountDetails = (supplementModel: SupplementModel): Errors => {\n const errors: Errors = {};\n if (supplementModel.supplementType === SupplementType.DueDate && !supplementModel.dueDate) {\n AddError(\n errors,\n nameOf(\"dueDate\"),\n \"orders.order.csr.modifyDueDate.required\"\n );\n }\n\n if (supplementModel.supplementType === SupplementType.Other && (\n (!supplementModel.customerDetails.accountName))) {\n AddError(errors, nameOf(\"customerDetails\", \"accountName\"),\n \"orders.accountDetails.accountName\");\n\n }\n if (supplementModel.supplementType === SupplementType.Other && (\n (!supplementModel.customerDetails.authorizedName))) {\n AddError(errors, nameOf(\"customerDetails\", \"authorizedName\"),\n \"orders.accountDetails.authorizedName\");\n }\n\n if (supplementModel.customerDetails.serviceAddress.zipCode &&\n !isValidZipCode(supplementModel.customerDetails.serviceAddress.zipCode)) {\n AddError(\n errors,\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"zipCode\"\n ),\n \"orders.portIn.stepTwo.dueDate.zipCodeError\"\n )\n }\n\n if (supplementModel.supplementType === SupplementType.Other &&\n (!isNumber(supplementModel.customerDetails.billingPhoneNumber) ||\n supplementModel.customerDetails.billingPhoneNumber.length < 10 || supplementModel.customerDetails.billingPhoneNumber.length > 15)) {\n AddError(\n errors,\n nameOf(\n \"customerDetails\",\n \"billingPhoneNumber\",\n ),\n \"orders.portIn.stepTwo.billingPhoneNumber\"\n )\n }\n\n return errors;\n};","export const OrderHandler: Record = {\n ServiceProvider: \"Service provider\",\n PortingDotCom: \"ATL Communications\",\n Automated: \"ATL Communications (automated)\"\n};\n","import { OrderHandler } from \"../port/OrderHandler\";\n\nexport type OrderMetadataDto = {\n createdBy: string;\n createdTimestamp: Date;\n modifiedBy: string;\n correspondingOrderId: string;\n modifiedTimestamp: Date;\n projectId: string;\n handledBy: keyof typeof OrderHandler;\n adminProjectId: string;\n orderType?: string;\n fullOrPartialPort:string\n};\n\nexport const DefaultOrderMetadataDto = {\n createdBy: \"\",\n createdTimestamp: new Date(),\n modifiedBy: \"\",\n correspondingOrderId: \"\",\n modifiedTimestamp: new Date(),\n projectId: \"\",\n handledBy: OrderHandler.ServiceProvider,\n fullOrPartialPort:\"\",\n adminProjectId: \"\",\n orderType: \"\"\n};\n","import { SupplementType } from \"./SupplementType\";\nimport { OrderType } from \"./OrderType\";\nimport { NumberStatusDto } from \"./NumberStatusDto\";\nimport { SvRequestStatus } from \"components/orders/types/SvRequestStatus\";\nimport { OrderMetadataDto, DefaultOrderMetadataDto } from \"./OrderMetadata\";\nimport { CustomerDetailsDto, DefaultCustomerDetailsDto } from \"../port/CustomerDetailsDto\";\nimport { DocumentDto } from \"./DocumentDto\";\nimport { OrderRequestType } from \"../port/OrderRequestType\";\nimport { DefaultOptionalDataInfo, OptionalDataInfo } from \"../number/OptionalDataInfo\";\n\nexport type OrderDto = {\n orderId: string;\n tenant: string;\n orderType: OrderType;\n gainingProvider: string;\n loosingProvider: string;\n csrRequested: boolean;\n preOrder: boolean;\n supplementVersion: number;\n npacRegion: string;\n status: SvRequestStatus;\n desiredDueDate: Date;\n fullOrPartialPort: string;\n focDate: Date;\n activationDate: Date;\n customerDetails: CustomerDetailsDto;\n numbers: NumberStatusDto[];\n documents: DocumentDto[];\n availableActions: string[];\n metadata: OrderMetadataDto;\n supplementType: keyof typeof SupplementType | null;\n optionalData:OptionalDataInfo;\n tnsInOtherOrders?: object;\n autoActivation?: string;\n activationTimeZone?: string;\n svId?: number;\n adminProjectId?: string;\n requestId?: string;\n};\n\nexport const DefaultOrder: OrderDto = {\n orderId: \"\",\n tenant: \"\",\n npacRegion: \"\",\n gainingProvider: \"\",\n loosingProvider: \"\",\n csrRequested: false,\n orderType: OrderType.PortIn,\n status: SvRequestStatus.ActionRequired,\n preOrder: false,\n supplementVersion: 0,\n desiredDueDate: new Date(),\n focDate: new Date(),\n activationDate: new Date(),\n customerDetails: DefaultCustomerDetailsDto,\n numbers: [],\n documents: [],\n availableActions: [],\n metadata: DefaultOrderMetadataDto,\n supplementType: null, \n optionalData: DefaultOptionalDataInfo,\n tnsInOtherOrders: {},\n autoActivation: \"\",\n fullOrPartialPort:\"\",\n activationTimeZone: \"\",\n svId: 0,\n adminProjectId: \"\",\n requestId: \"\"\n};\n\nexport type PreviousOrderDto = OrderDto & {\n orderRequestType: OrderRequestType;\n}\n","import { SupplementType } from \"services/apis/types/order/SupplementType\";\n\nexport const ApproveSupplementConfirmationText: Record = {\n Other: \"orders.order.actions.approveSupplementQuestion\",\n DueDate: \"orders.order.actions.approveSupplementQuestion\",\n OrderHandler: \"orders.order.actions.approveSupplementQuestion\",\n Cancel: \"orders.order.actions.cancelQuestion\",\n All: \"orders.order.actions.approveSupplementQuestion\"\n};\n","import React, { useEffect, useState } from \"react\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport moment, { Moment } from \"moment\";\nimport { DefaultOrder, OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { ApproveSupplementConfirmationText } from \"./configuration/ApproveSupplementConfirmationText\";\nimport { SupplementType } from \"services/apis/types/order/SupplementType\";\n\ntype Props = {\n order: OrderDto;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function ApproveSupplementModal(props: Props) {\n const [dueDate, setDueDate] = useState(moment(props.order.desiredDueDate));\n const [order, setOrder] = useState(DefaultOrder);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n useEffect(() => {\n if (dueDate) {\n setOrder((prevOrder) => ({\n ...prevOrder,\n desiredDueDate: dueDate.toDate(),\n }));\n }\n }, [dueDate]);\n\n const confirmationMessageId = props.order.supplementType\n ? ApproveSupplementConfirmationText[props.order.supplementType]\n : \"orders.order.actions.approveQuestion\";\n\n const supplementType = props.order.supplementType ? props.order.supplementType : undefined;\n\n const approveSupplement = () => {\n setShowLoadingIndicator(true);\n\n OrderApi.approveSupplement(props.order.orderId, props.order.tenant, dueDate?.toDate(), supplementType)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n if (dueDate) {\n props.order.desiredDueDate = dueDate.toDate(); \n } \n setOrder((prevOrder) => ({\n ...prevOrder,\n desiredDueDate: dueDate?.toDate() || prevOrder.desiredDueDate,\n }));\n props.onActionExecuted();\n props.closeModal();\n })\n .catch((error) => handleFieldOrApiErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n {props.order.supplementType !== SupplementType[SupplementType.Cancel] && (\n setDueDate(value)}\n />\n )}\n {props.order.tnsInOtherOrders && !props.order.supplementType || props.order.supplementType !== SupplementType.Cancel && (\n

\n {intl.formatMessage({id: \"orders.orderDetails.portingNumber.table.confirmActionDuplicateNotifcation\"})}\n

\n )}\n \n );\n}","export const SupplementRejectionReason: Record = {\n ACCN: \"Incorrect Account Number\",\n AUCN: \"Incorrect Authorized Name\",\n PIN: \"PIN required or incorrect\",\n BILL: \"Billing Telephone Number\",\n EUSA: \"Incorrect Service Address\",\n PEND: \"Pending Order\",\n FREZ: \"Freeze on Account\",\n FEOA: \"Feature on Account\",\n TNMI: \"TN mismatch\",\n OTHER: \"Other\"\n};\n","import { SupplementRejectionReason } from \"./SupplementRejectionReason\";\n\nexport type RejectSupplementModel = {\n rejectionReason: keyof typeof SupplementRejectionReason;\n rejectDescription?: string;\n};\n\nexport const DefaultRejectSupplementModel: RejectSupplementModel = {\n rejectionReason: \"ACCN\"\n};\n","import React, { useState } from \"react\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { SupplementRejectionReason } from \"services/apis/types/order/SupplementRejectionReason\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport {\n DefaultRejectSupplementModel,\n RejectSupplementModel\n} from \"services/apis/types/order/RejectSupplementModel\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { nameOf } from \"services/util/ObjectUtil\";\n\ntype Props = {\n order: OrderDto;\n confirmationMessageId?: string;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function RejectSupplementModal(props: Props) {\n const [rejectSupplementModel, setRejectSupplementModel] = useState({\n ...DefaultRejectSupplementModel\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { getErrorHandler, setErrors } = useErrors();\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n const rejectSupplement = () => {\n const errors = validate(rejectSupplementModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n OrderApi.rejectSupplement(props.order.orderId, props.order.tenant, rejectSupplementModel)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n props.onActionExecuted();\n props.closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n {props.confirmationMessageId && (\n <>\n

\n \n

\n {\n setRejectSupplementModel((prev) => ({\n ...prev,\n rejectionReason: value,\n rejectDescription: undefined\n }));\n }}\n options={Object.keys(SupplementRejectionReason).map((x) => {\n return { key: SupplementRejectionReason[x], value: x };\n })}\n />\n {rejectSupplementModel.rejectionReason === \"OTHER\" && (\n \n setRejectSupplementModel((prev) => ({ ...prev, rejectDescription: value }))\n }\n rows={3}\n labelTranslationId=\"orders.supplement.rejectDescription\"\n errorHandler={getErrorHandler(nameOf(\"rejectDescription\"))}\n />\n )}\n \n )}\n \n );\n}\n\nconst validate = (rejectSupplementModel: RejectSupplementModel): Errors => {\n const errors: Errors = {};\n if (\n rejectSupplementModel.rejectionReason === \"OTHER\" &&\n !rejectSupplementModel.rejectDescription\n ) {\n AddError(\n errors,\n nameOf(\"rejectDescription\"),\n \"orders.supplement.rejectDescription.required\"\n );\n }\n\n return errors;\n};\n","import React, { useContext } from \"react\";\nimport { Modal, Button } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n}\n\nexport default function SupplementWarningModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleCloseWarningModal = function() {\n props.closeModal();\n }\n \n return (\n <>\n \n
\n
Warning
\n \n
\n
\n

\n \n

\n
\n
\n \n
\n
\n \n );\n}","import React, { useContext } from \"react\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport AddSupplementModal from \"./AddSupplementModal\";\nimport ApproveSupplementModal from \"./ApproveSupplementModal\";\nimport RejectSupplementModal from \"./RejectSupplementModal\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport SupplementWarningModal from \"./SupplementWarningModal\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n order: OrderDto;\n action: OrderNumberActionType;\n confirmationMessageId?: string;\n closeModal: () => void;\n onActionExecuted: () => void;\n isWithIn24Hrs: boolean;\n};\n\nexport default function ExecuteSupplementAction(props: Props) {\n const { appContext } = useContext(AppContext);\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin);\n const hasSvIdCreated = props.order.svId !== 0;\n\n return (\n <>\n {props.action === OrderNumberActionType.PreOrderSupplement ? (\n (isMixNetworkUrl && hasSvIdCreated && !isUserAdmin && props.isWithIn24Hrs) ?\n :\n \n ) : props.action === OrderNumberActionType.PreOrderApprove ? (\n \n ) : (\n \n )}\n \n );\n}\n","import { SvRequestStatus } from \"components/orders/types/SvRequestStatus\";\n\nexport type UpdateOrderStatusModel = {\n status: SvRequestStatus,\n rejectionReason: string | undefined,\n rejectionRemarks: string | undefined\n};\n\nexport const UpdateOrderToSubmittedStatusModel: UpdateOrderStatusModel = {\n status: SvRequestStatus.Submitted,\n rejectionReason: undefined,\n rejectionRemarks: undefined\n};\n\nexport const DefaultRejectCsrStatusModel: UpdateOrderStatusModel = {\n status: SvRequestStatus.CSRInvalid,\n rejectionReason: undefined,\n rejectionRemarks: undefined\n};","import React, { useState } from \"react\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { UpdateOrderToSubmittedStatusModel } from \"services/apis/types/order/UpdateOrderStatusModel\";\nimport { SvRequestStatus } from \"../types/SvRequestStatus\";\n\ntype Props = {\n order: OrderDto;\n status: SvRequestStatus;\n confirmationMessageId?: string;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function UpdateOrderStatusModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n const submit = () => {\n setShowLoadingIndicator(true);\n\n var update = UpdateOrderToSubmittedStatusModel;\n update.status = props.status;\n\n OrderApi.updateOrderStatus(props.order.orderId, props.order.tenant, update)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n\n props.onActionExecuted();\n props.closeModal();\n })\n .catch((error) => handleFieldOrApiErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n <>\n \n\n {props.confirmationMessageId && (\n

\n \n

\n )}\n\n \n \n );\n}\n","import React, { useState } from \"react\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { SupplementRejectionReason } from \"services/apis/types/order/SupplementRejectionReason\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport {\n DefaultRejectCsrStatusModel,\n UpdateOrderStatusModel\n} from \"services/apis/types/order/UpdateOrderStatusModel\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { nameOf } from \"services/util/ObjectUtil\";\n\ntype Props = {\n order: OrderDto;\n confirmationMessageId?: string;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function RejectCsrModal(props: Props) {\n const [rejectCsrModel, setRejectSupplementModel] = useState({\n ...DefaultRejectCsrStatusModel\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { getErrorHandler, setErrors } = useErrors();\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n const rejectSupplement = () => {\n const errors = validate(rejectCsrModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n OrderApi.updateOrderStatus(props.order.orderId, props.order.tenant, rejectCsrModel)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n props.onActionExecuted();\n props.closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n {props.confirmationMessageId && (\n <>\n

\n \n

\n {\n setRejectSupplementModel((prev) => ({\n ...prev,\n rejectionReason: value\n }));\n }}\n options={Object.keys(SupplementRejectionReason).map((x) => {\n return { key: SupplementRejectionReason[x], value: x };\n })}\n />\n \n setRejectSupplementModel((prev) => ({ ...prev, rejectionRemarks: value }))\n }\n rows={3}\n labelTranslationId=\"orders.order.csr.rejectionRemarks\"\n errorHandler={getErrorHandler(nameOf(\"rejectionRemarks\"))}\n />\n \n )}\n \n );\n}\n\nconst validate = (rejectSupplementModel: UpdateOrderStatusModel): Errors => {\n const errors: Errors = {};\n if (\n rejectSupplementModel.rejectionReason === \"OTHER\" &&\n !rejectSupplementModel.rejectionRemarks\n ) {\n AddError(\n errors,\n nameOf(\"rejectionRemarks\"),\n \"orders.order.csr.rejectionRemarks.required\"\n );\n }\n\n return errors;\n};\n","export enum ModifyCsrType {\n DueDate = 0,\n AccountInfo\n}\n\nexport const ModifyCsrTypes: Record = {\n [ModifyCsrType.DueDate]: \"Update due date\",\n [ModifyCsrType.AccountInfo]: \"Update account information\"\n};\n","import { ModifyCsrType } from \"services/apis/types/order/ModifyCsrType\";\nimport { Moment } from \"moment\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\n\nexport type ModifyCsrModel = {\n modifyType: ModifyCsrType;\n dueDate?: Moment;\n customerDetails: CustomerDetailsDto;\n};\n\nexport const DefaultModifyCsrModel = {\n modifyType: ModifyCsrType.DueDate,\n dueDate: null,\n customerDetails: null\n};\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport { Modal, Form, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { Moment } from \"moment\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getFieldErrors, handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { ModifyCsrModel, DefaultModifyCsrModel } from \"./ModifyCsrModel\";\nimport AccountDetails from \"../AccountDetails\";\nimport ServiceAddress from \"../ServiceAddress\";\nimport classNames from \"classnames\";\nimport NpacMaintenanceAlert from \"../NpacMaintenanceAlert\";\nimport { ModifyCsrType, ModifyCsrTypes } from \"services/apis/types/order/ModifyCsrType\";\nimport { isSunday } from \"services/util/DateUtil\";\nimport { NewModifyCsrModel } from \"services/apis/types/order/NewModifyCsrModel\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { isValidZipCode } from \"services/util/StringUtil\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport { ServiceAddressDto } from \"services/apis/types/port/ServiceAddressDto\";\nimport { PortInAccountModel } from \"../types/PortInAccountModel\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\n\ntype Props = {\n order: OrderDto;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function ModifyCsrModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [modifyCsrModel, setModifyModel] = useState({\n ...DefaultModifyCsrModel,\n dueDate: undefined,\n customerDetails: props.order.customerDetails\n });\n\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validate(modifyCsrModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n\n setShowLoadingIndicator(true);\n\n const model: NewModifyCsrModel = getNewModifyCsrModel(modifyCsrModel);\n\n OrderApi.modifyCsr(props.order.orderId, props.order.tenant, model)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id: \"orders.supplement.successNotificationMessage\"\n })\n );\n props.closeModal();\n props.onActionExecuted();\n })\n .catch((error) => {\n handleFieldOrApiErrors(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n
\n \n setModifyModel({\n ...modifyCsrModel,\n modifyType: parseInt(value)\n })\n }\n errorHandler={getErrorHandler(nameOf(\"modifyType\"))}\n options={Object.keys(ModifyCsrTypes).map((x) => {\n return {\n key: ModifyCsrTypes[(x as unknown) as ModifyCsrType],\n value: x\n };\n })}\n />\n
\n {modifyCsrModel.modifyType === ModifyCsrType.DueDate && (\n
\n \n setModifyModel({\n ...modifyCsrModel,\n dueDate: value\n })\n }\n errorHandler={getErrorHandler(nameOf(\"dueDate\"))}\n />\n
\n )}\n {modifyCsrModel.modifyType === ModifyCsrType.AccountInfo && (\n <>\n
\n
\n \n setModifyModel({ ...modifyCsrModel, customerDetails: customerDetails })\n }\n getErrorHandler={getErrorHandler}\n />\n
\n
\n
\n
\n \n setModifyModel({\n ...modifyCsrModel,\n customerDetails: {\n ...modifyCsrModel.customerDetails,\n serviceAddress: serviceAddress\n }\n })\n }\n getErrorHandler={getErrorHandler}\n />\n
\n
\n \n )}\n\n {(modifyCsrModel.modifyType === ModifyCsrType.DueDate && isSunday(modifyCsrModel.dueDate)) && (\n
\n \n
\n )}\n\n
\n
\n \n \n
\n \n \n );\n}\n\nfunction getNewModifyCsrModel(modifyModel: ModifyCsrModel) {\n const model: NewModifyCsrModel = {\n modifyType: modifyModel.modifyType\n };\n\n if (model.modifyType === ModifyCsrType.DueDate) {\n model.dueDate = modifyModel.dueDate?.toDate();\n } else if (model.modifyType === ModifyCsrType.AccountInfo) {\n model.customerDetails = modifyModel.customerDetails;\n }\n return model;\n}\n\nconst validate = (modifyCsrModel: ModifyCsrModel): Errors => {\n const errors: Errors = {};\n\n if (modifyCsrModel.modifyType === ModifyCsrType.DueDate && !modifyCsrModel.dueDate) {\n AddError(\n errors,\n nameOf(\"dueDate\"),\n \"orders.order.csr.modifyDueDate.required\"\n );\n }\n\n if (modifyCsrModel.modifyType === ModifyCsrType.AccountInfo && (\n (!modifyCsrModel.customerDetails.authorizedName))) {\n AddError(errors, nameOf(\"customerDetails\", \"authorizedName\"),\n \"orders.accountDetails.authorizedName\");\n }\n\n\n if (modifyCsrModel.modifyType === ModifyCsrType.AccountInfo &&\n modifyCsrModel.customerDetails.serviceAddress.zipCode) {\n if (!isValidZipCode(modifyCsrModel.customerDetails.serviceAddress.zipCode)) {\n AddError(\n errors,\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"zipCode\"),\n \"orders.portIn.stepTwo.dueDate.zipCodeError\"\n );\n }\n }\n\n return errors;\n};\n","export enum OrderRequestType {\n OrderOnly = \"OrderOnly\",\n PreOrderAndOrder = \"PreOrderAndOrder\",\n CSROnly = \"CSROnly\",\n DisasterRecovery = \"DisasterRecovery\"\n}\n\nexport const OrderRequestTypes: Record = {\n OrderOnly: \"Order only\",\n PreOrderAndOrder: \"PreOrder & Order\",\n CSROnly: \"CSR Only\",\n DisasterRecovery: \"DisasterRecovery\"\n};\n\nexport enum NewOrderRequestType {\n OrderOnly = \"OrderOnly\",\n PreOrderAndOrder = \"PreOrderAndOrder\",\n CSROnly = \"CSROnly\"\n}\n\nexport const NewOrderRequestTypes: Record = {\n OrderOnly: \"Order only\",\n PreOrderAndOrder: \"PreOrder & Order\",\n CSROnly: \"CSR Only\"\n};\n","import React, { useState, useContext, FormEvent, useEffect } from 'react';\nimport { Modal, Form, Button } from 'reactstrap';\nimport Datetime, { TimeConstraints } from 'react-datetime';\nimport moment, { Moment } from 'moment';\nimport { FormattedMessage } from 'react-intl'; \nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { AppContext } from 'services/appContext/AppContext';\nimport { KeyValuePair } from 'services/types/KeyValuePair';\nimport Select from 'react-select';\nimport { OrderDto } from 'services/apis/types/order/OrderDto';\nimport { userZoneInfos } from \"components/manage/user/UserTimeZones\";\nimport { Link } from 'react-router-dom';\n\ntype Props = {\n closeModal: () => void;\n onSubmit: (selectedTime: string, selectedTimeZone: string, actionSelected) => void;\n isOrderDashboard?: boolean;\n order?: OrderDto;\n actionSelected?: string;\n selectedActivationTime?: string;\n selectedActivationTimeZone?: string\n};\n\nconst timeConstraints: TimeConstraints = {\n hours: { min: 0, max: 23, step: 1 },\n minutes: { min: 0, max: 59, step: 10 }, // Set step to 10 for 10-minute intervals\n seconds: { min: 0, max: 59, step: 0 },\n};\n\nconst autoActivationconv = (value: Moment | string | null) => {\n if (!value) {\n return null;\n }\n return moment.isMoment(value) ? value : moment(value, 'M/D/YYYY h:mm:ss A', true);\n};\n\nconst calculateInitialTime = () => {\n const now = moment();\n const roundedMinutes = Math.ceil(now.minutes() / 10) * 10;\n return now.minutes(roundedMinutes).seconds(0);\n}\n\nexport default function AutoActivationModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [selectedTime, setSelectedTime] = useState(\n props.order?.autoActivation ? autoActivationconv(props.order?.autoActivation) : props.selectedActivationTime ? autoActivationconv(moment(props.selectedActivationTime)) : calculateInitialTime()\n );\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [selectedTimeZone, setSelectedTimeZone] = useState(\n props.order?.activationTimeZone ? props.order.activationTimeZone : props.selectedActivationTimeZone? props.selectedActivationTimeZone : appContext.localStorageInfo.user?.zoneInfo || 'UTC'\n );\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n props.onSubmit(\n selectedTime?.format('hh:mm:ss A') || '',\n selectedTimeZone,\n props.actionSelected\n );\n setSelectedTime(autoActivationconv(selectedTime))\n handleCloseModal();\n };\n\n const handleTimeChange = (value: Moment | string) => {\n setSelectedTime(autoActivationconv(value));\n };\n\n const handleTimeZoneChange = (selectedOption) => {\n setSelectedTimeZone(selectedOption.value);\n };\n\n const handleCloseModal = () => {\n setShowLoadingIndicator(false);\n setSelectedTime(null);\n props.closeModal();\n };\n\n \n const timezoneOptions = userZoneInfos.map((zone) => ({\n value: zone.value,\n label: zone.key,\n }));\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n
\n \n
\n
\n
\n \n
\n ({\n ...provided,\n padding: 0,\n }),\n }}\n />\n
\n {props.isOrderDashboard && (\n
\n \n
\n )}\n
\n
\n \n \n
\n \n
\n );\n}","import React, { useState, useContext, FormEvent } from 'react';\nimport { Modal, Form, Button } from 'reactstrap';\nimport { FormattedMessage } from 'react-intl';\nimport CloseButton from 'components/framework/modals/CloseButton';\nimport { OrderDto } from 'services/apis/types/order/OrderDto';\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { AppContext } from 'services/appContext/AppContext';\n\ntype Props = {\n closeModal: () => void;\n onSubmit: (reason: string | null) => void;\n order?: OrderDto;\n};\n\nexport default function CancelAutoActivationModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [cancelReason, setCancelReason] = useState(null);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme; \n\n const handleCancelActivation = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n props.onSubmit(cancelReason || null);\n handleCloseModal();\n }; \n\n const handleCancelReasonChange = (value) => {\n setCancelReason(value);\n };\n\n const handleCloseModal = () => {\n setShowLoadingIndicator(false);\n setCancelReason(null);\n props.closeModal();\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleCancelActivation(e)}>\n
\n
\n
\n \n
\n \n
\n
\n
\n \n \n
\n \n
\n );\n}\n","import React, { useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button, Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n showLoadingIndicator: boolean;\n onSubmit: () => void;\n};\n\nexport default function RestoreToOriginalModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n <>\n \n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n
\n \n \n {props.showLoadingIndicator && }\n \n \n
\n
\n \n );\n}\n","import React, { useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button, Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n showLoadingIndicator?: boolean;\n onSubmit: () => void;\n};\n\nexport default function SinchUpdateOrderModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n <>\n \n
\n
\n \n
\n \n
\n
\n
\n \n
\n
\n
\n \n \n {props.showLoadingIndicator && }\n \n \n
\n
\n \n );\n}\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { showErrorNotification, showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { OrderService } from \"services/portControl/OrderService\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport PortInModifyModal from \"./PortInModifyModal\";\nimport PortOutModifyModal from \"./PortOutModifyModal\";\nimport DisconnectModifyModal from \"./DisconnectModifyModal\";\nimport { OrderDto, PreviousOrderDto } from \"services/apis/types/order/OrderDto\";\nimport ExecuteSupplementAction from \"./ExecuteSupplementAction\";\nimport UpdateOrderStatusModal from \"./UpdateOrderStatusModal\";\nimport { SvRequestStatus } from \"../types/SvRequestStatus\";\nimport RejectCsrModal from \"./RejectCsrModal\";\nimport ModifyCsrModal from \"./ModifyCsrModal\";\nimport { useHistory } from \"react-router-dom\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport AutoActivationModal from \"../portCreate/portIn/AutoActivationModal\";\nimport CancelAutoActivationModal from \"../portCreate/portIn/CancelAutoActivation\";\nimport { OrderAutoActivationDto } from \"services/apis/types/order/OrderAutoActivationDto\";\nimport { CancelAutoActivationDto } from \"services/apis/types/order/CancelAutoActivationDto\";\nimport moment from \"moment\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport RestoreToOriginalModal from \"../portCreate/portIn/RestoreToOriginalModal\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport SinchUpdateOrderModal from \"../portCreate/portIn/SinchUpdateOrderModal\";\nimport { TnOrderRequestDto } from \"services/apis/types/searchAndProvision/TnOrderRequestDto\";\n\ntype Props = {\n order: OrderDto;\n action: OrderNumberActionType;\n confirmationMessageId?: string;\n\n skipConfirmation?: boolean;\n closeModal: () => void;\n onActionExecuted: () => void;\n};\n\nexport default function ExecuteOrderAction(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const isMounted = useIsMounted();\n const isCsrOnlyOrder = props.order.orderType === OrderType.PortOut && props.order.metadata.orderType === OrderRequestType.CSROnly;\n \n const { closeModal, onActionExecuted } = { ...props };\n const { appContext } = useContext(AppContext);\n\n const onAfterActionExecution = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n onActionExecuted();\n closeModal();\n }, [closeModal, intl, onActionExecuted]);\n\n const onFinally = useCallback(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n }, [isMounted]);\n\n const autoActivationDate: any = (time, record: OrderDto) => {\n const formattedDate = moment.utc(record.desiredDueDate).format('YYYY-MM-DD');\n const formattedTime = moment(time, 'hh:mm A').format('HH:mm:ss');\n const combinedDateTime = `${formattedDate}T${formattedTime}`;\n return combinedDateTime;\n }\n\n const handleSubmit = (time, timeZone) => {\n const builtScheduleActivation: OrderAutoActivationDto[] = [{\n orderId: props.order.orderId,\n modifiedBy: appContext.localStorageInfo.user?.email,\n modifiedDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n autoActivationDate: autoActivationDate(time, props.order),\n tnCount: props.order.numbers? props.order.numbers.length : \"\",\n dueDate: props.order.desiredDueDate,\n cancelledReason: \"\",\n timeZone: timeZone,\n orderActivitiy: props.action\n }]\n OrderService.scheduleActivation(builtScheduleActivation).then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }\n\n const handleCancelActivation = (reason) => {\n const builtCancelActivation: CancelAutoActivationDto[] = [{\n orderId: props.order.orderId,\n modifiedBy: appContext.localStorageInfo.user?.email,\n modifiedDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n autoActivationDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n tnCount: props.order.numbers? props.order.numbers.length : \"\",\n dueDate: props.order.desiredDueDate,\n cancelledReason: reason,\n timeZone: props.order.activationTimeZone || undefined,\n orderActivitiy: props.action\n }]\n OrderService.cancelActivation(builtCancelActivation).then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }\n\n const handleSinchUpdateOrder = () => {\n setShowLoadingIndicator(true);\n const tnOrderRequest : TnOrderRequestDto = {\n requestId: props.order.requestId,\n tnOrder: {\n tnList: {\n tnItem: props.order?.numbers.map(t => ({\n tn: t[\"phoneNumber\"],\n trunkGroup: \"\",\n routingOption: \"\"\n }))\n }\n }\n };\n OrderService.updateSinch(props.order.orderId, tnOrderRequest).then((result) => {\n if (result.statusCode === \"432\") {\n showErrorNotification(\n intl.formatMessage({ id: result.result.toString() })\n );\n onActionExecuted();\n closeModal();\n } else {\n onAfterActionExecution();\n }\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }\n\n const restoreDr = () => {\n setShowLoadingIndicator(true);\n OrderApi.drRestore(props.order.orderId, props.order.tenant).then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }\n\n const handlePortingNumberAction = useCallback(() => {\n setShowLoadingIndicator(true);\n\n OrderService.executeAction(props.order.orderId, props.order.tenant, props.action)\n .then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }, [onAfterActionExecution, onFinally, props.action, props.order.orderId, props.order.tenant]);\n\n const [isCsrToLsrRequest] = useState(()=> props.action === OrderNumberActionType.CsrToLsr && props.order.orderType === OrderType.CsrOnly);\n const [isLsrSubmit] = useState(()=> props.action === OrderNumberActionType.LsrSubmit && props.order.orderType === OrderType.CsrOnly);\n\n const history = useHistory();\n useEffect(()=>{\n\n if (isCsrToLsrRequest || isLsrSubmit) {\n history.push({\n pathname: \"/Orders/PortIn\", \n state: {\n previousOrder: {\n ...JSON.parse(JSON.stringify(props.order)),\n orderRequestType: OrderRequestType.PreOrderAndOrder\n } as PreviousOrderDto\n }\n });\n }\n \n },[history, props.order, isCsrToLsrRequest])\n\n useEffect(() => {\n if (props.skipConfirmation) {\n handlePortingNumberAction();\n closeModal();\n }\n }, [closeModal, handlePortingNumberAction, props.skipConfirmation]);\n\n const confirmationMessageId = getValueOrEmpty(props.confirmationMessageId);\n const isSupplementAction =\n props.action === OrderNumberActionType.PreOrderSupplement ||\n props.action === OrderNumberActionType.PreOrderApprove ||\n props.action === OrderNumberActionType.PreOrderReject;\n\n const calcLessThan24Hours = () => {\n if(props.action === OrderNumberActionType.PreOrderSupplement){\n const currentMillisUTC = Date.now();\n const autoActivationDate = props.order.autoActivation;\n const desiredDueDate = props.order.desiredDueDate;\n\n const formatDate = (dateStr) => {\n if (!dateStr) return null;\n let date;\n if (dateStr.toString().includes('T')) {\n date = new Date(dateStr);\n }\n else if (dateStr.includes('/')) {\n const [datePart, timePart, meridian] = dateStr.split(' ');\n const [month, day, year] = datePart.split('/').map(Number);\n let [hours, minutes, seconds] = timePart.split(':').map(Number);\n if (meridian === 'PM' && hours < 12) hours += 12;\n if (meridian === 'AM' && hours === 12) hours = 0;\n date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));\n }\n else if (dateStr.includes('-')) {\n const [day, month, year, hours, minutes, seconds] = dateStr.split(/[- :]/);\n date = new Date(Date.UTC(year, month - 1, day, hours, minutes, seconds));\n }\n return date.getTime();\n };\n\n let dateInMillis;\n\n if (autoActivationDate) {\n dateInMillis = formatDate(autoActivationDate);\n }\n else {\n dateInMillis = formatDate(desiredDueDate);\n }\n\n if (dateInMillis !== null) {\n const diffInHrs = (dateInMillis - currentMillisUTC) / (1000 * 60 * 60);\n return diffInHrs > 0 && diffInHrs < 24;\n } else {\n return false\n }\n } else {\n return false\n }\n }\n\n const isLessThan24Hours = calcLessThan24Hours()\n\n return (\n <>\n {props.action === OrderNumberActionType.Modify ? (\n props.order.orderType === OrderType.PortIn ? (\n \n ) : props.order.orderType === OrderType.PortOut ? (\n \n ) : (\n \n )\n ) : isSupplementAction ? (\n \n ) : props.action === OrderNumberActionType.PreOrderSubmit ? (\n \n ) : props.action === OrderNumberActionType.CsrRequested ? (\n \n ) : props.action === OrderNumberActionType.CsrValid ? (\n \n ) : props.action === OrderNumberActionType.CsrInvalid ? (\n \n ) : props.action === OrderNumberActionType.CsrCancel ? (\n \n ) : props.action === OrderNumberActionType.CsrEscalate ? (\n \n ) : props.action === OrderNumberActionType.CsrModify ? (\n \n ) : props.action === OrderNumberActionType.CsrReceived ? (\n \n ) : props.action === OrderNumberActionType.LsrSubmit && props.order.orderType != OrderType.CsrOnly ? (\n \n ) : props.action === OrderNumberActionType.ScheduleActivation || props.action === OrderNumberActionType.ModifyActivation ? (\n \n ) : props.action === OrderNumberActionType.CancelActivation ? (\n \n ) : props.action === OrderNumberActionType.Restore ? (\n \n ) : props.action === OrderNumberActionType.Submit ? (\n \n ) : isCsrToLsrRequest || isLsrSubmit ? (\n <>\n {/* will be redirected to \"/Orders/PortIn\" */}\n \n ) : (!props.skipConfirmation && (\n handlePortingNumberAction()}\n closeModal={props.closeModal}\n title={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmActionModalTitle\"\n })}\n confirmButtonText={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmAction\"\n })}\n showLoadingIndicator={showLoadingIndicator}>\n {confirmationMessageId && (\n

\n \n

\n )}\n \n )\n )}\n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { OrderListDto, SinchOrderList } from \"services/apis/types/order/OrderListDto\";\nimport { OrderNumberActionConfigurations } from \"components/orders/orderDetails/configuration/OrderNumberActionConfigurations\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ExecuteOrderAction from \"components/orders/orderDetails/ExecuteOrderAction\";\nimport { OrderDto, DefaultOrder } from \"services/apis/types/order/OrderDto\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport Icon from \"components/common/Icon\";\nimport { SinchApi } from \"services/apis/SinchApi\";\n\ntype Props = {\n order: OrderListDto | SinchOrderList;\n onActionExecuted: () => void;\n bulkActionSelected?: boolean;\n bulkActionOrderId?: string[];\n};\nexport const OrderActionCell = (props: Props) => {\n const [order, setOrder] = useState();\n const [selectedAction, setSelectedAction] = useState();\n const isMounted = useIsMounted();\n const excludedActions = [\"ScheduleActivation\", \"ModifyActivation\", \"CancelActivation\"]\n const availableActions = props.order.availableActions ? props.order.availableActions?.filter(action => !excludedActions.includes(action)) : [];\n\n useEffect(() => {\n if (selectedAction) {\n if (selectedAction === OrderNumberActionType.Submit) {\n SinchApi.getSinch(props.order.orderId, props.order.tenant)\n .then((result) => {\n if (isMounted.current) {\n setOrder(result);\n }\n })\n .catch((error) => handleError(error));\n }\n else if (selectedAction === OrderNumberActionType.Modify) {\n OrderApi.get(props.order.orderId, props.order.tenant)\n .then((result) => {\n if (isMounted.current) {\n setOrder(result);\n }\n })\n .catch((error) => handleError(error));\n } else {\n setOrder({ ...DefaultOrder, orderId: props.order.orderId, tenant: props.order.tenant });\n }\n } else {\n setOrder(undefined);\n }\n }, [selectedAction, isMounted, props.order.orderId, props.order.tenant, props.order]);\n\n return (\n <>\n {props.bulkActionSelected && props.order.availableActions && props.bulkActionOrderId && props.bulkActionOrderId.includes(props.order.orderId) && props.order.availableActions.length ? (\n \n ) : props.order.availableActions &&\n availableActions.map((action) => (\n \n {OrderNumberActionConfigurations[action] && (\n \n {selectedAction === action && order && (\n setSelectedAction(undefined)}\n onActionExecuted={props.onActionExecuted}/>\n )}\n setSelectedAction(action as OrderNumberActionType)}\n />\n \n )}\n \n ))}\n \n );\n};\n","import React from \"react\";\nimport { Container, Row, Col, InputGroup, InputGroupAddon } from \"reactstrap\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { SpidFilterSettings } from \"services/uiSettings/SpidFilterSettings\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport CheckboxFormInput from \"../forms/CheckboxFormInput\";\nimport {CustomViewSettingBase, CustomViewSettingBaseProps} from \"./CustomViewSettingsBase\";\nimport { LocalStorageUser } from \"services/appContext/LocalStorageUser\";\nimport { v4 as uuidv4 } from 'uuid';\n\ninterface State {\n selectAllCheckbox : boolean;\n selectedSpidList : SpidFilterSettings[],\n spidLookup : SpidInfo[],\n searchValue : string,\n searchResults: SpidFilterSettings[]\n}\n\ninterface SpidInfo {\n spId : string;\n name : string;\n}\n\nexport default class SpidsCustomViewSettings extends React.Component implements CustomViewSettingBase {\n \n ref: React.RefObject | undefined;\n settingIdentifier: string = \"spidFilterSettings\";\n \n state : State = { \n selectAllCheckbox : false,\n selectedSpidList : [],\n spidLookup : [],\n searchResults : [],\n searchValue : \"\"\n };\n\n searchValue : string | undefined;\n \n\n componentDidMount(){\n \n var spidList = this.getInitialStateForSelectedSpids();\n var spidLookup = this.getUser().spIdProfiles.map((m)=> { return { spId: m.spId, name : m.name}});\n \n this.setState({selectedSpidList : spidList, spidLookup : spidLookup}, this.searchAndUpdateSearchResults);\n \n }\n\n getUser = () : LocalStorageUser => {\n return AppContextAccessor.getAppContext().localStorageInfo.user as LocalStorageUser;\n }\n\n getSpidLabel(spId: string, spidName: string): string | undefined {\n var name = this.state.spidLookup.find(f=> f.name === spidName)?.name\n return spId + \" - \" + name;\n }\n\n searchAndUpdateSearchResults = (value?: string | undefined) => {\n \n // updating input \n this.searchValue = value;\n\n var results = this.searchAndFilter(value);\n\n this.setState({searchResults: results});\n }\n\n searchAndFilter = (value: string | undefined) =>{\n var results : SpidFilterSettings[] = [];\n if (value === undefined || value ===\"\")\n {\n results = this.state.selectedSpidList;\n }\n else{\n var foundSpIds = this.state.spidLookup.filter((v2)=> \n v2.name.toLocaleLowerCase().indexOf(value.toLocaleLowerCase() as string) > -1 \n || v2.spId.toLocaleLowerCase().indexOf(value.toLocaleLowerCase() as string) > -1).map(f => f.spId);\n \n results = this.state.selectedSpidList.filter((v) => foundSpIds.indexOf(v.spId) > -1);\n }\n return results;\n }\n \n\n render(){\n return (\n <>\n \n \n \n this.toggleSelectAllSearchedSpids(v)}\n />\n \n \n \n \n \n \n {this.state.searchResults.map((v,i,a)=> (\n this.toggleSpidSelection(v.id)}\n />\n ))}\n \n \n \n \n \n );\n } \n \n getInitialStateForSelectedSpids = () : SpidFilterSettings[] => {\n const sortAlphabeticallyFn = (a,b)=> a.spId.localeCompare(b.spId, undefined, {numeric: false, sensitivity: 'base'});\n\n var localStorageUser = AppContextAccessor.getAppContext().localStorageInfo.user;\n \n var settings = localStorageUser?.settings.ui?.tableSettings?.find((s)=> s.identifier === this.props.tableIdentifier);\n if (localStorageUser){\n var spids: SpidFilterSettings[] = AppContextAccessor.getAppContext().localStorageInfo.user?.spIdProfiles\n .sort(sortAlphabeticallyFn) \n .map(p=> { \n var foundSelectedSpid = settings?.spidFilterSettings?.find(s=> s.spId === p.spId && s.companyId === p.companyId)?.selected ?? false;\n return {spId : p.spId, selected: foundSelectedSpid, name: p.name, id: uuidv4(), companyId: p.companyId}\n }) ?? [];\n\n return spids;\n }\n \n return [];\n };\n\n toggleSpidSelection = (spidId: string) : void =>{\n var spidIdx = this.state.selectedSpidList.findIndex(s=> s.id === spidId);\n if (spidIdx >= 0) \n {\n this.setState(prev=>{\n var updated = [...prev[\"selectedSpidList\"]];\n updated[spidIdx].selected = !updated[spidIdx].selected;\n return {selectedSpidList : updated};\n });\n }\n };\n\n toggleSelectAllSearchedSpids = (value:boolean) :void =>{\n this.setState(prev=>{\n var updated = [...prev[\"selectedSpidList\"]];\n this.state.searchResults.forEach(spid=>\n {\n var spidIdx = this.state.selectedSpidList.findIndex(f=> f.id === spid.id);\n if ( updated[spidIdx] !== undefined){\n updated[spidIdx].selected = value;\n }\n });\n\n return {selectedSpidList : updated, selectAllCheckbox : value};\n });\n }\n\n getSettings() : [string, any[]]{\n return [this.settingIdentifier , this.state.selectedSpidList];\n } \n\n}\n\n\n\n","import React from \"react\";\nimport {Row,Col,Container} from \"reactstrap\"\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport CheckboxFormInput from \"../forms/CheckboxFormInput\";\nimport { DataTableColumn } from \"./types/DataTableColumn\";\nimport { getColumnSettings } from \"services/uiSettings/UiSettingsService\";\nimport {CustomViewSettingBase, CustomViewSettingBaseProps } from \"./CustomViewSettingsBase\";\n\ninterface ColumnsCustomViewSettingsProps extends CustomViewSettingBaseProps{\n viewName: string;\n columns : Array;\n}\n\ninterface State {\n columnsSettingsFormState: InitialFormState[];\n}\n\ntype InitialFormState = {\n isVisible : boolean;\n label: string;\n identifier: string;\n disabled: boolean;\n}\n\n\n\nexport default class ColumnsCustomViewSettings extends React.Component implements CustomViewSettingBase {\n \n ref: React.RefObject | undefined;\n settingIdentifier: string = \"columnSettings\";\n \n state : State = { \n columnsSettingsFormState: [],\n };\n\n componentDidMount(){\n var settings = this.getInitialFormState((this.props as ColumnsCustomViewSettingsProps).columns, this.props.tableIdentifier);\n this.setState({columnsSettingsFormState: settings}); \n }\n\n render(){\n return (\n \n \n \n
\n {this.state.columnsSettingsFormState.map((x) => (\n this.toggleIsVisible(x.identifier)}\n />\n ))}\n
\n \n
\n
)\n }\n\n getInitialFormState = (\n columns: Array,\n tableIdentifier: TableIdentifiers\n ) : InitialFormState[]=> {\n return columns\n .filter((x) => !!x.identifier)\n .map((column) => {\n let isVisible : boolean;\n if(column.identifier === \"id\") {\n isVisible = true;\n } else {\n isVisible = getColumnSettings(tableIdentifier, column.identifier)?.isVisible ?? false;\n }\n return {\n isVisible : isVisible,\n label: column.Header,\n identifier: column.identifier,\n disabled: column.notConfigurable\n } as InitialFormState;\n });\n };\n \n toggleIsVisible = (identifier: string) => {\n var columnIdentifier = this.state.columnsSettingsFormState.findIndex(s=> s.identifier === identifier);\n if (columnIdentifier > 0){\n this.setState(prev=>{\n var updated = [...prev[\"columnsSettingsFormState\"]];\n updated[columnIdentifier].isVisible = !updated[columnIdentifier].isVisible;\n return {columnsSettingsFormState : updated};\n });\n }\n }; \n \n getSettings() : [string, any[]]{\n return [this.settingIdentifier , this.state.columnsSettingsFormState];\n }\n \n}","import React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { OrderListDto } from \"services/apis/types/order/OrderListDto\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\n\ntype Props = {\n urlRoutePath: string;\n order: OrderListDto;\n tenant: string;\n value: string;\n}\n\nexport default function OrderLink(props: Props) {\n const isDisasterRecovery = props.order.orderType === OrderType.DisasterRecovery;\n const isRestore = props.order.orderType === OrderType.Restore;\n\n return (\n \n {props.value ? props.value : props.order.orderId}\n \n )\n}","export enum StatusType {\n ActionRequired = \"Action Required\",\n Pending = \"Pending\",\n Authorized = \"Authorized\",\n Active = \"Active\",\n Sending = \"Sending\",\n Conflict = \"Conflict\",\n Old = \"Old\",\n Failed = \"Failed\",\n PartialFailure = \"Partial Failure\",\n Canceled = \"Canceled\",\n CancelPending = \"Cancel Pending\",\n DisconnectPending = \"Disconnect Pending\",\n ActivatePending = \"Activate Pending\",\n PreOrderPending = \"LSR Pending\",\n ReceivedFoc = \"Received FOC\",\n Rejected = \"LSR Rejected\",\n Submitted = \"LSR Submitted\",\n Supplemented = \"LSR Supplemented\",\n CSRPending = \"CSR Pending\",\n CSRRequested = \"CSR Requested\",\n CSRReceived = \"CSR Received\",\n CSRReview = \"CSR Review\",\n CSRModified = \"CSR Modified\",\n CSRInvalid = \"CSR Invalid\",\n CSREscalated = \"CSR Escalated\",\n CSRApproved = \"CSR Approved\"\n}\n\nexport const getNumberStatus = (value: string | undefined): string => {\n var altStatus = StatusType[value as string];\n return altStatus ?? value;\n}","import React, { useCallback, useContext, useEffect } from \"react\";\r\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\r\nimport DropdownInput from \"../forms/DropdownInput\";\r\nimport { RestoreFilterService } from \"services/restoreFilters/RestoreFilterService\";\r\nimport { AppContext } from \"services/appContext/AppContext\";\r\n\r\nexport type ColumnFilterChangeEvent = {\r\n tableIdentifier: string,\r\n columnId: string,\r\n filteredValue: string\r\n};\r\n\r\ntype Props = {\r\n initialState: {\r\n identifier: string\r\n }\r\n column: {\r\n filterValue: string;\r\n preFilteredRows: Array;\r\n setFilter: (value: string | undefined) => void;\r\n id: string;\r\n },\r\n onChange:(props: ColumnFilterChangeEvent)=>void;\r\n columnFilterOptions?: any[];\r\n};\r\n\r\nexport default function RestoreTableColumnFilter(props: Props) {\r\n const { appContext } = useContext(AppContext);\r\n const theme = appContext.theme;\r\n\r\n const identifier = props.initialState.identifier;\r\n\r\n useEffect(() => {\r\n const options = props?.columnFilterOptions ?? getUniqueElements(props.column.preFilteredRows.map((x) => (\r\n x.values[props.column.id])\r\n ));\r\n if (RestoreFilterService.hasFilterColumn(identifier, props.column.id) && options.some(x => x === RestoreFilterService.getFilterValue(identifier, props.column.id))) {\r\n props.column.setFilter(RestoreFilterService.getFilterValue(identifier, props.column.id));\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [props.column, props.column.filterValue, props?.columnFilterOptions, identifier, RestoreFilterService.getFilterIdentifier(props.initialState.identifier)])\r\n\r\n const options = React.useMemo(() => {\r\n const options = props?.columnFilterOptions ?? props.column.preFilteredRows.map((x) => (\r\n x.values[props.column.id]\r\n ));\r\n return [\r\n { key: \"Any\", value: \"\" },\r\n ...getUniqueElements(options)\r\n .filter((x) => x)\r\n .sort((a, b) => (a > b ? 1 : -1))\r\n .map((x, i) => {\r\n return { value: x, key: x };\r\n })\r\n ];\r\n\r\n \r\n }, // eslint-disable-next-line\r\n [props, props.column.id, props.columnFilterOptions, props.column.preFilteredRows]);\r\n\r\n const handleChangePortingTypes = (filterValue: any, column: any) => {\r\n props.column.setFilter(filterValue || undefined);\r\n RestoreFilterService.setFilterValue(props.initialState.identifier, props.column.id, filterValue || \"Any\");\r\n \r\n if (props && props.onChange)\r\n {\r\n props?.onChange({\r\n tableIdentifier: identifier,\r\n columnId: props.column.id,\r\n filteredValue: filterValue\r\n } as ColumnFilterChangeEvent);\r\n \r\n }\r\n }\r\n\r\n const hasValidFilterValue = useCallback(()=> props.column.filterValue && props.column.filterValue !== 'Any' && props.column.filterValue !== '',\r\n [props.column.filterValue])\r\n\r\n return (\r\n {\r\n handleChangePortingTypes(e.target.value, props.column);\r\n }}\r\n value={props.column.filterValue}\r\n options={options}\r\n />\r\n );\r\n}\r\n\r\n\r\nexport const restoreTableColumnFilterFunction = (rows: any[], accessor: any, filterValues: any) => (\r\n rows.filter((x) => {\r\n if (filterValues === x.values[accessor] || filterValues === '' || filterValues === 'Any') {\r\n return (\r\n x.values\r\n );\r\n }\r\n return '';\r\n })\r\n)\r\n\r\n\r\n","import React, { useContext } from \"react\";\r\nimport IconWithTooltip from \"./IconWithTooltip\";\r\nimport { useIntl } from \"react-intl\";\r\nimport { AppContext } from \"services/appContext/AppContext\";\r\n\r\ntype Props = {\r\n order: any;\r\n columnValue: string;\r\n orderInfo?: any\r\n};\r\n\r\nexport default function DuplicateTNNotifier(props: Props) {\r\n const intl = useIntl();\r\n const { appContext } = useContext(AppContext);\r\n const userSpIdProfiles = appContext.localStorageInfo.user?.spIdProfiles.map(x => x.spId);\r\n\r\n let spidOfOtherOrders = '';\r\n if (props.orderInfo && props.orderInfo.order && props.orderInfo.order.tnsInOtherOrders) {\r\n const orders = Array.prototype.concat.apply([], Object.values(props.orderInfo.order.tnsInOtherOrders));\r\n const unique = orders.filter((uniqueNumber, index) => {\r\n return uniqueNumber && orders.indexOf(uniqueNumber) === index;\r\n });\r\n\r\n spidOfOtherOrders = unique\r\n .filter(order => typeof order === 'string' && order.length >= 4)\r\n .map(order => order.substring(0, 4)).toString();\r\n }\r\n\r\n const duplicateInfo = () => {\r\n if (userSpIdProfiles?.includes(spidOfOtherOrders)) {\r\n return props.order?.duplicateOrders\r\n ? intl.formatMessage({ id: 'orders.orderDetails.portingNumber.table.duplicateNotificationMessage' }, { orders: props.order.duplicateOrders.toString() })\r\n : intl.formatMessage({ id: 'orders.orderDetails.portingNumber.table.duplicateNotificationMessage' }, { orders: Object.values(props.orderInfo.order.tnsInOtherOrders[props.order]).toString() });\r\n } else {\r\n return props.order?.duplicateOrders\r\n ? intl.formatMessage({ id: 'orders.orderDetails.portingNumber.table.duplicateNotificationMessage' }, { orders: props.order.duplicateOrders.toString() })\r\n : intl.formatMessage({ id: 'orders.orderDetails.portingNumber.table.duplicateNotificationMessageForOtherOrg' });\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n
\r\n {props.columnValue === 'numberCount' ? props.order.numberCount : props.order ? props.order : ''}\r\n {\r\n ((props.order.duplicateOrders &&\r\n props.order.duplicateOrders.length > 0 )|| (props.orderInfo && props.orderInfo.order.tnsInOtherOrders && props.orderInfo.order.tnsInOtherOrders[props.order])) &&\r\n \r\n }\r\n
\r\n \r\n );\r\n}\r\n","import React, { useContext } from \"react\";\nimport { OrderListDto } from \"services/apis/types/order/OrderListDto\";\nimport IconWithTooltip from \"./IconWithTooltip\";\nimport { useIntl } from \"react-intl\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n order: OrderListDto;\n handleInputChange?: any;\n}\n\nexport default function OrderSelect(props: Props) {\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n const handleSelect = (e) => {\n props.handleInputChange({ ...props.order, selected: e.currentTarget.checked }, e.nativeEvent.shiftKey)\n }\n\n const autoActivation=() => {\n let autoActivation = props.order.autoActivation\n let activationTimeZone = props.order.activationTimeZone ? props.order.activationTimeZone : \"\"\n return autoActivation + \" \" + activationTimeZone\n }\n return (\n <>\n
\n handleSelect(e)}\n checked={props.order.selected}\n />\n {props.order.autoActivation && (\n \n )}\n
\n \n )\n}","import React, { useMemo, useState, useEffect, useContext, useCallback } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { OrderListDto } from \"services/apis/types/order/OrderListDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport DateRangeColumnFilter, {\n dateRangefilterFunction\n} from \"components/framework/table/DateRangeColumnFilter\";\nimport { getFormattedUtcDate, getUtcDate, isBetween, sort } from \"services/util/DateUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { OrderActionCell } from \"components/common/actions/OrderActionCell\";\nimport { OrdersTableColumnIdentifiers } from \"components/orders/types/OrdersTableColumnIdentifiers\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport FormatDate from \"components/framework/date/FormateDate\";\nimport SpidsCustomViewSettings from \"components/framework/table/SpidsCustomViewSettings\";\nimport ColumnsCustomViewSettings from \"components/framework/table/ColumnsCustomViewSettings\";\nimport OrderLink from \"components/orders/ordersList/orderTable/OrderLink\";\nimport { getNumberStatus } from \"services/apis/types/order/NumberStatus\";\nimport RestoreTableColumnFilter from \"components/framework/table/RestoreTableColumnFilter\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport moment from \"moment\";\nimport DuplicateTNNotifier from \"components/common/DuplicateTNNotifier\";\nimport { RestoreFilterService } from \"services/restoreFilters/RestoreFilterService\";\nimport OrderSelect from \"components/common/OrderSelect\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { OrderService } from \"services/portControl/OrderService\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport PortInModifyModal from \"components/orders/orderDetails/PortInModifyModal\";\nimport PortOutModifyModal from \"components/orders/orderDetails/PortOutModifyModal\";\nimport DisconnectModifyModal from \"components/orders/orderDetails/DisconnectModifyModal\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport AutoActivationModal from \"components/orders/portCreate/portIn/AutoActivationModal\";\nimport { OrderAutoActivationDto } from \"services/apis/types/order/OrderAutoActivationDto\";\nimport { string } from \"prop-types\";\nimport { Container } from \"reactstrap\";\nimport { showErrorNotification, showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport CancelAutoActivationModal from \"components/orders/portCreate/portIn/CancelAutoActivation\";\nimport { CancelAutoActivationDto } from \"services/apis/types/order/CancelAutoActivationDto\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { OrderNumberActionConfigurations } from \"components/orders/orderDetails/configuration/OrderNumberActionConfigurations\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { CompanyClientType } from \"components/manage/serviceProvider/CompanyClientType\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n isLoading: boolean;\n setIsLoading: (loading: boolean) => void;\n};\n\nexport default function OrderTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [orders, setOrders] = useState();\n const [ordersFiltered, setOrdersFiltered] = useState();\n const [columnFiltersChanged, setColumnsFiltersChanged] = useState(undefined);\n const [columnFiltersOptions, setColumnFiltersOptions] = useState({});\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n const [searchFilterTermValue, setSearchFilterTermValue] = useState(\"\");\n const [tableData, setTableData] = useState();\n const [updatedTableData, setUpdatedTableData] = useState();\n const [selectedOrders, setSelectedOrders] = useState>([]);\n const [selectedActionOrders, setSelectedActionOrders] = useState>([]);\n const [selectedCount, setSelectedCount] = useState(0);\n const [showOrderOptions,] = useState(true);\n const [orderActions, setOrderActions] = useState>([])\n const [bulkActionSelected, setbulkActionSelected] = useState(false);\n const [bulkActionOrderId, setBulkActionOrderId] = useState>([]);\n const [modifyOrder, setModifyOrder] = useState();\n const [isFoundCount, setIsFoundCount] = useState(-1);\n const [showModal, setShowModal] = useState(false);\n const [isAutoActivationSelected, setIsAutoActivationSelected] = useState(false);\n const [actionSelected, setActionSelected] = useState(\"\");\n const [isCheckAutoActivation, setIsCheckAutoActivation] = useState(localStorage.getItem('isCheckAutoActivation') === 'true');\n const [isCheckAttentionRequired, setIsCheckAttentionRequired] = useState(localStorage.getItem('isCheckAttentionRequired') === 'true');\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n const [showLoading, setShowLoading] = useState(false);\n\n const confirmationMessageId = actionSelected && OrderNumberActionConfigurations[actionSelected]?.Order.confirmMessageId;\n\n const updateAndSetOrders = useCallback((orders: OrderListDto[]) => {\n orders.forEach(o => { o.status = getNumberStatus(o.status); o.selected = false });\n setOrders(orders);\n\n if (orders && orders.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders]));\n setColumnFiltersOptions(() => extractColumnFiltersOptions([...orders]));\n setDefaultPagination();\n } else {\n setOrdersFiltered([]);\n }\n\n // eslint-disable-next-line\n }, []);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [tableColumnList, setTableColumnList] = useState([]);\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin)\n const isUserCompanyAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.CompanyAdmin)\n const companyId = appContext.localStorageInfo.selectedProfile?.companyId; \n \n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n const handleResetFilterChange = (event) => {\n setOrders(orders);\n setOrdersFiltered(() => applyOrdersColumnFilter(orders));\n setPageSize(10);\n setColumnFilterSort({});\n }\n\n const handleColumnSorted = useCallback((column) => {\n\n // adding or updating column sorting options\n var sortOptions = { ...columnFilterSort };\n if (!sortOptions[column.identifier]) {\n sortOptions = {\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false\n }\n };\n } else { // toggling sort direction\n sortOptions[column.identifier].isSortedDesc = !sortOptions[column.identifier].isSortedDesc;\n }\n\n setColumnFilterSort(() => sortOptions);\n }, [setColumnFilterSort, columnFilterSort]);\n\n const applySearchKeywordsFilter = useCallback((orders: OrderListDto[]) => {\n var filteredBySearchTerm = [...orders ?? [] as OrderListDto[]];\n\n if (searchFilterTermValue !== undefined && searchFilterTermValue !== \"\") {\n\n var columnsNames = Object.values(OrdersTableColumnIdentifiers) as string[];\n columnsNames.push(\"orderId\");\n setIsFoundCount(0);\n columnsNames.forEach(cn => {\n var found = filteredBySearchTerm.some(r => r[cn] && r[cn].toLowerCase\n ? r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1\n : false);\n if (found) {\n setIsFoundCount((prevCount => prevCount + 1))\n filteredBySearchTerm = filteredBySearchTerm.filter(r => r[cn] && r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1);\n return;\n }\n })\n if (isFoundCount === 0) {\n setOrdersFiltered([]);\n }\n }\n\n return filteredBySearchTerm;\n }, [searchFilterTermValue, isFoundCount]);\n\n useEffect(() => {\n if (isFoundCount === 0) {\n setOrdersFiltered([]);\n }\n }, [isFoundCount]);\n\n\n const applyOrdersColumnFilter = useCallback((orders: OrderListDto[] | undefined) => {\n\n var filteredData: OrderListDto[] = [...(orders ?? [{} as OrderListDto])];\n const columnFilterNames = Object.keys(appContext.localStorageInfo?.orders ?? {});\n if (columnFilterNames) {\n var allColumnFilter = appContext.localStorageInfo?.orders;\n\n columnFilterNames.forEach(fn => {\n var excluded = [\"pageIndex\", \"pageSize\"];\n if (allColumnFilter && !excluded.find(f => f === fn)) {\n var equalFilter = allColumnFilter[fn];\n var isAny = allColumnFilter[fn] === \"Any\";\n var isRange = Array.isArray(allColumnFilter[fn]);\n var isAnyRange = (isRange && allColumnFilter[fn] && allColumnFilter[fn].length === 0);\n\n if (!isAny && !isRange) {\n filteredData = filteredData.filter(fd => fd[fn] === equalFilter);\n }\n else if (isRange && !isAnyRange) {\n var dateRangeFilterValues = allColumnFilter[fn];\n let min = getUtcDate(dateRangeFilterValues.length ? (sort(dateRangeFilterValues as Array)[0] as Date) : undefined);\n let max = getUtcDate(dateRangeFilterValues.length ? (sort(dateRangeFilterValues as Array, true)[0] as Date) : undefined);\n\n filteredData = filteredData.filter(fd => isBetween(getUtcDate(fd[fn]), min, max));\n }\n }\n });\n\n }\n\n return filteredData;\n // eslint-disable-next-line\n }, [tableColumnList]);\n\n const applyColumnSorting = useCallback((orders: OrderListDto[] | undefined) => {\n\n let sortedOrders: OrderListDto[] | undefined = [...orders as OrderListDto[]];\n\n var hasColumnSort = columnFilterSort && Object.keys(columnFilterSort).length > 0;\n var firstSortedColumnId = Object.keys(columnFilterSort).find(k => columnFilterSort[k].isSorted) as string;\n var firstSortedColumnIdNormalized = normalizeFieldName(firstSortedColumnId);\n\n const distinctFn = (v, i, a) => a.findIndex(v1 => v1 === v) === i;\n const isNumericField = orders && orders?.map(f => f[firstSortedColumnIdNormalized])\n .filter(distinctFn)\n .map(v => Number.isInteger(v))\n .filter(v => v === false).length === 0;\n\n if (hasColumnSort) {\n\n // sorting records by column identifier\n if (firstSortedColumnId && firstSortedColumnId.toLowerCase().indexOf(\"date\") > 0) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc\n ? orders?.sort((a, b) => getUtcDate(b[firstSortedColumnIdNormalized]).diff(getUtcDate(a[firstSortedColumnIdNormalized])))\n : orders?.sort((a, b) => getUtcDate(a[firstSortedColumnIdNormalized]).diff(getUtcDate(b[firstSortedColumnIdNormalized])));\n }\n else if (firstSortedColumnId && isNumericField) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized] - a[firstSortedColumnIdNormalized] : 0) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized] - b[firstSortedColumnIdNormalized] : 0);\n }\n else {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized].localeCompare(a[firstSortedColumnIdNormalized]) : false) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized].localeCompare(b[firstSortedColumnIdNormalized]) : false);\n }\n }\n\n return sortedOrders;\n\n }, [columnFilterSort]);\n\n const filterAttentionReqOrders = (orders: OrderListDto[] | undefined) => {\n const filteredAttentionReqOrders = orders?.map(item => {\n let attentionRequired = false;\n \n if (item.orderType === \"port-in\") {\n if (item.status === \"LSR Rejected\" || item.status === \"CSR Invalid\") {\n attentionRequired = true;\n }\n } else if (item.orderType === \"port-out\") {\n if (item.status === \"LSR Pending\" || item.status === \"CSR Requested\" || item.status === \"LSR Supplemented\") {\n attentionRequired = true;\n }\n }\n \n return {\n ...item,\n attentionRequired\n };\n });\n return filteredAttentionReqOrders || [];\n }\n\n const filterAndSort = useCallback((orders: OrderListDto[] | undefined) => {\n if (orders && orders.length > 0) {\n\n const filteredOrders = filterAttentionReqOrders(orders);\n const filtered = applyOrdersColumnFilter([...filteredOrders]);\n const sorted = applyColumnSorting([...filtered]);\n let filteredBySearchKeywords = applySearchKeywordsFilter([...sorted as OrderListDto[]]);\n\n if (isCheckAutoActivation) {\n filteredBySearchKeywords = filterAutoActivationOrders(filteredBySearchKeywords);\n }\n\n setSelectedActionOrders(filteredBySearchKeywords.filter(x => x.attentionRequired));\n\n if (isCheckAttentionRequired) {\n filteredBySearchKeywords = filteredBySearchKeywords.filter(x => x.attentionRequired);\n }\n localStorage.setItem('isCheckAutoActivation', String(isCheckAutoActivation));\n localStorage.setItem('isCheckAttentionRequired', String(isCheckAttentionRequired));\n return filteredBySearchKeywords;\n }\n\n return [] as OrderListDto[];\n }, [applyOrdersColumnFilter, applyColumnSorting, applySearchKeywordsFilter, isCheckAutoActivation, isCheckAttentionRequired])\n\n const extractColumnFiltersOptions = (orders: OrderListDto[]) => {\n var lookup = {};\n const columnFilterNames = Object.values(OrdersTableColumnIdentifiers);\n if (columnFilterNames) {\n columnFilterNames.forEach(fn => {\n var excluded = [\"pageIndex\", \"pageSize\"];\n var allColumnFilter = appContext.localStorageInfo?.orders;\n if (allColumnFilter && orders.length > 0 && !excluded.find(f => f === fn)) {\n var isRange = Array.isArray(allColumnFilter[fn]) || fn.toLowerCase().indexOf(\"date\") > 0;\n var isAnyRange = (isRange && allColumnFilter[fn] && allColumnFilter[fn].length === 0);\n\n if (isRange && !isAnyRange) {\n var truncatedDates = getUniqueElements(orders.map(o => {\n var date = new Date(o[fn]);\n return new Date(date.getFullYear(), date.getMonth(), date.getDate()).toDateString();\n }));\n\n var dates = truncatedDates.map(d => moment(d).toDate());\n lookup[fn] = [...dates];\n }\n else {\n var normalizedFieldName = normalizeFieldName(fn);\n lookup[normalizedFieldName] = [...getUniqueElements(orders.map(o => o[normalizedFieldName]))];\n }\n\n }\n });\n }\n\n\n return lookup;\n };\n\n const normalizeFieldName = (fn) => {\n // normalizing field names mapping from \"OrdersTableColumnIdentifiers.ts\" field names to \"OrderListDto.ts\" field names\n if (fn && (fn.toLocaleLowerCase() === \"gainingspid\" || fn.toLocaleLowerCase() === \"losingspid\" || fn.toLocaleLowerCase() === \"loosingspid\")) {\n const altFn = fn.toLocaleLowerCase() === \"gainingspid\" ? \"gainingSpId\" : \"loosingSpId\";\n return altFn;\n }\n return fn;\n }\n\n const [selectedSpids] = useState(() => {\n var localStorageUser = appContext.localStorageInfo.user;\n var selected: string[] = [];\n if (localStorageUser) {\n var orderSettings = localStorageUser?.settings.ui?.tableSettings?.find(f => f.identifier === TableIdentifiers.Orders);\n var prevSelected = orderSettings?.spidFilterSettings?.filter(f => f.selected).map(f => f.spId) ?? [];\n var accountSpIds = localStorageUser?.spIdProfiles.map(p => p.spId);\n\n selected = prevSelected.length > 0\n ? accountSpIds.filter(spId => prevSelected.find(prevSpId => prevSpId === spId))\n : accountSpIds;\n }\n\n return selected;\n });\n\n const [isNonSpidProfileSelected] = useState(() => appContext.localStorageInfo.selectedProfile?.nonSpIdCompany);\n\n const dueDateFilter = useCallback(dateRangefilterFunction, [dateRangefilterFunction]);\n\n const toggleRefresh = useCallback(() => {\n setTriggerRefresh((x) => !x);\n setSelectedOrders([]);\n setSelectedCount(0);\n }, []);\n\n const [getHiddenColumns, setHiddenColumns] = useState | undefined>(undefined);\n\n const updateHiddenColumns = useCallback((): void => {\n const excludedColumnsForSpid = [OrdersTableColumnIdentifiers.CarrierName];\n const excludedColumnsForWholesale = [OrdersTableColumnIdentifiers.GainingSpid, OrdersTableColumnIdentifiers.LoosingSpid];\n\n const noTableSettingsConfigured = appContext.localStorageInfo.user?.settings.ui?.tableSettings === undefined;\n\n // setting hidden columns\n switch (isNonSpidProfileSelected) {\n case true: // excluding columns\n setHiddenColumns(excludedColumnsForWholesale.map(c => c as string));\n break;\n\n case false:\n if (noTableSettingsConfigured) { // hide excluded columns by default \n setHiddenColumns(excludedColumnsForSpid.map(c => c as string))\n }\n else {\n // no need to set hidden columns, as tableSettings will be handled by the ReactTable\n setHiddenColumns(undefined);\n }\n break;\n }\n }, [appContext.localStorageInfo.user, isNonSpidProfileSelected]);\n\n const setDefaultPagination = () => {\n var allColumnFilter = appContext.localStorageInfo?.orders;\n if (allColumnFilter) {\n const pageSize = allColumnFilter[\"pageSize\"] ?? 0;\n if (pageSize > 0) {\n setPageSize(pageSize);\n }\n }\n }\n\n const columns = useMemo(() => {\n const propsWithonChangeObject = (props) => {\n const onChange = { onChange: (propsEvent) => setColumnsFiltersChanged(() => props) };\n const filterOptions = { columnFilterOptions: columnFiltersOptions && columnFiltersOptions[props.column.id] as [] };\n return { ...onChange, ...filterOptions, ...props }\n };\n const unfilteredList = [\n {\n Header: \"\",\n accessor: \"selected\",\n identifier: OrdersTableColumnIdentifiers.Selected,\n notConfigurable: true,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.id\" }),\n accessor: \"projectId\",\n identifier: OrdersTableColumnIdentifiers.ProjectId,\n notConfigurable: true,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.actions\" }),\n accessor: \"attentionRequired\",\n identifier: OrdersTableColumnIdentifiers.Actions,\n filter: \"equals\",\n Filter: () => setIsCheckAttentionRequired(prev => !prev)} />,\n Cell: (cell: any) => (\n {}} checked={cell.cell.value} disabled={true} className=\"cursor-auto\" />\n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.adminProjectId\" }),\n accessor: \"adminProjectId\",\n identifier: OrdersTableColumnIdentifiers.AdminProjectId,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.type\" }),\n accessor: \"orderType\",\n identifier: OrdersTableColumnIdentifiers.OrderType,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.orderRequestType === OrderType.DisasterRecovery ? \"Disaster Recovery\" : cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.carrierName\" }),\n accessor: \"carrierName\",\n identifier: OrdersTableColumnIdentifiers.CarrierName,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => cell.cell.value\n },\n {\n Header: intl.formatMessage({ id: !isMixNetworkUrl ? \"orders.order.table.dueDate\" : \"orders.order.table.activationDate\" }),\n accessor: \"dueDate\",\n identifier: OrdersTableColumnIdentifiers.DueDate,\n Filter: (props) => ,\n filter: (rows: any[], accessor: any, filterValues: any) => rows,\n Cell: (cell: any) => cell.cell.value && \n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.status\" }),\n accessor: \"status\",\n identifier: OrdersTableColumnIdentifiers.Status,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.newSpId\" }),\n accessor: \"gainingSpId\",\n identifier: OrdersTableColumnIdentifiers.GainingSpid,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.oldSpId\" }),\n accessor: \"loosingSpId\",\n identifier: OrdersTableColumnIdentifiers.LoosingSpid,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.nextWorkDate\" }),\n accessor: \"nextWorkDate\",\n identifier: OrdersTableColumnIdentifiers.NextWorkDate,\n className: \"max-width-200 left-datepicker\",\n filter: \"equals\",\n Cell: (cell: any) => cell.cell.value && \n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.workedBy\" }),\n accessor: \"workedBy\",\n identifier: OrdersTableColumnIdentifiers.WorkedBy,\n Filter: (props) => ,\n filter: \"equals\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.tn\" }),\n accessor: \"numberCount\",\n identifier: OrdersTableColumnIdentifiers.NumberCount,\n Cell: (cell: any) => ()\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.operations\" }),\n accessor: \"operations\",\n identifier: OrdersTableColumnIdentifiers.Operations,\n Cell: (cell: any) => (\n \n )\n }\n ];\n\n const filteredList = unfilteredList.filter(x => x.accessor !== \"adminProjectId\");\n\n const columnsList = appContext.localStorageInfo.user && appContext.localStorageInfo.user.isAdminProjectIdAccessible && (isUserAdmin || isUserCompanyAdmin)\n ? (!isMixNetworkUrl ? unfilteredList.filter(x => x.accessor !== \"activationDate\") : unfilteredList.filter(x => x.accessor !== \"gainingSpId\" && x.accessor !== \"loosingSpId\"))\n : (!isMixNetworkUrl ? filteredList.filter(x => x.accessor !== \"activationDate\") : unfilteredList.filter(x => x.accessor !== \"adminProjectId\" && x.accessor !== \"gainingSpId\" && x.accessor !== \"loosingSpId\" && x.accessor !== \"carrierName\" && x.accessor !== \"nextWorkDate\" && x.accessor !== \"workedBy\"));\n setTableColumnList(columnsList);\n updateHiddenColumns();\n return columnsList;\n },\n // eslint-disable-next-line\n [appContext.localStorageInfo.orders, columnFiltersOptions, orders, setColumnsFiltersChanged, intl, dueDateFilter, updateHiddenColumns, bulkActionSelected, theme, isCheckAttentionRequired]);\n\n useEffect(() => {\n props.setIsLoading(true);\n setShowLoadingIndicator(true);\n if (props.search && props.search !== \"\" && props.search.length > 1) {\n RestoreFilterService.clearFilter(TableIdentifiers.Orders);\n }\n let spid: any = []\n if (props.search.length === 23 && props.search.includes(\"-\")) {\n let spidValue = props.search.slice(0, 4).toUpperCase().split(\",\");\n spid.push(spidValue);\n }\n let selectedAllSpids = [...selectedSpids, ...spid];\n let uniqueSpids = selectedAllSpids.filter((value, index, self) => self.indexOf(value) === index);\n const wholeSaleSpid = \"505B\"\n const wholesaleSpidArray: SpIdProfileDto[] | undefined = appContext.localStorageInfo.user?.spIdProfiles.filter((spid) => spid.spId === wholeSaleSpid);\n const isValidWholeSaleAdmin = wholesaleSpidArray?.find((x) => x.companyId === appContext.localStorageInfo.user?.companyId);\n const wholesaleSpidCompanyId = !isUserAdmin && isValidWholeSaleAdmin\n ? `${wholeSaleSpid}_${appContext.localStorageInfo.user?.companyId}`\n : \"\";\n const isWholesaleClient = appContext.localStorageInfo.selectedProfile?.clientType === CompanyClientType.WHOLESALE;\n if (!isMixNetworkUrl) {\n const pcApiCalls = [OrderApi.list(props.search, uniqueSpids, wholesaleSpidCompanyId)];\n\n if (props.search.length === 0) {\n pcApiCalls.push(OrderApi.drList(isWholesaleClient, companyId));\n }\n\n Promise.all(pcApiCalls)\n .then(([result, orders]) => {\n let sortedOrders = result;\n if (orders) {\n const combinedOrders = [...result, ...orders];\n sortedOrders = combinedOrders.sort((a, b) => {\n const dateA = new Date(a.creationDate).getTime();\n const dateB = new Date(b.creationDate).getTime();\n return dateB - dateA;\n });\n }\n\n if (isMounted && sortedOrders.length > 0) {\n updateAndSetOrders(sortedOrders);\n } else {\n updateAndSetOrders([]);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n props.setIsLoading(false)\n setShowLoadingIndicator(false);\n }\n });\n } else {\n const mixApiCalls = [OrderApi.mixList(props.search, appContext.localStorageInfo.user?.companyId)];\n\n if (props.search.length === 0) {\n mixApiCalls.push(OrderApi.drList(isWholesaleClient, companyId));\n }\n\n Promise.all(mixApiCalls)\n .then(([result, orders]) => {\n let sortedOrders = result;\n if (orders) {\n const combinedOrders = [...result, ...orders];\n sortedOrders = combinedOrders.sort((a, b) => {\n const dateA = new Date(a.creationDate).getTime();\n const dateB = new Date(b.creationDate).getTime();\n return dateB - dateA;\n });\n }\n\n if (isMounted && sortedOrders.length > 0) {\n updateAndSetOrders(sortedOrders);\n } else {\n updateAndSetOrders([]);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n props.setIsLoading(false)\n setShowLoadingIndicator(false);\n }\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh, props.search, selectedSpids]);\n\n const customViewSettingsTabs = useMemo(() => {\n var tabs = [()];\n if (!isNonSpidProfileSelected) {\n tabs.push(());\n }\n if(!isNonSpidProfileSelected && isMixNetworkUrl) {\n tabs.pop();\n }\n return tabs;\n }, [isNonSpidProfileSelected, columns]);\n\n useEffect(() => {\n setSelectedOrders([]);\n setSelectedCount(0);\n const orders = ordersFiltered && [...ordersFiltered];\n orders && orders.forEach(o => { o.status = getNumberStatus(o.status); o.selected = false });\n setOrdersFiltered(orders)\n // eslint-disable-next-line\n }, [pageIndex, pageSize])\n\n useEffect(() => {\n setTableData(ordersFiltered?.slice(pageIndex * pageSize, (pageIndex * pageSize) + pageSize))\n }, [ordersFiltered, pageIndex, pageSize, setTableData])\n\n useEffect(() => {\n if ((props.search.length === 23) && props.search.includes(\"-\")) {\n setTableData(ordersFiltered)\n } else {\n setTableData(ordersFiltered?.slice(pageIndex * pageSize, (pageIndex * pageSize) + pageSize))\n }\n }, [ordersFiltered, pageIndex, pageSize, props.search])\n\n useEffect(() => {\n setSelectedCount(selectedOrders.length);\n const actions = [].concat(...selectedOrders.map(obj => obj.availableActions));\n const actionCounts = actions.reduce((acc, action) => {\n acc[action] = (acc[action] || 0) + 1;\n return acc;\n }, {} as { [key: string]: number });\n const filteredActions = actions.filter(\n action => (action === OrderNumberActionType.Modify && actionCounts[action] === 1) || action !== OrderNumberActionType.Modify && action !== OrderNumberActionType.ModifyActivation\n );\n setOrderActions(Array.from(new Set(filteredActions)));\n }, [selectedOrders])\n\n const handleChangeOrder = useCallback((updateOrder: any, shiftKeySelected: boolean) => {\n if (ordersFiltered && shiftKeySelected) {\n ordersFiltered && setOrdersFiltered(prevState => {\n const selectedElementIndex = prevState ? prevState.findIndex(x => x.orderId === updateOrder.orderId) : -1;\n const lastIndex = prevState ? prevState.findIndex(x => x.selected === true) : -1;\n if (lastIndex !== -1 && prevState) {\n const startIndex = Math.min(lastIndex, selectedElementIndex);\n const endIndex = Math.max(lastIndex, selectedElementIndex);\n const updatedArray = prevState.map((item, index) => {\n if (index >= startIndex && index <= endIndex) {\n if (updateOrder.selected) {\n setSelectedOrders(prev => (prev.findIndex(x => x.orderId === item.orderId) === -1) ? [...prev, { ...item, selected: updateOrder.selected }] : prev)\n return { ...item, selected: updateOrder.selected };\n } else {\n setSelectedOrders(prev => prev.filter(x => x.orderId !== item.orderId))\n return { ...item, selected: updateOrder.selected };\n }\n }\n return item;\n })\n return updatedArray\n } else {\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n return prevState && prevState.map(x => x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x);\n }\n })\n } else {\n ordersFiltered && setOrdersFiltered(prevState => prevState && prevState.map(x => {\n return x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x\n }));\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n }\n\n }, [ordersFiltered, setOrdersFiltered, setSelectedOrders]);\n\n const handleSelectAll = useCallback(() => {\n if (selectedOrders.length > 0 && tableData) {\n setOrdersFiltered(prevState => prevState && prevState.map(x => {\n return { ...x, selected: false }\n }));\n setSelectedOrders([]);\n setSelectedCount(0);\n\n } else if (tableData) {\n setOrdersFiltered(prevState => prevState && prevState.map(x => {\n if (tableData.findIndex(y => y.orderId === x.orderId) > -1)\n return { ...x, selected: true }\n else\n return x\n }));\n setSelectedOrders(tableData);\n setSelectedCount(tableData.length);\n }\n }, [setOrdersFiltered, selectedOrders, tableData]);\n\n const convertActionsToEnum = (actions: string[]): OrderNumberActionType[] => {\n return actions.map((action) => OrderNumberActionType[action]);\n };\n\n const updateOrder = useCallback((updatedOrder: OrderDto, action: string) => {\n if (ordersFiltered && ordersFiltered.length > 0) {\n if (action === OrderNumberActionType.Archive) {\n setOrdersFiltered(prevState => prevState && prevState.filter(x => x.orderId !== updatedOrder.orderId))\n setSelectedOrders(prevState => prevState && prevState.filter(x => x.orderId !== updatedOrder.orderId))\n } else {\n setOrdersFiltered(prevState => {\n return prevState && prevState.map(x => {\n if (x.orderId === updatedOrder.orderId) {\n return { ...x, availableActions: convertActionsToEnum(updatedOrder.availableActions), status: updatedOrder.status }\n }\n return x\n })\n })\n }\n setbulkActionSelected(false);\n }\n }, [ordersFiltered, setSelectedOrders, setOrdersFiltered]);\n\n const fetchOrder = useCallback((orderId, tenant, action) => {\n if (action === OrderNumberActionType.Restore) {\n OrderApi.getDR(orderId, tenant)\n .then((result) => {\n if (isMounted.current) {\n updateOrder(result, action)\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setbulkActionSelected(false);\n }\n });\n } \n else {\n OrderApi.get(orderId, tenant)\n .then((result) => {\n if (isMounted.current) {\n if (action === OrderNumberActionType.Modify) {\n setModifyOrder(result);\n } else {\n updateOrder(result, action)\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setbulkActionSelected(false);\n }\n });\n } \n }, [isMounted, updateOrder, setModifyOrder])\n\n const setAction = useCallback((order, tenant, action) => {\n setBulkActionOrderId(prev => [...prev, order.orderId])\n setbulkActionSelected(true);\n if (action === OrderNumberActionType.Modify) {\n fetchOrder(order.orderId, tenant, action);\n } else {\n OrderService.executeAction(order.orderId, tenant, action)\n .then(() => {\n fetchOrder(order.orderId, tenant, action);\n })\n .catch(error => {\n handleError(error);\n })\n .finally(() => setbulkActionSelected(false));\n }\n }, [fetchOrder])\n\n const handleSubmit = (selectedTime: string, selectedTimeZone: string, actionSelected: string) => {\n handleScheduleActivation(selectedTime, selectedTimeZone, actionSelected)\n };\n\n const handleCancelSubmit = (reason: string | null) => {\n handleCancelActivation(reason)\n }\n\n const handleActionSelected = useCallback((selectedAction) => {\n setActionSelected(selectedAction)\n setBulkActionOrderId([]);\n if (selectedAction === OrderNumberActionType.ScheduleActivation || selectedAction === OrderNumberActionType.ModifyActivation || selectedAction === OrderNumberActionType.CancelActivation) {\n setIsAutoActivationSelected(!isAutoActivationSelected);\n setShowModal(!showModal);\n }\n else if (selectedAction === OrderNumberActionType.Activate || selectedAction === OrderNumberActionType.Cancel) {\n setShowConfirmationModal(true);\n }\n else if (Object.values(OrderNumberActionType).includes(selectedAction)) {\n selectedOrders.forEach(order => {\n if (order.availableActions && order.availableActions.includes(selectedAction)) {\n setAction(order, order.tenant, selectedAction)\n }\n }\n )\n }\n }, [selectedOrders, setAction])\n\n const onAfterActionExecutionModal = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n toggleRefresh();\n setActionSelected('');\n }, [intl]);\n\n const handleBulkAction = useCallback(() => {\n setShowLoading(true);\n\n const actionPromises = selectedOrders.map(order => {\n return setAction(order, order.tenant, actionSelected);\n });\n\n Promise.all(actionPromises)\n .then((response) => {\n if(response.length === selectedOrders.length) {\n onAfterActionExecutionModal();\n } else {\n showErrorNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionNotExecutedSuccesfuly\" })\n );\n }\n })\n .catch(error => {\n handleError(error);\n })\n .finally(() => {\n setShowConfirmationModal(false);\n setShowLoading(false);\n });\n }, [selectedOrders, actionSelected, setAction, onAfterActionExecutionModal, handleError]);\n\n const autoActivationDate: any = (time, record: OrderListDto) => {\n const formattedDate = moment.utc(record.dueDate).format('YYYY-MM-DD');\n const formattedTime = moment(time, 'hh:mm A').format('HH:mm:ss');\n const combinedDateTime = `${formattedDate}T${formattedTime}`;\n return combinedDateTime;\n }\n\n const handleScheduleActivation = useCallback((selectedTime, selectedTimeZone, actionSelected) => {\n const builtScheduleActivation: OrderAutoActivationDto[] = selectedOrders.map((record: OrderListDto) => ({\n orderId: record.orderId,\n modifiedBy: appContext.localStorageInfo.user?.email,\n modifiedDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n autoActivationDate: autoActivationDate(selectedTime, record),\n tnCount: record.numberCount ? record.numberCount : \"\",\n dueDate: record.dueDate,\n cancelledReason: \"\",\n timeZone: selectedTimeZone,\n orderActivitiy: actionSelected\n }))\n OrderService.scheduleActivation(builtScheduleActivation).then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n }, [selectedOrders])\n\n const handleCancelActivation = useCallback((reason) => {\n const builtScheduleActivation: CancelAutoActivationDto[] = selectedOrders.map((record: OrderListDto) => {\n return {\n orderId: record.orderId,\n modifiedBy: appContext.localStorageInfo.user?.email,\n modifiedDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n autoActivationDate: `${moment().format('YYYY-MM-DDTHH:mm:ssZ')}`,\n tnCount: record.numberCount ? record.numberCount : \"\",\n dueDate: record.dueDate,\n cancelledReason: reason,\n timeZone: record.activationTimeZone,\n orderActivitiy: actionSelected\n };\n });\n OrderService.cancelActivation(builtScheduleActivation).then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n }, [selectedOrders, actionSelected])\n\n const getOrdersFilteredCount = useCallback(() => ordersFiltered?.length, [ordersFiltered]);\n\n const onAfterActionExecution = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n }, [intl]);\n\n const toggleAutoActivationCheckbox = (checked: boolean | undefined) => {\n checked ? setIsCheckAutoActivation(true) : setIsCheckAutoActivation(false);\n };\n\n const filterAutoActivationOrders = (orders: OrderListDto[] | undefined) => {\n return orders?.filter(order => order.autoActivation !== null) || [];\n };\n\n useEffect(() => {\n setPageIndex(0);\n setOrdersFiltered(() => filterAndSort(orders));\n\n // eslint-disable-next-line\n }, [columnFiltersChanged, filterAndSort, setOrdersFiltered, setPageIndex]);\n\n\n useEffect(() => {\n if (orders && orders?.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders as OrderListDto[]]));\n }\n // eslint-disable-next-line \n }, [searchFilterTermValue]);\n\n useEffect(() => {\n\n if (orders && orders?.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders as OrderListDto[]]));\n }\n\n // eslint-disable-next-line \n }, [columnFilterSort, setOrdersFiltered, filterAndSort]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {orders && (\n \n )}\n \n )}\n {modifyOrder &&\n (modifyOrder.orderType === OrderType.PortIn ? (\n setModifyOrder(undefined)} />\n ) : (modifyOrder.orderType === OrderType.PortOut ? (\n setModifyOrder(undefined)} />\n ) : (\n setModifyOrder(undefined)} />\n )))\n }\n \n {showModal && (\n actionSelected === OrderNumberActionType.ScheduleActivation ? (\n {\n setShowModal(false);\n setIsAutoActivationSelected(false);\n }}\n actionSelected={actionSelected}\n onSubmit={handleSubmit}\n isOrderDashboard={true}\n />\n ) : (\n {\n setShowModal(false);\n setIsAutoActivationSelected(false);\n }}\n onSubmit={handleCancelSubmit} />\n )\n )}\n {showConfirmationModal && (\n handleBulkAction()}\n closeModal={() => {\n setShowConfirmationModal(false);\n setActionSelected('');\n }}\n title={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmActionModalTitle\"\n })}\n confirmButtonText={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmAction\"\n })}\n showLoadingIndicator={showLoading}>\n {confirmationMessageId && (\n

\n \n

\n )}\n \n )}\n
\n \n );\n}\n\nconst filterMapper = (orderListDto: OrderListDto) => {\n return {\n ...orderListDto,\n projectId: orderListDto.projectId || orderListDto.orderId,\n dueDate: getFormattedUtcDate(orderListDto.dueDate),\n numberCount: orderListDto.numberCount.toString()\n };\n};","export enum SoaItemType {\n PortIn,\n PortOut,\n SearchAndProvision,\n Disconnect,\n Modify,\n Audit,\n DisasterRecovery\n}\n","import { Moment } from \"moment\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type Disconnect = {\n phoneNumbers: string;\n disconnectDate: Moment;\n releaseDate: Moment;\n};\n\nexport const DefaultDisconnect: Disconnect = {\n phoneNumbers: \"\",\n disconnectDate: getUtcDate(),\n releaseDate: getUtcDate()\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row, FormGroup, Label, Input } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Moment } from \"moment\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { Disconnect, DefaultDisconnect } from \"../types/Disconnect\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { usePastedNumberFormatter } from \"services/customHooks/usePastedNumberFormatter\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { validateNumberInputValue } from \"services/validators/ValidatePhoneNumbers\";\nimport { ValidationResult } from \"services/validators/ValidationResult\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n};\n\nexport default function DisconnectModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [disconnect, setDisconnect] = useState(DefaultDisconnect);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n const onPaste = usePastedNumberFormatter(disconnect.phoneNumbers, (formattedValue) =>\n setDisconnect({ ...disconnect, phoneNumbers: formattedValue })\n );\n\n const phoneNumbersErrorsErrorHandler = getErrorHandler(nameOf(\"phoneNumbers\"));\n const phoneNumbersErrors = phoneNumbersErrorsErrorHandler.getErrors();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validateDisconnect(disconnect);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n PortApi.disconnect(\n disconnect.phoneNumbers.split(\",\"),\n disconnect.disconnectDate.toDate(),\n disconnect.releaseDate.toDate()\n )\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.disconnect.successNotificationMessage\" })\n );\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n \n \n \n 0\n })}\n rows=\"6\"\n type=\"textarea\"\n value={disconnect.phoneNumbers}\n onChange={(e) => {\n phoneNumbersErrorsErrorHandler.clear();\n setDisconnect({ ...disconnect, phoneNumbers: e.currentTarget.value });\n }}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n onPaste={onPaste}\n placeholder={intl.formatMessage({\n id: \"orders.disconnect.numberRange.placeholder\"\n })}\n />\n \n \n \n \n \n setDisconnect({ ...disconnect, disconnectDate: value })\n }\n errorHandler={getErrorHandler(nameOf(\"disconnectDate\"))}\n />\n \n \n \n setDisconnect({ ...disconnect, disconnectDate: value })\n }\n isTimeInput\n errorHandler={getErrorHandler(nameOf(\"disconnectDate\"))}\n />\n \n \n \n setDisconnect({ ...disconnect, releaseDate: value })\n }\n errorHandler={getErrorHandler(nameOf(\"releaseDate\"))}\n />\n \n \n \n setDisconnect({ ...disconnect, releaseDate: value })\n }\n isTimeInput\n errorHandler={getErrorHandler(nameOf(\"releaseDate\"))}\n />\n \n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateDisconnect = (disconnect: Disconnect) => {\n const errors: Errors = {};\n\n const validationResult = validateNumberInputValue(disconnect.phoneNumbers);\n\n if (validationResult !== ValidationResult.Valid) {\n AddError(errors, nameOf(\"phoneNumbers\"), \"orders.disconnect.numberRange.invalid\");\n }\n\n if (!disconnect.disconnectDate) {\n AddError(\n errors,\n nameOf(\"disconnectDate\"),\n \"orders.disconnect.disconnectDate.required\"\n );\n }\n\n return errors;\n};\n","import { ModifyModel, DefaultModifyModel } from \"services/apis/types/port/ModifyModel\";\n\nexport type Modify = {\n phoneNumberRange: string;\n modifyModel: ModifyModel;\n};\n\nexport const DefaultModify: Modify = {\n phoneNumberRange: \"\",\n modifyModel: DefaultModifyModel\n};\n","import { NpacRegion } from \"../number/NpacRegion\";\nimport { SvType } from \"../block/SvType\";\nimport { DpcSsnInfo, DefaultDpcSsnInfo } from \"../block/DpcSsnInfo\";\nimport { OptionalDataInfo, DefaultOptionalDataInfo } from \"../number/OptionalDataInfo\";\nimport { PortOutRejectionReason } from \"components/orders/types/PortOutRejectionReason\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\nexport type ModifyModel = {\n modifyType: string;\n portDirection: string;\n npacRegion?: keyof typeof NpacRegion;\n spId?: string;\n oldSpId?: string;\n phoneNumber?: string;\n dueDate?: Date;\n lrn?: string;\n svType?: keyof typeof SvType;\n billingId?: string;\n userLocationValue?: string;\n userLocationType?: string;\n networkData?: DpcSsnInfo;\n optionalData?: OptionalDataInfo;\n reject?: boolean;\n conflictCode?: keyof typeof PortOutRejectionReason;\n clientReference?: string;\n portToOrginal?: boolean;\n disconnectDate?: Date;\n releaseDate?: Date;\n dueTime?: Date;\n orderId?: string;\n};\n\nexport const DefaultModifyModel: ModifyModel = {\n modifyType: \"VSAC\",\n portDirection: \"\",\n npacRegion: \"MW\",\n spId: \"\",\n oldSpId: \"\",\n phoneNumber: \"\",\n dueDate: getUtcDate().toDate(),\n lrn: \"\",\n svType: \"wireline\",\n billingId: \"\",\n userLocationValue: \"\",\n userLocationType: \"\",\n networkData: DefaultDpcSsnInfo,\n optionalData: DefaultOptionalDataInfo,\n reject: false,\n conflictCode: \"\",\n clientReference: \"\",\n portToOrginal: false,\n disconnectDate: new Date(),\n releaseDate: new Date(),\n orderId: \"\"\n};\n","import React, { useState, FormEvent, useCallback, useEffect, useContext } from \"react\";\nimport { Modal, Form, Button, Row} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Moment } from \"moment\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { Modify, DefaultModify } from \"../types/Modify\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { removeDashes, isPhoneNumber, isRange } from \"services/util/StringUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport NpacMaintenanceAlert from \"../NpacMaintenanceAlert\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { ModifyModel } from \"services/apis/types/port/ModifyModel\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { SvType } from \"services/apis/types/block/SvType\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { DefaultDpcSsnInfo, DpcSsnInfo } from \"services/apis/types/block/DpcSsnInfo\";\nimport {\n DefaultOptionalDataInfo,\n OptionalDataInfo\n} from \"services/apis/types/number/OptionalDataInfo\";\nimport { getUtcDate, isSunday } from \"services/util/DateUtil\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { getFormattedNumbers } from \"services/portControl/PhoneNumberService\";\n\ntype Props = {\n closeModal: () => void;\n phoneNumber?: string;\n};\n\nexport default function ModifyModal(props: Props) {\n const appContext = useContext(AppContext);\n const theme = appContext.appContext.theme;\n const { setErrors, getErrorHandler } = useErrors();\n const [modify, setModify] = useState({\n ...DefaultModify,\n phoneNumberRange: props.phoneNumber ? props.phoneNumber : \"\"\n });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [loadingNumberDetails, setLoadingNumberDetails] = useState(false);\n const [hasNotAllowedSpId, setHasNotAllowedSpId] = useState(true);\n const [lastFetchedNumber, setLastFetchedNumber] = useState(\"\");\n const intl = useIntl();\n const isMounted = useIsMounted();\n const closeModal = useCallback(props.closeModal, []);\n\n const getSelectedSpId = useCallback(() => {\n return appContext.appContext.localStorageInfo.selectedProfile\n ? appContext.appContext.localStorageInfo.selectedProfile.spId\n : \"\";\n }, [appContext.appContext.localStorageInfo.selectedProfile]);\n\n const fetchNumberDetails = useCallback(\n (phoneNumber: string) => {\n NumberApi.details(removeDashes(phoneNumber))\n .then((result) => {\n if (isMounted.current) {\n const hasNotAllowedSpId = result.spId !== getSelectedSpId();\n setHasNotAllowedSpId(hasNotAllowedSpId);\n const newModify = {\n ...modify,\n phoneNumberRange: getFormattedNumbers(modify.phoneNumberRange),\n modifyModel: {\n ...modify.modifyModel,\n spId: result.spId,\n oldSpId: result.originalSpId,\n npacRegion: result.npacRegion,\n lrn: result.lrn,\n svType: result.type ? result.type : DefaultModify.modifyModel.svType,\n billingId: result.billingId,\n userLocationType: result.userLocationType,\n userLocationValue: result.userLocationValue,\n networkData: result.networkData,\n optionalData: result.optionalData\n }\n };\n setErrors(validateModify(newModify, hasNotAllowedSpId));\n setModify(newModify);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setLoadingNumberDetails(false);\n }\n });\n },\n [getSelectedSpId, isMounted, modify, setErrors]\n );\n\n const fetchNumbers = useCallback(\n (tnRange: string) => {\n NumberApi.search(tnRange)\n .then((result) => {\n if (isMounted.current) {\n const hasNotAllowedSpId = result.filter((x) => x.spId !== getSelectedSpId()).length > 0;\n setHasNotAllowedSpId(hasNotAllowedSpId);\n if (hasNotAllowedSpId) {\n setLoadingNumberDetails(false);\n setErrors(validateModify(modify, hasNotAllowedSpId));\n } else {\n fetchNumberDetails(result[0].phoneNumber);\n }\n }\n })\n .catch((error) => handleError(error));\n },\n [fetchNumberDetails, getSelectedSpId, isMounted, modify, setErrors]\n );\n\n useEffect(() => {\n const phoneNumber = getFormattedNumbers(modify.phoneNumberRange);\n const isNumber = isPhoneNumber(phoneNumber);\n const isNumberRange = isRange(phoneNumber);\n\n if ((isNumber || isNumberRange) && phoneNumber !== lastFetchedNumber) {\n setLoadingNumberDetails(true);\n\n if (isNumberRange) {\n fetchNumbers(phoneNumber);\n } else {\n fetchNumberDetails(phoneNumber);\n }\n\n setLastFetchedNumber(phoneNumber);\n }\n }, [fetchNumberDetails, fetchNumbers, modify.phoneNumberRange, lastFetchedNumber]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validateModify(modify, hasNotAllowedSpId);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n PortApi.modify(modify.phoneNumberRange, modify.modifyModel)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.modify.edit.numberSuccessNotificationMessage\" })\n );\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n \n \n setModify({ ...modify, phoneNumberRange: value })\n }\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n
\n {loadingNumberDetails && }\n
\n
\n \n \n setModify({ ...modify, modifyModel: { ...modify.modifyModel, spId: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"modifyModel\", \"spId\"))}\n />\n \n setModify({\n ...modify,\n modifyModel: { ...modify.modifyModel, clientReference: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"clientReference\")\n )}\n />\n \n \n \n setModify({ ...modify, modifyModel: { ...modify.modifyModel, lrn: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"modifyModel\", \"lrn\"))}\n />\n \n setModify({\n ...modify,\n modifyModel: { ...modify.modifyModel, svType: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"modifyModel\", \"svType\"))}\n options={Object.keys(SvType).map((x) => {\n return { key: x, value: SvType[x] };\n })}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: { ...modify.modifyModel, dueDate: value.toDate() }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"modifyModel\", \"dueDate\"))}\n />\n \n setModify({ ...modify, modifyModel: { ...modify.modifyModel, billingId: value } })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"billingId\")\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: { ...modify.modifyModel, userLocationType: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"userLocationType\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: { ...modify.modifyModel, userLocationValue: value }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"userLocationValue\")\n )}\n />\n \n\n

\n \n

\n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, classDpc: value }\n : { ...DefaultDpcSsnInfo, classDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"classDpc\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, classSsn: value }\n : { ...DefaultDpcSsnInfo, classSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"classSsn\")\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, lidbDpc: value }\n : { ...DefaultDpcSsnInfo, lidbDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"lidbDpc\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, lidbSsn: value }\n : { ...DefaultDpcSsnInfo, lidbSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"lidbSsn\")\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, isvmDpc: value }\n : { ...DefaultDpcSsnInfo, isvmDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"isvmDpc\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, isvmSsn: value }\n : { ...DefaultDpcSsnInfo, isvmSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"isvmSsn\")\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, cnamDpc: value }\n : { ...DefaultDpcSsnInfo, cnamDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"cnamDpc\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, cnamSsn: value }\n : { ...DefaultDpcSsnInfo, cnamSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"cnamSsn\")\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, wsmscDpc: value }\n : { ...DefaultDpcSsnInfo, wsmscDpc: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"wsmscDpc\")\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n networkData: modify.modifyModel.networkData\n ? { ...modify.modifyModel.networkData, wsmscSsn: value }\n : { ...DefaultDpcSsnInfo, wsmscSsn: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\"modifyModel\", \"networkData\", \"wsmscSsn\")\n )}\n />\n \n

\n \n

\n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, altSpId: value }\n : { ...DefaultOptionalDataInfo, altSpId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"altSpId\"\n )\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, lastAltSpId: value }\n : { ...DefaultOptionalDataInfo, lastAltSpId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"lastAltSpId\"\n )\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, altBillingId: value }\n : { ...DefaultOptionalDataInfo, altBillingId: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"altBillingId\"\n )\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, altUserLocationType: value }\n : { ...DefaultOptionalDataInfo, altUserLocationType: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"altUserLocationType\"\n )\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, altUserLocationValue: value }\n : { ...DefaultOptionalDataInfo, altUserLocationValue: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"altUserLocationValue\"\n )\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, voiceUri: value }\n : { ...DefaultOptionalDataInfo, voiceUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"voiceUri\"\n )\n )}\n />\n \n \n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, mmsUri: value }\n : { ...DefaultOptionalDataInfo, mmsUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"mmsUri\"\n )\n )}\n />\n \n setModify({\n ...modify,\n modifyModel: {\n ...modify.modifyModel,\n optionalData: modify.modifyModel.optionalData\n ? { ...modify.modifyModel.optionalData, smsUri: value }\n : { ...DefaultOptionalDataInfo, smsUri: value }\n }\n })\n }\n errorHandler={getErrorHandler(\n nameOf(\n \"modifyModel\",\n \"optionalData\",\n \"smsUri\"\n )\n )}\n />\n \n \n { \n isSunday(modify.modifyModel.dueDate) && (\n \n )}\n \n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateModify = (modify: Modify, hasNotAllowedSpId: boolean) => {\n const errors: Errors = {};\n\n if (!modify.phoneNumberRange) {\n AddError(errors, nameOf(\"phoneNumberRange\"), \"orders.modify.edit.tnRange.required\");\n } else if (!isPhoneNumber(modify.phoneNumberRange) && !isRange(modify.phoneNumberRange)) {\n AddError(errors, nameOf(\"phoneNumberRange\"), \"orders.modify.edit.tnRange.invalid\");\n }\n\n if (hasNotAllowedSpId && isRange(modify.phoneNumberRange)) {\n AddError(errors, nameOf(\"phoneNumberRange\"), \"orders.modify.edit.tnRange.notAllowed\");\n } else if (hasNotAllowedSpId && isPhoneNumber(modify.phoneNumberRange)) {\n AddError(\n errors,\n nameOf(\"modifyModel\", \"spId\"),\n \"orders.modify.edit.spId.notAllowed\"\n );\n }\n\n return errors;\n};\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { NpacAuditListDto } from \"./types/audit/NpacAuditListDto\";\nimport { RequestAuditModel } from \"./types/audit/RequestAuditModel\";\nimport { NpacAuditReply } from \"./types/audit/NpacAuditReply\";\nimport { ApiError } from \"./types/ApiError\";\n\nexport const AuditApi = {\n list: (searchValue: string): Promise => {\n return HttpClient.get(`audit/?search=${searchValue}`, true, true);\n },\n\n create: (audit: RequestAuditModel): Promise => {\n return HttpClient.post(\"audit/audit\", audit, true, true);\n },\n\n details: (auditId: string): Promise => {\n return HttpClient.get(`audit/audit/${auditId}`, true, true);\n }\n};\n","export type RequestAuditModel = {\n phoneNumberRange: string;\n name: string;\n activatedFrom?: Date;\n activatedTo?: Date;\n spId: string;\n};\n\nexport const DefaultRequestAuditModel: RequestAuditModel = {\n phoneNumberRange: \"\",\n name: \"\",\n spId: \"\"\n};\n","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { AuditApi } from \"services/apis/AuditApi\";\nimport {\n RequestAuditModel,\n DefaultRequestAuditModel\n} from \"services/apis/types/audit/RequestAuditModel\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useHistory } from \"react-router-dom\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { isValidName, hasNameLengthExceeded } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n triggerRefresh?: () => void;\n};\n\nexport default function CreateAuditModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [audit, setAudit] = useState({ ...DefaultRequestAuditModel });\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const history = useHistory();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validateAudit(audit);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n AuditApi.create(audit)\n .then(() => {\n if (props.triggerRefresh) {\n props.triggerRefresh();\n }\n showInfoNotification(intl.formatMessage({ id: \"audits.create.audit.success\" }));\n closeModal();\n history.push(\"/Audits\");\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n \n setAudit({ ...audit, name: value })}\n errorHandler={getErrorHandler(nameOf(\"name\"))}\n />\n \n \n setAudit({ ...audit, phoneNumberRange: value })}\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n \n
\n
\n \n \n
\n \n
\n );\n}\n\nconst validateAudit = (audit: RequestAuditModel) => {\n const errors: Errors = {};\n\n if (!audit.name) {\n AddError(errors, nameOf(\"name\"), \"audits.create.audit.name.emptyError\");\n }\n if (audit.name && !isValidName(audit.name)) {\n AddError(errors, nameOf(\"name\"), \"audits.create.query.name.invalidName\");\n }\n if (audit.name && !hasNameLengthExceeded(audit.name)) {\n AddError(errors, nameOf(\"name\"), \"audits.create.query.name.limitExceeded\");\n }\n if (!audit.phoneNumberRange) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"audits.create.audit.phoneNumbers.emptyError\"\n );\n }\n\n return errors;\n};\n","export type TnInventoryRequestDto = {\n npa?: string;\n nxx?: string;\n line?: string;\n quantity?: string;\n consecutive?: boolean;\n};\n\nexport const DefaultTnInventoryRequestDto: TnInventoryRequestDto = {\n npa: \"\",\n nxx: \"\",\n line: \"\",\n quantity: \"\",\n consecutive: false\n};\n","import React from \"react\";\nimport { Alert } from \"reactstrap\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { useIntl } from \"react-intl\";\n\ntype Props = {\n errors: ApiError[];\n onDismiss?: (error: ApiError) => void;\n duplicateNumbers?: any;\n portProposals?: any;\n currentStatusValue?: boolean;\n};\n\nexport default function ErrorList(props: Props) {\n const intl = useIntl();\n return (\n <>\n {props.errors.map((error) => (\n {\n if (props?.onDismiss) (props.onDismiss as ((error: ApiError) => void))(error);\n }}\n >\n \n \n \n \n {props.duplicateNumbers ?\n \n {\n props.portProposals.gainingSpidIsExternal || (props.portProposals.gainingSpidIsExternal && props.currentStatusValue) ?\n `${error.message}. ${intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.vpopDuplicateErrorNotificationMessage\" })}` :\n `${error.message}. ${intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.duplicateErrorNotificationMessage\" })}`\n }\n :\n error.message}\n \n \n ))}\n \n );\n}\n","export enum ApiErrorType {\n Warning = \"warning\",\n Danger = \"danger\"\n }","import React, { useState, FormEvent, useCallback, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { useHistory } from \"react-router-dom\";\nimport { ProvisionOrderListDto } from \"services/apis/types/order/ProvisionOrderListDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { DefaultTnInventoryRequestDto, TnInventoryRequestDto } from \"services/apis/types/searchAndProvision/TnInventoryRequestDto\";\nimport { SinchApi } from \"services/apis/SinchApi\";\nimport { isNumericRegex, isQtyNumericRegex } from \"services/util/StringUtil\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\n\ntype Props = {\n closeModal: () => void;\n};\n\nexport default function SearchAndProvisionModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const { appContext, setAppContext } = useContext(AppContext);\n const [searchAndProvision, setSearchAndProvision] = useState(DefaultTnInventoryRequestDto);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const history = useHistory();\n const [tnInventoryErrors, setTnInventoryErrors] = useState([]);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n // const onPaste = usePastedNumberFormatter(searchAndProvision.phoneNumbers || \"\", (formattedValue) =>\n // setSearchAndProvision({ ...searchAndProvision, phoneNumbers: formattedValue })\n // );\n\n // const phoneNumbersErrorsErrorHandler = getErrorHandler(nameOf(\"phoneNumbers\"));\n // const phoneNumbersErrors = phoneNumbersErrorsErrorHandler.getErrors();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n const errors = validateSearchAndProvision(searchAndProvision);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else if (!searchAndProvision.npa && !searchAndProvision.nxx && !searchAndProvision.line) {\n setTnInventoryErrors([{\n message: `${intl.formatMessage({ id: \"orders.searchAndProvision.validation.all\" })}`,\n type: ApiErrorType.Danger\n }]);\n setShowLoadingIndicator(false);\n } else {\n SinchApi.tnInventory(searchAndProvision)\n .then((result) => {\n if (result.statusCode === \"430\"){\n setTnInventoryErrors([{\n message: `${result.status}`,\n type: ApiErrorType.Danger\n }]);\n return;\n }\n const provisionOrders : ProvisionOrderListDto[] = result.tnResult?.map((item) => {\n return {\n orderId: item.telephoneNumber,\n phoneNumber: item.telephoneNumber,\n selected: false,\n countryCode: item.countryCode,\n requestId: result.requestId\n }\n }) || [];\n\n if (isMounted && result) {\n setAppContext({\n ...appContext,\n localStorageInfo: {...appContext.localStorageInfo, provisionOrders: provisionOrders}\n });\n } else {\n setAppContext({\n ...appContext,\n localStorageInfo: {...appContext.localStorageInfo, provisionOrders: []}\n });\n }\n showInfoNotification(\n intl.formatMessage({ id: \"orders.searchAndProvision.successNotificationMessage\" })\n );\n closeModal();\n history.push(\"/Orders/Provison/ProvisionOrders\");\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n {/* \n setSearchAndProvision({...searchAndProvision, country: value})}\n errorHandler={getErrorHandler(nameOf(\"country\"))}\n options={Object.keys(Country).map((x) => {\n return { key: x, value: Country[x] };\n })}\n />\n */}\n \n setSearchAndProvision({ ...searchAndProvision, npa: value })}\n errorHandler={getErrorHandler(nameOf(\"npa\"))}\n />\n setSearchAndProvision({ ...searchAndProvision, nxx: value })}\n errorHandler={getErrorHandler(nameOf(\"nxx\"))}\n />\n setSearchAndProvision({ ...searchAndProvision, line: value })}\n errorHandler={getErrorHandler(nameOf(\"line\"))}\n />\n \n \n setSearchAndProvision({ ...searchAndProvision, quantity: value })}\n errorHandler={getErrorHandler(nameOf(\"quantity\"))}\n />\n \n \n setSearchAndProvision({ ...searchAndProvision, consecutive: value })}\n checked={searchAndProvision.consecutive || false}\n className=\"font-weight-bold mx-2\"\n />\n \n {/* \n \n \n 0\n })}\n rows=\"6\"\n type=\"textarea\"\n value={searchAndProvision.phoneNumbers}\n onChange={(e) => {\n phoneNumbersErrorsErrorHandler.clear();\n setSearchAndProvision({ ...searchAndProvision, phoneNumbers: e.currentTarget.value });\n }}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n onPaste={onPaste}\n placeholder={intl.formatMessage({\n id: \"orders.searchAndProvision.enterNumbersMessage\"\n })}\n />\n \n \n */}\n
\n
\n \n \n
\n {tnInventoryErrors &&
\n \n
}\n \n
\n \n );\n}\n\nconst validateSearchAndProvision = (searchAndProvision: TnInventoryRequestDto) => {\n const errors: Errors = {};\n\n if (searchAndProvision.npa && (searchAndProvision.npa.length > 3 || searchAndProvision.npa.length < 3 || !isNumericRegex(searchAndProvision.npa))){\n AddError(errors, nameOf(\"npa\"), \"orders.searchAndProvision.validation.npa\")\n }\n\n if (searchAndProvision.nxx && (searchAndProvision.nxx.length > 3 || searchAndProvision.nxx.length < 3 || !isNumericRegex(searchAndProvision.nxx))){\n AddError(errors, nameOf(\"nxx\"), \"orders.searchAndProvision.validation.nxx\")\n }\n\n if (searchAndProvision.line && (searchAndProvision.line.length > 4 || searchAndProvision.line.length < 4 || !isNumericRegex(searchAndProvision.line))){\n AddError(errors, nameOf(\"line\"), \"orders.searchAndProvision.validation.line\")\n }\n\n if (!searchAndProvision.quantity){\n AddError(errors, nameOf(\"quantity\"), \"orders.searchAndProvision.validation.quantity\")\n }\n\n if (searchAndProvision.quantity && (!isQtyNumericRegex(searchAndProvision.quantity))){\n AddError(errors, nameOf(\"quantity\"), \"orders.searchAndProvision.validation.quantity.isNumber\")\n }\n\n return errors;\n};\n","import React, { useContext } from \"react\";\nimport { NavLink } from \"react-router-dom\";\nimport \"./NavBar.css\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nconst Navbar = (props) => {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n if (!props.navTitlesRoutes || props.navTitlesRoutes.length === 0) {\n return null; // or display a fallback UI, depending on your use case\n }\n\n return (\n <>\n
\n {props.navTitlesRoutes.map((x) => {\n const checkActive = (match, location) => {\n if (!location) return false;\n const { pathname } = location;\n return pathname === x.routes; // Compare with the current element's route\n };\n return (\n
\n
    \n
  • \n \n {x.titles}\n \n
  • \n
\n
\n );\n })}\n
\n \n );\n};\n\nexport default Navbar;\n","import React, { useMemo, useState, useEffect, useContext, useCallback } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { SinchOrderList } from \"services/apis/types/order/OrderListDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport {\n dateRangefilterFunction\n} from \"components/framework/table/DateRangeColumnFilter\";\nimport { getUtcDate, isBetween, sort } from \"services/util/DateUtil\";\nimport { OrderActionCell } from \"components/common/actions/OrderActionCell\";\nimport { OrdersTableColumnIdentifiers } from \"components/orders/types/OrdersTableColumnIdentifiers\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport SpidsCustomViewSettings from \"components/framework/table/SpidsCustomViewSettings\";\nimport ColumnsCustomViewSettings from \"components/framework/table/ColumnsCustomViewSettings\";\nimport OrderLink from \"components/orders/ordersList/orderTable/OrderLink\";\nimport { getNumberStatus } from \"services/apis/types/order/NumberStatus\";\nimport RestoreTableColumnFilter from \"components/framework/table/RestoreTableColumnFilter\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport moment from \"moment\";\nimport DuplicateTNNotifier from \"components/common/DuplicateTNNotifier\";\nimport { RestoreFilterService } from \"services/restoreFilters/RestoreFilterService\";\nimport OrderSelect from \"components/common/OrderSelect\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { OrderService } from \"services/portControl/OrderService\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport PortInModifyModal from \"components/orders/orderDetails/PortInModifyModal\";\nimport PortOutModifyModal from \"components/orders/orderDetails/PortOutModifyModal\";\nimport DisconnectModifyModal from \"components/orders/orderDetails/DisconnectModifyModal\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { Container } from \"reactstrap\";\nimport { showErrorNotification, showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { OrderNumberActionConfigurations } from \"components/orders/orderDetails/configuration/OrderNumberActionConfigurations\";\nimport { CompanyClientType } from \"components/manage/serviceProvider/CompanyClientType\";\nimport { SinchApi } from \"services/apis/SinchApi\";\nimport SinchUpdateOrderModal from \"components/orders/portCreate/portIn/SinchUpdateOrderModal\";\nimport { TnOrderRequestDto } from \"services/apis/types/searchAndProvision/TnOrderRequestDto\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n isLoading: boolean;\n setIsLoading: (loading: boolean) => void;\n};\n\nexport default function SinchOrderTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [orders, setOrders] = useState();\n const [ordersFiltered, setOrdersFiltered] = useState();\n const [columnFiltersChanged, setColumnsFiltersChanged] = useState(undefined);\n const [columnFiltersOptions, setColumnFiltersOptions] = useState({});\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n const [searchFilterTermValue, setSearchFilterTermValue] = useState(\"\");\n const [tableData, setTableData] = useState();\n const [selectedOrders, setSelectedOrders] = useState>([]);\n const [selectedActionOrders, setSelectedActionOrders] = useState>([]);\n const [selectedCount, setSelectedCount] = useState(0);\n const [showOrderOptions,] = useState(true);\n const [orderActions, setOrderActions] = useState>([])\n const [bulkActionSelected, setbulkActionSelected] = useState(false);\n const [bulkActionOrderId, setBulkActionOrderId] = useState>([]);\n const [modifyOrder, setModifyOrder] = useState();\n const [isFoundCount, setIsFoundCount] = useState(-1);\n const [showModal, setShowModal] = useState(false);\n const [isAutoActivationSelected, setIsAutoActivationSelected] = useState(false);\n const [actionSelected, setActionSelected] = useState(\"\");\n const [isCheckAutoActivation, setIsCheckAutoActivation] = useState(localStorage.getItem('isCheckAutoActivation') === 'true');\n const [isCheckAttentionRequired, setIsCheckAttentionRequired] = useState(localStorage.getItem('isCheckAttentionRequired') === 'true');\n const [showConfirmationModal, setShowConfirmationModal] = useState(false);\n const [showLoading, setShowLoading] = useState(false);\n\n const confirmationMessageId = actionSelected && OrderNumberActionConfigurations[actionSelected]?.Order.confirmMessageId;\n\n const updateAndSetOrders = useCallback((orders: SinchOrderList[]) => {\n orders.forEach(o => { o.status = getNumberStatus(o.status); o.selected = false });\n setOrders(orders);\n\n if (orders && orders.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders]));\n setColumnFiltersOptions(() => extractColumnFiltersOptions([...orders]));\n setDefaultPagination();\n } else {\n setOrdersFiltered([]);\n }\n\n // eslint-disable-next-line\n }, []);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [tableColumnList, setTableColumnList] = useState([]);\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin)\n const isUserCompanyAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.CompanyAdmin)\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n const handleResetFilterChange = (event) => {\n setOrders(orders);\n setOrdersFiltered(() => applyOrdersColumnFilter(orders));\n setPageSize(10);\n setColumnFilterSort({});\n }\n\n const handleColumnSorted = useCallback((column) => {\n\n // adding or updating column sorting options\n var sortOptions = { ...columnFilterSort };\n if (!sortOptions[column.identifier]) {\n sortOptions = {\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false\n }\n };\n } else { // toggling sort direction\n sortOptions[column.identifier].isSortedDesc = !sortOptions[column.identifier].isSortedDesc;\n }\n\n setColumnFilterSort(() => sortOptions);\n }, [setColumnFilterSort, columnFilterSort]);\n\n const applySearchKeywordsFilter = useCallback((orders: SinchOrderList[]) => {\n var filteredBySearchTerm = [...orders ?? [] as SinchOrderList[]];\n\n if (searchFilterTermValue !== undefined && searchFilterTermValue !== \"\") {\n\n var columnsNames = Object.values(OrdersTableColumnIdentifiers) as string[];\n columnsNames.push(\"orderId\");\n setIsFoundCount(0);\n columnsNames.forEach(cn => {\n var found = filteredBySearchTerm.some(r => r[cn] && r[cn].toLowerCase\n ? r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1\n : false);\n if (found) {\n setIsFoundCount((prevCount => prevCount + 1))\n filteredBySearchTerm = filteredBySearchTerm.filter(r => r[cn] && r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1);\n return;\n }\n })\n if (isFoundCount === 0) {\n setOrdersFiltered([]);\n }\n }\n\n return filteredBySearchTerm;\n }, [searchFilterTermValue, isFoundCount]);\n\n useEffect(() => {\n if (isFoundCount === 0) {\n setOrdersFiltered([]);\n }\n }, [isFoundCount]);\n\n\n const applyOrdersColumnFilter = useCallback((orders: SinchOrderList[] | undefined) => {\n\n var filteredData: SinchOrderList[] = [...(orders ?? [{} as SinchOrderList])];\n const columnFilterNames = Object.keys(appContext.localStorageInfo?.orders ?? {});\n if (columnFilterNames) {\n var allColumnFilter = appContext.localStorageInfo?.orders;\n\n columnFilterNames.forEach(fn => {\n var excluded = [\"pageIndex\", \"pageSize\"];\n if (allColumnFilter && !excluded.find(f => f === fn)) {\n var equalFilter = allColumnFilter[fn];\n var isAny = allColumnFilter[fn] === \"Any\";\n var isRange = Array.isArray(allColumnFilter[fn]);\n var isAnyRange = (isRange && allColumnFilter[fn] && allColumnFilter[fn].length === 0);\n\n if (!isAny && !isRange) {\n filteredData = filteredData.filter(fd => fd[fn] === equalFilter);\n }\n else if (isRange && !isAnyRange) {\n var dateRangeFilterValues = allColumnFilter[fn];\n let min = getUtcDate(dateRangeFilterValues.length ? (sort(dateRangeFilterValues as Array)[0] as Date) : undefined);\n let max = getUtcDate(dateRangeFilterValues.length ? (sort(dateRangeFilterValues as Array, true)[0] as Date) : undefined);\n\n filteredData = filteredData.filter(fd => isBetween(getUtcDate(fd[fn]), min, max));\n }\n }\n });\n\n }\n\n return filteredData;\n // eslint-disable-next-line\n }, [tableColumnList]);\n\n const applyColumnSorting = useCallback((orders: SinchOrderList[] | undefined) => {\n\n let sortedOrders: SinchOrderList[] | undefined = [...orders as SinchOrderList[]];\n\n var hasColumnSort = columnFilterSort && Object.keys(columnFilterSort).length > 0;\n var firstSortedColumnId = Object.keys(columnFilterSort).find(k => columnFilterSort[k].isSorted) as string;\n var firstSortedColumnIdNormalized = normalizeFieldName(firstSortedColumnId);\n\n const distinctFn = (v, i, a) => a.findIndex(v1 => v1 === v) === i;\n const isNumericField = orders && orders?.map(f => f[firstSortedColumnIdNormalized])\n .filter(distinctFn)\n .map(v => Number.isInteger(v))\n .filter(v => v === false).length === 0;\n\n if (hasColumnSort) {\n\n // sorting records by column identifier\n if (firstSortedColumnId && firstSortedColumnId.toLowerCase().indexOf(\"date\") > 0) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc\n ? orders?.sort((a, b) => getUtcDate(b[firstSortedColumnIdNormalized]).diff(getUtcDate(a[firstSortedColumnIdNormalized])))\n : orders?.sort((a, b) => getUtcDate(a[firstSortedColumnIdNormalized]).diff(getUtcDate(b[firstSortedColumnIdNormalized])));\n }\n else if (firstSortedColumnId && isNumericField) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized] - a[firstSortedColumnIdNormalized] : 0) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized] - b[firstSortedColumnIdNormalized] : 0);\n }\n else {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized].localeCompare(a[firstSortedColumnIdNormalized]) : false) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized].localeCompare(b[firstSortedColumnIdNormalized]) : false);\n }\n }\n\n return sortedOrders;\n\n }, [columnFilterSort]);\n\n const filterAndSort = useCallback((orders: SinchOrderList[] | undefined) => {\n if (orders && orders.length > 0) {\n\n const filtered = applyOrdersColumnFilter([...orders]);\n const sorted = applyColumnSorting([...filtered]);\n let filteredBySearchKeywords = applySearchKeywordsFilter([...sorted as SinchOrderList[]]);\n return filteredBySearchKeywords;\n }\n\n return [] as SinchOrderList[];\n }, [applyOrdersColumnFilter, applyColumnSorting, applySearchKeywordsFilter, isCheckAutoActivation, isCheckAttentionRequired])\n\n const extractColumnFiltersOptions = (orders: SinchOrderList[]) => {\n var lookup = {};\n const columnFilterNames = Object.values(OrdersTableColumnIdentifiers);\n if (columnFilterNames) {\n columnFilterNames.forEach(fn => {\n var excluded = [\"pageIndex\", \"pageSize\"];\n var allColumnFilter = appContext.localStorageInfo?.orders;\n if (allColumnFilter && orders.length > 0 && !excluded.find(f => f === fn)) {\n var isRange = Array.isArray(allColumnFilter[fn]) || fn.toLowerCase().indexOf(\"date\") > 0;\n var isAnyRange = (isRange && allColumnFilter[fn] && allColumnFilter[fn].length === 0);\n\n if (isRange && !isAnyRange) {\n var truncatedDates = getUniqueElements(orders.map(o => {\n var date = new Date(o[fn]);\n return new Date(date.getFullYear(), date.getMonth(), date.getDate()).toDateString();\n }));\n\n var dates = truncatedDates.map(d => moment(d).toDate());\n lookup[fn] = [...dates];\n }\n else {\n var normalizedFieldName = normalizeFieldName(fn);\n lookup[normalizedFieldName] = [...getUniqueElements(orders.map(o => o[normalizedFieldName]))];\n }\n\n }\n });\n }\n\n\n return lookup;\n };\n\n const normalizeFieldName = (fn) => {\n // normalizing field names mapping from \"OrdersTableColumnIdentifiers.ts\" field names to \"SinchOrderList.ts\" field names\n if (fn && (fn.toLocaleLowerCase() === \"gainingspid\" || fn.toLocaleLowerCase() === \"losingspid\" || fn.toLocaleLowerCase() === \"loosingspid\")) {\n const altFn = fn.toLocaleLowerCase() === \"gainingspid\" ? \"gainingSpId\" : \"loosingSpId\";\n return altFn;\n }\n return fn;\n }\n\n const [selectedSpids] = useState(() => {\n var localStorageUser = appContext.localStorageInfo.user;\n var selected: string[] = [];\n if (localStorageUser) {\n var orderSettings = localStorageUser?.settings.ui?.tableSettings?.find(f => f.identifier === TableIdentifiers.Orders);\n var prevSelected = orderSettings?.spidFilterSettings?.filter(f => f.selected).map(f => f.spId) ?? [];\n var accountSpIds = localStorageUser?.spIdProfiles.map(p => p.spId);\n\n selected = prevSelected.length > 0\n ? accountSpIds.filter(spId => prevSelected.find(prevSpId => prevSpId === spId))\n : accountSpIds;\n }\n\n return selected;\n });\n\n const [isNonSpidProfileSelected] = useState(() => appContext.localStorageInfo.selectedProfile?.nonSpIdCompany);\n\n const dueDateFilter = useCallback(dateRangefilterFunction, [dateRangefilterFunction]);\n\n const toggleRefresh = useCallback(() => {\n setTriggerRefresh((x) => !x);\n setSelectedOrders([]);\n setSelectedCount(0);\n }, []);\n\n const [getHiddenColumns, setHiddenColumns] = useState | undefined>(undefined);\n\n const updateHiddenColumns = useCallback((): void => {\n const excludedColumnsForSpid = [OrdersTableColumnIdentifiers.CarrierName];\n const excludedColumnsForWholesale = [OrdersTableColumnIdentifiers.GainingSpid, OrdersTableColumnIdentifiers.LoosingSpid];\n\n const noTableSettingsConfigured = appContext.localStorageInfo.user?.settings.ui?.tableSettings === undefined;\n\n // setting hidden columns\n switch (isNonSpidProfileSelected) {\n case true: // excluding columns\n setHiddenColumns(excludedColumnsForWholesale.map(c => c as string));\n break;\n\n case false:\n if (noTableSettingsConfigured) { // hide excluded columns by default \n setHiddenColumns(excludedColumnsForSpid.map(c => c as string))\n }\n else {\n // no need to set hidden columns, as tableSettings will be handled by the ReactTable\n setHiddenColumns(undefined);\n }\n break;\n }\n }, [appContext.localStorageInfo.user, isNonSpidProfileSelected]);\n\n const setDefaultPagination = () => {\n var allColumnFilter = appContext.localStorageInfo?.orders;\n if (allColumnFilter) {\n const pageSize = allColumnFilter[\"pageSize\"] ?? 0;\n if (pageSize > 0) {\n setPageSize(pageSize);\n }\n }\n }\n\n const columns = useMemo(() => {\n const propsWithonChangeObject = (props) => {\n const onChange = { onChange: (propsEvent) => setColumnsFiltersChanged(() => props) };\n const filterOptions = { columnFilterOptions: columnFiltersOptions && columnFiltersOptions[props.column.id] as [] };\n return { ...onChange, ...filterOptions, ...props }\n };\n const unfilteredList = [\n {\n Header: \"\",\n accessor: \"selected\",\n identifier: OrdersTableColumnIdentifiers.Selected,\n notConfigurable: true,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.id\" }),\n accessor: \"projectId\",\n identifier: OrdersTableColumnIdentifiers.ProjectId,\n notConfigurable: true,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.type\" }),\n accessor: \"orderType\",\n identifier: OrdersTableColumnIdentifiers.OrderType,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }, \n {\n Header: intl.formatMessage({ id: \"orders.order.table.carrierName\" }),\n accessor: \"carrierName\",\n identifier: OrdersTableColumnIdentifiers.CarrierName,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => cell.cell.value\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.status\" }),\n accessor: \"status\",\n identifier: OrdersTableColumnIdentifiers.Status,\n filter: \"equals\",\n Filter: (props) => ,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.workedBy\" }),\n accessor: \"workedBy\",\n identifier: OrdersTableColumnIdentifiers.WorkedBy,\n Filter: (props) => ,\n filter: \"equals\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.tn\" }),\n accessor: \"numberCount\",\n identifier: OrdersTableColumnIdentifiers.NumberCount,\n Cell: (cell: any) => ()\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.operations\" }),\n accessor: \"action\",\n identifier: OrdersTableColumnIdentifiers.Operations,\n Cell: (cell: any) => (\n \n )\n }\n ];\n\n const filteredList = unfilteredList.filter(x => x.accessor !== \"adminProjectId\");\n\n const columnsList = appContext.localStorageInfo.user && appContext.localStorageInfo.user.isAdminProjectIdAccessible && (isUserAdmin || isUserCompanyAdmin)\n ? (!isMixNetworkUrl ? unfilteredList.filter(x => x.accessor !== \"activationDate\") : unfilteredList.filter(x => x.accessor !== \"gainingSpId\" && x.accessor !== \"loosingSpId\"))\n : (!isMixNetworkUrl ? filteredList.filter(x => x.accessor !== \"activationDate\") : unfilteredList.filter(x => x.accessor !== \"adminProjectId\" && x.accessor !== \"gainingSpId\" && x.accessor !== \"loosingSpId\" && x.accessor !== \"carrierName\" && x.accessor !== \"nextWorkDate\" && x.accessor !== \"workedBy\"));\n setTableColumnList(columnsList);\n updateHiddenColumns();\n return columnsList;\n },\n // eslint-disable-next-line\n [appContext.localStorageInfo.orders, columnFiltersOptions, orders, setColumnsFiltersChanged, intl, dueDateFilter, updateHiddenColumns, bulkActionSelected, theme, isCheckAttentionRequired]);\n\n useEffect(() => {\n props.setIsLoading(true);\n setShowLoadingIndicator(true);\n if (props.search && props.search !== \"\" && props.search.length > 1) {\n RestoreFilterService.clearFilter(TableIdentifiers.Orders);\n }\n let spid: any = []\n if (props.search.length === 23 && props.search.includes(\"-\")) {\n let spidValue = props.search.slice(0, 4).toUpperCase().split(\",\");\n spid.push(spidValue);\n }\n let selectedAllSpids = [...selectedSpids, ...spid]\n let uniqueSpids = selectedAllSpids.filter((value, index, self) => self.indexOf(value) === index);\n const wholeSaleSpid = \"505B\"\n const wholesaleSpidArray: SpIdProfileDto[] | undefined = appContext.localStorageInfo.user?.spIdProfiles.filter((spid) => spid.spId === wholeSaleSpid);\n const isValidWholeSaleAdmin = wholesaleSpidArray?.find((x) => x.companyId === appContext.localStorageInfo.user?.companyId);\n const wholesaleSpidCompanyId = !isUserAdmin && isValidWholeSaleAdmin\n ? `${wholeSaleSpid}_${appContext.localStorageInfo.user?.companyId}`\n : \"\";\n const isWholesaleClient = appContext.localStorageInfo.selectedProfile?.clientType === CompanyClientType.WHOLESALE;\n SinchApi.sinchList(props.search, uniqueSpids, wholesaleSpidCompanyId)\n .then((result) => {\n if (isMounted && result.length > 0) {\n updateAndSetOrders(result);\n } else {\n updateAndSetOrders([]);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n props.setIsLoading(false);\n setShowLoadingIndicator(false);\n }\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh, props.search, selectedSpids]);\n\n const customViewSettingsTabs = useMemo(() => {\n var tabs = [()];\n if (!isNonSpidProfileSelected) {\n tabs.push(());\n }\n if(!isNonSpidProfileSelected && isMixNetworkUrl) {\n tabs.pop();\n }\n return tabs;\n }, [isNonSpidProfileSelected, columns]);\n\n useEffect(() => {\n setSelectedOrders([]);\n setSelectedCount(0);\n const orders = ordersFiltered && [...ordersFiltered];\n orders && orders.forEach(o => { o.status = getNumberStatus(o.status); o.selected = false });\n setOrdersFiltered(orders)\n // eslint-disable-next-line\n }, [pageIndex, pageSize])\n\n useEffect(() => {\n setTableData(ordersFiltered?.slice(pageIndex * pageSize, (pageIndex * pageSize) + pageSize))\n }, [ordersFiltered, pageIndex, pageSize, setTableData])\n\n useEffect(() => {\n if ((props.search.length === 23) && props.search.includes(\"-\")) {\n setTableData(ordersFiltered)\n } else {\n setTableData(ordersFiltered?.slice(pageIndex * pageSize, (pageIndex * pageSize) + pageSize))\n }\n }, [ordersFiltered, pageIndex, pageSize, props.search])\n\n useEffect(() => {\n setSelectedCount(selectedOrders.length);\n const actions = [].concat(...selectedOrders.map(obj => obj.availableActions));\n const actionCounts = actions.reduce((acc, action) => {\n acc[action] = (acc[action] || 0) + 1;\n return acc;\n }, {} as { [key: string]: number });\n const filteredActions = actions.filter(\n action => (action === OrderNumberActionType.Modify && actionCounts[action] === 1) || action !== OrderNumberActionType.Modify && action !== OrderNumberActionType.ModifyActivation\n );\n setOrderActions(Array.from(new Set(filteredActions)));\n }, [selectedOrders])\n\n const handleChangeOrder = useCallback((updateOrder: any, shiftKeySelected: boolean) => {\n if (ordersFiltered && shiftKeySelected) {\n ordersFiltered && setOrdersFiltered(prevState => {\n const selectedElementIndex = prevState ? prevState.findIndex(x => x.orderId === updateOrder.orderId) : -1;\n const lastIndex = prevState ? prevState.findIndex(x => x.selected === true) : -1;\n if (lastIndex !== -1 && prevState) {\n const startIndex = Math.min(lastIndex, selectedElementIndex);\n const endIndex = Math.max(lastIndex, selectedElementIndex);\n const updatedArray = prevState.map((item, index) => {\n if (index >= startIndex && index <= endIndex) {\n if (updateOrder.selected) {\n setSelectedOrders(prev => (prev.findIndex(x => x.orderId === item.orderId) === -1) ? [...prev, { ...item, selected: updateOrder.selected }] : prev)\n return { ...item, selected: updateOrder.selected };\n } else {\n setSelectedOrders(prev => prev.filter(x => x.orderId !== item.orderId))\n return { ...item, selected: updateOrder.selected };\n }\n }\n return item;\n })\n return updatedArray\n } else {\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n return prevState && prevState.map(x => x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x);\n }\n })\n } else {\n ordersFiltered && setOrdersFiltered(prevState => prevState && prevState.map(x => {\n return x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x\n }));\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n }\n\n }, [ordersFiltered, setOrdersFiltered, setSelectedOrders]);\n\n const handleSelectAll = useCallback(() => {\n if (selectedOrders.length > 0 && tableData) {\n setOrdersFiltered(prevState => prevState && prevState.map(x => {\n return { ...x, selected: false }\n }));\n setSelectedOrders([]);\n setSelectedCount(0);\n\n } else if (tableData) {\n setOrdersFiltered(prevState => prevState && prevState.map(x => {\n if (tableData.findIndex(y => y.orderId === x.orderId) > -1)\n return { ...x, selected: true }\n else\n return x\n }));\n setSelectedOrders(tableData);\n setSelectedCount(tableData.length);\n }\n }, [setOrdersFiltered, selectedOrders, tableData]);\n\n const convertActionsToEnum = (actions: string[]): OrderNumberActionType[] => {\n return actions.map((action) => OrderNumberActionType[action]);\n };\n\n const updateOrder = useCallback((updatedOrder: OrderDto, action: string) => {\n if (ordersFiltered && ordersFiltered.length > 0) {\n if (action === OrderNumberActionType.Archive || action === OrderNumberActionType.SinchArchive) {\n setOrdersFiltered(prevState => prevState && prevState.filter(x => x.orderId !== updatedOrder.orderId))\n setSelectedOrders(prevState => prevState && prevState.filter(x => x.orderId !== updatedOrder.orderId))\n } else {\n setOrdersFiltered(prevState => {\n return prevState && prevState.map(x => {\n if (x.orderId === updatedOrder.orderId) {\n return { ...x, availableActions: convertActionsToEnum(updatedOrder.availableActions), status: updatedOrder.status }\n }\n return x\n })\n })\n }\n setbulkActionSelected(false);\n }\n }, [ordersFiltered, setSelectedOrders, setOrdersFiltered]);\n\n const handleSinchUpdateOrder = () => {\n setShowLoading(true);\n \n let successCount = 0;\n let failureCount = 0;\n \n const updatePromises = selectedOrders.map(order => {\n const tnOrderRequest: TnOrderRequestDto = {\n requestId: order.requestId,\n tnOrder: {\n tnList: {\n tnItem: order?.numbers.map(tn => ({\n tn,\n trunkGroup: \"\",\n routingOption: \"\"\n }))\n }\n }\n };\n \n return OrderService.updateSinch(order.orderId, tnOrderRequest)\n .then((result) => {\n if (result.statusCode === \"432\") {\n failureCount++;\n showErrorNotification(\n intl.formatMessage({ id: result.result.toString() })\n );\n } else {\n successCount++;\n }\n })\n .catch((error) => {\n failureCount++;\n handleError(error);\n });\n });\n \n Promise.all(updatePromises)\n .then(() => {\n if (successCount === selectedOrders.length) {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.allOrdersPassed\" })\n );\n } else if (failureCount === selectedOrders.length) {\n showErrorNotification(\n intl.formatMessage({ id: \"orders.orderDetails.allOrdersFailed\" })\n );\n } else {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.someOrdersFailed\" })\n );\n }\n \n toggleRefresh();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n setShowModal(false);\n setShowLoading(false);\n });\n };\n\n const fetchOrder = useCallback((orderId, tenant, action) => {\n if (action === OrderNumberActionType.Restore) {\n OrderApi.getDR(orderId, tenant)\n .then((result) => {\n if (isMounted.current) {\n updateOrder(result, action)\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setbulkActionSelected(false);\n }\n });\n } else if (action === OrderNumberActionType.SinchArchive) {\n SinchApi.getSinch(orderId, tenant)\n .then((result) => {\n if (isMounted.current) {\n updateOrder(result, action)\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n props.setIsLoading(false)\n setbulkActionSelected(false);\n }\n });\n } \n else {\n OrderApi.get(orderId, tenant)\n .then((result) => {\n if (isMounted.current) {\n if (action === OrderNumberActionType.Modify) {\n setModifyOrder(result);\n } else {\n updateOrder(result, action)\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n props.setIsLoading(false);\n setbulkActionSelected(false);\n }\n });\n } \n }, [isMounted, updateOrder, setModifyOrder])\n\n const setAction = useCallback((order, tenant, action) => {\n setBulkActionOrderId(prev => [...prev, order.orderId])\n setbulkActionSelected(true);\n if (action === OrderNumberActionType.Modify) {\n fetchOrder(order.orderId, tenant, action);\n } else {\n OrderService.executeAction(order.orderId, tenant, action)\n .then(() => {\n fetchOrder(order.orderId, tenant, action);\n })\n .catch(error => {\n handleError(error);\n })\n .finally(() => setbulkActionSelected(false));\n }\n }, [fetchOrder])\n\n const handleActionSelected = useCallback((selectedAction) => {\n setActionSelected(selectedAction)\n setBulkActionOrderId([]);\n if (selectedAction === OrderNumberActionType.ScheduleActivation || selectedAction === OrderNumberActionType.ModifyActivation || selectedAction === OrderNumberActionType.CancelActivation) {\n setIsAutoActivationSelected(!isAutoActivationSelected);\n setShowModal(!showModal);\n } \n else if (selectedAction === OrderNumberActionType.Submit) {\n setShowModal(!showModal);\n }\n else if (selectedAction === OrderNumberActionType.Activate || selectedAction === OrderNumberActionType.Cancel) {\n setShowConfirmationModal(true);\n }\n else if (Object.values(OrderNumberActionType).includes(selectedAction)) {\n selectedOrders.forEach(order => {\n if (order.availableActions && order.availableActions.includes(selectedAction)) {\n setAction(order, order.tenant, selectedAction)\n }\n }\n )\n }\n }, [selectedOrders, setAction])\n\n const onAfterActionExecutionModal = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n toggleRefresh();\n setActionSelected('');\n }, [intl]);\n\n const handleBulkAction = useCallback(() => {\n setShowLoading(true);\n\n const actionPromises = selectedOrders.map(order => {\n return setAction(order, order.tenant, actionSelected);\n });\n\n Promise.all(actionPromises)\n .then((response) => {\n if(response.length === selectedOrders.length) {\n onAfterActionExecutionModal();\n } else {\n showErrorNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionNotExecutedSuccesfuly\" })\n );\n }\n })\n .catch(error => {\n handleError(error);\n })\n .finally(() => {\n setShowConfirmationModal(false);\n setShowLoading(false);\n });\n }, [selectedOrders, actionSelected, setAction, onAfterActionExecutionModal, handleError]);\n\n const getOrdersFilteredCount = useCallback(() => ordersFiltered?.length, [ordersFiltered]);\n\n const onAfterActionExecution = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n }, [intl]);\n\n const toggleAutoActivationCheckbox = (checked: boolean | undefined) => {\n checked ? setIsCheckAutoActivation(true) : setIsCheckAutoActivation(false);\n };\n\n useEffect(() => {\n setPageIndex(0);\n setOrdersFiltered(() => filterAndSort(orders));\n\n // eslint-disable-next-line\n }, [columnFiltersChanged, filterAndSort, setOrdersFiltered, setPageIndex]);\n\n\n useEffect(() => {\n if (orders && orders?.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders as SinchOrderList[]]));\n }\n // eslint-disable-next-line \n }, [searchFilterTermValue]);\n\n useEffect(() => {\n\n if (orders && orders?.length > 0) {\n setOrdersFiltered(() => filterAndSort([...orders as SinchOrderList[]]));\n }\n\n // eslint-disable-next-line \n }, [columnFilterSort, setOrdersFiltered, filterAndSort]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {orders && (\n \n )}\n \n )}\n {modifyOrder &&\n (modifyOrder.orderType === OrderType.PortIn ? (\n setModifyOrder(undefined)} />\n ) : (modifyOrder.orderType === OrderType.PortOut ? (\n setModifyOrder(undefined)} />\n ) : (\n setModifyOrder(undefined)} />\n )))\n }\n \n {showModal && actionSelected === OrderNumberActionType.Submit && (\n {\n setShowModal(false);\n }}\n onSubmit={handleSinchUpdateOrder}\n showLoadingIndicator={showLoading}\n />\n )}\n {showConfirmationModal && (\n handleBulkAction()}\n closeModal={() => {\n setShowConfirmationModal(false);\n setActionSelected('');\n }}\n title={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmActionModalTitle\"\n })}\n confirmButtonText={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmAction\"\n })}\n showLoadingIndicator={showLoading}>\n {confirmationMessageId && (\n

\n \n

\n )}\n \n )}\n
\n \n );\n}\n\nconst filterMapper = (SinchOrderList: SinchOrderList) => {\n return {\n ...SinchOrderList,\n projectId: SinchOrderList.orderId,\n };\n};","import React, { useState, FormEvent, useContext } from \"react\";\nimport {\n Row,\n Col,\n Container,\n DropdownToggle,\n DropdownMenu,\n Button,\n Dropdown,\n Form,\n Input,\n FormGroup,\n InputGroup,\n InputGroupAddon,\n InputGroupText\n} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useHistory } from \"react-router\";\nimport OrderTable from \"./orderTable/OrderTable\";\nimport classNames from \"classnames\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { SoaItemType } from \"components/orders/types/SoaItemType\";\nimport DisconnectModal from \"../disconnect/DisconnectModal\";\nimport ModifyModal from \"../modify/ModifyModal\";\nimport CreateAuditModal from \"components/audits/CreateAuditModal\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { CompanyClientType } from \"components/manage/serviceProvider/CompanyClientType\";\nimport SearchAndProvisionModal from \"../searchAndProvision/SearchAndProvisionModal\";\nimport { HashRouter, Route, Switch } from \"react-router-dom\";\nimport Navbar from \"components/common/navBar/NavBar\";\nimport SinchOrderTable from \"./orderTable/SinchOrderTable\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\nexport default function OrdersList() {\n const history = useHistory();\n const [showDropdown, setShowDropdown] = useState(false);\n const [, setErrorMessageId] = useState(\"\");\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [searchValue, setSearchValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [soaItemType, setSoaItemType] = useState();\n const [showModal, setShowModal] = useState(false);\n const [isLoading, setIsLoading] = useState(false);\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const errorMessageIdResult = validateSearchValue();\n setErrorMessageId(errorMessageIdResult);\n\n if (!errorMessageIdResult) {\n setSearchValue(inputValue);\n }\n };\n\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n\n const handleCreateDropdownItemButtonClick = (soaItemType: SoaItemType) => {\n setSoaItemType(soaItemType);\n setShowModal(true);\n setShowDropdown(false);\n\n if (soaItemType === SoaItemType.PortIn) {\n history.push(\"/Orders/PortIn\");\n }\n\n if(soaItemType === SoaItemType.DisasterRecovery) {\n history.push(\"/Orders/DisasterRecovery\")\n }\n\n if (soaItemType === SoaItemType.PortOut) {\n history.push(\"/Orders/PortOut\");\n }\n };\n\n const navTitlesRoutes = [\n {routes: '/Orders', titles: 'PortControl'},\n {routes: '/SinchOrders', titles: 'Wholesale'},\n //Add more navigation items as needed.\n ]\n\n const accessRoutes = [\n {routes: '/Orders', titles: 'PortControl'}\n ]\n\n const routes = appContext.localStorageInfo.user?.permissions.includes(PermissionType.SinchSearchAndProvision) ? navTitlesRoutes : accessRoutes ;\n\n return (\n <>\n \n \n \n \n \n \n

\n \n \n

\n \n
\n \n \n \n
\n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(SoaItemType.PortIn)}\n xs=\"4\">\n \n \n \n \n \n \n \n {(isMixNetworkUrl && appContext.localStorageInfo.user?.permissions.includes(PermissionType.DisasterRecovery)) &&\n handleCreateDropdownItemButtonClick(SoaItemType.DisasterRecovery)}\n xs=\"4\">\n \n \n \n \n \n \n \n }\n {(isMixNetworkUrl && appContext.localStorageInfo.user?.permissions.includes(PermissionType.SinchSearchAndProvision)) &&\n \n handleCreateDropdownItemButtonClick(SoaItemType.SearchAndProvision)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n }\n \n {!isMixNetworkUrl && \n handleCreateDropdownItemButtonClick(SoaItemType.PortOut)}\n xs=\"4\">\n \n \n \n \n \n \n \n }\n {!isMixNetworkUrl && \n \n handleCreateDropdownItemButtonClick(SoaItemType.Disconnect)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(SoaItemType.Modify)}\n xs=\"4\">\n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(SoaItemType.Audit)}\n xs=\"4\">\n \n \n \n \n \n \n \n { appContext.localStorageInfo.user?.permissions.includes(PermissionType.DisasterRecovery) &&\n handleCreateDropdownItemButtonClick(SoaItemType.DisasterRecovery)}\n xs=\"4\">\n \n \n \n \n \n \n \n }\n {appContext.localStorageInfo.user?.permissions.includes(\"SinchSearchAndProvision\") && (\n \n handleCreateDropdownItemButtonClick(SoaItemType.SearchAndProvision)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n )}\n }\n \n \n \n
\n
\n \n
\n
\n \n {soaItemType === SoaItemType.Audit && showModal && (\n setShowModal(false)} />\n )}\n {soaItemType === SoaItemType.Disconnect && showModal && (\n setShowModal(false)} />\n )}\n {soaItemType === SoaItemType.Modify && showModal && (\n setShowModal(false)} />\n )}\n {soaItemType === SoaItemType.SearchAndProvision && showModal && (\n setShowModal(false)} />\n )}\n \n \n \n (\n \n )}/>\n (\n \n )}/>\n \n \n \n \n );\n}\n\nconst validateSearchValue = (): string => {\n return \"\";\n};\n","import en from \"./en.json\";\n\nconst translations = {\n en: en\n};\n\nexport default translations;\n","export type ChangePassword = {\n currentPassword: string;\n newPassword: string;\n confirmPassword: string;\n};\n\nexport const ChangePasswordDefault: ChangePassword = {\n currentPassword: \"\",\n newPassword: \"\",\n confirmPassword: \"\"\n};\n","import React from \"react\";\nimport { FormGroup, Label, Input } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\n\ntype Props = {\n labelTranslationId: string;\n value: string;\n errorHandler: ErrorHandler;\n className: string;\n placeholderTranslationId?: string;\n handleInputChange: (value: string) => void;\n};\n\nexport default function PasswordFormInput(props: Props) {\n const intl = useIntl();\n const errors = props.errorHandler.getErrors();\n const placeholder = props.placeholderTranslationId ? intl.formatMessage({ id: props.placeholderTranslationId }) : \"\";\n\n return (\n \n \n 0\n })}\n placeholder={placeholder}\n value={props.value ? props.value : \"\"}\n onChange={e => {\n props.errorHandler.clear();\n props.handleInputChange(e.currentTarget.value);\n }}\n autoComplete={\"new-password\"}\n />\n \n \n );\n}\n","import React, { useState, FormEvent, useRef, useEffect, useContext } from \"react\";\nimport { CardBody, Card, Col, Row, CardHeader, Button, Form, CardFooter } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { ChangePassword, ChangePasswordDefault } from \"components/myProfile/types/ChangePassword\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { Errors, AddError, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getFieldErrors, handleError } from \"services/util/ApiUtil\";\nimport { IdentityApi } from \"services/apis/IdentityApi\";\nimport PasswordFormInput from \"components/framework/forms/PasswordFormInput\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function ChangePasswordCard() {\n const { setErrors, getErrorHandler } = useErrors();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [changePassword, setChangePassword] = useState(ChangePasswordDefault);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useRef(true);\n const intl = useIntl();\n\n useEffect(() => {\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateModel(changePassword);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n IdentityApi.changePassword({\n currentPassword: changePassword.currentPassword,\n newPassword: changePassword.newPassword\n })\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"myProfile.changePassword.successMessage\" }));\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n \n \n \n

\n \n

\n \n
\n
\n
handleSubmit(e)}>\n \n \n setChangePassword({ ...changePassword, currentPassword: value })}\n errorHandler={getErrorHandler(nameOf(\"currentPassword\"))}\n />\n \n \n setChangePassword({ ...changePassword, newPassword: value })}\n errorHandler={getErrorHandler(nameOf(\"newPassword\"))}\n />\n \n \n setChangePassword({ ...changePassword, confirmPassword: value })}\n errorHandler={getErrorHandler(nameOf(\"confirmPassword\"))}\n />\n \n \n \n \n \n \n
\n );\n}\n\nconst validateModel = (changePassword: ChangePassword) => {\n const errors: Errors = {};\n\n if (changePassword.currentPassword.length === 0) {\n AddError(errors, nameOf(\"currentPassword\"), \"myProfile.changePassword.emptyCurrentPassword\");\n }\n\n if (changePassword.newPassword.length === 0) {\n AddError(errors, nameOf(\"newPassword\"), \"myProfile.changePassword.emptyNewPassword\");\n }\n\n if (changePassword.confirmPassword.length === 0) {\n AddError(errors, nameOf(\"confirmPassword\"), \"myProfile.changePassword.emptyNewPassword\");\n }\n\n if (\n changePassword.newPassword &&\n changePassword.confirmPassword &&\n changePassword.newPassword !== changePassword.confirmPassword\n ) {\n AddError(errors, nameOf(\"confirmPassword\"), \"myProfile.changePassword.passwordsDoNotMatch\");\n } else if (\n changePassword.currentPassword &&\n changePassword.newPassword &&\n changePassword.currentPassword === changePassword.newPassword\n ) {\n AddError(errors, nameOf(\"newPassword\"), \"myProfile.changePassword.differentPasswords\");\n }\n\n return errors;\n};\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport const userLocales: KeyValuePair[] = [{ key: \"US English\", value: \"en_US\" }];\n\nexport const userZoneInfos: KeyValuePair[] = [\n { key: \"UTC\", value: \"UTC\" },\n { key: \"Eastern Standard Time\", value: \"Eastern Standard Time\" },\n { key: \"Central Standard Time\", value: \"Central Standard Time\" },\n { key: \"Mountain Standard Time\", value: \"Mountain Standard Time\" },\n { key: \"Pacific Standard Time\", value: \"Pacific Standard Time\" },\n { key: \"Alaskan Standard Time\", value: \"Alaskan Standard Time\" },\n { key: \"Hawaiian Standard Time\", value: \"Hawaiian Standard Time\" }\n];\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport { CardBody, Card, Col, Row, CardHeader, Button, Form, CardFooter } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { Errors, AddError, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getFieldErrors, handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { userZoneInfos, userLocales } from \"components/common/types/UserInfo\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { AccountApi } from \"services/apis/AccountApi\";\nimport {\n UpdateAccountDto,\n DefaultUpdateAccountDto\n} from \"services/apis/types/account/UpdateAccountDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\n\nexport default function ProfileCard() {\n const isMounted = useIsMounted();\n const intl = useIntl();\n const { appContext, setAppContext } = useContext(AppContext);\n const theme = appContext.theme;\n const { setErrors, getErrorHandler } = useErrors();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [profile, setProfile] = useState(mapToUpdateUserDto(appContext));\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateModel(profile);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else {\n AccountApi.updateInfo(profile)\n .then(() => {\n let user = appContext.localStorageInfo.user\n ? { ...appContext.localStorageInfo.user, ...profile }\n : undefined;\n\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n user: user\n }\n });\n\n showInfoNotification(intl.formatMessage({ id: \"myProfile.profile.successMessage\" }));\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n \n \n \n

\n \n

\n \n
\n
\n
handleSubmit(e)}>\n \n \n setProfile({ ...profile, email: value })}\n errorHandler={getErrorHandler(nameOf(\"email\"))}\n />\n \n \n setProfile({ ...profile, firstName: value })}\n errorHandler={getErrorHandler(nameOf(\"firstName\"))}\n />\n \n \n setProfile({ ...profile, lastName: value })}\n errorHandler={getErrorHandler(nameOf(\"lastName\"))}\n />\n \n \n setProfile({ ...profile, zoneInfo: value })}\n errorHandler={getErrorHandler(nameOf(\"zoneInfo\"))}\n options={userZoneInfos}\n />\n \n \n setProfile({ ...profile, locale: value })}\n errorHandler={getErrorHandler(nameOf(\"locale\"))}\n options={userLocales}\n />\n \n \n \n \n \n \n
\n );\n}\n\nconst validateModel = (model: UpdateAccountDto) => {\n const errors: Errors = {};\n\n if (!model.email) {\n AddError(errors, nameOf(\"email\"), \"myProfile.profile.email.required\");\n }\n if (!model.firstName) {\n AddError(errors, nameOf(\"firstName\"), \"myProfile.profile.firstName.required\");\n }\n if (!model.lastName) {\n AddError(errors, nameOf(\"lastName\"), \"myProfile.profile.lastName.required\");\n }\n\n return errors;\n};\n\nfunction mapToUpdateUserDto(appContext: AppContext): UpdateAccountDto | (() => UpdateAccountDto) {\n return appContext.localStorageInfo.user\n ? {\n email: appContext.localStorageInfo.user.email,\n firstName: appContext.localStorageInfo.user.firstName,\n lastName: appContext.localStorageInfo.user.lastName,\n zoneInfo: appContext.localStorageInfo.user.zoneInfo,\n locale: appContext.localStorageInfo.user.locale,\n userSettings: {\n ui: JSON.stringify(appContext.localStorageInfo.user.settings.ui)\n }\n }\n : DefaultUpdateAccountDto;\n}\n","import React, { useContext } from \"react\";\nimport { Col, Row, Container } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport ChangePasswordCard from \"./ChangePasswordCard\";\nimport ProfileCard from \"./ProfileCard\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\nexport default function MyProfile() {\n const {appContext} = useContext(AppContext);\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin)\n const isUserCompanyAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.CompanyAdmin)\n return (\n <>\n \n \n \n \n \n \n \n \n { (isMixNetworkUrl && !isUserAdmin && !isUserCompanyAdmin) ?\n \n :\n \n \n \n }\n \n \n \n );\n}\n","import React, { useContext } from \"react\";\nimport { Button, Card, CardBody, CardFooter, CardHeader, Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useHistory } from \"react-router-dom\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { FormattedMessage } from \"react-intl\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function SupportModal() {\n const history = useHistory();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n \n history.goBack()} />\n \n \n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n \n \n window.open(\n \"https://atlc.zendesk.com/hc/en-us/categories/360002136213-Local-Number-Porting-Management\",\n \"_blank\"\n )\n }>\n \n \n \n \n \n \n
\n
\n );\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { ClaimDto } from \"./types/user/ClaimDto\";\nimport { PortControlIdentityUser } from \"./types/user/PortControlIdentityUser\";\nimport { NewUserDto } from \"./types/user/NewUserDto\";\nimport { UpdateUserDto } from \"./types/user/UpdateUserDto\";\nimport { UserEmailDto } from \"./types/user/UserEmailDto\";\n\nexport const UserApi = {\n list: (): Promise => {\n return HttpClient.get(\"user\");\n },\n add: (user: NewUserDto): Promise => {\n return HttpClient.post(\"user\", user);\n },\n modify: (id: string, user: UpdateUserDto): Promise => {\n return HttpClient.put(`user/${id}`, user);\n },\n delete: (userId: string): Promise => {\n return HttpClient.delete(`user/${userId}`, undefined);\n },\n getAllClaims: (): Promise => {\n return HttpClient.get(\"user/claims\");\n },\n getUserClaims: (userId: string): Promise => {\n return HttpClient.get(`user/${userId}/claims`);\n },\n getUsersInOrganization: (): Promise => {\n return HttpClient.get(\"user/myorganization\", true);\n }\n};\n","export type User = {\n id: string;\n email: string;\n lockoutEnd: Date;\n zoneInfo: string;\n givenName: string;\n familyName: string;\n locale: string;\n companyId: string;\n password: string;\n confirmPassword: string;\n fullname: string;\n};\n\nexport const DefaultUser: User = {\n id: \"\",\n email: \"\",\n lockoutEnd: new Date(),\n zoneInfo: \"\",\n givenName: \"\",\n familyName: \"\",\n locale: \"\",\n companyId: \"\",\n password: \"\",\n confirmPassword: \"\",\n fullname: \"\"\n};\n","import { ClaimType } from \"./ClaimType\";\n\nexport const ClaimTypeUri : Record = {\n groupsid: \"http://schemas.microsoft.com/ws/2008/06/identity/claims/groupsid\",\n primarygroupsid: \"http://schemas.microsoft.com/ws/2008/06/identity/claims/primarygroupsid\",\n role: \"http://schemas.microsoft.com/ws/2008/06/identity/claims/role\"\n}\n","export enum ClaimType {\n groupsid = \"groupsid\",\n primarygroupsid = \"primarygroupsid\",\n role = \"role\"\n} ","import React, { useState, FormEvent, useCallback, useContext, useEffect } from \"react\";\nimport { Modal, Form, Button, Row, Label } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ManageContext } from \"../Manage\";\nimport { UserApi } from \"services/apis/UserApi\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { Claim } from \"components/manage/types/Claim\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport PasswordFormInput from \"components/framework/forms/PasswordFormInput\";\nimport { AddError, Errors, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { User, DefaultUser } from \"components/manage/types/User\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { ClaimDto } from \"services/apis/types/user/ClaimDto\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { userZoneInfos, userLocales } from \"components/common/types/UserInfo\";\nimport { Permissions } from \"services/authorization/Permissions\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { ClaimTypeUri } from \"../types/ClaimTypeUri\";\nimport { ClaimType } from \"../types/ClaimType\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n availableCompanies: CompanyInfo[];\n user?: User;\n manageAction: ManageAction;\n};\n\nexport default function UserModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [user, setUser] = useState(props.user ? props.user : DefaultUser);\n const [roleClaims, setRoleClaims] = useState([]);\n const [claimsLoaded, setClaimsLoaded] = useState(false);\n const [showUserLoadingIndicator, setShowUserLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const manageContext = useContext(ManageContext);\n const appContext = AppContextAccessor.getAppContext();\n const closeModal = useCallback(props.closeModal, []);\n const { appContext: context } = useContext(AppContext);\n const theme = context.theme;\n\n useEffect(() => {\n if (\n props.availableCompanies.length > 0 &&\n props.availableCompanies.findIndex((x) => x.id === user.companyId) === -1\n ) {\n setUser((prevState) => {\n return { ...prevState, companyId: props.availableCompanies[0].id };\n });\n }\n }, [props.availableCompanies, user.companyId]);\n\n useEffect(() => {\n async function SetClaims() {\n let allAssignableClaims: ClaimDto[] = await UserApi.getAllClaims();\n let userClaims: ClaimDto[] = user.id ? await UserApi.getUserClaims(user.id) : [];\n\n allAssignableClaims = getUniqueClaimValues(allAssignableClaims);\n\n let roleClaimsModel = allAssignableClaims\n .filter((x) => x.type === ClaimTypeUri[ClaimType.role])\n .map(\n (x): Claim => ({\n ...x,\n checked: userClaims.findIndex((y) => y.value === x.value) > -1,\n displayName: Permissions[x.value],\n disabled: false\n })\n );\n\n let loggedInUser = appContext.localStorageInfo.user;\n if (\n !authorize(PermissionType.Admin) &&\n authorize(PermissionType.CompanyAdmin) &&\n loggedInUser\n ) {\n if (loggedInUser.userId === user.id) {\n roleClaimsModel = roleClaimsModel.map((x): Claim => ({ ...x, disabled: true }));\n } else {\n let loggedInUserPermissions = loggedInUser.permissions;\n let loggedInUserSelectedProfilePermissions = appContext.localStorageInfo.selectedProfile\n ? appContext.localStorageInfo.selectedProfile.permissions\n : [];\n\n let allPermissionsLoggedInUser = loggedInUserPermissions.concat(\n loggedInUserSelectedProfilePermissions\n );\n\n roleClaimsModel = roleClaimsModel.map(\n (x): Claim => ({\n ...x,\n disabled:\n allPermissionsLoggedInUser.findIndex((y) => y === x.value) === -1 ||\n x.value === PermissionType.Admin ||\n x.value === PermissionType.CompanyAdmin\n })\n );\n }\n\n setUserCompany(loggedInUser.companyId);\n }\n\n if (isMounted.current) {\n setRoleClaims(roleClaimsModel);\n setClaimsLoaded(true);\n }\n }\n\n function setUserCompany(loggedInUserCompanyId: string) {\n if (user.id === \"\") {\n setUser((prevState) => {\n return { ...prevState, companyId: loggedInUserCompanyId };\n });\n }\n }\n\n SetClaims();\n }, [\n isMounted,\n props.manageAction,\n setErrors,\n appContext.localStorageInfo.selectedProfile,\n appContext.localStorageInfo.user,\n user.id\n ]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n\n const errors = validate(user);\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n saveUser();\n }\n };\n\n const claimToggleHandler = (claimValue: string, checked: boolean) => {\n setRoleClaims((prevState) => {\n const stateClaim = prevState.find((x) => x.value === claimValue);\n if (stateClaim) {\n stateClaim.checked = checked;\n }\n return [...prevState];\n });\n };\n\n function saveUser() {\n setShowUserLoadingIndicator(true);\n\n let userDto = getUser(user, roleClaims);\n\n if (props.manageAction === ManageAction.Add) {\n UserApi.add({ userName: user.email, ...userDto })\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"manage.user.edit.successNotificationMessage\" })\n );\n manageContext.userCallback();\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowUserLoadingIndicator(false);\n }\n });\n } else if (props.manageAction === ManageAction.Modify) {\n UserApi.modify(user.id, userDto)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"manage.user.edit.successNotificationMessage\" })\n );\n manageContext.userCallback();\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowUserLoadingIndicator(false);\n }\n });\n }\n }\n\n return (\n \n \n
\n
\n {!props.user && }\n {props.user && }\n
\n \n
\n
handleSubmit(e)}>\n
\n
\n \n setUser({ ...user, email: value })}\n errorHandler={getErrorHandler(nameOf(\"email\"))}\n />\n \n \n setUser({ ...user, password: value })}\n errorHandler={getErrorHandler(nameOf(\"password\"))}\n />\n \n setUser({ ...user, confirmPassword: value })\n }\n errorHandler={getErrorHandler(nameOf(\"confirmPassword\"))}\n />\n \n \n setUser({ ...user, givenName: value })}\n errorHandler={getErrorHandler(nameOf(\"givenName\"))}\n />\n setUser({ ...user, familyName: value })}\n errorHandler={getErrorHandler(nameOf(\"familyName\"))}\n />\n \n \n setUser({ ...user, zoneInfo: value })}\n errorHandler={getErrorHandler(nameOf(\"zoneInfo\"))}\n options={userZoneInfos}\n />\n setUser({ ...user, locale: value })}\n errorHandler={getErrorHandler(nameOf(\"locale\"))}\n options={userLocales}\n />\n \n {authorize(PermissionType.Admin) ? (\n \n {\n setUser({ ...user, companyId: value });\n }}\n errorHandler={getErrorHandler(nameOf(\"companyId\"))}\n options={props.availableCompanies.map((x) => {\n return { key: x.name, value: x.id };\n })}\n />\n \n ) : (\n <>\n )}\n
\n {!claimsLoaded ? (\n \n ) : (\n <>\n {roleClaims.length > 0 && (\n
\n {Array.from(new Set(roleClaims.map((x) => x.group))).map((group) => (\n
\n \n {roleClaims\n .filter((claim) => claim.group === group)\n .map((claim) => (\n \n claimToggleHandler(claim.value, checked)\n }\n checked={claim.checked}\n disabled={claim.disabled}\n />\n ))}\n
\n ))}\n
\n )}\n \n )}\n
\n
\n \n \n {showUserLoadingIndicator && }\n \n \n
\n \n
\n
\n );\n}\n\nfunction getUser(user: User, roleClaims: Claim[]) {\n return {\n email: user.email,\n password: user.password,\n givenName: user.givenName,\n familyName: user.familyName,\n zoneInfo:\n userZoneInfos.findIndex((x) => x.value === user.zoneInfo) > -1\n ? user.zoneInfo\n : userZoneInfos[0].value,\n locale:\n userLocales.findIndex((x) => x.value === user.locale) > -1\n ? user.locale\n : userLocales[0].value,\n claims: getClaims(user, roleClaims)\n };\n}\n\nfunction getClaims(user: User, roleClaims: Claim[]) {\n let userClaims = roleClaims\n .filter((x) => x.checked)\n .map((x) => {\n return {\n type: x.type,\n value: x.value,\n spId: x.spId,\n group: x.group\n };\n });\n\n userClaims.push({\n type: ClaimTypeUri[ClaimType.groupsid],\n spId: \"\",\n group: \"\",\n value: user.companyId\n });\n\n if (userClaims.find((x) => x.value === PermissionType.CompanyAdmin)) {\n userClaims.push({\n type: ClaimTypeUri[ClaimType.primarygroupsid],\n spId: \"\",\n group: \"\",\n value: user.companyId\n });\n }\n\n return userClaims;\n}\n\nconst getUniqueClaimValues = (allAssignableClaims: ClaimDto[]): ClaimDto[] => {\n return getUniqueElements(allAssignableClaims.map((x) => x.value)).map((value) => {\n let claim = allAssignableClaims.find((y) => y.value === value);\n return {\n type: claim ? claim.type : \"\",\n value: value,\n group: claim ? claim.group : \"\",\n spId: \"\"\n };\n });\n};\n\nconst validate = (user: User) => {\n const errors: Errors = {};\n\n if (!user.email) {\n AddError(errors, nameOf(\"email\"), \"manage.user.edit.email.requiredError\");\n }\n if (user.id.length === 0 && !user.password) {\n AddError(errors, nameOf(\"password\"), \"manage.user.edit.password.requiredError\");\n }\n if (user.id.length === 0 && !user.confirmPassword) {\n AddError(\n errors,\n nameOf(\"confirmPassword\"),\n \"manage.user.edit.password.confirmRequiredError\"\n );\n }\n if (user.password && user.password !== user.confirmPassword) {\n AddError(\n errors,\n nameOf(\"confirmPassword\"),\n \"manage.user.edit.password.passwordMatchError\"\n );\n AddError(errors, nameOf(\"password\"), \"manage.user.edit.password.passwordMatchError\");\n }\n\n return errors;\n};\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ManageContext } from \"../Manage\";\nimport { UserApi } from \"services/apis/UserApi\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n id: string;\n name: string;\n closeModal: () => void;\n};\n\nexport default function UserDeleteModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const manageContext = useContext(ManageContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n UserApi.delete(props.id)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"manage.user.delete.deleteNotification\" }));\n if (isMounted.current) {\n manageContext.userCallback();\n props.closeModal();\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n \n );\n}\n","import React, { useState } from \"react\";\nimport ActionDropdown from \"components/networkExplorer/common/ActionDropdown\";\nimport ActionDropdownItem from \"components/networkExplorer/common/ActionDropdownItem\";\nimport UserModal from \"./UserModal\";\nimport UserDeleteModal from \"./UserDeleteModal\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { PortControlIdentityUser } from \"services/apis/types/user/PortControlIdentityUser\";\nimport { DefaultUser } from \"components/manage/types/User\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\n\ntype Props = {\n user: PortControlIdentityUser;\n availableCompanies: CompanyInfo[];\n};\n\nexport default function UserActionsCell(props: Props) {\n const [showModifyModal, setShowModifyModal] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n\n return (\n <>\n setActionsOpen(prevState => !prevState)}>\n setShowModifyModal(true)}\n iconClassName=\"fa fa-edit\"\n labelId=\"manage.user.table.actions.modify\"\n />\n setShowDeleteModal(true)}\n iconClassName=\"fa fa-trash-alt\"\n labelId=\"manage.user.table.actions.delete\"\n />\n \n {showModifyModal && (\n setShowModifyModal(false)}\n />\n )}\n {showDeleteModal && (\n setShowDeleteModal(false)} />\n )}\n \n );\n}\n","import React, { useMemo, useCallback, useState } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport UserActionsCell from \"./UserActionsCell\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { PortControlIdentityUser } from \"services/apis/types/user/PortControlIdentityUser\";\nimport ReactTable from \"components/framework/table/ReactTable\";\n\ntype Props = {\n availableCompanies: CompanyInfo[];\n users: PortControlIdentityUser[];\n userOrganization: Object[];\n};\n\nexport default function UsersCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl, props.availableCompanies), [intl, props.availableCompanies]);\n\n const data = props.users.map((x, index) => ({ ...x, userOrganization: props.userOrganization[index] }));\n\n const exportColumns = useMemo(() => {\n const updColumns = [...columns];\n updColumns.splice(columns.findIndex(c => c.accessor === \"actions\"), 1);\n return updColumns;\n }, [columns]);\n\n return ;\n}\n\nconst getColumns = (intl: IntlShape, availableCompanies: CompanyInfo[]) => [\n {\n Header: intl.formatMessage({ id: \"manage.user.table.email\" }),\n accessor: \"email\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.user.table.name\" }),\n accessor: \"fullName\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.user.table.lastLogin\" }),\n accessor: \"lastLoginTime\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.user.table.organization\" }),\n accessor: \"companyName\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.user.table.actions\" }),\n Cell: (cell: any) => \n }\n];\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { CompanyDto } from \"./types/company/CompanyDto\";\nimport { CompanyInfo } from \"./types/company/CompanyInfo\";\nimport { ApiError } from \"./types/ApiError\";\nimport { ServiceProviderDto } from \"./types/company/ServiceProviderDto\";\n\nexport const CompanyApi = {\n list: (): Promise => {\n return HttpClient.get(\"company\");\n },\n add: (company: CompanyDto): Promise => {\n return HttpClient.post(\"company\", company, true, true);\n },\n modify: (id: string, company: CompanyDto): Promise => {\n return HttpClient.put(`company/${id}`, company, true, true);\n },\n delete: (companyId: string): Promise => {\n return HttpClient.delete(`company/${companyId}`, {});\n },\n get: (companyId: string): Promise => {\n return HttpClient.get(`company/${companyId}`);\n },\n addSpId: (serviceProvider: ServiceProviderDto): Promise => {\n return HttpClient.put(\n `company/${serviceProvider.companyId}/spid/${serviceProvider.spId}`,\n { type: parseInt(serviceProvider.type), mediumTimer: serviceProvider.mediumTimer },\n true,\n true\n );\n },\n deleteSpId: (companyId: string, spId: string): Promise => {\n return HttpClient.delete(`company/${companyId}/spid/${spId}`, {});\n }\n};\n","import React, { useState, useContext } from \"react\";\nimport { FormGroup, Input } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ManageContext } from \"../Manage\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { CompanyApi } from \"services/apis/CompanyApi\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n spId: string;\n availableCompanies: CompanyInfo[];\n closeModal: () => void;\n};\n\nexport default function ServiceProviderDeleteModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [companyId, setCompanyId] = useState(props.availableCompanies[0] ? props.availableCompanies[0].id : \"\");\n const manageContext = useContext(ManageContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n CompanyApi.deleteSpId(companyId, props.spId)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"manage.serviceProvider.delete.deleteNotification\" }));\n if (isMounted.current) {\n manageContext.serviceProviderCallback();\n props.closeModal();\n }\n })\n .catch(error => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n {props.availableCompanies.length === 0 && (\n

\n \n

\n )}\n {props.availableCompanies.length === 1 && (\n

\n \n

\n )}\n {props.availableCompanies.length > 1 && (\n
\n

\n \n

\n \n \n setCompanyId(event.target.value)}\n value={companyId}\n className=\"form-control form-control-sm\">\n {props.availableCompanies.map(x => (\n \n ))}\n \n \n
\n )}\n \n );\n}\n","import { UpdateSettingModel } from \"./types/settings/UpdateSettingModel\";\nimport { HttpClient } from \"../httpClient/HttpClient\";\nimport { ConfiguredParameter } from \"./types/settings/ConfiguredParameter\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\n\nexport const ServiceProviderSettingsApi = {\n get: (spId: string): Promise => {\n return HttpClient.get(`settings/${spId}`, true, true, \"\", ApiVersion.V2);\n },\n\n update: (spId: string, updateSettingsModels: UpdateSettingModel[]) => {\n return HttpClient.post(\n `settings/${spId}`,\n updateSettingsModels,\n true,\n true,\n \"\",\n ApiVersion.V2\n );\n }\n};\n","import React, { useMemo } from \"react\";\nimport { ConfiguredParameter } from \"services/apis/types/settings/ConfiguredParameter\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { ConfiguredParameterInputConfiguration } from \"./types/ConfiguredParameterInputConfiguration\";\nimport { useIntl } from \"react-intl\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype Props = {\n value?: string;\n required?: boolean;\n handleInputChange: (value: string) => void;\n errorHandler?: ErrorHandler;\n parameterInfo: ConfiguredParameter;\n inputConfiguration: ConfiguredParameterInputConfiguration;\n};\n\nexport default function ConfiguredParameterInput(props: Props) {\n const intl = useIntl();\n\n const memoizedOptions = useMemo(\n () =>\n props.inputConfiguration.dropdownOptions?.map((x) => ({\n value: x.value,\n key: getTranslation(intl, x.keyTranslationId)\n })) ?? [],\n [intl, props.inputConfiguration.dropdownOptions]\n );\n\n return (\n <>\n {props.inputConfiguration.renderInput({\n labelTranslationId: props.inputConfiguration.labelId,\n placeholderTranslationId: props.inputConfiguration.placeholderId,\n appendValueTranslationId: props.inputConfiguration.appendValueId,\n required: true,\n options: memoizedOptions,\n handleInputChange: props.handleInputChange,\n value: props.value,\n errorHandler: props.errorHandler\n })}\n \n );\n}\n","export enum ServiceProviderConfiguredParameter {\n MediumTimerSupport = \"MTIMER\",\n NpacConnectionType = \"DELEGATION\",\n AutomatedArchivingDelay = \"ARCHIVE\",\n AutomatedActivationTime = \"ACTIVATE\",\n SvTypeSupport = \"SVTYPE\",\n LSRRejectedCancel =\"LSRREJECTED-TO-CANCEL\"\n}\n","import React from \"react\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { FormGroup, Label, Input } from \"reactstrap\";\nimport classNames from \"classnames\";\nimport InputError from \"../errorHandling/InputError\";\n\nexport type NumberFormInputProps = {\n readonly?: boolean;\n labelTranslationId?: string;\n value?: string;\n errorHandler?: ErrorHandler;\n formGroupClassName?: string;\n inputClassName?: string;\n placeholderTranslationId?: string;\n lg?: boolean;\n handleInputChange?: (value: string) => void;\n onClick?: (value: React.MouseEvent) => void;\n appendValueTranslationId?: string;\n};\n\nexport default function NumberFormInput(props: NumberFormInputProps) {\n const intl = useIntl();\n const errors = props.errorHandler ? props.errorHandler.getErrors() : [];\n const placeholder =\n props.readonly || !props.placeholderTranslationId\n ? \"\"\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n const appendValue = props.appendValueTranslationId\n ? intl.formatMessage({ id: props.appendValueTranslationId })\n : \"\";\n\n return (\n \n {props.labelTranslationId && (\n \n )}\n {props.appendValueTranslationId ? (\n \n 0,\n \"form-control-sm\": !props.lg\n })}\n placeholder={placeholder}\n value={props.value ? props.value : \"\"}\n onChange={(e) => {\n if (props.errorHandler) props.errorHandler.clear();\n if (props.handleInputChange) props.handleInputChange(e.currentTarget.value);\n }}\n onClick={props.onClick}\n />\n
\n {appendValue}\n
\n \n ) : (\n 0,\n \"form-control-sm\": !props.lg\n })}\n placeholder={placeholder}\n value={props.value ? props.value : \"\"}\n onChange={(e) => {\n if (props.errorHandler) props.errorHandler.clear();\n if (props.handleInputChange) props.handleInputChange(e.currentTarget.value);\n }}\n onClick={props.onClick}\n />\n )}\n {props.errorHandler && }\n
\n );\n}\n","import DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { ServiceProviderConfiguredParameter } from \"../types/ServiceProviderConfiguredParamter\";\nimport { ConfiguredParameterInputConfiguration } from \"components/common/types/ConfiguredParameterInputConfiguration\";\nimport NumberFormInput from \"components/framework/forms/NumberFormInput\";\nimport TimeInput24Hrs from \"components/framework/forms/TimeInput24Hrs\";\n\nexport const ServiceProviderConfiguredParameterConfigurations: Record<\n ServiceProviderConfiguredParameter,\n ConfiguredParameterInputConfiguration\n> = {\n [ServiceProviderConfiguredParameter.MediumTimerSupport]: {\n labelId: \"manage.serviceProvider.modifyParameters.mediumTimerSupport\",\n dropdownOptions: [\n {\n value: \"N\",\n keyTranslationId: \"general.no\"\n },\n {\n value: \"Y\",\n keyTranslationId: \"general.yes\"\n }\n ],\n renderInput: DropdownFormInput\n },\n [ServiceProviderConfiguredParameter.SvTypeSupport]: {\n labelId: \"manage.serviceProvider.modifyParameters.svTypeSupport\",\n dropdownOptions: [\n {\n value: \"N\",\n keyTranslationId: \"general.no\"\n },\n {\n value: \"Y\",\n keyTranslationId: \"general.yes\"\n }\n ],\n renderInput: DropdownFormInput\n },\n [ServiceProviderConfiguredParameter.NpacConnectionType]: {\n labelId: \"manage.serviceProvider.modifyParameters.npacConnectionType\",\n dropdownOptions: [\n {\n value: \"SECONDARY\",\n keyTranslationId: \"manage.serviceProvider.modifyParameters.npacConnectionType.secondary\"\n },\n {\n value: \"GRANTOR\",\n keyTranslationId: \"manage.serviceProvider.modifyParameters.npacConnectionType.delegate\"\n }\n ],\n renderInput: DropdownFormInput\n },\n [ServiceProviderConfiguredParameter.AutomatedActivationTime]: {\n labelId: \"manage.serviceProvider.modifyParameters.automatedActivationHour\",\n renderInput: TimeInput24Hrs\n },\n [ServiceProviderConfiguredParameter.AutomatedArchivingDelay]: {\n labelId: \"manage.serviceProvider.modifyParameters.automatedArchivingDelay\",\n appendValueId: \"general.days\",\n renderInput: NumberFormInput\n },\n [ServiceProviderConfiguredParameter.LSRRejectedCancel]: {\n labelId: \"manage.serviceProvider.modifyParameters.automatedLSRRejectToCancel\",\n appendValueId: \"general.days\",\n renderInput: NumberFormInput\n }\n};\n","import React, { useMemo, useCallback } from \"react\";\nimport { FormGroup, Label } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport moment, { Moment } from \"moment\";\nimport { ErrorHandler } from \"services/customHooks/useErrors\";\nimport InputError from \"../errorHandling/InputError\";\nimport DateTimeInput from \"./DateTimeInput\";\nimport { AppConfiguration } from \"AppConfiguration\";\n\nexport type DateTimeFormInputProps = {\n disabled?: boolean;\n labelTranslationId: string;\n placeholderTranslationId?: string;\n value?: string;\n errorHandler?: ErrorHandler;\n className?: string;\n handleInputChange?: (value: string) => void;\n};\n\nexport default function TimeInput24Hrs(props: DateTimeFormInputProps) {\n const intl = useIntl();\n const errors = props.errorHandler?.getErrors() || [];\n const placeholder =\n props.disabled || !props.placeholderTranslationId\n ? \"\"\n : intl.formatMessage({ id: props.placeholderTranslationId });\n\n const parsedValue = useMemo(() => moment.utc(props.value, AppConfiguration.timeFormat24H), [\n props.value\n ]);\n\n const formatValue = useCallback((value: Moment) => {\n return value.format(AppConfiguration.timeFormat24H);\n }, []);\n\n return (\n \n \n 0\n })}\n placeholder={placeholder}\n value={parsedValue}\n onChange={(value) => {\n props.errorHandler?.clear();\n props.handleInputChange && props.handleInputChange(formatValue(value));\n }}\n isTimeInput\n />\n \n \n );\n}\n","import React, { FormEvent, useState, useContext, useCallback, useEffect } from \"react\";\nimport { Modal, Form, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ManageContext } from \"../Manage\";\nimport { ConfiguredParameter } from \"services/apis/types/settings/ConfiguredParameter\";\nimport { ServiceProviderSettingsApi } from \"services/apis/ServiceProviderSettingsApi\";\nimport { handleError, handleFieldErrors } from \"services/util/ApiUtil\";\nimport { UpdateSettingModel } from \"services/apis/types/settings/UpdateSettingModel\";\nimport ConfiguredParameterInput from \"components/common/ConfiguredParameterInput\";\nimport { ServiceProviderConfiguredParameterConfigurations } from \"./ServiceProviderConfiguredParameterConfigurations\";\nimport { ServiceProviderConfiguredParameter } from \"../types/ServiceProviderConfiguredParamter\";\nimport { ApiError } from \"services/apis/types/ApiError\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n spId: string;\n closeModal: () => void;\n};\n\nexport default function ModifyServiceProviderParametersModal(props: Props) {\n const [parameters, setParameters] = useState([]);\n const [parametersLoaded, setParametersLoaded] = useState(false);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const manageContext = useContext(ManageContext);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const [updateSettingsModels, setUpdateSettingsModels] = useState([]);\n\n useEffect(() => {\n ServiceProviderSettingsApi.get(props.spId)\n .then((result) => {\n setParameters(result);\n setUpdateSettingsModels(\n result.map((x) => ({\n parameterId: x.parameterId,\n processName: x.processName,\n value: x.value\n }))\n );\n setParametersLoaded(true);\n })\n .catch((apiError) => handleError(apiError));\n }, [props.spId]);\n\n const closeModal = useCallback(props.closeModal, [props.closeModal]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const changedModels = updateSettingsModels.filter(\n (x) => x.value !== parameters.find((p) => p.parameterId === x.parameterId)?.value\n );\n setShowLoadingIndicator(true);\n ServiceProviderSettingsApi.update(props.spId, changedModels)\n .then(() => {\n showInfoNotification(\n getTranslation(intl, \"manage.serviceProvider.modifyParameters.successNotificationMessage\")\n );\n manageContext.serviceProviderCallback();\n props.closeModal();\n })\n .catch((apiError: ApiError) => handleFieldErrors(apiError))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n {!parametersLoaded && }\n {parameters\n .filter((x) =>\n Object.keys(ServiceProviderConfiguredParameterConfigurations).includes(x.parameterId)\n )\n .map((parameterInfo) => {\n const inputConfiguration =\n ServiceProviderConfiguredParameterConfigurations[\n parameterInfo.parameterId as ServiceProviderConfiguredParameter\n ];\n\n return (\n x.parameterId === parameterInfo.parameterId)\n ?.value\n }\n handleInputChange={(value) => {\n setUpdateSettingsModels((prev) => {\n const updateModel = prev.find(\n (x) => x.parameterId === parameterInfo.parameterId\n );\n if (updateModel) {\n updateModel.value = value;\n }\n return [...prev];\n });\n }}\n />\n );\n })}\n
\n
\n \n \n
\n \n
\n );\n}\n","import React, { useState } from \"react\";\nimport ActionDropdown from \"components/networkExplorer/common/ActionDropdown\";\nimport ActionDropdownItem from \"components/networkExplorer/common/ActionDropdownItem\";\nimport ServiceProviderDeleteModal from \"./ServiceProviderDeleteModal\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport ModifyServiceProviderParametersModal from \"./ModifyServiceProviderParametersModal\";\n\ntype Props = {\n spId: string;\n availableCompanies: CompanyInfo[];\n};\n\nexport default function ServiceProviderActionsCell(props: Props) {\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [showModifyModal, setShowModifyModal] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n\n return (\n <>\n setActionsOpen((prevState) => !prevState)}>\n setShowModifyModal(true)}\n iconClassName=\"fa fa-edit\"\n labelId=\"manage.serviceProvider.table.actions.modify\"\n />\n setShowDeleteModal(true)}\n iconClassName=\"fa fa-trash-alt\"\n labelId=\"manage.serviceProvider.table.actions.delete\"\n />\n \n {showModifyModal && (\n setShowModifyModal(false)}\n />\n )}\n {showDeleteModal && (\n setShowDeleteModal(false)}\n availableCompanies={props.availableCompanies}\n />\n )}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport ServiceProviderActionsCell from \"./ServiceProviderActionsCell\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { SpInfo } from \"services/apis/types/serviceProvider/SpInfo\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype Props = {\n companies: CompanyInfo[];\n serviceProviders: SpInfo[];\n};\n\nexport default function ServiceProvidersCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl, props.companies), [intl, props.companies]);\n const filterMapper = useMemo(() => getFilterMapper(intl), [intl]);\n\n const exportColumns = useMemo(()=> {\n var updColumns = [...columns];\n updColumns.splice(columns.findIndex(c=> c.accessor === \"actions\"), 1);\n return updColumns;\n },[columns]\n);\n\n return (\n \n );\n}\n\nconst getColumns = (intl: IntlShape, companies: CompanyInfo[]) => [\n {\n Header: intl.formatMessage({ id: \"manage.serviceProvider.table.npac\" }),\n accessor: \"name\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.serviceProvider.table.spid\" }),\n accessor: \"spId\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.serviceProvider.table.inPortControl\" }),\n accessor: \"inPortControl\",\n Cell: (cell: any) =>\n intl.formatMessage({ id: `general.${cell.cell.value ? \"yes\" : \"no\"}` }) + (cell.cell.value ? ` (${cell.cell.row.original.tenantType})` : ''),\n sortType: \"basic\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.serviceProvider.table.lastMonthPortIns\" }),\n accessor: \"lastMonthPortInCount\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.serviceProvider.table.actions\" }),\n Cell: (cell: any) =>\n cell.cell.row.original.inPortControl && (\n \n x.associatedSpId.includes(cell.cell.row.original.spId)\n )}\n />\n )\n }\n];\n\nconst getFilterMapper = (intl: IntlShape) => (spInfo: SpInfo) => {\n return {\n ...spInfo,\n inPortControl: (spInfo.inPortControl\n ? getTranslation(intl, \"general.yes\")\n : getTranslation(intl, \"general.no\")\n )\n + (spInfo.inPortControl && spInfo.tenantType ? ` (${spInfo.tenantType})` : '')\n };\n};\n","export const SpIdConnectionType: Record = {\n SecondarySpId: 0,\n GrantorSpId: 1,\n Free: 2\n};\n","import { SpIdConnectionType } from \"./SpIdConnectionType\";\n\nexport type ServiceProvider = {\n spId: string;\n companyId: string;\n type: string;\n mediumTimer: boolean;\n};\n\nexport const DefaultServiceProvider: ServiceProvider = {\n spId: \"\",\n type: SpIdConnectionType[\"SecondarySpId\"].toString(),\n companyId: \"\",\n mediumTimer: false\n};\n","import React, { useState, FormEvent, useCallback, useContext, useEffect } from \"react\";\nimport { Modal, Form, FormGroup, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ManageContext } from \"../Manage\";\nimport { SpInfo } from \"services/apis/types/serviceProvider/SpInfo\";\nimport { SpIdConnectionType } from \"components/manage/types/SpIdConnectionType\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { DefaultServiceProvider, ServiceProvider } from \"components/manage/types/ServiceProvider\";\nimport { CompanyApi } from \"services/apis/CompanyApi\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n \nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype Props = {\n closeModal: () => void;\n availableCompanies: CompanyInfo[];\n};\n\nexport default function ServiceProviderCreateModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [serviceProvider, setServiceProvider] = useState(DefaultServiceProvider);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const manageContext = useContext(ManageContext);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n\n useEffect(() => {\n if (props.availableCompanies.length > 0) {\n setServiceProvider((prevState) => {\n return { ...prevState, companyId: props.availableCompanies[0].id };\n });\n }\n }, [props.availableCompanies]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n CompanyApi.addSpId(serviceProvider)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"manage.serviceProvider.create.successNotificationMessage\" })\n );\n manageContext.serviceProviderCallback();\n closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n
\n
\n \n
\n \n
\n
handleSubmit(e)}>\n
\n \n \n setServiceProvider({ ...serviceProvider, spId: value })\n }\n errorHandler={getErrorHandler(nameOf(\"spId\"))}\n />\n \n \n \n setServiceProvider({ ...serviceProvider, companyId: value })\n }\n errorHandler={getErrorHandler(nameOf(\"companyId\"))}\n options={props.availableCompanies.map((x) => {\n return { key: x.name, value: x.id };\n })}\n />\n \n \n \n setServiceProvider({ ...serviceProvider, type: value })\n }\n errorHandler={getErrorHandler(nameOf(\"type\"))}\n options={Object.keys(SpIdConnectionType).map((x) => {\n return { key: x, value: SpIdConnectionType[x].toString() };\n })}\n />\n \n \n \n {\n setServiceProvider({...serviceProvider, mediumTimer: value})\n }}\n />\n \n \n
\n
\n \n \n
\n \n
\n );\n}\n","import { ContactInfo } from \"services/apis/types/company/ContactInfo\";\n\nexport type CompanyInfo = {\n id: string,\n name: string,\n nonSpId: boolean,\n csrEnabled: boolean,\n addressLine1: string,\n addressLine2: string,\n city: string,\n state: string,\n zipCode: string,\n primaryContactId: string,\n created: Date,\n notificationEmail: string,\n billingId: string,\n associatedSpId: string[],\n parent: CompanyInfo,\n primaryContact: ContactInfo,\n parentId: string,\n companyType: CompanyType,\n tenantId: string;\n clientType: string;\n statusIssueReport?: boolean;\n};\n\nexport enum CompanyType {\n StandAlone = \"StandAlone\",\n Parent = \"Parent\",\n Child = \"Child\"\n}","export type CompanyDto = {\n parentId: string;\n name: string;\n addressLine1: string;\n addressLine2: string;\n city: string;\n state: string;\n zipCode: string;\n primaryContactEmail: string;\n notificationEmail: string;\n billingId: string;\n nonSpId: boolean;\n csrEnabled: boolean;\n tenantId: string;\n clientType:string;\n statusIssueReport?: boolean;\n};\n\nexport const DefaultCompanyDto = {\n parentId: \"\",\n name: \"\",\n addressLine1: \"\",\n addressLine2: \"\",\n city: \"\",\n state: \"\",\n zipCode: \"\",\n primaryContactEmail: \"\",\n notificationEmail: \"\",\n billingId: \"\",\n nonSpId: false,\n csrEnabled: false,\n tenantId: \"\",\n clientType:\"\",\n statusIssueReport: false\n};\n","import { CompanyDto, DefaultCompanyDto } from \"services/apis/types/company/CompanyDto\";\n\nexport type Company = {\n id: string;\n companyDto: CompanyDto;\n};\n\nexport const DefaultCompany: Company = {\n id: \"\",\n companyDto: DefaultCompanyDto\n};\n","import React, { useState, FormEvent, useCallback, useContext, useEffect } from \"react\";\nimport { Modal, Form, Button, Row, FormGroup } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { CompanyApi } from \"services/apis/CompanyApi\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { ManageContext } from \"../Manage\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { DefaultCompany, Company } from \"components/manage/types/Company\";\nimport { HasErrors, AddError, Errors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { isEmail, isValidZipCode } from \"services/util/StringUtil\";\nimport { CompanyDto, DefaultCompanyDto } from \"services/apis/types/company/CompanyDto\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { CompanyClientType } from \"../serviceProvider/CompanyClientType\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype Props = {\n closeModal: () => void;\n companyId?: string;\n availableCompanies: CompanyInfo[];\n manageAction: ManageAction;\n};\n\n\nexport default function OrganizationModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [company, setCompany] = useState(DefaultCompany);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const manageContext = useContext(ManageContext);\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const closeModal = useCallback(props.closeModal, []);\n\n useEffect(() => {\n if (props.manageAction === ManageAction.Modify && props.companyId) {\n CompanyApi.get(props.companyId)\n .then(result => {\n if (isMounted.current) {\n setCompany({\n id: result.id,\n companyDto: {\n parentId: result.parent ? result.parent.id : DefaultCompanyDto.parentId,\n name: result.name,\n addressLine1: result.addressLine1,\n addressLine2: result.addressLine2,\n city: result.city,\n state: result.state,\n zipCode: result.zipCode,\n primaryContactEmail: result.primaryContact\n ? result.primaryContact.email\n : DefaultCompanyDto.primaryContactEmail,\n notificationEmail: result.notificationEmail,\n billingId: result.billingId,\n tenantId: result.tenantId,\n nonSpId: result.nonSpId,\n csrEnabled: result.csrEnabled,\n clientType: result.clientType,\n statusIssueReport: result.statusIssueReport\n }\n });\n }\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n }, [isMounted, props.companyId, props.manageAction, setErrors]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const errors = validateCompany(company);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n } else if (props.manageAction === ManageAction.Add) {\n CompanyApi.add(company.companyDto)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"manage.organization.edit.successNotificationMessage\" }));\n manageContext.organizationCallback();\n closeModal();\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n } else if (props.manageAction === ManageAction.Modify) {\n CompanyApi.modify(company.id, company.companyDto)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"manage.organization.edit.successNotificationMessage\" }));\n manageContext.organizationCallback();\n closeModal();\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n \n
\n
\n {!props.companyId && }\n {props.companyId && }\n
\n \n
\n
handleSubmit(e)}>\n
\n \n \n setCompany({ ...company, companyDto: { ...company.companyDto, name: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"name\"))}\n />\n \n setCompany({ ...company, companyDto: { ...company.companyDto, parentId: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"parentId\"))}\n options={[\n { key: \"None\", value: \"\" },\n ...props.availableCompanies.map(x => {\n return { key: x.name, value: x.id };\n })\n ]}\n />\n \n \n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, addressLine1: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"addressLine1\"))}\n />\n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, addressLine2: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"addressLine2\"))}\n />\n \n \n \n setCompany({ ...company, companyDto: { ...company.companyDto, city: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"city\"))}\n />\n \n setCompany({ ...company, companyDto: { ...company.companyDto, state: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"state\"))}\n />\n \n \n \n setCompany({ ...company, companyDto: { ...company.companyDto, zipCode: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"zipCode\"))}\n />\n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, primaryContactEmail: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"primaryContactEmail\"))}\n />\n \n \n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, notificationEmail: value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"notificationEmail\"))}\n />\n \n setCompany({ ...company, companyDto: { ...company.companyDto, billingId: value } })\n }\n errorHandler={getErrorHandler(nameOf(\"billingId\"))}\n />\n \n \n \n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, nonSpId: value }\n })\n }\n />\n \n {/* displays the dropdown input for admin users and sets the client type based on a URL condition for non-admin users. */}\n\n {userIsAdmin ? (\n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto,clientType:value }\n })\n }\n errorHandler={getErrorHandler(nameOf(\"clientType\"))}\n options={[\n { key: \"Select\", value:\"\"},\n { key: \"PortControl\", value:CompanyClientType.PORTCONTROL },\n { key: \"Wholesale\", value: CompanyClientType.WHOLESALE }\n ]}\n /> \n ) : (\n setCompany({\n ...company,\n companyDto: { ...company.companyDto, clientType : isMixNetworkUrl ? \"WHOLESALE\":\"PORTCONTROL\" }\n })\n )}\n \n setCompany({ ...company, companyDto: { ...company.companyDto, tenantId: value } })\n }\n readonly\n errorHandler={getErrorHandler(nameOf(\"tenantId\"))}\n />\n \n \n \n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, csrEnabled: value }\n })\n }\n />\n \n \n \n setCompany({\n ...company,\n companyDto: { ...company.companyDto, statusIssueReport: value }\n })\n }\n />\n \n \n
\n
\n \n \n
\n \n
\n \n );\n}\n\nconst validateCompany = (company: Company) => {\n const errors: Errors = {};\n\n if (!company.companyDto.name) {\n AddError(errors, nameOf(\"name\"), \"manage.organization.edit.name.required\");\n }\n\n if (!isValidZipCode(company.companyDto.zipCode)){\n AddError(errors, nameOf(\"zipCode\"), \"manage.organization.edit.zipCode.invalid\");\n }\n\n if (!isEmail(company.companyDto.notificationEmail)) {\n AddError(errors, nameOf(\"notificationEmail\"), \"manage.organization.edit.notificationEmail.invalid\");\n }\n\n if (!isEmail(company.companyDto.primaryContactEmail)) {\n AddError(errors, nameOf(\"primaryContactEmail\"), \"manage.organization.edit.primaryContactEmail.invalid\");\n }\n if (!company.companyDto.clientType) {\n AddError(errors, nameOf(\"clientType\"), \"manage.organization.edit.clientType.invalid\");\n }\n\n return errors;\n};\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { ManageContext } from \"../Manage\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { CompanyApi } from \"services/apis/CompanyApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n id: string;\n name: string;\n closeModal: () => void;\n};\n\nexport default function OrganizationDeleteModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const manageContext = useContext(ManageContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n CompanyApi.delete(props.id)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"manage.organization.delete.deleteNotification\" }));\n if (isMounted.current) {\n manageContext.organizationCallback();\n props.closeModal();\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

\n \n

\n \n );\n}\n","import React, { useState } from \"react\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport ActionDropdown from \"components/networkExplorer/common/ActionDropdown\";\nimport ActionDropdownItem from \"components/networkExplorer/common/ActionDropdownItem\";\nimport OrganizationModal from \"./OrganizationModal\";\nimport OrganizationDeleteModal from \"./OrganizationDeleteModal\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\n\ntype Props = {\n company: CompanyInfo;\n availableCompanies: CompanyInfo[];\n};\n\nexport default function OrganizationActionsCell(props: Props) {\n const [showModifyModal, setShowModifyModal] = useState(false);\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n\n return (\n <>\n setActionsOpen(prevState => !prevState)}>\n setShowModifyModal(true)}\n iconClassName=\"fa fa-edit\"\n labelId=\"manage.organization.table.actions.modify\"\n />\n setShowDeleteModal(true)}\n iconClassName=\"fa fa-trash-alt\"\n labelId=\"manage.organization.table.actions.delete\"\n />\n \n {showModifyModal && (\n x.id !== props.company.id)}\n closeModal={() => setShowModifyModal(false)}\n />\n )}\n {showDeleteModal && (\n setShowDeleteModal(false)}\n />\n )}\n \n );\n}\n","import React, { useMemo, useCallback } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { CompanyInfo, CompanyType } from \"services/apis/types/company/CompanyInfo\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport OrganizationActionsCell from \"./OrganizationActionsCell\";\nimport { isValidZipCode } from \"services/util/StringUtil\";\n\n\ntype Props = {\n companies: CompanyInfo[];\n};\n\nexport default function OrganizationsCard(props: Props) {\n const intl = useIntl();\n const transformedData = transformToAccountHierarchyData(props.companies);\n const data = transformedData.map(x => ({...x, parentName: x.name}))\n\n data.forEach((obj) => {\n if (obj.subRows) {\n obj.subRows = obj.subRows.map((row) => ({\n ...row,\n parentName: obj.name,\n }));\n }\n });\n \n const columns = useMemo(() => [\n {\n accessor: \"companyType\",\n Header: \"\",\n canFilter: false,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"manage.organization.table.organization\" }),\n accessor: \"name\"\n },\n {\n Header: intl.formatMessage({ id: \"manage.organization.table.parentSpid\" }),\n accessor: \"parentSpId\",\n Cell: ({ row }) => (\n {row.original.parentSpId?.join(\", \")}\n )\n },\n {\n Header: intl.formatMessage({ id: \"manage.organization.table.associatedSpids\" }),\n accessor: \"associatedSpId\",\n Cell: (cell: any) => {cell.cell.value.join(\", \")}\n },\n {\n Header: intl.formatMessage({ id: \"manage.organization.table.parentName\" }),\n accessor: \"parentName\",\n },\n {\n id: 'expander',\n Header: intl.formatMessage({ id: \"manage.organization.table.actions\" }),\n Cell: ({ row }) => (\n <>\n \n {row.subRows.length > 0 && ()}\n \n )\n },\n ], [props.companies, intl]);\n\n const exportColumns = useMemo(() => {\n var updColumns = [...columns];\n updColumns.splice(columns.findIndex(c => c.accessor === \"actions\" ), 1);\n return updColumns;\n }, [columns]);\n\n const updateHiddenColumns = useCallback(() => {\n const excludedColumnsForWholesale = [\"parentName\"];\n return excludedColumnsForWholesale.map((c) => c as string);\n }, []);\n\n return (\n \n );\n}\n\nconst filterMapper = (companyInfo: ParentChildAccountRow) => {\n return {\n ...companyInfo,\n associatedSpId: companyInfo?.associatedSpId?.join(\", \"),\n parentSpId: companyInfo.parentSpId?.join(\", \")\n };\n};\n\nconst transformToAccountHierarchyData = (companies: CompanyInfo[]) => {\n return filterParentWithChildSubRows(companies)\n .concat(filterStandAloneAccounts(companies));\n}\n\nconst filterParentWithChildSubRows = (companies: CompanyInfo[]) => {\n const parentCompanies = companies.filter((p) => p.companyType === CompanyType.Parent);\n return parentCompanies.map((p) => {\n const validChildCompanies = companies.filter(\n (c) =>\n c.companyType === CompanyType.Child &&\n c.parentId === p.id\n );\n\n return {\n id: p.id,\n parentId: p.parentId,\n name: p.name,\n nonSpId: p.nonSpId,\n notificationEmail: p.notificationEmail,\n addressLine1: p.addressLine1,\n addressLine2: p.addressLine2,\n city: p.city,\n state: p.state,\n zipCode: p.zipCode,\n primaryContact: p.primaryContact,\n created: p.created,\n billingId: p.billingId,\n parent: p.parent,\n primaryContactId: p.primaryContactId,\n companyType: p.companyType,\n parentSpId: p.associatedSpId,\n associatedSpId: validChildCompanies\n .map((c) => c.associatedSpId)\n .reduce((ag, i, a) => ag.concat(i), []) // flatten spid array\n .filter((v, i, a) => i === a.findIndex((v2) => v2 === v)), // return distinct results\n\n\n subRows: validChildCompanies\n .map(m => {\n return {\n id: m.id,\n name: m.name,\n nonSpId: m.nonSpId,\n addressLine1: m.addressLine1,\n addressLine2: m.addressLine2,\n city: m.city,\n state: m.state,\n zipCode: m.zipCode,\n primaryContactId: m.primaryContactId,\n created: m.created,\n notificationEmail: m.notificationEmail,\n parentId: m.parentId,\n billingId: m.billingId,\n parent: m.parent,\n primaryContact: m.primaryContact,\n companyType: m.companyType,\n parentSpId: undefined,\n associatedSpId: m.associatedSpId,\n depth: 1,\n } as ParentChildAccount\n })\n } as ParentChildAccountRow\n });\n}\n\nconst filterStandAloneAccounts = (companies: CompanyInfo[]) => {\n return companies.filter(sa => sa.companyType === CompanyType.StandAlone)\n .map((sa) => {\n return {\n id: sa.id,\n name: sa.name,\n nonSpId: sa.nonSpId,\n csrEnabled: sa.csrEnabled,\n tenantId: sa.tenantId,\n addressLine1: sa.addressLine1,\n addressLine2: sa.addressLine2,\n city: sa.city,\n state: sa.state,\n zipCode: sa.zipCode,\n primaryContactId: sa.primaryContactId,\n created: sa.created,\n notificationEmail: sa.notificationEmail,\n billingId: sa.billingId,\n parent: sa.parent,\n primaryContact: sa.primaryContact,\n parentId: sa.parentId,\n companyType: sa.companyType,\n parentSpId: undefined,\n associatedSpId: sa.associatedSpId,\n clientType:sa.clientType,\n depth: 0,\n subRows: []\n } as ParentChildAccountRow\n });\n}\n\nconst OrganizationCompanyTypeIcon = (props: { cell: any }) => {\n var accountIdentifierText =\n props.cell.cell.value === CompanyType.Parent ? \"P\" : props.cell.cell.value === CompanyType.Child\n ? \"C\"\n : \"A\";\n\n var accountIdentifierClassName = \"pc-manage-organization-account-type-identifier\";\n switch (props.cell.cell.value) {\n case CompanyType.Parent:\n accountIdentifierClassName += \" pc-manage-organization-account-type-identifier-parent\";\n break;\n\n case CompanyType.Child:\n accountIdentifierClassName += \" pc-manage-organization-account-type-identifier-child\";\n break;\n\n default:\n accountIdentifierClassName += \" pc-manage-organization-account-type-identifier-stand-alone\";\n break;\n }\n\n return ({accountIdentifierText})\n}\n\ninterface ParentChildAccountRow extends ParentChildAccount {\n subRows: ParentChildAccount[]\n}\n\ninterface ParentChildAccount extends CompanyInfo {\n parentSpId: string[] | undefined,\n associatedSpId: string[],\n depth: number\n}\n\n\nconst OrganizationRowExpanderAction = (props: { row: any }) => {\n var expandClassName = \"fal fa-chevron-right pc-manage-organization-row-expander-\" +\n (props.row.canExpand && props.row.isExpanded\n ? \"active\"\n : \"inactive\");\n\n return (\n \n );\n}\n\n","export enum ManageItemType {\n User,\n Organization,\n SpId\n}\n","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { Row, Col, Container, Dropdown, DropdownToggle, Button, DropdownMenu } from \"reactstrap\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport UsersCard from \"./user/UsersCard\";\nimport ServiceProvidersCard from \"./serviceProvider/ServiceProvidersCard\";\nimport { UserApi } from \"services/apis/UserApi\";\nimport { CompanyApi } from \"services/apis/CompanyApi\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ServiceProviderCreateModal from \"./serviceProvider/ServiceProviderCreateModal\";\nimport UserModal from \"./user/UserModal\";\nimport { CompanyInfo } from \"services/apis/types/company/CompanyInfo\";\nimport { PortControlIdentityUser } from \"services/apis/types/user/PortControlIdentityUser\";\nimport OrganizationsCard from \"./organization/OrganizationsCard\";\nimport OrganizationModal from \"./organization/OrganizationModal\";\nimport { ManageItemType } from \"components/manage/types/ManageItemType\";\nimport { ManageAction } from \"components/manage/types/ManageAction\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { SpInfo } from \"services/apis/types/serviceProvider/SpInfo\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype ManageContext = {\n organizationCallback: () => void;\n serviceProviderCallback: () => void;\n userCallback: () => void;\n};\n\nexport const ManageContext = React.createContext({\n organizationCallback: () => {},\n serviceProviderCallback: () => {},\n userCallback: () => {}\n});\n\nexport default function Manage() {\n const [users, setUsers] = useState([]);\n const [companies, setCompanies] = useState([]);\n const [serviceProviders, setServiceProviders] = useState([]);\n\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [usersLoaded, setUsersLoaded] = useState(false);\n const [organizationsLoaded, setOrganizationsLoaded] = useState(false);\n const [spidsLoaded, setSpidsLoaded] = useState(false);\n\n const [showDropdown, setShowDropdown] = useState(false);\n const [manageItemType, setManageItemType] = useState();\n const [showModal, setShowModal] = useState(false);\n const isMounted = useIsMounted();\n const [userOrganization, setUserOrganization] = useState([]);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n\n useEffect(() => {\n setShowLoadingIndicator(!(usersLoaded && organizationsLoaded && spidsLoaded));\n }, [usersLoaded, organizationsLoaded, spidsLoaded]);\n\n const fetchOrganizations = useCallback(() => {\n if (authorize(PermissionType.Admin)) {\n CompanyApi.list()\n .then((result) => {\n if (isMounted) {\n setCompanies(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setOrganizationsLoaded(true);\n }\n });\n } else {\n setOrganizationsLoaded(true);\n }\n }, [isMounted]);\n\n const fetchServiceProviders = useCallback(() => {\n if (authorize(PermissionType.Admin)) {\n ServiceProviderApi.list()\n .then((result) => {\n if (isMounted.current) {\n setServiceProviders(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setSpidsLoaded(true);\n }\n });\n } else {\n setSpidsLoaded(true);\n }\n }, [isMounted]);\n\n const fetchUsers = useCallback(() => {\n UserApi.list()\n .then((result) => {\n if (isMounted.current) {\n setUsers(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setUsersLoaded(true);\n }\n });\n }, [isMounted]);\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n\n useEffect(() => {\n fetchUsers();\n fetchOrganizations();\n fetchServiceProviders();\n }, [fetchOrganizations, fetchServiceProviders, fetchUsers]);\n\n const handleCreateDropdownItemButtonClick = (manageItemType: ManageItemType) => {\n setManageItemType(manageItemType);\n setShowModal(true);\n setShowDropdown(false);\n };\n\n const manageContext: ManageContext = {\n serviceProviderCallback: () => {\n fetchServiceProviders();\n fetchOrganizations();\n },\n userCallback: fetchUsers,\n organizationCallback: () => {\n fetchOrganizations();\n fetchUsers();\n }\n };\n\n useEffect(() => {\n if (users.length > 0 && companies.length > 0) {\n const updatedUserOrganization = users.map((user) => {\n const company = companies.find((c) => c.id === user.companyId);\n return company ? company.name : companies[0].name;\n });\n \n setUserOrganization(updatedUserOrganization);\n }\n }, [users, companies]); \n\n return (\n \n \n \n \n \n \n \n

\n \n \n

\n \n \n
\n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(ManageItemType.User)}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(ManageItemType.Organization)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(ManageItemType.SpId)}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n
\n
\n \n {showLoadingIndicator ? (\n \n ) : authorize(PermissionType.Admin) ? (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n )}\n \n \n {manageItemType === ManageItemType.Organization && showModal && (\n setShowModal(false)}\n />\n )}\n {manageItemType === ManageItemType.SpId && showModal && (\n setShowModal(false)}\n />\n )}\n {manageItemType === ManageItemType.User && showModal && (\n setShowModal(false)}\n />\n )}\n \n
\n );\n}\n","import { HubConnection, HubConnectionBuilder, HttpTransportType, LogLevel } from \"@microsoft/signalr\";\nimport { AppContextAccessor } from \"../appContext/AppContextAccessor\";\nimport { IdentityService } from \"../identity/IdentityService\";\nimport { EnvironmentUtil } from \"./EnvironmentUtil\";\n\nlet hubConnection: HubConnection;\nlet isConnected = false;\n\nexport const SignalRClient = {\n invoke: async (methodName: string, ...args: any[]): Promise => {\n return initialise().then(() => {\n if (hubConnection) {\n return hubConnection.invoke(methodName, ...args);\n }\n return new Promise(() => []);\n });\n },\n\n on: async (methodName: string, newMethod: (...args: any[]) => void) => {\n return initialise().then(() => hubConnection.on(methodName, newMethod));\n }\n};\n\nconst initialise = async () => {\n if (await IdentityService.checkAndRenewAccessToken()) {\n if (!hubConnection) {\n hubConnection = new HubConnectionBuilder()\n .withUrl(EnvironmentUtil.signalRUrl, {\n skipNegotiation: true,\n transport: HttpTransportType.WebSockets,\n accessTokenFactory: () => AppContextAccessor.getAppContext().localStorageInfo.authenticationInfo.access_token\n })\n .configureLogging(LogLevel.Error)\n .withAutomaticReconnect()\n .build();\n }\n\n if (!isConnected) {\n await hubConnection\n .start()\n .then(() => (isConnected = true))\n .catch((err: any) => console.log(\"Error while establishing connection.\", err));\n }\n }\n};\n","import { SignalRClient } from \"services/util/SignalRClient\";\nimport { NotificationDto } from \"./types/notification/NotificationDto\";\n\nexport const NotificationApi = {\n getLatestNotifications: (count: number): Promise => {\n return SignalRClient.invoke(\"GetLatestNotifications\", count);\n },\n\n markAsRead: (notificationId: string): Promise => {\n return SignalRClient.invoke(\"MarkAsRead\", notificationId);\n },\n\n onNewNotification: (method: (...args: any[]) => void) => {\n SignalRClient.on(\"NewNotification\", method);\n }\n};\n","import { AppContextAccessor } from \"../appContext/AppContextAccessor\";\nimport { NotificationApi } from \"../apis/NotificationApi\";\nimport { NotificationDto } from \"../apis/types/notification/NotificationDto\";\n\nexport const NotificationService = {\n initalise: async () => {\n await NotificationService.updateNotifications();\n\n NotificationApi.onNewNotification(NotificationService.newNotification);\n },\n\n markAsRead: async (notification: NotificationDto) => {\n if (!notification.isRead) {\n notification.isRead = true;\n AppContextAccessor.setAppContext(appContext => {\n return {\n ...appContext,\n notifications: appContext.notifications ? [...appContext.notifications] : []\n };\n });\n\n await NotificationApi.markAsRead(notification.notificationId);\n }\n },\n\n newNotification: (notificiation: NotificationDto) => {\n AppContextAccessor.setAppContext(appContext => {\n return {\n ...appContext,\n notifications: appContext.notifications ? [notificiation, ...appContext.notifications] : [notificiation]\n };\n });\n },\n\n updateNotifications: async () => {\n if (!AppContextAccessor.getAppContext().notifications) {\n await NotificationApi.getLatestNotifications(10).then(x => {\n AppContextAccessor.setAppContext(appContext => {\n return { ...appContext, notifications: x };\n });\n });\n }\n }\n};\n","import { ApiError } from \"services/apis/types/ApiError\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { OrderNumberActionType } from \"./types/OrderNumberActionType\";\n\nexport const PortService = {\n executeAction: (phoneNumber: string, action: OrderNumberActionType): Promise => {\n const methods: Record Promise> = {\n [OrderNumberActionType.Activate]: PortApi.activate,\n [OrderNumberActionType.Cancel]: PortApi.cancel,\n [OrderNumberActionType.RemoveFromConflict]: PortApi.removeFromConflict,\n [OrderNumberActionType.UndoCancel]: PortApi.undoCancel\n };\n\n return methods[action](phoneNumber);\n }\n};\n","import React, { useState, useContext, useEffect, useCallback } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport DisconnectModifyModal from \"./DisconnectModifyModal\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport PortInModifyModal from \"./PortInModifyModal\";\nimport PortOutModifyModal from \"./PortOutModifyModal\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { PortService } from \"services/portControl/PortService\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderDetailsContext } from \"./OrderDetailsContainer\";\n\ntype Props = {\n numberStatusDto: NumberStatusDto;\n action: OrderNumberActionType;\n confirmationMessageId?: string;\n skipConfirmation?: boolean;\n closeModal: () => void;\n onActionExecuted: (value) => void;\n};\n\nexport default function ExecuteNumberAction(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const orderDetailsContext = useContext(OrderDetailsContext);\n const isMounted = useIsMounted();\n const [actionCompleted, setActionCompleted] = useState(false)\n\n const closeModal = props.closeModal;\n\n const onAfterActionExecution = useCallback(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.actionExecutedSuccesfuly\" })\n );\n const newActionExecutedValue = !actionCompleted\n props.onActionExecuted(newActionExecutedValue)\n orderDetailsContext.fetchOrder();\n closeModal();\n }, [intl, orderDetailsContext, closeModal, actionCompleted]);\n\n const onFinally = useCallback(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n }, [isMounted]);\n\n const handlePortingNumberAction = useCallback(() => {\n setShowLoadingIndicator(true);\n const newActionExecutedValue = !actionCompleted\n props.onActionExecuted(newActionExecutedValue)\n PortService.executeAction(props.numberStatusDto.phoneNumber, props.action)\n .then(() => {\n onAfterActionExecution();\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => onFinally());\n }, [onAfterActionExecution, onFinally, props.action, props.numberStatusDto.phoneNumber]);\n\n useEffect(() => {\n if (props.skipConfirmation) {\n handlePortingNumberAction();\n closeModal();\n }\n }, [handlePortingNumberAction, closeModal, props.skipConfirmation]);\n\n const confirmationMessageId = getValueOrEmpty(props.confirmationMessageId);\n\n return (\n <>\n {props.action === OrderNumberActionType.Modify ? (\n orderDetailsContext.order.orderType === OrderType.PortIn ? (\n \n ) : orderDetailsContext.order.orderType === OrderType.PortOut ? (\n \n ) : (\n \n )\n ) : (\n !props.skipConfirmation && (\n handlePortingNumberAction()}\n closeModal={props.closeModal}\n title={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmActionModalTitle\"\n })}\n confirmButtonText={intl.formatMessage({\n id: \"orders.orderDetails.portingNumber.table.confirmAction\"\n })}\n showLoadingIndicator={showLoadingIndicator}>\n {confirmationMessageId && (\n

\n \n

\n )}\n \n )\n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport ExecuteNumberAction from \"./ExecuteNumberAction\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderNumberActionConfigurations } from \"./configuration/OrderNumberActionConfigurations\";\nimport Icon from \"components/common/Icon\";\n\ntype Props = {\n actions: OrderNumberActionType[];\n numberStatusDto: NumberStatusDto;\n};\n\nexport default function PortingNumbersTableActionsCell(props: Props) {\n const [selectedAction, setSelectedAction] = useState();\n const [actionCompleted, setActionCompleted] = useState(false);\n\n return (\n <>\n {props.actions && props.actions.length > 0 ? (\n props.actions.map((action) => (\n \n {!OrderNumberActionConfigurations[action].Number.inactive && (\n \n {selectedAction === action && (\n setSelectedAction(undefined)}\n onActionExecuted={setActionCompleted}\n />\n )}\n setSelectedAction(action)}\n />\n \n )}\n \n ))\n ) : (\n <>-\n )}\n \n );\n}\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Dropdown, DropdownToggle, Button, DropdownMenu, Row, Col } from \"reactstrap\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport classNames from \"classnames\";\nimport ExecuteOrderAction from \"./ExecuteOrderAction\";\nimport { OrderNumberActionType } from \"services/portControl/types/OrderNumberActionType\";\nimport { OrderNumberActionConfigurations } from \"./configuration/OrderNumberActionConfigurations\";\nimport Icon from \"components/common/Icon\";\nimport { OrderDetailsContext } from \"./OrderDetailsContainer\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n order: OrderDto;\n};\n\nexport default function PortingNumbersTableActionsButton(props: Props) {\n const [selectedAction, setSelectedAction] = useState();\n const [showDropdown, setShowDropdown] = useState(false);\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n const orderDetailsContext = useContext(OrderDetailsContext);\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const actions: OrderNumberActionType[] = props.order.availableActions as OrderNumberActionType[];\n\n const toggleAction = (action: OrderNumberActionType) => {\n if (isMounted.current) {\n setSelectedAction(action);\n setShowDropdown(false);\n }\n };\n\n return (\n \n \n \n \n \n \n {actions &&\n actions.length > 0 &&\n actions.some((x) => OrderNumberActionConfigurations[x]) ? (\n actions.map((action) => (\n \n {OrderNumberActionConfigurations[action] && (\n toggleAction(action)}>\n {selectedAction === action && (\n setSelectedAction(undefined)}\n onActionExecuted={orderDetailsContext.fetchOrder}\n confirmationMessageId={\n OrderNumberActionConfigurations[action].Order.confirmMessageId\n }\n action={action}\n skipConfirmation={\n OrderNumberActionConfigurations[action].Order.skipConfirmation\n }\n />\n )}\n \n \n \n \n \n \n \n )}\n \n ))\n ) : (\n \n \n \n )}\n \n \n \n );\n}\n","import React, { useRef, useState, useCallback } from \"react\";\nimport { Tooltip } from \"reactstrap\";\n\ntype Props = {\n className: string;\n onClick?: () => void;\n tooltip: string;\n value: string\n};\n\nexport default function TextWithTooltip(props: Props) {\n const [isTooltipOpen, setIsTooltipOpen] = useState(false);\n const toggleTooltip = useCallback(() => setIsTooltipOpen((prev) => !prev), []);\n const textRef = useRef(null);\n\n return (\n <>\n {props.value}\n \n {props.tooltip}\n \n \n );\n}\n","import React, { useMemo, useEffect, useContext } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport PortingNumbersTableActionsCell from \"./PortingNumbersTableActionsCell\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport PortingNumbersTableActionsButton from \"./PortingNumbersTableActionsButton\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport { NumberStatusDto } from \"services/apis/types/order/NumberStatusDto\";\nimport { getNumberStatus } from \"services/apis/types/order/NumberStatus\";\nimport TextWithTooltip from \"components/common/TextWithTooltip\";\nimport DuplicateTNNotifier from \"components/common/DuplicateTNNotifier\";\nimport { showDuplicationInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport FormatDate from \"components/framework/date/FormateDate\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\ntype Props = {\n order: OrderDto;\n isDisasterRecovery?: boolean;\n isSinch?: boolean;\n};\n\nexport default function PortingNumbersTable(props: Props) {\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const columns = useMemo(() => getColumns(intl, props), [intl, props]);\n useEffect(() => {\n if (props.order.tnsInOtherOrders && props.order.tnsInOtherOrders !== undefined) {\n const orders = Array.prototype.concat.apply([], Object.values(props.order.tnsInOtherOrders));\n const unique = orders.filter((uniqueNumber, index) => {\n return (\n uniqueNumber && orders.indexOf(uniqueNumber) === index\n );\n });\n const userSpIdProfiles = appContext.localStorageInfo.user?.spIdProfiles.map(x => x.spId);\n const spidOfOtherOrders = unique.filter(order => typeof order === 'string' && order.length >= 4)\n .map(order => order.substring(0, 4))\n .toString();\n\n\n if (userSpIdProfiles?.includes(spidOfOtherOrders)) {\n const value = intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.duplicateNotificationMessage\" }, { orders: unique.toString() });\n showDuplicationInfoNotification(value);\n }\n else {\n const value = intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.duplicateNotificationMessageForOtherOrg\" });\n showDuplicationInfoNotification(value);\n }\n\n }\n }, [props.order, props.order.tnsInOtherOrders, intl])\n\n return (\n
\n \n \n \n
\n );\n}\n\nconst getColumns = (intl: IntlShape, props) => {\n const columns = [\n {\n Header: intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.number\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => ()\n },\n {\n Header: intl.formatMessage(isMixNetworkUrl ? { id: \"orders.portIn.stepTwo.autoActivation\" } : { id: \"orders.orderDetails.portingNumber.table.dueDate\" }),\n accessor: \"dueDate\",\n Cell: (cell: any) => cell.cell.value && (\n isMixNetworkUrl ?\n :\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => (getValueOrEmpty(cell.cell.row.original.resolution) || (getValueOrEmpty(cell.cell.row.original.failedReason)) ? : getNumberStatus(cell.cell.value)\n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.actions\" }),\n Cell: (cell: any) => (\n \n )\n }\n ]\n if (!isMixNetworkUrl && !props.isSinch) {\n columns.splice(1, 0, { // Insert LRN column as the second column\n Header: intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n });\n }\n if (props.isDisasterRecovery) {\n columns.splice(3, 0, { // Insert LRN column as the second column\n Header: intl.formatMessage({ id: \"orders.orderDetails.portingNumber.table.loosingSpid\" }),\n accessor: \"loosingProvider\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n });\n columns.pop();\n } \n if (props.isSinch) {\n columns.splice(1, 1);\n columns.pop();\n }\n\n return columns;\n};\n\nconst filterMapper = (number: NumberStatusDto) => {\n return {\n ...number,\n dueDate: getFormattedUtcDate(number.dueDate)\n };\n};","import React, { useState } from \"react\";\nimport { useOnClickOutside } from \"services/customHooks/useOnClickOutside\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n labelText: string;\n text: string;\n onSetText: (newText: string) => Promise;\n};\n\nexport default function InlineEdit(props: Props) {\n const [isInputActive, setIsInputActive] = useState(false);\n const [inputValue, setInputValue] = useState(props.text);\n\n const handleEnter = () => {\n props.onSetText(inputValue).then((successful) => {\n if (successful) {\n setIsInputActive(false);\n }\n });\n };\n\n const handleEscape = () => {\n setInputValue(props.text);\n setIsInputActive(false);\n };\n\n const handleInputKeyUp = (e: React.KeyboardEvent) => {\n if (e.key === \"Enter\") {\n handleEnter();\n }\n if (e.key === \"Escape\") {\n handleEscape();\n }\n };\n\n const ref = useOnClickOutside(() => {\n if (isInputActive) {\n handleEscape();\n }\n });\n\n const textIsEmpty = (): boolean => {\n return props.text === undefined || props.text === \"\"\n };\n\n return (\n \n {textIsEmpty() && : }\n {!isInputActive && (\n <>\n {textIsEmpty() && -}\n {props.text}\n setIsInputActive(true)}>\n \n )}\n {isInputActive && (\n setInputValue(e.target.value)}\n onKeyUp={(e) => handleInputKeyUp(e)}\n className=\"inline-text_input inline-text_input--active\"\n />\n )}\n \n );\n}\n","import { useEffect, useRef } from \"react\";\n\nexport const useOnClickOutside = (handler: () => void) => {\n const ref = useRef();\n useEffect(() => {\n const listener = (e: Event) => {\n if (!ref.current || ref.current.contains(e.target)) {\n return;\n }\n\n handler();\n };\n\n document.addEventListener(\"mousedown\", listener);\n document.addEventListener(\"touchstart\", listener);\n\n return () => {\n document.removeEventListener(\"mousedown\", listener);\n document.removeEventListener(\"touchstart\", listener);\n };\n }, [ref, handler]);\n\n return ref;\n};\n","import React, { useContext, useState } from \"react\";\nimport { Card, CardBody, Row, CardTitle, Col } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { OrderMetadataDto } from \"services/apis/types/order/OrderMetadata\";\nimport InlineEdit from \"components/framework/forms/InlineEdit\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype Props = {\n orderId: string;\n orderMetadata: OrderMetadataDto;\n orderType: string;\n};\n\n\nexport default function OrderMetadataCard(props: Props) {\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [projectId, setProjectId] = useState(props.orderMetadata.projectId);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin)\n const isUserCompanyAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.CompanyAdmin)\n const patchOrderProjectId = async (newProjectId: string) => {\n let successful = true;\n if (newProjectId !== projectId) {\n setShowLoadingIndicator(true);\n\n await OrderApi.patch(props.orderId, newProjectId)\n .then(() => {\n setProjectId(newProjectId);\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.metadata.projectIdSaved\" })\n );\n })\n .catch((error) => {\n handleError(error);\n successful = false;\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n\n return successful;\n };\n\n return (\n \n \n \n
\n \n \n \n \n \n {showLoadingIndicator && }\n \n
\n \n
\n \n
\n \n
\n

\n {(appContext.localStorageInfo.user?.isAdminProjectIdAccessible && props.orderMetadata.adminProjectId) && (isUserAdmin || isUserCompanyAdmin) && (\n \n \n \n )}\n \n \n }}\n />\n \n \n \n )\n }}\n />\n \n

\n {((!isMixNetworkUrl && (props.orderType === OrderType.PortOut || props.orderType === OrderType.PortIn) && props.orderMetadata.correspondingOrderId) ||\n (isMixNetworkUrl && isUserAdmin && (props.orderType === OrderType.PortOut || props.orderType === OrderType.PortIn) && props.orderMetadata.correspondingOrderId)) && (\n
\n
\n \n
\n
\n {props.orderMetadata.correspondingOrderId}\n
\n
\n )}\n
\n
\n );\n}\n","import { OrderType } from \"services/apis/types/order/OrderType\";\nimport { OrderTypeDetails } from \"components/orders/types/OrderTypeDetails\";\n\nexport const OrderTypeConfigurations: Record = {\n \"port-in\": {\n backgroundColor: \"bg-gradient-pc-blue\",\n iconClass: \"fa fa-arrow-left\",\n messageId: \"orders.orderDetails.portInDescription\"\n },\n \"port-out\": {\n backgroundColor: \"bg-gradient-pc-orange\",\n iconClass: \"fa fa-arrow-right\",\n messageId: \"orders.orderDetails.portOutDescription\"\n },\n disconnect: {\n backgroundColor: \"bg-gradient-red\",\n iconClass: \"far fa-undo-alt\",\n messageId: \"orders.orderDetails.disconnectDescription\"\n },\n modifyactive: {\n backgroundColor: \"bg-gradient-pc-blue\",\n iconClass: \"fas fa-pencil-alt\",\n messageId: \"orders.orderDetails.modifyActiveDescription\"\n },\n \"csr-only\": {\n backgroundColor: \"bg-gradient-pc-blue\",\n iconClass: \"fas fa-pencil-alt\",\n messageId: \"orders.orderDetails.csrOnlyDescription\"\n },\n \"Disaster Recovery\": {\n backgroundColor: \"bg-gradient-pc-blue\",\n iconClass: \"fas fa-arrow-left\",\n messageId: \"orders.orderDetails.disasterRecovery\"\n },\n \"Restore\": {\n backgroundColor: \"bg-gradient-pc-blue\",\n messageId: \"orders.disasterRecovery.actions.restore\",\n iconClass: \"fas fa-arrow-left\"\n },\n \"New Number\": {\n backgroundColor: \"bg-gradient-pc-blue\",\n messageId: \"orders.sinch.portType.description\",\n iconClass: \"fas fa-arrow-left\"\n }\n};\n","import React, { useContext } from \"react\";\nimport { Card, CardBody, Row, CardTitle, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport { OrderTypeConfigurations } from \"components/orders/orderDetails/configuration/OrderTypeConfigurations\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\n\ntype Props = {\n order?: OrderDto\n orderType: OrderType\n gainingSpId: string,\n loosingSpId: string\n}\n\nexport default function OrderPortTypeCard(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n \n \n \n
\n \n \n \n \n {props.orderType}\n \n
\n \n \n \n \n \n
\n

\n \n ,\n loosingSpid: \n }} />\n \n

\n
\n
\n );\n}\n","import { SvRequestStatus } from \"components/orders/types/SvRequestStatus\";\nimport { SvRequestStatusConfiguration } from \"components/orders/types/SvRequestStatusConfiguration\";\n\nexport const SvRequestStatusConfigurations: Record<\n SvRequestStatus,\n SvRequestStatusConfiguration\n> = {\n Pending: {\n backgroundColor: \"bg-gradient-green\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.pendingSvStatusDescription\"\n },\n ActionRequired: {\n iconClass: \"far fa-exclamation-triangle\",\n backgroundColor: \"bg-gradient-danger\",\n messageId: \"orders.orderDetails.attentionRequiredSvStatusDescription\"\n },\n ActivatePending: {\n iconClass: \"far fa-check\",\n backgroundColor: \"bg-gradient-success\",\n messageId: \"orders.orderDetails.activatePendingRequiredSvStatusDescription\"\n },\n Active: {\n iconClass: \"fad fa-check-double\",\n backgroundColor: \"bg-gradient-blue\",\n messageId: \"orders.orderDetails.activatedSvStatusDescription\"\n },\n Authorized: {\n backgroundColor: \"bg-gradient-green\",\n iconClass: \"far fa-check\",\n messageId: \"orders.orderDetails.authorizedSvStatusDescription\"\n },\n CancelPending: {\n iconClass: \"far fa-ban\",\n backgroundColor: \"bg-gradient-gray-dark\",\n messageId: \"orders.orderDetails.cancelPendingSvStatusDescription\"\n },\n Canceled: {\n iconClass: \"far fa-ban\",\n backgroundColor: \"bg-gradient-gray-dark\",\n messageId: \"orders.orderDetails.canceledSvStatusDescription\"\n },\n Conflict: {\n iconClass: \"far fa-handshake\",\n backgroundColor: \"bg-gradient-orange\",\n messageId: \"orders.orderDetails.conflictSvStatusDescription\"\n },\n DisconnectPending: {\n iconClass: \"far fa-ban\",\n backgroundColor: \"bg-gradient-gray-dark\",\n messageId: \"orders.orderDetails.disconnectPendingSvStatusDescription\"\n },\n Failed: {\n iconClass: \"far fa-times-octagon\",\n backgroundColor: \"bg-gradient-red\",\n messageId: \"orders.orderDetails.failedSvStatusDescription\"\n },\n Old: {\n iconClass: \"far fa-exclamation-triangle\",\n backgroundColor: \"bg-gradient-gray-dark\",\n messageId: \"orders.orderDetails.oldSvStatusDescription\"\n },\n PartialFailure: {\n iconClass: \"far fa-times-octagon\",\n backgroundColor: \"bg-gradient-orange\",\n messageId: \"orders.orderDetails.partialFailureSvStatusDescription\"\n },\n Sending: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-file-import\",\n messageId: \"orders.orderDetails.sendingSvStatusDescription\"\n },\n PreOrderPending: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.preOrderPendingSvStatusDescription\"\n },\n ReceivedFoc: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"fab fa-get-pocket\",\n messageId: \"orders.orderDetails.receivedFocSvStatusDescription\"\n },\n Rejected: {\n backgroundColor: \"bg-gradient-danger\",\n iconClass: \"far fa-ban\",\n messageId: \"orders.orderDetails.rejectedSvStatusDescription\"\n },\n Submitted: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"fal fa-file-check\",\n messageId: \"orders.orderDetails.submittedSvStatusDescription\"\n },\n CSRPending: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrPendingSvStatusDescription\"\n },\n CSRRequested: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrRequestedSvStatusDescription\"\n },\n CSRInvalid: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrInvalidSvStatusDescription\"\n },\n CSRModified: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrModifiedSvStatusDescription\"\n },\n CSREscalated: {\n backgroundColor: \"bg-gradient-warning\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrEscalatedSvStatusDescription\"\n },\n CSRApproved: {\n backgroundColor: \"bg-gradient-info\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrApprovedSvStatusDescription\"\n },\n CSRReceived: {\n backgroundColor: \"bg-gradient-success\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.orderDetails.csrReceivedSvStatusDescription\"\n },\n Incomplete: {\n backgroundColor: \"bg-gradient-green\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.sinch.status.incomplete\"\n },\n Complete: {\n backgroundColor: \"bg-gradient-success\",\n iconClass: \"fad fa-check-double\",\n messageId: \"orders.sinch.status.complete\"\n },\n PartialSuccess: {\n backgroundColor: \"bg-gradient-orange\",\n iconClass: \"far fa-check\",\n messageId: \"orders.sinch.status.partialSuccess\"\n },\n InProgress: {\n backgroundColor: \"bg-gradient-blue\",\n iconClass: \"far fa-clock\",\n messageId: \"orders.sinch.status.inProgress\"\n },\n Expired: {\n backgroundColor: \"bg-gradient-gray-dark\",\n iconClass: \"far fa-ban\",\n messageId: \"orders.sinch.status.expired\"\n }\n};\n","import React from \"react\";\nimport { Card, CardBody, Row, CardTitle, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport classNames from \"classnames\";\nimport { SvRequestStatusConfigurations } from \"./configuration/SvRequestStatusConfigurations\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { OrderTypeConfigurations } from \"./configuration/OrderTypeConfigurations\";\nimport { getNumberStatus } from \"services/apis/types/order/NumberStatus\";\n\ntype Props = {\n order: OrderDto;\n};\n\nexport default function OrderStatusCard(props: Props) {\n const activationDate = props.order.autoActivation + (props.order.activationTimeZone ? \" \" + props.order.activationTimeZone : \"\");\n return (\n \n \n \n
\n \n \n \n {getNumberStatus(props.order.status)}\n
\n {SvRequestStatusConfigurations[props.order.status]?.iconClass && (\n \n
\n \n
\n \n )}\n
\n \n
\n {props.order.autoActivation && (\n \n \n \n )}\n
\n
\n {SvRequestStatusConfigurations[props.order.status]?.messageId && (\n

\n \n \n \n

\n )}\n
\n \n );\n}\n","export enum NoteOrigin {\n System = \"System\",\n User = \"User\"\n}\n","import { KeyValuePair } from \"services/types/KeyValuePair\";\n\nexport const NoteVisibility: Record = {\n Private: \"Private\",\n Public: \"Public\"\n};\n\nexport const noteVisibilityDropdownOptions: KeyValuePair[] = Object.keys(\n NoteVisibility\n).map((x) => {\n return { key: NoteVisibility[x], value: NoteVisibility[x] };\n});\n","import { NoteDto } from \"services/apis/types/order/NoteDto\";\nimport React from \"react\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport classNames from \"classnames\";\nimport { NoteOrigin } from \"services/apis/types/order/NoteOrigin\";\nimport { NoteVisibility } from \"services/apis/types/order/NoteVisibility\";\n\ntype Props = {\n noteDto: NoteDto;\n};\n\nexport default function NoteBlock(props: Props) {\n return (\n
\n \n \n \n
\n \n \n \n
{props.noteDto.title}
\n

{props.noteDto.note}

\n - {props.noteDto.createdBy}\n
\n
\n );\n}\n","export type AddNotesModel = {\n note: string;\n isPrivateNote: boolean;\n};\n\nexport const DefaultAddNotesModel = {\n note: \"\",\n isPrivateNote: true\n};\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport { Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { NotificationDto } from \"services/apis/types/webhooks/NotificationDto\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { AddNotesModel, DefaultAddNotesModel } from \"services/apis/types/order/AddNotesModel\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport {\n noteVisibilityDropdownOptions,\n NoteVisibility\n} from \"services/apis/types/order/NoteVisibility\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n orderId: string;\n triggerRefresh: () => void;\n};\n\nexport default function NoteForm(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [noteModel, setNoteModel] = useState(DefaultAddNotesModel);\n const [showSaveLoadingIndicator, setShowSaveLoadingIndicator] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validate(noteModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowSaveLoadingIndicator(true);\n OrderApi.addNote(props.orderId, noteModel)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.notes.createSuccessNotificationMessage\" })\n );\n props.triggerRefresh();\n setNoteModel(DefaultAddNotesModel);\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowSaveLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n
\n \n
\n
handleSubmit(e)}>\n \n setNoteModel({ ...noteModel, note: value })}\n errorHandler={getErrorHandler(nameOf(\"note\"))}\n />\n \n
\n \n setNoteModel({ ...noteModel, isPrivateNote: value === NoteVisibility.Private })\n }\n errorHandler={getErrorHandler(nameOf(\"isPrivateNote\"))}\n options={noteVisibilityDropdownOptions}\n />\n \n {showSaveLoadingIndicator && }\n \n \n \n
\n \n \n );\n}\n\nconst validate = (noteModel: AddNotesModel) => {\n const errors: Errors = {};\n\n if (!noteModel.note) {\n AddError(errors, nameOf(\"name\"), \"orders.orderDetails.notes.required\");\n }\n\n return errors;\n};\n","import React, { useState, useEffect } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Card, CardHeader, CardBody, CardFooter } from \"reactstrap\";\nimport { NoteDto as NotesDto } from \"services/apis/types/order/NoteDto\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport NoteBlock from \"./NoteBlock\";\nimport NoteForm from \"./NoteForm\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\n\ntype Props = {\n order: OrderDto;\n};\n\nexport default function NotesCard(props: Props) {\n const [noteDtos, setNoteDtos] = useState();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const isMounted = useIsMounted();\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n\n OrderApi.getNotes(props.order.orderId)\n .then((result) => {\n if (isMounted) {\n setNoteDtos(\n result.sort(\n (a, b) =>\n getUtcDate(b.createdAt).toDate().getTime() -\n getUtcDate(a.createdAt).toDate().getTime()\n )\n );\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [props.order, isMounted, triggerRefresh]);\n\n return (\n \n \n

\n \n

\n
\n \n {showLoadingIndicator ? (\n \n ) : (\n \n {noteDtos &&\n noteDtos.map((x) => )}\n \n )}\n \n \n setTriggerRefresh((p) => !p)}\n />\n \n
\n );\n}\n","import { getUtcDate } from \"services/util/DateUtil\";\nimport { Moment } from \"moment\";\n\nexport type TasksModel = {\n title: string;\n description: string;\n nextWorkDate: Moment;\n assignedTo: string;\n};\n\nexport const DefaultTasksModel: TasksModel = {\n title: \"\",\n description: \"\",\n nextWorkDate: getUtcDate(),\n assignedTo: \"\"\n};\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\nimport { Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { TasksModel, DefaultTasksModel } from \"components/orders/orderDetails/tasks/TasksModel\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { Moment } from \"moment\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { UserEmailDto } from \"services/apis/types/user/UserEmailDto\";\nimport { UserApi } from \"services/apis/UserApi\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\n\ntype Props = {\n taskId: string;\n triggerRefresh: () => void;\n};\n\nexport default function TaskForm(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [taskModel, setTaskModel] = useState(getDefaultModel(appContext));\n const [showSaveLoadingIndicator, setShowSaveLoadingIndicator] = useState(false);\n const [users, setUsers] = useState();\n const [usersLoaded, setUsersLoaded] = useState(false);\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n useEffect(() => {\n if (!usersLoaded) {\n UserApi.getUsersInOrganization()\n .then((result) => {\n if (isMounted.current) {\n setUsers(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setUsersLoaded(true);\n }\n });\n }\n }, [isMounted, usersLoaded]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validate(taskModel);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowSaveLoadingIndicator(true);\n OrderApi.addTask(props.taskId, {\n ...taskModel,\n nextWorkDate: taskModel.nextWorkDate.toDate()\n })\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.orderDetails.tasks.createSuccessNotificationMessage\" })\n );\n props.triggerRefresh();\n setTaskModel(getDefaultModel(appContext));\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowSaveLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n
\n \n
\n
handleSubmit(e)}>\n \n setTaskModel({ ...taskModel, title: value })}\n errorHandler={getErrorHandler(nameOf(\"title\"))}\n />\n \n \n \n setTaskModel({ ...taskModel, description: value })\n }\n errorHandler={getErrorHandler(nameOf(\"description\"))}\n />\n \n \n \n setTaskModel({ ...taskModel, nextWorkDate: value })\n }\n errorHandler={getErrorHandler(nameOf(\"nextWorkDate\"))}\n />\n \n
\n {usersLoaded && users ? (\n \n setTaskModel({ ...taskModel, assignedTo: value })\n }\n errorHandler={getErrorHandler(nameOf(\"assignedTo\"))}\n options={users.map((x) => {\n return { key: x.email, value: x.email };\n })}\n />\n ) : (\n \n )}\n\n
\n \n {showSaveLoadingIndicator && }\n \n \n
\n
\n \n \n );\n}\n\nconst validate = (taskModel: TasksModel) => {\n const errors: Errors = {};\n\n if (!taskModel.title) {\n AddError(errors, nameOf(\"title\"), \"orders.orderDetails.tasks.title.required\");\n }\n\n if (!taskModel.description) {\n AddError(\n errors,\n nameOf(\"description\"),\n \"orders.orderDetails.tasks.description.required\"\n );\n }\n\n if (!taskModel.nextWorkDate) {\n AddError(\n errors,\n nameOf(\"nextWorkDate\"),\n \"orders.orderDetails.tasks.nextWorkDate.required\"\n );\n }\n\n return errors;\n};\n\nconst getDefaultModel = (appContext: AppContext) => {\n return {\n ...DefaultTasksModel,\n assignedTo: appContext?.localStorageInfo?.user?.email ?? DefaultTasksModel.assignedTo\n };\n};\n","import React from \"react\";\nimport { TaskDto } from \"services/apis/types/order/TaskDto\";\nimport { Modal, Row, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { getUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n taskDto: TaskDto;\n closeModal: () => void;\n};\n\nexport default function TaskModal(props: Props) {\n return (\n \n
\n
\n \n
\n \n
\n
\n \n \n \n \n \n \n \n \n
\n
\n );\n}\n","import React, { useRef, useState, useCallback, useEffect } from \"react\";\nimport classNames from \"classnames\";\nimport { TaskDto } from \"services/apis/types/order/TaskDto\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { FormattedMessage } from \"react-intl\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport TaskModal from \"./TaskModal\";\n\ntype Props = {\n taskDto: TaskDto;\n onCheck: () => void;\n};\n\nexport default function TaskListItem(props: Props) {\n const nextWorkDate = getUtcDate(props.taskDto.nextWorkDate);\n const [descriptionOverflowing, setDescriptionOverflowing] = useState(false);\n const [showModal, setShowModal] = useState(false);\n\n const descriptionRef = useRef(null);\n\n const checkOverflowing = useCallback(() => {\n if (descriptionRef.current) {\n setDescriptionOverflowing(\n descriptionRef.current.clientHeight < descriptionRef.current.scrollHeight\n );\n }\n }, []);\n\n useEffect(() => {\n checkOverflowing();\n window.addEventListener(\"resize\", checkOverflowing);\n\n return () => {\n window.removeEventListener(\"resize\", checkOverflowing);\n };\n }, [checkOverflowing]);\n\n return (\n <>\n
  • \n \n
    \n
    {props.taskDto.title}
    \n
    \n \n {props.taskDto.description}\n \n {descriptionOverflowing && (\n setShowModal(true)}>\n \n \n )}\n \n \n \n \n \n \n
    \n
    \n
    \n (\"completed\")}`}\n handleInputChange={props.onCheck}\n checked={props.taskDto.completed}\n />\n
    \n \n
  • \n {showModal && setShowModal(false)} />}\n \n );\n}\n","import React, { useState, useEffect } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Card, CardHeader, CardBody, CardFooter } from \"reactstrap\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport TaskForm from \"./TaskForm\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { TaskDto } from \"services/apis/types/order/TaskDto\";\nimport TaskListItem from \"./TaskListItem\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\n\ntype Props = {\n orderId: string;\n};\n\nexport default function TasksCard(props: Props) {\n const [taskDtos, setTaskDtos] = useState();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const isMounted = useIsMounted();\n const intl = useIntl();\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n\n OrderApi.getTasks(props.orderId)\n .then((result) => {\n if (isMounted) {\n setTaskDtos(\n result.sort(\n (a, b) =>\n getUtcDate(a.nextWorkDate).toDate().getTime() -\n getUtcDate(b.nextWorkDate).toDate().getTime()\n )\n );\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [props.orderId, isMounted, triggerRefresh]);\n\n const toggleTask = (taskId: string, completed: boolean) => {\n setTaskDtos(\n taskDtos?.map((task) => {\n if (task.taskId === taskId) {\n return { ...task, completed };\n }\n\n return task;\n })\n );\n };\n\n const onCheck = (task: TaskDto) => {\n const completed = !task.completed;\n toggleTask(task.taskId, completed);\n OrderApi.updateTask(props.orderId, task.taskId, completed)\n .then(() => {\n const actionMessageTranslationId = completed\n ? \"orders.orderDetails.tasks.completed.markedAsCompletedMessage\"\n : \"orders.orderDetails.tasks.completed.markedAsUncompletedMessage\";\n showInfoNotification(intl.formatMessage({ id: actionMessageTranslationId }));\n })\n .catch((error) => {\n handleError(error);\n toggleTask(task.taskId, !completed);\n });\n };\n\n return (\n \n \n

    \n \n

    \n
    \n \n {showLoadingIndicator ? (\n \n ) : (\n
      \n {taskDtos &&\n taskDtos.map((x) => (\n onCheck(x)} />\n ))}\n
    \n )}\n
    \n \n setTriggerRefresh((p) => !p)} />\n \n
    \n );\n}\n","import React from \"react\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport CardSectionHeader from \"../../framework/cards/CardSectionHeader\";\nimport { OrderHandler } from \"services/apis/types/port/OrderHandler\";\nimport { Row, Col } from \"reactstrap\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n order: OrderDto;\n};\n\nexport default function HandlingOverview(props: Props) {\n return (\n <>\n \n \n {!isMixNetworkUrl && \n \n }\n {!isMixNetworkUrl && \n \n }\n {!isMixNetworkUrl && \n \n }\n {!isMixNetworkUrl &&\n \n }\n {isMixNetworkUrl && \n \n }\n \n \n \n \n \n );\n}\n","import React, { useEffect, useRef } from \"react\";\n\ntype Props = {\n url: string;\n fileName: string;\n callback: () => void;\n};\n\nexport default function FileDownload(props: Props) {\n const ref = useRef(null);\n const { callback } = { ...props };\n\n useEffect(() => {\n if (ref.current) {\n ref.current?.click();\n callback();\n }\n }, [callback]);\n // eslint-disable-next-line jsx-a11y/anchor-has-content\n return ;\n}\n","import ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport React from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\n\ntype Props = {\n documentName: string;\n showLoadingIndicator: boolean;\n confirmCallback: () => void;\n closeModal: () => void;\n};\n\nexport default function DeleteDocumentConfirmationModal(props: Props) {\n const intl = useIntl();\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React, { useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport classNames from \"classnames\";\nimport FileDownload from \"components/common/FileDownload\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport DeleteDocumentConfirmationModal from \"components/orders/DeleteDocumentConfirmationModal\";\n\ntype Props = {\n orderId?: string;\n document: DocumentModel;\n deleteDocument: (document: DocumentModel) => void;\n disabled?: boolean;\n};\n\nexport default function Document(props: Props) {\n const [documentUrl, setDocumentUrl] = useState();\n const [showDeleteConfirmationModal, setShowDeleteConfirmationModal] = useState(false);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n\n const deleteFile = () => {\n if (props.orderId && props.document.documentId) {\n setShowLoadingIndicator(true);\n OrderApi.deleteDocument(props.orderId, props.document.documentId)\n .then(() => {\n props.deleteDocument(props.document);\n showInfoNotification(\n intl.formatMessage({ id: \"orders.documents.deleteSuccessfulMessage\" })\n );\n setShowDeleteConfirmationModal(false);\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => setShowLoadingIndicator(false));\n } else {\n props.deleteDocument(props.document);\n setShowDeleteConfirmationModal(false);\n }\n };\n\n const downloadDocument = () => {\n if (props.document.documentId && props.orderId) {\n OrderApi.getDocument(props.orderId, props.document.documentId)\n .then((x) => {\n if (x instanceof Blob) {\n setDocumentUrl(URL.createObjectURL(x));\n }\n })\n .catch((error) => {\n handleError(error);\n });\n }\n };\n\n return (\n
    \n \n \n {documentUrl && (\n setDocumentUrl(undefined)}\n />\n )}\n !props.disabled && downloadDocument()}>\n {props.document.fileName}\n \n \n \n !props.disabled && !props.document.deleteDisabled && setShowDeleteConfirmationModal(true)\n }\n />\n {showDeleteConfirmationModal && (\n setShowDeleteConfirmationModal(false)}\n />\n )}\n
    \n );\n}\n","import React from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { handleFieldOrApiErrors } from \"services/util/ApiUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport Document from \"./Document\";\nimport classNames from \"classnames\";\nimport { showErrorNotification } from \"components/framework/notification/NotificationUtil\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n orderId?: string;\n documents: DocumentModel[];\n addDocument: (document: DocumentModel) => void;\n deleteDocument: (document: DocumentModel) => void;\n disabled?: boolean;\n fileInputMarginTop: boolean;\n label?: string;\n};\n\nexport default function Documents(props: Props) {\n const intl = useIntl();\n\n const storeFile = (e: React.ChangeEvent) => {\n const file = e.target.files?.[0];\n if (file && !props.documents.find((x) => x.fileName === file.name)) {\n if (file.size > 3145728 || file.type === \"\") {\n if (file.size > 3145728) {\n showErrorNotification(intl.formatMessage({ id: \"orders.documents.sizeTooBigMessage\" }));\n }\n if (file.type === \"\") {\n showErrorNotification(intl.formatMessage({ id: \"orders.documents.noTypeMessage\" }));\n }\n } else {\n const newDocument: DocumentModel = { fileName: file.name, file: file, type: file.type };\n if (props.orderId) {\n OrderApi.addDocument(props.orderId, file)\n .then(() => {\n newDocument.uploaded = true;\n props.addDocument(newDocument);\n showInfoNotification(\n intl.formatMessage({ id: \"orders.documents.addSuccessfullMessage\" })\n );\n })\n .catch((error) => handleFieldOrApiErrors(error));\n } else {\n props.addDocument(newDocument);\n }\n }\n } else {\n showErrorNotification(intl.formatMessage({ id: \"orders.documents.duplicateUpload\" }));\n }\n e.target.value = \"\";\n };\n\n return (\n <>\n \n
    \n {props.documents.length > 0 &&\n props.documents.map((x) => (\n \n ))}\n
    \n \n \n \n \n \n );\n}\n","import React from \"react\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { Row, Col } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { authorizeAny } from \"services/authorization/AuthorizationService\"\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n csrRequest: boolean;\n setCsrRequest: (value: boolean) => void;\n disabled: boolean;\n}\n\nexport default function CsrRequest(props: Props) {\n const intl = useIntl();\n const allowCsr = authorizeAny([PermissionType.AllowCsr], false) &&\n AppContextAccessor.getAppContext().localStorageInfo.selectedProfile?.allowCsr;\n\n return <>\n\n
    \n \n \n \n \n \n \n
    \n \n}\n","import { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport React, { useContext } from \"react\";\nimport { Card, CardHeader, CardBody, Row, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport AccountDetails from \"../AccountDetails\";\nimport HandlingOverview from \"./HandlingOverview\";\nimport ServiceAddress from \"../ServiceAddress\";\nimport Documents from \"../Documents\";\nimport { OrderDetailsContext } from \"./OrderDetailsContainer\";\nimport CsrRequest from \"../CsrRequest\";\nimport { OrderType } from \"services/apis/types/order/OrderType\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n order: OrderDto;\n};\n\nexport default function OrderDetailsCard(props: Props) {\n const orderDetailsContext = useContext(OrderDetailsContext);\n\n return (\n \n \n

    \n \n

    \n
    \n \n \n \n \n {props.order.orderType === OrderType.PortIn && \n ({})}\n disabled={true}\n />)}\n \n \n \n \n \n \n \n \n
    \n );\n}\n","import React, { useEffect, useState, useCallback, useContext } from \"react\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { Container, Row, Col } from \"reactstrap\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { DefaultOrder, OrderDto } from \"services/apis/types/order/OrderDto\";\nimport PortingNumbersTable from \"./PortingNumbersTable\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport OrderMetadataCard from \"./OrderMetadataCard\";\nimport OrderPortTypeCard from \"./OrderPortTypeCard\";\nimport OrderStatusCard from \"./OrderStatusCard\";\nimport NotesCard from \"./notes/NotesCard\";\nimport TasksCard from \"./tasks/TasksCard\";\nimport OrderDetailsCard from \"./OrderDetailsCard\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { SinchApi } from \"services/apis/SinchApi\";\n\ntype OrderDetailsContext = {\n fetchOrder: () => void;\n order: OrderDto;\n};\n\nexport const OrderDetailsContext = React.createContext({\n fetchOrder: () => {},\n order: DefaultOrder\n});\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype Props = {\n orderId: string;\n isDisasterRecovery?: boolean;\n isSinch?: boolean;\n};\n\nexport default function OrderDetailsContainer(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [order, setOrder] = useState(DefaultOrder);\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin);\n\n const fetchOrder = useCallback(() => {\n if (props.isDisasterRecovery) {\n OrderApi.getDR(props.orderId)\n .then((result) => {\n if (isMounted) {\n setOrder(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n } \n else if (props.isSinch) {\n SinchApi.getSinch(props.orderId)\n .then((result) => {\n if (isMounted) {\n setOrder(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }\n else {\n OrderApi.get(props.orderId)\n .then((result) => {\n if (isMounted) {\n setOrder(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }\n }, [props.orderId, isMounted, props.isDisasterRecovery, props.isSinch]);\n\n useEffect(() => {\n if (props.orderId) {\n fetchOrder();\n }\n }, [props.orderId, fetchOrder]);\n\n const orderDetailsContext: OrderDetailsContext = {\n fetchOrder: fetchOrder,\n order: order\n };\n\n return (\n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n \n \n \n \n {(!isMixNetworkUrl || isUserAdmin) && (\n \n \n \n )}\n \n \n \n \n {order.customerDetails && !props.isDisasterRecovery && !props.isSinch && (\n \n \n \n \n \n )}\n \n \n \n \n {!props.isSinch && <>\n \n \n \n \n \n \n }\n \n \n )}\n \n \n );\n}\n","import { useCallback, useContext } from \"react\";\nimport { useHistory } from \"react-router\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport const useProfileSwitcher = () => {\n const {appContext, setAppContext} = useContext(AppContext);\n const history = useHistory();\n\n const navigate = useCallback((url: string, tenant: string) => {\n \n const needToSwitchProfile = appContext?.localStorageInfo?.selectedProfile?.spId !== tenant;\n\n const spIdProfile = appContext.localStorageInfo.user\n ? appContext.localStorageInfo.user.spIdProfiles.find((x) => x.spId === tenant)\n : undefined;\n \n if (needToSwitchProfile && spIdProfile) {\n setAppContext({\n ...appContext,\n localStorageInfo: { ...appContext.localStorageInfo, selectedProfile: spIdProfile }\n });\n }\n \n history.push(url);\n },[appContext, history, setAppContext]);\n\n return { navigate: navigate};\n}","import React, { useState, useEffect, useCallback, useContext } from \"react\";\nimport { useParams, Link, useLocation } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport OrderDetailsContainer from \"./OrderDetailsContainer\";\nimport { AppContext, GetAppContext } from \"services/appContext/AppContext\";\nimport { useProfileSwitcher } from \"services/customHooks/useProfileSwitcher\";\n\nexport default function OrderDetails() {\n let { id }: any = useParams();\n \n const location = useLocation();\n const isDisasterRecovery = location.pathname.includes(\"DisasterRecovery\");\n const isSinch = location.pathname.includes(\"SinchOrders\");\n const [appContext] = useState(GetAppContext());\n const getTenant = useCallback(()=> isDisasterRecovery ? id?.split(\"-\")[1] : id?.split(\"-\")[0],[id, isDisasterRecovery]);\n const needToSwitchProfile = useCallback(()=>appContext?.localStorageInfo?.selectedProfile?.spId !== id ?? false,[appContext, id]);\n const {navigate: switchProfile} = useProfileSwitcher();\n const { appContext: context } = useContext(AppContext);\n const theme = context.theme;\n\n useEffect(()=> {\n if (needToSwitchProfile()){\n switchProfile(`/${isSinch ? \"SinchOrders\" : `Orders${isDisasterRecovery ? \"/DisasterRecovery\" : \"\"}`}/${id}`,getTenant());\n }\n },[location, id, getTenant, needToSwitchProfile, switchProfile, isDisasterRecovery, isSinch]);\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\n","import React, { useContext, ReactNode } from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n children: ReactNode;\n path?: string | string[];\n exact?: boolean;\n};\n\nexport default function PublicRoute(props: Props) {\n const { appContext } = useContext(AppContext);\n\n return (\n \n appContext.localStorageInfo.authenticationInfo.authenticated && appContext.localStorageInfo.user ? (\n \n ) : (\n <>{props.children}\n )\n }\n />\n );\n}\n","import { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\n\nexport type ExcelTemplateRow = {\n phoneNumber: string;\n projectId: string;\n dueDate: string;\n dueTime: string;\n accountName: string;\n accountNumber: string;\n accountPin: string;\n accountType: string;\n authorizedName: string;\n billingPhoneNumber: string;\n city: string;\n addressLine2?: string;\n directionPrefix: string;\n directionSuffix: string;\n number: string;\n state: string;\n streetName: string;\n streetNameSuffix: string;\n zipCode: string;\n portToOrginal: string;\n lrn: string;\n csrRequest: boolean;\n handler: OrderHandlerType;\n};\n\nexport const DefaultExcelTemplateRow: ExcelTemplateRow = {\n phoneNumber: \"\",\n projectId: \"\",\n dueDate: \"\",\n dueTime: \"\",\n accountName: \"\",\n accountNumber: \"\",\n accountPin: \"\",\n accountType: \"\",\n authorizedName: \"\",\n billingPhoneNumber: \"\",\n city: \"\",\n addressLine2: \"\",\n directionPrefix: \"\",\n directionSuffix: \"\",\n number: \"\",\n state: \"\",\n streetName: \"\",\n streetNameSuffix: \"\",\n zipCode: \"\",\n portToOrginal: \"\",\n lrn: \"\",\n csrRequest: false,\n handler: OrderHandlerType.SelectOne\n};\n","import { ExcelTemplateRow } from \"./ExcelTemplateRow\";\n\nexport const ExcelTemplateRowHeaders: Record = {\n phoneNumber: \"Porting Telephone Numbers\",\n projectId: \"Project ID\",\n dueDate: \"Due Date\",\n dueTime: \"Due Time\",\n accountName: \"Account Name\",\n accountNumber: \"Account Number\",\n accountPin: \"Account PIN/Password\",\n accountType: \"Account Type\",\n authorizedName: \"Authorization Name\",\n billingPhoneNumber: \"Billing Telephone Number\",\n city: \"City\",\n addressLine2: \"Address Line 2\",\n directionPrefix: \"Street Direction\",\n directionSuffix: \"Street Directional Suffix\",\n number: \"Street Address Number\",\n state: \"State\",\n streetName: \"Street Name\",\n streetNameSuffix: \"Street Type\",\n zipCode: \"Zip Code\",\n portToOrginal: \"Port To Original(y/n)\",\n lrn: \"LRN\",\n csrRequest: \"CSR Requested (y/n)\",\n handler: \"Handled By (ATLC/ServiceProvider)\"\n};\n","import React, { useMemo } from \"react\";\nimport { useDropzone, DropzoneRootProps } from \"react-dropzone\";\nimport { FormattedMessage } from \"react-intl\";\nimport { parse } from \"papaparse\";\nimport {\n getFileExtension,\n isPhoneNumber,\n isNumber,\n isRange,\n lowerCaseEquals,\n removeWhitespace\n} from \"services/util/StringUtil\";\nimport { read, utils } from \"xlsx\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport classNames from \"classnames\";\nimport { ExcelTemplateRow, DefaultExcelTemplateRow } from \"../types/ExcelTemplateRow\";\nimport { ExcelTemplateRowHeaders } from \"../types/ExcelTemplateRowHeaders\";\nimport { ExcelTemplateAccount } from \"../types/ExcelTemplateAccount\";\nimport { ExcelTemplateLrnPtoGroup } from \"../types/ExcelTemplateLrnPtoGroup\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { showErrorNotification } from \"components/framework/notification/NotificationUtil\";\n\ntype Props = {\n addNumbersToTextAreaHandler: (result: Array) => void;\n saveExcelTemplateAccounts?: (result: Array) => void;\n};\n\nexport default function DropzoneArea(props: Props) {\n const dropzoneOptions = useMemo(\n () => ({\n onDrop: (acceptedFiles: File[]) => {\n onDrop(acceptedFiles, props.addNumbersToTextAreaHandler, props.saveExcelTemplateAccounts);\n },\n accept: acceptedFileTypes\n }),\n [props.addNumbersToTextAreaHandler, props.saveExcelTemplateAccounts]\n );\n\n const { getRootProps, getInputProps, isDragActive, isDragAccept, isDragReject } = useDropzone(\n dropzoneOptions\n );\n\n return (\n \n \n

    \n \n

    \n \n

    \n \n

    \n \n );\n}\n\nconst onDrop = (\n acceptedFiles: File[],\n numberResultCallback: (result: Array) => void,\n excelTemplateAccountsCallback?: (result: Array) => void\n) => {\n acceptedFiles.forEach((file: File) => {\n const reader = new FileReader();\n reader.onload = (e: ProgressEvent): any => {\n if (reader.result) {\n var binary = \"\";\n var bytes = new Uint8Array(reader.result as ArrayBuffer);\n var length = bytes.byteLength;\n for (var i = 0; i < length; i++) {\n binary += String.fromCharCode(bytes[i]);\n }\n\n const fileExtension = getFileExtension(file.name);\n \n try{\n if (fileExtension === \".csv\" || fileExtension === \".txt\") {\n handleTextContents(file, numberResultCallback);\n } else if (fileExtension === \".xls\" || fileExtension === \".xlsx\") {\n handleExcelContents(binary, numberResultCallback, excelTemplateAccountsCallback);\n }\n }catch(error) {\n showErrorNotification(\"Spreadsheet import has failed.\");\n showErrorNotification(error.message);\n return;\n }\n }\n };\n reader.readAsArrayBuffer(file);\n });\n};\n\nconst acceptedFileTypes = [\n \".csv\",\n \".txt\",\n \".xls\",\n \".xlsx\",\n \"text/plain\",\n \"text/csv\",\n \"application/vnd.ms-excel\",\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\"\n];\n\nconst handleTextContents = (file: File, numberResultCallback: (result: Array) => void) => {\n parse(file, {\n complete: (result) => {\n const elems = result.data as Array>;\n let elemsArray: string[] = [];\n elems.forEach((x) => (elemsArray = [...elemsArray, ...x]));\n numberResultCallback(getUniqueElements(elemsArray));\n }\n });\n};\n\nconst handleExcelContents = (\n contents: string | ArrayBuffer,\n numberResultCallback: (result: Array) => void,\n excelTemplateAccountsCallback?: (result: Array) => void\n) => {\n let workbook = read(contents, {\n type: \"binary\"\n });\n const elems = utils.sheet_to_json(workbook.Sheets[workbook.SheetNames[0]], {\n raw: false\n }) as Array<{\n [key: string]: string;\n }>;\n\n if (elems.length) {\n if (\n Object.keys(elems[0]).some(\n (x) => !isPhoneNumber(x) && !isRange(x) && !(x.length === 10 && isNumber(x))\n ) &&\n excelTemplateAccountsCallback\n ) {\n const excelTemplateRows = parseExcelTemplate(elems);\n numberResultCallback(excelTemplateRows.map((x) => x.phoneNumber));\n const excelTemplateAccounts = getAccountsFromExcelTemplate(excelTemplateRows);\n excelTemplateAccountsCallback(excelTemplateAccounts);\n } else {\n let elemsArray: string[] = [];\n elems.forEach(\n (x) =>\n (elemsArray = [\n ...elemsArray,\n ...Object.keys(x),\n ...Object.values(x).map((x) => x.toString())\n ])\n );\n numberResultCallback(getUniqueElements(elemsArray));\n }\n }\n};\n\nconst parseExcelTemplate = (\n excelContent: Array<{ [key: string]: any }>\n): Array =>\n excelContent.map((excelRow) => {\n const parsedRow: ExcelTemplateRow = { ...DefaultExcelTemplateRow };\n\n let propertyName: keyof ExcelTemplateRow;\n for (propertyName in parsedRow) {\n const configuredExcelHeader = ExcelTemplateRowHeaders[propertyName];\n const matchingExcelRowPropertyName = Object.keys(excelRow).find((excelRowPropertyName) =>\n lowerCaseEquals(\n removeWhitespace(excelRowPropertyName),\n removeWhitespace(configuredExcelHeader)\n )\n );\n if (matchingExcelRowPropertyName) {\n const value = excelRow[matchingExcelRowPropertyName]?.toString().trim() ?? \"\";\n const type = typeof(parsedRow[propertyName]);\n parsedRow[propertyName] = parseValue(propertyName, type, value) as never;\n }\n }\n\n if (parsedRow.csrRequest === true)\n parsedRow.handler = OrderHandlerType.PortingDotCom;\n\n return parsedRow;\n });\n\nconst isFromAccount = (row: ExcelTemplateRow, account: ExcelTemplateAccount): boolean => {\n let propertyName: keyof ExcelTemplateRow;\n\n for (propertyName in row) {\n if (\n propertyName !== \"phoneNumber\" &&\n propertyName !== \"portToOrginal\" &&\n propertyName !== \"lrn\" &&\n account[propertyName] !== row[propertyName]\n ) {\n return false;\n }\n }\n\n return true;\n};\n\nconst addDataToExistingAccount = (row: ExcelTemplateRow, account: ExcelTemplateAccount): void => {\n const existingLrnPtoGroup = account.lrnPtoGroupNumbers.find(\n (lrnPtoGroup) =>\n lrnPtoGroup.lrn === row.lrn && lrnPtoGroup.portToOrginal === row.portToOrginal\n );\n if (existingLrnPtoGroup) {\n existingLrnPtoGroup.phoneNumbers = [...existingLrnPtoGroup.phoneNumbers, row.phoneNumber];\n } else {\n const newGroup: ExcelTemplateLrnPtoGroup = {\n lrn: row.lrn,\n portToOrginal: row.portToOrginal,\n phoneNumbers: [row.phoneNumber],\n orderHandler: row.handler\n };\n account.lrnPtoGroupNumbers = [...account.lrnPtoGroupNumbers, newGroup];\n }\n};\n\nconst createNewAccount = (row: ExcelTemplateRow): ExcelTemplateAccount => {\n const newGroup: ExcelTemplateLrnPtoGroup = {\n lrn: row.lrn,\n portToOrginal: row.portToOrginal,\n phoneNumbers: [row.phoneNumber],\n orderHandler: row.handler\n };\n\n return {\n lrnPtoGroupNumbers: [newGroup],\n projectId: row.projectId,\n dueDate: row.dueDate,\n dueTime: row.dueTime,\n accountName: row.accountName,\n accountNumber: row.accountNumber,\n accountPin: row.accountPin,\n accountType: row.accountType,\n authorizedName: row.authorizedName,\n billingPhoneNumber: row.billingPhoneNumber,\n city: row.city,\n addressLine2: row.addressLine2,\n directionPrefix: row.directionPrefix,\n directionSuffix: row.directionSuffix,\n number: row.number,\n state: row.state,\n streetName: row.streetName,\n streetNameSuffix: row.streetNameSuffix,\n zipCode: row.zipCode,\n csrRequest: row.csrRequest,\n handler: row.handler\n };\n};\n\nconst getAccountsFromExcelTemplate = (\n excelRows: Array\n): Array => {\n let excelAccounts: Array = [];\n\n excelRows.forEach((row) => {\n const existingAccount = excelAccounts.find((account) => isFromAccount(row, account));\n\n if (existingAccount) {\n addDataToExistingAccount(row, existingAccount);\n } else {\n excelAccounts = [...excelAccounts, createNewAccount(row)];\n }\n });\n\n return excelAccounts;\n};\n\nconst getContainerClassName = (props: DropzoneRootProps) => {\n let containerClass = \"pc-drag-drop-container container\";\n\n if (props.isDragAccept) {\n return containerClass + \" pc-accept\";\n }\n if (props.isDragReject) {\n return containerClass + \" pc-reject\";\n }\n if (props.isDragActive) {\n return containerClass + \" pc-active\";\n }\n return containerClass + \" pc-default\";\n};\n\nconst parseValue = (propertyName: string, type: any, value: string) : any =>{\n \n const normalizedValue = value.toLocaleLowerCase();\n var parsedValue : any;\n \n switch(true) {\n \n case type === \"boolean\" :\n parsedValue = normalizedValue === \"y\" || normalizedValue === \"true\";\n break;\n\n case propertyName === \"handler\":\n parsedValue = OrderHandlerMap[value];\n if (!parsedValue)\n throw new Error(`Invalid value found : '${value}', on column : 'Handler'. Valid order handler types are : 'ATLC', 'ServiceProvider'`); \n break;\n\n default:\n parsedValue = value; \n break;\n }\n\n return parsedValue;\n}\n\nenum ExcelOrderHandlerType {\n ServiceProvider,\n ATLC\n}\n\nconst OrderHandlerMap : Record = {\n ServiceProvider : OrderHandlerType.ServiceProvider,\n ATLC : OrderHandlerType.PortingDotCom\n};\n \n","import React from \"react\";\nimport { Label, FormGroup } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport Select2 from \"react-select2-wrapper\";\n\nexport default function Select2Dropdown(props) {\n const intl = useIntl();\n \n return (\n \n \n props.handleInputChange(e.currentTarget.value)}\n data={props.data}\n value={props.value}\n />\n {props.showErrorMessage &&\n
    \n \n
    } \n
    \n );\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { Card, CardBody, Button, CardHeader, Input, Row, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport DropzoneArea from \"../DropzoneArea\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport classNames from \"classnames\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport { SpInfo } from \"services/apis/types/serviceProvider/SpInfo\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport Select2Dropdown from \"./Select2Dropdown\";\nimport { usePastedNumberFormatter } from \"services/customHooks/usePastedNumberFormatter\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n generateCardCallback: (numberInputValue: string, spId: string, providerName: string) => void;\n noOfPhoneNumbers: number;\n validationMessages: ApiError[];\n};\n\nexport default function PortOutValidationSection(props: Props) {\n const [inputValue, setInputValue] = useState(\"\");\n const [loadingIndicator, setLoadingIndicator] = useState(false);\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [selectedSpId, setSelectedSpId] = useState(\"\");\n const [spIds, setSpids] = useState([]);\n const [showSpidRequiredValidationMessage, setShowSpidRequiredValidationMessage] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const onPaste = usePastedNumberFormatter(inputValue, (formattedValue) =>\n setInputValue(formattedValue)\n );\n\n const handleSpIdInputChange = (value: string) => {\n setSelectedSpId(value);\n setShowSpidRequiredValidationMessage(false);\n };\n\n useEffect(() => {\n setLoadingIndicator(true);\n ServiceProviderApi.list()\n .then((result) => {\n if (isMounted.current) {\n result = result.sort((x, y) => (x.spId < y.spId ? -1 : 1));\n setSpids(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setLoadingIndicator(false);\n }\n });\n }, [isMounted]);\n\n const handleDropzoneResult = (result: string[]) => {\n setInputValue((previousState) =>\n getUniqueElements([...previousState.split(\",\").filter((x) => x), ...result]).join(\",\")\n );\n };\n\n const generateCardHandler = () => {\n const spId = spIds.find((x) => x.spId === selectedSpId);\n\n if (spId) {\n props.generateCardCallback(inputValue, spId.spId, spId.name);\n } else {\n setShowSpidRequiredValidationMessage(true);\n }\n };\n\n return (\n \n \n
    \n \n
    \n
    \n \n \n \n setInputValue(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n onPaste={onPaste}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n {loadingIndicator ? (\n \n ) : (\n {\n return { id: x.spId, text: `${x.spId} (${x.name})` };\n })\n ]}\n handleInputChange={handleSpIdInputChange}\n />\n )}\n \n \n \n \n \n \n \n \n \n {props.noOfPhoneNumbers > 0 && (\n \n )}\n \n \n \n \n
    \n );\n}\n","import React from \"react\";\n\ntype Props = {\n phoneNumber: string;\n deletePhoneNumberHandler: (phoneNumber: string) => void;\n};\n\nexport default function PhoneNumberListItem(props: Props) {\n return (\n
    \n {props.phoneNumber}\n props.deletePhoneNumberHandler(props.phoneNumber)}>\n ×\n \n
    \n );\n}\n","import React from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n closeModal: () => void;\n confirmCallback: () => void;\n};\n\nexport default function DeleteLastPhoneNumberModal(props: Props) {\n const intl = useIntl();\n\n const handleDelete = () => {\n props.confirmCallback();\n props.closeModal();\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","export enum OrderCardStatus {\n NotSubmitted = \"NotSubmitted\",\n Created = \"Created\",\n HasErrors = \"HasErrors\",\n DocumentsUploadFailed = \"DocumentsUploadFailed\",\n NewDocumentsAdded = \"NewDocumentsAdded\",\n DocumentRemoved = \"DocumentRemoved\"\n}\n\nexport const OrderCardStatuses: Record = {\n Created: \"Order created successfully and all documents uploaded.\",\n DocumentsUploadFailed: \"Order created but some documents were not uploaded successfully\",\n HasErrors:\n \"Some order data is missing or is incorrect, please check and correct it before submitting\",\n NotSubmitted: \"Not submitted yet\",\n NewDocumentsAdded: 'New documents will be uploaded when you press \"Create all\"',\n DocumentRemoved: \"DocumentRemoved\"\n};\n","import React from \"react\";\nimport { OrderCardStatus, OrderCardStatuses } from \"../types/OrderCardStatus\";\nimport classNames from \"classnames\";\n\ntype Props = {\n status: OrderCardStatus;\n};\n\nexport default function OrderCardStatusIcon(props: Props) {\n return (\n <>\n {props.status !== OrderCardStatus.NotSubmitted &&\n props.status !== OrderCardStatus.DocumentRemoved && (\n \n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport { CardHeader } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport { OrderCardStatus } from \"../types/OrderCardStatus\";\nimport OrderCardStatusIcon from \"./OrderCardStatusIcon\";\n\ntype Props = {\n name: string;\n spId: string;\n logo?: string;\n united?: boolean;\n showStatusIcon?: boolean;\n orderCardStatus?: OrderCardStatus;\n};\n\nexport default function PortCardHeader(props: Props) {\n const [defaultIcon, setDefaultIcon] = useState(false);\n\n return (\n \n
    \n {defaultIcon ? (\n
    \n \n
    \n ) : (\n
    \n \"\" setDefaultIcon(true)} />\n
    \n )}\n
    \n
    \n
    \n
    {props.name}
    \n
    {props.spId}
    \n {props.united && (\n
    \n
    \n \n
    \n
    \n )}\n
    \n
    \n {props.showStatusIcon && props.orderCardStatus && (\n
    \n \n
    \n )}\n
    \n );\n}\n","import React, { useState, useContext, useEffect } from \"react\";\nimport { Card, CardBody, Row, Col, Label, Input } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport ReactDatetime from \"react-datetime\";\nimport { Authorized } from \"components/orders/types/Authorized\";\nimport { PortOutModel } from \"components/orders/types/PortOutModel\";\nimport PhoneNumberListItem from \"../PhoneNumberListItem\";\nimport DeleteLastPhoneNumberModal from \"../DeleteLastPhoneNumberModal\";\nimport { PortOutRejectionReason } from \"components/orders/types/PortOutRejectionReason\";\nimport moment, { Moment } from \"moment\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { HasErrors, Errors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\n\nimport PortCardHeader from \"../PortCardHeader\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { isAfterNextYearToday } from \"services/util/DateUtil\";\nimport classNames from \"classnames\";\nimport { PortOutContext } from \"./PortOut\";\n\ntype Props = {\n portOutModel: PortOutModel;\n setPortOutModel: React.Dispatch>;\n};\n\nexport default function PortOutCard(props: Props) {\n const [showDeleteLastPhoneNumberModal, setShowDeleteLastPhoneNumberModal] = useState(false);\n const { deletePhoneNumberCallback, deleteOrderCardCallback } = useContext(PortOutContext);\n const [errors, setErrors] = useState({});\n\n useEffect(() => {\n let errors = validateOrder(props.portOutModel);\n let hasErrors = HasErrors(errors);\n setErrors(errors);\n if (hasErrors !== props.portOutModel.hasErrors) {\n props.setPortOutModel({ ...props.portOutModel, hasErrors: hasErrors });\n }\n }, [props, props.portOutModel]);\n\n const deletePhoneNumberHandler = (phoneNumber: string) => {\n if (props.portOutModel.phoneNumbers.length === 1) {\n setShowDeleteLastPhoneNumberModal(true);\n } else {\n deletePhoneNumberCallback(phoneNumber);\n }\n };\n\n const setDueDate = (dateTime: Moment) => {\n props.setPortOutModel({ ...props.portOutModel, dueDate: dateTime });\n };\n\n return (\n <>\n {props.portOutModel.phoneNumbers.length > 0 && (\n \n \n \n \n \n \n \n setDueDate(moment.utc(e))}\n closeOnSelect={true}\n dateFormat={AppConfiguration.dateFormat}\n />\n (\"dueDate\")]} />\n \n \n \n \n \n setDueDate(moment.utc(e))}\n closeOnSelect={true}\n timeFormat={AppConfiguration.timeFormat}\n />\n \n \n \n \n \n \n props.setPortOutModel({\n ...props.portOutModel,\n clientReference: e.currentTarget.value\n })\n }\n />\n \n \n \n \n \n \n props.setPortOutModel({\n ...props.portOutModel,\n authorized: e.currentTarget.value\n })\n }\n value={props.portOutModel.authorized}>\n {Object.keys(Authorized).map((x) => (\n \n ))}\n \n \n \n {props.portOutModel.authorized === Authorized.NO && (\n \n \n \n \n props.setPortOutModel({\n ...props.portOutModel,\n rejectionReason: e.currentTarget.value\n })\n }\n value={props.portOutModel.rejectionReason}>\n {Object.keys(PortOutRejectionReason).map((x) => (\n \n ))}\n \n \n \n )}\n \n \n \n \n {props.portOutModel.phoneNumbers.map((x) => (\n deletePhoneNumberHandler(x)}\n />\n ))}\n {showDeleteLastPhoneNumberModal && (\n setShowDeleteLastPhoneNumberModal(false)}\n confirmCallback={deleteOrderCardCallback}\n />\n )}\n \n \n \n \n \n \n )}\n \n );\n}\n\nconst validateOrder = (portOutModel: PortOutModel) => {\n const errors: Errors = {};\n\n if (isAfterNextYearToday(portOutModel.dueDate)) {\n AddError(errors, nameOf(\"dueDate\"), \"orders.portOut.stepTwo.dueDateTooFar\");\n }\n\n return errors;\n};\n","import React, { useContext, useState } from \"react\";\nimport { Card, CardHeader, CardBody, Row, Col, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport PortOutCard from \"./PortOutCard\";\nimport { PortOutModel } from \"components/orders/types/PortOutModel\";\nimport {\n showInfoNotification,\n showErrorNotification\n} from \"components/framework/notification/NotificationUtil\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { NewOutportModel } from \"services/apis/types/port/NewOutportModel\";\nimport { useHistory } from \"react-router-dom\";\nimport { handleError, getErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n portOutModel: PortOutModel;\n setPortOutModel: React.Dispatch>;\n};\n\nexport default function PortOutProposalSection(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const history = useHistory();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const [apiErrors, setApiErrors] = useState([]);\n\n const createOrder = async () => {\n setShowLoadingIndicator(true);\n\n if (props.portOutModel.hasErrors) {\n showErrorNotification(intl.formatMessage({ id: \"orders.portIn.stepTwo.hasErrors\" }));\n setShowLoadingIndicator(false);\n } else {\n const newOutports: NewOutportModel[] = mapPortOutModelToNewOutportDto(props.portOutModel);\n\n PortApi.portOut(newOutports)\n .then(() => {\n history.push(\"/Orders\");\n showInfoNotification(\n intl.formatMessage({\n id: \"orders.portIn.stepTwo.orderCreatedSuccess\"\n })\n );\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n setApiErrors(getErrors(error.fieldErrors).map((error) => {\n return { message: error, type: ApiErrorType.Danger };\n }));\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n \n
    \n \n
    \n
    \n \n {apiErrors && apiErrors.length > 0 && (\n \n \n \n \n \n )}\n \n \n \n \n \n \n \n \n \n
    \n );\n}\n\nconst mapPortOutModelToNewOutportDto = (portOutModel: PortOutModel): NewOutportModel[] => {\n return [\n {\n newSpId: portOutModel.newSpId,\n phoneNumbers: portOutModel.phoneNumbers,\n dueDate: portOutModel.dueDate.toDate(),\n clientReference: portOutModel.clientReference,\n reject: portOutModel.authorized === \"NO\",\n rejectionReason: portOutModel.rejectionReason,\n svType: \"wireline\"\n }\n ];\n};\n","import { Authorized } from \"./Authorized\";\nimport { PortOutRejectionReason } from \"./PortOutRejectionReason\";\nimport { Moment } from \"moment\";\nimport { getUtcDateTomorrow } from \"services/util/DateUtil\";\n\nexport type PortOutModel = {\n phoneNumbers: string[];\n dueDate: Moment;\n authorized: keyof typeof Authorized;\n rejectionReason: keyof typeof PortOutRejectionReason;\n newSpId: string;\n newProviderName: string;\n clientReference: string;\n hasErrors: boolean;\n};\n\nexport const DefaultPortOutModel: PortOutModel = {\n phoneNumbers: [],\n dueDate: getUtcDateTomorrow(),\n authorized: \"YES\",\n rejectionReason: \"\",\n newSpId: \"\",\n newProviderName: \"\",\n clientReference: \"\",\n hasErrors: false\n};\n","import React, { useContext, useState } from \"react\";\nimport { Row, Col, Container } from \"reactstrap\";\nimport { validateNumberInputValue } from \"services/validators/ValidatePhoneNumbers\";\nimport { ValidationResult } from \"services/validators/ValidationResult\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { getPhoneNumberList } from \"services/util/StringUtil\";\nimport PortOutValidationSection from \"./PortOutValidationSection\";\nimport PortOutProposalSection from \"./PortOutProposalSection\";\nimport { PortOutModel, DefaultPortOutModel } from \"components/orders/types/PortOutModel\";\nimport { Link } from \"react-router-dom\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport type PortOutContext = {\n deleteOrderCardCallback: () => void;\n deletePhoneNumberCallback: (phoneNumber: string) => void;\n};\n\nexport const PortOutContext = React.createContext({\n deleteOrderCardCallback: () => {},\n deletePhoneNumberCallback: (phoneNumber: string) => {}\n});\n\nexport default function PortOut() {\n const [validationErrorMessages, setValidationErrorMessages] = useState([]);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [portOutModel, setPortOutModel] = useState(DefaultPortOutModel);\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const generateCardHandler = async (\n numberInputValue: string,\n spId: string,\n providerName: string\n ) => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n const validationResult = validateNumberInputValue(numberInputValue);\n\n if (validationResult === ValidationResult.Valid) {\n setValidationErrorMessages([]);\n setPortOutModel({\n ...portOutModel,\n phoneNumbers: getPhoneNumberList(numberInputValue),\n newSpId: spId,\n newProviderName: providerName\n });\n } else {\n setValidationErrorMessages([\n {\n message: `${intl.formatMessage({ id: \"orders.portOut.stepOne.invalidNumbers\" })}`,\n type: ApiErrorType.Danger\n }\n ]);\n }\n\n setShowLoadingIndicator(false);\n };\n\n const portOutContext: PortOutContext = {\n deleteOrderCardCallback: () => setPortOutModel({ ...portOutModel, phoneNumbers: [] }),\n deletePhoneNumberCallback: (phoneNumber: string) =>\n setPortOutModel({\n ...portOutModel,\n phoneNumbers: portOutModel.phoneNumbers.filter((y) => y !== phoneNumber)\n })\n };\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n {portOutModel.phoneNumbers.length > 0 && (\n \n )}\n \n )}\n \n \n \n \n );\n}\n","import React, { useMemo, useState, useContext, useCallback, useEffect } from \"react\";\nimport { Card, CardBody, Button, CardHeader, Input, Row, Col } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport DropzoneArea from \"../DropzoneArea\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport classNames from \"classnames\";\nimport { usePastedNumberFormatter } from \"services/customHooks/usePastedNumberFormatter\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { NewOrderRequestType, NewOrderRequestTypes, OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { ExcelTemplateAccount } from \"../../types/ExcelTemplateAccount\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { SvRequestStatus } from \"components/orders/types/SvRequestStatus\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n portProposals: PortProposalDto | undefined;\n setValidationErrorMessages: React.Dispatch>;\n validationMessages: ApiError[];\n orderRequestType: OrderRequestType;\n setOrderRequestType: (orderRequestType: OrderRequestType) => void;\n handleSubmit: (numberInputValue: string, orderRequestType: OrderRequestType, isSuppressDuplicateTnValidation: boolean, isDisasterRecovery?: boolean) => void;\n setExcelTemplateAccounts: React.Dispatch>>;\n isShowLoadingIndicator: boolean;\n};\n\nexport default function PortInValidationSection(props: Props) {\n const [inputValue, setInputValue] = useState(\"\");\n const [hugeInputValues, setHugeInputValues] = useState(false);\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [currentStatusValue, setCurrentStatusValue] = useState(true);\n const [ isDisableValidationButton, setIsDisableValidationButton] = useState(false)\n const [isSuppressDuplicateTnValidation, setIsSuppressDuplicateTnValidation] = useState(false);\n const getSelectedProfile = useCallback(()=> appContext.localStorageInfo.selectedProfile,[appContext.localStorageInfo.selectedProfile]);\n const isDisasterRecovery = window.location.href.includes(\"DisasterRecovery\");\n const onPaste = usePastedNumberFormatter(inputValue, (formattedValue) =>\n setInputValue(formattedValue)\n );\n const noOfPhoneNumbers = useMemo((): number =>{\n return props.portProposals?.orders?.reduce((prev,curr)=> prev + curr.numbers.length, 0) ?? 0;\n },[props.portProposals]);\n\n const handleDropzoneResult = (result: string[]) => {\n setInputValue((previousState) =>\n getUniqueElements([...previousState.split(\",\").filter((x) => x), ...result]).join(\",\")\n );\n };\n\n const handleExcelTemplateAccounts = (accounts: Array) => {\n props.setExcelTemplateAccounts((prev) => [...prev, ...accounts]);\n };\n\n useEffect(()=> {\n var defaultOrderRequestType = isDisasterRecovery ? OrderRequestType.DisasterRecovery : getSelectedProfile()?.nonSpIdCompany\n ? OrderRequestType.CSROnly : OrderRequestType.OrderOnly;\n props.setOrderRequestType(defaultOrderRequestType);\n // eslint-disable-next-line\n },[])\n\n const orderTypesList = useCallback(()=> {\n const list = isMixNetworkUrl ? \n [{key: NewOrderRequestTypes.PreOrderAndOrder, value: NewOrderRequestType.PreOrderAndOrder}] :\n Object.keys(NewOrderRequestType).map((x) => {\n return {\n key: NewOrderRequestTypes[x as keyof typeof NewOrderRequestType],\n value: NewOrderRequestType[x as keyof typeof NewOrderRequestType]\n };\n });\n\n let availableOrderTypes: Array<{key:string; value:NewOrderRequestType}> = [...list];\n\n // restricting order types basing on tenant/tenant permissions \n if (getSelectedProfile()?.nonSpIdCompany && availableOrderTypes?.length > 0) { //nonSpidCompany(wholesale tenant)\n availableOrderTypes = [...availableOrderTypes.filter(ot=> ot.value === NewOrderRequestType.CSROnly)];\n }\n else if (!getSelectedProfile()?.allowCsr && availableOrderTypes?.length > 0){ \n availableOrderTypes = [...availableOrderTypes.filter(ot=> ot.value !== NewOrderRequestType.CSROnly)];\n }\n\n return availableOrderTypes;\n },[getSelectedProfile]);\n\n useEffect(() => {\n if (props.validationMessages.length > 0) {\n if(props.portProposals && props.portProposals.notPortable && props.validationMessages.findIndex(msg => msg.message.includes('is already active in order')) > -1) {\n setIsSuppressDuplicateTnValidation(true)\n const currentStatus = props.portProposals.currentStatus;\n if(currentStatus !== SvRequestStatus.Old || SvRequestStatus.Active || SvRequestStatus.Canceled) {\n setCurrentStatusValue(true);\n }\n if(props.portProposals.gainingSpidIsExternal || (props.portProposals.gainingSpidIsExternal && currentStatusValue)) {\n setIsDisableValidationButton(true)\n }\n } else {\n setIsSuppressDuplicateTnValidation(false)\n }\n }\n // eslint-disable-next-line\n }, [props.validationMessages, props.portProposals])\n\n\n useEffect(() => {\n const hugeInput = inputValue.split(',');\n const hugeInputValue = hugeInput.length > 10000;\n setHugeInputValues(hugeInputValue)\n }, [inputValue])\n \n return (\n \n \n
    \n \n
    \n
    \n \n \n \n setInputValue(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n onPaste={onPaste}\n />\n \n \n \n \n \n \n \n \n \n \n \n
    \n \n \n \n
    \n {!isDisasterRecovery &&\n !appContext.localStorageInfo.selectedProfile?.external && (\n \n props.setOrderRequestType((value as unknown) as OrderRequestType)\n }\n options={orderTypesList()}\n />\n )\n }\n \n {noOfPhoneNumbers > 0 && (\n \n )}\n
    \n
    \n
    \n props.setValidationErrorMessages(()=> [...props.validationMessages?.filter(m=> m.message !== error.message)])}\n /> \n
    \n
    \n
    \n );\n}\n\n","import { useCallback } from \"react\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { OrderCardStatus } from \"components/orders/types/OrderCardStatus\";\nimport { PortInAccountModel } from \"../../components/orders/types/PortInAccountModel\";\nimport { useIntl } from \"react-intl\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { OrderCardModel } from \"../../components/orders/types/OrderCardModel\";\nimport { HasFieldErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { AddDocumentSuccessModel } from \"services/apis/types/order/AddDocumentSuccessModel\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { getErrors } from \"services/util/ApiUtil\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\n\nexport const useDocuments = (\n accountIndex: number,\n accountModel: PortInAccountModel,\n setAccountModel: (overviewModel: PortInAccountModel, accountIndex: number) => void,\n setAccountModels: React.Dispatch>\n) => {\n const intl = useIntl();\n const deleteDocument = useCallback(\n (document: DocumentModel) => {\n setAccountModel(\n {\n ...accountModel,\n orderCards: accountModel.orderCards.map((orderCard) => ({\n ...orderCard,\n status:\n orderCard.status !== OrderCardStatus.HasErrors\n ? OrderCardStatus.DocumentRemoved\n : orderCard.status,\n documents: orderCard.documents.filter((x) => x.fileName !== document.fileName)\n }))\n },\n accountIndex\n );\n },\n [accountModel, setAccountModel, accountIndex]\n );\n\n const addDocument = useCallback(\n (document: DocumentModel) => {\n if (document.file) {\n setAccountModel(\n {\n ...accountModel,\n orderCards: accountModel.orderCards.map((orderCard) => ({\n ...orderCard,\n status:\n orderCard.status !== OrderCardStatus.HasErrors\n ? OrderCardStatus.NewDocumentsAdded\n : orderCard.status,\n documents: [...orderCard.documents, { ...document }]\n }))\n },\n accountIndex\n );\n }\n },\n [accountModel, setAccountModel, accountIndex]\n );\n\n const removeDocumentsThatFailedToUpload = useCallback(\n (accountIndex: number) => {\n setAccountModels((previous) => {\n return previous.map((accountModel, index) => {\n if (index === accountIndex && accountModel.orderCards.length) {\n let newOrderCards = accountModel.orderCards;\n const fileNamesToDelete = newOrderCards[0].documents\n .filter((document) =>\n newOrderCards.every(\n (x) =>\n x.documents.find(\n (orderDocument) => orderDocument.fileName === document.fileName\n )?.uploadFailed\n )\n )\n .map((x) => x.fileName);\n const newApiErrors = fileNamesToDelete.length\n ? accountModel.apiErrors?.concat(\n fileNamesToDelete.map((x) => {\n return {\n message: getTranslation(\n intl,\n \"orders.documents.documentFailedForAllOrders\",\n x\n ),\n type: ApiErrorType.Danger\n };\n })\n ) ??\n fileNamesToDelete.map((x) => {\n return {\n message: getTranslation(intl, \"orders.documents.documentFailedForAllOrders\", x),\n type: ApiErrorType.Danger\n };\n })\n : accountModel.apiErrors\n ? accountModel.apiErrors\n : [];\n\n newOrderCards = newOrderCards.map((x) => ({\n ...x,\n documents: x.documents.filter((doc) => !fileNamesToDelete.includes(doc.fileName))\n }));\n\n return {\n ...accountModel,\n orderCards: newOrderCards,\n apiErrors: newApiErrors ? Array.from(\n new Map(\n newApiErrors.map((item) => [\n item[\"message\"],\n item\n ])\n ).values()\n ) : newApiErrors\n };\n }\n return accountModel;\n });\n });\n },\n\n [setAccountModels, intl]\n );\n\n const uploadDocument = useCallback(\n async (order: OrderCardModel, document: DocumentModel, accountIndex: number) => {\n if (order.orderId && document.file) {\n try {\n const { id: documentId } = (await OrderApi.addDocument(\n order.orderId,\n document.file\n )) as AddDocumentSuccessModel;\n\n setAccountModels((previous) => {\n return previous.map((accountModel, index) => {\n if (index === accountIndex) {\n const newOrderCards = accountModel.orderCards;\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === order.loosingSpid &&\n x.lata === order.lata &&\n x.lrn === order.lrn &&\n x.portToOrginal === order.portToOrginal\n );\n if (currentOrder) {\n const currentDocument = currentOrder.documents.find(\n (x) => x.fileName === document.fileName\n );\n if (currentDocument) {\n currentDocument.uploaded = true;\n currentDocument.documentId = documentId;\n }\n }\n\n return {\n ...accountModel,\n orderCards: newOrderCards\n };\n }\n return accountModel;\n });\n });\n } catch (error) {\n const documentErrors = HasFieldErrors(error)\n ? getErrors(error.fieldErrors)\n : [error.message];\n\n setAccountModels((previous) => {\n return previous.map((accountModel, index) => {\n if (index === accountIndex) {\n const newApiErrors =\n accountModel.apiErrors?.concat(\n documentErrors.map((err) => {\n return {\n message: intl.formatMessage(\n { id: \"orders.documents.uploadFailedMessage\" },\n { item: document.file?.name, message: err }\n ),\n type: ApiErrorType.Danger\n };\n })\n ) ?? accountModel.apiErrors;\n const newOrderCards = accountModel.orderCards;\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === order.loosingSpid &&\n x.lata === order.lata &&\n x.lrn === order.lrn &&\n x.portToOrginal === order.portToOrginal\n );\n if (currentOrder) {\n currentOrder.status = OrderCardStatus.DocumentsUploadFailed;\n const currentDocument = currentOrder.documents.find(\n (x) => x.fileName === document.fileName\n );\n if (currentDocument) {\n currentDocument.uploadFailed = true;\n }\n }\n\n return {\n ...accountModel,\n orderCards: newOrderCards,\n apiErrors: newApiErrors\n };\n }\n return accountModel;\n });\n });\n }\n }\n },\n [setAccountModels, intl]\n );\n\n const uploadOrderDocuments = useCallback(\n (order: OrderCardModel, accountIndex: number) =>\n Promise.all(\n order.documents\n .filter((x) => !x.uploaded)\n .map((document) => uploadDocument(order, document, accountIndex))\n ),\n\n [uploadDocument]\n );\n\n return { deleteDocument, addDocument, removeDocumentsThatFailedToUpload, uploadOrderDocuments };\n};\n","import React from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n deleteOrder: () => void;\n closeModal: () => void;\n isDelete: () => void;\n};\n\nexport default function DeleteOrderCardModal(props: Props) {\n const intl = useIntl();\n\n const handleDelete = () => {\n props.deleteOrder();\n props.isDelete();\n props.closeModal();\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React, { useContext, useState } from \"react\";\nimport DropdownInput from \"components/framework/forms/DropdownInput\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\nimport { Button, Label } from \"reactstrap\";\nimport NetworkProfileModal from \"components/networkExplorer/networkProfile/NetworkProfileModal\";\nimport { FormattedMessage } from \"react-intl\";\nimport { OrderCardModel } from \"components/orders/types/OrderCardModel\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n orderCard: OrderCardModel;\n setSelectedProfile: (newProfileId: string) => void;\n handleSelectedProfileEdit: (editedProfile: NetworkProfileDto) => void;\n disabled: boolean;\n};\n\nexport default function PortInCardLrnInput(props: Props) {\n const [showNetworkProfileModal, setShowNetworkProfileModal] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const dropdownOptions = props.orderCard.numbers[0].availableProfiles.map((x) => ({\n key: x.description ? `${x.description} - ${x.lrn}` : x.lrn,\n value: x.profileId\n }));\n\n return (\n <>\n \n
    \n props.setSelectedProfile(e.target.value)}\n value={props.orderCard.numbers[0].selectedProfile?.profileId}\n options={dropdownOptions}\n disabled={props.disabled || props.orderCard.portToOrginal}\n />\n
    \n {\n e.preventDefault();\n setShowNetworkProfileModal(true);\n }}>\n \n \n {showNetworkProfileModal && (\n setShowNetworkProfileModal(false)}\n submitCallback={(networkProfile) => {\n props.handleSelectedProfileEdit(networkProfile);\n setShowNetworkProfileModal(false);\n }}\n />\n )}\n
    \n
    \n \n );\n}\n","import React, { useCallback, useContext, useEffect, useMemo, useState } from \"react\";\nimport { Card, CardBody, Button, Row, Col } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { OrderCardModel } from \"components/orders/types/OrderCardModel\";\nimport DeleteOrderCardModal from \"./DeleteOrderCardModal\";\nimport PortCardHeader from \"../PortCardHeader\";\nimport TextAreaFormInput from \"components/framework/forms/TextAreaFormInput\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { OrderHandlerType, OrderHandlerTypesList } from \"services/apis/types/port/OrderHandlerType\";\nimport PortInCardLrnInput from \"./PortInCardLrnInput\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { deepCloneWithCircular } from \"services/util/ArrayUtil\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype Props = {\n isDelete: () => void;\n orderRequestType: OrderRequestType;\n spidLogo?: string;\n showOrderHandler: boolean;\n csrRequested: boolean;\n orderCard: OrderCardModel;\n activeAccountOrderCards: OrderCardModel[];\n setOrderCards: (orderCards: OrderCardModel[]) => void;\n showStatusIcon: boolean;\n disabled: boolean;\n};\n\nexport default function PortInCard(props: Props) {\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [orderHandlerOptions] = useState(OrderHandlerTypesList);\n const { activeAccountOrderCards, orderCard, setOrderCards } = props;\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [selectedProfile] = useState(()=> appContext.localStorageInfo.selectedProfile); \n const [isVpop] = useState(()=> selectedProfile?.external);\n const [isOrderOnly] = useState(()=> props.orderRequestType === OrderRequestType.OrderOnly);\n const [originalCardState, setOriginalCardState] = useState();\n const [cardLoaded, setCardLoaded] = useState(false);\n const getCurrentOrderCard = useCallback(()=> {\n const newOrderCards = activeAccountOrderCards;\n\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === orderCard.loosingSpid &&\n x.lata === orderCard.lata &&\n x.lrn === orderCard.lrn &&\n x.portToOrginal === orderCard.portToOrginal\n );\n\n return currentOrder;\n },[activeAccountOrderCards, orderCard]);\n\n const setOrderHandler = useCallback((value: string) => {\n const newOrderCards = activeAccountOrderCards;\n const currentOrder = getCurrentOrderCard();\n if (currentOrder) {\n currentOrder.orderHandler = value as OrderHandlerType;\n }\n\n setOrderCards(newOrderCards);\n }, [activeAccountOrderCards, setOrderCards, getCurrentOrderCard]);\n\n const intl = useIntl();\n\n const setportToOrginal = (value: boolean) => {\n const newOrderCards = props.activeAccountOrderCards;\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === props.orderCard.loosingSpid &&\n x.lata === props.orderCard.lata &&\n x.lrn === props.orderCard.lrn &&\n x.portToOrginal === props.orderCard.portToOrginal\n );\n if (currentOrder) {\n currentOrder.portToOrginal = value;\n }\n\n props.setOrderCards(newOrderCards);\n };\n\n const setSelectedNetworkProfile = (profileId: string) => {\n const newOrderCards = props.activeAccountOrderCards;\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === props.orderCard.loosingSpid &&\n x.lata === props.orderCard.lata &&\n x.lrn === props.orderCard.lrn &&\n x.portToOrginal === props.orderCard.portToOrginal\n );\n if (currentOrder) {\n currentOrder.numbers.forEach((number) => {\n const newProfile = number.availableProfiles.find((x) => x.profileId === profileId);\n if (newProfile) number.selectedProfile = newProfile;\n });\n }\n\n props.setOrderCards(newOrderCards);\n };\n\n const handleSelectedNetworkProfileEdit = (editedProfile: NetworkProfileDto) => {\n const newOrderCards = props.activeAccountOrderCards;\n const currentOrder = newOrderCards.find(\n (x) =>\n x.loosingSpid === props.orderCard.loosingSpid &&\n x.lata === props.orderCard.lata &&\n x.lrn === props.orderCard.lrn &&\n x.portToOrginal === props.orderCard.portToOrginal\n );\n if (currentOrder) {\n currentOrder.numbers.forEach((number) => {\n number.selectedProfile = editedProfile;\n const index = number.availableProfiles.findIndex(\n (x) => x.profileId === editedProfile.profileId\n );\n if (index > -1) {\n number.availableProfiles[index] = editedProfile;\n }\n });\n }\n\n props.setOrderCards(newOrderCards);\n };\n\n const deleteOrder = () => {\n props.setOrderCards(\n props.activeAccountOrderCards.filter(\n (x) =>\n x.loosingSpid !== props.orderCard.loosingSpid ||\n (x.lata !== props.orderCard.lata &&\n x.lrn === props.orderCard.lrn &&\n x.portToOrginal === props.orderCard.portToOrginal\n )\n )\n );\n };\n\n const {csrRequested} = props;\n const canBeCsrRequested = useCallback(()=> \n [OrderRequestType.CSROnly, OrderRequestType.PreOrderAndOrder].some(o=> o === props.orderRequestType && selectedProfile?.allowCsr), \n [props.orderRequestType, selectedProfile]\n );\n \n const isCsrRequested = useMemo(()=> csrRequested === true && canBeCsrRequested(), [csrRequested, canBeCsrRequested]);\n\n const validateAndSelectHandle = useCallback(()=> {\n var currentOrder = getCurrentOrderCard();\n if (currentOrder && currentOrder.orderHandler !== OrderHandlerType.SelectOne) {\n setOrderHandler(currentOrder.orderHandler);\n return;\n }\n\n // exit if vpop or orderonly order - handler will be previously set as ATL by default\n if (isVpop || isOrderOnly) {\n return;\n }\n\n if ((isCsrRequested)) {\n setOrderHandler(OrderHandlerType.PortingDotCom);\n return;\n }\n \n setOrderHandler('');\n // eslint-disable-next-line\n },[isCsrRequested]);\n\n const CircularJSON = require('circular-json');\n\n //populating initial values\n useEffect(() => {\n const currentCard = getCurrentOrderCard();\n const clonedCard = deepCloneWithCircular(currentCard);\n const serializedValue = CircularJSON.stringify(clonedCard);\n setOriginalCardState(serializedValue);\n validateAndSelectHandle();\n // eslint-disable-next-line\n },[]);\n\n // checking if state has loaded - if loaded then marking card as 'loaded'\n useEffect(() => {\n const currentCard = getCurrentOrderCard();\n const stateHasNotChanged = CircularJSON.stringify(getCurrentOrderCard()) === originalCardState;\n if ((originalCardState?.length ?? 0) < 10 || stateHasNotChanged) {\n if (stateHasNotChanged) {\n setCardLoaded(true);\n }\n \n return;\n }// eslint-disable-next-line\n },[originalCardState, cardLoaded])\n\n\n // once the card has loaded - setting the handler if csr requested has been enabled/disabled\n useEffect(() => {\n if (cardLoaded) {\n setOrderHandler(csrRequested === false ? '' : OrderHandlerType.PortingDotCom);\n }\n },\n // eslint-disable-next-line\n [csrRequested]);\n\n\n return (\n \n {!isMixNetworkUrl && }\n \n \n \n {!isMixNetworkUrl && <>\n {props.orderCard.showNetworkDetails && (\n \n )}\n {props.showOrderHandler && (\n \n )}\n }\n x.number).join(\", \")}\n disabled\n labelTranslationId= {!isMixNetworkUrl ? \"orders.portIn.stepTwo.portingNumbers\" : \"\"}\n rows={5}\n fixedSize\n />\n {!isMixNetworkUrl && }\n {showDeleteModal && (\n setShowDeleteModal(false)}\n deleteOrder={deleteOrder}\n isDelete={props.isDelete}\n />\n )}\n setShowDeleteModal(true)}\n size=\"sm\"\n disabled={!!props.orderCard.orderId || props.disabled}>\n \n \n \n \n \n \n );\n}"," export enum FullOrPartialPort {\n SelectOne = \"Select One\",\n Full = \"Full\",\n Partial = \"Partial\",\n \n \n}\n \n ","import React, { useContext, useEffect, useMemo, useState } from \"react\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { Row, Col, Button, Container } from \"reactstrap\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport AccountDetails from \"../../AccountDetails\";\nimport NpacMaintenanceAlert from \"../../NpacMaintenanceAlert\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { Errors, AddError, HasErrors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { getUtcDate, isAfterNextYearToday, isSunday } from \"services/util/DateUtil\";\nimport { PortInAccountModel } from \"components/orders/types/PortInAccountModel\";\nimport ServiceAddress from \"components/orders/ServiceAddress\";\nimport Documents from \"components/orders/Documents\";\nimport CsrRequest from \"components/orders/CsrRequest\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { CustomerDetailsDto } from \"services/apis/types/port/CustomerDetailsDto\";\nimport { ServiceAddressDto } from \"services/apis/types/port/ServiceAddressDto\";\nimport { isNumber, isValidZipCode } from \"services/util/StringUtil\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport AutoActivationModal from \"./AutoActivationModal\";\nimport moment, { Moment } from \"moment\";\nimport { AppContext } from 'services/appContext/AppContext';\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport DropdownFormInput from \"components/framework/forms/DropdownFormInput\";\nimport { FullOrPartialPort } from \"./FullOrPartialPort\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n orderRequestType: OrderRequestType;\n documents: Array;\n showCustomerDetails: boolean;\n showLoadingIndicator: boolean;\n overviewModel: PortInAccountModel;\n setPortInOverviewModel: (overviewModel: PortInAccountModel) => void;\n addDocument: (document: DocumentModel) => void;\n showApplyAll: boolean;\n applyAll: (portInAccount: PortInAccountModel) => void;\n deleteDocument: (document: DocumentModel) => void;\n disabled: boolean;\n portProposals: PortProposalDto | undefined;\n};\n\nexport default function PortInOverview(props: Props) {\n \n const { setErrors, getErrorHandler } = useErrors();\n\n const { overviewModel, setPortInOverviewModel }: Props = props;\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [convertedFromPreviousOrder] = useState(()=> props.overviewModel.previousOrder !== undefined);\n const intl = useIntl();\n const [showModal, setShowModal] = useState(false);\n const [hasValue, setHasValue] = useState(false);\n const [isAutoActivationSelected, setIsAutoActivationSelected] = useState(false);\n const [selectedActivationTime, setSelectedActivationTime] = useState(\"\");\n const [selectedActivationTimeZone, setSelectedActivationTimeZone] = useState(\"\");\n const accountDetailsRequiredFields = useMemo(()=> {\n if (props.overviewModel.csrRequested) {\n return [\"authorizedName\", \"billingPhoneNumber\"];\n }\n \n return undefined; // will use default required fields\n },[props.overviewModel.csrRequested]);\n\n const canDisplayCustomerDetailsField = (fieldName: string) => {\n const found = (collection: any[], value: string)=> collection.some(v=> v && v.toLocaleLowerCase() === value?.toLocaleLowerCase());\n \n const defaultFieldsHasBeenOverriden = overrideCustomerDetailsFieldsOrUndefined && overrideCustomerDetailsFieldsOrUndefined.length > 0;\n \n return defaultFieldsHasBeenOverriden \n ? found(overrideCustomerDetailsFieldsOrUndefined as string[], fieldName)\n : found(DefaultCustomerDetailsFields, fieldName);\n };\n\n const handleSubmit = (selectedTime: string, selectedTimeZone: string) => {\n setSelectedActivationTime(selectedTime);\n setSelectedActivationTimeZone(selectedTimeZone);\n const formattedTime = moment(selectedTime, \"hh:mm A\").format(\"HH:mm:ss\");\n\n let selectedDueDate: moment.Moment | string = props.overviewModel.dueDate\n ? moment.utc(props.overviewModel.dueDate)\n : \"\";\n if (moment.isMoment(selectedDueDate) && selectedDueDate.isValid()) {\n const formattedDate = (selectedDueDate as moment.Moment).format('YYYY-MM-DD');\n setSelectedActivationTime(formattedDate + \" \" + selectedTime);\n const combinedDateTime = `${formattedDate}T${formattedTime}`;\n props.setPortInOverviewModel({ ...props.overviewModel, autoActivationDate: combinedDateTime, timeZone: selectedTimeZone});\n }\n };\n\n const handleDueDateChange = (value) => {\n if(props.overviewModel.dueDate) {\n const formattedTime = moment(selectedActivationTime, \"hh:mm A\").format(\"HH:mm:ss\");\n let selectedDueDate: moment.Moment | string = value ? moment.utc(value) : \"\";\n const formattedDate = (selectedDueDate as moment.Moment).format('YYYY-MM-DD');\n props.setPortInOverviewModel({\n ...props.overviewModel,\n autoActivationDate: formattedTime ? `${formattedDate}T${formattedTime}` : \"\",\n dueDate: value\n });\n }\n };\n\n\n useEffect(() => {\n let errors = validatePortInOverview(overviewModel, canDisplayCustomerDetailsField(\"serviceAddress\"));\n const hasErrors = HasErrors(errors);\n setErrors(errors);\n if (hasErrors !== overviewModel.hasErrors) {\n setPortInOverviewModel({ ...overviewModel, hasErrors });\n }\n // eslint-disable-next-line\n }, [overviewModel, setPortInOverviewModel, setErrors]);\n\n const overrideCustomerDetailsFieldsOrUndefined = useMemo(()=>{\n if (props.orderRequestType === OrderRequestType.CSROnly){\n return [...DefaultCustomerDetailsFields].filter((field) => ![\"csrRequest\"].some(e=> e === field));\n }\n\n if (convertedFromPreviousOrder && props.orderRequestType === OrderRequestType.PreOrderAndOrder) {\n return [...DefaultCustomerDetailsFields].filter((field) => ![\"csrRequest\"].some(e=> e === field));\n }\n\n return undefined;\n },[props.orderRequestType, convertedFromPreviousOrder]);\n\n\n return (\n <>\n {isSunday(props.overviewModel.dueDate) && (\n \n )}\n \n \n \n \n \n {\n props.setPortInOverviewModel({ ...props.overviewModel, dueDate: value });\n if(props.overviewModel.autoActivationDate) {\n handleDueDateChange(value)\n }\n }\n }\n errorHandler={getErrorHandler(nameOf(\"dueDate\"))}\n />\n \n {!isMixNetworkUrl && (\n \n \n props.setPortInOverviewModel({ ...props.overviewModel, dueDate: value })\n }\n errorHandler={getErrorHandler(nameOf(\"dueDate\"))}\n isTimeInput\n />\n \n )}\n \n \n props.setPortInOverviewModel({ ...props.overviewModel, projectId: value })\n }\n errorHandler={getErrorHandler(nameOf(\"projectId\"))}\n />\n \n {(props.orderRequestType === OrderRequestType.CSROnly || props.orderRequestType === OrderRequestType.PreOrderAndOrder) && (\n \n \n props.setPortInOverviewModel({\n ...props.overviewModel,\n fullOrPartialPort: value\n })\n } \n errorHandler={getErrorHandler(nameOf(\"fullOrPartialPort\"))}\n options={[\n { key: \"Select\", value: \"\"},\n { key: \"Full\", value: FullOrPartialPort.Full },\n { key: \"Partial\", value: FullOrPartialPort.Partial }\n ]}\n /> \n \n )}\n {!(appContext.localStorageInfo.selectedProfile?.external || props.orderRequestType === OrderRequestType.CSROnly) && (\n \n
    \n {\n if(selectedActivationTime) {\n setIsAutoActivationSelected(isAutoActivationSelected);\n setShowModal(showModal);\n setSelectedActivationTime(\"\")\n props.setPortInOverviewModel({ ...props.overviewModel, autoActivationDate: \"\", timeZone: \"\"});\n } else {\n setIsAutoActivationSelected(!isAutoActivationSelected);\n setShowModal(!showModal);\n }\n }}\n />\n
    \n \n )}\n
    \n\n \n {isAutoActivationSelected && showModal && (\n {\n setShowModal(false)\n setIsAutoActivationSelected(false);\n }}\n onSubmit={handleSubmit}\n />\n )}\n \n\n {(props.showApplyAll && (\n \n \n {\n props.applyAll(props.overviewModel)\n }}\n disabled={ props.showLoadingIndicator }>\n {props.showLoadingIndicator && (\n \n )}\n \n \n \n \n ))}\n \n {(props.showCustomerDetails || isMixNetworkUrl) && (\n <>\n {canDisplayCustomerDetailsField(\"documents\") && (\n \n \n \n )}\n \n {canDisplayCustomerDetailsField(\"csrRequest\") && (\n \n props.setPortInOverviewModel({ ...props.overviewModel, csrRequested : value })\n }\n disabled={props.disabled}\n />\n )}\n\n {canDisplayCustomerDetailsField(\"accountDetails\") && (\n \n props.setPortInOverviewModel({ ...props.overviewModel, customerDetails: value })\n }\n getErrorHandler={getErrorHandler}\n disabled={props.disabled}\n />\n )}\n \n {canDisplayCustomerDetailsField(\"serviceAddress\") && (\n \n props.setPortInOverviewModel({\n ...props.overviewModel,\n customerDetails: {\n ...props.overviewModel.customerDetails,\n serviceAddress: value\n }\n })\n }\n getErrorHandler={getErrorHandler}\n disabled={props.disabled}\n />\n )}\n\n \n )}\n \n
    \n \n );\n}\n\nconst validatePortInOverview = (overview: PortInAccountModel, isServiceAddressApplicable: boolean) => {\n const errors: Errors = {};\n if (overview.dueDate && isAfterNextYearToday(overview.dueDate)) {\n AddError(\n errors,\n nameOf(\"dueDate\"),\n \"orders.portIn.stepTwo.dueDate.dateTooFarError\"\n );\n }\n\n if (isServiceAddressApplicable && overview.customerDetails.serviceAddress.zipCode && !isValidZipCode(overview.customerDetails.serviceAddress.zipCode)) {\n AddError(\n errors,\n nameOf(\n \"customerDetails\",\n \"serviceAddress\",\n \"zipCode\"\n ),\n \"orders.portIn.stepTwo.dueDate.zipCodeError\"\n )\n }\n\n if (overview.customerDetails.billingPhoneNumber && (!isNumber(overview.customerDetails.billingPhoneNumber) || overview.customerDetails.billingPhoneNumber.length < 10 || overview.customerDetails.billingPhoneNumber.length > 15)) {\n AddError(\n errors,\n nameOf(\n \"customerDetails\",\n \"billingPhoneNumber\",\n ),\n \"orders.portIn.stepTwo.billingPhoneNumber\"\n )\n }\n\n return errors;\n};\n\nexport const DefaultCustomerDetailsFields : string[] = [\"documents\", \"csrRequest\", \"accountDetails\", \"serviceAddress\"];\n","import React, { useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { TabPane, CardBody, Row, Col, Button } from \"reactstrap\";\nimport { PortInAccountModel } from \"../../types/PortInAccountModel\";\nimport PortInCard from \"./PortInCard\";\nimport PortInOverview from \"./PortInOverview\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport CardSectionHeader from \"components/framework/cards/CardSectionHeader\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { OrderCardModel } from \"../../types/OrderCardModel\";\nimport { SpidLogo } from \"services/apis/types/port/SpidLogo\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n isDelete: () => void;\n orderRequestType: OrderRequestType;\n spidLogos: SpidLogo[];\n tabId: string;\n showCustomerDetails: boolean;\n showLoadingIndicator: boolean;\n createAllSelected: boolean | undefined;\n showStatusInOrderCards: boolean;\n showOrderHandler: boolean;\n overviewModel: PortInAccountModel;\n addDocument: (document: DocumentModel) => void;\n deleteDocument: (document: DocumentModel) => void;\n setOverviewModel: (overviewModel: PortInAccountModel) => void;\n setOrderCards: (orderCards: OrderCardModel[]) => void;\n showApplyAll: boolean;\n applyAll: (portInAccount: PortInAccountModel) => void;\n createIndividual: () => void;\n createAll: () => void;\n createFromSingleTab: () => void;\n disabled: boolean;\n portProposals: PortProposalDto | undefined;\n};\n\nexport default function PortInAccountTab(props: Props) {\n const { overviewModel: {csrRequested} } = props;\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n <>\n \n \n {props.overviewModel.apiErrors && props.overviewModel.apiErrors.length > 0 && (\n \n \n props.setOverviewModel({\n ...props.overviewModel,\n apiErrors: [...props.overviewModel.apiErrors?.filter(e=> e.message !== error.message) as ApiError[]] \n })} />\n \n \n )}\n 0\n ? props.overviewModel.orderCards[0].documents\n : []\n }\n addDocument={props.addDocument}\n deleteDocument={props.deleteDocument}\n showCustomerDetails={props.showCustomerDetails}\n showLoadingIndicator={props.showLoadingIndicator}\n overviewModel={props.overviewModel}\n applyAll={props.applyAll}\n showApplyAll={props.showApplyAll}\n setPortInOverviewModel={props.setOverviewModel}\n disabled={props.disabled}\n portProposals={props.portProposals}\n />\n\n \n\n \n {props.overviewModel.orderCards.map((orderCard) => (\n \n spidLogo.spid === orderCard.loosingSpid)\n ?.logo\n }\n showStatusIcon={props.showStatusInOrderCards}\n showOrderHandler={props.showOrderHandler}\n orderCard={orderCard}\n activeAccountOrderCards={props.overviewModel.orderCards}\n setOrderCards={props.setOrderCards}\n csrRequested={csrRequested}\n disabled={props.disabled}\n />\n \n ))}\n\n \n
    \n \n \n { !props.showApplyAll ? \n x.orderId)\n }>\n {props.showLoadingIndicator && props.createAllSelected === true && (\n \n )}\n \n : null} \n \n \n \n \n { props.showApplyAll ? \n x.orderId)\n }>\n {props.showLoadingIndicator && props.createAllSelected === true && (\n \n )}\n \n : null} \n \n \n \n \n { props.showApplyAll ? \n x.orderId)\n }>\n {props.showLoadingIndicator && props.createAllSelected === false && (\n \n )}\n \n : null}\n \n \n
    \n
    \n
    \n \n );\n}\n\n\n","import React, { useState } from \"react\";\nimport { OrderCardModel } from \"components/orders/types/OrderCardModel\";\nimport { OrderCardStatus } from \"components/orders/types/OrderCardStatus\";\nimport { useCallback, useContext } from \"react\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { PortInModel, WholeSalePortInModel } from \"services/apis/types/port/PortInModel\";\nimport { PortInSuccessModel } from \"services/apis/types/port/PortInSuccessModel\";\nimport { handleError, getErrors } from \"services/util/ApiUtil\";\nimport { PortInAccountModel } from \"../../components/orders/types/PortInAccountModel\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { distinctFilter } from \"services/util/ArrayUtil\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { CsrOnlyModel } from \"services/apis/types/port/CsrOnlyModel\";\nimport { undefinedIfEmpty } from \"services/util/StringUtil\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\nexport const useCreateOrders = (\n accountModels: PortInAccountModel[],\n setAccountModel: (newAccountModel: PortInAccountModel, index: number) => void,\n setAccountModels: React.Dispatch>,\n orderRequestType: OrderRequestType,\n uploadOrderDocuments: (orderCardModel: OrderCardModel, accountIndex: number) => Promise,\n removeDocumentsThatFailedToUpload: (accountIndex: number) => void,\n portProposals?: PortProposalDto\n) => {\n\n const prePortInModelUpdate = (portInModel: PortInModel): void => {\n // bypass accountName and authorizedName api validation if \"CSR\" has been requested.\n const isNullOrEmpty = (value: string) => value === undefined || value?.trim() === \"\";\n if (portInModel.csrRequested === true && portInModel.customerDetails !== undefined) {\n portInModel.customerDetails.accountName = isNullOrEmpty(portInModel.customerDetails.accountName) ? \"N/A\" : portInModel.customerDetails.accountName;\n portInModel.customerDetails.authorizedName = isNullOrEmpty(portInModel.customerDetails.authorizedName) ? \"N/A\" : portInModel.customerDetails.authorizedName;\n }\n }\n\n const prePortInWholesaleModelUpdate = (portInModel: WholeSalePortInModel): void => {\n // bypass accountName and authorizedName api validation if \"CSR\" has been requested.\n const isNullOrEmpty = (value: string) => value === undefined || value?.trim() === \"\";\n if (portInModel.csrRequested === true && portInModel.customerDetails !== undefined) {\n portInModel.customerDetails.accountName = isNullOrEmpty(portInModel.customerDetails.accountName) ? \"N/A\" : portInModel.customerDetails.accountName;\n portInModel.customerDetails.authorizedName = isNullOrEmpty(portInModel.customerDetails.authorizedName) ? \"N/A\" : portInModel.customerDetails.authorizedName;\n }\n }\n\n const autoActivatioinDate = (overviewModel: PortInAccountModel) => {\n const minDateTime = new Date('0001-01-01T00:00:00Z');\n const formattedMinDateTime = minDateTime.toISOString();\n return overviewModel.autoActivationDate ? overviewModel.autoActivationDate : formattedMinDateTime;\n }\n\n const { appContext } = useContext(AppContext);\n const [selectedProfile] = useState(()=> appContext.localStorageInfo.selectedProfile);\n const [isVpop] = useState(()=> selectedProfile?.external);\n\n const mapOrderCardModelToPortInModel = useCallback(\n (\n orderCard: OrderCardModel,\n overviewModel: PortInAccountModel,\n orderRequestType: OrderRequestType,\n portProposals: PortProposalDto | undefined\n ): PortInModel => {\n var model: PortInModel = {\n orderRequestType,\n customerDetails: overviewModel.customerDetails,\n dueDate: overviewModel.dueDate ? overviewModel.dueDate.toDate() : null,\n autoActivationDate: autoActivatioinDate(overviewModel),\n timeZone: overviewModel.timeZone ? overviewModel.timeZone : \"\",\n loosingProvider: orderCard.loosingSpid,\n orderHandler: orderRequestType === OrderRequestType.OrderOnly ? OrderHandlerType.ServiceProvider : orderCard.orderHandler,\n portToOrginal: orderCard.portToOrginal,\n csrRequested: overviewModel.csrRequested,\n projectId: overviewModel.projectId,\n fullOrPartialPort: overviewModel.fullOrPartialPort,\n numbers: orderCard.numbers.map((orderNumber: any) => ({\n number: orderNumber.number,\n lrn: orderCard.portToOrginal ? \"\" : orderNumber.selectedProfile?.lrn,\n svType: orderNumber.selectedProfile?.svType,\n billingId: orderNumber.selectedProfile?.billingId,\n dpcSsnInfo: orderCard.portToOrginal ? null : orderNumber.selectedProfile?.networkData,\n optionalData: orderNumber.selectedProfile?.optionalData,\n userLocationType: orderNumber.selectedProfile?.endUserLocationType,\n userLocationValue: orderNumber.selectedProfile?.endUserLocation\n })),\n adminProjectId: portProposals?.adminProjectId\n }\n prePortInModelUpdate(model);\n\n return model;\n },\n []\n );\n\n const mapOrderCardModelToWholeSalePortInModel = useCallback(\n (\n orderCard: OrderCardModel,\n overviewModel: PortInAccountModel,\n orderRequestType: OrderRequestType.PreOrderAndOrder,\n portProposals: PortProposalDto | undefined\n ): WholeSalePortInModel => {\n var model: WholeSalePortInModel = {\n orderRequestType,\n customerDetails: overviewModel.customerDetails,\n dueDate: overviewModel.dueDate ? overviewModel.dueDate.toDate() : null,\n autoActivationDate: autoActivatioinDate(overviewModel),\n timeZone: overviewModel.timeZone ? overviewModel.timeZone : \"\",\n loosingProvider: orderCard.loosingSpid,\n csrRequested: overviewModel.csrRequested,\n projectId: overviewModel.projectId ? overviewModel.projectId : portProposals?.projectId,\n numbers: orderCard.numbers.map((orderNumber: any) => ({\n number: orderNumber.number,\n lrn: orderCard.portToOrginal ? \"\" : orderNumber.selectedProfile?.lrn,\n svType: orderNumber.selectedProfile?.svType,\n billingId: orderNumber.selectedProfile?.billingId,\n dpcSsnInfo: orderCard.portToOrginal ? null : orderNumber.selectedProfile?.networkData,\n optionalData: orderNumber.selectedProfile?.optionalData,\n userLocationType: orderNumber.selectedProfile?.endUserLocationType,\n userLocationValue: orderNumber.selectedProfile?.endUserLocation\n })),\n gainingAltSpid: appContext.localStorageInfo.selectedProfile?.altSpid,\n loosingAltSpid: portProposals?.orders[0].altSpid,\n adminProjectId: portProposals?.adminProjectId,\n companyId: appContext.localStorageInfo.selectedProfile?.companyId\n }\n prePortInWholesaleModelUpdate(model);\n return model;\n },\n []\n );\n\n const mapPortInModelToCsrOnlyModel = useCallback((portInModel: PortInModel, adminProjectId: string | undefined) => {\n return {\n orderHandler: portInModel.orderHandler,\n projectId: portInModel.projectId,\n losingSpId: portInModel.loosingProvider,\n dueDate: portInModel.dueDate,\n numbers: portInModel.numbers,\n customerDetails: portInModel.customerDetails,\n fullOrPartialPort: portInModel.fullOrPartialPort,\n adminProjectId: adminProjectId\n } as CsrOnlyModel\n },\n []\n );\n\n const findCardFilter = (newOrderCard, orderCard) =>\n newOrderCard.loosingSpid === orderCard.loosingSpid &&\n newOrderCard.lata === orderCard.lata &&\n newOrderCard.lrn === orderCard.lrn &&\n newOrderCard.portToOrginal === orderCard.portToOrginal &&\n newOrderCard.numbers.map(n => n.number)\n .every(n => orderCard.numbers.map(n2 => n2.number).indexOf(n) > -1);\n\n const createOrder = useCallback(\n async (orderCard: OrderCardModel, accountIndex: number) => {\n const portInModel: PortInModel = mapOrderCardModelToPortInModel(orderCard, accountModels[accountIndex], orderRequestType, portProposals);\n const csrOnlyModel : CsrOnlyModel = mapPortInModelToCsrOnlyModel(portInModel, portProposals?.adminProjectId);\n const wholeSalePortInModel: WholeSalePortInModel = mapOrderCardModelToWholeSalePortInModel(orderCard, accountModels[accountIndex], OrderRequestType.PreOrderAndOrder, portProposals);\n try {\n const { id: orderId } = (orderRequestType === OrderRequestType.CSROnly \n ? await OrderApi.csrOnlyOrder(csrOnlyModel)\n : isMixNetworkUrl ? await PortApi.wholeSalePortIn(wholeSalePortInModel) : await PortApi.portIn(portInModel)) as PortInSuccessModel;\n\n const newOrderCards = [...accountModels[accountIndex].orderCards];\n\n const currentOrderIdx = newOrderCards.findIndex((newCard) => findCardFilter(newCard, orderCard));\n if (currentOrderIdx > -1) {\n newOrderCards[currentOrderIdx].orderId = orderId;\n newOrderCards[currentOrderIdx].status = OrderCardStatus.Created;\n }\n\n setAccountModels((previous) => {\n var updatedAccounts = [...previous];\n updatedAccounts[accountIndex].orderCards = [...newOrderCards];\n return updatedAccounts;\n });\n } catch (error) {\n handleError(error as ApiError);\n\n setAccountModels((previous) => {\n return previous.map((accountModel, index) => {\n if (index === accountIndex) {\n const newOrderCards = accountModel.orderCards.map((orderCard) => ({ ...orderCard }));\n const currentOrder = newOrderCards.find((newCard)=> findCardFilter(newCard, orderCard));\n if (currentOrder) {\n currentOrder.status = OrderCardStatus.HasErrors;\n }\n\n const newApiErrors = accountModel.apiErrors ? accountModel.apiErrors.concat(\n getErrors((error).fieldErrors).map((error) => {\n return { message: error, type: ApiErrorType.Danger };\n })\n ) : getErrors(error.fieldErrors).map((error) => {\n return { message: error, type: ApiErrorType.Danger };\n });\n\n return {\n ...accountModel,\n orderCards: newOrderCards,\n apiErrors: newApiErrors.filter(distinctFilter) as ApiError[]\n };\n }\n return accountModel;\n });\n });\n }\n },\n [accountModels, mapOrderCardModelToPortInModel, mapPortInModelToCsrOnlyModel, orderRequestType, setAccountModels]\n );\n\n const resetAccountErrors = useCallback(\n (accountModel: PortInAccountModel, newOrderCards: OrderCardModel[], accountIndex: number) => {\n setAccountModel(\n { ...accountModel, apiErrors: undefined, orderCards: newOrderCards },\n accountIndex\n );\n },\n [setAccountModel]\n );\n\n const validateAccountModelsAndSetApiErrors = useCallback((accountModel: PortInAccountModel, accountIndex: number) => {\n \n let errors: string[] = [];\n\n // check for 'missing' orderHandler in order cards\n if((!isMixNetworkUrl) && !isVpop) {\n errors = accountModel.orderCards\n .filter(c => c.orderHandler === OrderHandlerType.SelectOne)\n .map(c => `Order Handler has not been provided for account ${accountModel.customerDetails.accountName}`);\n }\n if(orderRequestType === OrderRequestType.CSROnly ||orderRequestType === OrderRequestType.PreOrderAndOrder){\n if (!accountModel.fullOrPartialPort) {\n errors.push(`Full or Partial Port has not been provided for account ${accountModel.customerDetails.accountName}`);\n }\n }\n // check for document upload in Mix\n if (isMixNetworkUrl) {\n const missingDocumentsErrors = accountModel.orderCards\n .filter(c => c.documents.length === 0)\n .map(c => `Document not uploaded for account ${accountModel.customerDetails.accountName}`)\n errors = errors.concat(missingDocumentsErrors);\n }\n // validations for vpop orders\n if ((isVpop || isMixNetworkUrl) && !accountModel.csrRequested) {\n const requiredFields = Object.keys(accountModel.customerDetails)\n .filter(fieldKey=> ['accountName',\"billingPhoneNumber\", \"authorizedName\"].map(f=> f.toLocaleLowerCase())\n ?.includes(fieldKey.toLocaleLowerCase()) && undefinedIfEmpty(accountModel.customerDetails[fieldKey]) === undefined);\n\n if (accountModel.customerDetails && requiredFields.length > 0) {\n\n let missingFieldMessageFn = (field) => `${field[0].toLocaleUpperCase()+field.substr(1)} has not been provided`;\n errors = errors.length > 0\n ? [...errors, ...requiredFields.map(f => missingFieldMessageFn(f))]\n : [...requiredFields.map(f => missingFieldMessageFn(f))]\n }\n }\n // check for missing csrRequested required fields in customer details\n const csrRequestedMissingRequiredFields = \n Object.keys(accountModel.customerDetails)\n .filter(fieldKey=> [\"billingPhoneNumber\", \"authorizedName\"].map(f=> f.toLocaleLowerCase())\n ?.includes(fieldKey.toLocaleLowerCase()) && undefinedIfEmpty(accountModel.customerDetails[fieldKey]) === undefined);\n\n !accountModel.dueDate && csrRequestedMissingRequiredFields.push(\n Object.keys(accountModel)\n .filter(fieldKey=> [\"dueDate\"].map(f=> f.toLocaleLowerCase())\n ?.includes(fieldKey.toLocaleLowerCase()) && accountModel.dueDate === null).toString()); \n\n if (accountModel.csrRequested && \n csrRequestedMissingRequiredFields.length > 0) {\n\n let missingFieldMessageFn = (field) => `${field[0].toLocaleUpperCase()+field.substr(1)} has not been provided`;\n errors = errors.length > 0 \n ? [...errors, ...csrRequestedMissingRequiredFields.map(f => missingFieldMessageFn(f))]\n : [...csrRequestedMissingRequiredFields.map(f => missingFieldMessageFn(f))]\n }\n\n const portInMissingDueDate = \n Object.keys(accountModel)\n .filter(fieldKey=> [\"dueDate\"].map(f=> f.toLocaleLowerCase())\n ?.includes(fieldKey.toLocaleLowerCase()) && accountModel.dueDate === null);\n\n if (!accountModel.csrRequested && portInMissingDueDate.length > 0) {\n let missingFieldMessageFn = (field) => `${field[0].toLocaleUpperCase()+field.substr(1)} has not been provided`;\n errors = errors.length > 0 \n ? [...errors, ...portInMissingDueDate.map(f => missingFieldMessageFn(f))]\n : [...portInMissingDueDate.map(f => missingFieldMessageFn(f))]\n }\n\n if (errors.length > 0) {\n setAccountModel({\n ...accountModel,\n apiErrors: errors.map(errMsg => { return { message: errMsg, type: ApiErrorType.Danger } }) as ApiError[]\n }, accountIndex);\n\n return false;\n }\n\n return true;\n\n }, [setAccountModel])\n\n const createOrdersForAccount = useCallback(\n async (accountModel: PortInAccountModel, accountIndex: number, portProposals?: PortProposalDto | undefined) => {\n\n var isValid = validateAccountModelsAndSetApiErrors(accountModel, accountIndex);\n if (!isValid)\n return;\n\n if (accountModel.orderCards.some((x) => !x.orderId)) {\n const newOrderCards = accountModel.orderCards.map((orderCard) => ({\n ...orderCard,\n status: OrderCardStatus.NotSubmitted,\n documents: orderCard.documents.map((document) => ({ ...document, deleteDisabled: true }))\n }));\n resetAccountErrors(accountModel, newOrderCards, accountIndex);\n\n await Promise.all(\n newOrderCards\n .filter((x) => !x.orderId)\n .map((orderCard) => createOrder(orderCard, accountIndex))\n );\n await Promise.all(\n accountModel.orderCards.map((orderCard) => uploadOrderDocuments(orderCard, accountIndex))\n );\n removeDocumentsThatFailedToUpload(accountIndex);\n }\n },\n [createOrder, removeDocumentsThatFailedToUpload, resetAccountErrors, uploadOrderDocuments, validateAccountModelsAndSetApiErrors]\n );\n\n const createOrdersForAllAccounts = useCallback(async () => {\n await Promise.all(\n accountModels.map((overviewModel, index) => createOrdersForAccount(overviewModel, index))\n );\n }, [accountModels, createOrdersForAccount]);\n\n return { createOrdersForAllAccounts, createOrdersForAccount, validateAccountModelsAndSetApiErrors };\n};\n","import React from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\n\ntype Props = {\n discardPreviousData: () => void;\n closeModal: () => void;\n};\n\nexport default function BackToStepOneModal(props: Props) {\n const intl = useIntl();\n\n const handleReturnToStepOne = () => {\n props.discardPreviousData();\n props.closeModal();\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React from \"react\";\nimport { useState } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport BackToStepOneModal from \"./BackToStepOneModal\";\n\ntype Props = {\n backButtonCallback: () => void;\n};\n\nexport const PortInBackButton = (props: Props) => {\n const [showBackToStepOneModal, setShowBackToStepOneModal] = useState(false);\n return (\n <>\n setShowBackToStepOneModal(true)}>\n \n \n \n \n \n\n {showBackToStepOneModal && (\n setShowBackToStepOneModal(false)}\n />\n )}\n \n );\n};\n","import { PortInAccountModel } from \"components/orders/types/PortInAccountModel\";\nimport React from \"react\";\nimport { UncontrolledAlert } from \"reactstrap\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\n\ntype Props = {\n accountModels: PortInAccountModel[];\n errorMessage: string;\n};\n\nexport const PortInHeaderError = (props: Props) => {\n return (\n <>\n {props.accountModels.some(\n (accountModel) =>\n (accountModel.apiErrors?.length as number) > 0 &&\n accountModel.orderCards.some((orderCard) => !orderCard.orderId)\n ) && (\n \n \n \n \n {props.errorMessage}\n \n )}\n \n );\n};\n","import React, { useState, useMemo, useCallback, useEffect, useContext } from \"react\";\nimport { Card, CardHeader, Nav, NavItem, NavLink, TabContent } from \"reactstrap\";\nimport { useIntl } from \"react-intl\";\nimport { OrderCardModel } from \"components/orders/types/OrderCardModel\";\nimport { PortInAccountModel } from \"components/orders/types/PortInAccountModel\";\nimport { useHistory } from \"react-router-dom\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport classnames from \"classnames\";\nimport { useDocuments } from \"../../../../services/customHooks/useDocuments\";\nimport PortInAccountTab from \"./PortInAccountTab\";\nimport { useActiveAccount } from \"../../../../services/customHooks/useActiveAccount\";\nimport {\n showInfoNotification,\n showErrorNotification\n} from \"components/framework/notification/NotificationUtil\";\nimport classNames from \"classnames\";\nimport { SpidLogo } from \"services/apis/types/port/SpidLogo\";\nimport { useCreateOrders } from \"services/customHooks/useCreateOrders\";\nimport { PortInBackButton } from \"./PortInBackButton\";\nimport { PortInHeaderError } from \"./PortInHeaderError\";\nimport ErrorList from \"components/framework/errorHandling/ErrorList\";\nimport { OrderRequestTypes } from \"../../../../services/apis/types/port/OrderRequestType\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\ntype Props = {\n validationMessages: ApiError[];\n setValidationErrorMessages: React.Dispatch>;\n spidLogos: SpidLogo[];\n accountModels: PortInAccountModel[];\n orderRequestType: OrderRequestType;\n showCustomerDetails?: boolean;\n overrideCustomerDetailsFields?: string[];\n backToStepOne: () => void;\n portProposals: PortProposalDto | undefined;\n};\n\nexport default function PortInProposalSection(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [createAllSelected, setCreateAllSelected] = useState(undefined);\n const [accountModels, setAccountModels] = useState(props.accountModels);\n const intl = useIntl();\n const history = useHistory();\n const [showOrderHandler] = useState(props.orderRequestType === OrderRequestType.PreOrderAndOrder);\n const [orderDeleted, setOrderDeleted] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => setAccountModels(props.accountModels), [props.accountModels]);\n\n useEffect(() => {\n const ordersToBeCreated = accountModels.some((overviewModel) =>\n overviewModel.orderCards.some((orderCard) => !orderCard.orderId)\n );\n\n if (!ordersToBeCreated) {\n history.push(\"/Orders\");\n !orderDeleted && showInfoNotification(intl.formatMessage({ id: \"orders.portIn.stepTwo.orderCreatedSuccess\" }));\n accountModels.forEach((accountModel) =>\n accountModel.apiErrors?.forEach((error) => showErrorNotification(error.message))\n );\n }\n }, [history, intl, accountModels, orderDeleted]);\n\n const listOfAccountsWithErrorsMessage = useMemo(() => {\n var message = \"Error in \";\n accountModels.forEach((accountModel, index) => {\n if (\n (accountModel.apiErrors?.length as number) > 0 &&\n accountModel.orderCards.some((orderCard) => !orderCard.orderId)\n ) {\n message = message.concat(\n accountModel.customerDetails.accountName\n ? accountModel.customerDetails.accountName\n : accountModels.length === 1\n ? OrderRequestTypes[props.orderRequestType]\n : `Account ${index + 1}`,\n \", \"\n );\n }\n });\n return message.slice(0, -2);\n }, [accountModels, props.orderRequestType]);\n\n const {\n activeAccountIndex,\n setActiveAccountIndex,\n setActiveAccountModel,\n activeAccount\n } = useActiveAccount(accountModels, setAccountModels);\n\n const setAccountModel = useCallback(\n (newAccountModel: PortInAccountModel, accountIndex: number) => {\n setAccountModels((previousState) =>\n previousState.map((oldOverviewModel, index) => {\n if (index === accountIndex) {\n return newAccountModel;\n }\n\n return oldOverviewModel;\n })\n );\n },\n []\n );\n\n const {\n deleteDocument,\n addDocument,\n removeDocumentsThatFailedToUpload,\n uploadOrderDocuments\n } = useDocuments(activeAccountIndex, activeAccount, setAccountModel, setAccountModels);\n\n const handleSetOrderCards = useCallback(\n (orderCards: OrderCardModel[]) => {\n setActiveAccountModel({ ...activeAccount, orderCards: orderCards });\n },\n [activeAccount, setActiveAccountModel]\n );\n\n const { createOrdersForAccount, createOrdersForAllAccounts, validateAccountModelsAndSetApiErrors: validateAccountModels } = useCreateOrders(\n accountModels,\n setAccountModel,\n setAccountModels,\n props.orderRequestType,\n uploadOrderDocuments,\n removeDocumentsThatFailedToUpload,\n props.portProposals\n );\n\n const isDelete = () => {\n setOrderDeleted(true)\n }\n\n return (\n <>\n \n \n
    \n \n \n
    \n
    \n props.setValidationErrorMessages(()=> [...props.validationMessages?.filter(m=> m.message !== error.message)])}\n />\n
    \n
    \n
    \n \n {accountModels.map((account) => (\n \n {\n setActiveAccountIndex(accountModels.indexOf(account));\n }}\n role=\"tab\"\n href=\"#\">\n {account.customerDetails.accountName\n ? account.customerDetails.accountName\n : accountModels.length === 1\n ? isMixNetworkUrl ? OrderRequestTypes[\"PreOrderAndOrder\"] : OrderRequestTypes[props.orderRequestType]\n : `Account ${accountModels.indexOf(account) + 1}`}\n {accountModels[accountModels.indexOf(account)].apiErrors &&\n accountModels[accountModels.indexOf(account)].hasErrors && (\n x.orderId),\n \"fa-exclamation-circle text-danger\": accountModels[\n accountModels.indexOf(account)\n ].orderCards.some((x) => !x.orderId)\n })}\n />\n )}\n \n \n ))}\n \n
    \n \n {accountModels.map((account) => (\n 1}\n applyAll={(account: PortInAccountModel)=>{\n accountModels.forEach(accountToUpdate=> {\n accountToUpdate.dueDate = account.dueDate;\n accountToUpdate.projectId = account.projectId;\n accountToUpdate.autoActivationDate = account.autoActivationDate;\n }); \n showInfoNotification(\"Account settings : 'Due Date/Time', 'Project Id' , 'Activation time', have been applied to all account tabs.\");\n }}\n createFromSingleTab={async () => {\n setShowLoadingIndicator(true);\n setCreateAllSelected(false);\n \n if (validateAccountModels(accountModels[activeAccountIndex], activeAccountIndex)) {\n await createOrdersForAccount(accountModels[activeAccountIndex], activeAccountIndex, props.portProposals);\n }\n \n setCreateAllSelected(undefined);\n setShowLoadingIndicator(false);\n }}\n createIndividual={async () => {\n setShowLoadingIndicator(true);\n setCreateAllSelected(false);\n \n if (validateAccountModels(accountModels[activeAccountIndex], activeAccountIndex)) {\n await createOrdersForAccount(accountModels[activeAccountIndex], activeAccountIndex);\n }\n \n setCreateAllSelected(undefined);\n setShowLoadingIndicator(false);\n }}\n createAll={async () => {\n setShowLoadingIndicator(true);\n setCreateAllSelected(true);\n \n if (validateAccountModels(accountModels[activeAccountIndex], activeAccountIndex)) {\n await createOrdersForAllAccounts();\n }\n \n setCreateAllSelected(undefined);\n setShowLoadingIndicator(false);\n }}\n disabled={accountModels[activeAccountIndex].orderCards.every(\n (orderCard) => orderCard.orderId\n )}\n />\n ))}\n \n
    \n \n );\n}\n","import { useCallback, useState } from \"react\";\nimport { PortInAccountModel } from \"../../components/orders/types/PortInAccountModel\";\n\nexport const useActiveAccount = (\n accountModels: PortInAccountModel[],\n setAccountModels: React.Dispatch>>\n) => {\n const [activeAccountIndex, setActiveAccountIndex] = useState(0);\n\n const setActiveAccountModel = useCallback(\n (newAccountModel: PortInAccountModel) => {\n setAccountModels((previousState) =>\n previousState.map((oldAccountModel, index) => {\n if (index === activeAccountIndex) {\n return newAccountModel;\n }\n\n return oldAccountModel;\n })\n );\n },\n [activeAccountIndex, setAccountModels]\n );\n\n return {\n activeAccountIndex,\n setActiveAccountIndex,\n setActiveAccountModel,\n activeAccount: accountModels[activeAccountIndex]\n };\n};\n","import { Moment } from \"moment\";\nimport {\n CustomerDetailsDto,\n DefaultCustomerDetailsDto\n} from \"services/apis/types/port/CustomerDetailsDto\";\nimport { OrderCardModel } from \"./OrderCardModel\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { PreviousOrderDto } from \"services/apis/types/order/OrderDto\";\n\nexport type PortInAccountModel = {\n previousOrder?: PreviousOrderDto;\n apiErrors: ApiError[] | undefined;\n orderCards: OrderCardModel[];\n dueDate: Moment | null;\n activationDate: Moment | null;\n projectId: string;\n customerDetails: CustomerDetailsDto;\n csrRequested: boolean;\n hasErrors: boolean;\n adminProjectId: string | undefined;\n autoActivationDate: string;\n timeZone: string;\n fullOrPartialPort: string;\n};\n\nexport const DefaultPortInAccountModel: PortInAccountModel = {\n apiErrors: undefined,\n orderCards: [],\n dueDate: null, \n activationDate: null, \n customerDetails: { ...DefaultCustomerDetailsDto },\n projectId: \"\",\n csrRequested: false,\n hasErrors: false,\n adminProjectId: \"\",\n autoActivationDate: \"\",\n timeZone: \"\",\n fullOrPartialPort: \"\"\n};\n","import { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\n\nexport type ExcelTemplateLrnPtoGroup = {\n lrn: string;\n portToOrginal: string;\n phoneNumbers: string[];\n orderHandler: OrderHandlerType;\n}\n\nexport const DefaultExcelTemplateLrnPtoGroup: ExcelTemplateLrnPtoGroup = {\n lrn: \"\",\n portToOrginal: \"\",\n phoneNumbers: [],\n orderHandler: OrderHandlerType.SelectOne\n };\n","import { OrderCardNumberModel } from \"components/orders/types/OrderCardNumberModel\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { DocumentModel } from \"components/orders/types/DocumentModel\";\nimport { OrderCardStatus } from \"./OrderCardStatus\";\n\nexport type OrderCardModel = {\n orderId?: string;\n lrn: string;\n portToOrginal: boolean;\n csrRequested: boolean;\n loosingProviderName: string;\n loosingSpid: string;\n united: boolean;\n lata: string;\n status: OrderCardStatus;\n orderHandler: OrderHandlerType;\n numbers: OrderCardNumberModel[];\n documents: DocumentModel[];\n showNetworkDetails: boolean;\n};\n\nexport const DefaultOrderCardModel: OrderCardModel = {\n portToOrginal: false,\n csrRequested: false,\n lrn: \"\",\n loosingProviderName: \"\",\n loosingSpid: \"\",\n united: false,\n lata: \"\",\n status: OrderCardStatus.NotSubmitted,\n orderHandler: OrderHandlerType.SelectOne,\n numbers: [],\n documents: [],\n showNetworkDetails: false\n};\n","export const PortInConfiguration = {\n excelTemplateTimeFormat: \"hh:mm:ss A\"\n};\n","import { ExcelTemplateLrnPtoGroup } from \"./ExcelTemplateLrnPtoGroup\";\nimport {OrderHandlerType} from \"services/apis/types/port/OrderHandlerType\";\nimport { getUtcDateTomorrow } from \"services/util/DateUtil\";\nimport moment, { Moment } from \"moment\";\nimport { PortInConfiguration } from \"./PortInConfiguration\";\nexport type ExcelTemplateAccount = {\n lrnPtoGroupNumbers: ExcelTemplateLrnPtoGroup[];\n projectId: string;\n dueDate: string;\n dueTime: string;\n accountName: string;\n accountNumber: string;\n accountPin: string;\n accountType: string;\n authorizedName: string;\n billingPhoneNumber: string;\n city: string;\n addressLine2?: string;\n directionPrefix: string;\n directionSuffix: string;\n number: string;\n state: string;\n streetName: string;\n streetNameSuffix: string;\n zipCode: string;\n csrRequest: boolean;\n handler: OrderHandlerType;\n };\n\n export const DefaultExcelTemplateAccount: ExcelTemplateAccount = {\n lrnPtoGroupNumbers: [],\n projectId: \"\",\n dueDate: \"\",\n dueTime: \"\",\n accountName: \"\",\n accountNumber: \"\",\n accountPin: \"\",\n accountType: \"\",\n authorizedName: \"\",\n billingPhoneNumber: \"\",\n city: \"\",\n addressLine2: \"\",\n directionPrefix: \"\",\n directionSuffix: \"\",\n number: \"\",\n state: \"\",\n streetName: \"\",\n streetNameSuffix: \"\",\n zipCode: \"\",\n csrRequest: false,\n handler: OrderHandlerType.SelectOne\n };\n\n export const getDueDateFromExcelAccount = (excelAccount: ExcelTemplateAccount): Moment => {\n let orderCardDueDate = getUtcDateTomorrow();\n\n if (excelAccount.dueDate !== \"\") {\n const datePortion = moment.utc(excelAccount.dueDate);\n\n if (excelAccount.dueTime !== \"\") {\n const timePortion = moment.utc(excelAccount.dueTime, PortInConfiguration.excelTemplateTimeFormat);\n \n datePortion.set({\n hours: timePortion.hours(),\n minutes: timePortion.minutes(),\n seconds: timePortion.seconds(),\n milliseconds: 0\n });\n }\n\n if (datePortion.isValid()) {\n orderCardDueDate = datePortion;\n }\n }\n\n return orderCardDueDate;\n};","import { useCallback } from \"react\";\nimport { OrderCardNumberModel } from \"components/orders/types/OrderCardNumberModel\";\nimport { DefaultPortInAccountModel, PortInAccountModel } from \"components/orders/types/PortInAccountModel\";\nimport { NetworkProfileDto } from \"services/apis/types/networkProfile/NetworkProfileDto\";\nimport { OrderNumber } from \"services/apis/types/port/OrderNumber\";\nimport { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { OrderProposal } from \"services/apis/types/port/OrderProposal\";\nimport { DefaultExcelTemplateLrnPtoGroup, ExcelTemplateLrnPtoGroup } from \"components/orders/types/ExcelTemplateLrnPtoGroup\";\nimport { DefaultOrderCardModel, OrderCardModel } from \"components/orders/types/OrderCardModel\";\nimport { ExcelTemplateAccount, getDueDateFromExcelAccount } from \"components/orders/types/ExcelTemplateAccount\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport { AccountType } from \"services/apis/types/port/AccountType\";\nimport { useState } from \"react\";\nimport { deepCloneWithCircular, distinctFilter } from \"services/util/ArrayUtil\";\nimport moment from \"moment\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { OrderDto } from \"services/apis/types/order/OrderDto\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport cloneDeep from 'lodash/cloneDeep';\n\n\nexport default function usePortInAccountModelMapper(){\n\n const [validationErrorMessages, setValidationErrorMessages] = useState([]);\n \n const accountMatches = (orderRequestType: OrderRequestType, account : PortInAccountModel, account2 : PortInAccountModel) => {\n return orderRequestType === OrderRequestType.OrderOnly\n ? account.csrRequested === account2.csrRequested &&\n account.dueDate === account2.dueDate &&\n account.projectId === account2.projectId\n \n : account.csrRequested === account2.csrRequested &&\n account.dueDate === account2.dueDate &&\n account.projectId === account2.projectId &&\n account.customerDetails?.accountName === account2.customerDetails?.accountName &&\n account.customerDetails?.accountNumber === account2.customerDetails?.accountNumber &&\n account.customerDetails?.accountPin === account2.customerDetails?.accountPin &&\n account.customerDetails?.accountType === account2.customerDetails?.accountType &&\n account.customerDetails?.authorizedName === account2.customerDetails?.authorizedName &&\n account.customerDetails?.billingPhoneNumber === account2.customerDetails?.billingPhoneNumber &&\n account.customerDetails?.serviceAddress?.city === account2.customerDetails?.serviceAddress?.city &&\n account.customerDetails?.serviceAddress?.directionPrefix === account2.customerDetails?.serviceAddress?.directionPrefix &&\n account.customerDetails?.serviceAddress?.directionSuffix === account2.customerDetails?.serviceAddress?.directionSuffix &&\n account.customerDetails?.serviceAddress?.number === account2.customerDetails?.serviceAddress?.number &&\n account.customerDetails?.serviceAddress?.state === account2.customerDetails?.serviceAddress?.state &&\n account.customerDetails?.serviceAddress?.streetName === account2.customerDetails?.serviceAddress?.streetName &&\n account.customerDetails?.serviceAddress?.streetNameSuffix === account2.customerDetails?.serviceAddress?.streetNameSuffix &&\n account.customerDetails?.serviceAddress?.zipCode === account2.customerDetails?.serviceAddress?.zipCode\n };\n\n const sortAndMergeAccountModels = (orderRequestType: OrderRequestType, accounts: Array) : Array=> {\n const models = accounts.flatMap(a=> splitAccountModelsBySpid(a));\n const accountsXcheck = [...models].map(account=> {\n return { \n account: deepCloneWithCircular(account), \n accountsFound : models.filter(account2=> accountMatches(orderRequestType , account, account2))\n };\n });\n\n const cloneAccount = (a: PortInAccountModel)=> { \n const dueDate = JSON.parse(JSON.stringify(a.dueDate))?._i;\n return {\n ...deepCloneWithCircular(a),\n dueDate: a.dueDate ? moment.utc(dueDate) : null\n } as PortInAccountModel\n };\n\n let merged : Array = accountsXcheck\n .map(a=> { return a.accountsFound.length === 1 \n ? cloneAccount(a.account)\n : { ...cloneAccount(a.account),\n orderCards : a.accountsFound.flatMap(ac=> ac.orderCards).map(c => {\n const clonedCard = cloneDeep({ ...c });\n return clonedCard;\n })\n } as PortInAccountModel\n })\n .filter(distinctFilter);\n \n return merged;\n };\n \n const splitAccountModelsBySpid = (account: PortInAccountModel): Array => {\n \n const getCardsFn = (cards, spid)=> cards.filter(c=> c.loosingSpid === spid);\n \n const spids = account.orderCards.map(c=> c.loosingSpid);\n return spids.map(spid=> {\n \n const dueDateString = account.dueDate && account.dueDate?.format(\"YYYY-MM-DDTHH:mm:ss.SSSSZ\"); \n const clonedAccount = deepCloneWithCircular({...account , orderCards: [], dueDate: dueDateString}) as PortInAccountModel;\n const dueDateObject = JSON.parse(JSON.stringify(clonedAccount.dueDate));\n if(dueDateObject && dueDateObject._i) {\n const originalDate = new Date(dueDateObject._i)\n const formattedDate: any = originalDate.toISOString();\n clonedAccount.dueDate = formattedDate;\n }\n const clonedCards = getCardsFn(account.orderCards, spid).map(card=> deepCloneWithCircular(card) as OrderCardModel);\n clonedAccount.orderCards = [...clonedCards];\n clonedAccount.dueDate = clonedAccount.dueDate ? moment.utc(clonedAccount.dueDate) : null;\n\n return clonedAccount;\n });\n }\n \n const addLrnValidationError = (lrn: string, number: string): void=> {\n setValidationErrorMessages((prev) =>\n [...prev, \n {\n message: `LRN ${lrn} for TN ${number} is not available. Default LRN selected.`,\n type: ApiErrorType.Danger\n }].filter(distinctFilter) as ApiError[]\n );\n };\n\n const mapToOrderCardModels = (\n orderProposal: OrderProposal,\n lrnProfiles: Record,\n lrnGroups: ExcelTemplateLrnPtoGroup[]\n ) : Array => {\n\n return lrnGroups && lrnGroups\n .filter((group)=> orderProposal.numbers.some((number) => group.phoneNumbers.includes(number.number)))\n .map(group=> \n { \n const availableProfiles = (orderNumber: OrderNumber)=> orderNumber.availableProfiles?.map((profileIdGuid) => lrnProfiles[profileIdGuid]);\n const profileForExcelLrn =(orderNumber: OrderNumber, lrn: string)=> availableProfiles(orderNumber)?.find((profile) => profile.lrn === lrn);\n \n return {\n ...DefaultOrderCardModel,\n lrn: group.lrn,\n lata: orderProposal.lata,\n loosingProviderName: orderProposal.currentProviderName,\n loosingSpid: orderProposal.currentSpId,\n united: orderProposal.united,\n portToOrginal: group.portToOrginal.toLowerCase() === \"y\",\n numbers: orderProposal.numbers\n .filter((number) => group.phoneNumbers.includes(number.number))\n .map((orderNumber) => {\n \n if (profileForExcelLrn(orderNumber, group.lrn) && group.lrn !==\"\") {\n addLrnValidationError(group.lrn, orderNumber.number); \n }\n\n return {\n number: orderNumber.number,\n availableProfiles: availableProfiles(orderNumber),\n selectedProfile: profileForExcelLrn(orderNumber, group.lrn)\n ? profileForExcelLrn(orderNumber, group.lrn)\n : availableProfiles(orderNumber)?.length\n ? availableProfiles(orderNumber)[0]\n : undefined\n } as OrderCardNumberModel\n }),\n showNetworkDetails: orderProposal.showNetworkDetails,\n orderHandler: group.orderHandler\n }});\n };\n\n const accountContainsOrderNumber = (account: ExcelTemplateAccount, orderNumber:OrderNumber) => \n account.lrnPtoGroupNumbers.some((group) =>\n group.phoneNumbers.some((number) => number === orderNumber.number)) ?? false; \n\n const mapToPortInAccountModel = (\n account: ExcelTemplateAccount | undefined, \n proposal: PortProposalDto | undefined\n ) : PortInAccountModel => {\n let newAccount = {\n ...DefaultPortInAccountModel,\n projectId: account?.projectId,\n dueDate: account ? getDueDateFromExcelAccount(account) : undefined,\n customerDetails: {\n accountName: account?.accountName,\n accountNumber: account?.accountNumber,\n accountPin: account?.accountPin,\n accountType:\n account?.accountType?.toLowerCase() === \"b\" || account?.accountType?.toLowerCase() === \"business\"\n ? AccountType.Business\n : AccountType.Residential,\n authorizedName: account?.authorizedName,\n billingPhoneNumber: account?.billingPhoneNumber,\n serviceAddress: {\n city: account?.city,\n addressLine2: account?.addressLine2,\n directionPrefix: account?.directionPrefix,\n directionSuffix: account?.directionSuffix,\n number: account?.number,\n state: account?.state,\n streetName: account?.streetName,\n streetNameSuffix: account?.streetNameSuffix,\n zipCode: account?.zipCode\n }\n },\n csrRequested: account?.csrRequest\n } as PortInAccountModel;\n\n if (account?.lrnPtoGroupNumbers) {\n newAccount.orderCards = (proposal?.orders\n .filter((order) => order.numbers.some((orderNumber) => accountContainsOrderNumber(account, orderNumber)))\n .flatMap((order) => \n mapToOrderCardModels(order, proposal.profiles, account?.lrnPtoGroupNumbers)\n ) ?? []);\n }\n \n return newAccount;\n };\n\n const findNewPortInAccount = (\n accounts: Array | undefined, \n proposalDto: PortProposalDto\n ) : PortInAccountModel | undefined=> {\n\n const proposalsWithNewOrderNumbers = proposalDto?.orders.filter((orderProposal) => \n orderProposal.numbers.some((orderNumber) => { \n return !accounts?.some(a=> accountContainsOrderNumber(a, orderNumber)); // checking if number is not present in any other account\n }));\n \n let newLrnGroup = proposalsWithNewOrderNumbers?.length \n ? {\n ...DefaultExcelTemplateLrnPtoGroup,\n phoneNumbers: proposalsWithNewOrderNumbers.flatMap(on=> on.numbers).flatMap(n=> n.number)\n }\n : undefined; \n \n return newLrnGroup\n ? {\n ...DefaultPortInAccountModel,\n orderCards: proposalsWithNewOrderNumbers.flatMap(\n (proposal)=> mapToOrderCardModels(\n proposal, \n proposalDto.profiles, \n [newLrnGroup as ExcelTemplateLrnPtoGroup]))\n } as PortInAccountModel \n : undefined;\n };\n\n return { \n mapToModel : (\n excelAccounts: Array | undefined,\n portProposalDto: PortProposalDto | undefined,\n orderRequestType: OrderRequestType\n ): Array => {\n\n let accountModels : Array = [];\n \n // occurs when data has been entered and/or imported, and also when order proposals have been returned from the api\n if (excelAccounts?.length) {\n accountModels = excelAccounts?.map((account)=> mapToPortInAccountModel(account, portProposalDto));\n }\n\n // occurs when order proposals have been fetched via the api\n if (portProposalDto) {\n let newAccountModel = findNewPortInAccount(excelAccounts, portProposalDto);\n if (newAccountModel) {\n accountModels = accountModels ? [...accountModels, newAccountModel] : [newAccountModel];\n }\n\n // numbers / account models breakout\n accountModels = sortAndMergeAccountModels(orderRequestType, accountModels);\n }\n \n return accountModels ?? [];\n }, \n \n mapOrderToAccount: useCallback((order: OrderDto): ExcelTemplateAccount => {\n return {\n lrnPtoGroupNumbers:[{\n lrn: order.numbers[0]?.lrn || \"\",\n portToOrginal: \"N\",\n phoneNumbers: order.numbers.map(n => n.phoneNumber),\n orderHandler: order.metadata.handledBy as OrderHandlerType,\n } as ExcelTemplateLrnPtoGroup],\n dueDate: getUtcDate(order.desiredDueDate).format(AppConfiguration.dateFormat),\n accountName: order.customerDetails.accountName,\n accountNumber: order.customerDetails.accountName,\n accountPin: order.customerDetails.accountPin,\n accountType: order.customerDetails.accountType.toString(),\n authorizedName: order.customerDetails.authorizedName,\n billingPhoneNumber: order.customerDetails.billingPhoneNumber,\n city: order.customerDetails.serviceAddress.city,\n directionPrefix: order.customerDetails.serviceAddress.directionPrefix,\n directionSuffix: order.customerDetails.serviceAddress.directionSuffix,\n number: order.customerDetails.serviceAddress.number,\n state: order.customerDetails.serviceAddress.state,\n streetName: order.customerDetails.serviceAddress.streetName,\n streetNameSuffix: order.customerDetails.serviceAddress.streetNameSuffix,\n zipCode: order.customerDetails.serviceAddress.zipCode,\n handler: order.metadata.handledBy as OrderHandlerType\n } as unknown as ExcelTemplateAccount\n },[]),\n\n apiErrors : validationErrorMessages\n };\n}\n","import { ApiError } from \"components/common/types/ApiError\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { ExcelTemplateAccount } from \"components/orders/types/ExcelTemplateAccount\";\nimport { PortInAccountModel } from \"components/orders/types/PortInAccountModel\";\nimport { useCallback, useContext, useMemo, useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { ServiceProviderApi } from \"services/apis/ServiceProviderApi\";\nimport { OrderHandlerType } from \"services/apis/types/port/OrderHandlerType\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport { SpidLogo } from \"services/apis/types/port/SpidLogo\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { deepCloneWithCircular, distinctFilter } from \"services/util/ArrayUtil\";\nimport { validateNumberInputValue } from \"services/validators/ValidatePhoneNumbers\";\nimport { ValidationResult } from \"services/validators/ValidationResult\";\nimport usePortInAccountModelMapper from \"services/customHooks/usePortInAccountModelMapper\";\nimport { PreviousOrderDto } from \"services/apis/types/order/OrderDto\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\nexport default function PortInHandlers() {\n const intl = useIntl();\n \n const {appContext} = useContext(AppContext);\n const [selectedProfile] = useState(()=> appContext.localStorageInfo.selectedProfile);\n\n const [isVpop] = useState(()=> selectedProfile?.external);\n\n const [previousOrder, setPreviousOrder]=useState(undefined);\n const [orderRequestType, setOrderRequestType] = useState(OrderRequestType.OrderOnly);\n const orderRequestTypesWithCsrRequest = [OrderRequestType.PreOrderAndOrder, OrderRequestType.CSROnly];\n \n const [excelTemplateAccounts, setExcelTemplateAccounts] = useState>([]);\n const [portProposals, setPortProposals] = useState();\n const [validationErrorMessages, setValidationErrorMessages] = useState([]);\n const showCustomerDetails = useMemo(() => portProposals?.orders.some((x) => x.showAccountDetails),[portProposals]);\n const [spidLogosRetrieved, setSpidLogosRetrieved] = useState(false);\n const [spidLogos, setSpidLogos] = useState([]);\n \n \n const PortInAccountModelsMapper = usePortInAccountModelMapper();\n \n const isMounted = useIsMounted();\n \n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n const selectCsrRequestByDefault = useCallback((account: PortInAccountModel, orderRequestType:OrderRequestType, tenantHasCsrPermissions) : boolean =>{\n // if 'csr only' order then csr request will be selected\n if (orderRequestType === OrderRequestType.CSROnly)\n return true;\n\n // in other cases, csr request will be selected if :\n // order type allows csr request, \n // tenant/company has 'allowCsr' enabled, \n // csrRequested was enabled as part of a 'spreadsheet import' \n return(tenantHasCsrPermissions ?? false) \n && orderRequestTypesWithCsrRequest.some(o=> o === orderRequestType) \n && account.csrRequested === true;\n },[orderRequestTypesWithCsrRequest]);\n\n const CircularJSON = require('circular-json');\n\n const filterUniqueObjectsByLataAndNumbers = (orderCards) => {\n var uniqueLATAs = {};\n return orderCards.filter( obj => {\n const clonedCard = deepCloneWithCircular(obj.numbers);\n const key = obj.lata + CircularJSON.stringify(clonedCard);\n if (!uniqueLATAs[key]) {\n uniqueLATAs[key] = true; // Add LATA & number to the tracking object\n return true; // Include the object in the filtered array\n }\n return false; // Exclude duplicate objects with the same LATA\n });\n }\n const selectOrderRequestHandler = useCallback((orderRequestType: OrderRequestType, orderHandler: OrderHandlerType, hasCsrRequest: boolean) => {\n let selectedOrderHandler = OrderHandlerType.SelectOne;\n \n switch (true)\n {\n case hasCsrRequest:\n case orderRequestType === OrderRequestType.PreOrderAndOrder && isVpop:\n case orderRequestType === OrderRequestType.OrderOnly:\n case orderHandler === OrderHandlerType.PortingDotCom:\n selectedOrderHandler = OrderHandlerType.PortingDotCom; \n break;\n \n case orderHandler === OrderHandlerType.ServiceProvider:\n selectedOrderHandler = OrderHandlerType.ServiceProvider;\n break;\n\n default: \n selectedOrderHandler = OrderHandlerType.SelectOne;\n break;\n }\n \n return selectedOrderHandler;\n },[isVpop]);\n \n \n\n const fetchSpidLogos = useCallback((proposal: PortProposalDto | undefined) => {\n if (!spidLogosRetrieved) {\n\n proposal?.orders\n .map((order) => order.currentSpId)\n .forEach((spid) => {\n ServiceProviderApi.getLogo(spid).then((logoResponse) => {\n if (logoResponse instanceof Blob) {\n setSpidLogos((previous) => [\n ...previous,\n { logo: URL.createObjectURL(logoResponse), spid: spid }\n ]);\n }\n });\n });\n\n setSpidLogosRetrieved(true);\n }\n }, [spidLogosRetrieved]);\n \n \n const requestPortProposalAndSetErrors = useCallback((numbersToPort, ClientOrderRequestType, isSuppressDuplicateTnValidation, selectedProfileCompanyId, isDisasterRecovery )=> {\n const orderRequestType = isDisasterRecovery\n ? OrderRequestType.DisasterRecovery\n : (isMixNetworkUrl ? OrderRequestType.PreOrderAndOrder : ClientOrderRequestType);\n const handlePortApiRequest = (apiEndpoint) => {\n apiEndpoint({ numbersToPort, orderRequestType, isSuppressDuplicateTnValidation, selectedProfileCompanyId })\n .then((result) => {\n setPortProposals(result);\n setValidationErrorMessages((prev) => \n [...prev, \n ...Object.keys(result.notPortable).map((x) => {\n return {\n message: result.notPortable[x],\n type: ApiErrorType.Danger\n };\n })]\n .filter(distinctFilter) as ApiError[]\n );\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n \n isDisasterRecovery ? handlePortApiRequest(PortApi.getDisasterRecoveryProposal): !isMixNetworkUrl ? handlePortApiRequest(PortApi.getProposal) : handlePortApiRequest(PortApi.getMixProposal);\n \n },[isMounted]);\n \n const validateNumbers = useCallback((numberInputValue: string, orderRequestType: OrderRequestType, isSuppressDuplicateTnValidation?:boolean, isDisasterRecovery?: boolean ) => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n \n if (validateNumberInputValue(numberInputValue) === ValidationResult.Valid) {\n setValidationErrorMessages([]);\n requestPortProposalAndSetErrors(numberInputValue, orderRequestType, isSuppressDuplicateTnValidation, selectedProfile?.companyId, isDisasterRecovery);\n \n } else {\n setShowLoadingIndicator(false);\n setValidationErrorMessages([{\n message: `${intl.formatMessage({ id: \"orders.portIn.stepOne.invalidNumbers\" })}`,\n type: ApiErrorType.Danger\n }]);\n }\n }, [isMounted, intl, requestPortProposalAndSetErrors]);\n\n\n const checkAndImportAccountFromPreviousOrder = useCallback((location)=> {\n if (location) {\n const prevOrder = location?.state[\"previousOrder\"] as PreviousOrderDto;\n if (prevOrder) {\n setPreviousOrder(prevOrder);\n setOrderRequestType(OrderRequestType.PreOrderAndOrder);\n setExcelTemplateAccounts([...[PortInAccountModelsMapper.mapOrderToAccount(prevOrder)]]);\n \n validateNumbers(prevOrder?.numbers.map(n=> n.phoneNumber).join(\",\"), prevOrder.orderRequestType);\n }\n }\n },[validateNumbers, PortInAccountModelsMapper, setPreviousOrder]);\n\n\n const accountModels = useMemo(() => {\n const accountModelsMapped = PortInAccountModelsMapper.mapToModel(excelTemplateAccounts, portProposals, orderRequestType)\n .filter((accountModel) => accountModel.orderCards.length > 0)\n .map(account=> {return {\n ...account,\n previousOrder: previousOrder,\n csrRequested: selectCsrRequestByDefault(account, orderRequestType, selectedProfile?.allowCsr),\n orderCards: filterUniqueObjectsByLataAndNumbers(account.orderCards).map(card=> { return {\n ...card,\n orderHandler: selectOrderRequestHandler(orderRequestType, card.orderHandler, selectCsrRequestByDefault(account, orderRequestType, selectedProfile?.allowCsr)),\n adminProjectId: account.adminProjectId\n }\n })\n }\n });\n\n if (PortInAccountModelsMapper.apiErrors?.length >0){\n setValidationErrorMessages(prev=> [ \n ...prev, \n ...PortInAccountModelsMapper.apiErrors\n ].filter(distinctFilter));\n }\n\n return accountModelsMapped;\n // eslint-disable-next-line\n },[portProposals, excelTemplateAccounts, previousOrder]);\n\n const discardPreviousData = useCallback(() => {\n setExcelTemplateAccounts([]);\n setPortProposals(undefined);\n setValidationErrorMessages([]);\n \n }, []);\n\n return {\n orderRequestType,\n setOrderRequestType,\n excelTemplateAccounts : useMemo(()=> excelTemplateAccounts,[excelTemplateAccounts]),\n setExcelTemplateAccounts,\n showLoadingIndicator,\n portProposals,\n spidLogos,\n spidLogosRetrieved,\n accountModels,\n showCustomerDetails,\n validationErrorMessages,\n setValidationErrorMessages,\n validateNumbers,\n fetchSpidLogos,\n checkAndImportAccountFromPreviousOrder,\n discardPreviousData\n }\n}","import React, { useCallback, useContext, useEffect } from \"react\";\nimport { Row, Col, Container } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport PortInValidationSection from \"./PortInValidationSection\";\nimport { Link, useLocation } from \"react-router-dom\";\nimport PortInProposalSection from \"./PortInProposalSection\";\nimport PortInHandlers from \"./PortInHandlers\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\n\nexport default function PortIn() {\n\n const location = useLocation();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n // state, and handler methods used by PortIn\n const {\n // TODO : the following state assessors could be moved to a 'PortInContext' - \n // as these variables are shared between components\n orderRequestType,\n setOrderRequestType,\n setExcelTemplateAccounts,\n excelTemplateAccounts,\n accountModels,\n showCustomerDetails,\n showLoadingIndicator,\n portProposals,\n spidLogos,\n spidLogosRetrieved,\n setValidationErrorMessages,\n validationErrorMessages,\n\n validateNumbers,\n fetchSpidLogos,\n checkAndImportAccountFromPreviousOrder,\n discardPreviousData,\n } = PortInHandlers();\n\n \n // loading spid logos\n useEffect(() => {\n if (portProposals?.orders.length && accountModels?.length > 0) {\n fetchSpidLogos(portProposals);\n }\n }, [accountModels, portProposals, fetchSpidLogos]);\n\n\n // in the case when an order has been passed as a parameter to this component\n // convert order/import as a new account\n useEffect(()=> {\n if (location && location?.state && (location?.state as any)[\"previousOrder\"] && excelTemplateAccounts.length === 0) {\n checkAndImportAccountFromPreviousOrder(location);\n }\n },[location, excelTemplateAccounts.length, checkAndImportAccountFromPreviousOrder]);\n \n\n const showNumberInputAndValidationStep = useCallback(()=> {\n const accountsAndCardsLoaded = accountModels?.some((accountModel) => accountModel?.orderCards?.length > 0);\n return !accountsAndCardsLoaded || !spidLogosRetrieved;\n // eslint-disable-next-line\n },[excelTemplateAccounts.length, accountModels, spidLogosRetrieved]);\n\n\n const validateNumbersAsync = async(numberInput: string, orderRequestType:OrderRequestType, isSuppressDuplicateTnValidation:boolean ) => {\n let inputStr = numberInput;\n if(inputStr.includes('\\n' || ',')) {\n inputStr = inputStr.replace(/\\n/g, \",\");\n }\n return validateNumbers(inputStr,orderRequestType, isSuppressDuplicateTnValidation);\n };\n\n return (\n <>\n \n \n \n \n \n \n {showNumberInputAndValidationStep() ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n \n \n \n {showNumberInputAndValidationStep() ? (\n \n \n {showLoadingIndicator && }\n \n ) : (\n \n <>\n {accountModels?.length > 0 ? (\n \n ):<>}\n \n \n )}\n \n \n \n );\n}","import React, { useMemo, useState, useEffect, useContext } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { Link } from \"react-router-dom\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { AuditApi } from \"services/apis/AuditApi\";\nimport { NpacAuditListDto } from \"services/apis/types/audit/NpacAuditListDto\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n triggerRefresh: boolean;\n searchValue: string;\n};\n\nexport default function AuditTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [audits, setAudits] = useState();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl, theme), [intl, theme]);\n const isMounted = useIsMounted();\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n\n AuditApi.list(props.searchValue)\n .then((result) => {\n if (isMounted) {\n setAudits(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [\n isMounted,\n props.triggerRefresh,\n props.searchValue,\n appContext.localStorageInfo.selectedProfile\n ]);\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getColumns = (intl: IntlShape, theme: string) => [\n {\n Header: intl.formatMessage({ id: \"audits.table.name\" }),\n accessor: \"name\",\n Cell: (cell: any) => (\n \n {cell.cell.value}\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"audits.table.range\" }),\n accessor: \"phoneNumberRange\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"audits.table.date\" }),\n accessor: \"requestedDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"audits.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"audits.table.tenant\" }),\n accessor: \"tenant\",\n Cell: (cell: any) => \n }\n];\n\nconst filterMapper = (audit: NpacAuditListDto) => {\n return {\n ...audit,\n requestedDate: getFormattedUtcDate(audit.requestedDate)\n };\n};\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport {\n Row,\n Col,\n Container,\n DropdownToggle,\n DropdownMenu,\n Dropdown,\n Form,\n Input,\n FormGroup,\n InputGroup,\n InputGroupAddon,\n InputGroupText\n} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport AuditTable from \"./AuditTable\";\nimport classNames from \"classnames\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport CreateAuditModal from \"./CreateAuditModal\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\nexport default function AuditList() {\n const [showDropdown, setShowDropdown] = useState(false);\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [searchValue, setSearchValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setSearchValue(searchInputValue.trim());\n };\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n\n const handleCreateDropdownItemButtonClick = () => {\n setShowModal(true);\n setShowDropdown(false);\n };\n\n return (\n <>\n \n \n \n \n \n \n

    \n \n \n

    \n \n
    \n \n \n \n
    \n \n \n \n \n \n \n \n setSearchInputValue(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick()}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n
    \n \n \n {showModal && (\n setShowModal(false)}\n triggerRefresh={() => setTriggerRefresh((p) => !p)}\n />\n )}\n \n \n );\n}\n","export enum AuditStatus {\n ActionRequired = \"ActionRequired\",\n Pending = \"Pending\",\n Authorized = \"Authorized\",\n Approved = \"Approved\",\n Active = \"Active\",\n Sending = \"Sending\",\n Conflict = \"Conflict\",\n Old = \"Old\",\n Failed = \"Failed\",\n PartialFailure = \"PartialFailure\",\n Canceled = \"Canceled\",\n CancelPending = \"CancelPending\",\n DisconnectPending = \"DisconnectPending\",\n ActivatePending = \"ActivatePending\"\n}\n","import { AuditNumberStatus } from \"./AuditNumberStatus\";\nimport { AuditStatus } from \"components/audits/types/AuditStatus\";\n\nexport type NpacAuditReply = {\n auditId: string;\n name: string;\n status: AuditStatus; // TODO make string\n phoneNumbers: AuditNumberStatus[];\n};\n\nexport const DefaultNpacAuditReply: NpacAuditReply = {\n auditId: \"\",\n name: \"\",\n status: AuditStatus.ActionRequired,\n phoneNumbers: []\n};\n","import React, { useContext } from \"react\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { FormattedMessage } from \"react-intl\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n failedSpList: string[];\n};\n\nexport default function FailedSpListCell(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n <>\n {props.failedSpList.length > 0 ? (\n props.failedSpList.map(x => )\n ) : (\n \n )}\n \n );\n}\n","import React, { useMemo } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { AuditNumberStatus } from \"services/apis/types/audit/AuditNumberStatus\";\nimport FailedSpListCell from \"./FailedSpListCell\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n phoneNumbers: AuditNumberStatus[];\n};\n\nexport default function AuditNumbersCard(props: Props) {\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n return (\n
    \n \n
    \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"audits.details.table.phoneNumber\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"audits.details.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"audits.details.table.auditDate\" }),\n accessor: \"auditDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"audits.details.table.failedSpList\" }),\n Cell: (cell: any) => \n }\n];\n\nconst filterMapper = (auditNumberStatus: AuditNumberStatus) => {\n return { ...auditNumberStatus, auditDate: getFormattedUtcDate(auditNumberStatus.auditDate) };\n};\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useParams, Link } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Container, Row, Col, Card, CardBody, CardTitle } from \"reactstrap\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { AuditApi } from \"services/apis/AuditApi\";\nimport { NpacAuditReply, DefaultNpacAuditReply } from \"services/apis/types/audit/NpacAuditReply\";\nimport AuditNumbersCard from \"./AuditNumbersCard\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function AuditDetails() {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [auditDetails, setAuditDetails] = useState(DefaultNpacAuditReply);\n let { id }: any = useParams();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => {\n if (id) {\n AuditApi.details(id)\n .then(result => {\n if (isMounted.current) {\n setAuditDetails(result);\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n }, [id, isMounted]);\n\n return (\n <>\n \n \n \n \n \n \n {auditDetails.name}\n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n \n \n {/* TODO add dynamic class based on status */}\n \n \n \n
    \n \n \n \n {auditDetails.status}\n
    \n \n
    \n {/* TODO add dynamic icon based on status */}\n \n
    \n \n
    \n

    \n \n {/* TODO */}\n {/* */}\n \n

    \n
    \n
    \n \n
    \n \n \n \n \n \n \n )}\n
    \n \n );\n}\n","import React, { useContext, ReactNode } from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { authorizeAny } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n children: ReactNode;\n path?: string | string[];\n exact?: boolean;\n vpopDisabled?: boolean;\n nonSpidDisabled?: boolean;\n userPermissions?: PermissionType[];\n spidPermissions?: PermissionType[];\n};\n\nexport default function PrivateRoute(props: Props) {\n const { appContext } = useContext(AppContext);\n var isAuthorized =\n (!props.userPermissions && !props.spidPermissions) ||\n (props.userPermissions && authorizeAny(props.userPermissions)) ||\n (props.spidPermissions && authorizeAny(props.spidPermissions, true));\n\n //VPOP user can have OrgAdmin permissions but still some pages might not be visisble\n if (appContext.localStorageInfo.selectedProfile?.external && props.vpopDisabled === true) {\n isAuthorized = false;\n }\n\n // Wholesale or other NonSpid user can be VPOP with various permissions but still some pages might not be visisble\n if (appContext.localStorageInfo.selectedProfile?.nonSpIdCompany && props.nonSpidDisabled === true){ \n isAuthorized = false;\n }\n\n return (\n \n appContext.localStorageInfo.authenticationInfo.authenticated ? (\n isAuthorized ? (\n <>{props.children}\n ) : (\n \n )\n ) : (\n \n )\n }\n />\n );\n}\n","import React, { useState, useEffect, useContext } from \"react\";\nimport { UncontrolledDropdown, DropdownToggle, DropdownMenu, ListGroup, ListGroupItem, Media } from \"reactstrap\";\nimport { NotificationDto } from \"services/apis/types/notification/NotificationDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { NotificationService } from \"services/notification/NotificationService\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport default function NotificationsDropdown() {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [notifications, setNotifications] = useState([]);\n const [unreadNotifications, setUnreadNotifications] = useState(0);\n\n useEffect(() => {\n if (appContext.notifications) {\n setNotifications(appContext.notifications);\n setUnreadNotifications(appContext.notifications.filter(x => !x.isRead).length);\n }\n }, [appContext.notifications]);\n\n const markAsRead = async (event: React.MouseEvent, notification: NotificationDto) => {\n event.preventDefault();\n await NotificationService.markAsRead(notification);\n };\n\n return (\n \n \n \n {unreadNotifications > 0 && {unreadNotifications}}\n \n \n \n {notifications.length === 0 ?\n
    \n
    \n \n
    \n
    \n : \n {notifications.map(x => (\n markAsRead(e, x)}\n tag=\"a\">\n

    {x.title}

    \n
    \n \n
    \n

    {x.message}

    \n \n ))}\n
    }\n
    \n
    \n );\n}\n","import React from \"react\";\nimport Select2 from \"react-select2-wrapper\";\nimport $ from 'jquery';\n\nexport default function Select2Dropdown(props) {\n // NOTE : hack for setting focus : see issue https://github.com/select2/select2/issues/5993\n const setFocusHack= ()=>{\n $(document).on('select2:open', () => {\n document.querySelector('.select2-search__field').focus();\n });\n }\n return (\n <>\n
    \n \n \n );\n}\n","import React, { useContext } from \"react\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork\n\nexport default function FeedbackButton() {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n \n \n \n \n \n );\n}\n","import React, { useContext, useState, ChangeEvent, useEffect, useCallback } from \"react\";\nimport {\n DropdownMenu,\n DropdownItem,\n DropdownToggle,\n Media,\n Navbar,\n Nav,\n Container, \n Dropdown,\n NavItem\n} from \"reactstrap\";\nimport { useHistory } from \"react-router-dom\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { IdentityService } from \"services/identity/IdentityService\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { SpIdProfileDto } from \"services/apis/types/account/SpIdProfileDto\";\nimport NotificationsDropdown from \"components/framework/adminLayout/NotificationsDropdown\";\nimport classnames from \"classnames\";\nimport Select2Dropdown from \"./Select2Dropdown\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { v4 as uuidv4 } from 'uuid';\nimport FeedbackButton from \"components/networkExplorer/common/FeedbackButton\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\nconst isqaUrl = EnvironmentUtil.isqa;\nconst istestUrl = EnvironmentUtil.istest;\nconst isdevUrl = EnvironmentUtil.isdev;\nconst isCspireUrl = EnvironmentUtil.isCspire;\nconst isMixQAUrl = EnvironmentUtil.isMixQa;\nconst isMixUatUrl = EnvironmentUtil.isMixUat;\nconst isPrdUrl = EnvironmentUtil.isPrdUrl;\nconst isPrdMixUrl = EnvironmentUtil.isPrdMixUrl;\n\ntype Props = {\n toggleSidenav: () => void;\n sidenavOpen: boolean;\n};\n\nexport default function AdminNavbar(props: Props) {\n const { appContext, setAppContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const isInOrderDetailsPage = () => {\n // Get the current URL\n const currentUrl = window.location.href;\n // Check if the URL contains \"/Orders/\" followed by 23 characters\n return /\\/Orders\\/.{23}/.test(currentUrl);\n };\n const onOrderDetailsPage = isInOrderDetailsPage();\n const addUniqueIds = (records) => {\n return records.map((record) => {\n // Check if the record already has an ID in local storage\n const storedId = localStorage.getItem(`recordId_${record.spId}_${record.companyId}`);\n const id = storedId || uuidv4();\n // Save the ID in local storage for future reference\n localStorage.setItem(`recordId_${record.spId}_${record.companyId}`, id);\n\n return { id, ...record };\n });\n };\n const initializeId = (record) => {\n // Retrieve the ID from local storage\n const storedId = localStorage.getItem(`recordId_${record.spId}_${record.companyId}`);\n return storedId || \"\";\n };\n const recordsWithUniqueIds = appContext.localStorageInfo.user?.spIdProfiles ? addUniqueIds(appContext.localStorageInfo.user?.spIdProfiles) : \"\";\n const initializingIdwithSelectedSpidProfile: any = appContext.localStorageInfo.selectedProfile ? initializeId(appContext.localStorageInfo.selectedProfile) : \"\";\n // Call the function to add unique IDs to the records\n const [id, setId] = useState(initializingIdwithSelectedSpidProfile);\n\n const [dropdownOpen, setDropdownOpen] = useState(false);\n const intl = useIntl();\n const history = useHistory();\n\n useEffect(() => {\n if (appContext.localStorageInfo.selectedProfile) {\n setId(initializingIdwithSelectedSpidProfile);\n }\n }, [appContext.localStorageInfo.selectedProfile]);\n\n const dropdownToggle = () => setDropdownOpen((prevState) => !prevState);\n const logout = () => IdentityService.clearAuthenticationInfo();\n\n const selectSpidHandler = (spidInfo: SpIdProfileDto) => {\n const spIdProfile = appContext.localStorageInfo.user\n ? recordsWithUniqueIds.find((x) => {\n return x.id === spidInfo.id\n })\n : undefined;\n\n if (spIdProfile) {\n setId(spidInfo.id);\n setAppContext({\n ...appContext,\n localStorageInfo: { ...appContext.localStorageInfo, selectedProfile: spIdProfile }\n });\n showInfoNotification(\n `${intl.formatMessage(\n { id: \"adminNavbar.newProfileSelected\" },\n { spId: profileText(spIdProfile) }\n )}`\n );\n setDropdownOpen(false);\n }\n };\n const getBannerTitle = () => {\n if (isMixUatUrl) return \"Banners.uat.title\";\n if (isMixQAUrl) return \"Banners.qa.title\"; \n if (istestUrl) return \"Banners.uat.title\";\n if (isdevUrl) return \"Banners.dev.title\";\n if (isqaUrl) return \"Banners.qa.title\";\n\n return null;\n}\n\n const profileText = (profile: SpIdProfileDto) => {\n if (!isMixNetworkUrl){\n return profile.nonSpIdCompany ? profile.name : `${profile.name} (${profile.spId})`;\n }\n else{\n return `${profile.name} (${profile.companyId?.slice(-8)})` \n }\n }\n\n const wholeSaleUserSpidText = appContext.localStorageInfo.selectedProfile && !appContext.localStorageInfo.selectedProfile.nonSpIdCompany\n ? `(${appContext.localStorageInfo.selectedProfile.companyId?.slice(-8)})`\n : \"\";\n \n const userSpidText = appContext.localStorageInfo.selectedProfile && !appContext.localStorageInfo.selectedProfile.nonSpIdCompany\n ? ` (${\n appContext.localStorageInfo.selectedProfile &&\n appContext.localStorageInfo.selectedProfile.spId\n })`\n : \"\";\n\n const spIdText = !isMixNetworkUrl ? userSpidText : wholeSaleUserSpidText ;\n\n const changeTheme = (newTheme) => {\n AppContextAccessor.setAppContext((appContext) => {\n return {\n ...appContext,\n theme: newTheme\n }\n });\n };\n\n return (\n \n \n
    \n
    \n \n \n \n {getBannerTitle() && (\n

    \n \n

    \n )}\n \n
    \n
    \n );\n}\n","import React, { useContext, useState } from \"react\";\nimport { NavItem, NavLink, Collapse, Nav } from \"reactstrap\";\nimport { useLocation, useHistory } from \"react-router\";\nimport classnames from \"classnames\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n title: string;\n linkTo: string;\n iconClassName?: string;\n toggleSidenav: () => void;\n closeSidenav: () => void;\n children?: React.ReactNode;\n highlightUrls?: string[];\n};\n\nexport default function MenuItem(props: Props) {\n const [collapseOpen, setCollapseOpen] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n let location = useLocation();\n let history = useHistory();\n\n const activeRoute = (routeName: string) => {\n return location.pathname.indexOf(routeName) > -1 ? theme === \"light\" ? \"bg-lpurple\" : \"active\" : \"\";\n };\n\n const isHighlighted = () => {\n return props.highlightUrls && props.highlightUrls.findIndex(x => location.pathname.indexOf(x) > -1) > -1;\n };\n\n const handleClick = (path: string) => {\n history.push(path);\n props.closeSidenav();\n };\n\n const handleCollapse = (e: any) => {\n e.preventDefault();\n setCollapseOpen(!collapseOpen);\n };\n\n return (\n \n {props.children ? (\n <>\n handleCollapse(e)}\n className={classnames({ active: isHighlighted() })}\n data-toggle=\"collapse\"\n aria-expanded={collapseOpen}>\n {props.iconClassName && }\n {props.title}\n \n \n \n \n \n ) : (\n handleClick(props.linkTo)} className={activeRoute(props.linkTo)}>\n {props.iconClassName && }\n {props.title}\n \n )}\n \n );\n}\n","export const BodyClassUtil = {\n addClass: function(className: string) {\n document.body.classList.add(className);\n },\n\n removeClass: function(className: string) {\n document.body.classList.remove(className);\n },\n\n hasClass: function(className: string): boolean {\n return document.body.classList.contains(className);\n }\n};\n","import React, { useState } from 'react';\nimport { UncontrolledPopover, PopoverBody } from 'reactstrap';\nimport { useIntl, FormattedMessage } from 'react-intl';\n\nexport default function TooltipOnHover() {\n const intl = useIntl();\n const [popoverOpen, setPopoverOpen] = useState(false);\n\n const handleMouseEnter = () => {\n setPopoverOpen(true);\n };\n\n const handleMouseLeave = () => {\n setPopoverOpen(false);\n };\n\n return (\n
    \n {intl.formatMessage({ id: \"sidebar.network.tradingPartners\" })}\n \n \n {intl.formatMessage({ id: \"sidebar.network.tradingPartners.tooltip.messageOne\" })}\n \n window.location.href = 'mailto:lnp@porting.com'}>\n \n \n \n {intl.formatMessage({ id: \"sidebar.network.tradingPartners.tooltip.messageTwo\" })}\n \n \n
    \n );\n};\n","import React, { useContext, useState, useRef, useCallback, useEffect } from \"react\";\nimport MenuItem from \"./MenuItem\";\nimport classnames from \"classnames\";\nimport { Nav, Navbar, NavbarBrand, NavLink } from \"reactstrap\";\nimport { useIntl, FormattedMessage } from \"react-intl\";\nimport { BodyClassUtil } from \"services/util/BodyClassUtil\";\nimport Authorize from \"../authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport TooltipOnHover from \"components/common/TooltipOnHover\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport { Link } from \"react-router-dom\";\n\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\nconst isCspireUrl = EnvironmentUtil.isCspire\ntype Props = {\n toggleSidenav: () => void;\n sidenavOpen: boolean;\n windowWidth: number;\n};\n\nexport default function Sidebar(props: Props) {\n const intl = useIntl();\n const sidebarRef = useRef(null);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [isNonSpidProfileSelected] = useState(() => appContext.localStorageInfo.selectedProfile?.nonSpIdCompany);\n const isUserAdmin = appContext.localStorageInfo.user?.permissions.find(value => value === PermissionType.Admin);\n\n const onMouseEnterSidenav = () => {\n if (!BodyClassUtil.hasClass(\"g-sidenav-pinned\")) {\n BodyClassUtil.addClass(\"g-sidenav-show\");\n }\n };\n\n const onMouseLeaveSidenav = () => {\n if (!BodyClassUtil.hasClass(\"g-sidenav-pinned\")) {\n BodyClassUtil.removeClass(\"g-sidenav-show\");\n }\n };\n\n const closeSidenav = () => {\n if (window.innerWidth < 1200) {\n props.toggleSidenav();\n }\n };\n\n const handleClickOutside = useCallback((event: MouseEvent) => {\n if (sidebarRef.current && !props.sidenavOpen) {\n const target = event.target as Node;\n if (!sidebarRef.current.contains(target)) {\n closeSidenav()\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [sidebarRef, props.sidenavOpen]);\n\n useEffect(() => {\n document.addEventListener(\"click\", handleClickOutside);\n return () => {\n document.removeEventListener(\"click\", handleClickOutside);\n };\n }, [handleClickOutside]);\n\n return (\n \n
    \n
    \n \n {isMixNetworkUrl ? (\n \n ) : isCspireUrl ? (\n \n ) : (\n \n )}\n \n
    \n
    \n
    \n

    \n \n

    \n
    \n
    \n {props.windowWidth <= 1500 && \n
    \n \n \n \n
    \n
    }\n
    \n
    \n
    \n \n
    \n {!isMixNetworkUrl &&
    \n \n \n \n
    }\n \n \n );\n}\n","import React, { useContext, useEffect, useState } from \"react\";\nimport AdminNavbar from \"./AdminNavbar\";\nimport { ToastContainer } from \"react-toastify\";\nimport \"react-toastify/dist/ReactToastify.css\";\nimport Footer from \"components/framework/footer/Footer\";\nimport Sidebar from \"components/framework/sidebar/Sidebar\";\nimport { BodyClassUtil } from \"services/util/BodyClassUtil\";\nimport { hasAnyPermissions } from \"services/authorization/AuthorizationService\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n children: React.ReactNode;\n};\n\nexport default function AdminLayout(props: Props) {\n const [sidenavOpen, setSidenavOpen] = useState(true);\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\n const [isManualToggle, setIsManualToggle] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const toggleSidenav = () => {\n setIsManualToggle(!isManualToggle);\n if (BodyClassUtil.hasClass(\"g-sidenav-pinned\")) {\n BodyClassUtil.removeClass(\"g-sidenav-pinned\");\n BodyClassUtil.addClass(\"g-sidenav-hidden\");\n } else {\n BodyClassUtil.addClass(\"g-sidenav-pinned\");\n BodyClassUtil.removeClass(\"g-sidenav-hidden\");\n }\n\n setSidenavOpen(!sidenavOpen);\n };\n\n useEffect(() => {\n const handleResize = () => {\n if (!isManualToggle) {\n if (window.innerWidth > 1500) {\n BodyClassUtil.addClass(\"g-sidenav-pinned\");\n BodyClassUtil.removeClass(\"g-sidenav-hidden\");\n } else {\n BodyClassUtil.removeClass(\"g-sidenav-pinned\");\n BodyClassUtil.addClass(\"g-sidenav-hidden\");\n }\n }\n setWindowWidth(window.innerWidth);\n };\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, [isManualToggle]);\n\n return (\n <>\n \n {hasAnyPermissions() && }\n
    \n \n
    {props.children}
    \n
    \n
    \n \n );\n}\n","import React, { ReactNode } from \"react\";\nimport PrivateRoute from \"services/routing/PrivateRoute\";\nimport AdminLayout from \"components/framework/adminLayout/AdminLayout\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\ntype Props = {\n children: ReactNode;\n path?: string | string[];\n exact?: boolean;\n vpopDisabled?: boolean;\n nonSpidDisabled?: boolean;\n userPermissions?: PermissionType[];\n spidPermissions?: PermissionType[];\n};\n\nexport function AdminRoute(props: Props) {\n return (\n \n {props.children}\n \n );\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { NpacQueryRequestDto } from \"./types/query/NpacQueryRequestDto\";\nimport { RequestQueryModel } from \"./types/query/RequestQueryModel\";\nimport { ApiError } from \"./types/ApiError\";\nimport { NpacQueryResultDto } from \"./types/query/NpacQueryResultDto\";\n\nexport const QueryApi = {\n list: (searchValue: string): Promise => {\n return HttpClient.get(`query/?search=${searchValue}`, true, true);\n },\n\n create: (query: RequestQueryModel): Promise => {\n return HttpClient.post(\"query\", query, true, true);\n },\n\n details: (queryId: string): Promise => {\n return HttpClient.get(`query/${queryId}`, true, true);\n }\n};\n","import React, { useState, useEffect, useContext, useMemo } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { NpacQueryRequestDto } from \"services/apis/types/query/NpacQueryRequestDto\";\nimport { QueryApi } from \"services/apis/QueryApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { Link } from \"react-router-dom\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\n\ntype Props = {\n triggerRefresh: boolean;\n searchValue: string;\n};\n\nexport default function QuerySvTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [querySvs, setQuerySvs] = useState();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n\n QueryApi.list(props.searchValue)\n .then((result) => {\n if (isMounted) {\n setQuerySvs(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [\n isMounted,\n props.triggerRefresh,\n props.searchValue,\n appContext.localStorageInfo.selectedProfile\n ]);\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"querySv.table.name\" }),\n accessor: nameOf(\"name\"),\n Cell: (cell: any) => (\n \n {cell.cell.value}\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"querySv.table.phoneNumber\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"querySv.table.regionCode\" }),\n accessor: \"regionCode\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"querySv.table.requestedDate\" }),\n accessor: \"requestedDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"querySv.table.completionDate\" }),\n accessor: \"completionDate\",\n Cell: (cell: any) => \n }\n];\n\nconst filterMapper = (npacQueryRequestDto: NpacQueryRequestDto) => {\n return {\n ...npacQueryRequestDto,\n requestedDate: getFormattedUtcDate(npacQueryRequestDto.requestedDate),\n completionDate: getFormattedUtcDate(npacQueryRequestDto.completionDate)\n };\n};\n","export type RequestQueryModel = {\n phoneNumberRange: string;\n name: string;\n};\n\nexport const DefaultRequestQueryModel: RequestQueryModel = {\n phoneNumberRange: \"\",\n name: \"\"\n};\n","import React, { useState, FormEvent, useContext } from \"react\";\nimport { Modal, Form, Button, Row } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport { RequestAuditModel } from \"services/apis/types/audit/RequestAuditModel\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { useHistory } from \"react-router-dom\";\nimport {\n RequestQueryModel,\n DefaultRequestQueryModel\n} from \"services/apis/types/query/RequestQueryModel\";\nimport { QueryApi } from \"services/apis/QueryApi\";\nimport PhoneNumberInput from \"components/framework/forms/PhoneNumberInput\";\nimport { isValidName, hasNameLengthExceeded } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n triggerRefresh?: () => void;\n};\n\nexport default function CreateQueryModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [query, setQuery] = useState(DefaultRequestQueryModel);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const isMounted = useIsMounted();\n const history = useHistory();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validateQuery(query);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowLoadingIndicator(true);\n\n QueryApi.create(query)\n .then(() => {\n if (props.triggerRefresh) {\n props.triggerRefresh();\n }\n showInfoNotification(intl.formatMessage({ id: \"querySv.create.query.success\" }));\n props.closeModal();\n history.push(\"/QuerySV\");\n })\n .catch(error => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n \n
    \n
    \n \n
    \n \n
    \n
    handleSubmit(e)}>\n
    \n \n setQuery({ ...query, name: value })}\n errorHandler={getErrorHandler(nameOf(\"name\"))}\n />\n \n \n setQuery({ ...query, phoneNumberRange: value })}\n errorHandler={getErrorHandler(nameOf(\"phoneNumberRange\"))}\n />\n \n
    \n
    \n \n \n
    \n \n
    \n );\n}\n\nconst validateQuery = (query: RequestQueryModel) => {\n const errors: Errors = {};\n\n if (!query.name) {\n AddError(errors, nameOf(\"name\"), \"querySv.create.query.name.emptyError\");\n }\n if (query.name && !isValidName(query.name)) {\n AddError(errors, nameOf(\"name\"), \"querySv.create.query.name.invalidName\");\n }\n if (query.name && !hasNameLengthExceeded(query.name)) {\n AddError(errors, nameOf(\"name\"), \"querySv.create.query.name.limitExceeded\");\n }\n if (!query.phoneNumberRange) {\n AddError(\n errors,\n nameOf(\"phoneNumberRange\"),\n \"querySv.create.query.phoneNumbers.emptyError\"\n );\n }\n\n return errors;\n};\n","import React, { useContext, useState } from \"react\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {\n Container,\n Row,\n Col,\n Dropdown,\n DropdownToggle,\n DropdownMenu\n} from \"reactstrap\";\nimport QuerySvTable from \"./QuerySvTable\";\nimport CreateQueryModal from \"./CreateQueryModal\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\n\nexport default function QuerySv() {\n const [showDropdown, setShowDropdown] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const { appContext } = useContext(AppContext);\n const intl = useIntl();\n const theme = appContext.theme;\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n\n const handleCreateDropdownItemButtonClick = () => {\n setShowModal(true);\n setShowDropdown(false);\n };\n\n return (\n <>\n \n \n \n \n \n \n

    \n \n \n

    \n \n \n \n
    \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick()}\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n
    \n \n \n {showModal && (\n setShowModal(false)}\n triggerRefresh={() => setTriggerRefresh((p) => !p)}\n />\n )}\n \n \n );\n}\n","import { SvQueryDetailsDto } from \"./SvQueryDetailsDto\";\n\nexport type NpacQueryResultDto = {\n id: string;\n name: string;\n requestedDate: Date;\n completionDate: Date;\n numberDetails: SvQueryDetailsDto[];\n};\n\nexport const DefaultNpacQueryResultDto: NpacQueryResultDto = {\n id: \"\",\n name: \"\",\n requestedDate: new Date(),\n completionDate: new Date(),\n numberDetails: []\n};\n","import React, { useContext, useMemo } from \"react\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { SvQueryDetailsDto } from \"services/apis/types/query/SvQueryDetailsDto\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport { Authorized } from \"components/orders/types/Authorized\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n numberDetails: SvQueryDetailsDto[];\n};\n\nexport default function QueryDetailsTable(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl, theme), [intl, theme]);\n\n return (\n
    \n \n
    \n );\n}\n\nconst getColumns = (intl: IntlShape, theme: string) => [\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.phoneNumber\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.versionId\" }),\n accessor: \"versionId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.newSpId\" }),\n accessor: \"newSpId\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.oldSpId\" }),\n accessor: \"oldSpId\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.newDueDate\" }),\n accessor: \"newDueDate\",\n Cell: (cell: any) => cell.cell.value && \n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.oldDueDate\" }),\n accessor: \"oldDueDate\",\n Cell: (cell: any) => cell.cell.value && \n },\n {\n Header: intl.formatMessage({ id: \"querySv.queryDetails.table.authorized\" }),\n accessor: \"authorized\",\n Cell: (cell: any) => (getValueOrEmpty(cell.cell.value) ? Authorized.YES : Authorized.NO)\n }\n];\n\nconst filterMapper = (svQueryDetailsDto: SvQueryDetailsDto) => {\n return {\n ...svQueryDetailsDto,\n oldDueDate: getFormattedUtcDate(svQueryDetailsDto.oldDueDate),\n newDueDate: getFormattedUtcDate(svQueryDetailsDto.newDueDate)\n };\n};\n","import React, { useContext, useEffect, useState } from \"react\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useParams, Link } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Container, Row, Col } from \"reactstrap\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { QueryApi } from \"services/apis/QueryApi\";\nimport { NpacQueryResultDto, DefaultNpacQueryResultDto } from \"services/apis/types/query/NpacQueryResultDto\";\nimport QueryDetailsTable from \"./QueryDetailsTable\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function QueryDetails() {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [queryDetails, setQueryDetails] = useState(DefaultNpacQueryResultDto);\n let { id }: any = useParams();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => {\n if (id) {\n QueryApi.details(id)\n .then(result => {\n if (isMounted.current) {\n setQueryDetails(result);\n }\n })\n .catch(error => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n }, [id, isMounted]);\n\n return (\n <>\n \n \n \n \n \n \n {queryDetails.name}\n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n \n \n );\n}\n","import React from \"react\";\nimport { Container } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\n\nexport default function Unauthorized() {\n return (\n \n
    \n
    \n \n \n \n
    \n

    \n \n

    \n

    \n \n

    \n
    \n
    \n );\n}\n","import React, { useContext } from \"react\";\nimport { Redirect } from \"react-router-dom\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { authorize, authorizeAny } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\n\nexport default function Index() {\n\n const { appContext } = useContext(AppContext);\n const previousUrl = appContext.previousUrl === \"/\" ? '' : appContext.previousUrl;\n const hasTokenIdentifier = appContext.localStorageInfo.hasTokenIdentifier;\n return (\n <>\n { previousUrl && !hasTokenIdentifier ? (\n \n ) : authorize(PermissionType.Explore) ? (\n \n ) : authorize(PermissionType.Network) ? (\n \n ) : authorizeAny([PermissionType.SOARead, PermissionType.PreOrderFree], true) ? (\n \n ) : (\n \n )}\n \n );\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { NotificationListItemDto } from \"./types/webhooks/NotificationListItemDto\";\nimport { SubscriptionDto } from \"./types/webhooks/SubscriptionDto\";\nimport { NotificationDto } from \"./types/webhooks/NotificationDto\";\n\nexport const WebhookApi = {\n list: (searchValue: string): Promise => {\n return HttpClient.get(`webhook/?search=${searchValue}`, true, true);\n },\n\n details: (webhookId: string): Promise => {\n return HttpClient.get(`webhook/${webhookId}`, true, true);\n },\n\n create: (notificationDto: NotificationDto): Promise => {\n return HttpClient.post(\"webhook/\", notificationDto, true, true);\n },\n\n modify: (id: string, notificationDto: NotificationDto): Promise => {\n return HttpClient.put(`webhook/${id}`, notificationDto, true, true);\n },\n\n delete: (id: string): Promise => {\n return HttpClient.delete(`webhook/${id}`, {}, true, true);\n },\n\n suspend: (id: string): Promise => {\n return HttpClient.post(`webhook/${id}/suspend`, {}, true, true);\n },\n\n resume: (id: string): Promise => {\n return HttpClient.post(`webhook/${id}/resume`, {}, true, true);\n },\n\n getSubscriptions: (): Promise => {\n return HttpClient.get(\"webhook/subscriptions\", true, true);\n }\n};\n","import { SubscriptionModel } from \"./SubscriptionModel\";\n\nexport type NotificationModel = {\n id: string;\n name: string;\n uri: string;\n subscriptions: SubscriptionModel[];\n};\n\nexport const DefaultNotificationModel: NotificationModel = {\n id: \"\",\n name: \"\",\n uri: \"\",\n subscriptions: []\n};\n","export enum NotificationType {\n Webhook = 1,\n EmailSubscription = 2\n}\n","export enum NotificationPermissionType {\n orderNPACFailedRequests = \"TN SV Request Failed\",\n newPortOutRequestReceived = \"New TN Port-Out SV\",\n orderNPACSvUpdated = \"TN SV Updates\",\n general = \"General\"\n}\n","import React, { useState, FormEvent, useEffect, useContext } from \"react\";\nimport { Modal, Form, Button, Row, Label } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { Errors, HasErrors, AddError } from \"components/framework/errorHandling/ErrorUtil\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { ManageAction } from \"../types/ManageAction\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { NotificationModel, DefaultNotificationModel } from \"../types/NotificationModel\";\nimport { SubscriptionModel } from \"../types/SubscriptionModel\";\nimport { NotificationDto } from \"services/apis/types/webhooks/NotificationDto\";\nimport { WebhookApi } from \"services/apis/WebhookApi\";\nimport { SubscriptionDto } from \"services/apis/types/webhooks/SubscriptionDto\";\nimport { NotificationContext } from \"./NotificationList\";\nimport InputError from \"components/framework/errorHandling/InputError\";\nimport { NotificationType } from \"../types/NotificationType\";\nimport { isEmail } from \"services/util/StringUtil\";\nimport { NotificationPermissionType } from \"../types/NotificationPermissionType\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n notificationId?: string;\n notificationType: NotificationType;\n manageAction: ManageAction;\n};\n\nexport default function NotificationModal(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [notificationModel, setNotificationModel] = useState(\n props.notificationId\n ? { ...DefaultNotificationModel, id: props.notificationId }\n : DefaultNotificationModel\n );\n const [notificationLoaded, setNotificationLoaded] = useState(props.notificationId ? false : true);\n const [subscriptions, setSubscriptions] = useState();\n const [subscriptionsLoaded, setSubscriptionsLoaded] = useState(false);\n const [showSaveLoadingIndicator, setShowSaveLoadingIndicator] = useState(false);\n const notificationContext = useContext(NotificationContext);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n useEffect(() => {\n if (props.notificationId) {\n WebhookApi.details(props.notificationId)\n .then((notification) => {\n if (isMounted) {\n setNotificationModel((prev) => getNotificationModelWithDetails(prev, notification));\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setNotificationLoaded(true);\n }\n });\n }\n }, [isMounted, props.notificationId]);\n\n useEffect(() => {\n WebhookApi.getSubscriptions()\n .then((subscriptions) => {\n if (isMounted) {\n setSubscriptions(subscriptions);\n }\n })\n .catch((error) => {\n handleError(error);\n props.closeModal();\n });\n }, [isMounted, props]);\n\n useEffect(() => {\n if (subscriptions && notificationLoaded) {\n setNotificationModel((prev) => getNotificationModelWithSubscriptions(subscriptions, prev));\n setSubscriptionsLoaded(true);\n }\n }, [subscriptions, notificationLoaded]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const errors = validate(notificationModel, props.notificationType);\n\n if (HasErrors(errors)) {\n setErrors(errors);\n } else {\n setShowSaveLoadingIndicator(true);\n const notificationDto: NotificationDto = {\n name: notificationModel.name,\n uri:\n props.notificationType === NotificationType.Webhook\n ? notificationModel.uri\n : `mailto:${notificationModel.uri}`,\n subscriptions: notificationModel.subscriptions\n .filter((x) => x.checked)\n .map((x) => x.subscriptionDto)\n };\n\n if (props.manageAction === ManageAction.Add) {\n WebhookApi.create(notificationDto)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id:\n props.notificationType === NotificationType.Webhook\n ? \"notifications.edit.webhookCreateSuccessNotificationMessage\"\n : \"notifications.edit.emailSubscriptionCreateSuccessNotificationMessage\"\n }),\n undefined,\n true\n );\n notificationContext.notificationCallback();\n props.closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowSaveLoadingIndicator(false);\n }\n });\n } else if (props.notificationId) {\n WebhookApi.modify(props.notificationId, notificationDto)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({\n id:\n props.notificationType === NotificationType.Webhook\n ? \"notifications.edit.webhookModifySuccessNotificationMessage\"\n : \"notifications.edit.emailSubscriptionModifySuccessNotificationMessage\"\n })\n );\n notificationContext.notificationCallback();\n props.closeModal();\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowSaveLoadingIndicator(false);\n }\n });\n }\n }\n };\n\n const subscriptionToggleHandler = (subscriptionDto: SubscriptionDto, checked: boolean) => {\n setNotificationModel((prevState) => {\n const stateSubscription = prevState.subscriptions.find(\n (x) =>\n x.subscriptionDto.event === subscriptionDto.event &&\n x.subscriptionDto.spId === subscriptionDto.spId\n );\n if (stateSubscription) {\n stateSubscription.checked = checked;\n }\n return { ...prevState };\n });\n };\n\n const modalTitle = intl.formatMessage({\n id: !props.notificationId\n ? props.notificationType === NotificationType.Webhook\n ? \"notifications.edit.webhookCreateModalTitle\"\n : \"notifications.edit.emailSubscriptionCreateModalTitle\"\n : props.notificationType === NotificationType.Webhook\n ? \"notifications.edit.webhookModifyModalTitle\"\n : \"notifications.edit.emailSubscriptionModifyModalTitle\"\n });\n\n return (\n \n \n
    \n
    {modalTitle}
    \n \n
    \n
    handleSubmit(e)}>\n
    \n {!notificationLoaded || !subscriptionsLoaded ? (\n \n ) : (\n <>\n
    \n \n \n setNotificationModel({\n ...notificationModel,\n name: value\n })\n }\n errorHandler={getErrorHandler(nameOf(\"name\"))}\n />\n \n \n \n setNotificationModel({\n ...notificationModel,\n uri: value\n })\n }\n errorHandler={getErrorHandler(nameOf(\"uri\"))}\n />\n \n
    \n {notificationModel.subscriptions.length > 0 && (\n
    \n {Array.from(\n new Set(notificationModel.subscriptions.map((x) => x.subscriptionDto.spId))\n ).map((group) => (\n
    \n
    \n {group !== NotificationPermissionType.general &&\n notificationModel.subscriptions\n .filter(\n (subscriptionModel) => subscriptionModel.subscriptionDto.spId === group\n )\n .some(\n (subscriptionModel) =>\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACFailedRequests ||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.newPortOutRequestReceived ||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACSvUpdated) && (\n \n )}\n {notificationModel.subscriptions\n .filter(\n (subscriptionModel) => subscriptionModel.subscriptionDto.spId === group\n )\n .map((subscriptionModel) => (\n
    \n {(subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACFailedRequests ||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.newPortOutRequestReceived||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACSvUpdated) &&\n \n subscriptionToggleHandler(\n subscriptionModel.subscriptionDto,\n checked\n )\n }\n checked={subscriptionModel.checked}\n />\n }\n
    \n ))}\n {group !== NotificationPermissionType.general &&\n \n }\n {notificationModel.subscriptions\n .filter(\n (subscriptionModel) => subscriptionModel.subscriptionDto.spId === group\n )\n .map((subscriptionModel) => (\n
    \n {!(subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACFailedRequests ||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.newPortOutRequestReceived||\n subscriptionModel.subscriptionDto.event === NotificationPermissionType.orderNPACSvUpdated) && \n \n subscriptionToggleHandler(\n subscriptionModel.subscriptionDto,\n checked\n )\n }\n checked={subscriptionModel.checked}\n />\n }\n
    \n ))}\n
    \n ))}\n \n
    \n )}\n \n )}\n
    \n
    \n \n \n {showSaveLoadingIndicator && }\n \n \n
    \n \n
    \n \n );\n}\n\nconst validate = (notificationModel: NotificationModel, notificationType: NotificationType) => {\n const errors: Errors = {};\n\n if (!notificationModel.name) {\n AddError(errors, nameOf(\"name\"), \"notifications.edit.name.requiredError\");\n }\n\n if (!notificationModel.uri) {\n AddError(\n errors,\n nameOf(\"uri\"),\n notificationType === NotificationType.Webhook\n ? \"notifications.edit.url.requiredError\"\n : \"notifications.edit.email.requiredError\"\n );\n } else if (\n notificationType === NotificationType.EmailSubscription &&\n !isEmail(notificationModel.uri)\n ) {\n AddError(errors, nameOf(\"uri\"), \"notifications.edit.email.invalid\");\n }\n\n return errors;\n};\n\nconst getNotificationModelWithDetails = (\n prev: NotificationModel,\n notificationDto: NotificationDto\n): NotificationModel => {\n return {\n ...prev,\n name: notificationDto.name,\n uri: notificationDto.uri,\n subscriptions:\n notificationDto.subscriptions?.map((x) => {\n return { subscriptionDto: x, checked: true };\n }) ?? []\n };\n};\n\nconst getNotificationModelWithSubscriptions = (\n subscriptions: SubscriptionDto[],\n prev: NotificationModel\n) => {\n let resultSubscriptions = subscriptions.map(\n (subscription): SubscriptionModel => {\n let stateSubscription = prev.subscriptions.find(\n (x) =>\n x.subscriptionDto.event === subscription.event &&\n x.subscriptionDto.spId === subscription.spId\n );\n return stateSubscription\n ? stateSubscription\n : {\n subscriptionDto: subscription,\n checked: false\n };\n }\n );\n return {\n ...prev,\n subscriptions: resultSubscriptions\n };\n};\n","import React, { useState } from \"react\";\nimport NotificationModal from \"./NotificationModal\";\nimport { ManageAction } from \"../types/ManageAction\";\nimport { NotificationListItemDto } from \"services/apis/types/webhooks/NotificationListItemDto\";\nimport { NotificationType } from \"../types/NotificationType\";\nimport { isEmail } from \"services/util/StringUtil\";\n\ntype Props = {\n notification: NotificationListItemDto;\n};\n\nexport default function NotificationNameCell(props: Props) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <>\n {\n e.preventDefault();\n setShowModal(true);\n }}>\n {props.notification.name}\n \n {showModal && (\n setShowModal(false)}\n notificationId={props.notification.connectionId}\n notificationType={\n isEmail(props.notification.uri)\n ? NotificationType.EmailSubscription\n : NotificationType.Webhook\n }\n manageAction={ManageAction.Modify}\n />\n )}\n \n );\n}\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { WebhookApi } from \"services/apis/WebhookApi\";\nimport { NotificationContext } from \"./NotificationList\";\n\ntype Props = {\n id: string;\n notificationName: string;\n closeModal: () => void;\n};\n\nexport default function NotificationDeleteConfirmationModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const notificationContext = useContext(NotificationContext);\n const isMounted = useIsMounted();\n\n const handleDelete = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n WebhookApi.delete(props.id)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"notifications.delete.deleteNotification\" }));\n if (isMounted.current) {\n notificationContext.notificationCallback();\n props.closeModal();\n }\n })\n .catch((error) => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { WebhookApi } from \"services/apis/WebhookApi\";\nimport { NotificationContext } from \"./NotificationList\";\n\ntype Props = {\n id: string;\n notificationName: string;\n closeModal: () => void;\n};\n\nexport default function NotificationPauseConfirmationModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const notificationContext = useContext(NotificationContext);\n const isMounted = useIsMounted();\n\n const handlePause = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n WebhookApi.suspend(props.id)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"notifications.pause.pauseNotification\" }));\n if (isMounted.current) {\n notificationContext.notificationCallback();\n props.closeModal();\n }\n })\n .catch((error) => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React, { useState } from \"react\";\nimport NotificationPauseConfirmationModal from \"./NotificationPauseConfirmationModal\";\nimport { NotificationListItemDto } from \"services/apis/types/webhooks/NotificationListItemDto\";\n\ntype Props = { notificationDto: NotificationListItemDto };\n\nexport default function NotificationPauseAction(props: Props) {\n const [showPauseModal, setShowPauseModal] = useState(false);\n\n return (\n <>\n setShowPauseModal(true)}\n data-toggle=\"tooltip\"\n data-placement=\"top\"\n title=\"Pause\"\n />\n {showPauseModal && (\n setShowPauseModal(false)}\n />\n )}\n \n );\n}\n","import React, { useState, useContext } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleFieldErrors } from \"services/util/ApiUtil\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { WebhookApi } from \"services/apis/WebhookApi\";\nimport { NotificationContext } from \"./NotificationList\";\n\ntype Props = {\n id: string;\n notificationName: string;\n closeModal: () => void;\n};\n\nexport default function NotificationResumeConfirmationModal(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const notificationContext = useContext(NotificationContext);\n const isMounted = useIsMounted();\n\n const handleResume = () => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n }\n\n WebhookApi.resume(props.id)\n .then(() => {\n showInfoNotification(intl.formatMessage({ id: \"notifications.resume.resumeNotification\" }));\n if (isMounted.current) {\n notificationContext.notificationCallback();\n props.closeModal();\n }\n })\n .catch((error) => handleFieldErrors(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n return (\n \n

    \n \n

    \n \n );\n}\n","import React, { useState } from \"react\";\nimport { NotificationListItemDto } from \"services/apis/types/webhooks/NotificationListItemDto\";\nimport NotificationResumeConfirmationModal from \"./NotificationResumeConfirmationModal\";\n\ntype Props = { notificationDto: NotificationListItemDto };\n\nexport default function NotificationResumeAction(props: Props) {\n const [showResumeModal, setShowResumeModal] = useState(false);\n\n return (\n <>\n setShowResumeModal(true)}\n data-toggle=\"tooltip\"\n data-placement=\"top\"\n title=\"Resume\"\n />\n {showResumeModal && (\n setShowResumeModal(false)}\n />\n )}\n \n );\n}\n","import React, { useState } from \"react\";\nimport NotificationDeleteConfirmationModal from \"./NotificationDeleteConfirmationModal\";\nimport { NotificationListItemDto } from \"services/apis/types/webhooks/NotificationListItemDto\";\nimport ActionDropdown from \"components/networkExplorer/common/ActionDropdown\";\nimport ActionDropdownItem from \"components/networkExplorer/common/ActionDropdownItem\";\nimport NotificationPauseAction from \"./NotificationPauseAction\";\nimport NotificationResumeAction from \"./NotificationResumeAction\";\n\ntype Props = {\n notificationDto: NotificationListItemDto;\n};\n\nexport default function NotificationActionsCell(props: Props) {\n const [showDeleteModal, setShowDeleteModal] = useState(false);\n const [actionsOpen, setActionsOpen] = useState(false);\n\n return (\n <>\n setActionsOpen((prevState) => !prevState)}>\n setShowDeleteModal(true)}\n iconClassName=\"fa fa-trash-alt\"\n labelId=\"notifications.table.actions.delete\"\n />\n \n {showDeleteModal && (\n setShowDeleteModal(false)}\n />\n )}\n \n {props.notificationDto.enabled ? (\n \n ) : (\n \n )}\n \n \n );\n}\n","export enum NotificationStatus {\n Active = \"Active\",\n Paused = \"Paused\"\n}\n","import React, { useState, useEffect, useMemo } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty, truncateAndAppendEllipsis } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { NotificationListItemDto } from \"services/apis/types/webhooks/NotificationListItemDto\";\nimport { WebhookApi } from \"services/apis/WebhookApi\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport NotificationNameCell from \"./NotificationNameCell\";\nimport NotificationActionsCell from \"./NotificationActionsCell\";\nimport { NotificationStatus } from \"services/apis/types/webhooks/NotificationStatus\";\n\ntype Props = {\n triggerRefresh: boolean;\n searchValue: string;\n};\n\nexport default function NotificationTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [notifications, setNotifications] = useState();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const columns = useMemo(() => getColumns(intl), [intl]);\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n\n WebhookApi.list(props.searchValue)\n .then((result) => {\n if (isMounted) {\n setNotifications(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [isMounted, props.triggerRefresh, props.searchValue]);\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"notifications.table.name\" }),\n accessor: nameOf(\"name\"),\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"notifications.table.url\" }),\n accessor: nameOf(\"uri\"),\n Cell: (cell: any) => (\n \n {truncateAndAppendEllipsis(cell.cell.value)}\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"notifications.table.status\" }),\n accessor: nameOf(\"enabled\"),\n Cell: (cell: any) => (cell.cell.value ? NotificationStatus.Active : NotificationStatus.Paused)\n },\n {\n Header: intl.formatMessage({ id: \"notifications.table.creationDate\" }),\n accessor: \"createdDate\",\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"notifications.table.actions\" }),\n accessor: \"actions\",\n Cell: (cell: any) => \n }\n];\n\nconst filterMapper = (notification: NotificationListItemDto) => {\n return {\n ...notification,\n enabled: notification.enabled ? NotificationStatus.Active : NotificationStatus.Paused,\n createdDate: getFormattedUtcDate(notification.createdDate)\n };\n};\n","import React, { useContext, useState } from \"react\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {\n Container,\n Row,\n Col,\n Dropdown,\n DropdownToggle,\n DropdownMenu\n} from \"reactstrap\";\nimport Authorize from \"components/framework/authorization/Authorize\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport NotificationTable from \"./NotificationTable\";\nimport NotificationModal from \"./NotificationModal\";\nimport { ManageAction } from \"../types/ManageAction\";\nimport { NotificationType } from \"../types/NotificationType\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\ntype NotificationContext = {\n notificationCallback: () => void;\n};\n\nexport const NotificationContext = React.createContext({\n notificationCallback: () => {}\n});\n\nexport default function NotificationList() {\n const [showDropdown, setShowDropdown] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [notificationType, setNotificationType] = useState();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n\n const handleCreateDropdownItemButtonClick = (notificationType: NotificationType) => {\n setShowModal(true);\n setShowDropdown(false);\n setNotificationType(notificationType);\n };\n\n const notificationContext: NotificationContext = {\n notificationCallback: () => {\n setTriggerRefresh((prev) => !prev);\n }\n };\n\n return (\n \n \n \n \n \n \n \n

    \n \n \n

    \n \n \n \n
    \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NotificationType.Webhook)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(NotificationType.EmailSubscription)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n
    \n
    \n \n
    \n
    \n \n \n {showModal && notificationType && (\n setShowModal(false)}\n />\n )}\n \n
    \n );\n}\n","import { PortStatistic } from \"./PortStatistic\";\n\nexport type ReportDto = {\n exploreCount: number;\n cnamCount: number;\n historyCount: number;\n portInCount: number;\n portInData: PortStatistic[];\n portOutCount: number;\n portOutData: PortStatistic[];\n portInPortControlCount: number;\n portOutPortControlCount: number;\n};\n\nexport const DefaultReportDto: ReportDto = {\n exploreCount: 0,\n cnamCount: 0,\n historyCount: 0,\n portInCount: 0,\n portInData: [],\n portOutCount: 0,\n portOutData: [],\n portInPortControlCount: 0,\n portOutPortControlCount: 0\n};\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ReportDto } from \"./types/reports/ReportDto\";\nimport { ExportDto } from \"./types/reports/ExportDto\";\nimport { BillingTransactionsDto } from \"./types/reports/BillingTransactionsDto\";\nimport queryString from \"query-string\";\nimport { PendingReportsDto } from \"./types/reports/PendingReportsDto\";\n\nexport const ReportsApi = {\n overview: (): Promise => {\n return HttpClient.get(`report`, true, true);\n },\n\n export: (from: Date, to: Date): Promise => {\n let url = queryString.stringifyUrl({\n url: \"report/transactions\",\n query: {\n from: from.toISOString(),\n to: to.toISOString()\n }\n });\n\n return HttpClient.get(url, true, true);\n },\n\n getInvoice: (from: Date, to: Date): Promise => {\n\n let url = queryString.stringifyUrl({\n url: \"invoice\",\n query: {\n from: from.toISOString(),\n to: to.toISOString()\n }\n });\n\n return HttpClient.get(url, true, true);\n },\n\n getPendingReports: (): Promise => {\n return HttpClient.get('report/pending-orders', true, true);\n }\n};\n","import React from \"react\";\nimport { Card, CardBody, Row, Col, CardTitle } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport classNames from \"classnames\";\n\ntype Props = {\n count: number;\n titeTranslationId: string;\n descriptionTranslationId?: string;\n iconClass: string;\n iconBackgroundColor: string;\n};\n\nexport default function CountCard(props: Props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n {props.count}\n {props.descriptionTranslationId && (\n

    \n \n \n \n

    \n )}\n \n
    \n
    \n
    \n );\n}","import React from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport { ReportDto } from \"services/apis/types/reports/ReportDto\";\nimport CountCard from \"../common/countCard/CountCard\";\n\ntype Props = {\n reportDto: ReportDto;\n};\n\nexport default function CountsCards(props: Props) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","import React, { useEffect, useRef, useMemo } from \"react\";\nimport Chart from \"chart.js\";\nimport { ReportDto } from \"services/apis/types/reports/ReportDto\";\nimport moment from \"moment\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { PortStatistic } from \"services/apis/types/reports/PortStatistic\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { AppConfiguration } from \"AppConfiguration\";\n\ntype Props = {\n reportDto: ReportDto;\n};\n\nexport default function PortedNumbersChart(props: Props) {\n const intl = useIntl();\n const chartRef = useRef();\n\n const days = useMemo(() => Array.from(Array(moment().toDate().getDate()), (_, i) => i + 1), []);\n const portInData = useMemo(() => getChartLineData(props.reportDto.portInData, days), [\n days,\n props.reportDto.portInData\n ]);\n const portOutData = useMemo(() => getChartLineData(props.reportDto.portOutData, days), [\n days,\n props.reportDto.portOutData\n ]);\n\n useEffect(() => {\n if (chartRef.current) {\n const ctx = chartRef.current.getContext(\"2d\");\n new Chart(ctx, getChartOptions(intl, days, portInData, portOutData));\n }\n }, [days, intl, portInData, portOutData]);\n\n return (\n
    \n \n
    \n );\n}\n\nconst getChartLineData = (portStatistics: PortStatistic[], days: number[]) => {\n return days.map((x) => {\n const chartPoint = portStatistics.find((y) => getUtcDate(y.date).toDate().getDate() === x);\n\n return chartPoint ? chartPoint.count : 0;\n });\n};\n\nconst getDataSet = (data: number[], label: string, color: string): Chart.ChartDataSets => {\n return {\n fill: false,\n data: data,\n label: label,\n borderColor: color,\n borderWidth: 3,\n backgroundColor: color\n };\n};\n\nconst getChartOptions = (\n intl: IntlShape,\n days: number[],\n portInData: number[],\n portOutData: number[]\n): Chart.ChartConfiguration => {\n return {\n type: \"line\",\n data: {\n labels: [...days.map((x) => x.toString())],\n datasets: [\n getDataSet(portInData, intl.formatMessage({ id: \"reports.chart.portInLabel\" }), \"blue\"),\n getDataSet(portOutData, intl.formatMessage({ id: \"reports.chart.portOutLabel\" }), \"orange\")\n ]\n },\n options: {\n tooltips: {\n mode: \"label\",\n position: \"nearest\",\n enabled: true,\n titleAlign: \"center\",\n callbacks: {\n title: (item, data) => {\n return data.labels\n ? moment()\n .startOf(\"month\")\n .add(data.labels.find((x) => x === item[0].label) as string, \"days\")\n .add(-1, \"days\")\n .format(AppConfiguration.dateFormat)\n : \"\";\n }\n }\n },\n responsive: true,\n maintainAspectRatio: false,\n legend: { display: false },\n scales: {\n yAxes: [\n {\n ticks: {\n beginAtZero: true\n }\n }\n ],\n xAxes: [\n {\n gridLines: {\n display: false\n }\n }\n ]\n }\n }\n };\n};\n","import React from \"react\";\nimport { Row, Col, Card, CardHeader, CardBody } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\nimport PortedNumbersChart from \"./PortedNumbersChart\";\nimport { ReportDto } from \"services/apis/types/reports/ReportDto\";\n\ntype Props = {\n reportDto: ReportDto;\n};\n\nexport default function PortedNumbersChartCard(props: Props) {\n return (\n \n \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n \n \n
    \n \n
    \n );\n}\n","import { Moment } from \"moment\";\nimport { getUtcDate, getUtcDateFirstDayOfMonth } from \"services/util/DateUtil\";\n\nexport type ExportModel = {\n from: Moment;\n to: Moment;\n};\n\nexport const DefaultExportModel: ExportModel = {\n from: getUtcDateFirstDayOfMonth(),\n to: getUtcDate()\n};\n","import { getUtcDate } from \"services/util/DateUtil\";\n\nexport type ExportDto = {\n emailAddress: string;\n spId: string;\n productType: string;\n activity: string;\n direction: string;\n modality: string;\n transactionCount: number;\n transactionDate: Date;\n};\n\nexport const DefaultExportDto: ExportDto = {\n emailAddress: \"\",\n spId: \"\",\n productType: \"\",\n activity: \"\",\n direction: \"\",\n modality: \"\",\n transactionCount: 0,\n transactionDate: getUtcDate().toDate()\n};\n\nexport type ExportActiveTnsDto = {\n phoneNumber: string;\n returnedDate: string;\n returnedSpid: string;\n}\n\nexport const DefaultExportActiveTnsDto: ExportActiveTnsDto = {\n phoneNumber: \"\",\n returnedDate: \"\",\n returnedSpid: \"\",\n}\n","import { getUtcDate } from \"services/util/DateUtil\";\n\nexport type PortingReportDto = {\n adminProjectId: string,\n tn: string;\n date: Date;\n time: Date;\n direction: string;\n gainingSpid: string;\n losingSpid: string;\n};\n\nexport const DefaultExportDto: PortingReportDto = {\n adminProjectId: \"\",\n tn: \"\",\n date: getUtcDate().toDate(),\n time: getUtcDate().toDate(),\n direction: \"\",\n gainingSpid: \"\",\n losingSpid: \"\",\n};\n\nexport type ExportPortingReportDto = {\n tn: string;\n date: \"\";\n time: \"\";\n direction: string;\n gainingSpid: string;\n losingSpid: string;\n}\n\nexport const DefaultExportPortingReportDto: ExportPortingReportDto = {\n tn: \"\",\n date: \"\",\n time: \"\",\n direction: \"\",\n gainingSpid: \"\",\n losingSpid: \"\",\n}\n","import { Row, Col, Card, CardHeader, CardTitle, CardBody, Button, Label } from \"reactstrap\";\nimport React, { useState, useRef, useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { Moment } from \"moment\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { ExportModel, DefaultExportModel } from \"./types/ExportModel\";\nimport { CSVLink } from \"react-csv\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { ExportDto, DefaultExportDto, ExportActiveTnsDto, DefaultExportActiveTnsDto } from \"services/apis/types/reports/ExportDto\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ReportsApi } from \"services/apis/ReportsApi\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport DropdownInput from \"components/framework/forms/DropdownInput\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { OrderApi } from \"services/apis/OrderApi\";\nimport { DefaultExportPortingReportDto, ExportPortingReportDto } from \"services/apis/types/reports/PortingReportDto\";\nimport { report } from \"process\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function ExportCard() {\n const { setErrors, getErrorHandler } = useErrors();\n const [showExportLoadingIndicator, setShowExportLoadingIndicator] = useState(false);\n const [exportModel, setExportModel] = useState(DefaultExportModel);\n const [exportDtos, setExportDtos] = useState([]);\n const [exportActiveTnsDtos, setExportActiveTnsDtos] = useState([])\n const [exportPortingReportDtos, setExportPortingReportDtos] = useState([])\n const isMounted = useIsMounted();\n const csvRef = useRef();\n const [reportType, setReportType] = useState(\"activity\");\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const reportTypeOptions = [{ key: \"Activity\", value: \"activity\" }, { key: \"Returned Tns\", value: \"returnedTns\" }, { key: \"Porting Report\", value: \"portingReport\" } ]\n\n\n const handleExportClick = (reportType) => {\n switch (reportType) {\n case \"activity\":\n handleExport();\n break;\n case \"returnedTns\":\n handleActiveTnsExport();\n break;\n case \"portingReport\":\n handlePortingReport();\n break;\n default:\n // Handle the case when reportType doesn't match any options\n break;\n }\n };\n const handleExport = () => {\n setShowExportLoadingIndicator(true);\n\n ReportsApi.export(exportModel.from.toDate(), exportModel.to.toDate())\n .then((result) => {\n if (isMounted.current) {\n setExportDtos(result); \n csvRef.current.link.click();\n }\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowExportLoadingIndicator(false);\n }\n });\n };\n\n const handleActiveTnsExport = () => {\n setShowExportLoadingIndicator(true);\n PortApi.getpooledblocktnsbyreturnstospid(exportModel.from.toDate(), exportModel.to.toDate())\n .then((result) => {\n if (isMounted.current) {\n setExportActiveTnsDtos(result);\n csvRef.current.link.click();\n }\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowExportLoadingIndicator(false);\n }\n });\n }\n\n const handlePortingReport = () => {\n setShowExportLoadingIndicator(true);\n OrderApi.portingReport(exportModel.from.toDate(), exportModel.to.toDate())\n .then((result) => {\n if (isMounted.current) {\n setExportPortingReportDtos(result);\n csvRef.current.link.click();\n }\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowExportLoadingIndicator(false);\n }\n });\n }\n\n const getCsvActionData = (reportType) => {\n switch (reportType) {\n case \"activity\":\n return getCsvData(exportDtos);\n case \"returnedTns\":\n return getActiveTnsCsvData(exportActiveTnsDtos);\n case \"portingReport\":\n return getPortingReport(exportPortingReportDtos);\n default:\n // Handle the case when reportType doesn't match any options\n return ''; // Return a default value (an empty string) or handle it as needed\n }\n }\n\n const reportFileNames = (reportType) => {\n switch (reportType) {\n case \"activity\":\n return `transactions-${exportModel.from.format(\n AppConfiguration.dateFormat\n )}-${exportModel.to.format(AppConfiguration.dateFormat)}.csv`;\n case \"returnedTns\":\n return `returned Tns-${exportModel.from.format(\n AppConfiguration.dateFormat\n )}-${exportModel.to.format(AppConfiguration.dateFormat)}.csv`;\n case \"portingReport\":\n return `Porting Reports-${exportModel.from.format(\n AppConfiguration.dateFormat\n )}-${exportModel.to.format(AppConfiguration.dateFormat)}.csv`;\n default:\n // Handle the case when reportType doesn't match any options\n return ''; // Return a default value (an empty string) or handle it as needed\n }\n }\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n { setReportType(e.target.value) }}\n value={reportType}\n options={reportTypeOptions}\n />\n
    \n \n \n \n setExportModel({ ...exportModel, from: value })\n }\n errorHandler={getErrorHandler(nameOf(\"from\"))}\n />\n \n \n \n setExportModel({ ...exportModel, to: value })\n }\n errorHandler={getErrorHandler(nameOf(\"to\"))}\n />\n \n \n \n handleExportClick(reportType)}\n className={`ml-auto ${theme === \"light\" ? \"bg-lblue no-border\" : \"\"}`}\n disabled={showExportLoadingIndicator}>\n {showExportLoadingIndicator && }\n \n \n \n
    \n
    \n
    \n \n
    \n );\n}\n\nconst getCsvData = (exportDtos: ExportDto[]) => {\n return exportDtos.length > 0\n ? exportDtos.map((x) => {\n return {\n ...x,\n transactionDate: getUtcDate(x.transactionDate).format(AppConfiguration.fullDateFormat)\n };\n })\n : [{ ...DefaultExportDto, transactionCount: \"\", transactionDate: \"\" }];\n};\n\nconst getActiveTnsCsvData = (exportDtos: ExportActiveTnsDto[]) => {\n return exportDtos.length > 0\n ? exportDtos.map((x) => {\n return {\n ...x\n };\n })\n : [{ ...DefaultExportActiveTnsDto}];\n}\n\nconst getPortingReport = (exportDtos: ExportPortingReportDto[]) => {\n return exportDtos.length > 0\n ? exportDtos.map((x) => {\n return {\n ...x\n };\n })\n : [{ ...DefaultExportPortingReportDto}];\n}\n\n","import React, { useEffect, useState, useContext } from \"react\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { DefaultReportDto, ReportDto } from \"services/apis/types/reports/ReportDto\";\nimport { ReportsApi } from \"services/apis/ReportsApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Container } from \"reactstrap\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport CountsCards from \"./CountsCards\";\nimport PortedNumbersChartCard from \"./PortedNumbersChartCard\";\nimport ExportCard from \"./ExportCard\";\n\nexport default function Reports() {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [reportDtoLoaded, setReportDtoLoaded] = useState(false);\n const [reportDto, setReportDto] = useState(DefaultReportDto);\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n ReportsApi.overview()\n .then((result) => {\n if (isMounted) {\n setReportDto(result);\n setReportDtoLoaded(true);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [isMounted, appContext.localStorageInfo.selectedProfile]);\n\n return (\n <>\n \n \n \n \n {showLoadingIndicator ? (\n \n ) : (\n <>\n \n {reportDtoLoaded && }\n \n \n )}\n \n \n );\n}\n","import React from \"react\";\nimport { Button } from \"reactstrap\";\nimport { FormattedMessage } from \"react-intl\";\n\ntype Props = {\n closeToast?: () => void;\n closeNotificationCallback: () => void;\n};\n\nexport default function NotificationReloadButtons(props: Props) {\n const onCancel = () => {\n props.closeNotificationCallback();\n\n if (props.closeToast) {\n props.closeToast();\n }\n };\n\n return (\n <>\n \n \n \n );\n}\n","import { toast, ToastOptions } from \"react-toastify\";\nimport React from \"react\";\nimport NotificationReloadButtons from \"components/framework/notification/NotificationReloadButtons\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\n\nexport const versionChanged = async () => {\n let versionChanged = false;\n await fetch(\"manifest.json\", { method: \"GET\" }).then((x: any) => {\n if (\n process.env.REACT_APP_BUILD &&\n x.version !== undefined &&\n x.version !== process.env.REACT_APP_BUILD\n ) {\n versionChanged = true;\n }\n });\n\n return versionChanged;\n};\n\nexport const displayVersionNotification = (\n message: string,\n closeNotificationCallback: () => void\n) => {\n const toastOptions: ToastOptions = {\n autoClose: false,\n draggable: false,\n position: toast.POSITION.BOTTOM_CENTER,\n closeButton: (\n \n ),\n className: \"rounded text-white bg-info text-sm p-3 pc-min-width-550\"\n };\n\n showInfoNotification(message, toastOptions);\n};\n","import { useIntl } from \"react-intl\";\nimport { useEffect } from \"react\";\nimport { versionChanged, displayVersionNotification } from \"services/portControl/VersionService\";\nimport React from \"react\";\n\nexport default function VersionChecker() {\n const intl = useIntl();\n useEffect(() => {\n let notificationDisplayed = false;\n const interval = setInterval(async () => {\n if (!notificationDisplayed && (await versionChanged())) {\n notificationDisplayed = true;\n displayVersionNotification(\n intl.formatMessage({ id: \"framework.notifications.version.message\" }),\n () => {\n notificationDisplayed = false;\n }\n );\n }\n }, 1000 * 60 * 30);\n\n return () => clearInterval(interval);\n }, [intl]);\n return <>;\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { WorkStatisticsDto } from \"./types/workQueue/WorkStatisticsDto\";\nimport { WorkItemDto } from \"./types/workQueue/WorkItemDto\";\n\nexport const WorkQueueApi = {\n list: (searchValue: string): Promise => {\n return HttpClient.get(`work/?search=${searchValue}`, true, true);\n },\n\n statistics: (): Promise => {\n return HttpClient.get(`work/statistics`);\n }\n};\n","import React, { useMemo, useState, useEffect, useCallback, useContext } from \"react\";\nimport { useIntl, IntlShape } from \"react-intl\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty, undefinedIfEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport DateRangeColumnFilter, {\n dateRangefilterFunction\n} from \"components/framework/table/DateRangeColumnFilter\";\nimport { WorkItemDto } from \"services/apis/types/workQueue/WorkItemDto\";\nimport { WorkQueueApi } from \"services/apis/WorkQueueApi\";\nimport { OrderActionCell } from \"components/common/actions/OrderActionCell\";\nimport { getFormattedUtcDate } from \"services/util/DateUtil\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport OrderLink from \"components/orders/ordersList/orderTable/OrderLink\";\nimport { getNumberStatus } from \"services/apis/types/order/NumberStatus\";\nimport ColumnsCustomViewSettings from \"components/framework/table/ColumnsCustomViewSettings\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { WorkQueueTableColumnIdentifiers } from \"./types/WorkQueueTableColumnIdentifiers\";\nimport { DataTableColumn } from \"components/framework/table/types/DataTableColumn\";\nimport RestoreTableColumnFilter, { restoreTableColumnFilterFunction } from \"components/framework/table/RestoreTableColumnFilter\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n search: string;\n onToggleRefresh: any;\n};\n\nexport default function WorkQueueTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [workItems, setWorkItems] = useState();\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const { onToggleRefresh } = props;\n const dueDateFilter = useCallback(dateRangefilterFunction, [dateRangefilterFunction]);\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => {\n onToggleRefresh(x); // Call the callback with the current state value\n return !x;\n });\n }\n }, [isMounted, onToggleRefresh]);\n const updateAndSetWorkItems = useCallback((workItems: WorkItemDto[]) => {\n workItems.forEach(o => { \n o.status = getNumberStatus(o.status); \n \n // id will be used as an extra field when exporting data\n o.id = undefinedIfEmpty(o.projectId) ?? o.orderId}); \n setWorkItems(workItems);\n }, []);\n\n const columns = useMemo(\n () => getColumns(intl, dueDateFilter, toggleRefresh, theme),\n [intl, dueDateFilter, toggleRefresh, theme]\n );\n\n const exportColumns = useMemo(()=> {\n var updColumns = [...columns];\n \n updColumns.splice(columns.findIndex(c=> c.accessor === WorkQueueTableColumnIdentifiers.Actions), 1);\n\n var idColumn = updColumns.find(c=> c.accessor === WorkQueueTableColumnIdentifiers.ProjectId);\n if (idColumn) {\n idColumn.accessor = WorkQueueTableColumnIdentifiers.Id;\n idColumn.identifier = WorkQueueTableColumnIdentifiers.Id;\n }\n \n return updColumns;\n \n },[columns]\n );\n\n const customViewSettingsColumnsMap = useMemo(()=> {\n return columns.map(c=> {\n return {\n accessor : c.accessor,\n identifier: c.identifier,\n notConfigurable: c.notConfigurable,\n Header: c.Header\n } as DataTableColumn\n });\n },[columns])\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n WorkQueueApi.list(props.search.toUpperCase())\n .then((result) => {\n if (isMounted) {\n updateAndSetWorkItems(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh, props.search]);\n\n return (\n <>\n {showLoadingIndicator ? (\n \n ) : (\n <>\n {workItems && (\n \n }\n filterMapper={filterMapper} \n isWorkQueueTable=\"true\"\n />\n )}\n \n )}\n \n );\n}\n\nconst getColumns = (\n intl: IntlShape,\n filter: (x: any, y: any, z: any) => void,\n onActionExecuted: () => void,\n theme: string\n) => [\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.id\" }),\n accessor: WorkQueueTableColumnIdentifiers.ProjectId,\n identifier: WorkQueueTableColumnIdentifiers.ProjectId,\n notConfigurable: true,\n className: \"padding-horizontal-8\",\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.dueDate\" }),\n accessor: WorkQueueTableColumnIdentifiers.DueDate,\n identifier: WorkQueueTableColumnIdentifiers.DueDate,\n className: \"padding-horizontal-8\",\n Filter: DateRangeColumnFilter,\n filter: filter,\n Cell: (cell: any) => (cell.cell.value ? : \"\")\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.type\" }),\n accessor: WorkQueueTableColumnIdentifiers.OrderType,\n identifier: WorkQueueTableColumnIdentifiers.OrderType,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.status\" }),\n accessor: WorkQueueTableColumnIdentifiers.Status,\n identifier: WorkQueueTableColumnIdentifiers.Status,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.organization\" }),\n accessor: WorkQueueTableColumnIdentifiers.Organization,\n identifier: WorkQueueTableColumnIdentifiers.Organization,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.newSpId\" }),\n accessor: WorkQueueTableColumnIdentifiers.GainingSpId,\n identifier: WorkQueueTableColumnIdentifiers.GainingSpId,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.oldSpId\" }),\n accessor: WorkQueueTableColumnIdentifiers.LoosingSpId,\n identifier: WorkQueueTableColumnIdentifiers.LoosingSpId,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.nextWorkDate\" }),\n accessor: WorkQueueTableColumnIdentifiers.NextWorkDate,\n identifier: WorkQueueTableColumnIdentifiers.NextWorkDate,\n className: \"left-datepicker padding-horizontal-8\",\n Filter: DateRangeColumnFilter,\n filter: filter,\n Cell: (cell: any) =>\n cell.cell.value ? (\n \n ) : (\n \"\"\n )\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.assignedTo\" }),\n accessor: WorkQueueTableColumnIdentifiers.WorkedBy,\n identifier: WorkQueueTableColumnIdentifiers.WorkedBy,\n className: \"padding-horizontal-8\",\n Filter: RestoreTableColumnFilter,\n filter: restoreTableColumnFilterFunction,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.tn\" }),\n accessor: WorkQueueTableColumnIdentifiers.NumberCount,\n identifier: WorkQueueTableColumnIdentifiers.NumberCount,\n className: \"padding-horizontal-8\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"workQueue.order.table.creationDate\" }),\n accessor: WorkQueueTableColumnIdentifiers.CreationDate,\n identifier: WorkQueueTableColumnIdentifiers.CreationDate,\n className: \"padding-horizontal-8\",\n Filter: DateRangeColumnFilter,\n filter: filter,\n Cell: (cell: any) => (cell.cell.value ? : \"\")\n },\n {\n Header: intl.formatMessage({ id: \"orders.order.table.actions\" }),\n accessor: WorkQueueTableColumnIdentifiers.Actions,\n identifier: WorkQueueTableColumnIdentifiers.Actions,\n className: \"padding-horizontal-8\",\n Cell: (cell: any) => (\n \n )\n }\n ];\n\nconst filterMapper = (workItemDto: WorkItemDto) => {\n return {\n ...workItemDto,\n projectId: workItemDto.projectId || workItemDto.orderId,\n dueDate: getFormattedUtcDate(workItemDto.dueDate),\n nextWorkDate: getFormattedUtcDate(workItemDto.nextWorkDate),\n numberCount: workItemDto.numberCount.toString()\n };\n};","import React, { useState, useEffect } from \"react\";\nimport { Row, Col } from \"reactstrap\";\nimport CountCard from \"components/common/countCard/CountCard\";\nimport { WorkStatisticsDto } from \"services/apis/types/workQueue/WorkStatisticsDto\";\nimport { WorkQueueApi } from \"services/apis/WorkQueueApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\n\ntype Props = {\n toggleRefreshValue: boolean;\n};\n\nexport default function StatisticsCards(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [statisticsDto, setStatisticsDto] = useState();\n const [statisticsDtoLoaded, setStatisticsDtoLoaded] = useState(false);\n const isMounted = useIsMounted();\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n WorkQueueApi.statistics()\n .then((result) => {\n if (isMounted) {\n setStatisticsDto(result);\n setStatisticsDtoLoaded(true);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n }, [isMounted, props.toggleRefreshValue]);\n\n return (\n <>\n {!statisticsDtoLoaded || showLoadingIndicator ? (\n \n ) : (\n statisticsDto && (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n )}\n \n );\n}","import React, { useState, FormEvent, useContext } from \"react\";\nimport {\n Row,\n Col,\n Container,\n Button,\n Form,\n Input,\n FormGroup,\n InputGroup,\n InputGroupAddon,\n InputGroupText\n} from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport classNames from \"classnames\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport WorkQueueTable from \"./WorkQueueTable\";\nimport StatisticsCards from \"./StatisticsCards\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\nexport default function WorkQueueList() {\n const [, setErrorMessageId] = useState(\"\");\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [searchValue, setSearchValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [toggleRefreshValue, setToggleRefreshValue] = useState(true);\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const errorMessageIdResult = validateSearchValue();\n setErrorMessageId(errorMessageIdResult);\n\n if (!errorMessageIdResult) {\n setSearchValue(inputValue);\n }\n };\n\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n const handleToggleRefresh = (value: boolean) => {\n setToggleRefreshValue(value);\n};\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n

    \n \n \n

    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n \n \n
    \n
    \n \n \n \n \n \n \n \n \n );\n}\n\nconst validateSearchValue = (): string => {\n return \"\";\n};\n","import React, { useCallback, useContext, useEffect, useState } from \"react\";\nimport { useParams, Link, useLocation } from \"react-router-dom\";\nimport { FormattedMessage } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport OrderDetailsContainer from \"components/orders/orderDetails/OrderDetailsContainer\";\nimport { AppContext, GetAppContext } from \"services/appContext/AppContext\";\nimport { useProfileSwitcher } from \"services/customHooks/useProfileSwitcher\";\n\nexport default function WorkQueueDetails() {\n let { id }: any = useParams();\n\n const [appContext] = useState(GetAppContext());\n const getTenant = useCallback(()=> id?.split(\"-\")[0],[id]);\n const needToSwitchProfile = useCallback(()=>appContext?.localStorageInfo?.selectedProfile?.spId !== id ?? false,[appContext, id]);\n const {navigate: switchProfile} = useProfileSwitcher();\n const location = useLocation();\n const { appContext: context } = useContext(AppContext);\n const theme = context.theme;\n\n useEffect(()=> {\n if (needToSwitchProfile()){\n switchProfile(`/WorkQueue/${id}`,getTenant());\n }\n },[location, id, getTenant, needToSwitchProfile, switchProfile]);\n\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","export type SignupModel = {\n email: string;\n name: string;\n companyName: string;\n phoneNumber: string;\n associatedSpid: string;\n portControlSpidsAccess: string;\n password: string;\n confirmPassword: string;\n licenseAgreed: boolean;\n};\n\nexport const DefaultSignupModel: SignupModel = {\n email: \"\",\n name: \"\",\n companyName: \"\",\n phoneNumber: \"\",\n associatedSpid: \"\",\n portControlSpidsAccess: \"\",\n password: \"\",\n confirmPassword: \"\",\n licenseAgreed: false\n};\n","import React, { FormEvent, useContext, useState } from \"react\";\nimport { Form, Button } from \"reactstrap\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { SignUpRequestDto } from \"services/apis/types/account/SignUpRequestDto\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { splitCommaSeparatedList, isEmail, isSpid } from \"services/util/StringUtil\";\nimport { HasErrors, AddError, Errors } from \"components/framework/errorHandling/ErrorUtil\";\nimport { AccountApi } from \"services/apis/AccountApi\";\nimport { ApiError } from \"services/apis/types/ApiError\";\nimport { getFieldErrors } from \"services/util/ApiUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { SignupModel, DefaultSignupModel } from \"./SignupModel\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport CheckboxFormInput from \"components/framework/forms/CheckboxFormInput\";\nimport { isEmailFromFreeDomain } from \"services/validators/ValidationUtil\";\nimport { showErrorNotificationNonAuthenticated } from \"components/framework/notification/NotificationUtil\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport TextFormInputGroup from \"components/framework/forms/TextFormInputGroup\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n onSignUpSuccessfull: () => void;\n};\n\nexport default function SignupForm(props: Props) {\n const { setErrors, getErrorHandler } = useErrors();\n const [model, setModel] = useState(DefaultSignupModel);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const intl = useIntl();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n\n const requestModel: SignUpRequestDto = {\n ...model,\n associatedSpid: splitCommaSeparatedList(model.associatedSpid),\n portControlSpidsAccess: splitCommaSeparatedList(model.portControlSpidsAccess)\n };\n\n const result = validate(requestModel);\n\n if (HasErrors(result.errors)) {\n setErrors(result.errors);\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n\n if (result.notificationId)\n showErrorNotificationNonAuthenticated(getTranslation(intl, result.notificationId));\n }\n } else {\n AccountApi.signup(requestModel)\n .then(() => {\n props.onSignUpSuccessfull();\n })\n .catch((error: ApiError) => {\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n showErrorNotificationNonAuthenticated(error.message!);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n };\n\n return (\n <>\n
    \n \n \n \n
    \n
    \n setModel({ ...model, name: value })}\n errorHandler={getErrorHandler(nameOf(\"name\"))}\n />\n setModel({ ...model, email: value })}\n errorHandler={getErrorHandler(nameOf(\"email\"))}\n />\n setModel({ ...model, phoneNumber: value })}\n errorHandler={getErrorHandler(nameOf(\"phoneNumber\"))}\n />\n setModel({ ...model, companyName: value })}\n errorHandler={getErrorHandler(nameOf(\"companyName\"))}\n />\n setModel({ ...model, associatedSpid: value })}\n errorHandler={getErrorHandler(nameOf(\"associatedSpid\"))}\n />\n \n setModel({ ...model, portControlSpidsAccess: value })\n }\n errorHandler={getErrorHandler(nameOf(\"portControlSpidsAccess\"))}\n />\n \n setModel({ ...model, password: value })\n }\n errorHandler={getErrorHandler(nameOf(\"password\"))}\n />\n \n setModel({ ...model, confirmPassword: value })\n }\n errorHandler={getErrorHandler(nameOf(\"confirmPassword\"))}\n />\n \n setModel({\n ...model,\n licenseAgreed: value\n })\n }\n >\n \n {intl.formatMessage({ id: \"account.signup.licenseAgreementLinkTitle\" })}\n \n \n\n
    \n \n
    \n \n \n );\n}\n\nconst validate = (model: SignUpRequestDto) => {\n const errors: Errors = {};\n let notificationId;\n\n if (!model.email) {\n AddError(errors, nameOf(\"email\"), \"account.signup.email.required\");\n } else if (!isEmail(model.email)) {\n AddError(errors, nameOf(\"email\"), \"account.signup.email.invalid\");\n } else if (isEmailFromFreeDomain(model.email)) {\n AddError(errors, nameOf(\"email\"), \"account.signup.email.freeDomain\");\n notificationId = \"account.signup.email.freeDomainDescription\";\n }\n\n if (!model.name) {\n AddError(errors, nameOf(\"name\"), \"account.signup.name.required\");\n }\n\n if (!model.companyName) {\n AddError(\n errors,\n nameOf(\"companyName\"),\n \"account.signup.companyName.required\"\n );\n }\n\n if (!model.phoneNumber) {\n AddError(\n errors,\n nameOf(\"phoneNumber\"),\n \"account.signup.phoneNumber.required\"\n );\n }\n\n if (!model.associatedSpid.length) {\n AddError(\n errors,\n nameOf(\"associatedSpid\"),\n \"account.signup.associatedSpid.required\"\n );\n } else if (model.associatedSpid.filter((x) => !isSpid(x)).length) {\n AddError(\n errors,\n nameOf(\"associatedSpid\"),\n \"account.signup.associatedSpid.invalid\"\n );\n }\n\n if (!model.portControlSpidsAccess.length) {\n AddError(\n errors,\n nameOf(\"portControlSpidsAccess\"),\n \"account.signup.portControlSpidsAccess.required\"\n );\n } else if (model.portControlSpidsAccess.filter((x) => !isSpid(x)).length) {\n AddError(\n errors,\n nameOf(\"portControlSpidsAccess\"),\n \"account.signup.portControlSpidsAccess.invalid\"\n );\n }\n\n if (model.password.length === 0) {\n AddError(errors, nameOf(\"password\"), \"myProfile.changePassword.emptyNewPassword\");\n }\n\n if (model.confirmPassword.length === 0) {\n AddError(errors, nameOf(\"confirmPassword\"), \"myProfile.changePassword.emptyNewPassword\");\n }\n\n if (\n model.password &&\n model.confirmPassword &&\n model.password !== model.confirmPassword\n ) {\n AddError(errors, nameOf(\"password\"), \"myProfile.changePassword.passwordsDoNotMatch\");\n }\n\n return { errors, notificationId };\n};\n","import React from 'react';\nimport { FormattedMessage } from 'react-intl';\n\nexport default function SignupVerify() {\n return (\n
    \n \n \n \n\n

    \n \n

    \n\n \n
    \n );\n}","import LoginLayout from \"components/framework/loginLayout/LoginLayout\";\nimport React, { useContext, useState } from \"react\";\nimport LoginHeader from \"components/framework/loginLayout/LoginHeader\";\nimport { Container, Row, Col, Card, CardBody } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { Link } from \"react-router-dom\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport SignupForm from \"./SignupForm\";\nimport SignupVerify from \"./SignupVerify\";\nimport { ToastContainer } from \"react-toastify\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function Signup() {\n const intl = useIntl();\n const [signUpSuccessfull, setSignUpSuccessfull] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n return (\n \n \n \n \n \n \n \n \n {signUpSuccessfull ? (\n \n ) : (\n setSignUpSuccessfull(true)} />\n )}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","import LoginLayout from \"components/framework/loginLayout/LoginLayout\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport LoginHeader from \"components/framework/loginLayout/LoginHeader\";\nimport { Container, Row, Col, Card, CardBody, UncontrolledAlert } from \"reactstrap\";\nimport { FormattedMessage, useIntl, FormattedHTMLMessage } from \"react-intl\";\nimport { Link, useParams } from \"react-router-dom\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport { AccountApi } from \"services/apis/AccountApi\";\nimport { ApiError } from \"services/apis/types/ApiError\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport { useCallback } from \"react\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function SignupVerification() {\n const intl = useIntl();\n let { id }: any = useParams();\n const isMounted = useIsMounted();\n const [apiError, setApiError] = useState();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [verificationSuccessfull, setVerificationSuccessfull] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const verifyToken = useCallback(() => {\n AccountApi.verify({ token: id }).then(() => {\n setVerificationSuccessfull(true);\n })\n .catch((error) => {\n if (isMounted.current) {\n setApiError(error);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }, [id, isMounted]);\n\n useEffect(() => {\n //Call API to verify token\n if (id) {\n verifyToken();\n }\n }, [id, verifyToken]);\n\n return (\n \n \n \n \n\n {showLoadingIndicator ? (\n \n \n \n ) : (\n \n\n \n \n
    \n \n \n \n
    \n {verificationSuccessfull ? (\n
    \n

    \n \n

    \n

    \n \n

    \n
    \n ) : (\n \n \n \n \n \n \n {apiError?.message}\n \n \n \n )}\n
    \n
    \n \n \n \n \n \n \n \n \n \n \n )}\n
    \n
    \n
    \n );\n}\n","\nexport type BillingTransactionsDto = {\n clientBillingId: string;\n organization: string;\n emailAddress: string;\n spId: string;\n productBillingType: string;\n productBillingId: string;\n activity: string;\n direction: string;\n modality: string;\n transactionCount: number;\n transactionDate: Date;\n orderId: string;\n projectId: string; \n handledBy: string;\n};\n\nexport const DefaultBillingTransactionsDto: BillingTransactionsDto = {\n clientBillingId: \"\",\n organization: \"\",\n emailAddress: \"\",\n spId: \"\",\n productBillingType: \"\",\n productBillingId: \"\",\n activity: \"\",\n direction : \"\",\n modality : \"\",\n transactionCount: 0,\n transactionDate: new Date(),\n orderId: \"\",\n projectId: \"\",\n handledBy: \"\"\n};\n","import { Row, Col, Card, CardHeader, CardTitle, CardBody, Button } from \"reactstrap\";\nimport React, { useState, useRef, useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport DateTimeFormInput from \"components/framework/forms/DateTimeFormInput\";\nimport { Moment } from \"moment\";\nimport { nameOf } from \"services/util/ObjectUtil\";\nimport { ExportModel, DefaultExportModel } from \"./types/ExportModel\";\nimport { CSVLink } from \"react-csv\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { BillingTransactionsDto, DefaultBillingTransactionsDto } from \"services/apis/types/reports/BillingTransactionsDto\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { useErrors } from \"services/customHooks/useErrors\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ReportsApi } from \"services/apis/ReportsApi\";\nimport { handleError, getFieldErrors } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function BillingTransactions() {\n const { setErrors, getErrorHandler } = useErrors();\n const [showExportLoadingIndicator, setShowExportLoadingIndicator] = useState(false);\n const [exportModel, setExportModel] = useState(DefaultExportModel);\n const [billingTransactionsDtos, setBillingTransactionsDtos] = useState([]);\n const isMounted = useIsMounted();\n const csvRef = useRef();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleExport = () => {\n setShowExportLoadingIndicator(true);\n\n ReportsApi.getInvoice(exportModel.from.toDate(), exportModel.to.toDate())\n .then((result) => {\n if (isMounted.current) {\n setBillingTransactionsDtos(result);\n csvRef.current.link.click();\n }\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowExportLoadingIndicator(false);\n }\n });\n };\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n setExportModel({ ...exportModel, from: value })\n }\n errorHandler={getErrorHandler(nameOf(\"from\"))}\n />\n \n \n \n setExportModel({ ...exportModel, to: value })\n }\n errorHandler={getErrorHandler(nameOf(\"to\"))}\n />\n \n \n \n handleExport()}\n className={`ml-auto ${theme === \"light\" ? \"bg-lblue no-border\" : \"\"}`}\n disabled={showExportLoadingIndicator}>\n {showExportLoadingIndicator && }\n \n \n \n \n \n \n \n );\n}\n\nconst getCsvData = (billingTransactionsDtos: BillingTransactionsDto[]) => {\n return billingTransactionsDtos.length > 0\n ? billingTransactionsDtos.map((x) => {\n return {\n ...x,\n transactionDate: getUtcDate(x.transactionDate).format(AppConfiguration.fullDateFormat)\n };\n })\n : [{ ...DefaultBillingTransactionsDto, transactionDate: \"\" }];\n};\n","\nexport type PendingReportsDto = {\n orderStatusCrossCheck: string[],\n portControl_Tenant: string,\n portControl_TenantType: string,\n portControl_SvId: 0,\n portControl_PhoneNumber: string,\n portControl_OrderId: string,\n portControl_OrderType: string,\n portControl_NewSpId: string,\n portControl_OldSpId: string,\n portControl_NewDueDate: Date,\n portControl_OldDueDate: Date,\n portControl_Status: string,\n portControl_Authorized: boolean,\n portControl_ModifiedDate: Date,\n npac_VersionId: string,\n npac_NewSpId: string,\n npac_OldSpId: string,\n npac_Status: string,\n npac_NewDueDate: Date,\n npac_OldDueDate: Date,\n npac_Authorized: boolean,\n npac_CompletionDate: Date\n};\n\nexport const DefaultPendingReportsDto: PendingReportsDto = {\n orderStatusCrossCheck:[],\n portControl_Tenant: \"\",\n portControl_TenantType: \"\",\n portControl_SvId: 0,\n portControl_PhoneNumber: \"\",\n portControl_OrderId: \"\",\n portControl_OrderType: \"\",\n portControl_NewSpId: \"\",\n portControl_OldSpId: \"\",\n portControl_NewDueDate: new Date(),\n portControl_OldDueDate: new Date(),\n portControl_Status: \"\",\n portControl_Authorized: false,\n portControl_ModifiedDate: new Date(),\n npac_VersionId: \"\",\n npac_NewSpId: \"\",\n npac_OldSpId: \"\",\n npac_Status: \"\",\n npac_NewDueDate: new Date(),\n npac_OldDueDate: new Date(),\n npac_Authorized: false,\n npac_CompletionDate: new Date()\n};\n","import { Row, Col, Card, CardHeader, CardTitle, CardBody, Button } from \"reactstrap\";\nimport React, { useState, useRef, useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport moment from \"moment\";\nimport { CSVLink } from \"react-csv\";\nimport { AppConfiguration } from \"AppConfiguration\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { ReportsApi } from \"services/apis/ReportsApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { DefaultPendingReportsDto, PendingReportsDto } from \"services/apis/types/reports/PendingReportsDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\nexport default function PendingReports() {\n const [showExportLoadingIndicator, setShowExportLoadingIndicator] = useState(false);\n const [pendingReportsDtos, setpendingReportsDtos] = useState([]);\n const isMounted = useIsMounted();\n const csvRef = useRef();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const handleExport = () => {\n setShowExportLoadingIndicator(true);\n\n ReportsApi.getPendingReports()\n .then((result) => {\n if (isMounted.current) {\n setpendingReportsDtos(result);\n csvRef.current.link.click();\n }\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n if (isMounted.current) {\n setShowExportLoadingIndicator(false);\n }\n });\n };\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n 0 ? pendingReportsDtos : [DefaultPendingReportsDto]}\n target=\"_blank\"\n className=\"hidden\"\n filename={`pending-orders-${moment().format(AppConfiguration.dateFormat)}.csv`}>\n handleExport()}\n className={`ml-auto ${theme === \"light\" ? \"bg-lblue no-border\" : \"\"}`}\n disabled={showExportLoadingIndicator}>\n {showExportLoadingIndicator && }\n \n \n \n \n \n \n \n );\n}\n","import { Row, Container } from \"reactstrap\";\nimport React from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport BillingTransactions from \"./BillingTransactions\";\nimport PendingReports from \"./PendingReports\";\n\nexport default function AdminReports() {\n\n return (\n \n \n \n \n \n \n \n \n \n );\n}\n","export enum InventoryType {\n DNO = 1\n}\n","import { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\n\nexport const DnoApi = {\n setDnoFlag: (number: string[], dnoFlag: boolean): Promise => {\n return HttpClient.post(`realnumberdno/setDno?dnoFlag=${dnoFlag}`, number);\n },\n bulkDnoFlag: (numbers: string[], dnoFlag: boolean): Promise => {\n return HttpClient.post(`realnumberdno/setBulkDno?dnoFlag=${dnoFlag}`, numbers);\n }\n};\n","import CloseButton from \"components/framework/modals/CloseButton\";\nimport React, { useContext, useEffect, useState } from \"react\";\nimport { CSVLink } from \"react-csv\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button, Form, Modal } from \"reactstrap\";\nimport bsCustomFileInput from 'bs-custom-file-input';\nimport Papa from \"papaparse\";\nimport { DnoApi } from \"services/apis/DnoApi\";\nimport { showErrorNotificationNonAuthenticated, showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useIntl } from \"react-intl\";\nimport { AppContext } from \"services/appContext/AppContext\";\ntype Props = {\n closeModal: () => void;\n loadTable: () => void;\n}\nexport default function InventoryModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [selectedFile, setSelectedFile] = useState(String);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const handleSubmit = (event) => {\n const trueNumbers: string[] = [];\n const falseNumbers: string[] = [];\n Papa.parse(selectedFile, {\n header: true,\n skipEmptyLines: true,\n complete: function (results) {\n const fileData = results.data;\n for (var data of fileData) {\n (data.Dno === 'Y') ? trueNumbers.push(data.Number) : falseNumbers.push(data.Number);\n }\n showInfoNotification(\n intl.formatMessage({ id: \"somos.number.bulkupdate.dno\" })\n );\n (trueNumbers.length !== 0) && setBulkDnoFlag(trueNumbers, true);\n (falseNumbers.length !== 0) && setBulkDnoFlag(falseNumbers, false);\n props.closeModal();\n }\n })\n };\n function setBulkDnoFlag(trueNumbers: string[], dnoFlag: boolean) {\n setShowLoadingIndicator(true);\n DnoApi.bulkDnoFlag(trueNumbers, dnoFlag)\n .then((response) => {\n let errorCount = response[0].errorCount;\n if (errorCount === 0) {\n props.loadTable();\n showInfoNotification(\n intl.formatMessage({ id: response[0].operation.dno === true ? \"somos.number.bulkupdate.update.true.successfully\" : \"somos.number.bulkupdate.update.false.successfully\" })\n );\n } else {\n let errorList = response[0].entries.filter((x: any) => x.status === \"ERROR\");\n let errorListNumbers = errorList.map((x: any) => x.number).toString();\n let errorDNOStatus = errorList[0].operation.dno.toString().toUpperCase();\n showErrorNotificationNonAuthenticated(\n intl.formatMessage({ id: \"somos.number.bulkupdate.failed\" }, { numbers: errorListNumbers, status: errorDNOStatus })\n );\n }\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n setShowLoadingIndicator(false);\n });\n }\n const onFileChange = (event) => {\n setSelectedFile(event.target.files[0]);\n }\n const headers = [\n { label: \"Number\", key: \"number\" },\n { label: \"Dno\", key: \"dnoFlag\" },\n ];\n const data = [\n { number: \"8775940651\", dnoFlag: \"Y\" },\n { number: \"8775940652\", dnoFlag: \"N\" }\n ];\n useEffect(() => {\n bsCustomFileInput.init()\n })\n return (\n \n
    \n
    \n \n
    \n \n
    \n
    handleSubmit(e)}>\n
    \n
    \n \n \n
    \n \n \n \n
    \n
    \n \n \n
    \n \n
    \n )\n}\n","import React, { useContext, useState } from \"react\";\nimport { Modal, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { DnoApi } from \"services/apis/DnoApi\";\n\ntype Props = {\n closeModal: () => void;\n checked: boolean;\n data: any;\n setIschecked: (checked: boolean) => void;\n};\n\nexport default function DnoSwitchModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n const handleToggleUpdate = () => {\n setShowLoadingIndicator(true);\n let number = new Array(props.data.phoneNumber);\n DnoApi.setDnoFlag(number, !props.checked)\n .then(() => {\n props.setIschecked(!props.checked);\n showInfoNotification(\n intl.formatMessage({ id: \"somos.number.update.dno\" })\n );\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n setShowLoadingIndicator(false);\n props.closeModal();\n });\n }\n\n return (\n \n
    \n

    \n \n

    \n \n
    \n
    \n \n
    \n
    \n \n \n {showLoadingIndicator && }\n \n \n
    \n
    \n );\n}\n","import React, { useState } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport DnoSwitchModal from \"./DnoSwitchModal\";\n\ntype Props = {\n data: any;\n};\n\nexport default function ToggleCheckbox(props: Props) {\n const [isChecked, setIschecked] = useState(props.data.dno);\n const [loading, setLoading] = useState(false);\n const [showModal, setShowModal] = useState(false);\n \n const handleCheckboxChange = (e) => {\n setShowModal(true);\n };\n \n return (\n <>\n \n\n {showModal && (\n setShowModal(false)}\n checked={isChecked}\n setIschecked={setIschecked}\n data={props.data}\n />\n )}\n \n );\n}\n","export enum InventoryTableColumnIdentifiers {\n PhoneNumber = \"phoneNumber\",\n spid = \"spid\",\n AltSpid = \"altSpid\",\n Type = \"type\",\n Status = \"status\",\n ProviderName =\"providerName\",\n NpacRegion = \"npacRegion\",\n Ocn = 'ocn',\n Lata = \"lata\",\n State = \"state\",\n RateCenter = \"rateCenter\",\n Lrn = \"lrn\",\n LastModifiedDate = \"lastModifiedDate\"\n }\n\n","import React, { useState, useEffect, useContext, useMemo, useCallback } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport { SPIDDetails } from \"services/apis/types/number/SPIDDetailsDto\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport ToggleCheckbox from \"components/common/ToggleCheckbox\";\nimport { InventoryTableColumnIdentifiers } from \"../types/InventoryColumnIdentifier\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n loadTable: boolean;\n isDNO: boolean;\n isInventory: () => void;\n isPooled: () => void;\n};\n\nexport default function InventoryTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [spidDetails, setSPIDDetails] = useState();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const columns = useMemo(() => getColumns(intl), [intl]);\n const definedColumns = getCol(columns);\n const [pageIndex, setPageIndex] = useState(0);\n const [count, setCount] = useState(0);\n const [defaultCount, setDefaultCount] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [searchKey, setSearchKey] = useState(\"\");\n const [orderByColumn, setOrderByColumn] = useState(\"\");\n const [orderDirection, setOrderDirection] = useState(\"\");\n const [columnFilterSort, setColumnFilterSort] = useState<{[key:string]:ColumnFilterSort}>({});\n\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n \n };\n \n const getSpiddetails = (\n currentPage: number,\n pageSize: number,\n searchKey: string,\n orderByColumn:string,\n orderDirection:string,\n ) => {\n setShowLoadingIndicator(true);\n NumberApi.querySPIDDetials(\n currentPage,\n pageSize,\n searchKey ? searchKey : \"\",\n orderByColumn,\n orderDirection,\n )\n .then((result) => {\n if (isMounted && result) {\n if(result.status === 204) {\n setSPIDDetails([]);\n setCount(0);\n }\n if (result.rows) {\n setSPIDDetails(result.rows);\n setCount(result.totalRows);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n\n\nuseEffect(() => {\n setShowLoadingIndicator(true);\n props.isInventory();\n props.isPooled();\n getSpiddetails(pageIndex + 1, pageSize, searchKey ? searchKey : \"\", orderByColumn, orderDirection);\n}, [isMounted, pageIndex, pageSize, searchKey, props.loadTable]);\n\n\n useEffect(() => {\n setPageIndex(0);\n setPageSize(10);\n setSearchKey(props.search);\n }, [\n props.search\n ]);\n\n useEffect(() => {\n if (pageIndex !== 0 || pageSize !== 10) {\n setPageIndex(0);\n setPageSize(10);\n return;\n }\n setShowLoadingIndicator(true);\n NumberApi.querySPIDDetials(1, 10, searchKey ? searchKey : \"\",orderByColumn, orderDirection)\n .then((result) => {\n if (isMounted && result) {\n if (result.rows) {\n setSPIDDetails(result.rows);\n setCount(result.totalRows);\n setDefaultCount(result.totalRows);\n }\n else if (result.status === 204) {\n setSPIDDetails([]);\n setCount(0);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isMounted, appContext.localStorageInfo.selectedProfile\n ]);\n\n const sortableColumns = [\n InventoryTableColumnIdentifiers.PhoneNumber,\n InventoryTableColumnIdentifiers.AltSpid,\n InventoryTableColumnIdentifiers.Type,\n InventoryTableColumnIdentifiers.NpacRegion,\n InventoryTableColumnIdentifiers.LastModifiedDate, \n InventoryTableColumnIdentifiers.Lrn,\n ];\n \n //Handle Event for sorting\nconst handleColumnSorted = useCallback(\n (column) => {\n const columnSortOption = columnFilterSort[column.identifier];\n if (!sortableColumns.includes(column.identifier)) return;\n\n if (!columnSortOption || !columnSortOption.isSorted) {\n // Column is not sorted or in an unsorted state, set it to ascending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"asc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getSpiddetails(pageIndex +1 , pageSize, props.search, column.identifier, \"asc\"); // Use pageSize\n } else if (columnSortOption.isSorted && !columnSortOption.isSortedDesc) {\n // Column is sorted in ascending order, toggle to descending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: true,\n },\n }));\n setOrderDirection(\"desc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getSpiddetails(pageIndex+1, pageSize, props.search, column.identifier, \"desc\"); // Use pageSize\n } else {\n // Column is sorted in descending order, toggle to unsorted\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: false,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"\"); // Clear order direction\n setOrderByColumn(\"\"); // Clear orderByColumn\n getSpiddetails(pageIndex +1, pageSize, props.search, \"\", \"\"); \n }\n },\n [setColumnFilterSort, columnFilterSort,pageIndex, pageSize, props.search]\n);\n \n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"spids.table.phoneNumber\" }),\n accessor: \"phoneNumber\",\n identifier: InventoryTableColumnIdentifiers.PhoneNumber,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.spId\" }),\n accessor: \"spId\",\n identifier: InventoryTableColumnIdentifiers.spid,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.altSpId\" }),\n accessor: \"altSpId\",\n identifier: InventoryTableColumnIdentifiers.AltSpid,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.type\" }),\n accessor: \"type\",\n identifier: InventoryTableColumnIdentifiers.Type,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.status\" }),\n accessor: \"status\",\n identifier: InventoryTableColumnIdentifiers.Status,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.providerName\" }),\n accessor: \"providerName\",\n identifier: InventoryTableColumnIdentifiers.ProviderName,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.ocn\" }),\n accessor: \"ocn\",\n identifier: InventoryTableColumnIdentifiers.Ocn,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.npacRegion\" }),\n accessor: \"npacRegion\",\n identifier: InventoryTableColumnIdentifiers.NpacRegion,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.lata\" }),\n accessor: \"lata\",\n identifier: InventoryTableColumnIdentifiers.Lata,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.state\" }),\n accessor: \"state\",\n identifier: InventoryTableColumnIdentifiers.State,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.rateCenter\" }),\n accessor: \"rateCenter\",\n identifier: InventoryTableColumnIdentifiers.RateCenter,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.lrn\" }),\n accessor: \"lrn\",\n identifier: InventoryTableColumnIdentifiers.Lrn,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.activityDate\" }),\n accessor: \"activityDate\",\n identifier: InventoryTableColumnIdentifiers.LastModifiedDate,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"somos.donot.originate\" }),\n accessor: \"actions\",\n Cell: (cell: any) => (\n \n )\n }\n];\n\nconst getCol = (columns: any) => {\n const col = columns.filter((x: any) => {\n return x.Header !== \"Do Not Originate\"\n })\n return col\n}\n\nconst getTitleComponent = (title, count)=>{\n return
    \n

    {title}

    \n

    My Active Numbers: {count}

    \n
    \n};\n","import React, { useState, useEffect, useMemo, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { NumberApi } from \"services/apis/NumberApi\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport escapeRegExp from \"lodash/escapeRegExp\";\n\ntype Props = {\n search: string;\n isPooled: () => void;\n isInventory: () => void;\n};\n\nexport default function PooledTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [spidPooledDetails, setSpidPooledDetails] = useState();\n const [blockDashDetails, setBlockDashDetails] = useState();\n const [totalBlockDashDetails, setTotalBlockDashDetails] = useState();\n const [selectedBlockDashValue, setSelectedBlockDashValue] = useState();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const { appContext } = useContext(AppContext);\n const columns = useMemo(() => getColumns(intl), [intl]);\n const [searchKey, setSearchKey] = useState(\"\");\n const [noContent, setNoContent] = useState(false);\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n props.isPooled();\n props.isInventory();\n NumberApi.getPooledBlockDashBySpid()\n .then((result) => {\n if (isMounted && result) {\n if (result.status !== 204) {\n let array = [] as any;\n let totalArray = [] as any;\n result.forEach((obj: any) => {\n if (array.length <= 1000) {\n array.push({ value: obj, label: obj });\n }\n totalArray.push({ value: obj, label: obj });\n });\n setTotalBlockDashDetails(totalArray);\n setBlockDashDetails(array);\n let firstBlockDash = array[0];\n if(searchKey && selectedBlockDashValue) {\n blockDashHandleSelect(selectedBlockDashValue);\n }\n else {\n blockDashHandleSelect(firstBlockDash);\n }\n } else if (result.status === 204) {\n setSpidPooledDetails([]);\n setShowLoadingIndicator(false);\n }\n }\n })\n .catch((error) => handleError(error));\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, appContext.localStorageInfo.selectedProfile, searchKey]);\n\n useEffect(() => {\n setSearchKey(props.search);\n }, [props.search]);\n\n const blockDashHandleSelect = (event) => {\n setShowLoadingIndicator(true);\n setSelectedBlockDashValue(event);\n NumberApi.getpoolednumbersbyspid(event.value)\n .then((result) => {\n if (result.status === 204) {\n setNoContent(true);\n setSpidPooledDetails([]);\n }\n else if (searchKey.includes(\"-\")) {\n if(searchKey.length === 15) {\n //range search starts\n const sum = Number(searchKey?.split(\"-\")[0]?.slice(0, 6));\n const rangevalues: any = [searchKey?.split(\"-\")[0], sum + searchKey?.split(\"-\")[1]];\n const resultedList: any = [];\n for (let i = parseInt(rangevalues[0]); i <= parseInt(rangevalues[1]); i++) {\n resultedList.push(String(i));\n }\n const allRangeResults: any = [];\n for (let i = 0; i < resultedList.length; i++) {\n const searchResult = result.filter((data: any) => {\n return data.phoneNumber.toLowerCase().includes(resultedList[i]);\n });\n allRangeResults.push(searchResult);\n }\n const finalRangeObj = allRangeResults.flat();\n setSpidPooledDetails(finalRangeObj);\n } else {\n setSpidPooledDetails([]);\n }\n }\n //range search end\n //single value search start\n else if ([searchKey].length >= 1 && !searchKey.includes(\",\") && !searchKey.includes(\"-\")) {\n const searchResult = result.filter((data: any) => {\n return data.phoneNumber.toLowerCase().includes(searchKey.toLowerCase());\n });\n setSpidPooledDetails(searchResult);\n }\n //single value search ends\n //comma seperator search start\n else if (searchKey.includes(\",\")) {\n const allFilteredVAlues: any = [];\n for (let i = 0; i < searchKey.split(\",\").length; i++) {\n const searchResult = result.filter((data: any) => {\n return data.phoneNumber.toLowerCase().includes(searchKey.split(\",\")[i]);\n });\n allFilteredVAlues?.push(searchResult);\n }\n const objFinal = allFilteredVAlues.flat();\n setSpidPooledDetails(objFinal);\n }\n\n //comma seperator search ends\n else {\n setSpidPooledDetails(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n const onInputChange = (event) => {\n setBlockDashDetails(() => {\n const matchByStart = [] as any;\n const matchByInclusion = [] as any;\n const regByInclusion = new RegExp(escapeRegExp(event), \"i\");\n const regByStart = new RegExp(`^${escapeRegExp(event)}`, \"i\");\n\n for (const option of totalBlockDashDetails) {\n if (regByInclusion.test(option.label)) {\n if (regByStart.test(option.label)) {\n matchByStart.push(option);\n } else {\n matchByInclusion.push(option);\n }\n }\n }\n return [...matchByStart, ...matchByInclusion].slice(0, 1000);\n });\n };\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"spids.table.phoneNumber\" }),\n accessor: \"phoneNumber\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.spId\" }),\n accessor: \"spId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.altSpId\" }),\n accessor: \"altSpId\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.type\" }),\n accessor: \"type\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.status\" }),\n accessor: \"status\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.providerName\" }),\n accessor: \"providerName\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.ocn\" }),\n accessor: \"ocn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.npacRegion\" }),\n accessor: \"npacRegion\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.lata\" }),\n accessor: \"lata\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.state\" }),\n accessor: \"state\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.rateCenter\" }),\n accessor: \"rateCenter\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.lrn\" }),\n accessor: \"lrn\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"spids.table.activityDate\" }),\n accessor: \"activityDate\",\n Cell: (cell: any) => \n }\n];\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {\n Container,\n Row,\n Col,\n Button,\n Form,\n FormGroup,\n Input,\n InputGroup,\n InputGroupAddon,\n InputGroupText,\n Dropdown,\n DropdownToggle,\n DropdownMenu,\n} from \"reactstrap\";\nimport { InventoryType } from \"../types/InventoryType\";\nimport InventoryModal from \"./InventoryModal\";\nimport InventoryTable from \"./InventoryTable\";\nimport classNames from \"classnames\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { Route, Switch } from 'react-router-dom';\nimport PooledTable from \"./PooledTable\";\nimport { HashRouter } from \"react-router-dom\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport Navbar from \"components/common/navBar/NavBar\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\nexport default function Inventory() {\n const [searchValue, setSearchValue] = useState(\"\");\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const [showDropdown, setShowDropdown] = useState(false);\n const [showModal, setShowModal] = useState(false);\n const [loadTable, setLoadTable] = useState(false);\n const [isPooled, setIsPooled] = useState(false);\n const [isInventory, setIsInventory] = useState(true);\n const [isDNO, setIsDNO] = useState(false);\n const [inventoryType, setInventoryType] = useState();\n const dropdownToggle = () => setShowDropdown((prevState) => !prevState);\n const handleCreateDropdownItemButtonClick = (inventoryType: InventoryType) => {\n setShowModal(true);\n setShowDropdown(false);\n setInventoryType(inventoryType);\n };\n\n const navTitlesRoutes = [\n { routes: '/Inventory', titles: 'Inventory Numbers' },\n { routes: '/pooled', titles: 'Pooled Numbers' },\n // Add more navigation items as needed\n ];\n\n useEffect(() => {\n const isDNO = appContext.localStorageInfo.user?.permissions.includes(PermissionType.RealNumberDNO);\n isDNO && setIsDNO(isDNO);\n },\n [appContext.localStorageInfo.selectedProfile, appContext]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const errorMessageIdResult = validateSearchValue();\n setErrorMessageId(errorMessageIdResult);\n\n if (!errorMessageIdResult) {\n setSearchValue(inputValue);\n }\n };\n\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n\n return (\n <>\n \n \n \n \n \n \n

    \n \n \n

    \n \n
    \n \n \n \n
    \n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n {errorMessageId && (\n
    \n \n
    \n )}\n \n \n \n { isInventory && !isPooled && isDNO &&\n
    \n \n \n \n \n \n \n \n handleCreateDropdownItemButtonClick(InventoryType.DNO)\n }\n xs=\"4\">\n \n \n \n \n \n \n \n \n \n \n
    \n }\n \n
    \n
    \n \n {showModal && inventoryType && (\n setShowModal(false)}\n loadTable={() => setLoadTable(true)}\n />\n )}\n \n \n \n (\n setIsInventory(true)}\n isPooled={() => setIsPooled(false)}\n />\n )}/>\n (\n setIsPooled(true)}\n isInventory={() => setIsInventory(false)}\n />\n )}/>\n \n \n \n \n );\n}\n\nconst validateSearchValue = (): string => {\n return \"\";\n};","import { TppStatus } from \"components/networkExplorer/types/TppStatus\";\r\nimport React, { useState, useCallback } from \"react\";\r\nimport { authorize } from \"services/authorization/AuthorizationService\";\r\nimport { PermissionType } from \"services/authorization/PermissionType\";\r\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\r\nimport { handleError } from \"services/util/ApiUtil\";\r\nimport classNames from \"classnames\";\r\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\r\nimport { useIntl } from \"react-intl\";\r\n\r\ntype Props = {\r\n action: string;\r\n tppId: string;\r\n spId: string\r\n onActionExecuted: () => void;\r\n};\r\nexport const TradingPartnerActionCell = (props: Props) => {\r\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\r\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\r\n const intl = useIntl();\r\n const { action, tppId, spId, onActionExecuted } = { ...props };\r\n\r\n const updateTradingPartnerStatus = useCallback((status: TppStatus) => {\r\n setShowLoadingIndicator(true);\r\n if (status === TppStatus.TppRequestToTrade) {\r\n TradingPartnerApi.add(spId)\r\n .then(() => {\r\n onActionExecuted();\r\n showInfoNotification(\r\n intl.formatMessage({ id: \"tppModal.buttons.requestToTrade.successMessage\" })\r\n );\r\n })\r\n .catch((errors) => handleError(errors))\r\n .finally(() => setShowLoadingIndicator(false));\r\n } else {\r\n TradingPartnerApi.updateStatus(tppId, {status: status})\r\n .then(() => {\r\n onActionExecuted();\r\n showInfoNotification(\r\n intl.formatMessage({ id: \"tppModal.buttons.requestToTrade.successMessage\" })\r\n )\r\n })\r\n .catch((error) => handleError(error))\r\n .finally(() => setShowLoadingIndicator(false));\r\n }\r\n }, [ tppId, spId, intl, onActionExecuted]);\r\n\r\n return (\r\n
    \r\n {showLoadingIndicator ? (\r\n ) : (\r\n <>\r\n {action && action.length > 0 && action.toLowerCase() === TppStatus.TppSubmitted.toLowerCase() && userIsAdmin ? (\r\n <>\r\n updateTradingPartnerStatus(TppStatus.TppAprroved)} />\r\n updateTradingPartnerStatus(TppStatus.TppDenied)} />\r\n \r\n ) : action && action.length > 0 && action.toLowerCase() === TppStatus.TppRequestToTrade.toLowerCase() && (\r\n updateTradingPartnerStatus(TppStatus.TppRequestToTrade)} />\r\n )}\r\n )}\r\n
    \r\n );\r\n};\r\n","import React, { useState } from \"react\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport { Tooltip } from \"reactstrap\";\r\nimport FormateDate from \"components/framework/date/FormateDate\";\r\n\r\ntype Props = {\r\n id: string;\r\n isVerified: boolean;\r\n verifiedDate: any;\r\n};\r\n\r\nexport default function VerifiedCell(props: Props) {\r\n const [verifiedDateTooltipOpen, setVerifiedDateTooltipOpen] = useState(false);\r\n return (\r\n <>\r\n
    \r\n {props.isVerified && (\r\n \r\n {props.verifiedDate && setVerifiedDateTooltipOpen(!verifiedDateTooltipOpen)}>\r\n \r\n )\r\n }}\r\n />\r\n }\r\n \r\n )}\r\n
    \r\n \r\n );\r\n}\r\n","export type TppHistory = {\r\n status: string;\r\n modifiedDate: string;\r\n}\r\n\r\nexport const DefaultTppHistory: TppHistory = {\r\n status: \"\",\r\n modifiedDate: \"\"\r\n}\r\n","import React, { useMemo, useState, useEffect, useCallback } from \"react\";\r\nimport { Modal } from \"reactstrap\";\r\nimport CloseButton from \"components/framework/modals/CloseButton\";\r\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\r\nimport { FormattedMessage } from \"react-intl\";\r\nimport ReactTable from \"components/framework/table/ReactTable\";\r\nimport { IntlShape, useIntl } from \"react-intl\";\r\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\r\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\r\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\r\nimport { TppHistory, DefaultTppHistory } from \"services/apis//types/tpp/TppHistory\";\r\nimport { handleError } from \"services/util/ApiUtil\";\r\n\r\ntype Props = {\r\n closeModal: () => void;\r\n spId: string;\r\n serviceProvider: string;\r\n tppId: string;\r\n};\r\n\r\nexport default function TradingPartnerHistoryModal(props: Props) {\r\n const [history, setHistory] = useState([DefaultTppHistory]);\r\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\r\n const intl = useIntl();\r\n const columns = useMemo(() => getColumns(intl), [intl]);\r\n const isMounted = useIsMounted();\r\n\r\n const fetchTradingPartnerHistory = useCallback(() => {\r\n if (props.tppId) {\r\n TradingPartnerApi.getTppHistory(props.tppId)\r\n .then((result) => {\r\n if (isMounted) {\r\n setHistory(result);\r\n }\r\n })\r\n .catch((error) => handleError(error))\r\n .finally(() => {\r\n if (isMounted) {\r\n setShowLoadingIndicator(false);\r\n }\r\n })\r\n }\r\n }, [isMounted, props.tppId]);\r\n\r\n useEffect(() => {\r\n setShowLoadingIndicator(true);\r\n fetchTradingPartnerHistory();\r\n }, [fetchTradingPartnerHistory])\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
    \r\n {props.spId} {props.serviceProvider}\r\n
    \r\n \r\n
    \r\n {showLoadingIndicator ? (\r\n \r\n ) :\r\n }\r\n
    \r\n\r\n \r\n );\r\n}\r\n\r\nconst getColumns = (intl: IntlShape) => [\r\n {\r\n Header: intl.formatMessage({ id: \"tradingPartners.table.status\" }),\r\n accessor: \"status\",\r\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\r\n },\r\n {\r\n Header: intl.formatMessage({ id: \"tradingPartners.table.date\" }),\r\n accessor: \"modifiedDate\",\r\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\r\n }\r\n]","import React, { useState } from \"react\";\r\nimport TradingPartnerHistoryModal from \"../common/TradingPartnerHistoryModal\";\r\ntype Props = {\r\n tppId: string;\r\n status: string;\r\n spId: string;\r\n serviceProvider: string;\r\n};\r\n\r\nexport default function StatusCell(props: Props) {\r\n const [showModal, setShowModal] = useState(false);\r\n\r\n return (\r\n <>\r\n {props.status && (\r\n <>\r\n {props.tppId ?\r\n
    {\r\n e.preventDefault();\r\n setShowModal(!showModal);\r\n }}>\r\n {props.status}\r\n
    :\r\n
    \r\n {props.status}\r\n
    \r\n }\r\n {showModal && props.tppId && (\r\n setShowModal(false)} tppId={props.tppId} spId={props.spId} serviceProvider={props.serviceProvider} />\r\n )}\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\n\r\ntype Props = {\r\n value: boolean;\r\n};\r\n\r\nexport default function ValidateCell(props: Props) {\r\n\r\n return (\r\n <>\r\n
    \r\n {props.value && (\r\n \r\n )}\r\n
    \r\n \r\n );\r\n}\r\n","export enum TradingPartnerTableColumnIdentifiers {\r\n RequestingSpId = \"requestingSpid\",\r\n TargetSpId = \"targetSpid\",\r\n ServiceProvider = \"serviceProvider\",\r\n IsVerified = \"isVerified\",\r\n IsTouchlessPreOrder = \"isTouchlessPreorder\",\r\n VpopCustomer = \"vpopCustomer\",\r\n IxcRequired = \"ixcRequired\",\r\n Status = \"status\",\r\n Actions = \"actions\",\r\n VerifiedDate = \"verifiedDate\"\r\n }\r\n\r\n\r\n\r\n export enum TradingPartnerAdminTableColumnIdentifiers {\r\n RequestingSpId = \"requestingSpid\",\r\n TargetSpId = \"targetSpid\",\r\n ServiceProvider = \"serviceProvider\",\r\n IsVerified = \"isVerified\",\r\n IsTouchlessPreOrder = \"isTouchlessPreorder\",\r\n VpopCustomer = \"vpopCustomer\",\r\n IxcRequired = \"ixcRequired\",\r\n Status = \"status\",\r\n Actions = \"actions\",\r\n VerifiedDate = \"verifiedDate\"\r\n }","export const TppStatus = [\n { key: \"Any\", value: \"Any\" },\n { key: \"Active\", value: \"Active\" },\n { key: \"Denied\", value: \"Denied\" },\n { key: \"Request To Trade\", value: \"Request To Trade\" },\n { key: \"Submitted\", value: \"Submitted\" }\n];\n\nexport const DefaultYesNoFilterValues = [\n { key: \"Any\", value: \"Any\" },\n { key: \"Yes\", value: \"Yes\" },\n { key: \"No\", value: \"No\" }\n]","import React, { useContext } from \"react\";\nimport DropdownInput from \"../forms/DropdownInput\";\nimport { DefaultYesNoFilterValues } from \"services/util/TppFiltersUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n column: {\n filterValue: string;\n preFilteredRows: Array;\n setFilter: (value: string | undefined) => void;\n id: string;\n },\n};\n\nexport default function DefaultYesNoColumnFilter(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const options = React.useMemo(() => DefaultYesNoFilterValues, []);\n\n return (\n {\n props.column.setFilter(e.target.value || undefined);\n }}\n value={props.column.filterValue}\n options={options}\n className={`text-center filter-align ${theme === \"light\" ? \"table-text-dark\" : \"\"}`}\n />\n );\n}","export type TppListFilter = {\r\n tenant: string;\r\n tradingSpid: string;\r\n isVerified: string;\r\n isTouchlessPreorder: string;\r\n vpopCustomer: string;\r\n ixcRequired: string;\r\n status: string;\r\n}\r\n\r\nexport const DefaultTppListFilter: TppListFilter = {\r\n tenant: \"\",\r\n tradingSpid: \"\",\r\n isVerified: \"\",\r\n isTouchlessPreorder: \"\",\r\n vpopCustomer: \"\",\r\n ixcRequired: \"\",\r\n status: \"\",\r\n}","import React, { useContext } from \"react\";\nimport DropdownInput from \"../forms/DropdownInput\";\nimport { TppStatus } from \"services/util/TppFiltersUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n column: {\n filterValue: string;\n preFilteredRows: Array;\n setFilter: (value: string | undefined) => void;\n id: string;\n },\n};\n\nexport default function TppStatusColumnFilter(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const options = React.useMemo(() => TppStatus, []);\n\n return (\n {\n props.column.setFilter(e.target.value || undefined);\n }}\n value={props.column.filterValue}\n options={options}\n className={`text-center filter-align ${theme === \"light\" ? \"table-text-dark\" : \"\"}`}\n />\n );\n}","import React, { useContext } from \"react\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport DropdownInput from \"../forms/DropdownInput\";\nimport { TppSpidList } from \"services/apis/types/tpp/TppSpidList\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n column: {\n filterValue: string;\n preFilteredRows: Array;\n setFilter: (value: string | undefined) => void;\n id: string;\n spidsFilterList?: TppSpidList,\n },\n};\n\nexport default function TppSpidColumnFilter(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const options = React.useMemo(() => {\n if (props.column.spidsFilterList && props.column.spidsFilterList[0].spids && props.column.spidsFilterList[0].spids.length > 0) {\n return [\n { key: \"Any\", value: \"Any\" },\n ...getUniqueElements(props.column.spidsFilterList[0].spids)\n .map((x) => {\n return { value: x, key: x };\n })\n ];\n }\n return [{ key: \"Any\", value: \"Any\" }];\n }, [props.column.spidsFilterList]);\n\n return (\n {\n props.column.setFilter(e.target.value || undefined);\n }}\n value={props.column.filterValue}\n options={options}\n className={`text-center filter-align ${theme === \"light\" ? \"table-text-dark\" : \"\"}`}\n />\n );\n}","import React, { useState, useEffect, useMemo, useCallback, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty, getYesOrNo } from \"services/util/StringUtil\";\nimport { TradingPartner } from \"services/apis/types/number/TradingPartner\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { TradingPartnerActionCell } from \"components/common/actions/TradingPartnerActionCell\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport VerifiedCell from \"components/common/VerfiedCell\";\nimport StatusCell from \"components/common/StatusCell\";\nimport ValidateCell from \"components/common/ValidateCell\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { TradingPartnerTableColumnIdentifiers } from \"../types/TradingPartnerColumnIdentifier\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport DefaultYesNoColumnFilter from \"components/framework/table/DefaultYesNoColumnFilter\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TppListFilter, DefaultTppListFilter } from \"services/apis/types/tpp/TppListFilter\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { TppSpidList } from \"services/apis/types/tpp/TppSpidList\";\nimport TppStatusColumnFilter from \"components/framework/table/TppStatusColumnFilter\";\nimport TppSpidColumnFilter from \"components/framework/table/TppSpidColumnFilter\";\nimport { OrderActionCell } from \"components/common/actions/OrderActionCell\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n};\n\nexport default function TradingPartnerUserTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [tradingPartnerDetails, setTradingPartnerDetails] = useState();\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [searchKey, setSearchKey] = useState(\"\");\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [count, setCount] = useState(0);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [selectedFilter, setSelectedFilter] = useState(DefaultTppListFilter);\n const [isAppStartUp, setIsAppStartUp] = useState(false);\n const [tppSpidList, setTppList] = useState();\n const [orderByColumn, setOrderByColumn] = useState(\"\");\n const [orderDirection, setOrderDirection] = useState(\"\");\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n\n const getTppSpidList = () => {\n setShowLoadingIndicator(true);\n TradingPartnerApi.getSpidList()\n .then((result) => {\n if (result) {\n setTppList(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n const resetAllFilters = useCallback(() => {\n if (isMounted.current) {\n setSelectedFilter(DefaultTppListFilter);\n }\n }, [isMounted]);\n\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => !x);\n }\n }, [isMounted]);\n\n const areFiltersmodified = useCallback((): boolean => {\n const queryString = new URLSearchParams(\n Object.fromEntries(Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\"))\n ).toString();\n return queryString ? true : false;\n }, [selectedFilter]);\n\n const updateHiddenColumns = useCallback((columns) => {\n const excludedColumnsForWholesale = [TradingPartnerTableColumnIdentifiers.RequestingSpId];\n if (!userIsAdmin) {\n return columns.filter(column => column.identifier && !excludedColumnsForWholesale.includes(column.identifier))\n };\n return columns;\n }, [userIsAdmin]);\n\n const columnFilter = useCallback(\n (rows: any[], accessor: any, filterValues: any) => {\n if (accessor[0] === \"requestingSpid\") {\n if (selectedFilter[\"tenant\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tenant: filterValues\n }\n }));\n } else if (accessor[0] === \"targetSpid\") {\n if (selectedFilter[\"tradingSpid\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tradingSpid: filterValues\n }\n }));\n } else if (selectedFilter[accessor[0]] !== filterValues) {\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n [accessor[0]]: filterValues\n }\n }));\n }\n return rows;\n },\n [selectedFilter]\n );\n\n const getTppList = (\n currentPage: number,\n pageSize: number,\n searchKey: string,\n orderByColumn: string,\n orderDirection: string,\n filterValues?: string\n ) => {\n TradingPartnerApi.getTppUserList(\n currentPage,\n pageSize,\n searchKey ? searchKey : \"\",\n orderByColumn,\n orderDirection,\n filterValues ? filterValues : \"\"\n )\n .then((result) => {\n if (isMounted && result) {\n if (result.rows) {\n setTradingPartnerDetails(result.rows);\n setCount(result.totalRows);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setTradingPartnerDetails(undefined);\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getTppList(pageIndex + 1, pageSize, searchKey ? searchKey : \"\", orderByColumn, orderDirection, queryString.toString());\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, pageIndex, pageSize]);\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setTradingPartnerDetails(undefined);\n if (pageIndex !== 0) setPageIndex(0);\n else {\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getTppList(pageIndex + 1, pageSize, searchKey ? searchKey : \"\", orderByColumn, orderDirection, queryString.toString());\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, selectedFilter]);\n\n const columns = useMemo(() => {\n const columnsList = getColumns(intl, columnFilter, toggleRefresh, tppSpidList, theme);\n return updateHiddenColumns(columnsList);\n }, [intl, updateHiddenColumns, columnFilter, toggleRefresh, tppSpidList, theme]);\n\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n useEffect(() => {\n if (triggerRefresh) {\n setSelectedFilter(DefaultTppListFilter);\n if (pageIndex !== 0) setPageIndex(0);\n setShowLoadingIndicator(true);\n setTriggerRefresh(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current) {\n getTppSpidList();\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n setSearchKey(\"\");\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getTppList(1, 10, \"\", orderByColumn, orderDirection);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, appContext.localStorageInfo.selectedProfile, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current && props.search !== searchKey) {\n resetAllFilters();\n setSearchKey(props.search);\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getTppList(1, 10, props.search, orderByColumn, orderDirection);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, props.search, searchKey, resetAllFilters]);\n\n\n //Handle Event for sorting\n const handleColumnSorted = useCallback(\n (column) => {\n const columnSortOption = columnFilterSort[column.identifier];\n\n if (!columnSortOption || !columnSortOption.isSorted) {\n // Column is not sorted or in an unsorted state, set it to ascending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"asc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getTppList(pageIndex + 1, pageSize, props.search, column.identifier, \"asc\", queryString); // Include queryString\n } else if (columnSortOption.isSorted && !columnSortOption.isSortedDesc) {\n // Column is sorted in ascending order, toggle to descending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: true,\n },\n }));\n setOrderDirection(\"desc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getTppList(pageIndex + 1, pageSize, props.search, column.identifier, \"desc\", queryString); // Include queryString\n } else {\n // Column is sorted in descending order, toggle to unsorted\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: false,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"\"); // Clear order direction\n setOrderByColumn(\"\"); // Clear orderByColumn\n getTppList(pageIndex + 1, pageSize, props.search, \"\", \"\", queryString); // Include queryString\n }\n },\n [setColumnFilterSort, columnFilterSort, pageIndex, pageSize, props.search, queryString]\n );\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\n\nconst getTitleComponent = (title) => {\n return (\n
    \n

    {title}

    \n
    \n );\n};\n\nconst getColumns = (\n intl: IntlShape,\n customfilter: (x: any, y: any, z: any) => void,\n toggleRefresh,\n tppSpidList,\n theme: string\n) => [\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.reqSpId\" }),\n accessor: \"requestingSpid\",\n identifier: TradingPartnerTableColumnIdentifiers.RequestingSpId,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.spId\" }),\n accessor: \"targetSpid\",\n identifier: TradingPartnerTableColumnIdentifiers.TargetSpId,\n spidsFilterList: tppSpidList,\n Filter: TppSpidColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.serviceProvider\" }),\n accessor: \"serviceProvider\",\n identifier: TradingPartnerTableColumnIdentifiers.ServiceProvider,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.serviceProvider)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.verified\" }),\n accessor: \"isVerified\",\n identifier: TradingPartnerTableColumnIdentifiers.IsVerified,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.touchlessPreOrder\" }),\n accessor: \"isTouchlessPreorder\",\n identifier: TradingPartnerTableColumnIdentifiers.IsTouchlessPreOrder,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.vpopCustomer\" }),\n accessor: \"vpopCustomer\",\n identifier: TradingPartnerTableColumnIdentifiers.VpopCustomer,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.ixcRequired\" }),\n accessor: \"ixcRequired\",\n identifier: TradingPartnerTableColumnIdentifiers.IxcRequired,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => getYesOrNo(cell.cell.row.original.ixcRequired)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.status\" }),\n accessor: \"status\",\n identifier: TradingPartnerTableColumnIdentifiers.Status,\n Filter: TppStatusColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.verifiedDate\" }),\n accessor: \"verifiedDate\",\n identifier: TradingPartnerTableColumnIdentifiers.VerifiedDate,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.verifiedDate)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.actions\" }),\n identifier: TradingPartnerTableColumnIdentifiers.Actions,\n Cell: (cell: any) => (\n \n )\n }\n ];\n","import React, { useState, useEffect, useMemo, useCallback, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty, getYesOrNo } from \"services/util/StringUtil\";\nimport { TradingPartner, TradingPartnerAdmin } from \"services/apis/types/number/TradingPartner\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { TradingPartnerActionCell } from \"components/common/actions/TradingPartnerActionCell\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport VerifiedCell from \"components/common/VerfiedCell\";\nimport StatusCell from \"components/common/StatusCell\";\nimport ValidateCell from \"components/common/ValidateCell\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { TradingPartnerAdminTableColumnIdentifiers } from \"../types/TradingPartnerColumnIdentifier\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport DefaultYesNoColumnFilter from \"components/framework/table/DefaultYesNoColumnFilter\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TppListFilter, DefaultTppListFilter } from \"services/apis/types/tpp/TppListFilter\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { TppSpidList } from \"services/apis/types/tpp/TppSpidList\";\nimport TppStatusColumnFilter from \"components/framework/table/TppStatusColumnFilter\";\nimport TppSpidColumnFilter from \"components/framework/table/TppSpidColumnFilter\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\ntype Props = {\n search: string;\n};\n\nexport default function TradingPartnerAdminTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [tradingPartnerDetails, setTradingPartnerDetails] = useState();\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [searchKey, setSearchKey] = useState(\"\");\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [count, setCount] = useState(0);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [selectedFilter, setSelectedFilter] = useState(DefaultTppListFilter);\n const [isAppStartUp, setIsAppStartUp] = useState(false);\n const [tppSpidList, setTppList] = useState();\n const [orderByColumn, setOrderByColumn] = useState(\"\");\n const [orderDirection, setOrderDirection] = useState(\"\");\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n\n const getTppSpidList = () => {\n setShowLoadingIndicator(true);\n TradingPartnerApi.getSpidList()\n .then((result) => {\n if (result) {\n setTppList(result);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n\n const resetAllFilters = useCallback(() => {\n if (isMounted.current) {\n setSelectedFilter(DefaultTppListFilter);\n }\n }, [isMounted]);\n\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => !x);\n }\n }, [isMounted]);\n\n const areFiltersmodified = useCallback((): boolean => {\n const queryString = new URLSearchParams(\n Object.fromEntries(Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\"))\n ).toString();\n return queryString ? true : false;\n }, [selectedFilter]);\n\n const updateHiddenColumns = useCallback((columns) => {\n const excludedColumnsForWholesale = [TradingPartnerAdminTableColumnIdentifiers.RequestingSpId];\n if (!userIsAdmin) {\n return columns.filter(column => column.identifier && !excludedColumnsForWholesale.includes(column.identifier))\n };\n return columns;\n }, [userIsAdmin]);\n\n const columnFilter = useCallback(\n (rows: any[], accessor: any, filterValues: any) => {\n if (accessor[0] === \"requestingSpid\") {\n if (selectedFilter[\"tenant\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tenant: filterValues\n }\n }));\n } else if (accessor[0] === \"targetSpid\") {\n if (selectedFilter[\"tradingSpid\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tradingSpid: filterValues\n }\n }));\n } else if (selectedFilter[accessor[0]] !== filterValues) {\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n [accessor[0]]: filterValues\n }\n }));\n }\n return rows;\n },\n [selectedFilter]\n );\n\n const getTppAdminList = (\n currentPage: number,\n pageSize: number,\n searchKey: string,\n orderByColumn: string,\n orderDirection: string,\n filterValues?: string\n ) => {\n TradingPartnerApi.getTppAdminList(\n currentPage,\n pageSize,\n searchKey ? searchKey : \"\",\n orderByColumn,\n orderDirection,\n filterValues ? filterValues : \"\"\n )\n .then((result) => {\n if (isMounted && result) {\n if (result.rows) {\n setTradingPartnerDetails(result.rows);\n setCount(result.totalRows);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setTradingPartnerDetails(undefined);\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getTppAdminList(pageIndex + 1, pageSize, searchKey ? searchKey : \"\", orderByColumn, orderDirection, queryString.toString());\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, pageIndex, pageSize]);\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setTradingPartnerDetails(undefined);\n if (pageIndex !== 0) setPageIndex(0);\n else {\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getTppAdminList(pageIndex + 1, pageSize, searchKey ? searchKey : \"\", orderByColumn, orderDirection, queryString.toString());\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, selectedFilter]);\n\n const columns = useMemo(() => {\n const columnsList = getColumns(intl, columnFilter, toggleRefresh, tppSpidList, theme);\n return updateHiddenColumns(columnsList);\n }, [intl, updateHiddenColumns, columnFilter, toggleRefresh, tppSpidList, theme]);\n\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n useEffect(() => {\n if (triggerRefresh) {\n setSelectedFilter(DefaultTppListFilter);\n if (pageIndex !== 0) setPageIndex(0);\n setShowLoadingIndicator(true);\n setTriggerRefresh(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current) {\n getTppSpidList();\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n setSearchKey(\"\");\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getTppAdminList(1, 10, \"\", orderByColumn, orderDirection);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, appContext.localStorageInfo.selectedProfile, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current && props.search !== searchKey) {\n resetAllFilters();\n setSearchKey(props.search);\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getTppAdminList(1, 10, props.search, orderByColumn, orderDirection);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, props.search, searchKey, resetAllFilters]);\n\n\n //Handle Event for sorting\n const handleColumnSorted = useCallback(\n (column) => {\n const columnSortOption = columnFilterSort[column.identifier];\n\n if (!columnSortOption || !columnSortOption.isSorted) {\n // Column is not sorted or in an unsorted state, set it to ascending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"asc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getTppAdminList(pageIndex + 1, pageSize, props.search, column.identifier, \"asc\", queryString); // Use pageSize\n } else if (columnSortOption.isSorted && !columnSortOption.isSortedDesc) {\n // Column is sorted in ascending order, toggle to descending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: true,\n },\n }));\n setOrderDirection(\"desc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getTppAdminList(pageIndex + 1, pageSize, props.search, column.identifier, \"desc\", queryString); // Use pageSize\n } else {\n // Column is sorted in descending order, toggle to unsorted\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: false,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"\"); // Clear order direction\n setOrderByColumn(\"\"); // Clear orderByColumn\n getTppAdminList(pageIndex + 1, pageSize, props.search, \"\", \"\", queryString);\n }\n },\n [columnFilterSort, getTppAdminList, pageIndex, pageSize, props.search, queryString]\n );\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getTitleComponent = (title) => {\n return (\n
    \n

    {title}

    \n
    \n );\n};\n\nconst getColumns = (\n intl: IntlShape,\n customfilter: (x: any, y: any, z: any) => void,\n toggleRefresh,\n tppSpidList,\n theme: string\n) => [\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.reqSpId\" }),\n accessor: \"requestingSpid\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.RequestingSpId,\n spidsFilterList: tppSpidList,\n Filter: TppSpidColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.spId\" }),\n accessor: \"targetSpid\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.TargetSpId,\n spidsFilterList: tppSpidList,\n Filter: TppSpidColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.serviceProvider\" }),\n accessor: \"serviceProvider\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.ServiceProvider,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.serviceProvider)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.verified\" }),\n accessor: \"isVerified\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.IsVerified,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.touchlessPreOrder\" }),\n accessor: \"isTouchlessPreorder\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.IsTouchlessPreOrder,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.vpopCustomer\" }),\n accessor: \"vpopCustomer\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.VpopCustomer,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.ixcRequired\" }),\n accessor: \"ixcRequired\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.IxcRequired,\n Filter: DefaultYesNoColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => getYesOrNo(cell.cell.row.original.ixcRequired)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.status\" }),\n accessor: \"status\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.Status,\n Filter: TppStatusColumnFilter,\n filter: customfilter,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.verifiedDate\" }),\n accessor: \"verifiedDate\",\n identifier: TradingPartnerAdminTableColumnIdentifiers.VerifiedDate,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.verifiedDate)\n },\n {\n Header: intl.formatMessage({ id: \"tradingPartners.table.actions\" }),\n identifier: TradingPartnerAdminTableColumnIdentifiers.Actions,\n Cell: (cell: any) => (\n \n )\n }\n ];\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\r\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\r\nimport { FormattedMessage, useIntl } from \"react-intl\";\r\nimport {\r\n Container,\r\n Row,\r\n Col,\r\n Button,\r\n Form,\r\n FormGroup,\r\n Input,\r\n InputGroup,\r\n InputGroupAddon,\r\n InputGroupText,\r\n} from \"reactstrap\";\r\nimport TradingPartnerUserTable from \"./TradingPartnerUserTable\";\r\nimport classNames from \"classnames\";\r\nimport { AppContext } from \"services/appContext/AppContext\";\r\nimport { HashRouter, Route } from \"react-router-dom\";\r\nimport Navbar from \"components/common/navBar/NavBar\";\r\nimport TradingPartnerAdminTable from \"./TradingPartnerAdminTable\";\r\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\r\nimport { getTranslation } from \"translations/TranslationService\";\r\n\r\nexport default function TradingPartner() {\r\n const [searchValue, setSearchValue] = useState(\"\");\r\n const [searchInputValue, setSearchInputValue] = useState(\"\");\r\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\r\n const [errorMessageId, setErrorMessageId] = useState(\"\");\r\n const intl = useIntl();\r\n const { appContext } = useContext(AppContext);\r\n const theme = appContext.theme;\r\n const navTitlesRoutesAdmin = [\r\n { routes: '/TradingPartnerUser', titles: 'TPP User' },\r\n { routes: '/TradingPartnerAdmin', titles: 'TPP Admin' },\r\n // Add more navigation items as needed\r\n ];\r\n const navTitlesRoutesUser = [\r\n { routes: '/TradingPartnerUser', titles: 'TPP User' },\r\n // Add more navigation items as needed\r\n ];\r\n const adminAuthorized = appContext.localStorageInfo.user?.permissions.includes(\"Admin\");\r\n const loginBasedRoutes = adminAuthorized ? navTitlesRoutesAdmin : navTitlesRoutesUser;\r\n\r\n useEffect(() => { setSearchValue(''); setSearchInputValue(''); }, [appContext.localStorageInfo.selectedProfile]);\r\n\r\n const handleSubmit = (e: FormEvent) => {\r\n e.preventDefault();\r\n const inputValue = searchInputValue.trim();\r\n const errorMessageIdResult = validateSearchValue();\r\n setErrorMessageId(errorMessageIdResult);\r\n\r\n if (!errorMessageIdResult) {\r\n setSearchValue(inputValue);\r\n }\r\n };\r\n\r\n const handleSearchChange = (searchValue: string) => {\r\n setErrorMessageId(\"\");\r\n setSearchInputValue(searchValue);\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 \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 handleSearchChange(e.currentTarget.value)}\r\n onFocus={() => setFocusedSearchInput(true)}\r\n onBlur={() => setFocusedSearchInput(false)}\r\n />\r\n \r\n \r\n \r\n {errorMessageId && (\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\nconst validateSearchValue = (): string => {\r\n return \"\";\r\n};","export enum CustomerInventoryTableColumnIdentifiers {\n CustomerName = \"customerName\",\n CustomerContactName = \"customerContactName\",\n AltSpid = \"altSpid\",\n InternalId = \"internalId\",\n Users = \"users\",\n Activation = \"activation\",\n Actions = \"actions\"\n}","import React, { useMemo, useState, useEffect, useCallback } from \"react\";\nimport { Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { FormattedMessage } from \"react-intl\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TppHistory, DefaultTppHistory } from \"services/apis//types/tpp/TppHistory\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\n\ntype Props = {\n closeModal: () => void;\n users: any;\n};\n\nexport default function CustomerInventoryUsersModal(props: Props) {\n const [history, setHistory] = useState([DefaultTppHistory]);\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const intl = useIntl();\n const columns = useMemo(() => getColumns(intl), [intl]);\n const isMounted = useIsMounted();\n\n return (\n <>\n \n
    \n

    \n \n

    \n \n
    \n {props.users ? (\n ) : \"No Users Found\"\n \n }\n
    \n\n \n );\n}\n\nconst getColumns = (intl: IntlShape) => [\n {\n Header: intl.formatMessage({ id: \"customerInventory.users.table.name\" }),\n accessor: \"userName\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.users.table.email\" }),\n accessor: \"userEmail\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.users.table.lastLogin\" }),\n accessor: \"lastLogIn\",\n Cell: (cell: any) => \n }\n]","import React, { useState } from \"react\";\nimport ServiceProviderModal from \"./ServiceProviderModal\";\nimport { Button } from \"reactstrap\";\nimport CustomerInventoryUsersModal from \"./CustomerInventoryUsersModal\";\n\ntype Props = {\n users: any;\n labelColor?: string;\n isTpp? : boolean;\n onActionExecuted?: () => void;\n usersCount: number;\n};\n\nexport default function UsersModalCell(props: Props) {\n const [showModal, setShowModal] = useState(false);\n\n return (\n <>\n {props.users && (\n <>\n {\n e.preventDefault();\n setShowModal(true);\n }}>\n {props.usersCount}\n \n {showModal && (\n setShowModal(false)} users={props.users}/>\n )}\n \n )}\n \n );\n}\n","import queryString from \"query-string\";\nimport { CustomerInventoryDto } from \"./types/customerInventory/CustomerInventoryDto\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { InternalId } from \"./types/customerInventory/CustomerInventoryInternalId\";\n\nexport const CustomerInventoryApi = {\n customerInventoryList: (search: string, tenant: string | undefined = undefined): Promise => {\n let url = queryString.stringifyUrl({\n url: \"wholesalecustomer/customerlist\",\n query: {\n searchKey: search && search.length > 0 ? search : undefined,\n },\n }, {\n arrayFormat: 'comma'\n });\n\n return HttpClient.get(url, true, true, tenant, ApiVersion.V3);\n },\n manageCustomer: (companyId: string | undefined = undefined, activity: any, tenant: string | undefined = undefined): Promise => {\n let url = queryString.stringifyUrl({\n url: \"wholesalecustomer/managecustomer\",\n query: {\n companyId: companyId,\n isActivated: activity\n },\n }, {\n arrayFormat: 'comma'\n });\n\n return HttpClient.post(url, true, true, true, activity, ApiVersion.V3);\n },\n updateCustomer: (companyId: string, internalId: string): Promise => {\n let url = queryString.stringifyUrl({\n url: \"wholesalecustomer/updatecustomerdetails\",\n query: {\n companyId: companyId,\n internalId: internalId\n },\n }, {\n arrayFormat: 'comma'\n });\n return HttpClient.post(url, undefined, true, true, \"\", ApiVersion.V3);\n }\n};\n","import React, { useContext, useState } from \"react\";\nimport { Modal, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { CustomerInventoryApi } from \"services/apis/CustomerInventoryApi\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n customerName: string;\n customerId: string;\n activation: boolean;\n closeModal: () => void;\n onUpdateToggle:(boolean) => void;\n};\n\nexport default function ActivateDeactivateModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n\n const activateDeactivateAction = () => {\n setShowLoadingIndicator(true);\n CustomerInventoryApi.manageCustomer(props.customerId, !props.activation)\n .then((result) => {\n if(result) {\n showInfoNotification(intl.formatMessage({ id: \"customerInventory.activation.confirm.message\" }));\n props.onUpdateToggle(!props.activation);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n setShowLoadingIndicator(false);\n props.closeModal();\n });\n }\n\n return (\n \n
    \n

    \n \n

    \n \n
    \n
    \n \n
    \n
    \n \n \n {showLoadingIndicator && }\n \n \n
    \n
    \n );\n}\n","import React, { useState } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport ActivateDeactivateModal from \"components/customerInventory/activateDeactivateModal\";\n\ntype Props = {\n activation: any;\n customerName: string;\n customerId: string;\n onUpdateSuccess: () => void;\n};\nexport default function SideToggle(props: Props) {\n\n const [loading, setLoading] = useState(false);\n const [checked, setChecked] = useState(props.activation);\n const [showModal, setShowModal] = useState(false);\n\n\n const handleCheckboxChange = (e) => {\n setShowModal(true)\n };\n\n const handleToggleChange = (newActivation) => {\n if(newActivation !== props.activation) {\n props.onUpdateSuccess();\n setChecked(!checked)\n }\n };\n\n return (\n <>\n \n\n {showModal && (\n setShowModal(false)}\n activation={props.activation}\n customerName={props.customerName}\n customerId={props.customerId}\n onUpdateToggle={handleToggleChange}\n />\n )}\n \n );\n}\n","import React, { useMemo, useState, useEffect, useCallback, FormEvent, useContext } from \"react\";\nimport { Button, Form, Modal } from \"reactstrap\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { FormattedMessage } from \"react-intl\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { TradingPartnerApi } from \"services/apis/TradingPartnerApi\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TppHistory, DefaultTppHistory } from \"services/apis//types/tpp/TppHistory\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport TextFormInput from \"components/framework/forms/TextFormInput\";\nimport { CustomerInventoryApi } from \"services/apis/CustomerInventoryApi\";\nimport { InternalId } from \"services/apis/types/customerInventory/CustomerInventoryInternalId\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n closeModal: () => void;\n internalId: any;\n customerId: string;\n onUpdateSuccess: (boolean) => void\n};\n\nexport default function CustomerInventoryEditModal(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [internalId, setInternalId] = useState(props.internalId);\n const [onUpdateInternalId, setOnUpdateInternalId] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const intl = useIntl();\n const isMounted = useIsMounted();\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n setShowLoadingIndicator(true);\n CustomerInventoryApi.updateCustomer(props.customerId, internalId)\n .then((result) => {\n if(result) {\n showInfoNotification(intl.formatMessage({ id: \"customerInventory.internalId.edit.confirm.message\" }));\n props.onUpdateSuccess(!onUpdateInternalId);\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n setShowLoadingIndicator(false);\n props.closeModal();\n });\n }\n\n return (\n <>\n \n
    \n

    \n \n

    \n \n
    \n
    handleSubmit(e)}>\n
    \n {\n setInternalId(value)\n }\n }\n />\n
    \n
    \n \n \n {showLoadingIndicator && }\n \n \n
    \n \n
    \n \n );\n}\n","import IconWithTooltip from \"components/common/IconWithTooltip\";\nimport React, { useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { getTranslation } from \"translations/TranslationService\";\nimport CustomerInventoryEditModal from \"./customerInventoryEditModal\";\n\ntype Props = {\n internalId: string;\n customerId: string;\n onUpdateSuccess: (boolean) => void;\n};\n\nexport default function CustomerInventoryActionCell(props: Props) {\n const [showModal, setShowModal] = useState(false);\n const intl = useIntl();\n\n return (\n <>\n setShowModal(true)}\n />\n {showModal && (\n setShowModal(false)} internalId={props.internalId} customerId={props.customerId} onUpdateSuccess={props.onUpdateSuccess}/>\n )}\n \n );\n}\n","import React, { useState, useEffect, useMemo, useCallback, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport SpIdCell from \"components/common/SpIdCell\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { CustomerInventoryTableColumnIdentifiers } from \"./types/customerInventoryIdentifier\";\nimport { CustomerInventoryDto } from \"services/apis/types/customerInventory/CustomerInventoryDto\";\nimport UsersModalCell from \"components/common/UsersModalCell\";\nimport SideToggle from \"components/common/SideToggle\";\nimport CustomerInventoryActionCell from \"./customerInventoryActionCell\";\nimport { CustomerInventoryApi } from \"services/apis/CustomerInventoryApi\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n};\n\nexport default function CustomerInventoryTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [count, setCount] = useState(0);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [customerInventoryList, setCustomerInventoryList] = useState([]);\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n\n useEffect(() => {\n fetchCustomerInventoryData()\n }, [\n isMounted,\n props.search,\n appContext.localStorageInfo.selectedProfile, triggerRefresh\n ]);\n\n const fetchCustomerInventoryData = () => {\n setShowLoadingIndicator(true);\n CustomerInventoryApi.customerInventoryList(props.search)\n .then((result) => {\n const updatedData = result.map((x) => ({\n ...x,\n usersCount: x.users?.length,\n activateInt: Number(x.activation)\n })\n )\n setCustomerInventoryList(updatedData);\n })\n .catch((error) => {\n handleError(error);\n setCustomerInventoryList([]);\n })\n .finally(() => {\n setShowLoadingIndicator(false);\n });\n };\n\n const handleToggleSuccess = () => {\n fetchCustomerInventoryData();\n };\n\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => !x);\n }\n }, [isMounted]);\n\n const columns = useMemo(() => {\n const columnsList = getColumns(intl, toggleRefresh, handleToggleSuccess, theme);\n return columnsList;\n }, [intl, toggleRefresh]);\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getTitleComponent = (title) => {\n return (\n
    \n

    {title}

    \n
    \n );\n};\n\nconst getColumns = (\n intl: IntlShape,\n toggleRefresh,\n handleToggleSuccess,\n theme\n) => [\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.customerName\" }),\n accessor: \"customerName\",\n identifier: CustomerInventoryTableColumnIdentifiers.CustomerName,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.customerName)\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.customerContactName\" }),\n accessor: \"customerContactName\",\n identifier: CustomerInventoryTableColumnIdentifiers.CustomerContactName,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.contactName)\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.AltSpid\" }),\n accessor: \"altSpid\",\n identifier: CustomerInventoryTableColumnIdentifiers.AltSpid,\n Cell: (cell: any) => \n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.internalId\" }),\n accessor: \"internalId\",\n identifier: CustomerInventoryTableColumnIdentifiers.InternalId,\n Cell: (cell: any) => (\n getValueOrEmpty(cell.cell.row.original.internalId)\n )\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.users\" }),\n accessor: \"usersCount\",\n identifier: CustomerInventoryTableColumnIdentifiers.Users,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.activation\" }),\n accessor: \"activateInt\",\n identifier: CustomerInventoryTableColumnIdentifiers.Activation,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"customerInventory.table.actions\" }),\n accessor: \"actions\",\n identifier: CustomerInventoryTableColumnIdentifiers.Actions,\n Cell: (cell: any) => \n }\n ];\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {\n Container,\n Row,\n Col,\n Button,\n Form,\n FormGroup,\n Input,\n InputGroup,\n InputGroupAddon,\n InputGroupText,\n} from \"reactstrap\";\nimport classNames from \"classnames\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport CustomerInventoryTable from \"./customerInventoryTable\";\nimport IconWithTooltip from \"components/common/IconWithTooltip\";\nimport { getTranslation } from \"translations/TranslationService\";\n\nexport default function CustomerInventory() {\n const [searchValue, setSearchValue] = useState(\"\");\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n\n useEffect(() => { setSearchValue(''); setSearchInputValue(''); }, [appContext.localStorageInfo.selectedProfile]);\n\n const handleSubmit = (e: FormEvent) => {\n e.preventDefault();\n const inputValue = searchInputValue.trim();\n const errorMessageIdResult = validateSearchValue();\n setErrorMessageId(errorMessageIdResult);\n\n if (!errorMessageIdResult) {\n setSearchValue(inputValue);\n }\n };\n\n const handleSearchChange = (searchValue: string) => {\n setErrorMessageId(\"\");\n setSearchInputValue(searchValue);\n };\n\n return (\n <>\n \n \n \n \n \n \n

    \n \n \n

    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n {errorMessageId && (\n
    \n \n
    \n )}\n \n \n \n \n
    \n
    \n \n \n \n \n \n );\n}\n\nconst validateSearchValue = (): string => {\n return \"\";\n};","export enum WebhookLogsEmailTableColumnIdentifiers {\n OrderId = \"orderId\",\n EmailAddress = \"emailAddress\",\n Message = \"message\",\n DeliveryStatus = \"deliveryStatus\",\n CreationDate = \"creationDate\",\n Actions = \"actions\",\n Recipient = \"recipient\",\n}\n\nexport enum WebhookLogsURLTableColumnIdentifiers {\n Url = \"url\",\n Message = \"message\",\n Status = \"status\",\n CreationDate = \"creationDate\",\n Actions = \"actions\",\n OrderId = \"orderId\"\n}","export const WebhookLogsStatus = [\n { key: \"Status\", value: \"\" },\n { key: \"Success\", value: \"Success\" },\n { key: \"Failed\", value: \"Failed\" },\n { key: \"Retried\", value: \"Retried\"}\n];\n\nexport const WebhookEmailStatus = [\n { key: \"Status\", value: \"\" },\n { key: \"Sent\", value: \"Sent\" },\n];\n\nexport const buildQueryParams = (params) => {\n return new URLSearchParams(\n Object.entries(params)\n .filter(([, value]) => value !== undefined && value !== \"\")\n .map(([key, value]) => [key, String(value)])\n ).toString();\n};","import queryString from \"query-string\";\nimport { CustomerInventoryDto } from \"./types/customerInventory/CustomerInventoryDto\";\nimport { ApiVersion } from \"services/httpClient/ApiVersion\";\nimport { HttpClient } from \"services/httpClient/HttpClient\";\nimport { ApiError } from \"./types/ApiError\";\nimport { WebhookUrlLogsDto } from \"./types/webhookLogs/WebhookUrlLogsDto\";\nimport { EmailLogsDto } from \"./types/webhookLogs/WebhookEmailLogsDto\";\n\nexport const WebhookLogsApi = {\n getWebhookEmailLogsList: (search: string, tenant: string | undefined = undefined): Promise => {\n let url = queryString.stringifyUrl({\n url: \"wholesalecustomer/customerlist\",\n query: {\n searchKey: search && search.length > 0 ? search : undefined,\n },\n }, {\n arrayFormat: 'comma'\n });\n\n return HttpClient.get(url, true, true, tenant, ApiVersion.V3);\n },\n\n getWebhookUrlLogsList : (\n queryParams: string,\n tenant: string | undefined = undefined\n ): Promise => {\n return HttpClient.get(\n `logs/webhook?${queryParams}`,\n true,\n true,\n tenant,\n ApiVersion.V3\n );\n },\n\n getEmailLogsList : (\n queryParams: string,\n tenant: string | undefined = undefined\n ): Promise => {\n return HttpClient.get(\n `logs/email?${queryParams}`,\n true,\n true,\n tenant,\n ApiVersion.V3\n );\n },\n\n retryWebhookLog:(id: string, tenant: string | undefined = undefined): Promise => {\n return HttpClient.post(`logs/webhook/retry/${id}`,{}, true, true, \"\", ApiVersion.V3);\n },\n};\n","import React, { useState, useEffect, useMemo, useCallback, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { TradingPartnerActionCell } from \"components/common/actions/TradingPartnerActionCell\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TppListFilter, DefaultTppListFilter } from \"services/apis/types/tpp/TppListFilter\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { TradingPartnerTableColumnIdentifiers } from \"components/networkExplorer/types/TradingPartnerColumnIdentifier\";\nimport { WebhookLogsEmailTableColumnIdentifiers } from \"./types/WebhookLogsIdentifier\";\nimport moment from \"moment\";\nimport { WebhookEmailStatus, buildQueryParams } from \"services/util/WebhookLogsUtil\";\nimport { WebhookLogsApi } from \"services/apis/WebhookLogsApi\";\nimport { EmailLogs } from \"services/apis/types/webhookLogs/WebhookEmailLogsDto\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n search: string;\n};\n\nexport default function EmailNotificationsTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [emailLogsDetails, setEmailLogsDetails] = useState();\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [searchKey, setSearchKey] = useState(\"\");\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [count, setCount] = useState(0);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [selectedFilter, setSelectedFilter] = useState(DefaultTppListFilter);\n const [isAppStartUp, setIsAppStartUp] = useState(false);\n const [orderByColumn, setOrderByColumn] = useState(\"\");\n const [orderDirection, setOrderDirection] = useState(\"\");\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n const [status, setStatus] = useState(\"\");\n const [fromDate, setFromDate] = useState(\"\");\n const [toDate, setToDate] = useState(\"\");\n const [orderId, setOrderId] = useState(\"\");\n\n const resetAllFilters = useCallback(() => {\n if (isMounted.current) {\n setSelectedFilter(DefaultTppListFilter);\n }\n }, [isMounted]);\n\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => !x);\n }\n }, [isMounted]);\n\n const areFiltersmodified = useCallback((): boolean => {\n const queryString = new URLSearchParams(\n Object.fromEntries(Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\"))\n ).toString();\n return queryString ? true : false;\n }, [selectedFilter]);\n\n const updateHiddenColumns = useCallback((columns) => {\n const excludedColumnsForWholesale = [TradingPartnerTableColumnIdentifiers.RequestingSpId];\n if (!userIsAdmin) {\n return columns.filter(column => column.identifier && !excludedColumnsForWholesale.includes(column.identifier))\n };\n return columns;\n }, [userIsAdmin]);\n\n const columnFilter = useCallback(\n (rows: any[], accessor: any, filterValues: any) => {\n if (accessor[0] === \"requestingSpid\") {\n if (selectedFilter[\"tenant\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tenant: filterValues\n }\n }));\n } else if (accessor[0] === \"targetSpid\") {\n if (selectedFilter[\"tradingSpid\"] !== filterValues)\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n tradingSpid: filterValues\n }\n }));\n } else if (selectedFilter[accessor[0]] !== filterValues) {\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n [accessor[0]]: filterValues\n }\n }));\n }\n return rows;\n },\n [selectedFilter]\n );\n\n const handleSearch = (data) => {\n const formattedData = {\n orderId: data.orderIdValue ? data.orderIdValue : '',\n Status: data.statusValue ? data.statusValue : '',\n FromDate: data.fromDate ? data.fromDate : '',\n ToDate: data.toDate ? data.toDate : ''\n };\n setOrderId(formattedData.orderId);\n setStatus(formattedData.Status);\n setFromDate(formattedData.FromDate);\n setToDate(formattedData.ToDate);\n };\n\n const getEmailLogsList = (\n currentPage: number,\n pageSize: number,\n orderByColumn: string,\n orderDirection: string,\n filterValues: {\n orderId?: string,\n Status?: string,\n FromDate?: string,\n ToDate?: string\n },\n tenant: string | undefined = undefined\n) => {\n const params = buildQueryParams({\n pageNumber: currentPage.toString(),\n pageSize: pageSize.toString(),\n orderByColumn: orderByColumn,\n orderDirection: orderDirection,\n orderId: filterValues.orderId,\n Status: filterValues.Status,\n FromDate: filterValues.FromDate,\n ToDate: filterValues.ToDate\n });\n\n WebhookLogsApi.getEmailLogsList(params, tenant)\n .then((result) => {\n if (isMounted && result) {\n if (result.rows) {\n setEmailLogsDetails(result.rows);\n setCount(result.totalRows);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n};\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setEmailLogsDetails(undefined);\n const trimmedOrderId = orderId.trim();\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getEmailLogsList(pageIndex + 1, pageSize, orderByColumn, orderDirection, {\n orderId: trimmedOrderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, pageIndex, pageSize, status, fromDate, toDate, orderId]);\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setEmailLogsDetails(undefined);\n if (pageIndex !== 0) setPageIndex(0);\n else {\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getEmailLogsList(pageIndex + 1, pageSize, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, selectedFilter]);\n\n const columns = useMemo(() => {\n const columnsList = getColumns(intl, columnFilter);\n return updateHiddenColumns(columnsList);\n }, [intl, updateHiddenColumns, columnFilter, toggleRefresh]);\n\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n useEffect(() => {\n if (triggerRefresh) {\n setSelectedFilter(DefaultTppListFilter);\n if (pageIndex !== 0) setPageIndex(0);\n setShowLoadingIndicator(true);\n setTriggerRefresh(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n setSearchKey(\"\");\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getEmailLogsList(1, 10, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, appContext.localStorageInfo.selectedProfile, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current && props.search !== searchKey) {\n resetAllFilters();\n setSearchKey(props.search);\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getEmailLogsList(1, 10, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, props.search, searchKey, resetAllFilters]);\n\n const sortableColumns = [\n WebhookLogsEmailTableColumnIdentifiers.OrderId,\n ];\n //Handle Event for sorting\n const handleColumnSorted = useCallback(\n (column) => {\n const columnSortOption = columnFilterSort[column.identifier];\n if (sortableColumns.includes(column.identifier)) return;\n if (!columnSortOption || !columnSortOption.isSorted) {\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"asc\");\n setOrderByColumn(column.identifier);\n getEmailLogsList(pageIndex + 1, pageSize, column.identifier, \"asc\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n }\n );\n } else if (columnSortOption.isSorted && !columnSortOption.isSortedDesc) {\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: true,\n },\n }));\n setOrderDirection(\"desc\");\n setOrderByColumn(column.identifier);\n getEmailLogsList(pageIndex + 1, pageSize, column.identifier, \"desc\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n } else {\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: false,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"\");\n setOrderByColumn(\"column.identifier\");\n getEmailLogsList(pageIndex + 1, pageSize, column.identifier, \"\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n },\n [columnFilterSort, getEmailLogsList, pageIndex, pageSize, status, fromDate, toDate]\n );\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\n\nconst getTitleComponent = (title) => {\n return (\n
    \n

    {title}

    \n
    \n );\n};\n\nconst getColumns = (\n intl: IntlShape,\n toggleRefresh,\n) => [\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.orderId\" }),\n accessor: \"orderId\",\n identifier: WebhookLogsEmailTableColumnIdentifiers.OrderId,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.orderId)\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.emailAddress\" }),\n accessor: \"recipient\",\n identifier: WebhookLogsEmailTableColumnIdentifiers.Recipient,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.recipient)\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.status\" }),\n accessor: \"deliveryStatus\",\n identifier: WebhookLogsEmailTableColumnIdentifiers.DeliveryStatus,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.deliveryStatus)\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.creationDate\" }),\n accessor: \"dateTime\",\n identifier: WebhookLogsEmailTableColumnIdentifiers.CreationDate,\n Cell: (cell: any) => ( cell.cell.row.original.dateTime ? : \"\")\n }\n ];\n","export type WebhookLogsListFilter = {\n status: string;\n fromDate: string;\n toDate: string;\n}\n\nexport const DefaultWebhookLogsListFilter: WebhookLogsListFilter = {\n status: \"\",\n fromDate: \"\",\n toDate: \"\"\n}","import React, { useState } from \"react\";\nimport { WebhookLogsApi } from \"services/apis/WebhookLogsApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { useIntl } from \"react-intl\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport classNames from \"classnames\";\n\ntype Props = {\n id: string;\n retryCount: number;\n status: string;\n onActionExecuted: () => void;\n};\n\nexport default function UrlNotificationActionsCell(props: Props) {\n const intl = useIntl();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const isMounted = useIsMounted();\n\n const onActionSubmitted = () => {\n setShowLoadingIndicator(true);\n WebhookLogsApi.retryWebhookLog(props.id)\n .then(() => {\n props.onActionExecuted();\n showInfoNotification(intl.formatMessage({ id: \"notifications.retry.retryNotification\" }));\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n }\n\n return (\n <>\n {showLoadingIndicator ? (\n \n )\n : props.status === \"Failed\" ?\n onActionSubmitted()}\n data-toggle=\"tooltip\"\n data-placement=\"top\"\n title={\"Resend Notification\"}\n /> : \"\"\n }\n \n );\n}\n","import React, { useState, useEffect, useMemo, useCallback, useContext } from \"react\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { IntlShape, useIntl } from \"react-intl\";\nimport { getValueOrEmpty, truncateAndAppendEllipsis } from \"services/util/StringUtil\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { TradingPartnerActionCell } from \"components/common/actions/TradingPartnerActionCell\";\nimport { authorize } from \"services/authorization/AuthorizationService\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport { TradingPartnerAdminTableColumnIdentifiers } from \"components/networkExplorer/types/TradingPartnerColumnIdentifier\";\nimport { WebhookLogsURLTableColumnIdentifiers } from \"./types/WebhookLogsIdentifier\";\nimport { WebhookLogsApi } from \"services/apis/WebhookLogsApi\";\nimport { WebhookUrlLogs } from \"services/apis/types/webhookLogs/WebhookUrlLogsDto\";\nimport FormatDateTime from \"components/framework/date/FormatDateTime\";\nimport { DefaultWebhookLogsListFilter, WebhookLogsListFilter } from \"services/apis/types/webhookLogs/WebhookLogsListFilter\";\nimport { WebhookLogsStatus, buildQueryParams } from \"services/util/WebhookLogsUtil\";\nimport moment from \"moment\";\nimport UrlNotificationActionsCell from \"./UrlNotificationActionsCell\";\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\ntype Props = {\n search: string;\n};\n\nexport default function UrlNotificationsTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [webhookUrlLogsDetails, setWebhookUrlLogsDetails] = useState();\n const [userIsAdmin] = useState(authorize(PermissionType.Admin));\n const { appContext } = useContext(AppContext);\n const isMounted = useIsMounted();\n const intl = useIntl();\n const [searchKey, setSearchKey] = useState(\"\");\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const [count, setCount] = useState(0);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const [selectedFilter, setSelectedFilter] = useState(DefaultWebhookLogsListFilter);\n const [isAppStartUp, setIsAppStartUp] = useState(false);\n const [orderByColumn, setOrderByColumn] = useState(\"\");\n const [orderDirection, setOrderDirection] = useState(\"\");\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n const [status, setStatus] = useState(\"\");\n const [fromDate, setFromDate] = useState(\"\");\n const [toDate, setToDate] = useState(\"\");\n const [orderId, setOrderId] = useState(\"\");\n\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n\n const resetAllFilters = useCallback(() => {\n if (isMounted.current) {\n setSelectedFilter(DefaultWebhookLogsListFilter);\n }\n }, [isMounted]);\n\n const toggleRefresh = useCallback(() => {\n if (isMounted.current) {\n setTriggerRefresh((x) => !x);\n }\n }, [isMounted]);\n\n const areFiltersmodified = useCallback((): boolean => {\n const queryString = new URLSearchParams(\n Object.fromEntries(Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\"))\n ).toString();\n return queryString ? true : false;\n }, [selectedFilter]);\n\n const updateHiddenColumns = useCallback((columns) => {\n const excludedColumnsForWholesale = [TradingPartnerAdminTableColumnIdentifiers.RequestingSpId];\n if (!userIsAdmin) {\n return columns.filter(column => column.identifier && !excludedColumnsForWholesale.includes(column.identifier))\n };\n return columns;\n }, [userIsAdmin]);\n\n const columnFilter = useCallback(\n (rows: any[], accessor: any, filterValues: any) => {\n if (selectedFilter[accessor[0]] !== filterValues) {\n setSelectedFilter((prevState) => ({\n ...prevState,\n ...{\n [accessor[0]]: filterValues\n }\n }));\n }\n return rows;\n },\n [selectedFilter]\n );\n\n const handleSearch = (data) => {\n const formattedData = {\n orderId: data.orderIdValue ? data.orderIdValue : '',\n Status: data.statusValue ? data.statusValue : '',\n FromDate: data.fromDate ? data.fromDate : '',\n ToDate: data.toDate ? data.toDate : ''\n };\n setOrderId(formattedData.orderId);\n setStatus(formattedData.Status);\n setFromDate(formattedData.FromDate);\n setToDate(formattedData.ToDate);\n };\n\n const getWebhookLogsList = (\n currentPage: number,\n pageSize: number,\n orderByColumn: string,\n orderDirection: string,\n filterValues: {\n orderId?: string,\n Status?: string,\n FromDate?: string,\n ToDate?: string\n },\n tenant: string | undefined = undefined\n) => {\n const params = buildQueryParams({\n pageNumber: currentPage.toString(),\n pageSize: pageSize.toString(),\n orderByColumn: orderByColumn,\n orderDirection: orderDirection,\n orderId: filterValues.orderId,\n Status: filterValues.Status,\n FromDate: filterValues.FromDate,\n ToDate: filterValues.ToDate\n });\n\n WebhookLogsApi.getWebhookUrlLogsList(params, tenant)\n .then((result) => {\n if (isMounted && result) {\n if (result.rows) {\n setWebhookUrlLogsDetails(result.rows);\n setCount(result.totalRows);\n }\n }\n })\n .catch((error) => handleError(error))\n .finally(() => {\n if (isMounted) {\n setShowLoadingIndicator(false);\n }\n });\n};\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setWebhookUrlLogsDetails(undefined);\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getWebhookLogsList(pageIndex + 1, pageSize, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, pageIndex, pageSize, status, fromDate, toDate, orderId ]);\n\n useEffect(() => {\n if (isMounted.current && isAppStartUp) {\n setWebhookUrlLogsDetails(undefined);\n if (pageIndex !== 0) setPageIndex(0);\n else {\n const queryString = new URLSearchParams(\n Object.fromEntries(\n Object.entries(selectedFilter).filter(([_, v]) => v !== \"\" && v !== \"Any\")\n )\n ).toString();\n getWebhookLogsList(pageIndex + 1, pageSize, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, selectedFilter]);\n\n const columns = useMemo(() => {\n const columnsList = getColumns(intl, columnFilter, toggleRefresh);\n return updateHiddenColumns(columnsList);\n }, [intl, updateHiddenColumns, columnFilter, toggleRefresh]);\n\n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n useEffect(() => {\n if (triggerRefresh) {\n setSelectedFilter(DefaultWebhookLogsListFilter);\n if (pageIndex !== 0) setPageIndex(0);\n setShowLoadingIndicator(true);\n setTriggerRefresh(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current) {\n // getTppSpidList();\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n setSearchKey(\"\");\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getWebhookLogsList(1, 10, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, appContext.localStorageInfo.selectedProfile, triggerRefresh]);\n\n useEffect(() => {\n if (isMounted.current && props.search !== searchKey) {\n resetAllFilters();\n setSearchKey(props.search);\n setShowLoadingIndicator(true);\n setIsAppStartUp(true);\n if (pageIndex !== 0 || pageSize !== 10 || areFiltersmodified()) {\n if (pageIndex !== 0) setPageIndex(0);\n if (pageSize !== 10) setPageSize(10);\n if (areFiltersmodified()) resetAllFilters();\n } else getWebhookLogsList(1, 10, orderByColumn, orderDirection, {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [isMounted, props.search, searchKey, resetAllFilters]);\n\n const sortableColumns = [\n WebhookLogsURLTableColumnIdentifiers.OrderId,\n ];\n\n //Handle Event for sorting\n const handleColumnSorted = useCallback(\n (column) => {\n const columnSortOption = columnFilterSort[column.identifier];\n if (sortableColumns.includes(column.identifier)) return;\n if (!columnSortOption || !columnSortOption.isSorted) {\n // Column is not sorted or in an unsorted state, set it to ascending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"asc\");\n setOrderByColumn(column.identifier);\n getWebhookLogsList(pageIndex + 1, pageSize, column.identifier, \"asc\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n }\n ); // Use pageSize\n } else if (columnSortOption.isSorted && !columnSortOption.isSortedDesc) {\n // Column is sorted in ascending order, toggle to descending\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: true,\n },\n }));\n setOrderDirection(\"desc\"); // Set order direction\n setOrderByColumn(column.identifier); // Set orderByColumn\n getWebhookLogsList(pageIndex + 1, pageSize, column.identifier, \"desc\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n }); // Use pageSize\n } else {\n // Column is sorted in descending order, toggle to unsorted\n setColumnFilterSort((prevSortOptions) => ({\n ...prevSortOptions,\n [column.identifier]: {\n isSorted: false,\n isSortedDesc: false,\n },\n }));\n setOrderDirection(\"\"); // Clear order direction\n setOrderByColumn(\"column.identifier\"); // Clear orderByColumn\n getWebhookLogsList(pageIndex + 1, pageSize, column.identifier, \"\", {\n orderId: orderId,\n Status: status,\n FromDate: fromDate,\n ToDate: toDate\n });\n }\n },\n [columnFilterSort, getWebhookLogsList, pageIndex, pageSize, status, fromDate, toDate]\n );\n\n return showLoadingIndicator ? (\n \n ) : (\n \n );\n}\n\nconst getTitleComponent = (title) => {\n return (\n
    \n

    {title}

    \n
    \n );\n};\n\nconst getColumns = (\n intl: IntlShape,\n customfilter: (x: any, y: any, z: any) => void,\n toggleRefresh\n) => [\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.orderId\" }),\n accessor: \"orderId\",\n identifier: WebhookLogsURLTableColumnIdentifiers.OrderId,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.orderId)\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.url\" }),\n accessor: \"endpoint\",\n identifier: WebhookLogsURLTableColumnIdentifiers.Url,\n Cell: (cell: any) => (\n \n {truncateAndAppendEllipsis(cell.cell.row.original.endpoint)}\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.status\" }),\n accessor: \"status\",\n identifier: WebhookLogsURLTableColumnIdentifiers.Status,\n Cell: (cell: any) => getValueOrEmpty(cell.cell.row.original.status)\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.creationDate\" }),\n accessor: \"creationDate\",\n identifier: WebhookLogsURLTableColumnIdentifiers.CreationDate,\n className: \"max-width-200 padding-horizontal-8\",\n Cell: (cell: any) => (cell.cell.value ? : \"\")\n },\n {\n Header: intl.formatMessage({ id: \"webhookLogs.table.actions\" }),\n identifier: WebhookLogsURLTableColumnIdentifiers.Actions,\n Cell: (cell: any) => (\n \n )\n }\n ];\n","import React, { useState, FormEvent, useContext, useEffect } from \"react\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport {\n Container,\n Row,\n Col,\n Button,\n Form,\n FormGroup,\n Input,\n InputGroup,\n InputGroupAddon,\n InputGroupText,\n} from \"reactstrap\";\nimport EmailNotificationsTable from \"./EmailNotificationsTable\";\nimport classNames from \"classnames\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { HashRouter, Route } from \"react-router-dom\";\nimport Navbar from \"components/common/navBar/NavBar\";\nimport UrlNotificationsTable from \"./UrlNotificationsTable\";\n\nexport default function WebhookLogs() {\n const [searchValue, setSearchValue] = useState(\"\");\n const [searchInputValue, setSearchInputValue] = useState(\"\");\n const [focusedSearchInput, setFocusedSearchInput] = useState(false);\n const [errorMessageId, setErrorMessageId] = useState(\"\");\n const intl = useIntl();\n const { appContext } = useContext(AppContext);\n const navTitlesRoutesAdmin = [\n { routes: '/UrlNotifications', titles: 'URL Notifications' },\n { routes: '/EmailNotifications', titles: 'Email Notifications' },\n // Add more navigation items as needed\n ];\n const navTitlesRoutesUser = [\n { routes: '/UrlNotifications', titles: 'URL Notifications' },\n // Add more navigation items as needed\n ];\n const adminAuthorized = appContext.localStorageInfo.user?.permissions.includes(\"Admin\");\n const loginBasedRoutes = adminAuthorized ? navTitlesRoutesAdmin : navTitlesRoutesUser;\n\n useEffect(() => { setSearchValue(''); setSearchInputValue(''); }, [appContext.localStorageInfo.selectedProfile]);\n\n // const handleSubmit = (e: FormEvent) => {\n // e.preventDefault();\n // const inputValue = searchInputValue.trim();\n // const errorMessageIdResult = validateSearchValue();\n // setErrorMessageId(errorMessageIdResult);\n\n // if (!errorMessageIdResult) {\n // setSearchValue(inputValue);\n // }\n // };\n\n // const handleSearchChange = (searchValue: string) => {\n // setErrorMessageId(\"\");\n // setSearchInputValue(searchValue);\n // };\n\n return (\n <>\n \n \n \n {/* \n \n \n

    \n \n

    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n handleSearchChange(e.currentTarget.value)}\n onFocus={() => setFocusedSearchInput(true)}\n onBlur={() => setFocusedSearchInput(false)}\n />\n \n \n \n {errorMessageId && (\n
    \n \n
    \n )}\n \n \n \n \n
    \n
    */}\n \n \n \n \n (\n \n )}/>\n (\n \n )}/>\n \n \n \n \n );\n}\n\nconst validateSearchValue = (): string => {\n return \"\";\n};","import React, { useCallback, useContext, useEffect, useState } from \"react\";\nimport { Row, Col, Container, Modal, Button } from \"reactstrap\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport PortInHandlers from \"../portIn/PortInHandlers\";\nimport { OrderRequestType } from \"services/apis/types/port/OrderRequestType\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport PortInValidationSection from \"../portIn/PortInValidationSection\";\nimport { PortApi } from \"services/apis/PortApi\";\nimport { showInfoNotification } from \"components/framework/notification/NotificationUtil\";\nimport { ApiErrorType } from \"components/common/types/ApiErrorType\";\nimport ConfirmationModal from \"components/framework/modals/ConfirmationModal\";\nimport { PortProposalDto } from \"services/apis/types/port/PortProposalDto\";\nimport CloseButton from \"components/framework/modals/CloseButton\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\n\nexport default function DisasterRecovery() {\n const history = useHistory();\n const location = useLocation();\n const intl = useIntl();\n const {\n // TODO : the following state assessors could be moved to a 'PortInContext' -\n // as these variables are shared between components\n orderRequestType,\n setOrderRequestType,\n setExcelTemplateAccounts,\n excelTemplateAccounts,\n accountModels,\n showLoadingIndicator,\n portProposals,\n spidLogosRetrieved,\n setValidationErrorMessages,\n validationErrorMessages,\n validateNumbers,\n fetchSpidLogos,\n checkAndImportAccountFromPreviousOrder,\n discardPreviousData\n } = PortInHandlers();\n\n const [showLoadingIndicatorForDR, setShowLoadingIndicatorForDR] = useState(false);\n const [isSuppressDuplicateTnValidation, setIsSuppressDuplicateTnValidation] = useState(false);\n const [showConfirmation, setShowConfirmation] = useState(false);\n const [confirmed, setConfirmed] = useState(false);\n const [storedProposalResponse, setStoredProposalResponse] = useState(\n undefined\n ); // Store the proposalResponse\n const [storedProfiles, setStoredProfiles] = useState(null); // Store profiles\n const [storedAdminProjectId, setStoredAdminProjectId] = useState(null);\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n const companyId = appContext.localStorageInfo.selectedProfile?.companyId;\n const isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\n const createRequestForOrder = (order, numbers, profiles, adminProjectId) => {\n const processedNumbers = Array.isArray(numbers) ? numbers : [numbers];\n\n return {\n projectId: \"\",\n adminProjectId: adminProjectId,\n companyId: `${isMixNetworkUrl ? companyId : \"\"}`,\n loosingProvider: order.currentSpId,\n numbers: processedNumbers.map((number) => {\n const profileId = number.availableProfiles[0];\n const profile = profiles[profileId];\n\n return {\n number: number.number,\n lrn: profile?.lrn,\n svType: profile?.svType,\n billingId: profile?.billingId || null,\n userLocation: profile?.endUserLocation || null,\n userLocationType: profile?.endUserLocationType || null,\n dpcSsnInfo: {\n classDpc: profile?.networkData?.classDpc,\n classSsn: profile?.networkData?.classSsn,\n lidbDpc: profile?.networkData?.lidbDpc,\n lidbSsn: profile?.networkData?.lidbSsn,\n isvmDpc: profile?.networkData?.isvmDpc,\n isvmSsn: profile?.networkData?.isvmSsn,\n cnamDpc: profile?.networkData?.cnamDpc,\n cnamSsn: profile?.networkData?.cnamSsn,\n wsmscDpc: profile?.networkData?.wsmscDpc,\n wsmscSsn: profile?.networkData?.wsmscSsn\n },\n optionalData: {\n altSpId: profile?.optionalData?.altSpId,\n lastAltSpId: profile?.optionalData?.lastAltSpId,\n altBillingId: profile?.optionalData?.altBillingId,\n altUserLocationType: profile?.optionalData?.altUserLocationType,\n altUserLocationValue: profile?.optionalData?.altUserLocationValue,\n voiceUri: profile?.optionalData?.voiceUri,\n mmsUri: profile?.optionalData?.mmsUri,\n smsUri: profile?.optionalData?.smsUri\n }\n };\n }),\n isSuppressDuplicateTnValidation: isSuppressDuplicateTnValidation\n };\n };\n\n // Calling Multiple Api calls\n useEffect(() => {\n if (portProposals?.orders.length && accountModels?.length > 0) {\n handleMultipleApiCalls(portProposals);\n }\n }, [accountModels, portProposals]);\n\n const handleMultipleApiCalls = async (proposalResponse) => {\n const { orders = [], profiles = {}, notPortable = {}, adminProjectId } = proposalResponse;\n setStoredProposalResponse(proposalResponse);\n setStoredProfiles(profiles);\n setStoredAdminProjectId(adminProjectId);\n if (Object.keys(notPortable).length > 0 && orders.length > 0 && !confirmed) {\n // If there are notPortable numbers and orders, ask for user confirmation\n setShowConfirmation(true);\n return;\n } else if (Object.keys(notPortable).length === 0 && orders.length > 0) {\n // If no notPortable numbers and we have valid orders, proceed with API calls\n callApiForOrders(proposalResponse, profiles, adminProjectId);\n }\n };\n\n const callApiForOrders = async (proposalResponse, profiles, adminProjectId) => {\n setShowLoadingIndicatorForDR(true);\n\n const { orders = [] } = proposalResponse;\n\n // Collect all API call promises\n const apiCalls: Promise[] = orders\n .map((order) => {\n const validNumbers = order.numbers.filter((number) => {\n const profileId = number.availableProfiles[0];\n return profiles[profileId]; // Ensure valid profile exists\n });\n\n if (validNumbers.length === 0) {\n return null;\n }\n\n const requestData = createRequestForOrder(order, validNumbers, profiles, adminProjectId);\n\n return PortApi.DisasterRecoveryPort(requestData)\n .then((response) => ({ status: \"fulfilled\", response }))\n .catch((error) => ({ status: \"rejected\", error }));\n })\n .filter(Boolean);\n\n // Execute all the API calls\n Promise.allSettled(apiCalls)\n .then((results: Array>) => {\n let allSuccessful = true;\n results.forEach((result) => {\n if (result.status === \"rejected\") {\n allSuccessful = false;\n setValidationErrorMessages((prev) => [\n ...prev,\n {\n message: result.reason?.message || \"Unknown error\",\n type: ApiErrorType.Danger\n }\n ]);\n } else if (result.status === \"fulfilled\") {\n const apiResponse = result.value;\n if (apiResponse?.status === \"rejected\" || apiResponse?.error?.result === \"failed\") {\n allSuccessful = false;\n setValidationErrorMessages((prev) => [\n ...prev,\n {\n message: apiResponse?.error?.message || \"Unknown failure\",\n type: ApiErrorType.Danger\n }\n ]);\n }\n }\n });\n\n if (allSuccessful) {\n history.push(\"/Orders\");\n showInfoNotification(intl.formatMessage({ id: \"orders.disasterRecovery.create\" }));\n }\n })\n .finally(() => setShowLoadingIndicatorForDR(false));\n };\n useEffect(() => {\n if (\n location &&\n location?.state &&\n (location?.state as any)[\"previousOrder\"] &&\n excelTemplateAccounts.length === 0\n ) {\n checkAndImportAccountFromPreviousOrder(location);\n }\n }, [location, excelTemplateAccounts.length, checkAndImportAccountFromPreviousOrder]);\n\n const showNumberInputAndValidationStep = useCallback(() => {\n const accountsAndCardsLoaded = accountModels?.some(\n (accountModel) => accountModel?.orderCards?.length > 0\n );\n return !accountsAndCardsLoaded || !spidLogosRetrieved;\n // eslint-disable-next-line\n }, [excelTemplateAccounts.length, accountModels, spidLogosRetrieved]);\n\n const validateNumbersAsync = async (\n numberInput: string,\n orderRequestType: OrderRequestType,\n isSuppressDuplicateTnValidation: boolean,\n isDisasterRecovery?: boolean\n ) => {\n setIsSuppressDuplicateTnValidation(isSuppressDuplicateTnValidation);\n let inputStr = numberInput;\n if (inputStr.includes(\"\\n\" || \",\")) {\n inputStr = inputStr.replace(/\\n/g, \",\");\n }\n return validateNumbers(\n inputStr,\n orderRequestType,\n isSuppressDuplicateTnValidation,\n isDisasterRecovery\n );\n };\n\n const closeModal = () => {\n setShowConfirmation(false);\n };\n\n const handleConfirmation = () => {\n // When user confirms to continue with remaining numbers\n setConfirmed(true);\n setShowConfirmation(false);\n callApiForOrders(storedProposalResponse, storedProfiles, storedAdminProjectId); // Call API after confirmation\n };\n\n return (\n <>\n \n \n \n \n \n \n {showNumberInputAndValidationStep() ? (\n \n ) : (\n <>\n \n \n \n \n \n \n \n )}\n \n \n \n {\n <>\n \n \n {(showLoadingIndicator || showLoadingIndicatorForDR) && }\n \n {showConfirmation && (\n \n
    \n \n {intl.formatMessage({ id: \"confirmationModal.confirmButton\" })}\n \n \n
    \n
    \n

    \n {intl.formatMessage({ id: \"orders.disasterRecovery.confirmation.title\" })}\n

    \n
    \n
      \n {Object.entries(storedProposalResponse?.notPortable || {}).map(\n ([number, message]) => (\n
    • \n {number}: {message}\n
    • \n )\n )}\n
    \n
    \n

    \n {intl.formatMessage({ id: \"orders.disasterRecovery.confirmation.footer\" })}\n

    \n
    \n
    \n \n \n {intl.formatMessage({ id: \"orders.disasterRecovery.confirmation.button.continue\" })}\n \n
    \n
    \n )}\n \n }\n
    \n
    \n \n );\n}\n","export enum ProvisionOrdersTableColumnIdentifiers {\n Selected = \"\",\n PhoneNumber = \"phoneNumber\",\n CountryCode = \"countryCode\"\n}\n","import React, { useContext } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { ProvisionOrderListDto } from \"services/apis/types/order/ProvisionOrderListDto\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n order: ProvisionOrderListDto;\n handleInputChange?: any;\n}\n\nexport default function ProvisionOrderSelect(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n const intl = useIntl();\n const handleSelect = (e) => {\n props.handleInputChange({ ...props.order, selected: e.currentTarget.checked }, e.nativeEvent.shiftKey)\n }\n\n return (\n
    \n handleSelect(e)}\n checked={props.order.selected}\n />\n
    \n )\n}","import React, { useContext } from \"react\";\nimport { FormattedMessage } from \"react-intl\";\nimport { Button, Modal } from \"reactstrap\";\nimport { AppContext } from \"services/appContext/AppContext\";\n\ntype Props = {\n // showLoadingIndicator?: boolean;\n onSubmit: () => void;\n};\n\nexport default function TimerCompleteModal(props: Props) {\n const { appContext } = useContext(AppContext);\n const theme = appContext.theme;\n \n return (\n <>\n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n {/* {props.showLoadingIndicator && } */}\n \n \n
    \n
    \n \n );\n}\n","import React, { useContext, useEffect, useRef, useState } from 'react';\nimport { Row, Button, Card, CardHeader, CardBody, Col, Input } from 'reactstrap';\nimport { FormattedMessage, useIntl } from 'react-intl';\nimport { TnReserveResponseDto } from 'services/apis/types/searchAndProvision/TnReserveResponseDto';\nimport { AppContext } from 'services/appContext/AppContext';\nimport { TnOrderRequestDto } from 'services/apis/types/searchAndProvision/TnOrderRequestDto';\nimport { SinchApi } from 'services/apis/SinchApi';\nimport { getFieldErrors, handleError } from 'services/util/ApiUtil';\nimport { useIsMounted } from 'services/customHooks/useIsMounted';\nimport { useErrors } from 'services/customHooks/useErrors';\nimport { useHistory } from 'react-router-dom';\nimport { SaveForLaterRequestDto } from 'services/apis/types/searchAndProvision/SaveForLaterRequestDto';\nimport { showErrorNotification, showInfoNotification } from 'components/framework/notification/NotificationUtil';\nimport TimerCompleteModal from 'components/common/TimerCompleteModal';\n\ntype Props = {\n reservedOrders?: TnReserveResponseDto;\n}\n\nexport const ReservedOrders = (props: Props) => {\n const { appContext, setAppContext } = useContext(AppContext);\n const theme = appContext.theme;\n const isMounted = useIsMounted();\n const { setErrors } = useErrors();\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(false);\n const [isSaveForLater, setIsSaveForLater] = useState(false);\n const history = useHistory();\n const intl = useIntl();\n const [timerCompleted, setTimerCompleted] = useState(false);\n\n const hasExcludedList = props.reservedOrders?.tnReserveResponse?.excludedTnList?.length ? props.reservedOrders.tnReserveResponse.excludedTnList.length > 0 : false;\n const excludedTnList = props.reservedOrders?.tnReserveResponse?.excludedTnList;\n const reservedList = props.reservedOrders?.reservedNumbers;\n\n const [formattedTime, setFormattedTime] = useState('00:00');\n const timeLeftRef = useRef(0);\n\n const formatTime = (time) => {\n const minutes = Math.floor(time / 60);\n const secondsLeft = time % 60;\n return `Time left ${minutes.toString().padStart(2, '0')}:${secondsLeft.toString().padStart(2, '0')}`;\n };\n\n useEffect(() => {\n const storedStartTime = appContext.localStorageInfo.startTime;\n const storedDuration = appContext.localStorageInfo.duration;\n\n if (storedStartTime && storedDuration) {\n const startTime = parseInt(storedStartTime, 10);\n const duration = parseInt(storedDuration, 10);\n const elapsedTime = Math.floor((Date.now() - startTime) / 1000);\n const remainingTime = duration - elapsedTime;\n timeLeftRef.current = remainingTime;\n }\n\n setFormattedTime(formatTime(timeLeftRef.current));\n\n const timerId = setInterval(() => {\n if (timeLeftRef.current > 0) {\n timeLeftRef.current -= 1;\n setFormattedTime(formatTime(timeLeftRef.current));\n } else {\n clearInterval(timerId);\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n startTime: \"\",\n duration: \"\"\n }\n });\n setTimerCompleted(true);\n }\n }, 1000);\n\n return () => {\n clearInterval(timerId);\n };\n }, []);\n\n const handleTimeComplete = () => {\n history.push(\"/SinchOrders\");\n }\n\n const handleSinchOrderCreate = () => {\n setShowLoadingIndicator(true);\n const tnOrderRequest : TnOrderRequestDto = {\n requestId: props.reservedOrders?.requestId,\n tnOrder: {\n tnList: {\n tnItem: props.reservedOrders?.reservedNumbers.map(tn => ({\n tn,\n trunkGroup: \"\",\n routingOption: \"\"\n }))\n }\n }\n };\n\n SinchApi.tnOrder(tnOrderRequest)\n .then((result) => {\n if (result.statusCode === \"432\") {\n showErrorNotification(\n intl.formatMessage({ id: result.result.toString() })\n );\n } else {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.reserved.order.create\" })\n );\n }\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n provisionOrders: [],\n startTime: \"\",\n duration: \"\"\n }\n });\n history.push(\"/SinchOrders\");\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n const handleSaveForLater = () => {\n setShowLoadingIndicator(true);\n setIsSaveForLater(true);\n const saveForLaterRequest : SaveForLaterRequestDto = {\n requestId: props.reservedOrders?.requestId,\n phoneNumbers: props.reservedOrders?.reservedNumbers\n }\n\n SinchApi.saveForLater(saveForLaterRequest)\n .then(() => {\n showInfoNotification(\n intl.formatMessage({ id: \"orders.reserved.order.saveForLater\" })\n );\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n provisionOrders: [],\n startTime: \"\",\n duration: \"\"\n }\n });\n history.push(\"/SinchOrders\");\n })\n .catch((error) => {\n handleError(error);\n if (isMounted.current) {\n const errorsResult = getFieldErrors(error.fieldErrors);\n setErrors(errorsResult);\n }\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n setIsSaveForLater(false);\n }\n });\n };\n\n return (\n <>\n \n \n
    \n \n
    \n
    \n \n \n \n

    {formattedTime}

    \n

    \n \n

    \n \n \n

    \n \n

    \n \n \n \n {hasExcludedList &&\n <>\n

    \n \n

    \n
      \n {excludedTnList?.map(e => (\n
    • \n {e.tn} - \n {e.excludedReason}\n
    • \n ))}\n
    \n \n }\n \n
    \n
    \n \n \n
    \n
    \n
    \n {timerCompleted && (\n \n )}\n \n );\n};\n","import React, { useMemo, useState, useEffect, useContext, useCallback, useRef } from \"react\";\nimport { FormattedMessage, useIntl } from \"react-intl\";\nimport { handleError } from \"services/util/ApiUtil\";\nimport { LoadingIndicator } from \"components/framework/loadingIndicator/LoadingIndicator\";\nimport { useIsMounted } from \"services/customHooks/useIsMounted\";\nimport ReactTable from \"components/framework/table/ReactTable\";\nimport { getValueOrEmpty } from \"services/util/StringUtil\";\nimport { AppContext } from \"services/appContext/AppContext\";\nimport {\n dateRangefilterFunction\n} from \"components/framework/table/DateRangeColumnFilter\";\nimport { getUtcDate } from \"services/util/DateUtil\";\nimport { OrdersTableColumnIdentifiers } from \"components/orders/types/OrdersTableColumnIdentifiers\";\nimport { TableIdentifiers } from \"services/uiSettings/TableIdentifiers\";\nimport SpidsCustomViewSettings from \"components/framework/table/SpidsCustomViewSettings\";\nimport ColumnsCustomViewSettings from \"components/framework/table/ColumnsCustomViewSettings\";\nimport { getUniqueElements } from \"services/util/ArrayUtil\";\nimport moment from \"moment\";\nimport { Col, Container, Row } from \"reactstrap\";\nimport { EnvironmentUtil } from \"services/util/EnvironmentUtil\";\nimport BreadcrumbHeader from \"components/common/BreadcrumbHeader\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport { ProvisionOrderListDto } from \"services/apis/types/order/ProvisionOrderListDto\";\nimport { ProvisionOrdersTableColumnIdentifiers } from \"../types/ProvisionOrdersTableColumnIdentifiers\";\nimport ProvisionOrderSelect from \"components/common/ProvisionOrderSelect\";\nimport { SinchApi } from \"services/apis/SinchApi\";\nimport { TnReserveRequestDto } from \"services/apis/types/searchAndProvision/TnReserveRequestDto\";\nimport { TnReserveResponseDto } from \"services/apis/types/searchAndProvision/TnReserveResponseDto\";\nimport { ReservedOrders } from \"./ReservedOrders\";\nimport TimerCompleteModal from \"components/common/TimerCompleteModal\";\n\nconst isMixNetworkUrl = EnvironmentUtil.isMixNetwork;\n\ntype ColumnFilterSort = {\n isSorted?: boolean;\n isSortedDesc?: boolean;\n}\n\ntype Props = {\n orders?: ProvisionOrderListDto[];\n};\n\nexport default function ProvisionOrderTable(props: Props) {\n const [showLoadingIndicator, setShowLoadingIndicator] = useState(true);\n const [triggerRefresh, setTriggerRefresh] = useState(false);\n const { appContext, setAppContext } = useContext(AppContext);\n const [provisionOrders, setProvisionOrders] = useState([]);\n const [provisionOrdersFiltered, setProvisionOrdersFiltered] = useState();\n const [reservedOrders, setReservedOrders] = useState();\n const [hasReservedOrders, setHasReservedOrders] = useState(false);\n const [isOneStepBackward, setIsOneStepBackward] = useState(true);\n\n const [columnFiltersChanged, setColumnsFiltersChanged] = useState(undefined);\n const [columnFiltersOptions, setColumnFiltersOptions] = useState({});\n const [columnFilterSort, setColumnFilterSort] = useState<{ [key: string]: ColumnFilterSort }>({});\n const [searchFilterTermValue, setSearchFilterTermValue] = useState(\"\");\n const [tableData, setTableData] = useState()\n const [selectedOrders, setSelectedOrders] = useState>([]);\n const [selectedCount, setSelectedCount] = useState(0);\n const [showOrderOptions,] = useState(true);\n const [isFoundCount, setIsFoundCount] = useState(-1);\n const theme = appContext.theme;\n const [timerCompleted, setTimerCompleted] = useState(false);\n const history = useHistory();\n const intl = useIntl();\n const isMounted = useIsMounted();\n const [tableColumnList, setTableColumnList] = useState([]);\n const [pageIndex, setPageIndex] = useState(0);\n const [pageSize, setPageSize] = useState(10);\n const location = useLocation(); // useLocation to get current route\n const prevLocation = useRef(location.pathname);\n \n const handlePageChange = (pageIndex) => {\n setPageIndex(pageIndex);\n };\n\n const handlePageSizeChange = (event) => {\n setPageSize(event);\n setPageIndex(0);\n };\n\n const handleResetFilterChange = (event) => {\n setProvisionOrders(provisionOrders);\n setProvisionOrdersFiltered(() => applyOrdersColumnFilter(provisionOrders));\n setPageSize(10);\n setColumnFilterSort({});\n }\n\n const handleColumnSorted = useCallback((column) => {\n\n // adding or updating column sorting options\n var sortOptions = { ...columnFilterSort };\n if (!sortOptions[column.identifier]) {\n sortOptions = {\n [column.identifier]: {\n isSorted: true,\n isSortedDesc: false\n }\n };\n } else { // toggling sort direction\n sortOptions[column.identifier].isSortedDesc = !sortOptions[column.identifier].isSortedDesc;\n }\n\n setColumnFilterSort(() => sortOptions);\n }, [setColumnFilterSort, columnFilterSort]);\n\n const applySearchKeywordsFilter = useCallback((orders: ProvisionOrderListDto[]) => {\n var filteredBySearchTerm = [...orders ?? [] as ProvisionOrderListDto[]];\n\n if (searchFilterTermValue !== undefined && searchFilterTermValue !== \"\") {\n\n var columnsNames = Object.values(ProvisionOrdersTableColumnIdentifiers) as string[];\n // columnsNames.push(\"orderId\");\n setIsFoundCount(0);\n columnsNames.forEach(cn => {\n var found = filteredBySearchTerm.some(r => r[cn] && r[cn].toLowerCase\n ? r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1\n : false);\n if (found) {\n setIsFoundCount((prevCount => prevCount + 1))\n filteredBySearchTerm = filteredBySearchTerm.filter(r => r[cn] && r[cn].toLowerCase().indexOf(searchFilterTermValue.toLowerCase()) > -1);\n return;\n }\n })\n if (isFoundCount === 0) {\n setProvisionOrdersFiltered([]);\n }\n }\n\n return filteredBySearchTerm;\n }, [searchFilterTermValue, isFoundCount]);\n\n useEffect(() => {\n if (isFoundCount === 0) {\n setProvisionOrdersFiltered([]);\n }\n }, [isFoundCount]);\n\n\n const applyOrdersColumnFilter = useCallback((orders: ProvisionOrderListDto[] | undefined) => {\n\n var filteredData: ProvisionOrderListDto[] = [...(orders ?? [{} as ProvisionOrderListDto])];\n return filteredData;\n // eslint-disable-next-line\n }, [tableColumnList]);\n\n const applyColumnSorting = useCallback((orders: ProvisionOrderListDto[] | undefined) => {\n\n let sortedOrders: ProvisionOrderListDto[] | undefined = [...orders as ProvisionOrderListDto[]];\n\n var hasColumnSort = columnFilterSort && Object.keys(columnFilterSort).length > 0;\n var firstSortedColumnId = Object.keys(columnFilterSort).find(k => columnFilterSort[k].isSorted) as string;\n var firstSortedColumnIdNormalized = normalizeFieldName(firstSortedColumnId);\n\n const distinctFn = (v, i, a) => a.findIndex(v1 => v1 === v) === i;\n const isNumericField = orders && orders?.map(f => f[firstSortedColumnIdNormalized])\n .filter(distinctFn)\n .map(v => Number.isInteger(v))\n .filter(v => v === false).length === 0;\n\n if (hasColumnSort) {\n\n // sorting records by column identifier\n if (firstSortedColumnId && firstSortedColumnId.toLowerCase().indexOf(\"date\") > 0) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc\n ? orders?.sort((a, b) => getUtcDate(b[firstSortedColumnIdNormalized]).diff(getUtcDate(a[firstSortedColumnIdNormalized])))\n : orders?.sort((a, b) => getUtcDate(a[firstSortedColumnIdNormalized]).diff(getUtcDate(b[firstSortedColumnIdNormalized])));\n }\n else if (firstSortedColumnId && isNumericField) {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized] - a[firstSortedColumnIdNormalized] : 0) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized] - b[firstSortedColumnIdNormalized] : 0);\n }\n else {\n sortedOrders = columnFilterSort[firstSortedColumnId].isSortedDesc ?\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? b[firstSortedColumnIdNormalized].localeCompare(a[firstSortedColumnIdNormalized]) : false) :\n orders?.sort((a, b) => a[firstSortedColumnIdNormalized] && b[firstSortedColumnIdNormalized] ? a[firstSortedColumnIdNormalized].localeCompare(b[firstSortedColumnIdNormalized]) : false);\n }\n }\n\n return sortedOrders;\n\n }, [columnFilterSort]);\n\n const filterAndSort = useCallback((orders: ProvisionOrderListDto[] | undefined) => {\n if (orders && orders.length > 0) {\n\n const filtered = applyOrdersColumnFilter([...orders]);\n const sorted = applyColumnSorting([...filtered]);\n let filteredBySearchKeywords = applySearchKeywordsFilter([...sorted as ProvisionOrderListDto[]]);\n return filteredBySearchKeywords;\n }\n\n return [] as ProvisionOrderListDto[];\n }, [applyOrdersColumnFilter, applyColumnSorting, applySearchKeywordsFilter])\n\n const extractColumnFiltersOptions = (orders: ProvisionOrderListDto[]) => {\n var lookup = {};\n const columnFilterNames = Object.values(ProvisionOrdersTableColumnIdentifiers);\n if (columnFilterNames) {\n columnFilterNames.forEach(fn => {\n var excluded = [\"pageIndex\", \"pageSize\"];\n var allColumnFilter = appContext.localStorageInfo?.orders;\n if (allColumnFilter && orders.length > 0 && !excluded.find(f => f === fn)) {\n var isRange = Array.isArray(allColumnFilter[fn]) || fn.toLowerCase().indexOf(\"date\") > 0;\n var isAnyRange = (isRange && allColumnFilter[fn] && allColumnFilter[fn].length === 0);\n\n if (isRange && !isAnyRange) {\n var truncatedDates = getUniqueElements(orders.map(o => {\n var date = new Date(o[fn]);\n return new Date(date.getFullYear(), date.getMonth(), date.getDate()).toDateString();\n }));\n\n var dates = truncatedDates.map(d => moment(d).toDate());\n lookup[fn] = [...dates];\n }\n else {\n var normalizedFieldName = normalizeFieldName(fn);\n lookup[normalizedFieldName] = [...getUniqueElements(orders.map(o => o[normalizedFieldName]))];\n }\n\n }\n });\n }\n\n\n return lookup;\n };\n\n const normalizeFieldName = (fn) => {\n // normalizing field names mapping from \"OrdersTableColumnIdentifiers.ts\" field names to \"OrderListDto.ts\" field names\n if (fn && (fn.toLocaleLowerCase() === \"gainingspid\" || fn.toLocaleLowerCase() === \"losingspid\" || fn.toLocaleLowerCase() === \"loosingspid\")) {\n const altFn = fn.toLocaleLowerCase() === \"gainingspid\" ? \"gainingSpId\" : \"loosingSpId\";\n return altFn;\n }\n return fn;\n }\n\n const [isNonSpidProfileSelected] = useState(() => appContext.localStorageInfo.selectedProfile?.nonSpIdCompany);\n\n const dueDateFilter = useCallback(dateRangefilterFunction, [dateRangefilterFunction]);\n\n const toggleRefresh = useCallback(() => {\n setTriggerRefresh((x) => !x);\n setSelectedOrders([]);\n setSelectedCount(0);\n }, []);\n\n const [getHiddenColumns, setHiddenColumns] = useState | undefined>(undefined);\n\n const setDefaultPagination = () => {\n var allColumnFilter = appContext.localStorageInfo?.provisionOrders;\n if (allColumnFilter) {\n const pageSize = allColumnFilter[\"pageSize\"] ?? 0;\n if (pageSize > 0) {\n setPageSize(pageSize);\n }\n }\n }\n\n const columns = useMemo(() => {\n const columnsList = [\n {\n Header: \"\",\n accessor: \"selected\",\n identifier: ProvisionOrdersTableColumnIdentifiers.Selected,\n className: \"width-50\",\n notConfigurable: true,\n Cell: (cell: any) => (\n \n )\n },\n {\n Header: intl.formatMessage({ id: \"orders.provisionOrder.table.phoneNumbers\" }),\n accessor: \"phoneNumber\",\n identifier: ProvisionOrdersTableColumnIdentifiers.PhoneNumber,\n className: \"width-200\",\n Cell: (cell: any) => getValueOrEmpty(cell.cell.value)\n }\n ];\n setTableColumnList(columnsList);\n return columnsList;\n },\n // eslint-disable-next-line\n [appContext.localStorageInfo.provisionOrders, triggerRefresh, columnFiltersOptions, provisionOrders, setColumnsFiltersChanged, intl, dueDateFilter]);\n\n const customViewSettingsTabs = useMemo(() => {\n var tabs = [()];\n if (!isNonSpidProfileSelected) {\n tabs.push(());\n }\n if(!isNonSpidProfileSelected && isMixNetworkUrl) {\n tabs.pop();\n }\n return tabs;\n }, [isNonSpidProfileSelected, columns]);\n\n useEffect(() => {\n setSelectedOrders([]);\n setSelectedCount(0);\n const orders = provisionOrdersFiltered && [...provisionOrdersFiltered];\n orders && orders.forEach(o => { o.selected = false });\n setProvisionOrdersFiltered(orders)\n // eslint-disable-next-line\n }, [pageIndex, pageSize])\n\n useEffect(() => {\n setTableData(provisionOrdersFiltered?.slice(pageIndex * pageSize, (pageIndex * pageSize) + pageSize))\n }, [provisionOrdersFiltered, pageIndex, pageSize, setTableData])\n\n useEffect(() => {\n setSelectedCount(selectedOrders.length);\n }, [selectedOrders])\n\n const handleChangeOrder = useCallback((updateOrder: any, shiftKeySelected: boolean) => {\n if (provisionOrdersFiltered && shiftKeySelected) {\n provisionOrdersFiltered && setProvisionOrdersFiltered(prevState => {\n const selectedElementIndex = prevState ? prevState.findIndex(x => x.orderId === updateOrder.orderId) : -1;\n const lastIndex = prevState ? prevState.findIndex(x => x.selected === true) : -1;\n if (lastIndex !== -1 && prevState) {\n const startIndex = Math.min(lastIndex, selectedElementIndex);\n const endIndex = Math.max(lastIndex, selectedElementIndex);\n const updatedArray = prevState.map((item, index) => {\n if (index >= startIndex && index <= endIndex) {\n if (updateOrder.selected) {\n setSelectedOrders(prev => (prev.findIndex(x => x.orderId === item.orderId) === -1) ? [...prev, { ...item, selected: updateOrder.selected }] : prev)\n return { ...item, selected: updateOrder.selected };\n } else {\n setSelectedOrders(prev => prev.filter(x => x.orderId !== item.orderId))\n return { ...item, selected: updateOrder.selected };\n }\n }\n return item;\n })\n return updatedArray\n } else {\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n return prevState && prevState.map(x => x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x);\n }\n })\n } else {\n provisionOrdersFiltered && setProvisionOrdersFiltered(prevState => prevState && prevState.map(x => {\n return x.orderId === updateOrder.orderId ? { ...x, selected: updateOrder.selected } : x\n }));\n if (updateOrder.selected) {\n setSelectedOrders(prev => [...prev, updateOrder]);\n } else {\n setSelectedOrders(prev => prev && prev.filter(x => (x.orderId !== updateOrder.orderId) && x));\n }\n }\n\n }, [provisionOrdersFiltered, setProvisionOrdersFiltered, setSelectedOrders]);\n\n const handleSelectAll = useCallback(() => {\n if (selectedOrders.length > 0 && tableData) {\n setProvisionOrdersFiltered(prevState => prevState && prevState.map(x => {\n return { ...x, selected: false }\n }));\n setSelectedOrders([]);\n setSelectedCount(0);\n\n } else if (tableData) {\n setProvisionOrdersFiltered(prevState => prevState && prevState.map(x => {\n if (tableData.findIndex(y => y.orderId === x.orderId) > -1)\n return { ...x, selected: true }\n else\n return x\n }));\n setSelectedOrders(tableData);\n setSelectedCount(tableData.length);\n }\n }, [setProvisionOrdersFiltered, selectedOrders, tableData]);\n\n const getOrdersFilteredCount = useCallback(() => provisionOrdersFiltered?.length, [provisionOrdersFiltered]);\n\n const handleProvisionOrders = () => {\n setShowLoadingIndicator(true);\n const requestId = selectedOrders[0]?.requestId;\n const tnList: string[] = [];\n selectedOrders.map(o => tnList.push(o.phoneNumber));\n const formattedOrders : TnReserveRequestDto = {requestId, tnList};\n\n SinchApi.tnReserve(formattedOrders)\n .then((result) => {\n if (isMounted && result) {\n setReservedOrders(result);\n setHasReservedOrders(true);\n setIsOneStepBackward(false);\n }\n })\n .catch((error) => {\n handleError(error);\n })\n .finally(() => {\n if (isMounted.current) {\n setShowLoadingIndicator(false);\n }\n });\n };\n\n const handleOneStepBackward = () => {\n setIsOneStepBackward(true);\n setHasReservedOrders(false);\n setReservedOrders(undefined);\n toggleRefresh();\n }\n\n const onTimerComplete = () => {\n setTimerCompleted(true);\n console.warn(\"timercompleted\")\n }\n\n const handleTimeComplete = () => {\n history.push(\"/SinchOrders\");\n }\n\n useEffect(() => {\n const unlisten = history.listen((newLocation) => {\n console.log(\"newLocation\", newLocation)\n if (prevLocation.current !== newLocation.pathname) {\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n provisionOrders: [],\n startTime: \"\",\n duration: \"\"\n }\n });\n }\n prevLocation.current = newLocation.pathname;\n });\n\n return () => {\n unlisten();\n };\n }, [history, appContext, setAppContext]);\n\n useEffect(() => {\n if(appContext.isLoggedOut) {\n handleClearContext()\n }\n }, [appContext.isLoggedOut])\n\n useEffect(() => {\n setShowLoadingIndicator(true);\n const storedOrders = appContext.localStorageInfo?.provisionOrders;\n if (storedOrders && storedOrders.length > 0) {\n setProvisionOrders(storedOrders);\n }\n setShowLoadingIndicator(false);\n }, [appContext.localStorageInfo.provisionOrders]);\n\n const handleClearContext = () => {\n setAppContext({\n ...appContext,\n localStorageInfo: {\n ...appContext.localStorageInfo,\n provisionOrders: [],\n startTime: \"\",\n duration: \"\"\n }\n });\n };\n\n useEffect(() => {\n const fetchProvisionOrders = () => {\n setShowLoadingIndicator(true);\n const storedOrders = appContext.localStorageInfo.provisionOrders;\n \n if (storedOrders && storedOrders.length > 0) {\n setProvisionOrders(storedOrders);\n }\n \n setTimeout(() => {\n setShowLoadingIndicator(false);\n }, 500);\n };\n \n fetchProvisionOrders();\n }, [triggerRefresh]);\n\n useEffect(() => {\n setPageIndex(0);\n setProvisionOrdersFiltered(() => filterAndSort(provisionOrders));\n\n // eslint-disable-next-line\n }, [columnFiltersChanged, filterAndSort, setProvisionOrdersFiltered, setPageIndex]);\n\n\n useEffect(() => {\n if (provisionOrders && provisionOrders?.length > 0) {\n setProvisionOrdersFiltered(() => filterAndSort([...provisionOrders as ProvisionOrderListDto[]]));\n }\n // eslint-disable-next-line \n }, [searchFilterTermValue]);\n\n useEffect(() => {\n\n if (provisionOrders && provisionOrders?.length > 0) {\n setProvisionOrdersFiltered(() => filterAndSort([...provisionOrders as ProvisionOrderListDto[]]));\n }\n\n // eslint-disable-next-line \n }, [columnFilterSort, setProvisionOrdersFiltered, filterAndSort]);\n\n return (\n <>\n \n \n \n \n \n \n {!hasReservedOrders ? (\n \n \n \n ) : (\n <> \n \n \n \n \n \n -\n \n \n \n \n )}\n \n {showLoadingIndicator ? (\n \n ) : (\n \n \n \n {provisionOrders && !hasReservedOrders && isOneStepBackward && (\n \n )}\n {hasReservedOrders && !isOneStepBackward && }\n \n \n \n )}\n {timerCompleted && (\n \n )}\n \n );\n}\n\nconst filterMapper = (orderListDto: ProvisionOrderListDto) => {\n return {\n ...orderListDto,\n };\n};","import React, { useState, useMemo, useEffect } from \"react\";\nimport { Switch, Redirect, HashRouter } from \"react-router-dom\";\nimport { IntlProvider } from \"react-intl\";\nimport Login from \"./components/account/Login\";\nimport ForgotPassword from \"./components/account/ForgotPassword\";\nimport ResetPassword from \"components/account/ResetPassword\";\nimport NumberExplorer from \"./components/numberExplorer/NumberExplorer\";\nimport NetworkExplorer from \"./components/networkExplorer/NetworkExplorer\";\nimport OrdersList from \"./components/orders/ordersList/OrderList\";\nimport translations from \"./translations\";\nimport MyProfile from \"components/myProfile/MyProfile\";\nimport SupportModal from \"components/support/SupportModal\";\nimport { AppContextAccessor } from \"services/appContext/AppContextAccessor\";\nimport { IdentityService } from \"services/identity/IdentityService\";\nimport Manage from \"components/manage/Manage\";\nimport { AppContextUtil } from \"services/appContext/AppContextUtil\";\nimport { GetAppContext, AppContext } from \"services/appContext/AppContext\";\nimport { NotificationService } from \"services/notification/NotificationService\";\nimport OrderDetails from \"components/orders/orderDetails/OrderDetails\";\nimport PublicRoute from \"services/routing/PublicRoute\";\nimport PortOut from \"components/orders/portCreate/portOut/PortOut\";\nimport PortIn from \"components/orders/portCreate/portIn/PortIn\";\nimport AuditList from \"components/audits/AuditList\";\nimport AuditDetails from \"components/audits/AuditDetails\";\nimport { AdminRoute } from \"./services/routing/AdminRoute\";\nimport { PermissionType } from \"services/authorization/PermissionType\";\nimport QuerySv from \"components/querySV/QuerySv\";\nimport QueryDetails from \"components/querySV/QueryDetails\";\nimport Unauthorized from \"components/account/Unauthorized\";\nimport Index from \"components/Index\";\nimport NotificationList from \"components/manage/notifications/NotificationList\";\nimport Reports from \"components/reports/Reports\";\nimport VersionChecker from \"components/common/VersionChecker\";\nimport WorkQueueList from \"components/workQueue/WorkQueueList\";\nimport WorkQueueDetails from \"components/workQueue/WorkQueueDetails\";\nimport Signup from \"components/account/Signup\";\nimport SignupVerification from \"components/account/SignupVerification\";\nimport AdminReports from \"components/reports/AdminReports\";\nimport Inventory from \"components/networkExplorer/inventory/Inventory\";\nimport TradingPartners from \"components/networkExplorer/tradingPartners/TradingPartners\";\nimport CustomerInventory from \"components/customerInventory/customerInventory\";\nimport WebhookLogs from \"components/webhookLogs/WebhookLogs\";\nimport DisasterRecovery from \"components/orders/portCreate/disasterRecovery/DisasterRecovery\";\nimport ProvisionOrderTable from \"components/orders/searchAndProvision/ProvisionOrderTable\";\n\nexport default function App() {\n const [appContext, setAppContext] = useState(GetAppContext());\n AppContextAccessor.setAppContextSetter(setAppContext);\n AppContextAccessor.setAppContextGetter(() => appContext);\n const appContextWrapper = useMemo(() => ({ appContext, setAppContext }), [\n appContext,\n setAppContext\n ]);\n useEffect(() => {\n if (appContext.localStorageInfo.authenticationInfo.authenticated && appContext.localStorageInfo && appContext.localStorageInfo.user && appContext.localStorageInfo.user.userId !== '') {\n const userId = appContext.localStorageInfo?.user?.userId;\n const userEmail = appContext.localStorageInfo?.user?.email;\n const firstName = appContext.localStorageInfo?.user?.firstName;\n const lastName = appContext.localStorageInfo?.user?.lastName;\n (window as any).initializeParativeIo(userId, userEmail,firstName,lastName,process.env.REACT_APP_PARATIVE_IO_APP_TOKEN);\n }\n else {\n (window as any).destroyParativeIo();\n }\n }, [appContext.localStorageInfo,appContext.localStorageInfo.authenticationInfo.authenticated])\n useEffect(() => {\n AppContextUtil.saveToLocalStorage(appContext.localStorageInfo);\n }, [appContext]);\n\n useEffect(() => {\n (async () => {\n await IdentityService.checkAndRenewAccessToken();\n\n setAppContext((appContext) => {\n return { ...appContext, initialized: true };\n });\n })();\n }, []);\n\n useEffect(() => {\n (async () => {\n if (appContext.initialized && appContext.localStorageInfo.authenticationInfo.authenticated) {\n await IdentityService.fetchUserInfo();\n await NotificationService.initalise();\n }\n })();\n }, [appContext.initialized, appContext.localStorageInfo.authenticationInfo.authenticated]);\n\n return (\n \n \n {({ appContext }) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n \n );\n}\n","import \"react-app-polyfill/ie11\";\nimport \"react-app-polyfill/stable\";\nimport React from \"react\";\nimport ReactDOM from \"react-dom\";\n\nimport \"react-perfect-scrollbar/dist/css/styles.css\";\nimport \"assets/vendor/fullcalendar/dist/fullcalendar.min.css\";\nimport \"assets/vendor/sweetalert2/dist/sweetalert2.min.css\";\nimport \"assets/vendor/select2/dist/css/select2.min.css\";\nimport \"assets/vendor/quill/dist/quill.core.css\";\nimport \"assets/vendor/nucleo/css/nucleo.css\";\nimport \"assets/vendor/fontawesome/css/all.min.css\";\nimport \"assets/scss/argon-dashboard-pro-react.scss?v1.0.0\";\n\nimport App from \"App\";\n\nReactDOM.render(, document.getElementById(\"root\"));\n"],"sourceRoot":""}